This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] undef reg in gdb_curses.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]