From: Jim Kingdon Date: Mon, 11 Apr 1994 17:52:11 +0000 (+0000) Subject: * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ddeed277e1fae96d28398239cd4a807307947ad;p=binutils-gdb.git * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than REGISTER_RAW_SIZE (1). Together these changes work around a bug in HP's compiler. Both seem to be necessary. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 70237935178..3aa5240fb95 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. + * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than + REGISTER_RAW_SIZE (1). + Together these changes work around a bug in HP's compiler. Both + seem to be necessary. + Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu) * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols diff --git a/gdb/remote.c b/gdb/remote.c index f4b17b8582a..9be476c662f 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -250,8 +250,11 @@ serial_t remote_desc = NULL; #define MAXBUFBYTES ((PBUFSIZ-32)/2) /* Round up PBUFSIZ to hold all the registers, at least. */ +/* The blank line after the #if seems to be required to work around a + bug in HP's PA compiler. */ #if REGISTER_BYTES > MAXBUFBYTES -#undef PBUFSIZ + +#undef PBUFSIZ #define PBUFSIZ (REGISTER_BYTES * 2 + 32) #endif