]>
Commit | Line | Data |
---|---|---|
3f5b7598 PA |
1 | 2016-01-15 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * thread.c (thread_apply_command): Use the tid range parser to | |
4 | advance past the thread ID list. | |
5 | * tid-parse.c (get_positive_number_trailer): New function. | |
6 | (parse_thread_id): Use it. | |
7 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
8 | thread ID error. | |
9 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
10 | throwing invalid thread ID error. | |
11 | ||
e7cf25a8 YQ |
12 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
13 | ||
14 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
15 | Declare. | |
16 | (arm_linux_get_next_pcs_ops): Install | |
17 | arm_linux_get_next_pcs_syscall_next_pc. | |
18 | (arm_linux_syscall_next_pc): Change to ... | |
19 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
20 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
21 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
22 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
23 | call tdep->syscall_next_pc. | |
24 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
25 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
26 | ||
c0518081 YQ |
27 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
28 | ||
29 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
30 | * thread.c (do_captured_thread_select): Cast to const char *. | |
31 | ||
1b451dda YQ |
32 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
33 | ||
34 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
35 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
36 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
37 | instead. | |
38 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
39 | <arm_thumb2_breakpoint>: Remove. | |
40 | <has_thumb2_breakpoint>: New field. | |
41 | (arm_get_next_pcs_ctor): Update declaration. | |
42 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
43 | 1 to arm_get_next_pcs_ctor. | |
44 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
45 | arm_get_next_pcs_ctor. | |
46 | ||
bc06e0b1 UW |
47 | 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
48 | ||
49 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
50 | ||
4e7b8bea YQ |
51 | 2016-01-13 Yao Qi <yao.qi@linaro.org> |
52 | ||
53 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
54 | byte_order_for_code to read instruction. | |
55 | ||
663f6d42 PA |
56 | 2016-01-13 Pedro Alves <palves@redhat.com> |
57 | ||
58 | * NEWS: Mention $_gthread. | |
59 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
60 | $_gthread. | |
61 | * thread.c (thread_num_make_value_helper): New function. | |
62 | (thread_id_make_value): Delete. | |
63 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
64 | New. | |
65 | (thread_funcs): Adjust. | |
66 | (gthread_funcs): New. | |
67 | (_initialize_thread): Register $_gthread variable. | |
68 | ||
c84f6bbf PA |
69 | 2016-01-13 Pedro Alves <palves@redhat.com> |
70 | ||
71 | * NEWS: Mention "info threads -gid". | |
72 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
73 | threads -gid". | |
74 | * thread.c (info_threads_command): Handle "-gid". | |
75 | (_initialize_thread): Adjust "info threads" help string to mention | |
76 | -gid. | |
77 | ||
22a02324 PA |
78 | 2016-01-13 Pedro Alves <palves@redhat.com> |
79 | ||
80 | * NEWS: Mention InferiorThread.global_num. | |
81 | * python/py-infthread.c (thpy_get_global_num): New function. | |
82 | (thread_object_getset): Register "global_num". | |
83 | ||
5d5658a1 PA |
84 | 2016-01-13 Pedro Alves <palves@redhat.com> |
85 | ||
86 | * NEWS: Mention that thread IDs are now per inferior and global | |
87 | thread IDs. | |
88 | * Makefile.in (SFILES): Add tid-parse.c. | |
89 | (COMMON_OBS): Add tid-parse.o. | |
90 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
91 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
92 | * breakpoint.c (insert_breakpoint_locations) | |
93 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
94 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
95 | (check_longjmp_breakpoint_for_call_dummy) | |
96 | (set_momentary_breakpoint): Adjust to use global IDs. | |
97 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
98 | (until_break_command, longjmp_bkpt_dtor) | |
99 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
100 | to use global IDs. | |
101 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
102 | ptid_to_global_thread_id. | |
103 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
104 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
105 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
106 | (thread_id_to_pid): Rename thread_id_to_pid to | |
107 | global_thread_id_to_ptid. | |
108 | (pid_to_thread_id): Rename to ... | |
109 | (ptid_to_global_thread_id): ... this. | |
110 | (valid_thread_id): Rename to ... | |
111 | (valid_global_thread_id): ... this. | |
112 | (find_thread_id): Rename to ... | |
113 | (find_thread_global_id): ... this. | |
114 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
115 | (print_thread_info): Add comment. | |
116 | * tid-parse.h: New file. | |
117 | * tid-parse.c: New file. | |
118 | * infcmd.c (step_command_fsm_prepare) | |
119 | (step_command_fsm_should_stop): Adjust to use the global thread | |
120 | ID. | |
121 | (until_next_command, until_next_command) | |
122 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
123 | ID. | |
124 | (attach_post_wait): Adjust to check the inferior number too. | |
125 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
126 | * infrun.c (handle_signal_stop) | |
127 | (insert_exception_resume_breakpoint) | |
128 | (insert_exception_resume_from_probe): Adjust to use the global | |
129 | thread ID. | |
130 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
131 | * remote.c (process_initial_stop_replies): Also consider the | |
132 | inferior number. | |
133 | * target.c (target_pre_inferior): Clear the inferior's highest | |
134 | thread num. | |
135 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
136 | global thread ID. | |
137 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
138 | the thread's global ID and the thread's per-inferior ID. | |
139 | (add_thread_silent): Adjust. | |
140 | (find_thread_global_id): New. | |
141 | (find_thread_id): Make static. Adjust to rename. | |
142 | (valid_thread_id): Rename to ... | |
143 | (valid_global_thread_id): ... this. | |
144 | (pid_to_thread_id): Rename to ... | |
145 | (ptid_to_global_thread_id): ... this. | |
146 | (thread_id_to_pid): Rename to ... | |
147 | (global_thread_id_to_ptid): ... this. Adjust. | |
148 | (first_thread_of_process): Adjust. | |
149 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
150 | (should_print_thread): New function. | |
151 | (print_thread_info): Rename to ... | |
152 | (print_thread_info_1): ... this, and add new show_global_ids | |
153 | parameter. Handle it. Iterate over inferiors. | |
154 | (print_thread_info): Reimplement as wrapper around | |
155 | print_thread_info_1. | |
156 | (show_inferior_qualified_tids): New function. | |
157 | (print_thread_id): Use it. | |
158 | (tp_array_compar): Compare inferior numbers too. | |
159 | (thread_apply_command): Use tid_range_parser. | |
160 | (do_captured_thread_select): Use parse_thread_id. | |
161 | (thread_id_make_value): Adjust. | |
162 | (_initialize_thread): Adjust "info threads" help string. | |
163 | * varobj.c (struct varobj_root): Update comment. | |
164 | (varobj_create): Adjust to use global thread IDs. | |
165 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
166 | * windows-tdep.c (display_tib): No longer accept an argument. | |
167 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
168 | * cli/cli-utils.h (get_number_trailer): Declare. | |
169 | (get_number_const): Adjust documentation. | |
170 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
171 | thread IDs. | |
172 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
173 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
174 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
175 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
176 | Likewise. | |
177 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
178 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
179 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
180 | per-inferior thread ID. | |
181 | (thread_object_getset): Update comment of "num". | |
182 | ||
43792cf0 PA |
183 | 2016-01-13 Pedro Alves <palves@redhat.com> |
184 | ||
185 | * breakpoint.c (remove_threaded_breakpoints) | |
186 | (print_one_breakpoint_location): Use print_thread_id. | |
187 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
188 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
189 | * common/print-utils.c (CELLSIZE): Delete. | |
190 | (get_cell): Rename to ... | |
191 | (get_print_cell): ... this and made extern. Adjust call callers. | |
192 | Adjust to use PRINT_CELL_SIZE. | |
193 | * common/print-utils.h (get_print_cell): Declare. | |
194 | (PRINT_CELL_SIZE): New. | |
195 | * gdbthread.h (print_thread_id): Declare. | |
196 | * infcmd.c (signal_command): Use print_thread_id. | |
197 | * inferior.c (print_inferior): Use print_thread_id. | |
198 | * infrun.c (handle_signal_stop) | |
199 | (insert_exception_resume_breakpoint) | |
200 | (insert_exception_resume_from_probe) | |
201 | (print_signal_received_reason): Use print_thread_id. | |
202 | * record-btrace.c (record_btrace_info) | |
203 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
204 | (record_btrace_step_thread, record_btrace_wait): Use | |
205 | print_thread_id. | |
206 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
207 | (print_thread_id): New function. | |
208 | (thread_apply_command): Use print_thread_id. | |
209 | (thread_command, thread_find_command, do_captured_thread_select): | |
210 | Use print_thread_id. | |
211 | ||
84654457 PA |
212 | 2016-01-13 Pedro Alves <palves@redhat.com> |
213 | ||
214 | * NEWS: Mention InferiorThread.inferior. | |
215 | * python/py-infthread.c (thpy_get_inferior): New. | |
216 | (thread_object_getset): Register "inferior". | |
217 | ||
e3940304 PA |
218 | 2016-01-13 Pedro Alves <palves@redhat.com> |
219 | ||
220 | * NEWS: Mention $_inferior. | |
221 | * inferior.c (inferior_id_make_value): New. | |
222 | (inferior_funcs): New. | |
223 | (_initialize_inferior): Create $_inferior variable. | |
224 | ||
a911d87a PA |
225 | 2016-01-13 Pedro Alves <palves@redhat.com> |
226 | ||
227 | PR breakpoints/19388 | |
228 | * frame.c (get_current_frame): Use validate_registers_access. | |
229 | * gdbthread.h (validate_registers_access): Declare. | |
230 | * infrun.c (validate_siginfo_access): Delete. | |
231 | (siginfo_value_read, siginfo_value_write): Use | |
232 | validate_registers_access. | |
233 | * thread.c (validate_registers_access): New function. | |
234 | ||
82075af2 JS |
235 | 2016-01-12 Josh Stone <jistone@redhat.com> |
236 | Philippe Waroquiers <philippe.waroquiers@skynet.be> | |
237 | ||
238 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
239 | syscall_entry and syscall_return stop reasons. Mention GDB | |
240 | support for remote catch syscall. | |
241 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
242 | (remote_set_syscall_catchpoint): New function. | |
243 | (remote_protocol_features): New element for QCatchSyscalls. | |
244 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
245 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
246 | (_initialize_remote): Config QCatchSyscalls. | |
247 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
248 | ||
d18547d8 YQ |
249 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
250 | ||
251 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
252 | to gdb_byte * and pass to linux_fork_to_function. | |
253 | ||
ba4dd7c4 YQ |
254 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
255 | ||
256 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
257 | of argument 'function'. | |
258 | (linux_grandchild_function): Change return type to 'int'. | |
259 | Change child_stack's type to 'void *'. | |
260 | (linux_child_function): Likewise. | |
261 | ||
bc504a31 PA |
262 | 2016-01-12 Pedro Alves <palves@redhat.com> |
263 | ||
264 | Remove use of the registered trademark symbol throughout. | |
265 | ||
5eddd578 TS |
266 | 2016-01-12 Thomas Schwinge <thomas@codesourcery.com> |
267 | ||
268 | * reply_mig_hack.awk: Rewrite one regular expression. | |
269 | ||
b835bb52 MF |
270 | 2016-01-11 Mike Frysinger <vapier@gentoo.org> |
271 | ||
272 | * acinclude.m4: Include new warning.m4 file. | |
273 | * configure: Regenerated. | |
274 | * configure.ac: Move all warning logic ... | |
275 | * warning.m4: ... here. | |
276 | ||
2f99e8fc YQ |
277 | 2016-01-08 Yao Qi <yao.qi@linaro.org> |
278 | ||
279 | * extension.c: Include target.h. | |
280 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
281 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
282 | returns false. | |
283 | (restore_active_ext_lang): Likewise. | |
284 | * target.c (target_terminal_is_ours): New function. | |
285 | * target.h (target_terminal_is_ours): Declare. | |
286 | ||
5dd05630 MR |
287 | 2016-01-07 Maciej W. Rozycki <macro@imgtec.com> |
288 | ||
289 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
290 | to `err' in the little-endian leg. | |
291 | ||
f5aa3069 YQ |
292 | 2016-01-06 Yao Qi <yao.qi@linaro.org> |
293 | ||
294 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
295 | lines below. | |
296 | (thumb_get_next_pcs_raw): Make it static. | |
297 | (arm_get_next_pcs_raw): Likewise. | |
298 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
299 | declaration. | |
300 | (arm_get_next_pcs_raw): Likewise. | |
301 | ||
bf69ad5a MF |
302 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
303 | ||
304 | * version.in: Change cvs to git. | |
305 | ||
66750332 MF |
306 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
307 | ||
308 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
309 | ||
976102cd PA |
310 | 2016-01-05 Pedro Alves <palves@redhat.com> |
311 | ||
312 | PR sim/13418 | |
313 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
314 | the target is powerpc*. | |
fa89c126 PA |
315 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
316 | of WITH_SIM. | |
976102cd PA |
317 | * configure: Regenerate. |
318 | * config.in: Regenerate. | |
319 | ||
43368e1d MM |
320 | 2016-01-04 Markus Metzger <markus.t.metzger@intel.com> |
321 | ||
322 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
323 | ||
32273fe6 MF |
324 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
325 | ||
326 | * configure.tgt (powerpc*-*-*): Delete test call and | |
327 | always assign gdb_sim. | |
328 | ||
618f726f JB |
329 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
330 | ||
331 | Update year range in copyright notice of all files. | |
332 | ||
edd88788 JB |
333 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
334 | ||
335 | * top.c (print_gdb_version): Change copyright year in version | |
336 | message. | |
337 | ||
0f7b3ef4 | 338 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
aec47d1d | 339 | |
0f7b3ef4 | 340 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 341 | |
0f7b3ef4 | 342 | For older changes see ChangeLog-2015. |
c906108c SS |
343 | \f |
344 | Local Variables: | |
345 | mode: change-log | |
346 | left-margin: 8 | |
347 | fill-column: 74 | |
348 | version-control: never | |
57da7796 | 349 | coding: utf-8 |
c906108c | 350 | End: |