Index: solib-osf.c =================================================================== RCS file: /cvs/src/src/gdb/solib-osf.c,v retrieving revision 1.3 diff -c -3 -p -r1.3 solib-osf.c *** solib-osf.c 1 Nov 2001 16:17:08 -0000 1.3 --- solib-osf.c 18 Jun 2002 05:44:18 -0000 *************** static int *** 359,365 **** open_map (struct read_map_ctxt *ctxt) { #ifdef USE_LDR_ROUTINES ! ctxt->proc = ldr_my_process (); if (ldr_xattach (ctxt->proc) != 0) return 0; ctxt->next = LDR_NULL_MODULE; --- 359,365 ---- open_map (struct read_map_ctxt *ctxt) { #ifdef USE_LDR_ROUTINES ! ctxt->proc = ptid_get_pid (inferior_ptid); if (ldr_xattach (ctxt->proc) != 0) return 0; ctxt->next = LDR_NULL_MODULE;