aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-go32.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-11-12 11:43:20 +0000
committerNick Clifton <nickc@redhat.com>2020-11-12 11:43:20 +0000
commitbcb78b47614ed252226da1a688558a17d8a99ce8 (patch)
tree18d3480d3cb634ae6c431ef27e1b338ccecfbe84 /gdb/ser-go32.c
parentab33b15255460ac45a001c8ebf69ef73f6f1fba4 (diff)
downloadgdb-bcb78b47614ed252226da1a688558a17d8a99ce8.zip
gdb-bcb78b47614ed252226da1a688558a17d8a99ce8.tar.gz
gdb-bcb78b47614ed252226da1a688558a17d8a99ce8.tar.bz2
Stop Gas from generating line info or address ranges for sections that do not contain code or are not loaded.
PR 26850 * dwarf2dbg.c (dwarf2_gen_line_info_1): Do not record lines in sections that are not executable or not loadable. (out_debug_line): Move warning message into dwarf2_gen_line_info_1. * testsuite/gas/elf/dwarf2-20.s: New test. * testsuite/gas/elf/dwarf2-20.d: New test driver. * testsuite/gas/elf/elf.exp: Run the new test. * testsuite/gas/elf/warn-2.s: Use the .nop directive.
Diffstat (limited to 'gdb/ser-go32.c')
0 files changed, 0 insertions, 0 deletions