From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3650: M-x gdb unusable on Windows Date: Tue, 23 Jun 2009 18:09:39 +1200 Message-ID: <19008.29091.473126.629092@totara.tehura.co.nz> References: <49FF3340.2040008@gmx.de> <4A005A64.5050908@gnu.org> <4A3F1B05.7030105@gnu.org> <4A3F7058.902@gnu.org> <4A3F81AC.1070404@gnu.org> <4A3F8EAC.5010009@gnu.org> Reply-To: Nick Roberts , 3650@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245737862 14215 80.91.229.12 (23 Jun 2009 06:17:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2009 06:17:42 +0000 (UTC) Cc: emacs-pretest-bug To: Jason Rumney , 3650@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 23 08:17:39 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIzK5-0002nd-Np for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jun 2009 08:17:38 +0200 Original-Received: from localhost ([127.0.0.1]:60406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIzK4-0001Lh-TM for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jun 2009 02:17:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIzJz-0001Km-Ow for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 02:17:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIzJu-0001KW-JR for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 02:17:31 -0400 Original-Received: from [199.232.76.173] (port=47956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIzJu-0001KB-8D for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 02:17:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57143) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIzJt-0004kM-HU for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 02:17:25 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5N6HMJs016905; Mon, 22 Jun 2009 23:17:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5N6F4Wm016216; Mon, 22 Jun 2009 23:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: nickrob@snap.net.nz (Nick Roberts) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 23 Jun 2009 06:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3650 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3650-submit@emacsbugs.donarmstrong.com id=B3650.124573739015270 (code B ref 3650); Tue, 23 Jun 2009 06:15:04 +0000 Original-Received: (at 3650) by emacsbugs.donarmstrong.com; 23 Jun 2009 06:09:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.25] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5N69iUE015263 for <3650@emacsbugs.donarmstrong.com>; Mon, 22 Jun 2009 23:09:45 -0700 Original-Received: from totara (110.28.255.123.dynamic.snap.net.nz [123.255.28.110]) by viper.snap.net.nz (Postfix) with ESMTP id 5D69C3D9FEB; Tue, 23 Jun 2009 18:09:40 +1200 (NZST) Original-Received: by totara (Postfix, from userid 1000) id 791CBC13F; Tue, 23 Jun 2009 18:09:39 +1200 (NZST) In-Reply-To: <4A3F8EAC.5010009@gnu.org> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 23 Jun 2009 02:17:30 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28921 gmane.emacs.pretest.bugs:24678 Archived-At: Jason Rumney writes: > Jason Rumney wrote: > > Kenichi Handa wrote: > > > >> By the way, I also installed gdb-6.8-mingw-3.tar.bz2. But, > >> with "M-x gdb", pp and pr commands doesn't work. They print > >> nothing. They do work when gdb is invoked from command > >> line. Do you know what is wrong? Are you sure they print nothing or is it just that the output isn't being flushed? The commentary in gdb-ui.el has some advice about using Emacs and GDB on Windows: ;; If you are using Emacs and GDB on Windows you will need to flush the buffer ;; explicitly in your program if you want timely display of I/O in Emacs. ;; Alternatively you can make the output stream unbuffered, for example, by ;; using a macro: ;; #ifdef UNBUFFERED ;; setvbuf (stdout, (char *) NULL, _IONBF, 0); ;; #endif ;; and compiling with -DUNBUFFERED while debugging. > > I've often had problems in the past using debuggers under Emacs on > > Windows (under Emacs 21 and early 22 development versions though, so I > > haven't tried the new gdb-ui extensively), so I always use the command > > line. > > I just tried it, and it seems to be even worse than I remembered. Perhaps you mean: I just tried it, and I can't get it to work. Asking on this list if others are successfully using it will probably answer the question as to whether the problem is at your end or not. Saying it is unusable is a bit cheap. > Problem 1 is that ... What version of Emacs are you using? -- Nick http://www.inet.net.nz/~nickrob