From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFC] undef reg in gdb_curses.h
Date: Tue, 29 Oct 2013 16:41:00 -0000 [thread overview]
Message-ID: <87fvrk81x0.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1382024768-24151-1-git-send-email-tromey@redhat.com> (Tom Tromey's message of "Thu, 17 Oct 2013 09:46:08 -0600")
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> I tried to build gdb on the AIX machine in the GCC compile farm
Tom> (gcc111), but it failed in a couple of spots because gdb uses "reg" as
Tom> a variable name and the AIX <curses.h> defines "reg" to "register".
Tom> I saw that we already had a workaround for this lurking in utils.c, so
Tom> I just moved that to gdb_curses.h.
Tom> This fixed the problem on AIX and still builds on x86-64 Fedora 18.
Tom> Let me know what you think. I suppose in the absence of comments I
Tom> will put this in.
I'm checking this in now.
Tom
prev parent reply other threads:[~2013-10-29 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-17 15:46 Tom Tromey
2013-10-17 16:58 ` Pedro Alves
2013-10-29 16:41 ` Tom Tromey [this message]
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=87fvrk81x0.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.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