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 PR python/19293 - invalidate frame cache when unwinders change 2016-07-12 13:56:07 -06:00
py-arch.c Use ui_file_as_string in gdb/python/ 2016-11-08 15:26:45 +00:00
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 PR python/15620, PR python/18620 - breakpoint events in Python 2016-07-13 13:59:55 -06:00
py-evtregistry.c
py-evts.c PR python/15620, PR python/18620 - breakpoint events in Python 2016-07-13 13:59:55 -06:00
py-exitedevent.c
py-finishbreakpoint.c remove trivialy unused variables 2016-05-07 20:12:53 -04:00
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 remove trivialy unused variables 2016-05-07 20:12:53 -04:00
py-infevents.c remove trivialy unused variables 2016-05-07 20:12:53 -04:00
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 remove trivialy unused variables 2016-05-07 20:12:53 -04:00
py-newobjfileevent.c
py-objfile.c Make symfile_add_flags and objfile->flags strongly typed 2016-10-26 16:47:10 +01:00
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 Fix PR python/19438, PR python/18393 - initialize dictionaries 2016-05-23 10:08:34 -06:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c remove trivialy unused variables 2016-05-07 20:12:53 -04:00
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 PR python/19819 - remove unused globals from py-xmethods.c 2016-06-09 14:29:21 -06:00
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