This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]