aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infcmd.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c751d5e..b7f798a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-06 Doug Evans <xdje42@gmail.com>
+
+ * infcmd.c (program_info): Fix typo.
+
2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/17235
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index b6aba04..46a2b0e 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"));