From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15205 invoked by alias); 11 Jan 2012 22:33:55 -0000 Received: (qmail 15197 invoked by uid 22791); 11 Jan 2012 22:33:54 -0000 X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm33-vm6.bullet.mail.ne1.yahoo.com (HELO nm33-vm6.bullet.mail.ne1.yahoo.com) (98.138.229.70) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 11 Jan 2012 22:33:41 +0000 Received: from [98.138.90.54] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jan 2012 22:33:40 -0000 Received: from [98.138.88.235] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jan 2012 22:33:40 -0000 Received: from [127.0.0.1] by omp1035.mail.ne1.yahoo.com with NNFMP; 11 Jan 2012 22:33:40 -0000 Received: (qmail 11680 invoked by uid 60001); 11 Jan 2012 22:33:40 -0000 Received: from [66.129.224.36] by web120403.mail.ne1.yahoo.com via HTTP; Wed, 11 Jan 2012 14:33:40 PST References: Message-ID: <1326321220.82282.YahooMailNeo@web120403.mail.ne1.yahoo.com> Date: Wed, 11 Jan 2012 22:33:00 -0000 From: First Last Reply-To: First Last Subject: Hooking user-defined function at the end of gdb-launch To: "gdb@sourceware.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2012-01/txt/msg00047.txt.bz2 Hi, I want to run a user-defined command automatically after the=A0symbol-table= from the core-file=A0has been loaded and before user executes any commands. Can I use hookpost-=A0to some command=A0which is=A0used implicitly during l= aunch? Any other suggestions? =A0 Thanks, FL