From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20267 invoked by alias); 20 Dec 2005 15:33:59 -0000 Received: (qmail 20260 invoked by uid 22791); 20 Dec 2005 15:33:58 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.tuebingen.mpg.de (HELO tuebingen.mpg.de) (192.124.26.249) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Dec 2005 15:33:58 +0000 Received: from [129.143.128.137] (HELO [172.16.105.233]) by tuebingen.mpg.de (CommuniGate Pro SMTP 4.1.8) with ESMTP id 16437643 for gdb@sources.redhat.com; Tue, 20 Dec 2005 16:33:48 +0100 Message-ID: <43A824AB.1030709@gmx.net> Date: Tue, 20 Dec 2005 15:33:00 -0000 From: Fabio De Bona User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051013) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: sourcing gdb-scripts and future shared lib loads 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00165.txt.bz2 Hi everyone, I face the following problem: I created a file with gdb commands to be sourced in gdb or used via gdb -x file, in which I want to set some breakpoints in parts of my application that are loaded in the future. When you do this interactive gdb usually asks you if you want to create breakpoints for symbols loaded in the future. The problem is that the question is automatically answered with "no" if you use the above script approach (same like setting 'set confirm off' in interactive mode). How can I tell gdb to answer all questions with "yes" when it executes one of my scripts ? Has anyone an idea how to solve this problem ? Regards Fabio De Bona