This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, take 3] Add static probes to runtime linker


Hi all,

This patch adds a number of static probes to the runtime linker,
allowing debuggers to more finely control where they stop and
passing more information so as to allow incremental loading of
the list of loaded libraries, and also to allow debugging of
programs that use dlmopen.  The GDB side of this patch, along
with a more detailed description of the issues I am attempting
to solve is at [1].

This patch is a resubmission of [2], the differences being:

  - The "map_complete" and "reloc_complete" probes have an
    extra argument, the link_map of the first newly added
    library, to allow the list to be loaded incrementally.

  - The "map_complete" probe in dl-load.c has been renamed
    as "map_failed" to allow debuggers to differentiate the
    two cases.

  - The documentation has been updated to reflect these
    changes.

How does this look?

Thanks,
Gary
    
[1] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00155.html
[2] http://sourceware.org/ml/libc-alpha/2012-07/msg00096.html

-- 
http://gbenson.net/

Attachment: glibc-patch-3.patch
Description: Text document


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