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]

Re: Current language message


> > 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


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