gdb: ARM: Fix for bug in pop instruction decoding
[binutils-gdb.git] / gdb / ChangeLog
index c4e1301a15c99ab875130ab9327b9270b695585c..1070587601941811693988a34dad00df0b259d9b 100644 (file)
@@ -1,3 +1,219 @@
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (thumb_record_misc): Update to use sp as base
+       register for push instruction recording.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (thumb_record_misc): Update to correct logical
+       error while recording ldm, ldmia and pop instructions.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
+
+2014-01-15  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
+       (go32_resume, go32_fetch_registers, store_register)
+       (go32_store_registers, go32_prepare_to_store)
+       (go32_xfer_memory, go32_files_info, go32_kill_inferior)
+       (go32_create_inferior, go32_can_run, go32_terminal_init)
+       (go32_terminal_inferior, go32_terminal_ours): Delete forward
+       declarations.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (async_callback_ftype): New typedef.
+       (struct target_ops) <to_async>: Use it.
+
+2014-01-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/py-value.c (get_field_type): Remove unnecessary curly
+       braces for single-statement if block.
+
+2014-01-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/py-type.c (convert_field): Add missing empty line
+       after declarations.
+
+2014-01-14  Doug Evans  <dje@google.com>
+
+       * symfile.h (expand_symtabs_matching): Renamed from
+       expand_partial_symbol_names.  Update prototype.
+       (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
+       * symfile.c (expand_symtabs_matching): Renamed from
+       expand_partial_symbol_names.  New args file_matcher, kind.
+       Rename arg fun to symbol_matcher.
+       (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
+       * ada-lang.c (ada_complete_symbol_matcher): Renamed from
+       ada_expand_partial_symbol_name.
+       (ada_make_symbol_completion_list): Update to call
+       expand_symtabs_matching.
+       (ada_add_global_exceptions): Call expand_symtabs_matching.
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
+       call map_symbol_filenames.
+       * symtab.c (sources_info): Update to call map_symbol_filenames.
+       (search_symbols): Call expand_symtabs_matching.
+       (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
+       (default_make_symbol_completion_list_break_on): Update to call
+       expand_symtabs_matching.
+       (make_source_files_completion_list): Update to call
+       map_symbol_filenames.
+
+2014-01-14  Doug Evans  <dje@google.com>
+
+       * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
+       (expand_symtabs_symbol_matcher_ftype): New typedef.
+       (quick_symbol_functions.expand_symtabs_matching): Update to use.
+       expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+       * symfile.c (expand_partial_symbol_names): Update to use
+       expand_symtabs_symbol_matcher_ftype.
+       * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
+       expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+       Arg name_matcher renamed to symbol_matcher.
+       * psymtab.c (recursively_search_psymtabs): Update to use
+       expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
+       sym_matcher.
+       (expand_symtabs_matching_via_partial): Update to use
+       expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+       Arg name_matcher renamed to symbol_matcher.
+
+2014-01-14  Doug Evans  <dje@google.com>
+
+       * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
+       (map_partial_symbol_filenames): Ditto.
+       * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
+       (map_partial_symbol_filenames): Ditto.
+       * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
+       (map_partial_symbol_filenames): Ditto.
+       * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
+       (map_partial_symbol_filenames): Ditto.
+       * symtab.c: Delete #include "psymtab.h".
+
+2014-01-14  Pedro Alves  <palves@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * infrun.c (use_displaced_stepping): Use find_record_target
+       instead of RECORD_IS_USED.
+       (adjust_pc_after_break): Use record_full_is_used instead of
+       RECORD_IS_USED.
+       * record-btrace.c (record_btrace_open): Call record_preopen
+       instead of checking RECORD_IS_USED.
+       * record-full.c (record_full_shortname)
+       (record_full_core_shortname): New globals.
+       (record_full_is_used): New function.
+       (find_full_open): Call record_preopen instead of checking
+       RECORD_IS_USED.
+       (init_record_full_ops): Set the target's shortname to
+       record_full_shortname.
+       (init_record_full_core_ops): Set the target's shortname to
+       record_full_core_shortname.
+       * record-full.h (record_full_is_used): Declare.
+       * record.c (find_record_target): Make extern.
+       (record_preopen): New function.
+       * record.h (RECORD_IS_USED): Delete macro.
+       (find_record_target, record_preopen): Declare functions.
+
+2014-01-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdbarch.sh (core_xfer_shared_libraries): Change its argument
+       'len''s type to ULONGEST.
+       (core_xfer_shared_libraries_aix): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerated.
+       * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
+       Change type of 'len' to ULONGEST.
+       * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
+       (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
+
+2014-01-14  Yao Qi  <yao@codesourcery.com>
+
+       * common/linux-osdata.c (linux_xfer_osdata_processes): Change
+       type of 'len' to ULONGEST.
+       (linux_xfer_osdata_processgroups): Likewise.
+       (linux_xfer_osdata_threads): Likewise.
+       (linux_xfer_osdata_fds): Likewise.
+       (linux_xfer_osdata_isockets): Likewise.
+       (linux_xfer_osdata_shm): Likewise.
+       (linux_xfer_osdata_sem): Likewise.
+       (linux_xfer_osdata_msg): Likewise.
+       (linux_common_xfer_osdata): Likewise.
+       (struct osdata_type) <getter>: Likewise.
+       * common/linux-osdata.h (linux_common_xfer_osdata): Update
+       the declaration.
+
+2014-01-14  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (target_xfer_partial_ftype): Update.
+       (struct target_ops) <to_xfer_partial>: Change 'len' type to
+       ULONGEST.
+       * aix-thread.c (aix_thread_xfer_partial): Change type of
+       argument 'len' to ULONGEST.
+       * auxv.c (procfs_xfer_auxv): Likewise.
+       (ld_so_xfer_auxv): Likewise.
+       (memory_xfer_auxv): Likewise.
+       * bfd-target.c (target_bfd_xfer_partial): Likewise.
+       * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
+       * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
+       * corelow.c (core_xfer_partial): Likewise.
+       * ctf.c (ctf_xfer_partial): Likewise.
+       * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
+       '%u'.
+       (darwin_read_dyld_info): Likewise.
+       (darwin_xfer_partial): Likewise.
+       * exec.c (section_table_xfer_memory_partial): Likewise.
+       (exec_xfer_partial): Likewise.
+       * exec.h (section_table_xfer_memory_partial): Update
+       declaration.
+       * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
+       instead of plongest.
+       (gnu_xfer_partial): Likewise.
+       * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
+       (ia64_hpux_xfer_solib_got): Likewise.
+       (ia64_hpux_xfer_partial): Likewise.
+       * ia64-linux-nat.c (ia64_linux_xfer_partial):
+       * inf-ptrace.c (inf_ptrace_xfer_partial):
+       * inf-ttrace.c (inf_ttrace_xfer_partial):
+       * linux-nat.c (linux_xfer_siginfo): Likewise.
+       (linux_nat_xfer_partial): Likewise.
+       (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
+       (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
+       * monitor.c (monitor_xfer_memory): Likewise.
+       (monitor_xfer_partial): Likewise.
+       * procfs.c (procfs_xfer_partial): Likewise.
+       * record-full.c (record_full_xfer_partial): Likewise.
+       (record_full_core_xfer_partial): Likewise.
+       * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
+       instead of plongest.
+       (gdbsim_xfer_partial): Likewise.
+       * remote.c (remote_xfer_partial): Likewise.
+       * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
+       * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
+       declaration.
+       * rs6000-nat.c (rs6000_xfer_partial): Likewise.
+       (rs6000_xfer_shared_libraries): Likewise.
+       * sol-thread.c (sol_thread_xfer_partial): Likewise.
+       * sparc-nat.c (sparc_xfer_wcookie): Likewise.
+       (sparc_xfer_partial): Likewise.
+       * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
+       (spu_xfer_partial): Likewise.
+       * spu-multiarch.c (spu_xfer_partial): Likewise.
+       * target.c (target_read_live_memory): Likewise.
+       (memory_xfer_live_readonly_partial): Likewise.
+       (memory_xfer_partial, memory_xfer_partial_1): Likewise.
+       (target_xfer_partial, default_xfer_partial): Likewise.
+       (current_xfer_partial): Likewise.
+       * tracepoint.c (tfile_xfer_partial): Likewise.
+       * windows-nat.c (windows_xfer_memory): Likewise.  Call
+       pulongest instead of plongest.
+       (windows_xfer_partial): Likewise.
+       (windows_xfer_shared_libraries): Likewise.
+
+2014-01-14  Yao Qi  <yao@codesourcery.com>
+
+       * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
+       target_xfer_partial_ftype.
+
 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
 
        PR python/15464