[PATCH v2 1/4] Add an optional offset option to the "symbol-file" command
Eli Zaretskii
eliz@gnu.org
Mon Jun 11 15:23:00 GMT 2018
> From: Petr Tesarik <ptesarik@suse.cz>
> Cc: Petr Tesarik <ptesarik@suse.cz>, Jeff Mahoney <jeffm@suse.com>
> Date: Mon, 11 Jun 2018 14:08:32 +0200
>
> 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-11 Petr Tesarik <ptesarik@suse.com>
>
> * 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-08 Petr Tesarik <ptesarik@suse.com>
>
> * gdb.texinfo (Files): Document "symbol-file -o offset".
>
> gdb/testsuite/ChangeLog:
> 2018-06-11 Petr Tesarik <ptesarik@suse.com>
>
> * gdb.base/relocate.exp: Add test for "symbol-file -o ".
I already approved the documentation parts, didn't I?
Thanks.
More information about the Gdb-patches
mailing list