This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: DOS/Windows-specific code: cli-cmds.c
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: DOS/Windows-specific code: cli-cmds.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 09 May 2001 18:44:21 -0400
- Cc: Christopher Faylor <cgf at redhat dot com>, gdb at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010509130408.19857B-100000@is>
> On Tue, 8 May 2001, Andrew Cagney wrote:
>
>
>> > IMO, it should be moved to xm-go32.h.
>
>>
>> Don't forget that the *x* files are going. config.in/configure.in are
>> better.
>
>
> Alternatively, we could simply put it into defs.h. We have already
> quite a few system-dependent defines there. (Hmm, how about creating
> a sysdep.h or something, and moving those defines to that file?)
>
> The downside of configure.in is that it's a lot of fuss for
> practically doing the same: you examine some preprocessor macro in the
> test program. Simply testing the same preprocessor macro at GDB
> compile time has the same effect.
True. Looking at defs.h most of those will probably be moved to filenames.h.
Anyway, I'll leave it to you can Chris to figure out. From my point of
view I'm pretty happy, it flushed out some more of WinGDB.
Andrew