From ea5c2d663c358e09575d5cdd43d9316bcb511ed9 Mon Sep 17 00:00:00 2001 From: Geoffrey Noer Date: Wed, 30 Oct 1996 00:58:26 +0000 Subject: [PATCH] Tue Oct 29 16:56:01 1996 Geoffrey Noer * config/i386/xm-cygwin32.h: * config/powerpc/xm-cygwin32.h: add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly truncated --- gdb/ChangeLog | 7 +++++++ gdb/config/i386/xm-cygwin32.h | 9 ++------- gdb/config/powerpc/xm-cygwin32.h | 9 ++------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a14d21da089..4474faa2783 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Tue Oct 29 16:56:01 1996 Geoffrey Noer + + * config/i386/xm-cygwin32.h: + * config/powerpc/xm-cygwin32.h: + add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly + truncated + Tue Oct 29 18:36:43 1996 Michael Meissner * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE): diff --git a/gdb/config/i386/xm-cygwin32.h b/gdb/config/i386/xm-cygwin32.h index becbebe08ba..c20bc130f6a 100644 --- a/gdb/config/i386/xm-cygwin32.h +++ b/gdb/config/i386/xm-cygwin32.h @@ -23,19 +23,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 - - - - - +/* Define this lseek(n) != nth byte of file */ +#define LSEEK_NOT_LINEAR diff --git a/gdb/config/powerpc/xm-cygwin32.h b/gdb/config/powerpc/xm-cygwin32.h index becbebe08ba..c20bc130f6a 100644 --- a/gdb/config/powerpc/xm-cygwin32.h +++ b/gdb/config/powerpc/xm-cygwin32.h @@ -23,19 +23,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 - - - - - +/* Define this lseek(n) != nth byte of file */ +#define LSEEK_NOT_LINEAR -- 2.30.2