Expansing macro-definitions in Gas using Gdb

Pierre Habraken Pierre.Habraken@imag.fr
Wed Aug 28 05:44:00 GMT 2002


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
________________________________________________________________________



More information about the Binutils mailing list