Re: [GDB] Info <199903052105.VAA06817@lrts1.demon.co.uk>

From: Albert White - Sun Ireland (Albert.White@ireland.sun.com)
Date: 03/06/99


> > (if anyone is interested in seeing what I have so far.. I can send it to
> > them for review and comments)

wouldnt mind seeing it. Cheers.

I can write up something on using GDB if you like, unless someone else is working on it?

basically I see 2 useful ways of using GDB:
1.      to trace through a running program looking for an error.
2.      analysing a crash file to try to work out what happened.

The second is _relativly_ easy to do, the first I get lost doing and end up putting lots of printfs around the problem area instead :)

thoughts comments?

Cheers
Al

p.s. for ppl using solaris you can get gdb and gcc (and other stuff) as packages that install easily from www.sunfreeware.com, saves compiling!, just in case you didnt know :)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albert White - System Administrator - SUN Microsystems, Ireland
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"I haven't lost my mind -- it's backed up on tape .... somewhere."


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST