annotate agent/src/scripts/start-debug-server.bat @ 3237:399aa66d375e

Fixed a bug in which the valueEquals method was misused. The method does only check the equality of the node data and not full GVN equality by taking inputs and successors into account.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Jul 2011 14:16:38 -0700
parents c18cbe5936b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 @echo off
a61af66fc99e Initial load
duke
parents:
diff changeset
2
a61af66fc99e Initial load
duke
parents:
diff changeset
3 REM
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
4 REM Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
5 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
6 REM
a61af66fc99e Initial load
duke
parents:
diff changeset
7 REM This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
8 REM under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
9 REM published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
10 REM
a61af66fc99e Initial load
duke
parents:
diff changeset
11 REM This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
12 REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
13 REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
14 REM version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
15 REM accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
16 REM
a61af66fc99e Initial load
duke
parents:
diff changeset
17 REM You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
18 REM 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
19 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
20 REM
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
21 REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
22 REM or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
23 REM questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
24 REM
a61af66fc99e Initial load
duke
parents:
diff changeset
25 REM
a61af66fc99e Initial load
duke
parents:
diff changeset
26
a61af66fc99e Initial load
duke
parents:
diff changeset
27 if "%1" == "-help" goto usage
a61af66fc99e Initial load
duke
parents:
diff changeset
28
a61af66fc99e Initial load
duke
parents:
diff changeset
29 :JAVA_HOME
a61af66fc99e Initial load
duke
parents:
diff changeset
30 if not exist %JAVA_HOME%\bin\java.exe goto BADJAVAHOME
a61af66fc99e Initial load
duke
parents:
diff changeset
31 if not exist %JAVA_HOME\lib\sa-jdi.jar goto BADJAVAHOME
a61af66fc99e Initial load
duke
parents:
diff changeset
32
a61af66fc99e Initial load
duke
parents:
diff changeset
33 start %JAVA_HOME%\bin\java -classpath %JAVA_HOME%\lib\sa-jdi.jar sun.jvm.hotspot.jdi.SADebugServer %1 %2
a61af66fc99e Initial load
duke
parents:
diff changeset
34 goto end
a61af66fc99e Initial load
duke
parents:
diff changeset
35
a61af66fc99e Initial load
duke
parents:
diff changeset
36 :BADJAVAHOME
a61af66fc99e Initial load
duke
parents:
diff changeset
37 echo JAVA_HOME does not point to a working J2SE 1.5 installation.
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39 :usage
a61af66fc99e Initial load
duke
parents:
diff changeset
40 echo Usage: start-debug-server [pid]
a61af66fc99e Initial load
duke
parents:
diff changeset
41 echo $0 <java executable> [Dr Watson dump file]
a61af66fc99e Initial load
duke
parents:
diff changeset
42 echo Start the JDI debug server on [pid] or [Dr Watson dump file]
a61af66fc99e Initial load
duke
parents:
diff changeset
43 echo so that it can be debugged from a remote machine.
a61af66fc99e Initial load
duke
parents:
diff changeset
44 echo JAVA_HOME must contain the pathname of a J2SE 1.5
a61af66fc99e Initial load
duke
parents:
diff changeset
45 echo installation.
a61af66fc99e Initial load
duke
parents:
diff changeset
46
a61af66fc99e Initial load
duke
parents:
diff changeset
47 :end