Update from gcc trunk version of libbacktrace at svn rev 256427. (#8)

Includes (among other things) support for compressed debug sections,
a variety of bugfixes, and expanded test coverage.
This commit is contained in:
Than McIntosh
2018-01-12 13:26:02 -05:00
committed by Ian Lance Taylor
parent 14d377e9be
commit 17f687d2b9
37 changed files with 10031 additions and 1997 deletions

View File

@@ -1,5 +1,5 @@
/* pecoff.c -- Get debug data from a PE/COFF file for backtraces.
Copyright (C) 2015-2016 Free Software Foundation, Inc.
/* pecoff.c -- Get debug data from a PE/COFFF file for backtraces.
Copyright (C) 2015-2018 Free Software Foundation, Inc.
Adapted from elf.c by Tristan Gingold, AdaCore.
Redistribution and use in source and binary forms, with or without
@@ -890,7 +890,8 @@ coff_add (struct backtrace_state *state, int descriptor,
sections. */
int
backtrace_initialize (struct backtrace_state *state, int descriptor,
backtrace_initialize (struct backtrace_state *state,
const char *filename ATTRIBUTE_UNUSED, int descriptor,
backtrace_error_callback error_callback,
void *data, fileline *fileline_fn)
{