Use sect_offset_str in cooked_index::dump
authorTom Tromey <tromey@adacore.com>
Mon, 28 Aug 2023 16:35:32 +0000 (10:35 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 28 Aug 2023 16:37:38 +0000 (10:37 -0600)
commitb8a175b415454df6a039ba0b5d2ff13c3c180275
treeda7bd5b7ef036d9dc2018cff82e78203f3b12a50
parenta6ce491c3d926650407927a338d9678ca983bee4
Use sect_offset_str in cooked_index::dump

Mark Wielaard pointed out that cooked_index::dump uses PRIx64, and
Andreas Schwab pointed out that gdb already has sect_offset_str.  This
patch applies both these observations.
gdb/dwarf2/cooked-index.c