aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-05-30 03:44:05 +0000
committerJim Blandy <jimb@codesourcery.com>2003-05-30 03:44:05 +0000
commitbfe51b1e3243254cb8636401d9cbc7afdc30c2d1 (patch)
tree00a108b04aceb44cf3d12f60cfb3ef9af70b73d7 /gdb/config
parentf37f01cff7bc48542f62a22e47c3e7453b591f13 (diff)
downloadgdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.zip
gdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.tar.gz
gdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.tar.bz2
Use gdbarch methods for solib stuff on PowerPC Linux.
* config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will show through. * ppc-linux-tdep.c (ppc_linux_init_abi): Register IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, giving the same effect as the #definitions above.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/powerpc/tm-linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/powerpc/tm-linux.h b/gdb/config/powerpc/tm-linux.h
index d69dfc1..eba57c0 100644
--- a/gdb/config/powerpc/tm-linux.h
+++ b/gdb/config/powerpc/tm-linux.h
@@ -26,6 +26,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#undef SKIP_TRAMPOLINE_CODE
#include "config/tm-linux.h"
+/* We've multi-arched these. (Note that this completely undoes the
+ effect of config/tm-linux.h #including config/tm-sysv4.h.) */
+#undef IN_SOLIB_CALL_TRAMPOLINE
+#undef SKIP_TRAMPOLINE_CODE
+
/* We can single step on linux */
#undef SOFTWARE_SINGLE_STEP
#define SOFTWARE_SINGLE_STEP(p,q) internal_error (__FILE__, __LINE__, "Will never execute!")