diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-06-19 19:33:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-06-19 19:33:35 +0000 |
commit | 1605fc4f2a97b75bedf9e4efc628e8507f3d8d0a (patch) | |
tree | 1f1627ff67f3fb8b9ef4e12c543f11cef492d5cc /bfd/rs6000-core.c | |
parent | 8c9cdfe810a01faefaaff5c92032904dafafcf0d (diff) | |
download | gdb-1605fc4f2a97b75bedf9e4efc628e8507f3d8d0a.zip gdb-1605fc4f2a97b75bedf9e4efc628e8507f3d8d0a.tar.gz gdb-1605fc4f2a97b75bedf9e4efc628e8507f3d8d0a.tar.bz2 |
* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
CORE_VERSION_1.
Diffstat (limited to 'bfd/rs6000-core.c')
-rw-r--r-- | bfd/rs6000-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/rs6000-core.c b/bfd/rs6000-core.c index 2e06f55..7f6bec4 100644 --- a/bfd/rs6000-core.c +++ b/bfd/rs6000-core.c @@ -118,6 +118,7 @@ typedef union { /* Union of old and new vm_info structures. */ +#ifdef CORE_VERSION_1 typedef union { #ifdef AIX_CORE_DUMPX_CORE struct vm_infox new; @@ -126,6 +127,7 @@ typedef union { #endif struct vm_info old; } VmInfo; +#endif /* Return whether CoreHdr C is in new or old format. */ |