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]

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?


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