This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

Reload with SRC+ASM and MIXED is finally fixed


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

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