diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 9fe9f9a..3318fb3 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2295,24 +2295,10 @@ remote_open_1 (char *name, int from_tty, struct target_ops *target, getpkt (buf, rs->remote_packet_size, 0); } - /* FIXME: need a master target_open vector from which all - remote_opens can be called, so that stuff like this can - go there. Failing that, the following code must be copied - to the open function for any remote target that wants to - support svr4 shared libraries. */ + post_create_inferior (¤t_target, from_tty); - /* Set up to detect and load shared libraries. */ if (exec_bfd) /* No use without an exec file. */ - { -#ifdef SOLIB_CREATE_INFERIOR_HOOK - SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid)); -#else - solib_create_inferior_hook (); -#endif - remote_check_symbols (symfile_objfile); - } - - observer_notify_inferior_created (¤t_target, from_tty); + remote_check_symbols (symfile_objfile); } /* This takes a program previously attached to and detaches it. After |