Expansing macro-definitions in Gas using Gdb

Pierre Habraken
2002-08-28T12:44:33Z

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
________________________________________________________________________