* hpread.c (hpread_process_one_debug_symbol): Fix a small

compilation error in the previous revision.
This commit is contained in:
Joel Brobecker 2003-01-10 15:39:10 +00:00
parent 45fdcabea2
commit 3269bcfa1c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-01-10 J. Brobecker <brobecker@gnat.com>
* hpread.c (hpread_process_one_debug_symbol): Fix a small
compilation error in the previous revision.
2003-01-09 David Carlton <carlton@math.stanford.edu>
* linespec.c: Update copyright.

View File

@ -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