gdb/
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index ee1490d61c7c26181a51e789a567d6f51d99ca62..6ddaecd9f4fdfa840934228a79cde40be1aa1a4e 100644 (file)
@@ -5110,7 +5110,7 @@ read_subroutine_type (struct die_info *die, struct dwarf2_cu *cu)
   struct attribute *attr;
 
   type = die_type (die, cu);
-  ftype = make_function_type (type, (struct type **) 0);
+  ftype = make_function_type (type, (struct type **) 0, cu->objfile);
 
   /* All functions in C++, Pascal and Java have prototypes.  */
   attr = dwarf2_attr (die, DW_AT_prototyped, cu);
This page took 0.026128 seconds and 4 git commands to generate.