diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-11 17:52:11 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-11 17:52:11 +0000 |
commit | 2ddeed277e1fae96d28398239cd4a807307947ad (patch) | |
tree | 38b4777c95f3648426cf98e9414cf487eec3ca06 /gdb/remote.c | |
parent | 4f2ee9580182a0bae5cd6b2d49cefa682fd8b7b4 (diff) | |
download | gdb-2ddeed277e1fae96d28398239cd4a807307947ad.zip gdb-2ddeed277e1fae96d28398239cd4a807307947ad.tar.gz gdb-2ddeed277e1fae96d28398239cd4a807307947ad.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index f4b17b8..9be476c 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 |