aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-03-12 12:40:40 +0000
committerPedro Alves <palves@redhat.com>2014-03-13 12:30:38 +0000
commita69900ae4ef5a53f7709c15a4aead39417196dce (patch)
tree2bfd7272a66653e379f1ec657daf37df8872302c
parent5db9f0bdb5e676187a13300b26383a01aa0f89dd (diff)
downloadgdb-a69900ae4ef5a53f7709c15a4aead39417196dce.zip
gdb-a69900ae4ef5a53f7709c15a4aead39417196dce.tar.gz
gdb-a69900ae4ef5a53f7709c15a4aead39417196dce.tar.bz2
Rename Solaris's target to "target child" like most other ports.
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".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/procfs.c4
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/default.exp3
4 files changed, 9 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8ce0f98..b3e1296 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
Unix in user visible strings.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 8204747..f0d65d2 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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;
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7e7cb67..0f16ab0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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"
tests to not expect "Unix".
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index b63955e..a39ffcf 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -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 {