aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-01-10 15:39:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-01-10 15:39:10 +0000
commit3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c (patch)
tree56340864597f8c0d12f57b861ddd7714999d104b /gdb/hpread.c
parent45fdcabea2dfc25e125d647e3c9e24aaaee70e5c (diff)
downloadgdb-3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c.zip
gdb-3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c.tar.gz
gdb-3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c.tar.bz2
* hpread.c (hpread_process_one_debug_symbol): Fix a small
compilation error in the previous revision.
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r--gdb/hpread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c
index 0323f02..3916060 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