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

* go32-nat.c (go32_target): Don't override to_shortname,
to_longname or to_doc.

gdb/ChangeLog
gdb/go32-nat.c

index 3775095..3a94db8 100644 (file)
@@ -1,5 +1,10 @@
 2014-05-21  Pedro Alves  <palves@redhat.com>
 
+       * go32-nat.c (go32_target): Don't override to_shortname,
+       to_longname or to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
        * inf-child.c (inf_child_open): Remove mention of "child".
        (inf_child_target): Rename target to "native" instead of "child".
 
index 08d803c..ef5278a 100644 (file)
@@ -960,10 +960,6 @@ go32_target (void)
 {
   struct target_ops *t = inf_child_target ();
 
-  t->to_shortname = "djgpp";
-  t->to_longname = "djgpp target process";
-  t->to_doc
-    = "Program loaded by djgpp, when gdb is used as an external debugger";
   t->to_open = go32_open;
   t->to_attach = go32_attach;
   t->to_resume = go32_resume;