public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] jankratochvil/gdbserverbuildid: Tests for validate symbol file using build-id Date: Mon, 03 Mar 2014 20:58:00 -0000 [thread overview] Message-ID: <20140303205824.6356.qmail@sourceware.org> (raw) The branch, jankratochvil/gdbserverbuildid has been updated discards 60e25b7b58ec9f018a6cd33ea0f6789d1d1d04ea (commit) discards a5f4d3d7bedd2115a6185242c053a1032ecc9f99 (commit) discards bf18659834e6e48398dace329260ffaa1e26f7df (commit) discards 23a4c243fc8e2a9634ee41a53632acaec1344db2 (commit) discards 8454da3ccd129f95dcd0eac6a99bf78355689163 (commit) discards 159945ef7f5c25e309c373025eb3f27572e8a806 (commit) discards d7abdc578c0828f63e37416bafebf830e9fcd640 (commit) discards 635697584f5289fd090bc06a28bab625aad890a5 (commit) via e403a2cda7d319c9b5ef8c19dbb7f0cdfae4a613 (commit) via 4959c8426cb63d322cadba15ff9dea540896aab6 (commit) via fe251720f52e46bda712e20360d48a675956c6da (commit) via fe819bfa70c24f97e16c357787c55b6a0309723e (commit) via 796e7771c8f90df0b0f4e3abf1064936f1876f19 (commit) via f903119ff9990d1a38a10e223ddca5929d35aa87 (commit) via ced334e5f72d60216338349420a2ce0ed999347e (commit) via 6cd4dd736e6670ba7bae0e8abda93eaf3c481953 (commit) via be361d411775bdb2332605109565118e2591618c (commit) from 60e25b7b58ec9f018a6cd33ea0f6789d1d1d04ea (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit e403a2cda7d319c9b5ef8c19dbb7f0cdfae4a613 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:42 2014 +0100 Tests for validate symbol file using build-id Hi, new testcase. Jan gdb/testsuite/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Tests for validate symbol file using build-id. * gdb.base/solib-mismatch-lib.c: New file. * gdb.base/solib-mismatch-libmod.c: New file. * gdb.base/solib-mismatch.c: New file. * gdb.base/solib-mismatch.exp: New file. commit 4959c8426cb63d322cadba15ff9dea540896aab6 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:42 2014 +0100 Validate symbol file using build-id Hi, consumer part of the "build-id" attribute. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Jan Kratochvil <jan.kratochvil@redhat.com> Validate symbol file using build-id. * NEWS (Changes since GDB 7.7): Add 'set solib-build-id-force' and 'show solib-build-id-force'. Add build-id attribute. * solib-darwin.c (_initialize_darwin_solib): Assign validate value. * solib-dsbt.c (_initialize_dsbt_solib): Ditto. * solib-frv.c (_initialize_frv_solib): Ditto. * solib-ia64-hpux.c (ia64_hpux_target_so_ops): Ditto. * solib-irix.c (_initialize_irix_solib): Ditto. * solib-osf.c (_initialize_osf_solib): Ditto. * solib-pa64.c (_initialize_pa64_solib): Ditto. * solib-som.c (_initialize_som_solib): Ditto. * solib-spu.c (set_spu_solib_ops): Ditto. * solib-svr4.c: Include rsp-low.h. (NOTE_GNU_BUILD_ID_NAME): New define. (svr4_validate): New function. (library_list_start_library): Parse 'build-id' attribute. (svr4_library_attributes): Add 'build-id' attribute. (_initialize_svr4_solib): Assign validate value. * solib-target.c (solib.h): Include. (_initialize_solib_target): Assign validate value. * solib.c (solib_build_id_force, show_solib_build_id_force): New. (solib_map_sections): Use ops->validate. (clear_so): Free build_id. (default_solib_validate): New function. (_initialize_solib): Add "solib-build-id-force". * solib.h (default_solib_validate): New declaration. * solist.h (struct so_list): New fields 'build_idsz' and 'build_id'. (target_so_ops): New field 'validate'. gdb/doc/ 2014-03-02 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.texinfo (Files): Add 'set solib-build-id-force' and 'show solib-build-id-force'. commit fe251720f52e46bda712e20360d48a675956c6da Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:42 2014 +0100 gdbserver build-id attribute generator Hi, producer part of the new "build-id" XML attribute. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com gdbserver build-id attribute generator. * features/library-list-svr4.dtd (library-list-svr4): New 'build-id' attribute. gdb/doc/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.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/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.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. commit fe819bfa70c24f97e16c357787c55b6a0309723e Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:41 2014 +0100 Move linux_find_memory_regions_full & co. Hi, this should be just a move with no changes. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Move linux_find_memory_regions_full & co. * common/common-target.c (string.h, gdb_assert.h): Include. (read_alloc, read_stralloc): Move definitions from target.c. * common/common-target.h (read_alloc_pread_ftype): New typedef. (read_alloc): New declaration. (read_stralloc_func_ftype): New typedef. (read_stralloc): New declaration. * common/linux-maps.c (fcntl.h, unistd.h, target.h, gdb_assert.h) (ctype.h, string.h, common-target.h): Include. (read_mapping): Move from linux-tdep.c. [GDBSERVER] (linux_find_memory_read_stralloc_1_pread): New function. [GDBSERVER] (linux_find_memory_read_stralloc_1): New function. (linux_find_memory_read_stralloc): New function. (linux_find_memory_regions_full): Move from linux-tdep.c. * common/linux-maps.h (read_mapping): New declaration. (linux_find_memory_region_ftype): Moved typedef from linux-tdep.c. (linux_find_memory_regions_full): New declaration. * linux-tdep.c (linux-maps.h): Include. (read_mapping): Moved to common/linux-maps.c. (linux_find_memory_region_ftype): Moved typedef to common/linux-maps.h. (linux_find_memory_regions_full): Moved definition to common/linux-maps.c. * target.c (common-target.h): Include. (read_alloc_pread_ftype): Moved typedef to common/common-target.h. (read_alloc, read_stralloc): Moved definitions to common/common-target.c. commit 796e7771c8f90df0b0f4e3abf1064936f1876f19 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:41 2014 +0100 Prepare linux_find_memory_regions_full & co. for move Hi, prepare code for move into gdb/common/. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Prepare linux_find_memory_regions_full & co. for move. * linux-tdep.c (linux_find_memory_region_ftype): Comment. (linux_find_memory_regions_full): Change signature and prepare for moving to linux-maps. (linux_find_memory_regions_data): Rename field 'obfd' to 'data'. (linux_find_memory_regions_thunk): New. (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'. (linux_find_memory_regions_gdb): New. (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'. (linux_make_mappings_corefile_notes): Use linux_find_memory_regions_gdb. * target.c (read_alloc_pread_ftype): New typedef. (target_fileio_read_alloc_1_pread): New function. (read_alloc): Refactor from target_fileio_read_alloc_1. (read_stralloc_func_ftype): New typedef. (target_fileio_read_alloc_1): New implementation. Use read_alloc. (read_stralloc): Refactored from target_fileio_read_stralloc. (target_fileio_read_stralloc): New implementation, use read_stralloc. commit f903119ff9990d1a38a10e223ddca5929d35aa87 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:41 2014 +0100 Create empty common/linux-maps.[ch] and common/common-target.[ch] Hi, prepare new files for later move. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Create empty common/linux-maps.[ch] and common/common-target.[ch]. * Makefile.in (HFILES_NO_SRCDIR); Add common/linux-maps.h, common/common-target.h. (COMMON_OBS): Add common-target.o. (linux-maps.o, common-target.o): New. * common/common-target.c: New file. * common/common-target.h: New file. * common/linux-maps.c: New file. * common/linux-maps.h: New file. * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o. * config/i386/linux64.mh (NATDEPFILES): Ditto. gdb/gdbserver/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Create empty common/linux-maps.[ch] and common/common-target.[ch]. * Makefile.in (OBS): Add common-taret.o. (linux-maps.o, common-target.o): New. * configure.srv (srv_linux_obj): Add linux-maps.o. commit ced334e5f72d60216338349420a2ce0ed999347e Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:41 2014 +0100 Merge multiple hex conversions Hi, here most of the patch has been reimplemented in the meantime and this is only a small remaint. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Merge multiple hex conversions. * monitor.c: Include rsp-low.h. (fromhex): Remove definition. gdb/gdbserver/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Merge multiple hex conversions. * gdbreplay.c (tohex): Rename to 'fromhex'. (logchar): Use fromhex. commit 6cd4dd736e6670ba7bae0e8abda93eaf3c481953 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 2 10:15:41 2014 +0100 Move utility functions to common/ Hi, some parts of the former patch have been reimplemented in the meantime by other patches so this is only a part of the former cleanup. Jan gdb/ 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com Move utility functions to common/. * cli/cli-utils.c (skip_spaces, skip_spaces_const): Move defs to common/common-utils.c. * cli/cli-utils.h (skip_spaces, skip_spaces_const): Move decls to common/common-utils.h. * common/common-utils.c (host-defs.h, ctype.h): Include. (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move from utils.c. (skip_spaces, skip_spaces_const): Move from cli/cli-utils.c. * common/host-defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved from defs.h. * common/common-utils.h (strtoulst): Move decl from utils.h. (hex2bin, bin2hex): Move decls from remote.h. (skip_spaces, skip_spaces_const): Move decls from cli/cli-utils.h. * defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Move to common/common-utils.h * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int) (strtoulst): Move to common/common-utils.c. * utils.h (strtoulst): Moved decl to common/common-utils.h. commit be361d411775bdb2332605109565118e2591618c Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Mon Mar 3 21:57:06 2014 +0100 +README.archer ----------------------------------------------------------------------- Summary of changes: README.archer | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 README.archer First 500 lines of diff: diff --git a/README.archer b/README.archer new file mode 100644 index 0000000..ba65e1d --- /dev/null +++ b/README.archer @@ -0,0 +1,4 @@ +[PATCH 0/8] v2 - validate binary before use +Aleksandar Ristovski +Message-ID: <1366127096-5744-1-git-send-email-ARistovski@qnx.com> +https://sourceware.org/ml/gdb-patches/2013-04/msg00472.html hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2014-03-03 20:58 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-03-03 20:58 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2015-08-03 20:36 jkratoch 2015-07-23 17:19 jkratoch 2015-06-21 10:15 jkratoch 2015-06-14 19:25 jkratoch 2015-06-07 20:03 jkratoch 2015-06-07 20:02 jkratoch 2014-03-19 22:17 jkratoch 2014-03-19 21:22 jkratoch 2014-03-08 19:58 jkratoch 2014-03-02 19:50 jkratoch 2014-03-02 18:52 jkratoch 2014-03-02 9:51 jkratoch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20140303205824.6356.qmail@sourceware.org \ --to=jkratoch@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).