diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-01-04 14:55:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-01-04 14:55:09 +0000 |
commit | 0fcd72ba3772517ba91b2e84f39db6be8e194630 (patch) | |
tree | 222060e045d150a2fd69420772621d9409e6ff13 /gdb/fork-child.c | |
parent | 5e0a92a9869b4e15cdce8d6e7d60f1404fda609c (diff) | |
download | gdb-0fcd72ba3772517ba91b2e84f39db6be8e194630.zip gdb-0fcd72ba3772517ba91b2e84f39db6be8e194630.tar.gz gdb-0fcd72ba3772517ba91b2e84f39db6be8e194630.tar.bz2 |
Use skip_spaces and skip_to_space in ada-lang.c
This is just a minor cleanup that reduces a bit the code in ada-lang.c
by using skip_spaces or skip_to_space, instead of doing the skipping
ourselves.
gdb/ChangeLog:
* ada-lang.c: #include "cli/cli-utils.h".
(get_selections): Use skip_spaces.
(ada_get_next_arg): Use skip_spaces and skip_to_space.
(catch_ada_exception_command_split): Use skip_spaces.
(ada_decode_assert_location): Likewise.
Diffstat (limited to 'gdb/fork-child.c')
0 files changed, 0 insertions, 0 deletions