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