aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-10-14 14:37:29 +0200
committerJan Beulich <jbeulich@suse.com>2024-10-14 14:37:29 +0200
commitb03815327ab1bc34b1784455ca56c2b626cf5794 (patch)
tree1e1698c20ad3bf2241c31afebf528d5324ce292a /gas/stabs.c
parenta227513b8b7bcfcb7ee33a5c437cd9cf8e2bdc86 (diff)
downloadgdb-b03815327ab1bc34b1784455ca56c2b626cf5794.zip
gdb-b03815327ab1bc34b1784455ca56c2b626cf5794.tar.gz
gdb-b03815327ab1bc34b1784455ca56c2b626cf5794.tar.bz2
gas: drop SKIP_WHITESPACE_AFTER_NAME()
Exclusively all users should use restore_line_pointer() instead, at which point SKIP_WHITESPACE() suffices as a check afterwards.
Diffstat (limited to 'gas/stabs.c')
-rw-r--r--gas/stabs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index 00734ff..6542e71 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -453,8 +453,8 @@ s_desc (int ignore ATTRIBUTE_UNUSED)
c = get_symbol_name (&name);
p = input_line_pointer;
- *p = c;
- SKIP_WHITESPACE_AFTER_NAME ();
+ restore_line_pointer (c);
+ SKIP_WHITESPACE ();
if (*input_line_pointer != ',')
{
*p = 0;