This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 2/8] Rename "target darwin-child" -> "target native"
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Mar 2014 15:22:58 +0000
- Subject: [PATCH 2/8] Rename "target darwin-child" -> "target native"
- Authentication-results: sourceware.org; auth=none
- References: <1395069784-7406-1-git-send-email-palves at redhat dot com>
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-03-17 Pedro Alves <palves@redhat.com>
* darwin-nat.c (_initialize_darwin_inferior): Don't override
to_shortname, to_longname or to_doc.
---
gdb/darwin-nat.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 88cecf3..8650f03 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -2098,10 +2098,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;
--
1.7.11.7