[PATCH,v2] Make language setting tests more robust

Luis Machado lgustavo@codesourcery.com
Mon Feb 6 18:22:00 GMT 2017


On 02/06/2017 12:08 PM, Pedro Alves wrote:
> 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.

True. gdb is still seeing asm for the frame with main though. But that 
sounds like an expected outcome.



More information about the Gdb-patches mailing list