Add a new method 'disassemble' to gdb.Architecture class.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 60b75886309c8ad10f0069f469b894f059ed2a5a..f72353b97260f22aba9b399d71da41ab756280a3 100644 (file)
@@ -1,3 +1,234 @@
+2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Add a new method 'disassemble' to gdb.Architecture class.
+       * python/py-arch.c (archpy_disassmble): Implementation of the
+       new method gdb.Architecture.disassemble.
+       (arch_object_methods): Add entry for the new method.
+
+2013-02-20  Jiong Wang  <jiwang@tilera.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-02-19  Pedro Alves  <palves@redhat.com>
+
+       Garbage collect 'struct monitor_ops'::load_routine.
+
+       * monitor.h (struct monitor_ops) <load_routine>: Remove field.
+       * monitor.c (monitor_load): No longer call
+       current_monitor->load_routine.
+       * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
+       * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
+       * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
+
+2013-02-19  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/15161
+
+       Harmonize with generic_load.
+
+       * monitor.c: Include "readline/readline.h".
+       (monitor_load): Rename parameter 'file' to 'args'.  Use build_argv
+       instead of sscanf.  Use CORE_ADDR/strtoulst instead of unsigned
+       long/strtol for the 'load_offset' local.  Error out if no argument
+       is given or if too many arguments are given.  Tilde expand the
+       passed in file name.
+
+2013-02-19  Kai Tietz  <ktietz@redhat.com>
+
+       PR gdb/15161
+       * symfile.c (load_section_data): Change type of load_offset
+       to CORE_ADDR.
+       (generic_load): User strtoulst instead of strtoul for conversion
+       of load_offset.
+
+2013-02-19  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx-tdep.c (tilegx_analyze_prologue): add check for
+        for return address, "lr" register, saved on stack.
+       * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
+       after we invoke tilegx_analyze_prologue.
+
+2013-02-19  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
+
+2013-02-19  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
+
+2013-02-19  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
+       (tilegx_write_pc): New function.
+       (tilegx_cannot_reference_register): Return zero if REGNO
+       is TILEGX_FAULTNUM_REGNUM.
+       (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
+       (tilegx_register_name): Add handling of "faultnum" register.
+       * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
+       * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
+       handling of TILEGX_FAULTNUM_REGNUM.
+       * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
+
+2013-02-19  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
+       should be aligned to 64bit.
+
+2013-02-19  Kai Tietz  <ktietz@redhat.com>
+
+       * windows-nat.c (windows_xfer_memory): Fix debug-output
+       for LLP64.
+
+2013-02-19  Lei Liu  <lei.liu2@windriver.com>
+
+       * mips-linux-nat.c (mips64_linux_regsets_store_registers):
+       Don't check DSP register number if HAVE_DSP is not set.
+
+2013-02-19  Alan Modra  <amodra@gmail.com>
+
+       * elfread.c (struct build_id): Delete.  Use struct elf_build_id
+       throughout file instead.
+       (build_id_bfd_get): Update to use new elf_tdata build_id field.
+       Don't xmalloc return value.
+       (build_id_verify): Similarly.  Don't xfree.
+       (build_id_to_debug_filename): Update.
+       (find_separate_debug_file_by_buildid): Update, don't xfree.
+
+2013-02-18  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/15102:
+       * dwarf2read.c (read_subrange_type): Use result of
+       'check_typedef'.
+
+2013-02-16  Yuanhui Zhang  <asmwarrior@gmail.com>
+
+       * frame.c: Remove one extra white space after #include
+       directive.
+
+2013-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
+
+2013-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
+       and dir commands into an if block.
+
+2013-02-15  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * python/py-breakpoint (struct pybp_code):  Use int instead of
+       enum type_code.
+
+2013-02-15  Pedro Alves  <pedro@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * NEWS: Mention new field "trace-file".
+       * tracepoint.c (trace_status_mi): Output "trace-file" field.
+       (tfile_open): Record the trace file's filename in the trace
+       status.
+       (tfile_files_info): Mention the name of the trace file.
+       Check the "filename" field explicitely.
+       (trace_status_command): Explicitely check "filename" field.
+       (trace_find_command): Ditto.
+       (trace_find_pc_command): Ditto.
+       (trace_find_tracepoint_command): Ditto.
+       (trace_find_line_command): Ditto.
+       (trace_find_range_command): Ditto.
+       (trace_find_outside_command): Ditto.
+       * tracepoint.h (struct trace_status) <from_file>: Rename it
+       to "filename" and make it hold the trace file's filename
+       instead of a boolean.
+       * remote.c (remote_get_trace_status): Initialize "filename"
+       field with NULL instead of 0.
+
+2013-02-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c: Fix a typo.
+
+2013-02-14  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * utils.c (savestring): Don't #undef it.  Move function to
+       common/common-utils.c.
+       * common/common-utils.c: Include gdb_string.h.
+       (savestring): Move here from utils.c.
+       * common/common-utils.h (savestring): Declare.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * utils.c (savestring): Rename parameter 'size' to 'len'.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
+       (aarch64_inferior_data, struct aarch64_inferior_data):
+       Delete.
+       (struct aarch64_process_info): New.
+       (aarch64_process_list): New global.
+       (aarch64_find_process_pid, aarch64_add_process)
+       (aarch64_process_info_get): New functions.
+       (aarch64_inferior_data_get): Delete.
+       (aarch64_process_info_get): New function.
+       (aarch64_forget_process): New function.
+       (aarch64_get_debug_reg_state): New parameter 'pid'.  Reimplement.
+       (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
+       aarch64_get_debug_reg_state.
+       (aarch64_notify_debug_reg_change): Use iterate_over_lwps
+       instead of linux_nat_iterate_watchpoint_lwps.
+       (aarch64_linux_new_fork): New function.
+       (aarch64_linux_child_post_startup_inferior): Use
+       aarch64_forget_process instead of aarch64_init_debug_reg_state.
+       (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
+       (aarch64_linux_remove_hw_breakpoint)
+       (aarch64_handle_aligned_watchpoint)
+       (aarch64_handle_unaligned_watchpoint)
+       (aarch64_linux_insert_watchpoint)
+       (aarch64_linux_remove_watchpoint)
+       (aarch64_linux_stopped_data_address): Adjust to pass the current
+       process id to aarch64_debug_reg_state.
+       (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
+       linux_nat_new_fork hook, and aarch64_forget_process as
+       linux_nat_forget_process hook; remove the call to
+       register_inferior_data_with_cleanup.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
+       EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
+       lval_memory.
+
+2013-02-14  Pedro Alves  <pedro@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * tracepoint.h (validate_trace_state_variable_name): Declare.
+       * tracepoint.c (validate_trace_state_variable_name): New.
+       (trace_variable_command): Parse the trace state variable's name
+       without using parse_expression.  Do several validations.
+       * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
+       trace state variable's name with parse_expression.  Validate it.
+
+2013-02-14  Yao Qi  <yao@codesourcery.com>
+
+       * infcmd.c (breakpoint_proceeded): Remove it.
+
+2013-02-14  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (end_actions_pseudocommand): Make it static.
+       (while_stepping_pseudocommand): Likewise.
+       * tracepoint.h (end_actions_pseudocommand): Remove the
+       declaration.
+       (while_stepping_pseudocommand): Likewise.
+
+2013-02-14  Yao Qi  <yao@codesourcery.com>
+
+       * cli/cli-decode.c (help_cmd): Remove the declaration of
+       "cmdlist".
+       (help_all): Likewise.
+
 2013-02-13  Pedro Alves  <palves@redhat.com>
 
        * amd64-linux-nat.c (update_debug_registers_callback):
 
 2013-02-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
-              * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity)
-              Adding _().
+       * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
+       Adding _().
 
 2013-02-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
 
 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
 
-       * MAINTAINERS (Write After Approval): Add myself to the list. 
+       * MAINTAINERS (Write After Approval): Add myself to the list.
 
 2013-01-24  Tom Tromey  <tromey@redhat.com>
 
This page took 0.025735 seconds and 4 git commands to generate.