aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-02-10 09:56:33 +0000
committerNick Clifton <nickc@redhat.com>2021-02-10 09:56:33 +0000
commit01e8b831f588e706ced57b57cc0ed05c14da61ea (patch)
treeba41cc0af5f1e2aeefb8b466c5175b4bd4eacbdb /gas
parent9bb305b389f98a1ea271463a0a8ded70317e3f74 (diff)
downloadfsf-binutils-gdb-01e8b831f588e706ced57b57cc0ed05c14da61ea.zip
fsf-binutils-gdb-01e8b831f588e706ced57b57cc0ed05c14da61ea.tar.gz
fsf-binutils-gdb-01e8b831f588e706ced57b57cc0ed05c14da61ea.tar.bz2
Remove debugging code accidentally included with the fix for PR 27384
* listing.c (buffer_line): Remove debugging code accidentally included with the fix for PR 27384.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/listing.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2c7e533..bd3913a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-10 Nick Clifton <nickc@redhat.com>
+
+ * listing.c (buffer_line): Remove debugging code accidentally
+ included with the fix for PR 27384.
+
2021-02-09 Nick Clifton <nickc@redhat.com>
PR 27381
diff --git a/gas/listing.c b/gas/listing.c
index f86fb00..02eb245 100644
--- a/gas/listing.c
+++ b/gas/listing.c
@@ -484,8 +484,6 @@ buffer_line (file_info_type *file, char *line, unsigned int size)
if (file->at_end)
return "";
-if (size == (unsigned int) -7) exit (1);
-
/* Check the cache and see if we last used this file. */
if (!last_open_file_info || file != last_open_file_info)
{