*BSD News Article 46595


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!intac!palpk-s13.intac.com!user
From: rjb@intac.com (Bob Badaracco)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: gdb debugger question (FreeBSD 2.0)
Date: Sat, 08 Jul 1995 22:40:23 -0500
Organization: Typeline
Lines: 9
Message-ID: <rjb-0807952240230001@palpk-s13.intac.com>
NNTP-Posting-Host: palpk-s13.intac.com

I'm trying to debug a C program with the gdb debugger under FreeBSD. I don't
have that much experience with this type of debugger and need some help.

1. What compiler options do I need to turn on in order to generate a
symbol table for the debugger to use?

2. When my program dies, how can I get the debugger to stop where it happens?

Any useful documentation available anywhere for this?