This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: gdb & gdbserver for s390 31 & 64 bit


> 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



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