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:
Vladimir Prus
2007-12-14 18:15:47 +00:00
parent 72b2ff0e02
commit afe8ab2206
10 changed files with 185 additions and 17 deletions

View File

@@ -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);
}