aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-02 19:37:52 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-02 19:37:52 +0000
commit37f24dc945fb4d0ed1315f09afd7f0f0a1f7b8a4 (patch)
tree85585084b8aff720692bbd8389104826d7a2e79c /gdb/xcoffread.c
parent38e1f0cecd2429006e8c2c7da5903785769d12ef (diff)
downloadgdb-37f24dc945fb4d0ed1315f09afd7f0f0a1f7b8a4.zip
gdb-37f24dc945fb4d0ed1315f09afd7f0f0a1f7b8a4.tar.gz
gdb-37f24dc945fb4d0ed1315f09afd7f0f0a1f7b8a4.tar.bz2
* xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
x_scnlen.l rather than x_scnlen to match corresponding change in coff/internal.h.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index e024636..795c901 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1137,7 +1137,7 @@ read_xcoff_symtab (objfile, nsyms)
/* dealing with a symbol with a csect entry. */
# define CSECT(PP) ((PP)->x_csect)
-# define CSECT_LEN(PP) (CSECT(PP).x_scnlen)
+# define CSECT_LEN(PP) (CSECT(PP).x_scnlen.l)
# define CSECT_ALIGN(PP) (SMTYP_ALIGN(CSECT(PP).x_smtyp))
# define CSECT_SMTYP(PP) (SMTYP_SMTYP(CSECT(PP).x_smtyp))
# define CSECT_SCLAS(PP) (CSECT(PP).x_smclas)