This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
emacs and gdb
- From: "Dave Milter" <davemilter at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 6 Nov 2008 10:07:04 +0300
- Subject: emacs and gdb
I met strange problem with running gdb under emacs,
I run it like this:
arm-eabi-gdb --annotate=3 someprog.elf
target remote :3333
Remote debugging using :3333
0x00000004 in ?? ()
(gdb) monitor soft_reset_halt
/home/test/src/toolchains/gdb/gdb-6.8.50.20080706/gdb/findvar.c:298:
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.
if I type the same commands in gdb running in terminal all ok:
arm-eabi-gdb -annotate 3 someprog.elf
pre-prompt
(gdb)
prompt
post-prompt
pre-prompt
(gdb)
prompt
target remote :3333
post-prompt
Remote debugging using :3333
frame-begin 0 0x4
0x00000004 in ?? ()
stopped
pre-prompt
(gdb)
prompt
monitor soft_reset_halt
post-prompt
any idea what is going on, and how to fix this?