This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----Original Message----- From: David Phillips Sent: Tuesday, December 04, 2001 6:43 PM To: 'David Korn' Subject: RE: mips-elf executables lack debug information Getting the cross-compiler to generate DWARF2 debug output turned out to be as easy as David Korn suggested. I had to do these things: 1. I added #DEFINE DWARF2_DEBUGGING_INFO to gcc-3.0.2/gcc/config/mips/mips.h 2. I changed PREFERRED_DEBUGGING_TYPE from SDB_DEBUG to DWARF2_DEBUG in the same file. 3. I configured gcc with the option --with-dwarf2 The third step was necessary to cause -g to generate dwarf2 output by default. Otherwise gcc has to be invoked with -gdwarf-2 in order to produce dwarf2 debugging information. Thanks to all responders for your help. David -----Original Message----- From: David Korn [mailto:dkorn@pixelpower.com] Sent: Monday, December 03, 2001 6:35 AM To: David Korn; 'David Phillips'; 'crossgcc@sources.redhat.com' Subject: RE: mips-elf executables lack debug information >-----Original Message----- >From: David Korn >Sent: 03 December 2001 12:31 > You may need to customize your target macro file, which will be in >config/mips/<somethinglikemips-elf>.h - Oops. I should have said gcc/config/mips/.... , as there is also a top- level 'config' directory in parallel to the gcc subdirectory, which isn't the one I mean. DaveK -- Burn your ID card! http://www.optional-identity.org.uk/ Help support the campaign, copy this into your .sig! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |