]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove cleanups from find_frame_funname
authorTom Tromey <tom@tromey.com>
Sat, 9 Sep 2017 16:14:52 +0000 (10:14 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 11 Sep 2017 22:15:11 +0000 (16:15 -0600)
commitc6dc63a16299e22fcb5bc13b34cb402a1bfcf6b9
treeba6c7f5c359753ab3cc712e8e98d8211b9caecdd
parentd6b9b80f9483b6c1a3a018c0fcaf813ca098d8af
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.
gdb/ChangeLog
gdb/ada-lang.c
gdb/guile/scm-frame.c
gdb/python/py-frame.c
gdb/stack.c
gdb/stack.h