Debugging with GDB (September 2007)
viii Debugging with GDB
15 The HP-UX Terminal User Interface. . . . . 195
15.1 Starting the TUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
15.2 Automatically running a program at startup . . . . . . . . . . . 196
15.3 Screen Layouts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
15.3.1 Source pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
15.3.2 Disassembly pane. . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
15.3.3 Source/Disassembly pane . . . . . . . . . . . . . . . . . . . . 198
15.3.4 Disassembly/Register pane . . . . . . . . . . . . . . . . . . . 199
15.3.5 Source/Register pane . . . . . . . . . . . . . . . . . . . . . . . . 200
15.4 Cycling through the panes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
15.5 Changing pane focus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
15.6 Scrolling panes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
15.7 Changing the register display . . . . . . . . . . . . . . . . . . . . . . . . . 204
15.8 Changing the pane size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
15.9 Refreshing and updating the window . . . . . . . . . . . . . . . . . . 207
16 XDB to WDB Transition Guide . . . . . . . . . 209
16.1 By-function lists of XDB commands and HP WDB
equivalents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
16.1.1 Invo c ation commands . . . . . . . . . . . . . . . . . . . . . . . . 210
16.1.2 Window mode commands . . . . . . . . . . . . . . . . . . . . 210
16.1.3 File viewing commands . . . . . . . . . . . . . . . . . . . . . . 211
16.1.4 Source directory mapping commands . . . . . . . . . . 212
16.1.5 Data Viewing and modification commands. . . . . 213
16.1.6 Stack viewing commands . . . . . . . . . . . . . . . . . . . . . 215
16.1.7 Status-viewing command . . . . . . . . . . . . . . . . . . . . . 215
16.1.8 Job control commands . . . . . . . . . . . . . . . . . . . . . . . 216
16.2 Overall breakp oint commands . . . . . . . . . . . . . . . . . . . . . . . . . 217
16.2.1 Auxiliary breakpoint commands . . . . . . . . . . . . . . 217
16.2.2 Breakpoint creation commands . . . . . . . . . . . . . . . 218
16.2.3 Breakpoint status commands . . . . . . . . . . . . . . . . . 219
16.2.4 All-procedures breakpoint commands . . . . . . . . . 220
16.2.5 Global breakpoint commands . . . . . . . . . . . . . . . . . 221
16.2.6 Assertion control commands . . . . . . . . . . . . . . . . . . 221
16.2.7 Record and playback commands . . . . . . . . . . . . . . 221
16.2.8 Macro facility commands. . . . . . . . . . . . . . . . . . . . . 222
16.2.9 Signal control commands . . . . . . . . . . . . . . . . . . . . . 222
16.2.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . 223
16.3 XDB data formats and HP WDB equivalents. . . . . . . . . . . 224
16.4 XDB location syntax and HP WDB equivalents . . . . . . . . 226
16.5 XDB special language operators and HP WDB equivalents
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
16.6 XDB special variables and HP WDB equivalents. . . . . . . . 227
16.7 XDB variable identifiers and HP WDB equivale nts. . . . . . 229
16.8 Alphabetical lists of XDB commands and HP WDB
equivalents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
16.8.1 A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
16.8.2 B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230