Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site aphasia.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!mit-eddie!cybvax0!frog!aphasia!gww From: gww@aphasia.UUCP (George Williams) Newsgroups: net.unix-wizards Subject: bsd4.2 stabs and parameters passed by reference Message-ID: <295@aphasia.UUCP> Date: Fri, 21-Jun-85 15:30:56 EDT Article-I.D.: aphasia.295 Posted: Fri Jun 21 15:30:56 1985 Date-Received: Mon, 24-Jun-85 03:41:14 EDT Distribution: net Organization: Green Hills Software, Pasadena, CA Lines: 32 As I understand the stabs that dbx deals with (which I don't since I can't find any documentation), then a parameter declared as int would have a stab .stabs "foo:p1",0xa0,0,4,8 (the numbers are irrelevant at the momment), now if this parameter is also put in a register there is an additional stab .stabs "foo:r1",0x24,0,4,11 Parameters that are passed by reference get a stab like .stabs "foo:v1",0xa0,0,4,8 Our compiler is quite happy to put these params in registers too, does anyone know whether there is some mixture of r&v (I can't find one in the dbx source)? Is the best I can do .stabs "foo:r13=*1",0x24,0,4,11 Will the two lines .stabs "foo:r13=*1",0x24,0,4,11 .stabs "foo:v1",0xa0,0,4,8 cause confusion (since the same param is given different types)? Also if anyone has any documentation on these stabs could they send it to me? Thanks in advance, George Williams {decvax!frog, cit-vax}!aphasia!gww