aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-05-21 18:30:44 +0100
committerPedro Alves <palves@redhat.com>2014-05-21 18:30:44 +0100
commita635d0f3d5a1e9a53cb9a7a61fc21b819f0db0d5 (patch)
treed903fc11c1887a58766e0a1f4307ba65c02ade5f /gdb
parent4f9b5133a07078ee9e1b4e9348036fa3913aa4b7 (diff)
downloadgdb-a635d0f3d5a1e9a53cb9a7a61fc21b819f0db0d5.zip
gdb-a635d0f3d5a1e9a53cb9a7a61fc21b819f0db0d5.tar.gz
gdb-a635d0f3d5a1e9a53cb9a7a61fc21b819f0db0d5.tar.bz2
Rename "target GNU" -> "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> * gnu-nat.c (gnu): Don't override to_shortname, to_longname or to_doc.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gnu-nat.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1e114e4..32e7ce7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-05-21 Pedro Alves <palves@redhat.com>
+ * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
+ to_doc.
+
+2014-05-21 Pedro Alves <palves@redhat.com>
+
* darwin-nat.c (_initialize_darwin_inferior): Don't override
to_shortname, to_longname or to_doc.
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;