forked from Imagelibrary/binutils-gdb
Add support for pending breakpoints in MI.
* gdb.h (gdb_breakpoint): Add parameter pending. * breakpoint.c (gdb_breakpoint): Add parameter pending. * mi/mi-cmd-break.c (mi_break_insert): Change comment to refer to manual. Add support for the -f flag, for pending breakpoint.
This commit is contained in:
@@ -5451,12 +5451,14 @@ enum gdb_rc
|
||||
gdb_breakpoint (char *address, char *condition,
|
||||
int hardwareflag, int tempflag,
|
||||
int thread, int ignore_count,
|
||||
int pending,
|
||||
char **error_message)
|
||||
{
|
||||
return break_command_really (address, condition, thread,
|
||||
0 /* condition and thread are valid. */,
|
||||
tempflag, hardwareflag,
|
||||
AUTO_BOOLEAN_FALSE /* no pending. */,
|
||||
pending
|
||||
? AUTO_BOOLEAN_TRUE : AUTO_BOOLEAN_FALSE,
|
||||
0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user