Bug 6574

Summary: stepping / breakpoints should report when they are part way through a line
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3346, 6573, 6514    

Description Andrew Cagney 2008-05-27 16:30:37 UTC
For instance:

    51   main(int argc, char** argv) {
    52     // XXX: This forgets to check ARGC.
->  53     print(argv[1]);
    54     print("\n");
    55     return 0;
    56   }
(fhpd) step -i
Task stopped at line 53 in file
/home/scratch/frysk/git/frysk/frysk-core/frysk/pkglibdir/funit-hello.c
(fhpd) list
[0.0]
    51   main(int argc, char** argv) {
    52     // XXX: This forgets to check ARGC.
->  53     print(argv[1]);
    54     print("\n");
    55     return 0;
    56   }

something indicating that the PC is no longer at the start of the line should be
printed.

Discuss