sdb follies revisited -- this one's really good!!
R. Curtis Jackson
rcj at clyde.UUCP
Sat May 26 02:38:42 AEST 1984
Well, here is the latest from Bugland....
I take my program into sdb. I edit my main microcode parser with
'e g.tab.c'. Here is what happened in toto:
$ sdb sdbgm
No core image
* e g.tab.c
'g.tab.c:' /* or whatever the standard message is */
* /pending/
/* one line containing pending */
* //
/* another line containing pending */
* //
Memory fault - core dumped
$ rm core;sdb sdbgm
No core image
* 2200w
Memory fault - core dumped
$ /* at this point I edited the file and found that what I was
looking for was at line 1977 */
$ rm core;sdb sdbgm
No core image
* 1977
Memory fault - core dumped
$ rm core;sdb sdbgm
No core image
* 1900
/* line 1900 apears here */
* 1950
/* line 1950 appears here */
* ^D
/* a few more lines */
* ^D
1959: /* line 1959 */
1960: /* line 1960 */
1961: /* line 1961 */
Memory fault - core dumped
$
Anyone experienced anything like this?
And, as several people have asked, I am running y.tab.c through
'cc -EC' into g.tab.c to take care of yacc's #line directives that
confuse sdb.
--
The MAD Programmer -- 919-228-3313 (Cornet 291)
alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd we13 ]!burl!rcj
...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj
More information about the Comp.unix.wizards
mailing list