Remove dead code in regcache::dump
authorYao Qi <yao.qi@linaro.org>
Fri, 24 Nov 2017 14:58:45 +0000 (14:58 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 24 Nov 2017 14:59:02 +0000 (14:59 +0000)
commite8d58cbaacb9ca54ad32eee1a38301202e09f878
treeed5851166478e70aa2ce833e9b343dc63263c7a2
parent650444eb540f9fd85e821567a3f943b4bc41b8be
Remove dead code in regcache::dump

footnote_register_size in regcache::dump is a constant zero, so the
condition check against footnote_register_size is dead code.  The code
writing to footnote_register_size was removed by 01e1877.

This patche removes footnote_register_size and the dead code.

gdb:

2017-11-24  Yao Qi  <yao.qi@linaro.org>

* regcache.c (regcache::dump): Remove footnote_register_size.
gdb/ChangeLog
gdb/regcache.c