public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
@ 2007-02-07 21:45 kgallowa at redhat dot com
  2007-02-07 21:46 ` [Bug general/3999] " npremji at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kgallowa at redhat dot com @ 2007-02-07 21:45 UTC (permalink / raw)
  To: frysk-bugzilla

Because the x86 and x86_64 versions of libunwind use different sets of registers
for these architectures, the wrong values are passed to the accessreg callback.
 For example, when looking for the IP (RIP on 64, EIP on 32) it will still pass
16 to accessreg which corresponds to RIP on 64, but ST5 on 32.  For 32, since it
wants the IP, it should be passing 8, which corresponds to EIP.  Because of
this, it does not obtain the correct value for the IP, and the backtrace fails.
 To fix this, Frysk needs to check the elfclass of the binary and invoke the
proper version of libunwund (libunwund-x86 for 32, libuwind-x86_64 for 64).

-- 
           Summary: On x86_64 Frysk uses the x86_64 version of libunwind to
                    trace 32-bit programs
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: kgallowa at redhat dot com


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

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


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

* [Bug general/3999] On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
  2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
@ 2007-02-07 21:46 ` npremji at redhat dot com
  2007-02-07 21:47 ` npremji at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: npremji at redhat dot com @ 2007-02-07 21:46 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From npremji at redhat dot com  2007-02-07 21:46 -------
Created an attachment (id=1543)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1543&action=view)
failed testDebug output of 32 bit.


-- 


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

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


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

* [Bug general/3999] On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
  2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
  2007-02-07 21:46 ` [Bug general/3999] " npremji at redhat dot com
@ 2007-02-07 21:47 ` npremji at redhat dot com
  2007-02-08 18:13 ` cagney at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: npremji at redhat dot com @ 2007-02-07 21:47 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From npremji at redhat dot com  2007-02-07 21:47 -------
Created an attachment (id=1544)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1544&action=view)
successfull run of testDebug.


-- 


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

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


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

* [Bug general/3999] On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
  2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
  2007-02-07 21:46 ` [Bug general/3999] " npremji at redhat dot com
  2007-02-07 21:47 ` npremji at redhat dot com
@ 2007-02-08 18:13 ` cagney at redhat dot com
  2007-03-23 19:31 ` npremji at redhat dot com
  2007-03-23 19:36 ` npremji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cagney at redhat dot com @ 2007-02-08 18:13 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2007-02-08 18:13 -------
Down stream RHEL bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=224452

-- 


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

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


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

* [Bug general/3999] On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
  2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
                   ` (2 preceding siblings ...)
  2007-02-08 18:13 ` cagney at redhat dot com
@ 2007-03-23 19:31 ` npremji at redhat dot com
  2007-03-23 19:36 ` npremji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: npremji at redhat dot com @ 2007-03-23 19:31 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From npremji at redhat dot com  2007-03-23 19:31 -------

March 23, 2007
frysk-core/frysk/rt/CL
* StackAccessors.java (accessReg): Check that register sizes are the same.
	* StackFactory.java (createStackTrace): Use task's ISA to determine which
	Unwinder to create.

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


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

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


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

* [Bug general/3999] On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs
  2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
                   ` (3 preceding siblings ...)
  2007-03-23 19:31 ` npremji at redhat dot com
@ 2007-03-23 19:36 ` npremji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: npremji at redhat dot com @ 2007-03-23 19:36 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |4270


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

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


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

end of thread, other threads:[~2007-03-23 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 21:45 [Bug general/3999] New: On x86_64 Frysk uses the x86_64 version of libunwind to trace 32-bit programs kgallowa at redhat dot com
2007-02-07 21:46 ` [Bug general/3999] " npremji at redhat dot com
2007-02-07 21:47 ` npremji at redhat dot com
2007-02-08 18:13 ` cagney at redhat dot com
2007-03-23 19:31 ` npremji at redhat dot com
2007-03-23 19:36 ` npremji 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).