[ LUGOS ] coredump
Jernej Kovse
jernej.kovse na uni-mb.si
Ned Dec 28 10:02:08 CET 1997
On Sat, 27 Dec 1997, David Klasinc wrote:
> On Sat, 27 Dec 1997, Jernej Kovse wrote:
>
> > The process that invokes fork si called the parent and the newly created
> > process is called the child. The child is a given a complete copy of the
> > parent's address space and process state that includes the values of the
> > program variables, registers, PC, etc., and access to all the UNIX system
> > services the parent had, such as the parent's open files.
>
> BLAH!
>
> if (fork() == 0) {
> assert(0);
> }
>
> in potem coredump ki ostane nima nic pametnega notri...
>
> Nevem, razen ce ga ta assert ne z*ebe...
>
Pa poskusi s cim drugim namesto z assert. Kaj pa ce bi raje
opazoval izvajanje z gdb?
Jernej
*******************************************************************
Jernej Kovse E-mail: jernej.kovse na uni-mb.si
Simekova 22 WWW: http://www2.feri.uni-mb.si/~jernej
2000 Maribor
Slovenia CS Student
University of Maribor
Faculty of Electrical Engineering and Computer Science
*******************************************************************
Dodatne informacije o seznamu Starilist