From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Grant Edwards Cc: Subject: Re: No step button using insight w/ remote target. Date: Mon, 19 Nov 2001 12:17:00 -0000 Message-ID: References: <20011119141059.A26724@visi.com> X-SW-Source: 2001-q4/msg00333.html Message-ID: <20011119121700.klJwQepunioy_Yd0oX2mpoTNdwrkus3vg4vqFJulRn8@z> On Mon, 19 Nov 2001, Grant Edwards wrote: > (gdb) tk set ::gdb_running > 0 Of course. This is the problem of the problem. The toolbar buttons get activated when gdb_running is non-zero... > (gdb) tk gdb_target_has_execution > 0 A ha! So this is the cause of your problems. gdb_target_has_execution does not think that the inferior is running... static int gdb_target_has_execution_command (clientData, interp, objc, objv) ClientData clientData; Tcl_Interp *interp; int objc; Tcl_Obj *CONST objv[]; { int result = 0; if (target_has_execution && ! ptid_equal (inferior_ptid, null_ptid)) result = 1; Tcl_SetBooleanObj (result_ptr->obj_ptr, result); return TCL_OK; } So we've got: target_has_execution is 0 and/or inferior_ptid is null_ptid. Can you break in this function and find out what the case is? Keith