Re: [PATCH] PR mi/2086 -break-insert missing error diagnostic

Nick Roberts
2006-10-17T22:10:27Z

> > I have other changes but they're all older. I think that's it but I'll
> > check more carefully.
>
> Well, it won't compile as-is, so obviously you haven't tested this
> patch on its own :-)

Oops, I forgot to look in the MI directory.

--
Nick http://www.inet.net.nz/~nickrob

*** mi-cmd-break.c 24 Dec 2005 07:57:46 +1300 1.13
--- mi-cmd-break.c 18 Oct 2006 02:54:07 +1300
*************** mi_cmd_break_insert (char *command, char
*** 140,153 ****
case REG_BP:
rc = gdb_breakpoint (address, condition,
0 /*hardwareflag */ , temp_p,
! thread, ignore_count,
! &mi_error_message);
break;
case HW_BP:
rc = gdb_breakpoint (address, condition,
1 /*hardwareflag */ , temp_p,
! thread, ignore_count,
! &mi_error_message);
break;
#if 0
case REGEXP_BP:
--- 140,151 ----
case REG_BP:
rc = gdb_breakpoint (address, condition,
0 /*hardwareflag */ , temp_p,
! thread, ignore_count);
break;
case HW_BP:
rc = gdb_breakpoint (address, condition,
1 /*hardwareflag */ , temp_p,
! thread, ignore_count);
break;
#if 0