From: Joel Brobecker Date: Tue, 27 Apr 2010 21:02:11 +0000 (+0000) Subject: Expand description of solib-svr4.c:solib_svr4_r_map X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f992fbf7f905201ff3eef540d184b7538c16bd3;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a45894e23b..b5ca30f5870 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 3ff4243c9b8..1928af0a24c 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