public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4048] New: fhpd cannot see volatile variables
@ 2007-02-15  9:40 mark at klomp dot org
  2007-03-16 22:39 ` [Bug general/4048] " scox at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mark at klomp dot org @ 2007-02-15  9:40 UTC (permalink / raw)
  To: frysk-bugzilla

When attaching to the following program you cannot print out i or j. Removing
the volatile attribute makes them visable.

#include <stdio.h>

static volatile int i;
static volatile int j;
int
main (int argc, char *argv)
{
  i = 0;
  printf("hello world\n");
  while(1)
    {
      i++;
      j = i;
      j -= 1;
    }
}

-- 
           Summary: fhpd cannot see volatile variables
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mark at klomp dot org


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

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


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

* [Bug general/4048] fhpd cannot see volatile variables
  2007-02-15  9:40 [Bug general/4048] New: fhpd cannot see volatile variables mark at klomp dot org
@ 2007-03-16 22:39 ` scox at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2007-03-16 22:39 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|scox at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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

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


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

end of thread, other threads:[~2007-03-16 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15  9:40 [Bug general/4048] New: fhpd cannot see volatile variables mark at klomp dot org
2007-03-16 22:39 ` [Bug general/4048] " scox 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).