* config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.

(SKIP_TRAMPOLINE_CODE): New.
	* config/i386/xm-win32.h (CANT_FORK): Deleted.
	(SLASH*) Changed to use unix style slash.
This commit is contained in:
Steve Chamberlain 1996-01-04 04:30:38 +00:00
parent e02a2ad9d4
commit a3b64bf964
3 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,9 @@
Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
* config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
(SKIP_TRAMPOLINE_CODE): New.
* config/i386/xm-win32.h (CANT_FORK): Deleted.
(SLASH*) Changed to use unix style slash.
* symtab.h (namespace enum): becomes typedef to avoid namespace
collision in C++.
* infcmd.c (path_command): Use empty string if PATH name not set.

View File

@ -1,5 +1,5 @@
/* Macro definitions for i386 running under the win32 API Unix.
Copyright 1995 Free Software Foundation, Inc.
Copyright 1995, 1996 Free Software Foundation, Inc.
This file is part of GDB.
@ -118,3 +118,8 @@ double_to_i387 PARAMS ((char *, char *));
builtin_type_double)
#define NAMES_HAVE_UNDERSCORE
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) skip_trampoline_code (pc, name)
#define SKIP_TRAMPOLINE_CODE(pc) skip_trampoline_code (pc, 0)
extern CORE_ADDR skip_trampoline_code PARAMS ((CORE_ADDR pc, char *name));

View File

@ -1,5 +1,5 @@
/* Definitions for hosting on WIN32, for GDB.
Copyright 1995 Free Software Foundation, Inc.
Copyright 1995, 1996 Free Software Foundation, Inc.
This file is part of GDB.
@ -21,19 +21,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "fopen-bin.h"
#define CANT_FORK
#define GDBINIT_FILENAME "gdb.ini"
#define SLASH_P(X) ((X)=='\\' || (X) == '/')
#define ROOTED_P(X) ((SLASH_P((X)[0]))|| ((X)[1] ==':'))
#define SLASH_CHAR '/'
#define SLASH_STRING "/"
/* If we longjmp out of the signal handler we never get another one.
So disable immediate_quit inside request_quit */
#define REQUEST_QUIT