From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Denis Joseph Barrow Cc: gdb-patches@sourceware.cygnus.com Subject: Re: gdb & gdbserver for s390 31 & 64 bit Date: Mon, 01 Oct 2001 08:44:00 -0000 Message-id: <3BB88F5D.2070001@cygnus.com> References: X-SW-Source: 2001-10/msg00010.html > 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