From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14265 invoked by alias); 20 Mar 2007 03:09:30 -0000 Received: (qmail 14254 invoked by uid 22791); 20 Mar 2007 03:09:29 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Mar 2007 03:09:25 +0000 Received: from kahikatea.snap.net.nz (157.61.255.123.dynamic.snap.net.nz [123.255.61.157]) by viper.snap.net.nz (Postfix) with ESMTP id ECAE33DA0E6; Tue, 20 Mar 2007 15:09:22 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 2BC304F72E; Tue, 20 Mar 2007 15:09:20 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17919.20575.286260.761826@kahikatea.snap.net.nz> Date: Tue, 20 Mar 2007 03:09:00 -0000 To: Denis PILAT , gdb-patches Subject: Re: [RFC] -thread-info new command In-Reply-To: <17919.15500.439138.600411@kahikatea.snap.net.nz> References: <45FE9E6A.3030906@st.com> <17919.15500.439138.600411@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.0.95.6 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00180.txt.bz2 > This has the same problem as gdb_thread_select i.e gdb_thread_info returns type > enum gdb_rc but catch_exceptions_with_msg returns type int. I did suggest a > patch for this: > > http://sourceware.org/ml/gdb-patches/2006-10/msg00220.html > (Re: [PATCH] PR mi/2086 -break-insert missing error diagnostic) > > but the thread stopped at that point. I think that we should resolve this > issue before adding further similar functions. It looks like I've misremembered, as the patch I've quoted is for mi_cmd_break_insert and not gdb_thread_select. However, perhaps we should still resolve the issue first. -- Nick http://www.inet.net.nz/~nickrob