public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM] master: Change <<-format -t>> to <<-format -b>>; match HPD spec.
Date: Mon, 10 Dec 2007 18:43:00 -0000 [thread overview]
Message-ID: <20071210184349.13298.qmail@sourceware.org> (raw)
The branch, master has been updated
via 30d73c0d378db568f8f3c3f0a8f0ec8c9d2650f1 (commit)
from 134e5548df6e16f6a97644745ff58836cf40f23b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 30d73c0d378db568f8f3c3f0a8f0ec8c9d2650f1
Author: Andrew Cagney <cagney@redhat.com>
Date: Mon Dec 10 13:43:13 2007 -0500
Change <<-format -t>> to <<-format -b>>; match HPD spec.
frysk-core/frysk/hpd/ChangeLog
2007-12-10 Andrew Cagney <cagney@redhat.com>
* TestEvalCommands.java (testFormatInteger_b()): Replace
testFormatInteger_t().
* CommandOption.java (FormatOption.parse(String,Object)): Change
binary option to "b".
-----------------------------------------------------------------------
Summary of changes:
frysk-core/frysk/hpd/ChangeLog | 7 +++++++
frysk-core/frysk/hpd/CommandOption.java | 2 +-
frysk-core/frysk/hpd/TestEvalCommands.java | 4 ++--
3 files changed, 10 insertions(+), 3 deletions(-)
First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 8513ec2..137b5ea 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-10 Andrew Cagney <cagney@redhat.com>
+
+ * TestEvalCommands.java (testFormatInteger_b()): Replace
+ testFormatInteger_t().
+ * CommandOption.java (FormatOption.parse(String,Object)): Change
+ binary option to "b".
+
2007-12-07 Phil Muldoon <pmuldoon@redhat.com>
* CoreCommand.java: Tweak help text.
diff --git a/frysk-core/frysk/hpd/CommandOption.java b/frysk-core/frysk/hpd/CommandOption.java
index 5f795a1..bddfe7e 100644
--- a/frysk-core/frysk/hpd/CommandOption.java
+++ b/frysk-core/frysk/hpd/CommandOption.java
@@ -99,7 +99,7 @@ abstract class CommandOption {
format = Format.OCTAL;
else if (argument.compareTo("x") == 0)
format = Format.HEXADECIMAL;
- else if (argument.compareTo("t") == 0)
+ else if (argument.compareTo("b") == 0)
format = Format.BINARY;
else
throw new InvalidCommandException("unrecognized format: "
diff --git a/frysk-core/frysk/hpd/TestEvalCommands.java b/frysk-core/frysk/hpd/TestEvalCommands.java
index 490e9eb..856eec3 100644
--- a/frysk-core/frysk/hpd/TestEvalCommands.java
+++ b/frysk-core/frysk/hpd/TestEvalCommands.java
@@ -70,9 +70,9 @@ public class TestEvalCommands extends TestLib {
e = new HpdTestbed();
e.sendCommandExpectPrompt("print 17 -format d", "\r\n17\r\n");
}
- public void testFormatInteger_t() {
+ public void testFormatInteger_b() {
e = new HpdTestbed();
- e.sendCommandExpectPrompt("print 17 -format t", "\r\n10001\r\n");
+ e.sendCommandExpectPrompt("print 17 -format b", "\r\n10001\r\n");
}
public void testFormatInteger_o() {
e = new HpdTestbed();
hooks/post-receive
--
frysk system monitor/debugger
reply other threads:[~2007-12-10 18:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071210184349.13298.qmail@sourceware.org \
--to=cagney@sourceware.org \
--cc=frysk-cvs@sourceware.org \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).