Add cast to observer.sh

gdb/ChangeLog:

	* observer.h (observer_${event}_notification_stub): Add cast.
This commit is contained in:
Simon Marchi 2015-10-23 16:58:13 -04:00
parent 3db2885585
commit 6ecf4e06a4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-10-23 Simon Marchi <simon.marchi@ericsson.com>
* observer.h (observer_${event}_notification_stub): Add cast.
2015-10-23 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_displaced_step_copy_insn): Set

View File

@ -143,7 +143,7 @@ EOF
if test ! -z "${notify_args}"; then
cat<<EOF >>${otmp}
const struct ${event}_args *args = args_data;
const struct ${event}_args *args = (const struct ${event}_args *) args_data;
EOF
fi
cat <<EOF >>${otmp}