Bug 6574 - stepping / breakpoints should report when they are part way through a line
Summary: stepping / breakpoints should report when they are part way through a line
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 3346 6573 6514
  Show dependency treegraph
 
Reported: 2008-05-27 16:30 IST by Andrew Cagney
Modified: 2008-05-27 16:32 IST (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-05-27 16:30:37 IST
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