binutils-gdb/gdb/python
Yao Qi 668e167446 Remove apply_val_pretty_printer parameter valaddr
This patch removes the parameter valaddr of
extension_language_ops::apply_val_pretty_printer and remove const from
"struct value *val".  valaddr can be got in each extension language's
implementation of apply_val_pretty_printer.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* cp-valprint.c (cp_print_value): Remove local base_valaddr.
	* extension-priv.h (struct extension_language_ops)
	<apply_val_pretty_printer>: Remove the second parameter.
	Remove const from "struct value *".  Callers updated.
	* extension.c (apply_ext_lang_val_pretty_printer): Update
	comments.  Remove parameter valaddr.  Remove const from
	"struct value *".
	* extension.h (apply_ext_lang_val_pretty_printer): Update
	declaration.
	* guile/guile-internal.h (gdbscm_apply_val_pretty_printer):
	Update declaration.
	* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
	Remove parameter valaddr.  Remove const from "struct value *".
	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
	Likewise.
	* python/python-internal.h (gdbpy_apply_val_pretty_printer):
	Update declaration.
2016-11-11 08:38:31 +00:00
..
lib/gdb
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-cmd.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-framefilter.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-function.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-gdb-readline.c
py-inferior.c
py-infevents.c
py-infthread.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c
py-param.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-prettyprint.c Remove apply_val_pretty_printer parameter valaddr 2016-11-11 08:38:31 +00:00
py-progspace.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-type.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-unwind.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-utils.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-value.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-varobj.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
py-xmethods.c
python-config.py
python-internal.h Remove apply_val_pretty_printer parameter valaddr 2016-11-11 08:38:31 +00:00
python.c Use unique_xmalloc_ptr in Python code 2016-11-09 19:40:12 -07:00
python.h