diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-04-07 08:15:24 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-04-07 08:15:24 +0200 |
commit | 13d414afa06a6e290126dbebccdb5076cc6620b8 (patch) | |
tree | 7ddb1db23e3cb4be1184e2eb0390d9ff0d6e3747 /gas/testsuite | |
parent | ff82bd74056e22cb55b54e7c8420067b8f782cd3 (diff) | |
download | gdb-13d414afa06a6e290126dbebccdb5076cc6620b8.zip gdb-13d414afa06a6e290126dbebccdb5076cc6620b8.tar.gz gdb-13d414afa06a6e290126dbebccdb5076cc6620b8.tar.bz2 |
Arm32: arrange for line number emission for .inst
Just like insns encoded the more conventional way these should have line
number info associated with them.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/arm/inst-po-dwarf.d | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/inst-po-dwarf.d b/gas/testsuite/gas/arm/inst-po-dwarf.d new file mode 100644 index 0000000..800e12a --- /dev/null +++ b/gas/testsuite/gas/arm/inst-po-dwarf.d @@ -0,0 +1,21 @@ +#as: -gdwarf-2 +#name: Dwarf line number info for .inst +#objdump: -WL -w +#source: inst-po.s +#skip: *-*-pe *-*-wince + +.*:[ ]+file format .* + +Contents of the .debug_line section: + +CU: .*/inst-po.s: +File name +Line number +Starting address.* +inst-po.s +5 +0.* +inst-po.s +12 +0x4.* +inst-po.s +13 +0x8.* +inst-po.s +20 +0xe.* +inst-po.s +22 +0x14.* +inst-po.s +26 +0x16.* +inst-po.s +27 +0x1a.* +inst-po.s +- +0x1e +#pass |