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 c751d5e68566e54915c0a7535da518657365b8c0..b7f798a5433838b56defe6a4d6112fdc292d5402 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 b6aba04310e92ba93a18c31ffb8b02cc83470aa3..46a2b0ecf5f697df39cfc3c7aed3c522ceacc94d 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"));