From owner-freebsd-questions Thu Aug 28 01:07:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA16176 for questions-outgoing; Thu, 28 Aug 1997 01:07:46 -0700 (PDT) Received: from wired.ctech.ac.za (wired.ctech.ac.za [155.238.4.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA16171 for ; Thu, 28 Aug 1997 01:07:36 -0700 (PDT) Received: from wired.ctech.ac.za (localhost [127.0.0.1]) by wired.ctech.ac.za (8.8.5/8.8.5) with SMTP id KAA01107 for ; Thu, 28 Aug 1997 10:07:39 +0200 (SAT) Message-ID: <340531CA.FF6D5DF@wired.ctech.ac.za> Date: Thu, 28 Aug 1997 10:07:38 +0200 From: Jacques Hugo X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: gdb and strip Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi there ... If you write some program, compiled it but don't strip it, how do you re-read the source code in it. Is there some option in gcc that you have to add, and can you gdb a binary that' not stripped and then redirect the source to a file? Thanks. -Jacques