This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] fix arc-elf and sparc-elf targets
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: "David S. Miller" <davem at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 21 Apr 2002 22:15:42 -0400
- Subject: [patch] fix arc-elf and sparc-elf targets
FYI,
I've checked in the attached, it fixes arc-elf and sparc-elf target builds.
See the MAINTAINERS file for a list of the targets (and their
corresponding --enable-gdb-build-warnings option) that are expected to
always build.
enjoy,
Andrew
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.
Index: arc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arc-tdep.c,v
retrieving revision 1.10
diff -u -r1.10 arc-tdep.c
--- arc-tdep.c 22 Apr 2002 00:27:38 -0000 1.10
+++ arc-tdep.c 22 Apr 2002 02:07:36 -0000
@@ -301,7 +301,7 @@
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.
Index: config/sparc/tm-sparc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v
retrieving revision 1.14
diff -u -r1.14 tm-sparc.h
--- config/sparc/tm-sparc.h 22 Apr 2002 00:27:39 -0000 1.14
+++ config/sparc/tm-sparc.h 22 Apr 2002 02:07:38 -0000
@@ -250,6 +250,7 @@
/* 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.