mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 04:43:17 +08:00
Remove cleanups from find_frame_funname
This changes find_frame_funname to return a unique_xmalloc_ptr and then fixes up the callers. This removes several cleanups. ChangeLog 2017-09-11 Tom Tromey <tom@tromey.com> * ada-lang.c (is_known_support_routine): Update. (ada_unhandled_exception_name_addr_from_raise): Update. * guile/scm-frame.c (gdbscm_frame_name): Update. * python/py-frame.c (frapy_name): Update. (frapy_function): Update. * stack.h (find_frame_funname): Update. * stack.c (find_frame_funname): Return unique_xmalloc_ptr. (print_frame): Update.
This commit is contained in:
@ -22,8 +22,9 @@
|
||||
|
||||
void select_frame_command (char *level_exp, int from_tty);
|
||||
|
||||
void find_frame_funname (struct frame_info *frame, char **funname,
|
||||
enum language *funlang, struct symbol **funcp);
|
||||
gdb::unique_xmalloc_ptr<char> find_frame_funname (struct frame_info *frame,
|
||||
enum language *funlang,
|
||||
struct symbol **funcp);
|
||||
|
||||
typedef void (*iterate_over_block_arg_local_vars_cb) (const char *print_name,
|
||||
struct symbol *sym,
|
||||
|
Reference in New Issue
Block a user