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