Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 15:57:17 +0400
From:      Andrew Belashov <bel@orel.ru>
To:        freebsd-threads@freebsd.org
Subject:   Need help for debugging libkse
Message-ID:  <414AD11D.5000403@orel.ru>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, All!

I'm debugging libkse library for FreeBSD/sparc64.

Please, explain for me this ktrace dump:

========================================================
~  7877 ss       CALL  kse_create(0x26a000,0)
~  7877 ss       RET   kse_create 0
~  7877 ss       CALL  write(0x1,0x7fdffffdc68,0x1)
~  7877 ss       RET   write 2531328/0x26a000
~                            ^^^^^^^^^^^^^^^^
~  7877 ss       CALL  kse_switchin(0x270440,0x1)
~  7877 ss       RET   kse_switchin JUSTRETURN
~  7877 ss       CALL  write(0x1,0x7fdffffdc68,0x1)
~  7877 ss       RET   write 1
~  7877 ss       CALL  write(0x1,0x7fdffffdc68,0x1)
~  7877 ss       RET   write 1
========================================================

This is normal?
writing one byte, but write(2) return 0x26a000.

- --
With best regards,
Andrew Belashov.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBStEawF8YpH80o/IRAgTeAKCFHQF72h//+cOtm63yBwpYJlHBNgCcD1tt
8lRNUo+NL3rroY7LS+xxGw4=
=sa74
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414AD11D.5000403>