This is the mail archive of the gdb-prs@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]

[Bug backtrace/9786] New: "info frame: generates an error when remote debugging


This report is actually for GDB in CVS (6.8.50.20090123-cvs) but that's not
one of the listed options.

In one terminal:
gdbserver localhost:4444 myprog

In another:
gdb myprog
...
(gdb) target remote localhost:4444
Remote debugging using localhost:4444
0xb7fda810 in ?? () from /lib/ld-linux.so.2
(gdb) info frame
Stack level 0, frame at 0x0:
 eip = 0xb7fda810; saved eip 
findvar.c:299: internal-error: value_of_register_lazy: Assertion `frame_id_p
(get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

Previously (GNU gdb 6.6-debian):

(gdb) target remote localhost:4444
Remote debugging using localhost:4444
0xb7f3f810 in ?? () from /lib/ld-linux.so.2
(gdb) inf frame
Stack level 0, frame at 0x0:
 eip = 0xb7f3f810; saved eip 0xb7f3f810
 Outermost frame: unwinder did not report frame ID
 Arglist at unknown address.
 Locals at unknown address, Previous frame's sp in esp

The saved eip was reported as the same as the actual eip.  I'm not sure
if that's right but in any case "info frame" shouldn't throw an error but
report "unknown address" if that's the case.

-- 
           Summary: "info frame: generates an error when remote debugging
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: backtrace
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: nickrob at snap dot net dot nz
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=9786

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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