]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.c
* ada-lang.c (is_known_support_routine): Add explicit free of
authorKeith Seitz <keiths@redhat.com>
Wed, 22 May 2013 21:16:18 +0000 (21:16 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 22 May 2013 21:16:18 +0000 (21:16 +0000)
commit55b87a526f450f811090fe38c80965ac615bf661
tree6db6ba6c14b5aa8471998374dcc7dd5fadecf9b0
parent5f2e6b00f863fc8f334d2506b96b055ef70394ed
* ada-lang.c (is_known_support_routine): Add explicit free of
'func_name' from find_frame_funname.
(ada_unhandled_exception_name_addr_from_raise): Add cleanups
for func_name from find_frame_funname.
* python/py-frame.c (frapy_name): Add explicit free of
'name' from find_frame_funname.
* stack.c (find_frame_funname): Add comment explaining that
funcp must be freed by the caller.
Return copy of symbol names instead of pointers.
(print_frame): Add a cleanup for 'funname' from
find_frame_funname.
* stack.h (find_frame_funname): Remove "const" from
'funname' parameter.
gdb/ChangeLog
gdb/ada-lang.c
gdb/python/py-frame.c
gdb/stack.c
gdb/stack.h