Commit Graph

3 Commits

Author SHA1 Message Date
Thomas Preud'homme ce2f83eaec Don't fail with shared object without name
pstack was failing with shared objects loaded by the dynamic linker which have
no name. This tiny patch makes pstack ignore those objects.
2011-09-10 23:46:17 +02:00
Baruch Even 4a2f811a5e Improve error handling
* Add a call to perror when open fails
* Uses strtol instead of atoi to handle conversion error
* Call a usage fonction when PID is incorrect
* Display target PID when failing to attach
2011-09-10 23:43:10 +02:00
Thomas Preud'homme 35824dbd12 Initial commit (pstack v1.2) 2011-08-18 17:18:25 +02:00