Re: FreeBSD and Debugging?

2004-04-10 Thread Craig Rodrigues
On Fri, Apr 09, 2004 at 10:17:08PM -0700, Lev Walkin wrote: Valgrind is available for FreeBSD. http://eirikn.kerneled.com/valgrind/ Wow!! This is excellent. Is anyone planning to add this to the ports collection? -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED]

Re: passing messages to routing sockets

2004-04-10 Thread Bruce M Simpson
On Fri, Apr 09, 2004 at 08:02:30PM +0300, Vlad GALU wrote: I understand that in order to add a new route to the routing table, one must fill a buffer with an ifa_msghdr header, followed by three socked adddress structures, representing the destination net/ip, the netmask and the gateway.

Re: FreeBSD and Debugging?

2004-04-10 Thread Daan Vreeken [PA4DAN]
On Saturday 10 April 2004 07:23, Brandon Erhart wrote: Thank you. You are my new god. I had checked out a version of valgrind for BSD (one of the patches) and it failed to compile. Everything seems to be working, except I get this warning at the beginning of the program: Warning: ignoring

Re: FreeBSD and Debugging?

2004-04-10 Thread Doug Rabson
On Saturday 10 April 2004 06:17, Lev Walkin wrote: Brandon Erhart wrote: For Linux, I've seen valgrind (probably one of the best) as well as several others. In the commercial arena, Rational's PURIFY and Parasoft's INSURE++ work on every OS *but* BSD. Any particular reason for this?

Re: MFCs needed in src/sys/sys/cdefs.h

2004-04-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2004-04-10 01:01:26 -0400: At 10:50 PM +0200 4/9/04, Roman Neuhauser wrote: This is an extended version of my previous email to hackers@ which hasn't attracted any attention. This time I'm mailing the authors too. I must have missed the earlier message... Perhaps

Re: FreeBSD and Debugging?

2004-04-10 Thread Arjan van Leeuwen
On Saturday 10 April 2004 09:13, Craig Rodrigues wrote: On Fri, Apr 09, 2004 at 10:17:08PM -0700, Lev Walkin wrote: Valgrind is available for FreeBSD. http://eirikn.kerneled.com/valgrind/ Wow!! This is excellent. Is anyone planning to add this to the ports collection? It's still in

Re: FreeBSD and Debugging?

2004-04-10 Thread Ted Unangst
On Fri, 9 Apr 2004, Brandon Erhart wrote: Are there any debuggers out there for BSD that will detect the heap/stack corruption!? [standard disclaimer and note about self-promotion goes here :)] valgrind and electric fence are very good suggestions. my own personal pet project was adding

Weird behavior with either reading or write()ing !?

2004-04-10 Thread Brandon Erhart
Hello, This is a rather odd bug/weird behavior. Confidence is high that it is not logic in my code this time. Please read the following carefully! In a web-crawling program I am writing, I deal with several thousand fds at a time. I am using FreeBSD's KQueue to keep track of them all so that I