gdb: remove SYMBOL_LINE macro
Add a getter and a setter for a symbol's line. Remove the corresponding macro and adjust all callers. Change-Id: I229f2b8fcf938c07975f641361313a8761fad9a5
This commit is contained in:
parent
5f9c5a63ce
commit
5d0027b9ba
13 changed files with 34 additions and 25 deletions
|
@ -221,7 +221,7 @@ sympy_line (PyObject *self, void *closure)
|
|||
|
||||
SYMPY_REQUIRE_VALID (self, symbol);
|
||||
|
||||
return gdb_py_object_from_longest (SYMBOL_LINE (symbol)).release ();
|
||||
return gdb_py_object_from_longest (symbol->line ()).release ();
|
||||
}
|
||||
|
||||
/* Implementation of gdb.Symbol.is_valid (self) -> Boolean.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue