change to_info_record to use target delegation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5d0502afa0e770bf6ebfbe78f81500d1af1fa5d1..f41451a16f3732b5fa3abf6999958824dc807840 100644 (file)
@@ -1,3 +1,313 @@
+2014-07-07  Tom Tromey  <tromey@redhat.com>
+
+       * target-delegates.c: Rebuild.
+       * target.c (target_info_record): Remove.
+       * record.c (info_record_command): Unconditionally call
+       to_info_record.
+       * target.h (struct target_ops) <to_info_record>: Use
+       TARGET_DEFAULT_IGNORE.
+       (target_info_record): Remove.
+
+2014-07-07  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (struct target_ops) <to_get_thread_local_address>: Use
+       TARGET_DEFAULT_NORETURN.
+       * target.c (generic_tls_error): New function.
+       (target_translate_tls_address): Don't search target stack.
+       * target-delegates.c: Rebuild.
+       * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
+       stack.
+       * linux-thread-db.c (thread_db_get_thread_local_address):
+       Unconditionally call beneath target.
+
+2014-07-03  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * cli/cli-logging.c (pop_output_files): Assign targerr to
+       gdb_stdtargerr.
+
+2014-07-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * MAINTAINERS (Write After Approval): Update my email address.
+
+2014-07-02  Gary Benson  <gbenson@redhat.com>
+
+       * proc-service.c (ps_xfer_memory): Update comment.
+       (ps_pstop): Remove unused function.
+       (ps_pcontinue): Likewise.
+       (ps_lstop): Likewise.
+       (ps_lcontinue): Likewise.
+       (ps_lgetxregsize): Likewise.
+       (ps_lgetxregs): Likewise.
+       (ps_lsetxregs): Likewise.
+       (ps_plog): Likewise.
+       (ps_ptread): Likewise.
+       (ps_ptwrite): Likewise.
+
+2014-07-01  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2read.c (add_array_cv_type): New function.
+       (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
+       (read_tag_volatile_type): Likewise.
+
+2014-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
+       * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
+       * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
+       (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
+       * command.h (cmd_cfunc_ftype): Move earlier.
+       (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
+       (add_com, add_info): Use cmd_cfunc_ftype.
+
+2014-06-30  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (operator_chars): Make parameters and return type
+       const.
+       (file_matches): Make "files" const.
+       (struct search_symbols_data) <files>: Now const.
+       (search_symbols): Make "regexp" and "files" parameters const.
+       Update.
+       (symtab_symbol_info): Remove cast.
+       (rbreak_command): Update.
+       * symtab.h (search_symbols): Update.
+
+2014-06-27  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
+       Change parameter type to 'struct thread_info *'.  Caller
+       updated.
+       * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
+       Update declaration.
+       * dummy-frame.c (struct dummy_frame_id): New.
+       (dummy_frame_id_eq): New function.
+       (struct dummy_frame) <id>: Change its type to 'struct
+       dummy_frame_id'.
+       (dummy_frame_push): Add parameter ptid and save it in
+       dummy_frame_id.
+       (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
+       inferior_ptid.
+       (pop_dummy_frame): Assert that the ptid of dummy_frame equals
+       to inferior_ptid.
+       (lookup_dummy_frame): Change parameter type to 'struct
+       dummy_frame_id *'.  Callers updated.  Call dummy_frame_id_eq
+       instead of frame_id_eq.
+       (dummy_frame_pop): Add parameter ptid.  Callers updated.
+       Update comments.  Compose dummy_frame_id and pass it to
+       lookup_dummy_frame.
+       (dummy_frame_discard): Add parameter ptid.
+       (dummy_frame_sniffer): Compose dummy_frame_id and call
+       dummy_frame_id_eq instead of frame_id_eq.
+       (fprint_dummy_frames): Print ptid.
+       * dummy-frame.h: Remove comments.
+       (dummy_frame_push): Add ptid in declaration.
+       (dummy_frame_pop, dummy_frame_discard): Likewise.
+
+2014-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (error_no_arg): Make "why" const.
+       * command.h (error_no_arg): Update.
+
+2014-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-setshow.c (do_set_command): Make "arg" const.
+       (do_show_command): Make "arg" const.
+       * cli/cli-setshow.h (do_set_command, do_show_command): Update.
+
+2014-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * record-full.c (record_full_get_bookmark): Make "args" const.
+       (record_full_goto_bookmark): Make "raw_bookmark" const.
+       * record.c (record_goto): New function.
+       (cmd_record_goto): Use it.  Now static.
+       * record.h (record_goto): Declare.
+       (cmd_record_goto): Remove declaration.
+       * target-delegates.c: Rebuild.
+       * target.h (struct target_ops) <to_get_bookmark,
+       to_goto_bookmark>: Make parameter const.
+
+2014-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * defs.h (generic_load): Update.
+       * m32r-rom.c (m32r_load_gen): Make "filename" const.
+       * monitor.c (monitor_load): Make "args" const.
+       * remote-m32r-sdi.c (m32r_load): Make "args" const.
+       * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
+       const.
+       (mips_load): Make "file" const.
+       * remote-sim.c (gdbsim_load): Make "args" const.
+       * remote.c (remote_load): Make "name" const.
+       * symfile.c (generic_load): Make "args" const.
+       * target-delegates.c: Rebuild.
+       * target.c (target_load): Make "arg" const.
+       (debug_to_load): Make "args" const.
+       * target.h (struct target_ops) <to_load>: Make parameter const.
+       (target_load): Update.
+
+2014-06-26  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/16902:
+       * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
+       (dwarf2_physname, read_partial_die)
+       (guess_partial_die_structure_name, fixup_partial_die)
+       (guess_full_die_structure_name, anonymous_struct_prefix)
+       (dwarf2_name): Use per-BFD obstack.
+
+2014-06-26  Yao Qi  <yao@codesourcery.com>
+
+       * dummy-frame.c (dummy_frame_sniffer): Move local variables
+       dummyframe and this_id into inner block below.
+
+2014-06-26  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (_initialize_infrun): Replace "signal_program[0]"
+       with "signal_pass[0]" in the initialization of signal_pass.
+
+2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_generating_corefile)
+       (record_btrace_prepare_to_generate_core)
+       (record_btrace_done_generating_core): New.
+       (record_btrace_xfer_partial, record_btrace_fetch_registers)
+       (record_btrace_store_registers, record_btrace_prepare_to_store):
+       Forward request when generating a core file.
+       (record_btrace_open): Set record_btrace_generating_corefile to zero.
+       (init_record_btrace_ops): Set to_prepare_to_generate_core and
+       to_done_generating_core.
+
+2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (target_ops) <to_prepare_to_generate_core>
+       <to_done_generating_core>: New.
+       (target_prepare_to_generate_core, target_done_generating_core): New.
+       * target.c (target_prepare_to_generate_core)
+       (target_done_generating_core): New.
+       * target-delegates.c: Regenerate.
+       * gcore.c: (write_gcore_file): Rename to ...
+       (write_gcore_file_1): ...this.
+       (write_gcore_file): Call target_prepare_to_generate_core
+       and target_done_generating_core.
+
+2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
+       * gcore.c (write_gcore_file): Free memory returned from
+       make_corefile_notes.
+       * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
+       * procfs.c (procfs_make_note_section): Remove make_cleanup call.
+
+2014-06-24  Yao Qi  <yao@codesourcery.com>
+
+       * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
+       (arm_linux_init_abi): Set skip_trampoline_code with
+       gdbarch_skip_trampoline_code instead of
+       find_solib_trampoline_target.
+
+2014-06-24  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
+       arm_skip_bx_reg returns non-zero.
+
+2014-06-24  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (arm_skip_bx_reg): New function.
+       (arm_skip_stub): Call arm_skip_bx_reg.
+
+2014-06-23  Don Breazeal  <donb@codesourcery.com>
+
+       * MAINTAINERS: Add myself as write-after-approval maintainer.
+
+2014-06-23  Pedro Alves  <palves@redhat.com>
+
+       * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
+       DR_CONTROL before setting DR0..DR3.
+       * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
+       * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
+       bits of DR_CONTROL related to the debug register slot being
+       disabled.  If all slots are vacant, clear local slowdown as well,
+       and assert DR_CONTROL is 0.
+
+2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * python/lib/gdb/command/xmethods.py
+       (get_method_matchers_in_loci):  Lookup xmethod matchers in the
+       current progspace only if the string "progspace" matches LOCUS_RE.
+
+2014-06-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix --with-system-readline with readline-6.3 patch 5.
+       * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
+       (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
+       types.
+
+2014-06-20  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_get_real_path): Use correct type in
+       OBSTACK_CALLOC.
+       * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
+
+2014-06-20  Gary Benson  <gbenson@redhat.com>
+
+       * common/gdb_thread_db.h: Moved to nat.  All includes updated.
+       * common/glibc_thread_db.h: Likewise.
+       * common/i386-cpuid.h: Likewise.
+       * common/i386-gcc-cpuid.h: Likewise.
+       * common/linux-btrace.h: Likewise.
+       * common/linux-osdata.h: Likewise.
+       * common/linux-procfs.h: Likewise.
+       * common/linux-ptrace.h: Likewise.
+       * common/mips-linux-watch.h: Likewise.
+       * common/linux-btrace.c: Moved to nat.
+       * common/linux-osdata.c: Likewise.
+       * common/linux-procfs.c: Likewise.
+       * common/linux-ptrace.c: Likewise.
+       * common/mips-linux-watch.c: Likewise.
+       * nat/gdb_thread_db.h: Moved from common.
+       * nat/glibc_thread_db.h: Likewise.
+       * nat/i386-cpuid.h: Likewise.
+       * nat/i386-gcc-cpuid.h: Likewise.
+       * nat/linux-btrace.c: Likewise.
+       * nat/linux-btrace.h: Likewise.
+       * nat/linux-osdata.c: Likewise.
+       * nat/linux-osdata.h: Likewise.
+       * nat/linux-procfs.c: Likewise.
+       * nat/linux-procfs.h: Likewise.
+       * nat/linux-ptrace.c: Likewise.
+       * nat/linux-ptrace.h: Likewise.
+       * nat/mips-linux-watch.c: Likewise.
+       * nat/mips-linux-watch.h: Likewise.
+       * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
+       (object file files): Reordered.
+       * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
+       of glibc_thread_db.h.
+
+2014-06-20  Gary Benson  <gbenson@redhat.com>
+
+       * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
+       (i386_dr_low_type): Moved to nat/i386-dregs.h.
+       (i386_dr_low): Likewise.
+       (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
+       (i386_dr_low_set_addr): Likewise.
+       (i386_dr_low_get_addr): Likewise.
+       (i386_dr_low_can_set_control): Likewise.
+       (i386_dr_low_set_control): Likewise.
+       (i386_dr_low_get_control): Likewise.
+       (i386_dr_low_get_status): Likewise.
+       (i386_get_debug_register_length): Likewise.
+       * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
+       (i386_dr_low): Likewise.
+       * nat/i386-dregs.c (i386-low.h): Remove include.
+       (i386-nat.h): Likewise.
+       (nat/i386-dregs.h): New include.
+       (i386_dr_low_can_set_addr): Moved from i386-nat.h.
+       (i386_dr_low_set_addr): Likewise.
+       (i386_dr_low_get_addr): Likewise.
+       (i386_dr_low_can_set_control): Likewise.
+       (i386_dr_low_set_control): Likewise.
+       (i386_dr_low_get_control): Likewise.
+       (i386_dr_low_get_status): Likewise.
+       (i386_get_debug_register_length): Likewise.
+       (debug_hw_points): Likewise.
+
 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        * Makefile.in (SFILES): Add d-exp.y.
This page took 0.026923 seconds and 4 git commands to generate.