This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: gdb & gdbserver for s390 31 & 64 bit
- To: Denis Joseph Barrow <DJBARROW at de dot ibm dot com>
- Subject: Re: gdb & gdbserver for s390 31 & 64 bit
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 01 Oct 2001 11:44:29 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <OF81A6D964.31BB0E95-ONC1256AD8.004007BB@de.ibm.com>
> Hi Andrew,
>
>
>>If tm-sysv4.h were to get the addition you suggest then this mechanism
>>would be defeated for other maintainers - they would silently get the
>>uninitialized multi-arch version of SKIP_TRAMPOLINE_CODE instead of a
>>compilation error alerting them to the need for maintenance.
>
>
> This sounds to me like if GDB_MULTI_ARCH is set to 2 people should be
> forced
> to initialise set_gdbarch_skip_trampoline_code rather than give them a
> dummy default trampoline function,
> & give them the usual runtime errors on startup & still leave the
> tm-sysv4.h changes in.
I think we'll agree to disagree. I think more benefit is derived by
detecting the error at compile rather than runtime.
Andrew