Split value_fetch_lazy
authorSimon Marchi <simon.marchi@ericsson.com>
Sat, 2 Jun 2018 13:17:06 +0000 (09:17 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 2 Jun 2018 13:17:06 +0000 (09:17 -0400)
commit41c60b4b2668947726fb5762de95d57b931a3200
treef7b7a96722e9a994dc3e5c600528e6012f11e0ec
parenta1313186709b5d714c44f9a7d4e93ee36de5ef84
Split value_fetch_lazy

While reading value_fetch_lazy, I thought it would be good to split it
in small functions (especially the part that handles lval_register).

gdb/ChangeLog:

* value.c (value_fetch_lazy_bitfield): New.
(value_fetch_lazy_memory): New.
(value_fetch_lazy_register): New.
(value_fetch_lazy): Factor out to smaller functions.
gdb/ChangeLog
gdb/value.c