Re: [PATCH 2/4] Error on bad count number

Eli Zaretskii
2014-03-07T10:53:14Z

> Date: Fri, 7 Mar 2014 17:38:19 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: Joel Brobecker <brobecker@adacore.com>, <gdb-patches@sourceware.org>
>
> > (top-gdb) ignore -6 1
> > Will ignore next crossing of breakpoint -6.
>
> Shouldn't GDB emit an error on the negative input? Do we have any
> case that negative is valid?

AFAIR, breakpoints set by GDB for its own purposes are given negative
numbers.