Remove deprecated_lval_hack
This removes deprecated_lval_hack and the VALUE_LVAL macro, replacing all uses with a call to value::lval. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
parent
6f9c9d71c2
commit
736355f2e1
28 changed files with 112 additions and 122 deletions
|
@ -272,7 +272,7 @@ unwind_infopy_add_saved_register (PyObject *self, PyObject *args)
|
|||
{
|
||||
struct value *user_reg_value
|
||||
= value_of_user_reg (regnum, pending_frame->frame_info);
|
||||
if (VALUE_LVAL (user_reg_value) == lval_register)
|
||||
if (user_reg_value->lval () == lval_register)
|
||||
regnum = VALUE_REGNUM (user_reg_value);
|
||||
if (regnum >= gdbarch_num_cooked_regs (pending_frame->gdbarch))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue