public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/9786] New: "info frame: generates an error when remote debugging
@ 2009-01-25  1:09 nickrob at snap dot net dot nz
  2009-09-03 22:58 ` [Bug backtrace/9786] " brobecker at gnat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nickrob at snap dot net dot nz @ 2009-01-25  1:09 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug backtrace/9786] "info frame: generates an error when remote debugging
  2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
@ 2009-09-03 22:58 ` brobecker at gnat dot com
  2009-09-04 23:34 ` nickrob at snap dot net dot nz
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: brobecker at gnat dot com @ 2009-09-03 22:58 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From brobecker at gnat dot com  2009-09-03 22:58 -------
The following patch, sent as an RFC, fixes this issue:

http://www.sourceware.org/ml/gdb-patches/2009-08/msg00524.html

-- 


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug backtrace/9786] "info frame: generates an error when remote debugging
  2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
  2009-09-03 22:58 ` [Bug backtrace/9786] " brobecker at gnat dot com
@ 2009-09-04 23:34 ` nickrob at snap dot net dot nz
  2009-09-10  2:30 ` brobecker at gnat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: nickrob at snap dot net dot nz @ 2009-09-04 23:34 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From nickrob at snap dot net dot nz  2009-09-04 23:34 -------
Subject:  "info frame: generates an error when remote debugging

 > The following patch, sent as an RFC, fixes this issue:
 > 
 > http://www.sourceware.org/ml/gdb-patches/2009-08/msg00524.html

I can't comment on the broader implication of this patch but I can confirm
that it does, indeed, fix the bug that I reported.

Thanks,
Nick


-- 


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug backtrace/9786] "info frame: generates an error when remote debugging
  2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
  2009-09-03 22:58 ` [Bug backtrace/9786] " brobecker at gnat dot com
  2009-09-04 23:34 ` nickrob at snap dot net dot nz
@ 2009-09-10  2:30 ` brobecker at gnat dot com
  2009-10-13 16:47 ` tromey at redhat dot com
  2009-10-14  0:44 ` nickrob at snap dot net dot nz
  4 siblings, 0 replies; 6+ messages in thread
From: brobecker at gnat dot com @ 2009-09-10  2:30 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From brobecker at gnat dot com  2009-09-10 02:30 -------
To reproduce the problem without gdbserver, try the following on x86-linux:

(gdb) b _start
Breakpoint 1 at 0x80482a0
(gdb) run
Starting program: /lot.a/brobecke/info-frame/ex/foo 

Breakpoint 1, 0x080482a0 in _start ()
(gdb) info frame
Stack level 0, frame at 0x0:
 eip = 0x80482a0 in _start; saved eip 
/homes/brobecke/act/gdb-public/gdb/findvar.c:304: internal-error: value_of_regis
ter_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.


-- 


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug backtrace/9786] "info frame: generates an error when remote debugging
  2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
                   ` (2 preceding siblings ...)
  2009-09-10  2:30 ` brobecker at gnat dot com
@ 2009-10-13 16:47 ` tromey at redhat dot com
  2009-10-14  0:44 ` nickrob at snap dot net dot nz
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2009-10-13 16:47 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-10-13 16:47 -------
This patch went in, so I'm guessing this bug should be closed... ?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
             Status|UNCONFIRMED                 |WAITING


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug backtrace/9786] "info frame: generates an error when remote debugging
  2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
                   ` (3 preceding siblings ...)
  2009-10-13 16:47 ` tromey at redhat dot com
@ 2009-10-14  0:44 ` nickrob at snap dot net dot nz
  4 siblings, 0 replies; 6+ messages in thread
From: nickrob at snap dot net dot nz @ 2009-10-14  0:44 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From nickrob at snap dot net dot nz  2009-10-14 00:44 -------
> This patch went in, so I'm guessing this bug should be closed... ?

Yes.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-14  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-25  1:09 [Bug backtrace/9786] New: "info frame: generates an error when remote debugging nickrob at snap dot net dot nz
2009-09-03 22:58 ` [Bug backtrace/9786] " brobecker at gnat dot com
2009-09-04 23:34 ` nickrob at snap dot net dot nz
2009-09-10  2:30 ` brobecker at gnat dot com
2009-10-13 16:47 ` tromey at redhat dot com
2009-10-14  0:44 ` nickrob at snap dot net dot nz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).