gdb/
authorDaniel Jacobowitz <drow@false.org>
Mon, 13 Jun 2005 16:15:40 +0000 (16:15 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 13 Jun 2005 16:15:40 +0000 (16:15 +0000)
commitc1bd25fd1de1bc9e80bf95feb670c26be62c833b
tree040f83c9ea28a54f68672022b0a04975c5b9c37c
parent37f6032b8594c94b585732cf7ae09affe8614eee
gdb/
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
gdb/ChangeLog
gdb/Makefile.in
gdb/exec.c
gdb/exec.h
gdb/symfile.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/relocate.c
gdb/testsuite/gdb.base/relocate.exp