gdbserver/xtensa: fix typo in XCHAL_HAVE_LOOPS
This fixes lbeg/lend/lcount registers handling through gdbserver. 2015-04-17 Max Filippov <jcmvbkbc@gmail.com> gdb/gdbserver/ * linux-xtensa-low.c (xtensa_fill_gregset) (xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of XCHAL_HAVE_LOOP.
This commit is contained in:
parent
deb44829ec
commit
a2d5a9d76f
|
@ -1,3 +1,9 @@
|
||||||
|
2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
|
||||||
|
|
||||||
|
* linux-xtensa-low.c (xtensa_fill_gregset)
|
||||||
|
(xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of
|
||||||
|
XCHAL_HAVE_LOOP.
|
||||||
|
|
||||||
2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
|
2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
|
||||||
|
|
||||||
* linux-xtensa-low.c (xtensa_usrregs_info): Remove.
|
* linux-xtensa-low.c (xtensa_usrregs_info): Remove.
|
||||||
|
|
|
@ -59,7 +59,7 @@ xtensa_fill_gregset (struct regcache *regcache, void *buf)
|
||||||
|
|
||||||
/* Loop registers, if hardware has it. */
|
/* Loop registers, if hardware has it. */
|
||||||
|
|
||||||
#if XCHAL_HAVE_LOOP
|
#if XCHAL_HAVE_LOOPS
|
||||||
collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
|
collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
|
||||||
collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
|
collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
|
||||||
collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
|
collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
|
||||||
|
@ -94,7 +94,7 @@ xtensa_store_gregset (struct regcache *regcache, const void *buf)
|
||||||
|
|
||||||
/* Loop registers, if hardware has it. */
|
/* Loop registers, if hardware has it. */
|
||||||
|
|
||||||
#if XCHAL_HAVE_LOOP
|
#if XCHAL_HAVE_LOOPS
|
||||||
supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
|
supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
|
||||||
supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
|
supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
|
||||||
supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
|
supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
|
||||||
|
|
Loading…
Reference in New Issue