Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
authorStan Shebs <shebs@codesourcery.com>
Mon, 12 Jun 1995 20:07:45 +0000 (20:07 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 12 Jun 1995 20:07:45 +0000 (20:07 +0000)
commit2e1cc80191239d77f2d084e30a9c3b4460b29503
tree304a4476948e46d586aafae863ef5580751c3d45
parent43b442f17c70392033a9a3e82b5b26f5cb42d22a
Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
* defs.h: Don't declare strchr and friends if WIN32.
(DIRNAME_SEPARATOR): Move here from source.c.
(SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
symbolic definitions for filename bits.
* top.c (cd_command): Use these.
* source.c (mod_path, openp): Ditto.
* terminal.h: Disable termio/sgtty definitions if WIN32.
* findvar.c (registers_changed): Call registers_changed_hook
if it is defined.
gdb/ChangeLog
gdb/top.c