diff options
author | Ian Lance Taylor <iant@google.com> | 2012-10-26 20:08:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-10-26 20:08:29 +0000 |
commit | 73f4149137364da5b6d1238720b7fc21226b5b27 (patch) | |
tree | 19f70c7335db3f471b050d0ffdf8011662c823c7 /libbacktrace/fileline.c | |
parent | 9430b7bad813a444e6a7e35d6b5f92d2b99f40cf (diff) | |
download | gcc-73f4149137364da5b6d1238720b7fc21226b5b27.zip gcc-73f4149137364da5b6d1238720b7fc21226b5b27.tar.gz gcc-73f4149137364da5b6d1238720b7fc21226b5b27.tar.bz2 |
re PR other/55087 (bogus "linux-vdso.so.1: No such file or directory" caused by libbacktrace)
PR other/55087
* posix.c (backtrace_open): Add does_not_exist parameter.
* elf.c (phdr_callback): Do not warn if shared library could not
be opened.
* fileline.c (fileline_initialize): Update calls to
backtrace_open.
* internal.h (backtrace_open): Update declaration.
From-SVN: r192861
Diffstat (limited to 'libbacktrace/fileline.c')
-rw-r--r-- | libbacktrace/fileline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c index 4efd19b..e577ecc 100644 --- a/libbacktrace/fileline.c +++ b/libbacktrace/fileline.c @@ -80,9 +80,9 @@ fileline_initialize (struct backtrace_state *state, /* We have not initialized the information. Do it now. */ if (state->filename != NULL) - descriptor = backtrace_open (state->filename, error_callback, data); + descriptor = backtrace_open (state->filename, error_callback, data, NULL); else - descriptor = backtrace_open ("/proc/self/exe", error_callback, data); + descriptor = backtrace_open ("/proc/self/exe", error_callback, data, NULL); if (descriptor < 0) failed = 1; |