src/gdb ChangeLog ada-lang.c
brobecke@sourceware.org
brobecke@sourceware.org
Wed Jan 4 14:55:00 GMT 2012
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2012-01-04 14:55:09
Modified files:
gdb : ChangeLog ada-lang.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13701&r2=1.13702
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.328&r2=1.329
More information about the Gdb-cvs
mailing list