diff --git a/pdbApp/softMain.cpp b/pdbApp/softMain.cpp index 48d32bc..704f45f 100644 --- a/pdbApp/softMain.cpp +++ b/pdbApp/softMain.cpp @@ -28,6 +28,7 @@ #include "iocInit.h" #include "iocsh.h" #include "osiFileName.h" +#include "dbStaticPvt.h" #include @@ -66,6 +67,8 @@ void usage(const char *arg0, const std::string& base_dbd) { "\n" " -D If used, must come first. Specify the path to the softIocPVA.dbdfile." " The compile-time install location is saved in the binary as a default.\n" + " If the compiled-in path cannot be found, the application will look relative\n" + " to EPICS_BASE." "\n" " -h Print this mesage and exit.\n" "\n" @@ -110,18 +113,29 @@ void errIf(int ret, const std::string& msg) bool lazy_dbd_loaded; -void lazy_dbd(const std::string& dbd_file) { +void lazy_dbd(const std::string& dbd_file, const std::string& prefix) { if(lazy_dbd_loaded) return; lazy_dbd_loaded = true; - - if (verbose) - std::cout<<"dbLoadDatabase(\""<