* Reload with SRC+ASM and MIXED is finally fixed
@ 2001-01-15 12:16 Fernando Nasser
2001-01-15 12:19 ` Fernando Nasser
0 siblings, 1 reply; 2+ messages in thread
From: Fernando Nasser @ 2001-01-15 12:16 UTC (permalink / raw)
To: Insight List
It costed me another tour of the SrcWin maze. I hate this code.
Here it is. (I checked it in already.)
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Index: srcwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srcwin.itb,v
retrieving revision 1.9
diff -c -p -r1.9 srcwin.itb
*** srcwin.itb 2001/01/03 15:13:16 1.9
--- srcwin.itb 2001/01/15 19:56:57
*************** body SrcWin::clear_file {} {
*** 888,894 ****
# Reset to Source mode
if {[$twin mode_get] != "SOURCE"} {
! mode {} SOURCE
}
no_inferior
--- 888,894 ----
# Reset to Source mode
if {[$twin mode_get] != "SOURCE"} {
! mode {} SOURCE 0
}
no_inferior
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reload with SRC+ASM and MIXED is finally fixed
2001-01-15 12:16 Reload with SRC+ASM and MIXED is finally fixed Fernando Nasser
@ 2001-01-15 12:19 ` Fernando Nasser
0 siblings, 0 replies; 2+ messages in thread
From: Fernando Nasser @ 2001-01-15 12:19 UTC (permalink / raw)
To: Insight List
Forgot the ChangeLog entry. Here it is again:
* srcwin.itb (clear_file): Pass the appropriate value to the GO
argument of mode() so it does not try to read a source file when
no executable is loaded.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Index: srcwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srcwin.itb,v
retrieving revision 1.9
diff -c -p -r1.9 srcwin.itb
*** srcwin.itb 2001/01/03 15:13:16 1.9
--- srcwin.itb 2001/01/15 19:56:57
*************** body SrcWin::clear_file {} {
*** 888,894 ****
# Reset to Source mode
if {[$twin mode_get] != "SOURCE"} {
! mode {} SOURCE
}
no_inferior
--- 888,894 ----
# Reset to Source mode
if {[$twin mode_get] != "SOURCE"} {
! mode {} SOURCE 0
}
no_inferior
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-15 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-15 12:16 Reload with SRC+ASM and MIXED is finally fixed Fernando Nasser
2001-01-15 12:19 ` Fernando Nasser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).