From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24346 invoked by alias); 28 Nov 2007 19:43:13 -0000 Received: (qmail 24330 invoked by uid 22791); 28 Nov 2007 19:43:11 -0000 X-Spam-Check-By: sourceware.org Received: from hosts253.toyon.com (HELO smtp1.toyon.com) (65.160.147.253) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Nov 2007 19:43:07 +0000 Received: from [172.16.1.95] (hosts253.toyon.com [65.160.147.253] (may be forged)) (authenticated bits=0) by smtp1.toyon.com (8.13.1/8.12.11) with ESMTP id lASJlNh2002986 for ; Wed, 28 Nov 2007 11:47:23 -0800 Message-ID: <474DC4C9.7000806@toyon.com> Date: Wed, 28 Nov 2007 19:43:00 -0000 From: Chris Stankevitz User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: gdb@sourceware.org Subject: help me reduce typing when running gdb 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/msg00258.txt.bz2 Hi, I often perform these steps: 1. bjam 2. gdb ./bin/debug/prog 3. r very long list of parameters that I hate typing 4. [lots of debugger commands like c, n, s, break, etc] 5. up arrow many times to get back to the run command w/parms 6. q 7. vi source.cpp 8. goto 1 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). Thanks for your help in switching over to gdb! Chris