infcmd.c (program_info): Fix typo.
authorDoug Evans <xdje42@gmail.com>
Sat, 6 Sep 2014 15:24:56 +0000 (08:24 -0700)
committerDoug Evans <xdje42@gmail.com>
Sat, 6 Sep 2014 15:24:56 +0000 (08:24 -0700)
gdb/ChangeLog:

* infcmd.c (program_info): Fix typo.

gdb/ChangeLog
gdb/infcmd.c

index c751d5e..b7f798a 100644 (file)
@@ -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
index b6aba04..46a2b0e 100644 (file)
@@ -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"));