diff options
author | Stan Shebs <shebs@codesourcery.com> | 1998-04-22 01:44:38 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1998-04-22 01:44:38 +0000 |
commit | e3147bf28665073fd6c24354abd8056e7d6d7d2f (patch) | |
tree | d780b56779c0e1cef9eddc5bc5d8966d719ca48b /gdb/solib.c | |
parent | b90b2ac2ee558d5b62392d3aeb0e73aa392123a1 (diff) | |
download | gdb-e3147bf28665073fd6c24354abd8056e7d6d7d2f.zip gdb-e3147bf28665073fd6c24354abd8056e7d6d7d2f.tar.gz gdb-e3147bf28665073fd6c24354abd8056e7d6d7d2f.tar.bz2 |
Humoring RMS by saying "GNU/Linux" instead of just "Linux"
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 7d52b69..71faffd 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -1544,7 +1544,7 @@ enable_break () This address is stored on the stack. However, I've been unable to find any magic formula to find it for Solaris (appears to - be trivial on Linux). Therefore, we have to try an alternate + be trivial on GNU/Linux). Therefore, we have to try an alternate mechanism to find the dynamic linker's base address. */ tmp_bfd = bfd_openr (buf, gnutarget); if (tmp_bfd == NULL) @@ -1703,8 +1703,8 @@ solib_create_inferior_hook() return; } -#ifndef SVR4_SHARED_LIBS - /* Only SunOS needs the loop below, other systems should be using the +#if !defined(SVR4_SHARED_LIBS) || defined(_SCO_DS) + /* SCO and SunOS need the loop below, other systems should be using the special shared library breakpoints and the shared library breakpoint service routine. @@ -1723,7 +1723,8 @@ solib_create_inferior_hook() } while (stop_signal != TARGET_SIGNAL_TRAP); stop_soon_quietly = 0; - + +#if !defined(_SCO_DS) /* We are now either at the "mapping complete" breakpoint (or somewhere else, a condition we aren't prepared to deal with anyway), so adjust the PC as necessary after a breakpoint, disable the breakpoint, and @@ -1742,6 +1743,7 @@ solib_create_inferior_hook() if (auto_solib_add) solib_add ((char *) 0, 0, (struct target_ops *) 0); +#endif /* ! _SCO_DS */ #endif } |