aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-10-17 23:39:32 +0000
committerPedro Alves <palves@redhat.com>2008-10-17 23:39:32 +0000
commitf42429a63f7458df14852132f85c576ce2524006 (patch)
tree3c4552b87e5a1a1ef28a1f7b2d36e6e430dcc9e9 /gdb/infcmd.c
parentbacec72f1d3b0de727ac84eedab262d8f7b422dc (diff)
downloadgdb-f42429a63f7458df14852132f85c576ce2524006.zip
gdb-f42429a63f7458df14852132f85c576ce2524006.tar.gz
gdb-f42429a63f7458df14852132f85c576ce2524006.tar.bz2
* infcmd.c (GO_USAGE): Delete.
(go_command): Adjust.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c4
1 files changed, 1 insertions, 3 deletions
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);