From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28172 invoked by alias); 9 Nov 2012 15:09:07 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 27973 invoked by uid 9514); 9 Nov 2012 15:09:04 -0000 Date: Fri, 09 Nov 2012 15:09:00 -0000 Message-ID: <20121109150904.27958.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace X-Git-Refname: refs/heads/archer-pmuldoon-python-backtrace X-Git-Reftype: branch X-Git-Oldrev: d41e9fbcd585abcf20e26ccb449bec2b5359d081 X-Git-Newrev: 760a4e8c0bda2e5cfe3b2a89d516e197ec8d5834 X-SW-Source: 2012-q4/txt/msg00006.txt.bz2 List-Id: The branch, archer-pmuldoon-python-backtrace has been updated via 760a4e8c0bda2e5cfe3b2a89d516e197ec8d5834 (commit) via 3a6f1ccbb9ac9cce0eeea23c864cdd753d9afde5 (commit) via 692b088e432f05e3db0af78c376c9751504ff804 (commit) via 9e2ad93ac5211111d8fbcb75179df590d27be185 (commit) via 86bfff1fc7f5a674955e37c1ea74f468075c28e6 (commit) via 2d9f85f1eb26ed1bee5432cb9d7e729e58b3fe4a (commit) via f6a8289bf0d86e58a89ad6665e99e50309648f78 (commit) via a3f7e56f31409909e9474b801aada3e77b812cd3 (commit) via 62047ec9c7daf67b6abc8ddda5beab6e34c27c86 (commit) via bbc0941a459545f38f2cbc9b405a4f332da8cf49 (commit) via 094722a6bfbe1170cf846446dcd4d628b068acf5 (commit) via 80ad27952a54cffe851e6b44255ebfa0eeea734c (commit) via 68e83f7e12b86283864c3850cd8f382e4d54dbb2 (commit) via d25f8700ddd9eb0cab7a981de862bdb1118b901d (commit) via d7650648438fc092ac64def6fe3691ce308ce17b (commit) via 1b05b77b857f26c59ad5dc6443fc8baa21696440 (commit) via b9aac110504cd50dbf2fc2c99dff503a1fed64c2 (commit) via c80bc9d5a45ce1fdf7a7785bf22f0bcf28189c30 (commit) via dbadd7651e4af06d2e9cf3514645037f47a7a408 (commit) via bc1bd5ae3aa52fe72fe134d83b8a1ea5e12779e5 (commit) via c3c7632aa8128a730e1593adf482d7e270614b65 (commit) via 6acea0d900a0746d55c028560beea2ad40ce9a7e (commit) via ff3a4281be20a863036c4b3ae283dbccb1db043b (commit) via 1fc9cc889261a8c950f5b5b07cd625f107433c78 (commit) via b653b2351991accb6cfbfe303680270cd9e3ef93 (commit) via 024470df41d13fd15d7361fa2fa6e324a2722c6a (commit) via 9878bd8e85d1c66d392008475dd237aa32fff24f (commit) via 0a3dfa95f9db12efdaec4612dd08feb696ecba6e (commit) via 5cdd252cddeed8c3d748d9b7d71270d2728c1f66 (commit) via 0c0e0bcb81cced432e4b43f2d1317e573dbc0457 (commit) via 307de59c761ce9ae70994d22c940196c231f6e76 (commit) via ca237c3025b40ebf91f7be72d86200145f538dd8 (commit) via f6a4dfebbac18f3a8c8d0c0a6968307bd8da19a3 (commit) via 17df192578753854b0d45c5209d48469c24c792b (commit) via 3147b7af81d32b743038a3e17b559a328b478cb3 (commit) via 109328751d427ec5cea5ade3ff354c25a7ef9d0b (commit) via 36a695fb01d1943fa88154fe6ace0bfa4fc21e36 (commit) via 0ef4f132f03e08f37d63cfba1965268877395062 (commit) via 9e7bec470963135aca772a03762226bc64235475 (commit) via 7a28b7027e2d6891c62c34ea81c13f76a5557c96 (commit) via ae6ebe8293b3d20e2b6a57c9c90fd098691668db (commit) via add93132be74fe5e7d1136374957b4e723d6be07 (commit) via 350b2e5a9e60fbdca49976af78da97a935871642 (commit) via 07a037ea9109f017ca57c3bd4ba552e8b7a066e9 (commit) via 868ecd6c513ddfbcf0bd5f795d32b988e12a7760 (commit) via 18a8ae6f5c9a19413cf7b4c86dac2694edd62a05 (commit) via 6587894272f6a8c169b18af29b8f7d8731c32ec8 (commit) via 0ddd74bbf5e2484a8047fe3aa092382977c6744c (commit) via b279345e57a73b8b4efe55981b4f2319867ffd1d (commit) via fd949adbdd76417ee7d09c11e31ec525436c2bcf (commit) via d049749f0461751989fdb7c0badb0f96d438c317 (commit) via eb8b900e1b338d4542bfeca644f093db0fccc4a7 (commit) via b5e33388d7d2a0b6eaad4dfac743fc0a2fcbfa45 (commit) via 9d457b6cca88850d5ffd116345866aab4d37d3de (commit) via 91fa3bd9bbeca169fccba8da74c88949e229407b (commit) via 040c56808ae2669f5830bbe9b8e50671558040ee (commit) via 9d2d268c97cb5bcbe5ee8f9dac1ce67a8c058c9c (commit) via f7200c92a94917183853919b401825e6c633e86e (commit) via 68c4ef40983c14f89f27b07c00b268e2d40ad5a4 (commit) via d1e538f76d2d6ff4e16316604eddc268eb9c48c7 (commit) via 1acb4f4ff73d20850a7524fc939d2651be75f47b (commit) via 871c72611fa8febda0cabd7af0a47263ff487607 (commit) via 76ac65f036deee7cb65dc8c45dd2ae1358090271 (commit) via c5c7a9f7cb5db685738103f6679332dbcd17d3db (commit) via 1345a5dfb69834e447205d8f3cfcc67c5df1fcf1 (commit) via e67604bdb3c242e1d4a907c3cb81ff2bb9e0ea81 (commit) via 8314d9c6a72f21f227d332f592150edc5e57357a (commit) via d0851d1814b14600674a752332747292f61e4c22 (commit) via 13e6b95202719c7ffcb703fe0ba5391d4b6dea18 (commit) via 8db52c7e6f7d5e34f45567eb63d104df35156c27 (commit) via fa2e30ad494576af521616372864d978bce71f4a (commit) via 3ae88b302fb3429848f694eb705a317279416552 (commit) via 5f06669958a7f0376ce2725634340bd79522950d (commit) via 80995c1d9c4cddb70884e64f57322b05c3a716d6 (commit) via f686fad54f976c3c2dcd9a8c79e7ca7dd5679a9e (commit) via 720915dfa0bd0b95a4a709850a94a39e57e67498 (commit) via 2e2051fc8b1022775822e8f5b4a16fcfcc394907 (commit) via 93e5a6bf5048d75edcd831365d7853fa2715755b (commit) via 1c24f95be28b49c049483003bbea7ae0081a2baf (commit) via 62b68d1f6753b4f9c59d1e46a1fd90fc6c3fd220 (commit) via a0dc3677761b8c0435bb8ecb3d75ca91719caf90 (commit) via 08134fffa6a952d52e636e3ffa7ef15298a0de84 (commit) via a5fb047692513474e9722991a1b673d32ffd0591 (commit) via 10f7c678209c2f1838d389c9eb2525e1650b8074 (commit) via 83143a7ccdacdb672c3674f90e77aca3a7d9afcd (commit) via 92c56448eeafb52a5d9e5d3dd9b7e2c7ed72cade (commit) via d07556f15a449d4ccca08cf71e9ec2e0138de189 (commit) via 84049d009c7063ad81fd2894d82fc95bba61f205 (commit) via a10dc0a2557a0e536af0a7ab20b76aae17bdcb5f (commit) via 1fbd3bd5499ffd25c433bcb26578ab59777b1e64 (commit) via 5ffa1754840879034fbda71ee104c93e7ba00cda (commit) via 5c70772eb8c75387908d8b8afe618754dd99e624 (commit) via 4607bd4fdd277d06b6899a0c5ae8fd9d07e5df5c (commit) via e281722af34b2af1d618a76b424380647d87acb2 (commit) via e40e26d3d76034c65bdfddbce8e3403a1d596b43 (commit) via e98bac230e39639aed35c28d952a98909394a97a (commit) via ea4ff8d1d73a9502be87324a534d78cfe335305a (commit) via c9c130ac3f6c6b64b3da94b3d944713ddc6f3f40 (commit) via 0fbdbf8ab0f48e4c2bf17ee3c4bc6674d7e2aada (commit) via fc9c1f833f1eccbd13f1551b60cf7dbd0f60628f (commit) via 05f864b34a7e3d86ae542df9932c4d2f9a2ee433 (commit) via cc9fdf21740ab2d73a16495915d2995757b66a51 (commit) via 18d80c6a3aa2d2745b02a1aad84255681fe8f1e9 (commit) via d934e2680c3d616492c244d2f9cc866c015a3609 (commit) via 46707f578440d18151bafba06a515599d7ca7473 (commit) via a58fce24d6e5d321a5507f66f7c191e62fb44be2 (commit) via 073998cce210afb84c4054e5cc3c083e74ab4104 (commit) via 4ac7ff9c065171c6755e08f03323155c33722d60 (commit) via c17e24e0248db3f291d0bda1d5788e1617182916 (commit) via 01d04876ef93141d981285bafc903f66ab8e63ab (commit) via 5e448a3dd1172ef068256dbccad2574af8d5b666 (commit) via db30399c292e757197085593dc19bce31864c4b4 (commit) via 2fd8369b7bddce1595deee7b432fdda08eddc67a (commit) via 6aca2afa90140848d729211db08491b1446d3e15 (commit) via 074a3bb449e2f5c80fd669107cceeb35cbb14431 (commit) via cd3e40ea6be40238694b1b431f2c1b58cd3301dd (commit) via 1b20633a70c3b6793d7b42ea4f1a9db32e5134a2 (commit) via 7cc847695a96db1c352c11aae490ac3bea46f4e8 (commit) via 924764b87a02b0d6a27ed7e589678bad25fabade (commit) via 1c359544259eeb017e7248e1bf613c6ce2685171 (commit) via bfd6b74167148588aeab880bc5fee5376c6920c7 (commit) via cd9af2fbd72a996d852d6f0e95f778c1b19f26c4 (commit) via 3080a3a0a06a2e91c48f4fccddcdfcfc390d3561 (commit) via 103a3c9e658e29701dcb9dd918596ad1468e4814 (commit) via 7e6de3daa24d5718940b013737e54a363831601f (commit) via bbb4c70ce0ae87716fa2c09ef0c9045620034464 (commit) via 327eab58c81bcac824e73e85679a224dd67c9a6d (commit) via 7e8519b3d471038f4058167e778d9660560f07a5 (commit) via 6169aac6cdcf3fd54e52c7dae7da45a457c0b302 (commit) via 6415c11680aea75874d95189eba2ae3782100a74 (commit) via 733d0c7c963719d34e99dcb35879b2418c1bd613 (commit) via 858fd00a467d6b3adadd47508ef6ec54b1e64067 (commit) via a49fb98d2ee3530e0b4d101a7c7706717a93bd85 (commit) via b9a7f6edfa283f15e3f58a2f955e3f30a8f7af56 (commit) via 7fce6a4fa3ed7553aa8454666bfe896e605f7e53 (commit) via d6c3c4a5ad09e3a1e3dd17836c39c3d5cb81d69c (commit) via 7332ce74bfbc4470f7245004b9a8ea6276aa1710 (commit) via 31337e61a3a460b806281db79bdf05ad4660e43e (commit) via 997d8e5e5fcaf31fda4d34c5e0facdadf3875208 (commit) via e3ccae427acc6a03d43b01a38c1165914061e672 (commit) via 001da3c7e838bdf58cc739de62159c3f5d4f493b (commit) via 09fed62171dee60d4df3ad42d33be24130daa7fb (commit) via 718129c64f92bd9402eba24d00642fec78f83791 (commit) via f4ffd90a7bd3da2011167daa7ec911dd56a4dbfc (commit) via ce33f9885f14311c596a4177789dfdbdf0a6ea11 (commit) via d59b20d2d10082d7a2df547f314b0759bbb58baa (commit) via 59edf67862d31cd6ee25248d4492c2924201f54d (commit) via f92a5d158b60347eb72ebfbb8ec231bdd42483ac (commit) via 6778cf56aa3925d6c3c8ba4c7976e553207e3a44 (commit) via e8d292014c88266e35d7cff759d4a65fab0f6470 (commit) via e7e9e7efbed40700dc661edb5b487b3f0c28b373 (commit) via e330111d534c214f7bc0a1f0d4c6e483e1bbfdad (commit) via f8711c468527f9f5a15382d9cbf8b0d8b2cb92ab (commit) via 535ddb5a0174a2fdb9076369721df0c5f4f276b3 (commit) via 1fd8df38a3111efcd30105bfbe5b17be92097fc7 (commit) via bd9917ad0699d50eee004326fe2c1f9ceb92045f (commit) via 0a6d4b0fca4b836b2d724b0f1c31dc0675f7e9c9 (commit) via 48905955871307cb809e1efc8694792379c9ae51 (commit) via 5c530ee746d0126580ffa64f675671cdae4a0e96 (commit) via 92f69465c0d05ca006792fe964fe3a636e17154b (commit) via b35a5aa5da6d0f2c724803c6574a6e09dddd6cf3 (commit) via af557426433d59afecc8c7325371dca77bdaddd7 (commit) from d41e9fbcd585abcf20e26ccb449bec2b5359d081 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 760a4e8c0bda2e5cfe3b2a89d516e197ec8d5834 Merge: d41e9fb 3a6f1cc Author: Phil Muldoon Date: Fri Nov 9 15:08:34 2012 +0000 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit 3a6f1ccbb9ac9cce0eeea23c864cdd753d9afde5 Author: aburgess Date: Fri Nov 9 13:23:31 2012 +0000 http://sourceware.org/ml/gdb-patches/2012-10/msg00083.html gdb/ChangeLog * source.c (print_source_lines_base): Add fullname field giving full path to file in mi output. * NEWS: Mention the new fullname field. gdb/doc/ChangeLog * gdb.texinfo (GDB/MI Data Manipulation): Add fullname field to the example -data-disassemble output. Extend the description of the -data-disassemble results to document all fields. Document the cli disassemble command as being related to -data-disassemble. gdb/testsuite/ChangeLog * gdb.mi/mi-disassemble.exp: Expect fullname field in mi disassembly output. commit 692b088e432f05e3db0af78c376c9751504ff804 Author: qiyao Date: Fri Nov 9 12:48:06 2012 +0000 2012-11-09 Yao Qi * NEWS: Mention the fix to the ambiguity of 'fo' command. commit 9e2ad93ac5211111d8fbcb75179df590d27be185 Author: Pedro Alves Date: Fri Nov 9 12:20:21 2012 +0000 2012-11-09 Pedro Alves PR gdb/14306 * infrun.c: Include target-descriptions.h. (follow_exec): Fetch new target description. gdb/testsuite/ 2012-11-09 Pedro Alves PR gdb/14306 * gdb.multi/multi-arch-exec.c: New file. * gdb.multi/multi-arch-exec.exp: New file. commit 86bfff1fc7f5a674955e37c1ea74f468075c28e6 Author: qiyao Date: Fri Nov 9 10:11:19 2012 +0000 gdb: * i386-tdep.c (i386_analyze_frame_setup): Handle opcode 0x8d (lea). commit 2d9f85f1eb26ed1bee5432cb9d7e729e58b3fe4a Author: H.J. Lu Date: Fri Nov 9 08:29:27 2012 +0000 Remove trailing redundant `;' bfd/ * aout-tic30.c (MY_final_link_callback): Remove trailing redundant `;'. * coff-h8500.c (extra_case): Likewise. (bfd_coff_reloc16_get_value): Likewise. * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. * elf.c (_bfd_elf_slurp_version_tables): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-v850.c (v850_elf_perform_relocation): Likewise. * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. * plugin.c (add_symbols): Likewise. * reloc.c (bfd_check_overflow): Likewise. * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. binutils/ * coffgrok.c (coff_grok): Remove trailing redundant `;'. * resrc.c (open_input_stream): Likewise. gas/ * config/atof-ieee.c (gen_to_words): Remove trailing redundant `;'. * config/atof-vax.c (flonum_gen2vax): Likewise. * config/tc-d10v.c (write_2_short): Likewise. * config/tc-i386-intel.c (i386_intel_simplify): Likewise. * config/tc-s390.c (tc_s390_force_relocation): Likewise. * config/tc-v850.c (md_parse_option): Likewise. * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise. * dwarf2dbg.c (out_header): Likewise. * symbols.c (dollar_label_name): Likewise. (fb_label_name): Likewise. ld/ * testplug.c (record_add_file): Remove trailing redundant `;'. opcodes/ * aarch64-opc.h (gen_mask): Remove trailing redundant `;'. * ia64-gen.c (fetch_insn_class): Likewise. commit f6a8289bf0d86e58a89ad6665e99e50309648f78 Author: qiyao Date: Fri Nov 9 07:20:56 2012 +0000 2012-11-09 Yao Qi * breakpoint.c: Declare set_tracepoint_count. (install_breakpoint): Call set_tracepoint_count if B is a tracepoint. (trace_command): Don't call set_tracepoint_count. Re-indent. (strace_command, ftrace_command): (create_tracepoint_from_upload): Likewise. gdb/testsuite: 2012-11-09 Yao Qi * gdb.mi/mi-break.exp (test_abreak_creation): New procedure. (top level): Call it commit a3f7e56f31409909e9474b801aada3e77b812cd3 Author: qiyao Date: Fri Nov 9 03:06:29 2012 +0000 gdb/doc: PR gdb/14777. * gdb.texinfo (OS Information): Remove doc on command 'info udot'. commit 62047ec9c7daf67b6abc8ddda5beab6e34c27c86 Author: qiyao Date: Fri Nov 9 02:58:50 2012 +0000 gdb/gdbserver: 2012-11-09 Yao Qi * spu-low.c (current_ptid): Move it to .. * gdbthread.h: ... here. New. * remote-utils.c (read_ptid): Use macro 'current_ptid'. * server.c (myresume, process_serial_event): Likewise. * thread-db.c (thread_db_find_new_threads): Likewise. * tracepoint.c (run_inferior_command): Likewise. commit bbc0941a459545f38f2cbc9b405a4f332da8cf49 Author: qiyao Date: Fri Nov 9 02:30:48 2012 +0000 gdb/testsuite: * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix typo. commit 094722a6bfbe1170cf846446dcd4d628b068acf5 Author: Pedro Alves Date: Fri Nov 9 01:47:13 2012 +0000 gdb/ 2012-11-09 Pedro Alves * gdbarch.sh (target_gdbarch) : Reimplement as macro. (get_target_gdbarch) : New function. (startup_gdbarch) : Declare. (target_gdbarch): Delete. (deprecated_target_gdbarch_select_hack): Set the current inferior's gdbarch. (get_target_gdbarch): New function. * inferior.c: Include target-descriptions.h. (free_inferior): Free target description info. (add_inferior_with_spaces): Set the inferior's initial architecture. (clone_inferior_command): Copy the original inferior's target description if it was user specified. (initialize_inferiors): Add comment. * inferior.h (struct target_desc_info): Forward declare. (struct inferior) : New field. * linux-nat.c: Include target-descriptions.h. (linux_child_follow_fork): Copy the parent's architecture and target description to the child. * target-descriptions.c: Include inferior.h. (struct target_desc_info): New structure, holding the equivalents of ... (target_desc_fetched, current_target_desc) (target_description_filename): ... these removed globals. (get_tdesc_info, target_desc_info_from_user_p) (copy_inferior_target_desc_info, target_desc_info_free): New. (target_desc_fetched, current_target_desc) (target_description_filename): Reimplemented as convenience macros. (tdesc_filename_cmd_string): New global. (set_tdesc_filename_cmd): Copy the string manipulated by the "set tdescs filename ..." commands to the per-inferior equivalent. (show_tdesc_filename_cmd): Get the value to show from the per-inferior description filename. (_initilize_target_descriptions): Change the "set/show tdesc filename" commands' variable. * target-descriptions.h (struct target_desc, struct target_desc_info) (struct inferior): Forward declare. (target_find_description, target_clear_description) (target_current_description): Adjust comments. (copy_inferior_target_desc_info, target_desc_info_free) (target_desc_info_from_user_p). Declare. gdb/testsuite/ 2012-11-09 Pedro Alves * gdb.multi/multi-arch.exp: New. commit 80ad27952a54cffe851e6b44255ebfa0eeea734c Author: gdbadmin Date: Fri Nov 9 00:00:03 2012 +0000 *** empty log message *** commit 68e83f7e12b86283864c3850cd8f382e4d54dbb2 Author: Alan Modra Date: Thu Nov 8 23:00:04 2012 +0000 daily update commit d25f8700ddd9eb0cab7a981de862bdb1118b901d Author: Stephane Carrez Date: Thu Nov 8 22:54:09 2012 +0000 * tui/tui-hooks.c (tui_about_to_proceed): New function. (tui_target_wait_hook): Remove. (tui_install_hooks): Install the about_to_proceed observer. (tui_remove_hooks): And remove it here. commit d7650648438fc092ac64def6fe3691ce308ce17b Author: Joel Brobecker Date: Thu Nov 8 22:26:31 2012 +0000 document gdb.init check only performed in home directory The documentation is a little ambiguous and might be suggesting that GDB checks all locations where a gdbinit might be located for gdb.ini files. This clarifies the current situation. gdb/doc/ChangeLog: * gdb.texinfo (Startup): Minor rewording, and clarify scope of gdb.ini warning for Windows port. commit 1b05b77b857f26c59ad5dc6443fc8baa21696440 Author: Tom Tromey Date: Thu Nov 8 21:16:35 2012 +0000 gdb * linux-tdep.c (linux_make_siginfo_note): New function. (linux_make_corefile_notes): Use it. * corelow.c (get_core_siginfo): New function. (core_xfer_partial) : New case. gdb/testsuite * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from core files, if possible. * gdb.base/siginfo-thread.c: New file * gdb.base/siginfo-thread.exp: New file bfd * elf.c (elfcore_grok_note) : New case; make pseudosection. commit b9aac110504cd50dbf2fc2c99dff503a1fed64c2 Author: Tom Tromey Date: Thu Nov 8 19:52:40 2012 +0000 PR gdb/14704: * gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS. (zlib_decompress_section): Remove. (gdb_bfd_map_section): Only check for compressed section in mmap case. Use bfd_get_full_section_contents. * osabi.c (check_note): Add 'sectsize' argument. Read section data. (generic_elf_osabi_sniff_abi_tag_sections): Don't read section data. Update for check_note change. * xcoffread.c (xcoff_initial_scan): Use bfd_get_full_section_contents. * py-auto-load.c (auto_load_section_scripts): Use bfd_get_full_section_contents. * contrib/cc-with-tweaks.sh: Add -Z option. testsuite * gdb.base/comprdebug.exp: New file. commit c80bc9d5a45ce1fdf7a7785bf22f0bcf28189c30 Author: Tom Tromey Date: Thu Nov 8 19:38:41 2012 +0000 * python/py-bpevent.c: Include defs.h. * python/py-continueevent.c: Include defs.h. * python/py-event.c: Include defs.h. * python/py-event.h: Don't include defs.h. * python/py-events.h: Don't include defs.h. * python/py-evts.c: Include defs.h. * python/py-exitedevent.c: Include defs.h. * python/py-newobjfileevent.c: Include defs.h. * python/py-signalevent.c: Include defs.h. * python/py-stopevent.c: Include defs.h. * python/py-threadevent.c: Include defs.h. commit dbadd7651e4af06d2e9cf3514645037f47a7a408 Author: Maciej W. Rozycki Date: Thu Nov 8 18:25:23 2012 +0000 * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits. commit bc1bd5ae3aa52fe72fe134d83b8a1ea5e12779e5 Author: Pierre Muller Date: Thu Nov 8 16:50:47 2012 +0000 * update-web-ari.sh (print_heading): Add number of files checked. (nb_files): New variable counting the number of sources files found by gdb_find.sh script. (debug_awk): New variable to allow extra debug output. (indexes): Add more information if DEBUG_AWK is set. commit c3c7632aa8128a730e1593adf482d7e270614b65 Author: emachado Date: Thu Nov 8 14:16:31 2012 +0000 * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2, ppc64_standard_linkage3): Mark ld r11 instructions as optional, following the change in PLT call stubs on linker. commit 6acea0d900a0746d55c028560beea2ad40ce9a7e Author: Pierre Muller Date: Thu Nov 8 09:04:26 2012 +0000 * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c' as default language. (AWK): Use = instead of == for sh test to avoid warning. (Linux rule): Correct [:digit] into [[:digit:]]. (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory. (vasprintf rule): Adapt to common subdirectory moves. (xasprintf rule): Idem. (xvasprintf rule): Idem. (var_boolean rule): Accept occurence in == or != test. * contrib/ari/gdb_find.sh: Also prune gdbtk directory. commit ff3a4281be20a863036c4b3ae283dbccb1db043b Author: Stephane Carrez Date: Thu Nov 8 06:58:28 2012 +0000 * tui/tui-hooks.c (tui_inferior_exit): New function. (tui_detach_hook): Remove. (tui_install_hooks): Install the inferior exit observer. (tui_remove_hooks): Remove it. commit 1fc9cc889261a8c950f5b5b07cd625f107433c78 Author: qiyao Date: Thu Nov 8 04:05:13 2012 +0000 gdb/doc: 2012-11-08 Yao Qi * gdb.texinfo (Search): Add kindex for 'fo'. gdb: 2012-11-08 Yao Qi PR gdb/14777. * source.c (_initialize_source): Call add_com_alias to abbreviate 'forward-search' as 'fo'. commit b653b2351991accb6cfbfe303680270cd9e3ef93 Author: Alan Modra Date: Thu Nov 8 03:03:18 2012 +0000 Regenerate. commit 024470df41d13fd15d7361fa2fa6e324a2722c6a Author: gdbadmin Date: Thu Nov 8 00:00:32 2012 +0000 *** empty log message *** commit 9878bd8e85d1c66d392008475dd237aa32fff24f Author: Alan Modra Date: Wed Nov 7 23:00:05 2012 +0000 daily update commit 0a3dfa95f9db12efdaec4612dd08feb696ecba6e Author: Pedro Alves Date: Wed Nov 7 20:10:07 2012 +0000 2012-11-07 Pedro Alves * arm-tdep.c: Make defs.h be the first include. * coff-pe-read.c: Ditto. * gnu-nat.c: Ditto. * go32-nat.c: Ditto. * i386-nat.c: Ditto. * ppcnbsd-nat.c: Ditto. * ada-varobj.h: Don't include defs.h. * i386-darwin-tdep.h: Ditto. * i386-nat.h: Ditto. commit 5cdd252cddeed8c3d748d9b7d71270d2728c1f66 Author: Pedro Alves Date: Wed Nov 7 15:39:04 2012 +0000 2012-11-07 Pedro Alves * MAINTAINERS: New FSF-appointed maintainers replace the Steering Committee. commit 0c0e0bcb81cced432e4b43f2d1317e573dbc0457 Author: Pierre Muller Date: Wed Nov 7 12:35:04 2012 +0000 * common/linux-osdata.c (dirent.h): ARI fix: Remove. File already uses "gdb_dirent.h" header. commit 307de59c761ce9ae70994d22c940196c231f6e76 Author: H.J. Lu Date: Wed Nov 7 05:57:23 2012 +0000 Replace memcpy with memmove * section.c (bfd_get_section_contents): Replace memcpy with memmove. commit ca237c3025b40ebf91f7be72d86200145f538dd8 Author: Hans-Peter Nilsson Date: Wed Nov 7 05:51:35 2012 +0000 PR binutils/14481 * aout-target.h (MY_close_and_cleanup): Make local function instead of alias of MY_bfd_free_cached_info. Also call _bfd_generic_close_and_cleanup. commit f6a4dfebbac18f3a8c8d0c0a6968307bd8da19a3 Author: H.J. Lu Date: Wed Nov 7 00:55:02 2012 +0000 Change return type of bclose to bfd_boolean PR binutils/14813 * bfdio.c (bfd_iovec): Change return type of bclose to bfd_boolean. (memory_bclose): Change return type to bfd_boolean. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose): Likewise. Return TRUE on success. * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. * libbfd.h: Regenerated. commit 17df192578753854b0d45c5209d48469c24c792b Author: qiyao Date: Wed Nov 7 00:42:12 2012 +0000 gdb: * breakpoint.c (get_tracepoint_by_number): Remove 'extern int tracepoint_count'. commit 3147b7af81d32b743038a3e17b559a328b478cb3 Author: gdbadmin Date: Wed Nov 7 00:00:03 2012 +0000 *** empty log message *** commit 109328751d427ec5cea5ade3ff354c25a7ef9d0b Author: Alan Modra Date: Tue Nov 6 23:00:05 2012 +0000 daily update commit 36a695fb01d1943fa88154fe6ace0bfa4fc21e36 Author: Tristan Gingold Date: Tue Nov 6 16:11:07 2012 +0000 2012-11-06 Tristan Gingold * coff-x86_64.c (_bfd_generic_find_nearest_line_discriminator): Define as coff_find_nearest_line_discriminator. commit 0ef4f132f03e08f37d63cfba1965268877395062 Author: Tom Tromey Date: Tue Nov 6 16:01:56 2012 +0000 * target.h (inferior_has_forked, inferior_has_vforked) (inferior_has_execd, inferior_has_called_syscall): Remove declarations. commit 9e7bec470963135aca772a03762226bc64235475 Author: Pierre Muller Date: Tue Nov 6 15:59:14 2012 +0000 * remote.c (remote_insert_hw_breakpoint): ARI fix, add missing internalization markup. commit 7a28b7027e2d6891c62c34ea81c13f76a5557c96 Author: Pedro Alves Date: Tue Nov 6 15:24:59 2012 +0000 gdb/ 2012-11-06 Pedro Alves PR gdb/14810 * breakpoint.c (bpstat_stop_status): Skip disabled locations. gdb/testsuite/ 2012-11-06 Pedro Alves PR gdb/14810 * gdb.base/disabled-location.c: New file. * gdb.base/disabled-location.exp: New file. commit ae6ebe8293b3d20e2b6a57c9c90fd098691668db Author: Tom Tromey Date: Tue Nov 6 15:21:22 2012 +0000 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd. * gdb.python/py-strfns.exp (test_strfns_core_file): Use gdb_gcore_cmd. * gdb.cell/gcore.exp: Use gdb_gcore_cmd. * gdb.base/gcore.exp: Use gdb_gcore_cmd. * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd. * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd. * gdb.base/auxv.exp: Use gdb_gcore_cmd. * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd. * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd. * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd. * lib/gdb.exp (gdb_gcore_cmd): New proc. commit add93132be74fe5e7d1136374957b4e723d6be07 Author: Alan Modra Date: Tue Nov 6 09:31:10 2012 +0000 PR binutils/14567 * opncls.c (opncls_iovec): Forward declare. (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream to new bfd. commit 350b2e5a9e60fbdca49976af78da97a935871642 Author: Pierre Muller Date: Tue Nov 6 08:24:38 2012 +0000 * contrib/ari/create-web-ari-in-src.sh: Avoid problem if script is not executable. commit 07a037ea9109f017ca57c3bd4ba552e8b7a066e9 Author: Alan Modra Date: Tue Nov 6 06:43:59 2012 +0000 * mach-o.c (bfd_mach_o_close_and_cleanup): Don't call _bfd_generic_close_and_cleanup for mach_o_fat archives. commit 868ecd6c513ddfbcf0bd5f795d32b988e12a7760 Author: Alan Modra Date: Tue Nov 6 06:36:40 2012 +0000 Allow SEC_CODE and SEC_READONLY in section flags. commit 18a8ae6f5c9a19413cf7b4c86dac2694edd62a05 Author: Alan Modra Date: Tue Nov 6 05:51:17 2012 +0000 bfd/ * coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in section flags. gas/ * config/tc-tic4x.c: Remove alignment TODO comments. (tic4x_do_align): Enable subseg_text_p test. commit 6587894272f6a8c169b18af29b8f7d8731c32ec8 Author: Alan Modra Date: Tue Nov 6 05:18:02 2012 +0000 bfd/ * elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. (ppc64_elf_size_stubs): Lookup ".TOC.". (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". gas/ * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out.. (ppc_frob_file_before_adjust): ..from here. (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase. * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare. (tc_adjust_symtab): Define. commit 0ddd74bbf5e2484a8047fe3aa092382977c6744c Author: Alan Modra Date: Tue Nov 6 03:44:49 2012 +0000 * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP. commit b279345e57a73b8b4efe55981b4f2319867ffd1d Author: gdbadmin Date: Tue Nov 6 00:00:02 2012 +0000 *** empty log message *** commit fd949adbdd76417ee7d09c11e31ec525436c2bcf Author: Joel Brobecker Date: Mon Nov 5 23:07:39 2012 +0000 Fix entry ordering issue in gdb/ChangeLog... commit d049749f0461751989fdb7c0badb0f96d438c317 Author: Joel Brobecker Date: Mon Nov 5 23:06:30 2012 +0000 New script to update our gnulib import gdb/ChangeLog: * gnulib/update-gnulib.sh: New script. commit eb8b900e1b338d4542bfeca644f093db0fccc4a7 Author: Alan Modra Date: Mon Nov 5 23:00:04 2012 +0000 daily update commit b5e33388d7d2a0b6eaad4dfac743fc0a2fcbfa45 Author: Stephane Carrez Date: Mon Nov 5 22:08:09 2012 +0000 * MAINTAINERS: Update my email address. commit 9d457b6cca88850d5ffd116345866aab4d37d3de Author: Stephane Carrez Date: Mon Nov 5 22:05:51 2012 +0000 * MAINTAINERS: Update my email address. commit 91fa3bd9bbeca169fccba8da74c88949e229407b Author: Tom Tromey Date: Mon Nov 5 21:43:11 2012 +0000 * frame.c (put_frame_register): Don't use temporary buffer. commit 040c56808ae2669f5830bbe9b8e50671558040ee Author: Tom Tromey Date: Mon Nov 5 19:36:38 2012 +0000 PR python/14802: * gdb.texinfo (Functions In Python): Add example. commit 9d2d268c97cb5bcbe5ee8f9dac1ce67a8c058c9c Author: Pedro Alves Date: Mon Nov 5 18:56:43 2012 +0000 gdb/ 2012-11-05 Pedro Alves * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork child. Clear 'pending_detach'. * infrun.c (handle_vfork_child_exec_or_exit): Clear 'pending_detach' in the vfork parent. gdb/testsuite/ 2012-11-05 Pedro Alves * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New procedure. (do_vfork_and_follow_child_tests_exec) (do_vfork_and_follow_child_tests_exit): Call it. commit f7200c92a94917183853919b401825e6c633e86e Author: Pedro Alves Date: Mon Nov 5 16:23:35 2012 +0000 2012-11-05 Pedro Alves * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp() fails. commit 68c4ef40983c14f89f27b07c00b268e2d40ad5a4 Author: Doug Evans Date: Mon Nov 5 15:50:15 2012 +0000 Add support for DWP files. http://gcc.gnu.org/wiki/DebugFissionDWP * contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp. * dwarf2read.c: #include "elf-bfd.h". (struct dwarf2_per_objfile): New members dwp_checked, dwp_file. (dwop_section_names): Renamed from dwo_section names. All uses updated. Add entries for .debug_cu_index, .debug_tu_index. (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd. All uses updated. (struct dwp_sections): New type. (struct virtual_dwo_sections): New type. (struct dwp_hash_table): New type. (struct dwp_file): New type. (init_cutu_and_read_dies): Ensure DWO info/types section has been read in. Handle DWOs coming from DWP files. (lookup_dwo_file_slot): New function. (dwarf2_locate_dwo_sections): Move definition closer to use. (create_dwo_debug_info_hash_table_reader): Renamed from create_debug_info_hash_table_reader. All callers updated. (create_dwo_debug_info_hash_table): Renamed from create_debug_info_hash_table. All callers updated. (create_dwp_hash_table): New function. (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions. (lookup_dwo_in_dwp): New function. (try_open_dwop_file): Renamed from try_open_dwo_file. New parameter is_dwp. All callers updated. (open_dwop_file): Renamed from open_dwo_file. All callers updated. (open_and_init_dwo_file): Renamed from init_dwo_file. All callers updated. (lookup_dwo_file): Delete. (dwarf2_locate_dwp_sections): New function. (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions. (allocate_dwp_loaded_cutus_table): New function. (open_and_init_dwp_file): New function. (lookup_dwo_cutu): New function. (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it. commit d1e538f76d2d6ff4e16316604eddc268eb9c48c7 Author: Andreas Krebbel Date: Mon Nov 5 12:31:07 2012 +0000 2012-11-05 Andreas Krebbel PR target/14788 * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for local ifunc symbols. * elf64-s390.c (elf_s390_relocate_section): Likewise. commit 1acb4f4ff73d20850a7524fc939d2651be75f47b Author: Alan Modra Date: Mon Nov 5 10:45:29 2012 +0000 * configure.in: Apply 2012-09-10 change to config.in here. commit 871c72611fa8febda0cabd7af0a47263ff487607 Author: Alan Modra Date: Mon Nov 5 05:17:31 2012 +0000 * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" inside loop. Really mark toc entry referring to another toc entry only if the first is used. commit 76ac65f036deee7cb65dc8c45dd2ae1358090271 Author: gdbadmin Date: Mon Nov 5 00:00:03 2012 +0000 *** empty log message *** commit c5c7a9f7cb5db685738103f6679332dbcd17d3db Author: Alan Modra Date: Sun Nov 4 23:00:04 2012 +0000 daily update commit 1345a5dfb69834e447205d8f3cfcc67c5df1fcf1 Author: H.J. Lu Date: Sun Nov 4 00:09:53 2012 +0000 Add --disable-libstdcxx configure option 2012-11-03 H.J. Lu * configure: Regenerated. 2012-11-03 Robert Mason * configure.ac: add --disable-libstdcxx configure option and handle defaulted state only for VxWorks, ARM-wince-pe and AVR. commit e67604bdb3c242e1d4a907c3cb81ff2bb9e0ea81 Author: gdbadmin Date: Sun Nov 4 00:00:33 2012 +0000 *** empty log message *** commit 8314d9c6a72f21f227d332f592150edc5e57357a Author: H.J. Lu Date: Sat Nov 3 23:53:02 2012 +0000 Add gthr.m4 2012-10-15 Pavel Chupin * gthr.m4: New. Define GCC_AC_THREAD_HEADER. commit d0851d1814b14600674a752332747292f61e4c22 Author: Alan Modra Date: Sat Nov 3 23:00:06 2012 +0000 daily update commit 13e6b95202719c7ffcb703fe0ba5391d4b6dea18 Author: qiyao Date: Sat Nov 3 12:14:35 2012 +0000 gdb: Fix PR gdb/14617. * breakpoint.c (trace_pass_set_count): Call observer_notify_breakpoint_modified instead of observer_notify_tracepoint_modified. * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise. gdb/doc: * observer.texi (GDB Observers): Remove observer 'tracepoint_modified', 'tracepoint_created' and 'tracepoint_deleted'. gdb/testsuite: Fix PR gdb/14617. * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Remove setup_kfail, and update test. commit 8db52c7e6f7d5e34f45567eb63d104df35156c27 Author: gdbadmin Date: Sat Nov 3 00:00:03 2012 +0000 *** empty log message *** commit fa2e30ad494576af521616372864d978bce71f4a Author: Alan Modra Date: Fri Nov 2 23:00:04 2012 +0000 daily update commit 3ae88b302fb3429848f694eb705a317279416552 Author: Tom Tromey Date: Fri Nov 2 19:05:11 2012 +0000 * breakpoint.c (catch_syscall_completer): Pass 'word' as second argument to complete_on_enum. testsuite * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion test. commit 5f06669958a7f0376ce2725634340bd79522950d Author: Tom Tromey Date: Fri Nov 2 18:53:52 2012 +0000 * configure: Rebuild. * configure.ac (build_warnings): Add -Wempty-body. * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'. * remote.c (handle_notification): Use braces for empty 'else' body. * s390-tdep.c (s390_analyze_prologue): Use braces for empty 'else' body. * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty 'else' body. * solib-som.c (som_relocate_section_addresses): Use braces for empty 'else' body. * ui-file.c (stdio_file_write): Use braces for empty 'if' body. (stdio_file_write_async_safe, stdio_file_fputs): Likewise. commit 80995c1d9c4cddb70884e64f57322b05c3a716d6 Author: Pierre Muller Date: Fri Nov 2 18:19:36 2012 +0000 Re-added with correct permissions commit f686fad54f976c3c2dcd9a8c79e7ca7dd5679a9e Author: Pierre Muller Date: Fri Nov 2 18:18:46 2012 +0000 Removed to be re-added with correct permissions commit 720915dfa0bd0b95a4a709850a94a39e57e67498 Author: Pedro Alves Date: Fri Nov 2 18:13:34 2012 +0000 gdb/ 2012-11-02 Pedro Alves PR gdb/14766 * infrun.c (handle_inferior_event) : Switch to null_ptid before handling a vfork child exec or exit. Switch to the event ptid afterwards. gdb/testsuite/ 2012-11-02 Pedro Alves PR gdb/14766 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove setup_kfail. (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't get registers". commit 2e2051fc8b1022775822e8f5b4a16fcfcc394907 Author: Pedro Alves Date: Fri Nov 2 18:10:29 2012 +0000 2012-11-02 Pedro Alves * gdb.base/foll-vfork-exit.c: New file. * gdb.base/foll-vfork.exp (top level): New file-describing comment. (vfork_child_follow_to_exit): New procedure. (tcatch_vfork_then_child_follow): Rename as ... (tcatch_vfork_then_child_follow_exec): ... this. (tcatch_vfork_then_child_follow_exit): New procedure. (do_vfork_and_follow_parent_tests): New procedure, factored out from do_vfork_and_exec_tests. (do_vfork_and_follow_child_tests_exec): Ditto. (do_vfork_and_exec_tests): Delete. (do_vfork_and_follow_child_tests_exit): New procedure. (top level): Run tests with both the program that has the vfork child execing, and the program has the vfork child exiting. commit 93e5a6bf5048d75edcd831365d7853fa2715755b Author: Pedro Alves Date: Fri Nov 2 18:06:45 2012 +0000 Move entries to correct ChangeLog file... gdb/ChangeLog -> gdb/testsuite/ChangeLog commit 1c24f95be28b49c049483003bbea7ae0081a2baf Author: Pedro Alves Date: Fri Nov 2 18:02:00 2012 +0000 2012-11-02 Pedro Alves * gdb.base/foll-vfork.exp (setup_gdb): New procedure. (check_vfork_catchpoints, vfork_parent_follow_through_step) (vfork_parent_follow_to_bp): Call it. (kill_child): Delete. (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step): Call setup_gdb. No longer call kill_child. (tcatch_vfork_then_parent_follow): Call setup_gdb. (do_vfork_and_exec_tests): Don't runto_main before calling each test procedure. (top level): Don't clean restart and set verbose before running each test procedure. commit 62b68d1f6753b4f9c59d1e46a1fd90fc6c3fd220 Author: Pedro Alves Date: Fri Nov 2 18:00:00 2012 +0000 2012-11-02 Pedro Alves * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step) (vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow): Use with_test_prefix. commit a0dc3677761b8c0435bb8ecb3d75ca91719caf90 Author: Pedro Alves Date: Fri Nov 2 17:59:12 2012 +0000 2012-11-02 Pedro Alves * gdb.base/foll-vfork.c: Add copyright header. * gdb.base/vforked-prog.c: Add copyright header. commit 08134fffa6a952d52e636e3ffa7ef15298a0de84 Author: Pedro Alves Date: Fri Nov 2 17:58:35 2012 +0000 2012-11-02 Pedro Alves * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_through_step): Don't skip on non-HP/UX targets. Expect the next to only step one line on non-HP/UX targets, rather than stopping only after the exec. commit a5fb047692513474e9722991a1b673d32ffd0591 Author: Pedro Alves Date: Fri Nov 2 17:57:44 2012 +0000 2012-11-02 Pedro Alves Don't hard code line numbers. * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step): Expect text from the sources instead of a line number. (vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow): Use gdb_get_line_number. commit 10f7c678209c2f1838d389c9eb2525e1650b8074 Author: Pedro Alves Date: Fri Nov 2 17:56:58 2012 +0000 2012-11-02 Pedro Alves Modernize. * gdb.base/foll-vfork.exp: Use standard_testfile and build_executable. Pass descriptive string to untested. (vfork_parent_follow_through_step, vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow) (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead of send_gdb/gdb_expect. (kill_child): New procedure. (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step): Use it. commit 83143a7ccdacdb672c3674f90e77aca3a7d9afcd Author: qiyao Date: Fri Nov 2 00:14:32 2012 +0000 gdb: 2012-11-02 Yao Qi * std-operator.def: Remove OP_LABELED. * eval.c: Remove the declaration of 'get_label'. (get_label): Remove. (evaluate_struct_tuple): Remove code handling OP_LABELED. Update comment. Remove local variable 'variantno' and related code. Replace 'substruct_type' with 'struct_type'. Replace 'subfieldno' with 'fieldno'. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise. gdb/testsuite: 2012-11-02 Yao Qi * gdb.base/setvar.exp: Test setting nested struct. * gdb.base/setvar.c (v_struct3): New. commit 92c56448eeafb52a5d9e5d3dd9b7e2c7ed72cade Author: gdbadmin Date: Fri Nov 2 00:00:32 2012 +0000 *** empty log message *** commit d07556f15a449d4ccca08cf71e9ec2e0138de189 Author: Alan Modra Date: Thu Nov 1 23:00:04 2012 +0000 daily update commit 84049d009c7063ad81fd2894d82fc95bba61f205 Author: Pierre Muller Date: Thu Nov 1 21:22:25 2012 +0000 Incorporate ARI web page generator into GDB sources. * contrib/ari/create-web-ari-in-src.sh: New file. * contrib/ari/gdb_ari.sh: New file. * contrib/ari/gdb_find.sh: New file. * contrib/ari/update-web-ari.sh: New file. commit a10dc0a2557a0e536af0a7ab20b76aae17bdcb5f Author: Doug Evans Date: Thu Nov 1 17:53:05 2012 +0000 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to use them. commit 1fbd3bd5499ffd25c433bcb26578ab59777b1e64 Author: Tom Tromey Date: Thu Nov 1 14:57:22 2012 +0000 binutils * readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM. include/common/elf * common.h (NT_386_TLS, NT_386_IOPERM): New defines. commit 5ffa1754840879034fbda71ee104c93e7ba00cda Author: gdbadmin Date: Thu Nov 1 00:00:33 2012 +0000 *** empty log message *** commit 5c70772eb8c75387908d8b8afe618754dd99e624 Author: Alan Modra Date: Wed Oct 31 23:00:05 2012 +0000 daily update commit 4607bd4fdd277d06b6899a0c5ae8fd9d07e5df5c Author: Tom Tromey Date: Wed Oct 31 14:29:07 2012 +0000 * gdbarch.c: Rebuild. * gdbarch.sh: Remove references to gdbarch_swap. * corelow.c (core_open): Remove obsolete comment. commit e281722af34b2af1d618a76b424380647d87acb2 Author: aburgess Date: Wed Oct 31 09:26:18 2012 +0000 http://sourceware.org/ml/gdb-patches/2012-10/msg00525.html gdb/ChangeLog PR cli/14772 * c-typeprint.c (c_print_type): Don't print a space for vector types, this is handled within the suffix. (c_type_print_varspec_suffix): Add a space to vector suffix gdb/testsuite/ChangeLog PR cli/14772 * gdb.base/gnu_vector.c (union_with_vector_1) (struct_with_vector_1): Add new struct and union for testing ptype. * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and structs / unions containing vectors. commit e40e26d3d76034c65bdfddbce8e3403a1d596b43 Author: gdbadmin Date: Wed Oct 31 00:00:33 2012 +0000 *** empty log message *** commit e98bac230e39639aed35c28d952a98909394a97a Author: H.J. Lu Date: Tue Oct 30 13:30:13 2012 +0000 Handle --enable-64-bit-bfd when setting CORE_HEADER * configure.in: Also handle --enable-64-bit-bfd when setting CORE_HEADER for 'i[3-7]86-*-linux-*'. commit ea4ff8d1d73a9502be87324a534d78cfe335305a Author: Nick Clifton Date: Tue Oct 30 12:44:53 2012 +0000 bfd: * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5 (elf32_arm_post_process_headers): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. binutils: * readelf.c (decode_ARM_machine_flags): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5. Split out the code for EABI_VER4 and EABI_VER5 to allow this. elfcpp: * arm.h: New enum for EABI soft- and hard-float flags. gold: * gold.cc (Target_arm::do_adjust_elf_header): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. include: * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define. (EF_ARM_ABI_FLOAT_HARD): Likewise. ld/testsuite: * ld-arm/eabi-hard-float.s: New test source. * ld-arm/eabi-soft-float.s: New test source. * ld-arm/eabi-hard-float.d: New test. * ld-arm/eabi-soft-float.d: New test. * ld-arm/eabi-soft-float-ABI4.d: New test. * ld-arm/eabi-soft-float-r.d: New test. * ld-arm/arm-elf.xp: Use the new tests. binutils: PR binutils/14779 * configure.in: Add checks for wchar.h and mbstate_t. * config.in: Regenerate. * configure: Regenerate. * readelf.c: Conditionally include wchar.h. (print_symbol): Conditionally use mbstate_t. commit c9c130ac3f6c6b64b3da94b3d944713ddc6f3f40 Author: H.J. Lu Date: Tue Oct 30 08:36:08 2012 +0000 Add Linux/x86_64 core support to i[3-7]86-*-linux * configure.in: Set CORE_HEADER to hosts/x86-64linux.h for 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. * configure: Regenerated. * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and 'prstatus64_t' respectively. * hosts/x86-64linux.h (a8_uint64_t): New. (user_regsx32_struct): Renamed to ... (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. (elf_gregx32_t): Renamed to ... (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. (ELF_NGREGX32): Removed. (ELF_NGREG64): New. (elf_gregx32_t): Removed. (elf_greg64_t): New. (struct prstatus64_timeval): New. (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. (elf_prstatus64): New. (elf_prpsinfo64): New. (prstatus64_t, prpsinfo64_t): New typedef. commit 0fbdbf8ab0f48e4c2bf17ee3c4bc6674d7e2aada Author: gdbadmin Date: Tue Oct 30 00:00:33 2012 +0000 *** empty log message *** commit fc9c1f833f1eccbd13f1551b60cf7dbd0f60628f Author: Alan Modra Date: Mon Oct 29 23:00:04 2012 +0000 daily update commit 05f864b34a7e3d86ae542df9932c4d2f9a2ee433 Author: seank Date: Mon Oct 29 21:28:09 2012 +0000 * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for R_XGATE_16 commit cc9fdf21740ab2d73a16495915d2995757b66a51 Author: Alan Modra Date: Mon Oct 29 09:51:10 2012 +0000 * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HA16A reloc howtos. commit 18d80c6a3aa2d2745b02a1aad84255681fe8f1e9 Author: gdbadmin Date: Mon Oct 29 00:00:32 2012 +0000 *** empty log message *** commit d934e2680c3d616492c244d2f9cc866c015a3609 Author: Alan Modra Date: Sun Oct 28 23:00:04 2012 +0000 daily update commit 46707f578440d18151bafba06a515599d7ca7473 Author: gdbadmin Date: Sun Oct 28 00:00:33 2012 +0000 *** empty log message *** commit a58fce24d6e5d321a5507f66f7c191e62fb44be2 Author: Alan Modra Date: Sat Oct 27 23:00:05 2012 +0000 daily update commit 073998cce210afb84c4054e5cc3c083e74ab4104 Author: gdbadmin Date: Sat Oct 27 00:00:32 2012 +0000 *** empty log message *** commit 4ac7ff9c065171c6755e08f03323155c33722d60 Author: Alan Modra Date: Fri Oct 26 23:00:04 2012 +0000 daily update commit c17e24e0248db3f291d0bda1d5788e1617182916 Author: Pedro Alves Date: Fri Oct 26 19:34:07 2012 +0000 2012-10-26 Pedro Alves * amd64-tdep.c (amd64_relocate_instruction): Use store_unsigned_integer instead of memcpy. * i386-tdep.c (i386_relocate_instruction): Ditto. commit 01d04876ef93141d981285bafc903f66ab8e63ab Author: Pedro Alves Date: Fri Oct 26 18:48:42 2012 +0000 2012-10-26 Pedro Alves * infrun.c (handle_inferior_event) : Remove comment. commit 5e448a3dd1172ef068256dbccad2574af8d5b666 Author: Pedro Alves Date: Fri Oct 26 18:47:32 2012 +0000 2012-10-26 Pedro Alves * infrun.c (handle_inferior_event) : Remove comment. commit db30399c292e757197085593dc19bce31864c4b4 Author: Tom Tromey Date: Fri Oct 26 18:18:55 2012 +0000 * gdb.texinfo (General Query Packets): Use @itemx for QAgent. commit 2fd8369b7bddce1595deee7b432fdda08eddc67a Author: Pedro Alves Date: Fri Oct 26 16:52:37 2012 +0000 2012-10-26 Pedro Alves * target.c (target_waitstatus_to_string): Handle TARGET_WAITKIND_VFORK_DONE. commit 6aca2afa90140848d729211db08491b1446d3e15 Author: Pedro Alves Date: Fri Oct 26 16:47:14 2012 +0000 2012-10-26 Pedro Alves * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED". commit 074a3bb449e2f5c80fd669107cceeb35cbb14431 Author: Nick Clifton Date: Fri Oct 26 15:27:15 2012 +0000 * po/hr.po: New Croation translation. * configure.in (ALL_LINGUAS): Add hr. * configure: Regenerate. * po/uk.po: Updated Ukranian translation. commit cd3e40ea6be40238694b1b431f2c1b58cd3301dd Author: Nick Clifton Date: Fri Oct 26 15:07:21 2012 +0000 * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags) (DW_AT_APPLE_isa, DW_AT_APPLE_block) (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class) (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name) (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter) (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type) (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros. commit 1b20633a70c3b6793d7b42ea4f1a9db32e5134a2 Author: Andreas Krebbel Date: Fri Oct 26 09:41:55 2012 +0000 2012-10-26 Andreas Krebbel * s390-mkopc.c: Accept empty lines in s390-opc.txt. * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR. * s390-opc.txt: Add new instructions. New instruction type for lptea. 2012-10-26 Andreas Krebbel * gas/testsuite/gas/s390/zarch-z10.d: Refreshed. * gas/testsuite/gas/s390/zarch-z10.s: Refreshed. * gas/testsuite/gas/s390/zarch-z196.d: Refreshed. * gas/testsuite/gas/s390/zarch-z196.s: Refreshed. * gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.s: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed. commit 7cc847695a96db1c352c11aae490ac3bea46f4e8 Author: Christian Groessler Date: Fri Oct 26 08:14:07 2012 +0000 gas/testsuite: * gas/z8k/z8k.exp: Run translate-ops test. * gas/z8k/translate-ops.s: New file. * gas/z8k/translate-ops.d: New file. opcodes: * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate. commit 924764b87a02b0d6a27ed7e589678bad25fabade Author: Alan Modra Date: Fri Oct 26 03:40:36 2012 +0000 PR target/14758 bfd/ * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS bfd_reloc values. Map to corresponding D-form relocs. (is_insn_ds_form, is_insn_qs_form): New functions. (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form fields using D-form reloc. gas/ * config/tc-ppc.c (ppc_setup_opcodes): Fix comment. (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64. (tc_gen_reloc): Handle _DS relocs in ppc32 mode. commit 1c359544259eeb017e7248e1bf613c6ce2685171 Author: Alan Modra Date: Fri Oct 26 03:38:20 2012 +0000 * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset. commit bfd6b74167148588aeab880bc5fee5376c6920c7 Author: gdbadmin Date: Fri Oct 26 00:00:32 2012 +0000 *** empty log message *** commit cd9af2fbd72a996d852d6f0e95f778c1b19f26c4 Author: Alan Modra Date: Thu Oct 25 23:00:04 2012 +0000 daily update commit 3080a3a0a06a2e91c48f4fccddcdfcfc390d3561 Author: Tom Tromey Date: Thu Oct 25 16:16:05 2012 +0000 * gdb.texinfo (General Query Packets): Use @itemx. commit 103a3c9e658e29701dcb9dd918596ad1468e4814 Author: qiyao Date: Thu Oct 25 14:56:08 2012 +0000 gdb/testsuite: * gdb.trace/ftrace.exp (test_fast_tracepoints): Use 'setup_kfail' instead of 'setup_kfail_for_target'. * gdb.base/varargs.exp: Likewise. * lib/gdb.exp (setup_kfail_for_target): Remove. commit 7e6de3daa24d5718940b013737e54a363831601f Author: H.J. Lu Date: Thu Oct 25 13:36:05 2012 +0000 Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot * elf32-i386.c (elf_i386_size_dynamic_sections): Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. commit bbb4c70ce0ae87716fa2c09ef0c9045620034464 Author: Joel Brobecker Date: Thu Oct 25 11:16:18 2012 +0000 gdb.base/ldbl_e308.exp: Do not allow "inf" in value output. That was an attempt at handling the targets where sizeof(long double) is less than 8, but the way it was implement allows the bug that this testcase verifies to come back without being noticed. gdb/testsuite/ChangeLog: * gdb.base/ldbl_e308.exp: Remove "inf" from possible expected output for "print inp" test. commit 327eab58c81bcac824e73e85679a224dd67c9a6d Author: Mark Kettenis Date: Thu Oct 25 08:59:06 2012 +0000 * gdb.base/varargs.exp: PR gdb/12790 is now fixed. commit 7e8519b3d471038f4058167e778d9660560f07a5 Author: Mark Kettenis Date: Thu Oct 25 08:00:58 2012 +0000 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed. commit 6169aac6cdcf3fd54e52c7dae7da45a457c0b302 Author: gdbadmin Date: Thu Oct 25 00:00:33 2012 +0000 *** empty log message *** commit 6415c11680aea75874d95189eba2ae3782100a74 Author: Alan Modra Date: Wed Oct 24 23:00:06 2012 +0000 daily update commit 733d0c7c963719d34e99dcb35879b2418c1bd613 Author: Roland McGrath Date: Wed Oct 24 21:41:31 2012 +0000 gas/testsuite/ * gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait). * gas/i386/rex.d: Update. opcodes/ * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, set rex_used to rex. commit 858fd00a467d6b3adadd47508ef6ec54b1e64067 Author: H.J. Lu Date: Wed Oct 24 21:36:49 2012 +0000 Don't decompress the section in bfd_is_section_compressed * compress.c (bfd_is_section_compressed): Don't decompress the section. commit a49fb98d2ee3530e0b4d101a7c7706717a93bd85 Author: Joel Brobecker Date: Wed Oct 24 19:08:15 2012 +0000 Add comments in ravenscar_sparc_fetch_registers. gdb/ChangeLog: * ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers): Add comments. commit b9a7f6edfa283f15e3f58a2f955e3f30a8f7af56 Author: Joel Brobecker Date: Wed Oct 24 18:19:50 2012 +0000 remote packet sent after Ravenscar inferior exited When debugging a program using the Ravenscar profile, the debugger sometimes tries to send the following packet to the remote after the inferior exited. (gdb) c Continuing. [...] Sending packet: $vCont;c:1#13...Ack Packet received: W00 Sending packet: $Hg1#e0...putpkt: write failed: Broken pipe. As the inferior exited, the remote has already disconnected, and thus the operation fails. The reason why GDB sends the package is because the ravenscar-thread module tries to updates the list of threads. But this doesn't make sense, since the program has exited. This patch fixes it. gdb/ChangeLog: * ravenscar-thread.c (ravenscar_wait): Only update the list of threads and inferior_ptid if the inferior is still alive. commit 7fce6a4fa3ed7553aa8454666bfe896e605f7e53 Author: Joel Brobecker Date: Wed Oct 24 18:17:19 2012 +0000 [Ada] use lbasename when testing if file is part of Ada runtime. We use a list of regular expressions to match a symtab filenames against the names of the files in the Ada runtime. These regular expressions do assume that the filename is a basename, however. So make sure to evaluate these regular expressions against the symtab's filename. Without this patch, we run into problems when the Ada runtime was built using a project file (through gprbuild). gdb/ChangeLog: * ada-lang.c (is_known_support_routine): Use lbasename when matching the symtab's filename against known_runtime_file_name_patterns. commit d6c3c4a5ad09e3a1e3dd17836c39c3d5cb81d69c Author: Joel Brobecker Date: Wed Oct 24 18:14:20 2012 +0000 [Ada] Allow assignment to wide string. Given the following variable declaration... Www : Wide_String := "12345"; ... this patch allows the following assignment to work: (gdb) set variable www := "qwert" Without this patch, the debugger rejects the assignment because the size of the array elements are different: (gdb) set www := "asdfg" Incompatible types in assignment (on the lhs, we have an array of 2-bytes elements, and on the rhs, we have a standard 1-byte string). gdb/ChangeLog: * ada-lang.c (ada_same_array_size_p): New function. (ada_promote_array_of_integrals): New function. (coerce_for_assign): Add handling of arrays where the elements are integrals of a smaller size than the size of the target array element type. gdb/testsuite/ChangeLog: * gdb.ada/set_wstr: New testcase. commit 7332ce74bfbc4470f7245004b9a8ea6276aa1710 Author: Joel Brobecker Date: Wed Oct 24 18:11:20 2012 +0000 off-by-one max exponent computation in convert_doublest_to_floatformat Assuming the following variable definition: long double inp = 2.0; On platforms where "long double" is a double precision IEEE flaoting point, GDB currently behaves as follow: (gdb) set variable inp = 1.6e+308l (gdb) p inp $2 = inf <<<<---- !!!! Instead, the value of "inp" should be printed as: (gdb) p inp $1 = 1.6e+308 The problem is due to a small error in the comparison of the exponent versus the maximum value this exponent can take, causing us to think that the value was too big to fit. But it isn't. gdb/ChangeLog: * doublest.c (convert_doublest_to_floatformat): Fix comparison against maximum exponent value. gdb/testsuite/ChangeLog: * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files. commit 31337e61a3a460b806281db79bdf05ad4660e43e Author: Joel Brobecker Date: Wed Oct 24 18:08:04 2012 +0000 [Ada] Skip unwind-seh.c when searching first "user" frame On x86_64-windows with GCC 4.7 (using native SEH info), the debugger behaves as follow: (gdb) catch exception unhandled Catchpoint 1: unhandled Ada exceptions (gdb) run Starting program: C:\[...]\b.exe Catchpoint 1, unhandled CONSTRAINT_ERROR at 0x000000000040cc57 in _GCC_specific_handler ([...]) at ../../../src/libgcc/unwind-seh.c:289 [...] This is after compiler the following code: procedure B is begin raise Constraint_Error; end B; ... using the following command: % gnatmake -g b When hitting the exception catchpoint, it should have gone up the stack all the way until finding the frame corresponding to procedure B. But if stopped short because unwind-seh.c is compiled with debugging information, and the debugger is also able to locate that source file. To prevent this from happening, this patch adds unwind-seh.c to the list of files that should be ignored, regardless of other factors. gdb/ChangeLog: * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for "unwind-seh.c". commit 997d8e5e5fcaf31fda4d34c5e0facdadf3875208 Author: Joel Brobecker Date: Wed Oct 24 18:06:06 2012 +0000 [Ada] Pointers to unconstrained arrays inside variant record. gdb/ChangeLog: * ada-lang.c (ada_template_to_fixed_record_type_1): Do not strip typedef layer when computing the fixed type's field type, only when computing its size. gdb/testsuite/ChangeLog: * gdb.ada/unc_arr_ptr_in_var_rec: New testcase. commit e3ccae427acc6a03d43b01a38c1165914061e672 Author: Mark Kettenis Date: Wed Oct 24 14:59:24 2012 +0000 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed. commit 001da3c7e838bdf58cc739de62159c3f5d4f493b Author: Mark Kettenis Date: Wed Oct 24 14:56:00 2012 +0000 PR gdb/12783 * i386-tdep.c (i386_return_value): Handle complex double and long double. commit 09fed62171dee60d4df3ad42d33be24130daa7fb Author: Jan Kratochvil Date: Wed Oct 24 13:45:50 2012 +0000 gdb/testsuite/ * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail_for_target for -m32 mode. commit 718129c64f92bd9402eba24d00642fec78f83791 Author: Corinna Vinschen Date: Wed Oct 24 13:41:35 2012 +0000 * configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building against Mingw64 w32api. * configure: Regenerate. commit f4ffd90a7bd3da2011167daa7ec911dd56a4dbfc Author: Joel Brobecker Date: Wed Oct 24 13:40:08 2012 +0000 [Windows] run program with space in path to exe. The following works... % gdb c:\path to exe\foo.exe (gdb) start ... unless a file or directory called "c:\path" or "c:\path to" exist. This is what happens in the latter case: (gdb) start [...] Error creating process C:\path to exe\foo.exe (error 193). This is because we are calling CreateProcess (et al) without specifying the lpApplicationName, so Windows determines the name of the executable using the second argument, which is the entire command line. This command line is a space-separated list of tokens, so the space in the path to the executable which potentially creates an ambiguity. The ambiguity is automatically resolved unless we're in the situation above. The solution, as suggested by the MSDN documentation for CreateProcess is to quote the executable name. gdb/ChangeLog: * windows-nat.c (windows_create_inferior) [!__CYGWIN__]: New local variable args_len. Quote the name of the executable when computing the command line. commit ce33f9885f14311c596a4177789dfdbdf0a6ea11 Author: H.J. Lu Date: Wed Oct 24 11:09:28 2012 +0000 Move disable_target_specific_optimizations to bfd_link_info include/ * bfdlink.h (bfd_link_info): Add disable_target_specific_optimizations. ld/ * ld.h (command_line): Remove disable_target_specific_optimizations. (RELAXATION_DISABLED_BY_DEFAULT): Removed. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise. * ldmain.c (main): Updated. * ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise. commit d59b20d2d10082d7a2df547f314b0759bbb58baa Author: gdbadmin Date: Wed Oct 24 00:00:02 2012 +0000 *** empty log message *** commit 59edf67862d31cd6ee25248d4492c2924201f54d Author: Eric Botcazou Date: Tue Oct 23 23:02:33 2012 +0000 PR bootstrap/54820 * configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate. commit f92a5d158b60347eb72ebfbb8ec231bdd42483ac Author: Alan Modra Date: Tue Oct 23 23:00:04 2012 +0000 daily update commit 6778cf56aa3925d6c3c8ba4c7976e553207e3a44 Author: Mark Kettenis Date: Tue Oct 23 18:25:24 2012 +0000 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800 are now fixed. commit e8d292014c88266e35d7cff759d4a65fab0f6470 Author: Mark Kettenis Date: Tue Oct 23 18:16:52 2012 +0000 PR gdb/12796 PR gdb/12798 PR gdb/12800 * amd64-tdep.h (enum amd64_regnum): Add AMD64_ST1_REGNUM and AMD64_FTAG_REGNUM. * amd64-tdep.c (amd64_classify): Classify complex types. (amd64_return_value): Handle the COMPLEX_X87 class. commit e7e9e7efbed40700dc661edb5b487b3f0c28b373 Author: Tom Tromey Date: Tue Oct 23 17:46:44 2012 +0000 binutils * readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE. (print_core_note): New function. (process_note): Call it. include/common/elf * common.h (NT_SIGINFO, NT_FILE): New defines. commit e330111d534c214f7bc0a1f0d4c6e483e1bbfdad Author: qiyao Date: Tue Oct 23 15:49:11 2012 +0000 gdb/testsuite: * gdb.base/info-os.exp: Resume the inferior until it exits. commit f8711c468527f9f5a15382d9cbf8b0d8b2cb92ab Author: Joel Brobecker Date: Tue Oct 23 15:37:21 2012 +0000 Change target-wide-charset to UTF-16 on ppc-aix. On ppc-aix, type wchar_t is 2 bytes long, so override the default target-wide-charset (UTF-32) with UTF-16. This allows us to print wide characters correctly. gdb/ChangeLog: * rs6000-aix-tdep.c (rs6000_aix_auto_wide_charset): New function. (rs6000_aix_init_osabi): Set auto_wide_charset gdbarch method. commit 535ddb5a0174a2fdb9076369721df0c5f4f276b3 Author: Joel Brobecker Date: Tue Oct 23 15:37:01 2012 +0000 Set default target-wide-charset setting to "UTF-16" for x86_64-windows. Type wchar_t is only 2 bytes long on x86_64-windows. gdb/ChangeLog: * amd64-windows-tdep.c (amd64_windows_auto_wide_charset): New function. (amd64_windows_init_abi): Set auto_wide_charset gdbarch method to amd64_windows_auto_wide_charset. commit 1fd8df38a3111efcd30105bfbe5b17be92097fc7 Author: Nathan Sidwell Date: Tue Oct 23 09:33:51 2012 +0000 bfd/ * bfd-in.h (bfd_elf_stack_segment_size): Declare. * bfd-in2.h: Rebuilt. * elfxx-target.h (elf_backend_stack_align): New. (elfNN_bed): Add it. * elf-bfd.h (struct elf_backend_data): Add stack_align field. * elf.c (bfd_elf_map_sections_to_segments): Pay attention to stack_align and stacksize for PT_GNU_STACK segment. (assign_file_positions_for_non_load_sections): Set p_memsz for PT_GNU_STACK segment. (copy_elf_program_header): Copy PT_GNU_STACK size. * elflink.c (bfd_elf_stack_segment_size): New function, taken from uclinux backends. (bfd_elf_size_dynamic_sections): Determine PT_GNU_STACK requirements after calling backend. Pay attention to stacksize. * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_bfinfdpic_modify_program_headers): Delete. (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-frv.c (frvfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_frvfdpic_modify_program_headers): Delete. (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-lm32.c (lm32_elf_always_size_sections): Leave PT_GNU_STACK creation to underlying elf support. Check __stacksize here for backwards compatibility, and set it if needed. (lm32_elf_modify_segment_map): Delete. (lm32_elf_modify_program_headers): Delete. (elf_backend_stack_align): Override. (elf_backend_modify_segment_map): Don't override. (elf_backend_modify_program_headers): Don't override. * elf32-sh.c (sh_elf_always_size_sections): Call bfd_elf_stack_segment_size. (sh_elf_modify_program_headers): Delete. (sh_elf_copy_private_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_tic6x_modify_program_headers): Delete. (elf32_tic6x_copy_private_data): Delete. (elf_backend_stack_align): Override. (bfd_elf32_bfd_copy_private_bfd_data): Don't override. (elf_backend_modify_program_headers): Don't override. include/ * bfdlink.h (struct bfd_link_info): Add stacksize option. ld/ * ld.texinfo (stack-size): New option. * emultempl/elf32.em: Add stack-size option. ld/testsuite/ * ld-elf/binutils.exp: Add -z stack-size=0. * ld-elf/elf.exp: Add stack-exec and stack-size tests. * ld-elf/orphan-region.d: Add stack-size option. Remove xfail. * ld-elf/stack-exec.rd: New. * ld-elf/stack-size.rd: New. * ld-elf/stack.s: New. * ld-scripts/empty-aligned.d: Add stack-size option. * ld-sh/fdpic-stack-set.d: New. * ld-tic6x/shlib-1.rd: Remove __stacksize symbol. * ld-tic6x/shlib-1b.rd: Likewise. * ld-tic6x/shlib-1r.rd: Likewise. * ld-tic6x/shlib-1rb.rd: Likewise. * ld-tic6x/shlib-app-1.rd: Likewise. * ld-tic6x/shlib-app-1b.rd: Likewise. * ld-tic6x/shlib-app-1r.rd: Likewise. * ld-tic6x/shlib-app-1rb.rd: Likewise. * ld-tic6x/shlib-noindex.rd: Likewise. * ld-tic6x/static-app-1.rd: Likewise. * ld-tic6x/static-app-1b.rd: Likewise. * ld-tic6x/static-app-1r.rd: Likewise. * ld-tic6x/static-app-1rb.rd: Likewise. commit bd9917ad0699d50eee004326fe2c1f9ceb92045f Author: qiyao Date: Tue Oct 23 06:20:45 2012 +0000 gdb/ * event-top.c (mark_async_signal_handler_wrapper): Remove. * event-top.h: Remove its declaration. (async_request_quit): Call mark_async_signal_handler instead of mark_async_signal_handler_wrapper. (async_do_nothing, async_disconnect): Likewise. (async_stop_sig): Likewise. * remote.c (handle_remote_sigint): Likewise. (handle_remote_sigint_twice): Likewise. commit 0a6d4b0fca4b836b2d724b0f1c31dc0675f7e9c9 Author: qiyao Date: Tue Oct 23 06:12:01 2012 +0000 gdb/ * event-top.c (sigint_token, sighup_token): Replace 'void *' with 'static struct async_signal_handler *'. (sighup_token, sigquit_token, sigstp_token): Likewise. commit 48905955871307cb809e1efc8694792379c9ae51 Author: gdbadmin Date: Tue Oct 23 00:00:33 2012 +0000 *** empty log message *** commit 5c530ee746d0126580ffa64f675671cdae4a0e96 Author: Alan Modra Date: Mon Oct 22 23:00:04 2012 +0000 daily update commit 92f69465c0d05ca006792fe964fe3a636e17154b Author: Peter Bergner Date: Mon Oct 22 16:04:26 2012 +0000 opcodes/ * ppc-opc.c (powerpc_opcodes) : Fix opcode spelling. gas/testsuite/ * gas/ppc/altivec.s : Fix opcode spelling. commit b35a5aa5da6d0f2c724803c6574a6e09dddd6cf3 Author: alianwar Date: Mon Oct 22 13:35:39 2012 +0000 Ali Anwar * gdbarch.sh (function_list): Use 'pstring' when printing a variable which could return NULL. * gdbarch.c: Regenerate. commit af557426433d59afecc8c7325371dca77bdaddd7 Author: Alan Modra Date: Mon Oct 22 13:33:48 2012 +0000 include/ PR ld/14426 * bfdlink.h (bfd_link_info): Add ignore_hash. ld/ PR ld/14426 * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. * lexsup.c (parse_args): Likewise. (ld_options): Describe --ignore-unresolved-symbol. * ldmain.h (add_ignoresym): Declare. * ldmain.c (add_ignoresym): New function, extracted from.. (undefined_symbol): ..here. Return if the symbol is in ignore_hash. (constructor_callback): Don't use global link_info here. (reloc_overflow): Likewise. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 21 + bfd/ChangeLog | 235 ++++- bfd/Makefile.in | 4 +- bfd/aclocal.m4 | 4 +- bfd/aout-target.h | 13 +- bfd/aout-tic30.c | 2 +- bfd/bfd-in.h | 2 + bfd/bfd-in2.h | 2 + bfd/bfdio.c | 4 +- bfd/cache.c | 2 +- bfd/coff-h8500.c | 4 +- bfd/coff-ppc.c | 14 +- bfd/coff-tic4x.c | 24 +- bfd/coff-x86_64.c | 3 + bfd/compress.c | 13 +- bfd/configure | 4 + bfd/configure.in | 6 +- bfd/doc/ChangeLog | 4 + bfd/doc/Makefile.in | 5 +- bfd/dwarf2.c | 2 +- bfd/elf-bfd.h | 5 + bfd/elf.c | 25 +- bfd/elf32-arm.c | 19 + bfd/elf32-bfin.c | 109 +-- bfd/elf32-frv.c | 112 +-- bfd/elf32-i386.c | 9 +- bfd/elf32-lm32.c | 128 +-- bfd/elf32-ppc.c | 89 ++- bfd/elf32-s390.c | 3 + bfd/elf32-sh.c | 117 +-- bfd/elf32-tic6x.c | 124 +-- bfd/elf32-v850.c | 2 +- bfd/elf32-xgate.c | 4 +- bfd/elf64-ppc.c | 274 +++-- bfd/elf64-s390.c | 3 + bfd/elf64-x86-64.c | 13 +- bfd/elflink.c | 117 ++- bfd/elfxx-target.h | 4 + bfd/hosts/x86-64linux.h | 109 ++- bfd/libbfd.h | 2 +- bfd/mach-o.c | 3 + bfd/opncls.c | 10 +- bfd/plugin.c | 2 +- bfd/po/SRC-POTFILES.in | 9 + bfd/po/uk.po | 249 ++-- bfd/reloc.c | 2 +- bfd/section.c | 2 +- bfd/version.h | 2 +- bfd/vms-lib.c | 6 +- config/ChangeLog | 4 + config/gthr.m4 | 27 + configure | 48 +- configure.ac | 46 +- gdb/ChangeLog | 465 +++++++ gdb/MAINTAINERS | 63 +- gdb/NEWS | 5 + gdb/ada-lang.c | 124 ++- gdb/ada-lang.h | 1 + gdb/ada-varobj.h | 1 - gdb/amd64-tdep.c | 43 +- gdb/amd64-tdep.h | 2 + gdb/amd64-windows-tdep.c | 10 + gdb/arm-tdep.c | 3 +- gdb/breakpoint.c | 82 +- gdb/c-typeprint.c | 5 +- gdb/coff-pe-read.c | 3 +- gdb/common/linux-osdata.c | 1 - gdb/configure | 2 +- gdb/configure.ac | 2 +- gdb/contrib/ari/create-web-ari-in-src.sh | 77 ++ gdb/contrib/ari/gdb_ari.sh | 1352 ++++++++++++++++++++ gdb/contrib/ari/gdb_find.sh | 42 + gdb/contrib/ari/update-web-ari.sh | 939 ++++++++++++++ gdb/contrib/cc-with-tweaks.sh | 20 + gdb/corelow.c | 41 +- gdb/doc/ChangeLog | 41 + gdb/doc/gdb.texinfo | 128 ++- gdb/doc/observer.texi | 15 - gdb/doublest.c | 2 +- gdb/dwarf2read.c | 1057 +++++++++++++--- gdb/eval.c | 193 +--- gdb/event-top.c | 24 +- gdb/event-top.h | 1 - gdb/expprint.c | 16 - gdb/frame.c | 7 +- gdb/gdb_bfd.c | 184 +-- gdb/gdbarch.c | 34 +- gdb/gdbarch.h | 31 +- gdb/gdbarch.sh | 63 +- gdb/gdbserver/ChangeLog | 9 + gdb/gdbserver/gdbthread.h | 2 + gdb/gdbserver/remote-utils.c | 2 +- gdb/gdbserver/server.c | 6 +- gdb/gdbserver/spu-low.c | 3 - gdb/gdbserver/thread-db.c | 2 +- gdb/gdbserver/tracepoint.c | 2 +- gdb/gnu-nat.c | 3 +- gdb/gnulib/update-gnulib.sh | 118 ++ gdb/go32-nat.c | 3 +- gdb/i386-darwin-tdep.h | 1 - gdb/i386-nat.c | 2 +- gdb/i386-nat.h | 2 - gdb/i386-tdep.c | 43 +- gdb/inferior.c | 26 + gdb/inferior.h | 18 + gdb/infrun.c | 95 +- gdb/linux-nat.c | 5 + gdb/linux-tdep.c | 56 + gdb/m68k-tdep.c | 3 - gdb/mi/mi-cmd-break.c | 2 +- gdb/osabi.c | 29 +- gdb/parse.c | 1 - gdb/ppc-linux-tdep.c | 12 +- gdb/ppcnbsd-nat.c | 3 +- gdb/python/py-auto-load.c | 23 +- gdb/python/py-bpevent.c | 1 + gdb/python/py-continueevent.c | 1 + gdb/python/py-event.c | 1 + gdb/python/py-event.h | 1 - gdb/python/py-events.h | 1 - gdb/python/py-evts.c | 1 + gdb/python/py-exitedevent.c | 1 + gdb/python/py-newobjfileevent.c | 1 + gdb/python/py-signalevent.c | 1 + gdb/python/py-stopevent.c | 1 + gdb/python/py-threadevent.c | 1 + gdb/ravenscar-sparc-thread.c | 4 + gdb/ravenscar-thread.c | 15 +- gdb/remote.c | 13 +- gdb/rs6000-aix-tdep.c | 10 + gdb/s390-tdep.c | 15 +- gdb/sh64-tdep.c | 15 +- gdb/solib-som.c | 4 +- gdb/source.c | 8 + gdb/std-operator.def | 13 - gdb/target-descriptions.c | 96 ++- gdb/target-descriptions.h | 34 +- gdb/target.c | 2 + gdb/target.h | 10 - gdb/testsuite/ChangeLog | 239 ++++ gdb/testsuite/gdb.ada/set_wstr.exp | 74 ++ gdb/testsuite/gdb.ada/set_wstr/a.adb | 26 + gdb/testsuite/gdb.ada/set_wstr/pck.adb | 21 + gdb/testsuite/gdb.ada/set_wstr/pck.ads | 19 + gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp | 84 ++ .../gdb.ada/unc_arr_ptr_in_var_rec/foo.adb | 51 + .../gdb.ada/unc_arr_ptr_in_var_rec/pck.adb | 21 + .../gdb.ada/unc_arr_ptr_in_var_rec/pck.ads | 19 + gdb/testsuite/gdb.arch/amd64-pseudo.c | 16 + gdb/testsuite/gdb.arch/pa-nullify.exp | 20 +- gdb/testsuite/gdb.arch/system-gcore.exp | 19 +- gdb/testsuite/gdb.arch/vsx-regs.exp | 20 +- gdb/testsuite/gdb.base/auxv.exp | 15 +- gdb/testsuite/gdb.base/callfuncs.exp | 9 - gdb/testsuite/gdb.base/catch-syscall.exp | 5 + gdb/testsuite/gdb.base/comprdebug.exp | 46 + .../gdb.base/disabled-location.c} | 31 +- gdb/testsuite/gdb.base/disabled-location.exp | 41 + .../gdb.base/foll-vfork-exit.c} | 40 +- gdb/testsuite/gdb.base/foll-vfork.c | 19 + gdb/testsuite/gdb.base/foll-vfork.exp | 573 ++++++--- gdb/testsuite/gdb.base/gcore-buffer-overflow.exp | 15 +- gdb/testsuite/gdb.base/gcore-relro.exp | 13 +- gdb/testsuite/gdb.base/gcore.exp | 20 +- gdb/testsuite/gdb.base/gnu_vector.c | 13 + gdb/testsuite/gdb.base/gnu_vector.exp | 10 + gdb/testsuite/gdb.base/info-os.exp | 2 +- .../gdb.base/ldbl_e308.c} | 22 +- gdb/testsuite/gdb.base/ldbl_e308.exp | 31 + gdb/testsuite/gdb.base/setvar.c | 7 + gdb/testsuite/gdb.base/setvar.exp | 8 + gdb/testsuite/gdb.base/siginfo-obj.exp | 22 + gdb/testsuite/gdb.base/siginfo-thread.c | 83 ++ .../{siginfo-obj.exp => siginfo-thread.exp} | 87 +- gdb/testsuite/gdb.base/varargs.exp | 11 +- gdb/testsuite/gdb.base/vforked-prog.c | 17 + gdb/testsuite/gdb.cell/gcore.exp | 14 +- gdb/testsuite/gdb.mi/mi-break.exp | 20 + gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 3 +- gdb/testsuite/gdb.mi/mi-disassemble.exp | 17 +- gdb/testsuite/gdb.mi/mi-watch.exp | 4 +- .../gdb.multi/multi-arch-exec.c} | 31 +- gdb/testsuite/gdb.multi/multi-arch-exec.exp | 64 + gdb/testsuite/gdb.multi/multi-arch.exp | 76 ++ gdb/testsuite/gdb.python/py-strfns.exp | 17 +- gdb/testsuite/gdb.threads/gcore-thread.exp | 14 +- gdb/testsuite/gdb.trace/ftrace.exp | 4 +- gdb/testsuite/lib/gdb.exp | 38 +- gdb/tui/tui-hooks.c | 41 +- gdb/ui-file.c | 12 +- gdb/version.in | 2 +- gdb/windows-nat.c | 12 +- gdb/xcoffread.c | 8 +- include/ChangeLog | 24 + include/bfdlink.h | 26 + include/dwarf2.def | 14 + include/elf/ChangeLog | 19 +- include/elf/arm.h | 5 + include/elf/common.h | 6 + include/elf/mips.h | 8 +- opcodes/ChangeLog | 40 + opcodes/aarch64-opc.h | 2 +- opcodes/configure.in | 2 +- opcodes/i386-dis.c | 119 +- opcodes/ia64-gen.c | 2 +- opcodes/po/POTFILES.in | 11 + opcodes/ppc-opc.c | 6 +- opcodes/s390-mkopc.c | 2 +- opcodes/s390-opc.c | 6 + opcodes/s390-opc.txt | 21 +- opcodes/z8k-opc.h | 96 +- opcodes/z8kgen.c | 17 +- sim/ChangeLog | 4 + sim/MAINTAINERS | 2 +- 214 files changed, 7899 insertions(+), 2525 deletions(-) create mode 100644 config/gthr.m4 create mode 100644 gdb/contrib/ari/create-web-ari-in-src.sh create mode 100644 gdb/contrib/ari/gdb_ari.sh create mode 100644 gdb/contrib/ari/gdb_find.sh create mode 100644 gdb/contrib/ari/update-web-ari.sh create mode 100644 gdb/gnulib/update-gnulib.sh create mode 100644 gdb/testsuite/gdb.ada/set_wstr.exp create mode 100644 gdb/testsuite/gdb.ada/set_wstr/a.adb create mode 100644 gdb/testsuite/gdb.ada/set_wstr/pck.adb create mode 100644 gdb/testsuite/gdb.ada/set_wstr/pck.ads create mode 100644 gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp create mode 100644 gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec/foo.adb create mode 100644 gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec/pck.adb create mode 100644 gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec/pck.ads create mode 100644 gdb/testsuite/gdb.base/comprdebug.exp copy gdb/{i386-darwin-tdep.h => testsuite/gdb.base/disabled-location.c} (53%) create mode 100644 gdb/testsuite/gdb.base/disabled-location.exp copy gdb/{i386-darwin-tdep.h => testsuite/gdb.base/foll-vfork-exit.c} (53%) copy gdb/{i386-darwin-tdep.h => testsuite/gdb.base/ldbl_e308.c} (56%) create mode 100644 gdb/testsuite/gdb.base/ldbl_e308.exp create mode 100644 gdb/testsuite/gdb.base/siginfo-thread.c copy gdb/testsuite/gdb.base/{siginfo-obj.exp => siginfo-thread.exp} (54%) copy gdb/{i386-darwin-tdep.h => testsuite/gdb.multi/multi-arch-exec.c} (53%) create mode 100644 gdb/testsuite/gdb.multi/multi-arch-exec.exp create mode 100644 gdb/testsuite/gdb.multi/multi-arch.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index b526a8f..831ab76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2012-11-03 H.J. Lu + + * configure: Regenerated. + +2012-11-03 Robert Mason + + * configure.ac: add --disable-libstdcxx configure option + and handle defaulted state only for VxWorks, ARM-wince-pe and AVR. + +2012-10-24 Corinna Vinschen + + * configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building + against Mingw64 w32api. + * configure: Regenerate. + +2012-10-23 Eric Botcazou + + PR bootstrap/54820 + * configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. + * configure: Regenerate. + 2012-10-22 Eric Botcazou PR bootstrap/54820 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4bb6d53..85e94b9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,234 @@ +2012-11-09 H.J. Lu + + * aout-tic30.c (MY_final_link_callback): Remove trailing + redundant `;'. + * coff-h8500.c (extra_case): Likewise. + (bfd_coff_reloc16_get_value): Likewise. + * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. + * elf.c (_bfd_elf_slurp_version_tables): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-v850.c (v850_elf_perform_relocation): Likewise. + * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. + * plugin.c (add_symbols): Likewise. + * reloc.c (bfd_check_overflow): Likewise. + * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. + +2012-11-08 Tom Tromey + + * elf.c (elfcore_grok_note) : New case; make + pseudosection. + +2012-11-08 Alan Modra + + * aclocal.m4: Regenerate. + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2012-11-07 H.J. Lu + + * section.c (bfd_get_section_contents): Replace memcpy + with memmove. + +2012-11-07 Hans-Peter Nilsson + + PR binutils/14481 + * aout-target.h (MY_close_and_cleanup): Make local function + instead of alias of MY_bfd_free_cached_info. Also call + _bfd_generic_close_and_cleanup. + +2012-11-06 H.J. Lu + + PR binutils/14813 + * bfdio.c (bfd_iovec): Change return type of bclose to + bfd_boolean. + (memory_bclose): Change return type to bfd_boolean. + * cache.c (cache_bclose): Likewise. + * opncls.c (opncls_bclose): Likewise. Return TRUE on success. + * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. + * libbfd.h: Regenerated. + +2012-11-06 Tristan Gingold + + * coff-x86_64.c (_bfd_generic_find_nearest_line_discriminator): + Define as coff_find_nearest_line_discriminator. + +2012-11-06 Alan Modra + + PR binutils/14567 + * opncls.c (opncls_iovec): Forward declare. + (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream + to new bfd. + +2012-11-06 Alan Modra + + * mach-o.c (bfd_mach_o_close_and_cleanup): Don't call + _bfd_generic_close_and_cleanup for mach_o_fat archives. + +2012-11-06 Alan Modra + + * coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, + tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, + tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in + section flags. + * coff-ppc.c (TARGET_LITTLE_SYM): Likewise. + (TARGET_BIG_SYM): Likewise. + +2012-11-06 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. + (ppc64_elf_size_stubs): Lookup ".TOC.". + (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". + +2012-11-06 Alan Modra + + * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP. + +2012-11-05 Andreas Krebbel + + PR target/14788 + * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for + local ifunc symbols. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + +2012-11-05 Alan Modra + + * configure.in: Apply 2012-09-10 change to config.in here. + +2012-11-05 Alan Modra + + * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" inside + loop. Really mark toc entry referring to another toc entry + only if the first is used. + +2012-10-30 H.J. Lu + + * configure.in: Also handle --enable-64-bit-bfd when setting + CORE_HEADER for 'i[3-7]86-*-linux-*'. + +2012-10-30 Steve McIntyre + + * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and + display the new ARM hard-float/soft-float ABI flags for EABI_VER5 + (elf32_arm_post_process_headers): Add the hard-float/soft-float + ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. + +2012-10-30 Yao Qi + H.J. Lu + + * configure.in: Set CORE_HEADER to hosts/x86-64linux.h for + 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. + * configure: Regenerated. + + * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type + 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and + 'prstatus64_t' respectively. + + * hosts/x86-64linux.h (a8_uint64_t): New. + (user_regsx32_struct): Renamed to ... + (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. + (elf_gregx32_t): Renamed to ... + (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. + (ELF_NGREGX32): Removed. + (ELF_NGREG64): New. + (elf_gregx32_t): Removed. + (elf_greg64_t): New. + (struct prstatus64_timeval): New. + (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. + (elf_prstatus64): New. + (elf_prpsinfo64): New. + (prstatus64_t, prpsinfo64_t): New typedef. + +2012-10-29 Sean Keys + + * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for + R_XGATE_16 + +2012-10-29 Alan Modra + + * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in + R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, + R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, + R_PPC_VLE_SDAREL_HA16A reloc howtos. + +2012-10-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2012-10-26 Alan Modra + + PR target/14758 + * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS + bfd_reloc values. Map to corresponding D-form relocs. + (is_insn_ds_form, is_insn_qs_form): New functions. + (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form + fields using D-form reloc. + +2012-10-25 H.J. Lu + + * elf32-i386.c (elf_i386_size_dynamic_sections): Replace + _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. + * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. + +2012-10-24 H.J. Lu + + * compress.c (bfd_is_section_compressed): Don't decompress the + section. + +2012-10-23 Nathan Sidwell + + * bfd-in.h (bfd_elf_stack_segment_size): Declare. + * bfd-in2.h: Rebuilt. + * elfxx-target.h (elf_backend_stack_align): New. + (elfNN_bed): Add it. + * elf-bfd.h (struct elf_backend_data): Add stack_align field. + * elf.c (bfd_elf_map_sections_to_segments): Pay attention to + stack_align and stacksize for PT_GNU_STACK segment. + (assign_file_positions_for_non_load_sections): Set p_memsz for + PT_GNU_STACK segment. + (copy_elf_program_header): Copy PT_GNU_STACK size. + * elflink.c (bfd_elf_stack_segment_size): New function, taken from + uclinux backends. + (bfd_elf_size_dynamic_sections): Determine + PT_GNU_STACK requirements after calling backend. Pay attention to + stacksize. + * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call + bfd_elf_stack_segment_size. + (elf32_bfinfdpic_modify_program_headers): Delete. + (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK + here. + (elf_backend_stack_align): Override. + (elf_backend_modify_program_headers): Don't override. + * elf32-frv.c (frvfdpic_always_size_sections): Call + bfd_elf_stack_segment_size. + (elf32_frvfdpic_modify_program_headers): Delete. + (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK + here. + (elf_backend_stack_align): Override. + (elf_backend_modify_program_headers): Don't override. + * elf32-lm32.c (lm32_elf_always_size_sections): Leave + PT_GNU_STACK creation to underlying elf support. Check + __stacksize here for backwards compatibility, and set it if + needed. + (lm32_elf_modify_segment_map): Delete. + (lm32_elf_modify_program_headers): Delete. + (elf_backend_stack_align): Override. + (elf_backend_modify_segment_map): Don't override. + (elf_backend_modify_program_headers): Don't override. + * elf32-sh.c (sh_elf_always_size_sections): Call + bfd_elf_stack_segment_size. + (sh_elf_modify_program_headers): Delete. + (sh_elf_copy_private_data): Don't copy PT_GNU_STACK + here. + (elf_backend_stack_align): Override. + (elf_backend_modify_program_headers): Don't override. + * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call + bfd_elf_stack_segment_size. + (elf32_tic6x_modify_program_headers): Delete. + (elf32_tic6x_copy_private_data): Delete. + (elf_backend_stack_align): Override. + (bfd_elf32_bfd_copy_private_bfd_data): Don't override. + (elf_backend_modify_program_headers): Don't override. + 2012-10-22 Alan Modra * cache.c (cache_bmmap): Don't use void* arithmetic. @@ -1301,7 +1532,7 @@ PR target/13503 * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. * bfd-in2.h: Regenerate. - * libbfd.h: Regenrate. + * libbfd.h: Regenerate. * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8. (avr_reloc_map): Likewise. @@ -1439,7 +1670,7 @@ * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. * bfd-in2.h: Regenerate. - * libbfd.h: Regenrate. + * libbfd.h: Regenerate. * elf32-avr.c (elf_avr_howto_table): Add entries for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 7b0f863..66dd911 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -47,8 +47,7 @@ DIST_COMMON = README ChangeLog $(srcdir)/Makefile.in \ $(top_srcdir)/po/Make-in $(srcdir)/../depcomp \ $(am__bfdinclude_HEADERS_DIST) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../bfd/bfd.m4 \ - $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../config/acx.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/gettext-sister.m4 \ $(top_srcdir)/../config/largefile.m4 \ @@ -61,6 +60,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../bfd/bfd.m4 \ $(top_srcdir)/../config/stdint.m4 $(top_srcdir)/../libtool.m4 \ $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \ $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \ + $(top_srcdir)/bfd.m4 $(top_srcdir)/warning.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/zlib.m4 \ $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4 index bf4ef1d..d9e743e 100644 --- a/bfd/aclocal.m4 +++ b/bfd/aclocal.m4 @@ -968,8 +968,6 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR -m4_include([../bfd/bfd.m4]) -m4_include([../bfd/warning.m4]) m4_include([../config/acx.m4]) m4_include([../config/depstand.m4]) m4_include([../config/gettext-sister.m4]) @@ -986,4 +984,6 @@ m4_include([../ltoptions.m4]) m4_include([../ltsugar.m4]) m4_include([../ltversion.m4]) m4_include([../lt~obsolete.m4]) +m4_include([bfd.m4]) +m4_include([warning.m4]) m4_include([acinclude.m4]) diff --git a/bfd/aout-target.h b/bfd/aout-target.h index f6e8bd2..1ffef87 100644 --- a/bfd/aout-target.h +++ b/bfd/aout-target.h @@ -577,7 +577,18 @@ MY_bfd_final_link (bfd *abfd, struct bfd_link_info *info) #endif #ifndef MY_close_and_cleanup -#define MY_close_and_cleanup MY_bfd_free_cached_info + +/* Handle closing of a BFD including the resource-releasing parts. */ + +static bfd_boolean +MY_close_and_cleanup (bfd *abfd) +{ + if (!MY_bfd_free_cached_info (abfd)) + return FALSE; + + return _bfd_generic_close_and_cleanup (abfd); +} + #endif #ifndef MY_get_dynamic_symtab_upper_bound diff --git a/bfd/aout-tic30.c b/bfd/aout-tic30.c index f3b0d36..d8ce9be 100644 --- a/bfd/aout-tic30.c +++ b/bfd/aout-tic30.c @@ -701,7 +701,7 @@ MY_final_link_callback (bfd *abfd, *ptreloff = obj_datasec (abfd)->filepos + execp->a_data; *pdreloff = *ptreloff + execp->a_trsize; - *psymoff = *pdreloff + execp->a_drsize;; + *psymoff = *pdreloff + execp->a_drsize; } #endif diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index a8c2db1..968b72c 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -648,6 +648,8 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list (bfd *, struct bfd_link_info *); extern bfd_boolean bfd_elf_get_bfd_needed_list (bfd *, struct bfd_link_needed_list **); +extern bfd_boolean bfd_elf_stack_segment_size (bfd *, struct bfd_link_info *, + const char *, bfd_vma); extern bfd_boolean bfd_elf_size_dynamic_sections (bfd *, const char *, const char *, const char *, const char *, const char *, const char * const *, struct bfd_link_info *, struct bfd_section **); diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 919f51a..e94e3c8 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -655,6 +655,8 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list (bfd *, struct bfd_link_info *); extern bfd_boolean bfd_elf_get_bfd_needed_list (bfd *, struct bfd_link_needed_list **); +extern bfd_boolean bfd_elf_stack_segment_size (bfd *, struct bfd_link_info *, + const char *, bfd_vma); extern bfd_boolean bfd_elf_size_dynamic_sections (bfd *, const char *, const char *, const char *, const char *, const char *, const char * const *, struct bfd_link_info *, struct bfd_section **); diff --git a/bfd/bfdio.c b/bfd/bfdio.c index 43a7684..a80cd4f 100644 --- a/bfd/bfdio.c +++ b/bfd/bfdio.c @@ -154,7 +154,7 @@ DESCRIPTION . {* For the following, on successful completion a value of 0 is returned. . Otherwise, a value of -1 is returned (and <> is set). *} . int (*bseek) (struct bfd *abfd, file_ptr offset, int whence); -. int (*bclose) (struct bfd *abfd); +. bfd_boolean (*bclose) (struct bfd *abfd); . int (*bflush) (struct bfd *abfd); . int (*bstat) (struct bfd *abfd, struct stat *sb); . {* Mmap a part of the files. ADDR, LEN, PROT, FLAGS and OFFSET are the usual @@ -576,7 +576,7 @@ memory_bseek (bfd *abfd, file_ptr position, int direction) return 0; } -static int +static bfd_boolean memory_bclose (struct bfd *abfd) { struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; diff --git a/bfd/cache.c b/bfd/cache.c index 88f89b1..b1dcd5a 100644 --- a/bfd/cache.c +++ b/bfd/cache.c @@ -359,7 +359,7 @@ cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes) return nwrite; } -static int +static bfd_boolean cache_bclose (struct bfd *abfd) { return bfd_cache_close (abfd); diff --git a/bfd/coff-h8500.c b/bfd/coff-h8500.c index 1fae964..9b64599 100644 --- a/bfd/coff-h8500.c +++ b/bfd/coff-h8500.c @@ -222,7 +222,7 @@ extra_case (bfd *in_abfd, v = (v & 0x00ffffff) | (o & 0xff00000); bfd_put_32 (in_abfd, (bfd_vma) v, data + *dst_ptr -1); (*dst_ptr) += 3; - (*src_ptr) += 3;; + (*src_ptr) += 3; } break; case R_H8500_IMM32: @@ -230,7 +230,7 @@ extra_case (bfd *in_abfd, int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section); bfd_put_32 (in_abfd, (bfd_vma) v, data + *dst_ptr); (*dst_ptr) += 4; - (*src_ptr) += 4;; + (*src_ptr) += 4; } break; diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c index fa04933..19ae3e6 100644 --- a/bfd/coff-ppc.c +++ b/bfd/coff-ppc.c @@ -2480,10 +2480,11 @@ const bfd_target TARGET_LITTLE_SYM = HAS_SYMS | HAS_LOCALS | WP_TEXT | D_PAGED), #ifndef COFF_WITH_PE - (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */ + (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY + | SEC_RELOC), /* section flags */ #else - (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC /* section flags */ - | SEC_LINK_ONCE | SEC_LINK_DUPLICATES), + (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY + | SEC_RELOC | SEC_LINK_ONCE | SEC_LINK_DUPLICATES), #endif 0, /* leading char */ @@ -2540,10 +2541,11 @@ const bfd_target TARGET_BIG_SYM = HAS_SYMS | HAS_LOCALS | WP_TEXT | D_PAGED), #ifndef COFF_WITH_PE - (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */ + (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY + | SEC_RELOC), /* section flags */ #else - (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC /* section flags */ - | SEC_LINK_ONCE | SEC_LINK_DUPLICATES), + (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY + | SEC_RELOC | SEC_LINK_ONCE | SEC_LINK_DUPLICATES), #endif 0, /* leading char */ diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c index 5814faf..c59894a 100644 --- a/bfd/coff-tic4x.c +++ b/bfd/coff-tic4x.c @@ -261,19 +261,31 @@ tic4x_reloc_processing (arelent *relent, /* TI COFF v0, DOS tools (little-endian headers). */ -CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, & ticoff0_swap_table); +CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", + HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + NULL, &ticoff0_swap_table); /* TI COFF v0, SPARC tools (big-endian headers). */ -CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, & ticoff0_swap_table); +CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", + HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + &tic4x_coff0_vec, &ticoff0_swap_table); hooks/post-receive -- Repository for Project Archer.