[commit] fix a compilation failure in hpread.c

Joel Brobecker brobecker@gnat.com
Fri Jan 10 15:41:00 GMT 2003


I made the following change to fix a compilation failure inside
hpread.c...

2003-01-10  J. Brobecker  <brobecker@gnat.com>

        * hpread.c (hpread_process_one_debug_symbol): Fix a small
        compilation error in the previous revision.

-- 
Joel
-------------- next part --------------
Index: hpread.c
===================================================================
RCS file: /cvs/src/src/gdb/hpread.c,v
retrieving revision 1.28
diff -c -3 -p -r1.28 hpread.c
*** hpread.c	4 Jan 2003 22:37:47 -0000	1.28
--- hpread.c	10 Jan 2003 15:36:17 -0000
*************** hpread_process_one_debug_symbol (union d
*** 5244,5251 ****
  
        /* 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;
  
        /* The "SYMBOL_NAME" field is expected to be the mangled name
         * (if any), which we get from the "alias" field of the SOM record
--- 5244,5251 ----
  
        /* All functions in C++ have prototypes.  For C we don't have enough
           information in the debug info.  */
!       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


More information about the Gdb-patches mailing list