binutils-gdb/gdb/testsuite
Joel Brobecker af312be731 Ignore __fu<digits>__ symbols from COFF symbol tables
The debugger sometimes prints strange function names for given
addresses. For instance, with the following source code...

	4    procedure Foo is
	5       A : Integer;
	6    begin
	7       Do_Nothing (A'Address);
	8    end Foo;

... we can see...

    (gdb) info line 5
    Line 5 of "foo.adb" starts at address 0x4017ca <_ada_foo+6>
       and ends at 0x4017d2 <_fu29__system__scalar_values__is_is4+7>.
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

_fu29__system__scalar_values__is_is4 is an artificial symbol
generated by the linker, and interferes with the pc-to-symbol
resolution.  There isn't much in the general minimal_symbol
data that could help us identify them, so this patch changes
the COFF reader to simply ignore them.

gdb/ChangeLog:

	* coffread.c (is_import_fixup_symbol): New function.
	(record_minimal_symbol): Use is_import_fixup_symbol to
	detect import fixup symbols, and discard them.

gdb/testsuite/ChangeLog:

        * gdb.ada/win_fu_syms: New testcase.
2013-03-29 02:04:15 +00:00
..
boards
config gdb/testsuite/ 2013-03-14 13:34:06 +00:00
gdb.ada Ignore __fu<digits>__ symbols from COFF symbol tables 2013-03-29 02:04:15 +00:00
gdb.arch
gdb.asm
gdb.base * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". 2013-03-29 00:11:10 +00:00
gdb.btrace record-btrace: fix assertion when enabling recording after re-run 2013-03-26 07:15:09 +00:00
gdb.cell
gdb.cp PR symtab/11462: 2013-03-25 17:28:03 +00:00
gdb.disasm
gdb.dwarf2 gdb/testsuite/ 2013-03-15 01:41:29 +00:00
gdb.fortran
gdb.gdb
gdb.go
gdb.hp
gdb.java
gdb.linespec gdb/ 2013-03-04 19:30:28 +00:00
gdb.mi gdb/testsuite/ 2013-03-15 01:41:29 +00:00
gdb.modula2
gdb.multi
gdb.objc Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.opencl
gdb.opt
gdb.pascal
gdb.python
gdb.reverse
gdb.server gdb/ 2013-03-22 20:39:29 +00:00
gdb.stabs
gdb.threads gdb/testsuite/ 2013-03-15 01:41:29 +00:00
gdb.trace gdb/testsuite/ 2013-03-26 12:46:24 +00:00
gdb.xml
lib Get rid of "No such file or directory" in the testsuite's btrace support detection. 2013-03-26 18:26:05 +00:00
ChangeLog Ignore __fu<digits>__ symbols from COFF symbol tables 2013-03-29 02:04:15 +00:00
Makefile.in
TODO
aclocal.m4
configure
configure.ac
dg-extract-results.sh