summaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index 08d8e7690b9..c8836867b46 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -64,7 +64,11 @@ struct so_list
struct objfile *objfile; /* objfile for loaded lib */
struct section_table *sections;
struct section_table *sections_end;
- struct section_table *textsection;
+
+ /* Record the range of addresses belonging to this shared library.
+ There may not be just one (e.g. if two segments are relocated
+ differently); but this is only used for "info sharedlibrary". */
+ CORE_ADDR addr_low, addr_high;
};
struct target_so_ops