Re: OT: SunOS BSD (was: Re: core file debug.)

2004-12-17 Thread Yedidyah Bar-David
On Fri, Dec 17, 2004 at 02:35:32AM +0200, guy keren wrote: > > On Wed, 15 Dec 2004, Yedidyah Bar-David wrote: > > > On Wed, Dec 15, 2004 at 01:04:29AM +0200, guy keren wrote: > > > A. there is no "BSD SunOS". there is "BSD", and there is "SunOS". i assume > > > you're refering to SunOS > > > > No

Re: OT: SunOS BSD (was: Re: core file debug.)

2004-12-16 Thread guy keren
On Wed, 15 Dec 2004, Yedidyah Bar-David wrote: > On Wed, Dec 15, 2004 at 01:04:29AM +0200, guy keren wrote: > > A. there is no "BSD SunOS". there is "BSD", and there is "SunOS". i assume > > you're refering to SunOS > > No need to be harsh. i think you're confusing 'harsh' and 'precise'. > SunO

Re: core file debug.

2004-12-15 Thread Dov Grobgeld
Hello David, You can get the core by doing the command "unlimit core". Consider the following: > cat crash.c main() { char *foo=0; *foo=42; printf("I'm dead!\n"); } > gcc -g -o crash crash.c > ./crash Segmentation fault > unlimit core > ./c

Re: core file debug.

2004-12-15 Thread Eli Kara
> D. assuming you are using 'bash', use the following command in the shell > in which you are launching the process, for which you wish to have a core > dump in case of a crash: ulimit -c unlimited (check with 'ulimit -a' to > see the list of limits before and after the change). In addition to w

OT: SunOS BSD (was: Re: core file debug.)

2004-12-15 Thread Yedidyah Bar-David
On Wed, Dec 15, 2004 at 01:04:29AM +0200, guy keren wrote: > A. there is no "BSD SunOS". there is "BSD", and there is "SunOS". i assume > you're refering to SunOS No need to be harsh. SunOS 4 was based on BSD, and SunOS 5+, aka Solaris 2+, is based on SysV. And I am pretty sure you know this. I fi

Re: core file debug.

2004-12-14 Thread guy keren
On Wed, 15 Dec 2004, David Harel wrote: > Greetings, > > A long time ago, On BSD SunOS I could debug core files. > On Linux I don't even get core files. > > 1. Can I get core files on Linux and how? > 2. Can I debug core files and how? A. there is no "BSD SunOS". there is "BSD", and there is "

core file debug.

2004-12-14 Thread David Harel
Greetings, A long time ago, On BSD SunOS I could debug core files. On Linux I don't even get core files. 1. Can I get core files on Linux and how? 2. Can I debug core files and how? Machine: Gentoo on kernel 2.4.26-gentoo-r9 -- Thanks. David Harel, == Home office