From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17918 invoked by alias); 29 Nov 2007 11:21:50 -0000 Received: (qmail 17909 invoked by uid 22791); 29 Nov 2007 11:21:49 -0000 X-Spam-Check-By: sourceware.org Received: from s200aog12.obsmtp.com (HELO s200aog12.obsmtp.com) (207.126.144.126) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Nov 2007 11:21:41 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob012.postini.com ([207.126.147.11]) with SMTP; Thu, 29 Nov 2007 11:21:25 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E3FD0DADE; Thu, 29 Nov 2007 11:21:24 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A57F84BF3E; Thu, 29 Nov 2007 11:21:24 +0000 (GMT) Received: from [164.129.12.194] (bri0669.bri.st.com [164.129.12.194]) by mail1.bri.st.com (MOS 3.7.5a-GA) with ESMTP id CJM09525 (AUTH stubbsa); Thu, 29 Nov 2007 11:21:24 GMT Message-ID: <474EA0B4.2000801@st.com> Date: Thu, 29 Nov 2007 11:21:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Chris Stankevitz Cc: gdb@sourceware.org Subject: Re: help me reduce typing when running gdb References: <474DC4C9.7000806@toyon.com> In-Reply-To: <474DC4C9.7000806@toyon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2007-11/txt/msg00269.txt.bz2 Chris Stankevitz wrote: > Can anyone recommend a way to streamline this process? Particularly > Step 3 and Step 5. In MSVC, steps 1-3 is one keystroke (F5) and step 5 > is two (SHIFT-F5, F5). The TUI has some single key commands for stepping and such - I use those a lot. The source view is very nice to have too. You might also like to check out the history save feature. I have these lines in my .gdbinit: set history expansion set history save on Basically it just means that, when you start a new GDB session in the same directory as a previous one, you can hit 'up' and the commands from your last session are still there. Andrew