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: Sun, 02 Mar 2014 19:50:00 -0000	[thread overview]
Message-ID: <20140302195036.8013.qmail@sourceware.org> (raw)

The branch, jankratochvil/gdbserverbuildid has been updated
  discards  e3b4a3c174a858ca8f19de50512232068c97ed8e (commit)
  discards  0593e434034ee1c8f0520f8f5353b559731125e5 (commit)
  discards  74e437dffa863a606887149823771505b3927ac0 (commit)
  discards  80abad8b99a0724cc1db161c0afedda49fb351d5 (commit)
  discards  65ab831d366a805dbf5371be2a656b498311ff74 (commit)
  discards  ee4802893e13874acc750f3556a45744f0dbf188 (commit)
  discards  72d7e28a2f18155418286c65a9923f91864cc7e7 (commit)
  discards  b6f5c675631fd75ab1b5c4eabef8f0d22d6502a7 (commit)
  discards  ee050b919c7d7de22ef04d8be91db53de5a99d09 (commit)
       via  60e25b7b58ec9f018a6cd33ea0f6789d1d1d04ea (commit)
       via  a5f4d3d7bedd2115a6185242c053a1032ecc9f99 (commit)
       via  bf18659834e6e48398dace329260ffaa1e26f7df (commit)
       via  23a4c243fc8e2a9634ee41a53632acaec1344db2 (commit)
       via  8454da3ccd129f95dcd0eac6a99bf78355689163 (commit)
       via  159945ef7f5c25e309c373025eb3f27572e8a806 (commit)
       via  d7abdc578c0828f63e37416bafebf830e9fcd640 (commit)
       via  635697584f5289fd090bc06a28bab625aad890a5 (commit)
      from  e3b4a3c174a858ca8f19de50512232068c97ed8e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 60e25b7b58ec9f018a6cd33ea0f6789d1d1d04ea
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 a5f4d3d7bedd2115a6185242c053a1032ecc9f99
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 bf18659834e6e48398dace329260ffaa1e26f7df
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 23a4c243fc8e2a9634ee41a53632acaec1344db2
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 8454da3ccd129f95dcd0eac6a99bf78355689163
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 159945ef7f5c25e309c373025eb3f27572e8a806
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 d7abdc578c0828f63e37416bafebf830e9fcd640
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 635697584f5289fd090bc06a28bab625aad890a5
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.

-----------------------------------------------------------------------

Summary of changes:
 README.archer |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
 delete mode 100644 README.archer

First 500 lines of diff:
diff --git a/README.archer b/README.archer
deleted file mode 100644
index ba65e1d..0000000
--- a/README.archer
+++ /dev/null
@@ -1,4 +0,0 @@
-[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.


             reply	other threads:[~2014-03-02 19:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02 19:50 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-03 20:58 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=20140302195036.8013.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: link
Be 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).