diff options
author | Sergey Belyashov <sergey.belyashov@gmail.com> | 2022-01-17 13:00:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-01-17 13:00:17 +0000 |
commit | 1adce770ea443ec73c8af29618c504495893d0b8 (patch) | |
tree | 753d3fe428dbbe3025844510581d8fbe8e4cb95a /gas/app.c | |
parent | 8bf10e2e77f3b4e19fe01e95d25c0c2caf7eef3b (diff) | |
download | gdb-1adce770ea443ec73c8af29618c504495893d0b8.zip gdb-1adce770ea443ec73c8af29618c504495893d0b8.tar.gz gdb-1adce770ea443ec73c8af29618c504495893d0b8.tar.bz2 |
Fix Z80 assembly failure.
PR 28762
* app.c (do_scrub_chars): Correct handling when the symbol is not 'af'.
Diffstat (limited to 'gas/app.c')
-rw-r--r-- | gas/app.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -748,6 +748,8 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) } else { + if (ch != EOF) + UNGET (ch); state = 9; break; } |