Module Names
The C language does not contain the concept of a module. Within the context
of the debugger, a module is a scoping level which is identical to the scoping
level of a file in C. Module names (which are generated by the compiler), are
derived from source file names by removing the suffix of the source file. For
example, the module name associated with the source file myfile.c would be
myfile. Module names are used to qualify symbol references within the
program symbol tree. When used as such, they are separated from any
following function name by a \.
Note
If files in two directories have the same name, they will have identical module
names. Since the debugger cannot distinguish between the two modules, all
references will resolve to the last loaded module.
Assembly level modules with multiple code sections.
If assembly
language modules have more than one code section, the debugger breaks the
module down into sub-modules. For example, if the source file myfile.s had
three code sections, the modules myfile, myfile_2, and myfile_3 would appear
in the program’s symbol tree. This module separation only affects the address
ranges of the module, not the scoping, i.e. all symbols scoped under the file
myfile.s would be scoped under module myfile.
Context.
Some symbol references are dependent on the current context. See
the examples in the following tables. The current context is based on the PC
and consists of the current root, current module, and current function. To
display the current context, execute the command:
Program Context Display Return
Symbolic Referencing With Explicit Roots
Example
Comment
Symbol Display Default \\
Display symbols scoped under the non-program
root.
Chapter 10: Expressions and Symbols in Debugger Commands
Symbolic Referencing
439
Summary of Contents for 68000 Series
Page 1: ...User s Guide HP B1466 68000 Series Debugger Simulator ...
Page 22: ...Contents xxii ...
Page 23: ...Part 1 Quick Start Guide ...
Page 24: ...Part 1 2 ...
Page 57: ...Part 2 User s Guide ...
Page 58: ...Part 2 36 ...
Page 140: ...Chapter 3 Loading and Executing Programs Using the Debugger with the Branch Validator 118 ...
Page 234: ...Chapter 6 Using Macros and Command Files Using Command Files 212 ...
Page 266: ...Chapter 7 Configuring the Debugger Setting X Resources 244 ...
Page 267: ...Part 3 Concept Guide ...
Page 268: ...Part 3 246 ...
Page 269: ...8 X Resources and the Graphical Interface An introduction to X resources 247 ...
Page 281: ...Part 4 Reference ...
Page 282: ...Part 4 260 ...
Page 283: ...9 Debugger Commands Detailed descriptions of command line commands 261 ...
Page 436: ...Chapter 9 Debugger Commands Window Toggle_View 414 ...
Page 466: ...Chapter 10 Expressions and Symbols in Debugger Commands Symbolic Referencing 444 ...
Page 467: ...11 Predefined Macros 445 ...
Page 504: ...Chapter 11 Predefined Macros write 482 ...
Page 505: ...12 Debugger Error Messages A list of the error messages generated by the debugger 483 ...
Page 524: ...Chapter 12 Debugger Error Messages 502 ...
Page 531: ...Part 5 Installation Guide ...
Page 532: ...Part 5 510 ...
Page 533: ...14 Installation How to install the debugger software on your computer 511 ...
Page 584: ...Index 562 ...