This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Regression caused by elfread.c patch


Hi,

That was because Jim didn't checkin my patch correctly.
He has fixed it now.

On Tue, 15 Feb 2000, Mark Kettenis wrote:
> Hi,
> 
> The following patch seems to be wrong:
> 
> 2000-01-17  Amit S. Kale  <akale@veritas.com>
> 
>         * elfread.c (elf_symtab_read): Use offset for the section in which a
>         symbol resides, instead of .text section for calculating address of a
>         symbol.
>         Checked in by Jim Kingdon  <kingdon@redhat.com>
> 
> The memory address for some functions is no longer correct.
> 
> On Linux (with glibc) vfprintf is a strong alias for _IO_vfprintf.
> Setting a breakpoint on _IO_vfprintf still works (probably because
> stabs debugging information is present for this symbol), but setting a
> breakpoint on vfprintf fails with:
> 
>    (gdb) b vfprintf
>    Cannot access memory at address 0x45641
> 
> I've no idea how to fix this :-(.
> 
> Mark
-- 
Amit Kale
Veritas Software ( http://www.veritas.com )

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]