1 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
3 * db_info.c (REGISTER): Add bit size of thread register as second
4 parameter to REGISTER macro.
6 2003-12-02 Roland McGrath <roland@redhat.com>
8 * thread_dbP.h (DB_FUNCTION): New macro.
9 * structs.def: Use it for __nptl_create_event and __nptl_death_event.
10 * db_info.c (DB_FUNCTION): New macro.
11 * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
12 name under [HAVE_ASM_GLOBAL_DOT_NAME].
13 (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
14 and name starts with a dot, try it without the dot.
16 2003-09-08 Roland McGrath <roland@redhat.com>
18 * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
20 2003-08-22 Roland McGrath <roland@redhat.com>
22 * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
23 TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
24 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
25 DB_GET_FIELD returns TD_NOCAPAB.
27 * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
28 * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
29 * db_info.c (link_map): Typedef it.
30 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
32 2003-08-14 Roland McGrath <roland@redhat.com>
34 * thread_dbP.h: Mostly rewritten with many new macros and decls.
35 * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
36 * structs.def: New file.
37 * db_info.c: New file.
38 * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
39 * td_ta_clear_event.c: Rewritten.
40 * td_ta_event_addr.c: Rewritten.
41 * td_ta_event_getmsg.c: Rewritten.
42 * td_ta_get_nthreads.c: Rewritten.
43 * td_ta_map_lwp2thr.c: New file.
44 * td_ta_set_event.c: Rewritten.
45 * td_ta_thr_iter.c: Rewritten.
46 * td_ta_tsd_iter.c: Rewritten.
47 * td_thr_clear_event.c: Rewritten.
48 * td_thr_event_enable.c: Rewritten.
49 * td_thr_event_getmsg.c: Rewritten.
50 * td_thr_get_info.c: Rewritten.
51 * td_thr_getfpregs.c: Rewritten.
52 * td_thr_getgregs.c: Rewritten.
53 * td_thr_set_event.c: Rewritten.
54 * td_thr_setfpregs.c: Rewritten.
55 * td_thr_setgregs.c: Rewritten.
56 * td_thr_tlsbase.c: Rewritten.
57 * td_thr_tsd.c: Rewritten.
58 * td_thr_validate.c: Rewritten.
59 * Makefile (distribute): Add them.
60 * fetch-value.c: New file.
61 * Makefile (libthread_db-routines): Add it.
63 * thread_db.h (td_err_e): Comment fix.
65 2003-08-05 Roland McGrath <roland@redhat.com>
67 * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
69 2003-08-04 Roland McGrath <roland@redhat.com>
71 * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
73 2003-06-23 Roland McGrath <roland@redhat.com>
75 * proc_service.h: Cosmetic and comment fixes.
77 2003-06-19 Roland McGrath <roland@redhat.com>
79 * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
80 for value written into inferior's `report_events'.
82 2003-03-18 Roland McGrath <roland@redhat.com>
84 * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
85 of the ->nextevent linkage.
87 * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
88 assert for reading TD_EVENT_NONE. Clear the event buffer after
89 reading it. Add a sanity check for foo->nextevent = foo.
91 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.
100 2003-03-14 Roland McGrath <roland@redhat.com>
102 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
104 2003-03-10 Roland McGrath <roland@redhat.com>
106 * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
107 prefix for `struct pthread' members.
108 * td_thr_validate.c (check_thread_list): Likewise.
109 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
111 2003-03-03 Roland McGrath <roland@redhat.com>
113 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
115 2003-02-15 Ulrich Drepper <drepper@redhat.com>
117 * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
119 2003-01-07 Jakub Jelinek <jakub@redhat.com>
121 * td_ta_event_getmsg.c: Include assert.h.
123 -2003-01-05 Ulrich Drepper <drepper@redhat.com>
125 * Makefile (libthread_db.so-no-z-defs): Define.
127 2003-01-03 Roland McGrath <roland@redhat.com>
129 * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
130 * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
131 * td_thr_get_info.c (td_thr_get_info): Likewise.
132 * td_thr_getgregs.c (td_thr_getgregs): Likewise.
133 * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
134 * td_ta_thr_iter.c (iterate_thread_list): Likewise.
136 2002-12-12 Roland McGrath <roland@redhat.com>
138 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
139 uninitialized __stack_user (zeros), hard-wire just the main thread.
141 * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
143 2002-12-06 Roland McGrath <roland@redhat.com>
145 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
146 into the inferior's __pthread_last_event variable, not a word from
147 an inferior address used in the parent. Pass the address of a
148 null word to ps_pdwrite, not a null pointer.
150 2002-12-04 Roland McGrath <roland@redhat.com>
152 * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
154 * thread_db.h (td_thrinfo_t): Comment fix.
156 * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
158 2002-12-04 Ulrich Drepper <drepper@redhat.com>
160 * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
161 pointer to the next element from inferior.
163 2002-12-02 Roland McGrath <roland@redhat.com>
165 * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
167 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
168 see its %gs value, not our own.