From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18176 invoked by alias); 16 Sep 2004 12:44:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18159 invoked from network); 16 Sep 2004 12:44:41 -0000 Received: from unknown (HELO aacnyelrsh.aacisd.com) (63.165.50.175) by sourceware.org with SMTP; 16 Sep 2004 12:44:41 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by aacnyelrsh.aacisd.com (8.12.11/8.12.11) with ESMTP id i8GCiZqW023947 for ; Thu, 16 Sep 2004 08:44:41 -0400 Message-ID: <41498AB3.2000507@lio.aacisd.com> Date: Thu, 16 Sep 2004 12:44:00 -0000 From: Rob Shewan Organization: Advanced Acoustic Concepts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Various problems with gdb Content-Type: multipart/mixed; boundary="------------070009020405020202030305" X-SW-Source: 2004-09/txt/msg00139.txt.bz2 This is a multi-part message in MIME format. --------------070009020405020202030305 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1235 Help! I have googled this and searched the linux distribution (fedora) mailing list archives. I've checked bugzilla for fedora and gdb. I am attempting to debug a large (1.2GB) mutithreaded C++ application on Fedora Core 2. The original version of gdb was: GNU gdb Red Hat Linux (6.0post-0.20040223.19rh). The current version of gdb is: GNU gdb Red Hat Linux (6.1post-1.20040607.8rh). gdb is unable to set breakpoints in class methods contained in shared libraries. An error similar to "Cannot access memory at address 0x1b3ba" is displayed by gdb. I have seen this question asked but never answered. Browsing the sources it looks like memory_error() is being called by write_memory() that has called target_write_memory(). It returns EIO. Is there a way to alter permissions on the memory segment? Is the loader screwing up? Have I screwed up? Additionally gdb doesn't handle the symbol table well using a C++ namespace symbol in place of something more reasonable. Any reasonable suggestions would be greatly appreciated? If this warrants a bug report I will be happy to submit one, I would just like to make sure I'm not doing something silly first. Please cc me, I am not subscribed to this list. Rob Shewan --------------070009020405020202030305 Content-Type: text/x-vcard; charset=utf-8; name="rshewan.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rshewan.vcf" Content-length: 236 begin:vcard fn:Rob Shewan n:Shewan;Rob org:Advanced Acoustic Concepts adr:;;425 Oser Avenue;Hauppauge;NY;11788;USA title:Senior Software Engineer tel;work:(631) 273-5700 tel;fax:(631) 273-5809 x-mozilla-html:TRUE version:2.1 end:vcard --------------070009020405020202030305--