aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-11-12 09:14:20 +0000
committerYao Qi <yao.qi@linaro.org>2015-11-12 09:14:20 +0000
commitdf3b6708fe2384913e66d90340b619190cc4530e (patch)
treec72434feee9ff8e21ab9702a1194ac9cc8c2dbe2 /gdb/arm-tdep.c
parenta680de9a980e9d268846e8605af14ba1e7f3a39b (diff)
downloadgdb-df3b6708fe2384913e66d90340b619190cc4530e.zip
gdb-df3b6708fe2384913e66d90340b619190cc4530e.tar.gz
gdb-df3b6708fe2384913e66d90340b619190cc4530e.tar.bz2
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 *.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 308d484..4a8d03b2 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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);