]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
contrib/gdb-add-index.sh -dwarf-5
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 7 Jul 2018 21:02:36 +0000 (23:02 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 7 Jul 2018 21:20:11 +0000 (23:20 +0200)
commitdbc864ae0befb776deae11a6e420ba7f1c6b80c4
tree2768ad5a3667413fcb0a11aeaa167ff7436b3794
parent3775c57aa206854b79329cb72c4ce8f2ebc19a2a
contrib/gdb-add-index.sh -dwarf-5

------------------------------------------------------------------------------
(gdb) help save gdb-index
Save a gdb-index file.
Usage: save gdb-index [-dwarf-5] DIRECTORY

No options create one file with .gdb-index extension for pre-DWARF-5
compatible .gdb_index section.  With -dwarf-5 creates two files with
extension .debug_names and .debug_str for DWARF-5 .debug_names section.
------------------------------------------------------------------------------

But gdb-add-index command provided no way how to pass the -dwarf-5 option.

gdb/ChangeLog
2018-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>

* contrib/gdb-add-index.sh ($dwarf5): New, use it.
gdb/ChangeLog
gdb/contrib/gdb-add-index.sh