This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix typo in program_info


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"));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]