diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-02-24 23:06:48 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-02-24 23:06:48 +0000 |
commit | 482ca3f5dc86270c4af53efe9cb5d3e36299d13f (patch) | |
tree | dfa4153972cd2ab4eb7f6d75c85417dc131a01ab /gdb/config | |
parent | 60f036a265ffa98d6618546fe1725af1f79b653b (diff) | |
download | gdb-482ca3f5dc86270c4af53efe9cb5d3e36299d13f.zip gdb-482ca3f5dc86270c4af53efe9cb5d3e36299d13f.tar.gz 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.h | 7 |
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 |