Re: Confused by segfault with legitimate call to strerror(3) on amd64 / sysctl(3) setting `odd' errno's

2009-01-17 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > #include > #include > #include > #include > #include You should always put your sys includes before your non-sys includes, and in any case, should always come first. > printf("Errno: %d\n", errno); > errx(errno, "Error: %s", strerror

admin jop

2009-01-17 Thread lazaax -
hi hackers, is someone that can tell me how mach money can a company pay me each mount for admin a bsd server installed in the company, i will adminthe server remotly, is not a stable jop please can tell me on us dolar -- Leon Chavez Colima, Mexico "lazaax" __

Re: Confused by segfault with legitimate call to strerror(3) on amd64 / sysctl(3) setting `odd' errno's

2009-01-17 Thread Mikko Työläjärvi
Hi Garrett, On Fri, 16 Jan 2009, Garrett Cooper wrote: On Fri, Jan 16, 2009 at 12:58 AM, Garrett Cooper wrote: On Fri, Jan 16, 2009 at 12:57 AM, Christoph Mallon wrote: Garrett Cooper schrieb: Good point. I modified the source to do that. Thanks, -Garrett You should reply to all so the

gcc 4.3.2 libgcc_s.so exception handling broken?

2009-01-17 Thread xorquewasp
Hello. I have some C code that's compiled with -fexceptions using the lang/gnat-gcc43 port. I'm on 6.4-RELEASE-p2. A function c_function in the C code takes a callback as an argument. I'm passing this function the address of a function ext_function defined in another language (Ada, to be precise

Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Kamlesh Patel
Hi All, I am trying remote kernel debugging in FreeBSD using serial communication. I got the following link. http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 My problem is my developing and target system does not have DS25 female port. Anyone have any idea about Remote

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Bakul Shah
On Sat, 17 Jan 2009 17:57:10 PST Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial communication. I > got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 > > My problem is my developing and target sy

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread RW
On Sat, 17 Jan 2009 17:57:10 -0800 (PST) Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 > > My problem is my developing and ta

Re: gcc 4.3.2 libgcc_s.so exception handling broken?

2009-01-17 Thread Christoph Mallon
xorquew...@googlemail.com schrieb: Hello. I have some C code that's compiled with -fexceptions using the lang/gnat-gcc43 port. I'm on 6.4-RELEASE-p2. A function c_function in the C code takes a callback as an argument. I'm passing this function the address of a function ext_function defined in

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Greg 'groggy' Lehey
On Saturday, 17 January 2009 at 17:57:10 -0800, Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 This article is inaccurate in a num

Re: gcc 4.3.2 libgcc_s.so exception handling broken?

2009-01-17 Thread Nate Eldredge
On Sat, 17 Jan 2009, xorquew...@googlemail.com wrote: Hello. I have some C code that's compiled with -fexceptions using the lang/gnat-gcc43 port. I'm on 6.4-RELEASE-p2. A function c_function in the C code takes a callback as an argument. I'm passing this function the address of a function ext

Re: gcc 4.3.2 libgcc_s.so exception handling broken?

2009-01-17 Thread xorquewasp
On 2009-01-18 07:39:51, Christoph Mallon wrote: > > Are more C functions involved? E.g. is the function pointer passed to > qsort(), which lives in libc, which is not compiled with -fexceptions. > Look at the stack trace when the exception occurs. In gdb you can use the > command "catch throw" (sic

Re: gcc 4.3.2 libgcc_s.so exception handling broken?

2009-01-17 Thread xorquewasp
On 2009-01-17 23:07:29, Nate Eldredge wrote: > I tried a simple example of this in C++ and it works as expected. (I am on > 7.0-RELEASE/amd64.) So it isn't completely busted, at least. > > Can you post an example that exhibits the problem? Ideally, something > complete that can be compiled and i