diff options
author | Pedro Alves <palves@redhat.com> | 2014-05-21 18:30:45 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-05-21 18:30:45 +0100 |
commit | 03c136c31c777605cb4f13cfc1286d21b4ffa3b0 (patch) | |
tree | 3a8ddf86945d982708146c9564d3c15d5da3285b /gdb | |
parent | a635d0f3d5a1e9a53cb9a7a61fc21b819f0db0d5 (diff) | |
download | gdb-03c136c31c777605cb4f13cfc1286d21b4ffa3b0.zip gdb-03c136c31c777605cb4f13cfc1286d21b4ffa3b0.tar.gz gdb-03c136c31c777605cb4f13cfc1286d21b4ffa3b0.tar.bz2 |
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 <palves@redhat.com>
* windows-nat.c (windows_target): Don't override to_shortname,
to_longname or to_doc.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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. 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; |