From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31247 invoked by alias); 22 Jun 2007 10:07:48 -0000 Received: (qmail 31237 invoked by uid 22791); 22 Jun 2007 10:07:48 -0000 X-Spam-Check-By: sourceware.org Received: from smtp6.poczta.onet.pl (HELO smtp6.poczta.onet.pl) (213.180.130.36) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Jun 2007 10:07:45 +0000 Received: from static-62-233-152-148.devs.futuro.pl ([62.233.152.148]:26130 "EHLO [10.0.0.72]") by ps6.test.onet.pl with ESMTP id (ORCPT ); Fri, 22 Jun 2007 12:07:33 +0200 Message-ID: <467B9F64.7070201@op.pl> Date: Fri, 22 Jun 2007 10:07:00 -0000 From: Bogdan Slusarczyk User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: gdb@sourceware.org Subject: problem with creating variable object (gdb6.3) Content-Type: text/plain; charset=ISO-8859-2; 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-06/txt/msg00188.txt.bz2 Hi, maybe you can help me. I have some executable file where I want to set some variable value using gdb. I know this variable address, and try to create var-object for accessing. Problem is that gdb sometimes returns that it cannot create var-object. I try this: -var-create - * "*(bool *)0x028d7460" and gdb returns "No symbol "bool" in current context.". I noticed that it depends on dynamic loaded libraries - for some gdb works fine for others doesn't, but I don't understand why, because mentioned variable is from executable file not from loaded libraries. Can you tell me what is wrong? Regards Bogdan