diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 13:19:19 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 13:19:19 +0000 |
commit | 0c8b41f1c6ca809238df5662ea5f45e5f7a29121 (patch) | |
tree | 3f517831cb9999e62eab83261b88fca342533b2c /gdb/stabsread.c | |
parent | 46bf50512ce837bbc53e8704dd5117db3273099b (diff) | |
download | gdb-0c8b41f1c6ca809238df5662ea5f45e5f7a29121.zip gdb-0c8b41f1c6ca809238df5662ea5f45e5f7a29121.tar.gz gdb-0c8b41f1c6ca809238df5662ea5f45e5f7a29121.tar.bz2 |
* gdbtypes.h (make_function_type): Remove OBJFILE parameter.
* gdbtypes.c (make_function_type): Remove OBJFILE parameter.
(lookup_function_type): Update call.
* stabsread.c (read_type): Likewise.
* dwarf2read.c (read_subroutine_type): Use lookup_function_type
instead of make_function_type.
* jv-lang.c (type_from_class): Likewise. Do not allocate types
on the fake "dynamics" obstack.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 624a4c0..e62bb15 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1682,8 +1682,7 @@ again: case 'f': /* Function returning another type */ type1 = read_type (pp, objfile); - type = make_function_type (type1, dbx_lookup_type (typenums, objfile), - objfile); + type = make_function_type (type1, dbx_lookup_type (typenums, objfile)); break; case 'g': /* Prototyped function. (Sun) */ @@ -1707,7 +1706,7 @@ again: struct type *return_type = read_type (pp, objfile); struct type *func_type = make_function_type (return_type, - dbx_lookup_type (typenums, objfile), objfile); + dbx_lookup_type (typenums, objfile)); struct type_list { struct type *type; struct type_list *next; |