Set language for C++ special symbols.
authorPierre Muller <muller@ics.u-strasbg.fr>
Thu, 8 Jan 2015 07:53:26 +0000 (08:53 +0100)
committerPierre Muller <muller@ics.u-strasbg.fr>
Thu, 8 Jan 2015 08:01:04 +0000 (09:01 +0100)
commit025ac41482555f6273dee37988734a9f88633dbc
tree1127360edd71f88d0d6488e86570d3f9502e0e3f
parentacc018ac031c9e03e012d7d2f3871bfe6b16168d
Set language for C++ special symbols.

The special handling of C++ special symbol
generates symbols that have no language.
Those symbols cannot be displayed correctly in the backtrace stack.

See
https://sourceware.org/bugzilla/show_bug.cgi?id=17811
for details and examples in C++ and pascal language.

The patch below fixes this issue, by
setting language of new symbol before
special handling of special C++ symbols.

2015-01-07  Pierre Muller  <muller@sourceware.org>

PR symtab/17811
* stabsread.c (define_symbol): Set language for C++ special symbols.
gdb/ChangeLog
gdb/stabsread.c