]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
readelf: gcc_except_table: add newline in output
authorMartin Liška <m.liska@foxlink.cz>
Wed, 17 Dec 2025 14:39:05 +0000 (15:39 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 17 Dec 2025 15:40:39 +0000 (16:40 +0100)
Fixes:
```
 TType table: [   3] 0x23a4
 [   2] 0x23a8
 [   1] 0x23ac
```

to:
```
 TType table:
 [   3] 0x23a4
 [   2] 0x23a8
 [   1] 0x23ac
```

ChangeLog:

* src/readelf.c (print_debug_exception_table): Add newline after TType table header.

Signed-off-by: Martin Liska <martin.liska@hey.com>
src/readelf.c

index 4faf0405c1873b027bfa6646c71e2916f06cab02..5db86f0a84bca3ec079bb8721891da1bc8ea6089 100644 (file)
@@ -11794,7 +11794,7 @@ print_debug_exception_table (Dwfl_Module *dwflmod __attribute__ ((unused)),
   if (max_ar_filter > 0 && ttype_base != NULL)
     {
       unsigned char dsize;
-      fputs ("\n TType table:", out);
+      fputs ("\n TType table:\n", out);
 
       // XXX Not *4, size of encoding;
       switch (ttype_encoding & 7)