summaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-10-06 08:46:21 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-10-06 08:46:21 +0000
commitc08aed81b090cbd77f93681cefcd79352efdf8a7 (patch)
treefa194cae544d48615518e80e0df9b6e0a932aa47 /gdb/dwarf2read.c
parentbdbb564c066a930d618b9272229261b17d30377a (diff)
downloadgdb-c08aed81b090cbd77f93681cefcd79352efdf8a7.tar.gz
* dwarf2read.c (read_subroutine_type): Call make_function_type
instead of lookup_function_type.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f6b7eca582a..9e1bbb909c1 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4569,7 +4569,7 @@ read_subroutine_type (struct die_info *die, struct dwarf2_cu *cu)
return;
}
type = die_type (die, cu);
- ftype = lookup_function_type (type);
+ ftype = make_function_type (type, (struct type **) 0);
/* All functions in C++ and Java have prototypes. */
attr = dwarf2_attr (die, DW_AT_prototyped, cu);