public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/1295] i386 RHEL4U2 problem with some variables
       [not found] <bug-1295-6586@http.sourceware.org/bugzilla/>
@ 2011-03-16 21:22 ` roland at gnu dot org
  2011-03-17 15:38 ` dsmith at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2011-03-16 21:22 UTC (permalink / raw)
  To: systemtap

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

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|roland at redhat dot com    |
         AssignedTo|roland at redhat dot com    |systemtap at sourceware dot
                   |                            |org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/1295] i386 RHEL4U2 problem with some variables
       [not found] <bug-1295-6586@http.sourceware.org/bugzilla/>
  2011-03-16 21:22 ` [Bug translator/1295] i386 RHEL4U2 problem with some variables roland at gnu dot org
@ 2011-03-17 15:38 ` dsmith at redhat dot com
  2011-03-17 15:39 ` dsmith at redhat dot com
  2011-03-17 15:40 ` dsmith at redhat dot com
  3 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2011-03-17 15:38 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #674 is|0                           |1
           obsolete|                            |

--- Comment #24 from David Smith <dsmith at redhat dot com> 2011-03-17 15:37:59 UTC ---
Created attachment 5315
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5315
updated test script

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/1295] i386 RHEL4U2 problem with some variables
       [not found] <bug-1295-6586@http.sourceware.org/bugzilla/>
  2011-03-16 21:22 ` [Bug translator/1295] i386 RHEL4U2 problem with some variables roland at gnu dot org
  2011-03-17 15:38 ` dsmith at redhat dot com
@ 2011-03-17 15:39 ` dsmith at redhat dot com
  2011-03-17 15:40 ` dsmith at redhat dot com
  3 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2011-03-17 15:39 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #675 is|0                           |1
           obsolete|                            |

--- Comment #25 from David Smith <dsmith at redhat dot com> 2011-03-17 15:38:49 UTC ---
Created attachment 5316
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5316
updated test program

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/1295] i386 RHEL4U2 problem with some variables
       [not found] <bug-1295-6586@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-03-17 15:39 ` dsmith at redhat dot com
@ 2011-03-17 15:40 ` dsmith at redhat dot com
  3 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2011-03-17 15:40 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsmith at redhat dot com

--- Comment #26 from David Smith <dsmith at redhat dot com> 2011-03-17 15:40:08 UTC ---
I've tested this one with the latest RHEL4 rpms:

kernel-2.6.9 100.EL.i686
gcc-3.4.6 11.el4_8.1.i386

Both with systemtap-1.3 5.el4.i386 and current git head systemtap, the behavior
is now correct for both sys_time() and sys_open().  However, glibc has changed
a bit making this harder to verify.

When I originally ran the test program and systemtap script attached to this
bug (after updating the script a bit), I was always getting '0' for the
argument of sys_time().  After digging a bit deeper, I realized that strace
also showed time() being called with NULL.  So, the glibc time() wrapper is
calling time() with NULL and then copying the output to the argument.  After
changing the test program to use 'syscall(SYS_TIME, &t)', I'm now seeing the
proper argument to sys_time().

Here's the output I now get from the (updated) test program:

Addr of tloc = 0xbffe0be0
Addr of filename = 0x80485a0

Here's the output from the (updated) script:

Addr of tloc = 0x0
Addr of tloc = 0xbfe640a0
Addr of filename = 0x80485a0
    filename = myfile

So, the arguments to those two syscalls are now correct.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2011-03-17 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-1295-6586@http.sourceware.org/bugzilla/>
2011-03-16 21:22 ` [Bug translator/1295] i386 RHEL4U2 problem with some variables roland at gnu dot org
2011-03-17 15:38 ` dsmith at redhat dot com
2011-03-17 15:39 ` dsmith at redhat dot com
2011-03-17 15:40 ` dsmith 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).