tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hidden ld-elf.so, shared libs and gdb



On Tue, Jan 25, 2011 at 03:11:35AM +0000, Valeriy E. Ushakov wrote:
> Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> 
> > attached is a patch to fix the debugging of shared libraries with gdb.
> > I would like to rename _rtld_debug_state to _dl_debug_state to match the
> > namespace of dlopen and friends. gdb checks both names, so it wouldn't
> > matter for it. Comments?
> 
> Please, don't mix fixes and renaming in one commit.

The problem is that gdb depended on the presence of a not-exported
symbol. Putting the symbol on the export list should be under the
correct name, so I disagree that the rename is not part of the fix.

Joerg


Home | Main Index | Thread Index | Old Index