ChangeLog.nptl_db 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. This file describes changes to the nptl_db/ subdirectory prior to 2014-03-03.
  2. Later nptl_db/ changes go into the top-level ChangeLog file, not here.
  3. 2014-02-26 Joseph Myers <joseph@codesourcery.com>
  4. * Makefile: Include Makeconfig immediately after defining subdir.
  5. 2014-02-21 Joseph Myers <joseph@codesourcery.com>
  6. * Makefile ($(objpfx)db-symbols.out): Use
  7. $(evaluate-test).
  8. 2013-05-31 Joseph Myers <joseph@codesourcery.com>
  9. * Makefile ($(objpfx)libthread_db.so): Remove dependencies on
  10. libc.
  11. 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  12. * db_info.c: Add missing #include <stdint.h> due to uint64_t or
  13. uint32_t usage.
  14. * fetch-value.c: Likewise.
  15. * td_ta_clear_event.c: Likewise.
  16. * td_ta_set_event.c: Likewise.
  17. * td_ta_tsd_iter.c: Likewise.
  18. * td_thr_clear_event.c: Likewise.
  19. * td_thr_get_info.c: Likewise.
  20. * td_thr_set_event.c: Likewise.
  21. * td_thr_tsd.c: Likewise.
  22. 2013-01-02 Joseph Myers <joseph@codesourcery.com>
  23. * All files with FSF copyright notices: Update copyright dates
  24. using scripts/update-copyrights.
  25. 2013-01-01 Joseph Myers <joseph@codesourcery.com>
  26. * td_ta_thr_iter.c: Reformat copyright notice.
  27. * td_thr_validate.c: Likewise.
  28. 2012-11-23 Mike Frysinger <vapier@gentoo.org>
  29. * Makefile ($(objpfx)db-symbols.out): Change readelf to $(READELF).
  30. 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
  31. [BZ #14661]
  32. * Makefile ($(objpfx)db-symbols.out): Force C locale when running
  33. readelf -s.
  34. 2012-03-07 Ulrich Drepper <drepper@gmail.com>
  35. * Makefile (distribute): Remove variable.
  36. 2011-09-15 Andreas Schwab <schwab@redhat.com>
  37. * thread_dbP.h: Include <list.h>
  38. 2009-08-23 Roland McGrath <roland@redhat.com>
  39. * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): Move ta_ok check
  40. and LOG call back to ...
  41. (td_ta_map_lwp2thr): ... here.
  42. Reported by Maciej W. Rozycki <macro@codesourcery.com>.
  43. 2009-05-25 Aurelien Jarno <aurelien@aurel32.net>
  44. [BZ #10200]
  45. * db-symbols.awk: Use the last field for the symbol name instead
  46. of the 8th one.
  47. 2009-03-19 Roland McGrath <roland@redhat.com>
  48. * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
  49. Use STRINGIFY macro in place of #argument.
  50. 2009-02-27 Roland McGrath <roland@redhat.com>
  51. * td_symbol_list.c (symbol_list_arr): Move initializer guts to ...
  52. * db-symbols.h: ... here, new file.
  53. * db-symbols.awk: New file.
  54. * Makefile (distribute): Add them.
  55. ($(objpfx)db-symbols.out): New target.
  56. (tests): Depend on it.
  57. ($(objpfx)db-symbols.v.i): New dependent rule.
  58. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
  59. * td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in
  60. the special case [Coverity CID 251].
  61. 2008-03-25 Roland McGrath <roland@redhat.com>
  62. [BZ #5983]
  63. * structs.def: Add pid field of struct pthread.
  64. * td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID.
  65. If a thread's pid does not match nor is < 0 while its tid matches
  66. nor is < 0 and equal to -MATCH_PID, ignore it.
  67. * td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.
  68. 2007-05-16 Roland McGrath <roland@redhat.com>
  69. * td_thr_get_info.c: Fake the results for TH->th_unique == 0.
  70. * td_thr_validate.c: Likewise.
  71. * td_thr_setgregs.c: Likewise.
  72. * td_thr_setfpregs.c: Likewise.
  73. * td_thr_getgregs.c: Likewise.
  74. * td_thr_getfpregs.c: Likewise.
  75. * td_thr_tlsbase.c: Likewise.
  76. * structs.def: Add DB_VARIABLE (__nptl_initial_report_events).
  77. * db_info.c: Add necessary declaration.
  78. * td_thr_event_enable.c: Set __nptl_initial_report_events too.
  79. * td_ta_thr_iter.c (iterate_thread_list): Make FAKE_EMPTY bool.
  80. Use th_unique=0 in fake descriptor before initialization.
  81. * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): New function, broken
  82. out of ...
  83. (td_ta_map_lwp2thr): ... here, call it. But don't before __stack_user
  84. is initialized, then fake a handle with th_unique=0.
  85. * thread_dbP.h: Declare it.
  86. 2006-10-26 Pete Eberlein <eberlein@us.ibm.com>
  87. * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
  88. to sizeof a pointer, instead of sizeof the union.
  89. 2006-10-27 Ulrich Drepper <drepper@redhat.com>
  90. * structs.def: USE_TLS support is now default.
  91. 2006-02-03 Roland McGrath <roland@redhat.com>
  92. * structs.def: Add a descriptor for pointer.val field of dtv_t.
  93. * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
  94. DTV slot.
  95. 2004-09-09 Roland McGrath <roland@redhat.com>
  96. * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
  97. descriptor is bogus.
  98. 2004-05-27 Roland McGrath <roland@redhat.com>
  99. * td_thr_validate.c: When we find no threads and the inferior appears
  100. uninitialized, validate the main thread as a special case.
  101. 2004-05-01 Jakub Jelinek <jakub@redhat.com>
  102. * thread_dbP.h (LOG): Use write instead of __libc_write.
  103. 2004-04-03 Ulrich Drepper <drepper@redhat.com>
  104. * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
  105. warnings.
  106. * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
  107. * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
  108. avoid warning.
  109. * td_ta_set_event.c (td_ta_set_event): Likewise.
  110. 2004-03-24 Roland McGrath <roland@redhat.com>
  111. * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
  112. * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
  113. 2004-03-13 Jakub Jelinek <jakub@redhat.com>
  114. * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
  115. TLS_TCB_SIZE == 0 ?: in the DESC macro.
  116. 2004-03-12 Roland McGrath <roland@redhat.com>
  117. * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
  118. (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
  119. 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
  120. * db_info.c (REGISTER): Add bit size of thread register as second
  121. parameter to REGISTER macro.
  122. 2003-12-02 Roland McGrath <roland@redhat.com>
  123. * thread_dbP.h (DB_FUNCTION): New macro.
  124. * structs.def: Use it for __nptl_create_event and __nptl_death_event.
  125. * db_info.c (DB_FUNCTION): New macro.
  126. * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
  127. name under [HAVE_ASM_GLOBAL_DOT_NAME].
  128. (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
  129. and name starts with a dot, try it without the dot.
  130. 2003-09-08 Roland McGrath <roland@redhat.com>
  131. * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
  132. 2003-08-22 Roland McGrath <roland@redhat.com>
  133. * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
  134. TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
  135. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
  136. DB_GET_FIELD returns TD_NOCAPAB.
  137. * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
  138. * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
  139. * db_info.c (link_map): Typedef it.
  140. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
  141. 2003-08-14 Roland McGrath <roland@redhat.com>
  142. * thread_dbP.h: Mostly rewritten with many new macros and decls.
  143. * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
  144. * structs.def: New file.
  145. * db_info.c: New file.
  146. * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
  147. * td_ta_clear_event.c: Rewritten.
  148. * td_ta_event_addr.c: Rewritten.
  149. * td_ta_event_getmsg.c: Rewritten.
  150. * td_ta_get_nthreads.c: Rewritten.
  151. * td_ta_map_lwp2thr.c: New file.
  152. * td_ta_set_event.c: Rewritten.
  153. * td_ta_thr_iter.c: Rewritten.
  154. * td_ta_tsd_iter.c: Rewritten.
  155. * td_thr_clear_event.c: Rewritten.
  156. * td_thr_event_enable.c: Rewritten.
  157. * td_thr_event_getmsg.c: Rewritten.
  158. * td_thr_get_info.c: Rewritten.
  159. * td_thr_getfpregs.c: Rewritten.
  160. * td_thr_getgregs.c: Rewritten.
  161. * td_thr_set_event.c: Rewritten.
  162. * td_thr_setfpregs.c: Rewritten.
  163. * td_thr_setgregs.c: Rewritten.
  164. * td_thr_tlsbase.c: Rewritten.
  165. * td_thr_tsd.c: Rewritten.
  166. * td_thr_validate.c: Rewritten.
  167. * Makefile (distribute): Add them.
  168. * fetch-value.c: New file.
  169. * Makefile (libthread_db-routines): Add it.
  170. * thread_db.h (td_err_e): Comment fix.
  171. 2003-08-05 Roland McGrath <roland@redhat.com>
  172. * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
  173. 2003-08-04 Roland McGrath <roland@redhat.com>
  174. * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
  175. 2003-06-23 Roland McGrath <roland@redhat.com>
  176. * proc_service.h: Cosmetic and comment fixes.
  177. 2003-06-19 Roland McGrath <roland@redhat.com>
  178. * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
  179. for value written into inferior's `report_events'.
  180. 2003-03-18 Roland McGrath <roland@redhat.com>
  181. * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
  182. of the ->nextevent linkage.
  183. * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
  184. assert for reading TD_EVENT_NONE. Clear the event buffer after
  185. reading it. Add a sanity check for foo->nextevent = foo.
  186. 2003-03-15 Roland McGrath <roland@redhat.com>
  187. * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
  188. (td_thr_tlsbase): Declare it.
  189. * td_thr_tlsbase.c: New file.
  190. * Makefile (libthread_db-routines): Add it.
  191. * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
  192. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
  193. 2003-03-14 Roland McGrath <roland@redhat.com>
  194. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
  195. 2003-03-10 Roland McGrath <roland@redhat.com>
  196. * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
  197. prefix for `struct pthread' members.
  198. * td_thr_validate.c (check_thread_list): Likewise.
  199. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
  200. 2003-03-03 Roland McGrath <roland@redhat.com>
  201. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
  202. 2003-02-15 Ulrich Drepper <drepper@redhat.com>
  203. * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
  204. 2003-01-07 Jakub Jelinek <jakub@redhat.com>
  205. * td_ta_event_getmsg.c: Include assert.h.
  206. -2003-01-05 Ulrich Drepper <drepper@redhat.com>
  207. * Makefile (libthread_db.so-no-z-defs): Define.
  208. 2003-01-03 Roland McGrath <roland@redhat.com>
  209. * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
  210. * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
  211. * td_thr_get_info.c (td_thr_get_info): Likewise.
  212. * td_thr_getgregs.c (td_thr_getgregs): Likewise.
  213. * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
  214. * td_ta_thr_iter.c (iterate_thread_list): Likewise.
  215. 2002-12-12 Roland McGrath <roland@redhat.com>
  216. * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
  217. uninitialized __stack_user (zeros), hard-wire just the main thread.
  218. * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
  219. 2002-12-06 Roland McGrath <roland@redhat.com>
  220. * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
  221. into the inferior's __pthread_last_event variable, not a word from
  222. an inferior address used in the parent. Pass the address of a
  223. null word to ps_pdwrite, not a null pointer.
  224. 2002-12-04 Roland McGrath <roland@redhat.com>
  225. * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
  226. * thread_db.h (td_thrinfo_t): Comment fix.
  227. * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
  228. 2002-12-04 Ulrich Drepper <drepper@redhat.com>
  229. * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
  230. pointer to the next element from inferior.
  231. 2002-12-02 Roland McGrath <roland@redhat.com>
  232. * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
  233. * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
  234. see its %gs value, not our own.