gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 May 2009 14:43:21 +0000 (14:43 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 May 2009 14:43:21 +0000 (14:43 +0000)
commit323427d1cbb214ea9710ff62581b5635bebb32f3
tree22fd41a78745dd0e5dd51f0ebfe9f989da5a7133
parent00adf2d4698cba8b2829652c2bc38c23df3d0ac0
gdb/
Make specifiable the make_function_type type memory ownership.
* gdbtypes.c (make_function_type): New parameter `objfile', use it
explicitely instead of TYPE-initialized removed local variable
`objfile'.  Describe `objfile' it in the function comment.
(lookup_function_type): Update make_function_type callers.
* gdbtypes.h (make_function_type): Update the prototype.
* jv-lang.c (java_link_class_type): Update make_function_type callers.
* dwarf2read.c (read_subroutine_type): Likewise.
* stabsread.c (read_type): Likewise.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/jv-lang.c
gdb/stabsread.c