Get this repository:
git clone https://git.qastaging.paddev.net/elfutils

See all merge proposals.

Import details

Import Status: Suspended

This repository is an import of the Git repository at git://sourceware.org/git/elfutils.git.

Last successful import was .

Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 2 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 2 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 5 minutes
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 15 seconds — see the log

Branches

Name Last Modified Last Commit
main 2023-11-16 11:12:49 UTC
doc/debuginfod.8: clarify source file handling

Author: Frank Ch. Eigler
Author Date: 2023-11-14 19:09:40 UTC

doc/debuginfod.8: clarify source file handling

Added text about the archive common-prefix heuristic, mentioned
the new eu-srcfiles tool, and gave some extra debian advice.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

users/amerey/try-pr30975 2023-11-11 06:05:09 UTC
never skip segments

Author: Aaron Merey
Author Date: 2023-11-11 06:05:09 UTC

never skip segments

users/halamour/try-pr30991 2023-11-08 16:40:31 UTC
PR 30991: srcfiles tarball feature

Author: Housam Alamour
Author Date: 2023-10-25 18:52:36 UTC

PR 30991: srcfiles tarball feature

* srclines.cxx: Introduce new option that places all the
source files associated with a specified dwarf/elf file
into a zip file and sends it to stdout.

* run-srcfiles-self.sh: Added test-case for the new zip feature.

* srcfiles.1, NEWS: Added documentation for the new zip feature

Example:
% ./src/srcfiles -z -e /bin/ls > output.zip

https://sourceware.org/bugzilla/show_bug.cgi?id=30991

Signed-off-by: Housam Alamour <halamour@redhat.com>

users/serhei/eu-stacktrace 2023-11-08 15:35:23 UTC
eu-stacktrace WIP: update SysprofCaptureStackUser format

Author: Serhei Makarov
Author Date: 2023-11-08 15:35:23 UTC

eu-stacktrace WIP: update SysprofCaptureStackUser format

users/fche/try-bz28204 2023-10-31 13:15:58 UTC
PR28204 debuginfod-client review changes

Author: Frank Ch. Eigler
Author Date: 2023-10-31 13:15:58 UTC

PR28204 debuginfod-client review changes

- rename "permissive" to "optimistic" throughout

users/fche/try-pr29472 2023-10-18 18:59:32 UTC
PR29472: debuginfod: add metadata query webapi, C api, client

Author: Frank Ch. Eigler
Author Date: 2023-04-12 03:35:25 UTC

PR29472: debuginfod: add metadata query webapi, C api, client

This patch extends the debuginfod API with a "metadata query"
operation. It allows clients to request an enumeration of file names
known to debuginfod servers, returning a JSON response including the
matching buildids. This lets clients later download debuginfo for a
range of versions of the same named binaries, in case they need to to
prospective work (like systemtap-based live-patching). It also lets
server operators implement prefetch triggering operations for popular
but slow debuginfo slivers like kernel vdso.debug files on fedora.

Implementation requires a modern enough json-c library, namely 0.11,
which dates from 2014. Without that, debuginfod client/server bits
will refuse to build.

% debuginfod-find metadata file /bin/ls
% debuginfod-find metadata glob "/usr/local/bin/c*"

Documentation and testing are included.

Signed-off-by: Ryan Goldberg <rgoldber@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

users/halamour/try-pr30000 2023-09-28 14:46:26 UTC
PR 30000: debuginfod-find should have a source-list verb

Author: Housam Alamour
Author Date: 2023-09-07 18:29:19 UTC

PR 30000: debuginfod-find should have a source-list verb

* seclines.cxx: Introduce new tool that compiles a list of source
files associated with a specified dwarf/elf file. This
compilation relies on searching the dwarf debug information,
which can be automatically retrieved via debuginfod using
libdwfl functions when required. The target file can
encompass various types, such as an executable, a coredump,
a running process, or the currently executing kernel. The
source file names are rendered as unique entries and then
displayed on the standard output.

* run-srcfiles-self.sh: New test-case for tool.

https://sourceware.org/bugzilla/show_bug.cgi?id=30000

Signed-off-by: Housam Alamour <halamour@redhat.com>

users/fche/try-pr30000 2023-09-26 00:32:35 UTC
Revert " PR 30000: debuginfod-find should have a source-list verb."

Author: Frank Ch. Eigler
Author Date: 2023-09-26 00:32:35 UTC

Revert " PR 30000: debuginfod-find should have a source-list verb."

This reverts commit 2d429320022d7a546d007d39e850626ae05d4e13. The logic
lives in src/srcfiles.cxx instead.

users/rgoldber/try-bz28204d 2023-08-31 13:39:39 UTC
debuginfod: PR28204 - Minor bug fixes

Author: Ryan Goldberg
Author Date: 2023-08-31 13:39:39 UTC

debuginfod: PR28204 - Minor bug fixes

users/rgoldber/try-pr29472g 2023-08-08 16:10:03 UTC
PR29472: debuginfod: fixed memory leak from json array creation

Author: Ryan Goldberg
Author Date: 2023-08-08 16:10:03 UTC

PR29472: debuginfod: fixed memory leak from json array creation

users/dichen/readelf-Ds 2023-03-27 02:01:05 UTC
readelf: display dynamic symtab without section headers

Author: Di Chen
Author Date: 2023-03-27 02:01:05 UTC

readelf: display dynamic symtab without section headers

This commit adds a new option "-D/--use-dynamic" to support printing the
dynamic symbol table from the PT_DYNAMIC segment. By using the
PT_DYNAMIC segment, eu-readelf can go through the contents of dynamic
section entries and the values of each tag. From that, we can get the
address and size of the dynamic symbol table, the address of the string
table, etc.

By using the new option "-D/--use-dynamic", eu-readelf can list the
symbols without section headers.

Example:
  $ ./src/readelf -Ds a.out
      0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UNDEF
      1: 0000000000000000 0 FUNC GLOBAL DEFAULT UNDEF __libc_start_main@GLIBC_2.34 (2)
      2: 0000000000000000 0 NOTYPE WEAK DEFAULT UNDEF __gmon_start__

https://sourceware.org/bugzilla/show_bug.cgi?id=28873

Signed-off-by: Di Chen <dichen@redhat.com>

users/dichen/readelf-28873 2023-02-10 12:05:32 UTC
readelf: display dynamic symtab without section headers

Author: Di Chen
Author Date: 2023-01-13 12:12:43 UTC

readelf: display dynamic symtab without section headers

This commit adds a new option "-D/--use-dynamic" to support printing the
dynamic symbol table from the PT_DYNAMIC segment. By using the
PT_DYNAMIC segment, eu-readelf can go through the contents of dynamic
section entries and the values of each tag. From that, we can get the
address and size of the dynamic symbol table, the address of the string
table, etc.

By using the new option "-D/--use-dynamic", eu-readelf can list the
symbols without section headers.

Example:
  $ ./src/readelf -Ds a.out
      0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UNDEF
      1: 0000000000000000 0 FUNC GLOBAL DEFAULT UNDEF __libc_start_main@GLIBC_2.34 (2)
      2: 0000000000000000 0 NOTYPE WEAK DEFAULT UNDEF __gmon_start__

https://sourceware.org/bugzilla/show_bug.cgi?id=28873

Signed-off-by: Di Chen <dichen@redhat.com>

users/marxin/try-zstd-support-v2 2022-12-21 11:01:57 UTC
support ZSTD compression algorithm

Author: Martin Liska
Author Date: 2022-11-29 09:59:30 UTC

support ZSTD compression algorithm

users/rgoldber/try-metadata_query 2022-09-02 16:32:16 UTC
PR29472: Fixed test envvar

Author: Ryan Goldberg
Author Date: 2022-09-02 16:32:16 UTC

PR29472: Fixed test envvar

users/marxin/try-PR29474-fix-debuginfod-concurrency 2022-08-15 08:17:08 UTC
debuginfod: Fix concurrent request leading to a same .rpm file [PR29474]

Author: Martin Liska
Author Date: 2022-08-15 07:44:43 UTC

debuginfod: Fix concurrent request leading to a same .rpm file [PR29474]

As explained in detail in the PR, the problem happens when multiple
requests lead to a single RPM and one of the threads does prefetching.
In that case, the requested file is added to fdcache and thus skip
as interned.

users/mjw/try-Project-Id-Version 2022-08-07 20:43:14 UTC
Try or not to try

Author: Mark J. Wielaard
Author Date: 2022-08-07 20:43:14 UTC

Try or not to try

users/dichen/try-dwfl-frame-reg 2022-07-29 14:09:37 UTC
libdwfl: Add new function dwfl_frame_reg

Author: Di Chen
Author Date: 2022-07-28 08:31:05 UTC

libdwfl: Add new function dwfl_frame_reg

Dwfl has most of the infrastructure to keep the full unwind state,
including the state of unwound registers per frame using
Dwfl_Thread_Callbacks. But there is no public API to access the state,
except for the PC (dwfl_frame_pc).

This commit adds a new function dwfl_frame_reg to get the value of the
DWARF register number in the given frame.

https://sourceware.org/bugzilla/show_bug.cgi?id=28579

Signed-off-by: Di Chen <dichen@redhat.com>

mjw/RH-DTS 2022-05-10 13:22:32 UTC
Merge tag 'elfutils-0.187' into mjw/RH-DTS

Author: Mark J. Wielaard
Author Date: 2022-05-10 13:22:32 UTC

Merge tag 'elfutils-0.187' into mjw/RH-DTS

elfutils 0.187 release

fche/copr 2020-01-07 15:48:31 UTC
lsb_release -sir on debian produces separate lines

Author: Frank Ch. Eigler
Author Date: 2020-01-07 15:48:31 UTC

lsb_release -sir on debian produces separate lines

dwarflint 2018-02-26 17:46:20 UTC
Explicitly qualify specializations of elfutils::to_string

Author: David Malcolm
Author Date: 2018-02-23 14:54:02 UTC

Explicitly qualify specializations of elfutils::to_string

I attempted to build the "dwarflint" branch with gcc 7.3.1 , but ran
into various problems of the form:

c++/known.cc:220:1: error: explicit specialization of ‘template<class type> std::__cxx11::string elfutils::to_string(const type&)’ outside its namespace must use a nested-name-specifier [-fpermissive]
 to_string<dwarf::dwarf_enum> (const dwarf::dwarf_enum &value)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

The fix appears to be trivial.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>

mjw/fp-unwind 2017-04-25 12:28:59 UTC
Add frame pointer unwinding for aarch64

Author: Ulf Hermann
Author Date: 2017-04-20 12:41:35 UTC

Add frame pointer unwinding for aarch64

If we don't find any debug information for a given frame, we usually
cannot unwind any further. However, the binary in question might have
been compiled with frame pointers, in which case we can look up the
well known frame pointer locations in the stack snapshot and use them
to bridge the frames without debug information.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>

mjw/DWARF5 2016-10-28 14:06:32 UTC
libdw: Add DW_MACRO constants and DW_MACRO_GNU compatibility defines.

Author: Mark J. Wielaard
Author Date: 2016-10-28 14:06:32 UTC

libdw: Add DW_MACRO constants and DW_MACRO_GNU compatibility defines.

Accept version 5 .debug_macro format, which is identical to the GNU
version 4 format. No real support yet for the new supplementary object
file (sup) and indirect string references (strx). GCC doesn't generate
them yet. readelf does recognize them, but doesn't try to decode them.
dwarf_getmacros currently rejects the new formats.

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/pending 2016-02-13 19:00:37 UTC
readelf: Warn when uncompressing fails and error when gelf_getshdr fails.

Author: Mark J. Wielaard
Author Date: 2016-02-13 19:00:37 UTC

readelf: Warn when uncompressing fails and error when gelf_getshdr fails.

After decompressing we want to get the new shdr. This can theoretically
fail so we have to check. Also warn the user if a section couldn't be
uncompressed.

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/compress4 2016-01-05 14:03:13 UTC
elfcompress: New utility.

Author: Mark J. Wielaard
Author Date: 2015-12-01 13:55:07 UTC

elfcompress: New utility.

Usage: elfcompress [OPTION...] FILE...
Compress or decompress sections in an ELF file.

 -f, --force Force compression of section even if it would
                          become larger
 -n, --name=SECTION SECTION name to (de)compress, SECTION is an
                          extended wildcard pattern (defaults to
                          '.?(z)debug*')
 -o, --output=FILE Place (de)compressed output into FILE
 -p, --permissive Relax a few rules to handle slightly broken ELF
                          files
 -q, --quiet Be silent when a section cannot be compressed
 -t, --type=TYPE What type of compression to apply. TYPE can be
                          'none' (decompress), 'zlib' (ELF ZLIB compression,
                          the default, 'zlib-gabi' is an alias) or
                          'zlib-gnu' (.zdebug GNU style compression, 'gnu'
                          is an alias)
 -v, --verbose Print a message for each section being
                          (de)compressed
 -?, --help Give this help list
     --usage Give a short usage message
 -V, --version Print program version

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/leaks 2015-12-02 16:27:18 UTC
tests: Use valgrind --leak-check=full.

Author: Mark J. Wielaard
Author Date: 2015-12-02 16:27:18 UTC

tests: Use valgrind --leak-check=full.

When --enable-valgrind is given run the testsuite with --leak-check=full
treating any memory leak as a failure. Also disable valgrind for those
tests that trigger a valgrind bug.
https://bugs.kde.org/show_bug.cgi?id=327427

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/compress3 2015-11-26 15:06:51 UTC
libelf: Make elf_strptr index correctly into compressed section data.

Author: Mark J. Wielaard
Author Date: 2015-11-26 13:58:01 UTC

libelf: Make elf_strptr index correctly into compressed section data.

elf_strptr indexes into the section data. This is defined as index into
the uncompressed data of the section. If the section is compressed make
sure the uncompressed data is available, but don't really decompress the
section header (elf_getdata will still return compressed data).

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/compress2 2015-11-02 15:45:16 UTC
readelf: Extend -z to dumping hex and string sections (-x and -p).

Author: Mark J. Wielaard
Author Date: 2015-10-20 23:30:44 UTC

readelf: Extend -z to dumping hex and string sections (-x and -p).

-z, --decompress Show compression information for compressed
                           sections (when used with -S); decompress section
                           before dumping data (when used with -p or -x)

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/compress 2015-10-27 19:53:35 UTC
readelf: Extend -z to dumping hex and string sections (-x and -p).

Author: Mark J. Wielaard
Author Date: 2015-10-20 23:30:44 UTC

readelf: Extend -z to dumping hex and string sections (-x and -p).

-z, --decompress Show compression information for compressed
                           sections (when used with -S); decompress section
                           before dumping data (when used with -p or -x)

Signed-off-by: Mark Wielaard <mjw@redhat.com>

mjw/elfstrmerge 2015-10-02 14:31:44 UTC
unstrip: Update sh_info when SH_INFO_LINK_P, not just when SHF_INFO_LINK set.

Author: Mark J. Wielaard
Author Date: 2015-10-02 14:31:36 UTC

unstrip: Update sh_info when SH_INFO_LINK_P, not just when SHF_INFO_LINK set.

SHF_INFO_LINK is not consistently set when sh_info is actually a section
index reference. Use SH_INFO_LINK_P to check whether to update the sh_info
value. SH_INFO_LINK_P also checks the section type to know whether or not
sh_info is meant to as section index.

Found by run-strip-strmerge.sh test with older binutils.

Signed-off-by: Mark Wielaard <mjw@redhat.com>

portable 2015-06-11 11:35:18 UTC
Merge branch 'master' into portable

Author: Mark J. Wielaard
Author Date: 2015-06-11 11:35:18 UTC

Merge branch 'master' into portable

pmachata/iterators 2015-04-17 16:36:29 UTC
Add logical_die_tree_iterator

Author: Petr Machata
Author Date: 2015-04-17 16:36:29 UTC

Add logical_die_tree_iterator

jankratochvil/corepattern 2014-11-26 21:44:18 UTC
Add --core-pattern option to eu-stack

Author: Jan Kratochvil
Author Date: 2014-11-26 21:44:18 UTC

Add --core-pattern option to eu-stack

To backtrace crashed thread from Linux core_pattern handler a special operation
similar to PTRACE_ATTACH needs to be done. This is implemented as a demo in
eu-stack's core_pattern function invoked by eu-stack's --core-pattern option.

The code of core_pattern function has been suggested by Oleg Nesterov.

src/
2014-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>

 * stack.c: Include sys/ptrace.h and sys/wait.h.
 (OPT_CORE_PATTERN, opt_core_pattern, core_pattern): New.
 (parse_opt): Handle OPT_CORE_PATTERN. Check opt_core_pattern option
 validity. Call core_pattern. Pass it as assume_ptrace_stopped.
 (main): Add "core-pattern" to options.

pmachata/macro 2014-11-07 19:15:31 UTC
Make it explicit in comments that dwarf_macro_paramN fetche (N-1)th param

Author: Petr Machata
Author Date: 2014-11-07 19:15:31 UTC

Make it explicit in comments that dwarf_macro_paramN fetche (N-1)th param

jankratochvil/NT_FILE 2014-09-18 16:27:03 UTC
Support note NT_FILE for locating files.

Author: Jan Kratochvil
Author Date: 2014-09-18 16:27:03 UTC

Support note NT_FILE for locating files.

Martin Milata:
------------------------------------------------------------------------------
RFE: dwfl_core_file_report: use NT_FILE core note if the link_map chain is broken
https://bugzilla.redhat.com/show_bug.cgi?id=1129777

The dwfl_core_file_report function follows dynamic linker's link_map chain in
order to determine the shared libraries used by the executable. As this data
structure is located in writable memory it can be overwritten by garbage, which
is sometimes the case.
 https://github.com/abrt/satyr/issues/127#issuecomment-46957546

Since version 3.7 (commit 2aa362c49), Linux kernel adds NT_FILE note to core
files which contains the files mapped by the process, including shared
libraries.
------------------------------------------------------------------------------

dwfl_core_file_report now tries to fall back on NT_FILE if the link_map chain
is broken.

elfutils would already find the appropriate binary file from
/usr/lib/debug/.build-id/ symbolic links. But those symbolic links do not have
to be present on the system while NT_FILE still points to the correct binaries.

Filenames from the note NT_FILE are used only if link_map filenames failed to
locate matching binaries.

tests/test-core.core.bz2 had to have its NT_FILE disabled as run-unstrip-n.sh
otherwise FAILs:
FAIL: 0x7f67f2aaf000+0x202000 - . - /home/jkratoch/redhat/elfutils-libregr/test-core-lib.so
PASS: 0x7f67f2aaf000+0x202000 - . - test-core-lib.so
As test-core-lib.so is found in link_map but it is not present on the disk
elfutils now chooses the more reliable filename from NT_FILE (although that
filename is also not found on the disk). Updating the expected text would be
also sufficient.

libdwfl/
2014-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>

 Support NT_FILE for locating files.
 * core-file.c (dwfl_core_file_report): New variables note_file and
 note_file_size, set them and pass them to dwfl_segment_report_module.
 * dwfl_segment_report_module.c: Include common.h and fcntl.h.
 (buf_has_data, buf_read_ulong, handle_file_note): New functions.
 (invalid_elf): New function from code of dwfl_segment_report_module.
 (dwfl_segment_report_module): Add parameters note_file and
 note_file_size. New variables elf and fd, clean them up in finish.
 Move some code to invalid_elf. Call handle_file_note, if it found
 a name verify the file by invalid_elf. Protect elf and fd against
 cleanup by finish if we found the file for new Dwfl_Module.
 * libdwflP.h (dwfl_segment_report_module): Add parameters note_file and
 note_file_size.

tests/
2014-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>

 Support NT_FILE for locating files.
 * Makefile.am (TESTS): Add run-linkmap-cut.sh.
 (EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
 linkmap-cut.bz2 and linkmap-cut.core.bz2 .
 * linkmap-cut-lib.so.bz2: New file.
 * linkmap-cut.bz2: New file.
 * linkmap-cut.core.bz2: New file.
 * run-linkmap-cut.sh: New file.
 * test-core.core.bz2: Disable its NT_FILE note.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/devmem 2014-02-22 21:05:04 UTC
Access deleted files by /dev/PID/mem.

Author: Jan Kratochvil
Author Date: 2014-02-22 20:06:49 UTC

Access deleted files by /dev/PID/mem.

libdwfl/
2014-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>

 Access deleted files by /dev/PID/mem.
 * dwfl_module.c (dwfl_report_module_pid): New function.
 * dwfl_module_getdwarf.c (open_elf): Call __libdw_open_file_at_offset.
 * libdwfl.h (dwfl_report_module_pid): New declaration.
 * libdwflP.h (struct Dwfl_Module): New field pid.
 (INTDECL (dwfl_report_module_pid)): New.
 * linux-proc-maps.c (proc_maps_report): New variable first_high.
 (proc_maps_report) (report): Possibly call dwfl_report_module_pid.

tests/
2014-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>

 Access deleted files by /dev/PID/mem.
 * Makefile.am (check_PROGRAMS): Add deleted and deleted-lib.so.
 (TESTS, EXTRA_DIST): Add run-deleted.sh.
 (deleted_LDADD, deleted_lib_so_LDFLAGS, deleted_lib_so_CFLAGS): New.
 * deleted-lib.c: New file.
 * deleted.c: New file.
 * run-deleted.sh: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

robustify 2014-01-05 20:44:53 UTC
Merge branch 'master' into robustify

Author: Mark J. Wielaard
Author Date: 2014-01-05 20:44:53 UTC

Merge branch 'master' into robustify

jankratochvil/cfaloop 2014-01-03 21:06:36 UTC
Detect infinite backtraces.

Author: Jan Kratochvil
Author Date: 2014-01-03 21:06:12 UTC

Detect infinite backtraces.

libdwfl/
2014-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>

 Detect infinite backtraces.
 * dwfl_frame.c (state_alloc): Initialize CFA.
 * frame_unwind.c (expr_eval): Remove parameter frame, add parameter
 elfclass. Move elfclass to handle_cfi. Replace recursive call by
 state->unwound->CFA.
 (new_unwound): Initialize CFA.
 (handle_cfi): Move elfclass here. Compute CFA. Update expr_eval
 caller parameters.
 * libdwflP.h (DWFL_ERRORS): Add UNWIND_BAD_CFA.
 (struct Dwfl_Frame): Add field cfa.

tests/
2014-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>

 * Makefile.am (TESTS): Add run-cfaloop.sh.
 (EXTRA_DIST): Add run-cfaloop.sh, testfilecfaloop.S,
 testfilecfaloop.bz2, testfilecfaloop.c and testfilecfaloop.core.bz2.
 * run-cfaloop.sh: New file.
 * testfilecfaloop.S: New file.
 * testfilecfaloop.bz2: New file.
 * testfilecfaloop.c: New file.
 * testfilecfaloop.core.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/ppc64bidir-unwindppc 2013-12-03 13:06:47 UTC
unwinder: ppc and ppc64

Author: Jan Kratochvil
Author Date: 2013-12-03 13:06:47 UTC

unwinder: ppc and ppc64

backends/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * Makefile.am (ppc_SRCS, ppc64_SRCS): Add ppc_initreg.c.
 * ppc64_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_corenote.c (PRSTATUS_REGSET_ITEMS) <nip>: Set PC_REGISTER.
 * ppc_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_initreg.c: New file.

libdwfl/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * frame_unwind.c (__libdwfl_frame_reg_get, __libdwfl_frame_reg_set):
 Call ebl_dwarf_to_regno.
 * linux-core-attach.c (core_set_initial_registers): Implement
 pc_register support.
 * linux-pid-attach.c (pid_thread_state_registers_cb): Implement
 FIRSTREG -1.

libebl/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 unwinder: ppc and ppc64
 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
 * ebl-hooks.h (dwarf_to_regno): New.
 * ebldwarftoregno.c: New file.
 * libebl.h (Ebl_Core_Item): New field pc_register.
 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
 (ebl_dwarf_to_regno): New.

tests/
2013-11-10 Jan Kratochvil <jan.kratochvil@redhat.com>

 * Makefile.am (TESTS): Add run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
 backtrace.ppc.exec.bz2, backtrace.ppc64.core.bz2,
 backtrace.ppc64.exec.bz2, run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 * backtrace.ppc.core.bz2: New file.
 * backtrace.ppc.exec.bz2: New file.
 * backtrace.ppc64.core.bz2: New file.
 * backtrace.ppc64.exec.bz2: New file.
 * run-backtrace-core-ppc.sh: New file.
 * run-backtrace-core-ppc64.sh: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

jankratochvil/ppc64bidir 2013-12-02 20:57:05 UTC
Provide virtual symbols for ppc64 function descriptors

Author: Jan Kratochvil
Author Date: 2013-11-06 19:38:05 UTC

Provide virtual symbols for ppc64 function descriptors

backends/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (ppc64_SRCS): Add ppc64_get_symbol.c.
 * ppc64_get_symbol.c: New file.
 * ppc64_init.c (ppc64_init): Install init_symbols, get_symbol and
 destr.

libdwfl/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 * dwfl_module_addrsym.c (dwfl_module_addrsym): Adjust FIRST_GLOBAL also
 for EBL_FIRST_GLOBAL.
 * dwfl_module_getdwarf.c (getsym_helper): New function.
 (find_symtab): Call also ebl_init_symbols.
 (dwfl_module_getsymtab): Count also EBL_SYMENTS.
 * dwfl_module_getsym.c (dwfl_module_getsym_elf): Count also
 EBL_FIRST_GLOBAL, EBL_SYMENTS. Call also ebl_get_symbol.
 * libdwflP.h (DWFL_ERRORS): Add INVALID_INDEX.
 (struct Dwfl_Module): Add fields ebl_syments and ebl_first_global.

libebl/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (gen_SOURCES): Add eblgetsymbol.c.
 * ebl-hooks.h (init_symbols, get_symbol): New.
 * eblgetsymbol.c: New file.
 * libebl.h (ebl_getsym_t): New definition.
 (ebl_init_symbols, ebl_get_symbol): New declarations.
 * libeblP.h (struct ebl): New field backend.

tests/
2013-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (EXTRA_DIST): Add testfile66.bz2 and testfile66.core.bz2.
 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
 error on dwfl_module_getsymtab error.
 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko): New
 tests.
 * testfile66.bz2: New file.
 * testfile66.core.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>

pmachata/aarch64-review 2013-11-25 16:03:40 UTC
Support AArch64 architecture

Author: Petr Machata
Author Date: 2013-11-13 23:32:30 UTC

Support AArch64 architecture

Signed-off-by: Petr Machata <pmachata@redhat.com>

pmachata/RH-DTS 2013-10-17 14:51:49 UTC
Build installable libraries with -fpic, -fvisibility=hidden

Author: Petr Machata
Author Date: 2012-09-06 19:56:49 UTC

Build installable libraries with -fpic, -fvisibility=hidden

The test case has to be changed to look for files with different names.
That because per-target rules cause file renaming in autoconf.

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo-ports 2013-01-30 20:04:08 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:04:08 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo-ports

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo 2013-01-30 20:03:59 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:59 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86 2013-01-30 20:03:48 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86'...

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:48 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86 2013-01-30 20:03:07 UTC
.

Author: Jan Kratochvil
Author Date: 2013-01-30 20:03:07 UTC

.

jankratochvil/forunwind-baseaddr-hookvars-corereport 2012-11-16 16:33:09 UTC
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/f...

Author: Jan Kratochvil
Author Date: 2012-11-16 16:33:09 UTC

Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind-baseaddr-hookvars-corereport

mjw/dwarfstrings 2012-08-16 20:26:23 UTC
Add dwarf_endianity_string and dwarf_decimal_sign_string.

Author: Mark J. Wielaard
Author Date: 2012-08-11 12:50:38 UTC

Add dwarf_endianity_string and dwarf_decimal_sign_string.

dwarf_endianity_string for DW_END codes used with DW_AT_endianity.
dwarf_decimal_sign_string for DW_DS codes used with DW_AT_decimal_sign.

Signed-off-by: Mark Wielaard <mjw@redhat.com>

relocate 2012-06-06 10:43:43 UTC
Merge branch 'master' into relocate

Author: Mark J. Wielaard
Author Date: 2012-06-05 21:59:17 UTC

Merge branch 'master' into relocate

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>

dwarf 2012-06-06 10:29:07 UTC
Update dwarf branch name, license and contributor policy.

Author: Mark J. Wielaard
Author Date: 2012-06-06 10:26:07 UTC

Update dwarf branch name, license and contributor policy.

* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

dwarflint:

- All files updated to GPLv3+.

libdw/c++:

- All files updated to GPLv2/LGPLv3+.

src:

- All files updated to GPLv3+. Except dwarf-opcodes.h, dwarfstrings.c
  and dwarfstrings.h, which were meant as library files and have been
  updated to GPLv2/LGPLv3+.

tests:

- All files updated to GPLv3+. Except for the test bz2 data files.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>

pmachata/dwarflint 2011-04-19 13:10:06 UTC
dwarflint: ref_record is now template parametrized by locus type

Author: Petr Machata
Author Date: 2011-04-19 13:10:06 UTC

dwarflint: ref_record is now template parametrized by locus type

- the theory being that most of the time all you need to track comes from
  one source
- the upshot is that now the locus::clone and related business can go away

mjw/location-range 2011-03-31 21:37:36 UTC
dwarflint: check_range_out_of_scope only check location of pc_contained_dies.

Author: Mark J. Wielaard
Author Date: 2011-03-31 21:37:36 UTC

dwarflint: check_range_out_of_scope only check location of pc_contained_dies.

mjw/call_site 2011-03-23 12:31:06 UTC
Add support for low-level dwarflint checks for call_site and entry_value.

Author: Mark J. Wielaard
Author Date: 2011-03-23 12:31:06 UTC

Add support for low-level dwarflint checks for call_site and entry_value.

mjw/check_self_referential_die 2011-03-17 11:38:45 UTC
Add check_self_referential_die pass to dwarflint.

Author: Mark J. Wielaard
Author Date: 2011-03-17 11:38:45 UTC

Add check_self_referential_die pass to dwarflint.

mpolacek/autotest 2011-03-11 11:59:29 UTC
Add new ebl_check_st_other_bits function.

Author: Mark J. Wielaard
Author Date: 2011-03-10 12:02:32 UTC

Add new ebl_check_st_other_bits function.

mjw/dwarf_output 2011-02-25 12:50:10 UTC
Merge branch 'dwarf' into mjw/dwarf_output

Author: Mark J. Wielaard
Author Date: 2011-02-25 12:50:10 UTC

Merge branch 'dwarf' into mjw/dwarf_output

pmachata/range_list_iterator_formptr 2011-02-25 11:14:54 UTC
Merge branch 'dwarf' into pmachata/range_list_iterator_formptr

Author: Petr Machata
Author Date: 2011-02-25 11:14:54 UTC

Merge branch 'dwarf' into pmachata/range_list_iterator_formptr

jankratochvil/gdbserver 2011-01-07 14:24:46 UTC
Use TCP_NODELAY (and SO_KEEPALIVE) as suggested by Frank Ch. Eigler.

Author: Jan Kratochvil
Author Date: 2011-01-07 14:24:46 UTC

Use TCP_NODELAY (and SO_KEEPALIVE) as suggested by Frank Ch. Eigler.

roland/relocate-cfi-tmp 2011-01-05 18:54:36 UTC
unfinished cfi relocatable

Author: Roland McGrath
Author Date: 2010-06-29 20:19:26 UTC

unfinished cfi relocatable

roland/dwarf-hacking 2010-10-12 17:48:05 UTC
debugging hacks, not to be merged

Author: Roland McGrath
Author Date: 2010-08-31 08:28:03 UTC

debugging hacks, not to be merged

roland/cfi 2010-06-29 04:53:26 UTC
Merge branch 'master' into roland/cfi

Author: Roland McGrath
Author Date: 2010-06-29 04:53:26 UTC

Merge branch 'master' into roland/cfi

roland/unstrip-buildid-relative 2010-06-16 03:56:30 UTC
Change unstrip -n display of build ID vaddr to be module-relative.

Author: Roland McGrath
Author Date: 2010-06-16 03:56:30 UTC

Change unstrip -n display of build ID vaddr to be module-relative.

roland/parisc_corenote 2010-06-16 03:53:00 UTC
something for parisc, unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:53:00 UTC

something for parisc, unfinished

roland/arm_corenote 2010-06-16 03:51:54 UTC
something for arm, unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:51:54 UTC

something for arm, unfinished

roland/elf_clone 2010-06-16 03:45:14 UTC
elf_clone vs ELF_K_AR

Author: Roland McGrath
Author Date: 2010-06-16 03:42:41 UTC

elf_clone vs ELF_K_AR

roland/addrsym_tls 2010-06-16 03:44:43 UTC
unfinished

Author: Roland McGrath
Author Date: 2010-06-16 03:40:59 UTC

unfinished

roland/notes 2010-05-21 00:37:00 UTC
make check ok after merge

Author: Roland McGrath
Author Date: 2010-05-21 00:30:53 UTC

make check ok after merge

roland/is_stmt 2010-02-20 01:02:54 UTC
noodling

Author: Roland McGrath
Author Date: 2010-02-20 01:02:54 UTC

noodling

pmachata/dwfl_core_file_report 2009-11-12 23:38:27 UTC
Load ahead core file chunk only if the area is vaddr-contiguous

Author: Petr Machata
Author Date: 2009-11-12 23:38:27 UTC

Load ahead core file chunk only if the area is vaddr-contiguous

pmachata/dwarf-writer 2009-10-01 16:25:13 UTC
Don't emit base address selection entry when it doesn't change base address

Author: Petr Machata
Author Date: 2009-10-01 16:25:13 UTC

Don't emit base address selection entry when it doesn't change base address

roland/dwarf_output-tracker 2009-08-20 03:59:19 UTC
closest yet

Author: Roland McGrath
Author Date: 2009-08-20 03:59:19 UTC

closest yet

roland/dwarf_output-shape 2009-07-07 10:34:59 UTC
unfinished

Author: Roland McGrath
Author Date: 2009-07-07 10:34:59 UTC

unfinished

roland/parisc 2009-07-07 01:04:52 UTC
Start at parisc backend.

Author: Roland McGrath
Author Date: 2009-07-06 23:41:02 UTC

Start at parisc backend.

roland/dwarf-collector 2009-07-02 08:59:57 UTC
log entries

Author: Roland McGrath
Author Date: 2009-07-02 08:59:57 UTC

log entries

roland/dwarf_edit 2009-07-02 07:57:27 UTC
Merge roland/dwarf-collector, fiddle constructors more.

Author: Roland McGrath
Author Date: 2009-07-02 07:57:27 UTC

Merge roland/dwarf-collector, fiddle constructors more.

roland/tracker 2009-07-02 03:07:16 UTC
Merge branch 'dwarf' into roland/tracker

Author: Roland McGrath
Author Date: 2009-07-02 03:07:16 UTC

Merge branch 'dwarf' into roland/tracker

pmachata/dwarf_output 2009-06-25 22:58:59 UTC
Add stumps to dwarf_output

Author: Petr Machata
Author Date: 2009-06-25 22:58:59 UTC

Add stumps to dwarf_output

roland/unwind 2009-06-25 00:11:33 UTC
Update version set for merging.

Author: Roland McGrath
Author Date: 2009-06-25 00:11:33 UTC

Update version set for merging.

pmachata/reader_hooks 2009-06-16 13:22:04 UTC
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils int...

Author: Petr Machata
Author Date: 2009-06-16 13:22:04 UTC

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

roland/dwarf-macinfo 2009-05-08 01:58:26 UTC
Merge branch 'dwarf' into roland/dwarf-macinfo

Author: Roland McGrath
Author Date: 2009-05-08 01:58:26 UTC

Merge branch 'dwarf' into roland/dwarf-macinfo

pmachata/dwarf 2009-03-26 01:22:00 UTC
Use newly-available --depth from dwarf-print in the test case

Author: Petr Machata
Author Date: 2009-03-26 01:22:00 UTC

Use newly-available --depth from dwarf-print in the test case

pmachata/threads 2008-12-15 14:27:01 UTC
Dump com.redhat.elfutils.pmachata.threads from monotone.

Author: Petr Machata
Author Date: 2008-12-15 14:27:01 UTC

Dump com.redhat.elfutils.pmachata.threads from monotone.

pmachata/sharing 2008-12-15 13:17:39 UTC
Dump com.redhat.elfutils.pmachata.sharing from monotone.

Author: Petr Machata
Author Date: 2008-12-15 13:17:39 UTC

Dump com.redhat.elfutils.pmachata.sharing from monotone.

182 of 82 results

Other repositories

Name Last Modified
lp:elfutils 2023-11-16
11 of 1 result
You can't create new repositories for Elfutils.