From 6f992fbf7f905201ff3eef540d184b7538c16bd3 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 27 Apr 2010 21:02:11 +0000 Subject: Expand description of solib-svr4.c:solib_svr4_r_map 2010-04-27 Joel Brobecker * solib-svr4.c (solib_svr4_r_map): Expand function description. --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + * solib-svr4.c (solib_svr4_r_map): Expand function description. + +2010-04-27 Joel Brobecker + * 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 -- cgit v1.1