From 1dbab08b0e074effc30661c9b894f7a75dd51c94 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 27 Mar 2014 11:43:47 -0700 Subject: [PATCH] * dwarf2read.c (struct dwarf2_cu): Improve comments for members addr_base, ranges_base. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53f12e87f90..e5b16bc0861 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-03-27 Doug Evans + + * dwarf2read.c (struct dwarf2_cu): Improve comments for members + addr_base, ranges_base. + 2014-03-26 Keith Seitz * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 705dc2d1b72..cf95583feca 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -513,12 +513,12 @@ struct dwarf2_cu /* The DW_AT_addr_base attribute if present, zero otherwise (zero is a valid value though). - Note this value comes from the stub CU/TU's DIE. */ + Note this value comes from the Fission stub CU/TU's DIE. */ ULONGEST addr_base; /* The DW_AT_ranges_base attribute if present, zero otherwise (zero is a valid value though). - Note this value comes from the stub CU/TU's DIE. + Note this value comes from the Fission stub CU/TU's DIE. Also note that the value is zero in the non-DWO case so this value can be used without needing to know whether DWO files are in use or not. N.B. This does not apply to DW_AT_ranges appearing in -- 2.30.2