Commit 588f4f8f by Ian Lance Taylor Committed by Ian Lance Taylor

re PR other/54726 (libbacktrace segfaults on gcc_asserts with stripped gcc)

	PR other/54726
	* elf.c (backtrace_initialize): Set *fileln_fn, not
	state->fileln_fn.

From-SVN: r191811
parent 2f13f2de
2012-09-27 Ian Lance Taylor <iant@google.com>
PR other/54726
* elf.c (backtrace_initialize): Set *fileln_fn, not
state->fileln_fn.
2012-09-19 Ian Lance Taylor <iant@google.com> 2012-09-19 Ian Lance Taylor <iant@google.com>
* configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
......
...@@ -634,7 +634,7 @@ backtrace_initialize (struct backtrace_state *state, int descriptor, ...@@ -634,7 +634,7 @@ backtrace_initialize (struct backtrace_state *state, int descriptor,
{ {
if (!backtrace_close (descriptor, error_callback, data)) if (!backtrace_close (descriptor, error_callback, data))
goto fail; goto fail;
state->fileline_fn = elf_nodebug; *fileline_fn = elf_nodebug;
state->fileline_data = NULL; state->fileline_data = NULL;
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment