Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Expansing macro-definitions in Gas using Gdb
@ 2002-08-28  5:44 Pierre Habraken
  2002-08-28  5:50 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre Habraken @ 2002-08-28  5:44 UTC (permalink / raw)
  To: binutils; +Cc: 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
________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-28 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28  5:44 Expansing macro-definitions in Gas using Gdb Pierre Habraken
2002-08-28  5:50 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox