public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* putting Ptrace back to 64-bit
@ 2007-08-02  2:58 Andrew Cagney
  2007-08-02  8:40 ` Mark Wielaard
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2007-08-02  2:58 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: frysk

Mark,

I don't understand the rationale behind this change:

2007-07-30  Mark Wielaard  <mwielaard@redhat.com>

        * FileDescriptor.java (read): Make start and length ints.
        (write): Likewise.
        * Ptrace.java (peek): Make length and offset ints.
        * StatelessFile.java (pread): Make start and length ints.
        (pwrite): Likewise.
        * TestFileDescriptor.java (IO.op): Likewise.
        (assertArrayIndexOutOfBounds): Likewise.
        (testReadOutOfBounds): Likewise.
        (testWriteOutOfBounds): Likewise.
        * TestPtrace.java (verifyOutOfBounds): Make length and offset ints.
        * TestStatelessFile.java: Make start and length ints.
        * cni/Errno.cxx (verifyBounds): Make start and length ints.
        * cni/Errno.hxx: Likewise.
        * cni/FileDescriptor.cxx (read): Make start and length jints.
        (write): Likewise.
        * cni/Ptrace.cxx (peek): Make length and offset jints.
        * cni/StatelessFile.cxx (pread): Make start and length jints.
        (pwrite): Likewise.

It forces calling code to contend with Java's bone-head "int" is 32-bits 
and be damed.  Having all of these "long", which I only just went 
through and cleaned up, avoided all that.

The only thing missing was for inua to be matched to this style.

Andrew

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

end of thread, other threads:[~2007-08-02 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-02  2:58 putting Ptrace back to 64-bit Andrew Cagney
2007-08-02  8:40 ` Mark Wielaard
2007-08-02 12:37   ` Andrew Cagney
2007-08-02 14:00     ` Mark Wielaard

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).