Re: Automatically use hardware watchpoints

Vladimir Prus
2006-11-22T10:44:16Z

On Wednesday 22 November 2006 01:23, Daniel Jacobowitz wrote:
> I accidentally typed break when I meant hbreak earlier today. This
> patch was fortunately applied to that GDB. It made me very happy
> to have this just work.
>
> The patch is OK for HEAD with minor corrections (plus Eli's doc
> requests). Afterwards, I think this is NEWS-worthy (again, since
> there's a new command); we haven't always done that in the past,
> but I think it's a good idea :-)
>
> On Wed, Nov 01, 2006 at 02:47:40PM +0300, Vladimir Prus wrote:
> > + fprintf_filtered (gdb_stdout,
> > + _("Note: automatically using hardware breakpoints for read-only
> > addresses.\n"));
>
> Probably want
>
> ... gdb_stdout, _("\
> Note:...");

I can't find this escape syntax in the C standard. Is this a gnu extension?

> > + made in insert_bp_location are preserved. */
>
> two spaces after period.
>
> And that's it :-)

Thanks, checked in.

- Volodya