This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch] Deprecate XM_FILE and TM_FILE


Date: Thu, 02 Sep 2004 14:29:21 -0400
From: Andrew Cagney <cagney@gnu.org>

-XM_FILE= xm-go32.h
+DEPRECATED_XM_FILE= xm-go32.h


What exactly am I supposed to do here to avoid the danger of having
the DJGPP port nuked in the next release?  Define GDBINIT_FILENAME,
CRLF_SOURCE_FILES, and DIRNAME_SEPARATOR on some header file(s)
conditioned by "#ifdef DJGPP"?  It sounds silly to invent autoconf
tests for that when we know _exactly_ what system(s) will need that.

I thought we discussed this with the attached.


Andrew

--- Begin Message ---
> Date: Fri, 30 Jul 2004 09:23:48 -0400
> From: Andrew Cagney <cagney@gnu.org>
> 
> Check the contents of config/i386/xm-{cygwin,djgpp}.h.  Instead of being 
> detected by autoconf, those values are being hardwired.  Easy to fix

Ah, that...  Your message made it sound as if there's some inherent
problem that prevents autoconfiscation, so I was surprised.

Yes, it should be easy to fix, except for the gdb.ini part: if one
builds the DJGPP port on Windows or cross-compiles on Unix, the
filesystem will allow that name.  So the test needs to be dependent on
the fact that a DJGPP port is being built, no matter what the
underlying OS has to say about .gdbinit.

Note that include/filenames.h has some constants similar to the `;' vs
`:' stuff, so maybe some of GDB sources could use the results of
autoconfiscation instead.


--- End Message ---

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