gdbarch software_single_step frame_info to regcache: spu
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 45c28a8cbae7621670409bf374c7d6ef5fc3789e..d28552b16d5368a7830224e3e15c6598520c5a31 100644 (file)
@@ -1,3 +1,435 @@
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * spu-tdep.c (spu_software_single_step): Call get_regcache_arch
+       instead of get_frame_arch.  Call regcache_read_pc instead of
+       get_frame_pc.  Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * tic6x-tdep.c (tic6x_condition_true): Replace frame with
+       regcache.  Call regcache_raw_get_signed instead of
+       get_frame_register_signed.
+       (tic6x_get_next_pc): Likewise.  Caller updated.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
+       regcache.  Call get_regcache_arch instead of get_frame_arch.
+       Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+       (rs6000_software_single_step): Likewise.
+       * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
+       get_regcache_arch instead of get_frame_arch.  Call
+       regcache_read_pc instead of get_frame_pc.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * s390-linux-tdep.c (s390_software_single_step): Call
+       get_regcache_arch instead of get_frame_arch.  Call
+       regcache_read_pc instead of get_frame_pc.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
+       frame with regcache.  Call get_current_frame.
+       (sparc_software_single_step): Call get_regcache_arch instead of
+       get_frame_arch.  Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
+       with regcache.  Call regcache_raw_get_signed instead of
+       get_frame_register_unsigned.
+       (nios2_software_single_step): Call get_regcache_arch
+       instead of get_frame_arch.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * moxie-tdep.c (moxie_software_single_step): Call
+       get_regcache_arch instead of get_frame_arch.  Call
+       regcache_read_pc instead of get_frame_pc.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
+       regcache.  Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+       (mips32_next_pc): Likewise.
+       (micromips_bc1_pc): Likewise.
+       (micromips_next_pc): Likewise.
+       (extended_mips16_next_pc): Likewise.
+       (mips16_next_pc): Likewise.
+       (mips_next_pc): Likewise.
+       (mips_software_single_step): Call get_regcache_arch instead
+       of get_frame_arch.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * cris-tdep.c (find_step_target): Replace parameter frame
+       with regcache.  Call get_regcache_arch instead of
+       get_frame_arch.  Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+       (cris_software_single_step): Call get_regcache_arch instead
+       of get_frame_arch.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
+       get_regcache_arch instead of get_frame_arch.  Call
+       regcache_read_pc instead of get_frame_pc.
+       (alpha_next_pc): Replace parameter frame with regcache.
+       Call regcache_raw_get_unsigned instead of
+       get_frame_register_unsigned.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_software_single_step): Call
+       get_regcache_arch instead of get_frame_arch.  Call
+       regcache_read_pc instead of get_frame_pc.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache_raw_get_signed): New function.
+       * regcache.h (regcache_raw_get_signed): Declare.
+
+2016-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
+       instead of VALUE_FROM_ID.
+
+2016-11-21  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
+       step.
+
+2016-11-21  Yao Qi  <yao.qi@linaro.org>
+
+       * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
+       Don't call value_from_contents_and_address and
+       set_value_address.  Call value_from_component.
+       * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
+       Likewise.
+       * value.c (value_from_component): New function.
+       * value.h (value_from_component): Likewise.
+       * valarith.c (value_subscripted_rvalue): Call
+       value_from_component.
+
+2016-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
+       sprintf_vma.
+
+2016-11-18  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.
+
+2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       (PYTHON_CFLAGS): Move up.
+       (%.o: $(srcdir)/arch/%.c): New rule.
+       (%.o: $(srcdir)/cli/%.c): New rule.
+       (%.o: $(srcdir)/common/%.c): New rule.
+       (%.o: $(srcdir)/compile/%.c): New rule.
+       (%.o: $(srcdir)/gdbtk/generic/%.c): New rule.
+       (%.o: $(srcdir)/guile/%.c): New rule.
+       (%.o: $(srcdir)/mi/%.c): New rule.
+       (%.o: $(srcdir)/nat/%.c): New rule.
+       (%.o: $(srcdir)/python/%.c): New rule.
+       (%.o: $(srcdir)/target/%.c): New rule.
+       (%.o: $(srcdir)/tui/%.c): New rule.
+       (cli-cmds.o): Remove.
+       (cli-decode.o): Likewise.
+       (cli-dump.o): Likewise.
+       (cli-interp.o): Likewise.
+       (cli-logging.o): Likewise.
+       (cli-script.o): Likewise.
+       (cli-setshow.o): Likewise.
+       (cli-utils.o): Likewise.
+       (compile.o): Likewise.
+       (compile-c-types.o): Likewise.
+       (compile-c-symbols.o): Likewise.
+       (compile-object-load.o): Likewise.
+       (compile-object-run.o): Likewise.
+       (compile-loc2c.o): Likewise.
+       (compile-c-support.o): Likewise.
+       (gdbtk.o): Likewise.
+       (gdbtk-bp.o): Likewise.
+       (gdbtk-cmds.o): Likewise.
+       (gdbtk-hooks.o): Likewise.
+       (gdbtk-interp.o): Likewise.
+       (gdbtk-main.o): Likewise.
+       (gdbtk-register.o): Likewise.
+       (gdbtk-stack.o): Likewise.
+       (gdbtk-varobj.o): Likewise.
+       (gdbtk-wrapper.o): Likewise.
+       (mi-cmd-break.o): Likewise.
+       (mi-cmd-catch.o): Likewise.
+       (mi-cmd-disas.o): Likewise.
+       (mi-cmd-env.o): Likewise.
+       (mi-cmd-file.o): Likewise.
+       (mi-cmd-info.o): Likewise.
+       (mi-cmds.o): Likewise.
+       (mi-cmd-stack.o): Likewise.
+       (mi-cmd-target.o): Likewise.
+       (mi-cmd-var.o): Likewise.
+       (mi-console.o): Likewise.
+       (mi-getopt.o): Likewise.
+       (mi-interp.o): Likewise.
+       (mi-main.o): Likewise.
+       (mi-out.o): Likewise.
+       (mi-parse.o): Likewise.
+       (mi-symbol-cmds.o): Likewise.
+       (mi-common.o): Likewise.
+       (signals.o): Likewise.
+       (common-utils.o): Likewise.
+       (gdb_vecs.o): Likewise.
+       (xml-utils.o): Likewise.
+       (ptid.o): Likewise.
+       (buffer.o): Likewise.
+       (filestuff.o): Likewise.
+       (format.o): Likewise.
+       (vec.o): Likewise.
+       (print-utils.o): Likewise.
+       (rsp-low.o): Likewise.
+       (errors.o): Likewise.
+       (common-debug.o): Likewise.
+       (cleanups.o): Likewise.
+       (common-exceptions.o
+       (posix-strerror.o): Likewise.
+       (mingw-strerror.o): Likewise.
+       (btrace-common.o): Likewise.
+       (fileio.o): Likewise.
+       (common-regcache.o): Likewise.
+       (signals-state-save-restore.o): Likewise.
+       (new-op.o): Likewise.
+       (waitstatus.o): Likewise.
+       (arm.o): Likewise.
+       (arm-linux.o): Likewise.
+       (arm-get-next-pcs.o): Likewise.
+       (x86-dregs.o): Likewise.
+       (linux-btrace.o): Likewise.
+       (linux-osdata.o): Likewise.
+       (linux-procfs.o): Likewise.
+       (linux-ptrace.o): Likewise.
+       (linux-waitpid.o): Likewise.
+       (mips-linux-watch.o): Likewise.
+       (ppc-linux.o): Likewise.
+       (linux-personality.o): Likewise.
+       (x86-linux.o): Likewise.
+       (x86-linux-dregs.o): Likewise.
+       (amd64-linux-siginfo.o): Likewise.
+       (linux-namespaces.o): Likewise.
+       (aarch64-linux-hw-point.o): Likewise.
+       (aarch64-linux.o): Likewise.
+       (aarch64-insn.o): Likewise.
+       (tui.o): Likewise.
+       (tui-command.o): Likewise.
+       (tui-data.o): Likewise.
+       (tui-disasm.o): Likewise.
+       (tui-file.o): Likewise.
+       (tui-hooks.o): Likewise.
+       (tui-interp.o): Likewise.
+       (tui-io.o): Likewise.
+       (tui-layout.o): Likewise.
+       (tui-out.o): Likewise.
+       (tui-regs.o): Likewise.
+       (tui-source.o): Likewise.
+       (tui-stack.o): Likewise.
+       (tui-win.o): Likewise.
+       (tui-windata.o): Likewise.
+       (tui-wingeneral.o): Likewise.
+       (tui-winsource.o): Likewise.
+       (guile.o): Likewise.
+       (scm-arch.o): Likewise.
+       (scm-auto-load.o): Likewise.
+       (scm-block.o): Likewise.
+       (scm-breakpoint.o): Likewise.
+       (scm-cmd.o): Likewise.
+       (scm-disasm.o): Likewise.
+       (scm-exception.o): Likewise.
+       (scm-frame.o): Likewise.
+       (scm-gsmob.o): Likewise.
+       (scm-iterator.o): Likewise.
+       (scm-lazy-string.o): Likewise.
+       (scm-math.o): Likewise.
+       (scm-objfile.o): Likewise.
+       (scm-param.o): Likewise.
+       (scm-ports.o): Likewise.
+       (scm-pretty-print.o): Likewise.
+       (scm-progspace.o): Likewise.
+       (scm-safe-call.o): Likewise.
+       (scm-string.o): Likewise.
+       (scm-symbol.o): Likewise.
+       (scm-symtab.o): Likewise.
+       (scm-type.o): Likewise.
+       (scm-utils.o): Likewise.
+       (scm-value.o): Likewise.
+       (python.o): Likewise.
+       (py-arch.o): Likewise.
+       (py-auto-load.o): Likewise.
+       (py-block.o): Likewise.
+       (py-bpevent.o): Likewise.
+       (py-breakpoint.o): Likewise.
+       (py-cmd.o): Likewise.
+       (py-continueevent.o): Likewise.
+       (py-xmethods.o): Likewise.
+       (py-event.o): Likewise.
+       (py-evtregistry.o): Likewise.
+       (py-evts.o): Likewise.
+       (py-exitedevent.o): Likewise.
+       (py-finishbreakpoint.o): Likewise.
+       (py-frame.o): Likewise.
+       (py-framefilter.o): Likewise.
+       (py-function.o): Likewise.
+       (py-gdb-readline.o): Likewise.
+       (py-inferior.o): Likewise.
+       (py-infevents.o): Likewise.
+       (py-infthread.o): Likewise.
+       (py-lazy-string.o): Likewise.
+       (py-linetable.o): Likewise.
+       (py-newobjfileevent.o): Likewise.
+       (py-objfile.o): Likewise.
+       (py-param.o): Likewise.
+       (py-prettyprint.o): Likewise.
+       (py-progspace.o): Likewise.
+       (py-signalevent.o): Likewise.
+       (py-stopevent.o): Likewise.
+       (py-symbol.o): Likewise.
+       (py-symtab.o): Likewise.
+       (py-threadevent.o): Likewise.
+       (py-type.o): Likewise.
+       (py-unwind.o): Likewise.
+       (py-utils.o): Likewise.
+       (py-value.o): Likewise.
+       (py-varobj.o): Likewise.
+
+2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in (.c.o): Replace rule with ...
+       (%.o: %.c): ... this one.
+       (.po.gmo): Replace rule with ...
+       (%.gmo: %.po): ... this one.
+       (.po.pox): Replace rule with ...
+       (%.pox: %.po): ... this one.
+       (.y.c): Replace rule with ...
+       (%.c: %.y): ... this one.
+       (.l.c): Replace rule with ...
+       (%.c: %.l): ... this one.
+       (.SUFFIXES): Remove all instances.
+
+2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
+       prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
+       make.
+       * configure.ac: Remove checks for the make program.
+       * configure: Re-generate.
+
+2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * NEWS: Mention requirement of GNU make.
+
+2016-11-17  Pedro Alves  <palves@redhat.com>
+
+       * c-exp.y (c_print_token): Use parser_fprintf instead of fprintf.
+
+2016-11-17  Pedro Alves  <palves@redhat.com>
+
+       * ctf.c [USE_WIN32API] (mkdir): Delete.
+
+2016-11-16  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
+       new gdb_byte[] instead of malloc and cleanups.
+
+2016-11-17  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (collection_list::add_memrange): Add gdbarch
+       parameter.  Use paddress instead of printf_vma.  Adjust recursive
+       calls.
+       (collection_list::stringify): Use paddress and phex_nz instead of
+       sprintf_vma.  Adjust add_memrange call.
+       * tracepoint.h (collection_list::add_memrange): Add gdbarch
+       parameter.
+
+2016-11-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * frame.c (get_prev_frame): Stash frame id for current frame
+       prior to computing frame id for previous frame.
+
+2016-11-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * python/py-unwind.c (pending_framepy_read_register): Use
+       value_of_register() instead of get_frame_register_value().
+
+2016-11-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * value.h (VALUE_FRAME_ID): Rename to VALUE_NEXT_FRAME_ID. Update
+       comment.  Create new VALUE_FRAME_ID which is defined in terms of
+       VALUE_NEXT_FRAME_ID.
+       (deprecated_value_frame_id_hack): Rename to
+       deprecated_value_next_frame_id_hack.
+       * dwarf2loc.c, findvar.c, frame-unwind.c, sentinel-frame.c,
+       valarith.c, valops.c, value.c: Adjust nearly all occurences of
+       VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID.  Add comments for those
+       which did not change.
+       * value.c (struct value): Rename frame_id field to next_frame_id.
+       Update comment.
+       (deprecated_value_frame_id_hack): Rename to
+       deprecated_value_next_frame_id_hack.
+       (value_fetch_lazy): Call frame_unwind_register_value()
+       instead of get_frame_register_value().
+       * frame.c (get_prev_frame_id_by_id): New function.
+       * frame.h (get_prev_frame_id_by_id): Declare.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Make
+       VALUE_NEXT_FRAME_ID refer to the next frame.
+       * findvar.c (value_of_register_lazy): Likewise.
+       (default_value_from_register): Likewise.
+       (value_from_register): Likewise.
+       * frame_unwind.c (frame_unwind_got_optimized): Likewise.
+       * sentinel-frame.c (sentinel_frame_prev_register): Likewise.
+       * value.h (VALUE_FRAME_ID): Update comment describing this macro.
+
+2016-11-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * frame.h (enum frame_id_stack_status): Add FID_STACK_SENTINEL.
+       (struct frame_id): Increase number of bits required for storing
+       stack status to 3 from 2.
+       (sentinel_frame_id): New declaration.
+       (get_next_frame_sentinel_okay): Declare.
+       (frame_find_by_id_sentinel_okay): Declare.
+       * frame.c (current_frame): Rename this static global to...
+       (sentinel_frame): ...this static global, which has also been
+       moved an earlier location in the file.
+       (fprint_frame_id): Add case for sentinel frame id.
+       (get_frame_id): Return early for sentinel frame.
+       (sentinel_frame_id): Define.
+       (frame_find_by_id): Add case for sentinel_frame_id.
+       (create_sentinel_frame): Use sentinel_frame_id for this_id.value
+       instead of null_frame_id.
+       (get_current_frame): Add local declaration for `current_frame'.
+       Remove local declaration for `sentinel_frame.'
+       (get_next_frame_sentinel_okay): New function.
+       (reinit_frame_cache): Use `sentinel_frame' in place of
+       `current_frame'.
+
+2016-11-15  Pedro Alves  <palves@redhat.com>
+
+       * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+       38237baf99386101934cd93278023aa4ae523ec0.
+       * gnulib/configure, gnulib/config.in: Regenerate.
+       * gnulib/import/Makefile.am: Regenerate.
+       * gnulib/import/Makefile.in: Regenerate.
+       * gnulib/import/canonicalize-lgpl.c: Update.
+       * gnulib/import/extra/snippet/c++defs.h: Update.
+       * gnulib/import/m4/stdint.m4: Update.
+       * gnulib/import/m4/stdlib_h.m4: Update.
+       * gnulib/import/math.in.h: Update.
+       * gnulib/import/stdlib.in.h: Update.
+       * gnulib/import/sys_time.in.h: Update.
+
 2016-11-15  Pedro Alves  <palves@redhat.com>
 
        * common/common-defs.h: Update comment.
This page took 0.036223 seconds and 4 git commands to generate.