GDBINIT_FILENAME macro in config/i386/xm-cygwin.h

Pierre Muller muller@cerbere.u-strasbg.fr
Thu Feb 14 08:11:00 GMT 2002



xm-cygwin.h seems to define again GDBINIT_FILENAME to "gdb.ini",
thus gdb.ini is searched in home and current dir.

But looking into logs, Chistopher removed this in version 1.5,
as explained in the log, while Andrew reintroduced it,
but without any mention in the log.

Isn't that an error in the last commit of Andrew?

(extract of cvs log xm-cygwin.h)

revision 1.6
date: 2001/12/02 02:57:14;  author: cagney;  state: Exp;  lines: +2 -2
Delete HOST_BYTE_ORDER.
----------------------------
revision 1.5
date: 2001/11/24 18:21:26;  author: cgf;  state: Exp;  lines: +0 -10
* win32-nat.c (_initialize_check_for_gdb_ini): New function.
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.

$ cvs diff -r 1.5 xm-cygwin.h
Index: xm-cygwin.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/xm-cygwin.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -r1.5 -r1.6
21,22d20
< #define HOST_BYTE_ORDER LITTLE_ENDIAN
<
23a22,23
 >
 > #define GDBINIT_FILENAME "gdb.ini"



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99



More information about the Gdb-patches mailing list