From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pete Beardmore Newsgroups: gmane.emacs.bugs Subject: bug#7575: gdb command history saving Date: Mon, 6 Dec 2010 16:49:24 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; delsp=Yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291657585 13542 80.91.229.12 (6 Dec 2010 17:46:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 17:46:25 +0000 (UTC) To: 7575@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 06 18:46:21 2010 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.69) (envelope-from ) id 1PPf8k-0003lu-PS for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Dec 2010 18:46:19 +0100 Original-Received: from localhost ([127.0.0.1]:43340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPf8k-0000Ld-4J for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Dec 2010 12:46:18 -0500 Original-Received: from [140.186.70.92] (port=36704 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPf7y-0008Pf-Nc for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 12:45:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPf7r-0000WJ-3Y for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 12:45:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPf7r-0000W7-1e for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 12:45:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PPer4-0006Xy-C9; Mon, 06 Dec 2010 12:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pete Beardmore Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Dec 2010 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129165645725126 (code B ref -1); Mon, 06 Dec 2010 17:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Dec 2010 17:27:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeqd-0006XB-Ol for submit@debbugs.gnu.org; Mon, 06 Dec 2010 12:27:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeB9-00044V-3z for submit@debbugs.gnu.org; Mon, 06 Dec 2010 11:44:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPeGo-0003J6-W2 for submit@debbugs.gnu.org; Mon, 06 Dec 2010 11:50:35 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:51403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPeGo-0003Iz-MZ for submit@debbugs.gnu.org; Mon, 06 Dec 2010 11:50:34 -0500 Original-Received: from [140.186.70.92] (port=38893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPeGn-0006Rq-Bq for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 11:50:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPeGm-0003IA-8p for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 11:50:33 -0500 Original-Received: from blu0-omc1-s16.blu0.hotmail.com ([65.55.116.27]:12050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPeGm-0003Hv-5W for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 11:50:32 -0500 Original-Received: from BLU0-SMTP54 ([65.55.116.7]) by blu0-omc1-s16.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 6 Dec 2010 08:49:27 -0800 X-Originating-IP: [78.86.149.244] X-Originating-Email: [pete.beardmore@msn.com] Original-Received: from elservo.localdomain ([78.86.149.244]) by BLU0-SMTP54.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 6 Dec 2010 08:49:27 -0800 Original-Received: by elservo.localdomain (Postfix, from userid 80) id 571C3AD93D; Mon, 6 Dec 2010 16:49:24 +0000 (GMT) Original-Received: from elbeardo.lemondedelabarbe (elbeardo.lemondedelabarbe [10.0.0.5]) by elservo.lemondedelabarbe (Horde Framework) with HTTP; Mon, 06 Dec 2010 16:49:24 +0000 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.3.6) X-OriginalArrivalTime: 06 Dec 2010 16:49:27.0346 (UTC) FILETIME=[8B6AD120:01CB9565] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 06 Dec 2010 12:27:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 06 Dec 2010 12:28:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:42211 Archived-At: Hi. When GDB is used through emacs, command history is not saved to my .gdbhist file on gdb 'quit'. I use a MinGW/msys/bash environment. When gdb is used from the shell prompt, the settings in .gdbinit are sufficient to ensure ~/.gdbhist (or h:/install/MinGW/msys/1.0/home/pbeardm1/.gdbhist ..I've experimented with both) is successfully written to with the GDB command history. When i use GNU emacs 23.2.1 (i386-mingw-nt5.1.2600) from this shell and start the debugger within, having typed a few arbitrary commands to populate the command history / ring, i quit the debugger and .. ..observe a time stamp change on the correct .gdbhist file ..BUT find its content exactly as it was previously i.e. with nothing appended. I expect to see my last GDB commands written to the file. Note: through emacs, this file is not read either ..which makes me think that i haven't tweaked 'input ring' settings to use this file as a 'ring source' or something. I enquired on the IRC channel and got tumbleweeds ..hence i call this a 'bug' (quotes) to leave room for the possibility of it being a trivial config issue! Thanks.