This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite patch] Fix gdb.btrace/tailcall-only.exp errors on x86_64-m32


Hello Markus,

On Mon, 11 Apr 2016 08:44:23 +0200, Metzger, Markus T wrote:
> > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> > owner@sourceware.org] On Behalf Of Jan Kratochvil
[...]
> > $ runtest 'CC_FOR_TARGET=gcc -m32' gdb.btrace/tailcall-only.exp Running
[...]
> I'm setting the target triplet to "i686-unknown-linux" in my m32 configuration.
> Like this:
> 
> set target_triplet "i686-unknown-linux"
> set_board_info cflags "-m32"

that is an interesting idea and I agree it is a more correct way to run the
testsuite.

Nonetheless it seems to me GDB does not require arch-specific target_triplet
to be set, I have searched now a bit and picked for example:
	https://sourceware.org/ml/gdb-patches/2010-07/msg00343.html
This is why the functions like is_lp64_target were created.

I will leave it up to the GDB maintainers what is the correct way and possibly
adjust my testing scripts accordingly.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]