ChangeLog 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. 2004-09-09 Roland McGrath <roland@redhat.com>
  2. * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
  3. descriptor is bogus.
  4. 2004-05-27 Roland McGrath <roland@redhat.com>
  5. * td_thr_validate.c: When we find no threads and the inferior appears
  6. uninitialized, validate the main thread as a special case.
  7. 2004-05-01 Jakub Jelinek <jakub@redhat.com>
  8. * thread_dbP.h (LOG): Use write instead of __libc_write.
  9. 2004-04-03 Ulrich Drepper <drepper@redhat.com>
  10. * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
  11. warnings.
  12. * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
  13. * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
  14. avoid warning.
  15. * td_ta_set_event.c (td_ta_set_event): Likewise.
  16. 2004-03-24 Roland McGrath <roland@redhat.com>
  17. * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
  18. * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
  19. 2004-03-13 Jakub Jelinek <jakub@redhat.com>
  20. * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
  21. TLS_TCB_SIZE == 0 ?: in the DESC macro.
  22. 2004-03-12 Roland McGrath <roland@redhat.com>
  23. * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
  24. (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
  25. 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
  26. * db_info.c (REGISTER): Add bit size of thread register as second
  27. parameter to REGISTER macro.
  28. 2003-12-02 Roland McGrath <roland@redhat.com>
  29. * thread_dbP.h (DB_FUNCTION): New macro.
  30. * structs.def: Use it for __nptl_create_event and __nptl_death_event.
  31. * db_info.c (DB_FUNCTION): New macro.
  32. * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
  33. name under [HAVE_ASM_GLOBAL_DOT_NAME].
  34. (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
  35. and name starts with a dot, try it without the dot.
  36. 2003-09-08 Roland McGrath <roland@redhat.com>
  37. * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
  38. 2003-08-22 Roland McGrath <roland@redhat.com>
  39. * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
  40. TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
  41. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
  42. DB_GET_FIELD returns TD_NOCAPAB.
  43. * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
  44. * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
  45. * db_info.c (link_map): Typedef it.
  46. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
  47. 2003-08-14 Roland McGrath <roland@redhat.com>
  48. * thread_dbP.h: Mostly rewritten with many new macros and decls.
  49. * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
  50. * structs.def: New file.
  51. * db_info.c: New file.
  52. * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
  53. * td_ta_clear_event.c: Rewritten.
  54. * td_ta_event_addr.c: Rewritten.
  55. * td_ta_event_getmsg.c: Rewritten.
  56. * td_ta_get_nthreads.c: Rewritten.
  57. * td_ta_map_lwp2thr.c: New file.
  58. * td_ta_set_event.c: Rewritten.
  59. * td_ta_thr_iter.c: Rewritten.
  60. * td_ta_tsd_iter.c: Rewritten.
  61. * td_thr_clear_event.c: Rewritten.
  62. * td_thr_event_enable.c: Rewritten.
  63. * td_thr_event_getmsg.c: Rewritten.
  64. * td_thr_get_info.c: Rewritten.
  65. * td_thr_getfpregs.c: Rewritten.
  66. * td_thr_getgregs.c: Rewritten.
  67. * td_thr_set_event.c: Rewritten.
  68. * td_thr_setfpregs.c: Rewritten.
  69. * td_thr_setgregs.c: Rewritten.
  70. * td_thr_tlsbase.c: Rewritten.
  71. * td_thr_tsd.c: Rewritten.
  72. * td_thr_validate.c: Rewritten.
  73. * Makefile (distribute): Add them.
  74. * fetch-value.c: New file.
  75. * Makefile (libthread_db-routines): Add it.
  76. * thread_db.h (td_err_e): Comment fix.
  77. 2003-08-05 Roland McGrath <roland@redhat.com>
  78. * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
  79. 2003-08-04 Roland McGrath <roland@redhat.com>
  80. * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
  81. 2003-06-23 Roland McGrath <roland@redhat.com>
  82. * proc_service.h: Cosmetic and comment fixes.
  83. 2003-06-19 Roland McGrath <roland@redhat.com>
  84. * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
  85. for value written into inferior's `report_events'.
  86. 2003-03-18 Roland McGrath <roland@redhat.com>
  87. * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
  88. of the ->nextevent linkage.
  89. * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
  90. assert for reading TD_EVENT_NONE. Clear the event buffer after
  91. reading it. Add a sanity check for foo->nextevent = foo.
  92. 2003-03-15 Roland McGrath <roland@redhat.com>
  93. * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
  94. (td_thr_tlsbase): Declare it.
  95. * td_thr_tlsbase.c: New file.
  96. * Makefile (libthread_db-routines): Add it.
  97. * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
  98. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
  99. 2003-03-14 Roland McGrath <roland@redhat.com>
  100. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
  101. 2003-03-10 Roland McGrath <roland@redhat.com>
  102. * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
  103. prefix for `struct pthread' members.
  104. * td_thr_validate.c (check_thread_list): Likewise.
  105. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
  106. 2003-03-03 Roland McGrath <roland@redhat.com>
  107. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
  108. 2003-02-15 Ulrich Drepper <drepper@redhat.com>
  109. * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
  110. 2003-01-07 Jakub Jelinek <jakub@redhat.com>
  111. * td_ta_event_getmsg.c: Include assert.h.
  112. -2003-01-05 Ulrich Drepper <drepper@redhat.com>
  113. * Makefile (libthread_db.so-no-z-defs): Define.
  114. 2003-01-03 Roland McGrath <roland@redhat.com>
  115. * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
  116. * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
  117. * td_thr_get_info.c (td_thr_get_info): Likewise.
  118. * td_thr_getgregs.c (td_thr_getgregs): Likewise.
  119. * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
  120. * td_ta_thr_iter.c (iterate_thread_list): Likewise.
  121. 2002-12-12 Roland McGrath <roland@redhat.com>
  122. * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
  123. uninitialized __stack_user (zeros), hard-wire just the main thread.
  124. * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
  125. 2002-12-06 Roland McGrath <roland@redhat.com>
  126. * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
  127. into the inferior's __pthread_last_event variable, not a word from
  128. an inferior address used in the parent. Pass the address of a
  129. null word to ps_pdwrite, not a null pointer.
  130. 2002-12-04 Roland McGrath <roland@redhat.com>
  131. * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
  132. * thread_db.h (td_thrinfo_t): Comment fix.
  133. * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
  134. 2002-12-04 Ulrich Drepper <drepper@redhat.com>
  135. * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
  136. pointer to the next element from inferior.
  137. 2002-12-02 Roland McGrath <roland@redhat.com>
  138. * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
  139. * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
  140. see its %gs value, not our own.