Subject: Re: bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs

From: Eli Zaretskii <[email-masked]>
Date: Mon, 05 Aug 2013 23:10:23 +0300

> From: Lars Magne Ingebrigtsen <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 05 Aug 2013 21:51:51 +0200
> 
> pp doesn't go to the log file.  p does.  Weird.

Right, I forgot: 'pp' is actually displayed by Emacs (GDB calls a
function inside Emacs to do that), so whatever GDB does to redirect to
a log file doesn't affect 'pp'.

But this will help:

 > p frame
 > xframe
 > p top_frame
 > xframe
 > continue
 > end

> So here's the output with p instead of pp:
> 
> Breakpoint 3, do_switch_frame (frame=45612797, track=1, for_deletion=0, norecord=12571250) at frame.c:844
> 844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
> $4375 = 45612797
> $4376 = 12659685
> 
> Breakpoint 3, do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571250) at frame.c:844
> 844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
> $4377 = 12659685
> $4378 = 45612797
> 
> Breakpoint 3, do_switch_frame (frame=45612797, track=1, for_deletion=0, norecord=12571250) at frame.c:844
> 844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
> $4379 = 45612797
> $4380 = 12659685
> 
> Breakpoint 3, do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571250) at frame.c:844
> 844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
> $4381 = 12659685
> $4382 = 45612797

They oscillate.  Makes sense, but I don't see why should that happen.