This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] source.c, find_source_lines
- From: Jim Blandy <jimb at codesourcery dot com>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 13 Aug 2007 14:29:36 -0700
- Subject: Re: [PATCH] source.c, find_source_lines
- References: <25041.12.7.175.2.1186865595.squirrel@webmail.sonic.net>
msnyder@sonic.net writes:
> Since 's' is repeatedly assumed, let's assert it rather than
> sometimes checking it and sometimes not.
Yeah... I don't see what this function would even be intended to do
when passed NULL.