diff mbox

[4/8] Windows: Rename "target child" -> "target native"

Message ID 1395069784-7406-5-git-send-email-palves@redhat.com
State Committed
Headers show

Commit Message

Pedro Alves March 17, 2014, 3:23 p.m. UTC
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>

	* windows-nat.c (windows_target): Don't override to_shortname,
	to_longname or to_doc.
---
 gdb/windows-nat.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index fe40c4d..3054d12 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2539,9 +2539,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;