* [PATCH OBV] Use gdb_byte * instead of void * in push_stack_item
@ 2015-11-12 9:14 Yao Qi
0 siblings, 0 replies; only message in thread
From: Yao Qi @ 2015-11-12 9:14 UTC (permalink / raw)
To: gdb-patches
It is obvious. I'll push it in.
gdb:
2015-11-12 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (push_stack_item): Change contents type to
const gdb_byte *.
---
gdb/ChangeLog | 5 +++++
gdb/arm-tdep.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cd5b9e7..f21cf2e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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 *
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 83ce926..62dc3fb 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);
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-12 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 9:14 [PATCH OBV] Use gdb_byte * instead of void * in push_stack_item Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).