Rename "target GNU" -> "target native"
authorPedro Alves <palves@redhat.com>
Wed, 21 May 2014 17:30:44 +0000 (18:30 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 21 May 2014 17:30:44 +0000 (18:30 +0100)
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.

gdb/ChangeLog
gdb/gnu-nat.c

index 1e114e4d9df6bd1c54e9a8d8d6eebb637628517f..32e7ce7be4b312273c3f3e3649357158b46fa3d0 100644 (file)
@@ -1,3 +1,8 @@
+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
index aaccb5aa791a1e38548a37eb0f1370028633de8f..82358112ee848459cac2490243ed5c662ed71cc8 100644 (file)
@@ -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;
This page took 0.035659 seconds and 4 git commands to generate.