Modified Files:
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index cc9537b2c21d4574321c84d883fb6db497c0fd56..37c23ca1261671f2f01b107ef7ebcf1d67152b1a 100644 (file)
@@ -1545,13 +1545,17 @@ read_type (pp, objfile)
     case 'f':                          /* Function returning another type */
       if (os9k_stabs && **pp == '(')
        {
-         /* Function prototype; skip it.
+         /* Function prototype; parse it.
             We must conditionalize this on os9k_stabs because otherwise
             it could be confused with a Sun-style (1,3) typenumber
             (I think).  */
-         while (**pp != ')')
-           ++*pp;
+         struct type *t;
          ++*pp;
+         while (**pp != ')')
+            {
+              t = os9k_read_type(pp, objfile);
+              if (**pp == ',') ++*pp;
+            }
        }
       type1 = read_type (pp, objfile);
       type = make_function_type (type1, dbx_lookup_type (typenums));
This page took 0.040476 seconds and 4 git commands to generate.