From 49414838987155adb9223cdc6c15d81814d2f1d9 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 17 Sep 2012 21:14:51 +0000 Subject: [PATCH] PR bootstrap/54611 * nounwind.c (backtrace_full): Rename from backtrace. Add state parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191408 138bc75d-0d04-0410-961f-82ee72b054a4 --- libbacktrace/ChangeLog | 6 ++++++ libbacktrace/nounwind.c | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index a420500..ec3e1b7 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,9 @@ +2012-09-17 Ian Lance Taylor + + PR bootstrap/54611 + * nounwind.c (backtrace_full): Rename from backtrace. Add state + parameter. + 2012-09-17 Gerald Pfeifer PR bootstrap/54611 diff --git a/libbacktrace/nounwind.c b/libbacktrace/nounwind.c index 71bd5c4..bf7635c 100644 --- a/libbacktrace/nounwind.c +++ b/libbacktrace/nounwind.c @@ -42,9 +42,10 @@ POSSIBILITY OF SUCH DAMAGE. */ available. */ int -backtrace (int skip ATTRIBUTE_UNUSED, - backtrace_full_callback callback ATTRIBUTE_UNUSED, - backtrace_error_callback error_callback, void *data) +backtrace_full (struct backtrace_state *state ATTRIBUTE_UNUSED, + int skip ATTRIBUTE_UNUSED, + backtrace_full_callback callback ATTRIBUTE_UNUSED, + backtrace_error_callback error_callback, void *data) { error_callback (data, "no stack trace because unwind library not available", -- 2.7.4