OSDN Git Service

2000-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
authorFernando Nasser <fnasser@redhat.com>
Wed, 4 Oct 2000 20:35:32 +0000 (20:35 +0000)
committerFernando Nasser <fnasser@redhat.com>
Wed, 4 Oct 2000 20:35:32 +0000 (20:35 +0000)
* download.itb (download_it): Fix previous changes for non-windows
hosts.
* srctextwin.itb (LoadFromCache): Ditto.

gdb/gdbtk/library/ChangeLog
gdb/gdbtk/library/download.itb
gdb/gdbtk/library/srctextwin.itb

index 5f2aa45..19cee96 100644 (file)
@@ -1,5 +1,11 @@
 2000-10-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
 
+       * download.itb (download_it): Fix previous changes for non-windows
+       hosts.
+       * srctextwin.itb (LoadFromCache): Ditto.
+
+2000-10-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
+
        * download.itb (download_it): Convert filename to native before
        passing it to a Tcl command.
        * srctextwin.itb (_mtime_changed): Ditto.
index 7b33dd3..d7dd915 100644 (file)
@@ -188,6 +188,8 @@ body Download::download_it { } {
   
   if {[string compare $tcl_platform(platform) "windows"] == 0} {
     set f [ide_cygwin_path to_win32 $gdb_exe_name]
+  } else {
+    set f $gdb_exe_name
   }
   if {! [file exists $f]} {
     tk_messageBox -icon error -title GDB -type ok -modal task\
index 2a4e26e..5b33a51 100644 (file)
@@ -2570,6 +2570,8 @@ body SrcTextWin::LoadFromCache {w name asm lib} {
     if {$loadingSource} {
       if {[string compare $tcl_platform(platform) "windows"] == 0} {
         set f [ide_cygwin_path to_win32 $name]
+      } else {
+        set f $name
       }
       if {[catch {file mtime $f} file_time]} {
        debug "Could not stat file \"$f\" - \"$file_time\""