NetBurner 3.5.0
PDF Version |
|
GDB Stub functions. More...
Stub Initialization functions | |
void | InitGDBStub (int port, int baudrate) |
Start the GDB stub and then immediately stop at a break point This function will start the GDB stub, and will stop immediately at a breakpoint. This function is best used during development to stop the system from executing questionable code at startup. It is also useful to control the system execution to debug startup and initialization code. | |
void | InitGDBStubNoBreak (int port, int baudrate) |
Start the GDB stub and continue without stopping This function will start the GDB stub, and continue with normal program execution. This function is best used to debug a program that is operating correctly and has intermitant bugs or anomallies. The program will run as normal until you connect the debugger. Thus you can operate the program until one needs to debug it. | |
GDB Stub functions.
#include< gdbstub.h >
This module provides code for operating a serial GDB stub. This is used to debug programs running on a NetBurner system. More information can be found in ../nburn/docs/gdb/GDB-Gettingstarted
void InitGDBStub | ( | int | port, |
int | baudrate ) |
#include <gdbstub.h>
Start the GDB stub and then immediately stop at a break point This function will start the GDB stub, and will stop immediately at a breakpoint. This function is best used during development to stop the system from executing questionable code at startup. It is also useful to control the system execution to debug startup and initialization code.
port | The serial port to use this can be 0 or 1 coresponding to uart 0 or uart 1 |
baudrate | The baud rate to use on the port. |
void InitGDBStubNoBreak | ( | int | port, |
int | baudrate ) |
#include <gdbstub.h>
Start the GDB stub and continue without stopping This function will start the GDB stub, and continue with normal program execution. This function is best used to debug a program that is operating correctly and has intermitant bugs or anomallies. The program will run as normal until you connect the debugger. Thus you can operate the program until one needs to debug it.
port | The serial port to use this can be 0 or 1 coresponding to uart 0 or uart 1 |
baudrate | The baud rate to use on the port. |