aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-05-22 21:16:18 +0000
committerKeith Seitz <keiths@redhat.com>2013-05-22 21:16:18 +0000
commit55b87a526f450f811090fe38c80965ac615bf661 (patch)
tree6db6ba6c14b5aa8471998374dcc7dd5fadecf9b0 /gdb/stack.h
parent5f2e6b00f863fc8f334d2506b96b055ef70394ed (diff)
downloadgdb-55b87a526f450f811090fe38c80965ac615bf661.zip
gdb-55b87a526f450f811090fe38c80965ac615bf661.tar.gz
gdb-55b87a526f450f811090fe38c80965ac615bf661.tar.bz2
* 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.
Diffstat (limited to 'gdb/stack.h')
-rw-r--r--gdb/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.h b/gdb/stack.h
index 841ad43..4badf19 100644
--- a/gdb/stack.h
+++ b/gdb/stack.h
@@ -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,