VxWorks
Application Programmer's Guide, 6.8
xvi
11.5.1 Configuring VxWorks with Error Handling Options .................................. 284
11.5.2 Setting the System Debug Flag ........................................................................ 285
Setting the Debug Flag Statically .................................................................... 285
Setting the Debug Flag Interactively .............................................................. 285
11.6 Other Error Handling Options for Processes ............................................................ 285
11.7 Using Error Reporting APIs in Application Code .................................................... 286
11.8 Sample Error Record ....................................................................................................... 286
12 RTP Core Dumps ....................................................................................... 289
12.1 Introduction ...................................................................................................................... 289
12.2 About VxWorks RTP Core Dumps .............................................................................. 290
12.3 Configuring VxWorks With RTP Core Dump Support ........................................... 291
Basic Configuration ........................................................................................... 291
Core Dump Compression ................................................................................ 292
12.4 Enabling File Compression ........................................................................................... 292
12.5 Eliminating Areas of Memory Captured by Core Dumps ...................................... 293
12.6 Setting Core Dump File Names .................................................................................... 293
12.7 Setting Core Dump File Locations ............................................................................... 294
12.8 Generating RTP Core Dumps ....................................................................................... 294
12.9 Getting Information about RTP Core Dumps ........................................................... 294
12.10 Retrieving RTP Core Dump Files ................................................................................ 295
12.11 Analyzing RTP Core Dumps ........................................................................................ 295
A Kernel to RTP Application Migration ....................................................... 297
A.1 Introduction ..................................................................................................................... 297
A.2 Migrating Kernel Applications to Processes ............................................................. 297
A.2.1 Reducing Library Size ...................................................................................... 298
A.2.2 Limiting Process Scope ..................................................................................... 298
Communicating Between Applications ......................................................... 298
Communicating Between an Application and the Kernel ......................... 298
A.2.3 Using C++ Initialization and Finalization Code ........................................... 299
A.2.4 Eliminating Hardware Access ......................................................................... 299
A.2.5 Eliminating Interrupt Contexts In Processes ................................................ 300