[patch] linux-thread-db, check return value of find_thread_pid

Daniel Jacobowitz drow@false.org
Thu Jun 28 23:04:00 GMT 2007


On Thu, Jun 28, 2007 at 03:35:27PM -0700, msnyder@sonic.net wrote:
> May return null, check before using.
> 
> 2007-06-28  Michael Snyder  <msnyder@access-company.com>
> 
>         * linux-thread-db.c (thread_db_get_thread_local_address): Add
>         gdb_assert before using return value of find_thread_pid (Coverity).

Thanks, this is fine.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list