From a3b64bf964bbf87509e104a3540712fb279e1f2c Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 4 Jan 1996 04:30:38 +0000 Subject: [PATCH] * 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/ChangeLog | 4 ++++ gdb/config/i386/tm-win32.h | 7 ++++++- gdb/config/i386/xm-win32.h | 10 ++++++---- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index decb4279cc..9c2aface23 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Wed Jan 3 19:49:54 1996 steve chamberlain + * 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. diff --git a/gdb/config/i386/tm-win32.h b/gdb/config/i386/tm-win32.h index fece82615c..f7464ba66c 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 8ba5bb247e..becbebe08b 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 + + +