Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!hc!beta!cmcl2!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: comp.unix.wizards Subject: Problem with dbx on Sun3.1 (no executable code at line ...) Message-ID: <2652@phri.UUCP> Date: Thu, 30-Apr-87 13:42:24 EDT Article-I.D.: phri.2652 Posted: Thu Apr 30 13:42:24 1987 Date-Received: Sat, 2-May-87 15:29:39 EDT Reply-To: roy@phri.UUCP (Roy Smith) Organization: Public Health Research Inst. (NY, NY) Lines: 48 On our sun-3's running Sun3.1, we sometimes have dbx refuse to set a breakpont at a given line, complaining "no executable code at line ..." when there certainly *is* code there. For example: Script started on Tue Apr 28 17:11:57 1987 alanine% dbx ribosome Reading symbolic information... Read 1272 symbols (dbx) list 160,180 160 frames[0] = 1; 161 frames[1] = frames[2] = 0; 162 } 163 } 164 165 /* 166 * Flag parsing done. If there are args left, the first is 167 * a file name for input. If no more args, read from stdin. 168 */ 169 if (argc > optind) 170 { 171 if ((sfp = seqopen (argv[optind])) == NULL) 172 xerror ("can't open sequence file %s", argv[optind]); 173 } 174 else 175 sfp = seqopen ("-"); 176 177 if ((seq = getseq (sfp, SF_BASE)) == NULL) 178 xerror ("error reading sequence"); 179 180 bpl = aapl * 3; (dbx) stop at 169 warning: Event 1 not found no executable code at line "ribosome.c":169 (dbx) quit alanine% [control-D] script done on Tue Apr 28 17:12:35 1987 It doesn't always happen, but when it does it seems to be repeatable. The same thing happens if you select a line in the source window and hit the "stop at" button in dbxtool. Does anybody have any idea what's going on? -- Roy Smith, {allegra,cmcl2,philabs}!phri!roy System Administrator, Public Health Research Institute 455 First Avenue, New York, NY 10016 "you can't spell deoxyribonucleic without unix!"