diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-05 13:51:24 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-05 13:51:24 +0100 |
commit | c62e507e849f3461254a88298aa25c970e4339c8 (patch) | |
tree | 49399d3860d7a1f60e59fbecd1cdd48e6abad599 | |
parent | fde7a8e4b007a29c7196fd5b017342899c367c00 (diff) | |
download | gdb-c62e507e849f3461254a88298aa25c970e4339c8.zip gdb-c62e507e849f3461254a88298aa25c970e4339c8.tar.gz gdb-c62e507e849f3461254a88298aa25c970e4339c8.tar.bz2 |
gas: squash (some) .linefile from listings
Not so long ago we started to insert these artificially when expanding
certain macro-like constructs; zap them as cluttering what actually
results from user input.
-rw-r--r-- | gas/read.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -868,7 +868,10 @@ read_a_source_file (const char *name) /* Find the end of the current expanded macro line. */ s = find_end_of_line (input_line_pointer, flag_m68k_mri); - if (s != last_eol) + if (s != last_eol + && !startswith (input_line_pointer, + !flag_m68k_mri ? " .linefile " + : " linefile ")) { char *copy; size_t len; |