From: Donn Seeley Date: Mon, 13 Jan 1986 14:04:38 +0000 (-0800) Subject: Add a description of $unsafecall and $unsafeassign; relate a few of the X-Git-Tag: BSD-4_3-Snapshot-Development~3593 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/3e8dcebc63ef64faae03e4685673d2ec1d2c2086?hp=4db7c84e2e96010f2474115d135571bc6655ff15 Add a description of $unsafecall and $unsafeassign; relate a few of the known bugs with Fortran support. SCCS-vsn: old/dbx/dbx.1 6.2 --- diff --git a/usr/src/old/dbx/dbx.1 b/usr/src/old/dbx/dbx.1 index 9e3aad58d6..d0ada2b354 100644 --- a/usr/src/old/dbx/dbx.1 +++ b/usr/src/old/dbx/dbx.1 @@ -2,7 +2,7 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)dbx.1 6.1 (Berkeley) %G% +.\" @(#)dbx.1 6.2 (Berkeley) %G% .\" .TH DBX 1 "" .UC 5 @@ -402,6 +402,21 @@ $mapaddrs Setting (unsetting) this variable causes \*(dB to start (stop) mapping addresses. As with ``$frame'', this is useful for kernel debugging. +.sp 1 +.ti -5n +$unsafecall +.ti -5n +$unsafeassign +.br +When ``$unsafecall'' is set, +strict type checking is turned off for arguments to +subroutine or function calls (\fIe.g.\fP in the \fBcall\fP statement). +When ``$unsafeassign'' is set, +strict type checking between the two sides +of an \fBassign\fP statement is turned off. +These variables should be used only with great care, +because they severely limit \*(dB's usefulness +for detecting errors. .in -8n .TP \fBunalias\fP \fIname\fP @@ -542,3 +557,15 @@ static declarations that are separate entities for each file in which they are included. However, even with Modula-2 there is a substantial amount of duplication of symbol information necessary for inter-module type checking. +.PP +Some problems remain with the support for individual languages. +Fortran problems include: +inability to assign to logical, logical*2, complex +and double complex variables; +inability to represent parameter constants +which are not type integer or real; +peculiar representation for the values of dummy procedures +(the value shown for a dummy procedure is actually +the first few bytes of the procedure text; +to find the location of the procedure, +use ``&'' to take the address of the variable).