aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2014-05-28 22:46:33 +0100
committerAndrew Burgess <aburgess@broadcom.com>2014-05-30 22:40:29 +0100
commit70e38b8e988c7db764a7344f0d27273706543a54 (patch)
tree054df1607502bb56cff1cae73b8d39fc6365935b /gdb/guile
parent938f0e2f6766e90a5ddc5df00e97a68873fd1252 (diff)
downloadgdb-70e38b8e988c7db764a7344f0d27273706543a54.zip
gdb-70e38b8e988c7db764a7344f0d27273706543a54.tar.gz
gdb-70e38b8e988c7db764a7344f0d27273706543a54.tar.bz2
Rename frame_stop_reason_string to unwind_stop_reason_to_string.
https://sourceware.org/ml/gdb-patches/2014-05/msg00721.html This function is confusingly named, the "frame_" in the name implies it somehow is frame dependent, when in reality the function just converts an 'enum unwind_stop_reason' value to a string. gdb/ChangeLog: * frame.c (frame_stop_reason_string): Rename to ... (unwind_stop_reason_to_string): this. * frame.h (frame_stop_reason_string): Rename to ... (unwind_stop_reason_to_string): this. * stack.c (frame_info): Update call to frame_stop_reason_string. (backtrace_command_1): Likewise. * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c
index 8800923..9c0b00d 100644
--- a/gdb/guile/scm-frame.c
+++ b/gdb/guile/scm-frame.c
@@ -933,7 +933,7 @@ gdbscm_unwind_stop_reason_string (SCM reason_scm)
if (reason < UNWIND_FIRST || reason > UNWIND_LAST)
scm_out_of_range (FUNC_NAME, reason_scm);
- str = frame_stop_reason_string (reason);
+ str = unwind_stop_reason_to_string (reason);
return gdbscm_scm_from_c_string (str);
}