This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: insight/52
- To: Steven Johnson <sbjohnson at ozemail dot com dot au>
- Subject: Re: insight/52
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 12 Oct 2000 21:54:13 +0000
- CC: insight at sourceware dot cygnus dot com
- Organization: Red Hat Canada Ltd. - Toronto
- References: <20001012161301.19246.qmail@sourceware.cygnus.com> <39E62A7D.5CECCADD@ozemail.com.au>
Steven Johnson wrote:
>
> I Had to change this to read
> if {$gdb_running} {
> return
> }
>
> Otherwise the TCL Interpreter hated it.
>
Thanks, as I said, I had no way of testing it :)
> Did this, and download worked great. BUT...
>
> Now I can Connect, and Download OK.
>
> I Can insert a breakpoint and RUN OK.
>
> If I then insert another breakpoint and CONTINUE.
>
> The target runs and breaks, but Insight doesn't show the break having occured.
> I can change the source file and come back to the file it is broken in and the
> state changes for "GDB Running" to "GDB Halted" but the indicated line is
> wrong. (I can view the registers and the $pc is definately pointing to the next
> breakpoint instruction.)
>
> I think it is something to do with the change we made to gdbtk_update, but i'm
> not sure what.
>
Yeah, I was afraid that would happen but I hoped the gdb_running was going to be
unset before gdbtk_update.
I will have to create a "safe_gdbtk_update" for the after commands and leave the
original alone.
I am sending you the patch momentarily.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9