Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: "David S. Miller" <davem@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: [patch] fix arc-elf and sparc-elf targets
Date: Sun, 21 Apr 2002 19:15:00 -0000	[thread overview]
Message-ID: <3CC3724E.6070407@cygnus.com> (raw)

[-- 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.

             reply	other threads:[~2002-04-22  2:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-21 19:15 Andrew Cagney [this message]
2002-04-21 19:20 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CC3724E.6070407@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=davem@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox