Introduce get_value_arch
authorSimon Marchi <simon.marchi@ericsson.com>
Tue, 28 Jul 2015 15:01:50 +0000 (11:01 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 28 Jul 2015 15:01:50 +0000 (11:01 -0400)
commite512cdbdffafefa63baeb835ba6636fcef56e17d
tree3d1ebb4988fa11cae9461cc8e0dcaa4a2fa9f21a
parent3723fda829671b273d7b31a0753bb1fa8f614cb6
Introduce get_value_arch

Similar to get_type_arch, used to get the gdbarch associated to a
struct value.

gdb/ChangeLog:

* value.c (get_value_arch): New function.
* value.h (get_value_arch): New declaration.
gdb/ChangeLog
gdb/value.c
gdb/value.h