diff options
author | dg <dg@FreeBSD.org> | 1994-01-03 08:10:47 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-01-03 08:10:47 +0000 |
commit | 7d2bd6aedc726f3bb86f0c01086ecbd45245179e (patch) | |
tree | 5580551f4eea165b2fb0416123cd3b82b35962af /gnu | |
parent | 59648ea2fc4d9fa5556db2324cb5f60fac5b3952 (diff) | |
download | FreeBSD-src-7d2bd6aedc726f3bb86f0c01086ecbd45245179e.zip FreeBSD-src-7d2bd6aedc726f3bb86f0c01086ecbd45245179e.tar.gz |
Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/config/i386bsd-dep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/config/i386bsd-dep.c b/gnu/usr.bin/gdb/config/i386bsd-dep.c index d298fb0..80e11fa 100644 --- a/gnu/usr.bin/gdb/config/i386bsd-dep.c +++ b/gnu/usr.bin/gdb/config/i386bsd-dep.c @@ -1543,6 +1543,7 @@ static int trapmap[] = tEIP, tEFLAGS, tCS, tSS, tDS, tES, tES, tES /* lies: no fs or gs */ }; +#if defined(FM_TRAP) || defined(EX_TRAPSTK) static int syscallmap[] = { sEAX, sECX, sEDX, sEBX, @@ -1550,6 +1551,7 @@ static int syscallmap[] = sEIP, sEFLAGS, sCS, sSS, sCS, sCS, sCS, sCS /* lies: no ds, es, fs or gs */ }; +#endif static int *regmap; static void |