aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-02-24 23:06:48 +0000
committerKevin Buettner <kevinb@redhat.com>2000-02-24 23:06:48 +0000
commit482ca3f5dc86270c4af53efe9cb5d3e36299d13f (patch)
treedfa4153972cd2ab4eb7f6d75c85417dc131a01ab /gdb/config
parent60f036a265ffa98d6618546fe1725af1f79b653b (diff)
downloadfsf-binutils-gdb-482ca3f5dc86270c4af53efe9cb5d3e36299d13f.zip
fsf-binutils-gdb-482ca3f5dc86270c4af53efe9cb5d3e36299d13f.tar.gz
fsf-binutils-gdb-482ca3f5dc86270c4af53efe9cb5d3e36299d13f.tar.bz2
Shared library, function calling fixes for GNU/Linux PPC port.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/powerpc/tm-linux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/powerpc/tm-linux.h b/gdb/config/powerpc/tm-linux.h
index 271c302..43fa60f 100644
--- a/gdb/config/powerpc/tm-linux.h
+++ b/gdb/config/powerpc/tm-linux.h
@@ -93,6 +93,13 @@ CORE_ADDR ppc_sysv_abi_push_arguments PARAMS ((int, struct value **, CORE_ADDR,
#define PROLOGUE_FIRSTLINE_OVERLAP
#endif
+/* Needed to handled the self-modifying code situation due to the dynamic
+ linker. */
+int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache);
+#undef MEMORY_REMOVE_BREAKPOINT
+#define MEMORY_REMOVE_BREAKPOINT(addr, contents_cache) \
+ ppc_linux_memory_remove_breakpoint(addr, contents_cache)
+
/* N_FUN symbols in shared libaries have 0 for their values and need
to be relocated. */
#define SOFUN_ADDRESS_MAYBE_MISSING