summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Trofimovich via Elfutils-devel <elfutils-devel@sourceware.org>2022-08-06 09:55:06 +0100
committerMark Wielaard <mark@klomp.org>2022-08-08 01:19:11 +0200
commitb661e39349a89a47793c4d15e9ca8df016c3871b (patch)
treef2ec145105b13473564062b279635a033f0f56dd
parentcc2b85c4536f415547981fc4cf176e3fae967acc (diff)
tests: run-low_high_pc.sh: drop redundant 'lx' suffix
Noticed when debugged test failure: lowpc: 8049000, highpc: 8049000lx ../sysdeps/i386/crti.S: [2def] '_init' highpc <= lowpc Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/low_high_pc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 0c6f68ef..d2952cc9 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-04 Sergei Trofimovich <slyich@gmail.com>
+
+ * low_high_pc.c (handle_die): Drop redundant 'lx' suffix.
+
2022-08-01 Mark Wielaard <mark@klomp.org>
* run-debuginfod-percent-escape.sh: Add initial scan wait_ready.
diff --git a/tests/low_high_pc.c b/tests/low_high_pc.c
index 78b6ad08..cd022b1c 100644
--- a/tests/low_high_pc.c
+++ b/tests/low_high_pc.c
@@ -72,7 +72,7 @@ handle_die (Dwarf_Die *die, void *arg)
&& highpc <= lowpc
&& ! (dwarf_tag (die) == DW_TAG_compile_unit && highpc == lowpc))
{
- printf("lowpc: %" PRIx64 ", highpc: %" PRIx64 "lx\n", lowpc, highpc);
+ printf("lowpc: %" PRIx64 ", highpc: %" PRIx64 "\n", lowpc, highpc);
fail (off, name, "highpc <= lowpc");
}