From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9898 invoked by alias); 30 Apr 2009 14:51:26 -0000 Received: (qmail 9887 invoked by uid 22791); 30 Apr 2009 14:51:25 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from saturn.robustserver.com (HELO saturn.robustserver.com) (75.126.93.128) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Apr 2009 14:51:18 +0000 Received: from [98.221.23.85] (helo=[192.168.10.6]) by saturn.robustserver.com with esmtpa (Exim 4.69) (envelope-from ) id 1LzXbU-0006D8-Oh; Thu, 30 Apr 2009 10:51:13 -0400 Message-ID: <49F9BADF.9040101@apogeect.com> Date: Thu, 30 Apr 2009 14:52:00 -0000 From: Frank Middleton User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1b3pre) Gecko/20081223 Thunderbird/3.0b1 MIME-Version: 1.0 To: Paul Pluzhnikov CC: gdb@sourceware.org Subject: Re: Experiences building and using gdb 6.8 on Solaris References: <49F4C98B.2000609@apogeect.com> <8ac60eac0904261743i452a3ae5qc49b8f483644413a@mail.gmail.com> <49F5B0BB.4030406@apogeect.com> <8ac60eac0904291102l52e0f9d1i26714b05a0e93d9e@mail.gmail.com> <49F8ECE5.6020502@apogeect.com> <8ac60eac0904291734u1a2fdcbbn238a461f26244a24@mail.gmail.com> In-Reply-To: <8ac60eac0904291734u1a2fdcbbn238a461f26244a24@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; 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: 2009-04/txt/msg00229.txt.bz2 On 04/29/09 20:34, Paul Pluzhnikov wrote: > What does 'readelf -S libXau.so.6' say? %readelf -S /usr/lib/libXau.so.6 There are 28 section headers, starting at offset 0x4c68: Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .hash HASH 000000b4 0000b4 000134 04 A 3 0 4 [ 2] .SUNW_ldynsym LOOS+ffffff3 000001e8 0001e8 000120 10 A 4 18 4 [ 3] .dynsym DYNSYM 00000308 000308 000260 10 A 4 1 4 [ 4] .dynstr STRTAB 00000568 000568 000419 00 AS 0 0 1 [ 5] .SUNW_version VERNEED 00000984 000984 000020 01 A 4 1 4 [ 6] .SUNW_version VERDEF 000009a4 0009a4 000054 01 A 4 3 4 [ 7] .SUNW_versym VERSYM 000009f8 0009f8 00004c 02 A 3 0 4 [ 8] .SUNW_dynsymsort LOOS+ffffff1 00000a44 000a44 000044 04 A 2 0 4 [ 9] .SUNW_reloc RELA 00000a88 000a88 000060 0c A 3 0 4 [10] .rela.plt RELA 00000ae8 000ae8 000120 0c AI 3 17 4 [11] .text PROGBITS 00000c08 000c08 000cb4 00 AX 0 0 4 [12] .init PROGBITS 000018bc 0018bc 00000c 00 AX 0 0 4 [13] .fini PROGBITS 000018c8 0018c8 00000c 00 AX 0 0 4 [14] .rodata PROGBITS 000018d4 0018d4 000004 00 A 0 0 4 [15] .rodata1 PROGBITS 000018d8 0018d8 00003b 00 A 0 0 4 [16] .got PROGBITS 00012000 002000 000024 04 WA 0 0 8192 [17] .plt PROGBITS 00012024 002024 000154 0c WAX 0 0 4 [18] .dynamic DYNAMIC 00012178 002178 000168 08 WA 4 0 4 [19] .bss NOBITS 00020000 0022e0 000008 00 WA 0 0 4 [20] .symtab SYMTAB 00000000 0022e0 0005e0 10 21 57 4 [21] .strtab STRTAB 00000000 0028c0 00023f 00 S 0 0 1 [22] .debug_info PROGBITS 00000000 002aff 00199c 01 0 0 1 [23] .debug_line PROGBITS 00000000 00449b 000400 01 0 0 1 [24] .debug_abbrev PROGBITS 00000000 00489b 0000b0 01 0 0 1 [25] .comment PROGBITS 00000000 00494b 000119 00 0 0 1 [26] .shstrtab STRTAB 00000000 004a64 0000f6 00 S 0 0 1 [27] .SUNW_signature GNU_HASH 00000000 004b5a 00010e 00 p 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific)