8067194: Restructure hotspot/agent/src to conform the modular source layout
Summary: Move sources under jdk.hotspot.agent
Reviewed-by: ihse, erikj, jbachorik
This dir contains a test for the JDI-SA implementation.sagtest.java, sagtarg.java are a normal JDI regression testthat uses TargetAdapter.java, TargetListener.java, TestScaffold.java,and VMConnection.java.This test starts the debuggee, sagtarg.java, which just does a wait.The test then calls sagdoit.java which calls all the JDJI interfacefunctions. Well, it doesn't call them all yet, but that is the plan.At least all that are interesting to the JDI-SA client. The result ofeach call is sent to stdoutThe script runjpda.sh runs this test. It then runs the targ part ofthe test and calls gcore on it to get a core dump into file sagcore.Do runjpda.sh >& kkto run this. NOTE that this produces 1000s of lines of output so be sure to redirect to a file.File sagclient.java is a test program that uses the JDI-SAclient to connect to a core file or pid and then calls sagdoitwhich calls the JDI methods.The script runsa.sh can be used to run sagclient on sagcore: runsa.sh sagcore >& kk1You can then look at the differences between the runjpda.sh and the runsa.sh run to see if there are bugs. Note that theorder of things might be different.-----------------------------------------runjdb.sh contains a script that will run jdb on a core fileusing the JDI-sa binding.