--- Comment #6 from aleksey dot shipilev at gmail dot com 2008-01-08 20:37
---
Here you go, Andrew.
# gdb ./a.out
GNU gdb 6.7.1
(gdb) set disassembly-flavor intel
(gdb) run
Starting program: ~/src/gcc-b/a.out
before: output=bffa911c, buf=bffa8f1c
after: output=bffa911c, buf=bffa8f1c
--- Comment #4 from aleksey dot shipilev at gmail dot com 2008-01-08 20:06
---
Created an attachment (id=14905)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14905&action=view)
Updated test
One should get the read from device working. If the test prints "FAILED"
--- Comment #3 from aleksey dot shipilev at gmail dot com 2008-01-08 19:47
---
Sorry, Andrew, but result=-1 shows that ioctl failed to read enough data from
the device (maybe your device does not support SMART?). I tried to get rid of
any of such hardware-specific code, but can
--- Comment #1 from aleksey dot shipilev at gmail dot com 2008-01-08 19:07
---
Created an attachment (id=14901)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14901&action=view)
test used in issue
This test was derived from powertweak code, which segfaults.
--
on
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aleksey dot shipilev at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34716