From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11771 invoked by alias); 8 Jul 2002 08:55:33 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11699 invoked from network); 8 Jul 2002 08:55:30 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by sources.redhat.com with SMTP; 8 Jul 2002 08:55:30 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g688tQi01284; Mon, 8 Jul 2002 10:55:26 +0200 (MEST) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.11.6/8.11.6/Imag.pm.V2) with ESMTP id g688tPo01579; Mon, 8 Jul 2002 10:55:25 +0200 (MEST) Message-ID: <3D29537D.2ABE73A5@imag.fr> Date: Mon, 08 Jul 2002 01:55:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz , Jim Blandy CC: gdb@sources.redhat.com, gcc-help@gcc.gnu.org Subject: Re: Expansing macro-definitions using Gdb References: <3D2706FD.DF3F5DF9@imag.fr> <20020706153609.GA17378@nevyn.them.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-07/txt/msg00078.txt.bz2 Daniel Jacobowitz wrote: > > You need to use a CVS snapshot of GDB, and you need to use a very > current GCC; I believe 3.1 will do but you need to verify that > yourself. > Jim Blandy wrote: > > Macro support was added after 5.2. To get preprocessor macro support, > you'll need to get the latest GDB sources. > > For the compiler, you'll need to use Dwarf 2 debugging information. > Try -gdwarf-2 -g3. Thanks to you Daniel and Jim, I'll try using the latest Gdb snapshot together with turning on Dwarf 2 debugging. Best regards, Pierre -- ________________________________________________________________________ Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex ________________________________________________________________________