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

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

gdb/ChangeLog
gdb/windows-nat.c

index 32e7ce7..a8064dc 100644 (file)
@@ -1,5 +1,10 @@
 2014-05-21  Pedro Alves  <palves@redhat.com>
 
+       * windows-nat.c (windows_target): Don't override to_shortname,
+       to_longname or to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
        * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
        to_doc.
 
index bad7408..d026a36 100644 (file)
@@ -2556,9 +2556,6 @@ windows_target (void)
 {
   struct target_ops *t = inf_child_target ();
 
-  t->to_shortname = "child";
-  t->to_longname = "Win32 child process";
-  t->to_doc = "Win32 child process (started by the \"run\" command).";
   t->to_close = windows_close;
   t->to_attach = windows_attach;
   t->to_attach_no_wait = 1;