Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Steve Ellcey <sje@cup.hp.com>
To: gdb-patches@gcc.gnu.org
Subject: Patch for gdb build on hppa hp-ux
Date: Fri, 06 Apr 2007 21:53:00 -0000	[thread overview]
Message-ID: <200704062153.OAA16290@hpsje.cup.hp.com> (raw)

This patch fixes a build problem on hppa hp-ux.  This is the first of
two patches I have that allow me to build gdb on hppa hp-ux.  The build
has been broken (for me at least) for some time.  This is the only HP
specific change that was needed.  Tested by building gdb on hppa hp-ux.

OK to checkin?

Steve Ellcey
sje@cup.hp.com


2007-04-06  Steve Ellcey  <sje@cup.hp.com>

	* hpread.c (hpread_get_next_skip_over_anon_unions): Fix
	CHECK_TYPEDEF usage.

Index: hpread.c
===================================================================
RCS file: /cvs/src/src/gdb/hpread.c,v
retrieving revision 1.62
diff -p -u -r1.62 hpread.c
--- hpread.c	9 Jan 2007 17:58:51 -0000	1.62
+++ hpread.c	6 Apr 2007 21:47:21 -0000
@@ -6316,7 +6316,7 @@ hpread_get_next_skip_over_anon_unions (i
       /* Get type of item we're looking at now; recursively processes the types
          of these intermediate items we skip over, so they aren't lost. */
       anon_type = hpread_type_lookup ((*fieldp)->dfield.type, objfile);
-      anon_type = CHECK_TYPEDEF (anon_type);
+      CHECK_TYPEDEF (anon_type);
       bitoffset = (*fieldp)->dfield.bitoffset;
       name = VT (objfile) + (*fieldp)->dfield.name;
       /* First skip over one item to avoid stack death on recursion */


             reply	other threads:[~2007-04-06 21:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 21:53 Steve Ellcey [this message]
2007-04-07 17:20 ` Daniel Jacobowitz
2007-04-09  2:13 ` Daniel Jacobowitz
2007-04-09 23:25   ` Steve Ellcey
2007-04-10 12:05     ` Daniel Jacobowitz
2007-04-10 12:11       ` Daniel Jacobowitz
2007-04-10 17:32       ` Steve Ellcey
2007-04-10 17:41         ` Daniel Jacobowitz
2007-04-10 19:03       ` Eli Zaretskii
2007-04-10 20:22         ` Daniel Jacobowitz
2007-04-13 14:04           ` Daniel Jacobowitz
2007-04-13 17:07             ` [patch] "single step" atomic instruction sequences as a whole on PPC Luis Machado
2007-04-28 23:34               ` [RFC] " Luis Machado
2007-04-28 23:45                 ` Ulrich Weigand
2007-04-29  1:53                   ` Luis Machado

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=200704062153.OAA16290@hpsje.cup.hp.com \
    --to=sje@cup.hp.com \
    --cc=gdb-patches@gcc.gnu.org \
    /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