Examining Link ed Lists . . . . . . . . . . . . . . . .

4-7

 

Examining Bu￿ers . . . . . . . . . . . . . . . . . .

4-8

 

Examining Registers . . . . . . . . . . . . . . . . . . .

4-10

 

Using Register Commands . . . . . . . . . . . . . . . .

4-12

5.

Using Debugger Commands

 

 

Abbreviating Debugger Commands . . . . . . . . . . . . .

5-2

 

Entering Multiple Debugger Commands on One Line . . . . .

5-2

 

Using Command Lists . . . . . . . . . . . . . . . . . . .

5-2

 

Continuing Commands on the Next Line . . . . . . . . . . .

5-3

 

Resolving Syntax Con￿icts . . . . . . . . . . . . . . . . .

5-3

 

Resolving Case Sensitivit y . . . . . . . . . . . . . . . . .

5-4

 

Editing the Command Line . . . . . . . . . . . . . . . .

5-5

 

Using the Command History Facility . . . . . . . . . . . .

5-5

 

Recording Command Sequences for Later Playback . . . . . .

5-6

 

Invoking Shell Commands from the Debugger . . . . . . . . .

5-7

 

Redirecting Input and Output . . . . . . . . . . . . . . .

5-7

 

Creating Alias and De￿ne Macros . . . . . . . . . . . . . .

5-9

 

Using Reserved Identi￿ers and Special Macros . . . . . . . .

5-11

 

Combining Debugger Commands Using Action Lists . . . . . .

5-15

 

Creating Action Lists . . . . . . . . . . . . . . . . . .

5-15

 

Creating Conditional Action Lists . . . . . . . . . . . . .

5-16

 

Understanding Action List Execution in Special Circumstances

5-16

 

Errors in Action Lists . . . . . . . . . . . . . . . . .

5-16

 

Execution of Multiple Action Lists . . . . . . . . . . .

5-16

 

Action List Execution Following an Interactive step

 

 

Command . . . . . . . . . . . . . . . . . . . .

5-17

 

Placing step and go Commands in Action Lists . . . . . .

5-17

6.

Customizing the Debugger

 

 

Using the Options Menu . . . . . . . . . . . . . . . . . .

6-2

 

Using Startup Command Files . . . . . . . . . . . . . . .

6-3

 

Using a Personal Startup File to Customize the Debugger . .

6-4

 

A Sample Personal Startup File . . . . . . . . . . . . . .

6-5

 

Emulating Other Debuggers . . . . . . . . . . . . . . . .

6-8

 

Compatibility with xdb . . . . . . . . . . . . . . . . .

6-8

 

Compatibility with dbx . . . . . . . . . . . . . . . . .

6-9

Contents-3