objdump, 64-bit objects and Solaris kernel modules

Daniel Jacobowitz drow@mvista.com
Mon Feb 10 20:32:00 GMT 2003


On Mon, Feb 10, 2003 at 12:26:38PM -0800, Steve Madsen wrote:
> Gabriel Marin wrote:
> >The problem is not limited at 64-bit binaries. I had this problem with 
> >32-bit binaries.
> 
> I applied your patch to the latest from CVS this morning and it does not 
> fix the problem for me on 64-bit binaries.
> 
> It appears that my version of Forte is using different names for the 
> STABS debugging sections than expected by 
> _bfd_stab_section_find_nearest_line.  That functions looks for .stab and 
> .stabstr, and if not found, assumes that the object contains no 
> debugging info and exits.
> 
> Forte generates the following STABS sections in my object:
> 
> 6 .stab.index   00000114 0000000000000000 0000000000000000 000025b0 2**2
>                 CONTENTS, READONLY, DEBUGGING
> 7 .stab.indexstr 00000320 0000000000000000 0000000000000000 000026c4 2**0
>                 CONTENTS, READONLY, DEBUGGING
> 8 .stab.excl    0000765c 0000000000000000 0000000000000000 000029e4 2**2
>                 CONTENTS, READONLY, DEBUGGING
> 9 .stab.exclstr 0001bfa1 0000000000000000 0000000000000000 0000a040 2**0
>                 CONTENTS, READONLY, DEBUGGING

Unfortunately, this is a form of stabs that neither GDB nor Binutils
supports.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list