This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Displaced stepping just enable in non-stop mode
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Fri, 17 Oct 2008 15:50:40 +0100
> Cc: Daniel Jacobowitz <drow@false.org>, teawater@gmail.com, brobecker@adacore.com, msnyder@vmware.com
>
> > We could also try to detect if it works, and display a warning if we
> > think it won't (RE the cases you described above).
>
> That would be a warning that brings no value to the user in
> all-stop mode.
>
> If the user sees:
>
> "warning: you can not use displaced stepping on this platform".
>
> He/she will think that something is wrong, while at least currently,
> no functionality the user cares for is lost (in all-stop).
The warning should say that non-stop won't work, and we should refuse
to work in non-stop mode in this case.