diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-05-21 03:47:33 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:26 +0900 |
commit | d5232406664fdc51640eeba8f0e49f26275921df (patch) | |
tree | dae013446ba070970bfac8e9c32c1576979411f2 /proc.h | |
parent | e29618826afbca88e505ade97763ffed04b073c3 (diff) | |
download | ltrace-d5232406664fdc51640eeba8f0e49f26275921df.tar.gz ltrace-d5232406664fdc51640eeba8f0e49f26275921df.tar.bz2 ltrace-d5232406664fdc51640eeba8f0e49f26275921df.zip |
Making sure to not double-examine the same DWARF CU
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -121,6 +121,12 @@ struct process { #if defined(HAVE_LIBDW) /* Unwind info for leader, NULL for non-leader procs. */ Dwfl *dwfl; + + /* Whether we still need to attach the DWARF library to this process. We + * try only once, and never again, regardless of whether we succeeded or + * not. 0 = shouldn't attach */ + int should_attach_dwfl; + #endif /* defined(HAVE_LIBDW) */ #if defined(HAVE_LIBUNWIND) |