mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* 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.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
|
||||
void select_frame_command (char *level_exp, int from_tty);
|
||||
|
||||
void find_frame_funname (struct frame_info *frame, const char **funname,
|
||||
void find_frame_funname (struct frame_info *frame, char **funname,
|
||||
enum language *funlang, struct symbol **funcp);
|
||||
|
||||
typedef void (*iterate_over_block_arg_local_vars_cb) (const char *print_name,
|
||||
|
Reference in New Issue
Block a user