🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Larry Ketcham Wed, 06 Dec 1989 01:30
Badly formed .stabs entry?
#683
Author: Larry Ketcham
Date: Wed, 06 Dec 1989 01:30
93 lines
4718 bytes
Using G++ 1.36.2, GCC 1.36, and GAS 1.34 on Sun3, 
I get errors from GAS that seem to indicate badly 
formed .stabs entries.  Am I doing something wrong
or is this a G++/GAS bug?  

Following are the first few errors from GAS and the
assembly source (up through the first erroneous line)
that G++ generated.  If that isn't enough to diagnose
the problem, I can send more.

-------------------------------------------------------------------------
/usr/local/src/lib/sun3/g++-1.36.2/gcc-as -mc68020 -o test.o test.s -v
GNU assembler version 1.34
/u14/lk/test.s:70:I need a comma after symbol's name
/u14/lk/test.s:70:Rest of line ignored. 1st junk character valued 58.
/u14/lk/test.s:70:Junk character 47.
/u14/lk/test.s:70:Rest of line ignored. 1st junk character valued 50.
/u14/lk/test.s:70:Junk character 92.
/u14/lk/test.s:70:Rest of line ignored. 1st junk character valued 92.
-------------------------------------------------------------------------

-------------------test.s------------------------------------------------
#NO_APP
gcc_compiled.:
	.stabs "test.cc",100,0,0,Ltext
Ltext:
.stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0
.stabs "char:t2=r2;0;127;",128,0,0,0
.stabs "long int:t3=r1;-2147483648;2147483647;",128,0,0,0
.stabs "unsigned int:t4=r1;0;-1;",128,0,0,0
.stabs "long unsigned int:t5=r1;0;-1;",128,0,0,0
.stabs "short int:t6=r1;-32768;32767;",128,0,0,0
.stabs "long long int:t7=r1;0;-1;",128,0,0,0
.stabs "unsigned short int:t8=r1;0;65535;",128,0,0,0
.stabs "long long unsigned int:t9=r1;0;-1;",128,0,0,0
.stabs "signed char:t10=r1;-128;127;",128,0,0,0
.stabs "unsigned char:t11=r1;0;255;",128,0,0,0
.stabs "float:t12=r1;4;0;",128,0,0,0
.stabs "double:t13=r1;8;0;",128,0,0,0
.stabs "long double:t14=r1;8;0;",128,0,0,0
.stabs "void:t15=15",128,0,0,0
.stabs "$vtbl_ptr_type:t16=s8delta:/26,0,16;index:/26,16,16;\\",128,0,0,0
.stabs "pfn:/217=*15,32,32;delta2:/26,32,16;;~;",128,0,0,0
.stabs "_iobuf:t18=s20_cnt:/21,0,32;_ptr:/219=*2,32,32;\\",128,0,0,0
.stabs "_base:/219,64,32;_bufsiz:/21,96,32;_flag:/26,128,16;\\",128,0,0,0
.stabs "_file:/22,144,8;;~;",128,0,0,0
.stabs "_iobuf:T18",128,0,0,0
.stabs "_iobuf:t18",128,0,0,0
.stabs "u_char:t11",128,0,0,0
.stabs "u_short:t8",128,0,0,0
.stabs "u_int:t4",128,0,0,0
.stabs "u_long:t5",128,0,0,0
.stabs "ushort:t8",128,0,0,0
.stabs "uint:t4",128,0,0,0
.stabs "physadr:t20=*21=xs_physadr:",128,0,0,0
.stabs "_physadr:t21=s2r:/222=ar1;0;0;6,0,16;;~;",128,0,0,0
.stabs "_physadr:T21",128,0,0,0
.stabs "_physadr:t21",128,0,0,0
.stabs "Label_t:t23=s52val:/224=ar1;0;12;1,0,416;;~;",128,0,0,0
.stabs "Label_t:T23",128,0,0,0
.stabs "Label_t:t23",128,0,0,0
.stabs "label_t:t23",128,0,0,0
.stabs "_quad:t25=s8val:/226=ar1;0;1;3,0,64;;~;",128,0,0,0
.stabs "_quad:T25",128,0,0,0
.stabs "_quad:t25",128,0,0,0
.stabs "quad:t25",128,0,0,0
.stabs "daddr_t:t3",128,0,0,0
.stabs "caddr_t:t19",128,0,0,0
.stabs "ino_t:t5",128,0,0,0
.stabs "swblk_t:t3",128,0,0,0
.stabs "size_t:t1",128,0,0,0
.stabs "time_t:t3",128,0,0,0
.stabs "dev_t:t6",128,0,0,0
.stabs "off_t:t1",128,0,0,0
.stabs "key_t:t3",128,0,0,0
.stabs "Fd_set:t27=s4fds_bits:/228=ar1;0;0;1,0,32;;~;",128,0,0,0
.stabs "Fd_set:T27",128,0,0,0
.stabs "Fd_set:t27",128,0,0,0
.stabs "fd_set:t27",128,0,0,0
.lcomm _pstr.0,4
.stabs "Stat:t29=s60st_dev:/26,0,16;st_ino:/25,16,32;\\",128,0,0,0
.stabs "st_mode:/28,48,16;st_nlink:/26,64,16;st_uid:/26,80,16;\\",128,0,0,0
.stabs "st_gid:/26,96,16;st_rdev:/26,112,16;st_size:/21,128,32;\\",128,0,0,0
.stabs "st_atime:/23,160,32;st_spare1:/21,192,32;st_mtime:/23,224,32;\\",128,0,0,0
.stabs "st_spare2:/21,256,32;st_ctime:/23,288,32;st_spare3:/21,320,32;\\",128,0,0,0
.stabs "st_blksize:/23,352,32;st_blocks:/23,384,32;st_spare4:/230=ar1;0;1;3,416,64;;~;",128,0,0,0
.stabs "sockaddr:t31=s16sa_family:/28,0,16;sa_data:/232=ar1;0;13;2,16,112;;~;",128,0,0,0
.stabs "sockproto:t33=s4sp_family:/28,0,16;sp_protocol:/28,16,16;;~;",128,0,0,0
.stabs "msghdr:t34=s24msg_name:/219,0,32;msg_namelen:/21,32,32;\\",128,0,0,0
.stabs "msg_iov:/235=*36=xsiovec:,64,32;msg_iovlen:/21,96,32;\\",128,0,0,0
.stabs "msg_accrights:/219,128,32;msg_accrightslen:/21,160,32;;~;",128,0,0,0
.stabs "_$_1\350:t37=s4s_b1:/211,0,8;s_b2:/211,8,8;\\",128,0,0,0
----------above is line 70-----------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads