User`s guide
list
• When varname is an input to a library function. list always fails in
this case. It does not matter whether you use declare to provide the
declaration string for the library function.
Note When you call list for a variable in a function object
list(ff,varname)the address field m ay contain an incorrect address
if the program counter is not within the scope of the function that
includes
varname when you call list.
infolist = list(cc,type) reads information about your CCS session
and returns it in
infolist. Different types of information and return
formats apply depending on the input arguments you supply to the
list
function call. The type argument specifies which information listing to
return. To determine the information that
list returns, use one of the
following as the
type para m eter string:
•
project —Telllist to return information about the current project
in CCS.
•
variable —Telllist to return information about one or more
embedded variables.
•
globalvar —Telllist to return information about one or more
global embedded variables.
•
function —Telllist to return details a bout one or more functions
in your project.
•
type —Telllist to return information about one or more defined
data types, including
struct, enum,andunion.ANSICdatatype
typedefs are excluded from the list of data types.
Note, the
list function returns dynamic CCS information that can
be altered by the user. Returned listings represent snapshots o f
the current CCS configuration only. Be aware that earlier copies of
infolist might contain stale information.
7-83