Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpfcso!bigelow From: bigelow@hpfcso.HP.COM (Jim Bigelow) Newsgroups: comp.sys.hp Subject: Re: xdb debugger question? Message-ID: <7370201@hpfcso.HP.COM> Date: 30 Aug 90 16:22:08 GMT References: <12873@netcom.UUCP> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 22 > I am debugging a C program that has static data that is getting > corrupted before the first statement in my main. Somebody > suggested that I single step in assembley mode before the > first statement in main. But xdb always jumps to the > first statement in main even with the debugger in the assembley > mode. > This is what I am doing: > Start xdb > td #go into assemble mode > s #single step Here's the problem, s/S steps statement by statement, use j/J to step at the instruction level. Best Regards, Jim Bigelow Colorado Language Lab HP #include