From: brobecke Date: Thu, 28 Jun 2001 10:36:19 +0000 (+0000) Subject: (osf_in_dynsym_resolve_code): Add a comment explaining the consequences of X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=471aa2079104dfecc9d21d8c06a3699deb1ba4e4;p=pf3gnuchains%2Fpf3gnuchains3x.git (osf_in_dynsym_resolve_code): Add a comment explaining the consequences of always returning zero. No code change. --- diff --git a/gdb/solib-osf.c b/gdb/solib-osf.c index 805254f538..eb78a419a2 100644 --- a/gdb/solib-osf.c +++ b/gdb/solib-osf.c @@ -589,6 +589,12 @@ osf_open_symbol_file_object (void *from_ttyp) static int osf_in_dynsym_resolve_code (CORE_ADDR pc) { + /* This function currently always return False. This is a temporary + solution which only consequence is to introduce a minor incovenience + for the user: When stepping inside a subprogram located in a shared + library, gdb might stop inside the dynamic loader code instead of + inside the subprogram itself. See the explanations in infrun.c about + the IN_SOLIB_DYNSYM_RESOLVE_CODE macro for more details. */ return 0; }