This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] dangling cleanup in find_frame_funname


> ChangeLog
> 2013-05-21  Keith Seitz  <keiths@redhat.com>
> 
> 	* 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.

JIC you haven't checked it in already - please feel free to go ahead,
and thank you for the fix, as always.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]