From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13698 invoked by alias); 23 Feb 2010 07:08:55 -0000 Received: (qmail 13676 invoked by uid 22791); 23 Feb 2010 07:08:54 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-px0-f171.google.com (HELO mail-px0-f171.google.com) (209.85.216.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Feb 2010 07:08:50 +0000 Received: by pxi1 with SMTP id 1so1991248pxi.23 for ; Mon, 22 Feb 2010 23:08:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.153.38 with SMTP id f38mr3241101wfo.167.1266908928348; Mon, 22 Feb 2010 23:08:48 -0800 (PST) From: Hui Zhu Date: Tue, 23 Feb 2010 07:08:00 -0000 Message-ID: Subject: How to set default value of yquery and nquery To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-02/txt/msg00155.txt.bz2 Hi guys, A people want set a lot of command with .gdbinit, He want set a breakpoint to a solib before load it. He just got: Function "www2" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] We can handle this issue with load solib before set breakpoint. But does GDB have some ways to set default value with input not from terminal? Thanks, Hui