This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/16] Add styling to the gdb CLI and TUI
- From: Tom Tromey <tom at tromey dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 01 Mar 2019 14:03:58 -0700
- Subject: Re: [PATCH 00/16] Add styling to the gdb CLI and TUI
- References: <20181128001435.12703-1-tom@tromey.com> <83k1kxfzwo.fsf@gnu.org> <8736rja4i8.fsf@tromey.com> <83r2brhw8k.fsf@gnu.org> <87h8cmh1wg.fsf@tromey.com> <83va12gz8j.fsf@gnu.org>
>>>>> "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