public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA] target record_core -> target record-core?
@ 2010-04-19  6:47 Doug Evans
  2010-04-19 18:01 ` Michael Snyder
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Doug Evans @ 2010-04-19  6:47 UTC (permalink / raw)
  To: msnyder, gdb-patches

I realize this is a nit but is it possible to rename
target record_core to target record-core?
Or is it too late ...

All other targets (that I know of) use dashes in shortname, and having
to remember which use dashes and which use underscores is, umm, blechy.
[Unless we have and enforce a convention, it can only get worse,
so might as well establish one now - if it doesn't exist already.]

2010-04-18  Doug Evans  <dje@sebabeach.org>

	* record.c (init_record_core_ops): Rename record_core to record_core.

Index: record.c
===================================================================
RCS file: /cvs/src/src/gdb/record.c,v
retrieving revision 1.44
diff -u -p -r1.44 record.c
--- record.c	8 Mar 2010 13:34:38 -0000	1.44
+++ record.c	19 Apr 2010 06:44:51 -0000
@@ -1863,7 +1863,7 @@ record_core_has_execution (struct target
 static void
 init_record_core_ops (void)
 {
-  record_core_ops.to_shortname = "record_core";
+  record_core_ops.to_shortname = "record-core";
   record_core_ops.to_longname = "Process record and replay target";
   record_core_ops.to_doc =
     "Log program while executing and replay execution from log.";

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-26 18:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-19  6:47 [RFA] target record_core -> target record-core? Doug Evans
2010-04-19 18:01 ` Michael Snyder
2010-04-20  9:56 ` Pedro Alves
2010-04-20 12:24   ` Hui Zhu
2010-04-20 18:06 ` Tom Tromey
2010-04-20 18:11   ` Joel Brobecker
2010-04-23 20:40     ` Patch: completion -vs- deprecated commands (Was: [RFA] target record_core -> target record-core?) Tom Tromey
2010-04-26 18:37       ` Patch: completion -vs- deprecated commands Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).