bochs.h File Reference

bochs breakpoints More...

Go to the source code of this file.


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__().

        __asm__ __volatile__ ( "xchgw %bx, %bx" );