This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] undef reg in gdb_curses.h
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 17 Oct 2013 17:57:56 +0100
- Subject: Re: [RFC] undef reg in gdb_curses.h
- Authentication-results: sourceware.org; auth=none
- References: <1382024768-24151-1-git-send-email-tromey at redhat dot com>
On 10/17/2013 04:46 PM, Tom Tromey wrote:
> Let me know what you think.
I think, this is the right thing to do.
That define looks like an old BSD thing. Just googling
around for "#define reg register" finds:
http://marc.info/?l=netbsd-bugs&m=91480640622229&w=2
http://www.retro11.de/ouxr/211bsd/usr/include/curses.h.html
Which ended on Mac OS too:
https://www.opensource.apple.com/source/Libcurses/Libcurses-24/curses.h
Curious how nobody reported this before -- maybe people have been
using GNU ncurses on Macs.
--
Pedro Alves