The branch, archer-pmuldoon-python-backtrace has been updated via d7f9500d9e6602fb6067a5881e74c5420dbaf9c8 (commit) via 9fafcc0b32dead133ecf287613e27673a04d494b (commit) via e7acb4313b3cfc36904fa7af36951c1d2506c92f (commit) via 833a86f61c9309bd1969b6bdf8d44fc7d85137ab (commit) via 22b4715a126c04ee32a1035a089a6572da634b0e (commit) via a9b502d32998feb5232900caacd0434c5dd83cfd (commit) via 725d349ca33589b5090ed8ab01b2183e79a519e7 (commit) via 7d4a6b09c8370301414e2d16a5a6276087c06c79 (commit) via 1735c95af7dfb62073f03fff7f9cdf2a2864d12b (commit) via 2b5c243b4699455294a5087d46926d263882fe66 (commit) via e493a2763e7b1f4f0621651eb75c5ab81b3345d3 (commit) via cf9cee187411f994b30fdedfbe19c79cd266b8d8 (commit) via 694f471701aa8adac8f09a31bc713397bdb315bf (commit) via 775f009526211c189caf7d39f6210f87264e7eff (commit) via b34e35f119e5a6ba3ad6640fd8b8488b3c3e4557 (commit) via ca5cb667e64339dcd2c41717fa8790c3c0115b3e (commit) via 1ae3e33fd54ef9ca560ac70e365e67152f1a3f53 (commit) via c4780b7ad5baaee7a84bef83839b4ca43156387e (commit) via b786bc9853154980d210b688c850b081fc14f22e (commit) via 5bf42c5b7a6b35676cd5836330e3ba0b9bf98c4f (commit) via 25d216af65c60f4f8f0e1c6447736bac9219ff04 (commit) via ce7c6a44dd3d384fa518ff76b62dd5af5d23ee6e (commit) via 4411ab11224f7afb3a808d05c8d88d4b79ed2f1b (commit) via d058aa73b25478f2158dea6f9955838c230fefef (commit) via 330835f7ccaf2005f83c867308cac7d5e74ca90c (commit) via 41284d06a97454baa969700ebba583fc01dcd8df (commit) via 97f161a2e297a77530a3bfd3b4e6d42587cd6b99 (commit) via b5bd04b0837147e8c73c8cd74e6955f42ac0ebbf (commit) via 0117de4392fb46315c5519bb068ef9a447afe22b (commit) via 4af947d5298d69b39c16683c23e3dec72c95a81c (commit) via 56ece92d34dd2d6021cdd1f21cb5327fee510382 (commit) via d0c894ab14958b82910a14a0729fb85b0b3bff37 (commit) via 2e1133e9004c87a0a694831d1bd8e88761c5df63 (commit) via 1101353454d147a88c3cbcec0507bb8e85ac1769 (commit) via 7637b5848574bc7085e62bc61c3f6899f5467533 (commit) via 4c8a1c4edeb9f75b187962c83fb2ef1870fda999 (commit) via 66ac5d0d1d3d21be2443a6b161af69e76971b926 (commit) via 79853a679f4784db99d3528fbf98886da4073b86 (commit) via 3cd03e9a32a456e7c97eb9ed11b8b31b6f950837 (commit) via 8e7f750073a309f7950ec374e5dc61a7f2d0e5e7 (commit) via a6aaf3cdc60679e96ad0a12eb17c85f6528a2ae9 (commit) via 47edc94a78c6650d0f5f5ce32e45cdc3d62b4adb (commit) via 9a829ff6793ab71dcae9abd1b8f5a704a82b4e60 (commit) via eed5222a6f9fe21423112fd5132ba71e28e42da3 (commit) via d3a28c3135101c31defc4632a2453836ef226613 (commit) via fb11f48c4e3d090583ad106db557a684e4d5dcc2 (commit) via e8370ca50fb32c1561e962b07c2e84cf715f2416 (commit) via 602c5e1f860a01590f87284a462c0420721cabfe (commit) via 5c068652b15c430e68e20eac9b34554451088156 (commit) via 9e32cddf31054c7af967b794d731e2eb128099fd (commit) via b62510a151b2b377e16f307bb64ffdac3a44fc72 (commit) via ee1e0707e6a3dd6e20aa19b895e23b4f2ccb1653 (commit) via 5e96d5241c877ccff10c46f6b40f701d56c1f745 (commit) via 6da592454bc977d2ac0140a4f8a59659a6448588 (commit) via 99eb1c237fa33bcfc0862513eaf7e2f1216a0c14 (commit) via 649d50729de1f62bd96539a18857380bb2377432 (commit) via 7bdaa230a7fc333f81a0622d330ad2c6b010a08d (commit) via 217968566e210aefa576734b8859a4177bd3dd53 (commit) via f6ba08c0862d2cf52a31053f38cfbbe54a32da6e (commit) via c617a1c72a67a5544e4417bda57c20c27d19d599 (commit) via cbdc05be0013b29907e42bd58e58e8ebcea96e28 (commit) via e4110edfad0aefe99733814f7ed2463ccfa9a63a (commit) via df37d818e505165941ceff793fb222616d95ff4e (commit) via 44e688d2612fa2e3f80420502ce203db0e314e60 (commit) via 515da1cefcf4dbd92bbc293e471ef5e5eaf5d8df (commit) via e4c7564bb5fc1a8b121a22435324bdc354eb0430 (commit) via 7ed4993567488cb95304566c96ee9162fc97c230 (commit) via 2971f82e774b5ff41b7c0e6327e9d4c095f5be1b (commit) via 3d437467f5ea95a33403af35f935770c32666342 (commit) via 350bcb623fdb187bb75998169e9ea5e40bd95768 (commit) via 604765312055720ecca91509dc16cf5ea331ddd1 (commit) via de23be1b47d023f499dba8f9b036d45115b5c044 (commit) via cadf2edc905fabb80cc3aeb90199bce7d6ba5f9d (commit) via 97143778fc8aceaca6895de13b93c88811402441 (commit) via a7057ca7d3c4ff310d19018161de3f79052528a3 (commit) via 1378893e46ccd84937aaa4adbb7016097ff3267c (commit) via 69a5e2b022c7d15ec4c7c49e6f53a8d924d3b72b (commit) via dfa708d0d9c69edf81151a4fe004a68c0ed445e0 (commit) via 9df5e4a424f8ded373cde26770f3dba1abf5d3a7 (commit) via 9b4d285613a594813ddadfe3ee6a4283978f2e82 (commit) via 510ea979974ed489bfd81cc1fa4a0da784d14706 (commit) via 0435e68c5179b43a4bced017a8f6bd004f014133 (commit) via d89b1f27abd6d722c2d4b3096dd50945a0c84357 (commit) via 25e22952d36c2116ace6a0c42f674be99fadb909 (commit) from 8a1e1772259968d49dd6a96c4e9b86fdbce3e130 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d7f9500d9e6602fb6067a5881e74c5420dbaf9c8 Merge: 8a1e177 9fafcc0 Author: Phil Muldoon Date: Thu Aug 23 15:55:45 2012 +0100 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit 9fafcc0b32dead133ecf287613e27673a04d494b Author: qiyao Date: Thu Aug 23 14:01:41 2012 +0000 gdb/testsuite/ * boards/native-gdbserver.exp (${board}_upload): New. * boards/native-stdio-gdbserver.exp (${board}_upload): New. * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'. Execute tfile on remote target. Copy trace file from target to host. commit e7acb4313b3cfc36904fa7af36951c1d2506c92f Author: qiyao Date: Thu Aug 23 01:41:05 2012 +0000 gdb/gdbserver/ * server.h: Remove declaration of 'xsnprintf'. commit 833a86f61c9309bd1969b6bdf8d44fc7d85137ab Author: Alan Modra Date: Thu Aug 23 00:00:04 2012 +0000 daily update commit 22b4715a126c04ee32a1035a089a6572da634b0e Author: gdbadmin Date: Thu Aug 23 00:00:02 2012 +0000 *** empty log message *** commit a9b502d32998feb5232900caacd0434c5dd83cfd Author: sergiodj Date: Wed Aug 22 21:31:14 2012 +0000 2012-08-22 Sergio Durigan Junior * remote-sim.c (_initialize_remote_sim): Pass NULL argument to `register_inferior_data_with_cleanup', fixing regression on PowerPC64. commit 725d349ca33589b5090ed8ab01b2183e79a519e7 Author: khooyp Date: Wed Aug 22 21:04:52 2012 +0000 Enable readline in Python in a GDB-specific way and block the standard Python readline module to prevent conflicts with GDB. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o. (SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c. (py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c. * python/py-gdb-readline.c: New file. * python/python-internal.h (gdbpy_initialize_gdb_readline): New prototype. * python/python.c (_initialize_python): Call gdbpy_initialize_gdb_readline. commit 7d4a6b09c8370301414e2d16a5a6276087c06c79 Author: Keith Seitz Date: Wed Aug 22 20:04:03 2012 +0000 * defs.h: Include build-gnulib/config.h * server.h: Include build-gnulib-gbserver/config.h. * gdbreplay.c: Likewise. commit 1735c95af7dfb62073f03fff7f9cdf2a2864d12b Author: Joseph Myers Date: Wed Aug 22 19:47:55 2012 +0000 * arm-tdep.c (thumb_get_next_pc_raw): Mask off low bits for bx pc and blx pc. testsuite: * gdb.arch/thumb-bx-pc.S: New file. * gdb.arch/thumb-bx-pc.exp: New file. commit 2b5c243b4699455294a5087d46926d263882fe66 Author: khooyp Date: Wed Aug 22 19:15:13 2012 +0000 Add a new "python-interactive" command that starts a standard Python interactive prompt with "pi" as alias, and add "py" as an alias to "python". * NEWS: Mention the new commands. * doc/gdb.texinfo (Python Commands): Document the new commands. * python/python.c (eval_python_command): New function. (python_interactive_command): For "python-interactive" with arguments, call eval_python_command. For "python-interactive" without arguments, call PyRun_InteractiveLoop. (_initialize_python): Add "python-interactive" command with "pi" as alias, and add "py" as an alias to "python". commit e493a2763e7b1f4f0621651eb75c5ab81b3345d3 Author: Tom Tromey Date: Wed Aug 22 17:48:45 2012 +0000 * defs.h (quit_flag): Don't declare. (clear_quit_flag, check_quit_flag, set_quit_flag): Declare. (QUIT): Use new functions. * event-top.c (command_handler): Use clear_quit_flag. (handle_sigint): Use set_quit_flag. (async_request_quit): Use check_quit_flag. Don't check immediate_quit. * exceptions.c (throw_exception): Use clear_quit_flag. * main.c (captured_main): Use clear_quit_flag. * python/python.c (clear_quit_flag, set_quit_flag) (check_quit_flag): New functions. * remote-sim.c (gdb_os_poll_quit): Use check_quit_flag, clear_quit_flag. * remote.c (remote_wait_as): Use check_quit_flag, clear_quit_flag. (remote_start_remote): Call QUIT. * symfile.c (load_progress): Use check_quit_flag. * top.c (command_loop): Use clear_quit_flag. (command_line_input): Call QUIT. * utils.c (quit_flag): Conditionally define. (clear_quit_flag, check_quit_flag, set_quit_flag): New functions. (prompt_for_continue): Call QUIT. Use quit, not async_request_quit. * remote-mips.c (mips_expect_timeout): Call QUIT. * monitor.c (monitor_expect): Call QUIT. commit cf9cee187411f994b30fdedfbe19c79cd266b8d8 Author: Tom Tromey Date: Wed Aug 22 17:31:40 2012 +0000 * event-top.c (sigwinch_token, handle_sigwinch): Remove. (async_init_signals): Update. * utils.c (init_page_info): Don't use SIGWINCH_HANDLER. (SIGWINCH_HANDLER_BODY): Remove. gdb/doc * gdbint.texinfo (Host Definition): Remove documentation for SIGWINCH_HANDLER and SIGWINCH_HANDLER_BODY. commit 694f471701aa8adac8f09a31bc713397bdb315bf Author: Tom Tromey Date: Wed Aug 22 16:44:44 2012 +0000 * jit.c (jit_object_close_impl): Don't malloc the objfile name. * objfiles.c (allocate_objfile): Don't malloc the objfile name. (free_objfile): Don't free the objfile name. * objfiles.h (struct objfile) : Update comment. * symfile.c (reread_symbols): Fix reference counting. Don't malloc objfile name. commit 775f009526211c189caf7d39f6210f87264e7eff Author: Tom Tromey Date: Wed Aug 22 16:24:38 2012 +0000 * windows-nat.c (windows_make_so): Use gdb_bfd_open. * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_open. (symfile_bfd_open): Likewise. (generic_load): Likewise. * solib.c (solib_bfd_fopen): Use gdb_bfd_open. * solib-pa64.c (pa64_solib_create_inferior_hook): Use gdb_bfd_open. * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): Use gdb_bfd_open. * rs6000-nat.c (add_vmap): Use gdb_bfd_open. * remote-mips.c (mips_load_srec): Use gdb_bfd_open. (pmon_load_fast): Likewise. * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_open. * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_open. * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_open. (macho_check_dsym): Likewise. * m32r-rom.c (m32r_load): Use gdb_bfd_open. (m32r_upload_command): Likewise. * gdb_bfd.h (gdb_bfd_cache): Declare. * gdb_bfd.c (struct gdb_bfd_data): New. (gdb_bfd_cache): New global. (struct gdb_bfd_cache_search): New. (hash_bfd): New function. (eq_bfd): Likewise. (gdb_bfd_open): Likewise. (gdb_bfd_ref): Allocate a gdb_bfd_data and attach to the BFD. (gdb_bfd_unref): Remove closed BFD from cache. Update for gdb_bfd_data. * exec.c (exec_file_attach): Use gdb_bfd_open. * dsrec.c (load_srec): Use gdb_bfd_open. commit b34e35f119e5a6ba3ad6640fd8b8488b3c3e4557 Author: Tom Tromey Date: Wed Aug 22 16:12:47 2012 +0000 * dwarf2read.c (macro_start_file): Update. * objfiles.c (get_objfile_bfd_data): Initialize macro_cache. (free_objfile_per_bfd_storage): Destroy macro_cache. (allocate_objfile, free_objfile): Update. * objfiles.h (struct objfile_per_bfd_storage) : New field. (struct objfile) : Remove. * symfile.c (reread_symbols): Update. * symmisc.c (print_symbol_bcache_statistics): Update. (print_objfile_statistics): Update. commit ca5cb667e64339dcd2c41717fa8790c3c0115b3e Author: Tom Tromey Date: Wed Aug 22 16:01:06 2012 +0000 * elfread.c (elf_symtab_read): Update. * objfiles.c (objfiles_bfd_data): New global. (get_objfile_bfd_data, free_objfile_per_bfd_storage) (objfile_bfd_data_free, set_objfile_per_bfd): New functions. (allocate_objfile, free_objfile): Update. (_initialize_objfiles): Initialize objfiles_bfd_data. * objfiles.h (struct objfile_per_bfd_storage): New. (struct objfile) : New field. : Remove. (set_objfile_per_bfd): Declare. * symfile.c (reread_symbols): Update. Call set_objfile_per_bfd. (allocate_symtab): Update. * symmisc.c (print_symbol_bcache_statistics): Update. (print_objfile_statistics): Print the size of the BFD obstack. gdb/testsuite * gdb.base/maint.exp: Update. commit 1ae3e33fd54ef9ca560ac70e365e67152f1a3f53 Author: Tom Tromey Date: Wed Aug 22 15:50:37 2012 +0000 * gdb_bfd.h: Include registry.h. Use DECLARE_REGISTRY. * gdb_bfd.c: Use DEFINE_REGISTRY. (struct gdb_bfd_data): Add REGISTRY_FIELDS. (gdb_bfd_ref): Call bfd_alloc_data. (gdb_bfd_unref): Call bfd_free_data. commit c4780b7ad5baaee7a84bef83839b4ca43156387e Author: Tom Tromey Date: Wed Aug 22 15:31:10 2012 +0000 * registry.h (struct registry_fields): New. (REGISTRY_FIELDS): Redefine. (REGISTRY_ACCESS_FIELD): New macro. (DEFINE_REGISTRY): Add ACCESS argument. Update defined functions. commit b786bc9853154980d210b688c850b081fc14f22e Author: Tom Tromey Date: Wed Aug 22 15:17:18 2012 +0000 * auto-load.c (_initialize_auto_load): Update. * solib-svr4.c (_initialize_svr4_solib): Update * solib-dsbt.c (_initialize_dsbt_solib): Update. * solib-darwin.c (_initialize_darwin_solib): Update. * registry.h: New file. * python/py-progspace.c (gdbpy_initialize_pspace): Update. * python/py-inferior.c (gdbpy_initialize_inferior): Update. * progspace.h: Include registry.h. Use DECLARE_REGISTRY. (register_program_space_data_with_cleanup) (register_program_space_data, program_space_alloc_data) (clear_program_space_data, set_program_space_data) (program_space_data): Don't declare. * progspace.c: Use DEFINE_REGISTRY. (struct program_space_data, struct program_space_data_registration, struct program_space_data_registry, program_space_data_registry) (register_program_space_data_with_cleanup) (register_program_space_data, program_space_alloc_data) (program_space_free_data, clear_program_space_data) (set_program_space_data, program_space_data): Remove. * objfiles.h: Include registry.h. Use DECLARE_REGISTRY. (struct objfile) : Replace with REGISTRY_FIELDS. (register_objfile_data_with_cleanup, register_objfile_data) (clear_objfile_data, set_objfile_data, objfile_data): Don't declare. * objfiles.c: Use DEFINE_REGISTRY. (struct objfile_data, struct objfile_data_registration, struct objfile_data_registry, objfile_data_registry) (register_objfile_data_with_cleanup, register_objfile_data) (objfile_alloc_data, objfile_free_data, clear_objfile_data) (set_objfile_data, objfile_data): Remove. (_initialize_objfiles): Update. * jit.c (_initialize_jit): Update. * inflow.c (_initialize_inflow): Update. * inferior.h: Include registry.h. Use DECLARE_REGISTRY. (struct inferior) : Replace with REGISTRY_FIELDS. (register_inferior_data_with_cleanup, register_inferior_data) (clear_inferior_data, set_inferior_data, inferior_data): Don't declare. * inferior.c: Use DEFINE_REGISTRY. (struct inferior_data, struct inferior_data_registration, struct inferior_data_registry, inferior_data_registry) (register_inferior_data_with_cleanup, register_inferior_data) (inferior_alloc_data, inferior_free_data clear_inferior_data) (set_inferior_data, inferior_data): Remove. * auxv.c (_initialize_auxv): Update. * ada-lang.c (_initialize_ada_language): Update. * breakpoint.c (_initialize_breakpoint): Update. * i386-nat.c (i386_use_watchpoints): Update. commit 5bf42c5b7a6b35676cd5836330e3ba0b9bf98c4f Author: Tom Tromey Date: Wed Aug 22 15:01:47 2012 +0000 * exec.c (exec_close, exec_file_attach): Update. (add_to_section_table): Initialize 'key' field. (add_target_sections, remove_target_sections): Add 'key' argument. * exec.h (add_target_sections, remove_target_sections): Add 'key' argument. * solib.c (solib_map_sections, update_solib_list, clear_solib) (reload_shared_libraries_1): Update. * target.h (struct target_section) : New field. commit 25d216af65c60f4f8f0e1c6447736bac9219ff04 Author: Tom Tromey Date: Wed Aug 22 14:27:46 2012 +0000 * lib/gdb.exp (skip_unwinder_tests): New proc. * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests. * gdb.java/jnpe.exp: Use skip_unwinder_tests. commit ce7c6a44dd3d384fa518ff76b62dd5af5d23ee6e Author: Tom Tromey Date: Wed Aug 22 14:23:58 2012 +0000 * cli/cli-cmds.c (filter_sals): Handle nelts == 0 case. commit 4411ab11224f7afb3a808d05c8d88d4b79ed2f1b Author: gdbadmin Date: Wed Aug 22 00:00:34 2012 +0000 *** empty log message *** commit d058aa73b25478f2158dea6f9955838c230fefef Author: Alan Modra Date: Wed Aug 22 00:00:04 2012 +0000 daily update commit 330835f7ccaf2005f83c867308cac7d5e74ca90c Author: David S. Miller Date: Tue Aug 21 23:00:35 2012 +0000 Fix sparc opcode encoding for 4-arg crypto instructions. include/opcode * sparc.h (F3F4): New macro. opcodes * sparc-opc.c (4-argument crypto instructions): Fix encoding using F3F4 macro. gas/testsuite * gas/sparc/crypto.d: Fix opcodes for 4-arg crypto instructions. commit 41284d06a97454baa969700ebba583fc01dcd8df Author: Tom Tromey Date: Tue Aug 21 19:36:46 2012 +0000 * gdb.hp/gdb.aCC/exception.exp: Remove. commit 97f161a2e297a77530a3bfd3b4e6d42587cd6b99 Author: Pierre Muller Date: Tue Aug 21 15:43:46 2012 +0000 * symfile.c (allocate_symtab): Use host_address_to_string function instead of cast of pointer to long which is not compatible with x86_64-w64-mingw32 build. commit b5bd04b0837147e8c73c8cd74e6955f42ac0ebbf Author: gdbadmin Date: Tue Aug 21 00:00:32 2012 +0000 *** empty log message *** commit 0117de4392fb46315c5519bb068ef9a447afe22b Author: Alan Modra Date: Tue Aug 21 00:00:05 2012 +0000 daily update commit 4af947d5298d69b39c16683c23e3dec72c95a81c Author: Tom Tromey Date: Mon Aug 20 14:32:28 2012 +0000 * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for areltdata. * opncls.c (_bfd_delete_bfd): Free arelt_data. * mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for areltdata. * ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata. * coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for areltdata. (xcoff_write_archive_contents_old): Likewise. (xcoff_write_archive_contents_big): Likewise. * archive64.c (bfd_elf64_archive_slurp_armap): Use free for areltdata. * archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and free for areltdata. (_bfd_get_elt_at_filepos): Likewise. Clear n_nfd->arelt_data on failure. (do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata. (do_slurp_coff_armap): Likewise. (_bfd_slurp_extended_name_table): Likewise. (bfd_slurp_bsd_armap_f2): Likewise. Don't leak 'mapdata'. commit 56ece92d34dd2d6021cdd1f21cb5327fee510382 Author: Alan Modra Date: Mon Aug 20 03:20:22 2012 +0000 opcodes/ChangeLog * ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub, vabsduh, vabsduw, mviwsplt. gas/testsuite/ChangeLog * gas/ppc/e6500.d: Changed opcode for vabsdub, vabsduh, vabsduw, mviwsplt. commit d0c894ab14958b82910a14a0729fb85b0b3bff37 Author: Alan Modra Date: Mon Aug 20 00:00:04 2012 +0000 daily update commit 2e1133e9004c87a0a694831d1bd8e88761c5df63 Author: gdbadmin Date: Mon Aug 20 00:00:03 2012 +0000 *** empty log message *** commit 1101353454d147a88c3cbcec0507bb8e85ac1769 Author: pinskia Date: Sun Aug 19 22:22:48 2012 +0000 2012-08-19 Andrew Pinski * mips-tdep.c (is_octeon): New function. (is_octeon_bbit_op): New function. (mips32_next_pc): Handle Octeon's bbit instructions. (mips32_instruction_has_delay_slot): Likewise. 012-08-19 Andrew Pinski * gdb.arch/mips-octeon-bbit.c: New file. * gdb.arch/mips-octeon-bbit.exp: New Test. commit 7637b5848574bc7085e62bc61c3f6899f5467533 Author: pinskia Date: Sun Aug 19 22:21:18 2012 +0000 2012-08-19 Andrew Pinski * mips-tdep.c (mips32_next_pc): Fix line spacing of the comment before the function. commit 4c8a1c4edeb9f75b187962c83fb2ef1870fda999 Author: pinskia Date: Sun Aug 19 22:20:26 2012 +0000 2012-08-19 Andrew Pinski * mips-tdep.c (mips32_next_pc): Consolidate calls to itype_op. commit 66ac5d0d1d3d21be2443a6b161af69e76971b926 Author: Keith Seitz Date: Sun Aug 19 19:37:49 2012 +0000 PR c++/14365 * c-typeprint.c (c_type_print_varspec_prefix): Pass -1 for SHOW to c_type_print_base for METHODPTR and MEMBERPTR. * gdb.dwarf2/dw2-anon-mptr.exp: New file. * gdb.dwarf2/dw2-anon-mptr.S: New file. commit 79853a679f4784db99d3528fbf98886da4073b86 Author: Alan Modra Date: Sun Aug 19 00:00:04 2012 +0000 daily update commit 3cd03e9a32a456e7c97eb9ed11b8b31b6f950837 Author: gdbadmin Date: Sun Aug 19 00:00:03 2012 +0000 *** empty log message *** commit 8e7f750073a309f7950ec374e5dc61a7f2d0e5e7 Author: Eli Zaretskii Date: Sat Aug 18 11:00:36 2012 +0000 Fix a typo that prevented "make TAGS" from working. gdb/Makefile.in (HFILES_NO_SRCDIR): Fix a typo: golang.h -> go-lang.h. The typo broke "make TAGS". commit a6aaf3cdc60679e96ad0a12eb17c85f6528a2ae9 Author: Jan Kratochvil Date: Sat Aug 18 07:02:08 2012 +0000 gdb/testsuite/ * gdb.base/solib-corrupted.exp (make solibs looping): Replace verbose -log by more specific untested call. commit 47edc94a78c6650d0f5f5ce32e45cdc3d62b4adb Author: qiyao Date: Sat Aug 18 01:00:18 2012 +0000 gdb/testsuite/ * gdb.trace/tfind.exp: Move tests on various command help before checking target supports trace. Fix the expected output of 'help tfind end'. commit 9a829ff6793ab71dcae9abd1b8f5a704a82b4e60 Author: Alan Modra Date: Sat Aug 18 00:00:05 2012 +0000 daily update commit eed5222a6f9fe21423112fd5132ba71e28e42da3 Author: gdbadmin Date: Sat Aug 18 00:00:03 2012 +0000 *** empty log message *** commit d3a28c3135101c31defc4632a2453836ef226613 Author: Andreas Schwab Date: Fri Aug 17 21:59:31 2012 +0000 * floatformat.c (floatformat_to_double): Correctly handle numbers between 1 and 2. Simplify handling of denormal number. (main): Test with 1.1. commit fb11f48c4e3d090583ad106db557a684e4d5dcc2 Author: gdbadmin Date: Fri Aug 17 18:41:46 2012 +0000 GDB 7.5 released. commit e8370ca50fb32c1561e962b07c2e84cf715f2416 Author: Keith Seitz Date: Fri Aug 17 17:36:56 2012 +0000 PR c++/13356 * gdbtypes.c (strict_type_checking): New variable. (show_strict_type_checking): New function. (rank_one_type): Return NS_POINTER_INTEGER_CONVERSION_BADNESS if strict type checking is disabled. (_initialize_gdbtypes): Add "check type" subcommand. * gdbtypes.h (NS_INTEGER_POINTER_CONVERSION_BADNESS): New struct. PR c++/13356 * gdb.base/default.exp: Update all "check type" tests. * gdb.base/help.exp: Likewise. * gdb.base/setshow.exp: Likewise. * gdb.cp/converts.cc (foo1_type_check): New function. (foo2_type_check): New function. (foo3_type_check): New function. (main): Call new functions. * converts.exp: Add tests for integer-to-pointer conversions with/without strict type-checking. PR c++/13356 * gdb.texinfo (Type and Range Checking): Remove warning. Remove spurious commas. Update text and examples for re-implementation of set/show check type. (C and C++ Type and Range Checks): Likewise. * language.h (type_mode): Remove. (type_check): Remove. (struct language_defn): Remove la_type_check. (STRICT_TYPE): Remove unused macro. (type_error): Remove. * language.c (set_type_range_case): Renamed to ... (set_range_case): ... this. Update all callers. Remove type_mode/type_check. (type_mode): Remove. (type_check): Remove. (show_type_command): Remove. (set_type_command): Remove. (language_info): Remove type checking output. (type_error): Remove unused function. (range_error): Update comment. (unknown_language_defn): Remove la_type_check. (auto_language_defn): Likewise. (local_language_defn): Likewise. (_initialize_language): Remove "check type" subcommand. * ada-lang.c (ada_language_defn): Remove la_type_check. * c-lang.c (c_language_defn): Likewise. (cplus_language_defn): Likewise. (asm_language_defn): Likewise. (minimal_language_defn): Likewise. * d-lang.c (d_language_defn): Likewise. * f-lang.c (f_language_defn): Likewise. * go-lang.c (go_language_defn): Likewise. * jv-lang.c (java_language_defn): Likewise. * m2-lang.c (m2_language_defn): Likewise. * objc-lang.c (objc_language_defn): Likewise. * opencl-lang.c (opencl_language_defn): Likewise. * p-lang.c (pascal_language_defn): Likewise. commit 602c5e1f860a01590f87284a462c0420721cabfe Author: H.J. Lu Date: Fri Aug 17 17:12:32 2012 +0000 Add AMD btver1 and btver2 support gas/ 2012-08-17 Nagajyothi Eggone * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and CPU_BTVER2_FLAGS. (i386_align_code): Add case for PROCESSOR_BT. * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT. * doc/c-i386.texi: Add -march={btver1, btver2} options. gas/testsuite/ 2012-08-17 Nagajyothi Eggone * gas/i386/i386.exp: Run btver1 and btver2 test cases. * gas/i386/nops-1-btver1.d: New. * gas/i386/nops-1-btver2.d: New. * gas/i386/arch-10-btver1.d: New. * gas/i386/arch-10-btver2.d: New. * gas/i386/x86-64-nops-1-btver1.d: New. * gas/i386/x86-64-nops-1-btver2.d: New. * gas/i386/x86-64-arch-2-btver1.d: New. * gas/i386/x86-64-arch-2-btver2.d: New. opcodes/ 2012-08-17 Nagajyothi Eggone * i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and CPU_BTVER2_FLAGS. * i386-opc.h: Update CpuPRFCHW comment. * i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. commit 5c068652b15c430e68e20eac9b34554451088156 Author: Nick Clifton Date: Fri Aug 17 14:33:22 2012 +0000 * po/vi.po: Updated Vietnamese translation. * po/uk.po: New Ukranian translation. * configure.in (ALL_LINGUAS): Add uk. * configure: Regenerate. commit 9e32cddf31054c7af967b794d731e2eb128099fd Author: Mike Frysinger Date: Fri Aug 17 03:06:10 2012 +0000 gdb: fix test failures after updating usage strings commit b62510a151b2b377e16f307bb64ffdac3a44fc72 Author: Alan Modra Date: Fri Aug 17 02:39:26 2012 +0000 typo fixes commit ee1e0707e6a3dd6e20aa19b895e23b4f2ccb1653 Author: Alan Modra Date: Fri Aug 17 01:06:27 2012 +0000 PR binutils/14475: * archive.c (bfd_ar_hdr_from_filesystem): Revert last change. Instead malloc areltdata. commit 5e96d5241c877ccff10c46f6b40f701d56c1f745 Author: gdbadmin Date: Fri Aug 17 00:00:33 2012 +0000 *** empty log message *** commit 6da592454bc977d2ac0140a4f8a59659a6448588 Author: Alan Modra Date: Fri Aug 17 00:00:04 2012 +0000 daily update commit 99eb1c237fa33bcfc0862513eaf7e2f1216a0c14 Author: Joel Brobecker Date: Thu Aug 16 23:55:01 2012 +0000 fix internal_error during fork event handling. When running on ia64-hpux a program that calls fork, GDB currently reports the following internal error: internal-error: Can't determine the current address space of thread process 1882 Here is what happens: 1. GDB receives a "fork" event; 2. handle_inferior_event calls detach_breakpoints for the child process; 3. detach_breakpoints calls ia64's gdbarch remove_breakpoint hook, which needs to read an entire instruction slot in order to remove a breakpoint instruction from memory; 4. To read inferior memory, the ia64-hpux code needs to know where that memory is located relative to the bsp..bspstore area, and thus needs to read the value of those registers; 5. To get the value of those registers, ia64_hpux_xfer_memory current uses the current regcache. The problem is that at the time we are trying to remove the breakpoints from the child, the child process is not part of the list of inferiors really known to GDB (it has not been added to inferior_list), so trying to create a regcache for it triggers an internal error when creating address space for the regcache (as the address space is ultimately fetched from the inferior). To work around this limitation, ia64_hpux_xfer_memory has been modified to detect the fact the current inferior is not in our inferior list, and to go, in that case, straight to the source to fetch the registers it needs. gdb/ChangeLog: * ia64-hpux-nat.c (ia64_hpux_get_register_from_save_state_t): New function. (ia64_hpux_xfer_memory): Check if inferior_ptid is known before using the regache. Use ia64_hpux_get_register_from_save_state_t to access the bsp and bspstore registers if not. commit 649d50729de1f62bd96539a18857380bb2377432 Author: Joel Brobecker Date: Thu Aug 16 23:54:50 2012 +0000 Change detach_breakpoints to take a ptid instead of a pid Before this change, detach_breakpoints would take a pid, and then set inferior_ptid to a ptid that it constructs using pid_to_ptid (pid). Unfortunately, this ptid is not necessarily valid. Consider for instance the case of ia64-hpux, where ttrace refuses a register-read operation if the LWP is not provided. This problems shows up when GDB is trying to handle fork events. Assuming GDB is configured to follow the parent, GDB will try to detach from the child. But before doing so, it needs to remove all breakpoints inside that child. On ia64, this involves reading inferior (the child's) memory. And on ia64-hpux, reading memory requires us to read the bsp and bspstore registers, in order to determine where that memory is relative to the value of those registers, and thus to determine which ttrace operation to use in order to fetch that memory (see ia64_hpux_xfer_memory). This patch therefore changes detach_breakpoints to take a ptid instead of a pid, and then updates all callers. One of the consequences of this patch is that it trips an assert on GNU/Linux targets. But this assert appears to have not actual purpose, and is thus removed. gdb/ChangeLog: * breakpoint.h (detach_breakpoints): pid parameter is now a ptid. * breakpoint.c (detach_breakpoints): Change pid parameter into a ptid. Adjust code accordingly. * infrun.c (handle_inferior_event): Delete variable child_pid. Update call to detach_breakpoints to pass the child ptid for fork events. * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Remove assert that inferior_ptid's lwp is zero. (linux_handle_extended_wait): Update call to detach_breakpoints. * inf-ttrace.c (inf_ttrace_follow_fork): Update call to detach_breakpoints. commit 7bdaa230a7fc333f81a0622d330ad2c6b010a08d Author: Joel Brobecker Date: Thu Aug 16 23:54:36 2012 +0000 inf_ttrace_follow_fork: detach_breakpoints called twice for child. When debugging a program that forks with follow-fork set to follow the parent, we end up calling detach_breakpoints for the child twice. On ia64-hpux, this leads to a warning when trying to remove the breakpoints the second time around, because the ia64 code detects that the address does not point to a breakpoint instruction. gdb/ChangeLog: * inf-ttrace.c (inf_ttrace_follow_fork): When following the parent, only call detach_breakpoints if tts.tts_event == TTEVT_VFORK. commit 217968566e210aefa576734b8859a4177bd3dd53 Author: Peter Bergner Date: Thu Aug 16 18:12:37 2012 +0000 * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and RBX for the third operand. <"lswi">: Use RAX for second and NBI for the third operand. commit f6ba08c0862d2cf52a31053f38cfbbe54a32da6e Author: Joel Brobecker Date: Thu Aug 16 15:45:38 2012 +0000 DWARF frame unwinder executes one too many rows The problem is trying to unwind from a function where %ebp is NOT used as the frame pointer, and the size of the frame changes over the lifetime of that function. For instance, trying to unwind past the GNAT runtime function called system.tasking.rendezvous.timed_selective_wait on x86-linux, one can get: (gdb) bt [...] #3 0x0805364b in system.tasking.rendezvous.timed_selective_wait () #4 0xb7fe5068 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Looking at the CFI, we find the following initial instructions... > DW_CFA_def_cfa: %esp+4 (r4 ofs 4) > DW_CFA_offset: %eip at cfa-4 (r8 = %eip) ... and the associated FDE: > 00001be4 00000054 00001be8 FDE cie=00000000 pc=08053310..08053951 [...] > DW_CFA_advance_loc: 8 to 080534ad > DW_CFA_def_cfa_offset: 112 > DW_CFA_advance_loc2: 414 to 0805364b > DW_CFA_def_cfa_offset: 108 [...] The problem is that the DWARF frame unwinder executed the FDE until the row for PC == 0x0805364b. But in reality, our program hasn't executed the instruction at that address yet (it is the return address). So GDB executed a little too much of the FDE, giving us the wrong offset for the frame base, and thus the wrong address where %eip got saved. This patch fixes the problem by using a more correct PC as the bound for executing the FDE. gdb/ChangeLog: * dwarf2-frame.c (dwarf2_frame_cache): Use get_frame_address_in_block instead of get_frame_pc as the bound for executing the frame's FDE. gdb/testsuite/ChangeLog: * gdb.ada/rdv_wait: New testcase. commit c617a1c72a67a5544e4417bda57c20c27d19d599 Author: Tom Tromey Date: Thu Aug 16 14:24:42 2012 +0000 PR binutils/14475: * archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on 'member' BFD. Don't try to free 'ared'. commit cbdc05be0013b29907e42bd58e58e8ebcea96e28 Author: Nick Clifton Date: Thu Aug 16 08:38:45 2012 +0000 oops - acxidentally omitted from previous delta. commit e4110edfad0aefe99733814f7ed2463ccfa9a63a Author: Nick Clifton Date: Thu Aug 16 07:56:19 2012 +0000 * end.c: Include config.h before system header files. * erc32.c: Likewise. * exec.c: Likewise. * float.c: Likewise. * func.c: Likewise. * help.c: Likewise. * interf.c: Likewise. commit df37d818e505165941ceff793fb222616d95ff4e Author: qiyao Date: Thu Aug 16 07:36:11 2012 +0000 gdb/ * gdbtypes.h (enum type_code): Define TYPE_CODE_BITSTRING -1. * arm-tdep.c (arm_type_align): Remove code handling TYPE_CODE_BITSTRING. * c-typeprint.c (c_type_print_varspec_prefix): Likewise. (c_type_print_varspec_suffix): Likewise. * eval.c (evaluate_subexp_standard): Likewise. * f-typeprint.c (f_type_print_varspec_prefix): Likewise. (f_type_print_varspec_suffix): Likewise. * gdbtypes.c (is_scalar_type): Likewise. (recursive_dump_type): Likewise. * infcall.c (value_arg_coerce): Likewise. * m2-valprint.c (m2_val_print): Likewise. * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. (pascal_type_print_varspec_suffix): Likewise. (pascal_type_print_base): Likewise. * p-valprint.c (pascal_val_print): Likewise. (pascal_val_print): Likewise. * valops.c (value_slice): Likewise. * valprint.c (scalar_type_p): Likewise. * valarith.c (value_bitstring_subscript): Remove. (value_concat): Remove code handling TYPE_CODE_BITSTRING. Remove comment on TYPE_CODE_BITSTRING. * stabsread.c (read_type): Don't set TYPE_CODE (type) to TYPE_CODE_BITSTRING. * python/py-type.c (pyty_codes): Move ENTRY (TYPE_CODE_BITSTRING) to slot 0. gdb/doc: * gdb.texinfo (Types In Python): Mention gdb.TYPE_CODE_BITSTRING is deprecated. commit 44e688d2612fa2e3f80420502ce203db0e314e60 Author: qiyao Date: Thu Aug 16 07:26:15 2012 +0000 gdb/ * tracepoint.c (trace_find_none_command): Remove. (_initialize_tracepoint): Call add_alias_cmd for "tfind none". commit 515da1cefcf4dbd92bbc293e471ef5e5eaf5d8df Author: qiyao Date: Thu Aug 16 07:21:57 2012 +0000 gdb/ * remote.c (handle_notification): Remove parameter 'length'. (putpkt_binary, getpkt_or_notif_sane_1): Caller update. commit e4c7564bb5fc1a8b121a22435324bdc354eb0430 Author: gdbadmin Date: Thu Aug 16 00:00:33 2012 +0000 *** empty log message *** commit 7ed4993567488cb95304566c96ee9162fc97c230 Author: Alan Modra Date: Thu Aug 16 00:00:04 2012 +0000 daily update commit 2971f82e774b5ff41b7c0e6327e9d4c095f5be1b Author: Keith Seitz Date: Wed Aug 15 23:43:14 2012 +0000 * gdbtypes.c (opaque_type_resolution): Make static. Add missing comment. (overload_debug): Add missing comment. (show_opaque_type_resolution): Likewise. (show_overload_debug): Likewise. (print_bit_vector): Remove unnecessary forward declaration. (print_arg_types): Likewise. (dump_fn_fieldlists): Likewise. (print_cplus_stuff): Likewise. commit 3d437467f5ea95a33403af35f935770c32666342 Author: Keith Seitz Date: Wed Aug 15 23:25:08 2012 +0000 Forgotten commit from 2012-07-30. commit 350bcb623fdb187bb75998169e9ea5e40bd95768 Author: DJ Delorie Date: Wed Aug 15 22:37:56 2012 +0000 * rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01] operands, so that data addresses can be corrected when not ES-overridden. * rl78-decode.c: Regenerate. * rl78-dis.c (print_insn_rl78): Make order of modifiers irrelevent. When the 'e' specifier is used on an operand and no ES prefix is provided, adjust address to make it absolute. commit 604765312055720ecca91509dc16cf5ea331ddd1 Author: Peter Bergner Date: Wed Aug 15 21:25:21 2012 +0000 opcodes/ * ppc-opc.c : Use PPC_OPERAND_GPR. gas/testsuite/ * gas/ppc/power4.s : Add more tests. * gas/ppc/power4.d: Likewise. commit de23be1b47d023f499dba8f9b036d45115b5c044 Author: Peter Bergner Date: Wed Aug 15 15:33:24 2012 +0000 opcodes/ * ppc-opc.c : New extended mnemonics. gas/testsuite/ * gas/ppc/common.d ("nop", "xnop"): Add tests. * gas/ppc/common.s: Likewise. * gas/ppc/power7.d ("yield", "mdoio", "mdoom"): Add tests. * gas/ppc/power7.s: Likewise. commit cadf2edc905fabb80cc3aeb90199bce7d6ba5f9d Author: Tom Tromey Date: Wed Aug 15 14:33:39 2012 +0000 * gdb_bfd.c (struct gdb_bfd_data) : New field. (gdb_bfd_ref): Initialize new field. (gdb_bfd_unref): Unref the archive BFD. (gdb_bfd_openr_next_archived_file): Acquire a reference to the parent archive. commit 97143778fc8aceaca6895de13b93c88811402441 Author: Tom Tromey Date: Wed Aug 15 14:21:57 2012 +0000 PR python/14387: * python/py-bpevent.c (create_breakpoint_event_object): Update comment. * python/py-event.c (evpy_add_attribute): Update comment. * python/py-exitedevent.c (create_exited_event_object): Fix reference counting and error handling. * python/py-newobjfileevent.c (create_new_objfile_event_object): Fix reference counting. * python/py-signalevent.c (create_signal_event_object): Fix reference counting and error handling. * python/py-stopevent.c (emit_stop_event): Fix reference counting. * python/py-threadevent.c (get_event_thread): Return a borrowed reference. * python/py-type.c (convert_field): Fix reference counting. commit a7057ca7d3c4ff310d19018161de3f79052528a3 Author: Tom Tromey Date: Wed Aug 15 14:18:17 2012 +0000 * dwarf2read.c (dwarf_decode_macro_bytes) : Use pointer to included data as hash key. commit 1378893e46ccd84937aaa4adbb7016097ff3267c Author: Mike Frysinger Date: Wed Aug 15 01:59:40 2012 +0000 gdb: improve usage strings This adds Usage strings to a bunch of commands, tweaks the grammar in a few, and improves the help text for the handle command. Signed-off-by: Mike Frysinger commit 69a5e2b022c7d15ec4c7c49e6f53a8d924d3b72b Author: gdbadmin Date: Wed Aug 15 00:00:03 2012 +0000 *** empty log message *** commit dfa708d0d9c69edf81151a4fe004a68c0ed445e0 Author: Alan Modra Date: Wed Aug 15 00:00:03 2012 +0000 daily update commit 9df5e4a424f8ded373cde26770f3dba1abf5d3a7 Author: Maciej W. Rozycki Date: Tue Aug 14 22:00:05 2012 +0000 * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local macros, use local variables for info struct member accesses, update the type of the variable used to hold the instruction word. (print_insn_mips, print_mips16_insn_arg): Likewise. (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use local variables for info struct member accesses. (print_insn_micromips): Add GET_OP_S local macro. (_print_insn_mips): Update the type of the variable used to hold the instruction word. commit 9b4d285613a594813ddadfe3ee6a4283978f2e82 Author: Doug Evans Date: Tue Aug 14 19:35:47 2012 +0000 * gdbtypes.c (struct extra): Delete, unused. commit 510ea979974ed489bfd81cc1fa4a0da784d14706 Author: Doug Evans Date: Tue Aug 14 19:28:14 2012 +0000 * gdbtypes.c: Whitespace cleanup. (address_space_name_to_int): Remove "extern" from definition. (_initialize_gdbtypes): Declare with initialize_file_ftype. commit 0435e68c5179b43a4bced017a8f6bd004f014133 Author: Doug Evans Date: Tue Aug 14 19:03:46 2012 +0000 * gdbtypes.c (make_pointer_type): Remove redundant setting of TYPE_POINTER_TYPE (type). commit d89b1f27abd6d722c2d4b3096dd50945a0c84357 Author: Jan Kratochvil Date: Tue Aug 14 18:47:37 2012 +0000 gdb/testsuite/ * gdb.base/attach-twice.exp: Remove excessive ps exec. commit 25e22952d36c2116ace6a0c42f674be99fadb909 Author: gary Date: Tue Aug 14 16:16:03 2012 +0000 2012-08-14 Gary Benson * solib-svr4.c (svr4_free_library_list): Use free_so. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 44 + bfd/ChangeLog-0203 | 2 +- bfd/ChangeLog-2008 | 2 +- bfd/ChangeLog-2009 | 2 +- bfd/ChangeLog-2010 | 4 +- bfd/archive.c | 36 +- bfd/archive64.c | 2 +- bfd/coff-rs6000.c | 6 +- bfd/ecoff.c | 2 +- bfd/elf-bfd.h | 2 +- bfd/elf32-ppc.c | 2 +- bfd/elf64-ia64-vms.c | 2 +- bfd/elfnn-ia64.c | 2 +- bfd/elfxx-mips.c | 4 +- bfd/mach-o.c | 2 +- bfd/opncls.c | 1 + bfd/po/vi.po | 47 +- bfd/version.h | 2 +- bfd/vms-alpha.c | 2 +- bfd/vms-lib.c | 4 +- gdb/ChangeLog | 462 +++++++ gdb/Makefile.in | 8 +- gdb/NEWS | 8 + gdb/ada-lang.c | 3 +- gdb/arm-tdep.c | 3 +- gdb/auto-load.c | 3 +- gdb/auxv.c | 2 +- gdb/breakpoint.c | 9 +- gdb/breakpoint.h | 2 +- gdb/c-lang.c | 4 - gdb/c-typeprint.c | 6 +- gdb/cli/cli-cmds.c | 3 +- gdb/d-lang.c | 1 - gdb/defs.h | 25 +- gdb/doc/ChangeLog | 19 + gdb/doc/gdb.texinfo | 141 +-- gdb/doc/gdbint.texinfo | 8 - gdb/dsrec.c | 2 +- gdb/dwarf2-frame.c | 5 +- gdb/dwarf2read.c | 53 +- gdb/elfread.c | 2 +- gdb/eval.c | 6 - gdb/event-top.c | 31 +- gdb/exceptions.c | 2 +- gdb/exec.c | 28 +- gdb/exec.h | 5 +- gdb/f-lang.c | 1 - gdb/f-typeprint.c | 2 - gdb/gdb_bfd.c | 30 +- gdb/gdb_bfd.h | 4 + gdb/gdbserver/ChangeLog | 9 + gdb/gdbserver/gdbreplay.c | 2 + gdb/gdbserver/server.h | 4 +- gdb/gdbtypes.c | 112 ++- gdb/gdbtypes.h | 10 +- gdb/go-lang.c | 1 - gdb/i386-nat.c | 2 +- gdb/ia64-hpux-nat.c | 52 +- gdb/inf-ttrace.c | 8 +- gdb/infcall.c | 1 - gdb/infcmd.c | 29 +- gdb/inferior.c | 105 +-- gdb/inferior.h | 13 +- gdb/inflow.c | 2 +- gdb/infrun.c | 10 +- gdb/jit.c | 5 +- gdb/jv-lang.c | 1 - gdb/language.c | 137 +-- gdb/language.h | 30 - gdb/linux-nat.c | 3 +- gdb/m2-lang.c | 1 - gdb/m2-valprint.c | 16 +- gdb/m32r-rom.c | 4 +- gdb/machoread.c | 4 +- gdb/main.c | 2 +- gdb/mips-tdep.c | 68 +- gdb/monitor.c | 1 + gdb/objc-lang.c | 1 - gdb/objfiles.c | 206 ++-- gdb/objfiles.h | 58 +- gdb/opencl-lang.c | 1 - gdb/p-lang.c | 1 - gdb/p-typeprint.c | 6 - gdb/p-valprint.c | 16 +- gdb/progspace.c | 111 +-- gdb/progspace.h | 14 +- gdb/python/py-bpevent.c | 3 +- gdb/python/py-event.c | 3 +- gdb/python/py-exitedevent.c | 29 +- gdb/python/py-gdb-readline.c | 113 ++ gdb/python/py-inferior.c | 2 +- gdb/python/py-newobjfileevent.c | 4 +- gdb/python/py-progspace.c | 2 +- gdb/python/py-signalevent.c | 14 +- gdb/python/py-stopevent.c | 1 + gdb/python/py-threadevent.c | 4 +- gdb/python/py-type.c | 8 +- gdb/python/python-internal.h | 1 + gdb/python/python.c | 130 ++- gdb/registry.h | 215 ++++ gdb/remote-m32r-sdi.c | 2 +- gdb/remote-mips.c | 5 +- gdb/remote-sim.c | 6 +- gdb/remote.c | 11 +- gdb/rs6000-nat.c | 7 +- gdb/solib-darwin.c | 5 +- gdb/solib-dsbt.c | 2 +- gdb/solib-pa64.c | 2 +- gdb/solib-svr4.c | 4 +- gdb/solib.c | 10 +- gdb/stabsread.c | 4 +- gdb/symfile.c | 35 +- gdb/symmisc.c | 12 +- gdb/target.h | 6 + gdb/testsuite/ChangeLog | 79 ++ gdb/testsuite/boards/native-gdbserver.exp | 4 + gdb/testsuite/boards/native-stdio-gdbserver.exp | 4 + .../gdb.aCC/exception.exp => gdb.ada/rdv_wait.exp} | 25 +- gdb/testsuite/gdb.ada/rdv_wait/foo.adb | 53 + gdb/testsuite/gdb.ada/rdv_wait/pck.adb | 23 + gdb/testsuite/gdb.ada/rdv_wait/pck.ads | 22 + gdb/testsuite/gdb.arch/mips-octeon-bbit.c | 49 + gdb/testsuite/gdb.arch/mips-octeon-bbit.exp | 112 ++ gdb/testsuite/gdb.arch/thumb-bx-pc.S | 34 + gdb/testsuite/gdb.arch/thumb-bx-pc.exp | 41 + gdb/testsuite/gdb.base/attach-twice.exp | 1 - gdb/testsuite/gdb.base/default.exp | 28 +- gdb/testsuite/gdb.base/help.exp | 65 +- gdb/testsuite/gdb.base/maint.exp | 2 +- gdb/testsuite/gdb.base/setshow.exp | 29 +- gdb/testsuite/gdb.base/solib-corrupted.exp | 3 +- gdb/testsuite/gdb.cp/converts.cc | 8 + gdb/testsuite/gdb.cp/converts.exp | 28 + gdb/testsuite/gdb.cp/nextoverthrow.exp | 30 +- gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.S | 377 ++++++ gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.exp | 44 + gdb/testsuite/gdb.java/jnpe.exp | 15 +- gdb/testsuite/gdb.trace/tfile.exp | 23 +- gdb/testsuite/gdb.trace/tfind.exp | 52 +- gdb/testsuite/lib/gdb.exp | 37 + gdb/top.c | 3 +- gdb/tracepoint.c | 12 +- gdb/utils.c | 50 +- gdb/valarith.c | 56 +- gdb/valops.c | 34 +- gdb/valprint.c | 1 - gdb/version.in | 2 +- gdb/windows-nat.c | 2 +- include/opcode/ChangeLog | 4 + include/opcode/sparc.h | 1 + libiberty/ChangeLog | 6 + libiberty/floatformat.c | 38 +- opcodes/ChangeLog | 92 ++- opcodes/configure | 2 +- opcodes/configure.in | 2 +- opcodes/i386-gen.c | 4 + opcodes/i386-init.h | 12 + opcodes/i386-opc.h | 2 +- opcodes/i386-opc.tbl | 2 +- opcodes/i386-tbl.h | 2 +- opcodes/mips-dis.c | 570 ++++----- opcodes/po/uk.po | 1308 ++++++++++++++++++++ opcodes/ppc-opc.c | 26 +- opcodes/rl78-decode.opc | 260 ++-- opcodes/rl78-dis.c | 219 ++-- opcodes/sparc-opc.c | 26 +- sim/erc32/ChangeLog | 10 + sim/erc32/end.c | 1 + sim/erc32/erc32.c | 1 + sim/erc32/exec.c | 1 + sim/erc32/float.c | 1 + sim/erc32/func.c | 1 + sim/erc32/help.c | 1 + sim/erc32/interf.c | 1 + 174 files changed, 4788 insertions(+), 1887 deletions(-) create mode 100644 gdb/python/py-gdb-readline.c create mode 100644 gdb/registry.h rename gdb/testsuite/{gdb.hp/gdb.aCC/exception.exp => gdb.ada/rdv_wait.exp} (58%) create mode 100644 gdb/testsuite/gdb.ada/rdv_wait/foo.adb create mode 100644 gdb/testsuite/gdb.ada/rdv_wait/pck.adb create mode 100644 gdb/testsuite/gdb.ada/rdv_wait/pck.ads create mode 100644 gdb/testsuite/gdb.arch/mips-octeon-bbit.c create mode 100644 gdb/testsuite/gdb.arch/mips-octeon-bbit.exp create mode 100644 gdb/testsuite/gdb.arch/thumb-bx-pc.S create mode 100644 gdb/testsuite/gdb.arch/thumb-bx-pc.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.exp create mode 100644 opcodes/po/uk.po First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index deac174..92aac79 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,47 @@ +2012-08-20 Tom Tromey + + * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for + areltdata. + * opncls.c (_bfd_delete_bfd): Free arelt_data. + * mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for + areltdata. + * ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata. + * coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for + areltdata. + (xcoff_write_archive_contents_old): Likewise. + (xcoff_write_archive_contents_big): Likewise. + * archive64.c (bfd_elf64_archive_slurp_armap): Use free for + areltdata. + * archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and + free for areltdata. + (_bfd_get_elt_at_filepos): Likewise. Clear n_nfd->arelt_data on + failure. + (do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata. + (do_slurp_coff_armap): Likewise. + (_bfd_slurp_extended_name_table): Likewise. + (bfd_slurp_bsd_armap_f2): Likewise. Don't leak 'mapdata'. + +2012-08-17 Nick Clifton + + * po/vi.po: Updated Vietnamese translation. + +2012-08-17 Yuri Chornoivan + + * elf-bfd.h, * elf32-ppc.c, * elf64-ia64-vms.c, * elfnn-ia64.c, + * elfxx-mips.c, * vms-alpha.c: Typo fixes. + +2012-08-17 Alan Modra + + PR binutils/14475: + * archive.c (bfd_ar_hdr_from_filesystem): Revert last change. + Instead malloc areltdata. + +2012-08-16 Tom Tromey + + PR binutils/14475: + * archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on + 'member' BFD. Don't try to free 'ared'. + 2012-08-14 Nick Clifton * po/uk.po: Updated Ukranian translation. diff --git a/bfd/ChangeLog-0203 b/bfd/ChangeLog-0203 index 1b1abb1..6c66f75 100644 --- a/bfd/ChangeLog-0203 +++ b/bfd/ChangeLog-0203 @@ -1303,7 +1303,7 @@ (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a - non-shared link. Convert instructions that use the the linkage table + non-shared link. Convert instructions that use the linkage table pointer, or a facsimile thereof, to use the global data pointer when the reloc has been changed. diff --git a/bfd/ChangeLog-2008 b/bfd/ChangeLog-2008 index eb63e09..e5e8aa0 100644 --- a/bfd/ChangeLog-2008 +++ b/bfd/ChangeLog-2008 @@ -22,7 +22,7 @@ PR ld/7036 * elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will always insert 32byte between the .plt and .text sections after - the the first relaxation pass. + the first relaxation pass. 2008-12-23 Nick Clifton diff --git a/bfd/ChangeLog-2009 b/bfd/ChangeLog-2009 index cc33261..68a9829 100644 --- a/bfd/ChangeLog-2009 +++ b/bfd/ChangeLog-2009 @@ -3606,7 +3606,7 @@ (bfd_xcoff_set_archive_import_path): Likewise. (xcoff_set_import_path): Move earlier in file. (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive - object to the the directory part of the bfd's filename. Get the + object to the directory part of the bfd's filename. Get the import path and filename of an archive object from the archive's xcoff_tdata, initializing it if necessary. Update use of import_file_id. diff --git a/bfd/ChangeLog-2010 b/bfd/ChangeLog-2010 index c486f58..e9c7778 100644 --- a/bfd/ChangeLog-2010 +++ b/bfd/ChangeLog-2010 @@ -1173,11 +1173,11 @@ * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. - (elf64_x86_64_grok_psinfo): Extract the the main process's PID, + (elf64_x86_64_grok_psinfo): Extract the main process's PID, and store it in elf_tdata's core_pid field. * elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. - (elf_i386_grok_psinfo): Extract the the main process's PID, and + (elf_i386_grok_psinfo): Extract the main process's PID, and store it in elf_tdata's core_pid field. * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID diff --git a/bfd/archive.c b/bfd/archive.c index dc67da7..8e8fd2d 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -517,7 +517,7 @@ _bfd_generic_read_ar_hdr_mag (bfd *abfd, const char *mag) parsed_size -= namelen; extra_size = namelen; - allocptr = (char *) bfd_zalloc (abfd, allocsize); + allocptr = (char *) bfd_zmalloc (allocsize); if (allocptr == NULL) return NULL; filename = (allocptr @@ -525,6 +525,7 @@ _bfd_generic_read_ar_hdr_mag (bfd *abfd, const char *mag) + sizeof (struct ar_hdr)); if (bfd_bread (filename, namelen, abfd) != namelen) { + free (allocptr); if (bfd_get_error () != bfd_error_system_call) bfd_set_error (bfd_error_no_more_archived_files); return NULL; @@ -560,7 +561,7 @@ _bfd_generic_read_ar_hdr_mag (bfd *abfd, const char *mag) if (!allocptr) { - allocptr = (char *) bfd_zalloc (abfd, allocsize); + allocptr = (char *) bfd_zmalloc (allocsize); if (allocptr == NULL) return NULL; } @@ -643,7 +644,10 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) { filename = _bfd_append_relative_path (archive, filename); if (filename == NULL) - return NULL; + { + free (new_areldata); + return NULL; + } } if (new_areldata->origin > 0) @@ -655,13 +659,13 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) if (ext_arch == NULL || ! bfd_check_format (ext_arch, bfd_archive)) { - bfd_release (archive, new_areldata); + free (new_areldata); return NULL; } n_nfd = _bfd_get_elt_at_filepos (ext_arch, new_areldata->origin); if (n_nfd == NULL) { - bfd_release (archive, new_areldata); + free (new_areldata); return NULL; } n_nfd->proxy_origin = bfd_tell (archive); @@ -683,7 +687,7 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) if (n_nfd == NULL) { - bfd_release (archive, new_areldata); + free (new_areldata); return NULL; } @@ -707,7 +711,8 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) if (_bfd_add_bfd_to_archive_cache (archive, filepos, n_nfd)) return n_nfd; - bfd_release (archive, new_areldata); + free (new_areldata); + n_nfd->arelt_data = NULL; return NULL; } @@ -894,7 +899,7 @@ do_slurp_bsd_armap (bfd *abfd) if (mapdata == NULL) return FALSE; parsed_size = mapdata->parsed_size; - bfd_release (abfd, mapdata); /* Don't need it any more. */ + free (mapdata); raw_armap = (bfd_byte *) bfd_zalloc (abfd, parsed_size); if (raw_armap == NULL) @@ -970,7 +975,7 @@ do_slurp_coff_armap (bfd *abfd) if (mapdata == NULL) return FALSE; parsed_size = mapdata->parsed_size; - bfd_release (abfd, mapdata); /* Don't need it any more. */ + free (mapdata); if (bfd_bread (int_buf, 4, abfd) != 4) { @@ -1063,7 +1068,7 @@ do_slurp_coff_armap (bfd *abfd) ardata->first_file_filepos += (tmp->parsed_size + sizeof (struct ar_hdr) + 1) & ~(unsigned) 1; } - bfd_release (abfd, tmp); + free (tmp); } } @@ -1180,15 +1185,17 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd) if (mapdata->parsed_size < HPUX_SYMDEF_COUNT_SIZE + BSD_STRING_COUNT_SIZE) { + free (mapdata); wrong_format: bfd_set_error (bfd_error_wrong_format); byebye: - bfd_release (abfd, mapdata); return FALSE; } left = mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE - BSD_STRING_COUNT_SIZE; amt = mapdata->parsed_size; + free (mapdata); + raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt); if (raw_armap == NULL) goto byebye; @@ -1290,7 +1297,7 @@ _bfd_slurp_extended_name_table (bfd *abfd) if (bfd_ardata (abfd)->extended_names == NULL) { byebye: - bfd_release (abfd, namedata); + free (namedata); return FALSE; } @@ -1327,8 +1334,7 @@ _bfd_slurp_extended_name_table (bfd *abfd) bfd_ardata (abfd)->first_file_filepos += (bfd_ardata (abfd)->first_file_filepos) % 2; - /* FIXME, we can't release namedata here because it was allocated - below extended_names on the objalloc... */ + free (namedata); } return TRUE; } @@ -1896,7 +1902,7 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member) } amt = sizeof (struct ar_hdr) + sizeof (struct areltdata); - ared = (struct areltdata *) bfd_zalloc (abfd, amt); + ared = (struct areltdata *) bfd_zmalloc (amt); if (ared == NULL) return NULL; hdr = (struct ar_hdr *) (((char *) ared) + sizeof (struct areltdata)); diff --git a/bfd/archive64.c b/bfd/archive64.c index f3a13d3..db4ce2c 100644 --- a/bfd/archive64.c +++ b/bfd/archive64.c @@ -77,7 +77,7 @@ bfd_elf64_archive_slurp_armap (bfd *abfd) if (mapdata == NULL) return FALSE; parsed_size = mapdata->parsed_size; - bfd_release (abfd, mapdata); + free (mapdata); if (bfd_bread (int_buf, 8, abfd) != 8) { diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 9326b32..edbef95 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -1496,7 +1496,7 @@ _bfd_xcoff_read_ar_hdr (bfd *abfd) struct areltdata *ret; bfd_size_type amt = sizeof (struct areltdata); - ret = (struct areltdata *) bfd_alloc (abfd, amt); + ret = (struct areltdata *) bfd_zmalloc (amt); if (ret == NULL) return NULL; @@ -2113,7 +2113,7 @@ xcoff_write_archive_contents_old (bfd *abfd) total_namlen += strlen (normalize_filename (sub)) + 1; if (sub->arelt_data == NULL) { - sub->arelt_data = bfd_zalloc (sub, sizeof (struct areltdata)); + sub->arelt_data = bfd_zmalloc (sizeof (struct areltdata)); if (sub->arelt_data == NULL) return FALSE; } @@ -2329,7 +2329,7 @@ xcoff_write_archive_contents_big (bfd *abfd) if (current_bfd->arelt_data == NULL) { size = sizeof (struct areltdata); - current_bfd->arelt_data = bfd_zalloc (current_bfd, size); + current_bfd->arelt_data = bfd_zmalloc (size); if (current_bfd->arelt_data == NULL) return FALSE; } diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 3b65c0e..eaf8ada 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -2904,7 +2904,7 @@ _bfd_ecoff_slurp_armap (bfd *abfd) if (mapdata == NULL) return FALSE; parsed_size = mapdata->parsed_size; - bfd_release (abfd, (void *) mapdata); + free (mapdata); raw_armap = (char *) bfd_alloc (abfd, parsed_size); if (raw_armap == NULL) diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 6a44912..e57528e 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -2465,7 +2465,7 @@ extern asection _bfd_elf_large_com_section; continue; \ } -/* Will a symbol be bound to the the definition within the shared +/* Will a symbol be bound to the definition within the shared library, if any. A unique symbol can never be bound locally. */ #define SYMBOLIC_BIND(INFO, H) \ (!(H)->unique_global \ diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 3d0a2d9..779ca6d 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -8980,7 +8980,7 @@ ppc_elf_finish_dynamic_symbol (bfd *output_bfd, htab->plt->contents + ent->plt.offset + 28); /* Fill in the GOT entry corresponding to this PLT slot with - the address immediately after the the "bctr" instruction + the address immediately after the "bctr" instruction in this PLT entry. */ bfd_put_32 (output_bfd, (htab->plt->output_section->vma + htab->plt->output_offset diff --git a/bfd/elf64-ia64-vms.c b/bfd/elf64-ia64-vms.c index ef78374..f723068 100644 --- a/bfd/elf64-ia64-vms.c +++ b/bfd/elf64-ia64-vms.c @@ -539,7 +539,7 @@ elf64_ia64_relax_section (bfd *abfd, asection *sec, .plt section. After the first relaxation pass, linker may increase the gap between the .plt and .text sections up to 32byte. We assume linker will always insert 32byte - between the .plt and .text sections after the the first + between the .plt and .text sections after the first relaxation pass. */ if (tsec == ia64_info->root.splt) offset = -0x1000000 + 32; diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c index 7021ff5..e6abb79 100644 --- a/bfd/elfnn-ia64.c +++ b/bfd/elfnn-ia64.c @@ -570,7 +570,7 @@ elfNN_ia64_relax_section (bfd *abfd, asection *sec, .plt section. After the first relaxation pass, linker may increase the gap between the .plt and .text sections up to 32byte. We assume linker will always insert 32byte - between the .plt and .text sections after the the first + between the .plt and .text sections after the first relaxation pass. */ if (tsec == ia64_info->root.splt) offset = -0x1000000 + 32; diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 5f8693e..9c3f372 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -12764,7 +12764,7 @@ _bfd_mips_elf_relax_section (bfd *abfd, asection *sec, /* Fix the relocation's type. */ irel->r_info = ELF32_R_INFO (r_symndx, R_MICROMIPS_PC10_S1); - /* Replace the the 32-bit opcode with a 16-bit opcode. */ + /* Replace the 32-bit opcode with a 16-bit opcode. */ bfd_put_16 (abfd, (b_insn_16.match | (opcode & 0x3ff)), /* Addend value. */ @@ -12791,7 +12791,7 @@ _bfd_mips_elf_relax_section (bfd *abfd, asection *sec, /* Fix the relocation's type. */ irel->r_info = ELF32_R_INFO (r_symndx, R_MICROMIPS_PC7_S1); - /* Replace the the 32-bit opcode with a 16-bit opcode. */ + /* Replace the 32-bit opcode with a 16-bit opcode. */ bfd_put_16 (abfd, (bz_insns_16[fndopc].match | BZ16_REG_FIELD (reg) diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 84d5a72..0379f4f 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -4294,7 +4294,7 @@ bfd_mach_o_fat_member_init (bfd *abfd, abfd->filename = name; } - areltdata = bfd_zalloc (abfd, sizeof (struct areltdata)); + areltdata = bfd_zmalloc (sizeof (struct areltdata)); areltdata->parsed_size = entry->size; abfd->arelt_data = areltdata; abfd->iostream = NULL; diff --git a/bfd/opncls.c b/bfd/opncls.c index b2ed9be..fdccba3 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -136,6 +136,7 @@ _bfd_delete_bfd (bfd *abfd) objalloc_free ((struct objalloc *) abfd->memory); } + free (abfd->arelt_data); free (abfd); } diff --git a/bfd/po/vi.po b/bfd/po/vi.po index ef6b28d..4f62e60 100644 --- a/bfd/po/vi.po +++ b/bfd/po/vi.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: bfd-2.22.90\n" "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n" "POT-Creation-Date: 2011-10-25 11:58+0100\n" -"PO-Revision-Date: 2012-08-08 14:20+0700\n" +"PO-Revision-Date: 2012-08-15 14:47+0700\n" "Last-Translator: Trần Ngọc Quân \n" "Language-Team: Vietnamese \n" "Language: vi\n" @@ -650,9 +650,8 @@ msgstr "" " Kiểu: %s" #: elf-attrs.c:569 -#, fuzzy msgid "error: %B: Object has vendor-specific contents that must be processed by the '%s' toolchain" -msgstr "lỗi: %B: Phải được dãy công cụ \"%s\" xử lý" +msgstr "lỗi: %B: Đối tượng có nội dung \"vendor-specific\" phải được xử lý bởi toolchain '%s'" #: elf-attrs.c:578 msgid "error: %B: Object tag '%d, %s' is incompatible with tag '%d, %s'" @@ -2049,9 +2048,8 @@ msgid "%B(%A): error: call to undefined function '%s'" msgstr "%B(%A): lỗi: gọi hàm chưa được định nghĩa '%s'" #: elf32-rx.c:1338 -#, fuzzy msgid "%B(%A): warning: unaligned access to symbol '%s' in the small data area" -msgstr "Cảnh báo: vị trí sắp hàng %u của ký hiệu \"%s\" trong %B là nhỏ hơn %u trong %B" +msgstr "%B(%A): cảnh báo: unaligned access to symbol '%s' trong vùng dữ liệu nhỏ" #: elf32-rx.c:1342 msgid "%B(%A): internal error: out of range error" @@ -2793,9 +2791,8 @@ msgid "%P: cannot find opd entry toc for %s\n" msgstr "%P: không tìm thấy mục opd toc(mục lục) cho %s\n" #: elf64-ppc.c:9680 -#, fuzzy msgid "%P: long branch stub `%s' offset overflow\n" -msgstr "mẩu nhánh dài \"%s\" tràn khoảng bù" +msgstr "%P: mẩu nhánh dài \"%s\" tràn khoảng bù\n" #: elf64-ppc.c:9739 msgid "%P: can't find branch stub `%s'\n" @@ -2847,14 +2844,12 @@ msgid "%P: %H: %s used with non-TLS symbol %s\n" msgstr "%P: %H: %s được sử dụng với ký hiệu không-phải-TLS %s\n" #: elf64-ppc.c:12556 -#, fuzzy msgid "%P: %H: automatic multiple TOCs not supported using your crt files; recompile with -mminimal-toc or upgrade gcc\n" -msgstr "%B(%A+0x%lx): tự động tạo nhiều TOC không được hỗ trợ khi dùng các tập tin CRT của bạn; hãy biên dịch lại với \"-mminimal-toc\", hoặc nâng cấp GCC" +msgstr "%P: %H: tự động tạo nhiều TOC không được hỗ trợ khi dùng các tập tin CRT của bạn; hãy biên dịch lại với \"-mminimal-toc\", hoặc nâng cấp GCC\n" #: elf64-ppc.c:12562 -#, fuzzy msgid "%P: %H: sibling call optimization to `%s' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `%s' extern\n" -msgstr "%B(%A+0x%lx): tối ưu hoá cuộc gọi cùng chỗ cho \"%s\" không cho phép tự động tạo nhiều TOC; hãy biên dịch lại với \"-mminimal-toc\" hoặc \"-fno-optimize-sibling-calls\", hoặc làm cho \"%s\" là bên ngoài" +msgstr "%P: %H: tối ưu hoá cuộc gọi cùng chỗ (sibling) cho \"%s\" không cho phép tự động tạo nhiều TOC; hãy biên dịch lại với \"-mminimal-toc\" hoặc \"-fno-optimize-sibling-calls\", hoặc làm cho \"%s\" bên ngoài\n" #: elf64-ppc.c:13286 msgid "%P: %B: relocation %s is not supported for symbol %s\n" @@ -4073,9 +4068,9 @@ msgid " EEOM (len=%u):\n" msgstr " EEOM (dài=%u):\n" #: vms-alpha.c:5736 -#, fuzzy, c-format +#, c-format msgid " number of cond linkage pairs: %u\n" -msgstr "STC_LP (store cond linkage pair)\n" +msgstr " số lượng của cặp liên kết \"cond\": %u\n" #: vms-alpha.c:5738 #, c-format @@ -4088,9 +4083,9 @@ msgid " transfer addr flags: 0x%02x\n" msgstr " cờ chuyển đổi địa chỉ: 0x%02x\n" #: vms-alpha.c:5743 -#, fuzzy, c-format +#, c-format msgid " transfer addr psect: %u\n" -msgstr " cờ chuyển đổi địa chỉ: 0x%02x\n" +msgstr " chuyển đổi \"addr psect\": %u\n" hooks/post-receive -- Repository for Project Archer.