gdb/testsuite: Reduce test name duplication in gdb.python tests
[deliverable/binutils-gdb.git] / gdb / gnu-nat.c
index 654a652717008d1fd210d652f17516d7313b9b2f..b55c75b097607458f722aa8291e774e0a489697f 100644 (file)
@@ -63,7 +63,7 @@ extern "C"
 #include "value.h"
 #include "language.h"
 #include "target.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
 #include "gdbthread.h"
@@ -93,7 +93,7 @@ int proc_wait_pid = 0;
 /* The number of wait requests we've sent, and expect replies from.  */
 int proc_waits_pending = 0;
 
-int gnu_debug_flag = 0;
+bool gnu_debug_flag = false;
 
 /* Forward decls */
 
@@ -1649,7 +1649,7 @@ rewait:
 
   inf_debug (inf, "returning ptid = %s, %s",
             target_pid_to_str (ptid).c_str (),
-            target_waitstatus_to_string (&status).c_str ());
+            target_waitstatus_to_string (status).c_str ());
 
   return ptid;
 }
@@ -3312,15 +3312,15 @@ This is the same as setting `task pause', `exceptions', and\n\
 
   /* Commands to show information about the task's ports.  */
   add_info ("send-rights", info_send_rights_cmd,
-           _("Show information about the task's send rights"));
+           _("Show information about the task's send rights."));
   add_info ("receive-rights", info_recv_rights_cmd,
-           _("Show information about the task's receive rights"));
+           _("Show information about the task's receive rights."));
   add_info ("port-rights", info_port_rights_cmd,
-           _("Show information about the task's port rights"));
+           _("Show information about the task's port rights."));
   add_info ("port-sets", info_port_sets_cmd,
-           _("Show information about the task's port sets"));
+           _("Show information about the task's port sets."));
   add_info ("dead-names", info_dead_names_cmd,
-           _("Show information about the task's dead names"));
+           _("Show information about the task's dead names."));
   add_info_alias ("ports", "port-rights", 1);
   add_info_alias ("port", "port-rights", 1);
   add_info_alias ("psets", "port-sets", 1);
This page took 0.02721 seconds and 4 git commands to generate.