From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7004 invoked by alias); 15 Dec 2010 16:07:34 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 6995 invoked by uid 22791); 15 Dec 2010 16:07:33 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Tom Tromey To: sami wagiaalla Cc: Project Archer Subject: Re: [inferior events] another fix from trunk References: <4D08E41F.2050300@redhat.com> Date: Wed, 15 Dec 2010 16:07:00 -0000 In-Reply-To: <4D08E41F.2050300@redhat.com> (sami wagiaalla's message of "Wed, 15 Dec 2010 10:51:59 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q4/txt/msg00042.txt.bz2 >> gdb.selected_thread is defined to return None when there is no current >> thread. On the branch it errors. Sami> Does it do that though ? IIRC it just crash when there was no current Sami> thread. Yeah, it does. find_thread_object returns NULL if there is no thread. Tom