Commit | Line | Data |
---|---|---|
e352bf0a PA |
1 | 2016-02-11 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * Makefile.in (check-parallel): New rule. | |
4 | ||
bec2ab5a SM |
5 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
6 | ||
7 | * arm-tdep.c (arm_skip_prologue): Remove unused variables. | |
8 | (arm_analyze_prologue): Likewise. | |
9 | (arm_scan_prologue): Likewise. | |
10 | (arm_m_exception_prev_register): Likewise. | |
11 | (arm_copy_block_xfer): Likewise. | |
12 | (thumb2_copy_block_xfer): Likewise. | |
13 | (arm_decode_miscellaneous): Likewise. | |
14 | (arm_decode_ld_st_word_ubyte): Likewise. | |
15 | (arm_decode_svc_copro): Likewise. | |
16 | (thumb2_decode_svc_copro): Likewise. | |
17 | (thumb_copy_16bit_ldr_literal): Likewise. | |
18 | (thumb_copy_pop_pc_16bit): Likewise. | |
19 | (decode_thumb_32bit_ld_mem_hints): Likewise. | |
20 | (arm_show_force_mode): Likewise. | |
21 | (_initialize_arm_tdep): Likewise. | |
22 | (arm_record_strx): Likewise. | |
23 | (arm_record_extension_space): Likewise. | |
24 | (arm_record_data_proc_misc_ld_str): Likewise. | |
25 | (arm_record_exreg_ld_st_insn): Likewise. | |
26 | (arm_record_vfp_data_proc_insn): Likewise. | |
27 | (arm_record_coproc_data_proc): Likewise. | |
28 | (thumb_record_misc): Likewise. | |
29 | (thumb_record_ldm_stm_swi): Likewise. | |
30 | (thumb2_record_ld_st_dual_ex_tbb): Likewise. | |
31 | (thumb2_record_ld_mem_hints): Likewise. | |
32 | (thumb2_record_lmul_lmla_div): Likewise. | |
33 | (thumb2_record_asimd_struct_ld_st): Likewise. | |
34 | (arm_process_record): Likewise. | |
35 | ||
2ba163c8 SM |
36 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
37 | ||
38 | * arm-tdep.c (arm_displaced_step_copy_insn): Remove. | |
39 | (ARM displaced stepping support): Remove reference to | |
40 | arm_displaced_step_copy_insn in comment. | |
41 | * arm-tdep.h (arm_displaced_step_copy_insn): Remove. | |
42 | * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove | |
43 | reference to arm_displaced_step_copy_insn in comment. | |
44 | ||
615234c1 SM |
45 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
46 | ||
47 | * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn. | |
48 | (thumb_copy_b): Likewise. | |
49 | (arm_decode_b_bl_ldmstm): Likewise. | |
50 | (thumb_copy_16bit_ldr_literal): Likewise. | |
51 | (thumb_copy_pop_pc_16bit): Likewise. | |
52 | ||
82e9becd AT |
53 | 2016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com> |
54 | ||
55 | * tracepoint.c (encode_actions_1): Use target_gdbarch () rather | |
56 | than loc->gdbarch. | |
57 | ||
5ac87a99 MK |
58 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
59 | ||
60 | * tracefile-tfile.c (trace_tdesc): New static variable. | |
61 | (tfile_open): Clear trace_tdesc, call target_find_description. | |
62 | (tfile_interp_line): Recognize tdesc lines. | |
63 | (tfile_close): Clear trace_tdesc. | |
64 | (tfile_xfer_partial_features): New function. | |
65 | (tfile_xfer_partial): Call tfile_xfer_partial_features. | |
66 | (tfile_append_tdesc_line): New function. | |
67 | ||
18d3cec5 MK |
68 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
69 | ||
70 | * ctf.c (ctf_write_tdesc): New function. | |
71 | (ctf_write_ops): Wire in ctf_write_tdesc. | |
72 | * tracefile-tfile.c (tfile_write_tdesc): New function. | |
73 | (tfile_write_ops): Wire in tfile_write_tdesc. | |
74 | * tracefile.c (trace_save): Call write_tdesc method. | |
75 | * tracefile.h (struct trace_file_write_ops): Add write_tdesc method. | |
76 | * xml-tdesc.c (target_fetch_description_xml): New function. | |
77 | * xml-tdesc.h: Add target_fetch_description_xml prototype. | |
78 | ||
550dc4e2 SM |
79 | 2016-02-10 Simon Marchi <simon.marchi@ericsson.com> |
80 | ||
81 | * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo. | |
82 | (arm_decode_dp_misc): Likewise. | |
83 | ||
62e5fd57 MK |
84 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
85 | ||
86 | * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function. | |
87 | (amd64_init_abi): Fill ax_pseudo_register_collect hook. | |
88 | * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove | |
89 | misleading comment. | |
90 | (i386_pseudo_register_write): Ditto. | |
91 | (i386_ax_pseudo_register_collect): New function. | |
92 | (i386_gdbarch_init): Fill ax_pseudo_register_collect hook. | |
93 | * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype. | |
94 | ||
e909d859 MK |
95 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
96 | ||
97 | * tracefile-tfile.c (tfile_fetch_registers): Use g packet order | |
98 | instead of gdb order. | |
99 | ||
473b99e5 MK |
100 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
101 | ||
102 | * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds | |
103 | check. | |
104 | ||
1233c0ba JB |
105 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
106 | ||
107 | * NEWS: Create a new section for the next release branch. | |
108 | Rename the section of the current branch, now that it has | |
109 | been cut. | |
110 | ||
d1dc0942 JB |
111 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
112 | ||
113 | GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a): | |
114 | * version.in: Bump version to 7.11.50.DATE-git. | |
115 | ||
9ef9e6a6 KS |
116 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
117 | ||
118 | PR breakpoints/19546 | |
119 | * breakpoint.c (breakpoint_event_location_empty_p): New function. | |
120 | (update_breakpoints_after_exec, bkpt_re_set): Use this new function | |
121 | instead of event_location_empty_p. | |
122 | ||
39a67dc4 KS |
123 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
124 | ||
125 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use | |
126 | string_to_event_location_basic instead of string_to_event_location. | |
127 | ||
a96e36da KS |
128 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
129 | ||
130 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip | |
131 | leading whitespace and use string_to_event_location_basic instead | |
132 | of new_linespec_location. | |
133 | ||
9f61929f KS |
134 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
135 | ||
136 | PR python/19506 | |
137 | * python/py-breakpoint.c (bppy_init): Use | |
138 | string_to_event_location_basic instead of new_linespec_location. | |
139 | ||
eeb1af43 KS |
140 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
141 | ||
142 | * location.c (string_to_explicit_location): Note that "-p" is | |
143 | reserved for probe locations and return NULL for any input | |
144 | that starts with that. | |
145 | (string_to_event_location): Move "legacy" linespec code to ... | |
146 | (string_to_event_location_basic): ... here. | |
147 | * location.h (string_to_event_location): Update comment. | |
148 | (string_to_event_location_basic): New function. | |
149 | ||
1e94266c SM |
150 | 2016-02-09 Simon Marchi <simon.marchi@ericsson.com> |
151 | ||
152 | * configure.ac: Use AC_CONFIG_FILES instead of passing arguments | |
153 | to AC_OUTPUT. Remove "exit 0" at the end. | |
154 | * configure: Regenerate. | |
155 | ||
2a7f3dff PA |
156 | 2016-02-09 Pedro Alves <palves@redhat.com> |
157 | ||
158 | PR breakpoints/19548 | |
159 | * breakpoint.c (create_overlay_event_breakpoint): Don't update | |
160 | global location list here. | |
161 | (create_longjmp_master_breakpoint) | |
162 | (create_std_terminate_master_breakpoint) | |
163 | (create_exception_master_breakpoint, create_jit_event_breakpoint) | |
164 | (update_breakpoint_locations): | |
165 | (breakpoint_re_set): Update global location list after all | |
166 | breakpoints are re-set. | |
167 | ||
54887903 SM |
168 | 2016-02-08 Simon Marchi <simon.marchi@ericsson.com> |
169 | ||
170 | * remote.c (remote_register_number_and_offset): Remove unused | |
171 | variable(s). | |
172 | (remote_thread_always_alive): Likewise. | |
173 | (remote_update_thread_list): Likewise. | |
174 | (process_initial_stop_replies): Likewise. | |
175 | (remote_start_remote): Likewise. | |
176 | (remote_check_symbols): Likewise. | |
177 | (discard_pending_stop_replies): Likewise. | |
178 | (process_stop_reply): Likewise. | |
179 | (putpkt_binary): Likewise. | |
180 | (getpkt): Likewise. | |
181 | (remote_add_target_side_condition): Likewise. | |
182 | (remote_insert_breakpoint): Likewise. | |
183 | (remote_supports_stopped_by_sw_breakpoint): Likewise. | |
184 | (remote_supports_stopped_by_hw_breakpoint): Likewise. | |
185 | (remote_xfer_partial): Likewise. | |
186 | (remote_read_btrace): Likewise. | |
187 | (remote_async_serial_handler): Likewise. | |
188 | (remote_thread_events): Likewise. | |
189 | (_initialize_remote): Likewise. | |
190 | ||
30914ca8 SM |
191 | 2016-02-07 Simon Marchi <simon.marchi@polymtl.ca> |
192 | ||
193 | * varobj.h (varobj_delete): Remove dellist parameter, update and | |
194 | move documentation here. | |
195 | * varobj.c (struct cpstack, cppush, cppop): Remove. | |
196 | (delete_variable): Remove resultp (first) parameter. | |
197 | (delete_variable_1): Likewise. | |
198 | (varobj_delete): Remove dellist parameter and unused code. | |
199 | (update_dynamic_varobj_children): Adjust varobj_delete call. | |
200 | (update_type_if_necessary): Likewise. | |
201 | (varobj_set_visualizer): Likewise. | |
202 | (varobj_update): Likewise. | |
203 | (value_of_root): Likewise. | |
204 | (varobj_invalidate_iter): Likewise. | |
205 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise. | |
206 | ||
e42e5352 YQ |
207 | 2016-02-04 Yao Qi <yao.qi@linaro.org> |
208 | ||
209 | * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to | |
210 | 0 before handling 'F' and set it back afterwards. | |
211 | ||
6456a18b SM |
212 | 2016-02-02 Simon Marchi <simon.marchi@ericsson.com> |
213 | ||
214 | * ui-out.c (MAX_UI_OUT_LEVELS): Remove. | |
215 | ||
3f2f6cb5 WT |
216 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
217 | ||
218 | * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): | |
219 | New types. | |
220 | (compat_siginfo): New bound fields added. | |
221 | (compat_x32_siginfo): New field added. | |
222 | (cpt_si_addr_lsb): New define. | |
223 | (compat_siginfo_from_siginfo): Use nat_siginfo. | |
224 | (siginfo_from_compat_siginfo): Use nat_siginfo. | |
225 | (compat_x32_siginfo_from_siginfo): Likewise. | |
226 | (siginfo_from_compat_x32_siginfo): Likewise. | |
227 | ||
96b5c49f WT |
228 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
229 | ||
230 | * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd | |
231 | structure to the siginfo if extra_fields contains | |
232 | LINUX_SIGINFO_FIELD_ADDR_BND. | |
233 | ||
190b495d WT |
234 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
235 | ||
236 | * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. | |
237 | * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. | |
238 | * i386-linux-tdep.h (x86_linux_get_siginfo_type): New | |
239 | function. | |
240 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add | |
241 | x86_linux_get_siginfo_type for the amd64 abi. | |
242 | * i386-linux-tdep.c (x86_linux_get_siginfo_type): New | |
243 | function. | |
244 | (i386_linux_init_abi): Add new function at the i386 ABI | |
245 | initialization. | |
246 | ||
43564574 WT |
247 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
248 | ||
249 | * linux-tdep.h (linux_siginfo_extra_field_values): New enum values. | |
250 | (linux_siginfo_extra_fields): New enum type. | |
251 | * linux-tdep.c (linux_get_siginfo_type_with_fields): New function. | |
252 | (linux_get_siginfo_type): Use new function. | |
253 | ||
93813b37 WT |
254 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
255 | ||
256 | * nat/amd64-linux-siginfo.c: New file. | |
257 | * nat/amd64-linux-siginfo.h: New file. | |
258 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. | |
259 | (amd64-linux-siginfo.o): New rule. | |
260 | * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. | |
261 | * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. | |
262 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
263 | (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) | |
264 | (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) | |
265 | (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) | |
266 | (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) | |
267 | (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. | |
268 | ||
5fdf6324 AB |
269 | 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
270 | ||
271 | * value.c (max_value_size): New variable. | |
272 | (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define. | |
273 | (set_max_value_size): New function. | |
274 | (show_max_value_size): New function. | |
275 | (check_type_length_before_alloc): New function. | |
276 | (allocate_value_contents): Call check_type_length_before_alloc. | |
277 | (set_value_enclosing_type): Likewise. | |
278 | (_initialize_values): Add set/show handler for max-value-size. | |
279 | * NEWS: Mention new set/show command. | |
280 | ||
5fa13070 SM |
281 | 2016-01-31 Simon Marchi <simon.marchi@polymtl.ca> |
282 | ||
283 | * varobj.h (struct varobj): Fix typos in comments. | |
284 | (struct lang_varobj_ops): Likewise. | |
285 | * varobj.c (VAROBJ_TABLE_SIZE): Likewise. | |
286 | (varobj_create): Move misplaced comment. | |
287 | ||
a2e3e93f SM |
288 | 2016-01-29 Simon Marchi <simon.marchi@ericsson.com> |
289 | ||
290 | * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces | |
291 | to for include additional lines. | |
292 | * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces. | |
293 | ||
56e374a6 SM |
294 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
295 | ||
296 | * gnulib/import/Makefile.am: Regenerate. | |
297 | * gnulib/import/Makefile.in: Regenerate. | |
298 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
299 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr. | |
300 | ||
8424cc97 SM |
301 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
302 | ||
303 | * remote.c (skip_to_semicolon): Remove. | |
304 | (remote_parse_stop_reply): Use strchrnul instead of | |
305 | skip_to_semicolon. | |
306 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
307 | strchrnul. | |
308 | * gnulib/aclocal.m4: Regenerate. | |
309 | * gnulib/config.in: Regenerate. | |
310 | * gnulib/configure: Regenerate. | |
311 | * gnulib/import/Makefile.am: Regenerate. | |
312 | * gnulib/import/Makefile.in: Regenerate. | |
313 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
314 | * gnulib/import/m4/gnulib-comp.m4: Regenerate. | |
315 | * gnulib/import/m4/rawmemchr.m4: New file. | |
316 | * gnulib/import/m4/strchrnul.m4: New file. | |
317 | * gnulib/import/rawmemchr.c: New file. | |
318 | * gnulib/import/rawmemchr.valgrind: New file. | |
319 | * gnulib/import/strchrnul.c: New file. | |
320 | * gnulib/import/strchrnul.valgrind: New file. | |
321 | ||
4a6a1ed4 YQ |
322 | 2016-01-28 Yao Qi <yao.qi@linaro.org> |
323 | ||
324 | * breakpoint.c (build_target_command_list): Don't call continue | |
325 | if aexpr is NULL. | |
326 | (build_target_condition_list): Likewise. | |
327 | ||
94715c17 KB |
328 | 2016-01-27 Kevin Buettner <kevinb@redhat.com> |
329 | ||
330 | * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 | |
331 | bytes as aggregates. | |
332 | ||
c07af0ab JB |
333 | 2016-01-27 Joel Brobecker <brobecker@adacore.com> |
334 | ||
335 | * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as | |
336 | Linespec Maintainers. | |
337 | ||
41548caa SM |
338 | 2016-01-26 Simon Marchi <simon.marchi@ericsson.com> |
339 | ||
340 | * common/common-utils.c (skip_spaces): Fix comment. | |
341 | (skip_to_space_const): Likewise. | |
342 | ||
4d18591b YQ |
343 | 2016-01-25 Yao Qi <yao.qi@linaro.org> |
344 | ||
345 | * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): | |
346 | Remove argument pc. Get pc by regcache_read_pc. Callers updated. | |
347 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
348 | (thumb_get_next_pcs_raw): Likewise. | |
349 | (arm_get_next_pcs_raw): Likewise. | |
350 | (arm_get_next_pcs): Remove argument pc. Callers updated. | |
351 | * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. | |
352 | ||
a579cd9a MW |
353 | 2016-01-25 Mark Wielaard <mjw@redhat.com> |
354 | ||
355 | * ada-lang.c (ada_evaluate_subexp): Add proper else block. | |
356 | * c-typeprint.c (c_type_print_base): Fix misleading indentation of | |
357 | if statement. | |
358 | * inflow.c (child_terminal_ours_1): Fix misleading indentation of | |
359 | statement block by introducing an else. | |
360 | * linux-record.c (record_linux_sockaddr): Fix misleading indentation | |
361 | of return statements. | |
362 | (record_linux_msghdr): Likewise. | |
363 | ||
a2077e25 PA |
364 | 2016-01-25 Pedro Alves <palves@redhat.com> |
365 | ||
366 | PR threads/19461 | |
367 | * infrun.c (handle_inferior_event_1) <fork/vfork>: Update | |
368 | parent/child running states. | |
369 | ||
1d2736d4 PA |
370 | 2016-01-25 Pedro Alves <palves@redhat.com> |
371 | ||
372 | PR gdb/19494 | |
373 | * linux-nat.c (kill_one_lwp): New, factored out from ... | |
374 | (kill_callback): ... this. | |
375 | (kill_wait_callback): New, factored out from ... | |
376 | (kill_wait_one_lwp): ... this. | |
377 | (kill_unfollowed_fork_children): New function. | |
378 | (linux_nat_kill): Use it. | |
379 | ||
b2bae2f7 JB |
380 | 2016-01-22 John Baldwin <jhb@FreeBSD.org> |
381 | ||
382 | * fbsd-nat.c (fbsd_pid_to_str): Adjust string format. | |
383 | ||
d86feca3 YQ |
384 | 2016-01-22 Yao Qi <yao.qi@linaro.org> |
385 | ||
386 | * arm-linux-nat.c (fetch_fpregs): Call perror_with_name | |
387 | instead of warning. | |
388 | (store_fpregs, fetch_regs, store_regs): Likewise. | |
389 | (fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
390 | (fetch_vfp_regs, store_vfp_regs): Likewise. | |
391 | ||
b35a8b2f DE |
392 | 2016-01-21 Doug Evans <dje@google.com> |
393 | ||
394 | * breakpoint.c (init_breakpoint_sal): Add comment. | |
395 | ||
f906b857 MK |
396 | 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net> |
397 | ||
398 | * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection. | |
399 | ||
4a099de2 AB |
400 | 2016-01-21 Andrew Burgess <andrew.burgess@embecosm.com> |
401 | ||
402 | * disasm.c (maybe_add_dis_line_entry): Rename to... | |
403 | (add_dis_line_entry): ...this, and update header comment. | |
404 | (do_mixed_source_and_assembly): Now use add_dis_line_entry. | |
405 | ||
a994041d PA |
406 | 2016-01-21 Pedro Alves <palves@redhat.com> |
407 | ||
408 | * Makefile.in (COMPILER_CFLAGS): New. | |
409 | (CXXFLAGS): Get it from configure. | |
410 | (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS | |
411 | instead of CFLAGS. | |
412 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST | |
413 | COMPILER_CFLAGS. | |
414 | * configure: Regenerate. | |
415 | ||
305e13e6 JB |
416 | 2016-01-21 Joel Brobecker <brobecker@adacore.com> |
417 | ||
418 | * location.h (new_address_location): Add new parameters | |
419 | "addr_string" and "addr_string_len". | |
420 | (get_address_string_location): Add declaration. | |
421 | * location.c (new_address_location): Add new parameters | |
422 | "addr_string" and "addr_string_len". If not NULL, store | |
423 | a copy of the addr_string in the new location as well. | |
424 | (get_address_string_location): New function. | |
425 | (string_to_event_location): Update call to new_address_location. | |
426 | * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>: | |
427 | Save the event location in the parser's state before | |
428 | passing it to convert_address_location_to_sals. | |
429 | * breakpoint.c (create_thread_event_breakpoint): Update call | |
430 | to new_address_location. | |
431 | (init_breakpoint_sal): Get the event location's string, if any, | |
432 | and use it to update call to new_address_location. | |
433 | * python/py-finishbreakpoint.c (bpfinishpy_init): | |
434 | Update call to new_address_location. | |
435 | * spu-tdep.c (spu_catch_start): Likewise. | |
436 | ||
437 | * config/djgpp/fnchange.lst: Add entries for | |
438 | gdb/testsuite/gdb.base/break-fun-addr1.c and | |
439 | gdb/testsuite/gdb.base/break-fun-addr2.c. | |
440 | ||
f7a6a40d YQ |
441 | 2016-01-21 Yao Qi <yao.qi@linaro.org> |
442 | ||
443 | * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter | |
444 | is_thumb and set it according to CPSR saved on the stack. | |
445 | (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to | |
446 | arm_linux_sigreturn_next_pc. | |
447 | ||
5f5dfff6 SM |
448 | 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
449 | ||
450 | * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__): | |
451 | Fix enumerators sort key function. | |
452 | ||
be56871e JB |
453 | 2016-01-20 Joel Brobecker <brobecker@adacore.com> |
454 | ||
b12e5614 | 455 | * printcmd.c (print_scalar_formatted): Move binary operator from |
be56871e JB |
456 | end of line to beginning of next line. Adjust formatting |
457 | accordingly. | |
458 | ||
f2feec98 JB |
459 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
460 | ||
461 | * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of | |
462 | "len" with sysctl. | |
463 | ||
20a0aab3 JB |
464 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
465 | ||
466 | * fbsd-tdep.c (find_stop_signal): Remove. | |
467 | (struct fbsd_collect_regset_section_cb) <lwp>: New field. | |
468 | <stop_signal>: New field. | |
469 | <abort_iteration>: New field. | |
470 | (fbsd_collect_regset_section_cb): Use new fields. | |
471 | (fbsd_collect_thread_registers): New function. | |
472 | (struct fbsd_corefile_thread_data): New structure. | |
473 | (fbsd_corefile_thread): New function. | |
474 | (fbsd_make_corefile_notes): Use new function to dump notes for each | |
475 | non-exited thread in a process. | |
476 | ||
6e9567fe JB |
477 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
478 | ||
479 | * configure.ac: Check for support for LWP names on FreeBSD. | |
480 | * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp. | |
481 | [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] | |
482 | (fbsd_fetch_kinfo_proc): Move function earlier. | |
483 | [PT_LWPINFO] (fbsd_thread_alive): New function. | |
484 | [PT_LWPINFO] (fbsd_pid_to_str): New function. | |
485 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function. | |
486 | [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function. | |
487 | [PT_LWPINFO] (fbsd_add_threads): New function. | |
488 | [PT_LWPINFO] (fbsd_update_thread_list): New function. | |
489 | [PT_LWPINFO] New variable super_resume. | |
490 | [PT_LWPINFO] (resume_one_thread_cb): New function. | |
491 | [PT_LWPINFO] (resume_all_threads_cb): New function. | |
492 | [PT_LWPINFO] (fbsd_resume): New function. | |
493 | (fbsd_remember_child): Save full ptid instead of plain pid. | |
494 | (fbsd_is_child_pending): Return ptid of saved child process. | |
495 | (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on | |
496 | first stop. | |
497 | [PT_LWP_EVENTS] Handle LWP events. | |
498 | [TDP_RFPPWAIT] Include LWP in child ptid. | |
499 | (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events. | |
500 | (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events. | |
501 | Add threads for existing processes. | |
502 | (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to | |
503 | "fbsd_thread_alive". | |
504 | Set "to_pid_to_str" to "fbsd_pid_to_str". | |
505 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to | |
506 | "fbsd_thread_name". | |
507 | [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list". | |
508 | Set "to_has_thread_control" to "tc_schedlock". | |
509 | Set "to_resume" to "fbsd_resume". | |
510 | (_initialize_fbsd_nat): New function. | |
511 | * configure: Regenerate. | |
512 | * config.in: Regenerate. | |
513 | ||
94309df7 JB |
514 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
515 | ||
516 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use | |
517 | get_ptrace_pid. | |
518 | (amd64bsd_store_inferior_registers): Use get_ptrace_pid. | |
519 | (amd64bsd_dr_get): Use get_ptrace_pid. | |
520 | (amd64bsd_dr_set): Use get_ptrace_pid. | |
521 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid. | |
522 | (i386bsd_store_inferior_registers): Use get_ptrace_pid. | |
523 | (i386bsd_dr_get): Use get_ptrace_pid. | |
524 | (i386bsd_dr_set): Use get_ptrace_pid. | |
525 | * inf-ptrace.c (get_ptrace_pid): Export. | |
526 | * inf-ptrace.h (get_ptrace_pid): Declare. | |
527 | * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id. | |
528 | (ppcfbsd_store_inferior_registers): Use lwp id. | |
529 | ||
79117428 JB |
530 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
531 | ||
532 | * fbsd_tdep.c (fbsd_core_pid_to_str): New function. | |
533 | (fbsd_core_thread_name): New function. | |
534 | (fbsd_init_abi): Add "core_pid_to_str" gdbarch method. | |
535 | Add "core_thread_name" gdbarch method. | |
536 | ||
4dfc5dbc JB |
537 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
538 | ||
539 | * corelow.c (core_thread_name): New function. | |
540 | (init_core_ops): Use "core_thread_name" for the "to_thread_name" | |
541 | target op. | |
542 | * gdbarch.sh (core_thread_name): New gdbarch callback. | |
543 | * gdbarch.h: Re-generate. | |
544 | * gdbarch.c: Re-generate. | |
545 | ||
10e3ed90 SM |
546 | 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca> |
547 | ||
548 | * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly | |
549 | convert gdb.Value to integer type using int(). | |
550 | ||
a6e69c1f JB |
551 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
552 | ||
553 | * configure.ac: Include <sys/types.h when checking for "r_fs" in | |
554 | "struct reg". | |
555 | * configure: Regenerate. | |
556 | ||
37e42b4f PA |
557 | 2016-01-19 Pedro Alves <palves@redhat.com> |
558 | ||
559 | * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. | |
560 | * break-catch-throw.c (re_set_exception_catchpoint): Pass the | |
561 | current program space down to linespec decoding and breakpoint | |
562 | location updating. | |
563 | * breakpoint.c (parse_breakpoint_sals): Adjust calls to | |
564 | decode_line_full. | |
565 | (until_break_command): Adjust calls to decode_line_1. | |
566 | (base_breakpoint_decode_location, bkpt_decode_location): Add | |
567 | 'search_pspace' parameter. Pass it along. | |
568 | (bkpt_probe_create_sals_from_location): Adjust calls to | |
569 | parse_probes. | |
570 | (tracepoint_decode_location, tracepoint_probe_decode_location) | |
571 | (strace_marker_decode_location): Add 'search_pspace' parameter. | |
572 | Pass it along. | |
573 | (all_locations_are_pending): Rewrite to take a breakpoint and | |
574 | program space as arguments instead. | |
575 | (hoist_existing_locations): New function. | |
576 | (update_breakpoint_locations): Add 'filter_pspace' parameter. Use | |
577 | hoist_existing_locations instead of always removing all locations, | |
578 | and adjust to all_locations_are_pending change. | |
579 | (location_to_sals): Add 'search_pspace' parameter. Pass it along. | |
580 | Don't disable the breakpoint if there are other locations in | |
581 | another program space. | |
582 | (breakpoint_re_set_default): Adjust to pass down the current | |
583 | program space as filter program space. | |
584 | (decode_location_default): Add 'search_pspace' parameter and pass | |
585 | it along. | |
586 | (prepare_re_set_context): Don't switch program space here. | |
587 | (breakpoint_re_set): Use save_current_space_and_thread instead of | |
588 | save_current_program_space. | |
589 | * breakpoint.h (struct breakpoint_ops) <decode_location>: Add | |
590 | 'search_pspace' parameter. | |
591 | (update_breakpoint_locations): Add 'filter_pspace' parameter. | |
592 | * cli/cli-cmds.c (edit_command, list_command): Adjust calls to | |
593 | decode_line_1. | |
594 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current | |
595 | program space as filter program space. | |
596 | * linespec.c (struct linespec_state) <search_pspace>: New field. | |
597 | (create_sals_line_offset, convert_explicit_location_to_sals) | |
598 | (parse_linespec): Pass the search program space down. | |
599 | (linespec_state_constructor): Add 'search_pspace' parameter. | |
600 | Store it. | |
601 | (linespec_parser_new): Add 'search_pspace' parameter and pass it | |
602 | along. | |
603 | (linespec_lex_to_end): Adjust. | |
604 | (decode_line_full, decode_line_1): Add 'search_pspace' parameter | |
605 | and pass it along. | |
606 | (decode_line_with_last_displayed): Adjust. | |
607 | (collect_symtabs_from_filename, symtabs_from_filename): New | |
608 | 'search_pspace' parameter. Use it. | |
609 | (find_function_symbols): Pass the search program space down. | |
610 | * linespec.h (decode_line_1, decode_line_full): Add | |
611 | 'search_pspace' parameter. | |
612 | * probe.c (parse_probes_in_pspace): New function, factored out | |
613 | from ... | |
614 | (parse_probes): ... this. Add 'search_pspace' parameter and use | |
615 | it. | |
616 | * probe.h (parse_probes): Add pspace' parameter. | |
617 | * python/python.c (gdbpy_decode_line): Adjust. | |
618 | * tracepoint.c (scope_info): Adjust. | |
619 | ||
100b4f2e MR |
620 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
621 | ||
622 | * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS | |
623 | instruction support. | |
624 | (micromips_next_pc): Likewise. | |
625 | (micromips_scan_prologue): Likewise. | |
626 | (micromips_deal_with_atomic_sequence): Likewise. | |
627 | (micromips_stack_frame_destroyed_p): Likewise. | |
628 | (mips_breakpoint_from_pc): Likewise. | |
629 | ||
3f7f3650 MR |
630 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
631 | ||
632 | * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass | |
633 | unshifted 16-bit microMIPS instruction word to `mips_insn_size'. | |
634 | ||
f303dbd6 PA |
635 | 2016-01-18 Pedro Alves <palves@redhat.com> |
636 | ||
637 | * NEWS: Mention that GDB now displays the ID and name of the | |
638 | thread that hit a breakpoint or received a signal. | |
639 | * break-catch-sig.c (signal_catchpoint_print_it): Use | |
640 | maybe_print_thread_hit_breakpoint. | |
641 | * break-catch-syscall.c (print_it_catch_syscall): Likewise. | |
642 | * break-catch-throw.c (print_it_exception_catchpoint): Likewise. | |
643 | * breakpoint.c (maybe_print_thread_hit_breakpoint): New function. | |
644 | (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib) | |
645 | (print_it_catch_exec, print_it_ranged_breakpoint) | |
646 | (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it): | |
647 | Use maybe_print_thread_hit_breakpoint. | |
648 | * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare. | |
649 | * gdbthread.h (show_thread_that_caused_stop): Declare. | |
650 | * infrun.c (print_signal_received_reason): Print which thread | |
651 | received signal. | |
652 | * thread.c (show_thread_that_caused_stop): New function. | |
653 | ||
eb0edac8 GB |
654 | 2016-01-18 Gary Benson <gbenson@redhat.com> |
655 | ||
656 | * nat/linux-namespaces.c (do_fork): New function. | |
657 | (linux_mntns_get_helper): Use the above. | |
658 | ||
dc365182 JH |
659 | 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change) |
660 | ||
661 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
662 | PR gdb/19208 | |
663 | * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name | |
664 | if the function has no name. | |
665 | ||
f74f61cb SL |
666 | 2016-01-15 Sandra Loosemore <sandra@codesourcery.com> |
667 | ||
668 | * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET): | |
669 | Conditionalize for Windows host. | |
670 | (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET. | |
671 | (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32. | |
672 | (phony_iconv_open): Handle both UTF-32 endiannesses. | |
673 | (phony_iconv): Likewise. Check for output overflow and clean up | |
674 | out-of-input cases. Correct adjustment to input buffer pointer. | |
675 | (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match | |
676 | phony_iconv_open. | |
677 | ||
71ef29a8 PA |
678 | 2016-01-15 Pedro Alves <palves@redhat.com> |
679 | ||
680 | * NEWS: Mention star wildcard ranges. | |
681 | * cli/cli-utils.c (get_number_or_range): Check state->in_range first. | |
682 | (number_range_setup_range): New function. | |
683 | * cli/cli-utils.h (number_range_setup_range): New declaration. | |
684 | * thread.c (thread_apply_command): Support star TID ranges. | |
685 | * tid-parse.c (tid_range_parser_finished) | |
686 | (tid_range_parser_string, tid_range_parser_skip) | |
687 | (get_tid_or_range, get_tid_or_range): Handle | |
688 | TID_RANGE_STATE_STAR_RANGE. | |
689 | (tid_range_parser_star_range): New function. | |
690 | * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>: | |
691 | New value. | |
692 | (tid_range_parser_star_range): New declaration. | |
693 | ||
3f5b7598 PA |
694 | 2016-01-15 Pedro Alves <palves@redhat.com> |
695 | ||
696 | * thread.c (thread_apply_command): Use the tid range parser to | |
697 | advance past the thread ID list. | |
698 | * tid-parse.c (get_positive_number_trailer): New function. | |
699 | (parse_thread_id): Use it. | |
700 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
701 | thread ID error. | |
702 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
703 | throwing invalid thread ID error. | |
704 | ||
e7cf25a8 YQ |
705 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
706 | ||
707 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
708 | Declare. | |
709 | (arm_linux_get_next_pcs_ops): Install | |
710 | arm_linux_get_next_pcs_syscall_next_pc. | |
711 | (arm_linux_syscall_next_pc): Change to ... | |
712 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
713 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
714 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
715 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
716 | call tdep->syscall_next_pc. | |
717 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
718 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
719 | ||
c0518081 YQ |
720 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
721 | ||
722 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
723 | * thread.c (do_captured_thread_select): Cast to const char *. | |
724 | ||
1b451dda YQ |
725 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
726 | ||
727 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
728 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
729 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
730 | instead. | |
731 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
732 | <arm_thumb2_breakpoint>: Remove. | |
733 | <has_thumb2_breakpoint>: New field. | |
734 | (arm_get_next_pcs_ctor): Update declaration. | |
735 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
736 | 1 to arm_get_next_pcs_ctor. | |
737 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
738 | arm_get_next_pcs_ctor. | |
739 | ||
bc06e0b1 UW |
740 | 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
741 | ||
742 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
743 | ||
4e7b8bea YQ |
744 | 2016-01-13 Yao Qi <yao.qi@linaro.org> |
745 | ||
746 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
747 | byte_order_for_code to read instruction. | |
748 | ||
663f6d42 PA |
749 | 2016-01-13 Pedro Alves <palves@redhat.com> |
750 | ||
751 | * NEWS: Mention $_gthread. | |
752 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
753 | $_gthread. | |
754 | * thread.c (thread_num_make_value_helper): New function. | |
755 | (thread_id_make_value): Delete. | |
756 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
757 | New. | |
758 | (thread_funcs): Adjust. | |
759 | (gthread_funcs): New. | |
760 | (_initialize_thread): Register $_gthread variable. | |
761 | ||
c84f6bbf PA |
762 | 2016-01-13 Pedro Alves <palves@redhat.com> |
763 | ||
764 | * NEWS: Mention "info threads -gid". | |
765 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
766 | threads -gid". | |
767 | * thread.c (info_threads_command): Handle "-gid". | |
768 | (_initialize_thread): Adjust "info threads" help string to mention | |
769 | -gid. | |
770 | ||
22a02324 PA |
771 | 2016-01-13 Pedro Alves <palves@redhat.com> |
772 | ||
773 | * NEWS: Mention InferiorThread.global_num. | |
774 | * python/py-infthread.c (thpy_get_global_num): New function. | |
775 | (thread_object_getset): Register "global_num". | |
776 | ||
5d5658a1 PA |
777 | 2016-01-13 Pedro Alves <palves@redhat.com> |
778 | ||
779 | * NEWS: Mention that thread IDs are now per inferior and global | |
780 | thread IDs. | |
781 | * Makefile.in (SFILES): Add tid-parse.c. | |
782 | (COMMON_OBS): Add tid-parse.o. | |
783 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
784 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
785 | * breakpoint.c (insert_breakpoint_locations) | |
786 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
787 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
788 | (check_longjmp_breakpoint_for_call_dummy) | |
789 | (set_momentary_breakpoint): Adjust to use global IDs. | |
790 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
791 | (until_break_command, longjmp_bkpt_dtor) | |
792 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
793 | to use global IDs. | |
794 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
795 | ptid_to_global_thread_id. | |
796 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
797 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
798 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
799 | (thread_id_to_pid): Rename thread_id_to_pid to | |
800 | global_thread_id_to_ptid. | |
801 | (pid_to_thread_id): Rename to ... | |
802 | (ptid_to_global_thread_id): ... this. | |
803 | (valid_thread_id): Rename to ... | |
804 | (valid_global_thread_id): ... this. | |
805 | (find_thread_id): Rename to ... | |
806 | (find_thread_global_id): ... this. | |
807 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
808 | (print_thread_info): Add comment. | |
809 | * tid-parse.h: New file. | |
810 | * tid-parse.c: New file. | |
811 | * infcmd.c (step_command_fsm_prepare) | |
812 | (step_command_fsm_should_stop): Adjust to use the global thread | |
813 | ID. | |
814 | (until_next_command, until_next_command) | |
815 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
816 | ID. | |
817 | (attach_post_wait): Adjust to check the inferior number too. | |
818 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
819 | * infrun.c (handle_signal_stop) | |
820 | (insert_exception_resume_breakpoint) | |
821 | (insert_exception_resume_from_probe): Adjust to use the global | |
822 | thread ID. | |
823 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
824 | * remote.c (process_initial_stop_replies): Also consider the | |
825 | inferior number. | |
826 | * target.c (target_pre_inferior): Clear the inferior's highest | |
827 | thread num. | |
828 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
829 | global thread ID. | |
830 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
831 | the thread's global ID and the thread's per-inferior ID. | |
832 | (add_thread_silent): Adjust. | |
833 | (find_thread_global_id): New. | |
834 | (find_thread_id): Make static. Adjust to rename. | |
835 | (valid_thread_id): Rename to ... | |
836 | (valid_global_thread_id): ... this. | |
837 | (pid_to_thread_id): Rename to ... | |
838 | (ptid_to_global_thread_id): ... this. | |
839 | (thread_id_to_pid): Rename to ... | |
840 | (global_thread_id_to_ptid): ... this. Adjust. | |
841 | (first_thread_of_process): Adjust. | |
842 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
843 | (should_print_thread): New function. | |
844 | (print_thread_info): Rename to ... | |
845 | (print_thread_info_1): ... this, and add new show_global_ids | |
846 | parameter. Handle it. Iterate over inferiors. | |
847 | (print_thread_info): Reimplement as wrapper around | |
848 | print_thread_info_1. | |
849 | (show_inferior_qualified_tids): New function. | |
850 | (print_thread_id): Use it. | |
851 | (tp_array_compar): Compare inferior numbers too. | |
852 | (thread_apply_command): Use tid_range_parser. | |
853 | (do_captured_thread_select): Use parse_thread_id. | |
854 | (thread_id_make_value): Adjust. | |
855 | (_initialize_thread): Adjust "info threads" help string. | |
856 | * varobj.c (struct varobj_root): Update comment. | |
857 | (varobj_create): Adjust to use global thread IDs. | |
858 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
859 | * windows-tdep.c (display_tib): No longer accept an argument. | |
860 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
861 | * cli/cli-utils.h (get_number_trailer): Declare. | |
862 | (get_number_const): Adjust documentation. | |
863 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
864 | thread IDs. | |
865 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
866 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
867 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
868 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
869 | Likewise. | |
870 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
871 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
872 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
873 | per-inferior thread ID. | |
874 | (thread_object_getset): Update comment of "num". | |
875 | ||
43792cf0 PA |
876 | 2016-01-13 Pedro Alves <palves@redhat.com> |
877 | ||
878 | * breakpoint.c (remove_threaded_breakpoints) | |
879 | (print_one_breakpoint_location): Use print_thread_id. | |
880 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
881 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
882 | * common/print-utils.c (CELLSIZE): Delete. | |
883 | (get_cell): Rename to ... | |
884 | (get_print_cell): ... this and made extern. Adjust call callers. | |
885 | Adjust to use PRINT_CELL_SIZE. | |
886 | * common/print-utils.h (get_print_cell): Declare. | |
887 | (PRINT_CELL_SIZE): New. | |
888 | * gdbthread.h (print_thread_id): Declare. | |
889 | * infcmd.c (signal_command): Use print_thread_id. | |
890 | * inferior.c (print_inferior): Use print_thread_id. | |
891 | * infrun.c (handle_signal_stop) | |
892 | (insert_exception_resume_breakpoint) | |
893 | (insert_exception_resume_from_probe) | |
894 | (print_signal_received_reason): Use print_thread_id. | |
895 | * record-btrace.c (record_btrace_info) | |
896 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
897 | (record_btrace_step_thread, record_btrace_wait): Use | |
898 | print_thread_id. | |
899 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
900 | (print_thread_id): New function. | |
901 | (thread_apply_command): Use print_thread_id. | |
902 | (thread_command, thread_find_command, do_captured_thread_select): | |
903 | Use print_thread_id. | |
904 | ||
84654457 PA |
905 | 2016-01-13 Pedro Alves <palves@redhat.com> |
906 | ||
907 | * NEWS: Mention InferiorThread.inferior. | |
908 | * python/py-infthread.c (thpy_get_inferior): New. | |
909 | (thread_object_getset): Register "inferior". | |
910 | ||
e3940304 PA |
911 | 2016-01-13 Pedro Alves <palves@redhat.com> |
912 | ||
913 | * NEWS: Mention $_inferior. | |
914 | * inferior.c (inferior_id_make_value): New. | |
915 | (inferior_funcs): New. | |
916 | (_initialize_inferior): Create $_inferior variable. | |
917 | ||
a911d87a PA |
918 | 2016-01-13 Pedro Alves <palves@redhat.com> |
919 | ||
920 | PR breakpoints/19388 | |
921 | * frame.c (get_current_frame): Use validate_registers_access. | |
922 | * gdbthread.h (validate_registers_access): Declare. | |
923 | * infrun.c (validate_siginfo_access): Delete. | |
924 | (siginfo_value_read, siginfo_value_write): Use | |
925 | validate_registers_access. | |
926 | * thread.c (validate_registers_access): New function. | |
927 | ||
82075af2 JS |
928 | 2016-01-12 Josh Stone <jistone@redhat.com> |
929 | Philippe Waroquiers <philippe.waroquiers@skynet.be> | |
930 | ||
931 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
932 | syscall_entry and syscall_return stop reasons. Mention GDB | |
933 | support for remote catch syscall. | |
934 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
935 | (remote_set_syscall_catchpoint): New function. | |
936 | (remote_protocol_features): New element for QCatchSyscalls. | |
937 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
938 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
939 | (_initialize_remote): Config QCatchSyscalls. | |
940 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
941 | ||
d18547d8 YQ |
942 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
943 | ||
944 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
945 | to gdb_byte * and pass to linux_fork_to_function. | |
946 | ||
ba4dd7c4 YQ |
947 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
948 | ||
949 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
950 | of argument 'function'. | |
951 | (linux_grandchild_function): Change return type to 'int'. | |
952 | Change child_stack's type to 'void *'. | |
953 | (linux_child_function): Likewise. | |
954 | ||
bc504a31 PA |
955 | 2016-01-12 Pedro Alves <palves@redhat.com> |
956 | ||
957 | Remove use of the registered trademark symbol throughout. | |
958 | ||
5eddd578 TS |
959 | 2016-01-12 Thomas Schwinge <thomas@codesourcery.com> |
960 | ||
961 | * reply_mig_hack.awk: Rewrite one regular expression. | |
962 | ||
b835bb52 MF |
963 | 2016-01-11 Mike Frysinger <vapier@gentoo.org> |
964 | ||
965 | * acinclude.m4: Include new warning.m4 file. | |
966 | * configure: Regenerated. | |
967 | * configure.ac: Move all warning logic ... | |
968 | * warning.m4: ... here. | |
969 | ||
2f99e8fc YQ |
970 | 2016-01-08 Yao Qi <yao.qi@linaro.org> |
971 | ||
972 | * extension.c: Include target.h. | |
973 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
974 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
975 | returns false. | |
976 | (restore_active_ext_lang): Likewise. | |
977 | * target.c (target_terminal_is_ours): New function. | |
978 | * target.h (target_terminal_is_ours): Declare. | |
979 | ||
5dd05630 MR |
980 | 2016-01-07 Maciej W. Rozycki <macro@imgtec.com> |
981 | ||
982 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
983 | to `err' in the little-endian leg. | |
984 | ||
f5aa3069 YQ |
985 | 2016-01-06 Yao Qi <yao.qi@linaro.org> |
986 | ||
987 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
988 | lines below. | |
989 | (thumb_get_next_pcs_raw): Make it static. | |
990 | (arm_get_next_pcs_raw): Likewise. | |
991 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
992 | declaration. | |
993 | (arm_get_next_pcs_raw): Likewise. | |
994 | ||
bf69ad5a MF |
995 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
996 | ||
997 | * version.in: Change cvs to git. | |
998 | ||
66750332 MF |
999 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
1000 | ||
1001 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
1002 | ||
976102cd PA |
1003 | 2016-01-05 Pedro Alves <palves@redhat.com> |
1004 | ||
1005 | PR sim/13418 | |
1006 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
1007 | the target is powerpc*. | |
fa89c126 PA |
1008 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
1009 | of WITH_SIM. | |
976102cd PA |
1010 | * configure: Regenerate. |
1011 | * config.in: Regenerate. | |
1012 | ||
43368e1d MM |
1013 | 2016-01-04 Markus Metzger <markus.t.metzger@intel.com> |
1014 | ||
1015 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
1016 | ||
32273fe6 MF |
1017 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
1018 | ||
1019 | * configure.tgt (powerpc*-*-*): Delete test call and | |
1020 | always assign gdb_sim. | |
1021 | ||
618f726f JB |
1022 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1023 | ||
1024 | Update year range in copyright notice of all files. | |
1025 | ||
edd88788 JB |
1026 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1027 | ||
1028 | * top.c (print_gdb_version): Change copyright year in version | |
1029 | message. | |
1030 | ||
0f7b3ef4 | 1031 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
aec47d1d | 1032 | |
0f7b3ef4 | 1033 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 1034 | |
0f7b3ef4 | 1035 | For older changes see ChangeLog-2015. |
c906108c SS |
1036 | \f |
1037 | Local Variables: | |
1038 | mode: change-log | |
1039 | left-margin: 8 | |
1040 | fill-column: 74 | |
1041 | version-control: never | |
57da7796 | 1042 | coding: utf-8 |
c906108c | 1043 | End: |