This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v12 05/32] gdbserver build-id attribute generator
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 22 Aug 2015 10:17:08 +0300
- Subject: Re: [PATCH v12 05/32] gdbserver build-id attribute generator
- Authentication-results: sourceware.org; auth=none
- References: <20150821212006 dot 6673 dot 35100 dot stgit at host1 dot jankratochvil dot net> <20150821212049 dot 6673 dot 48633 dot stgit at host1 dot jankratochvil dot net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Date: Fri, 21 Aug 2015 23:20:49 +0200
>
> Producer part of the new "build-id" XML attribute.
>
> gdb/ChangeLog
> 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
> Jan Kratochvil <jan.kratochvil@redhat.com>
>
> gdbserver build-id attribute generator.
> * features/library-list-svr4.dtd (library-list-svr4): New
> 'build-id' attribute.
>
> gdb/doc/ChangeLog
> 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
> Jan Kratochvil <jan.kratochvil@redhat.com>
>
> gdbserver build-id attribute generator.
> * gdb.texinfo (Library List Format for SVR4 Targets): Add
> 'build-id' in description, example, new attribute in dtd.
>
> gdb/gdbserver/ChangeLog
> 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
> Jan Kratochvil <jan.kratochvil@redhat.com>
>
> gdbserver build-id attribute generator.
> * linux-low.c (linux-maps.h, search.h, rsp-low.h): Include.
> (ElfXX_Ehdr, ElfXX_Phdr, ElfXX_Nhdr): New.
> (ELFXX_FLD, ELFXX_SIZEOF, ELFXX_ROUNDUP, BUILD_ID_INVALID): New.
> (find_phdr): New.
> (get_dynamic): Use find_pdhr to traverse program headers.
> (struct mapping_entry, mapping_entry_s, free_mapping_entry_vec)
> (compare_mapping_entry_range, struct find_memory_region_callback_data)
> (read_build_id, find_memory_region_callback, lrfind_mapping_entry)
> (get_hex_build_id): New.
> (linux_qxfer_libraries_svr4): Add optional build-id attribute
> to reply XML document.
The documentation parts are OK.
Thanks.