URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [utils/] [amd-udi/] [udi/] [sunudi.5] - Rev 1775
Go to most recent revision | Compare with Previous | Blame | View Log
.\" t
.\" The above line must be present to tell man to process through tbl.
.\" @(#)sunudi.5 2.2, AMD
.\"Copyright (c) 1989, 1990, 1991 by Advanced Micro Devices, Inc.
.\"All rights reserved. No part of this publication may be reproduced,
.\"stored in a retrieval system, or transmitted in any form or by any
.\"means, electronic, mechanical, photocopying, recording or otherwise,
.\"without the prior written permission of Advanced Micro Devices, Inc.
.\"
.\"You must change the date in these files for a release!
.\"The commands used to generate output from this input are:
.\" tbl udi.1 | nroff -man - > filename (Goes to a unix file)
.\" tbl udi.1 | ptroff -man - (Goes to PostScript printer)
.\"
.TH UDI 5 "05 Feb 1992" "UDI Files"
.UC 4
.SH NAME
\fBudi\fP \- UDI Configuration Files for SUN hosts.
.sp
.sp
.SH DESCRIPTION
A UDI conformant Debugger Front End (DFE) specifies the Target
Interface Process (TIP) that it wishes to connect to and
the options that it wishes to pass to that TIP by referencing
a configuration in the "UDI configuration file".
This man page explains the format of the UDI Configuration file
for Sun hosts.
.sp
The search rules that the DFE uses to locate the UDI Configuration
file are:
.IP
the complete filename specified by the environment variable, UDICONF.
.IP
the file udi_soc in the current directory.
.IP
the file udi_soc in each of the directories specified by the PATH environment
variable.
.sp
.LP
A line of the UDI Configuration File can have two different formats
depending on whether the address family is AF_UNIX or AF_INET.
The two formats are:
.IP
.I tip_config_name AF_UNIX socket_name tip_executable [tip_options]
.IP
.I tip_config_name AF_INET host_name port_number [tip_options]
.TP 10
.I tip_config_name
An arbitrary name which the DFE will use to refer to this configuration.
Each line in the UDI Configuration File must have a different tip_config_name field.
.TP
.I AF_UNIX
This address family should be used
when the DFE and TIP are running on the same host.
This is the typical case.
.TP
.I AF_INET
This address family should be used
when the DFE and TIP are running on different hosts.
.TP
.I socket_name
Used with AF_UNIX configurations only.
Specifies the socket file name
which will be used to communicate between
the DFE and TIP. The special socket_name "*" indicates that a unique
socket file name should be automatically generated by the IPC layer.
This is useful if you want to have multiple DFEs connecting
to the same configuration name.
If the socket_name is explictly specified, be aware that
if any two AF_UNIX TIP configurations are being used simultaneously, they
must have unique socket_names.
For DFEs who wish to disconnect from a TIP and then reconnect to that
same TIP at some later time, an explicit socket_name is required.
.TP
.I tip_executable
Used with AF_UNIX configurations only.
The DFE will use the tip_executable filename
to spawn the TIP if the TIP is not already running
and listening at the indicated socket_name.
If a full pathname is not specified, the PATH environment variable
is used to locate the executable file.
Note that when the socket_name is "*", a new TIP executable
is always spawned.
.sp
.TP
.I host_name
Used with AF_INET configurations only.
This specifies the name of the host where the TIP
is running.
.TP
.I port_number
Used with AF_INET configurations only.
This specifies the port_number at which the TIP
on the remote host is listening.
Note that in an AF_INET configuration
the TIP cannot be spawned by the DFE and must
already be running at the time of the connection.
The TIP on the remote host should be started with
a command line of
.br
tip_executable_name AF_INET port_number
.TP
.I tip_options
Valid with both AF_UNIX and AF_INET configurations.
This optional string of parmeters is passed through to
the TIP at connect time and is usually interpreted
by the TIP as a set of startup parameters.
.sp
.SH EXAMPLES OF UDI CONFIGURATION FILE ENTRIES
.sp
The following are examples of entries in the UDI configuration
file on SUN hosts.
.LP
\fB iss050 AF_UNIX * isstip -29050 -r osboot \fR
.IP
The above entry associates the TIP configuration name "iss050" with the
\fBisstip\fR executable with the parameters
"-29050 -r osboot" being passed to isstip
when the connection is made.
The AF_UNIX address family with an automatically generated
socket name will be used to communicate between DFE and TIP.
Because of the automatic socket name generation,
a new invocation of isstip will always be created when the iss050
configuration is specified.
.LP
\fB iss050x AF_UNIX sock_iss50 isstip -29050 -r osboot \fR
.IP
The above entry associates the TIP configuration name "iss050x" with the
same \fBisstip\fR executable and same startup parameters
as the previous example.
The AF_UNIX address family and the explicit socket file name
sock_iss50 will be used to communicate between DFE and TIP.
If isstip is not already running and listening on sock_iss50,
an instance of isstip will be created.
.LP
\fB iss50_remote AF_INET fasthost 7000 -29050 -r osboot \fR
.IP
The above entry assumes that some TIP is already running on the host
named fasthost and listening at port 7000. For example,
isstip could have been started on fasthost with the command line
.br
isstip AF_INET 7000
.br
The parameters "-29050 -r osboot" will be passed to
the remote TIP at connect time.
.sp
.SH TRADEMARKS
AMD is a registered trademark of Advanced Micro Devices, Inc.
MiniMON29K, 29K, Am29000, Am29005, Am29030, Am29035, Am29200,
and Am29050 are trademarks of Advanced Micro Devices, Inc.
Go to most recent revision | Compare with Previous | Blame | View Log