This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Re: Advice on fixing gdb/12528
On Tue, 15 Mar 2011 16:29:53 +0100, Tom Tromey wrote:
> >>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
> Jan> For a real testcase it should be in gdb.dwarf2/ (and then the special
> Jan> compilation options are sure no longer needed).
>
> Paul> Sorry, I didn't follow that part. Why special options wouldn't be needed?
>
> What Jan means is that you can put a .S file into gdb.dwarf2.
> That way the test is independent of compiler version (but unfortunately
> then dependent on arch).
Or coded like
gdb.dwarf2/dw2-ref-missing-frame*
with native code while still being arch-independent or the more simple case
gdb.dwarf2/dw2-filename*
where no native code was needed (and it is also arch-independent).
But in both cases it is a pain to code it by hand.
Regards,
Jan