From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19246 invoked by alias); 11 Jul 2012 14:21:37 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 19040 invoked by uid 9514); 11 Jul 2012 14:21:29 -0000 Date: Wed, 11 Jul 2012 14:21:00 -0000 Message-ID: <20120711142129.19025.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: 54612dd2bc40b8cf406b5f5c338239836a0c68b6 X-Git-Newrev: a81b9451ed963f10a9e7470dfabfbf5946a53462 X-SW-Source: 2012-q3/txt/msg00006.txt.bz2 List-Id: The branch, archer-pmuldoon-python-backtrace has been updated via a81b9451ed963f10a9e7470dfabfbf5946a53462 (commit) via b575bcbf3be2ab1ccef2932964fdb9aed5d46261 (commit) via 91f7b4ec75ecf628dbcf2340fad4be7182379920 (commit) via fa6ab0303cae7afb68b931e655eb1d0a82437f67 (commit) via 8237a7c5bf3d76be7159639cd3977dd51f739952 (commit) via e79fe37c513da4eb9612bf6eadc61539782df1fd (commit) via e1dd9547b6e990d6c3a35106b5a21dc3649b1be2 (commit) via a78ba7da2c1b39cfa083ef3bc83aadcff4f32909 (commit) via 7478eae761d755328d995a7354e5c927fcfa623e (commit) via ed8e9d8857c8259fcfe54f88567aecd0aa28a9c8 (commit) via 156025ed41ac385f4e7729289bbab2c6b8d0587c (commit) via 9630e38b8d046c38b463a0001be134aa4e8544d6 (commit) via 4c7a87ed18db4d87db90ffc5c93d757f5ff761d8 (commit) via c3e4ce03363908b45fe02bd4f681fb1c87cdcabc (commit) via 637e0f5e16985dd8f7d8311ca2c8d579ac3db108 (commit) via b6d52f899989d99965b372406fdc7a60d7aaf394 (commit) via 38db37b68be103f5c198e29cdb9cc9edde52e4ec (commit) via f52ccc65fdc5845fc81ae2a5ed697551abcbec10 (commit) via f73e194501a969c66208d4c0dccbeab487b20719 (commit) via 3f13479af4ae1943886ca66b239de2b211ad43f4 (commit) via ce416d81d7e30fcdea531860561e622771d3ecfa (commit) via 16de5cf795298cc76e9db7b75cc35723d3922d87 (commit) via 6892d372107132f250e8ee5b80e7b2b90c391915 (commit) via aa737d06e7b88452dafc14e185041cf5769976f1 (commit) via 55adedf9ff25c0b5b9fb3112b50e2fb294b660b1 (commit) via 5992f94ba11731485edb0bf556e57819208657ee (commit) via 9962a1f2e4999e17ae04ba9b115297455c0b839a (commit) via 314bf0714f762954532b3c6069ecf91af85834aa (commit) via 0a7f38d48d9ae36ef2cbc0f85aa8fc566c6df08f (commit) via c2e5f002abe3097504c0b476998e954adabd1753 (commit) via ccd87cae79a4e6aac4675bd0ad770aa46ab80de2 (commit) via 52fc103f248ffc9d32b17b22974d565cd042acd9 (commit) via 7eb23e0811b14d0b8f5c08c87ab4b5d1ef913581 (commit) via d479bbcb47a1dacba22919cfdb47db696e95f932 (commit) via 484118c3151e97ad0207fe6a6f35438e64d3c65a (commit) via 42ad8e35a1273caaefa962edf8324845445218c1 (commit) via 706bd692c053fdd1fd084e5aca0bbf13764bd0e6 (commit) via 86077df9ccbf0e8d91d1ad818d47e495b02daa06 (commit) via d53235d75ec68952d555127b00acbc646baab736 (commit) via 18a6235847292894cccdb4270602350f25d87104 (commit) via 4ec2ded38f5946e4b66ccb5488328c56d395f8ed (commit) via 37a594f2e05655eaf450ce2085308d3e164d2b05 (commit) via dbc7bee5b53cd803319bff9071068e1213464676 (commit) via 5125fd96883f9d1d6be4c23e5e89f38c949efe46 (commit) via f32967d5b3553dd02a0bcdb0e104b2d863c5b98f (commit) via e3bf16c6208e30aa2bbebd971573eb72c76eda17 (commit) via f1b0f7b800624863e4b86756ce645f7dc3319060 (commit) via 12512cee03adea646050f11fbb13a8e8d24906fb (commit) via ed9df6851e61eecede3ec2d9018fa9fb797126d6 (commit) via e341fbb6d6e228fe597cf4835ebab19faeeac06e (commit) via 7b88f454e884f6bcc87a07f1ebce7917155bb43e (commit) via 17875c2698809aa008a80f37dacb17ab004e111d (commit) via 40c86c521242df4168463a2cbb1c67f6b71fbf4e (commit) via cbe3fa0426c0ee124fadc6ece46bbab02558855a (commit) via b67770f86b1a654d9de211b414649627ec88988b (commit) via 9cf9133ea7fd36f5a0fe9938ee44a877e44022d1 (commit) via b497cbaa7d550d20598c459c2a5706bc6e50d3bf (commit) via 6ad4d3964fe93b5b9ce32f12840791bb93985dbc (commit) via 6123c4b24f9b409ad90f570a112e4d157a40f776 (commit) via 34742843a4c080818ec7cf04e875e2e51f4d566f (commit) via c5d86f20b536ca0a123d00b386b6caf119ed3410 (commit) via 4d7f422bad590dd24252bbf4d01b662d872b7333 (commit) via 76d5acf9825f270c51d4068826b8f69ee1e32040 (commit) via 5a6f1f7dd36023772d861396c7cb8dcfc2b67338 (commit) via 98a1ee38a9736aa8117356d7bdb1d2990e2b9aef (commit) via ea38cf9e4ddde21ac724cf764d66427a2cb510d4 (commit) via dc50ade7b669d2de6fa4a2344c17dd81818cd4d2 (commit) via 95a42f033160e356f68b39f22a4298c484439948 (commit) via a093eb61cf182a4d9f63f785865658af44cc0328 (commit) via a814aa16a51db633fd68a4d0911cd86e1e6797eb (commit) via 53a412880fba3e76fb0a0101c0fbeb4edc8876ce (commit) via f281923763626444943cf8c6ff14d3154a797bab (commit) via 561265fa8c0eada27eea13917b1ae8ec51c914b0 (commit) via 4308a63f296b09af42e3206bf9a7b11b3bc05668 (commit) via fdbe18114b581969903d58a90ecda2ab8bdbf52b (commit) via edabbb28f0a04b71fa21d9f9eda170786b682098 (commit) via dde70c674d1df71518e287e401445905b342bb5c (commit) via 1d3b1527c84d1cdde899bad9b16951abdf20efba (commit) via 79077b95e52995607b1b8d10558228ec5928c6cc (commit) via e54758687412c1f4dc8da1dde6c0b1c273e5c8c6 (commit) via 251930f43eab0a422a0bda36a58959cc082982ce (commit) via 8a26a566700f8250efd58c1224e3d9f0cc550d55 (commit) via 2885fb01788703023acfeb2bade84c20d8723853 (commit) via 095c662f6a5fccc38869b19a6eafbf75741d24cf (commit) via 8a0ab44aed119fef254ba1f1046c79ce6157c72f (commit) via d84935d0c8761fee9214a70ccbd861b04d7bf039 (commit) via 60d0ae2878e05299c23943365270b070371d9900 (commit) via b7734a7b77e439105a6b46c97acae06f31a5aedb (commit) via 4cb0f14dbd8ff497061071b987bcaaa3ea98594d (commit) via cbf6c22b5c9d6e4208acd172d9142ca964e7adea (commit) via d7eb8251bfe8ecf52ffaac89bcd7b77141bceaa7 (commit) via 1aa987e05c6d994adce9b59e8de41012c4b16148 (commit) via 0c060bddb3649a2bff22c9cd99728364da99910f (commit) via 83e05bffeb5fbb662a3721d29a182b302df57d66 (commit) via 8a42278cbef0b7bad1b44cd75cf0097b74c4c147 (commit) via f4bdf0d09a99511befb043be3fcbe9522bfb753b (commit) via 0218da5fd33e34895fcd0721a9b3b3f227f61d6d (commit) via c88bfcb5e3919d3400ad7cdd59b28d43faefdc52 (commit) via 1fa401cbd559e8f03568cfce000e4c20703d20cf (commit) via 5cf8dae85882acb4faf0eaaa1fef6cac46ff6d77 (commit) via 6c0da10eb6ffb6846f5f6c332a765e368cf1ca45 (commit) via b08aa0b1f1abafc98b6e5edafa69fb3ba934cd3a (commit) via 6cc6874bcd55831d9aa12ce5a07bac2c3c78c17c (commit) via aeda83c899d953008e933e76af960b15fd89ae07 (commit) via 3674db2099037a0a4e8e2d0263861de7fa592e59 (commit) via 7aa721b0c2f443fb914e470193f89dd46d12e3a2 (commit) via 7af506621f1d70873ea8947d33ad9bd1837957cc (commit) via 05d54ee46b1c56b5c5acf8cac8d37e3c3bfa99ee (commit) via 6f78f9ffa4a11a823a1a54631c891fa41cc4eacb (commit) via d1ce593cfa1522ff45f35d7c9e991a40adf4a9df (commit) via db1148be3131d9b5f458fc4fc75d9bc6eeffc7ad (commit) via 83597752a7b1ca85883986494ae995bd814dd058 (commit) via 9377a0d1474eb9e8d3bc5ce6750bb4bbc8830db1 (commit) via 79d27f369af3e33e7210def9215d00168a6de946 (commit) via de28606b48aa2304a6d6097a9d16d5ee2b4d3601 (commit) via debd0266697ae3dad46a5a7a5b542fe8181b4006 (commit) via 815ba3977f58dfe694d8efd49c8a2e2721ef1af2 (commit) via f4944821d0d5bf9f3f93d5771a9675a62e3e5dd9 (commit) via fb09819147da5a03fc3032648e0ee18422269476 (commit) via 8f9fc88f581b701c626e3fb68bc45e8683a38d12 (commit) via 92da80107676034252b6c1313d186fddf30a6088 (commit) via 7811b7f7c825f7bc77e8f1401ff98bdf7a1fbe99 (commit) via 3371bc075199aa2b4b555d353890e509c26af6ba (commit) via f790ccd747cd70e530d8ba4c50a9923ffa8504bd (commit) via 8f490dc19b29ff49ce7ab8ea3073196ad7c68c4a (commit) via 17dd954e762d0d8c9e8ee9b30a682a1a908a842f (commit) via 0f992d1ec01eb27c19c78025a8659da7788800df (commit) via e48859bca0269dbd247e8db5daaa01f63368fece (commit) via ed92b10f893f169ba451b77f5efee5bb01633a82 (commit) via fbef701ec28f72adb73867b950c7eb5c08584e71 (commit) via 1a297a45393e9d6d3117c87c2aa81df6846bcfe9 (commit) via b2ee1dae16e07141d8f412d32fbadf34064782e6 (commit) via ab6beb6157caac0f49452654eb50f17656753452 (commit) via b86d552b0a8121d8af07a9c56f261725cf1f88d6 (commit) via f04d9670af1fa57be69e757a949c3476e03e3df6 (commit) via 979d0c94fccc84b42cd4188be4d0897186419423 (commit) via 998f33b60a8da56ac6b7afe00f34a23a25421fd6 (commit) via b0238dab69b1e85a3752888501671b08855eccf9 (commit) via 17b2e584a5ad371755fd467ecd970e5d49794036 (commit) via 28bc675483dc702ff5bc2ccc9931d9db1f0e8b09 (commit) via 5b71ff8e2a48fbf09c364cb747285a772bd33335 (commit) via c9da4c9f4fc5ba31b5d4d9df7a6d9353acf3131c (commit) via de670869977e047a879a7961ad82540b6f27a429 (commit) via 1748c8d5d12653f01dfea0e9a170ad2cb83456ff (commit) via 6582be17f37d33d9698d8c15ecb44a3664db4493 (commit) via d9e852068ca89f840b4e252d6b5b4f9ccff07284 (commit) via 7e6a660069efaf133026626fec54c99ae3e1804a (commit) via dbe56c985fd842f670cf1e763ea3ffa002a19f82 (commit) via 21f54a125addb100da1c04f6c0e03234921ca490 (commit) via 71f4945c649348083c92013d1b8b768423d2f12b (commit) via 2100e422b762a30cb551ab021d420100c30d1e49 (commit) via 3ea20a64cf708887de44a09be59f255fb89ea23a (commit) via 3b51e9672185e0ee7ee3586d32f5e14519d31ccc (commit) via d6c0dcd479b0b1ed07189fcbd8bff9baa95201cf (commit) via 071f07b8ce28416ad688d28ab3b4168ec069f16d (commit) via ee5e1227cb31903d9a7234afd08d32db94a3b5d5 (commit) via add147705f3492a4cca4dfb6c09436c799137b5f (commit) via 06c7cbe08bf647b5871848d86ca7fcda57473565 (commit) via aa3df5336821ffe376076aa13598e0e02aa23b8c (commit) via d08dbae97ea2bdaa986f9be10f84ca34b0f61bca (commit) via 0b78fb046d582bca07b5ff0cf938c5b0a533aee0 (commit) from 54612dd2bc40b8cf406b5f5c338239836a0c68b6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit a81b9451ed963f10a9e7470dfabfbf5946a53462 Merge: 54612dd b575bcb Author: Phil Muldoon Date: Wed Jul 11 15:21:04 2012 +0100 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit b575bcbf3be2ab1ccef2932964fdb9aed5d46261 Author: gdbadmin Date: Wed Jul 11 00:00:33 2012 +0000 *** empty log message *** commit 91f7b4ec75ecf628dbcf2340fad4be7182379920 Author: Alan Modra Date: Wed Jul 11 00:00:05 2012 +0000 daily update commit fa6ab0303cae7afb68b931e655eb1d0a82437f67 Author: Doug Evans Date: Tue Jul 10 20:28:32 2012 +0000 PR gdb/13498 * dwarf2read.c (dwarf2_per_objfile): New members n_type_unit_groups, all_type_unit_groups, type_unit_groups, tu_stats. (dwarf2_per_cu_data): Move "imported_symtabs" into new union "s". All uses updated. Add type_unit_group to union "s". (type_unit_group): New struct. (IS_TYPE_UNIT_GROUP): New macro. (abbrev_table): Delete unused member "section". (dw2_do_instantiate_symtab): Early exit if type_unit_group. (dw2_get_cu): Assert not used with type_unit_group. (dw2_get_primary_cu): New function. (dw2_build_type_unit_groups_reader): New function. (dw2_build_type_unit_groups): New function. (dw2_get_file_names): Assert not called on type units. (dw2_map_symtabs_matching_filename): Call dw2_build_type_unit_groups. Redo loop to iterate over type unit groups instead of type units. (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Ditto. (read_abbrev_offset): New function. (init_cutu_and_read_dies): New arg "abbrev_table". All callers updated. (create_partial_symtab): New function. (process_psymtab_comp_unit_reader): Assert not used with type units. Call create_partial_symtab. (process_psymtab_type_unit): Delete. (hash_type_unit_group, eq_type_unit_group): New functions. (allocate_type_unit_groups_table): New function. (NO_STMT_LIST_TYPE_UNIT_PSYMTAB): New macro. (NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE): New macro. (create_type_unit_group, get_type_unit_group): New functions. (tu_abbrev_offset): New struct. (sort_tu_by_abbrev_offset): New function. (add_type_unit_group_to_table): New function. (build_type_unit_groups): New function. (build_type_psymtabs_reader): New function. (build_type_psymtab_dependencies): New function. (build_type_psymtabs): Rewrite. (scan_partial_symbols): Flag an error if a DW_TAG_imported_unit is seen in a type unit. (process_queue): Move symtab expansion debugging printfs here. Call process_full_type_unit for type units. (compute_symtab_includes): Assert not called for type units. (process_cu_includes): Don't call compute_symtab_includes for type units. (process_full_type_unit): New function. (process_imported_unit_die): Flag an error if called for type units. (handle_DW_AT_stmt_list): Delete arg "want_line_info". All callers updated. Assert not called for type units. (read_file_scope): Call dwarf2_start_symtab. (setup_type_unit_groups): New function. (read_type_unit_scope): Rewrite. (abbrev_table_read_table): Initialize abbrev_table->offset. (abbrev_table_free_cleanup): New function. (dwarf2_start_symtab): New function. (load_full_type_unit): Assert not called for type unit groups. commit 8237a7c5bf3d76be7159639cd3977dd51f739952 Author: Doug Evans Date: Tue Jul 10 20:20:02 2012 +0000 * buildsym.c (finish_block_internal): New arg "expandable". All callers updated. (start_symtab): Move most contents to ... (restart_symtab): ... here. New function. (reset_symtab_globals): New function. (end_symtab_1): Renamed from end_symtab. New arg "expandable". Call reset_symtab_globals. (end_symtab, end_expandable_symtab): New functions. (set_missing_symtab, augment_type_symtab): New functions. * buildsym.h (end_expandable_symtab): Declare. (augment_type_symtab, restart_symtab): Declare. commit e79fe37c513da4eb9612bf6eadc61539782df1fd Author: Doug Evans Date: Tue Jul 10 20:17:29 2012 +0000 * psympriv.h (struct partial_symtab): New member "anonymous". * psymtab.c (partial_map_symtabs_matching_filename): Ignore anonymous psymtabs. (read_psymtabs_with_filename): Ditto. (map_symbol_filenames_psymtab, psymtab_to_fullname): Ditto. (expand_symtabs_matching_via_partial): Ditto. (dump_psymtab): Update. commit e1dd9547b6e990d6c3a35106b5a21dc3649b1be2 Author: Doug Evans Date: Tue Jul 10 20:12:30 2012 +0000 * dictionary.c (dict_add_pending): New function. * dictionary.h (dict_add_pending): Declare. commit a78ba7da2c1b39cfa083ef3bc83aadcff4f32909 Author: Tom Tromey Date: Tue Jul 10 15:32:50 2012 +0000 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, standard_output_file. * gdb.mi/gdb2549.exp: Use standard_testfile. * gdb.mi/gdb669.exp: Use standard_testfile. * gdb.mi/gdb701.exp: Use standard_testfile. * gdb.mi/gdb792.exp: Use standard_testfile. * gdb.mi/mi-async.exp: Use standard_testfile. * gdb.mi/mi-basics.exp: Use standard_testfile. * gdb.mi/mi-break.exp: Use standard_testfile. * gdb.mi/mi-cli.exp: Use standard_testfile. * gdb.mi/mi-console.exp: Use standard_testfile. * gdb.mi/mi-disassemble.exp: Use standard_testfile. * gdb.mi/mi-eval.exp: Use standard_testfile. * gdb.mi/mi-file-transfer.exp: Use standard_testfile. * gdb.mi/mi-file.exp: Use standard_testfile. * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile. * gdb.mi/mi-logging.exp: Use standard_testfile. * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile. * gdb.mi/mi-nonstop.exp: Use standard_testfile. * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile. * gdb.mi/mi-nsintrall.exp: Use standard_testfile. * gdb.mi/mi-nsmoribund.exp: Use standard_testfile. * gdb.mi/mi-nsthrexec.exp: Use standard_testfile. * gdb.mi/mi-pending.exp: Use standard_testfile, standard_output_file. * gdb.mi/mi-pthreads.exp: Use standard_testfile. * gdb.mi/mi-read-memory.exp: Use standard_testfile. * gdb.mi/mi-regs.exp: Use standard_testfile. * gdb.mi/mi-return.exp: Use standard_testfile. * gdb.mi/mi-reverse.exp: Use standard_testfile. * gdb.mi/mi-simplerun.exp: Use standard_testfile. * gdb.mi/mi-solib.exp: Use standard_testfile, standard_output_file. * gdb.mi/mi-stack.exp: Use standard_testfile. * gdb.mi/mi-stepi.exp: Use standard_testfile. * gdb.mi/mi-stepn.exp: Use standard_testfile. * gdb.mi/mi-syn-frame.exp: Use standard_testfile. * gdb.mi/mi-until.exp: Use standard_testfile. * gdb.mi/mi-var-block.exp: Use standard_testfile. * gdb.mi/mi-var-child-f.exp: Use standard_testfile. * gdb.mi/mi-var-child.exp: Use standard_testfile. * gdb.mi/mi-var-cmd.exp: Use standard_testfile. * gdb.mi/mi-var-cp.exp: Use standard_testfile. * gdb.mi/mi-var-display.exp: Use standard_testfile. * gdb.mi/mi-var-invalidate.exp: Use standard_testfile, standard_output_file. * gdb.mi/mi-var-rtti.exp: Use standard_testfile. * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile. * gdb.mi/mi-watch.exp: Use standard_testfile. * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile. * gdb.mi/mi2-basics.exp: Use standard_testfile. * gdb.mi/mi2-break.exp: Use standard_testfile. * gdb.mi/mi2-cli.exp: Use standard_testfile. * gdb.mi/mi2-console.exp: Use standard_testfile. * gdb.mi/mi2-disassemble.exp: Use standard_testfile. * gdb.mi/mi2-eval.exp: Use standard_testfile. * gdb.mi/mi2-file.exp: Use standard_testfile. * gdb.mi/mi2-pthreads.exp: Use standard_testfile. * gdb.mi/mi2-read-memory.exp: Use standard_testfile. * gdb.mi/mi2-regs.exp: Use standard_testfile. * gdb.mi/mi2-return.exp: Use standard_testfile. * gdb.mi/mi2-simplerun.exp: Use standard_testfile. * gdb.mi/mi2-stack.exp: Use standard_testfile. * gdb.mi/mi2-stepi.exp: Use standard_testfile. * gdb.mi/mi2-syn-frame.exp: Use standard_testfile. * gdb.mi/mi2-until.exp: Use standard_testfile. * gdb.mi/mi2-var-block.exp: Use standard_testfile. * gdb.mi/mi2-var-child.exp: Use standard_testfile. * gdb.mi/mi2-var-cmd.exp: Use standard_testfile. * gdb.mi/mi2-var-display.exp: Use standard_testfile. * gdb.mi/mi2-watch.exp: Use standard_testfile. commit 7478eae761d755328d995a7354e5c927fcfa623e Author: Tom Tromey Date: Tue Jul 10 15:18:16 2012 +0000 * gdb.cp/abstract-origin.exp: Use standard_testfile. * gdb.cp/ambiguous.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/anon-ns.exp: Use standard_testfile. * gdb.cp/anon-struct.exp: Use standard_testfile. * gdb.cp/anon-union.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/arg-reference.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/breakpoint.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/call-c.exp: Use standard_testfile, clean_restart, standard_output_file. * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing. (test_static_members): Update. * gdb.cp/cmpd-minsyms.exp: Use standard_testfile. * gdb.cp/converts.exp: Use standard_testfile. * gdb.cp/cp-relocate.exp: Use standard_testfile. * gdb.cp/cpcompletion.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/cplabel.exp: Use standard_testfile. * gdb.cp/cplusfuncs.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/derivation.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/destrprint.exp: Use standard_testfile. * gdb.cp/dispcxx.exp: Use standard_testfile. * gdb.cp/exception.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile. * gdb.cp/extern-c.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/formatted-ref.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/fpointer.exp: Use standard_testfile. * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart, standard_output_file. * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/infcall-dlopen.exp: Use standard_testfile, standard_output_file. * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing. (do_tests): Update. * gdb.cp/koenig.exp: Use standard_testfile. * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/m-static.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/mb-inline.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/mb-templates.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/member-ptr.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/meth-typedefs.exp: Use standard_testfile. * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/method2.exp: Use standard_testfile. * gdb.cp/minsym-fallback.exp: Use standard_testfile, standard_output_file. * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing. (do_tests): Update. * gdb.cp/namespace-enum.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/namespace-nested-import.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/namespace.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/nextoverthrow.exp: Use standard_testfile. * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile. * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/nsimport.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/nsnested.exp: Use standard_testfile. * gdb.cp/nsnoimports.exp: Use standard_testfile. * gdb.cp/nsrecurs.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/nsstress.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/operator.exp: Use standard_testfile. * gdb.cp/oranking.exp: Use standard_testfile. * gdb.cp/overload-const.exp: Use standard_testfile. * gdb.cp/overload.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/ovldbreak.exp: Use standard_testfile. * gdb.cp/ovsrch.exp: Use standard_testfile. * gdb.cp/paren-type.exp: Use standard_testfile. * gdb.cp/pass-by-ref.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart. * gdb.cp/pr10728.exp: Use standard_testfile, standard_output_file. * gdb.cp/pr12028.exp: Use standard_testfile. * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/pr9167.exp: Use standard_testfile. * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/printmethod.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/psmang.exp: Use standard_testfile, clean_restart. * gdb.cp/psymtab-parameter.exp: Use standard_testfile. * gdb.cp/ptype-cv-cp.exp: Use standard_testfile. * gdb.cp/re-set-overloaded.exp: Use standard_testfile, standard_output_file. * gdb.cp/readnow-language.exp: Use standard_testfile. * gdb.cp/ref-params.exp: Use standard_testfile, build_executable. (gdb_start_again): Use clean_restart. * gdb.cp/ref-types.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/smartp.exp: Use standard_testfile. * gdb.cp/static-method.exp: Use standard_testfile. * gdb.cp/static-print-quit.exp: Use standard_testfile. * gdb.cp/temargs.exp: Use standard_testfile. * gdb.cp/templates.exp: Use standard_testfile, prepare_for_testing. (do_tests): Update. * gdb.cp/try_catch.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/typedef-operator.exp: Use standard_testfile. * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/virtbase.exp: Use standard_testfile, prepare_for_testing. * gdb.cp/virtfunc.exp: Use standard_testfile, prepare_for_testing. (do_tests): Update. * gdb.cp/virtfunc2.exp: Use standard_testfile, prepare_for_testing. commit ed8e9d8857c8259fcfe54f88567aecd0aa28a9c8 Author: Tom Tromey Date: Tue Jul 10 14:41:15 2012 +0000 * lib/gdb.exp (standard_testfile): Unset output variables from earlier invocations. commit 156025ed41ac385f4e7729289bbab2c6b8d0587c Author: Doug Evans Date: Tue Jul 10 03:49:23 2012 +0000 * buildsym.c (start_subfile): Remove unnecessary check for name == NULL. commit 9630e38b8d046c38b463a0001be134aa4e8544d6 Author: Doug Evans Date: Tue Jul 10 01:10:25 2012 +0000 * psymtab.c (allocate_psymtab): Use host_address_to_string. commit 4c7a87ed18db4d87db90ffc5c93d757f5ff761d8 Author: Doug Evans Date: Tue Jul 10 01:05:06 2012 +0000 * dwarf2read.c (load_full_type_unit): Simplify. commit c3e4ce03363908b45fe02bd4f681fb1c87cdcabc Author: gdbadmin Date: Tue Jul 10 00:00:33 2012 +0000 *** empty log message *** commit 637e0f5e16985dd8f7d8311ca2c8d579ac3db108 Author: Alan Modra Date: Tue Jul 10 00:00:03 2012 +0000 daily update commit b6d52f899989d99965b372406fdc7a60d7aaf394 Author: Doug Evans Date: Mon Jul 9 20:27:53 2012 +0000 * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units to struct signatured_type **. All uses updated. commit 38db37b68be103f5c198e29cdb9cc9edde52e4ec Author: qiyao Date: Mon Jul 9 18:28:16 2012 +0000 gdb/testsuite: * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags. * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise. * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise. * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise. * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise. * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise. * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise. * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise. * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise. * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise. * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi-var-invalidate.exp: Likewise. * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise. * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-console.exp: Likewise. * gdb.mi/mi2-disassemble.exp: Likewise. * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise. * gdb.mi/mi2-read-memory.exp: Likewise. * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise. * gdb.mi/mi2-simplerun.exp: Likewise. * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise. * gdb.mi/mi2-syn-frame.exp: Likewise. * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise. * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise. * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise. commit f52ccc65fdc5845fc81ae2a5ed697551abcbec10 Author: Doug Evans Date: Mon Jul 9 18:21:30 2012 +0000 * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu". All callers updated. commit f73e194501a969c66208d4c0dccbeab487b20719 Author: Tom Tromey Date: Mon Jul 9 14:20:48 2012 +0000 * c-exp.y (check_parameter_typelist): New function. (parameter_typelist): Call it. * eval.c (make_params): Handle '(void)' case. * gdbtypes.c (lookup_function_type_with_arguments): Handle '(void)' case. testsuite * gdb.base/whatis.exp: Add error checks for improper 'void' uses. * gdb.base/callfuncs.exp: Add cast-based test. * gdb.base/callfuncs.c (voidfunc): New function. commit 3f13479af4ae1943886ca66b239de2b211ad43f4 Author: Alan Modra Date: Mon Jul 9 08:17:30 2012 +0000 PR ld/14323 * elflink.c (elf_sort_symbol): Sort by size too. (elf_link_add_object_symbols ): Simplify binary search. Do not depend on ordering of symbol aliases. Match largest size. commit ce416d81d7e30fcdea531860561e622771d3ecfa Author: Alan Modra Date: Mon Jul 9 00:00:04 2012 +0000 daily update commit 16de5cf795298cc76e9db7b75cc35723d3922d87 Author: gdbadmin Date: Mon Jul 9 00:00:02 2012 +0000 *** empty log message *** commit 6892d372107132f250e8ee5b80e7b2b90c391915 Author: Doug Evans Date: Sun Jul 8 22:34:59 2012 +0000 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo. commit aa737d06e7b88452dafc14e185041cf5769976f1 Author: gdbadmin Date: Sun Jul 8 00:00:36 2012 +0000 *** empty log message *** commit 55adedf9ff25c0b5b9fb3112b50e2fb294b660b1 Author: Alan Modra Date: Sun Jul 8 00:00:06 2012 +0000 daily update commit 5992f94ba11731485edb0bf556e57819208657ee Author: Jan Kratochvil Date: Sat Jul 7 12:13:56 2012 +0000 gdb/ * common/linux-ptrace.c: Include gdb_assert.h. <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration. <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and stdint.h. (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New functions. * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations. * linux-nat.c (linux_child_post_attach) (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings. gdb/gdbserver/ * gdbserver/linux-low.c (initialize_low): Call linux_ptrace_init_warnings. commit 9962a1f2e4999e17ae04ba9b115297455c0b839a Author: Jan Kratochvil Date: Sat Jul 7 12:11:28 2012 +0000 gdb/ * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply nptl <2.7 bug workaround for core files. commit 314bf0714f762954532b3c6069ecf91af85834aa Author: Jan Kratochvil Date: Sat Jul 7 12:10:07 2012 +0000 gdb/testsuite/ Fix XFAIL compatibility with old i386 systems. * gdb.base/stale-infcall.exp (test system longjmp tracking support): Check also 'Cannot insert breakpoint 0'. commit 0a7f38d48d9ae36ef2cbc0f85aa8fc566c6df08f Author: Alan Modra Date: Sat Jul 7 00:00:04 2012 +0000 daily update commit c2e5f002abe3097504c0b476998e954adabd1753 Author: gdbadmin Date: Sat Jul 7 00:00:03 2012 +0000 *** empty log message *** commit ccd87cae79a4e6aac4675bd0ad770aa46ab80de2 Author: Jan Kratochvil Date: Fri Jul 6 16:52:19 2012 +0000 gdb/ * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO clearing. (save_siginfo): Remove. (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo call. (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing. (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO. * linux-nat.h (struct lwp_info): Remove field siginfo. commit 52fc103f248ffc9d32b17b22974d565cd042acd9 Author: Jan Kratochvil Date: Fri Jul 6 16:49:42 2012 +0000 gdb/ Code cleanup for the next patch. * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo call for it. * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. (ia64_linux_stopped_data_address): * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change the return value. * linux-nat.h (linux_nat_get_siginfo): Likewise. * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo call for it. commit 7eb23e0811b14d0b8f5c08c87ab4b5d1ef913581 Author: Jan Kratochvil Date: Fri Jul 6 15:51:38 2012 +0000 gdb/ PR 14321 * findcmd.c (parse_find_args): New variable pattern_buf_size_need. Increase buffer sizes to 2x we need, not just 2x of the previous size. gdb/testsuite/ PR 14321 * gdb.base/find.exp (find int64_search_buf, +64/8*100, int64_search_buf): New test. commit d479bbcb47a1dacba22919cfdb47db696e95f932 Author: Tom Tromey Date: Fri Jul 6 14:48:47 2012 +0000 * c-exp.y (DOTDOTDOT): New token. (func_mod, exp): Use parameter_typelist. (parameter_typelist): New production. (tokentab3): Add "..." token. * eval.c (make_params): Handle varargs. * gdbtypes.c (lookup_function_type_with_arguments): Handle varargs. testsuite * gdb.base/whatis.exp: Add test. commit 484118c3151e97ad0207fe6a6f35438e64d3c65a Author: Tom Tromey Date: Fri Jul 6 14:46:59 2012 +0000 PR exp/9608: * c-exp.y (%union) : Change type. (func_mod): Now uses type. (exp): Update for tvec change. (direct_abs_decl): Push the typelist. (func_mod): Return a typelist. (nonempty_typelist): Update for tvec change. * gdbtypes.c (lookup_function_type_with_arguments): New function. * gdbtypes.h (lookup_function_type_with_arguments): Declare. * parse.c (pop_type_list): New function. (push_typelist): New function. (follow_types): Handle tp_function_with_arguments. * parser-defs.h (type_ptr): New typedef. Define a VEC. (enum type_pieces) : New constant. (union type_stack_elt) : New field. (push_typelist): Declare. testsuite * gdb.base/whatis.exp: Add regression test. commit 42ad8e35a1273caaefa962edf8324845445218c1 Author: Tom Tromey Date: Fri Jul 6 14:44:21 2012 +0000 * c-exp.y (%union) : New field. (abs_decl, direct_abs_decl): Use type. Update. (ptr_operator_ts): New production. (ptype): Update. * parse.c (type_stack_reserve): New function. (check_type_stack_depth): Use it. (pop_type_stack, append_type_stack, push_type_stack) (get_type_stack, type_stack_cleanup): New functions. (follow_types): Handle tp_type_stack. (_initialize_parse): Simplify initialization. * parser-defs.h (enum type_pieces) : New constant. (union type_stack_elt) : New field. (get_type_stack, append_type_stack, push_type_stack) (type_stack_cleanup): Declare. testsuite * gdb.base/whatis.exp: Add tests. commit 706bd692c053fdd1fd084e5aca0bbf13764bd0e6 Author: Tom Tromey Date: Fri Jul 6 14:42:09 2012 +0000 * parser-defs.h (type_stack, type_stack_size, type_stack_depth): Remove. (struct type_stack): New. * parse.c (type_stack, type_stack_size, type_stack_depth): Remove. (type_stack): New global. (parse_exp_in_context, check_type_stack_depth) (insert_into_type_stack, insert_type, push_type, push_type_int) (insert_type_address_space, pop_type, pop_type_int) (_initialize_parse): Update. commit 86077df9ccbf0e8d91d1ad818d47e495b02daa06 Author: Tom Tromey Date: Fri Jul 6 14:40:29 2012 +0000 * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator): Remove %type. commit d53235d75ec68952d555127b00acbc646baab736 Author: Maciej W. Rozycki Date: Fri Jul 6 14:20:21 2012 +0000 * mips.h: Fix a typo in description. commit 18a6235847292894cccdb4270602350f25d87104 Author: siddhesh Date: Fri Jul 6 05:46:04 2012 +0000 * c-lang.c (c_printstr): Remove ununsed variable WIDTH. commit 4ec2ded38f5946e4b66ccb5488328c56d395f8ed Author: siddhesh Date: Fri Jul 6 05:36:03 2012 +0000 * cp-valprint.c (cp_print_value): Replace potentially unsafe alloca with xmalloc/xfree. commit 37a594f2e05655eaf450ce2085308d3e164d2b05 Author: siddhesh Date: Fri Jul 6 03:54:21 2012 +0000 * MAINTAINERS (Write After Approval): Add myself to the list. commit dbc7bee5b53cd803319bff9071068e1213464676 Author: Doug Evans Date: Fri Jul 6 00:01:11 2012 +0000 * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo. commit 5125fd96883f9d1d6be4c23e5e89f38c949efe46 Author: gdbadmin Date: Fri Jul 6 00:00:33 2012 +0000 *** empty log message *** commit f32967d5b3553dd02a0bcdb0e104b2d863c5b98f Author: Alan Modra Date: Fri Jul 6 00:00:04 2012 +0000 daily update commit e3bf16c6208e30aa2bbebd971573eb72c76eda17 Author: seank Date: Thu Jul 5 19:37:52 2012 +0000 gas/config/ * tc-xgate.c: Revised assembler so that operands are collected before the addressing mode is determined. include/opcode/ * xgate.h: Changed the format string for mode XGATE_OP_DYA_MON. opcodes/ * xgate-dis.c: Removed an IF statement that will always be false due to overlapping operand masks. * xgate-opc.c: Corrected 'com' opcode entry and fixed spacing. commit f1b0f7b800624863e4b86756ce645f7dc3319060 Author: tschwinge Date: Thu Jul 5 08:28:22 2012 +0000 Typo fix. commit 12512cee03adea646050f11fbb13a8e8d24906fb Author: tschwinge Date: Thu Jul 5 08:18:39 2012 +0000 opcodes/ * mips-dis: Remove gratuitous newline. commit ed9df6851e61eecede3ec2d9018fa9fb797126d6 Author: Hui Zhu Date: Thu Jul 5 01:08:24 2012 +0000 2012-07-05 Hui Zhu * gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval". commit e341fbb6d6e228fe597cf4835ebab19faeeac06e Author: Hui Zhu Date: Thu Jul 5 01:03:01 2012 +0000 2012-07-05 Hui Zhu * ax-gdb.c (cli/cli-utils.h): New include. (linespec.h): Ditto. (agent_eval_command_one): New function. (agent_command_1): Ditto. (agent_command): Call function agent_command_1. (agent_eval_command): Ditto. (_initialize_ax_gdb): Change help for "maint agent" and "maint agent-eval". commit 7b88f454e884f6bcc87a07f1ebce7917155bb43e Author: Hui Zhu Date: Thu Jul 5 01:00:32 2012 +0000 2012-07-05 Hui Zhu * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c. * cli/cli-utils.c (check_for_argument): New function. * cli/cli-utils.h (check_for_argument): Ditto. commit 17875c2698809aa008a80f37dacb17ab004e111d Author: gdbadmin Date: Thu Jul 5 00:00:32 2012 +0000 *** empty log message *** commit 40c86c521242df4168463a2cbb1c67f6b71fbf4e Author: Alan Modra Date: Thu Jul 5 00:00:04 2012 +0000 daily update commit cbe3fa0426c0ee124fadc6ece46bbab02558855a Author: H.J. Lu Date: Wed Jul 4 20:49:55 2012 +0000 Mention x32 ABI support in NEWS * NEWS: Mention x32 ABI support. commit b67770f86b1a654d9de211b414649627ec88988b Author: H.J. Lu Date: Wed Jul 4 20:46:18 2012 +0000 Add sp_regnum_from_eax/pc_regnum_from_eax to i386 gdbarch_tdep * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM. * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax and pc_regnum_from_eax to -1. Update SP regnum from sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if needed. * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and pc_regnum_from_eax. commit 9cf9133ea7fd36f5a0fe9938ee44a877e44022d1 Author: Jan Kratochvil Date: Wed Jul 4 14:57:22 2012 +0000 gdb/testsuite/ PR 12649 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing gdb_test_multiple $gdb_prompt terminator. commit b497cbaa7d550d20598c459c2a5706bc6e50d3bf Author: Pedro Alves Date: Wed Jul 4 11:28:03 2012 +0000 2012-07-04 Pedro Alves * gdb.mi/mi-reverse.exp: Use supports_reverse and supports_process_record. commit 6ad4d3964fe93b5b9ce32f12840791bb93985dbc Author: Pedro Alves Date: Wed Jul 4 10:48:32 2012 +0000 2012-07-04 Pedro Alves * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line endings. * gdb.mi/mi-reverse.exp: Convert to unix text line endings. commit 6123c4b24f9b409ad90f570a112e4d157a40f776 Author: H.J. Lu Date: Wed Jul 4 00:29:50 2012 +0000 Check number of sections overflow * elf.c (assign_section_numbers): Check if number of sections >= SHN_LORESERVE. * elfcode.h (elf_object_p): Likewise. commit 34742843a4c080818ec7cf04e875e2e51f4d566f Author: gdbadmin Date: Wed Jul 4 00:00:33 2012 +0000 *** empty log message *** commit c5d86f20b536ca0a123d00b386b6caf119ed3410 Author: Alan Modra Date: Wed Jul 4 00:00:05 2012 +0000 daily update commit 4d7f422bad590dd24252bbf4d01b662d872b7333 Author: Stan Shebs Date: Tue Jul 3 23:17:12 2012 +0000 * gdb.base/info-os.c (main): Retry resource acquisition until an available one is found. * gdb.base/info-os.exp: Collect resource keys from the program and use them in matching. commit 76d5acf9825f270c51d4068826b8f69ee1e32040 Author: Jan Kratochvil Date: Tue Jul 3 20:09:47 2012 +0000 gdb/ Fix 'warning: parameter has incomplete type' with gcc-3.4.6. * dwarf2expr.h: Include gdbtypes.h. (enum call_site_parameter_kind, union call_site_parameter_u): Remove these forward declarations. (cu_offset, sect_offset): Move these ... * gdbtypes.h: Remove include dwarf2expr.h. (cu_offset, sect_offset): ... here. commit 5a6f1f7dd36023772d861396c7cb8dcfc2b67338 Author: Nick Clifton Date: Tue Jul 3 16:25:14 2012 +0000 * archive.c (bsd_write_armap): Catch attempts to create an archive with indicies bigger than 4Gb. (coff_write_armap): Likewise. * readelf.c (process_archive): Display member indicies when dumping index. commit 98a1ee38a9736aa8117356d7bdb1d2990e2b9aef Author: Eli Zaretskii Date: Tue Jul 3 16:22:40 2012 +0000 gdb.texinfo: Separate the index into 2 indices, cp and fn, to avoid file-name clashes between Index.html and index.html on case-insensitive filesystems. See the discussion starting in http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the details of the problem. (Top): Update the master menu for the above. (Concept Index, Command and Variable Index): New nodes, instead of the old "Index" node that was deleted. All cross-references updated. commit ea38cf9e4ddde21ac724cf764d66427a2cb510d4 Author: H.J. Lu Date: Tue Jul 3 16:06:31 2012 +0000 Don't compress empty debug section 2012-07-03 H.J. Lu PR binutils/14319 * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty debug section. 2012-07-03 H.J. Lu PR binutils/14319 * binutils-all/compress.exp: Test compress empty debug sections. * binutils-all/dw2-empty.S: New file. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 + bfd/ChangeLog | 164 + bfd/archive.c | 32 +- bfd/bfd-in2.h | 2 + bfd/configure | 2 +- bfd/configure.in | 2 +- bfd/elf-m10300.c | 169 +- bfd/elf-vxworks.c | 13 +- bfd/elf.c | 31 +- bfd/elf32-arm.c | 80 +- bfd/elf32-bfin.c | 90 +- bfd/elf32-cr16.c | 99 +- bfd/elf32-cris.c | 77 +- bfd/elf32-frv.c | 38 +- bfd/elf32-hppa.c | 16 +- bfd/elf32-i370.c | 34 +- bfd/elf32-i386.c | 8 +- bfd/elf32-lm32.c | 93 +- bfd/elf32-m32c.c | 22 +- bfd/elf32-m32r.c | 63 +- bfd/elf32-m68k.c | 65 +- bfd/elf32-microblaze.c | 34 +- bfd/elf32-ppc.c | 20 +- bfd/elf32-rl78.c | 11 +- bfd/elf32-s390.c | 18 +- bfd/elf32-score.c | 36 +- bfd/elf32-score7.c | 36 +- bfd/elf32-sh.c | 104 +- bfd/elf32-tic6x.c | 12 +- bfd/elf32-tilepro.c | 17 +- bfd/elf32-vax.c | 66 +- bfd/elf32-xgate.c | 5 +- bfd/elf32-xstormy16.c | 21 +- bfd/elf32-xtensa.c | 33 +- bfd/elf64-alpha.c | 32 +- bfd/elf64-hppa.c | 118 +- bfd/elf64-ia64-vms.c | 101 +- bfd/elf64-ppc.c | 23 +- bfd/elf64-s390.c | 18 +- bfd/elf64-sh64.c | 108 +- bfd/elf64-sparc.c | 4 +- bfd/elf64-x86-64.c | 25 +- bfd/elfcode.h | 5 +- bfd/elflink.c | 223 +- bfd/elfnn-ia64.c | 77 +- bfd/elfxx-mips.c | 81 +- bfd/elfxx-sparc.c | 14 +- bfd/elfxx-tilegx.c | 31 +- bfd/po/uk.po | 6122 +++++++++++++++++ bfd/section.c | 22 + bfd/sunos.c | 98 +- bfd/version.h | 2 +- configure | 8 +- configure.ac | 8 +- gdb/ChangeLog | 672 ++ gdb/MAINTAINERS | 1 + gdb/Makefile.in | 11 +- gdb/NEWS | 32 +- gdb/ada-lang.c | 5 +- gdb/amd64-linux-nat.c | 30 + gdb/amd64-linux-tdep.c | 21 +- gdb/amd64-tdep.c | 3 + gdb/arm-linux-nat.c | 15 +- gdb/auto-load.c | 107 +- gdb/auxv.c | 4 + gdb/ax-gdb.c | 226 +- gdb/ax-gdb.h | 6 + gdb/ax-general.c | 37 + gdb/ax.h | 3 + gdb/breakpoint.c | 428 +- gdb/breakpoint.h | 15 +- gdb/buildsym.c | 155 +- gdb/buildsym.h | 9 + gdb/c-exp.y | 134 +- gdb/c-lang.c | 1 - gdb/cli/cli-logging.c | 64 +- gdb/cli/cli-utils.c | 14 + gdb/cli/cli-utils.h | 6 + gdb/common/ax.def | 2 + gdb/common/buffer.c | 14 +- gdb/common/format.c | 400 ++ gdb/common/format.h | 63 + gdb/common/linux-osdata.c | 23 +- gdb/common/linux-ptrace.c | 124 + gdb/common/linux-ptrace.h | 1 + gdb/config.in | 9 +- gdb/configure | 27 +- gdb/configure.ac | 8 +- gdb/cp-valprint.c | 9 +- gdb/defs.h | 3 + gdb/dictionary.c | 16 + gdb/dictionary.h | 5 + gdb/doc/ChangeLog | 68 + gdb/doc/agentexpr.texi | 17 + gdb/doc/gdb.texinfo | 202 +- gdb/dwarf2expr.h | 15 +- gdb/dwarf2read.c | 1914 ++++-- gdb/elfread.c | 10 + gdb/eval.c | 19 +- gdb/expression.h | 3 +- gdb/findcmd.c | 8 +- gdb/gdbserver/ChangeLog | 38 + gdb/gdbserver/Makefile.in | 15 +- gdb/gdbserver/ax.c | 155 + gdb/gdbserver/linux-low.c | 9 +- gdb/gdbserver/mem-break.c | 127 + gdb/gdbserver/mem-break.h | 8 + gdb/gdbserver/server.c | 53 +- gdb/gdbthread.h | 7 + gdb/gdbtypes.c | 45 +- gdb/gdbtypes.h | 20 +- gdb/gnulib/Makefile.in | 22 +- gdb/gnulib/aclocal.m4 | 18 + gdb/gnulib/config.in | 273 + gdb/gnulib/configure | 7146 +++++++++++++++----- gdb/gnulib/configure.ac | 2 +- gdb/gnulib/import/Makefile.am | 410 ++- gdb/gnulib/import/Makefile.in | 506 ++- gdb/gnulib/import/alloca.c | 478 ++ gdb/gnulib/import/alloca.in.h | 56 + gdb/gnulib/import/config.charset | 684 ++ gdb/gnulib/import/dummy.c | 42 - gdb/gnulib/import/fnmatch.c | 350 + gdb/gnulib/import/fnmatch.in.h | 67 + gdb/gnulib/import/fnmatch_loop.c | 1219 ++++ gdb/gnulib/import/localcharset.c | 546 ++ gdb/gnulib/import/localcharset.h | 40 + gdb/gnulib/import/m4/alloca.m4 | 121 + gdb/gnulib/import/m4/codeset.m4 | 23 + gdb/gnulib/import/m4/configmake.m4 | 50 + gdb/gnulib/import/m4/fcntl-o.m4 | 123 + gdb/gnulib/import/m4/fnmatch.m4 | 156 + gdb/gnulib/import/m4/glibc21.m4 | 34 + gdb/gnulib/import/m4/gnulib-cache.m4 | 3 +- gdb/gnulib/import/m4/gnulib-comp.m4 | 93 +- gdb/gnulib/import/m4/localcharset.m4 | 17 + gdb/gnulib/import/m4/locale-fr.m4 | 250 + gdb/gnulib/import/m4/locale-ja.m4 | 136 + gdb/gnulib/import/m4/locale-zh.m4 | 130 + gdb/gnulib/import/m4/mbrtowc.m4 | 572 ++ gdb/gnulib/import/m4/mbsinit.m4 | 51 + gdb/gnulib/import/m4/mbsrtowcs.m4 | 155 + gdb/gnulib/import/m4/mbstate_t.m4 | 41 + gdb/gnulib/import/m4/stdbool.m4 | 100 + gdb/gnulib/import/m4/wchar_h.m4 | 225 + gdb/gnulib/import/m4/wctype_h.m4 | 211 + gdb/gnulib/import/m4/wint_t.m4 | 32 + gdb/gnulib/import/mbrtowc.c | 402 ++ gdb/gnulib/import/mbsinit.c | 61 + gdb/gnulib/import/mbsrtowcs-impl.h | 122 + gdb/gnulib/import/mbsrtowcs-state.c | 37 + gdb/{mi/mi-console.h => gnulib/import/mbsrtowcs.c} | 29 +- gdb/gnulib/import/ref-add.sin | 29 + gdb/gnulib/import/ref-del.sin | 24 + gdb/gnulib/import/stdbool.in.h | 121 + gdb/gnulib/import/streq.h | 176 + gdb/gnulib/import/strnlen1.c | 35 + gdb/gnulib/import/strnlen1.h | 40 + gdb/gnulib/import/verify.h | 241 + gdb/gnulib/import/wchar.in.h | 1028 +++ gdb/gnulib/import/wctype.in.h | 498 ++ gdb/i386-tdep.c | 11 + gdb/i386-tdep.h | 8 + gdb/ia64-linux-nat.c | 11 +- gdb/infcmd.c | 2 +- gdb/infrun.c | 406 +- gdb/interps.c | 13 + gdb/interps.h | 20 + gdb/linespec.c | 48 + gdb/linespec.h | 13 + gdb/linux-nat.c | 255 +- gdb/linux-nat.h | 10 +- gdb/linux-thread-db.c | 135 +- gdb/macrocmd.c | 4 +- gdb/main.c | 28 +- gdb/mi/mi-console.c | 17 + gdb/mi/mi-console.h | 3 + gdb/mi/mi-interp.c | 51 +- gdb/mi/mi-main.c | 3 +- gdb/minsyms.c | 7 + gdb/osdata.c | 33 +- gdb/parse.c | 192 +- gdb/parser-defs.h | 36 +- gdb/ppc-linux-nat.c | 13 +- gdb/printcmd.c | 341 +- gdb/psympriv.h | 8 +- gdb/psymtab.c | 55 +- gdb/python/py-symtab.c | 18 + gdb/remote.c | 95 + gdb/source.c | 5 +- gdb/stack.c | 2 +- gdb/symfile.c | 20 + gdb/symtab.c | 56 +- gdb/symtab.h | 9 +- gdb/target.c | 4 + gdb/target.h | 24 +- gdb/testsuite/ChangeLog | 715 ++ gdb/testsuite/gdb.ada/packed_tagged/comp_bug.adb | 80 +- gdb/testsuite/gdb.asm/asm-source.exp | 34 +- gdb/testsuite/gdb.base/callfuncs.c | 7 + gdb/testsuite/gdb.base/callfuncs.exp | 3 + gdb/testsuite/gdb.base/dprintf.exp | 24 + gdb/testsuite/gdb.base/find.exp | 3 + gdb/testsuite/gdb.base/help.exp | 10 +- gdb/testsuite/gdb.base/info-os.c | 58 +- gdb/testsuite/gdb.base/info-os.exp | 42 +- gdb/testsuite/gdb.base/macscp.exp | 13 +- gdb/testsuite/gdb.base/macscp1.c | 2 +- gdb/testsuite/gdb.base/stale-infcall.c | 7 +- gdb/testsuite/gdb.base/stale-infcall.exp | 18 + gdb/testsuite/gdb.base/whatis.exp | 28 + gdb/testsuite/gdb.cp/abstract-origin.exp | 6 +- gdb/testsuite/gdb.cp/ambiguous.exp | 16 +- gdb/testsuite/gdb.cp/annota2.exp | 14 +- gdb/testsuite/gdb.cp/annota3.exp | 14 +- gdb/testsuite/gdb.cp/anon-ns.exp | 4 +- gdb/testsuite/gdb.cp/anon-struct.exp | 5 +- gdb/testsuite/gdb.cp/anon-union.exp | 16 +- gdb/testsuite/gdb.cp/arg-reference.exp | 12 +- gdb/testsuite/gdb.cp/bool.exp | 12 +- gdb/testsuite/gdb.cp/breakpoint.exp | 16 +- gdb/testsuite/gdb.cp/bs15503.exp | 12 +- gdb/testsuite/gdb.cp/call-c.exp | 20 +- gdb/testsuite/gdb.cp/casts.exp | 15 +- gdb/testsuite/gdb.cp/class2.exp | 12 +- gdb/testsuite/gdb.cp/classes.exp | 20 +- gdb/testsuite/gdb.cp/cmpd-minsyms.exp | 5 +- gdb/testsuite/gdb.cp/converts.exp | 4 +- gdb/testsuite/gdb.cp/cp-relocate.exp | 5 +- gdb/testsuite/gdb.cp/cpcompletion.exp | 21 +- gdb/testsuite/gdb.cp/cpexprs.exp | 15 +- gdb/testsuite/gdb.cp/cplabel.exp | 4 +- gdb/testsuite/gdb.cp/cplusfuncs.exp | 21 +- gdb/testsuite/gdb.cp/ctti.exp | 44 +- gdb/testsuite/gdb.cp/derivation.exp | 14 +- gdb/testsuite/gdb.cp/destrprint.exp | 6 +- gdb/testsuite/gdb.cp/dispcxx.exp | 4 +- gdb/testsuite/gdb.cp/exception.exp | 17 +- gdb/testsuite/gdb.cp/expand-psymtabs-cxx.exp | 6 +- gdb/testsuite/gdb.cp/extern-c.exp | 16 +- gdb/testsuite/gdb.cp/formatted-ref.exp | 14 +- gdb/testsuite/gdb.cp/fpointer.exp | 4 +- gdb/testsuite/gdb.cp/gdb1355.exp | 16 +- gdb/testsuite/gdb.cp/gdb2384.exp | 15 +- gdb/testsuite/gdb.cp/gdb2495.exp | 16 +- gdb/testsuite/gdb.cp/hang.exp | 23 +- gdb/testsuite/gdb.cp/infcall-dlopen.exp | 14 +- gdb/testsuite/gdb.cp/inherit.exp | 22 +- gdb/testsuite/gdb.cp/koenig.exp | 4 +- gdb/testsuite/gdb.cp/local.exp | 17 +- gdb/testsuite/gdb.cp/m-data.exp | 17 +- gdb/testsuite/gdb.cp/m-static.exp | 30 +- gdb/testsuite/gdb.cp/mb-ctor.exp | 14 +- gdb/testsuite/gdb.cp/mb-inline.exp | 31 +- gdb/testsuite/gdb.cp/mb-templates.exp | 12 +- gdb/testsuite/gdb.cp/member-ptr.exp | 14 +- gdb/testsuite/gdb.cp/meth-typedefs.exp | 3 +- gdb/testsuite/gdb.cp/method.exp | 17 +- gdb/testsuite/gdb.cp/method2.exp | 4 +- gdb/testsuite/gdb.cp/minsym-fallback.exp | 12 +- gdb/testsuite/gdb.cp/misc.exp | 24 +- gdb/testsuite/gdb.cp/namespace-enum.exp | 25 +- gdb/testsuite/gdb.cp/namespace-nested-import.exp | 15 +- gdb/testsuite/gdb.cp/namespace.exp | 30 +- gdb/testsuite/gdb.cp/nextoverthrow.exp | 4 +- gdb/testsuite/gdb.cp/no-dmgl-verbose.exp | 9 +- gdb/testsuite/gdb.cp/nsdecl.exp | 17 +- gdb/testsuite/gdb.cp/nsimport.exp | 15 +- gdb/testsuite/gdb.cp/nsnested.exp | 5 +- gdb/testsuite/gdb.cp/nsnoimports.exp | 4 +- gdb/testsuite/gdb.cp/nsrecurs.exp | 19 +- gdb/testsuite/gdb.cp/nsstress.exp | 17 +- gdb/testsuite/gdb.cp/nsusing.exp | 19 +- gdb/testsuite/gdb.cp/operator.exp | 4 +- gdb/testsuite/gdb.cp/oranking.exp | 4 +- gdb/testsuite/gdb.cp/overload-const.exp | 5 +- gdb/testsuite/gdb.cp/overload.exp | 14 +- gdb/testsuite/gdb.cp/ovldbreak.exp | 5 +- gdb/testsuite/gdb.cp/ovsrch.exp | 11 +- gdb/testsuite/gdb.cp/paren-type.exp | 3 +- gdb/testsuite/gdb.cp/pass-by-ref.exp | 14 +- gdb/testsuite/gdb.cp/pr-1023.exp | 16 +- gdb/testsuite/gdb.cp/pr-1210.exp | 14 +- gdb/testsuite/gdb.cp/pr-574.exp | 17 +- gdb/testsuite/gdb.cp/pr10687.exp | 6 +- gdb/testsuite/gdb.cp/pr10728.exp | 18 +- gdb/testsuite/gdb.cp/pr12028.exp | 4 +- gdb/testsuite/gdb.cp/pr9067.exp | 14 +- gdb/testsuite/gdb.cp/pr9167.exp | 6 +- gdb/testsuite/gdb.cp/pr9631.exp | 16 +- gdb/testsuite/gdb.cp/printmethod.exp | 17 +- gdb/testsuite/gdb.cp/psmang.exp | 30 +- gdb/testsuite/gdb.cp/psymtab-parameter.exp | 10 +- gdb/testsuite/gdb.cp/ptype-cv-cp.exp | 3 +- gdb/testsuite/gdb.cp/re-set-overloaded.exp | 12 +- gdb/testsuite/gdb.cp/readnow-language.exp | 9 +- gdb/testsuite/gdb.cp/ref-params.exp | 16 +- gdb/testsuite/gdb.cp/ref-types.exp | 15 +- gdb/testsuite/gdb.cp/rtti.exp | 37 +- gdb/testsuite/gdb.cp/shadow.exp | 17 +- gdb/testsuite/gdb.cp/smartp.exp | 4 +- gdb/testsuite/gdb.cp/static-method.exp | 3 +- gdb/testsuite/gdb.cp/static-print-quit.exp | 9 +- gdb/testsuite/gdb.cp/temargs.exp | 3 +- gdb/testsuite/gdb.cp/templates.exp | 23 +- gdb/testsuite/gdb.cp/try_catch.exp | 17 +- gdb/testsuite/gdb.cp/typedef-operator.exp | 5 +- gdb/testsuite/gdb.cp/userdef.exp | 16 +- gdb/testsuite/gdb.cp/virtbase.exp | 14 +- gdb/testsuite/gdb.cp/virtfunc.exp | 18 +- gdb/testsuite/gdb.cp/virtfunc2.exp | 14 +- gdb/testsuite/gdb.dwarf2/callframecfa.exp | 13 +- gdb/testsuite/gdb.dwarf2/dup-psym.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp | 4 +- .../gdb.dwarf2/dw2-bad-parameter-type.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp | 5 +- gdb/testsuite/gdb.dwarf2/dw2-compressed.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-const.exp | 6 +- .../gdb.dwarf2/dw2-cp-infcall-ref-static.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp | 4 +- .../gdb.dwarf2/dw2-double-set-die-type.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-filename.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp | 5 +- gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-inline-break.exp | 5 +- gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-intermix.exp | 4 +- .../gdb.dwarf2/dw2-linkage-name-trust.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp | 7 +- .../gdb.dwarf2/dw2-namespaceless-anonymous.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap.exp | 7 +- gdb/testsuite/gdb.dwarf2/dw2-op-call.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp | 9 +- gdb/testsuite/gdb.dwarf2/dw2-param-error.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-producer.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 18 +- gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp | 12 +- gdb/testsuite/gdb.dwarf2/dw2-restore.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.exp | 7 +- gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp | 5 +- gdb/testsuite/gdb.dwarf2/dw2-strp.exp | 4 +- gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S | 2 +- gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp | 9 +- gdb/testsuite/gdb.dwarf2/fission-base.S | 364 + .../gdb.dwarf2/fission-base.c} | 23 +- gdb/testsuite/gdb.dwarf2/fission-base.exp | 64 + gdb/testsuite/gdb.dwarf2/fission-reread.S | 457 ++ .../gdb.dwarf2/{pr13961.exp => fission-reread.exp} | 26 +- gdb/testsuite/gdb.dwarf2/implptr-64bit.exp | 3 +- gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp | 4 +- gdb/testsuite/gdb.dwarf2/implptr.exp | 6 +- gdb/testsuite/gdb.dwarf2/mac-fileno.exp | 4 +- gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp | 6 +- gdb/testsuite/gdb.dwarf2/pieces.exp | 6 +- gdb/testsuite/gdb.dwarf2/pr10770.exp | 3 +- gdb/testsuite/gdb.dwarf2/pr11465.exp | 7 +- gdb/testsuite/gdb.dwarf2/pr13961.exp | 6 +- gdb/testsuite/gdb.dwarf2/valop.exp | 13 +- gdb/testsuite/gdb.fortran/array-element.exp | 12 +- gdb/testsuite/gdb.fortran/charset.exp | 3 +- gdb/testsuite/gdb.fortran/complex.exp | 12 +- gdb/testsuite/gdb.fortran/derived-type.exp | 12 +- gdb/testsuite/gdb.fortran/library-module.exp | 14 +- gdb/testsuite/gdb.fortran/logical.exp | 6 +- gdb/testsuite/gdb.fortran/module.exp | 3 +- gdb/testsuite/gdb.fortran/multi-dim.exp | 4 +- gdb/testsuite/gdb.fortran/subarray.exp | 7 +- gdb/testsuite/gdb.go/chan.exp | 3 +- gdb/testsuite/gdb.go/handcall.exp | 3 +- gdb/testsuite/gdb.go/hello.exp | 3 +- gdb/testsuite/gdb.go/integers.exp | 3 +- gdb/testsuite/gdb.go/methods.exp | 3 +- gdb/testsuite/gdb.go/package.exp | 7 +- gdb/testsuite/gdb.go/strings.exp | 3 +- gdb/testsuite/gdb.go/types.exp | 3 +- gdb/testsuite/gdb.go/unsafe.exp | 3 +- gdb/testsuite/gdb.linespec/linespec.exp | 7 +- gdb/testsuite/gdb.linespec/ls-dollar.exp | 6 +- gdb/testsuite/gdb.linespec/ls-errs.exp | 6 +- gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp | 21 +- gdb/testsuite/gdb.mi/gdb2549.exp | 7 +- gdb/testsuite/gdb.mi/gdb669.exp | 6 +- gdb/testsuite/gdb.mi/gdb701.exp | 5 +- gdb/testsuite/gdb.mi/gdb792.exp | 4 +- gdb/testsuite/gdb.mi/mi-async.exp | 7 +- gdb/testsuite/gdb.mi/mi-basics.exp | 6 +- gdb/testsuite/gdb.mi/mi-break.exp | 17 +- gdb/testsuite/gdb.mi/mi-cli.exp | 7 +- gdb/testsuite/gdb.mi/mi-console.exp | 7 +- gdb/testsuite/gdb.mi/mi-disassemble.exp | 7 +- gdb/testsuite/gdb.mi/mi-eval.exp | 7 +- gdb/testsuite/gdb.mi/mi-file-transfer.exp | 5 +- gdb/testsuite/gdb.mi/mi-file.exp | 7 +- .../gdb.mi/mi-inheritance-syntax-error.exp | 4 +- gdb/testsuite/gdb.mi/mi-logging.exp | 87 + gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 6 +- gdb/testsuite/gdb.mi/mi-nonstop.exp | 6 +- gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp | 6 +- gdb/testsuite/gdb.mi/mi-nsintrall.exp | 6 +- gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 6 +- gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 6 +- gdb/testsuite/gdb.mi/mi-pending.exp | 10 +- gdb/testsuite/gdb.mi/mi-pthreads.exp | 6 +- gdb/testsuite/gdb.mi/mi-read-memory.exp | 7 +- gdb/testsuite/gdb.mi/mi-regs.exp | 7 +- gdb/testsuite/gdb.mi/mi-return.exp | 7 +- gdb/testsuite/gdb.mi/mi-reverse.exp | 345 +- gdb/testsuite/gdb.mi/mi-simplerun.exp | 7 +- gdb/testsuite/gdb.mi/mi-solib.exp | 12 +- gdb/testsuite/gdb.mi/mi-stack.exp | 7 +- gdb/testsuite/gdb.mi/mi-stepi.exp | 7 +- gdb/testsuite/gdb.mi/mi-stepn.exp | 7 +- gdb/testsuite/gdb.mi/mi-syn-frame.exp | 7 +- gdb/testsuite/gdb.mi/mi-until.exp | 7 +- gdb/testsuite/gdb.mi/mi-var-block.exp | 7 +- gdb/testsuite/gdb.mi/mi-var-child-f.exp | 5 +- gdb/testsuite/gdb.mi/mi-var-child.exp | 7 +- gdb/testsuite/gdb.mi/mi-var-cmd.exp | 7 +- gdb/testsuite/gdb.mi/mi-var-cp.exp | 4 +- gdb/testsuite/gdb.mi/mi-var-display.exp | 7 +- gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 15 +- gdb/testsuite/gdb.mi/mi-var-rtti.exp | 7 +- gdb/testsuite/gdb.mi/mi-watch-nonstop.exp | 4 +- gdb/testsuite/gdb.mi/mi-watch.exp | 7 +- gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp | 4 +- gdb/testsuite/gdb.mi/mi2-basics.exp | 7 +- gdb/testsuite/gdb.mi/mi2-break.exp | 7 +- gdb/testsuite/gdb.mi/mi2-cli.exp | 7 +- gdb/testsuite/gdb.mi/mi2-console.exp | 7 +- gdb/testsuite/gdb.mi/mi2-disassemble.exp | 7 +- gdb/testsuite/gdb.mi/mi2-eval.exp | 7 +- gdb/testsuite/gdb.mi/mi2-file.exp | 7 +- gdb/testsuite/gdb.mi/mi2-pthreads.exp | 6 +- gdb/testsuite/gdb.mi/mi2-read-memory.exp | 7 +- gdb/testsuite/gdb.mi/mi2-regs.exp | 7 +- gdb/testsuite/gdb.mi/mi2-return.exp | 7 +- gdb/testsuite/gdb.mi/mi2-simplerun.exp | 7 +- gdb/testsuite/gdb.mi/mi2-stack.exp | 7 +- gdb/testsuite/gdb.mi/mi2-stepi.exp | 7 +- gdb/testsuite/gdb.mi/mi2-syn-frame.exp | 7 +- gdb/testsuite/gdb.mi/mi2-until.exp | 7 +- gdb/testsuite/gdb.mi/mi2-var-block.exp | 7 +- gdb/testsuite/gdb.mi/mi2-var-child.exp | 7 +- gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 7 +- gdb/testsuite/gdb.mi/mi2-var-display.exp | 7 +- gdb/testsuite/gdb.mi/mi2-watch.exp | 7 +- gdb/testsuite/gdb.modula2/unbounded-array.exp | 13 +- gdb/testsuite/gdb.multi/base.exp | 12 +- gdb/testsuite/gdb.multi/bkpt-multi-exec.exp | 8 +- gdb/testsuite/gdb.multi/watchpoint-multi.exp | 7 +- gdb/testsuite/gdb.opt/clobbered-registers-O2.exp | 18 +- gdb/testsuite/gdb.opt/inline-break.exp | 9 +- gdb/testsuite/gdb.opt/inline-bt.exp | 19 +- gdb/testsuite/gdb.opt/inline-cmds.exp | 20 +- gdb/testsuite/gdb.opt/inline-locals.exp | 20 +- gdb/testsuite/gdb.pascal/floats.exp | 13 +- gdb/testsuite/gdb.pascal/gdb11492.exp | 12 +- gdb/testsuite/gdb.pascal/hello.exp | 9 +- gdb/testsuite/gdb.pascal/integers.exp | 9 +- gdb/testsuite/gdb.python/py-symbol.c | 4 +- gdb/testsuite/gdb.python/py-symtab.exp | 3 + gdb/testsuite/gdb.python/python.exp | 4 +- gdb/testsuite/gdb.reverse/break-precsave.exp | 3 +- gdb/testsuite/gdb.reverse/break-reverse.exp | 3 +- gdb/testsuite/gdb.reverse/consecutive-precsave.exp | 3 +- gdb/testsuite/gdb.reverse/consecutive-reverse.exp | 3 +- gdb/testsuite/gdb.reverse/finish-precsave.exp | 3 +- gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp | 3 +- gdb/testsuite/gdb.reverse/finish-reverse.exp | 3 +- gdb/testsuite/gdb.reverse/i386-precsave.exp | 14 +- gdb/testsuite/gdb.reverse/i386-reverse.exp | 14 +- gdb/testsuite/gdb.reverse/i386-sse-reverse.exp | 14 +- gdb/testsuite/gdb.reverse/i387-env-reverse.exp | 14 +- gdb/testsuite/gdb.reverse/i387-stack-reverse.exp | 14 +- .../gdb.reverse/machinestate-precsave.exp | 7 +- gdb/testsuite/gdb.reverse/machinestate.exp | 7 +- .../gdb.reverse/next-reverse-bkpt-over-sr.exp | 3 +- gdb/testsuite/gdb.reverse/sigall-precsave.exp | 10 +- gdb/testsuite/gdb.reverse/sigall-reverse.exp | 10 +- gdb/testsuite/gdb.reverse/solib-precsave.exp | 6 +- gdb/testsuite/gdb.reverse/solib-reverse.exp | 6 +- gdb/testsuite/gdb.reverse/step-precsave.exp | 3 +- gdb/testsuite/gdb.reverse/step-reverse.exp | 3 +- gdb/testsuite/gdb.reverse/until-precsave.exp | 13 +- gdb/testsuite/gdb.reverse/until-reverse.exp | 13 +- gdb/testsuite/gdb.reverse/watch-precsave.exp | 4 +- gdb/testsuite/gdb.reverse/watch-reverse.exp | 4 +- gdb/testsuite/gdb.server/ext-attach.exp | 12 +- gdb/testsuite/gdb.server/ext-run.exp | 6 +- gdb/testsuite/gdb.server/file-transfer.exp | 12 +- gdb/testsuite/gdb.server/server-exec-info.exp | 4 +- gdb/testsuite/gdb.server/server-mon.exp | 11 +- gdb/testsuite/gdb.server/server-run.exp | 6 +- gdb/testsuite/gdb.server/solib-list.exp | 8 +- gdb/testsuite/gdb.stabs/exclfwd.exp | 27 +- gdb/testsuite/gdb.stabs/weird.exp | 10 +- gdb/testsuite/gdb.threads/attach-into-signal.exp | 16 +- gdb/testsuite/gdb.threads/attach-stopped.exp | 6 +- gdb/testsuite/gdb.threads/bp_in_thread.exp | 12 +- gdb/testsuite/gdb.threads/corethreads.exp | 4 +- gdb/testsuite/gdb.threads/execl.exp | 11 +- gdb/testsuite/gdb.threads/fork-child-threads.exp | 9 +- gdb/testsuite/gdb.threads/fork-thread-pending.exp | 9 +- gdb/testsuite/gdb.threads/gcore-thread.exp | 62 +- gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 11 +- gdb/testsuite/gdb.threads/ia64-sigill.exp | 4 +- .../gdb.threads/interrupted-hand-call.exp | 11 +- gdb/testsuite/gdb.threads/killed.exp | 10 +- gdb/testsuite/gdb.threads/leader-exit.exp | 4 +- gdb/testsuite/gdb.threads/linux-dp.exp | 8 +- .../gdb.threads/local-watch-wrong-thread.exp | 9 +- gdb/testsuite/gdb.threads/manythreads.exp | 10 +- gdb/testsuite/gdb.threads/multi-create.exp | 8 +- gdb/testsuite/gdb.threads/no-unwaited-for-left.exp | 4 +- gdb/testsuite/gdb.threads/non-ldr-exc-1.exp | 4 +- gdb/testsuite/gdb.threads/non-ldr-exc-2.exp | 4 +- gdb/testsuite/gdb.threads/non-ldr-exc-3.exp | 4 +- gdb/testsuite/gdb.threads/non-ldr-exc-4.exp | 4 +- gdb/testsuite/gdb.threads/pending-step.exp | 13 +- gdb/testsuite/gdb.threads/print-threads.exp | 13 +- gdb/testsuite/gdb.threads/pthread_cond_wait.exp | 11 +- gdb/testsuite/gdb.threads/pthreads.exp | 14 +- gdb/testsuite/gdb.threads/schedlock.exp | 6 +- gdb/testsuite/gdb.threads/siginfo-threads.c | 457 ++ gdb/testsuite/gdb.threads/siginfo-threads.exp | 99 + .../sigstep-threads.c} | 59 +- gdb/testsuite/gdb.threads/sigstep-threads.exp | 73 + gdb/testsuite/gdb.threads/sigthread.exp | 9 +- gdb/testsuite/gdb.threads/staticthreads.exp | 10 +- gdb/testsuite/gdb.threads/step.c | 221 - gdb/testsuite/gdb.threads/step.exp | 190 - gdb/testsuite/gdb.threads/step2.exp | 140 - gdb/testsuite/gdb.threads/switch-threads.exp | 11 +- gdb/testsuite/gdb.threads/thread-execl.exp | 13 +- gdb/testsuite/gdb.threads/thread-find.exp | 8 +- gdb/testsuite/gdb.threads/thread-specific.exp | 14 +- .../gdb.threads/thread-unwindonsignal.exp | 11 +- gdb/testsuite/gdb.threads/thread_check.exp | 10 +- gdb/testsuite/gdb.threads/thread_events.exp | 6 +- gdb/testsuite/gdb.threads/threadapply.exp | 11 +- gdb/testsuite/gdb.threads/threxit-hop-specific.exp | 14 +- gdb/testsuite/gdb.threads/tls-nodebug.exp | 10 +- gdb/testsuite/gdb.threads/tls-shared.exp | 13 +- gdb/testsuite/gdb.threads/tls-var.exp | 8 +- gdb/testsuite/gdb.threads/tls.exp | 14 +- gdb/testsuite/gdb.threads/watchpoint-fork.exp | 14 +- gdb/testsuite/gdb.threads/watchthreads-reorder.exp | 4 +- gdb/testsuite/gdb.threads/watchthreads.exp | 6 +- gdb/testsuite/gdb.threads/watchthreads2.exp | 11 +- gdb/testsuite/gdb.trace/actions.exp | 4 +- gdb/testsuite/gdb.trace/ax.exp | 4 +- gdb/testsuite/gdb.trace/backtrace.exp | 4 +- gdb/testsuite/gdb.trace/change-loc.exp | 8 +- gdb/testsuite/gdb.trace/circ.exp | 15 +- gdb/testsuite/gdb.trace/collection.exp | 9 +- gdb/testsuite/gdb.trace/deltrace.exp | 4 +- gdb/testsuite/gdb.trace/disconnected-tracing.exp | 6 +- gdb/testsuite/gdb.trace/ftrace.exp | 4 +- gdb/testsuite/gdb.trace/infotrace.exp | 4 +- gdb/testsuite/gdb.trace/packetlen.exp | 4 +- gdb/testsuite/gdb.trace/passc-dyn.exp | 4 +- gdb/testsuite/gdb.trace/passcount.exp | 4 +- gdb/testsuite/gdb.trace/pending.exp | 8 +- gdb/testsuite/gdb.trace/report.exp | 4 +- gdb/testsuite/gdb.trace/save-trace.exp | 15 +- gdb/testsuite/gdb.trace/stap-trace.exp | 9 +- gdb/testsuite/gdb.trace/status-stop.exp | 4 +- gdb/testsuite/gdb.trace/strace.exp | 4 +- gdb/testsuite/gdb.trace/tfile.exp | 4 +- gdb/testsuite/gdb.trace/tfind.exp | 4 +- gdb/testsuite/gdb.trace/trace-break.exp | 4 +- gdb/testsuite/gdb.trace/trace-mt.exp | 4 +- gdb/testsuite/gdb.trace/tracecmd.exp | 4 +- gdb/testsuite/gdb.trace/tspeed.exp | 4 +- gdb/testsuite/gdb.trace/tstatus.exp | 4 +- gdb/testsuite/gdb.trace/tsv.exp | 4 +- gdb/testsuite/gdb.trace/unavailable.exp | 10 +- gdb/testsuite/gdb.trace/while-dyn.exp | 6 +- gdb/testsuite/gdb.trace/while-stepping.exp | 4 +- gdb/testsuite/lib/gdb.exp | 20 +- gdb/thread.c | 2 +- gdb/tracepoint.c | 12 +- gdb/utils.c | 44 + gdb/varobj.c | 11 +- gdb/version.in | 2 +- include/elf/ChangeLog | 5 + include/elf/common.h | 14 +- include/opcode/ChangeLog | 4 + include/opcode/mips.h | 2 +- include/opcode/xgate.h | 2 +- libiberty/ChangeLog | 5 + libiberty/copying-lib.texi | 5 - opcodes/ChangeLog | 13 + opcodes/i386-opc.tbl | 2 +- opcodes/i386-tbl.h | 2 +- opcodes/mips-dis.c | 3 +- opcodes/po/vi.po | 555 +- opcodes/xgate-dis.c | 11 +- opcodes/xgate-opc.c | 5 +- 608 files changed, 32782 insertions(+), 8193 deletions(-) create mode 100644 bfd/po/uk.po create mode 100644 gdb/common/format.c create mode 100644 gdb/common/format.h create mode 100644 gdb/gnulib/import/alloca.c create mode 100644 gdb/gnulib/import/alloca.in.h create mode 100644 gdb/gnulib/import/config.charset delete mode 100644 gdb/gnulib/import/dummy.c create mode 100644 gdb/gnulib/import/fnmatch.c create mode 100644 gdb/gnulib/import/fnmatch.in.h create mode 100644 gdb/gnulib/import/fnmatch_loop.c create mode 100644 gdb/gnulib/import/localcharset.c create mode 100644 gdb/gnulib/import/localcharset.h create mode 100644 gdb/gnulib/import/m4/alloca.m4 create mode 100644 gdb/gnulib/import/m4/codeset.m4 create mode 100644 gdb/gnulib/import/m4/configmake.m4 create mode 100644 gdb/gnulib/import/m4/fcntl-o.m4 create mode 100644 gdb/gnulib/import/m4/fnmatch.m4 create mode 100644 gdb/gnulib/import/m4/glibc21.m4 create mode 100644 gdb/gnulib/import/m4/localcharset.m4 create mode 100644 gdb/gnulib/import/m4/locale-fr.m4 create mode 100644 gdb/gnulib/import/m4/locale-ja.m4 create mode 100644 gdb/gnulib/import/m4/locale-zh.m4 create mode 100644 gdb/gnulib/import/m4/mbrtowc.m4 create mode 100644 gdb/gnulib/import/m4/mbsinit.m4 create mode 100644 gdb/gnulib/import/m4/mbsrtowcs.m4 create mode 100644 gdb/gnulib/import/m4/mbstate_t.m4 create mode 100644 gdb/gnulib/import/m4/stdbool.m4 create mode 100644 gdb/gnulib/import/m4/wchar_h.m4 create mode 100644 gdb/gnulib/import/m4/wctype_h.m4 create mode 100644 gdb/gnulib/import/m4/wint_t.m4 create mode 100644 gdb/gnulib/import/mbrtowc.c create mode 100644 gdb/gnulib/import/mbsinit.c create mode 100644 gdb/gnulib/import/mbsrtowcs-impl.h create mode 100644 gdb/gnulib/import/mbsrtowcs-state.c copy gdb/{mi/mi-console.h => gnulib/import/mbsrtowcs.c} (58%) create mode 100644 gdb/gnulib/import/ref-add.sin create mode 100644 gdb/gnulib/import/ref-del.sin create mode 100644 gdb/gnulib/import/stdbool.in.h create mode 100644 gdb/gnulib/import/streq.h create mode 100644 gdb/gnulib/import/strnlen1.c create mode 100644 gdb/gnulib/import/strnlen1.h create mode 100644 gdb/gnulib/import/verify.h create mode 100644 gdb/gnulib/import/wchar.in.h create mode 100644 gdb/gnulib/import/wctype.in.h create mode 100644 gdb/testsuite/gdb.dwarf2/fission-base.S copy gdb/{mi/mi-console.h => testsuite/gdb.dwarf2/fission-base.c} (65%) create mode 100644 gdb/testsuite/gdb.dwarf2/fission-base.exp create mode 100644 gdb/testsuite/gdb.dwarf2/fission-reread.S copy gdb/testsuite/gdb.dwarf2/{pr13961.exp => fission-reread.exp} (61%) create mode 100644 gdb/testsuite/gdb.mi/mi-logging.exp create mode 100644 gdb/testsuite/gdb.threads/siginfo-threads.c create mode 100644 gdb/testsuite/gdb.threads/siginfo-threads.exp copy gdb/testsuite/{gdb.base/stale-infcall.c => gdb.threads/sigstep-threads.c} (51%) create mode 100644 gdb/testsuite/gdb.threads/sigstep-threads.exp delete mode 100644 gdb/testsuite/gdb.threads/step.c delete mode 100644 gdb/testsuite/gdb.threads/step.exp delete mode 100644 gdb/testsuite/gdb.threads/step2.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 41b58ce..f4fbf7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-06-28 Christophe Lyon + + * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure + they contain -O2. + * configure: Regenerate. + 2012-05-14 Catherine Moore * NEWS: Mention PowerPC VLE port. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 538864d..91b4793 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,167 @@ +2012-07-09 Alan Modra + + PR ld/14323 + * elflink.c (elf_sort_symbol): Sort by size too. + (elf_link_add_object_symbols ): Simplify binary search. + Do not depend on ordering of symbol aliases. Match largest size. + +2012-07-03 H.J. Lu + + * elf.c (assign_section_numbers): Check if number of sections + >= SHN_LORESERVE. + * elfcode.h (elf_object_p): Likewise. + +2012-07-03 Nick Clifton + + * archive.c (bsd_write_armap): Catch attempts to create an archive + with indicies bigger than 4Gb. + (coff_write_armap): Likewise. + +2012-07-03 H.J. Lu + + PR binutils/14319 + * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty + debug section. + +2012-07-03 H.J. Lu + + PR ld/3351 + * elflink.c (_bfd_elf_update_dynamic_flags): New. + (_bfd_elf_merge_symbol): Update both real and indirect symbol + dynamic flags. + (_bfd_elf_add_default_symbol): Make the real symbol dynamic if + the indirect symbol is defined in a shared library. + (elf_link_add_object_symbols): Likewise. If the indirect + symbol has been forced local, don't make the real symbol + dynamic. + (elf_link_check_versioned_symbol): Check indirect symbol. + (elf_link_output_extsym): Use real symbol definition when + reporting indirect symbol error. Check version info for + dynamic versioned symbol. + +2012-07-03 Alan Modra + + PR ld/14207 + * elf.c (assign_file_positions_for_load_sections): Remove assertions + that only PT_LOAD headers include file header and section headers. + (assign_file_positions_for_non_load_sections): Similarly don't + assert PT_GNU_RELRO header does not include file and section headers. + Compare first section vma rather than PT_LOAD p_vaddr against + relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace + abort with assertion. + +2012-07-02 Alan Modra + + * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section + "anyway" variant when creating .plt. + (m32c_elf_relax_plt_section): Remove redundant test and unused param. + (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling + m32c_elf_relax_plt_section. + * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant + when creating .got and .got.plt. + (_bfd_mips_elf_final_link): Likewise for .rtproc, and use + bfd_get_linker_section. + * sunos.c: Similarly throughout. + +2012-07-01 Andreas Schwab + + * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error + message. + +2012-06-29 H.J. Lu + + * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE + on unresolvable relocation. + +2012-06-29 H.J. Lu + + * archive.c (_bfd_compute_and_write_armap): Simplify global + symbol handling. + +2012-06-29 Nick Clifton + + PR ld/14189 + * elf32-arm.c (elf32_arm_check_relocs): Do not increment refcount + for locally bound symbols. + +2012-06-29 Alan Modra + + * section.c (bfd_get_linker_section): New function. + * elf32-arm.c: When retrieving SEC_LINKER_CREATED sections, use + the above throughout rather than bfd_get_section_by_name. Use + bfd_make_section_anyway rather than bfd_make_section when creating + them. + * elf32-bfin.c: Likewise. + * elf32-cr16.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-lm32.c: Likewise. + * elf32-m32c.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-microblaze.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-tic6x.c: Likewise. + * elf32-tilepro.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xstormy16.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ia64-vms.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * elfxx-tilegx.c: Likewise. + * elflink.c: Likewise. + * elf-vxworks.c: Likewise. + * elf-m10300.c: Likewise. Also make use of htab plt, got and + gotplt shortcuts. + * bfd-in2.h: Regenerate. + * elf32-lm32.c (lm32_elf_check_relocs): Use the correct bfd when + calling create_rofixup_section. + * elflink.c (bfd_elf_final_link): Simplify test for .dynstr. + +2012-06-29 Alan Modra + + * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela + section for bss type sections, except for .rela.bss. + * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise. + * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise. + * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise. + * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise. + * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise. + +2012-06-28 Roland McGrath + + * elf32-arm.c (elf32_arm_populate_plt_entry): Use int32_t for + displacement calculation in nacl_p case. + +2012-06-28 Nick Clifton + + * po/uk.po: New Ukranian translation. + * configure.in (ALL_LINGUAS): Add uk. + * configure: Regenerate. + +2012-06-26 Alan Modra + + * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input + file has multiple .got/.toc sections and all don't fit in + current toc group. + 2012-06-22 Roland McGrath * elf.c (assign_file_positions_for_non_load_sections): Define diff --git a/bfd/archive.c b/bfd/archive.c index 26547ba..f56e99e 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -2314,10 +2314,10 @@ _bfd_compute_and_write_armap (bfd *arch, unsigned int elength) flagword flags = (syms[src_count])->flags; asection *sec = syms[src_count]->section; - if ((flags & BSF_GLOBAL - || flags & BSF_WEAK - || flags & BSF_INDIRECT - || flags & BSF_GNU_UNIQUE + if (((flags & (BSF_GLOBAL + | BSF_WEAK + | BSF_INDIRECT + | BSF_GNU_UNIQUE)) != 0 || bfd_is_com_section (sec)) && ! bfd_is_und_section (sec)) { @@ -2405,6 +2405,9 @@ bsd_write_armap (bfd *arch, unsigned int count; struct ar_hdr hdr; long uid, gid; + file_ptr max_first_real = 1; + + max_first_real <<= 31; firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG; @@ -2463,6 +2466,15 @@ bsd_write_armap (bfd *arch, while (current != map[count].u.abfd); } + /* The archive file format only has 4 bytes to store the offset + of the member. Check to make sure that firstreal has not grown + too big. */ + if (firstreal >= max_first_real) + { + bfd_set_error (bfd_error_file_truncated); + return FALSE; + } + last_elt = current; H_PUT_32 (arch, map[count].namidx, buf); H_PUT_32 (arch, firstreal, buf + BSD_SYMDEF_OFFSET_SIZE); @@ -2574,7 +2586,7 @@ coff_write_armap (bfd *arch, unsigned int ranlibsize = (symbol_count * 4) + 4; unsigned int stringsize = stridx; unsigned int mapsize = stringsize + ranlibsize; - unsigned int archive_member_file_ptr; + file_ptr archive_member_file_ptr; bfd *current = arch->archive_head; unsigned int count; struct ar_hdr hdr; @@ -2625,7 +2637,15 @@ coff_write_armap (bfd *arch, while (count < symbol_count && map[count].u.abfd == current) { - if (!bfd_write_bigendian_4byte_int (arch, archive_member_file_ptr)) + unsigned int offset = (unsigned int) archive_member_file_ptr; + + /* Catch an attempt to grow an archive past its 4Gb limit. */ + if (archive_member_file_ptr != (file_ptr) offset) + { + bfd_set_error (bfd_error_file_truncated); + return FALSE; + } + if (!bfd_write_bigendian_4byte_int (arch, offset)) return FALSE; count++; } diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 8798ae4..11f3e49 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1707,6 +1707,8 @@ asection *bfd_get_section_by_name (bfd *abfd, const char *name); asection *bfd_get_next_section_by_name (asection *sec); +asection *bfd_get_linker_section (bfd *abfd, const char *name); + asection *bfd_get_section_by_name_if (bfd *abfd, const char *name, diff --git a/bfd/configure b/bfd/configure index fe51170..75e580d 100755 --- a/bfd/configure +++ b/bfd/configure @@ -12319,7 +12319,7 @@ bfd_default_target_size=32 # host stuff: -ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru" +ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru uk" # If we haven't got the data from the intl directory, # assume NLS is disabled. USE_NLS=no diff --git a/bfd/configure.in b/bfd/configure.in index 9e72c7a..5922961 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -141,7 +141,7 @@ bfd_default_target_size=32 # host stuff: -ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru" +ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru uk" ZW_GNU_GETTEXT_SISTER_DIR AM_PO_SUBDIRS diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 8b5afa5..709ea16 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -690,10 +690,12 @@ _bfd_mn10300_elf_create_got_section (bfd * abfd, asection * s; struct elf_link_hash_entry * h; const struct elf_backend_data * bed = get_elf_backend_data (abfd); + struct elf_link_hash_table *htab; int ptralign; /* This function may be called more than once. */ - if (bfd_get_section_by_name (abfd, ".got") != NULL) + htab = elf_hash_table (info); + if (htab->sgot != NULL) return TRUE; switch (bed->s->arch_size) @@ -721,7 +723,8 @@ _bfd_mn10300_elf_create_got_section (bfd * abfd, if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section_with_flags (abfd, ".plt", pltflags); + s = bfd_make_section_anyway_with_flags (abfd, ".plt", pltflags); + htab->splt = s; if (s == NULL || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -732,19 +735,21 @@ _bfd_mn10300_elf_create_got_section (bfd * abfd, { h = _bfd_elf_define_linkage_sym (abfd, info, s, "_PROCEDURE_LINKAGE_TABLE_"); - elf_hash_table (info)->hplt = h; + htab->hplt = h; if (h == NULL) return FALSE; } - s = bfd_make_section_with_flags (abfd, ".got", flags); + s = bfd_make_section_anyway_with_flags (abfd, ".got", flags); + htab->sgot = s; if (s == NULL || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; if (bed->want_got_plt) { - s = bfd_make_section_with_flags (abfd, ".got.plt", flags); + s = bfd_make_section_anyway_with_flags (abfd, ".got.plt", flags); + htab->sgotplt = s; if (s == NULL || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; @@ -755,7 +760,7 @@ _bfd_mn10300_elf_create_got_section (bfd * abfd, because we don't want to define the symbol if we are not creating a global offset table. */ h = _bfd_elf_define_linkage_sym (abfd, info, s, "_GLOBAL_OFFSET_TABLE_"); - elf_hash_table (info)->hgot = h; + htab->hgot = h; if (h == NULL) return FALSE; @@ -1160,24 +1165,22 @@ mn10300_elf_check_relocs (bfd *abfd, if (sgot == NULL) { - sgot = bfd_get_section_by_name (dynobj, ".got"); + sgot = htab->root.sgot; BFD_ASSERT (sgot != NULL); } if (srelgot == NULL && (h != NULL || info->shared)) { - srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); + srelgot = bfd_get_linker_section (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section_with_flags (dynobj, - ".rela.got", - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)); + flagword flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS + | SEC_IN_MEMORY | SEC_LINKER_CREATED + | SEC_READONLY); + srelgot = bfd_make_section_anyway_with_flags (dynobj, + ".rela.got", + flags); if (srelgot == NULL || ! bfd_set_section_alignment (dynobj, srelgot, 2)) goto fail; @@ -1669,8 +1672,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, return bfd_reloc_dangerous; /* Use global offset table as symbol value. */ - value = bfd_get_section_by_name (dynobj, - ".got")->output_section->vma; + value = htab->root.sgot->output_section->vma; value -= (input_section->output_section->vma + input_section->output_offset); value -= offset; @@ -1684,8 +1686,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, return bfd_reloc_dangerous; /* Use global offset table as symbol value. */ - value = bfd_get_section_by_name (dynobj, - ".got")->output_section->vma; + value = htab->root.sgot->output_section->vma; value -= (input_section->output_section->vma + input_section->output_offset); value -= offset; @@ -1701,8 +1702,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - value -= bfd_get_section_by_name (dynobj, - ".got")->output_section->vma; + value -= htab->root.sgot->output_section->vma; value += addend; bfd_put_32 (input_bfd, value, hit_data); @@ -1712,8 +1712,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - value -= bfd_get_section_by_name (dynobj, - ".got")->output_section->vma; + value -= htab->root.sgot->output_section->vma; value += addend; if ((long) value > 0x7fffff || (long) value < -0x800000) @@ -1728,8 +1727,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - value -= bfd_get_section_by_name (dynobj, - ".got")->output_section->vma; + value -= htab->root.sgot->output_section->vma; value += addend; if ((long) value > 0x7fff || (long) value < -0x8000) @@ -1747,8 +1745,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - splt = bfd_get_section_by_name (dynobj, ".plt"); - + splt = htab->root.splt; value = (splt->output_section->vma + splt->output_offset + h->plt.offset) - value; @@ -1771,8 +1768,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - splt = bfd_get_section_by_name (dynobj, ".plt"); - + splt = htab->root.splt; value = (splt->output_section->vma + splt->output_offset + h->plt.offset) - value; @@ -1803,15 +1799,14 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - sgot = bfd_get_section_by_name (dynobj, ".got"); - + sgot = htab->root.sgot; BFD_ASSERT (sgot != NULL); value = htab->tls_ldm_got.offset + sgot->output_offset; bfd_put_32 (input_bfd, value, hit_data); if (!htab->tls_ldm_got.rel_emitted) { - asection * srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); + asection * srelgot = bfd_get_linker_section (dynobj, ".rela.got"); Elf_Internal_Rela rel; BFD_ASSERT (srelgot != NULL); @@ -1843,8 +1838,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, if (dynobj == NULL) return bfd_reloc_dangerous; - sgot = bfd_get_section_by_name (dynobj, ".got"); - + sgot = htab->root.sgot; if (r_type == R_MN10300_TLS_GD) value = dtpoff (info, value); @@ -1892,7 +1886,7 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto, asection * srelgot; Elf_Internal_Rela outrel; - srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); + srelgot = bfd_get_linker_section (dynobj, ".rela.got"); BFD_ASSERT (srelgot != NULL); outrel.r_offset = (sgot->output_section->vma @@ -3486,9 +3480,7 @@ mn10300_elf_relax_section (bfd *abfd, { hooks/post-receive -- Repository for Project Archer.