This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/6568] New: disassembler use -> instead of "*" to mark current


The disassembler output looks like:

(fhpd) disassemble 
[0.0]
Dump of assembler code for function: main
 0x804840d      <main+7>:       pushl   -0x4(%ecx)
[...]
 0x8048427      <main+21>:      mov     0x4(%ecx),%eax
*0x804842a      <main+24>:      mov     0x4(%eax),%eax
 0x804842d      <main+27>:      mov     %eax,(%esp)
[...]
 0x8048450      <main+4a>:      pop     %ebp
End of assembly dump

where as the list output looks like:

(fhpd) list
[0.0]
    43   print(char *what) {
    44     while (*what != '\0') {
    45       write(1, what, 1);
    46       what++;
    47     }
    48   }
    49   
    50   int
    51   main(int argc, char** argv) {
    52     // XXX: This forgets to check ARGC.
->  53     print(argv[1]);
    54     print("\n");
    55     return 0;
    56   }

we should be consistent with our pointers.

(The list output uses two spaces as the intent is to make use of the columns to
mark up additional information such as the presence of breakpoints, or the
presence of code (so a breakpoint can be inserted).

-- 
           Summary: disassembler use -> instead of "*" to mark current
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
OtherBugsDependingO 6541
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=6568

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]