From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karsten Keil To: Nick Clifton Cc: binutils@sources.redhat.com Subject: Re: dwarf2 and objdump -S --adjust-vma Date: Mon, 28 May 2001 04:55:00 -0000 Message-id: <20010528135444.C22032@pingi.muc.suse.de> References: <20010524212449.A15279@pingi.muc.suse.de> X-SW-Source: 2001-05/msg00496.html Hi Nick, On Mon, May 28, 2001 at 12:04:31PM +0100, Nick Clifton wrote: > Hi Karsten, > > > while debuging some x86-64 kernel problem I found a bug in > > dwarf and objdump -S --adjust-vma handling. > > Thanks for submitting this bug report. I have applied the patch below > to fix this problem. > > Cheers > Nick > > 2001-05-28 Nick Clifton > > * objdump.c (disassemble_bytes): Remove section VMA adjustment > when computing the address of the line to show. > It seems to be the right solution, but: I'm afraid that this break the stabs (and maybe other) cases, seems here is a workaround on a other place. While looking at the problem by myself, I found that the _bfd_stab_section_find_nearest_line correct the offset by itself. Since I don't know enought about dwarf, stabs bfd, I didn't find a solution which don't break things. -- Karsten Keil SuSE Labs ISDN development