This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI output command error


On Sun, Mar 13, 2005 at 10:35:02PM +1300, Nick Roberts wrote:
> Using MI:
> 
> -target-select remote localhost:1234
> ^connected,thread-id="0",frame={addr="0x400012e0",func="??",args=[]}
> (gdb) 
> 111-exec-continue
> 111^running
> (gdb) 
> -exec-interrupt
> 
> The MI command -exec-interrupt does not reach GDB
> 
> -target-select async localhost:1234
> ^connected,thread-id="0",frame={addr="0x400012e0",func="??",args=[]}
> (gdb) 
> 111-exec-continue
> 111^running
> (gdb) 
> -exec-interrupt
> ^done
> (gdb) 
> -exec-continue
> ^error,msg="Cannot execute command exec-continue while target running"
> (gdb) 
> 
> The MI command -exec-interrupt is acknowledged but again the inferior doesn't
> actually seem to continue execution and GDB seems to think the target is still
> running
> 
> So it look like the asynchronous operation has been partially implemented.

Are you interested in debugging this problem?  If you are, I will
volunteer to add tests for it to the testsuite on platforms which
support gdbserver.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]