public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: pmuldoon@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk Date: Thu, 03 Jan 2008 16:55:00 -0000 [thread overview] Message-ID: <20080103165534.5455.qmail@sourceware.org> (raw) The branch, master has been updated via 716f3e0e9bc0a9c6225e630b5848f7e01336da31 (commit) via eda9aa443a4ff3ef9fe890978d2213295ffaf943 (commit) from 168572cc6fd3eb7cefd56f110bdafe8348c253e2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 716f3e0e9bc0a9c6225e630b5848f7e01336da31 Merge: eda9aa443a4ff3ef9fe890978d2213295ffaf943 168572cc6fd3eb7cefd56f110bdafe8348c253e2 Author: Phil Muldoon <pmuldoon@redhat.com> Date: Thu Jan 3 16:55:21 2008 +0000 Merge branch 'master' of ssh://sources.redhat.com/git/frysk commit eda9aa443a4ff3ef9fe890978d2213295ffaf943 Author: Phil Muldoon <pmuldoon@redhat.com> Date: Thu Jan 3 16:54:36 2008 +0000 Tweak BankRegisters in preperation for corefile FP usage 2008-01-03 Phil Muldoon <pmuldoon@redhat.com> * LinuxIA32RegisterBanks.java (FPREGS): Made X87Register.DP offset 14 instead of 18. * BankRegister.java (access): Add write condition logic. Made public. (getRegister): Made public. * RegisterMap.java(entryIterator): Made public. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/bank/BankRegister.java | 13 ++++++++----- frysk-core/frysk/bank/ChangeLog | 9 +++++++++ frysk-core/frysk/bank/LinuxIA32RegisterBanks.java | 2 +- frysk-core/frysk/bank/RegisterMap.java | 2 +- 4 files changed, 19 insertions(+), 7 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/bank/BankRegister.java b/frysk-core/frysk/bank/BankRegister.java index 471fc82..8dd87db 100644 --- a/frysk-core/frysk/bank/BankRegister.java +++ b/frysk-core/frysk/bank/BankRegister.java @@ -58,7 +58,7 @@ public class BankRegister { this.register = register; } - Register getRegister() { + public Register getRegister() { return register; } @@ -92,11 +92,14 @@ public class BankRegister { return offset; } - void access(ByteBuffer byteBuffer, long offset, long size, + public void access(ByteBuffer byteBuffer, long offset, long size, byte[] bytes, int start, boolean write) { - if (write) - // XXX: Should be directly supported by ByteBuffer. - throw new RuntimeException("write not implemented"); + if (write){ + long position = byteBuffer.position(); + byteBuffer.position(getOffset() + offset); + byteBuffer.put(bytes, (int)start, getLength()); + byteBuffer.position(position); + } else byteBuffer.get(this.offset + offset, bytes, start, (int) size); } diff --git a/frysk-core/frysk/bank/ChangeLog b/frysk-core/frysk/bank/ChangeLog index f3e43c9..d23ff81 100644 --- a/frysk-core/frysk/bank/ChangeLog +++ b/frysk-core/frysk/bank/ChangeLog @@ -1,3 +1,12 @@ +2008-01-03 Phil Muldoon <pmuldoon@redhat.com> + + * LinuxIA32RegisterBanks.java (FPREGS): Made X87Register.DP offset + 14 instead of 18. + * BankRegister.java (access): Add write condition logic. + Made public. + (getRegister): Made public. + * RegisterMap.java(entryIterator): Made public. + 2007-12-21 Andrew Cagney <cagney@redhat.com> * BankRegister.java (BankRegister(int,int,String)): Delete. diff --git a/frysk-core/frysk/bank/LinuxIA32RegisterBanks.java b/frysk-core/frysk/bank/LinuxIA32RegisterBanks.java index b6ff6bb..7481cb5 100644 --- a/frysk-core/frysk/bank/LinuxIA32RegisterBanks.java +++ b/frysk-core/frysk/bank/LinuxIA32RegisterBanks.java @@ -73,7 +73,7 @@ public class LinuxIA32RegisterBanks { .add(new BankRegister(0x0c, 4, X87Registers.EIP)) .add(new BankRegister(0x10, 2, X87Registers.CS)) .add(new BankRegister(0x12, 2, X87Registers.FOP)) - .add(new BankRegister(0x18, 4, X87Registers.DP)) + .add(new BankRegister(0x14, 4, X87Registers.DP)) .add(new BankRegister(0x18, 2, X87Registers.DS)) .add(new BankRegister(0x1c, 10, X87Registers.ST0)) .add(new BankRegister(0x26, 10, X87Registers.ST1)) diff --git a/frysk-core/frysk/bank/RegisterMap.java b/frysk-core/frysk/bank/RegisterMap.java index 0e5dbe1..6246903 100644 --- a/frysk-core/frysk/bank/RegisterMap.java +++ b/frysk-core/frysk/bank/RegisterMap.java @@ -55,7 +55,7 @@ class RegisterMap { /** * Return an iterator over all BankRegisters in the map. */ - Iterator entryIterator() { + public Iterator entryIterator() { // XXX: Uses nameToEntry as that contains more registers than // registerToEntry. return nameToEntry.values().iterator(); hooks/post-receive -- frysk system monitor/debugger
next reply other threads:[~2008-01-03 16:55 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-03 16:55 pmuldoon [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-06-05 15:33 rmoseley 2008-05-12 16:30 rmoseley 2008-05-12 16:07 pmuldoon 2008-05-09 17:29 rmoseley 2008-04-02 22:41 pmuldoon 2008-04-01 12:28 pmuldoon 2008-03-20 20:20 rmoseley 2008-03-18 16:22 pmuldoon 2008-02-26 15:32 pmuldoon 2008-01-24 19:23 rmoseley 2008-01-23 21:10 rmoseley 2007-12-13 20:18 rmoseley 2007-12-04 17:45 jflavio 2007-11-30 4:24 jflavio 2007-11-28 21:40 jflavio 2007-11-28 16:20 jflavio 2007-11-28 13:08 pmuldoon 2007-11-28 12:04 mark 2007-11-20 22:47 scox 2007-11-19 17:58 scox 2007-11-17 8:35 rmoseley 2007-11-16 15:59 scox 2007-11-16 14:59 pmuldoon 2007-11-14 2:38 scox 2007-11-14 2:09 jflavio 2007-11-13 0:41 scox 2007-11-10 14:47 jflavio 2007-11-10 0:34 scox 2007-11-09 14:59 jflavio
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=20080103165534.5455.qmail@sourceware.org \ --to=pmuldoon@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: linkBe 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).