commit | 497895194ef1db90aa7f3a022777b5ccb93f426b | [log] [tgz] |
---|---|---|
author | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Sep 16 17:08:50 2013 +0000 |
committer | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Sep 16 17:08:50 2013 +0000 |
tree | fed5e5bde047f76e3b9ffb73b7fd745580057d3e | |
parent | 87557e73e2c0862871b6a4e6c784e2a75aa7870d [diff] |
Intercept prctl(PR_SET_NAME, name) and store the thread name so it can be used in error messages. That should be helpful when debugging multithreaded applications. Patch by Matthias Schwarzott <zzam@gentoo.org> with some minor modifications. Fixes BZ 322254. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13553 a5019735-40e9-0310-863c-91ae7b9d1cf9