This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/8] Rename "target GNU" -> "target native"
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Mar 2014 15:22:59 +0000
- Subject: [PATCH 3/8] Rename "target GNU" -> "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>
* gnu-nat.c (gnu): Don't override to_shortname, to_longname or
to_doc.
---
gdb/gnu-nat.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index aaccb5a..8235811 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -2665,10 +2665,6 @@ gnu_target (void)
{
struct target_ops *t = inf_child_target ();
- t->to_shortname = "GNU";
- t->to_longname = "GNU Hurd process";
- t->to_doc = "GNU Hurd process";
-
t->to_attach = gnu_attach;
t->to_attach_no_wait = 1;
t->to_detach = gnu_detach;
--
1.7.11.7