From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12694 invoked by alias); 9 Apr 2009 00:37:19 -0000 Received: (qmail 12686 invoked by uid 22791); 9 Apr 2009 00:37:18 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.249) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Apr 2009 00:37:14 +0000 Received: by rv-out-0708.google.com with SMTP id b17so9354rvf.0 for ; Wed, 08 Apr 2009 17:37:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.193.16 with SMTP id q16mr757342rvf.215.1239237432754; Wed, 08 Apr 2009 17:37:12 -0700 (PDT) Date: Thu, 09 Apr 2009 16:34:00 -0000 Message-ID: Subject: Kernel symbol table From: Shrinand Javadekar To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 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/msg00091.txt.bz2 Hi All, I have gdb attached to a running kernel. Even if the kernel was not built with symbols, there should be some symbols exported by the kernel right? The ones exported by using EXPORT_SYMBOL; e.g. sys_open, sys_close, etc. I believe these symbols are kept in the kernel symbol table. The question I have is, how do I access this symbol table? Also, does the kernel do anything special about where to keep (at what address) this symbol table? Thanks in advance. -Shri