aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2001-05-01 19:36:11 +0000
committerNicholas Duffek <nsd@redhat.com>2001-05-01 19:36:11 +0000
commit977adac5db461a0f8e7d7a5b2a82c6b81f015433 (patch)
tree782a5930b6c424ff820d5ceb72641965ba0163a2 /gdb/config
parentf5a6fc0555d099b05ae64a9dcdd47661636885f7 (diff)
downloadgdb-977adac5db461a0f8e7d7a5b2a82c6b81f015433.zip
gdb-977adac5db461a0f8e7d7a5b2a82c6b81f015433.tar.gz
gdb-977adac5db461a0f8e7d7a5b2a82c6b81f015433.tar.bz2
* config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
(rs6000_in_solib_return_trampoline): Declare. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New function. (rs6000_skip_trampoline_code): Skip bigtoc fixup code. * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function check after the CSECT check rather than before it. Allocate separate symtabs for CSECTs whose names begin with '@'. (scan_xcoff_symtab): Don't ignore symbols beginning with '@'. Activate the misc_func_recorded mechanism for whose names begin with '@'.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/rs6000/tm-rs6000.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h
index d16ca9a..96eb163 100644
--- a/gdb/config/rs6000/tm-rs6000.h
+++ b/gdb/config/rs6000/tm-rs6000.h
@@ -32,6 +32,13 @@
#undef CPLUS_MARKER
#define CPLUS_MARKER '.'
+/* Return whether PC in function NAME is in code that should be skipped when
+ single-stepping. */
+
+#define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) \
+ rs6000_in_solib_return_trampoline (pc, name)
+extern int rs6000_in_solib_return_trampoline (CORE_ADDR, char *);
+
/* If PC is in some function-call trampoline code, return the PC
where the function itself actually starts. If not, return NULL. */