diff mbox

[1/8] Rename "target djgpp" -> "target native"

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

Commit Message

Pedro Alves March 17, 2014, 3:22 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>

	* go32-nat.c (go32_target): Don't override to_shortname,
	to_longname or to_doc.
---
 gdb/go32-nat.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Eli Zaretskii March 17, 2014, 4:44 p.m. UTC | #1
> From: Pedro Alves <palves@redhat.com>
> Date: Mon, 17 Mar 2014 15:22:57 +0000
> 
> 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>
> 
> 	* go32-nat.c (go32_target): Don't override to_shortname,
> 	to_longname or to_doc.

OK.
diff mbox

Patch

diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 08d803c..ef5278a 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -960,10 +960,6 @@  go32_target (void)
 {
   struct target_ops *t = inf_child_target ();
 
-  t->to_shortname = "djgpp";
-  t->to_longname = "djgpp target process";
-  t->to_doc
-    = "Program loaded by djgpp, when gdb is used as an external debugger";
   t->to_open = go32_open;
   t->to_attach = go32_attach;
   t->to_resume = go32_resume;