Oberon || Compiler & Tools || Library || Module Index || Search Engine


Ulm's Oberon System:
obdeps


NAME

obdeps - list dependencies of an object in CDB

SYNOPSIS

obdeps [-a authfile] [-A arch] [-b basedir] [-D|-M] modname

DESCRIPTION

obdeps lists the dependencies of the most recent object of modname. This works for objects only that are already present in CDB, obload may be used to generate them first.

Following options are supported:

-a authfile
specifies a file containing a persistent object of type Shards.Lid that is to be used for authorization. Note that by default (see cdbd) an authorization is not needed because obdeps does not need write access to CDB.
-A arch
list the dependencies of the architecture-dependent object (or machine code) of modname. Architectures must be specified as defined by Architectures.
-b basedir
defines the base path of the compiler data base (CDB). Default is /pub/cdb/oberon.
-D
list the dependencies of the abstract syntax tree generated from the definition (default).
-M
list the dependencies of the abstract syntax tree or machine code generated from the module.

EXAMPLES

List the architecture-independent dependencies of Streams:
oberon$ obdeps Streams
module name = Streams
src id = 3A2204FF75E3DB51D44997838EF181FD
key = 
   Streams:
      defsrcid: 3A2204FF75E3DB51D44997838EF181FD
      genkey: 2000-03-28,17:04:30:961,0699145982,1401399159
dependencies
   Objects:
      defsrcid: 5056B991EB4E6C2BA3EBCE2A507017CE
      genkey: 2000-03-28,07:27:24:364,-1735991486,-1440161190
   Types:
      defsrcid: 85028800D67F2D025A225EE8E02926EE
      genkey: 2000-03-28,07:50:38:942,1244705731,1390900087
   Services:
      defsrcid: 2B9644822777DEF73B256892634E0769
      genkey: 2000-03-28,07:27:24:881,-1809950972,-1282668628
   Disciplines:
      defsrcid: F49AC38B0384DAA79F4F66194F160DC4
      genkey: 2000-03-28,07:27:25:123,0426955118,1796457599
   Events:
      defsrcid: CAB0A5DE6BEF753A5CFF9B63E70FD5A5
      genkey: 2000-03-28,07:27:23:631,-1710438980,-220728061

List architecture-dependent dependencies:

oberon$ obdeps -A SPARC Streams
module name = Streams
src id = 3A2204FF75E3DB51D44997838EF181FD
key = 
   Streams:
      defsrcid: 3A2204FF75E3DB51D44997838EF181FD
      genkey: 2000-03-28,17:04:30:961,0699145982,1401399159
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:00:685,0816251258,-139536571
dependencies
   Objects:
      defsrcid: 5056B991EB4E6C2BA3EBCE2A507017CE
      genkey: 2000-03-28,07:27:24:364,-1735991486,-1440161190
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:02:182,0983769558,-555229837
   Types:
      defsrcid: 85028800D67F2D025A225EE8E02926EE
      genkey: 2000-03-28,07:50:38:942,1244705731,1390900087
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:03:562,0603586654,-1066464001
   Services:
      defsrcid: 2B9644822777DEF73B256892634E0769
      genkey: 2000-03-28,07:27:24:881,-1809950972,-1282668628
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:05:689,-2067983480,-281698861
   Disciplines:
      defsrcid: F49AC38B0384DAA79F4F66194F160DC4
      genkey: 2000-03-28,07:27:25:123,0426955118,1796457599
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:07:249,0348746428,-454434981
   Events:
      defsrcid: CAB0A5DE6BEF753A5CFF9B63E70FD5A5
      genkey: 2000-03-28,07:27:23:631,-1710438980,-220728061
      arch: SPARC:v8;32
      archkey: 2000-03-28,17:07:10:021,0218940962,0522941892

DIAGNOSTICS

obdeps reports ``no such module in CDB'' if modname is completely unknown to CDB and ``requested object not yet in CDB'' if the object is missing. In the latter case, obload may be helpful. If CDB is not found in the Oberon name space, obdeps exits telling ``unable to access CDB root''.

ENVIRONMENT

Following environment parameters allow to override the builtin defaults:
CDB_AUTH
default path of the authorization file.
CDB_BASEDIR
default path of CDB within the Oberon name space.

SEE ALSO

cdbd
daemon running CDB.
obload
compiles (if necessary) and loads modules.
obci
check in Oberon sources into CDB.
pons
daemon defining the shared root of the Oberon name space.

Edited by: borchert, last change: 2005/02/05, revision: 1.3, converted to HTML: 2005/02/05

Oberon || Compiler & Tools || Library || Module Index || Search Engine