This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: emacs and gdb
"Dave Milter" <davemilter@gmail.com> writes:
> 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:
The Emacs frontend does a few things behind your back. Those commands
are issued with the server prefix so that they don't show up in the
history.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."