regcache::cooked_write test
authorYao Qi <yao.qi@linaro.org>
Mon, 22 Jan 2018 11:02:49 +0000 (11:02 +0000)
committerYao Qi <yao.qi@linaro.org>
Mon, 22 Jan 2018 11:02:49 +0000 (11:02 +0000)
commitec7a5fcbfd90b2f67f1a0e3f9866b11c5968ae61
tree77e073f5084690a72b01c5d1309aa350823fe46e
parent11f57cb67ecf5c69911eff21b54e05e93bbf2734
regcache::cooked_write test

Since my following patches will change how each gdbarch read and write
pseudo registers, it's better to write a unit test to
regcache::cooked_write, to make sure my following changes don't cause
any regressions.  See the comments on cooked_write_test.

gdb:

2018-01-22  Yao Qi  <yao.qi@linaro.org>

* regcache.c (cooked_write_test): New function.
(_initialize_regcache): Register the test.
gdb/ChangeLog
gdb/regcache.c
This page took 0.027832 seconds and 4 git commands to generate.