Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: gdb-patches@sources.redhat.com
Cc: Richard.Earnshaw@arm.com
Subject: [patch] arm-netbsd clean up native include file.
Date: Wed, 15 May 2002 09:25:00 -0000	[thread overview]
Message-ID: <200205151625.RAA09267@cam-mail2.cambridge.arm.com> (raw)

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


The native include file for arm*-*-netbsd* was

1) Using #include "nm-nbsd.h" which was potentially self-recursive

2) Defining REGISTER_U_ADDR to call a function that doesn't exist.

Fortunately we never compiled a file that needed this definition ;-)

2002-05-15  Richard Earnshaw  <rearnsha@arm.com>

	* config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.
	(REGISTER_U_ADDR): Delete definition.
	(arm_register_u_addr): Delete declaration.



[-- Attachment #2: gdb-nbsdreg.patch --]
[-- Type: text/x-patch , Size: 747 bytes --]

Index: config/arm/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/nm-nbsd.h,v
retrieving revision 1.2
diff -p -r1.2 nm-nbsd.h
*** config/arm/nm-nbsd.h	9 Jan 2002 18:39:37 -0000	1.2
--- config/arm/nm-nbsd.h	15 May 2002 16:17:29 -0000
***************
*** 22,33 ****
  #define NM_NBSD_H
  
  /* Get generic NetBSD native definitions. */
! #include "nm-nbsd.h"
! 
! #define REGISTER_U_ADDR(addr, blockend, regno) \
! 	(addr) = arm_register_u_addr ((blockend),(regno));
! 
! extern int
! arm_register_u_addr (int, int);
  
  #endif /* NM_NBSD_H */
--- 22,27 ----
  #define NM_NBSD_H
  
  /* Get generic NetBSD native definitions. */
! #include <nm-nbsd.h>
  
  #endif /* NM_NBSD_H */

             reply	other threads:[~2002-05-15 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15  9:25 Richard Earnshaw [this message]
2002-05-15 10:01 ` Andrew Cagney
2002-05-15 10:07   ` Richard Earnshaw
2002-05-15 10:31     ` Andrew Cagney
2002-05-15 10:41       ` Richard Earnshaw
2002-05-16  7:01         ` Richard Earnshaw

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=200205151625.RAA09267@cam-mail2.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.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