aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-10-29 15:25:00 +0000
committerPedro Alves <palves@redhat.com>2015-10-29 17:33:27 +0000
commitfa4c39cb5139e3fcd27bb486a6331297e343d248 (patch)
tree50474b1a89a3a2a03e3f6f48131a7bc4a91e39ed
parente681cf3fe50d3c8d17dabde079bbd949a59ef53a (diff)
downloadgdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.zip
gdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.tar.gz
gdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.tar.bz2
guile/: Add enum cast
gdb/ChangeLog: 2015-10-29 Pedro Alves <palves@redhat.com> * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/guile/scm-frame.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 000566e..9433221 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.
+
2015-10-29 Eli Zaretskii <eliz@gnu.org>
* utils.c (init_page_info): Disable paging if INSIDE_EMACS is set
diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c
index 24e26e8..55e0faf 100644
--- a/gdb/guile/scm-frame.c
+++ b/gdb/guile/scm-frame.c
@@ -1045,7 +1045,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 = unwind_stop_reason_to_string (reason);
+ str = unwind_stop_reason_to_string ((enum unwind_stop_reason) reason);
return gdbscm_scm_from_c_string (str);
}