[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: your mail



...or do what the God's do: use printf!

- -- Raju

>>>>> "Binand" == Binand Raj S <binand@xxxxxxxxxxxxxxxxxxxxx> writes:

    Binand> Deepak.M.G forced the electrons to say:
    >>  Hi! guys,
    >> 
    >> How do I debug my C-Programs in linux?
    >> 
    >> 007

    Binand> The standard linux debugger is gdb. Compile your program
    Binand> with the -g option to the compiler and run gdb as

    Binand> gdb a.out

    Binand> It has an X11 front end called xxgdb, and another one
    Binand> called ddd that needs motif/lesstiff.

    Binand> A few other utilities that help you in debugging are
    Binand> strace and nm. You can also use the core file generated in
    Binand> identifying specific problems.

    Binand> Binand

    Binand> -- main(int c,char
    Binand> **v){while(!fork()){strcpy(v[0],tmpnam(0));sleep(1);}} A
    Binand> program that changes its name and pid every second.  Try
    Binand> this program at your own risk!  ---> Binand <---

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------