diff options
Diffstat (limited to 'gdb/dwarf2/mapped-index.h')
-rw-r--r-- | gdb/dwarf2/mapped-index.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dwarf2/mapped-index.h b/gdb/dwarf2/mapped-index.h index 86a3c59..b4f6483 100644 --- a/gdb/dwarf2/mapped-index.h +++ b/gdb/dwarf2/mapped-index.h @@ -82,6 +82,11 @@ struct dwarf_scanner_base virtual void wait_completely () { } + + /* Look up ADDR, and return either the corresponding CU, or nullptr + if the address could not be found. */ + virtual dwarf2_per_cu_data *lookup (unrelocated_addr addr) + { return nullptr; } }; /* Base class containing bits shared by both .gdb_index and |