diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-10-06 08:46:21 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-10-06 08:46:21 +0000 |
commit | 1326e61ba304cb9d518a1d874111d97b94726c5b (patch) | |
tree | c9d88a79e250d005f41af4953a9192544603bf1d | |
parent | 709a48ba5e4c0b2cad621d59e8391b113c4518ba (diff) | |
download | gdb-1326e61ba304cb9d518a1d874111d97b94726c5b.zip gdb-1326e61ba304cb9d518a1d874111d97b94726c5b.tar.gz gdb-1326e61ba304cb9d518a1d874111d97b94726c5b.tar.bz2 |
* dwarf2read.c (read_subroutine_type): Call make_function_type
instead of lookup_function_type.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 608fecf..0b7c15c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-10-06 Corinna Vinschen <vinschen@redhat.com> + + * dwarf2read.c (read_subroutine_type): Call make_function_type + instead of lookup_function_type. + 2004-10-05 Jim Blandy <jimb@redhat.com> * linux-nat.c (_initialize_linux_nat): Rename child_ops. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index f6b7eca..9e1bbb9 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); |