[PATCH][gdb/testsuite] Fix psymtab expansion postponement in c-linkage-name.exp

Tom Tromey tom@tromey.com
Fri Feb 28 14:50:00 GMT 2020


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> This is due to set_initial_language, which looks up the main symbol, which
Tom> expands the psymtab containing main.

Tom> Fix this by moving all but main into a separate source file c-linkage-name-2.c.

Tom> Tested on x86_64-linux.

Tom> OK for trunk?

Yes, thank you.

Tom



More information about the Gdb-patches mailing list