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: Tue, 23 Mar 2010 22:03:49 -0700
- Subject: Re: Current language message
- References: <20090403193008.GA11366@caradoc.them.org> <20090404065245.GX8930@adacore.com>
> > 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).
Just for the record, our IDE team just informed me that they were
relying on this warning to notice when a language switch took place.
I'm not arguing that we should change it back, particularly in the
CLI. I'm pushing internally for GPS (our IDE) to switch to GDB/MI;
perhaps there might be something to do, there?
Just thinking aloud...
--
Joel