+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * ada-lang.c: Include arch-utils.h.
+ (ada_decode_exception_location): Make static.
+ (catch_ada_exception_command): Moved here from breakpoint.c.
+ (ada_decode_assert_location): Make static.
+ (catch_assert_command): Moved here from breakpoint.c.
+ (_initialize_ada_lang): Install the exception and assert
+ catchpoint commands here.
+ * ada-lang.h (ada_decode_exception_location)
+ (ada_decode_assert_location): Delete declarations.
+ * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to
+ breakpoint.h.
+ (create_ada_exception_breakpoint): Make extern.
+ (catch_ada_exception_command, catch_assert_command): Moved to
+ ada-lang.c.
+ (add_catch_command): Make extern.
+ (_initilize_breakpoint): Don't install the exception and assert
+ catchpoint commands here.
+ * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from
+ breakpoint.c
+ (add_catch_command, create_ada_exception_breakpoint): Declare.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (init_raw_breakpoint_without_location): Don't add
+ the breakpoint to the breakpoint chain here.
+ (set_raw_breakpoint_without_location): Add the breakpoint to the
+ breakpoint chain here.
+ (init_raw_breakpoint): Adjust comments.
+ (set_raw_breakpoint): Add the breakpoint to the breakpoint chain
+ here.
+ (init_catchpoint): Don't set the catchpoint's breakpoint number
+ here.
+ (install_catchpoint): New function.
+ (create_fork_vfork_event_catchpoint)
+ (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to
+ use install_catchpoint.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (create_catchpoint_without_mention)
+ (create_catchpoint): Delete.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.h (struct breakpoint): Delete field `exec_pathname'.
+ * breakpoint.c (init_raw_breakpoint_without_location): Remove
+ reference to exec_pathname.
+ (struct exec_catchpoint): New type.
+ (dtor_catch_exec): New function.
+ (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust.
+ (catch_exec_breakpoint_ops): Install dtor_catch_syscall.
+ (catch_exec_command_1): Adjust to use init_catchpoint.
+ (delete_breakpoint): Remove reference to exec_pathname.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.h (struct breakpoint_ops): New field `dtor'.
+ (struct breakpoint): Delete field `syscalls_to_be_caught'.
+ * breakpoint.c (init_raw_breakpoint_without_location): Remove
+ reference to syscalls_to_be_caught.
+ (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a
+ NULL `dtor'.
+ (struct syscall_catchpoint): New type.
+ (dtor_catch_syscall): New function.
+ (insert_catch_syscall, remove_catch_syscall)
+ (breakpoint_hit_catch_syscall, print_one_catch_syscall)
+ (print_recreate_catch_syscall): Adjust.
+ (catch_syscall_breakpoint_ops): Install dtor_catch_syscall.
+ (catch_exec_breakpoint_ops): Install a NULL `dtor'.
+ (create_syscall_event_catchpoint): Adjust to use init_catchpoint.
+ (ranged_breakpoint_ops, watchpoint_breakpoint_ops)
+ (masked_watchpoint_breakpoint_ops)
+ (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'.
+ (delete_breakpoint): Call the `dtor' breakpoint_ops method, if
+ there is one. Remove references to syscalls_to_be_caught.
+ (catching_syscall_number): Adjust.
+ * ada-lang.c (catch_exception_breakpoint_ops)
+ (catch_exception_unhandled_breakpoint_ops)
+ (catch_assert_breakpoint_ops): Install a NULL `dtor'.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.h (struct breakpoint): Delete forked_inferior_pid
+ field.
+ * breakpoint.c (init_raw_breakpoint_without_location): Remove
+ reference to forked_inferior_pid.
+ (struct fork_catchpoint): New type.
+ (breakpoint_hit_catch_fork, print_it_catch_fork)
+ (print_one_catch_fork, breakpoint_hit_catch_vfork)
+ (print_it_catch_vfork, print_one_catch_vfork): Adjust.
+ (create_fork_vfork_event_catchpoint): Adjust to use
+ init_catchpoint.
+
+2011-06-22 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (add_to_breakpoint_chain)
+ (init_raw_breakpoint_without_location): New functions, factored
+ out from ...
+ (set_raw_breakpoint_without_location): ... this one.
+ (init_raw_breakpoint): New function, factored out from
+ set_raw_breakpoint and adjusted to use
+ init_raw_breakpoint_without_location.
+ (set_raw_breakpoint): Adjust.
+ (init_catchpoint): New function, factored out from
+ create_catchpoint_without_mention and adjusted to use
+ init_raw_breakpoint.
+ (create_catchpoint_without_mention): Adjust.
+
+2011-06-22 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type
+ argument of 0 specially.
+
+2011-06-22 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Remove write-only local variable
+ `sw_single_step_trap_p'.
+
+2011-06-20 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (lookup_language_this): End loop if block is NULL.
+
+2011-06-17 Tom Tromey <tromey@redhat.com>
+
+ * valops.c (value_of_this): Use lookup_language_this.
+ * symtab.h (lookup_language_this): Declare.
+ * symtab.c (lookup_language_this): New function.
+ (lookup_symbol_aux): Use lookup_language_this.
+ * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this.
+
+2011-06-17 Tom Tromey <tromey@redhat.com>
+
+ * value.h (value_of_this): Update.
+ (value_of_local): Remove.
+ * valops.c (value_of_this): Rename from value_of_local. Change
+ parameters.
+ * p-exp.y (exp): Update.
+ (variable): Likewise.
+ * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this.
+
+2011-06-17 Tom Tromey <tromey@redhat.com>
+
+ * valops.c (value_of_local): Complain if NAME is NULL.
+ * std-operator.def (OP_OBJC_SELF): Remove.
+ * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove.
+ * objc-exp.y (name_not_typename): Use OP_THIS.
+ * expprint.c (print_subexp_standard) <OP_THIS>: Print language's
+ name for "this".
+ <OP_OBJC_SELF>: Remove.
+ * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove.
+
+2011-06-16 Tristan Gingold <gingold@adacore.com>
+
+ * python/py-events.h (gdb_py_events): Make it extern.
+ * python/py-evtregistry.c (gdb_py_events): Declare.
+
+2011-06-16 Hui Zhu <teawater@gmail.com>
+
+ * remote.c (remote_trace_set_readonly_regions): Add check for
+ remote_protocol_packets[PACKET_qXfer_traceframe_info].support before
+ output warning.
+
+2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
+
+ * arm-linux-tdep.c: Include "auxv.h".
+ (AT_HWCAP): Define.
+ (ARM_LINUX_SIZEOF_VFP): Define.
+ (arm_linux_supply_vfp): New function.
+ (arm_linux_collect_vfp): Likewise.
+ (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections.
+ (arm_linux_fpa_regset_sections): New variable.
+ (arm_linux_vfp_regset_sections): Likewise.
+ (arm_linux_core_read_description): New function.
+ (arm_linux_init_abi): Install arm_linux_core_read_description and
+ arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as
+ appropriate for the architecture.
+ * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset".
+ (tdesc_arm_with_m): Declare.
+ (tdesc_arm_with_iwmmxt): Likewise.
+ (tdesc_arm_with_vfpv2): Likewise.
+ (tdesc_arm_with_vfpv3): Likewise.
+ (tdesc_arm_with_neon): Likewise.
+ * arm-linux-nat.c: Move features/*.c includes ...
+ * arm-tdep.c: ... here.
+ * arm-linux-nat.c (arm_linux_read_description): Move initializing
+ target description data structures ...
+ * arm-tdep.c (_initialize_arm_tdep): ... here.
+ * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3,
+ HWCAP_VFPv3D16): Move definitions ...
+ * arm-linux-tdep.h: ... here.
+
+2011-06-15 Hui Zhu <teawater@gmail.com>
+
+ * remote.c (remote_trace_set_readonly_regions): Add a check for
+ target_buf_size.
+
+2011-06-14 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (coffread_objfile): Rename from current_objfile.
+ * dbxread.c (dbxread_objfile): Rename from current_objfile.
+ * mdebugread.c (mdebugread_objfile): Rename from current_objfile.
+
+2011-06-14 Tom Tromey <tromey@redhat.com>
+
+ * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile)
+ (class_symtab): Remove.
+ (jv_dynamics_progspace_key): New global.
+ (jv_per_objfile_free): Reset program space data. Update assert.
+ Don't clear globals.
+ (get_dynamics_objfile): Use and set program space data.
+ (get_java_class_symtab): Use get_dynamics_objfile.
+ (add_class_symbol): Likewise.
+ (java_link_class_type): Likewise.
+ (java_object_type, jv_clear_object_type, set_java_object_type):
+ Remove.
+ (get_java_object_type): Update. Don't cache result.
+ (is_object_type): Don't call set_java_object_type.
+ (_initialize_java_language): Don't set jv_type_objfile_data_key;
+ initialize jv_dynamics_progspace_key.
+
+2011-06-14 Tom Tromey <tromey@redhat.com>
+
+ * symtab.h (current_objfile): Don't declare.
+ * objfiles.h (current_objfile): Don't declare.
+ * objfiles.c (current_objfile): Remove.
+ * mdebugread.c (current_objfile): New file-scope global.
+ * dbxread.c (current_objfile): New file-scope global.
+ * coffread.c (current_objfile): New file-scope global.
+
+2011-06-13 Pedro Alves <pedro@codesourcery.com>
+
+ * top.h (line): Rename to ...
+ (saved_command_line): ... this.
+ (linesize): Rename to ...
+ (saved_command_line_size): ... this.
+ * top.c (line): Rename to ...
+ (saved_command_line): ... this.
+ (linesize): Rename to ...
+ (saved_command_line_size): ... this.
+ (dont_repeat, command_line_input, dont_repeat_command): Adjust.
+ * event-top.c (command_line_handler): Adjust.
+ * main.c (captured_main): Adjust.
+
+2011-06-12 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call
+ get_frame_func instead of get_frame_pc to determine the code
+ address used to construct the frame ID.
+ (i386_epilogue_frame_unwind_stop_reason): Fix coding style.
+ (i386_epilogue_frame_this_id): Likewise.
+ (i386_epilogue_frame_prev_register): New function.
+ (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register.
+ (i386_stack_tramp_frame_sniffer): Fix coding style.
+ (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register.
+ (i386_gdbarch_init): Fix comments.
+
+2011-06-12 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_match_insn_block): Use length of the proper
+ instruction when walking back through the instruction stream.
+
+2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symtab.c (output_partial_symbol_filename): Exchange the filename and
+ fullname parameters order.
+
+2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype
+ for fun.
+ * psymtab.c (map_symbol_filenames_psymtab)
+ (map_partial_symbol_filenames): Likewise.
+ * psymtab.h: Include symfile.h.
+ (map_partial_symbol_filenames): Use symbol_filename_ftype for fun.
+ * symfile.h (symbol_filename_ftype): New.
+ (struct quick_symbol_functions): Use symbol_filename_ftype for fun of
+ map_symbol_filenames, clarify more the naming in comment.
+
+2011-06-07 Doug Evans <dje@google.com>
+
+ * cc-with-index.sh: Fix typos in comment.
+ Look for ../../gdb, for fullname.exp.
+
+2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ * cli/cli-cmds.c (shell_escape): Use waitpid.
+ * rs6000-nat.c (exec_one_dummy_insn): Likewise.
+
+2011-06-07 Tristan Gingold <gingold@adacore.com>
+
+ * xcoffread.c (dwarf2_xcoff_names): New variable.
+ (aix_process_linenos): Add a guard.
+ (xcoff_symfile_finish): Free dwarf2.
+ (xcoff_initial_scan): Add dwarf2 support.
+
+2011-06-06 Pedro Alves <pedro@codesourcery.com>
+
+ * infcall.c (run_inferior_call): Don't mask async. Instead force
+ a synchronous wait, if the target can async.
+
+ * target.h (struct target_ops): Delete to_async_mask.
+ (target_async_mask): Delete.
+ * target.c (update_current_target): Delete references to to_async_mask.
+ * linux-nat.c (linux_nat_async_mask_value): Delete.
+ (linux_nat_is_async_p, linux_nat_can_async_p): Remove references
+ to linux_nat_async_mask_value.
+ (linux_nat_async_mask): Delete.
+ (linux_nat_async, linux_nat_close): Remove references to
+ linux_nat_async_mask_value.
+ * record.c (record_async_mask_value): Delete.
+ (record_async): Remove references to record_async_mask_value.
+ (record_async_mask): Delete.
+ (record_can_async_p, record_is_async_p): Remove references to
+ record_async_mask_value.
+ (init_record_ops, init_record_core_ops): Remove references to
+ record_async_mask.
+ * remote.c (remote_async_mask_value): Delete.
+ (init_remote_ops): Remove reference to remote_async_mask.
+ (remote_can_async_p, remote_is_async_p): Remove references to
+ remote_async_mask_value.
+ (remote_async): Remove references to remote_async_mask_value.
+ (remote_async_mask): Delete.
+
+ * infrun.c (fetch_inferior_event): Don't claim registers changed
+ if the current thread is already not executing.
+
+2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
+
+ From Stephen Kitt <steve@sk2.org>
+ * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c,
+ gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes.
+
+2011-06-03 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle
+ the case where ADDR_SIZE is different from TYPE_LENGTH (type).
+
+2011-06-03 Tom Tromey <tromey@redhat.com>
+
+ * python/py-inferior.c (python_inferior_exit): Use inferior's exit
+ code fields.
+ * python/py-exitedevent.c (create_exited_event_object): Change
+ type of 'exit_code'. Optionally add exit_code attribute.
+ (emit_exited_event): Change type of 'exit_code'.
+ * python/py-event.h (emit_exited_event): Update.
+ * mi/mi-interp.c (mi_inferior_exit): Print exit code.
+ * infrun.c (handle_inferior_event): Set exit code fields on
+ inferior.
+ * inferior.h (struct inferior) <has_exit_code, exit_code>: New
+ fields.
+ * inferior.c (exit_inferior_1): Initialize new fields.
+
+2011-06-03 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2expr.c (get_signed_type): New function.
+ (execute_stack_op) <DW_OP_shra>: Always perform a signed shift.
+
+2011-06-02 Keith Seitz <keiths@redhat.com>
+
+ * objc-lang.c (find_methods): Increment objfile_csym earlier.
+
+2011-06-02 Pedro Alves <pedro@codesourcery.com>
+
+ * top.h (simplified_command_loop): Delete declaration.
+
+2011-06-01 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and
+ gdb_sysroot to the "len" variable. Append both to "arg_buf".
+
2011-06-01 Yao Qi <yao@codesourcery.com>
* objfiles.h (obj_section_addr): Update reference to objfile from