This is the mail archive of the gdb-patches@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: [PATCH,v2] Make language setting tests more robust


On 02/06/2017 06:04 PM, Luis Machado wrote:

> That returns language_asm for me. Supposedly because gdb has seen asm
> from glibc and then sticked with it when it reached the test program's
> main. And the program has no debug info.

No, I don't think that is why.  What sticks is "current_language", not 
the frame's language.

Thanks,
Pedro Alves


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