diff options
author | Pedro Alves <palves@redhat.com> | 2008-10-17 23:39:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-10-17 23:39:32 +0000 |
commit | f42429a63f7458df14852132f85c576ce2524006 (patch) | |
tree | 3c4552b87e5a1a1ef28a1f7b2d36e6e430dcc9e9 /gdb | |
parent | bacec72f1d3b0de727ac84eedab262d8f7b422dc (diff) | |
download | gdb-f42429a63f7458df14852132f85c576ce2524006.zip gdb-f42429a63f7458df14852132f85c576ce2524006.tar.gz gdb-f42429a63f7458df14852132f85c576ce2524006.tar.bz2 |
* infcmd.c (GO_USAGE): Delete.
(go_command): Adjust.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infcmd.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29a29ff..92dab51 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-10-17 Pedro Alves <pedro@codesourcery.com> + + * infcmd.c (GO_USAGE): Delete. + (go_command): Adjust. + 2008-10-17 Michael Snyder <msnyder@vmware.com> Target interface for reverse debugging. * target.h (enum target_waitkind): diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 5179a2f..4f55c33 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -120,8 +120,6 @@ static int strip_bg_char (char **); void _initialize_infcmd (void); -#define GO_USAGE "Usage: go <location>\n" - #define ERROR_NO_INFERIOR \ if (!target_has_execution) error (_("The program is not being run.")); @@ -1055,7 +1053,7 @@ static void go_command (char *line_no, int from_tty) { if (line_no == (char *) NULL || !*line_no) - printf_filtered (GO_USAGE); + printf_filtered (_("Usage: go <location>\n")); else { tbreak_command (line_no, from_tty); |