Update elfutils-0.176-gcc-pr88835.patch

This commit is contained in:
Mark Wielaard 2019-04-30 21:58:14 +02:00
parent 9b6b1462af
commit c9690396b3
2 changed files with 17 additions and 0 deletions

View File

@ -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 ?: "<null>");
if (symname && (strcmp (symname, "main") == 0
|| strcmp (symname, ".main") == 0))

View File

@ -314,6 +314,9 @@ fi
%endif
%changelog
* Tue Apr 30 2019 Mark Wielaard <mjw@fedoraproject.org>
- Update elfutils-0.176-gcc-pr88835.patch.
* Fri Feb 15 2019 Mark Wielaard <mjw@fedoraproject.org> - 0.176-1
- New upstream release.
- backends: riscv improved core file and return value location support.