This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: find command with gdb v7.0
On Tue, Oct 27, 2009 at 11:36 AM, Paul Pluzhnikov
<ppluzhnikov@google.com> wrote:
< [...] the manual doesn't explicitly say the terminating
> NUL is included in the search pattern.
Well, it does, but perhaps it's in a place that's easily missed.
> I think removing the trailing NUL is a better fix; one could always put
> it back with
>
> ?find greet,+100,"gentleman",'\0'
Or "gentleman\0".