This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/10059] New: -target-select without arguments doesn't result in ^error
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 10 Apr 2009 21:55:43 -0000
- Subject: [Bug mi/10059] New: -target-select without arguments doesn't result in ^error
- Reply-to: sourceware-bugzilla at sourceware dot org
Notice:
-target-select
~"Argument required (target name). Try `help target'\n"
^connected
vs:
-target-select foo
^error,msg="Undefined target command: \"foo\". Try \"help target\"."
(gdb)
-target-select maps directly to CLI's "target" command, and ...
static void
target_command (char *arg, int from_tty)
{
fputs_filtered ("Argument required (target name). Try `help target'\n",
gdb_stdout);
}
... this doesn't call `error'.
--
Summary: -target-select without arguments doesn't result in
^error
Product: gdb
Version: 6.50
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: mi
AssignedTo: unassigned at sourceware dot org
ReportedBy: pedro at codesourcery dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10059
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.