* hpread.c (hpread_process_one_debug_symbol): Fix a small
authorJoel Brobecker <brobecker@gnat.com>
Fri, 10 Jan 2003 15:39:10 +0000 (15:39 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 10 Jan 2003 15:39:10 +0000 (15:39 +0000)
        compilation error in the previous revision.

gdb/ChangeLog
gdb/hpread.c

index 1f263733abc8617c52bdaaba815bd117b3e6c350..7ab960e5b15888662893541db083ea7832d50dca 100644 (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.
index 0323f022ffcaaf6e5d63a31c32a266991c2999f0..39160607a88bbc90818c559f2595705077ba0674 100644 (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
This page took 0.031387 seconds and 4 git commands to generate.