aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-05-21 18:30:43 +0100
committerPedro Alves <palves@redhat.com>2014-05-21 18:30:43 +0100
commit4f9b5133a07078ee9e1b4e9348036fa3913aa4b7 (patch)
tree9d8ab469476b6acd8204eae3a0d028a09d967019 /gdb
parentbc85afdef59fc5f12765c829bbec7b6dedec62e6 (diff)
downloadfsf-binutils-gdb-4f9b5133a07078ee9e1b4e9348036fa3913aa4b7.zip
fsf-binutils-gdb-4f9b5133a07078ee9e1b4e9348036fa3913aa4b7.tar.gz
fsf-binutils-gdb-4f9b5133a07078ee9e1b4e9348036fa3913aa4b7.tar.bz2
Rename "target darwin-child" -> "target native"
To be like other native targets. Leave to_shortname, to_longname, to_doc as inf-child.c sets them: t->to_shortname = "native"; t->to_longname = "Native process"; t->to_doc = "Native process (started by the \"run\" command)."; gdb/ 2014-05-21 Pedro Alves <palves@redhat.com> * darwin-nat.c (_initialize_darwin_inferior): Don't override to_shortname, to_longname or to_doc.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/darwin-nat.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3a94db8..1e114e4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-05-21 Pedro Alves <palves@redhat.com>
+ * darwin-nat.c (_initialize_darwin_inferior): Don't override
+ to_shortname, to_longname or to_doc.
+
+2014-05-21 Pedro Alves <palves@redhat.com>
+
* go32-nat.c (go32_target): Don't override to_shortname,
to_longname or to_doc.
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 0ffa69a..478429c 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -2148,10 +2148,6 @@ _initialize_darwin_inferior (void)
darwin_ops = inf_child_target ();
- darwin_ops->to_shortname = "darwin-child";
- darwin_ops->to_longname = _("Darwin child process");
- darwin_ops->to_doc =
- _("Darwin child process (started by the \"run\" command).");
darwin_ops->to_create_inferior = darwin_create_inferior;
darwin_ops->to_attach = darwin_attach;
darwin_ops->to_attach_no_wait = 0;