Expansing macro-definitions using Gdb

Pierre Habraken Pierre.Habraken@imag.fr
Mon Jul 8 01:55:00 GMT 2002


Daniel Jacobowitz wrote:
> 
> You need to use a CVS snapshot of GDB, and you need to use a very
> current GCC; I believe 3.1 will do but you need to verify that
> yourself.
> 

Jim Blandy wrote:
> 
> Macro support was added after 5.2.  To get preprocessor macro support,
> you'll need to get the latest GDB sources.
> 
> For the compiler, you'll need to use Dwarf 2 debugging information.
> Try -gdwarf-2 -g3.

Thanks to you Daniel and Jim, I'll try using the latest Gdb snapshot
together with turning on Dwarf 2 debugging.

Best regards,

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 Gcc-help mailing list