OSDN Git Service

gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 May 2009 14:43:16 +0000 (14:43 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 May 2009 14:43:16 +0000 (14:43 +0000)
commitfff6ab3c1558830440bf0798494b0b3d7435b4c8
treef63eccd3c8bf50eaef487baaecf546f8c77240ab
parentadc93c1a641f3c65e7bbe470982a396e2a588f86
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