From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29098 invoked by alias); 23 Jun 2008 22:09:11 -0000 Received: (qmail 29089 invoked by uid 22791); 23 Jun 2008 22:09:10 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jun 2008 22:08:53 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id m5NM8Iju010879; Tue, 24 Jun 2008 00:08:18 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id m5NM8HTZ011692; Tue, 24 Jun 2008 00:08:17 +0200 (CEST) Date: Mon, 23 Jun 2008 22:09:00 -0000 Message-Id: <200806232208.m5NM8HTZ011692@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: brobecker@adacore.com CC: gdb@sourceware.org In-reply-to: <20080619190942.GA3744@adacore.com> (message from Joel Brobecker on Thu, 19 Jun 2008 15:09:42 -0400) Subject: Re: GDB Focus Group at the 2008 GCC Summit References: <20080619190942.GA3744@adacore.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00229.txt.bz2 > Date: Thu, 19 Jun 2008 15:09:42 -0400 > From: Joel Brobecker > > Hello, > > we had a couple of 45min sessions where we discussed various items > related to GDB. I took some brief notes, although I might have forgotten > one or two. Anyway, here is what I wrote: > > | * Transition to SVN: > | > | Required version (for the client) just released a couple of hours ago: > | feature allows to checkout a subset of the module (?). There is still > | no one-line command that allows to check gdb out, so maybe will have > | a script. > | > | Pb: If we want to have a combined tree, we will need to convert > | binutils, gnulib, etc. Objection! I have played with SVN for work and I really dilike the fact that a checked out repository is very grep unfriendly. > | * Using threads inside GDB: > | > | Problem: Expression evaluation is synchronous and blocking. > | While GDB is doing that work, it is not handling other events, > | which can be a problem in non-stop mode. > | > | Typical problem is inferior function call that causes two issues: > | - potential length of time it takes to evaluate > | - having to re-enter the event loop to wait for function to return. > | > | Pedro to think about it and write a proposal. Idea we're gearing > | towards is one thread that runs the event loop all the time. I guess something like this is inevitable, but I'm not happy with using threads. Threads and signals don't mix really well, and ptrace(2) depends heavily on threads.