From: Joel Brobecker Date: Fri, 10 Jan 2003 15:39:10 +0000 (+0000) Subject: * hpread.c (hpread_process_one_debug_symbol): Fix a small X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c;p=binutils-gdb.git * hpread.c (hpread_process_one_debug_symbol): Fix a small compilation error in the previous revision. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1f263733abc..7ab960e5b15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-01-10 J. Brobecker + + * hpread.c (hpread_process_one_debug_symbol): Fix a small + compilation error in the previous revision. + 2003-01-09 David Carlton * linespec.c: Update copyright. diff --git a/gdb/hpread.c b/gdb/hpread.c index 0323f022ffc..39160607a88 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -5244,8 +5244,8 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name, /* All functions in C++ have prototypes. For C we don't have enough information in the debug info. */ - if (SYMBOL_LANGUAGE (s) == language_cplus) - TYPE_FLAGS (SYMBOL_TYPE (s)) |= TYPE_FLAG_PROTOTYPED; + if (SYMBOL_LANGUAGE (sym) == language_cplus) + TYPE_FLAGS (SYMBOL_TYPE (sym)) |= TYPE_FLAG_PROTOTYPED; /* The "SYMBOL_NAME" field is expected to be the mangled name * (if any), which we get from the "alias" field of the SOM record