From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20914 invoked by alias); 22 Aug 2010 07:41:40 -0000 Received: (qmail 20859 invoked by uid 48); 22 Aug 2010 07:41:38 -0000 Date: Sun, 22 Aug 2010 07:41:00 -0000 Message-ID: <20100822074138.20855.qmail@sourceware.org> From: "jan dot kratochvil at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20100618132513.11717.lance604@gmail.com> References: <20100618132513.11717.lance604@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug symtab/11717] common/.bss variables from shared libraries not displayed correctly X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00286.txt.bz2 ------- Additional Comments From jan dot kratochvil at redhat dot com 2010-08-22 07:41 ------- #include int main() { return std::cin.eof(); } (gdb) p std::cin $1 = { (gdb) p &std::cin $2 = (std::istream *) 0x7ffff7dc7b60 Symbol table '.dynsym' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 7: 0000000000600b60 280 OBJECT GLOBAL DEFAULT 25 _ZSt3cin@GLIBCXX_3.4 (2) because of: Relocation section '.rela.dyn' at offset 0x4a8 contains 2 entries: Offset Info Type Symbol's Value Symbol's Name + Addend 0000000000600b60 0000000700000005 R_X86_64_COPY 0000000000600b60 _ZSt3cin + 0 Unaware if it is the only problem of: (gdb) p std::cin.eof() Cannot access memory at address 0xffffffffffffffe8 -- http://sourceware.org/bugzilla/show_bug.cgi?id=11717 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.