This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Expansing macro-definitions in Gas using Gdb
- From: Pierre Habraken <Pierre dot Habraken at imag dot fr>
- To: binutils at sources dot redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 28 Aug 2002 14:44:27 +0200
- Subject: Expansing macro-definitions in Gas using Gdb
- Organization: Université Joseph Fourier
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
________________________________________________________________________