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 09:51:00 -0000	[thread overview]
Message-ID: <20140302095130.15837.qmail@sourceware.org> (raw)

The branch, jankratochvil/gdbserverbuildid has been updated
  discards  591da78b2118abb27e18cb15e1fd999746ff0fa1 (commit)
  discards  9bfc8cc7f83e8e4bfbe049b1b1a7872662253e8b (commit)
  discards  066b19e79da634dd488e084a6d41cdb3463fdbbb (commit)
  discards  5fd148de332aa1a61f7941a1f944facf6bdd2ceb (commit)
  discards  8e6d4ab38a6c4f809470ce78168c49c82ef69948 (commit)
  discards  fb9f93fc9db956497a21461355d84d1f2d4ae2fd (commit)
  discards  6d8951d7d1cc8719d70218684e7ac1f805df5e49 (commit)
  discards  b3ce684b0c5d3e0b7bf2250ad7ada427d4e7bdd0 (commit)
  discards  3568f863a43cdf5c4192466863ac1373c4dede4b (commit)
  discards  25f74e017f132f23bb1739cd6d138b241aeda267 (commit)
  discards  0ab7e2d25bf216fd9bd63e9c652e81a556595aad (commit)
  discards  c27b897f403c5997fe203b921c67ef5ec512225c (commit)
  discards  6dc0e59c89084a2352ef6d45e50a4bfd9e053ef8 (commit)
  discards  b0c663b3612a09d625a5f64c2dc0b8ff9997ba35 (commit)
  discards  d767a007c3608c8c3efefd214a30df7bb5411ae5 (commit)
  discards  335e60d6a25687a38957d4a67d1af6aaed586e50 (commit)
  discards  01c4ebea0c2e5ab1989a8b6104c00bef8db990bf (commit)
  discards  47191c56e4d64c6232384c1a07c146e75bcc5044 (commit)
  discards  8953a9a98a975ea23b068978d1ee372c2edf44c2 (commit)
  discards  47d8e322b49bbd7c7e5c086719d7d064863cffeb (commit)
  discards  e73781007d8946baaa0fad80c4b63e02d6f2c214 (commit)
  discards  d3ec4337e514d7408dc18b37e276307de4246c9b (commit)
  discards  1af6ede046bd329255da3404abbbde020cdaad16 (commit)
  discards  4286cd70ac36638260aa2b5286239fb2d9abf1d2 (commit)
  discards  de59d31f0e7d694bf74a5bd539ae28a70c87daf1 (commit)
  discards  114d2496eb0a546e45ba6231323f4726c7ad8f98 (commit)
  discards  02febadf5c8b484cdf4f6c21d180bb69806977e5 (commit)
  discards  c042536bf1cf98141bdfea27bbfc4879edb2ef6b (commit)
  discards  6e89496603071fcffee39778e90470507f921cc6 (commit)
  discards  70d1332fddaf6a882bb29f71ca06c11c20c0142c (commit)
  discards  a1f999ef391d081f054a00a4438fc63a5dca9c81 (commit)
  discards  c734bd191dc35caab1d1144cbb644b0ae809df21 (commit)
  discards  616244b999da49648cc518d936488423733b6004 (commit)
  discards  bd759813d02a070aab582ac8eb058de8d71158f9 (commit)
  discards  40ea991f614e4c0dafba727b3e977bf59c8023f7 (commit)
  discards  82a64af8aa803baca0e55c344738fdca619c775d (commit)
  discards  3ef6f2a3a73f9829472d433a4caf59395860a998 (commit)
  discards  9fde43fbd9f0b4fa1f0f3e3e1f733cd93cd5d2ce (commit)
  discards  147a9e17c3a2ce2b63c30c36f4927c7ba4048bd8 (commit)
  discards  8731b7cc80bb7993535cadb1348516bca1e95a8f (commit)
  discards  b3f6cef0c4b6ef2604f9bc4bcf4b6dd15cc20124 (commit)
  discards  ea6f7362ad2f71455e533160e5b2988c61b5c49a (commit)
  discards  46d3c531e5dd104157c2a2247f211d5c536ee93d (commit)
  discards  12e283612db836a5c5b13988d06d5549464afd70 (commit)
  discards  7b5ac718fc8e96a97621d7ebdc25665d00bb0cee (commit)
  discards  31a0d199eb496434c25aa454ce1ec4e369a8c450 (commit)
  discards  0259f689506db944e549c97cebc016e0e71fc3e6 (commit)
  discards  b88933a4a754a1067ada836905287d99727338bd (commit)
  discards  91c1ec8625f8f42c1c44601ca7b128ded76209fa (commit)
  discards  81243e04b6ea3d518ababc36311f0046add0ac92 (commit)
  discards  567261a58a564a1cc279128b3883515739d87ee9 (commit)
  discards  8a6d3810889b0c4042d4585f3896dff43d981bef (commit)
  discards  5b0224d092908433148b99de689dfe8bea74e21e (commit)
  discards  d151b54dd8143930a2b0a7da219e4ac337563d78 (commit)
  discards  9c2bdf7b7069db180779aad4659e21e6e1c41abf (commit)
  discards  999c3f45319a3d8156362e3341aa6c8584499a33 (commit)
  discards  fc6c556b6a7087e87b41479875d6683d2420215a (commit)
  discards  e41b043839e6720fba05a19131ecdc1d793372e5 (commit)
  discards  80328be5757d7313cda73fc0c86e0711679449c2 (commit)
  discards  ea11f1f08abbb9a19140ab33174803f224f25a78 (commit)
  discards  bc529e5b1265bbf57f0c31019ca2c2edf704494f (commit)
  discards  9c77c90aecb60a4a4b9c15378f82a02df1c640f1 (commit)
  discards  aee49f818113a8b1c9d700671cc69ee75d3b6fa5 (commit)
  discards  ebc59eaa68e272d0e91b8eb4012f5042b4715cf4 (commit)
  discards  a3589175ebe2c522e7986004ecad7d77d0eac961 (commit)
  discards  4e991a91cef609c4e62c2724c5d86b1196de9148 (commit)
  discards  671f540943a228e0c498941b6a96c142cd412434 (commit)
  discards  792a5126810b4cf12c54c8addaf4d1b8cfea9958 (commit)
  discards  56ef5fdbedd95e88becacf29099cbab3897de6ed (commit)
  discards  595ac3366074ea60f819ec83d50275b7774920f0 (commit)
  discards  679ede16a90f974d60f6f1ad3302d58af02a3fe0 (commit)
  discards  7bad875e11ec95dee65a2857d26dcc0fcc52105e (commit)
  discards  34f799f0688c57ec79077b5a67f7f9b3fa757460 (commit)
  discards  27ac6a4009aec533a8bb521910bc2bb470a94f99 (commit)
  discards  eb77327ca89ef69192321c879681833782d66ddb (commit)
  discards  fefe6627e443ba5e07f4ce900f7c4ba2c46eeea6 (commit)
  discards  8bca9b068d7cd885c09287ca2b341b68370e8862 (commit)
  discards  33702ef371203c2f60d7acfc7171ea4f7425f5db (commit)
  discards  40acb6e23877e92f9a25bb1aafbbf21a23e956e0 (commit)
       via  5de3b9620438df4453fb61bbf81c39e234e019c5 (commit)
       via  d66b2150ae277d597717f7d00aff9d79361eb871 (commit)
       via  74e437dffa863a606887149823771505b3927ac0 (commit)
       via  80abad8b99a0724cc1db161c0afedda49fb351d5 (commit)
       via  65ab831d366a805dbf5371be2a656b498311ff74 (commit)
       via  ee4802893e13874acc750f3556a45744f0dbf188 (commit)
       via  72d7e28a2f18155418286c65a9923f91864cc7e7 (commit)
       via  b6f5c675631fd75ab1b5c4eabef8f0d22d6502a7 (commit)
       via  ee050b919c7d7de22ef04d8be91db53de5a99d09 (commit)
       via  8913591154e90b90910807abf469039373802322 (commit)
       via  dc92ace0532a42c035eacc506901cf3b0da50c1d (commit)
       via  a900370fa1af4a7a0d4a5d3f2890c868b5881744 (commit)
       via  b72a79813d69202b6297d872344a8a3702fae85d (commit)
       via  512c56d6628733075b59bdfbe42c94ab72741ba4 (commit)
       via  8fd408f13060ea836b6b8e69e2480f3370bcdc35 (commit)
       via  96c70abaef209c125af95108ed28708cd394cac0 (commit)
       via  874a80af9f24c0009222e3860d351eccf5a1bc0d (commit)
       via  83046454b52f32e94780ab6f569a5923383aee65 (commit)
       via  9cf953733af60dbcd554cd744c560637233449bb (commit)
       via  7b3858e08a9c9c7bfc57315ef2f9fa3996d02053 (commit)
       via  025cac40e2bbee50de6d477159170ee24739dee9 (commit)
       via  1ed586ce1dd53225383bdc7a09ff0939266994b6 (commit)
       via  ab4756af55ddfeade06d9a14c0bd9e5c64145467 (commit)
       via  863e4da4b6713fbd0b3a19fe3a7f7be1ea34f704 (commit)
       via  89de4da46b3b3629c51e6e1a37177a6269dc8b05 (commit)
       via  02fe846e43cb0190251a6fefbd322201b4bbe02d (commit)
       via  9850436d9e423d66d67d27135896582b2725782e (commit)
       via  b721f1faaff1d7440b1e7cf5d920edb1d59b67c6 (commit)
       via  67496a9c135bb58ef0d7a949c86f06a0f5b695bf (commit)
       via  c725e7b6878220bbeac44b86a2581d74f16b497c (commit)
       via  670b46b3a90a150760d110dac4d1a85a0b94fb47 (commit)
      from  591da78b2118abb27e18cb15e1fd999746ff0fa1 (commit)

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

- Log -----------------------------------------------------------------
commit 5de3b9620438df4453fb61bbf81c39e234e019c5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:42 2014 +0100

    Tests for validate symbol file using build-id
    
    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 d66b2150ae277d597717f7d00aff9d79361eb871
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:42 2014 +0100

    Validate symbol file using build-id
    
    gdb/
    2014-02-26  Aleksandar Ristovski  <aristovski@qnx.com
    	    Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Validate symbol file using build-id.
    	* NEWS: Add build-id attribute note after 7.7.
    	* 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 74e437dffa863a606887149823771505b3927ac0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:42 2014 +0100

    gdbserver build-id attribute generator
    
    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 80abad8b99a0724cc1db161c0afedda49fb351d5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:41 2014 +0100

    Move linux_find_memory_regions_full & co.
    
    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 65ab831d366a805dbf5371be2a656b498311ff74
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
    
    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 ee4802893e13874acc750f3556a45744f0dbf188
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]
    
    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 72d7e28a2f18155418286c65a9923f91864cc7e7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:41 2014 +0100

    Merge multiple hex conversions
    
    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 b6f5c675631fd75ab1b5c4eabef8f0d22d6502a7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:41 2014 +0100

    Move utility functions to common/
    
    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 ee050b919c7d7de22ef04d8be91db53de5a99d09
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 2 10:15:40 2014 +0100

    archer README.archer

commit 8913591154e90b90910807abf469039373802322
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Mar 2 09:30:37 2014 +1030

    daily update

commit dc92ace0532a42c035eacc506901cf3b0da50c1d
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 17:13:47 2014 +0100

    Silence ARI warning.
    
    gdb/ChangeLog:
    
            * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.

commit a900370fa1af4a7a0d4a5d3f2890c868b5881744
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 15:29:34 2014 +0100

    Enable rhreads support on OpenBSD/i386.
    
    gdb/ChangeLog:
    
            * i386obsd-nat.c: Include "obsd-nat.h".
            (_initialize_i386obsd_nat): Call obsd_add_target instead of
            add_target.
            * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.

commit b72a79813d69202b6297d872344a8a3702fae85d
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 13:06:49 2014 +0100

    Eliminate pointer signedness warning.
    
    gdb/ChangeLog:
    
            * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.

commit 512c56d6628733075b59bdfbe42c94ab72741ba4
Author: Yuri Gribov <y.gribov@samsung.com>
Date:   Sat Mar 1 12:19:53 2014 +0100

    ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.

commit 8fd408f13060ea836b6b8e69e2480f3370bcdc35
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 12:03:30 2014 +0100

    Fix ChangeLog.

commit 96c70abaef209c125af95108ed28708cd394cac0
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 12:00:19 2014 +0100

    Enable rthreads support on OpenBSD/mips64.
    
    gdb/ChangeLog:
    
            * mips64obsd-nat.c: Include "obsd-nath".
            (_initialize_mips64obsd_nat): Call obsd_add_target instead of
            add_target
            * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.

commit 874a80af9f24c0009222e3860d351eccf5a1bc0d
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Mar 1 11:49:58 2014 +0100

    Enable rthreads support on OpenBSD/amd64.
    
    gdb/ChangeLog:
    
            * amd64obsd-nat.c (_initialize_amd64obsd_nat): Call
            obsd_add_target instead of add_target.
            * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.

commit 83046454b52f32e94780ab6f569a5923383aee65
Author: Denis Chertykov <chertykov@gmail.com>
Date:   Sat Mar 1 13:12:49 2014 +0400

    	* config/tc-avr.c: Remove atxmega16x1.

commit 9cf953733af60dbcd554cd744c560637233449bb
Author: Siva Chandra <sivachandra@chromium.org>
Date:   Thu Feb 27 05:51:46 2014 -0800

    Remove the unnecesary argument METHOD to valops.c:find_oload_champ.
    
    	* valops.c (find_oload_champ): Remove unneccesary argument METHOD.
    	(find_overload_match): Update call to find_oload_champ.
    	(find_oload_champ_namespace_loop): Likewise

commit 7b3858e08a9c9c7bfc57315ef2f9fa3996d02053
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Mar 1 09:31:08 2014 +1030

    daily update

commit 025cac40e2bbee50de6d477159170ee24739dee9
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Fri Feb 28 23:20:57 2014 +0100

    Add sparc64obsd-nat.c to ALLDEPFILES.
    
    gdb/ChangeLog:
    
            * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.

commit 1ed586ce1dd53225383bdc7a09ff0939266994b6
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Fri Feb 28 23:06:14 2014 +0100

    Enable rthreads supports on OpenBSD/sparc64.
    
    gdb/ChangeLog:
    
            * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
            * config/sparc/obsd64.mh: New file.
            * sparc64obsd-nat.c: New file.

commit ab4756af55ddfeade06d9a14c0bd9e5c64145467
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Fri Feb 28 22:58:57 2014 +0100

    Stupid git never fucking does what I want!

commit 863e4da4b6713fbd0b3a19fe3a7f7be1ea34f704
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Thu Feb 27 23:23:46 2014 +0100

    Support rthreads on OpenBSD 5.2 and later.
    
    OpenBSD 5.2 and later have a proper threads implementation based on
    kernel threads.  Debugging support is provided through additional
    ptrace(2) requests, so this diff extends the generic code in
    inf-ptrace.c with OpenBSD-specific code to discover additional threads.
    
    gdb/ChangeLog:
    
            * obsd-nat.h: New file.
            * obsd-nat.c: New file.
            * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
            (ALLDEPFILES): Add obsd-nat.c.

commit 89de4da46b3b3629c51e6e1a37177a6269dc8b05
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 23 20:53:23 2013 -0700

    constify ui_out_impl
    
    This patch constifies ui_out_impl in struct ui_out, and various
    instances of ui_out_impl.
    
    This removes a couple of FIXME comments (near cli_ui_out_impl and
    mi_ui_out_impl) that did not make sense to me.
    
    Tested by rebuilding.
    
    2014-02-28  Tom Tromey  <tromey@redhat.com>
    
    	* cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
    	* cli-out.h (cli_ui_out_impl): Now const.
    	* mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
    	* ui-out.c (struct ui_out) <impl>: Now const.
    	(default_ui_out_impl): Now const.
    	(ui_out_new): Make 'impl' parameter const.
    	* ui-out.h (ui_out_new): Update.

commit 02fe846e43cb0190251a6fefbd322201b4bbe02d
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 28 15:09:32 2014 +1030

    Incorrect .debug_line prologue header length for 64-bit DWARF
    
    Don't be clever, calculate the length directly as the difference of
    two symbols.
    
    	* dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
    	field for 64-bit dwarf.

commit 9850436d9e423d66d67d27135896582b2725782e
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 28 14:38:27 2014 +1030

    Fix check_relocs/gc_sweep_hook mismatch
    
    	PR ld/16643
    	* elflink.c (elf_gc_sweep): Call gc_sweep_hook for exactly
    	the same conditions we called check_relocs.

commit b721f1faaff1d7440b1e7cf5d920edb1d59b67c6
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 28 14:32:26 2014 +1030

    Regenerate opcodes/msp430-decode.c
    
    Cosmetic changes.
    
    	* msp430-decode.c: Regenerate.

commit 67496a9c135bb58ef0d7a949c86f06a0f5b695bf
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 28 09:31:17 2014 +1030

    daily update

commit c725e7b6878220bbeac44b86a2581d74f16b497c
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Thu Feb 27 21:51:08 2014 +0100

    Prevent compiler warning.
    
    GCC 4.2.1 complains about first_l_name may be used uninitialized, and my brain
    agrees.
    
    gdb/ChangeLog:
    
            * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.

commit 670b46b3a90a150760d110dac4d1a85a0b94fb47
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Thu Feb 27 21:22:29 2014 +0100

    StackGhost cookie is per-process.
    
    gdb/ChangeLog:
    
            * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.

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

Summary of changes:
 bfd/ChangeLog                             |    6 +
 bfd/elflink.c                             |    4 +-
 bfd/version.h                             |    2 +-
 gas/ChangeLog                             |    9 +
 gas/config/tc-avr.c                       |    1 -
 gas/dwarf2dbg.c                           |    8 +-
 gdb/ChangeLog                             |   66 ++++++
 gdb/Makefile.in                           |    7 +-
 gdb/NEWS                                  |    4 +
 gdb/amd64obsd-nat.c                       |    5 +-
 gdb/cli-out.c                             |    5 +-
 gdb/cli-out.h                             |    2 +-
 gdb/common/common-utils.c                 |    1 +
 gdb/common/common-utils.h                 |   19 --
 gdb/common/host-defs.h                    |   21 ++
 gdb/config/i386/obsd.mh                   |    2 +-
 gdb/config/i386/obsd64.mh                 |    2 +-
 gdb/config/mips/obsd64.mh                 |    2 +-
 gdb/config/sparc/obsd64.mh                |    5 +
 gdb/configure.host                        |    2 +-
 gdb/doc/gdb.texinfo                       |   34 +++
 gdb/gdbserver/linux-low.c                 |    2 +-
 gdb/i386obsd-nat.c                        |    7 +-
 gdb/mi/mi-out.c                           |    5 +-
 gdb/mips64obsd-nat.c                      |    3 +-
 gdb/obsd-nat.c                            |  185 ++++++++++++++++
 gdb/{common/host-defs.h => obsd-nat.h}    |   29 +--
 gdb/solib-svr4.c                          |    6 +-
 gdb/solib.c                               |   43 ++++-
 gdb/sparc-nat.c                           |    6 +-
 gdb/sparc64obsd-nat.c                     |  131 +++++++++++
 gdb/testsuite/gdb.base/solib-mismatch.exp |   11 +-
 gdb/ui-out.c                              |    6 +-
 gdb/ui-out.h                              |    2 +-
 gdb/valops.c                              |   29 ++-
 ld/testsuite/ChangeLog                    |    4 +
 ld/testsuite/ld-arm/arm-elf.exp           |    2 +-
 ld/testsuite/ld-arm/long-plt-format.d     |   20 +-
 opcodes/ChangeLog                         |    4 +
 opcodes/msp430-decode.c                   |  332 +++++++++++++++--------------
 40 files changed, 766 insertions(+), 268 deletions(-)
 create mode 100644 gdb/config/sparc/obsd64.mh
 create mode 100644 gdb/obsd-nat.c
 copy gdb/{common/host-defs.h => obsd-nat.h} (59%)
 create mode 100644 gdb/sparc64obsd-nat.c

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 472bc89..75a638c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2014-02-28  Alan Modra  <amodra@gmail.com>
+
+	PR ld/16643
+	* elflink.c (elf_gc_sweep): Call gc_sweep_hook for exactly
+	the same conditions we called check_relocs.
+
 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
 
 	* bfd-in.h: Add export of bfd_elf32_arm_use_long_plt.
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 28ccf53..47e4802 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -11992,7 +11992,9 @@ elf_gc_sweep (bfd *abfd, struct bfd_link_info *info)
 	     info we collected before.  */
 	  if (gc_sweep_hook
 	      && (o->flags & SEC_RELOC) != 0
-	      && o->reloc_count > 0
+	      && o->reloc_count != 0
+	      && !((info->strip == strip_all || info->strip == strip_debugger)
+		   && (o->flags & SEC_DEBUGGING) != 0)
 	      && !bfd_is_abs_section (o->output_section))
 	    {
 	      Elf_Internal_Rela *internal_relocs;
diff --git a/bfd/version.h b/bfd/version.h
index b9ae06c..442cef4 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20140227
+#define BFD_VERSION_DATE 20140302
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3469821..19783a9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+	* config/tc-avr.c: Remove atxmega16x1.
+
+2014-02-28  Alan Modra  <amodra@gmail.com>
+
+	* dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
+	field for 64-bit dwarf.
+
 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
 
 	* config/tc-i386.c (cpu_arch): Add .prefetchwt1.
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 332aa2d..6a672d8 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -261,7 +261,6 @@ static struct mcu_type_s mcu_types[] =
   {"atmega2564rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
   {"atxmega16a4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
   {"atxmega16d4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
-  {"atxmega16x1", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
   {"atxmega32a4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
   {"atxmega32d4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
   {"atxmega32x1", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 6d6ee2d..ac6148f 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1515,7 +1515,7 @@ static void
 out_debug_line (segT line_seg)
 {
   expressionS exp;
-  symbolS *prologue_end;
+  symbolS *prologue_start, *prologue_end;
   symbolS *line_end;
   struct line_seg *s;
   int sizeof_offset;
@@ -1527,10 +1527,14 @@ out_debug_line (segT line_seg)
   out_two (DWARF2_LINE_VERSION);
 
   /* Length of the prologue following this length.  */
+  prologue_start = symbol_temp_make ();
   prologue_end = symbol_temp_make ();
+  exp.X_op = O_subtract;
   exp.X_add_symbol = prologue_end;
-  exp.X_add_number = - (4 + 2 + 4);
+  exp.X_op_symbol = prologue_start;
+  exp.X_add_number = 0;
   emit_expr (&exp, sizeof_offset);
+  symbol_set_value_now (prologue_start);
 
   /* Parameters of the state machine.  */
   out_byte (DWARF2_LINE_MIN_INSN_LENGTH);
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5dadb4f..43243a6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,69 @@
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* i386obsd-nat.c: Include "obsd-nat.h".
+	(_initialize_i386obsd_nat): Call obsd_add_target instead of
+	add_target.
+	* config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* mips64obsd-nat.c: Include "obsd-nath".
+	(_initialize_mips64obsd_nat): Call obsd_add_target instead of
+	add_target
+	* config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* amd64obsd-nat.c: Include "obsd-nat,h.
+	(_initialize_amd64obsd_nat): Call obsd_add_target instead of
+	add_target.
+	* config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-02-28  Siva Chandra Reddy  <sivachandra@google.com>
+
+	* valops.c (find_oload_champ): Remove unneccesary argument METHOD.
+	(find_overload_match): Update call to find_oload_champ.
+	(find_oload_champ_namespace_loop): Likewise
+
+2014-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+	* Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
+
+	* configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
+	* config/sparc/obsd64.mh: New file.
+	* sparc64obsd-nat.c: New file.
+
+	* obsd-nat.h: New file.
+	* obsd-nat.c: New file.
+	* Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
+	(ALLDEPFILES): Add obsd-nat.c.
+
+2014-02-28  Tom Tromey  <tromey@redhat.com>
+
+	* cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
+	* cli-out.h (cli_ui_out_impl): Now const.
+	* mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
+	* ui-out.c (struct ui_out) <impl>: Now const.
+	(default_ui_out_impl): Now const.
+	(ui_out_new): Make 'impl' parameter const.
+	* ui-out.h (ui_out_new): Update.
+
+2014-02-27  Mark Kettenis  <kettenis@gnu.org>
+
+	* solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
+
+2014-02-27  Mark Kettenis  <kettenis@gnu.org>
+
+	* sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
+
 2014-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Additional PR 8882 fix.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3a03466..af93e49 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -865,7 +865,7 @@ gnulib/import/string.in.h gnulib/import/str-two-way.h \
 gnulib/import/stdint.in.h remote.h remote-notif.h gdb.h sparc-nat.h \
 gdbthread.h dwarf2-frame.h dwarf2-frame-tailcall.h nbsd-nat.h dcache.h \
 amd64-nat.h s390-linux-tdep.h arm-linux-tdep.h exceptions.h macroscope.h \
-gdbarch.h bsd-uthread.h memory-map.h memrange.h \
+gdbarch.h bsd-uthread.h memory-map.h memrange.h obsd-nat.h \
 mdebugread.h m88k-tdep.h stabsread.h hppa-linux-offsets.h linux-fork.h \
 ser-unix.h inf-ptrace.h terminal.h ui-out.h frame-base.h \
 f-lang.h dwarf2loc.h value.h sparc-tdep.h defs.h target-descriptions.h \
@@ -1640,7 +1640,7 @@ ALLDEPFILES = \
 	mips64obsd-nat.c mips64obsd-tdep.c \
 	msp430-tdep.c \
 	nios2-tdep.c nios2-linux-tdep.c \
-	nbsd-nat.c nbsd-tdep.c obsd-tdep.c \
+	nbsd-nat.c nbsd-tdep.c obsd-nat.c obsd-tdep.c \
 	solib-osf.c \
 	somread.c solib-som.c \
 	posix-hdep.c \
@@ -1667,7 +1667,8 @@ ALLDEPFILES = \
 	sparc-sol2-nat.c sparc-sol2-tdep.c sparc64-sol2-tdep.c \
 	sparc-nat.c sparc-tdep.c sparc64-linux-nat.c sparc64-linux-tdep.c \
 	sparc64-nat.c sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
-	sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
+	sparc64nbsd-nat.c sparc64nbsd-tdep.c \
+	sparc64obsd-nat.c sparc64obsd-tdep.c \
 	sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
 	sparc-ravenscar-thread.c \
 	spu-linux-nat.c spu-tdep.c spu-multiarch.c solib-spu.c \
diff --git a/gdb/NEWS b/gdb/NEWS
index 2a384ba..e876be4 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -51,6 +51,10 @@ maint ada show ignore-descriptive-types
      Timestamps can also be turned on with the
      "monitor set debug-format timestamps" command from GDB.
 
+  ** library-list-svr4 contains also optional attribute 'build-id' for
+     each library.  GDB also does not load library with build-id that
+     does not match such attribute.
+
 * The 'record instruction-history' command now starts counting instructions
   at one.  This also affects the instruction ranges reported by the
   'record function-call-history' command when given the /i modifier.
diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c
index e986c1b..01253cb 100644
--- a/gdb/amd64obsd-nat.c
+++ b/gdb/amd64obsd-nat.c
@@ -26,6 +26,7 @@
 
 #include "amd64-tdep.h"
 #include "amd64-nat.h"
+#include "obsd-nat.h"
 
 /* Mapping between the general-purpose registers in OpenBSD/amd64
    `struct reg' format and GDB's register cache layout for
@@ -137,8 +138,8 @@ _initialize_amd64obsd_nat (void)
   amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64obsd32_r_reg_offset);
   amd64_native_gregset64_reg_offset = amd64obsd_r_reg_offset;
 
-  /* We've got nothing to add to the common *BSD/amd64 target.  */
-  add_target (amd64bsd_target ());
+  /* Add some extra features to the common *BSD/amd64 target.  */
+  obsd_add_target (amd64bsd_target ());
 
   /* Support debugging kernel virtual memory images.  */
   bsd_kvm_add_target (amd64obsd_supply_pcb);
diff --git a/gdb/cli-out.c b/gdb/cli-out.c
index b936f30..5943fa7 100644
--- a/gdb/cli-out.c
+++ b/gdb/cli-out.c
@@ -349,10 +349,7 @@ field_separator (void)
 
 /* This is the CLI ui-out implementation functions vector */
 
-/* FIXME: This can be initialized dynamically after default is set to
-   handle initial output in main.c */
-
-struct ui_out_impl cli_ui_out_impl =
+const struct ui_out_impl cli_ui_out_impl =
 {
   cli_table_begin,
   cli_table_body,
diff --git a/gdb/cli-out.h b/gdb/cli-out.h
index db7824d..a592890 100644
--- a/gdb/cli-out.h
+++ b/gdb/cli-out.h
@@ -37,7 +37,7 @@ struct cli_ui_out_data
     int suppress_output;
   };
 
-extern struct ui_out_impl cli_ui_out_impl;
+extern const struct ui_out_impl cli_ui_out_impl;
 
 
 extern struct ui_out *cli_out_new (struct ui_file *stream);
diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c
index aa98768..3e0c15e 100644
--- a/gdb/common/common-utils.c
+++ b/gdb/common/common-utils.c
@@ -23,6 +23,7 @@
 #include "defs.h"
 #endif
 
+#include "host-defs.h"
 #include "gdb_assert.h"
 #include <string.h>
 
diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h
index fc994a3..97889d5 100644
--- a/gdb/common/common-utils.h
+++ b/gdb/common/common-utils.h
@@ -25,25 +25,6 @@
 #include <stddef.h>
 #include <stdarg.h>
 
-/* Static target-system-dependent parameters for GDB.  */
-
-/* * Number of bits in a char or unsigned char for the target machine.
-   Just like CHAR_BIT in <limits.h> but describes the target machine.  */
-#if !defined (TARGET_CHAR_BIT)
-#define TARGET_CHAR_BIT 8
-#endif
-
-/* * If we picked up a copy of CHAR_BIT from a configuration file
-   (which may get it by including <limits.h>) then use it to set
-   the number of bits in a host char.  If not, use the same size
-   as the target.  */
-
-#if defined (CHAR_BIT)
-#define HOST_CHAR_BIT CHAR_BIT
-#else
-#define HOST_CHAR_BIT TARGET_CHAR_BIT
-#endif
-
 /* If possible, define FUNCTION_NAME, a macro containing the name of
    the function being defined.  Since this macro may not always be
    defined, all uses must be protected by appropriate macro definition
diff --git a/gdb/common/host-defs.h b/gdb/common/host-defs.h
index e4acef0..71a7029 100644
--- a/gdb/common/host-defs.h
+++ b/gdb/common/host-defs.h
@@ -19,6 +19,27 @@
 #ifndef HOST_DEFS_H
 #define HOST_DEFS_H
 
+#include <limits.h>
+
+/* Static host-system-dependent parameters for GDB.  */
+
+/* * Number of bits in a char or unsigned char for the target machine.
+   Just like CHAR_BIT in <limits.h> but describes the target machine.  */
+#if !defined (TARGET_CHAR_BIT)
+#define TARGET_CHAR_BIT 8
+#endif
+
+/* * If we picked up a copy of CHAR_BIT from a configuration file
+   (which may get it by including <limits.h>) then use it to set
+   the number of bits in a host char.  If not, use the same size
+   as the target.  */
+
+#if defined (CHAR_BIT)
+#define HOST_CHAR_BIT CHAR_BIT
+#else
+#define HOST_CHAR_BIT TARGET_CHAR_BIT
+#endif
+
 #ifdef __MSDOS__
 # define CANT_FORK
 # define GLOBAL_CURDIR
diff --git a/gdb/config/i386/obsd.mh b/gdb/config/i386/obsd.mh
index 5d691b3..a9041f4 100644
--- a/gdb/config/i386/obsd.mh
+++ b/gdb/config/i386/obsd.mh
@@ -1,5 +1,5 @@
 # Host: OpenBSD/i386 ELF
-NATDEPFILES= fork-child.o inf-ptrace.o \
+NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o \
 	i386bsd-nat.o i386obsd-nat.o bsd-kvm.o
 
 LOADLIBES= -lkvm
diff --git a/gdb/config/i386/obsd64.mh b/gdb/config/i386/obsd64.mh
index 5c9899c..386a582 100644
--- a/gdb/config/i386/obsd64.mh
+++ b/gdb/config/i386/obsd64.mh
@@ -1,5 +1,5 @@
 # Host: OpenBSD/amd64
-NATDEPFILES= fork-child.o inf-ptrace.o \
+NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o \
 	amd64-nat.o amd64bsd-nat.o amd64obsd-nat.o bsd-kvm.o
 
 LOADLIBES= -lkvm
diff --git a/gdb/config/mips/obsd64.mh b/gdb/config/mips/obsd64.mh
index b41b2ee..ed04f9e 100644
--- a/gdb/config/mips/obsd64.mh
+++ b/gdb/config/mips/obsd64.mh
@@ -1,2 +1,2 @@
 # Host: OpenBSD/mips64
-NATDEPFILES= fork-child.o inf-ptrace.o mips64obsd-nat.o
+NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o mips64obsd-nat.o
diff --git a/gdb/config/sparc/obsd64.mh b/gdb/config/sparc/obsd64.mh
new file mode 100644
index 0000000..d15e34d
--- /dev/null
+++ b/gdb/config/sparc/obsd64.mh
@@ -0,0 +1,5 @@
+# Host: OpenBSD/sparc64
+NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o \
+	sparc64obsd-nat.o sparc-nat.o bsd-kvm.o
+
+LOADLIBES= -lkvm
diff --git a/gdb/configure.host b/gdb/configure.host
index 634213f..15a8288 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -164,7 +164,7 @@ sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu)
 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
 			gdb_host=nbsd64 ;;
 sparc-*-openbsd*)	gdb_host=nbsdelf ;;
-sparc64-*-openbsd*)	gdb_host=nbsd64 ;;
+sparc64-*-openbsd*)	gdb_host=obsd64 ;;
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
 			gdb_host=sol2
 			;;
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b1b29bd..c683ede 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17114,6 +17114,40 @@ libraries that were loaded by explicit user requests are not
 discarded.
 @end table
 
+@table @code
+@kindex set solib-build-id-force
+@item set solib-build-id-force @var{mode}
+Setting to override @value{GDBN} build-id check.
+
+Inferior shared library and symbol file may contain unique build-id.
+If both build-ids are present but they do not match then this setting
+enables (@var{mode} is @code{on}) or disables (@var{mode} is @code{off})
+loading of such symbol file.  On systems where build-id is not present
+in files this setting has no effect.  The default value is @code{off}.
+
+Loading non-matching symbol file may confuse debugging including breakage
+of backtrace output.
+
+By default @value{GDBN} will ignore symbol files with non-matching build-id
+while printing:
+
+@smallexample
+  Shared object "libfoo.so.1" could not be validated and will be ignored;
+  or use 'set solib-build-id-force'.
+@end smallexample
+
+Turning on this setting would load such symbol file while still printing:
+
+@smallexample
+  Shared object "libfoo.so.1" could not be validated but it is being loaded
+  due to 'set solib-build-id-force'.
+@end smallexample
+
+@kindex show solib-build-id-force
+@item show solib-build-id-force
+Display the current mode of build-id check override.
+@end table
+
 Sometimes you may wish that @value{GDBN} stops and gives you control
 when any of shared library events happen.  The best way to do this is
 to use @code{catch load} and @code{catch unload} (@pxref{Set
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 6f05bd4..972b609 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -5782,7 +5782,7 @@ struct find_memory_region_callback_data
 };
 
 /* Read build-id from PT_NOTE.
-   Argument LOAD_ADDR pepresents run time virtual address corresponding to
+   Argument LOAD_ADDR represents run time virtual address corresponding to
    the beginning of the first loadable segment.  L_ADDR is displacement
    as supplied by the dynamic linker.  */
 
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c
index f4d07fe..db97cb6 100644
--- a/gdb/i386obsd-nat.c
+++ b/gdb/i386obsd-nat.c
@@ -28,6 +28,7 @@
 
 #include "i386-tdep.h"
 #include "i386bsd-nat.h"
+#include "obsd-nat.h"
 #include "bsd-kvm.h"
 
 static int
@@ -64,7 +65,7 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   if ((pcb->pcb_flags & PCB_SAVECTX) == 0)
     {
       /* Yes, we have a frame that matches cpu_switch().  */
-      read_memory (pcb->pcb_esp, (char *) &sf, sizeof sf);
+      read_memory (pcb->pcb_esp, (gdb_byte *) &sf, sizeof sf);
       pcb->pcb_esp += sizeof (struct switchframe);
       regcache_raw_supply (regcache, I386_EDI_REGNUM, &sf.sf_edi);
       regcache_raw_supply (regcache, I386_ESI_REGNUM, &sf.sf_esi);
@@ -94,8 +95,8 @@ void _initialize_i386obsd_nat (void);
 void
 _initialize_i386obsd_nat (void)
 {
-  /* We've got nothing to add to the common *BSD/i386 target.  */
-  add_target (i386bsd_target ());
+  /* Add some extra features to the common *BSD/i386 target.  */
+  obsd_add_target (i386bsd_target ());
 
   /* Support debugging kernel virtual memory images.  */
   bsd_kvm_add_target (i386obsd_supply_pcb);
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index a8a3d8d..6ec41e6 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -67,10 +67,7 @@ static int mi_redirect (struct ui_out *uiout, struct ui_file *outstream);
 
 /* This is the MI ui-out implementation functions vector */
 
-/* FIXME: This can be initialized dynamically after default is set to
-   handle initial output in main.c */
-
-struct ui_out_impl mi_ui_out_impl =


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2014-03-02  9:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02  9:51 jkratoch [this message]
2014-03-02 18:52 jkratoch
2014-03-02 19:50 jkratoch
2014-03-03 20:58 jkratoch
2014-03-08 19:58 jkratoch
2014-03-19 21:22 jkratoch
2014-03-19 22:17 jkratoch
2015-06-07 20:02 jkratoch
2015-06-07 20:03 jkratoch
2015-06-14 19:25 jkratoch
2015-06-21 10:15 jkratoch
2015-07-23 17:19 jkratoch
2015-08-03 20:36 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=20140302095130.15837.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).