From a3b64bf964bbf87509e104a3540712fb279e1f2c Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 4 Jan 1996 04:30:38 +0000 Subject: * 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. --- gdb/config/i386/tm-win32.h | 7 ++++++- gdb/config/i386/xm-win32.h | 10 ++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'gdb/config/i386') diff --git a/gdb/config/i386/tm-win32.h b/gdb/config/i386/tm-win32.h index fece826..f7464ba 100644 --- a/gdb/config/i386/tm-win32.h +++ b/gdb/config/i386/tm-win32.h @@ -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)); diff --git a/gdb/config/i386/xm-win32.h b/gdb/config/i386/xm-win32.h index 8ba5bb2..becbebe 100644 --- a/gdb/config/i386/xm-win32.h +++ b/gdb/config/i386/xm-win32.h @@ -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 + + + -- cgit v1.1