Re: [PATCH,v2] Make language setting tests more robust

Luis Machado
2017-02-06T18:22:56Z

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.