From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25010 invoked by alias); 5 Apr 2002 16:23:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24999 invoked from network); 5 Apr 2002 16:23:52 -0000 Received: from unknown (HELO dublin.ACT-Europe.FR) (212.157.227.154) by sources.redhat.com with SMTP; 5 Apr 2002 16:23:52 -0000 Received: from berlin.ACT-Europe.FR (berlin.int.act-europe.fr [10.10.0.169]) by dublin.ACT-Europe.FR (Postfix) with ESMTP id 04149229E14 for ; Fri, 5 Apr 2002 18:23:50 +0200 (MET DST) Received: by berlin.ACT-Europe.FR (Postfix, from userid 507) id DF696960; Fri, 5 Apr 2002 18:23:50 +0200 (CEST) Date: Fri, 05 Apr 2002 08:23:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: Does anyone use GDB on x86-solaris 2.7 or more recent? Message-ID: <20020405182350.F31184@act-europe.fr> References: <20020405182154.E31184@act-europe.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020405182154.E31184@act-europe.fr>; from brobecker@ACT-Europe.FR on Fri, Apr 05, 2002 at 06:21:54PM +0200 X-SW-Source: 2002-04/txt/msg00164.txt.bz2 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 263 > Could anyone do the following for me? Assemble the attached assembly > file, and send me the object file. "gcc -c small.s" should do it. I'll > then check the address of the static symbol using objdump. Sorry, I forgot the assembly file. Attached. -- Joel --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="small.s" Content-length: 2064 .file "small.c" .version "01.01" .stabs "/lot.a/brobecke/gdb-testsuite/tests/6423-010/",100,0,0,.Ltext0 .stabs "small.c",100,0,0,.Ltext0 .text .Ltext0: .stabs "gcc2_compiled.", 0x3c, 0, 0, 0 .stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0 .stabs "char:t(0,2)=r(0,2);0;127;",128,0,0,0 .stabs "long int:t(0,3)=r(0,3);-2147483648;2147483647;",128,0,0,0 .stabs "unsigned int:t(0,4)=r(0,4);0;-1;",128,0,0,0 .stabs "long unsigned int:t(0,5)=r(0,5);0;-1;",128,0,0,0 .stabs "long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;",128,0,0,0 .stabs "long long unsigned int:t(0,7)=@s64;r(0,7);0000000000000;01777777777777777777777;",128,0,0,0 .stabs "short int:t(0,8)=@s16;r(0,8);-32768;32767;",128,0,0,0 .stabs "short unsigned int:t(0,9)=@s16;r(0,9);0;65535;",128,0,0,0 .stabs "signed char:t(0,10)=@s8;r(0,10);-128;127;",128,0,0,0 .stabs "unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0 .stabs "float:t(0,12)=r(0,1);4;0;",128,0,0,0 .stabs "double:t(0,13)=r(0,1);8;0;",128,0,0,0 .stabs "long double:t(0,14)=r(0,1);12;0;",128,0,0,0 .stabs "complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;",128,0,0,0 .stabs "complex float:t(0,16)=r(0,16);4;0;",128,0,0,0 .stabs "complex double:t(0,17)=r(0,17);8;0;",128,0,0,0 .stabs "complex long double:t(0,18)=r(0,18);12;0;",128,0,0,0 .stabs "void:t(0,19)=(0,19)",128,0,0,0 .stabs "fat_pointer:T(0,20)=s8lb0:(0,1),0,32;array:(0,21)=*(0,2),32,32;;",128,0,0,0 .data .align 4 .type fp.2,@object .size fp.2,8 fp.2: .long 0 .long 0 .text .align 4 .stabs "main:F(0,1)",36,0,3,main .globl main .type main,@function main: .stabn 68,0,3,.LM1-main .LM1: pushl %ebp movl %esp,%ebp .stabn 68,0,4,.LM2-main .LM2: .LBB2: .stabn 68,0,12,.LM3-main .LM3: cmpl $0,fp.2+4 jne .L2 .L2: .stabn 68,0,13,.LM4-main .LM4: .LBE2: .stabn 68,0,13,.LM5-main .LM5: .L1: leave ret .Lfe1: .size main,.Lfe1-main .stabs "fp:V(0,20)",38,0,10,fp.2 .stabn 192,0,0,.LBB2-main .stabn 224,0,0,.LBE2-main .Lscope0: .stabs "",36,0,0,.Lscope0-main .stabs "",100,0,0,.Letext .Letext: .ident "GCC: (GNU) 2.8.1" --n8g4imXOkfNTN/H1--