This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL
On Sun, 03 Jun 2012 19:29:15 +0200, Andreas Schwab wrote:
> Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> > + (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
> > + .bss as appropriate.
>
> What about .sdata or .sbss (or whatever other section the compiler
> chooses)?
As I stated I do not know how to easily do a real fix of this testcase so
I just made non-regressing improvement for the platforms I regression test.
IMO a real fix is to implement add-symbol-file to (also) accept full
displacement but this seems to be outside of the scope of this testfile/fixup
and I have too many open other work to get into another task.
If you state non-existing sections GDB will make a warning in such case.
(Sure the testcase can ignore such warning.)
Thanks,
Jan