mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
1ae4c07e50
It turns out that /DSF didn't do any good for our purposes. Instead, remove the CALL_DEBUG flag from any image we link. This ensures that we can have debugging information in the image files, but don't automatically end up in a debugging session upon image activation. Unfortunately, this means the CALL_DEBUG must be turned on when there is a need to run with the debugger activated, and to turn it off when done. This has been documented in NOTES.VMS. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2957)
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
${-
|
|
use File::Spec::Functions qw(rel2abs);
|
|
|
|
my $bldtop = rel2abs($config{builddir});
|
|
our %names = ( map { $_ => $bldtop.$_.".EXE" }
|
|
map { $unified_info{sharednames}->{$_} || () }
|
|
@{$unified_info{libraries}} );
|
|
"" -}
|
|
$ ! Create a local environment with the shared library logical names
|
|
$ ! properly set. Undo this with unlocal_shlib.com
|
|
$
|
|
$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
|
|
$ CREATE/NAME_TABLE/PARENT_TABLE=LNM$PROCESS_DIRECTORY 'OPENSSL_NAMES'
|
|
$ DEFINE/TABLE='OPENSSL_NAMES' OSSL_FLAG YES
|
|
$
|
|
$ NAMES := {- join(",", keys %names); -}
|
|
{-
|
|
join("\n", map { "\$ __$_ = \"".$names{$_}."\"" } keys %names);
|
|
-}
|
|
$ I = 0
|
|
$ LOOP:
|
|
$ E = F$ELEMENT(I,",",NAMES)
|
|
$ I = I + 1
|
|
$ IF E .EQS. "," THEN GOTO ENDLOOP
|
|
$ EV = __'E'
|
|
$ OLDV = F$TRNLNM(E,"LNM$PROCESS")
|
|
$ IF OLDV .NES. "" THEN DEFINE/TABLE='OPENSSL_NAMES' 'E' 'OLDV'
|
|
$ DEFINE 'E' 'EV'
|
|
$ GOTO LOOP
|
|
$ ENDLOOP:
|