[PATCH 00/16] Add styling to the gdb CLI and TUI

Tom Tromey tom@tromey.com
Fri Mar 1 21:04:00 GMT 2019


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> I'm not sure I understand how to call that host-dependent function.
Eli> You don't mean #ifdef, do you?  My idea was to do something like
[...]

Eli> where w32_fputs will DTRT for Windows.  If this is not what you had in
Eli> mind, can you maybe point me to a place where host-dependent functions
Eli> are called?

Another way would be to just make a new function and implement it
differently in mingw-hdep.c and in posix-hdep.c.

Tom



More information about the Gdb-patches mailing list