Re: [uClinux-dev] Arm7tdmi on uClinux 2.0.38 toolchain

From: Adrian von Bidder (avbidder@acter.ch)
Date: Thu Jan 10 2002 - 03:57:25 EST


On Thu, 2002-01-10 at 03:04, kj_lin@accton.com.tw wrote:

> I am a user of the toolchain you mentioned.
> I notice that the name of the debug sections of the kernel image compilied
> by the tool are named ".debug_abbrev", ".debug_info", ".debug_line",
> ".debug_pubnames" and ".debug_aranges" instead of ".stab" and ".stabst".
> But these ".debug_xxx" are not contained in the kernel link script file
> "vmlinux.lds".
> Therefore, these sections will be link at default address in the link
> stage.

I guess this is because the debugging format has changed from stabs to
dwarf2. Adding these sections to the link script, linking them at
address 0, should solve the problem. (The debugger probably will fail if
the sections are not at address 0, iirc)

greets from Zürich
-- vbi

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:41 EDT