This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 1/4] Add an optional offset option to the "symbol-file" command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Petr Tesarik <ptesarik at suse dot cz>
- Cc: gdb-patches at sourceware dot org, jeffm at suse dot com
- Date: Mon, 11 Jun 2018 18:23:31 +0300
- Subject: Re: [PATCH v2 1/4] Add an optional offset option to the "symbol-file" command
- References: <20180611120835.27343-1-ptesarik@suse.cz> <20180611120835.27343-2-ptesarik@suse.cz>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.