This is the mail archive of the gdb@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: Using gdb with Borland's free compiler?



 Headers in config to add mingw32 as a target plus configure.host,
 and configure.tgt change.

FYI, there are three largely orthogonal problems here:


- host support (so it can be run on mingw)
Missing fork. Struct problems. This should be largely handled by configure.in.


- native support (so it can debug mingw programs)
The win32-nat.c changes.

- architecture support (so it can handle mingw ISA/ABI issues)
tm-*.h *.mt, *-tdep.c.

Note that, for the last one, GDB's been restructured so that the tm-*.h file is no longer needed. If the patches still have a tm-*.h file then `why' is something to investigate further.

Changes to configure.in.

 Change 'struct environ' to 'struct gdb_environ' as mingw has
 'environ' in a system header file as a '#define'.

If nothing else, bug report this. Fixing it should be a no-op.


Change event-loop.c to support Win32 handles for mingw32.

 Added missing POSIX modes to gdb_stat.h plus minor changes in
 remote-fileio.c due to a different 'struct stat'. (*)

Added support for ser-tcp over winsock2 for target tcp. (*)

As a ser-winsock2 file or as mods to ser-tcp?


Support for mingw in win32-nat.c.

 Small number of minor changes, eg missing SIGQUIT, no fork
 check in top.c.

Andrew



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