Mail Archives: djgpp-workers/2002/06/26/04:58:26
On 25 Jun 2002 at 13:12, Eli Zaretskii wrote:
>
> On Tue, 25 Jun 2002 pavenis AT lanet DOT lv wrote:
>
> > I tried to change to DWARF2 as default debugging info and run into trouble.
> > GDB-5.2 (and also rather recent development snapshot of GDB) does not recognize
> > debugging info of executables generated by this build (currently only tested
> > executables from build of stage2 of gcc bootstrapping):
> >
> > D:\...cc-3.11-prerelease\build.djg\gcc>gdb cc1.exe
>
> Does this work with unstubbed images?
>
> Also, what's changed since GCC 3.1? IIRC, that version produced
> executables that GDB 5.2 did recognize, no?
It seems to be something related to bootstrapping. Debugging binaries generated
by installed compiler seems to work. Also I'm currently using yesterdays
build for bootstrapping this night snapshot and this problem doesn't seem to
appear (at least for stage2 components, which already are built using freshly
built C compiler)
Problem: gdb-5.2 is needed. gdb-5.1 will not work OK with DWARF2 debugging
info generated by gdb-5.1. What are Your plans with GDB-5.2?
Advantages: warning messages about exceeding 64K source lines are gone now at
build time, so complete debugging info is available now. Also debugging using
DWARF2 debugging info seems to be more stable.
Perhaps additional testing is needed. Maybe it's worth to do beta or alpha
release (I'm myself am away for some time beginning from tomorrow, but I'll
read mail anyway)
Andris
PS. Yesterday by mistake killed stabs not coff debugging info in my yesterday's
build. Put them back, so all should be supported.
- Raw text -