ChangeLog 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. 2002-09-29 Ulrich Drepper <drepper@redhat.com>
  2. * td_thr_tsd.c (td_thr_tsd): Read correct entry from pthread_keys
  3. array.
  4. 2002-09-28 Andreas Jaeger <aj@suse.de>
  5. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Fix reference to dtv.
  6. 2002-09-24 Roland McGrath <roland@redhat.com>
  7. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Fetch just the
  8. individual members we need, not the whole structures.
  9. 2002-09-24 Ulrich Drepper <drepper@redhat.com>
  10. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Change second
  11. parameter to be the address of the link map in the inferior process.
  12. * thread_db.h: Update prototype for td_thr_tls_get_addr.
  13. 2002-08-23 Ulrich Drepper <drepper@redhat.com>
  14. * thread_dbP.h: Define LINUXTHREADS_VERSION.
  15. * td_symbol_list.c (symbol_list_arr): Add LINUXTHREADS_VERSION string.
  16. * td_ta_new.c (td_ta_new): After verifying the thread library is
  17. there check version.
  18. * thread_db.h: Add new error TD_VERSION.
  19. 2002-08-21 Roland McGrath <roland@redhat.com>
  20. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): __attribute_used__ ->
  21. __attribute__ ((unused)) for arguments.
  22. 2002-08-07 Ulrich Drepper <drepper@redhat.com>
  23. * thread_dbP.h: Define LINUXTHREADS_INITIAL_REPORT_EVENTS.
  24. * td_thr_event_enable.c (td_thr_event_enable): If th->th_unique is
  25. null write to __linuxthreads_initial_report_events.
  26. * td_symbol_list.c (symbol_list_arr): Add
  27. __linuxthreads_initial_report_events.
  28. 2002-07-16 Ulrich Drepper <drepper@redhat.com>
  29. * td_thr_clear_event.c: Yet more changes to help with TLS-enabled
  30. libpthread.
  31. * td_thr_event_enable.c: Likewise.
  32. * td_thr_event_getmsg.c: Likewise.
  33. * td_thr_set_event.c: Likewise.
  34. * td_thr_setfpregs.c: Likewise.
  35. * td_thr_setgregs.c: Likewise.
  36. * td_thr_tsd.c: Likewise.
  37. * td_thr_validate.c: Likewise.
  38. 2002-07-15 Ulrich Drepper <drepper@redhat.com>
  39. * td_ta_thr_iter.c: Some more changes to enable using TLS-enabled
  40. libpthread.
  41. * td_thr_event_enable.c: Likewise.
  42. * td_thr_getfpregs.c: Likewise.
  43. * td_thr_getgregs.c: Likewise.
  44. 2002-07-14 Ulrich Drepper <drepper@redhat.com>
  45. * td_ta_map_id2thr.c: Begin fixing implementation for libpthread with
  46. TLS support.
  47. * td_ta_map_lwp2thr.c: Likewise.
  48. * td_ta_thr_iter.c: Likewise.
  49. * td_thr_get_info.c: Likewise.
  50. 2002-07-10 Ulrich Drepper <drepper@redhat.com>
  51. * Versions [libthread_db] (GLIBC_2.3): Add td_thr_tls_get_addr.
  52. 2002-06-14 H.J. Lu <hjl@gnu.org>
  53. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Don't include
  54. "tls.h". Return TD_ERR if USE_TLS is not defined.
  55. 2002-06-12 Ulrich Drepper <drepper@redhat.com>
  56. * td_thr_tls_get_addr.c: New file.
  57. * thread_db.h: Add prototype for td_thr_tls_get_addr.
  58. * Makefile (libthread_db-routines): Add td_thr_tls_get_addr.
  59. 2002-03-03 Andreas Jaeger <aj@suse.de>
  60. * thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.
  61. 2002-02-04 Ulrich Drepper <drepper@redhat.com>
  62. * thread_dbP.h: Include descr.h instead of internals.h.
  63. * td_ta_event_getmsg.c: Also include <linuxthreads/internals.h>.
  64. * td_ta_map_id2thr.c: Likewise.
  65. * td_ta_map_lwp2thr.c: Likewise.
  66. * td_ta_thr_iter.c: Likewise.
  67. * td_ta_tsd_iter.c: Likewise.
  68. * td_thr_tsd.c: Likewise.
  69. * td_thr_validate.c: Likewise.
  70. 2001-12-28 Andreas Jaeger <aj@suse.de>
  71. * td_init.c (td_init): Don't use __FUNCTION__ as literal.
  72. * td_log.c (td_log): Likewise.
  73. * td_ta_delete.c (td_ta_delete): Likewise.
  74. * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
  75. * td_ta_get_ph.c (td_ta_get_ph): Likewise.
  76. * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
  77. * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
  78. * td_ta_new.c (td_ta_new): Likewise.
  79. * td_ta_clear_event.c (td_ta_clear_event): Likewise.
  80. * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
  81. * td_ta_event_addr.c (td_ta_event_addr): Likewise.
  82. * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
  83. * td_ta_get_stats.c (td_ta_get_stats): Likewise.
  84. * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
  85. * td_ta_set_event.c (td_ta_set_event): Likewise.
  86. * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
  87. * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
  88. * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
  89. * td_thr_clear_event.c (td_thr_clear_event): Likewise.
  90. * td_thr_dbresume.c (td_thr_dbresume): Likewise.
  91. * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
  92. * td_thr_event_enable.c (td_thr_event_enable): Likewise.
  93. * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
  94. * td_thr_get_info.c (td_thr_get_info): Likewise.
  95. * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
  96. * td_thr_getgregs.c (td_thr_getgregs): Likewise.
  97. * td_thr_getxregs.c (td_thr_getxregs): Likewise.
  98. * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
  99. * td_thr_set_event.c (td_thr_set_event): Likewise.
  100. * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
  101. * td_thr_setgregs.c (td_thr_setgregs): Likewise.
  102. * td_thr_setprio.c (td_thr_setprio): Likewise.
  103. * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
  104. * td_thr_setxregs.c (td_thr_setxregs): Likewise.
  105. * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
  106. * td_thr_tsd.c (td_thr_tsd): Likewise.
  107. * td_thr_validate.c (td_thr_validate): Likewise.
  108. 2001-04-12 Ulrich Drepper <drepper@redhat.com>
  109. * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
  110. * td_thr_validate.c: Likewise.
  111. 2001-04-04 Ulrich Drepper <drepper@redhat.com>
  112. * td_thr_getfpregs.c: If p_pid is zero use ps_getpid().
  113. * td_thr_getgregs.c: Likewise.
  114. * td_thr_setfpregs.c: Likewise.
  115. * td_thr_setgregs.c: Likewise.
  116. 2001-03-20 Ulrich Drepper <drepper@redhat.com>
  117. * Makefile (libthread_db-routines): Add td_symbol_list.
  118. * Versions [libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
  119. * td_symbol_list.c: New file.
  120. * thread_db.h: Add prototype for td_symbol_list.
  121. * thread_dbP.h: Define symbol name indices.
  122. Add prototype for td_lookup.
  123. * td_ta_event_addr.c: Use td_lookup instead of directly using
  124. ps_pglobal_lookup to find symbol address.
  125. * td_ta_get_nthreads.c: Likewise.
  126. * td_ta_new.c: Likewise.
  127. 2001-03-18 Ulrich Drepper <drepper@redhat.com>
  128. * Makefile: When generating DSO link with libc_nonshared.a.
  129. 2000-08-01 Andreas Jaeger <aj@suse.de>
  130. * Makefile (distribute): Add missing files.
  131. 2000-04-24 Mark Kettenis <kettenis@gnu.org>
  132. * td_thr_get_info.c (td_thr_get_info): Set ti_state to
  133. TD_THR_ACTIVE instead of TD_THR_RUN. If the thread is no longer
  134. running but is still joinable, set it to TD_THR_ZOMBIE. Otherwise
  135. set it to TD_THR_UNKNOWN.
  136. 2000-02-25 Andreas Jaeger <aj@suse.de>
  137. * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
  138. * td_ta_tsd_iter.c: Likewise.
  139. 2000-01-20 Andreas Jaeger <aj@suse.de>
  140. * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
  141. 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
  142. * td_thr_getgregs.c: Correct size parameter of memset call.
  143. 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
  144. * proc_service.h: Fix typos in last added declaractions.
  145. 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
  146. * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
  147. ps_lcontinue prototypes.
  148. 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
  149. * Makefile: Correct dependency for shared object.
  150. 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
  151. * td_ta_map_lwp2thr.c: Add missing brace in comparison.
  152. * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
  153. * td_init.c: Add __td_debug.
  154. 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
  155. * td_ta_thr_iter.c: Start copying list of descriptors from right
  156. position in target process.
  157. * td_ta_thr_iter.c: Fix loop starting point over all but main and
  158. manager thread.
  159. * td_ta_thr_iter.c: Read descriptors for main and manager thread
  160. special since after this we can assume that no new threads will be
  161. created anymore (at least in the gdb implementation).
  162. * Makefile: Define version correctly.
  163. 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
  164. * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
  165. thread library is initialized and we get the PID from the
  166. debugger.
  167. 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
  168. * td_thr_get_info.c: Make sure ti_lid is never zero.
  169. * proc_service.h: Add ps_getpid prototype.
  170. 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
  171. * thread_dbP.h (ta_ok): New function.
  172. * td_ta_new.c: Add new handle to list.
  173. * td_ta_delete.c: Remove handle from list.
  174. * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
  175. * td_ta_enable_stats.c: Likewise.
  176. * td_ta_event_addr.c: Likewise.
  177. * td_ta_event_getmsg.c: Likewise.
  178. * td_ta_get_nthreads.c: Likewise.
  179. * td_ta_get_ph.c: Likewise.
  180. * td_ta_get_stats.c: Likewise.
  181. * td_ta_map_id2thr.c: Likewise.
  182. * td_ta_map_lwp2thr.c: Likewise.
  183. * td_ta_reset_stats.c: Likewise.
  184. * td_ta_set_event.c: Likewise.
  185. * td_ta_setconcurrency.c: Likewise.
  186. * td_ta_thr_iter.c: Likewise.
  187. * td_ta_tsd_iter.c: Optimize memory retrieving.
  188. * Versions: New file.
  189. * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
  190. 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
  191. * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit. Read all
  192. handles at once.
  193. * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
  194. * td_ta_new.c: Initialize pthread_handle_num.
  195. * td_ta_event_getmsg.c: If last event was already reported search
  196. for another unreported event.
  197. * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
  198. * Makefile (libthread_db-routines): Add td_ta_set_event,
  199. td_ta_event_getmsg, and td_ta_clear_event.
  200. * td_ta_clear_event.c: New file.
  201. * td_ta_event_getmsg.c: New file.
  202. * td_ta_new.c: Get address of __pthread_last_event in target.
  203. * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
  204. * td_thr_set_event.c: Likewise.
  205. * td_thr_clear_event.c: Implement.
  206. * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
  207. * thread_dbP.h (struct td_thragent): Add pthread_last_event.
  208. * td_ta_new.c: Don't test for __pthread_threads_debug. Get address
  209. of __pthread_threads_events and fail if this is not possible.
  210. * td_ta_event_addr.c: Implement.
  211. * td_thr_event_enable.c: Implement.
  212. * td_thr_event_getmsg.c: Implement.
  213. * td_thr_set_event.c: Implement.
  214. * td_ta_set_event.c: New file.
  215. * thread_db.h (td_eventbuf_t): Define.
  216. Declare td_ta_set_event.
  217. * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
  218. * td_thr_getfpregs.c: For terminated threads return empty structure.
  219. * td_thr_getgregs.c: Likewise.
  220. * td_thr_setfpregs.c: Likewise.
  221. * td_thr_setgregs.c: Likewise.
  222. 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
  223. * thread_db.h: Shuffle types around to make things work for gdb.
  224. * thread_dbP.h: Include proc_service.h before thread_db.h.
  225. * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
  226. * td_ta_new.c: Likewise.
  227. 1999-10-14 Ulrich Drepper <drepper@cygnus.com>
  228. * td_ta_new.c: p_startfct does not exist anymore.
  229. * td_thr_get_info.c: Always initialize start function.
  230. * td_ta_thr_iter.c: Don't return threads which exited (but are not
  231. joined).
  232. * td_thr_validate.c: Don't skip manager thread.
  233. 1999-10-13 Ulrich Drepper <drepper@cygnus.com>
  234. * td_ta_thr_iter.c: Use size of descriptor from *TA.
  235. Don't return manager thread before it's actually running.
  236. Actually use state parameter to distingusih at least a few states.
  237. * td_thr_get_info.c: Handle manager thread special. Fill in ti_lid,
  238. ti_state, and ti_startfunc fields.
  239. 1999-10-12 Andreas Jaeger <aj@suse.de>
  240. * thread_dbP.h: Include <string.h> for strlen declaration. Remove
  241. __libc_write prototype since this is already declared in
  242. linuxthreads/internals.h.
  243. 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
  244. * thread_db.h: Fix comment for ti_type.
  245. * td_thr_get_info.c: Initialize ti_type field.
  246. * td_ta_thr_iter.c: Also report the manager thread.
  247. 1999-10-08 Andreas Jaeger <aj@suse.de>
  248. * thread_db.h: Fix typos in comments.
  249. * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
  250. libpthread library name, get it from <gnu/lib-names.h> instead.
  251. * td_ta_new.c (td_ta_new): Likewise.
  252. 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
  253. * shlib-versions: New file.
  254. 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
  255. * Makefile: New file.
  256. * proc_service.h: New file.
  257. * td_init.c: New file.
  258. * td_log.c: New file.
  259. * td_ta_delete.c: New file.
  260. * td_ta_enable_stats.c: New file.
  261. * td_ta_event_addr.c: New file.
  262. * td_ta_get_nthreads.c: New file.
  263. * td_ta_get_ph.c: New file.
  264. * td_ta_get_stats.c: New file.
  265. * td_ta_map_id2thr.c: New file.
  266. * td_ta_map_lwp2thr.c: New file.
  267. * td_ta_new.c: New file.
  268. * td_ta_reset_stats.c: New file.
  269. * td_ta_setconcurrency.c: New file.
  270. * td_ta_thr_iter.c: New file.
  271. * td_ta_tsd_iter.c: New file.
  272. * td_thr_clear_event.c: New file.
  273. * td_thr_dbresume.c: New file.
  274. * td_thr_dbsuspend.c: New file.
  275. * td_thr_event_enable.c: New file.
  276. * td_thr_event_getmsg.c: New file.
  277. * td_thr_get_info.c: New file.
  278. * td_thr_getfpregs.c: New file.
  279. * td_thr_getgregs.c: New file.
  280. * td_thr_getxregs.c: New file.
  281. * td_thr_getxregsize.c: New file.
  282. * td_thr_set_event.c: New file.
  283. * td_thr_setfpregs.c: New file.
  284. * td_thr_setgregs.c: New file.
  285. * td_thr_setprio.c: New file.
  286. * td_thr_setsigpending.c: New file.
  287. * td_thr_setxregs.c: New file.
  288. * td_thr_sigsetmask.c: New file.
  289. * td_thr_tsd.c: New file.
  290. * td_thr_validate.c: New file.
  291. * thread_db.h: New file.
  292. * thread_dbP.h: New file.