From: Andrew Cagney Date: Mon, 22 Apr 2002 02:18:59 +0000 (+0000) Subject: * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cc1c0a88639becad2a0033db365dd84a8ac122a;p=binutils-gdb.git * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore declaration * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b65576802e..11866a6e7c8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-04-21 Andrew Cagney + + * 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 * arch-utils.c (generic_prologue_frameless_p): Kill diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c index 4b4308149f0..cab7721a440 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 9c4c6b46135..daa8141cc71 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.