| Summary: | registers messed up (--db-attach=yes related?) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Pierre Habouzit <madcoder> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | philippe.waroquiers |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | zigtest.s | ||
|
Description
Pierre Habouzit
2011-05-11 08:10:10 UTC
(In reply to comment #0) > 9) "p/x $r8", which gave the value 0xb1. At least with the last svn version, and the gdbserver, when launching using: valgrind --vgdb=full --vex-iropt-precise-memory-exns=yes --vgdb-error=1 ./zigtest and attaching with gdb using: gdb ./zigtest tar rem | vgdb p /x $r8 $5 = 0xb1 (gdb) it gives the good value. (I suspect --vex-iropt-precise-memory-exns=yes should be sufficient for --db-attach=yes, but I recommend the use of the new Valgrind gdbserver :). well svn isn't released yet, but yes I'm planning to package a snapshot at some point ;) |