This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb not displaying frame info after a "next"


On 2018-10-09 14:59, Steve Biederman wrote:
My Linux gdb (8.1 or 7.anything) is no longer automatically showing
the frame information after

a "next".   It knows the frame information; if I follow every "next"

with a "frame", the "frame" command does the right thing, but "next"

all by itself does not print anything but a fresh (gdb) prompt.

Googling has found me no one else who has ever encountered this as far

as my Googling skills can tell.



How can I debug what the cause and solution is?


GDB will only print the frame if the frame changes, for example if next causes the program to exit a function:

(gdb) n
5	    return pouf;
(gdb)
6	}
(gdb)
main () at test.c:10
10	  sleep(2);


Is this what you get?  Do you expect something else?

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]