Aufgabe 2: Unterbrechungen
for GDB_Stub Interrupt handler and its context More...
Include dependency graph for handler.h:
This graph shows which files directly or indirectly include this file:
Classes | |
struct | DebugContext |
Debug context (stored on stack during GDB interrupt) More... | |
Functions | |
assert_size (DebugContext, 24 *8) | |
void | gdb_interrupt_handler (DebugContext *context) |
High-Level interrupt handler for GDB_Stub. More... | |
Detailed Description
for GDB_Stub Interrupt handler and its context
Class Documentation
struct DebugContext |
Debug context (stored on stack during GDB interrupt)
- See also
- debug_handler
- InterruptContext
Function Documentation
void gdb_interrupt_handler | ( | DebugContext * | context | ) |
High-Level interrupt handler for GDB_Stub.
Allow the generic GDB interrupt handler to access the protected methods of this class.
Similar to the default interrupt_handler. Called by the entry function written in assembly (see debug/gbd/handler.asm
) – these routines are installed in the constructor.
After preparing the data this function calls GDB_Stub::handle, which handles the communication with the host via the serial interface.
- Parameters
-
context contains a pointer to the stack, which can be used to access the debug interrupt context.