This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: fix step into inline function, async vs sync, missing prompt
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 23 May 2011 16:19:29 +0100
- Subject: Re: fix step into inline function, async vs sync, missing prompt
- References: <201105201733.21632.pedro@codesourcery.com>
On Friday 20 May 2011 17:33:21, Pedro Alves wrote:
> +/* Return a ptid representing the set of threads that we will proceed,
> + in the perspective of the user/frontend. We may actually resume
> + fewer threads at first, e.g., if a thread is stopped at a
> + breakpoint that needs stepping-off, but that should be visible to
Bah. should _not_ be visible.
> + the user/frontend, and neither should the frontend/user be allowed
> + to proceed any of the threads that happen to be stopped at for
Spurious "at"...
> + internal run control handling, if a previous command wanted them
> + resumed. */
Fixed as below.
--
Pedro Alves
2011-05-23 Pedro Alves <pedro@codesourcery.com>
gdb/
* infrun.c (user_visible_resume_ptid): Fix typos in describing
comment.
---
gdb/infrun.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: src/gdb/infrun.c
===================================================================
--- src.orig/gdb/infrun.c 2011-05-20 20:48:01.000000000 +0100
+++ src/gdb/infrun.c 2011-05-23 16:14:54.018753682 +0100
@@ -1604,9 +1604,9 @@ maybe_software_singlestep (struct gdbarc
/* Return a ptid representing the set of threads that we will proceed,
in the perspective of the user/frontend. We may actually resume
fewer threads at first, e.g., if a thread is stopped at a
- breakpoint that needs stepping-off, but that should be visible to
- the user/frontend, and neither should the frontend/user be allowed
- to proceed any of the threads that happen to be stopped at for
+ breakpoint that needs stepping-off, but that should not be visible
+ to the user/frontend, and neither should the frontend/user be
+ allowed to proceed any of the threads that happen to be stopped for
internal run control handling, if a previous command wanted them
resumed. */