public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6514] New: Stepping engine is broken
@ 2008-05-13 16:16 hunt at redhat dot com
  2008-05-27 16:24 ` [Bug general/6514] " cagney at redhat dot com
  2008-05-27 16:36 ` cagney at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hunt at redhat dot com @ 2008-05-13 16:16 UTC (permalink / raw)
  To: frysk-bugzilla

> fhpd p
[0.0] Loaded executable file: /home/hunt/test/p
(fhpd) b main
breakpoint 0 deferred
(fhpd) r
running with this commmand:  /home/hunt/test/p
Attached to process 8605
Running process 8605
(fhpd) Breakpoint 0 main 0x400557
list
[0.0]
     1   #include<stdio.h>
     2   #include<string.h>
     3   
     4   int main(int argc, char *argv[])
     5   {
->   6     char *twofifty = "250";
     7     int j250;
     8     int i250 = atoi(twofifty);
     9     
    10     if ((j250 = atoi(twofifty)) != i250)
    11       {
    12         printf("fubar!\n");
    13         return (1);
    14       }
    15     printf("%s = %d = %d\n", twofifty, i250, j250);
    16     return(0);
    17   }
(fhpd) n
Task stopped at line 8 in file /home/hunt/test/p.c
(fhpd) n
Task stopped at line 8 in file /home/hunt/test/p.c
(fhpd) n
Task stopped at line 10 in file /home/hunt/test/p.c
(fhpd) n
Task stopped at line 10 in file /home/hunt/test/p.c
(fhpd) n
Task stopped at line 10 in file /home/hunt/test/p.c
(fhpd) n
Task stopped at line 15 in file /home/hunt/test/p.c
(fhpd) n
250 = 250 = 250
Task stopped at line 16 in file /home/hunt/test/p.c

-----
Rerun and use "s" step into gives different (also wrong) results

(fhpd) Breakpoint 0 main 0x400557

(fhpd) s
Task stopped at line 8 in file /home/hunt/test/p.c
(fhpd) s
Task stopped at line 8 in file /home/hunt/test/p.c
(fhpd) s
Task stopped at line 10 in file /home/hunt/test/p.c
(fhpd) s
Task stopped at line 10 in file /home/hunt/test/p.c
(fhpd) s
Task stopped at line 15 in file /home/hunt/test/p.c
(fhpd) s
250 = 250 = 250
Task stopped at line 16 in file /home/hunt/test/p.c

-- 
           Summary: Stepping engine is broken
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P1
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: hunt at redhat dot com


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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/6514] Stepping engine is broken
  2008-05-13 16:16 [Bug general/6514] New: Stepping engine is broken hunt at redhat dot com
@ 2008-05-27 16:24 ` cagney at redhat dot com
  2008-05-27 16:36 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2008-05-27 16:24 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |6572


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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/6514] Stepping engine is broken
  2008-05-13 16:16 [Bug general/6514] New: Stepping engine is broken hunt at redhat dot com
  2008-05-27 16:24 ` [Bug general/6514] " cagney at redhat dot com
@ 2008-05-27 16:36 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2008-05-27 16:36 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2008-05-27 16:35 -------
Duping to stepping engine tracker; the two problems identified by the bug:
- step over multiple functions
- step not clear when mid-instruction
have been filed separatly

*** This bug has been marked as a duplicate of 3346 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-27 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 16:16 [Bug general/6514] New: Stepping engine is broken hunt at redhat dot com
2008-05-27 16:24 ` [Bug general/6514] " cagney at redhat dot com
2008-05-27 16:36 ` 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).