From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8798 invoked by alias); 27 Jan 2009 14:04:14 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 8661 invoked by uid 9674); 27 Jan 2009 14:04:07 -0000 Date: Tue, 27 Jan 2009 14:04:00 -0000 Message-ID: <20090127140407.8646.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: * gdb.base/find.exp: Set newline variable X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 1b26519e2da4d8911270921f9f3f5d35a89bb4b0 X-Git-Newrev: 587fa1a9ae4b6dcbce35a510d850032ce1df12cf X-SW-Source: 2009-q1/txt/msg00065.txt.bz2 List-Id: The branch, master has been updated via 587fa1a9ae4b6dcbce35a510d850032ce1df12cf (commit) via 1491427ae8c6205fe1f325da1201419313e3c3b9 (commit) via 52da3cb816963552920c3bd1be6d382d4debad8a (commit) via ccee8cf101a68a9595867638c100086715ae1944 (commit) via c51205a752a5c26e0e4f1a5763b89dd33432c6fe (commit) via b51efefd842bea521c5ee25306bd73eeab74fa85 (commit) via 5b87a749027154f0aa0120ac1c24e726c483a8a0 (commit) via 3ce76e710f43751f99e1ac6137ccc4ef9e4b9f07 (commit) via bf06624c54fe05cce54fef983fa7d329c500404a (commit) via 8b58bcf2f83e4f98a2ca9202d477b725abb90e72 (commit) via 051a1cf006b13a738f7f2697bc897c57d7cb163b (commit) via b4d75490715058a51d045b89561bfce02fa331b6 (commit) via b3d79b8ed687dfa889f46d03a17f37c42e945a2b (commit) via 3a4ab0a3e31d115b1b9f3ab9e14f3efcf124a5d7 (commit) via aea85d57cdd9eda9faca88f025d58cc7e9f49f7f (commit) via 68be5f29099b8bba57a3a5bb87946511f4f82c62 (commit) via 59388d5a95d91cc3710b91f2b3b334f126517ad5 (commit) via aefee5ed5cf0909fc174b538be69a7de3f63a91f (commit) via 2b33b569bdebeb623beabc36cc43c545701b6d93 (commit) via c68ed5493b7c919af1cb950b542f72d62bd08882 (commit) via b1482bb07699c150bcbc2cc915d2ae039ebaee80 (commit) via d46ef7dd9c96079bbfb7b2c675a98fbacc37dba5 (commit) via b7ee711e348c8b8bd07bc810142fe468a7da9d04 (commit) via ecdf4477c1cba445b81193d6609f06aebdebeba9 (commit) via 1f14283bfadf9f5d9b68b8863947c0d4fb2c3cf2 (commit) via 857c05cde38f5b6529d4eb2e2570710b65b71b11 (commit) via a1e78a92edb65f61398f75fa82122fa36a31f3dc (commit) via 9316ed5bdad1416e32f5be97d20cb573ac0bf64c (commit) via fa9d7815fd365b52135be091938481fb5307fce4 (commit) via ecf101f78860519418555b966e4ed5061286a2a9 (commit) via 1a6c57ddde9b9fb62dbcf7230d4f1308d3674df1 (commit) via c090d23b34b137ce98f9de62537fa2fb13ca1ecd (commit) via e6e9396c648fd22fe476b17352ed52a40bb2e0bd (commit) via d7fb7dd25e0ab498d182b0c214270ec0703e6720 (commit) via 502a1d8a6089ed66188719292520c9baed722691 (commit) via 17ba7979fefa3603c3c150026b7f1e6084080b00 (commit) via 5de3a5856a0feb2e905caea5b965558b68e0bf4c (commit) via 9e8f01670d7d7334a7fb65c8329968bedf3c90f1 (commit) via aabca0d611c0e34a0d6996210e53851d2b7789d8 (commit) via b5e43e479bba74752908cedf4badff85ed25f9e6 (commit) via 1925ddc4c2bd7ec1446f291468fa3983d3ba4755 (commit) via 4fa71ccefb5491b8ed6e55d9c5e85c2236ca6151 (commit) via 4d5395266d494570a0cbc8b792da41185f4663c2 (commit) via ed4a78fc3d59d21c02818380df85dff422ba12aa (commit) via d74817b84bb759030de2dedb4c64adf008955433 (commit) via 68ccdda06ddeb6dd689615c1817e4e766b243c06 (commit) via 3edeb2f06956b32f7c8a4df32ca9039de7e4a78a (commit) via 1602efbcae70b4e40b4c8e3e0dac82a0dee91acf (commit) via d28c2e65ddf50a889532bf15e5ec570018373292 (commit) via dbfa9cc7e9016dde29373bc472533daacce53b65 (commit) via 81a55f1427d48710e2d699f134a6c59f78f5550b (commit) via 6178fc046d036ba0639a456272b63ab099edaf82 (commit) via a48c179934bee9df3f67fcaaf632242e40d30e84 (commit) via d641b754fd63c07aefd102230909dd015f851331 (commit) via c4c2286bc98cad3c54a9b5d017ee3b150e680ac2 (commit) via 6cf613d6c791e0d6a785dc97654956f13139b9b7 (commit) via 35c95b2b57b61d962e5404886905dfe2829fb6bb (commit) via 8d2e8ad63204a3019f9b12f4a467a6e2b9a6c23b (commit) via fae81fd61a19c98ca18a8b6b98d2840fa9dd5ade (commit) via bb8e50ab4853f6b18efacc3328fa2075539d8974 (commit) via 2b330cc803da788211cd4b66e87cfd6bc21dfbab (commit) via 363c7b345f7d0730bd202c1775efeaf3d8254ed2 (commit) via e7f2b7951a4b2190a967e367e5395a1c3e2d4802 (commit) via dd5681c3362ddd4c5933fcaba245ff6333034f38 (commit) via e6bd8f2abf2aff1a2ed7b29daaff68f918be9b88 (commit) via 4e8d44f12e27f569721e742bceccdfee35a78e2f (commit) via 6da1a829889ede67cb1d79801d7e303ffa6b4528 (commit) via 11a5ed3eee53962a18e0c348ac6ad6ccde4430a3 (commit) via 76d4004ac49829afe4cf6398c12d180b0d5242e1 (commit) via 306a5665b5c0cb1b3e097bbc23b79620f59e2cf0 (commit) via d438502cf4d0f80282a5b84ab8e7425acd1a53c1 (commit) via c0ec56f7f57d5d83ad589fb16255de691561f997 (commit) via ff95333fe26824a2b1982e3ddcdc8d56d13d66a3 (commit) via 847915664fd893f065928e0b73911025973c0d68 (commit) via feb4d18f5aa47204581b1e2f916ee4c34817e31f (commit) via 1aad842f599a7f2ae77c7ad85898471e503e83b2 (commit) via a06be778506917cc0d66485bc74dfdf92f212506 (commit) via 82ab01cef505b98e5217e350fb1ce0fa5bdb5667 (commit) via 96dd75b5a8d23c3be6309de91768869003583298 (commit) via 56adda13173a3b8a2355b6b2865ff6d25059e1ca (commit) via 8ce9a2934dc0e16e01bb9dd0276fe05e90c39688 (commit) via c86ee81222651c3e2c8694e71dcc5c7036b2aefc (commit) via 460b2283a3b26e9df8c9a91006806b46924c5945 (commit) via 7f81dd5c655ca22f862d168a3f8ac87edf4e96e0 (commit) via e67de9c4083ea465357e9dd982e1c9be8d3ae9cc (commit) via 3a910fb838b06f989303f531482efb1189017055 (commit) from 1b26519e2da4d8911270921f9f3f5d35a89bb4b0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 587fa1a9ae4b6dcbce35a510d850032ce1df12cf Author: Pierre Muller Date: Tue Jan 27 08:22:22 2009 +0000 * gdb.base/find.exp: Set newline variable using quotes instead of braces to fix cygwin failures. commit 1491427ae8c6205fe1f325da1201419313e3c3b9 Author: Hans-Peter Nilsson Date: Tue Jan 27 07:06:35 2009 +0000 * elf32-cris.c (cris_elf_relocate_section) : Correct relocation value. commit 52da3cb816963552920c3bd1be6d382d4debad8a Author: Hans-Peter Nilsson Date: Tue Jan 27 06:07:54 2009 +0000 * elf32-cris.c (cris_elf_relocate_section) : Don't call BFD_ASSERT for weak undefined symbols with non-default visibility. commit ccee8cf101a68a9595867638c100086715ae1944 Author: gdbadmin Date: Tue Jan 27 00:00:33 2009 +0000 *** empty log message *** commit c51205a752a5c26e0e4f1a5763b89dd33432c6fe Author: Alan Modra Date: Tue Jan 27 00:00:05 2009 +0000 daily update commit b51efefd842bea521c5ee25306bd73eeab74fa85 Author: Pedro Alves Date: Mon Jan 26 22:34:54 2009 +0000 * linux-nat.c (linux_child_follow_fork): Copy attach_flag from the parent to the child. * inf-ttrace.c (inf_ttrace_follow_fork): Likewise. * inf-ptrace.c (inf_ptrace_follow_fork): Likewise. Use remove_breakpoints to remove breakpoints from the parent. commit 5b87a749027154f0aa0120ac1c24e726c483a8a0 Author: Pedro Alves Date: Mon Jan 26 19:15:24 2009 +0000 Add forgotten PR tags: PR backtrace/9458, PR backtrace/8864 commit 3ce76e710f43751f99e1ac6137ccc4ef9e4b9f07 Author: Pedro Alves Date: Mon Jan 26 19:09:58 2009 +0000 * frame.c (create_new_frame): Update the frame's cached PC before finding its unwinder. Use frame_id_build to build the new frame's id. * stack.c (parse_frame_specification_1): Correct setting ``addrs'' array values from the ``args'' array values. commit bf06624c54fe05cce54fef983fa7d329c500404a Author: Pedro Alves Date: Mon Jan 26 18:57:43 2009 +0000 * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type) (create_array_type, create_set_type, init_flags_type) (copy_type_recursive): Replace pairs of calls to XALLOC and memset with a call to XZALLOC or XCALLOC, and pairs of calls to obstack_alloc and memset with a call to OBSTACK_ZALLOC. commit 8b58bcf2f83e4f98a2ca9202d477b725abb90e72 Author: Pedro Alves Date: Mon Jan 26 16:24:26 2009 +0000 gdb/ Add "maint set|show internal-error|internal-warning quit|corefile ask|yes|no" commands. PR gdb/7580: * utils.c (internal_problem_ask, internal_problem_yes) (internal_problem_no, internal_problem_modes): New. (struct internal_problem): Remove FIXME. Make should_quit and should_dump_core types to char *. (internal_vproblem, internal_error_problem) (internal_warning_problem): Adjust. (set_internal_problem_cmd, show_internal_problem_cmd): New dummy functions. (add_internal_problem_command): New. (_initialize_utils): New. gdb/doc/ PR gdb/7580: * gdb.texinfo (Maintenance Commands): Document "maint set|show internal-error|internal-warning quit|corefile ask|yes|no". commit 051a1cf006b13a738f7f2697bc897c57d7cb163b Author: Pedro Alves Date: Mon Jan 26 16:16:48 2009 +0000 gdb/gdbserver/ * server.c (gdbserver_usage): Mention --remote-debug. (main): Accept '--remote-debug' switch. gdb/doc/ * gdb.texinfo (Using the `gdbserver' Program): Document --remote-debug. commit b4d75490715058a51d045b89561bfce02fa331b6 Author: Nathan Sidwell Date: Mon Jan 26 15:27:03 2009 +0000 * ld-powerpc/powerpc.exp: Add vxworks relax testcase. * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New. * ld-powerpc/vxworks1.ld: Add .pad and .far input sections. * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols. commit b3d79b8ed687dfa889f46d03a17f37c42e945a2b Author: gdbadmin Date: Mon Jan 26 00:00:33 2009 +0000 *** empty log message *** commit 3a4ab0a3e31d115b1b9f3ab9e14f3efcf124a5d7 Author: Alan Modra Date: Mon Jan 26 00:00:05 2009 +0000 daily update commit aea85d57cdd9eda9faca88f025d58cc7e9f49f7f Author: Pedro Alves Date: Sun Jan 25 23:35:50 2009 +0000 * infcmd.c (program_info): Use paddress instead of casting stop_pc to unsigned long. commit 68be5f29099b8bba57a3a5bb87946511f4f82c62 Author: Dave Anglin Date: Sun Jan 25 23:05:20 2009 +0000 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F and R_PARISC_PCREL12F relocations. commit 59388d5a95d91cc3710b91f2b3b334f126517ad5 Author: Alan Modra Date: Sun Jan 25 00:00:09 2009 +0000 daily update commit aefee5ed5cf0909fc174b538be69a7de3f63a91f Author: gdbadmin Date: Sun Jan 25 00:00:02 2009 +0000 *** empty log message *** commit 2b33b569bdebeb623beabc36cc43c545701b6d93 Author: Pedro Alves Date: Sat Jan 24 19:17:24 2009 +0000 * infrun.c (normal_stop): Don't call deprecated_update_frame_pc_hack. * frame.c (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete, and ... (create_new_frame): ... inline here. * frame.h (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete declarations. commit c68ed5493b7c919af1cb950b542f72d62bd08882 Author: Alan Modra Date: Sat Jan 24 03:10:42 2009 +0000 PR 6022 * elflink.c (find_version_for_sym): New function split out from, but without export_dynamic test, .. (_bfd_elf_link_assign_sym_version): ..here. (_bfd_elf_export_symbol): Use it. commit b1482bb07699c150bcbc2cc915d2ae039ebaee80 Author: Alan Modra Date: Sat Jan 24 00:00:06 2009 +0000 daily update commit d46ef7dd9c96079bbfb7b2c675a98fbacc37dba5 Author: gdbadmin Date: Sat Jan 24 00:00:03 2009 +0000 *** empty log message *** commit b7ee711e348c8b8bd07bc810142fe468a7da9d04 Author: Doug Evans Date: Fri Jan 23 21:43:56 2009 +0000 * gdb.texinfo: Add nexti to list of commands that support background execution. commit ecdf4477c1cba445b81193d6609f06aebdebeba9 Author: Pedro Alves Date: Fri Jan 23 18:47:42 2009 +0000 2009-01-23 Pedro Alves * cli/cli-decode.c (add_setshow_zuinteger_cmd): New. * cli/cli-setshow.c (do_setshow_command): Handle it. * command.h (enum var_types): Add var_zuinteger. (add_setshow_zuinteger_cmd): Declare. * valprint.c (_initialize_valprint): Change the set input-radix and set output-radix commands to zuinteger type. 2009-01-23 Pedro Alves * gdb.base/radix.exp: Add tests to ensure that that set input-radix 0 and set output-radix 0 are really rejected. commit 1f14283bfadf9f5d9b68b8863947c0d4fb2c3cf2 Author: Pedro Alves Date: Fri Jan 23 16:01:45 2009 +0000 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update copyright years. commit 857c05cde38f5b6529d4eb2e2570710b65b71b11 Author: Pedro Alves Date: Fri Jan 23 15:47:02 2009 +0000 2009-01-23 Pedro Alves PR gdb/9664: * infrun.c (normal_stop): Tag threads as stopped, and run the hook-stop before printing the stack frame. 2009-01-23 Pedro Alves PR gdb/9664: * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New. commit a1e78a92edb65f61398f75fa82122fa36a31f3dc Author: Alan Modra Date: Fri Jan 23 12:15:27 2009 +0000 * elf-bfd.h (struct elf_assign_sym_version_info): Delete. (struct elf_info_failed, struct elf_find_verdep_info): Move to.. * elflink.c: ..here, somewhat modified. * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't declare.. * elflink.c: ..and make static here. (_bfd_elf_link_find_version_dependencies): Adjust for removal of output_bfd from struct elf_find_verdep_info. (_bfd_elf_link_assign_sym_version): Similarly adjust to use struct elf_info_failed. (bfd_elf_size_dynamic_sections): Adjust. commit 9316ed5bdad1416e32f5be97d20cb573ac0bf64c Author: gdbadmin Date: Fri Jan 23 00:00:33 2009 +0000 *** empty log message *** commit fa9d7815fd365b52135be091938481fb5307fce4 Author: Alan Modra Date: Fri Jan 23 00:00:09 2009 +0000 daily update commit ecf101f78860519418555b966e4ed5061286a2a9 Author: Pedro Alves Date: Thu Jan 22 22:50:37 2009 +0000 2009-01-22 Pedro Alves PR c++/9631: * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on vbasetype. 2009-01-22 Pedro Alves PR c++/9631: * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New. commit 1a6c57ddde9b9fb62dbcf7230d4f1308d3674df1 Author: Pierre Muller Date: Thu Jan 22 16:01:10 2009 +0000 2009-01-22 Pierre Muller * gdb.server/file-transfer.exp: Use EXEEXT variable for binfile definition to fix Windows OS failure. commit c090d23b34b137ce98f9de62537fa2fb13ca1ecd Author: Alan Modra Date: Thu Jan 22 08:54:20 2009 +0000 PR 6832 * dwarf2.c (find_line): Don't update stash->sec_info_ptr until after comp_unit_find_line call. commit e6e9396c648fd22fe476b17352ed52a40bb2e0bd Author: Jeff Johnston Date: Thu Jan 22 00:08:29 2009 +0000 2009-01-21 Jeff Johnston * COPYING.NEWLIB: Add ARM license. commit d7fb7dd25e0ab498d182b0c214270ec0703e6720 Author: gdbadmin Date: Thu Jan 22 00:00:33 2009 +0000 *** empty log message *** commit 502a1d8a6089ed66188719292520c9baed722691 Author: Alan Modra Date: Thu Jan 22 00:00:05 2009 +0000 daily update commit 17ba7979fefa3603c3c150026b7f1e6084080b00 Author: Nick Clifton Date: Wed Jan 21 11:58:05 2009 +0000 PR 9769 * vmsutil.c (vms_file_stats_name): Remove use of unsupported tm_gmtoff field in struct tm. commit 5de3a5856a0feb2e905caea5b965558b68e0bf4c Author: Alan Modra Date: Wed Jan 21 02:27:12 2009 +0000 bfd/ * elf32-spu.h (struct spu_elf_params): Add non_ia_text. * elf32-spu.c (mark_overlay_section): Only include .text.ia.* sections in soft-icache lines unless non_ia_text. Don't add rodata if doing so would exceed line size. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NON_IA_TEXT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. commit 9e8f01670d7d7334a7fb65c8329968bedf3c90f1 Author: Kazu Hirata Date: Wed Jan 21 01:20:14 2009 +0000 * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to unsigned long. commit aabca0d611c0e34a0d6996210e53851d2b7789d8 Author: Alan Modra Date: Wed Jan 21 00:00:10 2009 +0000 daily update commit b5e43e479bba74752908cedf4badff85ed25f9e6 Author: gdbadmin Date: Wed Jan 21 00:00:03 2009 +0000 *** empty log message *** commit 1925ddc4c2bd7ec1446f291468fa3983d3ba4755 Author: Daniel Jacobowitz Date: Tue Jan 20 15:35:54 2009 +0000 Fix changelog year typo. commit 4fa71ccefb5491b8ed6e55d9c5e85c2236ca6151 Author: Daniel Jacobowitz Date: Tue Jan 20 15:33:09 2009 +0000 PR gdb/9346 * infcmd.c (signal_command): Do not specify a resume PC. testsuite/ PR gdb/9346 * gdb.base/interrupt.c (sigint_handler): New. (main): Install a SIGINT handler if SIGNALS is defined. Exit on error. * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals. Test "signal SIGINT". commit 4d5395266d494570a0cbc8b792da41185f4663c2 Author: Alan Modra Date: Tue Jan 20 07:22:29 2009 +0000 Regenerate for copyright date update. commit ed4a78fc3d59d21c02818380df85dff422ba12aa Author: gdbadmin Date: Tue Jan 20 00:00:33 2009 +0000 *** empty log message *** commit d74817b84bb759030de2dedb4c64adf008955433 Author: Alan Modra Date: Tue Jan 20 00:00:04 2009 +0000 daily update commit 68ccdda06ddeb6dd689615c1817e4e766b243c06 Author: Doug Evans Date: Mon Jan 19 19:04:59 2009 +0000 * dummy-frame.c (dummy_frame): Replace regcache member with caller_state. (dummy_frame_push): Replace caller_regcache arg with caller_state. All callers updated. (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns. (dummy_frame_pop): Rewrite. Verify requested frame is in the dummy frame stack. Restore program state. (cleanup_dummy_frames): Rewrite. (dummy_frame_sniffer): Update. Make static. * dummy-frame.h (regcache,frame_info): Delete forward decls. (inferior_thread_state): New forward decl. (dummy_frame_push): Update prototype. * frame.c (frame_pop): dummy_frame_pop now does all the work for DUMMY_FRAMEs. * infcall.c (breakpoint_auto_delete_contents): Delete. (get_function_name,run_inferior_call): New fns. (call_function_by_hand): Simplify by moving some code to get_function_name, run_inferior_call. Inferior function call wrapped in TRY_CATCH so there's less need for cleanups and all exits from proceed are handled similarily. Detect program exit. Detect program stopping in a different thread. Make error messages more consistent. * inferior.h (inferior_thread_state): Declare (opaque type). (save_inferior_thread_state,restore_inferior_thread_state, make_cleanup_restore_inferior_thread_state, discard_inferior_thread_state, get_inferior_thread_state_regcache): Declare. (save_inferior_status): Update prototype. * infrun.c: (normal_stop): When stopped for the completion of an inferior function call, verify the expected stack frame kind. (inferior_thread_state): New struct. (save_inferior_thread_state,restore_inferior_thread_state, do_restore_inferior_thread_state_cleanup, make_cleanup_restore_inferior_thread_state, discard_inferior_thread_state, get_inferior_thread_state_regcache): New functions. (inferior_status): Move stop_signal, stop_pc, registers to inferior_thread_state. Remove restore_stack_info. (save_inferior_status): Remove arg restore_stack_info. All callers updated. Remove saving of state now saved by save_inferior_thread_state. (restore_inferior_status): Remove restoration of state now done by restore_inferior_thread_state. (discard_inferior_status): Remove freeing of registers, now done by discard_inferior_thread_state. * gdb.base/break.exp: Update expected gdb output. * gdb.base/sepdebug.exp: Ditto. * gdb.mi/mi-syn-frame.exp: Ditto. * gdb.mi/mi2-syn-frame.exp: Ditto. * gdb.base/call-signal-resume.exp: New file. * gdb.base/call-signals.c: New file. * gdb.base/unwindonsignal.exp: New file. * gdb.base/unwindonsignal.c: New file. * gdb.threads/interrupted-hand-call.exp: New file. * gdb.threads/interrupted-hand-call.c: New file. * gdb.threads/thread-unwindonsignal.exp: New file. commit 3edeb2f06956b32f7c8a4df32ca9039de7e4a78a Author: Hans-Peter Nilsson Date: Mon Jan 19 17:32:59 2009 +0000 * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol types than bfd_link_hash_indirect, before early return, call _bfd_elf_link_hash_copy_indirect. commit 1602efbcae70b4e40b4c8e3e0dac82a0dee91acf Author: Andrew Stubbs Date: Mon Jan 19 12:14:04 2009 +0000 2009-01-19 Andrew Stubbs bfd/ * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. * elf-bfd.h (elf_backend_data): Add obj_attrs_order. * elf32-arm.c (elf32_arm_obj_attrs_order): New function. (elf_backend_obj_attrs_order): New define. * elfxx-target.h (elf_backend_obj_attrs_order): New define. (elfNN_bed): Add elf_backend_obj_attrs_order. gas/testsuite/ * gas/arm/attr-order.d: New file. * gas/arm/attr-order.s: New file. commit d28c2e65ddf50a889532bf15e5ec570018373292 Author: Andrew Stubbs Date: Mon Jan 19 11:55:35 2009 +0000 2009-01-19 Andrew Stubbs bfd/ * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. (obj_attr_size): Likewise. (write_obj_attribute): Likewise. (_bfd_elf_copy_obj_attributes): Likewise. (_bfd_elf_parse_attributes): Likewise. * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. (ATTR_TYPE_HAS_NO_DEFAULT): New define. * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers with macros. commit dbfa9cc7e9016dde29373bc472533daacce53b65 Author: Andrew Stubbs Date: Mon Jan 19 11:50:30 2009 +0000 2009-01-19 Andrew Stubbs bfd/ * elf-attrs.c (is_default_attr): Support defaultless attributes. (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. (bfd_elf_add_obj_attr_string): Likewise. (bfd_elf_add_obj_attr_int_string): Likewise. (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. * elf-bfd.h (struct obj_attribute): Document new flag bit. * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that Tag_nodefaults has no default value. (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults comment to reflect the new state. gas/ * read.c (s_vendor_attribute): Allow for unknown flag bits in type. commit 81a55f1427d48710e2d699f134a6c59f78f5550b Author: Alan Modra Date: Mon Jan 19 06:11:21 2009 +0000 PR 9695 * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. (adjust_z_magix): Delete dead code handling QMAGIC. commit 6178fc046d036ba0639a456272b63ab099edaf82 Author: Doug Evans Date: Mon Jan 19 00:16:46 2009 +0000 * regcache.c (new_register_cache): No need to check result of xcalloc. * server.c (handle_search_memory): Back out calls to xmalloc, result is checked and error is returned to user upon failure. (handle_query): Ditto. Add more checks for result of malloc. (handle_v_cont): Check result of malloc, report error back to user upon failure. (handle_v_run): Ditto. Call freeargv. * server.h (freeargv): Declare. * utils.c (freeargv): New fn. commit a48c179934bee9df3f67fcaaf632242e40d30e84 Author: Alan Modra Date: Mon Jan 19 00:00:05 2009 +0000 daily update commit d641b754fd63c07aefd102230909dd015f851331 Author: gdbadmin Date: Mon Jan 19 00:00:03 2009 +0000 *** empty log message *** commit c4c2286bc98cad3c54a9b5d017ee3b150e680ac2 Author: Dave Korn Date: Sun Jan 18 23:12:15 2009 +0000 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin, as it no longer shares libiberty object files. * configure: Regenerated. commit 6cf613d6c791e0d6a785dc97654956f13139b9b7 Author: Hans-Peter Nilsson Date: Sun Jan 18 22:17:46 2009 +0000 * sim/cris/asm/opterr5.ms, sim/cris/asm/opterr4.ms, sim/cris/asm/opterr3.ms, sim/cris/asm/bare3.ms: New tests. * lib/sim-defs.exp (run_sim_test): New option progopts. commit 35c95b2b57b61d962e5404886905dfe2829fb6bb Author: Hans-Peter Nilsson Date: Sun Jan 18 22:17:03 2009 +0000 * cris/sim-if.c: Include errno.h. (cris_start_address, cris_program_offset): New variables. (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option enums. (cris_options): New options --cris-program-offset and --cris-start-address. (cris_option_handler): Handle new options. (cris_program_offset_write, cris_set_section_offset_iterator) (cris_offset_sections, cris_offset_sections): New functions. (sim_load): Use cris_program_offset_write as function argument to cris_load_elf_file, not sim_write. (struct offsetinfo): New struct. (cris_handle_interpreter): Fix typo in comment. (sim_open): Call cris_offset_sections as soon as the bfd of the infile is available. Gate bfd validity checks on abfd non-NULL. (sim_create_inferior): Let cris_start_address when != -1 override other start-address choices. commit 8d2e8ad63204a3019f9b12f4a467a6e2b9a6c23b Author: Pedro Alves Date: Sun Jan 18 21:28:34 2009 +0000 * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line at a time, times NUM_TO_SCROLL. * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to fetch the selected frame if there is no stack. commit fae81fd61a19c98ca18a8b6b98d2840fa9dd5ade Author: Pedro Alves Date: Sun Jan 18 17:42:15 2009 +0000 PR gdb/9747: * gdbthread.h (finish_thread_state, finish_thread_state_cleanup): Declare. * thread.c (finish_thread_state, finish_thread_state_cleanup): New. * infrun.c (wait_for_inferior, fetch_inferior_event): If an error is thrown while handling an event, finish the thread state. (normal_stop): Use finish_thread_state cleanup. * infcmd.c (run_command_1): If an error is thrown while starting the inferior, finish the thread state. commit bb8e50ab4853f6b18efacc3328fa2075539d8974 Author: Pedro Alves Date: Sun Jan 18 17:05:47 2009 +0000 * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout, skip breakpoints without a location (pending breakpoints). commit 2b330cc803da788211cd4b66e87cfd6bc21dfbab Author: Pedro Alves Date: Sun Jan 18 01:24:10 2009 +0000 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'. commit 363c7b345f7d0730bd202c1775efeaf3d8254ed2 Author: gdbadmin Date: Sun Jan 18 00:00:33 2009 +0000 *** empty log message *** commit e7f2b7951a4b2190a967e367e5395a1c3e2d4802 Author: Alan Modra Date: Sun Jan 18 00:00:04 2009 +0000 daily update commit dd5681c3362ddd4c5933fcaba245ff6333034f38 Author: Nick Roberts Date: Sat Jan 17 20:39:52 2009 +0000 (thread_command): Move call to annotate_thread_changed to... (do_captured_thread_select): ... here, to avoid printing an annotation if the thread change generates an exception. commit e6bd8f2abf2aff1a2ed7b29daaff68f918be9b88 Author: Nick Roberts Date: Sat Jan 17 20:39:33 2009 +0000 *** empty log message *** commit 4e8d44f12e27f569721e742bceccdfee35a78e2f Author: Alan Modra Date: Sat Jan 17 00:00:04 2009 +0000 daily update commit 6da1a829889ede67cb1d79801d7e303ffa6b4528 Author: gdbadmin Date: Sat Jan 17 00:00:03 2009 +0000 *** empty log message *** commit 11a5ed3eee53962a18e0c348ac6ad6ccde4430a3 Author: Kai Tietz Date: Fri Jan 16 15:09:19 2009 +0000 2009-01-16 Kai Tietz * coffcode.h (styp_to_sec_flags): Correct interpretation of IMAGE_SCN_MEM_DISCARDABLE. commit 76d4004ac49829afe4cf6398c12d180b0d5242e1 Author: Alan Modra Date: Fri Jan 16 08:07:43 2009 +0000 formatting commit 306a5665b5c0cb1b3e097bbc23b79620f59e2cf0 Author: Alan Modra Date: Fri Jan 16 08:06:15 2009 +0000 * Makefile.def (configure-opcodes): Depend on configure-libiberty. * Makefile.def (all-opcodes): Depend on all-libiberty. * Makefile.in: Regenerate. commit d438502cf4d0f80282a5b84ab8e7425acd1a53c1 Author: Alan Modra Date: Fri Jan 16 08:02:22 2009 +0000 bfd/ * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. * configure.in (commonbfdlib): Delete. (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such is available, not just for linux. * po/SRC-POTFILES.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * configure.in (commonbfdlib): Delete. (SHARED_LIBADD): Add pic libiberty if such is available. * configure: Regenerate. * po/POTFILES.in: Regenerate. binutils/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. gas/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. * po/POTFILES.in: Regenerate. commit c0ec56f7f57d5d83ad589fb16255de691561f997 Author: Joel Brobecker Date: Fri Jan 16 04:31:09 2009 +0000 * NEWS: Document x86_64/MinGW as a new native configuration. commit ff95333fe26824a2b1982e3ddcdc8d56d13d66a3 Author: Joel Brobecker Date: Fri Jan 16 04:28:24 2009 +0000 * NEWS: Move the documentation of "info os processes" to the appropriate section (documenting the new commands). commit 847915664fd893f065928e0b73911025973c0d68 Author: gdbadmin Date: Fri Jan 16 00:00:33 2009 +0000 *** empty log message *** commit feb4d18f5aa47204581b1e2f916ee4c34817e31f Author: Alan Modra Date: Fri Jan 16 00:00:04 2009 +0000 daily update commit 1aad842f599a7f2ae77c7ad85898471e503e83b2 Author: Doug Evans Date: Thu Jan 15 22:18:54 2009 +0000 fix another cut-n-paste error commit a06be778506917cc0d66485bc74dfdf92f212506 Author: Doug Evans Date: Thu Jan 15 22:10:05 2009 +0000 fix cut-n-paste errors in previous checkin commit 82ab01cef505b98e5217e350fb1ce0fa5bdb5667 Author: Doug Evans Date: Thu Jan 15 22:07:18 2009 +0000 * target.h (target_signal_to_string): Make return type const char *. (target_signal_to_name): Ditto. (target_signal_from_name): Make arg const char *. * thread-db.c (thread_db_err_str): Make return type const char *. * utils.c (perror_with_name): Make arg const char *. * infrun.c (sig_print_info): Update. * signals/signals.c (signals): Make array and struct members const. (target_signal_to_string): Make return type const char *. (target_signal_to_name): Ditto. (target_signal_from_name): Make arg const char *. * gdbserver/gdbreplay.c (perror_with_name): Make arg const char *. * gdbserver/server.h (target_signal_to_name): Make return type const char *. commit 96dd75b5a8d23c3be6309de91768869003583298 Author: Andrew Stubbs Date: Thu Jan 15 18:00:48 2009 +0000 2009-01-15 Andrew Stubbs Julian Brown bfd/ * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known ARM attributes in ABI 2.07. * elf32-arm.c (get_secondary_compatible_arch): New function. (set_secondary_compatible_arch): New function. (tag_cpu_arch_combine): New function. (elf32_arm_copy_one_eabi_other_attribute): Delete function. (elf32_arm_copy_eabi_other_attribute_list): Delete function. (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to make it fit with order_01243. Add support for Tag_also_compatible_with, Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, Tag_MPextension_use, Tag_nodefaults and Tag_conformance. Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, Tag_VFP_arch and Tag_ABI_FP_16bit_format. Rework the way unknown attributes are handled. Defer errors until all attributes have been processed. gas/ * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11. include/elf/ * arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines. (MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines. (Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI version 2.07. (Tag_undefined39, Tag_nodefaults): New enum values. (Tag_also_compatible_with, Tag_T2EE_use): Likewise. (Tag_conformance, Tag_Virtualization_use): Likewise. (Tag_undefined69, Tag_MPextension_use): Likewise. commit 56adda13173a3b8a2355b6b2865ff6d25059e1ca Author: Ulrich Weigand Date: Thu Jan 15 16:35:21 2009 +0000 * solist.h (struct target_so_ops): New member bfd_open. (solib_find): Add prototype. (solib_bfd_fopen): Add prototype. * solib.c (solib_find, solib_bfd_fopen): New functions, extracted from solib_bfd_open. (solib_bfd_open): Use ops->bfd_open override if present. Call solib_find and solib_bfd_open otherwise. * objfiles.h (OBJF_KEEPBFD): New define. * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD objfile flag is set. * solib.c (symbol_add_stub): Do not allocate second BFD for shared library; use OBJF_KEEPBFD flag on solib objfile. commit 8ce9a2934dc0e16e01bb9dd0276fe05e90c39688 Author: Ulrich Weigand Date: Thu Jan 15 15:38:57 2009 +0000 * frame.c (get_frame_arch): Abort if called with NULL this_frame. commit c86ee81222651c3e2c8694e71dcc5c7036b2aefc Author: Ulrich Weigand Date: Thu Jan 15 15:38:06 2009 +0000 * value.h (address_of_variable): Add prototype. (locate_var_value): Remove prototype. * findvar.c (read_var_value): Do not attempt to default frame to selected frame. (locate_var_value): Remove function. * valops.c (value_of_variable): Retrieve selected frame for symbols that require a frame when called with NULL block. * valops.c (address_of_variable): New function. * eval.c (evaluate_subexp_for_address): Call address_of_variable instead of calling locate_var_value. (evaluate_subexp_with_coercion): Likewise. commit 460b2283a3b26e9df8c9a91006806b46924c5945 Author: Nick Clifton Date: Thu Jan 15 13:30:00 2009 +0000 oops - forgot to commit with the previous delta commit 7f81dd5c655ca22f862d168a3f8ac87edf4e96e0 Author: Andrew Stubbs Date: Thu Jan 15 13:03:05 2009 +0000 2009-01-15 Andrew Stubbs bfd/ * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to bfd_elf_add_obj_attr_int_string. Read Tag_compatibility from its new location in the attribute array, rather than the attribute list. (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> bfd_elf_add_obj_attr_int_string. (_bfd_elf_parse_attributes): Likewise. (_bfd_elf_merge_object_attributes): There's now only one Tag_compatibility, and it's in the array, not the list. * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include Tag_compatibility. (bfd_elf_add_obj_attr_compat): Rename to bfd_elf_add_obj_attr_int_string. (bfd_elf_add_proc_attr_compat): Rename to bfd_elf_add_proc_attr_int_string. * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle Tag_compatibility. gas/ * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat -> bfd_elf_add_obj_attr_int_string. commit e67de9c4083ea465357e9dd982e1c9be8d3ae9cc Author: Nick Clifton Date: Thu Jan 15 12:55:46 2009 +0000 * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support. * configure: Regenerate. commit 3a910fb838b06f989303f531482efb1189017055 Author: Nick Clifton Date: Thu Jan 15 12:42:51 2009 +0000 * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, EF_IA_64_ARCHVER_1): New macros. Minor reformatting. * bfd/Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo (BFD32_BACKENDS_CFILES): Add new file vmsutil.c (vmsutil.lo): Add dependency rule * bfd/Makefile.in: Regenerate * bfd/config.bfd (ia64*-*-*vms*): Add case. * bfd/configure.in (bfd_elf64_ia64_vms_vec): Add case. * bfd/configure: Regenerate * bfd/vmsutil.[ch]: New files * bfd/elf-bfd.h (struct bfd_elf_special_section): Change type of attr to bfd_vma. * bfd/elfxx-ia64.c (elfNN_vms_post_process_headers, elfNN_vms_section_processing, elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, elfNN_vms_object_p): New functions * bfd/targets.c (bfd_elf64_ia64_vms_vec): New target. * gas/configure.tgt(ia64-*-*vms*): New target. * gas/dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern. * gas/tc.h (md_number_to_chars): Declare iff undefined. * gas/config/obj-elf.c (obj_elf_change_section): Change type of arg attr to bfd_vma. (obj_elf_parse_section_letters): Return a bfd_vma. Change type of variables attr, md_attr to bfd_vma. (obj_elf_section_word): Likewise. (obj_elf_section): Change type of variable attr to bfd_vma * gas/config/obj-elf.h (obj_elf_change_section): Change type of arg attr to bfd_vma * gas/config/tc-ia64.c (bfdver.h,time.h): Include. (ia64_elf_section_letter): Now returns a bfd_vma. Handle VMS specific attributes. (ia64_elf_section_flags): Arg attr now a bfd_vma. (ia64_init): Don't turn on dependency checking for VMS. (ia64_target_format): Check for VMS flag bit. (do_alias): Hande decc$ functions. (get_vms_time): New function. (ia64_vms_note): New function. * gas/config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma. (ia64_elf_section_flags): Arg attr now a bfd_vma. (tc_init_after_args): Define for VMS. * gas/config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma. (alpha_elf_section_flags): Change type of arg attr to bfd_vma. * gas/config/tc-alpha.h: Likewise. * gas/config/tc-i386.c (x86_64_section_letter): Return a bfd_vma. (x86_64_section_word): Return a bfd_vma. * gas/config/tc-i386.h: Likewise. * gas/config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg attr to bfd_vma. * gas/config/tc-ip2k.h: Likewise. * gas/config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma. (mep_elf_section_flags): Change type of arg attr to bfd_vma. * gas/config/tc-mep.h: Likewise. * gas/config/tc-ppc.c (ppc_section_letter): Return a bfd_vma. (ppc_section_word): Return a bfd_vma. (ppc_section_flags): Change type of arg attr to bfd_vma. * gas/config/tc-ppc.h: Likewise. * gas/config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR, DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME): New file with new macros * gas/dwarf2dbg.c (get_filenum, out_file_list): Default and call new macros. ----------------------------------------------------------------------- Summary of changes: COPYING.NEWLIB | 31 + ChangeLog | 15 + Makefile.def | 5 +- Makefile.in | 20 + bfd/ChangeLog | 194 ++++++ bfd/Makefile.am | 7 +- bfd/Makefile.in | 19 +- bfd/coffcode.h | 17 +- bfd/config.bfd | 4 + bfd/configure | 79 ++-- bfd/configure.in | 45 +- bfd/dwarf2.c | 17 +- bfd/elf-attrs.c | 154 ++--- bfd/elf-bfd.h | 106 +--- bfd/elf-hppa.h | 26 +- bfd/elf.c | 17 +- bfd/elf32-arm.c | 644 +++++++++++++++----- bfd/elf32-cris.c | 26 +- bfd/elf32-ppc.c | 47 ++- bfd/elf32-spu.c | 28 +- bfd/elf32-spu.h | 5 +- bfd/elflink.c | 243 ++++---- bfd/elfxx-ia64.c | 306 +++++++++- bfd/elfxx-target.h | 4 + bfd/pdp11.c | 25 +- bfd/po/SRC-POTFILES.in | 3 + bfd/targets.c | 2 + bfd/version.h | 2 +- bfd/vmsutil.c | 265 ++++++++ bfd/vmsutil.h | 20 + configure | 4 + configure.ac | 4 + gdb/ChangeLog | 230 +++++++ gdb/NEWS | 6 +- gdb/cli/cli-decode.c | 21 + gdb/cli/cli-setshow.c | 6 + gdb/command.h | 14 + gdb/doc/ChangeLog | 16 + gdb/doc/gdb.texinfo | 40 ++- gdb/dummy-frame.c | 112 +++-- gdb/dummy-frame.h | 16 +- gdb/eval.c | 17 +- gdb/findvar.c | 75 +--- gdb/frame.c | 60 +-- gdb/frame.h | 18 - gdb/gdbserver/ChangeLog | 24 + gdb/gdbserver/gdbreplay.c | 2 +- gdb/gdbserver/regcache.c | 2 - gdb/gdbserver/server.c | 74 ++- gdb/gdbserver/server.h | 5 +- gdb/gdbserver/thread-db.c | 2 +- gdb/gdbserver/utils.c | 19 +- gdb/gdbthread.h | 17 + gdb/gdbtypes.c | 53 +-- gdb/gnu-v3-abi.c | 2 +- gdb/hppa-hpux-tdep.c | 2 +- gdb/inf-ptrace.c | 8 +- gdb/inf-ttrace.c | 5 +- gdb/infcall.c | 375 ++++++++---- gdb/infcmd.c | 28 +- gdb/inferior.h | 28 +- gdb/infrun.c | 221 +++++--- gdb/linux-nat.c | 12 +- gdb/objfiles.c | 4 +- gdb/objfiles.h | 6 + gdb/procfs.c | 8 +- gdb/signals/signals.c | 12 +- gdb/solib.c | 110 +++-- gdb/solist.h | 9 + gdb/stack.c | 2 +- gdb/target.h | 6 +- gdb/testsuite/ChangeLog | 53 ++ gdb/testsuite/gdb.base/break.exp | 2 +- gdb/testsuite/gdb.base/call-signal-resume.exp | 159 +++++ gdb/testsuite/gdb.base/call-signals.c | 89 +++ gdb/testsuite/gdb.base/find.exp | 2 +- gdb/testsuite/gdb.base/hook-stop-frame.c | 32 + gdb/testsuite/gdb.base/hook-stop-frame.exp | 55 ++ gdb/testsuite/gdb.base/interrupt.c | 18 +- gdb/testsuite/gdb.base/interrupt.exp | 38 ++- gdb/testsuite/gdb.base/radix.exp | 17 +- gdb/testsuite/gdb.base/sepdebug.exp | 2 +- gdb/testsuite/gdb.base/unwindonsignal.c | 65 ++ gdb/testsuite/gdb.base/unwindonsignal.exp | 98 +++ gdb/testsuite/gdb.cp/pr9631.cc | 42 ++ gdb/testsuite/gdb.cp/pr9631.exp | 48 ++ gdb/testsuite/gdb.mi/mi-syn-frame.exp | 7 +- gdb/testsuite/gdb.mi/mi2-syn-frame.exp | 7 +- gdb/testsuite/gdb.server/file-transfer.exp | 2 +- gdb/testsuite/gdb.threads/interrupted-hand-call.c | 149 +++++ .../gdb.threads/interrupted-hand-call.exp | 92 +++ .../gdb.threads/thread-unwindonsignal.exp | 117 ++++ gdb/thread.c | 52 ++- gdb/tui/tui-disasm.c | 15 +- gdb/tui/tui-winsource.c | 16 +- gdb/utils.c | 166 ++++- gdb/valops.c | 58 ++- gdb/valprint.c | 20 +- gdb/value.h | 5 +- gdb/version.in | 2 +- include/elf/ChangeLog | 17 + include/elf/arm.h | 44 +- include/elf/ia64.h | 23 +- libiberty/ChangeLog | 6 + libiberty/configure | 30 - libiberty/configure.ac | 23 - opcodes/ChangeLog | 18 + opcodes/configure | 62 +- opcodes/configure.in | 32 +- opcodes/fr30-asm.c | 2 +- opcodes/fr30-dis.c | 4 +- opcodes/fr30-ibld.c | 4 +- opcodes/frv-asm.c | 2 +- opcodes/frv-dis.c | 4 +- opcodes/frv-ibld.c | 4 +- opcodes/ip2k-asm.c | 2 +- opcodes/ip2k-dis.c | 4 +- opcodes/ip2k-ibld.c | 4 +- opcodes/iq2000-asm.c | 2 +- opcodes/iq2000-dis.c | 4 +- opcodes/iq2000-ibld.c | 4 +- opcodes/m32c-asm.c | 2 +- opcodes/m32c-dis.c | 4 +- opcodes/m32c-ibld.c | 4 +- opcodes/m32r-asm.c | 2 +- opcodes/m32r-dis.c | 4 +- opcodes/m32r-ibld.c | 4 +- opcodes/mep-asm.c | 2 +- opcodes/mep-dis.c | 4 +- opcodes/mep-ibld.c | 4 +- opcodes/mt-asm.c | 2 +- opcodes/mt-dis.c | 4 +- opcodes/mt-ibld.c | 4 +- opcodes/openrisc-asm.c | 2 +- opcodes/openrisc-dis.c | 4 +- opcodes/openrisc-ibld.c | 4 +- opcodes/po/POTFILES.in | 8 + opcodes/xc16x-asm.c | 2 +- opcodes/xc16x-dis.c | 4 +- opcodes/xc16x-ibld.c | 4 +- opcodes/xstormy16-asm.c | 2 +- opcodes/xstormy16-dis.c | 4 +- opcodes/xstormy16-ibld.c | 4 +- sim/ChangeLog | 20 + sim/cris/sim-if.c | 127 ++++- sim/testsuite/ChangeLog | 6 + sim/testsuite/lib/sim-defs.exp | 4 +- sim/testsuite/sim/cris/asm/bare3.ms | 41 ++ sim/testsuite/sim/cris/asm/opterr3.ms | 10 + sim/testsuite/sim/cris/asm/opterr4.ms | 7 + sim/testsuite/sim/cris/asm/opterr5.ms | 7 + 151 files changed, 4698 insertions(+), 1376 deletions(-) create mode 100644 bfd/vmsutil.c create mode 100644 bfd/vmsutil.h create mode 100644 gdb/testsuite/gdb.base/call-signal-resume.exp create mode 100644 gdb/testsuite/gdb.base/call-signals.c create mode 100644 gdb/testsuite/gdb.base/hook-stop-frame.c create mode 100644 gdb/testsuite/gdb.base/hook-stop-frame.exp create mode 100644 gdb/testsuite/gdb.base/unwindonsignal.c create mode 100644 gdb/testsuite/gdb.base/unwindonsignal.exp create mode 100644 gdb/testsuite/gdb.cp/pr9631.cc create mode 100644 gdb/testsuite/gdb.cp/pr9631.exp create mode 100644 gdb/testsuite/gdb.threads/interrupted-hand-call.c create mode 100644 gdb/testsuite/gdb.threads/interrupted-hand-call.exp create mode 100644 gdb/testsuite/gdb.threads/thread-unwindonsignal.exp create mode 100644 sim/testsuite/sim/cris/asm/bare3.ms create mode 100644 sim/testsuite/sim/cris/asm/opterr3.ms create mode 100644 sim/testsuite/sim/cris/asm/opterr4.ms create mode 100644 sim/testsuite/sim/cris/asm/opterr5.ms First 500 lines of diff: diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB index b3cccd8..68ff0c2 100644 --- a/COPYING.NEWLIB +++ b/COPYING.NEWLIB @@ -767,3 +767,34 @@ SUCH DAMAGE. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +(35) - ARM Ltd (arm and thumb variant targets only) + + Copyright (c) 2009 ARM Ltd + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the company may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + diff --git a/ChangeLog b/ChangeLog index 9ee88bf..1da2e0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2009-01-21 Jeff Johnston + + * COPYING.NEWLIB: Add ARM license. + +2009-01-16 Alan Modra + + * Makefile.def (configure-opcodes): Depend on configure-libiberty. + (all-opcodes): Depend on all-libiberty. + * Makefile.in: Regenerate. + +2009-01-15 Douglas B Rupp + + * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support. + * configure: Regenerate. + 2008-12-18 Ralf Wildenhues Backport link test fix from upstream Libtool: diff --git a/Makefile.def b/Makefile.def index dea795a..fee4dda 100644 --- a/Makefile.def +++ b/Makefile.def @@ -4,7 +4,8 @@ AutoGen definitions Makefile.tpl; // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. // This file was originally written by Nathanael Nerode. // -// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation +// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +// Free Software Foundation // // This file is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -357,6 +358,8 @@ dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; dependencies = { module=configure-bfd; on=configure-intl; }; dependencies = { module=all-bfd; on=all-libiberty; }; dependencies = { module=all-bfd; on=all-intl; }; +dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; +dependencies = { module=all-opcodes; on=all-libiberty; }; dependencies = { module=configure-binutils; on=configure-intl; }; dependencies = { module=all-binutils; on=all-libiberty; }; diff --git a/Makefile.in b/Makefile.in index ab03aab..2df155e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55311,6 +55311,26 @@ all-stageb3g2-bfd: maybe-all-stageb3g2-intl all-stage4-bfd: maybe-all-stage4-intl all-stageprofile-bfd: maybe-all-stageprofile-intl all-stagefeedback-bfd: maybe-all-stagefeedback-intl +configure-opcodes: configure-libiberty + +configure-stage1-opcodes: configure-stage1-libiberty +configure-stage2-opcodes: configure-stage2-libiberty +configure-stageb2g0-opcodes: configure-stageb2g0-libiberty +configure-stage3-opcodes: configure-stage3-libiberty +configure-stageb3g2-opcodes: configure-stageb3g2-libiberty +configure-stage4-opcodes: configure-stage4-libiberty +configure-stageprofile-opcodes: configure-stageprofile-libiberty +configure-stagefeedback-opcodes: configure-stagefeedback-libiberty +all-opcodes: maybe-all-libiberty + +all-stage1-opcodes: maybe-all-stage1-libiberty +all-stage2-opcodes: maybe-all-stage2-libiberty +all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty +all-stage3-opcodes: maybe-all-stage3-libiberty +all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty +all-stage4-opcodes: maybe-all-stage4-libiberty +all-stageprofile-opcodes: maybe-all-stageprofile-libiberty +all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty configure-binutils: maybe-configure-intl configure-stage1-binutils: maybe-configure-stage1-intl diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bc2df92..41cee38 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,197 @@ +2009-01-27 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section) + : Correct relocation value. + + * elf32-cris.c (cris_elf_relocate_section) + : Don't call BFD_ASSERT for weak undefined + symbols with non-default visibility. + +2009-01-26 Nathan Sidwell + + * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs + describing the trampolines. + (ppc_elf_relocate_section): Update relocs to describe the + trampolines. + +2009-01-25 John David Anglin + + * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that + branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F + and R_PARISC_PCREL12F relocations. + +2009-01-24 Alan Modra + + PR 6022 + * elflink.c (find_version_for_sym): New function split out from, + but without export_dynamic test, .. + (_bfd_elf_link_assign_sym_version): ..here. + (_bfd_elf_export_symbol): Use it. + +2009-01-23 Alan Modra + + * elf-bfd.h (struct elf_assign_sym_version_info): Delete. + (struct elf_info_failed, struct elf_find_verdep_info): Move to.. + * elflink.c: ..here, somewhat modified. + * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, + _bfd_elf_link_find_version_dependencies, + _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, + _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, + _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't + declare.. + * elflink.c: ..and make static here. + (_bfd_elf_link_find_version_dependencies): Adjust for removal + of output_bfd from struct elf_find_verdep_info. + (_bfd_elf_link_assign_sym_version): Similarly adjust to use + struct elf_info_failed. + (bfd_elf_size_dynamic_sections): Adjust. + +2009-01-22 Alan Modra + + PR 6832 + * dwarf2.c (find_line): Don't update stash->sec_info_ptr until + after comp_unit_find_line call. + +2009-01-21 Nick Clifton + + PR 9769 + * vmsutil.c (vms_file_stats_name): Remove use of unsupported + tm_gmtoff field in struct tm. + +2009-01-21 Alan Modra + + * elf32-spu.h (struct spu_elf_params): Add non_ia_text. + * elf32-spu.c (mark_overlay_section): Only include .text.ia.* + sections in soft-icache lines unless non_ia_text. Don't add + rodata if doing so would exceed line size. + +2009-01-19 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol + types than bfd_link_hash_indirect, before early return, call + _bfd_elf_link_hash_copy_indirect. + +2009-01-19 Andrew Stubbs + + * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. + * elf-bfd.h (elf_backend_data): Add obj_attrs_order. + * elf32-arm.c (elf32_arm_obj_attrs_order): New function. + (elf_backend_obj_attrs_order): New define. + * elfxx-target.h (elf_backend_obj_attrs_order): New define. + (elfNN_bed): Add elf_backend_obj_attrs_order. + +2009-01-19 Andrew Stubbs + + * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. + (obj_attr_size): Likewise. + (write_obj_attribute): Likewise. + (_bfd_elf_copy_obj_attributes): Likewise. + (_bfd_elf_parse_attributes): Likewise. + * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. + (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. + (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. + (ATTR_TYPE_HAS_NO_DEFAULT): New define. + * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers + with macros. + +2009-01-19 Andrew Stubbs + + * elf-attrs.c (is_default_attr): Support defaultless attributes. + (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. + (bfd_elf_add_obj_attr_string): Likewise. + (bfd_elf_add_obj_attr_int_string): Likewise. + (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. + * elf-bfd.h (struct obj_attribute): Document new flag bit. + * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that + Tag_nodefaults has no default value. + (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults + comment to reflect the new state. + +2009-01-19 Alan Modra + + PR 9695 + * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. + (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. + (adjust_z_magix): Delete dead code handling QMAGIC. + +2009-01-16 Kai Tietz + + * coffcode.h (styp_to_sec_flags): Correct interpretation of + IMAGE_SCN_MEM_DISCARDABLE. + +2009-01-16 Alan Modra + + * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute + SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. + * configure.in (commonbfdlib): Delete. + (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ + (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such + is available, not just for linux. + * po/SRC-POTFILES.in: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2009-01-15 Andrew Stubbs + Julian Brown + + * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known + ARM attributes in ABI 2.07. + * elf32-arm.c (get_secondary_compatible_arch): New function. + (set_secondary_compatible_arch): New function. + (tag_cpu_arch_combine): New function. + (elf32_arm_copy_one_eabi_other_attribute): Delete function. + (elf32_arm_copy_eabi_other_attribute_list): Delete function. + (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to + make it fit with order_01243. + Add support for Tag_also_compatible_with, + Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, + Tag_MPextension_use, Tag_nodefaults and Tag_conformance. + Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, + Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, + Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, + Tag_VFP_arch and Tag_ABI_FP_16bit_format. + Rework the way unknown attributes are handled. + Defer errors until all attributes have been processed. + +2009-01-15 Andrew Stubbs + + * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to + bfd_elf_add_obj_attr_int_string. + Read Tag_compatibility from its new location in the attribute array, + rather than the attribute list. + (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> + bfd_elf_add_obj_attr_int_string. + (_bfd_elf_parse_attributes): Likewise. + (_bfd_elf_merge_object_attributes): There's now only one + Tag_compatibility, and it's in the array, not the list. + * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include + Tag_compatibility. + (bfd_elf_add_obj_attr_compat): Rename to + bfd_elf_add_obj_attr_int_string. + (bfd_elf_add_proc_attr_compat): Rename to + bfd_elf_add_proc_attr_int_string. + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle + Tag_compatibility. + +2009-01-15 Douglas B Rupp + + * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo + (BFD32_BACKENDS_CFILES): Add new file vmsutil.c + (vmsutil.lo): Add dependency rule. + * Makefile.in: Regenerate. + * config.bfd (ia64*-*-*vms*): Add case. + * configure.in (bfd_elf64_ia64_vms_vec): Add case. + * configure: Regenerate. + * vmsutil.c: New file. + * vmsutil.h: New file. + * elf-bfd.h (struct bfd_elf_special_section): Change type of + attr to bfd_vma. + * elfxx-ia64.c (elfNN_vms_post_process_headers, + elfNN_vms_section_processing, elfNN_vms_final_write_processing, + elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, + elfNN_vms_object_p): New functions + * targets.c (bfd_elf64_ia64_vms_vec): New target. + 2009-01-14 H.J. Lu PR ld/9727 diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 4eac4a0..593647c 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -371,6 +371,7 @@ BFD32_BACKENDS = \ vms-hdr.lo \ vms-misc.lo \ vms-tir.lo \ + vmsutil.lo \ xcofflink.lo \ xsym.lo \ xtensa-isa.lo \ @@ -552,6 +553,7 @@ BFD32_BACKENDS_CFILES = \ vms-hdr.c \ vms-misc.c \ vms-tir.c \ + vmsutil.c \ xcofflink.c \ xsym.c \ xtensa-isa.c \ @@ -767,8 +769,8 @@ ofiles: stamp-ofiles ; @true # libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead. libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) libbfd_la_DEPENDENCIES = $(OFILES) ofiles -libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@ -libbfd_la_LDFLAGS = -release `cat libtool-soversion` @WIN32LDFLAGS@ +libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ +libbfd_la_LDFLAGS = -release `cat libtool-soversion` @SHARED_LDFLAGS@ # libtool will build .libs/libbfd.a. We create libbfd.a in the build # directory so that we don't have to convert all the programs that use @@ -1833,6 +1835,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h vms.h vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h vms.h +vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \ libcoff.h libxcoff.h diff --git a/bfd/Makefile.in b/bfd/Makefile.in index fc370b0..afaadb7 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -203,14 +203,14 @@ REPORT_BUGS_TEXI = @REPORT_BUGS_TEXI@ REPORT_BUGS_TO = @REPORT_BUGS_TO@ SED = @SED@ SET_MAKE = @SET_MAKE@ +SHARED_LDFLAGS = @SHARED_LDFLAGS@ +SHARED_LIBADD = @SHARED_LIBADD@ SHELL = @SHELL@ STRIP = @STRIP@ TDEFINES = @TDEFINES@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ -WIN32LDFLAGS = @WIN32LDFLAGS@ -WIN32LIBADD = @WIN32LIBADD@ XGETTEXT = @XGETTEXT@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ @@ -637,6 +637,7 @@ BFD32_BACKENDS = \ vms-hdr.lo \ vms-misc.lo \ vms-tir.lo \ + vmsutil.lo \ xcofflink.lo \ xsym.lo \ xtensa-isa.lo \ @@ -818,6 +819,7 @@ BFD32_BACKENDS_CFILES = \ vms-hdr.c \ vms-misc.c \ vms-tir.c \ + vmsutil.c \ xcofflink.c \ xsym.c \ xtensa-isa.c \ @@ -975,8 +977,8 @@ OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ @bfd64_libs@ # libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead. libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) libbfd_la_DEPENDENCIES = $(OFILES) ofiles -libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@ -libbfd_la_LDFLAGS = -release `cat libtool-soversion` @WIN32LDFLAGS@ +libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ +libbfd_la_LDFLAGS = -release `cat libtool-soversion` @SHARED_LDFLAGS@ # libtool will build .libs/libbfd.a. We create libbfd.a in the build # directory so that we don't have to convert all the programs that use @@ -2022,15 +2024,15 @@ elf32-iq2000.lo: elf32-iq2000.c $(INCDIR)/filenames.h \ $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h \ $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/reloc-macros.h \ elf32-target.h -elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \ - $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \ - elf32-target.h elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \ $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \ elf32-target.h +elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \ + elf32-target.h elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h \ @@ -2429,6 +2431,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h vms.h vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h vms.h +vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \ libcoff.h libxcoff.h diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 12d2ad5..db0b2e9 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1069,10 +1069,19 @@ styp_to_sec_flags (bfd *abfd, sec_flags &= ~ SEC_READONLY; break; case IMAGE_SCN_MEM_DISCARDABLE: - /* The MS PE spec sets the DISCARDABLE flag on .reloc sections - but we do not want them to be labelled as debug section, since - then strip would remove them. */ - if (! CONST_STRNEQ (name, ".reloc")) + /* The MS PE spec says that debug sections are DISCARDABLE, + but the presence of a DISCARDABLE flag does not necessarily + mean that a given section contains debug information. Thus + we only set the SEC_DEBUGGING flag on sections that we + recognise as containing debug information. */ + if (CONST_STRNEQ (name, DOT_DEBUG) +#ifdef _COMMENT + || strcmp (name, _COMMENT) == 0 +#endif +#ifdef COFF_LONG_SECTION_NAMES + || CONST_STRNEQ (name, GNU_LINKONCE_WI) +#endif + || CONST_STRNEQ (name, ".stab")) sec_flags |= SEC_DEBUGGING; break; case IMAGE_SCN_MEM_SHARED: diff --git a/bfd/config.bfd b/bfd/config.bfd index e3d2b86..d9865e6 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -187,6 +187,10 @@ case "${targ}" in targ_selvecs="bfd_elf64_ia64_hpux_big_vec" want64=true ;; + ia64*-*-*vms*) + targ_defvec=bfd_elf64_ia64_vms_vec + want64=true + ;; sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) targ_defvec=bfd_elf64_sparc_freebsd_vec targ_selvecs="bfd_elf64_sparc_vec bfd_elf32_sparc_vec sunos_big_vec" diff --git a/bfd/configure b/bfd/configure index a3ca40f..eaab98d 100755 --- a/bfd/configure +++ b/bfd/configure @@ -458,7 +458,7 @@ ac_includes_default="\ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS' ac_subst_files='' ac_pwd=`pwd` @@ -1012,7 +1012,6 @@ Optional Features: --disable-libtool-lock avoid locking (might break parallel builds) --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) --enable-targets alternative target configurations - --enable-commonbfdlib build shared BFD/opcodes/libiberty library --enable-secureplt Default to creating read-only plt entries --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON type --enable-werror treat compile warnings as errors @@ -5720,13 +5719,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" hooks/post-receive -- Repository for Project Archer.