]> git.ipfire.org Git - thirdparty/glibc.git/blob - nptl_db/ChangeLog
[BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483,...
[thirdparty/glibc.git] / nptl_db / ChangeLog
1 2006-10-26 Pete Eberlein <eberlein@us.ibm.com>
2
3 * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
4 to sizeof a pointer, instead of sizeof the union.
5
6 2006-10-27 Ulrich Drepper <drepper@redhat.com>
7
8 * structs.def: USE_TLS support is now default.
9
10 2006-02-03 Roland McGrath <roland@redhat.com>
11
12 * structs.def: Add a descriptor for pointer.val field of dtv_t.
13 * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
14 DTV slot.
15
16 2004-09-09 Roland McGrath <roland@redhat.com>
17
18 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
19 descriptor is bogus.
20
21 2004-05-27 Roland McGrath <roland@redhat.com>
22
23 * td_thr_validate.c: When we find no threads and the inferior appears
24 uninitialized, validate the main thread as a special case.
25
26 2004-05-01 Jakub Jelinek <jakub@redhat.com>
27
28 * thread_dbP.h (LOG): Use write instead of __libc_write.
29
30 2004-04-03 Ulrich Drepper <drepper@redhat.com>
31
32 * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
33 warnings.
34
35 * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
36 * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
37 avoid warning.
38 * td_ta_set_event.c (td_ta_set_event): Likewise.
39
40 2004-03-24 Roland McGrath <roland@redhat.com>
41
42 * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
43 * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
44
45 2004-03-13 Jakub Jelinek <jakub@redhat.com>
46
47 * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
48 TLS_TCB_SIZE == 0 ?: in the DESC macro.
49
50 2004-03-12 Roland McGrath <roland@redhat.com>
51
52 * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
53 (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
54
55 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
56
57 * db_info.c (REGISTER): Add bit size of thread register as second
58 parameter to REGISTER macro.
59
60 2003-12-02 Roland McGrath <roland@redhat.com>
61
62 * thread_dbP.h (DB_FUNCTION): New macro.
63 * structs.def: Use it for __nptl_create_event and __nptl_death_event.
64 * db_info.c (DB_FUNCTION): New macro.
65 * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
66 name under [HAVE_ASM_GLOBAL_DOT_NAME].
67 (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
68 and name starts with a dot, try it without the dot.
69
70 2003-09-08 Roland McGrath <roland@redhat.com>
71
72 * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
73
74 2003-08-22 Roland McGrath <roland@redhat.com>
75
76 * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
77 TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
78 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
79 DB_GET_FIELD returns TD_NOCAPAB.
80
81 * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
82 * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
83 * db_info.c (link_map): Typedef it.
84 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
85
86 2003-08-14 Roland McGrath <roland@redhat.com>
87
88 * thread_dbP.h: Mostly rewritten with many new macros and decls.
89 * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
90 * structs.def: New file.
91 * db_info.c: New file.
92 * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
93 * td_ta_clear_event.c: Rewritten.
94 * td_ta_event_addr.c: Rewritten.
95 * td_ta_event_getmsg.c: Rewritten.
96 * td_ta_get_nthreads.c: Rewritten.
97 * td_ta_map_lwp2thr.c: New file.
98 * td_ta_set_event.c: Rewritten.
99 * td_ta_thr_iter.c: Rewritten.
100 * td_ta_tsd_iter.c: Rewritten.
101 * td_thr_clear_event.c: Rewritten.
102 * td_thr_event_enable.c: Rewritten.
103 * td_thr_event_getmsg.c: Rewritten.
104 * td_thr_get_info.c: Rewritten.
105 * td_thr_getfpregs.c: Rewritten.
106 * td_thr_getgregs.c: Rewritten.
107 * td_thr_set_event.c: Rewritten.
108 * td_thr_setfpregs.c: Rewritten.
109 * td_thr_setgregs.c: Rewritten.
110 * td_thr_tlsbase.c: Rewritten.
111 * td_thr_tsd.c: Rewritten.
112 * td_thr_validate.c: Rewritten.
113 * Makefile (distribute): Add them.
114 * fetch-value.c: New file.
115 * Makefile (libthread_db-routines): Add it.
116
117 * thread_db.h (td_err_e): Comment fix.
118
119 2003-08-05 Roland McGrath <roland@redhat.com>
120
121 * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
122
123 2003-08-04 Roland McGrath <roland@redhat.com>
124
125 * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
126
127 2003-06-23 Roland McGrath <roland@redhat.com>
128
129 * proc_service.h: Cosmetic and comment fixes.
130
131 2003-06-19 Roland McGrath <roland@redhat.com>
132
133 * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
134 for value written into inferior's `report_events'.
135
136 2003-03-18 Roland McGrath <roland@redhat.com>
137
138 * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
139 of the ->nextevent linkage.
140
141 * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
142 assert for reading TD_EVENT_NONE. Clear the event buffer after
143 reading it. Add a sanity check for foo->nextevent = foo.
144
145 2003-03-15 Roland McGrath <roland@redhat.com>
146
147 * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
148 (td_thr_tlsbase): Declare it.
149 * td_thr_tlsbase.c: New file.
150 * Makefile (libthread_db-routines): Add it.
151 * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
152 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
153
154 2003-03-14 Roland McGrath <roland@redhat.com>
155
156 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
157
158 2003-03-10 Roland McGrath <roland@redhat.com>
159
160 * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
161 prefix for `struct pthread' members.
162 * td_thr_validate.c (check_thread_list): Likewise.
163 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
164
165 2003-03-03 Roland McGrath <roland@redhat.com>
166
167 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
168
169 2003-02-15 Ulrich Drepper <drepper@redhat.com>
170
171 * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
172
173 2003-01-07 Jakub Jelinek <jakub@redhat.com>
174
175 * td_ta_event_getmsg.c: Include assert.h.
176
177 -2003-01-05 Ulrich Drepper <drepper@redhat.com>
178
179 * Makefile (libthread_db.so-no-z-defs): Define.
180
181 2003-01-03 Roland McGrath <roland@redhat.com>
182
183 * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
184 * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
185 * td_thr_get_info.c (td_thr_get_info): Likewise.
186 * td_thr_getgregs.c (td_thr_getgregs): Likewise.
187 * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
188 * td_ta_thr_iter.c (iterate_thread_list): Likewise.
189
190 2002-12-12 Roland McGrath <roland@redhat.com>
191
192 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
193 uninitialized __stack_user (zeros), hard-wire just the main thread.
194
195 * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
196
197 2002-12-06 Roland McGrath <roland@redhat.com>
198
199 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
200 into the inferior's __pthread_last_event variable, not a word from
201 an inferior address used in the parent. Pass the address of a
202 null word to ps_pdwrite, not a null pointer.
203
204 2002-12-04 Roland McGrath <roland@redhat.com>
205
206 * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
207
208 * thread_db.h (td_thrinfo_t): Comment fix.
209
210 * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
211
212 2002-12-04 Ulrich Drepper <drepper@redhat.com>
213
214 * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
215 pointer to the next element from inferior.
216
217 2002-12-02 Roland McGrath <roland@redhat.com>
218
219 * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
220
221 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
222 see its %gs value, not our own.