aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/arc-tdep.c2
-rw-r--r--gdb/config/sparc/tm-sparc.h1
3 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4b65576..11866a6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-21 Andrew Cagney <ac131313@redhat.com>
+
+ * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
+ declaration
+ * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
+
2002-04-21 David S. Miller <davem@redhat.com>
* arch-utils.c (generic_prologue_frameless_p): Kill
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 4b43081..cab7721 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -301,7 +301,7 @@ arc_skip_prologue (CORE_ADDR pc, int frameless_p)
int
arc_prologue_frameless_p (CORE_ADDR pc)
{
- return (pc == arc_skip_prologue (pc, 1);
+ return (pc == arc_skip_prologue (pc, 1));
}
/* Return the return address for a frame.
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 9c4c6b4..daa8141 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -250,6 +250,7 @@ extern int sparc_intreg_size (void);
/* Advance PC across any function entry prologue instructions
to reach some "real" code. */
+extern CORE_ADDR sparc_skip_prologue (CORE_ADDR, int);
#define SKIP_PROLOGUE(PC) sparc_skip_prologue (PC, 0)
/* Immediately after a function call, return the saved pc.