This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Add type parameter to set_raw_breakpoint()


> I've just committing the following changes.  For more information on the
> corresponding changes to breakpoint.c, see:
> 
>     http://sources.redhat.com/ml/gdb-patches/2001-05/msg00204.html
> 
> Please note that set_raw_breakpoint() ought to either be declared
> extern in breakpoint.h or calls to this function should be removed from
> gdbtk-bp.c so that it can be made static in breakpoint.c.

It should be static.  Insight should instead call the published interface:

/* Create a breakpoint at ADDRESS (a GDB source and line). */
enum gdb_rc gdb_breakpoint (char *address, char *condition,
                             int hardwareflag, int tempflag,
                             int thread, int ignore_count);

	Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]