From 03c136c31c777605cb4f13cfc1286d21b4ffa3b0 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 21 May 2014 18:30:45 +0100 Subject: [PATCH] Windows: Rename "target child" -> "target native" 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 * windows-nat.c (windows_target): Don't override to_shortname, to_longname or to_doc. --- gdb/ChangeLog | 5 +++++ gdb/windows-nat.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32e7ce7..a8064dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-05-21 Pedro Alves + * windows-nat.c (windows_target): Don't override to_shortname, + to_longname or to_doc. + +2014-05-21 Pedro Alves + * gnu-nat.c (gnu): Don't override to_shortname, to_longname or to_doc. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index bad7408..d026a36 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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; -- 2.7.4