From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9756 invoked by alias); 1 Oct 2007 00:34:51 -0000 Received: (qmail 9748 invoked by uid 22791); 1 Oct 2007 00:34:50 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao105.cox.net (HELO eastrmmtao105.cox.net) (68.230.240.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 Oct 2007 00:34:49 +0000 Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071001003447.FVSR23415.eastrmmtao105.cox.net@eastrmimpo01.cox.net> for ; Sun, 30 Sep 2007 20:34:47 -0400 Received: from [192.168.1.2] ([72.209.132.209]) by eastrmimpo01.cox.net with bizsmtp id uoai1X00T4XDoTs0000000; Sun, 30 Sep 2007 20:34:43 -0400 Message-ID: <470040A1.20502@wichita.edu> Date: Mon, 01 Oct 2007 00:34:00 -0000 From: "Rodney M. Bates" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050322) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Where to hook reading of new symbol file 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-10/txt/msg00000.txt.bz2 Where would be the right place to hook in some language/compiler- dependent actions to be executed whenever a new symbol file is loaded for any reason, e.g., file command, attach command, or specified on the gdb command line? -- ------------------------------------------------------------- Rodney M. Bates, retired assistant professor Dept. of Computer Science, Wichita State University Wichita, KS 67260-0083 316-978-3922 rodney.bates@wichita.edu