SYMTAB_OBJFILE: New macro.
gdb/ChangeLog: * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member symtab.objfile updated to use it.
This commit is contained in:
parent
98387a2917
commit
eb822aa6d0
19 changed files with 52 additions and 43 deletions
|
@ -303,7 +303,7 @@ frapy_block (PyObject *self, PyObject *args)
|
|||
struct symtab *symt;
|
||||
|
||||
symt = SYMBOL_SYMTAB (BLOCK_FUNCTION (fn_block));
|
||||
return block_to_block_object (block, symt->objfile);
|
||||
return block_to_block_object (block, SYMTAB_OBJFILE (symt));
|
||||
}
|
||||
|
||||
Py_RETURN_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue