aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-22 02:18:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-22 02:18:59 +0000
commit6cc1c0a88639becad2a0033db365dd84a8ac122a (patch)
tree5ba3f7ca162b6197748430fb12dbe79ed37fcbac /gdb
parent7673a6cc14f0b828cc1c80b869ba8eda4a610a9e (diff)
downloadgdb-6cc1c0a88639becad2a0033db365dd84a8ac122a.zip
gdb-6cc1c0a88639becad2a0033db365dd84a8ac122a.tar.gz
gdb-6cc1c0a88639becad2a0033db365dd84a8ac122a.tar.bz2
* config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
declaration * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
Diffstat (limited to 'gdb')
-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.