This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] S/390 port modernization 1/4
- From: Jim Blandy <jimb at redhat dot com>
- To: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- Cc: gdb-patches at sources dot redhat dot com, uweigand at de dot ibm dot com
- Date: 04 Dec 2003 16:00:12 -0500
- Subject: Re: [PATCH] S/390 port modernization 1/4
- References: <200312042006.VAA07701@faui1d.informatik.uni-erlangen.de>
Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> writes:
> *** gdb-head/gdb/config/s390/tm-linux.h Tue Dec 2 17:47:36 2003
> --- gdb-head-new/gdb/config/s390/tm-linux.h Tue Dec 2 16:36:15 2003
> ***************
> *** 25,42 ****
> #ifndef TM_LINUX_H
> #define TM_LINUX_H
>
> - #undef TARGET_ELF64
> - #define TARGET_ELF64 (gdbarch_tdep (current_gdbarch)->intreg_size==8)
> -
> #include "config/tm-linux.h"
>
> - /* Zap several macros defined in the above header so that multi-arch
> - can safely re-define them. The ``correct fix'' involves
> - eliminating either the above include or even this file. */
> - #undef SKIP_TRAMPOLINE_CODE
> -
> - #include "s390/tm-s390.h"
> -
> -
> -
> #endif /* TM_LINUX_H */
> --- 25,30 ----
The deletion of the #undefinition of SKIP_TRAMPOLINE_CODE isn't
mentioned in the ChangeLog entries; was it intentional? If I'm
following the code right, the effect is to change the method from
using generic_skip_trampoline_code (the gdbarch default) to using
find_solib_trampoline_target (#defined in config/tm-sysv4.h, #included
from config/tm-linux.h, #included from config/s390/tm-linux.h), so it
seems like something that deserves mention.