public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6568] New: disassembler use -> instead of "*" to mark current
@ 2008-05-27 15:52 cagney at redhat dot com
  0 siblings, 0 replies; only message in thread
From: cagney at redhat dot com @ 2008-05-27 15:52 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-27 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-27 15:52 [Bug general/6568] New: disassembler use -> instead of "*" to mark current cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).