]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: small "maintenance info line-table" readability improvements
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 2 Dec 2021 01:40:13 +0000 (20:40 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Dec 2021 21:52:32 +0000 (16:52 -0500)
commit92228a334ba2a775277fc4a8441dd926c26d33c1
treee67f44029de9f4afb2ec5318692b368ecb0f5cba
parenteccd14b3f5927107c3b6ce5993fa9b9c054b27c3
gdb: small "maintenance info line-table" readability improvements

 - separate each entry with a newline, to visually separate them
 - style filenames with the filename style
 - print the name of the compunit_symtab

A header now looks like this, with the compunit_symtab name added (and
the coloring, but you can't really see it here):

    objfile: /home/simark/build/babeltrace/src/cli/.libs/babeltrace2 ((struct objfile *) 0x613000005980)
    compunit_symtab: babeltrace2-cfg-cli-args.c ((struct compunit_symtab *) 0x62100da1ed10)
    symtab: /usr/include/glib-2.0/glib/gdatetime.h ((struct symtab *) 0x62100d9ee530)
    linetable: ((struct linetable *) 0x0):

Change-Id: Idc23e10aaa66e2e692adb0a6a74144f72c4fa1c7
gdb/symmisc.c