Use gdb_byte * instead of void * in push_stack_item

gdb:

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

	* arm-tdep.c (push_stack_item): Change contents type to
	const gdb_byte *.
This commit is contained in:
Yao Qi 2015-11-12 09:14:20 +00:00
parent a680de9a98
commit df3b6708fe
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-11-12 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (push_stack_item): Change contents type to
const gdb_byte *.
2015-11-11 Simon Marchi <simon.marchi@ericsson.com>
* inf-ptrace.c (inf_ptrace_fetch_register): Change long int *

View File

@ -3395,7 +3395,7 @@ struct stack_item
};
static struct stack_item *
push_stack_item (struct stack_item *prev, const void *contents, int len)
push_stack_item (struct stack_item *prev, const gdb_byte *contents, int len)
{
struct stack_item *si;
si = XNEW (struct stack_item);