aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2019-06-13 00:06:52 +0100
committerPedro Alves <palves@redhat.com>2019-06-13 00:08:50 +0100
commitcbba3ecd36f0f861e4e810fbd5415c9759080cdc (patch)
tree0ff7941e323a33afd43355872000ab351762f195 /gdb/ChangeLog
parentb9a3f8429b012b753e30a4222bd8e4cbba019fad (diff)
downloadgdb-cbba3ecd36f0f861e4e810fbd5415c9759080cdc.zip
gdb-cbba3ecd36f0f861e4e810fbd5415c9759080cdc.tar.gz
gdb-cbba3ecd36f0f861e4e810fbd5415c9759080cdc.tar.bz2
Make check_for_argument skip whitespace after arg itself
Basically every caller of check_for_argument needs to skip space after the argument. This patch makes check_for_argument do it itself. Suggested by Philippe Waroquiers. gdb/ChangeLog: 2019-06-13 Pedro Alves <palves@redhat.com> * ax-gdb.c (agent_command_1): Remove skip_spaces call. * breakpoint.c (watch_maybe_just_location): Remove skip_spaces call. * cli/cli-cmds.c (apropos_command): Remove skip_spaces call. * cli/cli-utils.c (extract_info_print_args): Remove skip_spaces calls. (check_for_argument): Skip spaces after argument.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3843e12..538db3a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+2019-06-13 Pedro Alves <palves@redhat.com>
+
+ * ax-gdb.c (agent_command_1): Remove skip_spaces call.
+ * breakpoint.c (watch_maybe_just_location): Remove skip_spaces
+ call.
+ * cli/cli-cmds.c (apropos_command): Remove skip_spaces call.
+ * cli/cli-utils.c (extract_info_print_args): Remove skip_spaces
+ calls.
+ (check_for_argument): Skip spaces after argument.
+
2019-06-13 Pedro Alves <palves@redhat.com>
* thread.c (thread_apply_command): Adjust TID parsing.