/usr/include/gpsim/breakpoints.h is in gpsim-dev 0.27.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 | /*
Copyright (C) 1998 T. Scott Dattalo
This file is part of the libgpsim library of gpsim
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see
<http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
#ifndef __BREAKPOINTS_H__
#define __BREAKPOINTS_H__
#include <iostream>
#include <iomanip>
#include <glib.h>
#include <string>
#include "trigger.h"
#include "pic-instructions.h"
#include "registers.h"
#include "exports.h"
#include "gpsim_object.h" // defines ObjectBreakTypes
using namespace std;
extern Integer *verbosity; // in ../src/init.cc
class InvalidRegister;
class TriggerGroup : public TriggerAction
{
public:
protected:
list<TriggerObject*> triggerList;
virtual ~TriggerGroup(){}
};
#define MAX_BREAKPOINTS 0x400
#define BREAKPOINT_MASK (MAX_BREAKPOINTS-1)
class Breakpoint_Instruction : public AliasedInstruction , public TriggerObject
{
public:
unsigned int address;
virtual bool set_break();
virtual Processor* get_cpu();
virtual void print();
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void clear();
virtual char const * bpName() { return "Execution"; }
Breakpoint_Instruction(Processor *new_cpu,
unsigned int new_address,
unsigned int bp);
virtual ~Breakpoint_Instruction();
virtual enum INSTRUCTION_TYPES isa() {return BREAKPOINT_INSTRUCTION;};
virtual void execute();
virtual bool isBase() { return false;}
virtual bool eval_Expression();
};
class Notify_Instruction : public Breakpoint_Instruction
{
TriggerObject *callback;
public:
Notify_Instruction(Processor *cpu,
unsigned int address,
unsigned int bp,
TriggerObject *cb);
virtual ~Notify_Instruction();
virtual enum INSTRUCTION_TYPES isa() {return NOTIFY_INSTRUCTION;};
virtual void execute();
virtual char const * bpName() { return "Notify Execution"; }
};
class Profile_Start_Instruction : public Notify_Instruction
{
public:
Profile_Start_Instruction(Processor *cpu,
unsigned int address,
unsigned int bp,
TriggerObject *cb);
virtual enum INSTRUCTION_TYPES isa() {return PROFILE_START_INSTRUCTION;};
virtual char const * bpName() { return "Profile Start"; }
};
class Profile_Stop_Instruction : public Notify_Instruction
{
public:
Profile_Stop_Instruction(Processor *cpu,
unsigned int address,
unsigned int bp,
TriggerObject *cb);
virtual enum INSTRUCTION_TYPES isa() {return PROFILE_STOP_INSTRUCTION;};
virtual char const * bpName() { return "Profile Stop"; }
};
//
// Assertions
//
// Assertions are like breakpoints except that they're conditional.
// For example, a user may wish to verify that the proper register
// bank is selected while a variable is accessed.
//
class RegisterAssertion : public Breakpoint_Instruction
{
public:
unsigned int regAddress;
unsigned int regMask;
unsigned int regValue;
bool bPostAssertion; // True if assertion is checked after instruction simulates.
typedef bool (*PFNISASSERTIONCONDITION)(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
PFNISASSERTIONCONDITION m_pfnIsAssertionBreak;
enum {
eRAEquals,
eRANotEquals,
eRAGreaterThen,
eRALessThen,
eRAGreaterThenEquals,
eRALessThenEquals,
};
static bool IsAssertionEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsAssertionNotEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsAssertionGreaterThenBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsAssertionLessThenBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsAssertionGreaterThenEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsAssertionLessThenEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
RegisterAssertion(Processor *new_cpu,
unsigned int instAddress,
unsigned int bp,
unsigned int _regAddress,
unsigned int _regMask,
unsigned int _regValue,
bool bPostAssertion=false
);
RegisterAssertion(Processor *new_cpu,
unsigned int instAddress,
unsigned int bp,
unsigned int _regAddress,
unsigned int _regMask,
unsigned int _operator,
unsigned int _regValue,
bool bPostAssertion=false
);
virtual ~RegisterAssertion();
virtual void execute();
virtual void print();
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual char const * bpName() { return "Register Assertion"; }
};
class Breakpoints;
#if defined(IN_MODULE) && defined(_WIN32)
// we are in a module: don't access the Breakpoints object directly!
LIBGPSIM_EXPORT Breakpoints & get_bp();
#else
// we are in gpsim: use of get_bp() is recommended,
// even if the bp object can be accessed directly.
extern Breakpoints bp;
inline Breakpoints &get_bp()
{
return bp;
}
#endif
class Breakpoints
{
public:
enum BREAKPOINT_TYPES
{
BREAK_DUMP_ALL = 0,
BREAK_CLEAR = 0,
BREAK_ON_EXECUTION = 1<<24,
BREAK_ON_REG_READ = 2<<24,
BREAK_ON_REG_WRITE = 3<<24,
BREAK_ON_REG_READ_VALUE = 4<<24,
BREAK_ON_REG_WRITE_VALUE = 5<<24,
BREAK_ON_INVALID_FR = 6<<24,
BREAK_ON_CYCLE = 7<<24,
BREAK_ON_WDT_TIMEOUT = 8<<24,
BREAK_ON_STK_OVERFLOW = 9<<24,
BREAK_ON_STK_UNDERFLOW = 10<<24,
NOTIFY_ON_EXECUTION = 11<<24,
PROFILE_START_NOTIFY_ON_EXECUTION = 12<<24,
PROFILE_STOP_NOTIFY_ON_EXECUTION = 13<<24,
NOTIFY_ON_REG_READ = 14<<24,
NOTIFY_ON_REG_WRITE = 15<<24,
NOTIFY_ON_REG_READ_VALUE = 16<<24,
NOTIFY_ON_REG_WRITE_VALUE = 17<<24,
BREAK_ON_ASSERTION = 18<<24,
BREAK_MASK = 0xff<<24
};
#define GLOBAL_CLEAR 0
#define GLOBAL_STOP_RUNNING (1<<0)
#define GLOBAL_INTERRUPT (1<<1)
#define GLOBAL_SLEEP (1<<2)
#define GLOBAL_PM_WRITE (1<<3)
#define GLOBAL_SOCKET (1<<4)
#define GLOBAL_LOG (1<<5)
struct BreakStatus
{
BREAKPOINT_TYPES type;
Processor *cpu;
unsigned int arg1;
unsigned int arg2;
TriggerObject *bpo;
} break_status[MAX_BREAKPOINTS];
int m_iMaxAllocated;
class iterator {
public:
iterator(int index) : iIndex(index) { }
int iIndex;
iterator & operator++(int) {
iIndex++;
return *this;
}
BreakStatus * operator*() {
return &get_bp().break_status[iIndex];
}
bool operator!=(iterator &it) {
return iIndex != it.iIndex;
}
};
iterator begin() {
return iterator(0);
}
iterator end() {
return iterator(m_iMaxAllocated);
}
BreakStatus *get(int index)
{
return (index>=0 && index<MAX_BREAKPOINTS) ? &break_status[index] : 0;
}
int global_break;
bool m_bExitOnBreak; // enabled from command line option
void EnableExitOnBreak(bool bExitOnBreak) {
m_bExitOnBreak = bExitOnBreak;
}
int breakpoint_number,last_breakpoint;
Breakpoints();
int set_breakpoint(BREAKPOINT_TYPES,Processor *,
unsigned int,
unsigned int,
TriggerObject *f = 0);
int set_breakpoint(TriggerObject *,Processor *, Expression *pExpr=0);
int set_execution_break(Processor *cpu, unsigned int address, Expression *pExpr=0);
int set_notify_break(Processor *cpu,
unsigned int address,
TriggerObject *cb);
int set_profile_start_break(Processor *cpu,
unsigned int address,
TriggerObject *f1 = 0);
int set_profile_stop_break(Processor *cpu,
unsigned int address,
TriggerObject *f1 = 0);
int set_read_break(Processor *cpu, unsigned int register_number);
int set_write_break(Processor *cpu, unsigned int register_number);
int set_read_value_break(Processor *cpu,
unsigned int register_number,
unsigned int value,
unsigned int mask=0xff);
int set_write_value_break(Processor *cpu,
unsigned int register_number,
unsigned int value,
unsigned int mask=0xff);
int set_read_value_break(Processor *cpu,
unsigned int register_number,
unsigned int op,
unsigned int value,
unsigned int mask=0xff);
int set_write_value_break(Processor *cpu,
unsigned int register_number,
unsigned int op,
unsigned int value,
unsigned int mask=0xff);
int set_change_break(Processor *cpu, unsigned int register_number);
int set_break(gpsimObject::ObjectBreakTypes bt,
gpsimObject::ObjectActionTypes at,
Register *,
Expression *pExpr=0);
int set_cycle_break(Processor *cpu,
guint64 cycle,
TriggerObject *f = 0);
int set_wdt_break(Processor *cpu);
int set_stk_overflow_break(Processor *cpu);
int set_stk_underflow_break(Processor *cpu);
int check_cycle_break(unsigned int abp);
int set_notify_read(Processor *cpu, unsigned int register_number);
int set_notify_write(Processor *cpu, unsigned int register_number);
int set_notify_read_value(Processor *cpu,
unsigned int register_number,
unsigned int value,
unsigned int mask=0xff);
int set_notify_write_value(Processor *cpu,
unsigned int register_number,
unsigned int value,
unsigned int mask=0xff);
bool set_expression(unsigned bp_number, Expression *pExpr);
inline void clear_global() {global_break = GLOBAL_CLEAR;};
inline void set_logging() { global_break |= GLOBAL_LOG; }
void halt();
inline bool have_halt()
{
return( (global_break & GLOBAL_STOP_RUNNING) != 0 );
}
inline void clear_halt()
{
global_break &= ~GLOBAL_STOP_RUNNING;
}
inline bool have_interrupt()
{
return( (global_break & GLOBAL_INTERRUPT) != 0 );
}
inline void clear_interrupt()
{
global_break &= ~GLOBAL_INTERRUPT;
}
inline void set_interrupt()
{
global_break |= GLOBAL_INTERRUPT;
}
inline bool have_sleep()
{
return( (global_break & GLOBAL_SLEEP) != 0 );
}
inline void clear_sleep()
{
global_break &= ~GLOBAL_SLEEP;
}
inline void set_sleep()
{
global_break |= GLOBAL_SLEEP;
}
inline bool have_pm_write()
{
return( (global_break & GLOBAL_PM_WRITE) != 0 );
}
inline void clear_pm_write()
{
global_break &= ~GLOBAL_PM_WRITE;
}
inline void set_pm_write()
{
global_break |= GLOBAL_PM_WRITE;
}
inline bool have_socket_break()
{
return( (global_break & GLOBAL_SOCKET) != 0);
}
inline void set_socket_break()
{
global_break |= GLOBAL_SOCKET;
}
inline void clear_socket_break()
{
global_break &= ~GLOBAL_SOCKET;
}
bool dump1(unsigned int bp_num, int dump_type = BREAK_DUMP_ALL);
bool dump(TriggerObject *);
void dump(int dump_type = BREAK_DUMP_ALL);
void dump_traced(unsigned int b);
void clear(unsigned int b);
bool bIsValid(unsigned int b);
bool bIsClear(unsigned int b);
void set_message(unsigned int b,string &);
void clear_all(Processor *c);
void clear_all_set_by_user(Processor *c);
void clear_all_register(Processor *c,unsigned int address=-1);
void initialize_breakpoints(unsigned int memory_size);
instruction *find_previous(Processor *cpu,
unsigned int address,
instruction *_this);
int find_free();
};
//
// BreakPointRegister
//
// This class serves as the base class for register break point and logging
// classes. Register breakpoints are handled by replacing a register object
// with one of the breakpoint objects. The simulated pic code has no idea that
// breakpoints exist on a register. However, when the member functions of the
// a register are accessed, the breakpoint member functions of the classes
// described below are the ones actually invoked. Consequently, control of
// the simulation can be manipulated.
//
class BreakpointRegister : public Register, public TriggerObject
{
public:
// FIXME: why 2 constructors?
BreakpointRegister(Processor *, TriggerAction *, Register *);
BreakpointRegister(Processor *, TriggerAction *, int, int );
virtual ~BreakpointRegister();
virtual REGISTER_TYPES isa() {return BP_REGISTER;};
virtual string &name() const;
virtual void put_value(unsigned int new_value);
virtual void put(unsigned int new_value);
virtual void putRV(RegisterValue rv);
virtual unsigned int get_value();
virtual RegisterValue getRV();
virtual RegisterValue getRVN();
virtual unsigned int get();
virtual Register *getReg();
virtual void setbit(unsigned int bit_number, bool new_value);
virtual bool get_bit(unsigned int bit_number);
virtual double get_bit_voltage(unsigned int bit_number);
virtual bool hasBreak();
virtual void update();
virtual void add_xref(void *an_xref);
virtual void remove_xref(void *an_xref);
void replace(Processor *_cpu, unsigned int reg);
virtual bool set_break();
unsigned int clear(unsigned int bp_num);
virtual void print();
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void invokeAction();
virtual void clear();
virtual void takeAction();
protected:
};
class BreakpointRegister_Value : public BreakpointRegister
{
public:
unsigned int break_value, break_mask;
unsigned int m_uDefRegMask;
string m_sOperator;
BreakpointRegister_Value(Processor *_cpu,
int _repl,
int bp,
unsigned int bv,
unsigned int _operator,
unsigned int bm );
virtual ~BreakpointRegister_Value();
typedef bool (*PFNISBREAKCONDITION)(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
PFNISBREAKCONDITION m_pfnIsBreak;
enum BRV_Ops {
eBRInvalid,
eBREquals,
eBRNotEquals,
eBRGreaterThen,
eBRLessThen,
eBRGreaterThenEquals,
eBRLessThenEquals,
};
static bool IsEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsNotEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsGreaterThenBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsLessThenBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsGreaterThenEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
static bool IsLessThenEqualsBreakCondition(unsigned int uRegValue,
unsigned int uRegMask, unsigned int uRegTestValue);
virtual void print();
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
};
class Break_register_read : public BreakpointRegister
{
public:
Break_register_read(Processor *_cpu, int _repl, int bp );
virtual ~Break_register_read();
virtual unsigned int get();
virtual RegisterValue getRV();
virtual RegisterValue getRVN();
virtual bool get_bit(unsigned int bit_number);
virtual double get_bit_voltage(unsigned int bit_number);
virtual char const * bpName() { return "register read"; }
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void takeAction();
};
class Break_register_write : public BreakpointRegister
{
public:
Break_register_write(Processor *_cpu, int _repl, int bp );
virtual ~Break_register_write();
virtual void put(unsigned int new_value);
virtual void putRV(RegisterValue rv);
virtual void setbit(unsigned int bit_number, bool new_value);
virtual char const * bpName() { return "register write"; }
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void takeAction();
};
class Break_register_change : public BreakpointRegister
{
public:
Break_register_change(Processor *_cpu, int _repl, int bp );
virtual ~Break_register_change();
virtual void put(unsigned int new_value);
virtual void putRV(RegisterValue rv);
virtual void setbit(unsigned int bit_number, bool new_value);
virtual char const * bpName() { return "register change"; }
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void takeAction();
};
class Break_register_read_value : public BreakpointRegister_Value
{
public:
Break_register_read_value(Processor *_cpu,
int _repl,
int bp,
unsigned int bv,
unsigned int _operator,
unsigned int bm );
virtual ~Break_register_read_value();
virtual unsigned int get();
virtual RegisterValue getRV();
virtual RegisterValue getRVN();
virtual bool get_bit(unsigned int bit_number);
virtual double get_bit_voltage(unsigned int bit_number);
virtual char const * bpName() { return "register read value"; }
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void takeAction();
};
class Break_register_write_value : public BreakpointRegister_Value
{
public:
Break_register_write_value(Processor *_cpu,
int _repl,
int bp,
unsigned int bv,
unsigned int _operator,
unsigned int bm );
virtual ~Break_register_write_value();
virtual void put(unsigned int new_value);
virtual void putRV(RegisterValue rv);
virtual void setbit(unsigned int bit_number, bool new_value);
virtual char const * bpName() { return "register write value"; }
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual void takeAction();
};
class CommandAssertion : public Breakpoint_Instruction
{
public:
bool bPostAssertion; // True if assertion is checked after instruction simulates.
CommandAssertion(Processor *new_cpu,
unsigned int instAddress,
unsigned int bp,
const char *_command,
bool bPostAssertion
);
virtual ~CommandAssertion();
virtual void execute();
virtual void print();
virtual int printTraced(Trace *pTrace, unsigned int tbi,
char *pBuf, int szBuf);
virtual char const * bpName() { return "Register Assertion"; }
private:
char *command;
};
// FIXME -- the log classes need to be deprecated - use the action class to perform logging instead.
class Log_Register_Write : public Break_register_write
{
public:
Log_Register_Write(Processor *_cpu, int _repl, int bp ):
Break_register_write(_cpu,_repl,bp ) { };
virtual char const * bpName() { return "log register write"; }
virtual void takeAction();
virtual void put(unsigned int new_value);
virtual void setbit(unsigned int bit_number, bool new_value);
};
class Log_Register_Read : public Break_register_read
{
public:
Log_Register_Read(Processor *_cpu, int _repl, int bp ):
Break_register_read(_cpu,_repl,bp ) { };
virtual char const * bpName() { return "log register read"; }
virtual void takeAction();
virtual unsigned int get();
virtual RegisterValue getRV();
virtual RegisterValue getRVN();
virtual bool get_bit(unsigned int bit_number);
};
class Log_Register_Read_value : public Break_register_read_value
{
public:
Log_Register_Read_value(Processor *_cpu,
int _repl,
int bp,
unsigned int bv,
unsigned int _operator,
unsigned int bm ) :
Break_register_read_value(_cpu, _repl, bp, bv, _operator, bm ) { };
virtual char const * bpName() { return "log register read value"; }
virtual void takeAction();
};
class Log_Register_Write_value : public Break_register_write_value
{
public:
Log_Register_Write_value(Processor *_cpu,
int _repl,
int bp,
unsigned int bv,
unsigned int _operator,
unsigned int bm ) :
Break_register_write_value(_cpu, _repl, bp, bv, _operator,bm ) { };
virtual void takeAction();
};
#ifdef HAVE_GUI
class GuiCallBack: public TriggerObject
{
public:
virtual void callback();
gpointer gui_callback_data; // Data to be passed back to the gui
// A pointer to the gui call back function
void (*gui_callback) (gpointer gui_callback_data);
void set_break(int, void (*)(gpointer),gpointer );
GuiCallBack();
};
#endif // HAVE_GUI
#endif // __BREAKPOINTS_H__
|