Fixed to keep runtime and runtime-check debugging info separate.
authorStephen Adams <edu/mit/csail/zurich/adams>
Tue, 23 Jul 1996 03:44:03 +0000 (03:44 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Tue, 23 Jul 1996 03:44:03 +0000 (03:44 +0000)
v8/src/runtime/make.scm

index 19bfb574138c144f2bb6887d3d36618a177d9857..66c0a134f283b51d8975f5d3100241b7db455bab 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: make.scm,v 14.59 1996/04/24 04:17:40 cph Exp $
+$Id: make.scm,v 14.60 1996/07/23 03:44:03 adams Exp $
 
 Copyright (c) 1988-96 Massachusetts Institute of Technology
 
@@ -510,11 +510,16 @@ MIT in each case. |#
 (let ((roots
        (list->vector
        ;; Make all debugging file names relative to runtime in scheme root
-        ;; directory.
+        ;; directory. Note that we have to keep runtime and
+        ;; runtime-check separate because the debugging info is
+        ;; different.
        ((access with-directory-rewriting-rule
                 (->environment '(RUNTIME COMPILER-INFO)))
         (working-directory-pathname)
-        (pathname-as-directory "runtime")
+        (if (string=? (car (last-pair (pathname-directory (pwd))))
+                      "runtime-check")
+            (pathname-as-directory "runtime-check")
+            (pathname-as-directory "runtime"))
         (lambda ()
           (let ((fasload/update-debugging-info!
                  (access fasload/update-debugging-info!