diff options
-rw-r--r-- | gdb/dwarf2/read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 59a6500..6d95874 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -11092,6 +11092,7 @@ dwarf2_get_pc_bounds (struct die_info *die, unrelocated_addr *lowpc, && !per_objfile->per_bfd->has_section_at_zero) return PC_BOUNDS_INVALID; + gdb_assert (lowpc != nullptr); *lowpc = low; if (highpc != nullptr) *highpc = high; |