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

Pedro Alves palves@redhat.com
Mon Mar 17 15:23:00 GMT 2014


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 --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;
-- 
1.7.11.7



More information about the Gdb-patches mailing list