c0300daabb
Copy from Base:System/libunwind based on submit request 30687 from user rguenther OBS-URL: https://build.opensuse.org/request/show/30687 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunwind?expand=0&rev=8
14 lines
474 B
Diff
14 lines
474 B
Diff
Index: tests/Gtest-dyn1.c
|
|
===================================================================
|
|
--- tests/Gtest-dyn1.c.orig
|
|
+++ tests/Gtest-dyn1.c
|
|
@@ -106,7 +106,7 @@ sighandler (int signal)
|
|
name[0] = '\0';
|
|
off[0] = '\0';
|
|
if (unw_get_proc_name (&cursor, name, sizeof (name), &offset) == 0
|
|
- && off > 0)
|
|
+ && offset > 0)
|
|
snprintf (off, sizeof (off), "+0x%lx", (long) offset);
|
|
if (verbose)
|
|
printf ("ip = %lx <%s%s>\n", (long) ip, name, off);
|