From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4796 invoked by alias); 9 Apr 2009 20:28:56 -0000 Received: (qmail 4785 invoked by uid 22791); 9 Apr 2009 20:28:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Apr 2009 20:28:46 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 5ACCB18002; Thu, 9 Apr 2009 13:28:44 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost4.vmware.com (Postfix) with ESMTP id 47D68C9A92; Thu, 9 Apr 2009 13:28:44 -0700 (PDT) Message-ID: <49DE599B.8070702@vmware.com> Date: Thu, 09 Apr 2009 20:36:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Shrinand Javadekar CC: "gdb@sourceware.org" Subject: Re: Kernel symbol table References: <49DE4219.9020606@vmware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: 2009-04/txt/msg00095.txt.bz2 Shrinand Javadekar wrote: > Hi Michael, > > Thanks for the reply. However, there are a couple of problems with > looking at vmlinux. > > 1. When I haven't built the kernel myself, I don't have the vmlinux file. > 2. When I am remotely connected to a machine, I don't really have the > vmlinux file with me. > > Hence, rather that getting the info statically from file, it would be > great to read it directly from the memory of the target. Not possible, afaik. The symbol sections of the vmlinu[x|z] file are explicitly NOT loaded into memory. Or were you thinking about some sort of /proc-like mechanism?