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]

Re: Expansing macro-definitions using Gdb


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
________________________________________________________________________


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