This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Current language message
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb at sourceware dot org
- Date: Fri, 3 Apr 2009 23:52:45 -0700
- Subject: Re: Current language message
- References: <20090403193008.GA11366@caradoc.them.org>
> In top.c, after each command, we check the current language.
> If it has changed, and is auto, we print a message:
>
> Current language: auto; currently asm
This message has been annoying us quite a bit, especially recently
when we started testing GDB with gdbserver. After having started
the executable with gdbserver on ElinOS, the PC is inside a library
for which debugging information is provided. As a result, when we
"start" (this command is automatically translated into a "break; cont"
with gdbserver), we get the message above (except it says that the
language has switch to ada).
I personally think that the user knows what the language of
the frame is. I don't mind getting rid of it (or only printing it
when verbose as Eli suggested).
--
Joel