This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] linespec.c, decode_line_1, check for null.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Michael Snyder <msnyder at vmware dot com>
- Date: Tue, 1 Mar 2011 21:25:21 +0000
- Subject: Re: [commit] linespec.c, decode_line_1, check for null.
- References: <4D6D5DBA.90604@vmware.com>
On Tuesday 01 March 2011 20:57:30, Michael Snyder wrote:
> If it's worth checking for null, it's worth doing so before the first
> dereference.
Well, then it may not be worth checking for null. How old is
that code?
>
> Checked in.
>
>
--
Pedro Alves