Commit | Line | Data |
---|---|---|
bc0e3f49 AA |
1 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2 | ||
3 | * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL | |
4 | instructions that do nothing or are conditional traps. | |
5 | ||
6d53bec8 AA |
6 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7 | ||
8 | * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store | |
9 | frame func's PC in info->func before any other failure can occur. | |
10 | (s390_frame_this_id): Use frame_id_build_unavailable_stack if | |
11 | info->func has been filled out. | |
12 | ||
f7990f16 PA |
13 | 2016-03-09 Pedro Alves <palves@redhat.com> |
14 | ||
15 | * osabi.c (gdb_osabi_names): Avoid spaces in osabi names. | |
16 | ||
087ccc6a PA |
17 | 2016-03-09 Pedro Alves <palves@redhat.com> |
18 | ||
19 | * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300. | |
20 | ||
114d7832 PA |
21 | 2016-03-09 Pedro Alves <palves@redhat.com> |
22 | ||
23 | * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte | |
24 | order is BFD_ENDIAN_BIG or if the cris version is unsupported. | |
25 | ||
d7a87b5e PA |
26 | 2016-03-09 Pedro Alves <palves@redhat.com> |
27 | ||
28 | * doublest.c: Extend comments. | |
29 | (floatformat_to_doublest, floatformat_from_doublest): Copy the | |
30 | floatformat's total size, not the host type's size. | |
31 | ||
b79497cb PA |
32 | 2016-03-09 Pedro Alves <palves@redhat.com> |
33 | ||
34 | * doublest.c (floatformat_totalsize_bytes): New function. | |
35 | (floatformat_from_type): Assert that the type's length is at least | |
36 | as long as the floatformat's totalsize. | |
37 | * doublest.h (floatformat_totalsize_bytes): New declaration. | |
38 | * gdbtypes.c (arch_float_type): Assert that the type's length is | |
39 | at least as long as the floatformat's totalsize. | |
40 | ||
aacca8a7 PA |
41 | 2016-03-09 Pedro Alves <palves@redhat.com> |
42 | ||
43 | * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double | |
44 | format to floatformats_ieee_double. | |
45 | ||
e6c2f47b PA |
46 | 2016-03-07 Pedro Alves <palves@redhat.com> |
47 | ||
48 | * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL | |
49 | before calling bfd_get_flavour. | |
50 | ||
cb86f388 DC |
51 | 2016-03-05 Pitchumani Sivanupandi <pitchumani.s@atmel.com> |
52 | ||
53 | * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define. | |
54 | (avr_push_dummy_call): Correct last needed argument register. | |
55 | Write MSB of argument into register and subsequent bytes into | |
56 | other registers in decreasing order. | |
57 | ||
f1771dce YQ |
58 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
59 | ||
60 | * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the | |
61 | condition check. Record the right D register number. | |
62 | ||
ca92db2d YQ |
63 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
64 | ||
65 | * arm-tdep.c (arm_record_extension_space): Remove code | |
66 | printing "Process record does not support". | |
67 | (arm_record_data_proc_misc_ld_str): Likewise. | |
68 | (decode_insn): Call arm_record_extension_space if condition | |
69 | is 0xf. Call arm_record_unsupported_insn if ret isn't | |
70 | ARM_RECORD_SUCCESS. Use 'ret' instead of 'insn_id' to hold | |
71 | the value of thumb2_record_decode_insn_handler. | |
72 | ||
73519cce SM |
73 | 2016-03-04 Simon Marchi <simon.marchi@ericsson.com> |
74 | ||
75 | * features/feature_to_c.sh: Print the help when passing no | |
76 | argument. | |
77 | ||
650beae3 BH |
78 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
79 | ||
80 | * MAINTAINERS (Write After Approval): Add Bernhard Heckel. | |
81 | ||
28586665 BH |
82 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
83 | ||
84 | * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers. | |
85 | ||
f2489477 AA |
86 | 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com> |
87 | ||
88 | * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid | |
89 | exception when attempting to access the inferior's backchain. | |
90 | ||
d5219069 YQ |
91 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
92 | ||
93 | * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support | |
94 | eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2. | |
95 | Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create | |
96 | for aarch64_sys_epoll_create1. | |
97 | ||
253b4d3a YQ |
98 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
99 | ||
100 | * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New. | |
101 | <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New. | |
102 | <gdb_sys_pipe2, gdb_sys_inotify_init1>: New. | |
103 | * linux-record.c (record_linux_system_call): Handle them. | |
104 | ||
38899f16 IB |
105 | 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org> |
106 | ||
107 | * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from | |
108 | cyclic imports. | |
109 | ||
1ed0c2a4 KS |
110 | 2016-02-26 Keith Seitz <keiths@redhat.com> |
111 | ||
112 | * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result | |
113 | to avoid invalid conversion from void *. | |
114 | ||
9fde51ed YQ |
115 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
116 | ||
117 | * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg' | |
118 | per bit 8. Check bit 20 instead of bit 4 for VMOV | |
119 | instruction. Record D registers for instructions changing | |
120 | S registers. Change of the order of length and address | |
121 | in record_buf_mem array. | |
122 | ||
1f33efec YQ |
123 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
124 | ||
125 | * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register | |
126 | number of Rd. | |
127 | ||
1547ef64 DE |
128 | 2016-02-25 Doug Evans <dje@google.com> |
129 | ||
130 | * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid | |
131 | compiler warning. | |
132 | (recv_long_data): Ditto. | |
133 | ||
166616ce SM |
134 | 2016-02-25 Simon Marchi <simon.marchi@ericsson.com> |
135 | ||
136 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): | |
137 | Initialize variables. | |
138 | ||
1eb7c2d8 AT |
139 | 2016-02-25 Antoine Tremblay <antoine.tremblay@ericsson.com> |
140 | ||
141 | * ax-general.c (ax_reg): Call gdbarch_remote_register_number. | |
142 | (ax_reg_mask): Likewise. | |
143 | ||
e7ad2f14 PA |
144 | 2016-02-24 Pedro Alves <palves@redhat.com> |
145 | ||
146 | * linux-nat.c (save_sigtrap) Delete. | |
147 | (stop_wait_callback): Call save_stop_reason instead of | |
148 | save_sigtrap. | |
149 | (check_stopped_by_breakpoint): Rename to ... | |
150 | (save_stop_reason): ... this. Bits of save_sigtrap folded here. | |
151 | Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous | |
152 | GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. Factor out | |
153 | common code between the USE_SIGTRAP_SIGINFO and | |
154 | !USE_SIGTRAP_SIGINFO blocks. | |
155 | (linux_nat_filter_event): Call save_stop_reason instead of | |
156 | save_sigtrap. | |
157 | * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT | |
158 | si_code for MIPS. | |
159 | * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table. Add | |
160 | comments on MIPS behavior. | |
161 | (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs. | |
162 | ||
338435ef MK |
163 | 2016-02-24 Marcin Kościelnicki <koriakin@0x04.net> |
164 | ||
165 | * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0 | |
166 | to avoid spurious warnings. | |
167 | ||
bf74e428 GB |
168 | 2016-02-24 Gary Benson <gbenson@redhat.com> |
169 | ||
170 | * exec.c (exec_file_locate_attach): Do not attempt to | |
171 | locate main executable locally if not found in sysroot. | |
172 | ||
62fb310b JB |
173 | 2016-02-24 Joel Brobecker <brobecker@adacore.com> |
174 | ||
175 | GDB 7.11 released. | |
176 | ||
50ae56ec WW |
177 | 2016-02-24 Wei-cheng Wang <cole945@gmail.com> |
178 | ||
179 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle | |
180 | unavailable PC/SP to build unavailable frame. | |
181 | ||
cce0e923 DE |
182 | 2016-02-23 Doug Evans <dje@google.com> |
183 | ||
184 | Extend "skip" command to support -file, -gfile, -function, -rfunction. | |
185 | * NEWS: Document new features. | |
186 | * skip.c: #include "fnmatch.h", "gdb_regex.h". | |
187 | (skiplist_entry) <file>: Renamed from filename. | |
188 | <function>: Renamed from function_name. | |
189 | <file_is_glob, function_is_regexp>: New members. | |
190 | <compiled_function_regexp, compiled_function_regexp_is_valid>: | |
191 | New members. | |
192 | (make_skip_entry): New function. | |
193 | (free_skiplist_entry, free_skiplist_entry_cleanup): New functions. | |
194 | (make_free_skiplist_entry_cleanup): New function. | |
195 | (skip_file_command): Update. | |
196 | (skip_function, skip_function_command): Update. | |
197 | (compile_skip_regexp): New functions. | |
198 | (skip_command): Add support for new options. | |
199 | (skip_info): Update. | |
200 | (skip_file_p, skip_gfile_p): New functions. | |
201 | (skip_function_p, skip_rfunction_p): New functions. | |
202 | (function_name_is_marked_for_skip): Update and simplify. | |
203 | (_initialize_step_skip): Update. | |
204 | * symtab.c: #include "fnmatch.h". | |
205 | (compare_glob_filenames_for_search): New function. | |
206 | * symtab.h (compare_glob_filenames_for_search): Declare. | |
207 | * utils.c (count_path_elements): New function. | |
208 | (strip_leading_path_elements): New function. | |
209 | * utils.h (count_path_elements): Declare. | |
210 | (strip_leading_path_elements): Declare. | |
211 | ||
12545665 SM |
212 | 2016-02-23 Simon Marchi <simon.marchi@ericsson.com> |
213 | ||
214 | * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter. | |
215 | (thumb_process_displaced_insn): Likewise. | |
216 | (arm_process_displaced_insn): Adjust calls. | |
217 | ||
c955ae73 YQ |
218 | 2016-02-23 Yao Qi <yao.qi@linaro.org> |
219 | ||
220 | * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>: | |
221 | Remove. | |
222 | <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove. | |
223 | <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove. | |
224 | <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New. | |
225 | <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New. | |
226 | <aarch64_sys_linkat, aarch64_sys_renameat>: New. | |
227 | <aarch64_sys_faccessat>: New. | |
228 | <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove. | |
229 | <aarch64_sys_openat, aarch64_sys_readlinkat>: New. | |
230 | <aarch64_sys_newfstatat>: New. | |
231 | (UNSUPPORTED_SYSCALL_MAP): New macro. | |
232 | (aarch64_canonicalize_syscall): Add missing syscalls. | |
233 | ||
ac46107c JK |
234 | 2016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
235 | ||
236 | * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print. | |
237 | ||
01e57735 YQ |
238 | 2016-02-22 Yao Qi <yao.qi@linaro.org> |
239 | ||
240 | * arm-tdep.c: Fix code format issues. | |
241 | ||
30a6a7f0 IB |
242 | 2016-02-21 Iain Buclaw <ibuclaw@gdcproject.org> |
243 | ||
244 | * d-namespace.c (d_lookup_symbol_imports): Remove argument | |
245 | 'search_parents'. All callers updated. | |
246 | ||
f79a3bae MK |
247 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
248 | ||
249 | * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function. | |
250 | (s390_gdbarch_init): Fill guess_tracepoint_registers hook. | |
251 | ||
012b3a21 WT |
252 | 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com> |
253 | ||
254 | * NEWS: Add entry for bound violation. | |
255 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): | |
256 | Add handler for segmentation fault. | |
257 | * gdbarch.sh (handle_segmentation_fault): New. | |
258 | * gdbarch.c: Regenerate. | |
259 | * gdbarch.h: Regenerate. | |
260 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New. | |
261 | (SIG_CODE_BONDARY_FAULT): New define. | |
262 | (i386_linux_init_abi): Use i386_mpx_bound_violation_handler. | |
263 | * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New. | |
264 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
265 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
266 | * infrun.c (handle_segmentation_fault): New function. | |
267 | (print_signal_received_reason): Use handle_segmentation_fault. | |
268 | ||
5f034a78 MK |
269 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
270 | ||
271 | * arch-utils.c (default_guess_tracepoint_registers): New function. | |
272 | * arch-utils.h (default_guess_tracepoint_registers): New prototype. | |
273 | * gdbarch.c: Regenerate. | |
274 | * gdbarch.h: Regenerate. | |
275 | * gdbarch.sh: Add guess_tracepoint_registers hook. | |
276 | * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook. | |
277 | ||
88178e82 GB |
278 | 2016-02-17 Gary Benson <gbenson@redhat.com> |
279 | ||
280 | * exec.c (exec_file_locate_attach): Add missing cleanup. | |
281 | ||
4041ed77 DB |
282 | 2016-02-16 Don Breazeal <donb@codesourcery.com> |
283 | ||
284 | PR remote/19496 | |
285 | * remote.c (remove_new_fork_children): Check for pending | |
286 | fork status in thread_info.suspend. | |
287 | ||
b442c911 YQ |
288 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
289 | ||
290 | * arm-linux-tdep.c (arm_linux_software_single_step): Assign | |
291 | 'old_chain' later. | |
292 | ||
553cb527 YQ |
293 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
294 | ||
295 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops) | |
296 | <syscall_next_pc>: Remove argument PC. Callers updated. | |
297 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
298 | Remove argument PC. Get pc from regcache_read_pc. | |
299 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove | |
300 | argument PC. | |
301 | ||
0a0da556 YQ |
302 | 2016-02-15 Yao Qi <yao.qi@linaro.org> |
303 | ||
304 | * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x". | |
305 | ||
01113bc1 YQ |
306 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
307 | ||
308 | * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate | |
309 | nextpc according to instruction. | |
310 | ||
ed443b61 YQ |
311 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
312 | ||
313 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call | |
314 | self->ops->fixup if it isn't NULL. | |
315 | * arch/arm-get-next-pcs.h: Include gdb_vecs.h. | |
316 | (struct arm_get_next_pcs_ops) <fixup>: New field. | |
317 | * arch/arm-linux.c: Include common-regcache.h and | |
318 | arch/arm-get-next-pcs.h. | |
319 | (arm_linux_get_next_pcs_fixup): New function. | |
320 | * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare. | |
321 | * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize | |
322 | it with arm_linux_get_next_pcs_fixup. | |
323 | (arm_linux_software_single_step): Move code to | |
324 | arm_linux_get_next_pcs_fixup. | |
325 | * arm-tdep.c (arm_get_next_pcs_ops): Initialize it. | |
326 | ||
d21b5f15 MK |
327 | 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net> |
328 | ||
329 | * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn | |
330 | and return NULL. | |
331 | ||
33b4777c MM |
332 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
333 | ||
334 | * frame.h (skip_tailcall_frames): Update comment. | |
335 | * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL | |
336 | if only artificial frames are found. Update comment. | |
337 | (frame_unwind_caller_id): Handle NULL return. | |
338 | (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that | |
339 | skip_artificial_frames does not return NULL. | |
340 | (frame_pop): Add an error if only tailcall frames are found. | |
341 | * infcmd.c (finish_command): Move skip_tailcall_frames call into | |
342 | forward-execution case. Add an error if only tailcall frames are | |
343 | found. | |
344 | ||
a038fa3e MM |
345 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
346 | ||
347 | * stack.c (frame_info): Check frame_unwind_caller_id. | |
348 | ||
2f3ef606 MM |
349 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
350 | ||
351 | * frame.h (skip_tailcall_frames): New. | |
352 | * frame.c (skip_tailcall_frames): New. | |
353 | (frame_pop): Call skip_tailcall_frames. | |
354 | * infcmd.c (finish_command): Call skip_tailcall_frames. | |
355 | ||
e352bf0a PA |
356 | 2016-02-11 Pedro Alves <palves@redhat.com> |
357 | ||
358 | * Makefile.in (check-parallel): New rule. | |
359 | ||
bec2ab5a SM |
360 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
361 | ||
362 | * arm-tdep.c (arm_skip_prologue): Remove unused variables. | |
363 | (arm_analyze_prologue): Likewise. | |
364 | (arm_scan_prologue): Likewise. | |
365 | (arm_m_exception_prev_register): Likewise. | |
366 | (arm_copy_block_xfer): Likewise. | |
367 | (thumb2_copy_block_xfer): Likewise. | |
368 | (arm_decode_miscellaneous): Likewise. | |
369 | (arm_decode_ld_st_word_ubyte): Likewise. | |
370 | (arm_decode_svc_copro): Likewise. | |
371 | (thumb2_decode_svc_copro): Likewise. | |
372 | (thumb_copy_16bit_ldr_literal): Likewise. | |
373 | (thumb_copy_pop_pc_16bit): Likewise. | |
374 | (decode_thumb_32bit_ld_mem_hints): Likewise. | |
375 | (arm_show_force_mode): Likewise. | |
376 | (_initialize_arm_tdep): Likewise. | |
377 | (arm_record_strx): Likewise. | |
378 | (arm_record_extension_space): Likewise. | |
379 | (arm_record_data_proc_misc_ld_str): Likewise. | |
380 | (arm_record_exreg_ld_st_insn): Likewise. | |
381 | (arm_record_vfp_data_proc_insn): Likewise. | |
382 | (arm_record_coproc_data_proc): Likewise. | |
383 | (thumb_record_misc): Likewise. | |
384 | (thumb_record_ldm_stm_swi): Likewise. | |
385 | (thumb2_record_ld_st_dual_ex_tbb): Likewise. | |
386 | (thumb2_record_ld_mem_hints): Likewise. | |
387 | (thumb2_record_lmul_lmla_div): Likewise. | |
388 | (thumb2_record_asimd_struct_ld_st): Likewise. | |
389 | (arm_process_record): Likewise. | |
390 | ||
2ba163c8 SM |
391 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
392 | ||
393 | * arm-tdep.c (arm_displaced_step_copy_insn): Remove. | |
394 | (ARM displaced stepping support): Remove reference to | |
395 | arm_displaced_step_copy_insn in comment. | |
396 | * arm-tdep.h (arm_displaced_step_copy_insn): Remove. | |
397 | * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove | |
398 | reference to arm_displaced_step_copy_insn in comment. | |
399 | ||
615234c1 SM |
400 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
401 | ||
402 | * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn. | |
403 | (thumb_copy_b): Likewise. | |
404 | (arm_decode_b_bl_ldmstm): Likewise. | |
405 | (thumb_copy_16bit_ldr_literal): Likewise. | |
406 | (thumb_copy_pop_pc_16bit): Likewise. | |
407 | ||
82e9becd AT |
408 | 2016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com> |
409 | ||
410 | * tracepoint.c (encode_actions_1): Use target_gdbarch () rather | |
411 | than loc->gdbarch. | |
412 | ||
5ac87a99 MK |
413 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
414 | ||
415 | * tracefile-tfile.c (trace_tdesc): New static variable. | |
416 | (tfile_open): Clear trace_tdesc, call target_find_description. | |
417 | (tfile_interp_line): Recognize tdesc lines. | |
418 | (tfile_close): Clear trace_tdesc. | |
419 | (tfile_xfer_partial_features): New function. | |
420 | (tfile_xfer_partial): Call tfile_xfer_partial_features. | |
421 | (tfile_append_tdesc_line): New function. | |
422 | ||
18d3cec5 MK |
423 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
424 | ||
425 | * ctf.c (ctf_write_tdesc): New function. | |
426 | (ctf_write_ops): Wire in ctf_write_tdesc. | |
427 | * tracefile-tfile.c (tfile_write_tdesc): New function. | |
428 | (tfile_write_ops): Wire in tfile_write_tdesc. | |
429 | * tracefile.c (trace_save): Call write_tdesc method. | |
430 | * tracefile.h (struct trace_file_write_ops): Add write_tdesc method. | |
431 | * xml-tdesc.c (target_fetch_description_xml): New function. | |
432 | * xml-tdesc.h: Add target_fetch_description_xml prototype. | |
433 | ||
550dc4e2 SM |
434 | 2016-02-10 Simon Marchi <simon.marchi@ericsson.com> |
435 | ||
436 | * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo. | |
437 | (arm_decode_dp_misc): Likewise. | |
438 | ||
62e5fd57 MK |
439 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
440 | ||
441 | * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function. | |
442 | (amd64_init_abi): Fill ax_pseudo_register_collect hook. | |
443 | * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove | |
444 | misleading comment. | |
445 | (i386_pseudo_register_write): Ditto. | |
446 | (i386_ax_pseudo_register_collect): New function. | |
447 | (i386_gdbarch_init): Fill ax_pseudo_register_collect hook. | |
448 | * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype. | |
449 | ||
e909d859 MK |
450 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
451 | ||
452 | * tracefile-tfile.c (tfile_fetch_registers): Use g packet order | |
453 | instead of gdb order. | |
454 | ||
473b99e5 MK |
455 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
456 | ||
457 | * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds | |
458 | check. | |
459 | ||
1233c0ba JB |
460 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
461 | ||
462 | * NEWS: Create a new section for the next release branch. | |
463 | Rename the section of the current branch, now that it has | |
464 | been cut. | |
465 | ||
d1dc0942 JB |
466 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
467 | ||
468 | GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a): | |
469 | * version.in: Bump version to 7.11.50.DATE-git. | |
470 | ||
9ef9e6a6 KS |
471 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
472 | ||
473 | PR breakpoints/19546 | |
474 | * breakpoint.c (breakpoint_event_location_empty_p): New function. | |
475 | (update_breakpoints_after_exec, bkpt_re_set): Use this new function | |
476 | instead of event_location_empty_p. | |
477 | ||
39a67dc4 KS |
478 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
479 | ||
480 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use | |
481 | string_to_event_location_basic instead of string_to_event_location. | |
482 | ||
a96e36da KS |
483 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
484 | ||
485 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip | |
486 | leading whitespace and use string_to_event_location_basic instead | |
487 | of new_linespec_location. | |
488 | ||
9f61929f KS |
489 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
490 | ||
491 | PR python/19506 | |
492 | * python/py-breakpoint.c (bppy_init): Use | |
493 | string_to_event_location_basic instead of new_linespec_location. | |
494 | ||
eeb1af43 KS |
495 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
496 | ||
497 | * location.c (string_to_explicit_location): Note that "-p" is | |
498 | reserved for probe locations and return NULL for any input | |
499 | that starts with that. | |
500 | (string_to_event_location): Move "legacy" linespec code to ... | |
501 | (string_to_event_location_basic): ... here. | |
502 | * location.h (string_to_event_location): Update comment. | |
503 | (string_to_event_location_basic): New function. | |
504 | ||
1e94266c SM |
505 | 2016-02-09 Simon Marchi <simon.marchi@ericsson.com> |
506 | ||
507 | * configure.ac: Use AC_CONFIG_FILES instead of passing arguments | |
508 | to AC_OUTPUT. Remove "exit 0" at the end. | |
509 | * configure: Regenerate. | |
510 | ||
2a7f3dff PA |
511 | 2016-02-09 Pedro Alves <palves@redhat.com> |
512 | ||
513 | PR breakpoints/19548 | |
514 | * breakpoint.c (create_overlay_event_breakpoint): Don't update | |
515 | global location list here. | |
516 | (create_longjmp_master_breakpoint) | |
517 | (create_std_terminate_master_breakpoint) | |
518 | (create_exception_master_breakpoint, create_jit_event_breakpoint) | |
519 | (update_breakpoint_locations): | |
520 | (breakpoint_re_set): Update global location list after all | |
521 | breakpoints are re-set. | |
522 | ||
54887903 SM |
523 | 2016-02-08 Simon Marchi <simon.marchi@ericsson.com> |
524 | ||
525 | * remote.c (remote_register_number_and_offset): Remove unused | |
526 | variable(s). | |
527 | (remote_thread_always_alive): Likewise. | |
528 | (remote_update_thread_list): Likewise. | |
529 | (process_initial_stop_replies): Likewise. | |
530 | (remote_start_remote): Likewise. | |
531 | (remote_check_symbols): Likewise. | |
532 | (discard_pending_stop_replies): Likewise. | |
533 | (process_stop_reply): Likewise. | |
534 | (putpkt_binary): Likewise. | |
535 | (getpkt): Likewise. | |
536 | (remote_add_target_side_condition): Likewise. | |
537 | (remote_insert_breakpoint): Likewise. | |
538 | (remote_supports_stopped_by_sw_breakpoint): Likewise. | |
539 | (remote_supports_stopped_by_hw_breakpoint): Likewise. | |
540 | (remote_xfer_partial): Likewise. | |
541 | (remote_read_btrace): Likewise. | |
542 | (remote_async_serial_handler): Likewise. | |
543 | (remote_thread_events): Likewise. | |
544 | (_initialize_remote): Likewise. | |
545 | ||
30914ca8 SM |
546 | 2016-02-07 Simon Marchi <simon.marchi@polymtl.ca> |
547 | ||
548 | * varobj.h (varobj_delete): Remove dellist parameter, update and | |
549 | move documentation here. | |
550 | * varobj.c (struct cpstack, cppush, cppop): Remove. | |
551 | (delete_variable): Remove resultp (first) parameter. | |
552 | (delete_variable_1): Likewise. | |
553 | (varobj_delete): Remove dellist parameter and unused code. | |
554 | (update_dynamic_varobj_children): Adjust varobj_delete call. | |
555 | (update_type_if_necessary): Likewise. | |
556 | (varobj_set_visualizer): Likewise. | |
557 | (varobj_update): Likewise. | |
558 | (value_of_root): Likewise. | |
559 | (varobj_invalidate_iter): Likewise. | |
560 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise. | |
561 | ||
e42e5352 YQ |
562 | 2016-02-04 Yao Qi <yao.qi@linaro.org> |
563 | ||
564 | * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to | |
565 | 0 before handling 'F' and set it back afterwards. | |
566 | ||
6456a18b SM |
567 | 2016-02-02 Simon Marchi <simon.marchi@ericsson.com> |
568 | ||
569 | * ui-out.c (MAX_UI_OUT_LEVELS): Remove. | |
570 | ||
3f2f6cb5 WT |
571 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
572 | ||
573 | * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): | |
574 | New types. | |
575 | (compat_siginfo): New bound fields added. | |
576 | (compat_x32_siginfo): New field added. | |
577 | (cpt_si_addr_lsb): New define. | |
578 | (compat_siginfo_from_siginfo): Use nat_siginfo. | |
579 | (siginfo_from_compat_siginfo): Use nat_siginfo. | |
580 | (compat_x32_siginfo_from_siginfo): Likewise. | |
581 | (siginfo_from_compat_x32_siginfo): Likewise. | |
582 | ||
96b5c49f WT |
583 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
584 | ||
585 | * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd | |
586 | structure to the siginfo if extra_fields contains | |
587 | LINUX_SIGINFO_FIELD_ADDR_BND. | |
588 | ||
190b495d WT |
589 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
590 | ||
591 | * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. | |
592 | * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. | |
593 | * i386-linux-tdep.h (x86_linux_get_siginfo_type): New | |
594 | function. | |
595 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add | |
596 | x86_linux_get_siginfo_type for the amd64 abi. | |
597 | * i386-linux-tdep.c (x86_linux_get_siginfo_type): New | |
598 | function. | |
599 | (i386_linux_init_abi): Add new function at the i386 ABI | |
600 | initialization. | |
601 | ||
43564574 WT |
602 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
603 | ||
604 | * linux-tdep.h (linux_siginfo_extra_field_values): New enum values. | |
605 | (linux_siginfo_extra_fields): New enum type. | |
606 | * linux-tdep.c (linux_get_siginfo_type_with_fields): New function. | |
607 | (linux_get_siginfo_type): Use new function. | |
608 | ||
93813b37 WT |
609 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
610 | ||
611 | * nat/amd64-linux-siginfo.c: New file. | |
612 | * nat/amd64-linux-siginfo.h: New file. | |
613 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. | |
614 | (amd64-linux-siginfo.o): New rule. | |
615 | * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. | |
616 | * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. | |
617 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
618 | (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) | |
619 | (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) | |
620 | (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) | |
621 | (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) | |
622 | (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. | |
623 | ||
5fdf6324 AB |
624 | 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
625 | ||
626 | * value.c (max_value_size): New variable. | |
627 | (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define. | |
628 | (set_max_value_size): New function. | |
629 | (show_max_value_size): New function. | |
630 | (check_type_length_before_alloc): New function. | |
631 | (allocate_value_contents): Call check_type_length_before_alloc. | |
632 | (set_value_enclosing_type): Likewise. | |
633 | (_initialize_values): Add set/show handler for max-value-size. | |
634 | * NEWS: Mention new set/show command. | |
635 | ||
5fa13070 SM |
636 | 2016-01-31 Simon Marchi <simon.marchi@polymtl.ca> |
637 | ||
638 | * varobj.h (struct varobj): Fix typos in comments. | |
639 | (struct lang_varobj_ops): Likewise. | |
640 | * varobj.c (VAROBJ_TABLE_SIZE): Likewise. | |
641 | (varobj_create): Move misplaced comment. | |
642 | ||
a2e3e93f SM |
643 | 2016-01-29 Simon Marchi <simon.marchi@ericsson.com> |
644 | ||
645 | * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces | |
646 | to for include additional lines. | |
647 | * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces. | |
648 | ||
56e374a6 SM |
649 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
650 | ||
651 | * gnulib/import/Makefile.am: Regenerate. | |
652 | * gnulib/import/Makefile.in: Regenerate. | |
653 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
654 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr. | |
655 | ||
8424cc97 SM |
656 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
657 | ||
658 | * remote.c (skip_to_semicolon): Remove. | |
659 | (remote_parse_stop_reply): Use strchrnul instead of | |
660 | skip_to_semicolon. | |
661 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
662 | strchrnul. | |
663 | * gnulib/aclocal.m4: Regenerate. | |
664 | * gnulib/config.in: Regenerate. | |
665 | * gnulib/configure: Regenerate. | |
666 | * gnulib/import/Makefile.am: Regenerate. | |
667 | * gnulib/import/Makefile.in: Regenerate. | |
668 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
669 | * gnulib/import/m4/gnulib-comp.m4: Regenerate. | |
670 | * gnulib/import/m4/rawmemchr.m4: New file. | |
671 | * gnulib/import/m4/strchrnul.m4: New file. | |
672 | * gnulib/import/rawmemchr.c: New file. | |
673 | * gnulib/import/rawmemchr.valgrind: New file. | |
674 | * gnulib/import/strchrnul.c: New file. | |
675 | * gnulib/import/strchrnul.valgrind: New file. | |
676 | ||
4a6a1ed4 YQ |
677 | 2016-01-28 Yao Qi <yao.qi@linaro.org> |
678 | ||
679 | * breakpoint.c (build_target_command_list): Don't call continue | |
680 | if aexpr is NULL. | |
681 | (build_target_condition_list): Likewise. | |
682 | ||
94715c17 KB |
683 | 2016-01-27 Kevin Buettner <kevinb@redhat.com> |
684 | ||
685 | * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 | |
686 | bytes as aggregates. | |
687 | ||
c07af0ab JB |
688 | 2016-01-27 Joel Brobecker <brobecker@adacore.com> |
689 | ||
690 | * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as | |
691 | Linespec Maintainers. | |
692 | ||
41548caa SM |
693 | 2016-01-26 Simon Marchi <simon.marchi@ericsson.com> |
694 | ||
695 | * common/common-utils.c (skip_spaces): Fix comment. | |
696 | (skip_to_space_const): Likewise. | |
697 | ||
4d18591b YQ |
698 | 2016-01-25 Yao Qi <yao.qi@linaro.org> |
699 | ||
700 | * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): | |
701 | Remove argument pc. Get pc by regcache_read_pc. Callers updated. | |
702 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
703 | (thumb_get_next_pcs_raw): Likewise. | |
704 | (arm_get_next_pcs_raw): Likewise. | |
705 | (arm_get_next_pcs): Remove argument pc. Callers updated. | |
706 | * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. | |
707 | ||
a579cd9a MW |
708 | 2016-01-25 Mark Wielaard <mjw@redhat.com> |
709 | ||
710 | * ada-lang.c (ada_evaluate_subexp): Add proper else block. | |
711 | * c-typeprint.c (c_type_print_base): Fix misleading indentation of | |
712 | if statement. | |
713 | * inflow.c (child_terminal_ours_1): Fix misleading indentation of | |
714 | statement block by introducing an else. | |
715 | * linux-record.c (record_linux_sockaddr): Fix misleading indentation | |
716 | of return statements. | |
717 | (record_linux_msghdr): Likewise. | |
718 | ||
a2077e25 PA |
719 | 2016-01-25 Pedro Alves <palves@redhat.com> |
720 | ||
721 | PR threads/19461 | |
722 | * infrun.c (handle_inferior_event_1) <fork/vfork>: Update | |
723 | parent/child running states. | |
724 | ||
1d2736d4 PA |
725 | 2016-01-25 Pedro Alves <palves@redhat.com> |
726 | ||
727 | PR gdb/19494 | |
728 | * linux-nat.c (kill_one_lwp): New, factored out from ... | |
729 | (kill_callback): ... this. | |
730 | (kill_wait_callback): New, factored out from ... | |
731 | (kill_wait_one_lwp): ... this. | |
732 | (kill_unfollowed_fork_children): New function. | |
733 | (linux_nat_kill): Use it. | |
734 | ||
b2bae2f7 JB |
735 | 2016-01-22 John Baldwin <jhb@FreeBSD.org> |
736 | ||
737 | * fbsd-nat.c (fbsd_pid_to_str): Adjust string format. | |
738 | ||
d86feca3 YQ |
739 | 2016-01-22 Yao Qi <yao.qi@linaro.org> |
740 | ||
741 | * arm-linux-nat.c (fetch_fpregs): Call perror_with_name | |
742 | instead of warning. | |
743 | (store_fpregs, fetch_regs, store_regs): Likewise. | |
744 | (fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
745 | (fetch_vfp_regs, store_vfp_regs): Likewise. | |
746 | ||
b35a8b2f DE |
747 | 2016-01-21 Doug Evans <dje@google.com> |
748 | ||
749 | * breakpoint.c (init_breakpoint_sal): Add comment. | |
750 | ||
f906b857 MK |
751 | 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net> |
752 | ||
753 | * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection. | |
754 | ||
4a099de2 AB |
755 | 2016-01-21 Andrew Burgess <andrew.burgess@embecosm.com> |
756 | ||
757 | * disasm.c (maybe_add_dis_line_entry): Rename to... | |
758 | (add_dis_line_entry): ...this, and update header comment. | |
759 | (do_mixed_source_and_assembly): Now use add_dis_line_entry. | |
760 | ||
a994041d PA |
761 | 2016-01-21 Pedro Alves <palves@redhat.com> |
762 | ||
763 | * Makefile.in (COMPILER_CFLAGS): New. | |
764 | (CXXFLAGS): Get it from configure. | |
765 | (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS | |
766 | instead of CFLAGS. | |
767 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST | |
768 | COMPILER_CFLAGS. | |
769 | * configure: Regenerate. | |
770 | ||
305e13e6 JB |
771 | 2016-01-21 Joel Brobecker <brobecker@adacore.com> |
772 | ||
773 | * location.h (new_address_location): Add new parameters | |
774 | "addr_string" and "addr_string_len". | |
775 | (get_address_string_location): Add declaration. | |
776 | * location.c (new_address_location): Add new parameters | |
777 | "addr_string" and "addr_string_len". If not NULL, store | |
778 | a copy of the addr_string in the new location as well. | |
779 | (get_address_string_location): New function. | |
780 | (string_to_event_location): Update call to new_address_location. | |
781 | * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>: | |
782 | Save the event location in the parser's state before | |
783 | passing it to convert_address_location_to_sals. | |
784 | * breakpoint.c (create_thread_event_breakpoint): Update call | |
785 | to new_address_location. | |
786 | (init_breakpoint_sal): Get the event location's string, if any, | |
787 | and use it to update call to new_address_location. | |
788 | * python/py-finishbreakpoint.c (bpfinishpy_init): | |
789 | Update call to new_address_location. | |
790 | * spu-tdep.c (spu_catch_start): Likewise. | |
791 | ||
792 | * config/djgpp/fnchange.lst: Add entries for | |
793 | gdb/testsuite/gdb.base/break-fun-addr1.c and | |
794 | gdb/testsuite/gdb.base/break-fun-addr2.c. | |
795 | ||
f7a6a40d YQ |
796 | 2016-01-21 Yao Qi <yao.qi@linaro.org> |
797 | ||
798 | * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter | |
799 | is_thumb and set it according to CPSR saved on the stack. | |
800 | (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to | |
801 | arm_linux_sigreturn_next_pc. | |
802 | ||
5f5dfff6 SM |
803 | 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
804 | ||
805 | * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__): | |
806 | Fix enumerators sort key function. | |
807 | ||
be56871e JB |
808 | 2016-01-20 Joel Brobecker <brobecker@adacore.com> |
809 | ||
b12e5614 | 810 | * printcmd.c (print_scalar_formatted): Move binary operator from |
be56871e JB |
811 | end of line to beginning of next line. Adjust formatting |
812 | accordingly. | |
813 | ||
f2feec98 JB |
814 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
815 | ||
816 | * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of | |
817 | "len" with sysctl. | |
818 | ||
20a0aab3 JB |
819 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
820 | ||
821 | * fbsd-tdep.c (find_stop_signal): Remove. | |
822 | (struct fbsd_collect_regset_section_cb) <lwp>: New field. | |
823 | <stop_signal>: New field. | |
824 | <abort_iteration>: New field. | |
825 | (fbsd_collect_regset_section_cb): Use new fields. | |
826 | (fbsd_collect_thread_registers): New function. | |
827 | (struct fbsd_corefile_thread_data): New structure. | |
828 | (fbsd_corefile_thread): New function. | |
829 | (fbsd_make_corefile_notes): Use new function to dump notes for each | |
830 | non-exited thread in a process. | |
831 | ||
6e9567fe JB |
832 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
833 | ||
834 | * configure.ac: Check for support for LWP names on FreeBSD. | |
835 | * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp. | |
836 | [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] | |
837 | (fbsd_fetch_kinfo_proc): Move function earlier. | |
838 | [PT_LWPINFO] (fbsd_thread_alive): New function. | |
839 | [PT_LWPINFO] (fbsd_pid_to_str): New function. | |
840 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function. | |
841 | [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function. | |
842 | [PT_LWPINFO] (fbsd_add_threads): New function. | |
843 | [PT_LWPINFO] (fbsd_update_thread_list): New function. | |
844 | [PT_LWPINFO] New variable super_resume. | |
845 | [PT_LWPINFO] (resume_one_thread_cb): New function. | |
846 | [PT_LWPINFO] (resume_all_threads_cb): New function. | |
847 | [PT_LWPINFO] (fbsd_resume): New function. | |
848 | (fbsd_remember_child): Save full ptid instead of plain pid. | |
849 | (fbsd_is_child_pending): Return ptid of saved child process. | |
850 | (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on | |
851 | first stop. | |
852 | [PT_LWP_EVENTS] Handle LWP events. | |
853 | [TDP_RFPPWAIT] Include LWP in child ptid. | |
854 | (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events. | |
855 | (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events. | |
856 | Add threads for existing processes. | |
857 | (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to | |
858 | "fbsd_thread_alive". | |
859 | Set "to_pid_to_str" to "fbsd_pid_to_str". | |
860 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to | |
861 | "fbsd_thread_name". | |
862 | [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list". | |
863 | Set "to_has_thread_control" to "tc_schedlock". | |
864 | Set "to_resume" to "fbsd_resume". | |
865 | (_initialize_fbsd_nat): New function. | |
866 | * configure: Regenerate. | |
867 | * config.in: Regenerate. | |
868 | ||
94309df7 JB |
869 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
870 | ||
871 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use | |
872 | get_ptrace_pid. | |
873 | (amd64bsd_store_inferior_registers): Use get_ptrace_pid. | |
874 | (amd64bsd_dr_get): Use get_ptrace_pid. | |
875 | (amd64bsd_dr_set): Use get_ptrace_pid. | |
876 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid. | |
877 | (i386bsd_store_inferior_registers): Use get_ptrace_pid. | |
878 | (i386bsd_dr_get): Use get_ptrace_pid. | |
879 | (i386bsd_dr_set): Use get_ptrace_pid. | |
880 | * inf-ptrace.c (get_ptrace_pid): Export. | |
881 | * inf-ptrace.h (get_ptrace_pid): Declare. | |
882 | * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id. | |
883 | (ppcfbsd_store_inferior_registers): Use lwp id. | |
884 | ||
79117428 JB |
885 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
886 | ||
887 | * fbsd_tdep.c (fbsd_core_pid_to_str): New function. | |
888 | (fbsd_core_thread_name): New function. | |
889 | (fbsd_init_abi): Add "core_pid_to_str" gdbarch method. | |
890 | Add "core_thread_name" gdbarch method. | |
891 | ||
4dfc5dbc JB |
892 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
893 | ||
894 | * corelow.c (core_thread_name): New function. | |
895 | (init_core_ops): Use "core_thread_name" for the "to_thread_name" | |
896 | target op. | |
897 | * gdbarch.sh (core_thread_name): New gdbarch callback. | |
898 | * gdbarch.h: Re-generate. | |
899 | * gdbarch.c: Re-generate. | |
900 | ||
10e3ed90 SM |
901 | 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca> |
902 | ||
903 | * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly | |
904 | convert gdb.Value to integer type using int(). | |
905 | ||
a6e69c1f JB |
906 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
907 | ||
908 | * configure.ac: Include <sys/types.h when checking for "r_fs" in | |
909 | "struct reg". | |
910 | * configure: Regenerate. | |
911 | ||
37e42b4f PA |
912 | 2016-01-19 Pedro Alves <palves@redhat.com> |
913 | ||
914 | * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. | |
915 | * break-catch-throw.c (re_set_exception_catchpoint): Pass the | |
916 | current program space down to linespec decoding and breakpoint | |
917 | location updating. | |
918 | * breakpoint.c (parse_breakpoint_sals): Adjust calls to | |
919 | decode_line_full. | |
920 | (until_break_command): Adjust calls to decode_line_1. | |
921 | (base_breakpoint_decode_location, bkpt_decode_location): Add | |
922 | 'search_pspace' parameter. Pass it along. | |
923 | (bkpt_probe_create_sals_from_location): Adjust calls to | |
924 | parse_probes. | |
925 | (tracepoint_decode_location, tracepoint_probe_decode_location) | |
926 | (strace_marker_decode_location): Add 'search_pspace' parameter. | |
927 | Pass it along. | |
928 | (all_locations_are_pending): Rewrite to take a breakpoint and | |
929 | program space as arguments instead. | |
930 | (hoist_existing_locations): New function. | |
931 | (update_breakpoint_locations): Add 'filter_pspace' parameter. Use | |
932 | hoist_existing_locations instead of always removing all locations, | |
933 | and adjust to all_locations_are_pending change. | |
934 | (location_to_sals): Add 'search_pspace' parameter. Pass it along. | |
935 | Don't disable the breakpoint if there are other locations in | |
936 | another program space. | |
937 | (breakpoint_re_set_default): Adjust to pass down the current | |
938 | program space as filter program space. | |
939 | (decode_location_default): Add 'search_pspace' parameter and pass | |
940 | it along. | |
941 | (prepare_re_set_context): Don't switch program space here. | |
942 | (breakpoint_re_set): Use save_current_space_and_thread instead of | |
943 | save_current_program_space. | |
944 | * breakpoint.h (struct breakpoint_ops) <decode_location>: Add | |
945 | 'search_pspace' parameter. | |
946 | (update_breakpoint_locations): Add 'filter_pspace' parameter. | |
947 | * cli/cli-cmds.c (edit_command, list_command): Adjust calls to | |
948 | decode_line_1. | |
949 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current | |
950 | program space as filter program space. | |
951 | * linespec.c (struct linespec_state) <search_pspace>: New field. | |
952 | (create_sals_line_offset, convert_explicit_location_to_sals) | |
953 | (parse_linespec): Pass the search program space down. | |
954 | (linespec_state_constructor): Add 'search_pspace' parameter. | |
955 | Store it. | |
956 | (linespec_parser_new): Add 'search_pspace' parameter and pass it | |
957 | along. | |
958 | (linespec_lex_to_end): Adjust. | |
959 | (decode_line_full, decode_line_1): Add 'search_pspace' parameter | |
960 | and pass it along. | |
961 | (decode_line_with_last_displayed): Adjust. | |
962 | (collect_symtabs_from_filename, symtabs_from_filename): New | |
963 | 'search_pspace' parameter. Use it. | |
964 | (find_function_symbols): Pass the search program space down. | |
965 | * linespec.h (decode_line_1, decode_line_full): Add | |
966 | 'search_pspace' parameter. | |
967 | * probe.c (parse_probes_in_pspace): New function, factored out | |
968 | from ... | |
969 | (parse_probes): ... this. Add 'search_pspace' parameter and use | |
970 | it. | |
971 | * probe.h (parse_probes): Add pspace' parameter. | |
972 | * python/python.c (gdbpy_decode_line): Adjust. | |
973 | * tracepoint.c (scope_info): Adjust. | |
974 | ||
100b4f2e MR |
975 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
976 | ||
977 | * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS | |
978 | instruction support. | |
979 | (micromips_next_pc): Likewise. | |
980 | (micromips_scan_prologue): Likewise. | |
981 | (micromips_deal_with_atomic_sequence): Likewise. | |
982 | (micromips_stack_frame_destroyed_p): Likewise. | |
983 | (mips_breakpoint_from_pc): Likewise. | |
984 | ||
3f7f3650 MR |
985 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
986 | ||
987 | * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass | |
988 | unshifted 16-bit microMIPS instruction word to `mips_insn_size'. | |
989 | ||
f303dbd6 PA |
990 | 2016-01-18 Pedro Alves <palves@redhat.com> |
991 | ||
992 | * NEWS: Mention that GDB now displays the ID and name of the | |
993 | thread that hit a breakpoint or received a signal. | |
994 | * break-catch-sig.c (signal_catchpoint_print_it): Use | |
995 | maybe_print_thread_hit_breakpoint. | |
996 | * break-catch-syscall.c (print_it_catch_syscall): Likewise. | |
997 | * break-catch-throw.c (print_it_exception_catchpoint): Likewise. | |
998 | * breakpoint.c (maybe_print_thread_hit_breakpoint): New function. | |
999 | (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib) | |
1000 | (print_it_catch_exec, print_it_ranged_breakpoint) | |
1001 | (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it): | |
1002 | Use maybe_print_thread_hit_breakpoint. | |
1003 | * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare. | |
1004 | * gdbthread.h (show_thread_that_caused_stop): Declare. | |
1005 | * infrun.c (print_signal_received_reason): Print which thread | |
1006 | received signal. | |
1007 | * thread.c (show_thread_that_caused_stop): New function. | |
1008 | ||
eb0edac8 GB |
1009 | 2016-01-18 Gary Benson <gbenson@redhat.com> |
1010 | ||
1011 | * nat/linux-namespaces.c (do_fork): New function. | |
1012 | (linux_mntns_get_helper): Use the above. | |
1013 | ||
dc365182 JH |
1014 | 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change) |
1015 | ||
1016 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
1017 | PR gdb/19208 | |
1018 | * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name | |
1019 | if the function has no name. | |
1020 | ||
f74f61cb SL |
1021 | 2016-01-15 Sandra Loosemore <sandra@codesourcery.com> |
1022 | ||
1023 | * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET): | |
1024 | Conditionalize for Windows host. | |
1025 | (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET. | |
1026 | (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32. | |
1027 | (phony_iconv_open): Handle both UTF-32 endiannesses. | |
1028 | (phony_iconv): Likewise. Check for output overflow and clean up | |
1029 | out-of-input cases. Correct adjustment to input buffer pointer. | |
1030 | (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match | |
1031 | phony_iconv_open. | |
1032 | ||
71ef29a8 PA |
1033 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1034 | ||
1035 | * NEWS: Mention star wildcard ranges. | |
1036 | * cli/cli-utils.c (get_number_or_range): Check state->in_range first. | |
1037 | (number_range_setup_range): New function. | |
1038 | * cli/cli-utils.h (number_range_setup_range): New declaration. | |
1039 | * thread.c (thread_apply_command): Support star TID ranges. | |
1040 | * tid-parse.c (tid_range_parser_finished) | |
1041 | (tid_range_parser_string, tid_range_parser_skip) | |
1042 | (get_tid_or_range, get_tid_or_range): Handle | |
1043 | TID_RANGE_STATE_STAR_RANGE. | |
1044 | (tid_range_parser_star_range): New function. | |
1045 | * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>: | |
1046 | New value. | |
1047 | (tid_range_parser_star_range): New declaration. | |
1048 | ||
3f5b7598 PA |
1049 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1050 | ||
1051 | * thread.c (thread_apply_command): Use the tid range parser to | |
1052 | advance past the thread ID list. | |
1053 | * tid-parse.c (get_positive_number_trailer): New function. | |
1054 | (parse_thread_id): Use it. | |
1055 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
1056 | thread ID error. | |
1057 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
1058 | throwing invalid thread ID error. | |
1059 | ||
e7cf25a8 YQ |
1060 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1061 | ||
1062 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
1063 | Declare. | |
1064 | (arm_linux_get_next_pcs_ops): Install | |
1065 | arm_linux_get_next_pcs_syscall_next_pc. | |
1066 | (arm_linux_syscall_next_pc): Change to ... | |
1067 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
1068 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
1069 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
1070 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
1071 | call tdep->syscall_next_pc. | |
1072 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
1073 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
1074 | ||
c0518081 YQ |
1075 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1076 | ||
1077 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
1078 | * thread.c (do_captured_thread_select): Cast to const char *. | |
1079 | ||
1b451dda YQ |
1080 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1081 | ||
1082 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
1083 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
1084 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
1085 | instead. | |
1086 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
1087 | <arm_thumb2_breakpoint>: Remove. | |
1088 | <has_thumb2_breakpoint>: New field. | |
1089 | (arm_get_next_pcs_ctor): Update declaration. | |
1090 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
1091 | 1 to arm_get_next_pcs_ctor. | |
1092 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
1093 | arm_get_next_pcs_ctor. | |
1094 | ||
bc06e0b1 UW |
1095 | 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
1096 | ||
1097 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
1098 | ||
4e7b8bea YQ |
1099 | 2016-01-13 Yao Qi <yao.qi@linaro.org> |
1100 | ||
1101 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
1102 | byte_order_for_code to read instruction. | |
1103 | ||
663f6d42 PA |
1104 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1105 | ||
1106 | * NEWS: Mention $_gthread. | |
1107 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
1108 | $_gthread. | |
1109 | * thread.c (thread_num_make_value_helper): New function. | |
1110 | (thread_id_make_value): Delete. | |
1111 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
1112 | New. | |
1113 | (thread_funcs): Adjust. | |
1114 | (gthread_funcs): New. | |
1115 | (_initialize_thread): Register $_gthread variable. | |
1116 | ||
c84f6bbf PA |
1117 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1118 | ||
1119 | * NEWS: Mention "info threads -gid". | |
1120 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
1121 | threads -gid". | |
1122 | * thread.c (info_threads_command): Handle "-gid". | |
1123 | (_initialize_thread): Adjust "info threads" help string to mention | |
1124 | -gid. | |
1125 | ||
22a02324 PA |
1126 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1127 | ||
1128 | * NEWS: Mention InferiorThread.global_num. | |
1129 | * python/py-infthread.c (thpy_get_global_num): New function. | |
1130 | (thread_object_getset): Register "global_num". | |
1131 | ||
5d5658a1 PA |
1132 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1133 | ||
1134 | * NEWS: Mention that thread IDs are now per inferior and global | |
1135 | thread IDs. | |
1136 | * Makefile.in (SFILES): Add tid-parse.c. | |
1137 | (COMMON_OBS): Add tid-parse.o. | |
1138 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
1139 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
1140 | * breakpoint.c (insert_breakpoint_locations) | |
1141 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
1142 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
1143 | (check_longjmp_breakpoint_for_call_dummy) | |
1144 | (set_momentary_breakpoint): Adjust to use global IDs. | |
1145 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
1146 | (until_break_command, longjmp_bkpt_dtor) | |
1147 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
1148 | to use global IDs. | |
1149 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
1150 | ptid_to_global_thread_id. | |
1151 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
1152 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
1153 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
1154 | (thread_id_to_pid): Rename thread_id_to_pid to | |
1155 | global_thread_id_to_ptid. | |
1156 | (pid_to_thread_id): Rename to ... | |
1157 | (ptid_to_global_thread_id): ... this. | |
1158 | (valid_thread_id): Rename to ... | |
1159 | (valid_global_thread_id): ... this. | |
1160 | (find_thread_id): Rename to ... | |
1161 | (find_thread_global_id): ... this. | |
1162 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
1163 | (print_thread_info): Add comment. | |
1164 | * tid-parse.h: New file. | |
1165 | * tid-parse.c: New file. | |
1166 | * infcmd.c (step_command_fsm_prepare) | |
1167 | (step_command_fsm_should_stop): Adjust to use the global thread | |
1168 | ID. | |
1169 | (until_next_command, until_next_command) | |
1170 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
1171 | ID. | |
1172 | (attach_post_wait): Adjust to check the inferior number too. | |
1173 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
1174 | * infrun.c (handle_signal_stop) | |
1175 | (insert_exception_resume_breakpoint) | |
1176 | (insert_exception_resume_from_probe): Adjust to use the global | |
1177 | thread ID. | |
1178 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
1179 | * remote.c (process_initial_stop_replies): Also consider the | |
1180 | inferior number. | |
1181 | * target.c (target_pre_inferior): Clear the inferior's highest | |
1182 | thread num. | |
1183 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
1184 | global thread ID. | |
1185 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
1186 | the thread's global ID and the thread's per-inferior ID. | |
1187 | (add_thread_silent): Adjust. | |
1188 | (find_thread_global_id): New. | |
1189 | (find_thread_id): Make static. Adjust to rename. | |
1190 | (valid_thread_id): Rename to ... | |
1191 | (valid_global_thread_id): ... this. | |
1192 | (pid_to_thread_id): Rename to ... | |
1193 | (ptid_to_global_thread_id): ... this. | |
1194 | (thread_id_to_pid): Rename to ... | |
1195 | (global_thread_id_to_ptid): ... this. Adjust. | |
1196 | (first_thread_of_process): Adjust. | |
1197 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
1198 | (should_print_thread): New function. | |
1199 | (print_thread_info): Rename to ... | |
1200 | (print_thread_info_1): ... this, and add new show_global_ids | |
1201 | parameter. Handle it. Iterate over inferiors. | |
1202 | (print_thread_info): Reimplement as wrapper around | |
1203 | print_thread_info_1. | |
1204 | (show_inferior_qualified_tids): New function. | |
1205 | (print_thread_id): Use it. | |
1206 | (tp_array_compar): Compare inferior numbers too. | |
1207 | (thread_apply_command): Use tid_range_parser. | |
1208 | (do_captured_thread_select): Use parse_thread_id. | |
1209 | (thread_id_make_value): Adjust. | |
1210 | (_initialize_thread): Adjust "info threads" help string. | |
1211 | * varobj.c (struct varobj_root): Update comment. | |
1212 | (varobj_create): Adjust to use global thread IDs. | |
1213 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
1214 | * windows-tdep.c (display_tib): No longer accept an argument. | |
1215 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
1216 | * cli/cli-utils.h (get_number_trailer): Declare. | |
1217 | (get_number_const): Adjust documentation. | |
1218 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
1219 | thread IDs. | |
1220 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
1221 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
1222 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
1223 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
1224 | Likewise. | |
1225 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
1226 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
1227 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
1228 | per-inferior thread ID. | |
1229 | (thread_object_getset): Update comment of "num". | |
1230 | ||
43792cf0 PA |
1231 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1232 | ||
1233 | * breakpoint.c (remove_threaded_breakpoints) | |
1234 | (print_one_breakpoint_location): Use print_thread_id. | |
1235 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
1236 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
1237 | * common/print-utils.c (CELLSIZE): Delete. | |
1238 | (get_cell): Rename to ... | |
1239 | (get_print_cell): ... this and made extern. Adjust call callers. | |
1240 | Adjust to use PRINT_CELL_SIZE. | |
1241 | * common/print-utils.h (get_print_cell): Declare. | |
1242 | (PRINT_CELL_SIZE): New. | |
1243 | * gdbthread.h (print_thread_id): Declare. | |
1244 | * infcmd.c (signal_command): Use print_thread_id. | |
1245 | * inferior.c (print_inferior): Use print_thread_id. | |
1246 | * infrun.c (handle_signal_stop) | |
1247 | (insert_exception_resume_breakpoint) | |
1248 | (insert_exception_resume_from_probe) | |
1249 | (print_signal_received_reason): Use print_thread_id. | |
1250 | * record-btrace.c (record_btrace_info) | |
1251 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
1252 | (record_btrace_step_thread, record_btrace_wait): Use | |
1253 | print_thread_id. | |
1254 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
1255 | (print_thread_id): New function. | |
1256 | (thread_apply_command): Use print_thread_id. | |
1257 | (thread_command, thread_find_command, do_captured_thread_select): | |
1258 | Use print_thread_id. | |
1259 | ||
84654457 PA |
1260 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1261 | ||
1262 | * NEWS: Mention InferiorThread.inferior. | |
1263 | * python/py-infthread.c (thpy_get_inferior): New. | |
1264 | (thread_object_getset): Register "inferior". | |
1265 | ||
e3940304 PA |
1266 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1267 | ||
1268 | * NEWS: Mention $_inferior. | |
1269 | * inferior.c (inferior_id_make_value): New. | |
1270 | (inferior_funcs): New. | |
1271 | (_initialize_inferior): Create $_inferior variable. | |
1272 | ||
a911d87a PA |
1273 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1274 | ||
1275 | PR breakpoints/19388 | |
1276 | * frame.c (get_current_frame): Use validate_registers_access. | |
1277 | * gdbthread.h (validate_registers_access): Declare. | |
1278 | * infrun.c (validate_siginfo_access): Delete. | |
1279 | (siginfo_value_read, siginfo_value_write): Use | |
1280 | validate_registers_access. | |
1281 | * thread.c (validate_registers_access): New function. | |
1282 | ||
82075af2 JS |
1283 | 2016-01-12 Josh Stone <jistone@redhat.com> |
1284 | Philippe Waroquiers <philippe.waroquiers@skynet.be> | |
1285 | ||
1286 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
1287 | syscall_entry and syscall_return stop reasons. Mention GDB | |
1288 | support for remote catch syscall. | |
1289 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
1290 | (remote_set_syscall_catchpoint): New function. | |
1291 | (remote_protocol_features): New element for QCatchSyscalls. | |
1292 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
1293 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
1294 | (_initialize_remote): Config QCatchSyscalls. | |
1295 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
1296 | ||
d18547d8 YQ |
1297 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
1298 | ||
1299 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
1300 | to gdb_byte * and pass to linux_fork_to_function. | |
1301 | ||
ba4dd7c4 YQ |
1302 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
1303 | ||
1304 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
1305 | of argument 'function'. | |
1306 | (linux_grandchild_function): Change return type to 'int'. | |
1307 | Change child_stack's type to 'void *'. | |
1308 | (linux_child_function): Likewise. | |
1309 | ||
bc504a31 PA |
1310 | 2016-01-12 Pedro Alves <palves@redhat.com> |
1311 | ||
1312 | Remove use of the registered trademark symbol throughout. | |
1313 | ||
5eddd578 TS |
1314 | 2016-01-12 Thomas Schwinge <thomas@codesourcery.com> |
1315 | ||
1316 | * reply_mig_hack.awk: Rewrite one regular expression. | |
1317 | ||
b835bb52 MF |
1318 | 2016-01-11 Mike Frysinger <vapier@gentoo.org> |
1319 | ||
1320 | * acinclude.m4: Include new warning.m4 file. | |
1321 | * configure: Regenerated. | |
1322 | * configure.ac: Move all warning logic ... | |
1323 | * warning.m4: ... here. | |
1324 | ||
2f99e8fc YQ |
1325 | 2016-01-08 Yao Qi <yao.qi@linaro.org> |
1326 | ||
1327 | * extension.c: Include target.h. | |
1328 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
1329 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
1330 | returns false. | |
1331 | (restore_active_ext_lang): Likewise. | |
1332 | * target.c (target_terminal_is_ours): New function. | |
1333 | * target.h (target_terminal_is_ours): Declare. | |
1334 | ||
5dd05630 MR |
1335 | 2016-01-07 Maciej W. Rozycki <macro@imgtec.com> |
1336 | ||
1337 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
1338 | to `err' in the little-endian leg. | |
1339 | ||
f5aa3069 YQ |
1340 | 2016-01-06 Yao Qi <yao.qi@linaro.org> |
1341 | ||
1342 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
1343 | lines below. | |
1344 | (thumb_get_next_pcs_raw): Make it static. | |
1345 | (arm_get_next_pcs_raw): Likewise. | |
1346 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
1347 | declaration. | |
1348 | (arm_get_next_pcs_raw): Likewise. | |
1349 | ||
bf69ad5a MF |
1350 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
1351 | ||
1352 | * version.in: Change cvs to git. | |
1353 | ||
66750332 MF |
1354 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
1355 | ||
1356 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
1357 | ||
976102cd PA |
1358 | 2016-01-05 Pedro Alves <palves@redhat.com> |
1359 | ||
1360 | PR sim/13418 | |
1361 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
1362 | the target is powerpc*. | |
fa89c126 PA |
1363 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
1364 | of WITH_SIM. | |
976102cd PA |
1365 | * configure: Regenerate. |
1366 | * config.in: Regenerate. | |
1367 | ||
43368e1d MM |
1368 | 2016-01-04 Markus Metzger <markus.t.metzger@intel.com> |
1369 | ||
1370 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
1371 | ||
32273fe6 MF |
1372 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
1373 | ||
1374 | * configure.tgt (powerpc*-*-*): Delete test call and | |
1375 | always assign gdb_sim. | |
1376 | ||
618f726f JB |
1377 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1378 | ||
1379 | Update year range in copyright notice of all files. | |
1380 | ||
edd88788 JB |
1381 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1382 | ||
1383 | * top.c (print_gdb_version): Change copyright year in version | |
1384 | message. | |
1385 | ||
0f7b3ef4 | 1386 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
aec47d1d | 1387 | |
0f7b3ef4 | 1388 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 1389 | |
0f7b3ef4 | 1390 | For older changes see ChangeLog-2015. |
c906108c SS |
1391 | \f |
1392 | Local Variables: | |
1393 | mode: change-log | |
1394 | left-margin: 8 | |
1395 | fill-column: 74 | |
1396 | version-control: never | |
57da7796 | 1397 | coding: utf-8 |
c906108c | 1398 | End: |