Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] fix arc-elf and sparc-elf targets
@ 2002-04-21 19:15 Andrew Cagney
  2002-04-21 19:20 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-04-21 19:15 UTC (permalink / raw)
  To: David S. Miller; +Cc: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

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

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1265 bytes --]

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-22  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-21 19:15 [patch] fix arc-elf and sparc-elf targets Andrew Cagney
2002-04-21 19:20 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox