binutils-gdb/gdb/python
Simon Marchi 7c543f7b07 Change some void* to gdb_byte*
There are a bunch of places where a void* is implicitely casted into a
gdb_byte*.  The auto-insert-casts script added explicit casts at those
places.  However, in many cases, it makes more sense to just change the
void* to a gdb_byte*.

gdb/ChangeLog:

	* aarch64-tdep.c (stack_item_t): Change type of data to gdb_byte*.
	* arm-tdep.c (struct stack_item): Likewise.
	(push_stack_item): Add gdb_byte* cast.
	* avr-tdep.c (struct stack_item): Change type of data to gdb_byte*.
	(push_stack_item): Add gdb_byte* cast.
	* cli/cli-dump.c (dump_memory_to_file): Change type of buf to gdb_byte*
	and add cast.
	* cris-tdep.c (struct stack_item): Change type of data to gdb_byte*.
	(push_stack_item): Add gdb_byte* cast.
	* gcore.c (gcore_copy_callback): Change type of memhunk to gdb_byte* and
	add cast.
	* gdbtypes.h (print_scalar_formatted): Change type of first parameter to
	gdb_byte*.
	* h8300-tdep.c (h8300_extract_return_value): Change type of valbuf to
	gdb_byte* and remove unnecessary cast.
	(h8300h_extract_return_value): Likewise.
	(h8300_store_return_value): Change type of valbuf to gdb_byte*.
	(h8300h_store_return_value): Likewise.
	* iq2000-tdep.c (iq2000_extract_return_value): Change type of valbuf to
	gdb_byte* and remove unnecessary cast.
	* jit.c (jit_reader_try_read_symtab): Change type of gdb_mem to gdb_byte*
	and add cast.
	* m32r-tdep.c (m32r_store_return_value): Change type of valbuf to
	gdb_byte* and remove unnecessary cast.
	(m32r_extract_return_value): Change type of dst to gdb_byte* and remove
	valbuf.
	* mep-tdep.c (mep_pseudo_cr32_read): Change type of buf to gdb_byte*.
	(mep_pseudo_cr64_read): Likewise.
	(mep_pseudo_csr_write): Likewise.
	(mep_pseudo_cr32_write): Likewise.
	(mep_pseudo_cr64_write): Likewise.
	* mi/mi-main.c (mi_cmd_data_write_memory): Change type of buffer to
	gdb_byte* and add cast.
	* moxie-tdep.c (moxie_store_return_value): Change type of valbuf to
	gdb_byte* and remove unnecessary cast.
	(moxie_extract_return_value): Change type of dst to gdb_byte* and remove
	valbuf.
	* p-valprint.c (print_scalar_formatted): Change type of valaddr to
	gdb_byte*.
	* printcmd.c (void): Likewise.
	* python/py-inferior.c (infpy_read_memory): Change type of buffer to
	gdb_byte* and add cast.
	(infpy_write_memory): Likewise.
	(infpy_search_memory): Likewise.
	* regcache.c (regcache_raw_write_signed): Change type of buf to gdb_byte*
	and add cast.
	(regcache_raw_write_unsigned): Likewise.
	(regcache_cooked_write_signed): Likewise.
	(regcache_cooked_write_unsigned): Likewise.
	* sh64-tdep.c (h64_extract_return_value): Change type of valbuf to
	gdb_byte*.
2015-10-09 10:08:23 -04:00
..
lib/gdb PR python/17136 2015-08-06 09:24:58 -07:00
py-arch.c
py-auto-load.c
py-block.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-bpevent.c
py-breakpoint.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-cmd.c Add casts to memory allocation related calls 2015-09-25 14:08:06 -04: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 Garbage collect dummy_frame_ctx_saver 2015-09-09 18:25:15 +01:00
py-frame.c DWARF: handle non-local references in nested functions 2015-08-25 08:13:28 -04:00
py-framefilter.c DWARF: handle non-local references in nested functions 2015-08-25 08:13:28 -04:00
py-function.c
py-gdb-readline.c Add casts to memory allocation related calls 2015-09-25 14:08:06 -04:00
py-inferior.c Change some void* to gdb_byte* 2015-10-09 10:08:23 -04:00
py-infevents.c
py-infthread.c
py-lazy-string.c
py-linetable.c python: fix Linetable case to LineTable in docstrings and comments 2015-08-04 09:50:53 -07:00
py-newobjfileevent.c
py-objfile.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-param.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
py-prettyprint.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-progspace.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-symtab.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-threadevent.c
py-type.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-unwind.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-utils.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
py-value.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
py-varobj.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
py-xmethods.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
python-config.py
python-internal.h
python.c Add some more casts (2/2) 2015-09-25 14:08:07 -04:00
python.h