This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Stop unlikely "run"'s earlier
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 08 Nov 2007 00:06:16 +0200
- Subject: Re: [rfc] Stop unlikely "run"'s earlier
- References: <20071107211833.GA28200@caradoc.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 7 Nov 2007 16:18:33 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> I don't think this behavior is useful. "run" should select a native
> target when the current target is an executable or core file, but
> not when it's connected to some other target. This patch changes
> the behavior to:
>
> (gdb) run
> The "remote" target can not run programs. Try "help target" or "continue".
>
> Any comments? Shall I commit this?
I'm okay with the change, but how do you feel about updating the docs
as well? Should we?