From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: gdba problems with C++ code Date: Wed, 6 Sep 2006 22:20:02 +1200 Message-ID: <17662.41170.40438.149274@kahikatea.snap.net.nz> References: <17661.62609.88044.965992@kahikatea.snap.net.nz> <20060906.010820.92574304.wl@gnu.org> <17662.14141.844975.205652@kahikatea.snap.net.nz> <20060906.105320.74732193.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157538171 26940 80.91.229.2 (6 Sep 2006 10:22:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2006 10:22:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 06 12:22:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GKuYK-00030q-86 for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 12:22:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKuYJ-0000Yl-AA for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 06:22:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKuY6-0000W7-TM for emacs-devel@gnu.org; Wed, 06 Sep 2006 06:22:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKuY5-0000UP-2h for emacs-devel@gnu.org; Wed, 06 Sep 2006 06:22:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKuY4-0000UL-Rq for emacs-devel@gnu.org; Wed, 06 Sep 2006 06:22:24 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKuYA-0000Cx-9c; Wed, 06 Sep 2006 06:22:30 -0400 Original-Received: from kahikatea.snap.net.nz (p202-124-125-84.snap.net.nz [202.124.125.84]) by viper.snap.net.nz (Postfix) with ESMTP id 833C77B63DB; Wed, 6 Sep 2006 22:22:19 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id B4EBFBE38E; Wed, 6 Sep 2006 22:20:03 +1200 (NZST) Original-To: Werner LEMBERG In-Reply-To: <20060906.105320.74732193.wl@gnu.org> X-Mailer: VM 7.19 under Emacs 22.0.50.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59434 Archived-At: > It does, thanks. For the moment, I have only one remaining question > which is probably not directly related to gdba: Using mouse-1 to open > the tree leaves (for structures watched in the speedbar frame) > sometimes fails. I have to click just once to open it, right? For > me, this often doesn't work, and I have to click again on the icon to > see a reaction. Have you ever seen such a problem? It looks like > Emacs doesn't receive all mouse events, or that they get lost > somewhere. I use the CVS from today on a GNU/Linux box, running X > 6.9.0. I don't think it's an Emacs problem. It doesn't happen if you are just browsing files in the speedbar, right? I think it's because I've made gdb-enqueue-input a no-op if GDB is still executing (gud-running is t) : (defun gdb-enqueue-input (item) (if (not gud-running) ^^^^^^^^^^^^^^^^ (if gdb-prompting (progn (gdb-send-item item) (setq gdb-prompting nil)) (push item gdb-input-queue)))) You can get better response if you omit that clause but Emacs might get confused at times. GDB/MI should make things easier with tokens to tie GDB output to GDB input. -- Nick http://www.inet.net.nz/~nickrob