1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-28 14:20:54 +03:00
Files
fuse/debugger/debugger_internals.h
Philip Kendall c8d282757a Add 'poke' functionality to the debugger.
Legacy-ID: 1146
2003-03-28 23:06:25 +00:00

50 lines
1.8 KiB
C

/* debugger_internals.h: The internals of Fuse's monitor/debugger
Copyright (c) 2002 Philip Kendall
$Id$
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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
Author contact information:
E-mail: pak21-fuse@srcf.ucam.org
Postal address: 15 Crescent Road, Wokingham, Berks, RG40 2DB, England
*/
#ifndef FUSE_DEBUGGER_INTERNALS_H
#define FUSE_DEBUGGER_INTERNALS_H
int debugger_breakpoint_add( debugger_breakpoint_type type, WORD value,
size_t ignore, debugger_breakpoint_life life );
int debugger_breakpoint_remove( size_t id );
int debugger_breakpoint_remove_all( void );
int debugger_breakpoint_clear( WORD address );
int debugger_breakpoint_show( void );
int debugger_breakpoint_exit( void );
int debugger_breakpoint_ignore( size_t id, size_t ignore );
int debugger_poke( WORD address, BYTE value );
/* Utility functions called by the flex scanner */
int debugger_command_input( char *buf, int *result, int max_size );
int debugger_reg16_index( char *reg );
/* Utility functions called by the bison parser */
void debugger_register_set( int which, int value );
#endif /* #ifndef FUSE_DEBUGGER_INTERNALS_H */