mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-22 18:51:33 +00:00
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
|
/****************************************************************************
|
||
|
*
|
||
|
* i386-stub.h
|
||
|
*
|
||
|
* Description: Data definitions and constants for low level
|
||
|
* GDB server support.
|
||
|
*
|
||
|
* Terms of use: This software is provided for use under the terms
|
||
|
* and conditions of the GNU General Public License.
|
||
|
* You should have received a copy of the GNU General
|
||
|
* Public License along with this program; if not, write
|
||
|
* to the Free Software Foundation, Inc., 59 Temple Place
|
||
|
* Suite 330, Boston, MA 02111-1307, USA.
|
||
|
*
|
||
|
* Credits: Created by Jonathan Brogdon
|
||
|
*
|
||
|
* History
|
||
|
* Engineer: Date: Notes:
|
||
|
* --------- ----- ------
|
||
|
* Jonathan Brogdon 20000617 Genesis
|
||
|
* Gordon Schumacher 20020212 Updated for modularity
|
||
|
*
|
||
|
****************************************************************************/
|
||
|
#ifndef _GDBSTUB_H_
|
||
|
#define _GDBSTUB_H_
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
extern int gdb_serial_init(unsigned int port, unsigned int speed);
|
||
|
extern void gdb_target_init(void);
|
||
|
extern void gdb_target_close(void);
|
||
|
|
||
|
extern void set_debug_traps(void);
|
||
|
extern void restore_traps(void);
|
||
|
extern void breakpoint(void);
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif /* _GDBSTUB_H_ */
|