From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA20534; Thu, 12 Sep 2002 19:31:26 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA22305 for ; Thu, 12 Sep 2002 19:31:25 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g8CHVO913859 for ; Thu, 12 Sep 2002 19:31:25 +0200 (MET DST) Received: from user-0ccegbj.cable.mindspring.com ([24.199.65.115] helo=dragonfly.localdomain) by gull.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17pXoI-0000Bi-00; Thu, 12 Sep 2002 10:31:22 -0700 Received: from 209-9-234-140.sdsl.cais.net ([209.9.234.140]) (SquirrelMail authenticated user yminsky) by dragonfly.localdomain with HTTP; Thu, 12 Sep 2002 13:31:22 -0400 (EDT) Message-ID: <21933.209.9.234.140.1031851882.squirrel@dragonfly.localdomain> Date: Thu, 12 Sep 2002 13:31:22 -0400 (EDT) Subject: Re: [Caml-list] Debugging mixed ocaml/C code From: "Yaron M. Minsky" To: In-Reply-To: <15744.40944.948274.528474@monkey.x.aarg.net> References: <3D7FF8BA.6080508@cs.cornell.edu> <15744.40944.948274.528474@monkey.x.aarg.net> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: "Caml List " X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk The wrappers are part of a larger project which will itself be released publicly in the next few days. In any case, I'll post a link to a copy of just the Berkeley DB wrapper if I remember this evening. I actually fixed the bug in question, and the wrapper has decent support for the DB environments, databases, cursors and transactions. It's currently compatible with Berkeley DB 3.3.11 and 3.2.9, but it could be updated for the 4.x versions without too much work. I'd be happy to have another pair of eyes on the code. I find tracking down bugs in C wrapper code much harder per loen of code than finding bugs in Caml code proper. y > On 11 Sep 02, Yaron M. Minsky wrote: >> Does anyone have any suggestions for debugging mixed ocaml/C code? I >> have some code that uses a wrapper for the Berkeley DB. > > Yaron, > > I unfortunately don't have any debugging hints for you, but I'm > interested in hearing more about your BerkeleyDB module. Do you need > any help with it? Will it be available to the public when you're > done? I have some projects coming up that will need BerkeleyDB > access, and I've been putting them off because I didn't feel like > writing an OCaml interface, but I would be more than happy to help you > out! > > -- > ;; Erik Arneson JD, Ashland Lodge No. 23 ;; > ;; GPG Key ID: 2048R/8B4CBC9C RAM, Siskiyou Chapter No. 21 ;; > ;; ;; -- |--------/ Yaron M. Minsky \--------| |--------\ http://www.cs.cornell.edu/home/yminsky/ /--------| Open PGP --- KeyID B1FFD916 (new key as of Dec 4th) Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners