[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to use debuginfo files ?



On Sun, 2005-07-10 at 13:02 +0200, vincent cojot name wrote:
> Hi Arjan,
> 
> Is this normal gdb behaviour or is this a RH-specific patch? 

upstream gdb has this same behavior; while the feature is developed by
Red Hat, upstream gdb has the patch to add this feature merged since
quite a while

> Could you 
> elaborate a little on the technical details of how a debuginfo is made 
> 'available' to the debuggers?

there is a magic section in the regular elf file that says "look THERE
for my debug info", where "THERE" is the location the debuginfo rpm
installs its files. It's basically a "strip to file" operation, where a
file with debuginfo is split in 2, one is the normal stripped file (but
with a "look THERE" record) and one is only the debuginfo. This is then
packages into seperate rpms.

>  Is that the same with RHEL3 too?

yes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]