[PATCH 2/4] Error on bad count number

Eli Zaretskii eliz@gnu.org
Fri Mar 7 10:53:00 GMT 2014


> 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.



More information about the Gdb-patches mailing list