]> git.ipfire.org Git - thirdparty/glibc.git/blame - nptl_db/ChangeLog
Update.
[thirdparty/glibc.git] / nptl_db / ChangeLog
CommitLineData
1e084487
UD
12004-04-03 Ulrich Drepper <drepper@redhat.com>
2
5da3d377
UD
3 * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
4 warnings.
5
1e084487
UD
6 * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
7 * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
8 avoid warning.
9 * td_ta_set_event.c (td_ta_set_event): Likewise.
10
db2f05ba
RM
112004-03-24 Roland McGrath <roland@redhat.com>
12
13 * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
14 * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
15
743fa97c
RM
162004-03-13 Jakub Jelinek <jakub@redhat.com>
17
18 * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
19 TLS_TCB_SIZE == 0 ?: in the DESC macro.
20
26301a17
RM
212004-03-12 Roland McGrath <roland@redhat.com>
22
23 * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
24 (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
25
763c0490
RM
262003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
27
28 * db_info.c (REGISTER): Add bit size of thread register as second
29 parameter to REGISTER macro.
30
b1b2fb59
RM
312003-12-02 Roland McGrath <roland@redhat.com>
32
33 * thread_dbP.h (DB_FUNCTION): New macro.
34 * structs.def: Use it for __nptl_create_event and __nptl_death_event.
35 * db_info.c (DB_FUNCTION): New macro.
36 * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
37 name under [HAVE_ASM_GLOBAL_DOT_NAME].
38 (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
39 and name starts with a dot, try it without the dot.
40
7f08f55a
RM
412003-09-08 Roland McGrath <roland@redhat.com>
42
43 * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
44
452003-08-22 Roland McGrath <roland@redhat.com>
46
47 * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
48 TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
49 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
50 DB_GET_FIELD returns TD_NOCAPAB.
51
52 * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
53 * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
54 * db_info.c (link_map): Typedef it.
55 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
56
572003-08-14 Roland McGrath <roland@redhat.com>
58
59 * thread_dbP.h: Mostly rewritten with many new macros and decls.
60 * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
61 * structs.def: New file.
62 * db_info.c: New file.
63 * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
64 * td_ta_clear_event.c: Rewritten.
65 * td_ta_event_addr.c: Rewritten.
66 * td_ta_event_getmsg.c: Rewritten.
67 * td_ta_get_nthreads.c: Rewritten.
68 * td_ta_map_lwp2thr.c: New file.
69 * td_ta_set_event.c: Rewritten.
70 * td_ta_thr_iter.c: Rewritten.
71 * td_ta_tsd_iter.c: Rewritten.
72 * td_thr_clear_event.c: Rewritten.
73 * td_thr_event_enable.c: Rewritten.
74 * td_thr_event_getmsg.c: Rewritten.
75 * td_thr_get_info.c: Rewritten.
76 * td_thr_getfpregs.c: Rewritten.
77 * td_thr_getgregs.c: Rewritten.
78 * td_thr_set_event.c: Rewritten.
79 * td_thr_setfpregs.c: Rewritten.
80 * td_thr_setgregs.c: Rewritten.
81 * td_thr_tlsbase.c: Rewritten.
82 * td_thr_tsd.c: Rewritten.
83 * td_thr_validate.c: Rewritten.
84 * Makefile (distribute): Add them.
85 * fetch-value.c: New file.
86 * Makefile (libthread_db-routines): Add it.
87
88 * thread_db.h (td_err_e): Comment fix.
89
902003-08-05 Roland McGrath <roland@redhat.com>
91
92 * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
93
942003-08-04 Roland McGrath <roland@redhat.com>
95
96 * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
97
982003-06-23 Roland McGrath <roland@redhat.com>
99
100 * proc_service.h: Cosmetic and comment fixes.
101
a9c30e95
RM
1022003-06-19 Roland McGrath <roland@redhat.com>
103
104 * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
105 for value written into inferior's `report_events'.
106
8cfb7315
RM
1072003-03-18 Roland McGrath <roland@redhat.com>
108
109 * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
110 of the ->nextevent linkage.
111
112 * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
113 assert for reading TD_EVENT_NONE. Clear the event buffer after
114 reading it. Add a sanity check for foo->nextevent = foo.
115
bfeafbf7
RM
1162003-03-15 Roland McGrath <roland@redhat.com>
117
118 * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
119 (td_thr_tlsbase): Declare it.
120 * td_thr_tlsbase.c: New file.
121 * Makefile (libthread_db-routines): Add it.
122 * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
123 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
124
2e49caba
RM
1252003-03-14 Roland McGrath <roland@redhat.com>
126
127 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
128
ce2290cb 1292003-03-10 Roland McGrath <roland@redhat.com>
f73acc20 130
ce2290cb
RM
131 * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
132 prefix for `struct pthread' members.
133 * td_thr_validate.c (check_thread_list): Likewise.
134 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
135
1362003-03-03 Roland McGrath <roland@redhat.com>
137
138 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
f73acc20 139
1c82b97f
UD
1402003-02-15 Ulrich Drepper <drepper@redhat.com>
141
142 * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
143
b5facfda
UD
1442003-01-07 Jakub Jelinek <jakub@redhat.com>
145
146 * td_ta_event_getmsg.c: Include assert.h.
147
148-2003-01-05 Ulrich Drepper <drepper@redhat.com>
73e9ae88
UD
149
150 * Makefile (libthread_db.so-no-z-defs): Define.
151
f02392ec
RM
1522003-01-03 Roland McGrath <roland@redhat.com>
153
154 * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
155 * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
156 * td_thr_get_info.c (td_thr_get_info): Likewise.
157 * td_thr_getgregs.c (td_thr_getgregs): Likewise.
158 * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
159 * td_ta_thr_iter.c (iterate_thread_list): Likewise.
160
a305fd6a
RM
1612002-12-12 Roland McGrath <roland@redhat.com>
162
163 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
164 uninitialized __stack_user (zeros), hard-wire just the main thread.
165
166 * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
167
58a851f1
RM
1682002-12-06 Roland McGrath <roland@redhat.com>
169
170 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
171 into the inferior's __pthread_last_event variable, not a word from
172 an inferior address used in the parent. Pass the address of a
173 null word to ps_pdwrite, not a null pointer.
174
ac110745
RM
1752002-12-04 Roland McGrath <roland@redhat.com>
176
177 * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
178
179 * thread_db.h (td_thrinfo_t): Comment fix.
180
181 * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
182
abbd6175
UD
1832002-12-04 Ulrich Drepper <drepper@redhat.com>
184
185 * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
186 pointer to the next element from inferior.
187
fa9a4ff0
RM
1882002-12-02 Roland McGrath <roland@redhat.com>
189
190 * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
191
192 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
193 see its %gs value, not our own.