public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' Date: Sun, 04 Apr 2010 11:58:00 -0000 [thread overview] Message-ID: <20100404115808.5076.qmail@sourceware.org> (raw) The branch, master has been updated via d7e58fcbe0967f09883b314a2b414f265c41121a (commit) via 834cef0c48a6b349926fba6ca9479a8f71b6d041 (commit) via c196003fe1aea3dd0253116683b086e9518afcd5 (commit) via c75c7b5544a4f06d63bdf20195897633d4c4650a (commit) via 510010aff3b77f5d3906a9f54c80fb16fcfcf7fa (commit) via 381afd77fede8964237416abe563b403eb9fff64 (commit) via c3702819b1531f10d32ffcec1869158c0cb2a47d (commit) via 7eefff46dab59928e9e224cbb1303249e6e20e1a (commit) via 0ffeba00d655e8a16d34a4d3314759f59a28e934 (commit) via 7d4cba3b3c89718ffc76737ad52f4b2928ebb59f (commit) via 106fded0d9e101ccdcc0e8c85b0143d5b3dbd5f5 (commit) via 278e2330b2de5ec0fe9de3cd3d692dfccccffef3 (commit) via f6e01f0c5e388abe5ffd0f9329dd27fc5a95bf34 (commit) via 24649440976356375b007725fff4a67214bd75ce (commit) via 2d2d08d940be6c633064480efb635dd5060937e5 (commit) via a68ec9e91005a9dbcb163fac03fcd0a3afa419ea (commit) via 45e296f62230c57b4973002eeea387b38756a225 (commit) via 9961a945ba4754e0b6f56d1bef23ed4d6009903b (commit) via fcf9ef36ae5f01a5df4fc32b3d2a807f40909441 (commit) via 5362e5e1dc4cfac24fbd58773aaa7a82c615b662 (commit) via c3f49676292e5890706c55b27159381617a56d87 (commit) via 1c3cddd06abdb2f67dc9e5b6597a4db2c22aafdd (commit) via 2dbd07ff3b52a1f746bc256d0edd181fde98c77e (commit) via 3d30645a80848e4a3bdccfd36baccf78b9657f64 (commit) via ed9f1947e9fb57950d2eeec6f0b86fb8b1753f2b (commit) via ec8933b41740f5fb1bce773676556802d4fc6db2 (commit) via 71c157d7d82a84ef3a99352cff70c21d764c607c (commit) via 0c6a98e6684fb004a5572e931e1846f3477ca561 (commit) via 86519cf32808e9a1352acbb08b1985d21c68a6b2 (commit) via b91451bbd8f6f78f1b1410b4de9726de2d88fb02 (commit) via 5264087a1d130ea7d5d76c76d9838ed587135c92 (commit) via 28775c16c26e7ef6687602604cdde263ce3791bc (commit) via aa0d92f77ebcf274cb2e23c1a949c8ce839597c5 (commit) via a19c18a1498aaa85cd92d80cc1c061701aca8cf4 (commit) via 7e8e956c34e0fd4f0b59ef1c46f8966c66fffbf3 (commit) via 846612a12ca071e6087bb4b2fb0b7b84ebac68ef (commit) via 9d6fc2c28a2f39f9ceff98cdc993e6daaed9cd1d (commit) via 8a6a1705426318b250a68619668bca39004e9a3c (commit) via 9f3564d1f33bfda04e51952caf6ea32dd4a6fd59 (commit) via b5ce0a92d38f4d60305eea9ecc1251f1f3813024 (commit) via aaf7ddda357e835cbc69c3baf851ae5614eeb024 (commit) via 82bc607b85c3cbfb8d4beef7329dd4eaa8aba9dd (commit) via 2734812547b9fe0e797ea3770dce729326d586e6 (commit) via ca7c2194b048f0a73a5b7a2ad4f8430922cdfe59 (commit) via 704351e1a181751067c37f0d93d5f88d65f3afaa (commit) via 1411fbd6ffdc4ee04d81903c1f991c5c99f1373b (commit) via 089db151b0147d56173a2e6a952ae7161b1937f4 (commit) via 081abf00a4d534b044c787059f4fb2f8429e06ba (commit) via 1783236742f37bfbf438324691efe39378a43244 (commit) via c9cf4a0b7b334c8c508153c0a75a4fab1a4b3df9 (commit) via 46482279f27048d1e96d80cfc4acc73a4090fced (commit) via a1d32bec03fab72ec665e0663a2f8a81191e3876 (commit) via ff85badd8b7dac0094f5632ce2f3984a038ec294 (commit) via b09b79e142b9a2de819e142398ac46a9fe9f1727 (commit) via bd1ec112562a09a6f9a771f1e6623b927877835f (commit) via fb26707875cdabd2c42e06ec01cc4da36ee9b815 (commit) via 35f63f9ca57cf5b4e6d1f275f0cab2205f7580cb (commit) via d3dc1456c6891924ddad6e7c5e04a667a79910bc (commit) via d2b0be7794ce4462b5c38e8536b50cf9d9013d23 (commit) via 0688bc9acffd42b34c5e5b77e63574bd6ba67448 (commit) via 684341392f3ca6703dc28dac548d3051811bff47 (commit) via 8a589464780f33401b3ecd25ea7c0bc5559a3c02 (commit) via d5ea7042210f5ad319ad19910bce13fd5717c6d6 (commit) via f6e7d25dc886cca5874f07da06a0fd7ae3a3f513 (commit) via 19ae1bee09a39599b531c5bcc36df436b189934c (commit) via 7344acc907cfb7e2ee5856d9cd1f02a5d3b79f77 (commit) via 49f93ee6aafa584f8a80b87721b9a2c12dcab4a8 (commit) via 76edd1a97f8b72ef92d60b50da904d0fd272ab62 (commit) via a3aae1ff51350ba047cf5243cb21dbbf3ac9e7c6 (commit) via b1113f7ef99c831f4166e52471e0cf0ca481f80d (commit) via 619692094ba4391c5049a8776e540250830cf888 (commit) via a1bf308373901f33bc54e5d21bf3c80117d2d2e0 (commit) via 78803ba316c6f60c3794fd1e3becf242b4a91fe9 (commit) via 1101194cfd827d5bad14c20a5342d5ff2bd6a782 (commit) via 352dcf01c2e94e0778f65a40ce9e59178c8983a2 (commit) via 3bc453fe84f67671c99f4c3add103621b9de239b (commit) via 2aad26cc57d104bbd5144402856586be2ee1150a (commit) via 58c221fe4314b56322516dad04341ec9939150c4 (commit) via 692ee4f856ea8e13108f09d4fc932da00c03dfe0 (commit) via 9b971f654a355f1b729613a62a2a301a2e2afed3 (commit) via f811583aeb766b0a97fcc4a93d61bee9394c5eca (commit) via b499644e6cf65779ced4c801f04c72075e67ad2e (commit) via 1a22ea4cdab8208882d1214e843f9e8c7c881113 (commit) via 4f612e310090488507bc31bbc780d6b2ba89d38f (commit) via d31b7483ee01a76fe2666d62ae17f2f5027eb31e (commit) via 90280ea36b4e93ee207324ef76b648571efbebbe (commit) via 46ccfdba5c26799db48495f85350da16417c901a (commit) via 7c6d57193dd59fb6317ec867e7b7acf969619c7c (commit) via 5e40af195bd74a66d300d8f481cab1f2ba533f3a (commit) via c218397846b823fb3c46574cc17a30ae1d281353 (commit) via 2bdf4c43d498a1d275dc14b2d0889c0ba404a93a (commit) via 2640a66ac74a182f6c45f76a28931803040aa6ea (commit) via 8602539728bdbb1c76abdce52211f953e7ce4cfa (commit) via ed9bd5194bf25b1ceb799d7a270fc9e69e379c41 (commit) via 71ed052ecbe335aaa569615c304a9eef5e3489dc (commit) via db5fe9a765bc7cb7df7c7fad50e12177ac6bafd1 (commit) via 690feb7aad67c6143ab57b7588b8386d959f78c1 (commit) via 5b39c21c8214afcdf8ed9de37fd68786aaeece23 (commit) via f8cfb4a87c864abbfb7faace74b88b5e07854cf8 (commit) via b2c39012cc6906417a9305fc2bfa66f7e0dc06d5 (commit) via 1337fe6467a18f2d98163640a29b2682fa2bbf7d (commit) via 70ae8d6bdd495cd0eeb36ab5053aaf448114c6d0 (commit) via 60fa470a7908d2ab57a9ba84368e87a635e17b8a (commit) via 39233d1eca42857f5cf67b618e89f59594b4e262 (commit) via 93ad27bbc56b9c0209d9b49851d538afc80723dd (commit) via e8ccc664ba5035cddc2698563837ca26d4fd453b (commit) via e2cfe63fba5a44bebf21b4e0f192966c39f61342 (commit) via 1a7b6469998b9e1c25e68f59fc23ad3fc00499a7 (commit) via 8bc0d48889dae5d3cf7afa83f9e65827b153f423 (commit) via deaf54a59090bb65be744d6ef73545781df4bae0 (commit) via 5656cf7095af75d390aadfe2ec6e128f4a88b432 (commit) via ebf554c190f8b78b664c6b0ae085c01467c8c079 (commit) via f1d05b0b602243cc952205181090ab92b23a9e90 (commit) via bd1fb1900ebc0bd2331f901edc042403007616f8 (commit) via 9f958a99b58d8c6bbecefd3390a19003c5a5fa40 (commit) via 9dcf5e86d3ceed89776ab03ca0d3b5bb79459d0d (commit) via ed2e4b0e511a9d99fcc33335c5f5d7e6d3a04a90 (commit) via fb68d8a2556cda8a1b57b1b70bfdc7cb27e2de4f (commit) via 4f8baa5d53b1206bcda8bba3f21a06e5e034ac16 (commit) from 5b63371fc09b5eba3ab4fe2767fb51e582bf6a62 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d7e58fcbe0967f09883b314a2b414f265c41121a Merge: 5b63371fc09b5eba3ab4fe2767fb51e582bf6a62 834cef0c48a6b349926fba6ca9479a8f71b6d041 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Apr 4 13:57:30 2010 +0200 Merge remote branch 'gdb/master' commit 834cef0c48a6b349926fba6ca9479a8f71b6d041 Author: gdbadmin <gdbadmin@sourceware.org> Date: Sun Apr 4 00:00:45 2010 +0000 *** empty log message *** commit c196003fe1aea3dd0253116683b086e9518afcd5 Author: Alan Modra <amodra@bigpond.net.au> Date: Sun Apr 4 00:00:11 2010 +0000 daily update commit c75c7b5544a4f06d63bdf20195897633d4c4650a Author: Pedro Alves <pedro@codesourcery.com> Date: Sat Apr 3 23:14:18 2010 +0000 * inferiors.c (add_thread): Set last_status kind to TARGET_WAITKIND_IGNORE. * linux-low.c (cancel_breakpoint): Remove unnecessary regcache fetch. Use ptid_of. Avoid unnecessary get_lwp_thread calls. (linux_wait_1): Move `thread' local definition to block that uses it. Don't NULL initialize `event_child'. (linux_resume_one_thread): Avoid unnecessary get_lwp_thread calls. Alway set the thread's last_status to TARGET_WAITKIND_IGNORE. * linux-x86-low.c (x86_breakpoint_at): Read raw memory. commit 510010aff3b77f5d3906a9f54c80fb16fcfcf7fa Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Apr 3 00:00:10 2010 +0000 *** empty log message *** commit 381afd77fede8964237416abe563b403eb9fff64 Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Apr 2 23:00:06 2010 +0000 daily update commit c3702819b1531f10d32ffcec1869158c0cb2a47d Author: Mike Frysinger <vapier@gentoo.org> Date: Fri Apr 2 18:25:27 2010 +0000 sim: fix typos in hw-ports.h commit 7eefff46dab59928e9e224cbb1303249e6e20e1a Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Fri Apr 2 15:21:38 2010 +0000 gdb/ * dwarf2read.c (read_namespace_type): Use common "return set_die_type" code form. commit 0ffeba00d655e8a16d34a4d3314759f59a28e934 Author: Hui Zhu <teawater@gmail.com> Date: Fri Apr 2 05:13:07 2010 +0000 2010-04-02 Hui Zhu <teawater@gmail.com> Michael Snyder <msnyder@vmware.com> * gdb.reverse/i386-sse-reverse.exp: New file. * gdb.reverse/i386-sse-reverse.c: New file. commit 7d4cba3b3c89718ffc76737ad52f4b2928ebb59f Author: Hui Zhu <teawater@gmail.com> Date: Fri Apr 2 05:09:28 2010 +0000 2010-04-02 Hui Zhu <teawater@gmail.com> * i386-tdep.c (OT_DQUAD): New enum. (i386_process_record): Add code for MMX, 3DNow!, SSE, SSE2, SSE3, SSSE3 and SSE4. commit 106fded0d9e101ccdcc0e8c85b0143d5b3dbd5f5 Author: Hui Zhu <teawater@gmail.com> Date: Fri Apr 2 05:04:56 2010 +0000 2010-04-02 Hui Zhu <teawater@gmail.com> * i386-tdep.c (i386_record_lea_modrm_addr): Remove useless "*addr = 0". commit 278e2330b2de5ec0fe9de3cd3d692dfccccffef3 Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Apr 2 01:39:48 2010 +0000 * tracepoint.c (trace_dump_actions): New, factored out from trace_dump_command, and adjusted to recurse into while-stepping's action list. (trace_dump_command): Use it. commit f6e01f0c5e388abe5ffd0f9329dd27fc5a95bf34 Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Apr 2 01:31:58 2010 +0000 * gdb.trace/tfind.exp: Adjust expected disassembly output. commit 24649440976356375b007725fff4a67214bd75ce Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Apr 2 01:18:34 2010 +0000 * breakpoint.h (struct counted_command_line): Moved definition to breakpoint.c, and forward declare. (breakpoint_commands): Declare. * breakpoint.c (struct counted_command_line): Moved here. (breakpoint_commands): New. * tracepoint.c (encode_actions): Use breakpoint_commands. * remote.c (remote_download_tracepoint): Ditto. commit 2d2d08d940be6c633064480efb635dd5060937e5 Author: gdbadmin <gdbadmin@sourceware.org> Date: Fri Apr 2 00:00:34 2010 +0000 *** empty log message *** commit a68ec9e91005a9dbcb163fac03fcd0a3afa419ea Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Apr 1 23:13:23 2010 +0000 Use hex_string instead of phex_nz for error. 2010-04-01 H.J. Lu <hongjiu.lu@intel.com> * remote.c (remote_parse_stop_reply): Use hex_string instead of phex_nz for error. commit 45e296f62230c57b4973002eeea387b38756a225 Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Apr 1 23:00:04 2010 +0000 daily update commit 9961a945ba4754e0b6f56d1bef23ed4d6009903b Author: Stan Shebs <shebs@apple.com> Date: Thu Apr 1 22:57:07 2010 +0000 2010-04-01 Stan Shebs <stan@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> * tracepoint.h (enum actionline_type): Remove. (validate_actionline): Change return to void. * tracepoint.c (report_agent_reqs_errors): New function. (validate_actionline): Call it, change return to void, report errors more consistently. (collect_symbol): Call report_agent_reqs_errors. (encode_actions_1): Ditto. (encode_actions): Don't expect a result from validate_actionline. * gdb.trace/actions.exp: Tweak expected output. * gdb.trace/while-stepping.exp: Tweak expected output. commit fcf9ef36ae5f01a5df4fc32b3d2a807f40909441 Author: Stan Shebs <shebs@apple.com> Date: Thu Apr 1 20:30:55 2010 +0000 2010-04-01 Stan Shebs <stan@codesourcery.com> * tracepoint.c (trace_start_command): Confirm if trace is running. (trace_stop_command): Error if trace not running. commit 5362e5e1dc4cfac24fbd58773aaa7a82c615b662 Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Apr 1 20:02:07 2010 +0000 Support "ah", "bh", "ch", "dh" on amd64. gdb/ 2010-04-01 H.J. Lu <hongjiu.lu@intel.com> * amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh". (AMD64_NUM_LOWER_BYTE_REGS): New. (amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh". (amd64_pseudo_register_write): Likewise. (amd64_init_abi): Set num_byte_regs to 20. gdb/testsuite/ 2010-04-01 H.J. Lu <hongjiu.lu@intel.com> * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh". commit c3f49676292e5890706c55b27159381617a56d87 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 15:31:26 2010 +0000 * linux-low.c (get_stop_pc): Don't adjust the PC if stopped with an extended waitstatus, or by a watchpoint. (cancel_breakpoints_callback): Don't cancel a breakpoint if the thread was stepping or has been stopped by a watchpoint. commit 1c3cddd06abdb2f67dc9e5b6597a4db2c22aafdd Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 14:26:53 2010 +0000 * mem-break.c (struct raw_breakpoint): New field shlib_disabled. (set_gdb_breakpoint_at): If GDB is inserting a breakpoint on top of another, then delete the previous, and validate all breakpoints. (validate_inserted_breakpoint): New. (delete_disabled_breakpoints): New. (validate_breakpoints): New. (check_mem_read): Validate breakpoints before trusting their shadow. Delete disabled breakpoints. (check_mem_write): Validate breakpoints before trusting they should be inserted. Delete disabled breakpoints. * mem-break.h (validate_breakpoints): * server.c (handle_query): Validate breakpoints when we see a qSymbol query. commit 2dbd07ff3b52a1f746bc256d0edd181fde98c77e Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 14:25:34 2010 +0000 * linux-low.c (linux_wait_1): Avoid setting need_step_over is there's a GDB breakpoint at stop_pc. Always report a trap to GDB if we could tell there's a GDB breakpoint at stop_pc. (need_step_over_p): Don't do a step over if we find a GDB breakpoint at the resume PC. * mem-break.c (struct raw_breakpoint): New. (enum bkpt_type): New type `gdb_breakpoint'. (struct breakpoint): Delete the `PC', `old_data' and `inserted' fields. New field `raw'. (find_raw_breakpoint_at): New. (set_raw_breakpoint_at): Handle refcounting. Create a raw breakpoint instead. (set_breakpoint_at): Adjust. (delete_raw_breakpoint): New. (release_breakpoint): New. (delete_breakpoint): Rename to... (delete_breakpoint_1): ... this. Add proc parameter. Use release_breakpoint. Return ENOENT. (delete_breakpoint): Reimplement. (find_breakpoint_at): Delete. (find_gdb_breakpoint_at): New. (delete_breakpoint_at): Delete. (set_gdb_breakpoint_at): New. (delete_gdb_breakpoint_at): New. (gdb_breakpoint_here): New. (set_reinsert_breakpoint): Use release_breakpoint. (uninsert_breakpoint): Rename to ... (uninsert_raw_breakpoint): ... this. (uninsert_breakpoints_at): Adjust to handle raw breakpoints. (reinsert_raw_breakpoint): Change parameter type to raw_breakpoint. (reinsert_breakpoints_at): Adjust to handle raw breakpoints instead. (check_breakpoints): Adjust. Use release_breakpoint. (breakpoint_here): Rewrite using find_raw_breakpoint_at. (breakpoint_inserted_here): Ditto. (check_mem_read): Adjust to iterate over raw breakpoints instead. Don't trust the breakpoint's shadow if it is not inserted. (check_mem_write): Adjust to iterate over raw breakpoints instead. (delete_all_breakpoints): Adjust. (free_all_breakpoints): Mark all breakpoints as uninserted, and use delete_breakpoint_1. * mem-break.h (breakpoints_supported): Delete declaration. (set_gdb_breakpoint_at): Declare. (gdb_breakpoint_here): Declare. (delete_breakpoint_at): Delete. (delete_gdb_breakpoint_at): Declare. * server.h (struct raw_breakpoint): Forward declare. (struct process_info): New field `raw_breakpoints'. * linux-x86-low.c (x86_insert_point, x86_remote_point): Handle Z0 breakpoints. commit 3d30645a80848e4a3bdccfd36baccf78b9657f64 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 14:11:18 2010 +0000 gdb/ * breakpoint.c (multi_start, multi_end, last_was_multi): Delete. (prev_breakpoint_count): New. (set_breakpoint_count): Adjust. (rbreak_start_breakpoint_count): New. (start_rbreak_breakpoints): Adjust. (end_rbreak_breakpoints): Adjust. (struct commands_info) <arg>: New field. (do_map_commands_command): Tweak output to include breakpoint spec range. (commands_command_1): Adjust. Avoid setting an xfree cleanup if ARG was empty on entry. Set INFO's arg. (create_breakpoint): Adjust. * NEWS: Clarify `commands' changes. gdb/doc/ * gdb.texinfo (Break Commands): Clarify `commands' changes, and add cross reference. gdb/testsuite/ * gdb.base/commands.exp: Adjust. * gdb.cp/extern-c.exp: Adjust. commit ed9f1947e9fb57950d2eeec6f0b86fb8b1753f2b Author: Tristan Gingold <gingold@adacore.com> Date: Thu Apr 1 13:07:19 2010 +0000 Add missing file from my previous commit. commit ec8933b41740f5fb1bce773676556802d4fc6db2 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 11:23:58 2010 +0000 gdb/ * tracepoint.c: Include stack.h. (struct add_local_symbols_data): New. (do_collect_symbol): New. (add_local_symbols): Rewrite using iterate_over_block_arg_vars and iterate_over_block_local_vars. * stack.c (print_block_frame_locals): Rewrite as ... (iterate_over_block_locals): ... this. Take a callback function pointer and generic data pointer, and call that instead of print_variable_and_value. (struct print_variable_and_value_data): New. (do_print_variable_and_value): New. (iterate_over_block_local_vars): New, abstracted out from print_frame_local_vars. (print_frame_local_vars): Rewrite using iterate_over_block_local_vars. (iterate_over_block_arg_vars): New, abstracted out from print_frame_arg_vars. (print_frame_arg_vars): Rewrite using iterate_over_block_arg_vars. * stack.h (iterate_over_block_arg_local_vars_cb): New typedef. (iterate_over_block_arg_vars, iterate_over_block_local_vars): Declare. gdb/testsuite/ * gdb.trace/collection.c (local_test_func): Define a local struct, and instanciate it. commit 71c157d7d82a84ef3a99352cff70c21d764c607c Author: Nathan Sidwell <nathan@codesourcery.com> Date: Thu Apr 1 10:02:27 2010 +0000 bfd/ * elf32-ppc.c (apuinfo_set): New static var. (ppc_elf_begin_write_processing): Set it here, always create an APUinfo section if there were any in the inputs. (ppc_elf_write_section): Check apuinfo_set. (ppc_elf_final_write_processing): Likewise. ld/testsuite/ * ld-powerpc/apuinfo-nul.rd: New. * ld-powerpc/apuinfo-nul1.s: New. * ld-powerpc/powerpc.exp: Add it. commit 0c6a98e6684fb004a5572e931e1846f3477ca561 Author: Tristan Gingold <gingold@adacore.com> Date: Thu Apr 1 09:47:13 2010 +0000 2010-04-01 Tristan Gingold <gingold@adacore.com> * vms.h: Include time.h. Add prototypes for vms_get_module_name, vms_time_to_time_t and vms_rawtime_to_time_t. * vms.c (vms_alpha_vec): Add archives support. * vms-misc.c: Include safe-ctype.h (vms_get_module_name): New function. (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the vms_get_module_name function. Use this function. * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector. * libbfd-in.h: Add prototype for _bfd_append_relative_path. Add prototypes for vms-lib.c * libbfd.h: Regenerate. * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add vms-lib.lo to vms_alpha_vec. * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*. * configure: Regenerate. * bfd.c: Add selective_search field. * bfd-in2.h: Regenerate. * archive.c (append_relative_path): Rename to _bfd_append_relative_path and make it public. (_bfd_get_elt_at_filepos): Adjust for above renaming. * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo (BFD32_BACKENDS_CFILES): Add vms-lib.c * Makefile.in: Regenerate. commit 86519cf32808e9a1352acbb08b1985d21c68a6b2 Author: Jakub Jelinek <jakub@redhat.com> Date: Thu Apr 1 05:24:51 2010 +0000 * dwarf2.c (read_attribute_value): Handle CU version 4 for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc and DW_FORM_flag_present. For unknown form value return NULL. (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc like DW_FORM_block. (parse_comp_unit): Allow CU version 4. commit b91451bbd8f6f78f1b1410b4de9726de2d88fb02 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Apr 1 00:55:02 2010 +0000 * gdb.trace/collection.exp (gdb_collect_args_test) (gdb_collect_argarray_test): XFAIL the tests that assume the argarray argument's elements are collected. commit 5264087a1d130ea7d5d76c76d9838ed587135c92 Author: gdbadmin <gdbadmin@sourceware.org> Date: Thu Apr 1 00:00:03 2010 +0000 *** empty log message *** commit 28775c16c26e7ef6687602604cdde263ce3791bc Author: Alan Modra <amodra@bigpond.net.au> Date: Wed Mar 31 23:00:06 2010 +0000 daily update commit aa0d92f77ebcf274cb2e23c1a949c8ce839597c5 Author: Hans-Peter Nilsson <hp@axis.com> Date: Wed Mar 31 22:44:49 2010 +0000 * elf32-cris.c (cris_elf_relocate_section): Correct first argument to _bfd_elf_get_dynamic_reloc_section. (elf_cris_discard_excess_dso_dynamics): Ditto. commit a19c18a1498aaa85cd92d80cc1c061701aca8cf4 Author: Richard Earnshaw <richard.earnshaw@arm.com> Date: Wed Mar 31 22:10:05 2010 +0000 * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBH instructions. Use the PC+4 if the base of the TBB or TBH is the PC register. commit 7e8e956c34e0fd4f0b59ef1c46f8966c66fffbf3 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Wed Mar 31 18:13:37 2010 +0000 gdb/ Fix crash on reading wrong function declaration DWARF. * dwarf2read.c (read_subroutine_type): New variable void_type. Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization more close to their use. gdb/testsuite/ * gdb.dwarf2/dw2-bad-parameter-type.exp, gdb.dwarf2/dw2-bad-parameter-type.S: New. commit 846612a12ca071e6087bb4b2fb0b7b84ebac68ef Author: Stan Shebs <shebs@apple.com> Date: Wed Mar 31 17:59:48 2010 +0000 2010-03-31 Stan Shebs <stan@codesourcery.com> * breakpoint.c (tracepoint_save_command): Include variables, conditionals, tracepoint types, and default-collect. * tracepoint.c (save_trace_state_variables): New function. * tracepoint.h (save_trace_state_variables): Declare it. * gdb.trace/save-trace.exp: Test save/restore of default-collect and tracepoint conditionals. (gdb_verify_tracepoints): Delete unused return. commit 9d6fc2c28a2f39f9ceff98cdc993e6daaed9cd1d Author: Kai Tietz <kai.tietz@onevision.com> Date: Wed Mar 31 16:32:01 2010 +0000 2010-03-31 Kai Tietz <kai.tietz@onevision.com> * coff-i386.c (in_reloc_p): Check also for R_SECREL32. * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL. commit 8a6a1705426318b250a68619668bca39004e9a3c Author: Pierre Muller <muller@ics.u-strasbg.fr> Date: Wed Mar 31 14:36:40 2010 +0000 * src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup. commit 9f3564d1f33bfda04e51952caf6ea32dd4a6fd59 Author: Pedro Alves <pedro@codesourcery.com> Date: Wed Mar 31 12:19:52 2010 +0000 * gdb.texinfo (TUI Commands): Mention that in some cases, these commands error out. commit b5ce0a92d38f4d60305eea9ecc1251f1f3813024 Author: Alan Modra <amodra@bigpond.net.au> Date: Wed Mar 31 07:53:39 2010 +0000 * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized TPREL16_HI and TPREL16_HA insns. commit aaf7ddda357e835cbc69c3baf851ae5614eeb024 Author: Tristan Gingold <gingold@adacore.com> Date: Wed Mar 31 07:35:54 2010 +0000 2010-03-31 Tristan Gingold <gingold@adacore.com> * dcx.h: New file. * dsc.h: New file. * esdfm.h: New file. * esdfv.h: New file. * internal.h: New file. * lbr.h: New file. * prt.h: New file. * shl.h (struct vms_shl): Add comments. * esrf.h (ESRF__B_NAMLNG): New macro. * esdf.h (ESDF__B_NAMLNG): New macro. * emh.h: Add macros for fields maximum value. * eisd.h (EISD__M_PROTECT): Fix typo in comment. Add macros for offsets, version, section type and match control. Merge vms_eisd_ext into vms_eisd. * eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added. * eihs.h: Remove blank line. * eihd.h (struct vms_eihd): Add comments, add image subtype names. * eiha.h (struct vms_eiha): Add inishr and inishr_h fields. * eiaf.h (struct vms_eiaf): Fix base_va size. * egsy.h: Add comments. * egsd.h: Remove blank line. * egps.h: Add flag names. * eeom.h (EEOM__M_WKTFR): Added. * dst.h (DST__K_CXX): Added, and reident languages. (DST__K_SRC_INCRLNUM_B): Added. Indent and order pcline commands. Add record begin/end, enumerations, type specification, value specification, label, discontinue range definitions. commit 82bc607b85c3cbfb8d4beef7329dd4eaa8aba9dd Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Date: Wed Mar 31 05:44:00 2010 +0000 Fix toplevel configure --enable-multilib handling. /: PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. commit 2734812547b9fe0e797ea3770dce729326d586e6 Author: Hans-Peter Nilsson <hp@axis.com> Date: Wed Mar 31 03:38:25 2010 +0000 PR ld/11458 * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid assert of empty pcrel_relocs_copied on the direct symbol. Instead of moving the list from the indirect symbol to the direct symbol, merge into any existing list. (cris_elf_check_relocs): Store the original section in the pcrel_relocs_copied list, not the relocation section. (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find the relocation section, for reducing its size. Change the BFD_ASSERT into a check for the section being read-only, and only emit warnings and TEXTREL marker when there's an entry for a read-only section. commit ca7c2194b048f0a73a5b7a2ad4f8430922cdfe59 Author: Keith Seitz <keiths@redhat.com> Date: Wed Mar 31 00:48:28 2010 +0000 * c-typeprint.c (c_type_print_args): Don't print "void" for java, regardless of whether it is TYPE_PROTOTYPED. Use the passed-in language instead of current_language. (c_type_print_varspec_suffix): Use current_language instead of assuming language_c. * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off any return type specifier from the physname. commit 704351e1a181751067c37f0d93d5f88d65f3afaa Author: Keith Seitz <keiths@redhat.com> Date: Wed Mar 31 00:47:23 2010 +0000 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to appear in the output before main. Remove KFAIL for gdb/2215 aka bz 9320. commit 1411fbd6ffdc4ee04d81903c1f991c5c99f1373b Author: gdbadmin <gdbadmin@sourceware.org> Date: Wed Mar 31 00:00:33 2010 +0000 *** empty log message *** commit 089db151b0147d56173a2e6a952ae7161b1937f4 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 23:43:03 2010 +0000 sim: v850: fix build failure after watchpoint constification commit 081abf00a4d534b044c787059f4fb2f8429e06ba Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 23:09:48 2010 +0000 sim: use socklen_t with accept() The accept() function takes a socklen_t, not an int. Using an int causes: dv-sockser.c: In function 'connected_p': dv-sockser.c:273: warning: pointer targets in passing argument 3 of 'accept' differ in signedness So use the same socklen_t detection code as gdb and convert the accept(). commit 1783236742f37bfbf438324691efe39378a43244 Author: Alan Modra <amodra@bigpond.net.au> Date: Tue Mar 30 23:00:04 2010 +0000 daily update commit c9cf4a0b7b334c8c508153c0a75a4fab1a4b3df9 Author: Doug Evans <dje@google.com> Date: Tue Mar 30 22:25:58 2010 +0000 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined by dejagnu. * gdb.arch/amd64-dword.exp: Ditto. commit 46482279f27048d1e96d80cfc4acc73a4090fced Author: Pedro Alves <pedro@codesourcery.com> Date: Tue Mar 30 22:21:33 2010 +0000 * tui/tui-interp.c (tui_is_toplevel): New. (tui_init): Set it. (tui_allowed_p): New. * tui/tui.c (tui_enable): Check if the TUI is allowed before enabling it. * tui/tui.h (tui_allowed_p): Declare. commit a1d32bec03fab72ec665e0663a2f8a81191e3876 Author: Doug Evans <dje@google.com> Date: Tue Mar 30 22:12:07 2010 +0000 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text match. (break printf): Ditto. commit ff85badd8b7dac0094f5632ce2f3984a038ec294 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:43:36 2010 +0000 sim: fix printf format warning about non-string literal This is the normal "passing a buffer straight to printf makes GCC warn". While we know this particular case is fine, the trend in this source tree is to fix this anyways to avoid the warnings. commit b09b79e142b9a2de819e142398ac46a9fe9f1727 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:42:02 2010 +0000 sim: constify watchpoint interrupt names GCC issues warnings because const strings like "foo" are passed as char*. sim-watch.c: In function 'watchpoint_type_to_str': sim-watch.c:120: warning: return discards qualifiers from pointer target type commit bd1ec112562a09a6f9a771f1e6623b927877835f Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:40:27 2010 +0000 sim: change raddr to address_word The sim read/write buffer functions deal with address_word's, not unsigned_words's, so make sure the local raddr variable matches accordingly. commit fb26707875cdabd2c42e06ec01cc4da36ee9b815 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:39:38 2010 +0000 sim: fix unused cpu_nr warnings The trace_option_handler() function only uses cpu_nr when the SIM_HAVE_ADDR_RANGE define is enabled. So move the decl down to where the code exists. Otherwise GCC warns: sim-trace.c: In function 'trace_option_handler': sim-trace.c:236: warning: unused variable 'cpu_nr' commit 35f63f9ca57cf5b4e6d1f275f0cab2205f7580cb Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:38:26 2010 +0000 sim: update device_error() prototype The device_error() takes a printf style string, so update the prototype accordingly. The message should be const and it should use an attribute. This fixes gcc warnings like: sim-core.c: In function 'sim_core_map_attach': sim-core.c:200: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:237: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c: In function 'sim_core_attach': sim-core.c:304: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:314: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:335: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:348: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type commit d3dc1456c6891924ddad6e7c5e04a667a79910bc Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 20:35:39 2010 +0000 sim: fix unused profile_print_addr_ranges warning The profile_print_addr_ranges() function is only used when SIM_HAVE_ADDR_RANGE is defined, so #ifdef it accordingly. commit d2b0be7794ce4462b5c38e8536b50cf9d9013d23 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 19:45:32 2010 +0000 sim: tweak static order on hw_glue_ports GCC likes to warn when static comes after const: dv-glue.c:191: warning: 'static' is not at beginning of declaration commit 0688bc9acffd42b34c5e5b77e63574bd6ba67448 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Mar 30 19:43:42 2010 +0000 sim: convert old style function definitions GCC currently emits warnings like: nrun.c: In function 'usage': nrun.c:223: warning: old-style function definition commit 684341392f3ca6703dc28dac548d3051811bff47 Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Mar 30 18:37:03 2010 +0000 Add org.gnu.gdb.i386.avx. 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx. commit 8a589464780f33401b3ecd25ea7c0bc5559a3c02 Author: Tom Tromey <tromey@redhat.com> Date: Tue Mar 30 18:08:02 2010 +0000 2010-03-30 Ozkan Sezer <sezeroz@gmail.com> * serial.h: Include winsock2.h before windows.h. commit d5ea7042210f5ad319ad19910bce13fd5717c6d6 Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Mar 30 15:45:08 2010 +0000 Add xmlRegisters= to qSupported packet. gdb/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention xmlRegisters= in qSupported packet. * i386-tdep.c: Include "remote.h". (_initialize_i386_tdep): Call register_remote_support_xml. * remote.c (remote_support_xml): New. (register_remote_support_xml): Likewise. (remote_query_supported_append): Likewise. (remote_query_supported): Support remote_support_xml. * remote.h (register_remote_support_xml): New. gdb/doc/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (General Query Packets): Add xmlRegisters. commit f6e7d25dc886cca5874f07da06a0fd7ae3a3f513 Author: Stan Shebs <shebs@apple.com> Date: Tue Mar 30 00:19:43 2010 +0000 2010-03-29 Stan Shebs <stan@codesourcery.com> * tracepoint.c (trace_find_line_command): Remove dead code. commit 19ae1bee09a39599b531c5bcc36df436b189934c Author: gdbadmin <gdbadmin@sourceware.org> Date: Tue Mar 30 00:00:33 2010 +0000 *** empty log message *** commit 7344acc907cfb7e2ee5856d9cd1f02a5d3b79f77 Author: Stan Shebs <shebs@apple.com> Date: Mon Mar 29 23:47:28 2010 +0000 2010-03-29 Stan Shebs <stan@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> * gdb.texinfo (GDB/MI Tracepoint Commands): Add notes about the GDBN equivalent. (Set Tracepoints): Remove mention that conditional tracepoints don't exist. (Tracepoint Actions): Clarify when while-stepping collection happens, note that while-stepping does not automatically collect $pc. commit 49f93ee6aafa584f8a80b87721b9a2c12dcab4a8 Author: Stan Shebs <shebs@apple.com> Date: Mon Mar 29 23:45:04 2010 +0000 2010-03-29 Stan Shebs <stan@codesourcery.com> * tracepoint.h (struct uploaded_string): New struct. (struct uploaded_tp): New fields for source strings. * breakpoint.c (this_utp, next_cmd): New globals. (read_uploaded_action): New function. (create_tracepoint_from_upload): Fill in more parts of a tracepoint. * tracepoint.c (encode_source_string): New function. (trace_save): Write out source strings, fix error checks. (parse_tracepoint_definition): Add source string parsing. * remote.c (PACKET_TracepointSource): New packet type. (remote_download_command_source): New function. (remote_download_tracepoint): Download source pieces also. (_initialize_remote): Add packet config command. * gdb.texinfo (Tracepoint Packets): Describe QTDPsrc. (General Query Packets): Describe TracepointSource. commit 76edd1a97f8b72ef92d60b50da904d0fd272ab62 Author: Alan Modra <amodra@bigpond.net.au> Date: Mon Mar 29 23:00:04 2010 +0000 daily update commit a3aae1ff51350ba047cf5243cb21dbbf3ac9e7c6 Author: Daniel Jacobowitz <dan@debian.org> Date: Mon Mar 29 20:42:54 2010 +0000 bfd/ * elf32-arm.c (using_thumb_only): Handle v6-M. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test. commit b1113f7ef99c831f4166e52471e0cf0ca481f80d Author: swagiaal <swagiaal> Date: Mon Mar 29 20:35:19 2010 +0000 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with gcc < 4.4. * gdb.cp/shadow.exp: Ditto. commit 619692094ba4391c5049a8776e540250830cf888 Author: Stan Shebs <shebs@apple.com> Date: Mon Mar 29 17:58:16 2010 +0000 2010-03-29 Stan Shebs <stan@codesourcery.com> * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to expression handler. commit a1bf308373901f33bc54e5d21bf3c80117d2d2e0 Author: Stan Shebs <shebs@apple.com> Date: Mon Mar 29 17:41:37 2010 +0000 2010-03-29 Stan Shebs <stan@codesourcery.com> * tracepoint.c (start_tracing): Check tracepoints before sending commands to target, don't start if all tracepoints disabled. commit 78803ba316c6f60c3794fd1e3becf242b4a91fe9 Author: Pedro Alves <pedro@codesourcery.com> Date: Mon Mar 29 00:46:54 2010 +0000 * gdb.trace/collection.exp (run_trace_experiment): Make sure "tstart" is silent. commit 1101194cfd827d5bad14c20a5342d5ff2bd6a782 Author: gdbadmin <gdbadmin@sourceware.org> Date: Mon Mar 29 00:00:03 2010 +0000 *** empty log message *** commit 352dcf01c2e94e0778f65a40ce9e59178c8983a2 Author: Pedro Alves <pedro@codesourcery.com> Date: Sun Mar 28 23:17:57 2010 +0000 * gdb.trace/collection.exp (executable): New. (binfile): Use it. (fpreg, spreg, pcreg): New. (test_register): Use gdb_test_multiple. Pass /x to print. (prepare_for_trace_test): New. (run_trace_experiment): Use "continue", not gdb_run_cmd. (gdb_collect_args_test, gdb_collect_argstruct_test) (gdb_collect_argarray_test, gdb_collect_locals_test): Use prepare_for_trace_test. (gdb_collect_registers_test): Use prepare_for_trace_test. Use fpreg, spreg and pcreg. (gdb_collect_expression_test, gdb_collect_globals_test): Use prepare_for_trace_test. (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't try to detect tracing support here. Don't set breakpoints at `begin' or `end' here. <global scope>: Use clean_restart. Run to main before checking for tracing support. Check for for tracing support here. commit 3bc453fe84f67671c99f4c3add103621b9de239b Author: Alan Modra <amodra@bigpond.net.au> Date: Sun Mar 28 23:00:04 2010 +0000 daily update commit 2aad26cc57d104bbd5144402856586be2ee1150a Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Mar 28 19:08:23 2010 +0000 gdb/testsuite/ * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add " as $displacement" to "seen displacement message". commit 58c221fe4314b56322516dad04341ec9939150c4 Author: Pedro Alves <pedro@codesourcery.com> Date: Sun Mar 28 18:11:20 2010 +0000 Whoops. Use tab, not spaces. commit 692ee4f856ea8e13108f09d4fc932da00c03dfe0 Author: Pedro Alves <pedro@codesourcery.com> Date: Sun Mar 28 18:00:54 2010 +0000 gdb/ * cli/cli-script.c (process_next_line): Handle 'stepping'. gdb/testsuite/ * gdb.trace/while-dyn.exp (executable): New variable. (binfile): Use it. (test_while_stepping): New function. Move most tests here. Call it once for each of the while-stepping, stepping and ws aliases. commit 9b971f654a355f1b729613a62a2a301a2e2afed3 Author: gdbadmin <gdbadmin@sourceware.org> Date: Sun Mar 28 00:00:03 2010 +0000 *** empty log message *** commit f811583aeb766b0a97fcc4a93d61bee9394c5eca Author: Alan Modra <amodra@bigpond.net.au> Date: Sat Mar 27 23:00:06 2010 +0000 daily update commit b499644e6cf65779ced4c801f04c72075e67ad2e Author: Eli Zaretskii <eliz@gnu.org> Date: Sat Mar 27 09:01:26 2010 +0000 * gdb.texinfo (ARM): Document arguments to "target sim". (Set Catchpoints): Use @dots{} instead of @r{...}. commit 1a22ea4cdab8208882d1214e843f9e8c7c881113 Author: Stan Shebs <shebs@apple.com> Date: Sat Mar 27 00:12:33 2010 +0000 2010-03-26 Stan Shebs <stan@codesourcery.com> * tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode. commit 4f612e310090488507bc31bbc780d6b2ba89d38f Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Mar 27 00:00:34 2010 +0000 *** empty log message *** commit d31b7483ee01a76fe2666d62ae17f2f5027eb31e Author: Stan Shebs <shebs@apple.com> Date: Fri Mar 26 23:49:30 2010 +0000 2010-03-26 Tom Tromey <tromey@redhat.com> * breakpoint.c (commands_command_1): Duplicate 'arg'. commit 90280ea36b4e93ee207324ef76b648571efbebbe Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 26 23:00:07 2010 +0000 daily update commit 46ccfdba5c26799db48495f85350da16417c901a Author: Ulrich Weigand <uweigand@de.ibm.com> Date: Fri Mar 26 19:41:49 2010 +0000 * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal. (skip_prologue_sal): Remove local definition. (resolve_sal_pc): Remove now unnecessary code. * linespec.c (minsym_found): Call skip_prologue_sal. * symtab.c (find_function_start_pc): Remove. (find_function_start_sal): Extract prologue skipping into ... (skip_prologue_sal): ... this new function. Handle code both with and without debug info. Respect SAL's explicit_pc and explicit_line flags. Inline old find_function_start_pc. * symtab.h (find_function_start_pc): Remove. (skip_prologue_sal): Add prototype. commit 7c6d57193dd59fb6317ec867e7b7acf969619c7c Author: Ulrich Weigand <uweigand@de.ibm.com> Date: Fri Mar 26 18:55:29 2010 +0000 * dwarf2read.c (read_func_scope): Also scan specification DIEs for DW_TAG_imported_module children. commit 5e40af195bd74a66d300d8f481cab1f2ba533f3a Author: Ulrich Weigand <uweigand@de.ibm.com> Date: Fri Mar 26 18:05:41 2010 +0000 ChangeLog: * dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by ignoring spurious DW_AT_name attributes for unnamed structs or unions. * completer.c (add_struct_fields): Fix inverted logic. testsuite/ChangeLog: * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions that do not provide the tagless_struct type name at all. (test_print_anon_union): Do not check value of uninitialized union member. Do not use cp_test_ptype_class, so we can accept "long" as well as "long int". commit c218397846b823fb3c46574cc17a30ae1d281353 Author: Ulrich Weigand <uweigand@de.ibm.com> Date: Fri Mar 26 16:41:53 2010 +0000 * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left. commit 2bdf4c43d498a1d275dc14b2d0889c0ba404a93a Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Mar 26 15:26:27 2010 +0000 * tracepoint.c (current_trace_status): Don't make sure error_desc is non-NULL here. (parse_trace_status): Release a previous error_desc string, and set it to NULL by default. If stop reason is tracepoint_error, make sure error_desc is not left NULL. commit 2640a66ac74a182f6c45f76a28931803040aa6ea Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Mar 26 14:31:45 2010 +0000 gdb/ * tracepoint.c (trace_save): Remove X from tracepoint error description. gdb/testsuite/ * gdb.trace/tfile.c (tohex, bin2hex): New. (write_error_trace_file): Hexify error description. commit 8602539728bdbb1c76abdce52211f953e7ce4cfa Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Mar 26 13:35:05 2010 +0000 gdb/ * tracepoint.c (parse_trace_status): Don't allow plain strings in the terror description. Don't expect an X prefix. gdb/doc/ * gdb.texinfo (Tracepoint Packets): Remove mention that terror:string may be plain text, and drop mention of X prefix. commit ed9bd5194bf25b1ceb799d7a270fc9e69e379c41 Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 26 08:34:23 2010 +0000 * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative. * bfd-in.h (elf_discarded_section): Clarify comment. * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. * bfd-in2.h: Regenerate. commit 71ed052ecbe335aaa569615c304a9eef5e3489dc Author: Vladimir Prus <vladimir@codesourcery.com> Date: Fri Mar 26 08:08:07 2010 +0000 * gdb.texinfo (GDB/MI Tracepoint Commands): Add comma after @xref. commit db5fe9a765bc7cb7df7c7fad50e12177ac6bafd1 Author: Stan Shebs <shebs@apple.com> Date: Fri Mar 26 01:46:27 2010 +0000 2010-03-25 Stan Shebs <stan@codesourcery.com> * tracepoint.h (trace_stop_reason): Add tracepoint_error. (struct trace_status): New field error_desc. * tracepoint.c (stop_reason_names): Add terror. (current_trace_status): Ensure non-NULL error description. (trace_status_command): Add error report. (trace_status_mi): Ditto. (trace_save): Add special case for error description. (parse_trace_status): Add case for errors. * gdb.texinfo (Tracepoint Packets): Document trace error status. * gdb.trace/tfile.c: Generate an additional trace file, improve portability. * gdb.trace/tfile.exp: Test trace file with an error stop, delete files in a better way. commit 690feb7aad67c6143ab57b7588b8386d959f78c1 Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 26 01:40:39 2010 +0000 * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged as unique in the armap. commit 5b39c21c8214afcdf8ed9de37fd68786aaeece23 Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 26 00:35:57 2010 +0000 PR ld/11375 * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a possible stub on branches. commit f8cfb4a87c864abbfb7faace74b88b5e07854cf8 Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 26 00:19:29 2010 +0000 add pr ref commit b2c39012cc6906417a9305fc2bfa66f7e0dc06d5 Author: gdbadmin <gdbadmin@sourceware.org> Date: Fri Mar 26 00:00:03 2010 +0000 *** empty log message *** commit 1337fe6467a18f2d98163640a29b2682fa2bbf7d Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Mar 25 23:00:05 2010 +0000 daily update commit 70ae8d6bdd495cd0eeb36ab5053aaf448114c6d0 Author: Keith Seitz <keiths@redhat.com> Date: Thu Mar 25 22:13:15 2010 +0000 * dwarf2read.c (read_subroutine_type): If the compilation unit language is Java, mark any formal parameter named "this" as artificial (GCC/43521). (dwarf2_name): Add special handling for Java constructors. commit 60fa470a7908d2ab57a9ba84368e87a635e17b8a Author: Keith Seitz <keiths@redhat.com> Date: Thu Mar 25 22:12:06 2010 +0000 * gdb.java/jprint.exp: XFAIL printing of static class members because of GCC debuginfo problem. commit 39233d1eca42857f5cf67b618e89f59594b4e262 Author: Joseph Myers <jsm@polyomino.org.uk> Date: Thu Mar 25 21:12:25 2010 +0000 bfd: * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo. (ALL_MACHINES_CFILES): Add cpu-tic6x.c. (BFD32_BACKENDS): Add elf32-tic6x.lo. (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c. * Makefile.in: Regenerate. * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New. (bfd_archures_list): Update. * config.bfd (tic6x-*-elf): New. * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. * configure: Regenerate. * cpu-tic6x.c, elf32-tic6x.c: New. * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12, BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7, BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16, BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B, BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W, BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B, BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W, BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H, BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W, BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W, BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31, BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN, BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New. * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. (_bfd_target_vector): Update. * bfd-in2.h, libbfd.h: Regenerate. binutils: * MAINTAINERS: Add self as TI C6X maintainer. * NEWS: Add news entry for TI C6X support. * readelf.c: Include elf/tic6x.h. (guess_is_rela): Handle EM_TI_C6000. (dump_relocations): Likewise. (get_tic6x_dynamic_type): New. (get_dynamic_type): Call it. (get_machine_flags): Handle EF_C6000_REL. (get_osabi_name): Handle machine-specific values only for relevant machines. Handle C6X values. (get_tic6x_segment_type): New. (get_segment_type): Call it. (get_tic6x_section_type_name): New. (get_section_type_name): Call it. (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle EM_TI_C6000. gas: * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c. (TARGET_CPU_HFILES): Add config/tc-tic6x.h. * Makefile.in: Regenerate. * NEWS: Add news entry for TI C6X support. * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in operands if TC_KEEP_OPERAND_SPACES. * configure.tgt (tic6x-*-*): New. * config/tc-ia64.h (TC_PREDICATE_START_CHAR, TC_PREDICATE_END_CHAR): Define. * config/tc-tic6x.c, config/tc-tic6x.h: New. * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi. * doc/Makefile.in: Regenerate. * doc/all.texi (TIC6X): Define. * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi. * doc/c-tic6x.texi: New. gas/testsuite: * gas/tic6x: New directory and testcases. include: * dis-asm.h (print_insn_tic6x): Declare. include/elf: * common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define. * tic6x.h: New. include/opcode: * tic6x-control-registers.h, tic6x-insn-formats.h, tic6x-opcode-table.h, tic6x.h: New. ld: * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and eelf32_tic6x_le.o. (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. * NEWS: Add news entry for TI C6X support. * configure.tgt (tic6x-*-*): New. * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. ld/testsuite: * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*. * ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*. * ld-tic6x: New directory and testcases. opcodes: * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c. * Makefile.in: Regenerate. * configure.in (bfd_tic6x_arch): New. * configure: Regenerate. * disassemble.c (ARCH_tic6x): Define if ARCH_all. (disassembler): Handle TI C6X. * tic6x-dis.c: New. commit 93ad27bbc56b9c0209d9b49851d538afc80723dd Author: Tom Tromey <tromey@redhat.com> Date: Thu Mar 25 20:48:52 2010 +0000 PR gdb/11327, PR gdb/11328, PR breakpoints/11368: * infrun.c (handle_inferior_event): Change initialization of stop_stack_dummy. (handle_inferior_event): Change assignment to stop_stack_dummy. (normal_stop): Update use of stop_stack_dummy. (struct inferior_status) <stop_stack_dummy>: Change type. * inferior.h (stop_stack_dummy): Update. * infcmd.c (stop_stack_dummy): Change type. * infcall.c (cleanup_delete_std_terminate_breakpoint): New function. (call_function_by_hand): Call set_std_terminate_breakpoint. Rewrite std::terminate handling. * breakpoint.h (enum bptype) <bp_std_terminate, bp_std_terminate_master>: New. (enum stop_stack_kind): New. (struct bpstat_what) <call_dummy>: Change type. (set_std_terminate_breakpoint, delete_std_terminate_breakpoint): Declare. * breakpoint.c (create_std_terminate_master_breakpoint): New function. (update_breakpoints_after_exec): Handle bp_std_terminate_master. Call create_std_terminate_master_breakpoint. (print_it_typical): Handle new breakpoint kinds. (bpstat_stop_status): Handle bp_std_terminate_master. (bpstat_what): Correctly set call_dummy field. Handle bp_std_terminate_master and bp_std_terminate. (print_one_breakpoint_location): Update. (allocate_bp_location): Update. (set_std_terminate_breakpoint): New function. (delete_std_terminate_breakpoint): Likewise. (create_thread_event_breakpoint): Update. (delete_command): Update. (breakpoint_re_set_one): Update. (breakpoint_re_set): Call create_std_terminate_master_breakpoint. commit e8ccc664ba5035cddc2698563837ca26d4fd453b Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Thu Mar 25 20:29:27 2010 +0000 gdb/ * symfile.c (build_section_addr_info_from_bfd): New. (build_section_addr_info_from_objfile): Base it on build_section_addr_info_from_bfd. (addrs_section_compar, addrs_section_sort): New. (addr_info_make_relative): New variables my_cleanup, abfd_addrs, addrs_sorted, abfd_addrs_sorted and addrs_to_abfd_addrs. Build addrs_to_abfd_addrs. Use it for recalculating ADDRS. gdb/testsuite/ * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New. commit e2cfe63fba5a44bebf21b4e0f192966c39f61342 Author: gdbadmin <gdbadmin@sourceware.org> Date: Thu Mar 25 00:00:33 2010 +0000 *** empty log message *** commit 1a7b6469998b9e1c25e68f59fc23ad3fc00499a7 Author: Alan Modra <amodra@bigpond.net.au> Date: Wed Mar 24 23:00:05 2010 +0000 daily update commit 8bc0d48889dae5d3cf7afa83f9e65827b153f423 Author: Michael Snyder <msnyder@specifix.com> Date: Wed Mar 24 21:58:31 2010 +0000 2010-03-24 Michael Snyder <msnyder@localhost.localdomain> * elfread.c (find_separate_debug_file_by_buildid): Remove unused local variable. commit deaf54a59090bb65be744d6ef73545781df4bae0 Author: Daniel Jacobowitz <dan@debian.org> Date: Wed Mar 24 21:28:13 2010 +0000 * gdb.base/completion.exp: Allow long instead of long int. * gdb.base/ending-run.exp: Match _rt_entry.* for RealView. * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference variable p. * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data. * gdb.base/pointers.exp: Allow long instead of long int. * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI. * gdb.base/step-line.exp: Allow a directory before the source file name. commit 5656cf7095af75d390aadfe2ec6e128f4a88b432 Author: Tom Tromey <tromey@redhat.com> Date: Wed Mar 24 21:24:07 2010 +0000 gdb PR breakpoints/9352: * NEWS: Mention changes to `commands' and `rbreak'. * symtab.c (do_end_rbreak_breakpoints): New function. (rbreak_command): Call start_rbreak_breakpoints; arrange to call end_rbreak_breakpoints. * breakpoint.c (breakpoint_count, tracepoint_count): Now static. (set_breakpoint_count): Likewise. Clear last_was_multi. (multi_start, multi_end, last_was_multi): New globals. (start_rbreak_breakpoints, end_rbreak_breakpoints): New functions. (struct commands_info): New (do_map_commands_command): New function. (commands_command_1): New function. (commands_command): Use it. (commands_from_control_command): Likewise. (do_delete_breakpoint): New function. (delete_command): Use it. (map_breakpoint_numbers): Add 'data' argument. Pass to callback. (do_map_disable_breakpoint): New function. (disable_command): Use it. (do_map_enable_breakpoint): New function. (enable_command): Use it. (enable_once_breakpoint): Add argument. (enable_once_command): Update. (enable_delete_breakpoint): Add argument. (enable_delete_command): Update. (break_command_really): Set last_was_multi when needed. (check_tracepoint_command): Fix formatting. (validate_commands_for_breakpoint): New function. (breakpoint_set_commands): Use it. (tracepoint_save_command): Update. * breakpoint.h (start_rbreak_breakpoints, end_rbreak_breakpoints): Declare. gdb/doc PR breakpoints/9352: * gdb.texinfo (Break Commands): Update. gdb/testsuite PR breakpoints/9352: * gdb.base/default.exp: Update. * gdb.base/commands.exp: Update. * gdb.cp/extern-c.exp: Test setting commands on multiple breakpoints at once. commit ebf554c190f8b78b664c6b0ae085c01467c8c079 Author: Daniel Jacobowitz <dan@debian.org> Date: Wed Mar 24 21:20:39 2010 +0000 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip if gdb,nosignals. * gdb.base/watchpoints.c: Do not include unnecessary headers. * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program exited". commit f1d05b0b602243cc952205181090ab92b23a9e90 Author: Pedro Alves <pedro@codesourcery.com> Date: Wed Mar 24 21:12:45 2010 +0000 * linux-low.c (status_pending_p_callback): Fix comment. (linux_wait_for_event_1): Move most of the internal breakpoint handling from here... (linux_wait_1): ... to here. (count_events_callback): New. (select_singlestep_lwp_callback): New. (select_event_lwp_callback): New. (cancel_breakpoints_callback): New. (select_event_lwp): New. (linux_wait_1): Simplify internal breakpoint handling. Give equal priority to all LWPs that have had events that should be reported to the client. Cancel breakpoints when about to reporting the event to the client, not while stopping lwps. No longer cancel finished single-steps here. (cancel_finished_single_step): Delete. (cancel_finished_single_steps): Delete. commit bd1fb1900ebc0bd2331f901edc042403007616f8 Author: Tom Tromey <tromey@redhat.com> Date: Wed Mar 24 21:12:18 2010 +0000 * breakpoint.h (struct counted_command_line): New struct. (struct breakpoint) <commands>: Change type. (struct bpstats) <commands>: Change type. <commands_left>: New field. * breakpoint.c (alloc_counted_command_line): New function. (incref_counted_command_line): Likewise. (decref_counted_command_line): Likewise. (do_cleanup_counted_command_line): Likewise. (make_cleanup_decref_counted_command_line): Likewise. (breakpoint_set_commands): Use decref_counted_command_line and alloc_counted_command_line. (commands_command): Don't error if breakpoint commands are executing. (commands_from_control_command): Likewise. (bpstat_free): Update. (bpstat_copy): Likewise. (bpstat_clear_actions): Likewise. (bpstat_do_actions_1): Likewise. (bpstat_stop_status): Likewise. (print_one_breakpoint_location): Likewise. (delete_breakpoint): Likewise. (bpstat_alloc): Initialize new field. (tracepoint_save_command): Update. * tracepoint.c (encode_actions): Update. (trace_dump_command): Update. commit 9f958a99b58d8c6bbecefd3390a19003c5a5fa40 Author: Pedro Alves <pedro@codesourcery.com> Date: Wed Mar 24 21:11:25 2010 +0000 * mem-break.c (enum bkpt_type): New. (struct breakpoint): New field `type'. (set_breakpoint_at): Change return type to struct breakpoint pointer. Set type to `other_breakpoint' by default. (delete_breakpoint): Rewrite, supporting more than one breakpoint in the breakpoint list. (delete_reinsert_breakpoints): Only delete reinsert breakpoints. (reinsert_breakpoint): Rename to ... (reinsert_raw_breakpoint): ... this. (reinsert_breakpoints_at): Adjust. * mem-break.h (struct breakpoint): Declare. (set_breakpoint_at): Change return type to struct breakpoint pointer. commit 9dcf5e86d3ceed89776ab03ca0d3b5bb79459d0d Author: Stan Shebs <shebs@apple.com> Date: Wed Mar 24 21:11:06 2010 +0000 2010-03-24 Stan Shebs <stan@codesourcery.com> * gdb.trace/tfile.exp: Expect "trace frame", with a space. commit ed2e4b0e511a9d99fcc33335c5f5d7e6d3a04a90 Author: Daniel Jacobowitz <dan@debian.org> Date: Wed Mar 24 21:06:28 2010 +0000 * dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview. * dwarf2read.c (load_full_comp_unit): Read DW_AT_producer. (read_structure_type): For RealView, set TYPE_STUB on structures with no byte size and no children. (read_subroutine_type): Mark functions as prototyped by default. * symtab.c (producer_is_realview): New function. * symtab.h (expand_line_sal): Fix declaration formatting. (producer_is_realview): Declare. testsuite/ * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView. * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped argument. Handle "short" and "long". (Top level): Pass overprototyped output for old_fptr and xptr. commit fb68d8a2556cda8a1b57b1b70bfdc7cb27e2de4f Author: Daniel Jacobowitz <dan@debian.org> Date: Wed Mar 24 20:23:13 2010 +0000 * arm-tdep.c (skip_prologue_function): New function. (submask, bit, bits, sbits, BranchDest): Move higher in the file. (thumb_analyze_prologue): Document return value. Recognize more Thumb instructions, skippable calls, and some Thumb-2 instructions. Add debug output. (arm_skip_prologue): Remove call dummy check. Check the prologue for non-GNU compilers. (arm_instruction_changes_pc): New function. (arm_analyze_prologue): New function, broken out from arm_scan_prologue. Recognize more ARM instructions and skippable calls. Update comments. Handle NULL cache. Return the address of the first unrecognized instruction. Do not skip past other instructions which change control flow. Add debug output. (arm_scan_prologue): Use arm_analyze_prologue. (ARM_PC_32): Delete. (shifted_reg_val): Simplify ARM_PC_32 check. commit 4f8baa5d53b1206bcda8bba3f21a06e5e034ac16 Author: Vladimir Prus <vladimir@codesourcery.com> Date: Wed Mar 24 19:37:05 2010 +0000 * tracepoint.c (tvariables_info_1): Actually compute the number of rows in the result. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 8 + bfd/ChangeLog | 135 +- bfd/Makefile.am | 6 + bfd/Makefile.in | 9 + bfd/archive.c | 7 +- bfd/archures.c | 3 + bfd/bfd-in.h | 2 +- bfd/bfd-in2.h | 40 +- bfd/bfd.c | 4 + bfd/coff-i386.c | 3 +- bfd/coff-x86_64.c | 11 +- bfd/config.bfd | 6 + bfd/configure | 5 +- bfd/configure.in | 5 +- include/vms/esrf.h => bfd/cpu-tic6x.c | 38 +- bfd/dwarf2.c | 19 +- bfd/elf32-arm.c | 3 + bfd/elf32-cris.c | 74 +- bfd/elf32-ppc.c | 21 +- bfd/elf32-tic6x.c | 1000 ++++++++ bfd/elf64-ppc.c | 46 +- bfd/libbfd-in.h | 26 + bfd/libbfd.h | 55 +- bfd/reloc.c | 60 +- bfd/targets.c | 6 + bfd/version.h | 2 +- bfd/vms-hdr.c | 40 +- bfd/vms-lib.c | 1704 +++++++++++++ bfd/vms-misc.c | 91 + bfd/vms.c | 8 +- bfd/vms.h | 6 + configure | 11 +- configure.ac | 11 +- gdb/ChangeLog | 457 ++++- gdb/NEWS | 10 + gdb/amd64-tdep.c | 48 +- gdb/arm-tdep.c | 755 +++++-- gdb/breakpoint.c | 691 ++++-- gdb/breakpoint.h | 49 +- gdb/c-typeprint.c | 6 +- gdb/cli/cli-script.c | 3 +- gdb/completer.c | 2 +- gdb/doc/ChangeLog | 111 +- gdb/doc/gdb.texinfo | 165 ++- gdb/dwarf2-frame.c | 54 +- gdb/dwarf2read.c | 129 +- gdb/elfread.c | 1 - gdb/gdbserver/ChangeLog | 129 + gdb/gdbserver/inferiors.c | 1 + gdb/gdbserver/linux-low.c | 686 +++--- gdb/gdbserver/linux-x86-low.c | 6 +- gdb/gdbserver/mem-break.c | 462 +++- gdb/gdbserver/mem-break.h | 24 +- gdb/gdbserver/server.c | 12 + gdb/gdbserver/server.h | 4 + gdb/i386-tdep.c | 874 +++++++- gdb/infcall.c | 69 +- gdb/infcmd.c | 2 +- gdb/inferior.h | 2 +- gdb/infrun.c | 8 +- gdb/jv-typeprint.c | 16 +- gdb/linespec.c | 21 +- gdb/remote.c | 167 ++- gdb/remote.h | 1 + gdb/serial.h | 1 + gdb/stack.c | 141 +- gdb/stack.h | 12 + gdb/symfile.c | 139 +- gdb/symtab.c | 212 ++- gdb/symtab.h | 12 +- gdb/testsuite/ChangeLog | 173 ++ gdb/testsuite/gdb.arch/amd64-byte.exp | 30 +- gdb/testsuite/gdb.arch/amd64-dword.exp | 8 +- gdb/testsuite/gdb.arch/amd64-word.exp | 8 +- gdb/testsuite/gdb.base/annota1.exp | 10 +- gdb/testsuite/gdb.base/break-interp.exp | 6 +- gdb/testsuite/gdb.base/call-signal-resume.exp | 5 + gdb/testsuite/gdb.base/callfuncs.exp | 6 + gdb/testsuite/gdb.base/commands.exp | 6 +- gdb/testsuite/gdb.base/completion.exp | 2 +- gdb/testsuite/gdb.base/default.exp | 2 +- gdb/{stack.h => testsuite/gdb.base/dup-sect.S} | 20 +- gdb/testsuite/gdb.base/dup-sect.exp | 79 + gdb/testsuite/gdb.base/ending-run.exp | 2 +- gdb/testsuite/gdb.base/gdbvars.c | 6 +- gdb/testsuite/gdb.base/maint.exp | 26 +- gdb/testsuite/gdb.base/pointers.exp | 2 +- gdb/testsuite/gdb.base/printcmds.exp | 8 + gdb/testsuite/gdb.base/ptype.exp | 28 +- gdb/testsuite/gdb.base/step-line.exp | 2 +- gdb/testsuite/gdb.base/unwindonsignal.exp | 5 + gdb/testsuite/gdb.base/watchpoints.c | 3 - gdb/testsuite/gdb.cp/extern-c.exp | 19 + gdb/testsuite/gdb.cp/inherit.exp | 28 +- gdb/testsuite/gdb.cp/nsusing.exp | 5 + gdb/testsuite/gdb.cp/shadow.exp | 9 + gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S | 73 + .../gdb.dwarf2/dw2-bad-parameter-type.exp | 44 + gdb/testsuite/gdb.java/jmisc.exp | 7 +- gdb/testsuite/gdb.java/jprint.exp | 3 + gdb/testsuite/gdb.reverse/i386-sse-reverse.c | 101 + gdb/testsuite/gdb.reverse/i386-sse-reverse.exp | 705 ++++++ gdb/testsuite/gdb.trace/actions.exp | 2 +- gdb/testsuite/gdb.trace/collection.c | 1 + gdb/testsuite/gdb.trace/collection.exp | 179 +- gdb/testsuite/gdb.trace/save-trace.exp | 14 +- gdb/testsuite/gdb.trace/tfile.c | 114 +- gdb/testsuite/gdb.trace/tfile.exp | 17 +- gdb/testsuite/gdb.trace/tfind.exp | 2 +- gdb/testsuite/gdb.trace/while-dyn.exp | 74 +- gdb/testsuite/gdb.trace/while-stepping.exp | 2 +- gdb/testsuite/lib/gdb.exp | 2 +- gdb/tracepoint.c | 586 +++-- gdb/tracepoint.h | 49 +- gdb/tui/tui-interp.c | 17 + gdb/tui/tui.c | 3 + gdb/tui/tui.h | 4 + gdb/version.in | 2 +- include/ChangeLog | 4 + include/dis-asm.h | 3 +- include/elf/ChangeLog | 5 + include/elf/common.h | 2 + include/elf/tic6x.h | 128 + include/opcode/ChangeLog | 5 + include/opcode/tic6x-control-registers.h | 54 + include/opcode/tic6x-insn-formats.h | 198 ++ include/opcode/tic6x-opcode-table.h | 2549 ++++++++++++++++++++ include/opcode/tic6x.h | 614 +++++ include/vms/ChangeLog | 31 + include/vms/{egps.h => dcx.h} | 46 +- include/vms/dsc.h | 129 + include/vms/dst.h | 135 +- include/vms/eeom.h | 2 + include/vms/egps.h | 14 + include/vms/egsd.h | 1 - include/vms/egsy.h | 16 +- include/vms/eiaf.h | 2 +- include/vms/eiha.h | 4 + include/vms/eihd.h | 15 +- include/vms/eihs.h | 1 - include/vms/eihvn.h | 2 + include/vms/eisd.h | 35 +- include/vms/emh.h | 7 + include/vms/esdf.h | 2 + include/vms/{egps.h => esdfm.h} | 23 +- include/vms/{egps.h => esdfv.h} | 23 +- include/vms/esrf.h | 2 + include/vms/internal.h | 63 + include/vms/lbr.h | 255 ++ include/vms/{egsy.h => prt.h} | 55 +- include/vms/shl.h | 6 +- opcodes/ChangeLog | 10 + opcodes/Makefile.am | 1 + opcodes/Makefile.in | 2 + opcodes/configure | 1 + opcodes/configure.in | 1 + opcodes/disassemble.c | 8 +- opcodes/tic6x-dis.c | 1110 +++++++++ sim/common/ChangeLog | 59 + sim/common/config.in | 29 +- sim/common/configure | 68 + sim/common/configure.ac | 5 + sim/common/dv-glue.c | 2 +- sim/common/dv-sockser.c | 6 +- sim/common/hw-ports.h | 10 +- sim/common/nrun.c | 2 +- sim/common/sim-core.c | 4 +- sim/common/sim-core.h | 2 +- sim/common/sim-hw.c | 2 +- sim/common/sim-options.c | 11 +- sim/common/sim-profile.c | 2 + sim/common/sim-trace.c | 14 +- sim/common/sim-utils.c | 12 +- sim/common/sim-watch.c | 8 +- sim/common/sim-watch.h | 2 +- sim/cris/ChangeLog | 3 + sim/cris/devices.c | 2 +- sim/frv/ChangeLog | 4 + sim/frv/devices.c | 2 +- sim/m32r/ChangeLog | 4 + sim/m32r/devices.c | 2 +- sim/v850/ChangeLog | 5 + sim/v850/interp.c | 4 +- 183 files changed, 15320 insertions(+), 1954 deletions(-) copy include/vms/esrf.h => bfd/cpu-tic6x.c (56%) create mode 100644 bfd/elf32-tic6x.c create mode 100644 bfd/vms-lib.c copy gdb/{stack.h => testsuite/gdb.base/dup-sect.S} (57%) create mode 100644 gdb/testsuite/gdb.base/dup-sect.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp create mode 100644 gdb/testsuite/gdb.reverse/i386-sse-reverse.c create mode 100644 gdb/testsuite/gdb.reverse/i386-sse-reverse.exp create mode 100644 include/elf/tic6x.h create mode 100644 include/opcode/tic6x-control-registers.h create mode 100644 include/opcode/tic6x-insn-formats.h create mode 100644 include/opcode/tic6x-opcode-table.h create mode 100644 include/opcode/tic6x.h copy include/vms/{egps.h => dcx.h} (64%) create mode 100644 include/vms/dsc.h copy include/vms/{egps.h => esdfm.h} (77%) copy include/vms/{egps.h => esdfv.h} (78%) create mode 100644 include/vms/internal.h create mode 100644 include/vms/lbr.h copy include/vms/{egsy.h => prt.h} (52%) create mode 100644 opcodes/tic6x-dis.c create mode 100644 sim/cris/ChangeLog First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index cf2d209..027f923 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR bootstrap/43328 + * configure.ac: Do not pass --enable-multilib nor + --disable-multilib in baseargs. Accept explicitly passed + --enable_multilib. + * configure: Regenerate. + 2010-03-23 Joseph Myers <joseph@codesourcery.com> * configure.ac (tic6x-*-*): New case. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ac67a21..aa32144 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,131 @@ +2010-04-01 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (apuinfo_set): New static var. + (ppc_elf_begin_write_processing): Set it here, always create an + APUinfo section if there were any in the inputs. + (ppc_elf_write_section): Check apuinfo_set. + (ppc_elf_final_write_processing): Likewise. + +2010-04-01 Tristan Gingold <gingold@adacore.com> + + * vms.h: Include time.h. Add prototypes for vms_get_module_name, + vms_time_to_time_t and vms_rawtime_to_time_t. + * vms.c (vms_alpha_vec): Add archives support. + * vms-misc.c: Include safe-ctype.h + (vms_get_module_name): New function. + (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. + * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the + vms_get_module_name function. Use this function. + * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector. + * libbfd-in.h: Add prototype for _bfd_append_relative_path. + Add prototypes for vms-lib.c + * libbfd.h: Regenerate. + * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add + vms-lib.lo to vms_alpha_vec. + * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*. + * configure: Regenerate. + * bfd.c: Add selective_search field. + * bfd-in2.h: Regenerate. + * archive.c (append_relative_path): Rename to + _bfd_append_relative_path and make it public. + (_bfd_get_elt_at_filepos): Adjust for above renaming. + * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo + (BFD32_BACKENDS_CFILES): Add vms-lib.c + * Makefile.in: Regenerate. + +2010-04-01 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.c (read_attribute_value): Handle CU version 4 + for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc + and DW_FORM_flag_present. For unknown form value return NULL. + (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc + like DW_FORM_block. + (parse_comp_unit): Allow CU version 4. + +2010-04-01 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section): Correct first argument + to _bfd_elf_get_dynamic_reloc_section. + (elf_cris_discard_excess_dso_dynamics): Ditto. + +2010-03-31 Kai Tietz <kai.tietz@onevision.com> + + * coff-i386.c (in_reloc_p): Check also for R_SECREL32. + * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL. + +2010-03-31 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized + TPREL16_HI and TPREL16_HA insns. + +2010-03-31 Hans-Peter Nilsson <hp@axis.com> + + PR ld/11458 + * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid + assert of empty pcrel_relocs_copied on the direct symbol. Instead + of moving the list from the indirect symbol to the direct symbol, + merge into any existing list. + (cris_elf_check_relocs): Store the original section in the + pcrel_relocs_copied list, not the relocation section. + (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find + the relocation section, for reducing its size. Change the + BFD_ASSERT into a check for the section being read-only, and only + emit warnings and TEXTREL marker when there's an entry for a + read-only section. + +2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (using_thumb_only): Handle v6-M. + +2010-03-26 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative. + * bfd-in.h (elf_discarded_section): Clarify comment. + * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. + * bfd-in2.h: Regenerate. + +2010-03-26 Matt Rice <ratmice@gmail.com> + + * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged + as unique in the armap. + +2010-03-26 Alan Modra <amodra@gmail.com> + + PR ld/11375 + * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a + possible stub on branches. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo. + (ALL_MACHINES_CFILES): Add cpu-tic6x.c. + (BFD32_BACKENDS): Add elf32-tic6x.lo. + (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c. + * Makefile.in: Regenerate. + * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New. + (bfd_archures_list): Update. + * config.bfd (tic6x-*-elf): New. + * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): + New. + * configure: Regenerate. + * cpu-tic6x.c, elf32-tic6x.c: New. + * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12, + BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7, + BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16, + BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B, + BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W, + BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B, + BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W, + BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H, + BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W, + BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W, + BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31, + BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN, + BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New. + * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. + (_bfd_target_vector): Update. + * bfd-in2.h, libbfd.h: Regenerate. + 2010-03-24 H.J. Lu <hongjiu.lu@intel.com> * aout-target.h: Update copyright year. @@ -75,6 +203,7 @@ 2010-03-17 Alan Modra <amodra@gmail.com> + PR binutils/11382 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using proper type. @@ -331,7 +460,7 @@ elfcore_write_s390_prefix): New. (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX. - (elfcore_write_register_note): Handle .reg-s390-timer, + (elfcore_write_register_note): Handle .reg-s390-timer, .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs, .reg-s390-prefix section. @@ -727,10 +856,10 @@ 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> Alan Modra <amodra@gmail.com> - * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. + * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. (elf_object_p): Read e_phnum extension. (elf_write_shdrs_and_ehdr): Write e_phnum extension. - * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check + * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check that we can read last program header. 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 03aa24b..ac38177 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -129,6 +129,7 @@ ALL_MACHINES = \ cpu-tic30.lo \ cpu-tic4x.lo \ cpu-tic54x.lo \ + cpu-tic6x.lo \ cpu-tic80.lo \ cpu-v850.lo \ cpu-vax.lo \ @@ -201,6 +202,7 @@ ALL_MACHINES_CFILES = \ cpu-tic30.c \ cpu-tic4x.c \ cpu-tic54x.c \ + cpu-tic6x.c \ cpu-tic80.c \ cpu-v850.c \ cpu-vax.c \ @@ -317,6 +319,7 @@ BFD32_BACKENDS = \ elf32-sh64.lo \ elf32-sparc.lo \ elf32-spu.lo \ + elf32-tic6x.lo \ elf32-v850.lo \ elf32-vax.lo \ elf32-xc16x.lo \ @@ -390,6 +393,7 @@ BFD32_BACKENDS = \ versados.lo \ vms-gsd.lo \ vms-hdr.lo \ + vms-lib.lo \ vms-misc.lo \ vms-tir.lo \ vms.lo \ @@ -501,6 +505,7 @@ BFD32_BACKENDS_CFILES = \ elf32-sh64.c \ elf32-sparc.c \ elf32-spu.c \ + elf32-tic6x.c \ elf32-v850.c \ elf32-vax.c \ elf32-xc16x.c \ @@ -573,6 +578,7 @@ BFD32_BACKENDS_CFILES = \ versados.c \ vms-gsd.c \ vms-hdr.c \ + vms-lib.c \ vms-misc.c \ vms-tir.c \ vms.c \ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 639817d..ed626c9 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -425,6 +425,7 @@ ALL_MACHINES = \ cpu-tic30.lo \ cpu-tic4x.lo \ cpu-tic54x.lo \ + cpu-tic6x.lo \ cpu-tic80.lo \ cpu-v850.lo \ cpu-vax.lo \ @@ -497,6 +498,7 @@ ALL_MACHINES_CFILES = \ cpu-tic30.c \ cpu-tic4x.c \ cpu-tic54x.c \ + cpu-tic6x.c \ cpu-tic80.c \ cpu-v850.c \ cpu-vax.c \ @@ -614,6 +616,7 @@ BFD32_BACKENDS = \ elf32-sh64.lo \ elf32-sparc.lo \ elf32-spu.lo \ + elf32-tic6x.lo \ elf32-v850.lo \ elf32-vax.lo \ elf32-xc16x.lo \ @@ -687,6 +690,7 @@ BFD32_BACKENDS = \ versados.lo \ vms-gsd.lo \ vms-hdr.lo \ + vms-lib.lo \ vms-misc.lo \ vms-tir.lo \ vms.lo \ @@ -798,6 +802,7 @@ BFD32_BACKENDS_CFILES = \ elf32-sh64.c \ elf32-sparc.c \ elf32-spu.c \ + elf32-tic6x.c \ elf32-v850.c \ elf32-vax.c \ elf32-xc16x.c \ @@ -870,6 +875,7 @@ BFD32_BACKENDS_CFILES = \ versados.c \ vms-gsd.c \ vms-hdr.c \ + vms-lib.c \ vms-misc.c \ vms-tir.c \ vms.c \ @@ -1287,6 +1293,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-tic30.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-tic4x.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-tic54x.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-tic6x.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-tic80.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-v850.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-vax.Plo@am__quote@ @@ -1363,6 +1370,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-sh64.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-sparc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-spu.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-tic6x.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-v850.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-vax.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-xc16x.Plo@am__quote@ @@ -1482,6 +1490,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/versados.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-gsd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-hdr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-lib.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-misc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-tir.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms.Plo@am__quote@ diff --git a/bfd/archive.c b/bfd/archive.c index 6fad826..e6c1e83 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -536,8 +536,8 @@ _bfd_generic_read_ar_hdr_mag (bfd *abfd, const char *mag) /* Append the relative pathname for a member of the thin archive to the pathname of the directory containing the archive. */ -static char * -append_relative_path (bfd *arch, char *elt_name) +char * +_bfd_append_relative_path (bfd *arch, char *elt_name) { const char *arch_name = arch->filename; const char *base_name = lbasename (arch_name); @@ -591,7 +591,7 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) /* This is a proxy entry for an external file. */ if (! IS_ABSOLUTE_PATH (filename)) { - filename = append_relative_path (archive, filename); + filename = _bfd_append_relative_path (archive, filename); if (filename == NULL) return NULL; } @@ -2196,6 +2196,7 @@ _bfd_compute_and_write_armap (bfd *arch, unsigned int elength) if ((flags & BSF_GLOBAL || flags & BSF_WEAK || flags & BSF_INDIRECT + || flags & BSF_GNU_UNIQUE || bfd_is_com_section (sec)) && ! bfd_is_und_section (sec)) { diff --git a/bfd/archures.c b/bfd/archures.c index c1aefec..a8a8b9c 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -305,6 +305,7 @@ DESCRIPTION .#define bfd_mach_tic3x 30 .#define bfd_mach_tic4x 40 . bfd_arch_tic54x, {* Texas Instruments TMS320C54X *} +. bfd_arch_tic6x, {* Texas Instruments TMS320C6X *} . bfd_arch_tic80, {* TI TMS320c80 (MVP) *} . bfd_arch_v850, {* NEC V850 *} .#define bfd_mach_v850 1 @@ -526,6 +527,7 @@ extern const bfd_arch_info_type bfd_spu_arch; extern const bfd_arch_info_type bfd_tic30_arch; extern const bfd_arch_info_type bfd_tic4x_arch; extern const bfd_arch_info_type bfd_tic54x_arch; +extern const bfd_arch_info_type bfd_tic6x_arch; extern const bfd_arch_info_type bfd_tic80_arch; extern const bfd_arch_info_type bfd_v850_arch; extern const bfd_arch_info_type bfd_vax_arch; @@ -600,6 +602,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] = &bfd_tic30_arch, &bfd_tic4x_arch, &bfd_tic54x_arch, + &bfd_tic6x_arch, &bfd_tic80_arch, &bfd_v850_arch, &bfd_vax_arch, diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index c775a0b..07f2fae 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -294,7 +294,7 @@ typedef struct bfd_section *sec_ptr; (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \ / bfd_octets_per_byte (bfd)) -/* Return TRUE if section has been discarded. */ +/* Return TRUE if input section SEC has been discarded. */ #define elf_discarded_section(sec) \ (!bfd_is_abs_section (sec) \ && bfd_is_abs_section ((sec)->output_section) \ diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 31af74f..9cf4f64 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -301,7 +301,7 @@ typedef struct bfd_section *sec_ptr; (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \ / bfd_octets_per_byte (bfd)) -/* Return TRUE if section has been discarded. */ +/* Return TRUE if input section SEC has been discarded. */ #define elf_discarded_section(sec) \ (!bfd_is_abs_section (sec) \ && bfd_is_abs_section ((sec)->output_section) \ @@ -1971,6 +1971,7 @@ enum bfd_architecture #define bfd_mach_tic3x 30 #define bfd_mach_tic4x 40 bfd_arch_tic54x, /* Texas Instruments TMS320C54X */ + bfd_arch_tic6x, /* Texas Instruments TMS320C6X */ bfd_arch_tic80, /* TI TMS320c80 (MVP) */ bfd_arch_v850, /* NEC V850 */ #define bfd_mach_v850 1 @@ -2243,10 +2244,7 @@ struct reloc_howto_struct when doing overflow checking. */ unsigned int bitsize; - /* Notes that the relocation is relative to the location in the - data section of the addend. The relocation function will - subtract from the relocation value the address of the location - being relocated. */ + /* The relocation is relative to the field being relocated. */ bfd_boolean pc_relative; /* The bit position of the reloc value in the destination. @@ -3639,6 +3637,34 @@ significant 7 bits of a 23-bit extended address are placed into the opcode. */ BFD_RELOC_TIC54X_MS7_OF_23, +/* TMS320C6000 relocations. */ + BFD_RELOC_C6000_PCR_S21, + BFD_RELOC_C6000_PCR_S12, + BFD_RELOC_C6000_PCR_S10, + BFD_RELOC_C6000_PCR_S7, + BFD_RELOC_C6000_ABS_S16, + BFD_RELOC_C6000_ABS_L16, + BFD_RELOC_C6000_ABS_H16, + BFD_RELOC_C6000_SBR_U15_B, + BFD_RELOC_C6000_SBR_U15_H, + BFD_RELOC_C6000_SBR_U15_W, + BFD_RELOC_C6000_SBR_S16, + BFD_RELOC_C6000_SBR_L16_B, + BFD_RELOC_C6000_SBR_L16_H, + BFD_RELOC_C6000_SBR_L16_W, + BFD_RELOC_C6000_SBR_H16_B, + BFD_RELOC_C6000_SBR_H16_H, + BFD_RELOC_C6000_SBR_H16_W, + BFD_RELOC_C6000_SBR_GOT_U15_W, + BFD_RELOC_C6000_SBR_GOT_L16_W, + BFD_RELOC_C6000_SBR_GOT_H16_W, + BFD_RELOC_C6000_DSBT_INDEX, + BFD_RELOC_C6000_PREL31, + BFD_RELOC_C6000_COPY, + BFD_RELOC_C6000_ALIGN, + BFD_RELOC_C6000_FPHEAD, + BFD_RELOC_C6000_NOCMP, + /* This is a 48 bit reloc for the FR30 that stores 32 bits. */ BFD_RELOC_FR30_48, @@ -5093,6 +5119,10 @@ struct bfd /* Set if this is a thin archive. */ unsigned int is_thin_archive : 1; + + /* Set if only required symbols should be added in the link hash table for + this object. Used by VMS linkers. */ + unsigned int selective_search : 1; }; typedef enum bfd_error diff --git a/bfd/bfd.c b/bfd/bfd.c index eef9f36..771989b 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -286,6 +286,10 @@ CODE_FRAGMENT . . {* Set if this is a thin archive. *} . unsigned int is_thin_archive : 1; +. +. {* Set if only required symbols should be added in the link hash table for +. this object. Used by VMS linkers. *} +. unsigned int selective_search : 1; .}; . */ diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c index e7c4e8a..57c47d0 100644 --- a/bfd/coff-i386.c +++ b/bfd/coff-i386.c @@ -195,7 +195,8 @@ static bfd_boolean in_reloc_p (abfd, howto) bfd * abfd ATTRIBUTE_UNUSED; reloc_howto_type *howto; { - return ! howto->pc_relative && howto->type != R_IMAGEBASE; + return ! howto->pc_relative && howto->type != R_IMAGEBASE + && howto->type != R_SECREL32; } #endif /* COFF_WITH_PE */ diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c index 4d500fe..8083d97 100644 --- a/bfd/coff-x86_64.c +++ b/bfd/coff-x86_64.c @@ -192,7 +192,8 @@ coff_amd64_reloc (bfd *abfd, static bfd_boolean in_reloc_p (bfd *abfd ATTRIBUTE_UNUSED, reloc_howto_type *howto) { - return ! howto->pc_relative && howto->type != R_AMD64_IMAGEBASE; hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2010-04-04 11:58 UTC|newest] Thread overview: 120+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-04-04 11:58 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2011-02-01 19:25 jkratoch 2011-01-29 16:44 jkratoch 2011-01-25 12:53 pmuldoon 2011-01-25 9:10 jkratoch 2011-01-17 13:31 pmuldoon 2011-01-15 11:35 jkratoch 2011-01-14 8:04 jkratoch 2011-01-10 12:00 pmuldoon 2011-01-10 9:10 jkratoch 2011-01-07 5:57 jkratoch 2011-01-06 12:22 pmuldoon 2011-01-04 4:59 jkratoch 2010-12-31 22:30 jkratoch 2010-12-30 7:22 jkratoch 2010-12-22 20:11 swagiaal 2010-12-14 17:13 jkratoch 2010-12-14 8:27 pmuldoon 2010-12-10 17:16 jkratoch 2010-12-08 15:55 pmuldoon 2010-12-06 6:40 jkratoch 2010-12-04 1:03 jkratoch 2010-12-02 15:47 pmuldoon 2010-11-30 0:15 jkratoch 2010-11-28 18:02 jkratoch 2010-11-28 5:41 jkratoch 2010-11-16 5:04 jkratoch 2010-11-12 11:47 pmuldoon 2010-11-11 11:39 pmuldoon 2010-11-10 9:09 pmuldoon 2010-11-08 9:34 pmuldoon 2010-11-07 18:15 jkratoch 2010-10-22 14:28 pmuldoon 2010-10-20 12:48 pmuldoon 2010-10-19 16:01 pmuldoon 2010-10-17 20:27 jkratoch 2010-10-15 17:07 jkratoch 2010-10-14 20:55 jkratoch 2010-10-13 15:06 jkratoch 2010-10-12 16:45 jkratoch 2010-10-11 9:21 jkratoch 2010-10-11 8:47 pmuldoon 2010-10-06 9:00 pmuldoon 2010-09-30 8:56 pmuldoon 2010-09-27 9:48 jkratoch 2010-09-20 12:34 pmuldoon 2010-09-16 20:49 ratmice 2010-09-04 19:59 jkratoch 2010-09-03 7:26 jkratoch 2010-09-02 15:04 jkratoch 2010-09-01 15:29 swagiaal 2010-08-23 13:54 jkratoch 2010-08-20 17:49 jkratoch 2010-08-12 15:19 swagiaal 2010-08-06 15:32 jkratoch 2010-07-29 19:17 swagiaal 2010-07-22 16:57 jkratoch 2010-07-22 16:26 jkratoch 2010-07-20 18:51 jkratoch 2010-07-09 8:09 jkratoch 2010-06-24 8:55 jkratoch 2010-06-23 20:56 jkratoch 2010-06-17 12:53 jkratoch 2010-06-07 8:14 jkratoch 2010-06-02 19:03 jkratoch 2010-05-28 21:27 jkratoch 2010-05-26 18:36 swagiaal 2010-05-17 18:02 jkratoch 2010-05-17 1:04 jkratoch 2010-05-10 19:30 swagiaal 2010-05-05 14:24 swagiaal 2010-05-03 13:49 jkratoch 2010-05-03 8:48 jkratoch 2010-05-02 23:10 jkratoch 2010-05-02 15:54 jkratoch 2010-04-30 7:11 jkratoch 2010-04-28 11:44 jkratoch 2010-04-25 20:22 jkratoch 2010-04-09 20:37 jkratoch 2010-04-07 1:41 jkratoch 2010-04-05 10:11 jkratoch 2010-03-22 23:58 jkratoch 2010-03-20 17:23 jkratoch 2010-03-18 10:01 jkratoch 2010-03-17 18:04 jkratoch 2010-03-12 18:35 jkratoch 2010-03-04 22:28 jkratoch 2010-03-01 22:16 jkratoch 2010-02-26 22:16 jkratoch 2010-02-26 17:50 jkratoch 2010-02-17 16:01 swagiaal 2010-02-13 22:51 jkratoch 2010-02-11 12:51 jkratoch 2010-02-09 19:01 jkratoch 2010-02-08 21:46 jkratoch 2010-02-03 4:38 jkratoch 2010-01-31 17:25 jkratoch 2010-01-28 19:17 swagiaal 2010-01-28 10:56 jkratoch 2010-01-27 19:21 swagiaal 2010-01-27 8:08 jkratoch 2010-01-26 18:58 swagiaal 2010-01-20 21:48 jkratoch 2010-01-15 2:09 jkratoch 2010-01-15 0:52 jkratoch 2010-01-14 22:23 jkratoch 2010-01-13 20:53 jkratoch 2010-01-10 20:47 jkratoch 2010-01-09 10:03 jkratoch 2010-01-09 8:41 jkratoch 2010-01-08 19:16 jkratoch 2009-12-06 17:43 jkratoch 2009-12-03 16:32 jkratoch 2009-11-30 13:59 jkratoch 2009-11-24 21:21 jkratoch 2009-11-21 9:24 jkratoch 2009-11-20 21:06 jkratoch 2009-11-20 15:57 jkratoch 2009-11-17 19:59 jkratoch 2009-11-16 2:22 jkratoch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100404115808.5076.qmail@sourceware.org \ --to=jkratoch@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).