diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-10-06 18:37:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-10-06 18:37:13 +0000 |
commit | af0b2512507109cb3ca5dccf3b110e9d883e611b (patch) | |
tree | cfebb4d8266aa94c3a5409b69562280e641b6ba6 /gdb/config | |
parent | 7c4a37eb43b0b7d69f228092a1ead21867d1ea9a (diff) | |
download | gdb-af0b2512507109cb3ca5dccf3b110e9d883e611b.zip gdb-af0b2512507109cb3ca5dccf3b110e9d883e611b.tar.gz gdb-af0b2512507109cb3ca5dccf3b110e9d883e611b.tar.bz2 |
* config/i386/nm-i386sco.h: Add protection against
multiple-inclusion. Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/nm-i386sco.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/config/i386/nm-i386sco.h b/gdb/config/i386/nm-i386sco.h index e3bdc2d..ec7a3bd 100644 --- a/gdb/config/i386/nm-i386sco.h +++ b/gdb/config/i386/nm-i386sco.h @@ -20,12 +20,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define REGISTER_U_ADDR(addr, blockend, regno) \ - (addr) = i386_register_u_addr ((blockend),(regno)); +#ifndef NM_I386SCO_H +#define NM_I386SCO_H -extern int i386_register_u_addr (int, int); +#include "i386/nm-i386v.h" /* When calling functions on SCO, sometimes we get an error writing some of the segment registers. This would appear to be a kernel bug/non-feature. */ #define CANNOT_STORE_REGISTER(regno) ((regno) == 14 || (regno) == 15) + +#endif /* nm-i386sco.h */ |