From 37f24dc945fb4d0ed1315f09afd7f0f0a1f7b8a4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 2 Feb 1994 19:37:52 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 6 ++++++ gdb/xcoffread.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adca9e17740..fb0a583d6af 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * 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. + Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * gdbtypes.h, ch-typeprint.c, ch-valprint.c: diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index e024636f989..795c901976a 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) -- 2.30.2