[Bug#203553: gdb: Assertion fails on -data-list-changed-registers]
Andrew Cagney
ac131313@redhat.com
Thu Jul 31 22:44:00 GMT 2003
> Our usual response, in the Eclipse/CDT mailinglist/newsgroup,
> was to turn off registers automatic refreshing and fire a PR
> to GDB GNATS 8-).
Got a PR number? I only found things like this:
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1223
which I think are fixed.
> kim@grov:~$ gdb --interpreter=mi -q
> (gdb)
> -data-list-changed-registers
> ~"/nevyn/local/gdb/gdb-5.3.20030629/gdb/frame.c:601: internal-error:
> \301\005\036\b@\t\036\b*: Assertion `(null)' failed.\n"
> ~"A problem internal to GDB has been detected,\n"
> ~"further debugging may prove unreliable.\n"
> ~"Quit this debugging session? (y or n) "
Anyway, a quick glance at the code reveals:
if (! frame_register_read (DEPRECATED_selected_frame, regnum,
raw_buffer))
Andrew
More information about the Gdb
mailing list