diff --git a/elfutils-0.176-gcc-pr88835.patch b/elfutils-0.176-gcc-pr88835.patch index 4ea955d..455ef26 100644 --- a/elfutils-0.176-gcc-pr88835.patch +++ b/elfutils-0.176-gcc-pr88835.patch @@ -13,3 +13,17 @@ index 05e8ef8..d621fbf 100644 pid_t tid = dwfl_thread_tid (thread); callback_verify (tid, *framenop, pc, symname, dwfl); (*framenop)++; + +diff --git a/tests/backtrace-dwarf.c b/tests/backtrace-dwarf.c +index dfbf185..f446bc3 100644 +--- a/tests/backtrace-dwarf.c ++++ b/tests/backtrace-dwarf.c +@@ -101,7 +101,7 @@ frame_callback (Dwfl_Frame *state, void *frame_arg) + if (mod) + symname = dwfl_module_addrname (mod, pc_adjusted); + +- printf ("%#" PRIx64 "\t%s\n", (uint64_t) pc, symname); ++ printf ("%#" PRIx64 "\t%s\n", (uint64_t) pc, symname ?: ""); + + if (symname && (strcmp (symname, "main") == 0 + || strcmp (symname, ".main") == 0)) diff --git a/elfutils.spec b/elfutils.spec index 40c9e37..10e0884 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -314,6 +314,9 @@ fi %endif %changelog +* Tue Apr 30 2019 Mark Wielaard +- Update elfutils-0.176-gcc-pr88835.patch. + * Fri Feb 15 2019 Mark Wielaard - 0.176-1 - New upstream release. - backends: riscv improved core file and return value location support.