diff options
author | Steve Chamberlain <sac@cygnus> | 1996-01-04 04:30:38 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1996-01-04 04:30:38 +0000 |
commit | a3b64bf964bbf87509e104a3540712fb279e1f2c (patch) | |
tree | f5dbaf425191c475701da922ace623b112d47975 /gdb/config/i386 | |
parent | e02a2ad9d420fe35fa2f93ec5869a81a7b5a1e5f (diff) | |
download | gdb-a3b64bf964bbf87509e104a3540712fb279e1f2c.zip gdb-a3b64bf964bbf87509e104a3540712fb279e1f2c.tar.gz gdb-a3b64bf964bbf87509e104a3540712fb279e1f2c.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r-- | gdb/config/i386/tm-win32.h | 7 | ||||
-rw-r--r-- | gdb/config/i386/xm-win32.h | 10 |
2 files changed, 12 insertions, 5 deletions
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 + + + |