Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 21:04:49 +0100
From:      Martin Moeller <mm@bsdsi.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   How to produce debugging symbols?
Message-ID:  <20030326200449.GB967@bsdsi.homeunix.com>

next in thread | raw e-mail | index | archive | help
Hello, everybody!

I have a rather general question on debugging.
I'm experiencing some problems with some programs on FreeBSD 5.0.
Because I'm quite a unix newbie, I can only write to some mailinglists
to ask if somebody knows what to do.

But I would like to take a few steps to solve my problems on my own. I
read something about gdb and kernel debugging, but find that somehow
disturbing. So I would like to ask a very *stupid* newbie question:

I can run a program within gdb, but I don't see the program's source 
code. I assume this is meant with debug symbols? How can I compile a
program with those debug symbols?

Any help appreciated!
Regards,
Martin
 
-- 
Martin Möller <mm at bsdsi.com>        http://www.bsdsi.com/
GnuPG/PGP DSA ID: 0x3C979285                  ICQ # 82221572
I do not accept unsolicited commercial mail. Do not spam me!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326200449.GB967>