aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-05-04 10:19:38 +0100
committerNick Clifton <nickc@redhat.com>2020-05-04 10:19:38 +0100
commit4706679daca21b5d637afaf5b55858b26f0f8c16 (patch)
tree8950f5eb3edfacd8a64ff517515f9144daf5f624 /gdb/source.c
parent6015a0674901be2c3fd24867e1a610d2abf8c1a0 (diff)
downloadbinutils-4706679daca21b5d637afaf5b55858b26f0f8c16.zip
binutils-4706679daca21b5d637afaf5b55858b26f0f8c16.tar.gz
binutils-4706679daca21b5d637afaf5b55858b26f0f8c16.tar.bz2
Fix an illegal memory access in the assembler when generating a DWARF5 file/directory table with no entries.
PR 25917 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory table's existence before looking at its entries. * testsuite/gas/elf/pr25917.s: New test source file. * testsuite/gas/elf/pr25917.d: New test driver. * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions