[PATCH v2 0/4] Allow loading symbol files with an offset

Petr Tesarik
2018-06-11T12:08:52Z

Implement an "-o" option for symbol-file and add-symbol-file.

Changes since v1:
* Adjust help texts
* Update gdb/NEWS

Petr Tesarik (4):
Add an optional offset option to the "symbol-file" command
Make add-symbol-file's address argument optional
Make sure that sorting does not change section order
Add an optional offset option to the "add-symbol-file" command

gdb/ChangeLog | 23 ++++++++
gdb/NEWS | 10 ++++
gdb/doc/ChangeLog | 13 +++++
gdb/doc/gdb.texinfo | 24 ++++++--
gdb/symfile.c | 108 +++++++++++++++++++++++++++++-------
gdb/testsuite/ChangeLog | 13 +++++
gdb/testsuite/gdb.base/relocate.exp | 95 +++++++++++++++++++++++++++++++
7 files changed, 259 insertions(+), 27 deletions(-)

--
2.13.6