Use value_contents instead of value_contents_writeable
authorYao Qi <yao.qi@linaro.org>
Mon, 16 Nov 2015 14:47:50 +0000 (14:47 +0000)
committerYao Qi <yao.qi@linaro.org>
Mon, 16 Nov 2015 14:47:50 +0000 (14:47 +0000)
commit0d1993c072e5617b69204aef641acd2385b080ec
tree06804dd8b9feec01eac2a8f3b57b367ecd3053dd
parentef9bd0b8d7d0a70f9fa9b239a03099c57eb5ceea
Use value_contents instead of value_contents_writeable

Both aarch64_push_dummy_call and bfin_push_dummy_call only use args[i]
contents but then never write to them, so that we can use
value_contents instead.

gdb:

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

* aarch64-tdep.c (aarch64_push_dummy_call): Call value_contents instead
of value_contents_writeable.
* bfin-tdep.c (bfin_push_dummy_call): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/bfin-tdep.c