Rename Solaris's target to "target child" like most other ports.
authorPedro Alves <palves@redhat.com>
Wed, 12 Mar 2014 12:40:40 +0000 (12:40 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 13 Mar 2014 12:30:38 +0000 (12:30 +0000)
Note that "target procfs" is used by QNX, but the test must be failing
there, as nto-procfs.c overrides to_open with a method that doesn't
throw the error being tested.  So I'm just removing the test
completely.

gdb/
2014-03-13  Pedro Alves  <palves@redhat.com>

* procfs.c (procfs_target): Don't override to_shortname,
to_longname or to_doc.

gdb/testsuite/
2014-03-13  Pedro Alves  <palves@redhat.com>

* gdb.base/default.exp: Don't test "target procfs".

gdb/ChangeLog
gdb/procfs.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/default.exp

index 8ce0f981b1cb136a13a3232e4260868689b8aeeb..b3e129631aa85c27d53ecad401a704116bc3e09b 100644 (file)
@@ -1,3 +1,8 @@
+2014-03-13  Pedro Alves  <palves@redhat.com>
+
+       * procfs.c (procfs_target): Don't override to_shortname,
+       to_longname or to_doc.
+
 2014-03-13  Pedro Alves  <palves@redhat.com>
 
        * inf-child.c (inf_child_open, inf_child_target): Don't mention
index 8204747784c95c7be56de4ad041c58b0561453b3..f0d65d2d74de92dc12bdb67d3846ff410665647b 100644 (file)
@@ -184,10 +184,6 @@ procfs_target (void)
 {
   struct target_ops *t = inf_child_target ();
 
-  t->to_shortname = "procfs";
-  t->to_longname = "Unix /proc child process";
-  t->to_doc =
-    "Unix /proc child process (started by the \"run\" command).";
   t->to_create_inferior = procfs_create_inferior;
   t->to_kill = procfs_kill_inferior;
   t->to_mourn_inferior = procfs_mourn_inferior;
index 7e7cb67d7b4ec4830a8a0ed554150859c57dfdbd..0f16ab0942aea12d8f35a14f98876caece48caa7 100644 (file)
@@ -1,3 +1,7 @@
+2014-03-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/default.exp: Don't test "target procfs".
+
 2014-03-13  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/default.exp: Update "target child" and "target procfs"
index b63955ed2a16e27db02f61b5321413aae94b168c..a39ffcf900e061a92c91aadeed0dd90de776630a 100644 (file)
@@ -749,9 +749,6 @@ gdb_test "symbol-file" ".*" "symbol-file"
 #test target child
 gdb_test "target child" "Use the \"run\" command to start a child process.*|Undefined target command: \"child\".  *Try \"help target\".*" "target child"
 
-#test target procfs
-gdb_test "target procfs" "Use the \"run\" command to start a child process.*|Undefined target command: \"procfs\".  *Try \"help target\".*" "target procfs"
-
 #test target core
 send_gdb "target core\n"
 gdb_expect {
This page took 0.043097 seconds and 4 git commands to generate.