bochs.h File Reference

bochs breakpoints More...

Go to the source code of this file.

Functions

static void bochsbp (void)
 Breakpoint for when debugging under bochs.


Detailed Description

bochs breakpoints

This file defines bochsbp, the magic breakpoint instruction that is incredibly useful when debugging under bochs. This file should never be included in production code.

Use the pseudo-instruction bochsbp in assembly code, or the bochsbp() function in C code.

Definition in file bochs.h.


Function Documentation

static void bochsbp ( void   )  [inline, static]

Breakpoint for when debugging under bochs.

Definition at line 26 of file bochs.h.

References __asm__().

00026                                     {
00027         __asm__ __volatile__ ( "xchgw %bx, %bx" );
00028 }


Generated on Tue Apr 6 20:01:12 2010 for gPXE by  doxygen 1.5.7.1