aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-04-27 21:02:11 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-04-27 21:02:11 +0000
commit6f992fbf7f905201ff3eef540d184b7538c16bd3 (patch)
tree83799ddb05996964c296b4d53a15d2916e2b3220
parentdde59185267c8f3df6c3aa19d132277f45143c79 (diff)
downloadgdb-6f992fbf7f905201ff3eef540d184b7538c16bd3.zip
gdb-6f992fbf7f905201ff3eef540d184b7538c16bd3.tar.gz
gdb-6f992fbf7f905201ff3eef540d184b7538c16bd3.tar.bz2
Expand description of solib-svr4.c:solib_svr4_r_map
2010-04-27 Joel Brobecker <brobecker@adacore.com> * solib-svr4.c (solib_svr4_r_map): Expand function description.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib-svr4.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8a45894..b5ca30f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2010-04-27 Joel Brobecker <brobecker@adacore.com>
+ * solib-svr4.c (solib_svr4_r_map): Expand function description.
+
+2010-04-27 Joel Brobecker <brobecker@adacore.com>
+
* symfile.c (init_filename_language_table): Register .dg files
with language_ada.
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 3ff4243..1928af0 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -869,7 +869,8 @@ locate_base (struct svr4_info *info)
}
/* Find the first element in the inferior's dynamic link map, and
- return its address in the inferior.
+ return its address in the inferior. Return zero if the address
+ could not be determined.
FIXME: Perhaps we should validate the info somehow, perhaps by
checking r_version for a known version number, or r_state for