]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: run-low_high_pc.sh: drop redundant 'lx' suffix
authorSergei Trofimovich via Elfutils-devel <elfutils-devel@sourceware.org>
Sat, 6 Aug 2022 08:55:06 +0000 (09:55 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 7 Aug 2022 23:19:11 +0000 (01:19 +0200)
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>
tests/ChangeLog
tests/low_high_pc.c

index 0c6f68ef20e294d0e72fe1133ccced490dcbd1c5..d2952cc91a897be4ba3616e55805403f1a0209a7 100644 (file)
@@ -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.
index 78b6ad08d941d8a9c1a8ee9a1948a35e16b12b7e..cd022b1cc5e446520be675859b01c0df04bb5521 100644 (file)
@@ -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");
     }