diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-13 03:18:18 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-13 03:18:18 +0000 |
commit | ff56144ec8eba32480048784f58dc76415dbadc7 (patch) | |
tree | cde17fd0559db32427e9b7ec881efd0d2d163dce /gdb/solib.c | |
parent | b0f61d04f617f32c4ee1e8b7fb35b6b79a854c98 (diff) | |
download | gdb-ff56144ec8eba32480048784f58dc76415dbadc7.zip gdb-ff56144ec8eba32480048784f58dc76415dbadc7.tar.gz gdb-ff56144ec8eba32480048784f58dc76415dbadc7.tar.bz2 |
* solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index e4bf9d7..79a0e01 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -1198,12 +1198,17 @@ FIXME void solib_create_inferior_hook() { - + /* If we are using the BKPT_AT_SYMBOL code, then we don't need the base + yet. In fact, in the case of a SunOS4 executable being run on + Solaris, we can't get it yet. find_solib will get it when it needs + it. */ +#if !(defined (SVR4_SHARED_LIBS) && defined (BKPT_AT_SYMBOL)) if ((debug_base = locate_base ()) == 0) { /* Can't find the symbol or the executable is statically linked. */ return; } +#endif if (!enable_break ()) { |