aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2003-02-18 22:46:16 +0000
committerKevin Buettner <kevinb@redhat.com>2003-02-18 22:46:16 +0000
commit881324ebbdcce90f534ee8c341d136f26265a586 (patch)
treef11fcbad75a9c63bf4eb4daf9cc8e26fcfb44825 /gdb/config
parent6a2f5abf076884182be54c3f20c634d59a15c456 (diff)
downloadgdb-881324ebbdcce90f534ee8c341d136f26265a586.zip
gdb-881324ebbdcce90f534ee8c341d136f26265a586.tar.gz
gdb-881324ebbdcce90f534ee8c341d136f26265a586.tar.bz2
Make Sparc/Solaris work again.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sparc/tm-sparc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 05495ed..a323387 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -511,6 +511,10 @@ extern void sparc_print_extra_frame_info (struct frame_info *);
/* INIT_EXTRA_FRAME_INFO needs the PC to detect flat frames. */
+/* NOTE: cagney/2002-12-08: Add local declaration of
+ init_frame_pc_noop() because it isn't possible to include
+ "arch-utils.h" here. */
+extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
#define DEPRECATED_INIT_FRAME_PC(FROMLEAF, PREV) (init_frame_pc_noop (FROMLEAF, PREV))
#define DEPRECATED_INIT_FRAME_PC_FIRST(FROMLEAF, PREV) \
((FROMLEAF) ? SAVED_PC_AFTER_CALL ((PREV)->next) : \