mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
Always clear the slot 1 if it was assigned to the input file before the first .file <NUMBER> directive has been seen. Always use as_where to generate the correct debug infor for preprocessed assembly codes. PR gas/25878 PR gas/26740 * dwarf2dbg.c (allocate_filename_to_slot): Don't reuse the slot 1 here. (dwarf2_where): Restore as_where. (dwarf2_directive_filename): Clear the slot 1 if it was assigned to the input file. * testsuite/gas/i386/dwarf5-line-2.d: New file. * testsuite/gas/i386/dwarf5-line-2.s: Likewise. * testsuite/gas/i386/dwarf5-line-3.d: Likewise. * testsuite/gas/i386/dwarf5-line-3.s: Likewise. * testsuite/gas/i386/i386.exp: Run dwarf5-line-2 and dwarf5-line-3. |
||
---|---|---|
.. | ||
aarch64 | ||
all | ||
alpha | ||
arc | ||
arm | ||
avr | ||
bfin | ||
bpf | ||
cfi | ||
cr16 | ||
cris | ||
crx | ||
csky | ||
d10v | ||
d30v | ||
dlx | ||
elf | ||
epiphany | ||
fr30 | ||
frv | ||
ft32 | ||
h8300 | ||
hppa | ||
i386 | ||
ia64 | ||
ieee-fp | ||
ip2k | ||
iq2000 | ||
lm32 | ||
lns | ||
m32r | ||
m68hc11 | ||
m68k | ||
mach-o | ||
macros | ||
mcore | ||
mep | ||
metag | ||
microblaze | ||
mips | ||
mmix | ||
mn10200 | ||
mn10300 | ||
mri | ||
msp430 | ||
mt | ||
nds32 | ||
nios2 | ||
or1k | ||
pdp11 | ||
pe | ||
pj | ||
ppc | ||
pru | ||
riscv | ||
rl78 | ||
rx | ||
s12z | ||
s390 | ||
score | ||
sh | ||
sparc | ||
sparc-solaris | ||
symver | ||
tic4x | ||
tic6x | ||
tic54x | ||
tilegx | ||
tilepro | ||
v850 | ||
vax | ||
visium | ||
wasm32 | ||
xc16x | ||
xgate | ||
xstormy16 | ||
xtensa | ||
z8k | ||
z80 | ||
template |