mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
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
This commit is contained in:
parent
2f13f2de1f
commit
588f4f8fc1
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
|
||||
|
@ -634,7 +634,7 @@ backtrace_initialize (struct backtrace_state *state, int descriptor,
|
||||
{
|
||||
if (!backtrace_close (descriptor, error_callback, data))
|
||||
goto fail;
|
||||
state->fileline_fn = elf_nodebug;
|
||||
*fileline_fn = elf_nodebug;
|
||||
state->fileline_data = NULL;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user