This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] new comment: thread_info->stop_step
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 3 May 2010 18:19:46 +0200
- Subject: [patch] new comment: thread_info->stop_step
Hi,
just it may be misleading as more than just the different print output
happens. I found it useful but I do not mind if this patch gets forgotten.
Thanks,
Jan
gdb/
2010-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdbthread.h (struct thread_info) <stop_step>: Extend the comment.
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -163,7 +163,8 @@ struct thread_info
enum step_over_calls_kind step_over_calls;
- /* Nonzero if stopped due to a step command. */
+ /* Nonzero if stopped due to a step command. One of the consequences is to
+ print the source line but without printing the source line location. */
int stop_step;
/* If stepping, nonzero means step count is > 1 so don't print frame