aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-12-06 21:35:18 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-01-13 23:56:02 +0000
commitd93c6db74b7a9d6154f55f92d96f38819838bc99 (patch)
tree8c5aff5c4fb443152dfda847d0db97b7d0518291 /gdb/elfread.c
parent18a8505e38fc2de4b0730b6e13cbd23db5984de9 (diff)
downloadgdb-d93c6db74b7a9d6154f55f92d96f38819838bc99.zip
gdb-d93c6db74b7a9d6154f55f92d96f38819838bc99.tar.gz
gdb-d93c6db74b7a9d6154f55f92d96f38819838bc99.tar.bz2
gdb/testsuite: Allow DWARF assembler to create multiple line tables
Fixes a bug in the DWARF assembler that prevents multiple line tables from being created in a test. We currently don't initialise a couple of flags, as a result we will only ever generate one end of file list, and one end of header, in the first line table. Any additional line tables will be missing these parts, and will therefore be corrupt. This fix will be required for a later commit. There should be no change in the testsuite after this commit. gdb/testsuite/ChangeLog: * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and _line_saw_file. Change-Id: Id7123f217a036f26ee32d608db3064dd43164596
Diffstat (limited to 'gdb/elfread.c')
0 files changed, 0 insertions, 0 deletions