binutils-gdb/gdb/testsuite
Ulrich Weigand 907fc20268 gdb/
2008-05-15  Pedro Alves  <pedro@codesourcery.com>
	    Ulrich Weigand  <uweigand@de.ibm.com>

	* minsyms.c (lookup_minimal_symbol_by_pc_name): New function.
	* symtab.h (lookup_minimal_symbol_by_pc_name): Add prototype.

	* symtab.c (fixup_section): Remove prototype.  Add ADDR parameter;
	use it instead of ginfo->value.address.  Look up minimal symbol by
	address and name.  Assume OBJFILE is non-NULL.
	(fixup_symbol_section): Ensure we always have an objfile to look
	into.  Extract and pass to fixup_section the symbol's address that
	will match the minimal symbol's address.
	(fixup_psymbol_section): Likewise.

	(find_pc_sect_psymtab): Fall back to non-addrmap case when debugging
	overlays and the addrmap returned the wrong section.

	* dwarf2read.c (var_decode_location): Set SYMBOL_CLASS before
	calling fixup_symbol_section.


gdb/testsuite/

2008-05-15  Pedro Alves  <pedro@codesourcery.com>

	* gdb.base/fixsection.exp: New file.
	* gdb.base/fixsection0.c: New file.
	* gdb.base/fixsection1.c: New file.
2008-05-16 12:58:49 +00:00
..
config Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.ada * gdb.ada/assign_1.exp: New testcase. 2008-05-09 23:51:40 +00:00
gdb.arch * arm-linux-tdep.h (ARM_CPSR_REGNUM): Delete definition. 2008-05-01 18:30:51 +00:00
gdb.asm Implement displaced stepping. 2008-05-02 16:49:54 +00:00
gdb.base gdb/ 2008-05-16 12:58:49 +00:00
gdb.cp gdb/ 2008-05-04 19:39:00 +00:00
gdb.disasm Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.dwarf2 gdb/ 2008-05-04 17:27:01 +00:00
gdb.fortran Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.gdb * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches. 2008-01-26 13:56:37 +00:00
gdb.hp Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.java Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.mi * mi/mi-main.c (last_async_command): Rename to current_token. 2008-04-24 12:09:49 +00:00
gdb.modula2 Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.objc Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.opt * gdb.opt/Makefile.in: Fix whitespace. 2008-04-17 23:06:54 +00:00
gdb.pascal * gdb.pascal/floats.pas: New test program. 2008-02-06 22:24:43 +00:00
gdb.server * linux-low.c (linux_attach_lwp): Do not _exit after errors. 2008-01-30 00:51:50 +00:00
gdb.stabs Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.threads 2008-05-01 Daniel Jacobowitz <dan@codesourcery.com> 2008-05-01 18:50:14 +00:00
gdb.trace Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.xml Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
lib * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set. 2008-05-12 17:25:28 +00:00
.gdbinit
aclocal.m4 gdb: 2008-04-23 12:21:50 +00:00
ChangeLog gdb/ 2008-05-16 12:58:49 +00:00
configure gdb: 2008-04-23 12:21:50 +00:00
configure.ac * gdb.opt/clobbered-registers-O2.c: New testcase source file. 2007-10-25 20:30:26 +00:00
Makefile.in Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
TODO