forked from Imagelibrary/binutils-gdb
* breakpoint.h (struct counted_command_line): Moved definition to
breakpoint.c, and forward declare. (breakpoint_commands): Declare. * breakpoint.c (struct counted_command_line): Moved here. (breakpoint_commands): New. * tracepoint.c (encode_actions): Use breakpoint_commands. * remote.c (remote_download_tracepoint): Ditto.
This commit is contained in:
@@ -384,15 +384,9 @@ typedef struct bp_location *bp_location_p;
|
||||
DEF_VEC_P(bp_location_p);
|
||||
|
||||
/* A reference-counted struct command_line. This lets multiple
|
||||
breakpoints share a single command list. */
|
||||
struct counted_command_line
|
||||
{
|
||||
/* The reference count. */
|
||||
int refc;
|
||||
|
||||
/* The command list. */
|
||||
struct command_line *commands;
|
||||
};
|
||||
breakpoints share a single command list. This is an implementation
|
||||
detail to the breakpoints module. */
|
||||
struct counted_command_line;
|
||||
|
||||
/* Note that the ->silent field is not currently used by any commands
|
||||
(though the code is in there if it was to be, and set_raw_breakpoint
|
||||
@@ -814,6 +808,10 @@ extern void delete_breakpoint (struct breakpoint *);
|
||||
|
||||
extern void breakpoint_auto_delete (bpstat);
|
||||
|
||||
/* Return the chain of command lines to execute when this breakpoint
|
||||
is hit. */
|
||||
extern struct command_line *breakpoint_commands (struct breakpoint *b);
|
||||
|
||||
extern void break_command (char *, int);
|
||||
|
||||
extern void hbreak_command_wrapper (char *, int);
|
||||
|
||||
Reference in New Issue
Block a user