This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix typo in program_info
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 10 Aug 2014 22:32:38 -0700
- Subject: [PATCH] Fix typo in program_info
- Authentication-results: sourceware.org; auth=none
Hi.
This patch seems obvious, though I'm going to give it a few days
in case I missed something. Maybe we should just delete the
additional text, but I don't mind it.
2014-08-10 Doug Evans <xdje42@gmail.com>
* infcmd.c (program_info): Fix typo.
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index bc42cea..2311e6a 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1852,7 +1852,7 @@ program_info (char *args, int from_tty)
gdb_signal_to_string (tp->suspend.stop_signal));
}
- if (!from_tty)
+ if (from_tty)
{
printf_filtered (_("Type \"info stack\" or \"info "
"registers\" for more information.\n"));