TODO revision 23658aa159730be559201e7e25fdade5853efa0e
1* {enable,disable}_all_breakpoints should be process-dependent 2 3* All wait4's should be moved to chld_handler(): 4 + A process may stop because: 5 - It execve()'d (needs breakpoints to be added) 6 - It received a signal (DONE) 7 - It breakpointed at a library call (DONE) 8 - It breakpointed at a library return 9 - It breakpointed at a syscall 10 - It breakpointed at a syscall return 11 12* ``struct_process'' should also have: 13 + The state of the process: 14 - uninitialized (DONE) 15 - running 16 - within a given library call 17 - within a given syscall (DONE) 18 + All the symbols it has breakpointed, and, for each of them: 19 - its addr 20 - its return addr, if any 21 - whether the return addr is breakpointed (ie, if the symbol is ``active'') 22 - the original value in the addr, and in the return addr, if appropiate 23 24* I should parse a config file (/etc/ltrace.conf & ~/.ltracerc) to 25 handle different arguments to the library calls 26 27* ltrace should accept `-p' option. (hey, it's not as difficult as it 28 seems) 29 30* return values should be logged. That implies: 31 + Breakpointing each return value 32 + Disabling breakpoints and displaying ``???'' as return value when 33 a new function is called 34 35* All architecture dependent stuff should be moved to ``arch.h'' 36