[-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1006 bytes --] >Number: 235 >Category: insight >Synopsis: "Step" and "Next" doesn't work. Instead I get "Step Asm Inst" and "Next Asm Inst" >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Aug 05 16:43:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Pål Frenger >Release: Insight-5.3 >Organization: >Environment: sparc-sun-solaris2.8 >Description: Doing "Step" and "Next" doesn't work. Whenever I do "Step" or "Next" I always get the "Step Asm Inst" or the "Next Asm Inst" commands instead. The keybord shortcut S is the same for both "Step" and "Step Asm Inst". Same in thing in the "Control" menu. The keybord shortcut N is the same for both "Next" and "Next Asm Inst". Same in thing in the "Control" menu. If I select "Control -> Next" I get into the asembler stuff. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Synopsis: "Step" and "Next" doesn't work. Instead I get "Step Asm Inst" and "Next Asm Inst" Responsible-Changed-From-To: unassigned->kseitz Responsible-Changed-By: kseitz Responsible-Changed-When: Wed Aug 20 14:55:08 2003 Responsible-Changed-Why: mine State-Changed-From-To: open->analyzed State-Changed-By: kseitz State-Changed-When: Wed Aug 20 14:55:08 2003 State-Changed-Why: Your bug report is a little sparse on information, but let me explain what is supposed to happen. When debugging in SOURCE mode, you should step in the source language (i.e. N does "next" for C/C++/Java/etc; "nexti" for assembly). When debugging in MIXED mode or ASSEMBLY mode, N does "nexti" and S does "stepi". When debugging in SRC+ASM mode, N will do "next" if the mouse is in the SRC pane; "nexti" if it is in the ASM pane. So, if the source window is displaying assembly, the only way to single-step one source line is to press the next button on the toolbar or select it from the menu. Have you tried 6.0? http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=235
The following reply was made to PR insight/235; it has been noted by GNATS. From: iainmelvin <iainmelvin@gmail.com> To: insight-gnats@sources.redhat.com Cc: Subject: Re: insight/235: "Step" and "Next" doesn't work. Instead I get "Step Asm Inst" and "Next Asm Inst" Date: Fri, 16 Sep 2005 19:33:56 +0100 i had almost exactly these symptoms, and the problem was fixed for me by typing... (gdb) set solib-absolute-prefix / ... into the command line window in insight. The apparent 'step' and 'next' inactivity is due to gdb not being able to set breakpoints for the step/next behaviours. Not being able to get paths to libraries seems to affect gdb's ablity to set breakpoints. The solib-adbsolute-prefix variable is set at configure time for both gdb and insight, and the defaults i have in my debian [sarge 3.1] are.. gdb [gdb 6.3-debian] has the default : "" insight [GNU gdb 2004-08-11-cvs] has the default : "/usr/share". when I set the value to "/usr/share" in gdb, it has exactly the same broken behaviour with 'next' and 'step'. I guess this is down to the distribution to get the config right, so I've sent this to bugs at debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306276 nice debugger though :)