Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* rdi debugger dies and ctrl-c stops working
@ 2001-09-10 10:12 Shaun Jackman
  2001-09-10 10:22 ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Shaun Jackman @ 2001-09-10 10:12 UTC (permalink / raw)
  To: gdb

I have a Jeeni debugger which occasionally hangs. When this happens while the 
target is running ctrl-c can't be used to grab a hold of gdb. I know gdb 
hasn't crashed though because ctrl-c causes a packet to be sent out on 
ethernet to the Jeeni. Is there another signal I can send to gdb to cause it 
to abort the rdi connection and put me back at the prompt?

Thanks,
Shaun


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rdi debugger dies and ctrl-c stops working
  2001-09-10 10:12 rdi debugger dies and ctrl-c stops working Shaun Jackman
@ 2001-09-10 10:22 ` Grant Edwards
  2001-09-11  8:05   ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2001-09-10 10:22 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: gdb

On Mon, Sep 10, 2001 at 11:12:45AM -0600, Shaun Jackman wrote:

> I have a Jeeni debugger which occasionally hangs. When this
> happens while the target is running ctrl-c can't be used to
> grab a hold of gdb. I know gdb hasn't crashed though because
> ctrl-c causes a packet to be sent out on ethernet to the Jeeni.
> Is there another signal I can send to gdb to cause it to abort
> the rdi connection and put me back at the prompt?

In my experience that happens when the Jeeni and the ARM debug
macro cell have gotten out of sync (e.g. the CPU has been
reset).  Even if you could get gdb back to the command prompt,
I think you'd still have to reset the Jeeni and start over.

It would be nice to be able to get gdb's attention without
having to kill it from another window or put it into background
and do a "kill %1".

-- 
Grant Edwards
grante@visi.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rdi debugger dies and ctrl-c stops working
  2001-09-10 10:22 ` Grant Edwards
@ 2001-09-11  8:05   ` Andrew Cagney
  2001-09-11  8:07     ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2001-09-11  8:05 UTC (permalink / raw)
  To: Grant Edwards; +Cc: Shaun Jackman, gdb

> On Mon, Sep 10, 2001 at 11:12:45AM -0600, Shaun Jackman wrote:
> 
> 
>> I have a Jeeni debugger which occasionally hangs. When this
>> happens while the target is running ctrl-c can't be used to
>> grab a hold of gdb. I know gdb hasn't crashed though because
>> ctrl-c causes a packet to be sent out on ethernet to the Jeeni.
>> Is there another signal I can send to gdb to cause it to abort
>> the rdi connection and put me back at the prompt?
> 
> 
> In my experience that happens when the Jeeni and the ARM debug
> macro cell have gotten out of sync (e.g. the CPU has been
> reset).  Even if you could get gdb back to the command prompt,
> I think you'd still have to reset the Jeeni and start over.
> 
> It would be nice to be able to get gdb's attention without
> having to kill it from another window or put it into background
> and do a "kill %1".


remote.c counts cntrl-c.  more than one and it asks if you want to 
abandon the connection.  perhaps you could modify your gdb backend so 
that it has the same behaviour?

andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rdi debugger dies and ctrl-c stops working
  2001-09-11  8:05   ` Andrew Cagney
@ 2001-09-11  8:07     ` Grant Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2001-09-11  8:07 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Shaun Jackman, gdb

On Tue, Sep 11, 2001 at 11:04:50AM -0400, Andrew Cagney wrote:

> > It would be nice to be able to get gdb's attention without
> > having to kill it from another window or put it into background
> > and do a "kill %1".
> 
> remote.c counts cntrl-c.  more than one and it asks if you want to 
> abandon the connection.  perhaps you could modify your gdb backend so 
> that it has the same behaviour?

Good idea.  I'll put that on my list of things to do...

-- 
Grant Edwards
grante@visi.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-11  8:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10 10:12 rdi debugger dies and ctrl-c stops working Shaun Jackman
2001-09-10 10:22 ` Grant Edwards
2001-09-11  8:05   ` Andrew Cagney
2001-09-11  8:07     ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox