diff options
author | Petr Tesarik <ptesarik@suse.cz> | 2018-06-28 08:01:33 +0200 |
---|---|---|
committer | Petr Tesarik <ptesarik@suse.cz> | 2018-06-28 08:35:34 +0200 |
commit | d4d429d589c4d6a4450146fbcac8e1aad445114d (patch) | |
tree | 75f65c981a930edc97266228e44556fb723c7a83 /gdb/alpha-tdep.c | |
parent | 39b27ab6ae77d4fe1735417f2de90eada658dc6b (diff) | |
download | gdb-d4d429d589c4d6a4450146fbcac8e1aad445114d.zip gdb-d4d429d589c4d6a4450146fbcac8e1aad445114d.tar.gz gdb-d4d429d589c4d6a4450146fbcac8e1aad445114d.tar.bz2 |
Add an optional offset option to the "symbol-file" command
If the main file is relocated at runtime, all symbols are offset by
a fixed amount. Let the user specify this offset when loading a
symbol file.
gdb/ChangeLog:
2018-06-28 Petr Tesarik <ptesarik@suse.cz>
* symfile.c (symbol_file_command, symbol_file_add_main_1)
(_initialize_symfile): Add option "-o" to symbol-file to add an
offset to each section of the symbol file.
gdb/doc/ChangeLog:
2018-06-28 Petr Tesarik <ptesarik@suse.cz>
* gdb.texinfo (Files): Document "symbol-file -o offset".
gdb/testsuite/ChangeLog:
2018-06-28 Petr Tesarik <ptesarik@suse.cz>
* gdb.base/relocate.exp: Add test for "symbol-file -o ".
Diffstat (limited to 'gdb/alpha-tdep.c')
0 files changed, 0 insertions, 0 deletions