From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3837 invoked by alias); 14 Sep 2005 12:24:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3645 invoked by uid 22791); 14 Sep 2005 12:24:15 -0000 Received: from smtpout.mac.com (HELO smtpout.mac.com) (17.250.248.83) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 14 Sep 2005 12:24:15 +0000 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout07/MantshX 4.0) with ESMTP id j8ECOC1c026646 for ; Wed, 14 Sep 2005 05:24:12 -0700 (PDT) Received: from [192.168.10.5] (p54a82e9c.dip0.t-ipconnect.de [84.168.46.156]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j8ECOA4k006579 for ; Wed, 14 Sep 2005 05:24:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v745) Content-Transfer-Encoding: 7bit Message-Id: <1EFA79A4-2799-4433-A7D2-DF3A5C0054CD@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: gdb@sources.redhat.com From: Alexander von Below Subject: Startup Scripts and Duplicates in the History Date: Wed, 14 Sep 2005 12:24:00 -0000 X-SW-Source: 2005-09/txt/msg00095.txt.bz2 Hello List, maybe I did not google hard enough, but I could not find an answer to the following, hopefully trivial question: 1) I would like to "optimize" my workflow, and have a script executed everytime I start gdb from a certain directory, or in a certain way. Namely, what the script should do is: add-symbol-file com.my.driver.sym (gdb also always wants to confirm this, can I disable this confirmation?) target remote-kdp 2) Is there a way to not add duplicates to the gdb history? Every "next" or "cont" is recorded, which seems unnecessary. My usual debugging session involves setting some breakpoints, a lot of next and cont, and print. And I would like to quickly step over the "next"s to recall the break point settings in the next session Thanks for you help Alex