This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Expansing macro-definitions in Gas using Gdb


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
________________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]