From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28979 invoked by alias); 28 Aug 2002 12:44: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 28869 invoked from network); 28 Aug 2002 12:44:29 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by sources.redhat.com with SMTP; 28 Aug 2002 12:44:29 -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 g7SCiRv10210; Wed, 28 Aug 2002 14:44:27 +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 g7SCiRS07255; Wed, 28 Aug 2002 14:44:27 +0200 (MEST) Message-ID: <3D6CC5AB.C4CA2B1E@imag.fr> Date: Wed, 28 Aug 2002 05:44:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: binutils@sources.redhat.com CC: gdb@sources.redhat.com Subject: Expansing macro-definitions in Gas using Gdb Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-08/txt/msg00374.txt.bz2 Hello, I would like to be able to display the value of #defined constants (C macro-definitions) #included in assembly language modules. The source files of these modules have suffix ".S" and are assembled using gcc. Using latest snapshots of gdb, it is possible to expand macro-definitions included in C source files compiled with gcc. However this does not appear to work for assembly source files. Is it possible to force gas (or gcc) to put the required data into the object file ? 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 ________________________________________________________________________