From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2396 invoked by alias); 9 Jul 2010 11:52:37 -0000 Received: (qmail 2351 invoked by uid 22791); 9 Jul 2010 11:52:36 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Jul 2010 11:52:33 +0000 Received: by gxk4 with SMTP id 4so1400381gxk.0 for ; Fri, 09 Jul 2010 04:52:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.82.9 with SMTP id f9mr6392345agb.124.1278676351225; Fri, 09 Jul 2010 04:52:31 -0700 (PDT) Received: by 10.90.56.11 with HTTP; Fri, 9 Jul 2010 04:52:31 -0700 (PDT) Date: Fri, 09 Jul 2010 11:52:00 -0000 Message-ID: Subject: some questions about kernel debugging From: loody 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-07/txt/msg00035.txt.bz2 Dear all: I enable kernel hacking options about kernel debugging on my mips platform. I can successfully connect to the target board. My question is: 1. why I cannot p/x the value of variable? I have enabled CONFIG_ARCH_WANT_FRAME_POINTERS and CONFIG_FRAME_POINTER but I still get the message which tell me "value optimized out". did I miss anything? my kernel version is 2.6.30.9? appreciate your help, miloody