hotspot/agent/make/start-debug-server
author roland
Wed, 14 Sep 2011 09:22:51 +0200
changeset 11196 a310a659c580
parent 1 489c9b5090e2
permissions -rw-r--r--
7077312: Provide a CALL effect for instruct declaration in the ad file Summary: abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers) Reviewed-by: twisti, never
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#!/bin/sh
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
STARTDIR=`dirname $0`
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
if [ "x$SA_JAVA" = "x" ]; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
   SA_JAVA=java
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
if [ -f $STARTDIR/sa.jar ] ; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
  CP=$STARTDIR/sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
  CP=$STARTDIR/../build/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# License file for development version of dbx
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
$SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*