Add cpu information to the info os command on linux.
[binutils-gdb.git] / gdb / ChangeLog
1 2015-03-31 Antoine Tremblay <antoine.tremblay@ericsson.com>
2
3 * NEWS: Mention info os cpus support.
4 * gdb/nat/linux-osdata.c (linux_xfer_osdata_cpus): New function.
5 (struct osdata_type): Add cpus entry, reorder the entries in
6 alphabetical order.
7
8 2015-03-31 Matthias Klose <doko@ubuntu.com>
9
10 * compile/compile.c (compile_to_object): Allow triplets with or
11 without vendor set.
12
13 2015-03-30 Doug Evans <dje@google.com>
14
15 PR c++/18141
16 * cp-namespace.c (cp_search_static_and_baseclasses): Always look for
17 klass in VAR_DOMAIN.
18
19 2015-03-30 Gary Benson <gbenson@redhat.com>
20
21 * remote.c (remote_mourn_1): Remove function. Update all callers
22 to use remote_mourn.
23 (extended_remote_mourn_1): Remove function. Update all callers
24 to use extended_remote_mourn.
25 (extended_remote_attach_1): Remove function. Update all callers
26 to use extended_remote_attach.
27
28 2015-03-28 James Bowman <james.bowman@ftdichip.com>
29
30 * Makefile.in (ALL_TARGET_OBS): Add ft32-tdep.o.
31 (HFILES_NO_SRCDIR): Add ft32-tdep.h.
32 (ALLDEPFILES): Add ft32-tdep.c.
33 * configure.tgt: Add FT32 entry.
34 * ft32-tdep.c: New file, FT32 target-dependent code.
35 * ft32-tdep.h: New file, FT32 target-dependent code.
36
37 2015-03-27 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 Revert:
40 2015-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
41 Code cleanup.
42 * printcmd.c (print_command_1): Move expr variable scope.
43
44 2015-03-27 Joel Brobecker <brobecker@adacore.com>
45
46 * dtrace-probe.c (dtrace_process_dof_probe): Initialize expr to NULL.
47
48 2015-03-27 Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
49
50 * gdb_bfd.c (gdb_bfd_section_index): Fix off-by-one for special
51 sections.
52
53 2015-03-26 Joel Brobecker <brobecker@adacore.com>
54
55 * dtrace-probe.c (dtrace_process_dof_probe): Contain any
56 exception raised while parsing the probe arguments.
57 Force parsing to be done using the C language parser.
58 * expression.h (parse_expression_with_language): Declare.
59 * parse.c (parse_expression_with_language): New function.
60
61 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
62
63 * MAINTAINERS (Write After Approval): Add "Jon Turney".
64
65 2015-03-26 Andy Wingo <wingo@igalia.com>
66
67 PR symtab/18148
68 * dwarf2read.c (struct partial_die_info): Add has_const_value
69 member.
70 (add_partial_symbol): Don't punt on symbols that have const_value
71 attributes.
72 (read_partial_die): Detect DW_AT_const_value.
73
74 2015-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 Code cleanup.
77 * printcmd.c (print_command_1): Move expr variable scope.
78
79 2015-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 Code cleanup.
82 * printcmd.c (validate_format): Make the parameter cmdname const.
83
84 2015-03-26 Don Breazeal <donb@codesourcery.com>
85
86 * remote.c (_initialize_remote): Update comment.
87
88 2015-03-26 Pedro Alves <palves@redhat.com>
89 Jon TURNEY <jon.turney@dronecode.org.uk>
90
91 * coffread.c (coff_symfile_read): When constructing the name of an
92 import stub symbol from import symbol for amd64, only skip the
93 char after _imp_ if the target is underscored (like i386) and the
94 char is indeed the target's leading char.
95
96 2015-03-25 Pedro Alves <palves@redhat.com>
97
98 * target.h <to_async>: Replace 'callback' and 'context' parameters
99 with boolean 'enable' parameter.
100 (target_async): Replace CALLBACK and CONTEXT parameters with
101 boolean ENABLE parameter.
102 * inf-loop.c (inferior_event_handler): Adjust.
103 * linux-nat.c (linux_nat_attach, linux_nat_resume)
104 (linux_nat_resume): Adjust.
105 (async_client_callback, async_client_context): Delete.
106 (handle_target_event): Call inferior_event_handler directly.
107 (linux_nat_async): Replace 'callback' and 'context' parameters
108 with boolean 'enable' parameter. Adjust. Remove references to
109 async_client_callback and async_client_context.
110 (linux_nat_close): Adjust.
111 * record-btrace.c (record_btrace_async): Replace 'callback' and
112 'context' parameters with boolean 'enable' parameter. Adjust.
113 (record_btrace_resume): Adjust.
114 * record-full.c (record_full_async): Replace 'callback' and
115 'context' parameters with boolean 'enable' parameter. Adjust.
116 (record_full_resume, record_full_core_resume): Adjust.
117 * remote.c (struct remote_state) <async_client_callback,
118 async_client_context>: Delete fields.
119 (remote_start_remote, extended_remote_attach_1, remote_resume)
120 (extended_remote_create_inferior): Adjust.
121 (remote_async_serial_handler): Call inferior_event_handler
122 directly.
123 (remote_async): Replace 'callback' and 'context' parameters with
124 boolean 'enable' parameter. Adjust.
125 * top.c (gdb_readline_wrapper_cleanup, gdb_readline_wrapper):
126 Adjust.
127 * target-delegates.c: Regenerate.
128
129 2015-03-25 Gary Benson <gbenson@redhat.com>
130 Pedro Alves <palves@redhat.com>
131
132 * target.c (fileio_ft_t): New typedef, define object vector.
133 (fileio_fhandles): New static variable.
134 (is_closed_fileio_fh): New macro.
135 (lowest_closed_fd): New static variable.
136 (acquire_fileio_fd): New function.
137 (release_fileio_fd): Likewise.
138 (fileio_fd_to_fh): New macro.
139 (target_fileio_open): Wrap the file descriptor on success.
140 (target_fileio_pwrite): Updated to use wrapped file descriptor.
141 (target_fileio_pread): Likewise.
142 (target_fileio_close): Likewise.
143
144 2015-03-24 Pedro Alves <palves@redhat.com>
145
146 * thread.c (thread_apply_all_command): Take exited threads into
147 account.
148
149 2015-03-24 Pedro Alves <palves@redhat.com>
150
151 * infrun.c (resume, proceed): Mention
152 switch_back_to_stepped_thread, not switch_back_to_stepping.
153
154 2015-03-24 Pedro Alves <palves@redhat.com>
155
156 * infrun.c (user_visible_resume_ptid): Rewrite going from
157 most-locked to unlocked instead of the opposite. Move comment ...
158 * infrun.h (user_visible_resume_ptid): ... here.
159
160 2015-03-24 Pedro Alves <palves@redhat.com>
161
162 * linux-nat.c (linux_nat_resume): Output debug logs before trying
163 to resume the event lwp. Use the lwp's ptid instead of the passed
164 in (maybe wildcard) ptid.
165 (stop_wait_callback): Tweak debug log output.
166 (check_stopped_by_breakpoint): Tweak debug log output. Also dump
167 TRAP_TRACE.
168 (linux_nat_filter_event): In debug output, distinguish a
169 resume_stop SIGSTOP from a delayed SIGSTOP. Output debug logs
170 before trying to resume the lwp.
171
172 2015-03-24 Joel Brobecker <brobecker@adacore.com>
173
174 * gdbtypes.h (struct dynamic_prop_list) <prop>: Remove
175 pointer indirection.
176 * gdbtypes.c (get_dyn_prop): Adjust, following change above.
177 (add_dyn_prop, copy_dynamic_prop_list): Likewise.
178
179 2015-03-24 Joel Brobecker <brobecker@adacore.com>
180
181 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_DATA_LOCATION>:
182 Renames DYN_ATTR_DATA_LOCATION.
183 (TYPE_DATA_LOCATION): Use DYN_PROP_DATA_LOCATION instead of
184 DYN_ATTR_DATA_LOCATION.
185 * dwarf2read.c (set_die_type): Use DYN_PROP_DATA_LOCATION
186 instead of DYN_ATTR_DATA_LOCATION.
187
188 2015-03-24 Pedro Alves <palves@redhat.com>
189
190 * breakpoint.c (until_break_command): Adjust call to proceed.
191 * gdbthread.h (struct thread_control_state) <stepping_command>:
192 New field.
193 * infcall.c (run_inferior_call): Adjust call to proceed.
194 * infcmd.c (run_command_1, proceed_thread_callback, continue_1):
195 Adjust calls to proceed.
196 (set_step_frame): Set the current thread's step_start_function
197 here.
198 (step_once): Adjust calls to proceed.
199 (jump_command, signal_command, until_next_command)
200 (finish_backward, finish_forward, proceed_after_attach_callback)
201 (attach_command_post_wait): Adjust calls to proceed.
202 * infrun.c (proceed_after_vfork_done): Adjust call to proceed.
203 (do_target_resume): New function, factored out from ...
204 (resume): ... here. Remove 'step' parameter. Instead, check
205 currently_stepping to determine whether the thread should be
206 single-stepped.
207 (proceed): Remove 'step' parameter and don't set the thread's
208 step_start_function here. Adjust call to 'resume'.
209 (handle_inferior_event): Adjust calls to 'resume'.
210 (switch_back_to_stepped_thread): Use do_target_resume instead of
211 'resume'.
212 (keep_going): Adjust calls to 'resume'.
213 * infrun.h (proceed): Remove 'step' parameter.
214 (resume): Likewise.
215 * windows-nat.c (do_initial_windows_stuff): Adjust call to
216 'resume'.
217 * mi/mi-main.c (proceed_thread): Adjust call to 'proceed'.
218
219 2015-03-24 Pedro Alves <palves@redhat.com>
220
221 * gdbthread.h (struct thread_control_state) <stepping_command>:
222 New field.
223 * infcmd.c (step_once): Pass step=1 to clear_proceed_status. Set
224 the thread's stepping_command field.
225 * infrun.c (resume): Check the thread's stepping_command flag to
226 determine which threads should be resumed. Rename 'entry_step'
227 local to user_step.
228 (clear_proceed_status_thread): Clear 'stepping_command'.
229 (schedlock_applies): Change parameter type to struct thread_info
230 pointer. Adjust.
231 (find_thread_needs_step_over): Remove 'step' parameter. Adjust.
232 (switch_back_to_stepped_thread): Adjust calls to
233 'schedlock_applies'.
234 (_initialize_infrun): Adjust "set scheduler-locking step" help.
235
236 2015-03-24 Pedro Alves <palves@redhat.com>
237
238 * infrun.c (step_start_function): Delete and ...
239 * gdbthread.h (struct thread_control_state) <step_start_function>:
240 ... now a field here.
241 * infrun.c (clear_proceed_status_thread): Clear the thread's
242 step_start_function.
243 (proceed, process_event_stop_test, print_stop_event): Adjust.
244
245 2015-03-24 Pedro Alves <palves@redhat.com>
246
247 * infrun.c (proceed): No longer handle negative step.
248
249 2015-03-24 Gary Benson <gbenson@redhat.com>
250
251 * nat/x86-linux.h (x86_linux_new_thread): New declaration.
252 (x86_linux_prepare_to_resume): Likewise.
253 * x86-linux-nat.c (x86_linux_new_thread):
254 Moved to nat/x86-linux.c.
255 (x86_linux_prepare_to_resume): Likewise.
256 * nat/x86-linux.c (x86_linux_new_thread): New function.
257 (x86_linux_prepare_to_resume): Likewise.
258
259 2015-03-24 Gary Benson <gbenson@redhat.com>
260
261 * nat/x86-linux-dregs.h: New file.
262 * nat/x86-linux-dregs.c: Likewise.
263 * Makefile.in (HFILES_NO_SRCDIR): Add nat/x86-linux-dregs.h.
264 (x86-linux-dregs.o): New rule.
265 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-dregs.o.
266 * config/i386/linux64.mh (NATDEPFILES): Likewise.
267 * x86-linux-nat.c: Include nat/x86-linux-dregs.h.
268 (u_debugreg_offset): Moved to nat/x86-linux-dregs.c.
269 (x86_linux_dr_get): Likewise.
270 (x86_linux_dr_set): Likewise.
271 (x86_linux_dr_get_addr): Likewise.
272 (x86_linux_dr_get_control): Likewise.
273 (x86_linux_dr_get_status): Likewise.
274 (update_debug_registers_callback): Likewise.
275 (x86_linux_dr_set_control): Likewise.
276 (x86_linux_dr_set_addr): Likewise.
277 (x86_linux_update_debug_registers): Likewise.
278
279 2015-03-24 Gary Benson <gbenson@redhat.com>
280
281 * x86-linux-nat.c (x86_linux_update_debug_registers):
282 New function, factored out from...
283 (x86_linux_prepare_to_resume): ...this.
284
285 2015-03-24 Gary Benson <gbenson@redhat.com>
286
287 * x86-linux-nat.c (x86_linux_dr_get): Update comments.
288 (x86_linux_dr_set): Likewise.
289 (x86_linux_dr_get_addr): Likewise.
290 (x86_linux_dr_get_control): Likewise.
291 (x86_linux_dr_get_status): Likewise.
292 (update_debug_registers_callback): Likewise.
293 (x86_linux_dr_set_control): Likewise.
294 (x86_linux_dr_set_addr): Likewise.
295 (x86_linux_prepare_to_resume): Likewise.
296 (x86_linux_new_thread): Likewise.
297
298 2015-03-24 Gary Benson <gbenson@redhat.com>
299
300 * x86-linux-nat.c (x86_linux_dr_set_addr): Update assertion.
301 (x86_linux_new_thread): Rename argument.
302
303 2015-03-24 Gary Benson <gbenson@redhat.com>
304
305 * nat/x86-linux.h: New file.
306 * nat/x86-linux.c: Likewise.
307 * Makefile.in (HFILES_NO_SRCDIR): Add nat/x86-linux.h.
308 (x86-linux.o): New rule.
309 * config/i386/linux.mh (NATDEPFILES): Add x86-linux.o.
310 * config/i386/linux64.mh (NATDEPFILES): Likewise.
311 * nat/linux-nat.h (struct arch_lwp_info): New forward declaration.
312 (lwp_set_arch_private_info): New declaration.
313 (lwp_arch_private_info): Likewise.
314 * linux-nat.c (lwp_set_arch_private_info): New function.
315 (lwp_arch_private_info): Likewise.
316 * x86-linux-nat.c: Include nat/x86-linux.h.
317 (arch_lwp_info): Removed structure.
318 (update_debug_registers_callback):
319 Use lwp_set_debug_registers_changed.
320 (x86_linux_prepare_to_resume): Use lwp_debug_registers_changed
321 and lwp_set_debug_registers_changed.
322 (x86_linux_new_thread): Use lwp_set_debug_registers_changed.
323
324 2015-03-24 Gary Benson <gbenson@redhat.com>
325
326 * nat/linux-nat.h (ptid_of_lwp): New declaration.
327 (lwp_is_stopped): Likewise.
328 (lwp_stop_reason): Likewise.
329 * linux-nat.c (ptid_of_lwp): New function.
330 (lwp_is_stopped): Likewise.
331 (lwp_is_stopped_by_watchpoint): Likewise.
332 * x86-linux-nat.c (update_debug_registers_callback):
333 Use lwp_is_stopped.
334 (x86_linux_prepare_to_resume): Use ptid_of_lwp and
335 lwp_stop_reason.
336
337 2015-03-24 Gary Benson <gbenson@redhat.com>
338
339 * linux-nat.h (linux_stop_lwp): Move declaration to...
340 * nat/linux-nat.h (linux_stop_lwp): New declaration.
341
342 2015-03-24 Gary Benson <gbenson@redhat.com>
343
344 * linux-nat.h: Include nat/linux-nat.h.
345 (iterate_over_lwps): Move declaration to nat/linux-nat.h.
346 * nat/linux-nat.h (struct lwp_info): New forward declaration.
347 (iterate_over_lwps_ftype): New typedef.
348 (iterate_over_lwps): New declaration.
349 * linux-nat.h (iterate_over_lwps): Update comment. Use
350 iterate_over_lwps_ftype. Update callback return value check.
351
352 2015-03-24 Gary Benson <gbenson@redhat.com>
353
354 * x86-nat.h (x86_debug_reg_state): Move declaration to...
355 * nat/x86-dregs.h (x86_debug_reg_state): New declaration.
356
357 2015-03-24 Gary Benson <gbenson@redhat.com>
358
359 * nat/linux-nat.h (current_lwp_ptid): New declaration.
360 * linux-nat.c (current_lwp_ptid): New function.
361 * x86-linux-nat.c: Include nat/linux-nat.h.
362 (x86_linux_dr_get_addr): Use current_lwp_ptid.
363 (x86_linux_dr_get_control): Likewise.
364 (x86_linux_dr_get_status): Likewise.
365 (x86_linux_dr_set_control): Likewise.
366 (x86_linux_dr_set_addr): Likewise.
367
368 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
369
370 PR breakpoints/16466
371 * breakpoint.c (create_breakpoint): Set thread on breakpoint struct.
372
373 2015-03-23 Joel Brobecker <brobecker@adacore.com>
374
375 * ser-mingw.c (ser_windows_setparity): Fix indentation.
376 * ser-unix.c (hardwire_setparity): Likewise.
377
378 2015-03-23 Yurij Grechishhev <yurij.grechishhev@gmail.com>
379
380 * NEWS: Mention set/show serial parity command.
381 * monitor.c (monitor_open): Call serial_setparity.
382 * remote.c (remote_open_1): Likewise.
383 * ser-base.c (ser_base_serparity): New function.
384 * ser-base.h (ser_base_setparity): Add declaration.
385 * ser-go32.c (dos_ops): Set "setparity" field.
386 * ser-mingw.c (ser_windows_raw): Do not set state.fParity and
387 state.Parity.
388 (ser_windows_setparity): New function.
389 (hardwire_ops): Add ser_windows_setparity.
390 (tty_ops): Add NULL for setparity field.
391 (pipe_ops): Add ser_base_setparity.
392 (tcp_ops): Likewise.
393 * ser-pipe.c (pipe_ops): Likewise.
394 * ser-tcp.c (tcp_ops): Likewise.
395 * ser-unix.c (hardwire_setparity): Add declaration.
396 (hardwire_raw): Don't reset PARENB flag.
397 (hardwire_setparity): New function.
398 (hardwire_ops): Add hardwire_setparity.
399 * serial.c (serial_setparity): New function.
400 (serial_parity): New global.
401 (parity_none, parity_odd, parity_even, parity_enums, parity):
402 New static globals.
403 (set_parity): New function.
404 (_initialize_serial): Add set/show serial parity commands.
405 * serial.h (GDBPARITY_NONE): Define.
406 (GDBPARITY_ODD): Define.
407 (GDBPARITY_EVEN): Define.
408 (serial_setparity) Add declaration.
409 (struct serial_ops): Add setparity field.
410 * target.h (serial_parity): Add declaration.
411
412 2015-03-23 Keith Seitz <keiths@redhat.com>
413
414 * linespec.c (linespec_lexer_lex_keyword): Update comment.
415
416 2015-03-23 Keith Seitz <keiths@redhat.com>
417
418 * breakpoint.c (parse_breakpoint_sals): Use
419 linespec_lexer_lex_keyword to ascertain if the user specified
420 a NULL location.
421 * linespec.c [IF_KEYWORD_INDEX]: Define.
422 (linespec_lexer_lex_keyword): Export.
423 (struct ls_parser) <keyword_ok>: Remove.
424 A keyword is only a keyword if not followed by another keyword.
425 (linespec_lexer_lex_one): Remove keyword_ok handling.
426 Add comment explaining why the parsing stream is not advanced
427 when a keyword is seen.
428 (parse_linespec): Remove parser->keyword_ok.
429 * linespec.h (linespec_lexer_lex_keyword): Add declaration.
430
431 2015-03-23 Keith Seitz <keiths@redhat.com>
432
433 PR gdb/18021
434 * dwarf2read.c (dwarf2_add_member_fn): Issue a complaint
435 if we find a static method with DW_AT_vtable_elem_location.
436
437 2015-03-21 Eli Zaretskii <eliz@gnu.org>
438
439 * tui/tui-io.c (tui_expand_tabs): Reinitialize the column counter
440 before the second loop, to avoid undefined behavior. Reported by
441 Anton Blanchard <anton@samba.org>.
442
443 2015-03-20 Keven Boell <keven.boell@intel.com>
444
445 * gdbtypes.c (resolve_dynamic_type_internal): Adapt
446 data_location usage to linked list.
447 (resolve_dynamic_type_internal): Adapt data_location to
448 linked list.
449 (get_dyn_prop, add_dyn_prop, copy_dynamic_prop_list): New function.
450 (copy_type_recursive, copy_type): Add copy of linked list.
451 * gdbtypes.h (enum dynamic_prop_node_kind): New enum.
452 (struct dynamic_prop_list): New struct.
453 * dwarf2read.c (set_die_type): Set data_location data.
454
455 2015-03-20 Pedro Alves <palves@redhat.com>
456
457 * i386-sol2-tdep.c (i386_sol2_static_transform_name): Move "p" to
458 inner block and make it const.
459 * machoread.c (get_archive_prefix_len): Make "lparen" const.
460
461 2015-03-20 Pedro Alves <palves@redhat.com>
462
463 * breakpoint.c (set_breakpoint_condition): Make argument "exp" const.
464 * breakpoint.h (set_breakpoint_condition): Update declaration.
465
466 2015-03-20 Pedro Alves <palves@redhat.com>
467
468 * tui/tui-io.c (tui_expand_tabs): Make "s1" const.
469
470 2015-03-20 Pedro Alves <palves@redhat.com>
471
472 * xcoffread.c (scan_xcoff_symtab): Make "p" and "q" const.
473
474 2015-03-20 Pedro Alves <palves@redhat.com>
475
476 * remote-m32r-sdi.c (m32r_open): Make "port_str" const.
477
478 2015-03-20 Pedro Alves <palves@redhat.com>
479
480 * nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
481 (nto_init_solib_absolute_prefix): Likewise.
482
483 2015-03-20 Pedro Alves <palves@redhat.com>
484
485 * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Make "p" const.
486 * spu-tdep.c (spu_gdbarch_init): Make "name" const.
487
488 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
489
490 * config/djgpp/README: Remove gdb.hp.
491
492 2015-03-20 Yao Qi <yao.qi@linaro.org>
493
494 * aarch64-tdep.c (aarch64_gdbarch_init): Don't call
495 set_gdbarch_cannot_step_breakpoint.
496
497 2015-03-19 Pedro Alves <palves@redhat.com>
498
499 * linux-nat.c (linux_resume_one_lwp): Rename to ...
500 (linux_resume_one_lwp_throw): ... this. Don't handle ESRCH here,
501 instead call perror_with_name.
502 (check_ptrace_stopped_lwp_gone): New function.
503 (linux_resume_one_lwp): Reimplement as wrapper around
504 linux_resume_one_lwp_throw that swallows errors if the LWP is
505 gone.
506 (resume_stopped_resumed_lwps): Try register reads in TRY/CATCH and
507 swallows errors if the LWP is gone. Use
508 linux_resume_one_lwp_throw instead of linux_resume_one_lwp.
509
510 2015-03-19 Pedro Alves <palves@redhat.com>
511
512 * linux-nat.c (status_callback): Return early if the LWP has no
513 status pending.
514
515 2015-03-19 Pedro Alves <palves@redhat.com>
516
517 * linux-nat.c (select_event_lwp_callback): Update comment to no
518 longer mention SIGTRAP.
519
520 2015-03-18 Tristan Gingold <gingold@adacore.com>
521
522 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
523 redirection code to ...
524 (amd64_windows_frame_decode_insns): ... Here. Fix in prologue
525 checks. Fix SAVE_NONVOL operations. Add debug code and comments.
526
527 2015-03-18 Gary Benson <gbenson@redhat.com>
528
529 (remote_protocol_features): Remove the "vFile:fstat" feature.
530 (remote_hostio_fstat): Probe for "vFile:fstat" support.
531
532 2015-03-11 Yao Qi <yao.qi@linaro.org>
533
534 PR tdep/18107
535 * aarch64-linux-tdep.c: Include xml-syscall.h
536 (aarch64_linux_get_syscall_number): New function.
537 (aarch64_linux_init_abi): Call
538 set_gdbarch_get_syscall_number.
539 * syscalls/aarch64-linux.xml: New file.
540
541 2015-03-17 Yurij Grechishhev <yurij.grechishhev@gmail.com>
542
543 * ser-base.h (ser_base_setstopbits): Change second argument name
544 from "rate" to "num".
545
546 2015-03-17 Gary Benson <gbenson@redhat.com>
547 Luke Allardyce <lukeallardyce@gmail.com>
548
549 PR gdb/18131
550 * common/common-remote-fileio.h (sys/stat.h): New include.
551 (stuct stat): Remove forward declaration.
552
553 2015-03-16 John Baldwin <jhb@FreeBSD.org>
554
555 * fbsd-tdep.c (fbsd_make_corefile_notes): Fetch all target registers
556 before writing core register notes.
557
558 2015-03-16 Yuanhui Zhang <asmwarrior@gmail.com>
559 Pedro Alves <palves@redhat.com>
560
561 * gdb_curses.h (tgetnum): Mark with EXTERN_C.
562 * stub-termcap.c (tgetent, tgetnum, tgetflag, tgetstr, tputs)
563 (tgoto): Wrap with extern "C".
564
565 2015-03-16 Pedro Alves <palves@redhat.com>
566 Yuanhui Zhang <asmwarrior@gmail.com>
567
568 * stub-termcap.c (tputs): Change prototype.
569
570 2015-03-16 Yuanhui Zhang <asmwarrior@gmail.com>
571 Pedro Alves <palves@redhat.com>
572
573 * windows-nat.c (struct thread_info_struct): Rename to ...
574 (struct windows_thread_info_struct): ... this.
575 (thread_info): Rename to ...
576 (windows_thread_info): ... this.
577 All users updated.
578
579 2015-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
580 Pedro Alves <palves@redhat.com>
581
582 * NEWS: New Removed targets and native configurations.
583
584 2015-03-13 Jan Kratochvil <jan.kratochvil@redhat.com>
585
586 Remove HPUX.
587 * Makefile.in (ALL_64_TARGET_OBS): Remove ia64-hpux-tdep.o.
588 (ALL_TARGET_OBS): Remove hppa-hpux-tdep.o, solib-som.o and solib-pa64.o.
589 (HFILES_NO_SRCDIR): Remove solib-som.h, inf-ttrace.h, solib-pa64.h and
590 ia64-hpux-tdep.h, solib-ia64-hpux.h.
591 (ALLDEPFILES): Remove hppa-hpux-tdep.c, hppa-hpux-nat.c,
592 ia64-hpux-nat.c, ia64-hpux-tdep.c, somread.c and solib-som.c.
593 * config/djgpp/fnchange.lst: Remove hppa-hpux-nat.c and
594 hppa-hpux-tdep.c.
595 * config/ia64/hpux.mh: Remove file.
596 * config/pa/hpux.mh: Remove file.
597 * configure: Rebuilt.
598 * configure.ac (dlgetmodinfo, somread.o): Remove.
599 * configure.host (hppa*-*-hpux*, ia64-*-hpux*): Make them obsolete.
600 (ia64-*-hpux*): Remove its float format exception.
601 * configure.tgt (hppa*-*-hpux*, ia64-*-hpux*): Make them obsolete.
602 * hppa-hpux-nat.c: Remove file.
603 * hppa-hpux-tdep.c: Remove file.
604 * hppa-tdep.c (struct hppa_unwind_info, struct hppa_objfile_private):
605 Move them here from hppa-tdep.h
606 (hppa_objfile_priv_data, hppa_init_objfile_priv_data): Make it static.
607 (hppa_frame_prev_register_helper): Remove HPPA_FLAGS_REGNUM exception.
608 * hppa-tdep.h (struct hppa_unwind_info, struct hppa_objfile_private):
609 Move them to hppa-tdep.c.
610 (hppa_objfile_priv_data, hppa_init_objfile_priv_data): Remove
611 declarations.
612 * ia64-hpux-nat.c: Remove file.
613 * ia64-hpux-tdep.c: Remove file.
614 * ia64-hpux-tdep.h: Remove file.
615 * inf-ttrace.c: Remove file.
616 * inf-ttrace.h: Remove file.
617 * solib-ia64-hpux.c: Remove file.
618 * solib-ia64-hpux.h: Remove file.
619 * solib-pa64.c: Remove file.
620 * solib-pa64.h: Remove file.
621 * solib-som.c: Remove file.
622 * solib-som.h: Remove file.
623 * somread.c: Remove file.
624
625 2015-03-13 John Baldwin <jhb@FreeBSD.org>
626
627 * configure.ac: AC_SEARCH_LIBS(kinfo_getvmmap, util).
628 * config.in: Regenerate.
629 * configure: Regenerate.
630 * fbsd-nat.c [!HAVE_KINFO_GETVMMAP] (fbsd_read_mapping): Don't
631 define.
632 (fbsd_find_memory_regions): Use kinfo_getvmmap to
633 enumerate memory regions if present.
634
635 2015-03-13 John Baldwin <jhb@FreeBSD.org>
636
637 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_p): Style fixes.
638 * i386fbsd-tdep.c: Fix style in various gdb_static_assert
639 expressions.
640 (i386fbsd_sigtramp_p): Likewise.
641
642 2015-03-12 John Baldwin <jhb@FreeBSD.org>
643
644 * MAINTAINERS (Write After Approval): Add John Baldwin.
645
646 2015-03-12 Gary Benson <gbenson@redhat.com>
647
648 * solib.c (_initialize_solib): Make "set/show sysroot" use
649 add_setshow_optional_filename_cmd so it can be restored to
650 empty after being set.
651
652 2015-03-11 Sergio Durigan Junior <sergiodj@redhat.com>
653
654 * Makefile.in (SFILES): New source break-catch-syscall.c.
655 (COMMON_OBS): New object break-catch-syscall.o.
656 * break-catch-syscall.c: New file.
657 * breakpoint.c: Remove inclusion of "xml-syscall.h".
658 (syscall_catchpoint_p): Move declaration to break-catch-syscall.c
659 (struct syscall_catchpoint): Likewise.
660 (dtor_catch_syscall): Likewise.
661 (catch_syscall_inferior_data): Likewise.
662 (struct catch_syscall_inferior_data): Likewise.
663 (get_catch_syscall_inferior_data): Likewise.
664 (catch_syscall_inferior_data_cleanup): Likewise.
665 (insert_catch_syscall): Likewise.
666 (remove_catch_syscall): Likewise.
667 (breakpoint_hit_catch_syscall): Likewise.
668 (print_it_catch_syscall): Likewise.
669 (print_one_catch_syscall): Likewise.
670 (print_mention_catch_syscall): Likewise.
671 (print_recreate_catch_syscall): Likewise.
672 (catch_syscall_breakpoint_ops): Likewise.
673 (syscall_catchpoint_p): Likewise.
674 (create_syscall_event_catchpoint): Likewise.
675 (catch_syscall_split_args): Likewise.
676 (catch_syscall_command_1): Likewise.
677 (is_syscall_catchpoint_enabled): Likewise.
678 (catch_syscall_enabled): Likewise.
679 (catching_syscall_number): Likewise.
680 (catch_syscall_completer): Likewise.
681 (clear_syscall_counts): Likewise.
682 (initialize_breakpoint_ops): Move initialization of syscall
683 catchpoints to break-catch-syscall.c.
684 (_initialize_breakpoint): Move code related to syscall catchpoints
685 to break-catch-syscall.c.
686
687 2015-03-11 Sergio Durigan Junior <sergiodj@redhat.com>
688
689 * breakpoint.c (breakpoint_find_if): New function.
690 * breakpoint.h (breakpoint_find_if): New prototype.
691
692 2015-03-11 Gary Benson <gbenson@redhat.com>
693
694 * remote-fileio.h (remote_fileio_to_host_stat): New declaration.
695 * remote-fileio.c (remote_fileio_to_host_uint): New function.
696 (remote_fileio_to_host_ulong): Likewise.
697 (remote_fileio_to_host_mode): Likewise.
698 (remote_fileio_to_host_time): Likewise.
699 (remote_fileio_to_host_stat): Likewise.
700 * remote.c (PACKET_vFile_fstat): New enum value.
701 (remote_protocol_features): Register the "vFile:fstat" feature.
702 (remote_hostio_fstat): New function.
703 (remote_bfd_iovec_stat): Use the above.
704 (_initialize_remote): Register new "set/show remote
705 hostio-fstat-packet" command.
706 * symfile.c (separate_debug_file_exists): Update comment.
707 * NEWS: Announce new vFile:fstat packet.
708
709 2015-03-11 Gary Benson <gbenson@redhat.com>
710
711 * common/common-remote-fileio.h: New file.
712 * common/common-remote-fileio.c: Likewise.
713 * Makefile.in (SFILES): Add common/common-remote-fileio.c.
714 (HFILES_NO_SRCDIR): Add common/common-remote-fileio.h.
715 (COMMON_OBS): Add common-remote-fileio.o.
716 (common-remote-fileio.o): New rule.
717 * remote-fileio.h (common-remote-fileio.h): New include.
718 * remote-fileio.c (gdb/fileio.h): Do not include.
719 (remote_fileio_to_be): Moved to common-remote-fileio.h.
720 (remote_fileio_to_fio_uint): Likewise.
721 (remote_fileio_to_fio_time): Likewise.
722 (remote_fileio_mode_to_target): Moved to common-remote-fileio.c.
723 (remote_fileio_to_fio_mode): Likewise.
724 (remote_fileio_to_fio_ulong): Likewise.
725 (remote_fileio_to_fio_stat): Likewise.
726
727 2015-03-11 Andy Wingo <wingo@igalia.com>
728
729 * guile/scm-value.c (gdbscm_value_dynamic_type): Fix typo in which
730 we were checking the cached type, not the cached dynamic type.
731
732 2015-03-11 Andy Wingo <wingo@igalia.com>
733
734 * guile/scm-cmd.c (cmdscm_destroyer): Don't xfree the name and
735 other strings, as these are on the GC'd heap, and will be
736 collected along with the smob.
737
738 2015-03-11 Andy Wingo <wingo@igalia.com>
739
740 * guile/scm-objfile.c (gdbscm_objfile_progspace): New function.
741 (objfile_functions): Bind gdbscm_objfile_progspace to
742 objfile-progspace.
743 * guile/lib/gdb.scm: Add objfile-progspace to exports.
744
745 2015-03-11 Andy Wingo <wingo@igalia.com>
746
747 * guile/guile.c (_initialize_guile): Disable automatic
748 finalization, if Guile offers us that possibility.
749 * guile/guile.c (call_initialize_gdb_module):
750 * guile/scm-safe-call.c (gdbscm_with_catch): Arrange to run
751 finalizers in appropriate places.
752 * configure.ac (AC_TRY_LIBGUILE): Add a check for
753 scm_set_automatic_finalization_enabled.
754 * configure: Regenerated.
755
756 2015-03-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
757
758 * s390-linux-tdep.c (s390_skip_prologue): Skip the prologue using
759 SAL, if possible.
760
761 2015-03-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
762
763 * s390-linux-nat.c (struct arch_lwp_info): New.
764 (s390_fix_watch_points): Rename to...
765 (s390_prepare_to_resume): ...this. Skip the PER info update
766 unless the watch points have changed.
767 (s390_refresh_per_info, s390_new_thread): New functions.
768 (s390_insert_watchpoint): Call s390_refresh_per_info instead of
769 s390_fix_watch_points.
770 (s390_remove_watchpoint): Likewise.
771 (_initialize_s390_nat): Reflect renaming of s390_fix_watch_points.
772 Register s390_prepare_to_resume.
773
774 2015-03-09 Pedro Alves <palves@redhat.com>
775
776 Revert:
777 2015-03-07 Pedro Alves <palves@redhat.com>
778 * common/gdb_socket.h: New file.
779 * ser-tcp.c: Include gdb_socket.h. Don't include netinet/in.h nor
780 sys/socket.h.
781 (net_open): Use union gdb_sockaddr_u.
782
783 2015-03-07 Pedro Alves <palves@redhat.com>
784
785 * configure.ac (build_warnings): Move -Wmissing-prototypes
786 -Wdeclaration-after-statement -Wmissing-parameter-type
787 -Wold-style-declaration -Wold-style-definition to the C-specific
788 set.
789 * configure: Regenerate.
790
791 2015-03-07 Pedro Alves <palves@redhat.com>
792
793 * common/gdb_socket.h: New file.
794 * ser-tcp.c: Include gdb_socket.h. Don't include netinet/in.h nor
795 sys/socket.h.
796 (net_open): Use union gdb_sockaddr_u.
797
798 2015-03-07 Pedro Alves <palves@redhat.com>
799
800 * common/common-exceptions.c [!__cplusplus] (enum catcher_state)
801 (exceptions_state_mc_action_iter)
802 (exceptions_state_mc_action_iter_1, exceptions_state_mc_catch):
803 Don't define.
804 [__cplusplus] (try_scope_depth): New global.
805 [__cplusplus] (exception_try_scope_entry)
806 (exception_try_scope_exit, gdb_exception_sliced_copy)
807 (exception_rethrow): New functions.
808 (throw_exception): In C++ mode, throw
809 gdb_exception_RETURN_MASK_QUIT for RETURN_QUIT and
810 gdb_exception_RETURN_MASK_ERROR for RETURN_ERROR.
811 (throw_it): In C++ mode, use try_scope_depth.
812 * common/common-exceptions.h [!__cplusplus]
813 (exceptions_state_mc_action_iter)
814 (exceptions_state_mc_action_iter_1, exceptions_state_mc_catch):
815 Don't declare.
816 [__cplusplus] (exception_try_scope_entry)
817 (exception_try_scope_exit, exception_rethrow): Declare.
818 [__cplusplus] (struct exception_try_scope): New struct.
819 [__cplusplus] (TRY, CATCH, END_CATCH): Reimplement on top of real
820 C++ exceptions.
821 (struct gdb_exception_RETURN_MASK_ALL)
822 (struct gdb_exception_RETURN_MASK_ERROR)
823 (struct gdb_exception_RETURN_MASK_QUIT): New types.
824
825 2015-03-07 Pedro Alves <palves@redhat.com>
826
827 * main.c (handle_command_errors): Remove volatile qualifier from
828 parameter.
829
830 2015-03-07 Pedro Alves <palves@redhat.com>
831
832 * breakpoint.c (save_breakpoints): Adjust to avoid code between
833 TRY and CATCH.
834 * gdbtypes.c (safe_parse_type): Remove empty line.
835 (types_deeply_equal):
836 * guile/scm-frame.c (gdbscm_frame_name):
837 * linux-thread-db.c (find_new_threads_once):
838 * python/py-breakpoint.c (bppy_get_commands):
839 * record-btrace.c (record_btrace_insert_breakpoint)
840 (record_btrace_remove_breakpoint, record_btrace_start_replaying)
841 (record_btrace_start_replaying): Adjust to avoid code between TRY
842 and CATCH.
843
844 2015-03-07 Pedro Alves <palves@redhat.com>
845
846 * common/common-exceptions.c (struct catcher) <exception>: No
847 longer a pointer to volatile exception. Now an exception value.
848 <mask>: Delete field.
849 (exceptions_state_mc_init): Remove all parameters. Adjust.
850 (exceptions_state_mc): No longer pop the catcher here.
851 (exceptions_state_mc_catch): New function.
852 (throw_exception): Adjust.
853 * common/common-exceptions.h (exceptions_state_mc_init): Remove
854 all parameters.
855 (exceptions_state_mc_catch): Declare.
856 (TRY_CATCH): Rename to ...
857 (TRY): ... this. Remove EXCEPTION and MASK parameters.
858 (CATCH, END_CATCH): New.
859 All callers adjusted.
860
861 2015-03-07 Tom Tromey <tromey@redhat.com>
862
863 * top.c (quit_force): Inline and delete DO_TRY, DO_PRINT_EX.
864
865 2015-03-07 Pedro Alves <palves@redhat.com>
866
867 * amd64-tdep.c (amd64_frame_cache, amd64_sigtramp_frame_cache)
868 (amd64_epilogue_frame_cache): Normal exception handling code.
869 * break-catch-throw.c (check_status_exception_catchpoint)
870 (re_set_exception_catchpoint): Ditto.
871 * cli/cli-interp.c (safe_execute_command):
872 * cli/cli-script.c (script_from_file): Ditto.
873 * compile/compile-c-symbols.c (generate_c_for_for_one_variable):
874 Ditto.
875 * compile/compile-object-run.c (compile_object_run): Ditto.
876 * cp-abi.c (baseclass_offset): Ditto.
877 * cp-valprint.c (cp_print_value): Ditto.
878 * exceptions.c (catch_exceptions_with_msg):
879 * frame-unwind.c (frame_unwind_try_unwinder): Ditto.
880 * frame.c (get_frame_address_in_block_if_available): Ditto.
881 * i386-tdep.c (i386_frame_cache, i386_epilogue_frame_cache)
882 (i386_sigtramp_frame_cache): Ditto.
883 * infcmd.c (post_create_inferior): Ditto.
884 * linespec.c (parse_linespec, find_linespec_symbols):
885 * p-valprint.c (pascal_object_print_value): Ditto.
886 * parse.c (parse_expression_for_completion): Ditto.
887 * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto.
888 * remote.c (remote_get_noisy_reply): Ditto.
889 * s390-linux-tdep.c (s390_frame_unwind_cache): Ditto.
890 * solib-svr4.c (solib_svr4_r_map): Ditto.
891
892 2015-03-06 Gary Benson <gbenson@redhat.com>
893
894 * common/common-utils.h (startswith): New inline function.
895 All places where this logic was used updated to use the above.
896
897 2015-03-05 Pedro Alves <palves@redhat.com>
898
899 PR gdb/18002
900 * mem-break.c (default_memory_insert_breakpoint): Set shadow_len
901 after reading the breakpoint's shadow memory.
902
903 2015-03-05 Mark Kettenis <kettenis@gnu.org>
904
905 * hppabsd-nat.c: Remove file.
906 * hppaobsd-nat.c: New file.
907 * Makefile.in (ALLDEPFILES): Remove hppabsd-nat.c. Add
908 hppaobsd-nat.c.
909 * config/pa/obsd.mh (NATDEPFILES): Replace hppabsd-nat.o with
910 hppaobsd-nat.o.
911
912 2015-03-04 Pedro Alves <palves@redhat.com>
913
914 * target.h (struct target_ops) <to_decr_pc_after_break>: Delete.
915 (target_decr_pc_after_break): Delete declaration.
916 * target.c (default_target_decr_pc_after_break)
917 (target_decr_pc_after_break): Delete.
918 * linux-nat.c (check_stopped_by_breakpoint, linux_nat_wait_1): Use
919 gdbarch_decr_pc_after_break instead of target_decr_pc_after_break.
920 * linux-thread-db.c (check_event): Likewise.
921 * infrun.c (adjust_pc_after_break): Likewise.
922 * darwin-nat.c (cancel_breakpoint): Likewise.
923 * aix-thread.c (aix_thread_wait): Likewise.
924 * target-delegates.c: Regenerate.
925
926 2015-03-04 Pedro Alves <palves@redhat.com>
927
928 * linux-nat.c (save_sigtrap): Check for breakpoints before
929 checking watchpoints.
930 (status_callback) [USE_SIGTRAP_SIGINFO]: Don't check whether a
931 breakpoint is inserted if relying on SIGTRAP's siginfo.si_code.
932 (check_stopped_by_breakpoint) [USE_SIGTRAP_SIGINFO]: Decide whether
933 a breakpoint triggered based on the SIGTRAP's siginfo.si_code.
934 (linux_nat_stopped_by_sw_breakpoint)
935 (linux_nat_supports_stopped_by_sw_breakpoint)
936 (linux_nat_stopped_by_hw_breakpoint)
937 (linux_nat_supports_stopped_by_hw_breakpoint): New functions.
938 (linux_nat_wait_1): Don't re-increment the PC if relying on
939 SIGTRAP's siginfo->si_code.
940 (linux_nat_add_target): Install new target methods.
941 * linux-thread-db.c (check_event): Don't account for breakpoint PC
942 offset if the target already adjusted the PC.
943 * nat/linux-ptrace.h (USE_SIGTRAP_SIGINFO): New.
944 (GDB_ARCH_TRAP_BRKPT): New.
945 (TRAP_HWBKPT): Define if not already defined.
946
947 2015-03-04 Pedro Alves <palves@redhat.com>
948
949 * NEWS: Mention the new "swbreak" and "hwbreak" stop reasons.
950 * remote.c (struct remote_state) <remote_stopped_by_watchpoint_p>:
951 Delete field.
952 <stop_reason>: New field.
953 (PACKET_swbreak_feature, PACKET_hwbreak_feature): New enum values.
954 (packet_set_cmd_state): New function.
955 (remote_protocol_features): Register the "swbreak" and "hwbreak"
956 features.
957 (remote_query_supported): If not disabled with the corresponding
958 "set remote foo-packet" command, report support for the swbreak
959 and hwbreak features.
960 (struct stop_reply) <remote_stopped_by_watchpoint_p>: Delete
961 field.
962 <stop_reason>: New field.
963 (remote_parse_stop_reply): Handle "swbreak" and "hwbreak".
964 (remote_wait_as): Adjust.
965 (remote_stopped_by_sw_breakpoint)
966 (remote_supports_stopped_by_sw_breakpoint)
967 (remote_stopped_by_hw_breakpoint)
968 (remote_supports_stopped_by_hw_breakpoint): New functions.
969 (remote_stopped_by_watchpoint): New function.
970 (init_remote_ops): Install them.
971 (_initialize_remote): Register new "set/show remote
972 swbreak-feature-packet" and "set/show remote
973 swbreak-feature-packet" commands.
974
975 2015-03-04 Pedro Alves <palves@redhat.com>
976
977 * btrace.h: Include target/waitstatus.h.
978 (struct btrace_thread_info) <stop_reason>: New field.
979 * record-btrace.c (record_btrace_step_thread): Use
980 record_check_stopped_by_breakpoint instead of breakpoint_here_p.
981 (record_btrace_decr_pc_after_break): Delete.
982 (record_btrace_stopped_by_sw_breakpoint)
983 (record_btrace_supports_stopped_by_sw_breakpoint)
984 (record_btrace_stopped_by_hw_breakpoint)
985 (record_btrace_supports_stopped_by_hw_breakpoint): New functions.
986 (init_record_btrace_ops): Install them.
987 * record-full.c (record_full_hw_watchpoint): Delete and replace
988 with ...
989 (record_full_stop_reason): ... this throughout.
990 (record_full_exec_insn): Adjust.
991 (record_full_wait_1): Adjust. No longer re-increment the PC.
992 (record_full_wait_1): Adjust. Use
993 record_check_stopped_by_breakpoint instead of breakpoint_here_p.
994 (record_full_stopped_by_watchpoint): Adjust.
995 (record_full_stopped_by_sw_breakpoint)
996 (record_full_supports_stopped_by_sw_breakpoint)
997 (record_full_supports_stopped_by_sw_breakpoint)
998 (record_full_stopped_by_hw_breakpoint)
999 (record_full_supports_stopped_by_hw_breakpoint): New functions.
1000 (init_record_full_ops, init_record_full_core_ops): Install them.
1001 * record.c (record_check_stopped_by_breakpoint): New function.
1002 * record.h: Include target/waitstatus.h.
1003 (record_check_stopped_by_breakpoint): New declaration.
1004
1005 2015-03-04 Pedro Alves <palves@redhat.com>
1006
1007 enum lwp_stop_reason -> enum target_stop_reason
1008 * linux-nat.c (linux_resume_one_lwp, check_stopped_by_watchpoint)
1009 (linux_nat_stopped_by_watchpoint, status_callback)
1010 (linux_nat_wait_1): Adjust.
1011 * linux-nat.h (enum lwp_stop_reason): Delete.
1012 (struct lwp_info) <stop_reason>: Now an enum target_stop_reason.
1013 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
1014 * target/waitstatus.h (enum target_stop_reason): New.
1015
1016 2015-03-04 Pedro Alves <palves@redhat.com>
1017
1018 * breakpoint.c (need_moribund_for_location_type): New function.
1019 (bpstat_stop_status): Don't skipping checking moribund locations
1020 of breakpoint types which the target tell caused a stop.
1021 (program_breakpoint_here_p): New function, factored out from ...
1022 (bp_loc_is_permanent): ... this.
1023 (update_global_location_list): Don't create a moribund location if
1024 the target supports reporting stops of the type of the removed
1025 breakpoint.
1026 * breakpoint.h (program_breakpoint_here_p): New declaration.
1027 * infrun.c (adjust_pc_after_break): Return early if the target has
1028 already adjusted the PC. Add comments.
1029 (handle_signal_stop): If nothing explains a signal, and the target
1030 tells us the stop was caused by a software breakpoint, check if
1031 there's a breakpoint instruction in the memory. If so, adjust the
1032 PC before presenting the stop to the user. Otherwise, ignore the
1033 trap. If nothing explains a signal, and the target tells us the
1034 stop was caused by a hardware breakpoint, ignore the trap.
1035 * target.h (struct target_ops) <to_stopped_by_sw_breakpoint,
1036 to_supports_stopped_by_sw_breakpoint, to_stopped_by_hw_breakpoint,
1037 to_supports_stopped_by_hw_breakpoint>: New fields.
1038 (target_stopped_by_sw_breakpoint)
1039 (target_supports_stopped_by_sw_breakpoint)
1040 (target_stopped_by_hw_breakpoint)
1041 (target_supports_stopped_by_hw_breakpoint): Define.
1042 * target-delegates.c: Regenerate.
1043
1044 2015-03-04 Pedro Alves <palves@redhat.com>
1045
1046 * infrun.c (follow_fork_inferior): Use the whole of the
1047 inferior_ptid and pending_follow.related_pid ptids instead of
1048 building ptids from the process components. Adjust verbose output
1049 to use target_pid_to_str.
1050 * linux-nat.c (linux_child_follow_fork): Use the whole of the
1051 inferior_ptid and pending_follow.related_pid ptids instead of
1052 building ptids from the process components.
1053
1054 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1055
1056 * inf-ptrace.c [PT_GET_PROCESS_STATE]
1057 (inf_ptrace_insert_fork_catchpoint): New function.
1058 (inf_ptrace_remove_fork_catchpoint): New function.
1059 (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Install them.
1060
1061 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1062
1063 * s390-linux-tdep.c (s390_register_name): Return empty string
1064 instead of NULL for registers that shouldn't be visible.
1065
1066 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1067
1068 * s390-linux-tdep.c (s390_gdbarch_init): Use the correct syscall
1069 XML file for 64-bit targets.
1070
1071 2015-03-03 Simon Marchi <simon.marchi@ericsson.com>
1072
1073 * target.h (find_default_create_inferior): Remove declaration.
1074 (find_default_attach): Likewise.
1075
1076 2015-03-03 Pedro Alves <palves@redhat.com>
1077
1078 * inf-ptrace.c (inf_ptrace_resume): Remove spurious whitespace.
1079 Use ptid_get_pid to get the overall process id when resuming all
1080 threads.
1081
1082 2015-03-03 Pedro Alves <palves@redhat.com>
1083
1084 * i386-linux-nat.c (i386_linux_resume): Get the ptrace PID out of
1085 the lwp field of ptid. Pass the full ptid to get_thread_regcache.
1086 * inf-ptrace.c (get_ptrace_pid): New function.
1087 (inf_ptrace_resume): Use it.
1088 * linux-nat.c (linux_resume_one_lwp): Pass the LWP's ptid ummodified
1089 to the lower layer.
1090
1091 2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
1092
1093 * nat/linux-btrace.c: Include sys/utsname.h.
1094 (linux_determine_kernel_ptr_bits): New.
1095 (linux_enable_bts): Call linux_determine_kernel_ptr_bits.
1096 * x86-linux-nat.c (x86_linux_enable_btrace): Do not overwrite non-zero
1097 ptr_bits.
1098
1099 2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
1100
1101 * btrace.c (ftrace_update_function): Treat return as tailcall for
1102 "_dl_runtime_resolve".
1103
1104 2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
1105
1106 * btrace.h (btrace_function) <lbegin, lend>: Remove.
1107 * btrace.c (ftrace_debug): Do not print the line range.
1108 (ftrace_skip_file, ftrace_update_lines): Remove.
1109 (ftrace_new_function): Remove lbegin and lend initialization.
1110 (btrace_compute_ftrace_bts): Remove call to ftrace_update_lines.
1111 * record-btrace.c (btrace_compute_src_line_range): New.
1112 (btrace_call_history_src_line): Call btrace_compute_src_line_range.
1113
1114 2015-03-02 Pedro Alves <palves@redhat.com>
1115
1116 * infrun.c (follow_exec): Delete all threads of the process except
1117 the event thread. Extended comments.
1118
1119 2015-03-02 Joel Brobecker <brobecker@adacore.com>
1120
1121 * contrib/ari/gdb_ari.sh: Reinstate checks for "true" and "false".
1122
1123 2015-03-02 Joel Brobecker <brobecker@adacore.com>
1124
1125 * utils.h: Remove <stdbool.h> #include.
1126 (producer_is_gcc): Change return type to "int".
1127 * utils.c (producer_is_gcc): Change return type to int.
1128 Return 1 instead of true, and 0 instead of false.
1129 Adjust function documentation accordingly.
1130
1131 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1132
1133 * s390-linux-nat.c (have_regset_vxrs): New static variable.
1134 (s390_linux_fetch_inferior_registers): Handle vector registers, if
1135 present.
1136 (s390_linux_store_inferior_registers): Likewise.
1137 (s390_get_hwcap): Remove function. Embed its logic...
1138 (s390_read_description): ...here. Yield a target description with
1139 vector registers if applicable.
1140 * s390-linux-tdep.c: Include "features/s390-vx-linux64.c",
1141 "features/s390-tevx-linux64.c", "features/s390x-vx-linux64.c", and
1142 "features/s390x-tevx-linux64.c".
1143 (struct gdbarch_tdep) <v0_full_regnum>: New field.
1144 (s390_dwarf_regmap): Add vector registers. Remove bogus entries
1145 for "GNU/Linux-specific registers".
1146 (s390_dwarf_reg_r0l): New enum value.
1147 (s390_dwarf_reg_to_regnum): Support vector registers.
1148 (s390_adjust_frame_regnum): Adjust pseudo DWARF register numbers
1149 of GPR lower halves.
1150 (regnum_is_vxr_full): New function.
1151 (s390_register_name): New function.
1152 (s390_pseudo_register_name): Handle v0-v15, which are composed of
1153 f0-f15 and v0l-v15l.
1154 (s390_pseudo_register_type): Likewise.
1155 (s390_pseudo_register_read): Likewise.
1156 (s390_pseudo_register_write): Likewise.
1157 (s390_value_from_register): Account for the fact that values are
1158 placed left-justified in vector registers.
1159 (s390_pseudo_register_reggroup_p): Add pseudo registers v0-v15 to
1160 the vector reggroup and omit them from the general reggroup.
1161 (s390_regmap_vxrs_low, s390_regmap_vxrs_high): New register maps.
1162 (s390_vxrs_low_regset, s390_vxrs_high_regset): New regsets.
1163 (s390_iterate_over_regset_sections): Add iterations for the two
1164 new vector regsets.
1165 (s390_core_read_description): Yield a target description with
1166 vector registers if applicable.
1167 (s390_gdbarch_init): Handle target descriptions with vector
1168 registers. Add "register_name" gdbarch method.
1169 (_initialize_s390_tdep): Call new tdesc initialization functions.
1170 * s390-linux-tdep.h (HWCAP_S390_VX): New macro.
1171 (S390_V0_LOWER_REGNUM, S390_V1_LOWER_REGNUM, S390_V2_LOWER_REGNUM)
1172 (S390_V3_LOWER_REGNUM, S390_V4_LOWER_REGNUM, S390_V5_LOWER_REGNUM)
1173 (S390_V6_LOWER_REGNUM, S390_V7_LOWER_REGNUM, S390_V8_LOWER_REGNUM)
1174 (S390_V9_LOWER_REGNUM, S390_V10_LOWER_REGNUM)
1175 (S390_V11_LOWER_REGNUM, S390_V12_LOWER_REGNUM)
1176 (S390_V13_LOWER_REGNUM, S390_V14_LOWER_REGNUM)
1177 (S390_V15_LOWER_REGNUM, S390_V16_REGNUM, S390_V17_REGNUM)
1178 (S390_V18_REGNUM, S390_V19_REGNUM, S390_V20_REGNUM)
1179 (S390_V21_REGNUM, S390_V22_REGNUM, S390_V23_REGNUM)
1180 (S390_V24_REGNUM, S390_V25_REGNUM, S390_V26_REGNUM)
1181 (S390_V27_REGNUM, S390_V28_REGNUM, S390_V29_REGNUM)
1182 (S390_V30_REGNUM, S390_V31_REGNUM): New macros.
1183 (S390_NUM_REGS): Adjust value.
1184 (s390_vxrs_low_regset, s390_vxrs_high_regset): Declare.
1185 (tdesc_s390_vx_linux64, tdesc_s390_tevx_linux64)
1186 (tdesc_s390x_vx_linux64, tdesc_s390x_tevx_linux64): Likewise.
1187 * NEWS: Announce S/390 vector register support.
1188
1189 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1190
1191 * features/s390-tevx-linux64.xml: New file.
1192 * features/s390-vx-linux64.xml: New file.
1193 * features/s390-vx.xml: New file.
1194 * features/s390x-tevx-linux64.xml: New file.
1195 * features/s390x-vx-linux64.xml: New file.
1196 * features/Makefile (WHICH): Add s390-vx-linux64,
1197 s390x-vx-linux64, s390-tevx-linux64, and s390x-tevx-linux64.
1198 (s390-vx-linux64-expedite, s390-tevx-linux64-expedite)
1199 (s390x-vx-linux64-expedite, s390x-tevx-linux64-expedite): New
1200 macros.
1201 * features/s390-tevx-linux64.c: New generated file.
1202 * features/s390-vx-linux64.c: Likewise.
1203 * features/s390x-tevx-linux64.c: Likewise.
1204 * features/s390x-vx-linux64.c: Likewise.
1205 * regformats/s390-tevx-linux64.dat: Likewise.
1206 * regformats/s390-vx-linux64.dat: Likewise.
1207 * regformats/s390x-tevx-linux64.dat: Likewise.
1208 * regformats/s390x-vx-linux64.dat: Likewise.
1209
1210 2015-02-28 Doug Evans <xdje42@gmail.com>
1211
1212 * symtab.h (struct symtab) <next>: Fix comment.
1213
1214 2015-02-27 Simon Marchi <simon.marchi@ericsson.com>
1215
1216 * python/python.c (python_GdbModuleDef): Rename GdbMethods to
1217 python_GdbMethods.
1218
1219 2015-02-27 Pedro Alves <palves@redhat.com>
1220
1221 * dtrace-probe.c (dtrace_probe_ops): Make extern.
1222
1223 2015-02-27 Pedro Alves <palves@redhat.com>
1224
1225 * common/common-exceptions.h (exception_none): Declare.
1226 * common/common-exceptions.c (exception_none): Moved from
1227 exceptions.c.
1228 (exceptions_state_mc_init): Use exception_none.
1229 * exceptions.c (exception_none): Move to
1230 common/common-exceptions.c.
1231 * exceptions.h (exception_none): Move to
1232 common/common-exceptions.h.
1233
1234 2015-02-27 Pedro Alves <palves@redhat.com>
1235
1236 * main.c (catch_command_errors, catch_command_errors_const):
1237 Remove 'mask' argument. Adjust.
1238 (captured_main): Adjust callers.
1239
1240 2015-02-27 Pedro Alves <palves@redhat.com>
1241
1242 * python/python-internal.h: Include "extension-priv.h".
1243
1244 2015-02-27 Pedro Alves <palves@redhat.com>
1245
1246 * breakpoint.h (enum print_stop_action): Move further up in the
1247 file.
1248
1249 2015-02-27 Pedro Alves <palves@redhat.com>
1250
1251 * gdbarch.sh: Include regcache.h.
1252 * gdbarch.h: Regenerate.
1253
1254 2015-02-27 Pedro Alves <palves@redhat.com>
1255
1256 * arm-tdep.c (decode_insn) <arm_handle_insn, thumb_handle_insn>:
1257 Remove duplicate const.
1258 * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Remove
1259 duplicate const.
1260
1261 2015-02-27 Pedro Alves <palves@redhat.com>
1262
1263 * cp-valprint.c (vtbl_ptr_name): Use EXPORTED_CONST.
1264 * guile/guile.c (extension_language_guile): Use EXPORTED_CONST.
1265 * features/feature_to_c.sh: Tag the generated xml_builtin array
1266 with extern const in C++ mode.
1267
1268 2015-02-27 Tom Tromey <tromey@redhat.com>
1269
1270 * minidebug.c (struct lzma_stream): Rename to ...
1271 (struct gdb_lzma_stream): ... this.
1272 (lzma_open, lzma_pread, lzma_close, lzma_stat): Adjust.
1273
1274 2015-02-27 Pedro Alves <palves@redhat.com>
1275
1276 * mi/mi-cmd-stack.c (mi_apply_ext_lang_frame_filter): New
1277 function.
1278 (mi_cmd_stack_list_locals, mi_cmd_stack_list_args)
1279 (mi_cmd_stack_list_variables): Use it.
1280
1281 2015-02-27 Pedro Alves <palves@redhat.com>
1282
1283 * x86-linux-nat.c (u_debugreg_offset): New function.
1284 (x86_linux_dr_get, x86_linux_dr_set): Use it.
1285
1286 2015-02-27 Pedro Alves <palves@redhat.com>
1287
1288 * nat/x86-dregs.h (enum target_hw_bp_type): Remove forward
1289 declaration.
1290 Include break-common.h.
1291
1292 2015-02-27 Tom Tromey <tromey@redhat.com>
1293 Pedro Alves <palves@redhat.com>
1294
1295 * arm-tdep.c (set_fp_model_sfunc, arm_set_abi): Use 'int' for
1296 local used to iterate over enums.
1297 * completer.c (signal_completer): Likewise.
1298 * i386-tdep.c (i386_stap_parse_special_token): Likewise.
1299 * rs6000-tdep.c (powerpc_set_vector_abi): Likewise.
1300 * tui/tui-data.c (tui_next_win, tui_prev_win): Likewise.
1301 * tui/tui-layout.c (next_layout, prev_layout): Likewise.
1302 * tui/tui-win.c (tui_refresh_all_win, tui_rehighlight_all)
1303 (tui_resize_all, tui_set_focus_command, tui_all_windows_info): Likewise.
1304 * tui-wingeneral.c (tui_refresh_all): Likewise.
1305
1306 2015-02-27 Pedro Alves <palves@redhat.com>
1307
1308 * target.h: Include "infrun.h".
1309
1310 2015-02-27 Pedro Alves <palves@redhat.com>
1311
1312 * gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP.
1313
1314 2015-02-27 Pedro Alves <palves@redhat.com>
1315
1316 * common/agent.h (IPA_SYM_EXPORTED_NAME): New.
1317 (IPA_SYM): Use it.
1318 * common/common-defs.h (EXTERN_C_PUSH, EXTERN_C_POP): New macros.
1319
1320 2015-02-27 Pedro Alves <palves@redhat.com>
1321
1322 * cli-out.c (_rl_erase_entire_line): Move declaration out of
1323 cli_mld_erase_entire_line, and make it extern "C".
1324 * common/common-defs.h (EXTERN_C): New.
1325 * completer.c (_rl_completion_prefix_display_length)
1326 (_rl_print_completions_horizontally, QSFUNC): Move declarations
1327 out of gdb_display_match_list_1.
1328 (_rl_qsort_string_compare): Move declaration out of
1329 gdb_display_match_list_1, and make it extern "C".
1330 * defs.h (re_comp): Use EXTERN_C.
1331 * maint.c (_mcleanup): Move declaration out of mcleanup_wrapper,
1332 and make it extern "C".
1333 (monstartup): Move declaration out of maintenance_set_profile_cmd,
1334 and make it extern "C".
1335 (main): Move declaration out of maintenance_set_profile_cmd.
1336 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string): Use
1337 EXTERN_C.
1338
1339 2015-02-27 Pedro Alves <palves@redhat.com>
1340
1341 * python/python.c (GdbMethods): Rename to ...
1342 (python_GdbMethods): ... this and make extern.
1343 (GdbModuleDef): Rename to ...
1344 (python_GdbModuleDef): ... this and make extern.
1345
1346 2015-02-27 Pedro Alves <palves@redhat.com>
1347
1348 * record-btrace.c (set_record_btrace_cmdlist)
1349 (show_record_btrace_cmdlist): Remove redefinitions.
1350
1351 2015-02-27 Tom Tromey <tromey@redhat.com>
1352 Pedro Alves <palves@redhat.com>
1353
1354 * dwarf2-frame.c (enum cfa_how_kind, struct
1355 dwarf2_frame_state_reg_info): Move out of struct
1356 dwarf2_frame_state.
1357 * dwarf2read.c (struct tu_stats): Move out of struct
1358 dwarf2_per_objfile.
1359 (struct file_entry): Move out of struct line_header.
1360 (struct nextfield, struct nextfnfield, struct fnfieldlist, struct
1361 typedef_field_list): Move out of struct field_info.
1362 * gdbtypes.h (enum dynamic_prop_kind, union dynamic_prop_data):
1363 Move out of struct dynamic_prop.
1364 (union type_owner, union field_location, struct field, struct
1365 range_bounds, union type_specific): Move out of struct main_type.
1366 (struct fn_fieldlist, struct fn_field, struct typedef_field)
1367 (VOFFSET_STATIC): Move out of struct cplus_struct_type.
1368 (struct call_site_target, union call_site_parameter_u, struct
1369 call_site_parameter): Move out of struct call_site.
1370 * m32c-tdep.c (enum m32c_prologue_kind): Move out of struct
1371 m32c_prologue.
1372 (enum srcdest_kind): Move out of struct srcdest.
1373 * main.c (enum cmdarg_kind): Move out of struct cmdarg.
1374 * prologue-value.h (enum prologue_value_kind): Move out of struct
1375 prologue_value.
1376 * s390-linux-tdep.c (enum s390_abi_kind): Move out of struct
1377 gdbarch_tdep.
1378 * stabsread.c (struct nextfield, struct next_fnfieldlist): Move
1379 out of struct field_info.
1380 * symfile.h (struct other_sections): Move out of struct
1381 section_addr_info.
1382 * symtab.c (struct symbol_cache_slot): Move out struct
1383 block_symbol_cache.
1384 * target-descriptions.c (enum tdesc_type_kind): Move out of
1385 typedef struct tdesc_type.
1386 * tui/tui-data.h (enum tui_line_or_address_kind): Move out of
1387 struct tui_line_or_address.
1388 * value.c (enum internalvar_kind, union internalvar_data): Move
1389 out of struct internalvar.
1390 * xtensa-tdep.h (struct ctype_cache): Move out of struct
1391 gdbarch_tdep.
1392
1393 2015-02-27 Tom Tromey <tromey@redhat.com>
1394 Pedro Alves <palves@redhat.com>
1395
1396 Rename symbols whose names are reserved C++ keywords throughout.
1397
1398 2015-02-27 Pedro Alves <palves@redhat.com>
1399
1400 * Makefile.in (COMPILER): New, get it from autoconf.
1401 (COMPILE.pre, CC_LD): Use COMPILER.
1402 (CXX): Get from autoconf instead.
1403 (CXX_FOR_TARGET): Default to g++ instead of gcc.
1404 * acinclude.m4: Include build-with-cxx.m4.
1405 * build-with-cxx.m4: New file.
1406 * configure.ac: Call AC_PROG_CXX and GDB_AC_BUILD_WITH_CXX.
1407 Disable -Werror by default if building in C++ mode.
1408 (build_warnings): Add -Wno-sign-compare, -Wno-write-strings and
1409 -Wno-narrowing in C++ mode. Only enable -Wpointer-sign in C mode.
1410 Run supported-warning-flags tests with the C++ compiler.
1411 Save/restore CXXFLAGS too.
1412 * configure: Regenerate.
1413
1414 2015-02-27 Pedro Alves <palves@redhat.com>
1415
1416 * libiberty.m4: New file.
1417 * acinclude.m4: Include libiberty.m4.
1418 * configure.ac: Call libiberty_INIT.
1419 * config.in, configure: Regenerate.
1420
1421 2015-02-27 Andreas Arnez <arnez@linux.vnet.ibm.com>
1422
1423 * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
1424 31-bit targets, but 64-bit targets as well.
1425 (s390_gnu_triplet_regexp): New function.
1426 (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
1427 64-bit targets as well. Set the gnu_triplet_regexp gdbarch
1428 method.
1429
1430 2015-02-27 Jon TURNEY <jon.turney@dronecode.org.uk> (tiny patch)
1431
1432 * windows-nat.c (CONTEXT_DEBUGGER): Remove.
1433 (CONTEXT_DEBUGGER_DR): Add CONTEXT_SEGMENTS. Incorporate flags
1434 from CONTEXT_DEBUGGER.
1435
1436 2015-02-26 Doug Evans <dje@google.com>
1437
1438 * gdbtypes.c (internal_type_vptr_fieldno): Add missing call to
1439 CHECK_TYPEDEF.
1440 (set_type_vptr_fieldno): Ditto.
1441 (internal_type_vptr_basetype, set_type_vptr_basetype): Ditto.
1442 * gnu-v3-abi.c (gnuv3_dynamic_class): Ditto.
1443
1444 2015-02-26 Pedro Alves <palves@redhat.com>
1445
1446 * auto-load.h (file_is_auto_load_safe): Add ATTRIBUTE_PRINTF.
1447 * complaints.c (vcomplaint): Pass argument FMT directly to
1448 printf-like functions instead of complaint->fmt.
1449 * ctf.c (ctf_save_write_metadata): Add ATTRIBUTE_PRINTF.
1450 * darwin-nat.c (inferior_debug): Add ATTRIBUTE_PRINTF.
1451 * compile/compile-loc2c.c (pushf, unary, binary): Add
1452 ATTRIBUTE_PRINTF.
1453 (do_compile_dwarf_expr_to_c): Pass string literal as format string
1454 to pushf.
1455 (BINARY): Pass string literal as format string to 'binary'.
1456 * compile/compile-object-load.c (link_callbacks_einfo): Add
1457 ATTRIBUTE_PRINTF.
1458 * guile/guile-internal.h (gdbscm_printf): Add ATTRIBUTE_PRINTF.
1459
1460 2015-02-26 Pedro Alves <palves@redhat.com>
1461
1462 * windows-termcap.c: Rename to ...
1463 * stub-termcap.c: ... this. Adjust header line.
1464 * Makefile.in (SFILES): Refer to stub-termcap.c instead of
1465 windows-termcap.c.
1466 * configure: Regenerate.
1467 * configure.ac: Refer to stub-termcap.o instead of
1468 windows-termcap.o.
1469 * gdb_curses.h: Mention stub-termcap.c instead of
1470 windows-termcap.c.
1471
1472 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1473
1474 * compile/compile-c-symbols.c (convert_one_symbol, convert_symbol_bmsym)
1475 (gcc_symbol_address): Call gnu_ifunc_resolve_addr.
1476
1477 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1478
1479 * gdb/infcmd.c (print_return_value): use type_to_string to print type.
1480
1481 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * elfread.c (elf_read_minimal_symbols): Use bfd_alloc for
1484 bfd_canonicalize_symtab.
1485
1486 2015-02-25 John Baldwin <jhb@FreeBSD.org>
1487
1488 * amd64fbsd-nat.c: Include sys/user.h.
1489 (_initialize_amd64fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
1490 instead of KERN_PS_STRINGS to locate the signal trampoline.
1491 * i386fbsd-nat.c: Include sys/user.h.
1492 (_initialize_i386fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
1493 instead of KERN_PS_STRINGS to locate the signal trampoline.
1494 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_code): New.
1495 (amd64fbsd_sigtramp_p): New.
1496 (amd64fbsd_sigtramp_start_addr, amd64fbsd_sigtramp_end_addr): No
1497 longer set default values.
1498 (amd64fbsd_init_abi): Set "sigtramp_p" to "amd64fbsd_sigtramp_p".
1499 * i386fbsd-tdep.c (i386fbsd_sigtramp_start)
1500 (i386fbsd_sigtramp_middle, i386fbsd_sigtramp_end)
1501 (i386fbsd_freebsd4_sigtramp_start)
1502 (i386fbsd_freebsd4_sigtramp_middle)
1503 (i386fbsd_freebsd4_sigtramp_end, i386fbsd_osigtramp_start)
1504 (i386fbsd_osigtramp_middle, i386fbsd_osigtramp_end): New.
1505 (i386fbsd_sigtramp_p): New.
1506 (i386fbsd_sigtramp_start_addr, i386fbsd_sigtramp_end_addr): No
1507 longer set default values.
1508 (i386fbsd_init_abi): Set "sigtramp_p" to "i386fbsd_sigtramp_p".
1509
1510 2015-02-25 John Baldwin <jhb@freebsd.org>
1511
1512 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use
1513 get_frame_register instead of frame_unwind_register_unsigned.
1514
1515 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1516
1517 PR build/18033
1518 * compile/compile-c-support.c (c_compute_program): Change // comment.
1519 * compile/compile-object-load.c (setup_sections): Change // comment.
1520
1521 2015-02-26 Joel Brobecker <brobecker@adacore.com>
1522
1523 PR build/18033:
1524 * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
1525
1526 2015-02-23 Pedro Alves <palves@redhat.com>
1527
1528 * remote.c (skip_to_semicolon): New function.
1529 (remote_parse_stop_reply) <T stop reply>: Use it. Don't
1530 special case the stop reasons that look like hex numbers
1531 upfront. Instead handle real register numbers after matching
1532 all the known stop reasons.
1533
1534 2015-02-21 Doug Evans <dje@google.com>
1535
1536 PR c++/17976, symtab/17821
1537 * cp-namespace.c (cp_search_static_and_baseclasses): New parameter
1538 is_in_anonymous. All callers updated.
1539 (find_symbol_in_baseclass): Ditto.
1540 (cp_lookup_nested_symbol_1): Ditto. Don't search all static blocks
1541 for symbols in an anonymous namespace.
1542 * dwarf2read.c (namespace_name): Don't call dwarf2_name, fetch
1543 DW_AT_name directly.
1544 (dwarf2_name): Convert missing namespace name to
1545 CP_ANONYMOUS_NAMESPACE_STR.
1546
1547 2015-02-20 Pedro Alves <palves@redhat.com>
1548
1549 * linux-nat.c (linux_handle_extended_wait): Call
1550 thread_db_notice_clone whenever a new clone LWP is detected.
1551 (linux_stop_and_wait_all_lwps, linux_unstop_all_lwps): New
1552 functions.
1553 * linux-nat.h (thread_db_attach_lwp): Delete declaration.
1554 (thread_db_notice_clone, linux_stop_and_wait_all_lwps)
1555 (linux_unstop_all_lwps): Declare.
1556 * linux-thread-db.c (struct thread_get_info_inout): Delete.
1557 (thread_get_info_callback): Delete.
1558 (thread_from_lwp): Use td_thr_get_info and record_thread.
1559 (thread_db_attach_lwp): Delete.
1560 (thread_db_notice_clone): New function.
1561 (try_thread_db_load_1): If /proc is mounted and shows the
1562 process'es task list, walk over all LWPs and call thread_from_lwp
1563 instead of relying on td_ta_thr_iter.
1564 (attach_thread): Don't call check_thread_signals here. Split the
1565 tail part of the function (which adds the thread to the core GDB
1566 thread list) to ...
1567 (record_thread): ... this function. Call check_thread_signals
1568 here.
1569 (thread_db_wait): Don't call thread_db_find_new_threads_1. Always
1570 call thread_from_lwp.
1571 (thread_db_update_thread_list): Rename to ...
1572 (thread_db_update_thread_list_org): ... this.
1573 (thread_db_update_thread_list): New function.
1574 (thread_db_find_thread_from_tid): Delete.
1575 (thread_db_get_ada_task_ptid): Simplify.
1576 * nat/linux-procfs.c: Include <sys/stat.h>.
1577 (linux_proc_task_list_dir_exists): New function.
1578 * nat/linux-procfs.h (linux_proc_task_list_dir_exists): Declare.
1579
1580 2015-02-20 Pedro Alves <palves@redhat.com>
1581
1582 * linux-nat.c (lin_lwp_attach_lwp): No longer special case the
1583 main LWP. Handle the case of waitpid returning 0 if we're already
1584 attached to the LWP. Don't set the LWP's last_resume_kind to
1585 resume_stop if we already knew about the LWP.
1586 (linux_nat_filter_event): Add debug logs.
1587
1588 2015-02-20 Pedro Alves <palves@redhat.com>
1589
1590 * target.h (forward_target_decr_pc_after_break): Delete
1591 declaration.
1592
1593 2015-02-20 Pedro Alves <palves@redhat.com>
1594
1595 PR threads/18006
1596 * linux-thread-db.c (thread_get_info_callback): Return early if
1597 the thread's lwp id is -1.
1598
1599 2015-02-20 Joel Brobecker <brobecker@adacore.com>
1600
1601 GDB 7.9 released.
1602
1603 2015-02-19 Steve Ellcey <sellcey@imgtec.com>
1604
1605 * dtrace-probe.c (dtrace_process_dof_probe): Initialize arg.expr.
1606 (dtrace_get_probes) Change type of variable 'dof'.
1607
1608 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1609
1610 PR breakpoints/16812
1611 * linux-nat.c (linux_nat_filter_event): Report SIGTRAP,SIGILL,SIGSEGV.
1612 * nat/linux-ptrace.c (linux_wstatus_maybe_breakpoint): Add.
1613 * nat/linux-ptrace.h: Add linux_wstatus_maybe_breakpoint.
1614
1615 2015-02-19 David Taylor <dtaylor@emc.com>
1616
1617 * common/ax.def (setv): Fix consumed entry in setv DEFOP.
1618
1619 2015-02-18 Patrick Palka <patrick@parcs.ath.cx>
1620
1621 * tui/tui-io.c (tui_handle_resize_during_io): Remove this
1622 function.
1623 (tui_putc): Don't call tui_handle_resize_during_io.
1624 (tui_getc): Likewise.
1625 (tui_mld_getc): Likewise.
1626 * tui/tui-win.c: Include event-loop.h and tui/tui-io.h.
1627 (tui_sigwinch_token): New static variable.
1628 (tui_initialize_win): Adjust documentation. Set
1629 tui_sigwinch_token.
1630 (tui_async_resize_screen): New asynchronous callback.
1631 (tui_sigwinch_handler): Adjust documentation. Asynchronously
1632 invoke tui_async_resize_screen.
1633
1634 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1635
1636 * configure: Regenerated.
1637 * configure.ac: Use GDB_AC_TRANSFORM.
1638 * Makefile.in (aclocal_m4_deps): Added transform.m4.
1639 * acinclude.m4: sinclude transform.m4.
1640 * transform.m4: New file.
1641 (GDB_AC_TRANSFORM): New macro.
1642
1643 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1644
1645 * NEWS: Announce the support for DTrace SDT probes.
1646
1647 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1648
1649 * amd64-linux-tdep.c: Include "parser-defs.h" and "user-regs.h".
1650 (amd64_dtrace_parse_probe_argument): New function.
1651 (amd64_dtrace_probe_is_enabled): Likewise.
1652 (amd64_dtrace_enable_probe): Likewise.
1653 (amd64_dtrace_disable_probe): Likewise.
1654 (amd64_linux_init_abi): Register the
1655 `gdbarch_dtrace_probe_argument', `gdbarch_dtrace_enable_probe',
1656 `gdbarch_dtrace_disable_probe' and
1657 `gdbarch_dtrace_probe_is_enabled' hooks.
1658 (amd64_dtrace_disabled_probe_sequence_1): New constant.
1659 (amd64_dtrace_disabled_probe_sequence_2): Likewise.
1660 (amd64_dtrace_enable_probe_sequence): Likewise.
1661 (amd64_dtrace_disable_probe_sequence): Likewise.
1662
1663 2015-01-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1664
1665 * breakpoint.c (BREAK_ARGS_HELP): Help string updated to mention
1666 the -probe-dtrace new vpossible value for PROBE_MODIFIER.
1667 * configure.ac (CONFIG_OBS): dtrace-probe.o added if BFD can
1668 handle ELF files.
1669 * Makefile.in (SFILES): dtrace-probe.c added.
1670 * configure: Regenerate.
1671 * dtrace-probe.c: New file.
1672 (SHT_SUNW_dof): New constant.
1673 (dtrace_probe_type): New enum.
1674 (dtrace_probe_arg): New struct.
1675 (dtrace_probe_arg_s): New typedef.
1676 (struct dtrace_probe_enabler): New struct.
1677 (dtrace_probe_enabler_s): New typedef.
1678 (dtrace_probe): New struct.
1679 (dtrace_probe_is_linespec): New function.
1680 (dtrace_dof_sect_type): New enum.
1681 (dtrace_dof_dofh_ident): Likewise.
1682 (dtrace_dof_encoding): Likewise.
1683 (DTRACE_DOF_ENCODE_LSB): Likewise.
1684 (DTRACE_DOF_ENCODE_MSB): Likewise.
1685 (dtrace_dof_hdr): New struct.
1686 (dtrace_dof_sect): Likewise.
1687 (dtrace_dof_provider): Likewise.
1688 (dtrace_dof_probe): Likewise.
1689 (DOF_UINT): New macro.
1690 (DTRACE_DOF_PTR): Likewise.
1691 (DTRACE_DOF_SECT): Likewise.
1692 (dtrace_process_dof_probe): New function.
1693 (dtrace_process_dof): Likewise.
1694 (dtrace_build_arg_exprs): Likewise.
1695 (dtrace_get_arg): Likewise.
1696 (dtrace_get_probes): Likewise.
1697 (dtrace_get_probe_argument_count): Likewise.
1698 (dtrace_can_evaluate_probe_arguments): Likewise.
1699 (dtrace_evaluate_probe_argument): Likewise.
1700 (dtrace_compile_to_ax): Likewise.
1701 (dtrace_probe_destroy): Likewise.
1702 (dtrace_gen_info_probes_table_header): Likewise.
1703 (dtrace_gen_info_probes_table_values): Likewise.
1704 (dtrace_probe_is_enabled): Likewise.
1705 (dtrace_probe_ops): New variable.
1706 (info_probes_dtrace_command): New function.
1707 (_initialize_dtrace_probe): Likewise.
1708 (dtrace_type_name): Likewise.
1709
1710 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1711
1712 * gdbarch.sh (dtrace_parse_probe_argument): New.
1713 (dtrace_probe_is_enabled): Likewise.
1714 (dtrace_enable_probe): Likewise.
1715 (dtrace_disable_probe): Likewise.
1716 * gdbarch.c: Regenerate.
1717 * gdbarch.h: Regenerate.
1718
1719 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1720
1721 * stap-probe.c (stap_probe_ops): Add NULLs in the static
1722 stap_probe_ops for `enable_probe' and `disable_probe'.
1723 * probe.c (enable_probes_command): New function.
1724 (disable_probes_command): Likewise.
1725 (_initialize_probe): Define the cli commands `enable probe' and
1726 `disable probe'.
1727 (parse_probe_linespec): New function.
1728 (info_probes_for_ops): Use parse_probe_linespec.
1729 * probe.h (probe_ops): New hooks `enable_probe' and
1730 `disable_probe'.
1731
1732 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1733
1734 * probe.c (compute_probe_arg): Moved from stap-probe.c
1735 (compile_probe_arg): Likewise.
1736 (probe_funcs): Likewise.
1737 * stap-probe.c (compute_probe_arg): Moved to probe.c.
1738 (compile_probe_arg): Likewise.
1739 (probe_funcs): Likewise.
1740
1741 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1742
1743 * probe.c (print_ui_out_not_applicables): New function.
1744 (exists_probe_with_pops): Likewise.
1745 (info_probes_for_ops): Do not include column headers for probe
1746 types for which no probe has been actually found on any object.
1747 Also invoke `print_ui_out_not_applicables' in order to match the
1748 column rows with the header when probes of several types are
1749 listed.
1750 Print the "Type" column.
1751 * probe.h (probe_ops): Added a new probe operation `type_name'.
1752 * stap-probe.c (stap_probe_ops): Add `stap_type_name'.
1753 (stap_type_name): New function.
1754
1755 2015-02-17 Patrick Palka <patrick@parcs.ath.cx>
1756
1757 * tui/tui-io.c (tui_getc): Don't call key_is_command_char.
1758 (key_is_command_char): Delete.
1759
1760 2015-02-17 Pedro Alves <palves@redhat.com>
1761
1762 * tui/tui.c (tui_enable): Resize windows before anything
1763 might show a window.
1764
1765 2015-02-17 Max Ostapenko <m.ostapenko@partner.samsung.com>
1766
1767 PR gdb/17984
1768 * aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
1769 (aarch64_linux_read_description): Remove initialize_tdesc_aarch64
1770 call.
1771 * aarch64-tdep.h (tdesc_aarch64): Declare.
1772
1773 2015-02-12 Mark Wielaard <mjw@redhat.com>
1774
1775 * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
1776
1777 2015-02-13 Doug Evans <dje@google.com>
1778
1779 * cp-namespace.c (cp_basic_lookup_symbol): Rename parameter
1780 anonymous_namespace to is_in_anonymous for consistency with the rest
1781 of the file.
1782 (cp_lookup_bare_symbol): Fix typo in comment.
1783 (cp_search_static_and_baseclasses): Ditto.
1784 (search_symbol_list): Use vertical space in comment better.
1785 (reset_directive_searched): Ditto. Fix typo.
1786 (cp_lookup_nested_symbol_1): Clarify contents of NESTED_NAME parameter.
1787
1788 2015-02-13 Yao Qi <yao.qi@arm.com>
1789
1790 * MAINTAINERS: Update my email address.
1791
1792 2015-02-12 Doug Evans <dje@google.com>
1793
1794 * symtab.c (completion_list_add_name): Fix memory leak.
1795
1796 2015-02-12 Doug Evans <dje@google.com>
1797
1798 * completer.c (complete_line): Remove incorrect comment.
1799
1800 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1801
1802 * python/py-framefilter.c (py_print_single_arg, enumerate_locals)
1803 (py_print_frame): Use RETURN_MASK_ERROR.
1804
1805 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1806
1807 * python/py-framefilter.c (py_print_frame): Mention RETURN_QUIT in
1808 function comment. Wrap all function that can throw in cleanups.
1809 (gdbpy_apply_frame_filter): Wrap all function that can throw in
1810 cleanups.
1811
1812 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1813
1814 * python/py-framefilter.c (py_print_frame): Substitute goto error.
1815 Remove the error label.
1816
1817 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 * python/py-framefilter.c (py_print_frame): Put conditional code paths
1820 with goto first, indent the former else codepath left. Put variable
1821 'elided' to a new inner block.
1822
1823 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1824
1825 * python/py-framefilter.c (py_print_frame): Whitespacing fixes.
1826
1827 2015-02-11 Pedro Alves <palves@redhat.com>
1828
1829 * xcoffread.c (within_function): Delete.
1830
1831 2015-02-11 Tom Tromey <tromey@redhat.com>
1832 Pedro Alves <palves@redhat.com>
1833
1834 * breakpoint.c (base_breakpoint_ops): Delete.
1835 * dwarf2loc.c (dwarf_expr_ctx_funcs): Make extern.
1836 * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_lazy_psyms): Make extern.
1837 * guile/guile.c (guile_extension_script_ops, guile_extension_ops): Make extern.
1838 * ppcnbsd-tdep.c (ppcnbsd2_sigtramp): Make extern.
1839 * python/py-arch.c (arch_object_type): Make extern.
1840 * python/py-block.c (block_syms_iterator_object_type): Make extern.
1841 * python/py-bpevent.c (breakpoint_event_object_type): Make extern.
1842 * python/py-cmd.c (cmdpy_object_type): Make extern.
1843 * python/py-continueevent.c (continue_event_object_type)
1844 * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Remove 'qual'
1845 parameter. Update all callers.
1846 * python/py-evtregistry.c (eventregistry_object_type): Make extern.
1847 * python/py-exitedevent.c (exited_event_object_type): Make extern.
1848 * python/py-finishbreakpoint.c (finish_breakpoint_object_type): Make extern.
1849 * python/py-function.c (fnpy_object_type): Make extern.
1850 * python/py-inferior.c (inferior_object_type, membuf_object_type): Make extern.
1851 * python/py-infevents.c (call_pre_event_object_type)
1852 (inferior_call_post_event_object_type).
1853 (memory_changed_event_object_type): Make extern.
1854 * python/py-infthread.c (thread_object_type): Make extern.
1855 * python/py-lazy-string.c (lazy_string_object_type): Make extern.
1856 * python/py-linetable.c (linetable_entry_object_type)
1857 (linetable_object_type, ltpy_iterator_object_type): Make extern.
1858 * python/py-newobjfileevent.c (new_objfile_event_object_type)
1859 (clear_objfiles_event_object_type): Make extern.
1860 * python/py-objfile.c (objfile_object_type): Make extern.
1861 * python/py-param.c (parmpy_object_type): Make extern.
1862 * python/py-progspace.c (pspace_object_type): Make extern.
1863 * python/py-signalevent.c (signal_event_object_type): Make extern.
1864 * python/py-symtab.c (symtab_object_type, sal_object_type): Make extern.
1865 * python/py-type.c (type_object_type, field_object_type)
1866 (type_iterator_object_type): Make extern.
1867 * python/python.c (python_extension_script_ops)
1868 (python_extension_ops): Make extern.
1869 * stap-probe.c (stap_probe_ops): Make extern.
1870
1871 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1872
1873 * infrun.c (adjust_pc_after_break): Don't adjust the PC just
1874 because the event thread is not the current thread.
1875
1876 2015-02-11 Doug Evans <xdje42@gmail.com>
1877
1878 * gdbtypes.c (internal_type_self_type): If TYPE_SPECIFIC_FIELD hasn't
1879 been initialized yet, return NULL.
1880
1881 2015-02-11 Doug Evans <dje@google.com>
1882
1883 * symfile.h (new_symfile_objfile): Delete.
1884 * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
1885 All callers updated.
1886
1887 2015-02-11 Patrick Palka <patrick@parcs.ath.cx>
1888
1889 * tui/tui-io.c (tui_handle_resize_during_io): Call
1890 tui_update_gdb_sizes() after resizing the screen.
1891 * tui/tui.c (tui_enable): Resize the terminal before
1892 calling tui_update_gdb_sizes().
1893
1894 2015-02-11 Patrick Palka <patrick@parcs.ath.cx>
1895
1896 * tui/tui-io.c (tui_getc): Move cursor to the end of the command
1897 line before printing a newline.
1898
1899 2015-02-11 Mark Wielaard <mjw@redhat.com>
1900
1901 * utils.c (producer_is_gcc): Return true or false.
1902
1903 2015-02-10 Mark Wielaard <mjw@redhat.com>
1904
1905 * utils.h (producer_is_gcc): Change return type to bool. Add major
1906 argument.
1907 * utils.c (producer_is_gcc): Likewise.
1908 (producer_is_gcc_ge_4): Adjust producer_is_gcc call.
1909 * dwarf2read.c (check_producer): Likewise.
1910
1911 2015-02-10 Pedro Alves <palves@redhat.com>
1912
1913 * infrun.c (displaced_step_fixup): Switch to the event thread
1914 before calling gdbarch_displaced_step_fixup.
1915
1916 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1917
1918 * MAINTAINERS (Write After Approval): Add Antoine Tremblay.
1919
1920 2015-02-10 Simon Marchi <simon.marchi@ericsson.com>
1921
1922 * ada-varobj.c (ada_name_of_child): Constify parent.
1923 (ada_path_expr_of_child): Same.
1924 (ada_value_of_child): Same.
1925 (ada_type_of_child): Same.
1926 * c-varobj.c (c_is_path_expr_parent): Same.
1927 (c_describe_child): Same.
1928 (c_name_of_child): Same.
1929 (c_value_of_child): Same.
1930 (c_type_of_child): Same.
1931 (cplus_number_of_children): Same.
1932 (cplus_describe_child): Constify var.
1933 (cplus_name_of_child): Constify parent.
1934 (cplus_value_of_child): Same.
1935 (cplus_type_of_child): Same.
1936 * jv-varobj.c (java_name_of_child): Same.
1937 (java_value_of_child): Same.
1938 (java_type_of_child): Same.
1939 * varobj.c (value_of_child): Same.
1940 (varobj_default_is_path_expr_parent): Constify var, parent and return
1941 value.
1942 (varobj_get_path_expr): Constify var, modify path_expr through
1943 mutable_var.
1944 (install_new_value): Constify parent.
1945 (value_of_child): Constify parent.
1946 * varobj.h (struct varobj): Constify parent.
1947 (struct lang_varobj_ops): Constify name_of_child, value_of_child and
1948 type_of_child.
1949 (varobj_get_path_expr): Constify var.
1950 (varobj_get_path_expr_parent): Constify var and return value.
1951
1952 2015-02-10 Luis Machado <lgustavo@codesourcery.com>
1953
1954 * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
1955 (arm_prologue_this_id): Move PC and SP limit checks to
1956 arm_prologue_unwind_stop_reason.
1957 (arm_prologue_unwind) <stop_reason> : Set to
1958 arm_prologue_unwind_stop_reason.
1959
1960 2015-02-09 Mark Wielaard <mjw@redhat.com>
1961
1962 * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
1963 DW_LANG_Fortran08 as language_fortran.
1964
1965 2015-02-09 Sergio Durigan Junior <sergiodj@redhat.com>
1966
1967 PR remote/17946
1968 * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
1969 of pointer against char.
1970
1971 2015-02-09 Mark Wielaard <mjw@redhat.com>
1972
1973 * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
1974 (c_type_print_modifier): Likewise.
1975 * dwarf2read.c (read_tag_atomic_type): New function.
1976 (read_type_die_1): Handle DW_TAG_atomic_type.
1977 * gdbtypes.c (make_atomic_type): New function.
1978 (recursive_dump_type): Handle TYPE_ATOMIC.
1979 * gdbtypes.h (enum type_flag_values): Renumber.
1980 (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
1981 (TYPE_ATOMIC): New macro.
1982 (make_atomic_type): Declare.
1983
1984 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1985
1986 * btrace.c (ftrace_find_call): Skip gaps.
1987 (ftrace_new_function): Initialize level.
1988 (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
1989 (ftrace_new_switch): Update
1990 level computation.
1991 (ftrace_new_gap): New.
1992 (ftrace_update_function): Create new function after gap.
1993 (btrace_compute_ftrace_bts): Create gap on error.
1994 (btrace_stitch_bts): Update parameters. Clear trace if it
1995 becomes empty.
1996 (btrace_stitch_trace): Update parameters. Update callers.
1997 (btrace_clear): Reset the number of gaps.
1998 (btrace_insn_get): Return NULL if the iterator points to a gap.
1999 (btrace_insn_number): Return zero if the iterator points to a gap.
2000 (btrace_insn_end): Allow gaps at the end.
2001 (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
2002 (btrace_find_insn_by_number): Assert that the found iterator does
2003 not point to a gap.
2004 (btrace_call_next, btrace_call_prev): Assert that the last function
2005 is not a gap.
2006 * btrace.h (btrace_bts_error): New.
2007 (btrace_function): Update comment.
2008 (btrace_function) <insn, insn_offset, number>: Update comment.
2009 (btrace_function) <errcode>: New.
2010 (btrace_thread_info) <ngaps>: New.
2011 (btrace_thread_info) <replay>: Update comment.
2012 (btrace_insn_get): Update comment.
2013 * record-btrace.c (btrace_ui_out_decode_error): New.
2014 (record_btrace_info): Print number of gaps.
2015 (btrace_insn_history, btrace_call_history): Call
2016 btrace_ui_out_decode_error for gaps.
2017 (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
2018
2019 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2020
2021 * common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
2022 * nat/linux-btrace.c: (btrace_this_cpu): New.
2023 (cpu_supports_bts): Call btrace_this_cpu.
2024 (intel_supports_bts): Add cpu parameter.
2025
2026 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2027
2028 * btrace.h (btrace_insn_class): New.
2029 (btrace_insn) <size, iclass>: New.
2030 * btrace.c (ftrace_find_call): Update parameters. Update users.
2031 Use instruction classification.
2032 (ftrace_new_return): Update parameters. Update users.
2033 (ftrace_update_function): Update parameters. Update users. Use
2034 instruction classification.
2035 (ftrace_update_insns): Update parameters. Update users.
2036 (ftrace_classify_insn): New.
2037 (btrace_compute_ftrace_bts): Fill in new btrace_insn fields. Add
2038 TRY_CATCH around call to gdb_insn_length.
2039
2040 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2041
2042 * btrace.c (btrace_compute_ftrace_bts, btrace_compute_ftrace):
2043 Update parameters. Update users.
2044
2045 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2046
2047 * btrace.c (parse_xml_btrace_conf_bts): Add size.
2048 (btrace_conf_bts_attributes): New.
2049 (btrace_conf_children): Add attributes.
2050 * common/btrace-common.h (btrace_config_bts): New.
2051 (btrace_config)<bts>: New.
2052 (btrace_config): Update comment.
2053 * nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
2054 Use config.
2055 * features/btrace-conf.dtd: Increment version. Add size
2056 attribute to bts element.
2057 * record-btrace.c (set_record_btrace_bts_cmdlist,
2058 show_record_btrace_bts_cmdlist): New.
2059 (record_btrace_adjust_size, record_btrace_print_bts_conf,
2060 record_btrace_print_conf, cmd_set_record_btrace_bts,
2061 cmd_show_record_btrace_bts): New.
2062 (record_btrace_info): Call record_btrace_print_conf.
2063 (_initialize_record_btrace): Add commands.
2064 * remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
2065 (remote_protocol_features): Add Qbtrace-conf:bts:size packet.
2066 (btrace_sync_conf): Synchronize bts size.
2067 (_initialize_remote): Add Qbtrace-conf:bts:size packet.
2068 * NEWS: Announce new commands and new packets.
2069
2070 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2071
2072 * Makefile.in (XMLFILES): Add btrace-conf.dtd.
2073 * x86-linux-nat.c (x86_linux_enable_btrace): Update parameters.
2074 (x86_linux_btrace_conf): New.
2075 (x86_linux_create_target): Initialize to_btrace_conf.
2076 * nat/linux-btrace.c (linux_enable_btrace): Update parameters.
2077 Check format. Split into this and ...
2078 (linux_enable_bts): ... this.
2079 (linux_btrace_conf): New.
2080 (perf_event_skip_record): Renamed into ...
2081 (perf_event_skip_bts_record): ... this. Updated users.
2082 (linux_disable_btrace): Split into this and ...
2083 (linux_disable_bts): ... this.
2084 (linux_read_btrace): Check format.
2085 * nat/linux-btrace.h (linux_enable_btrace): Update parameters.
2086 (linux_btrace_conf): New.
2087 (btrace_target_info)<ptid>: Moved.
2088 (btrace_target_info)<conf>: New.
2089 (btrace_target_info): Split into this and ...
2090 (btrace_tinfo_bts): ... this. Updated users.
2091 * btrace.c (btrace_enable): Update parameters.
2092 (btrace_conf, parse_xml_btrace_conf_bts, parse_xml_btrace_conf)
2093 (btrace_conf_children, btrace_conf_attributes)
2094 (btrace_conf_elements): New.
2095 * btrace.h (btrace_enable): Update parameters.
2096 (btrace_conf, parse_xml_btrace_conf): New.
2097 * common/btrace-common.h (btrace_config): New.
2098 * feature/btrace-conf.dtd: New.
2099 * record-btrace.c (record_btrace_conf): New.
2100 (record_btrace_cmdlist): New.
2101 (record_btrace_enable_warn, record_btrace_open): Pass
2102 &record_btrace_conf.
2103 (record_btrace_info): Print recording format.
2104 (cmd_record_btrace_bts_start): New.
2105 (cmd_record_btrace_start): Call cmd_record_btrace_bts_start.
2106 (_initialize_record_btrace): Add "record btrace bts" subcommand.
2107 Add "record bts" alias command.
2108 * remote.c (remote_state)<btrace_config>: New.
2109 (remote_btrace_reset, PACKET_qXfer_btrace_conf): New.
2110 (remote_protocol_features): Add qXfer:btrace-conf:read.
2111 (remote_open_1): Call remote_btrace_reset.
2112 (remote_xfer_partial): Handle TARGET_OBJECT_BTRACE_CONF.
2113 (btrace_target_info)<conf>: New.
2114 (btrace_sync_conf, btrace_read_config): New.
2115 (remote_enable_btrace): Update parameters. Call btrace_sync_conf and
2116 btrace_read_conf.
2117 (remote_btrace_conf): New.
2118 (init_remote_ops): Initialize to_btrace_conf.
2119 (_initialize_remote): Add qXfer:btrace-conf packet.
2120 * target.c (target_enable_btrace): Update parameters.
2121 (target_btrace_conf): New.
2122 * target.h (target_enable_btrace): Update parameters.
2123 (target_btrace_conf): New.
2124 (target_object)<TARGET_OBJECT_BTRACE_CONF>: New.
2125 (target_ops)<to_enable_btrace>: Update parameters and comment.
2126 (target_ops)<to_btrace_conf>: New.
2127 * target-delegates: Regenerate.
2128 * target-debug.h (target_debug_print_const_struct_btrace_config_p)
2129 (target_debug_print_const_struct_btrace_target_info_p): New.
2130 * NEWS: Announce new command and new packet.
2131
2132 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2133
2134 * nat/linux-btrace.h (perf_event_buffer): New.
2135 (btrace_target_info) <buffer, size, data_head>: Replace with ...
2136 <bts>: ... this.
2137 * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
2138 (perf_event_buffer_size, perf_event_buffer_begin)
2139 (perf_event_buffer_end, linux_btrace_has_changed): Removed.
2140 Updated users.
2141 (perf_event_new_data): New.
2142
2143 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2144
2145 * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
2146 * record-btrace.c (record_btrace_open): Remove call to
2147 target_supports_btrace.
2148 * remote.c (remote_supports_btrace): Update parameters.
2149 * target.c (target_supports_btrace): Update parameters.
2150 * target.h (to_supports_btrace, target_supports_btrace): Update
2151 parameters.
2152 * target-delegates.c: Regenerate.
2153 * target-debug.h (target_debug_print_enum_btrace_format): New.
2154 * nat/linux-btrace.c
2155 (kernel_supports_btrace): Rename into ...
2156 (kernel_supports_bts): ... this. Update users. Update warning text.
2157 (intel_supports_btrace): Rename into ...
2158 (intel_supports_bts): ... this. Update users.
2159 (cpu_supports_btrace): Rename into ...
2160 (cpu_supports_bts): ... this. Update users.
2161 (linux_supports_btrace): Update parameters. Split into this and ...
2162 (linux_supports_bts): ... this.
2163 * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
2164
2165 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2166
2167 * Makefile.in (SFILES): Add common/btrace-common.c.
2168 (COMMON_OBS): Add common/btrace-common.o.
2169 (btrace-common.o): Add build rules.
2170 * btrace.c (parse_xml_btrace): Update parameters.
2171 (parse_xml_btrace_block): Set format field.
2172 (btrace_add_pc, btrace_fetch): Use struct btrace_data.
2173 (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
2174 (btrace_compute_ftrace): Split into this and...
2175 (btrace_compute_ftrace_bts): ...this.
2176 (btrace_stitch_trace): Split into this and...
2177 (btrace_stitch_bts): ...this.
2178 * btrace.h (parse_xml_btrace): Update parameters.
2179 (make_cleanup_btrace_data): New.
2180 * common/btrace-common.c: New.
2181 * common/btrace-common.h: Include common-defs.h.
2182 (btrace_block_s): Update comment.
2183 (btrace_format): New.
2184 (btrace_format_string): New.
2185 (btrace_data_bts): New.
2186 (btrace_data): New.
2187 (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
2188 * remote.c (remote_read_btrace): Update parameters.
2189 * target.c (target_read_btrace): Update parameters.
2190 * target.h (target_read_btrace): Update parameters.
2191 (target_ops)<to_read_btrace>: Update parameters.
2192 * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
2193 * target-delegates.c: Regenerate.
2194 * target-debug (target_debug_print_struct_btrace_data_p): New.
2195 * nat/linux-btrace.c (linux_read_btrace): Split into this and...
2196 (linux_read_bts): ...this.
2197 * nat/linux-btrace.h (linux_read_btrace): Update parameters.
2198
2199 2015-02-06 Doug Evans <dje@google.com>
2200
2201 * remote-m32r-sdi.c: Include symfile.h.
2202
2203 2015-02-06 Doug Evans <dje@google.com>
2204
2205 * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
2206 * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
2207 to here.
2208
2209 2015-02-06 Pedro Alves <palves@redhat.com>
2210
2211 * linux-thread-db.c (find_new_threads_callback): Add debug output.
2212
2213 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2214
2215 PR gdb/15678
2216 * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
2217 (enable_count_command): Check args for NULL value.
2218
2219 2015-02-05 Doug Evans <xdje42@gmail.com>
2220
2221 * guile/scm-frame.c: Fix spelling errors in a comment.
2222
2223 2015-02-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 * python/python-internal.h (Py_hash_t): Define it for Python <3.2.
2226 * python/py-value.c (valpy_fetch_lazy): Use it. Remove cast to the
2227 return type.
2228
2229 2015-02-04 Pedro Alves <palves@redhat.com>
2230
2231 * linux-nat.c (handle_extended_wait): Don't resume LWPs here.
2232 (wait_lwp): Don't call wait_lwp if linux_handle_extended_wait
2233 returns true.
2234 (resume_stopped_resumed_lwps): Don't check whether the thread is
2235 marked as executing.
2236 (linux_nat_wait_1): Use resume_stopped_resumed_lwps.
2237
2238 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2239
2240 * regset.h (struct regset): Add flags field.
2241 (REGSET_VARIABLE_SIZE): New value for a regset's flags field.
2242 * corelow.c (get_core_register_section): Add warning if the size
2243 exceeds the requested size and the regset does not have the
2244 REGSET_VARIABLE_SIZE flag set.
2245 * alphanbsd-tdep.c (alphanbsd_gregset): Add REGSET_VARIABLE_SIZE
2246 flag.
2247 * armbsd-tdep.c (armbsd_gregset): Likewise.
2248 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
2249 * hppaobsd-tdep.c (hppaobsd_gregset): Likewise.
2250 * m68kbsd-tdep.c (m68kbsd_gregset): Likewise.
2251 * mipsnbsd-tdep.c (mipsnbsd_gregset): Likewise.
2252
2253 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2254
2255 * amd64-linux-tdep.c (amd64_linux_iterate_over_regset_sections):
2256 For ".reg-xstate", explicitly specify the requested section size
2257 via X86_XSTATE_SIZE instead of just 0 on input and
2258 X86_XSTATE_MAX_SIZE on output.
2259 * i386-linux-tdep.c (i386_linux_iterate_over_regset_sections):
2260 Likewise.
2261
2262 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2263
2264 PR corefiles/17808:
2265 * gdbarch.sh (iterate_over_regset_sections_cb): Document this
2266 function type, particularly its SIZE parameter.
2267 * gdbarch.h: Regenerate.
2268 * amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
2269 actual against required size using ">=" instead of "==".
2270 (amd64_collect_fpregset): Likewise.
2271 * i386-tdep.c (i386_supply_gregset): Likewise.
2272 (i386_collect_gregset): Likewise.
2273 (i386_supply_fpregset): Likewise.
2274 (i386_collect_fpregset): Likewise.
2275 * mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
2276 (mips_fill_gregset_wrapper): Likewise.
2277 (mips_supply_fpregset_wrapper): Likewise.
2278 (mips_fill_fpregset_wrapper): Likewise.
2279 (mips64_supply_gregset_wrapper): Likewise.
2280 (mips64_fill_gregset_wrapper): Likewise.
2281 (mips64_supply_fpregset_wrapper): Likewise.
2282 (mips64_fill_fpregset_wrapper): Likewise.
2283 * mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
2284 (am33_supply_fpregset_method): Likewise.
2285 (am33_collect_gregset_method): Likewise.
2286 (am33_collect_fpregset_method): Likewise.
2287
2288 2015-02-04 Doug Evans <dje@google.com>
2289 Pedro Alves <palves@redhat.com>
2290 Eli Zaretskii <eliz@gnu.org>
2291
2292 PR tui/17810
2293 * tui/tui-command.c (tui_refresh_cmd_win): New function.
2294 * tui/tui-command.c (tui_refresh_cmd_win): Declare.
2295 * tui/tui-file.c: #include tui/tui-command.h.
2296 (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
2297 (tui_file_flush): Refresh command window if stream is gdb_stdout.
2298 * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
2299
2300 2015-02-04 Pedro Alves <palves@redhat.com>
2301
2302 Fix build breakage.
2303 * event-loop.c (gdb_do_one_event): Add default switch case.
2304
2305 2015-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2306
2307 Filter out inferior gcc option -fpreprocessed.
2308 * compile/compile.c (filter_args): New function.
2309 (get_args): Use it.
2310
2311 2015-02-03 Pedro Alves <palves@redhat.com>
2312
2313 * event-loop.c: Don't declare nor define a queue type for
2314 gdb_event_p.
2315 (event_queue): Delete.
2316 (create_event, create_file_event, gdb_event_xfree)
2317 (initialize_event_loop, process_event): Delete.
2318 (gdb_do_one_event): Return as soon as one event is handled.
2319 (handle_file_event): Change prototype. Used the passed in
2320 file_handler pointer and ready_mask instead of looping over all
2321 file handlers.
2322 (gdb_wait_for_event): Update the poll/select timeouts before
2323 blocking. Run event handlers directly instead of queueing events.
2324 Return as soon as one event is handled.
2325 (struct async_event_handler_data): Delete.
2326 (invoke_async_event_handler): Delete.
2327 (check_async_event_handlers): Change return type to int. Run
2328 event handlers directly instead of queueing events. Return as
2329 soon as one event is handled.
2330 (handle_timer_event): Delete.
2331 (update_wait_timeout): New function, factored out from
2332 poll_timers.
2333 (poll_timers): Reimplement.
2334 * event-loop.h (initialize_event_loop): Delete declaration.
2335 * top.c (gdb_init): Don't call initialize_event_loop.
2336
2337 2015-02-03 Pedro Alves <palves@redhat.com>
2338
2339 * event-loop.c (clear_async_event_handler): New function.
2340 * event-loop.h (clear_async_event_handler): New declaration.
2341 * record-btrace.c (record_btrace_async): New function.
2342 (init_record_btrace_ops): Install record_btrace_async.
2343 * record-full.c (record_full_async): New function.
2344 (record_full_resume): Don't mark the async event source here.
2345 (init_record_full_ops): Install record_full_async.
2346 (record_full_core_resume): Don't mark the async event source here.
2347 (init_record_full_core_ops): Install record_full_async.
2348 * remote.c (remote_async): Mark and clear the async stop reply
2349 queue event-loop token as appropriate.
2350
2351 2015-02-03 Pedro Alves <palves@redhat.com>
2352
2353 * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
2354 target_is_async_p instead of target_can_async.
2355 (linux_nat_wait): Use target_is_async_p instead of
2356 target_can_async. Don't enable async here.
2357 * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
2358 target_is_async_p instead of target_can_async.
2359
2360 2015-02-02 Simon Marchi <simon.marchi@ericsson.com>
2361
2362 * varobj.h (lang_varobj_ops): Mention which return values need
2363 to be freed.
2364
2365 2015-02-02 Joel Brobecker <brobecker@adacore.com>
2366
2367 * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
2368
2369 2015-02-02 Joel Brobecker <brobecker@adacore.com>
2370
2371 PR gdb/17856:
2372 * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
2373 results found in the cache.
2374
2375 2015-02-02 Joel Brobecker <brobecker@adacore.com>
2376
2377 PR gdb/17854:
2378 * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
2379 when allocating a new one.
2380
2381 2015-02-01 Tom Tromey <tom@tromey.com>
2382
2383 * MAINTAINERS: Remove myself.
2384
2385 2015-01-31 Doug Evans <xdje42@gmail.com>
2386
2387 * dwarf2read.c (process_structure_scope): Update setting of
2388 TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
2389 * gdbtypes.c (internal_type_vptr_fieldno): New function.
2390 (set_type_vptr_fieldno): New function.
2391 (internal_type_vptr_basetype): New function.
2392 (set_type_vptr_basetype): New function.
2393 (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
2394 TYPE_VPTR_BASETYPE.
2395 (allocate_cplus_struct_type): Initialize vptr_fieldno.
2396 (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
2397 (print_cplus_stuff): ... moved here.
2398 (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
2399 * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
2400 moved to ...
2401 (struct cplus_struct_type): ... here. All uses updated.
2402 (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
2403 (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
2404 (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
2405 * stabsread.c (read_tilde_fields): Update setting of
2406 TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
2407
2408 2015-01-31 Doug Evans <xdje42@gmail.com>
2409
2410 * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
2411 to self_p.
2412 (cp_print_class_member): Rename local domain to self_type.
2413 * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
2414 domain_type to self_type.
2415 (set_die_type) <need_gnat_info>: Handle
2416 TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
2417 * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
2418 TYPE_SPECIFIC_SELF_TYPE.
2419 * gdbtypes.c (internal_type_self_type): New function.
2420 (set_type_self_type): New function.
2421 (smash_to_memberptr_type): Rename parameter domain to self_type.
2422 Update setting of TYPE_SELF_TYPE.
2423 (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
2424 (smash_to_method_type): Rename parameter domain to self_type.
2425 Update setting of TYPE_SELF_TYPE.
2426 (check_stub_method): Call smash_to_method_type.
2427 (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
2428 (copy_type_recursive): Ditto.
2429 * gdbtypes.h (enum type_specific_kind): New value
2430 TYPE_SPECIFIC_SELF_TYPE.
2431 (struct main_type) <type_specific>: New member self_type.
2432 (struct cplus_struct_type) <fn_field.type>: Update comment.
2433 (TYPE_SELF_TYPE): Rewrite.
2434 (internal_type_self_type, set_type_self_type): Declare.
2435 * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
2436 self_type.
2437 (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
2438 * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
2439 TYPE_TARGET_TYPE.
2440 * stabsread.c (read_member_functions): Mark methods with
2441 TYPE_CODE_METHOD, not TYPE_CODE_FUNC. Update setting of
2442 TYPE_SELF_TYPE.
2443
2444 2015-01-31 Doug Evans <xdje42@gmail.com>
2445
2446 * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
2447 All uses updated.
2448
2449 2015-01-31 Doug Evans <xdje42@gmail.com>
2450
2451 * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
2452 or unions. Return zero if union.
2453 (gnuv3_get_vtable): Call check_typedef. Assert only passed structs.
2454 (gnuv3_rtti_type): Pass already-check_typedef'd value to
2455 gnuv3_get_vtable.
2456 (compute_vtable_size): Assert only passed structs.
2457 (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
2458
2459 2015-01-31 Doug Evans <xdje42@gmail.com>
2460
2461 * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
2462 kinds.
2463
2464 2015-01-31 Gary Benson <gbenson@redhat.com>
2465 Doug Evans <dje@google.com>
2466
2467 PR cli/9007
2468 PR cli/11920
2469 PR cli/15548
2470 * cli/cli-cmds.c (complete_command): Notify user if max-completions
2471 reached.
2472 * common/common-exceptions.h (enum errors)
2473 <MAX_COMPLETIONS_REACHED_ERROR>: New value.
2474 * completer.h (get_max_completions_reached_message): New declaration.
2475 (max_completions): Likewise.
2476 (completion_tracker_t): New typedef.
2477 (new_completion_tracker): New declaration.
2478 (make_cleanup_free_completion_tracker): Likewise.
2479 (maybe_add_completion_enum): New enum.
2480 (maybe_add_completion): New declaration.
2481 (throw_max_completions_reached_error): Likewise.
2482 * completer.c (max_completions): New global variable.
2483 (new_completion_tracker): New function.
2484 (free_completion_tracker): Likewise.
2485 (make_cleanup_free_completion_tracker): Likewise.
2486 (maybe_add_completions): Likewise.
2487 (throw_max_completions_reached_error): Likewise.
2488 (complete_line): Remove duplicates and limit result to max_completions
2489 entries.
2490 (get_max_completions_reached_message): New function.
2491 (gdb_display_match_list): Handle max_completions.
2492 (_initialize_completer): New declaration and function.
2493 * symtab.c: Include completer.h.
2494 (completion_tracker): New static variable.
2495 (completion_list_add_name): Call maybe_add_completion.
2496 (default_make_symbol_completion_list_break_on_1): Renamed from
2497 default_make_symbol_completion_list_break_on. Maintain
2498 completion_tracker across calls to completion_list_add_name.
2499 (default_make_symbol_completion_list_break_on): New function.
2500 * top.c (init_main): Set rl_completion_display_matches_hook.
2501 * tui/tui-io.c: Include completer.h.
2502 (tui_old_rl_display_matches_hook): New static global.
2503 (tui_rl_display_match_list): Notify user if max-completions reached.
2504 (tui_setup_io): Save/restore rl_completion_display_matches_hook.
2505 * NEWS (New Options): Mention set/show max-completions.
2506
2507 2015-01-31 Gary Benson <gbenson@redhat.com>
2508
2509 * symtab.c (struct add_name_data) <code>: New field.
2510 Updated comments.
2511 (add_symtab_completions): New function.
2512 (symtab_expansion_callback): Likewise.
2513 (default_make_symbol_completion_list_break_on): Set datum.code.
2514 Move minimal symbol scan before calling expand_symtabs_matching.
2515 Scan known primary symtabs for externs and statics before calling
2516 expand_symtabs_matching. Pass symtab_expansion_callback as
2517 expansion_notify argument to expand_symtabs_matching. Do not scan
2518 primary symtabs for externs and statics after calling
2519 expand_symtabs_matching.
2520
2521 2015-01-31 Gary Benson <gbenson@redhat.com>
2522
2523 * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
2524 (struct quick_symbol_functions) <expand_symtabs_matching>:
2525 New argument expansion_notify. All uses updated.
2526 (expand_symtabs_matching): New argument expansion_notify.
2527 All uses updated.
2528 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2529 Also print expansion notify.
2530 * symtab.c (expand_symtabs_matching_via_partial): Call
2531 expansion_notify whenever a partial symbol table is expanded.
2532 * dwarf2read.c (dw2_expand_symtabs_matching): Call
2533 expansion_notify whenever a symbol table is instantiated.
2534
2535 2015-01-31 Doug Evans <xdje42@gmail.com>
2536
2537 * cli-out.c: #include completer.h, readline/readline.h.
2538 (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
2539 (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
2540 (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
2541 * cli-out.h (cli_display_match_list): Declare.
2542 * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
2543 (ELLIPSIS_LEN): Ditto.
2544 (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
2545 (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
2546 (gdb_fnprint, gdb_print_filename): Ditto.
2547 (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
2548 (gdb_display_match_list): Ditto.
2549 * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
2550 (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
2551 (mld_beep_ftype, mld_read_key_ftype): Ditto.
2552 (match_list_displayer): New struct.
2553 (gdb_display_match_list): Declare.
2554 * top.c (init_main): Set rl_completion_display_matches_hook.
2555 * tui/tui-io.c: #include completer.h.
2556 (printable_part, PUTX, print_filename, get_y_or_n): Delete.
2557 (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
2558 (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
2559 (tui_mld_getc, tui_mld_read_key): Ditto.
2560 (tui_rl_display_match_list): Rewrite.
2561 (tui_handle_resize_during_io): New arg for_completion. All callers
2562 updated.
2563
2564 2015-01-31 Doug Evans <xdje42@gmail.com>
2565
2566 Add symbol lookup cache.
2567 * NEWS: Document new options and commands.
2568 * symtab.c (symbol_cache_key): New static global.
2569 (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
2570 (SYMBOL_LOOKUP_FAILED): New macro.
2571 (symbol_cache_slot_state): New enum.
2572 (block_symbol_cache): New struct.
2573 (symbol_cache): New struct.
2574 (new_symbol_cache_size, symbol_cache_size): New static globals.
2575 (hash_symbol_entry, eq_symbol_entry): New functions.
2576 (symbol_cache_byte_size, resize_symbol_cache): New functions.
2577 (make_symbol_cache, free_symbol_cache): New functions.
2578 (get_symbol_cache, symbol_cache_cleanup): New function.
2579 (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
2580 (symbol_cache_lookup, symbol_cache_clear_slot): New function.
2581 (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
2582 (symbol_cache_flush, symbol_cache_dump): New functions.
2583 (maintenance_print_symbol_cache): New function.
2584 (maintenance_flush_symbol_cache): New function.
2585 (symbol_cache_stats): New function.
2586 (maintenance_print_symbol_cache_statistics): New function.
2587 (symtab_new_objfile_observer): New function.
2588 (symtab_free_objfile_observer): New function.
2589 (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
2590 (_initialize_symtab): Init symbol_cache_key. New parameter
2591 maint symbol-cache-size. New maint commands print symbol-cache,
2592 print symbol-cache-statistics, flush-symbol-cache.
2593 Install new_objfile, free_objfile observers.
2594
2595 2015-01-31 Joel Brobecker <brobecker@adacore.com>
2596
2597 PR symtab/17855
2598 * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
2599 to end.
2600
2601 2015-01-31 Doug Evans <xdje42@gmail.com>
2602
2603 * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
2604 * auto-load.c: #include ctype.h.
2605 (struct auto_load_pspace_info): Replace member loaded_scripts with
2606 new members loaded_script_files, loaded_script_texts.
2607 (auto_load_pspace_data_cleanup): Update.
2608 (init_loaded_scripts_info): Update.
2609 (get_auto_load_pspace_data_for_loading): Update.
2610 (maybe_add_script_file): Renamed from maybe_add_script. All callers
2611 updated.
2612 (maybe_add_script_text): New function.
2613 (clear_section_scripts): Update.
2614 (source_script_file, execute_script_contents): New functions.
2615 (source_section_scripts): Add support for
2616 SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
2617 (print_scripts): New function.
2618 (auto_load_info_scripts): Also print inlined scripts.
2619 (maybe_print_unsupported_script_warning): Renamed from
2620 unsupported_script_warning_print. All callers updated.
2621 (maybe_print_script_not_found_warning): Renamed from
2622 script_not_found_warning_print. All callers updated.
2623 * extension-priv.h (struct extension_language_script_ops): New member
2624 objfile_script_executor.
2625 * extension.c (ext_lang_objfile_script_executor): New function.
2626 * extension.h (objfile_script_executor_func): New typedef.
2627 (ext_lang_objfile_script_executor): Declare.
2628 * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
2629 * guile/guile.c (guile_extension_script_ops): Update.
2630 * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
2631 * python/python.c (python_extension_script_ops): Update.
2632 (gdbpy_execute_objfile_script): New function.
2633
2634 2015-01-31 Eli Zaretskii <eliz@gnu.org>
2635
2636 * tui/tui-io.c (tui_expand_tabs): New function.
2637 (tui_puts, tui_redisplay_readline): Expand TABs into the
2638 appropriate number of spaces.
2639 * tui/tui-regs.c: Include tui-io.h.
2640 (tui_register_format): Call tui_expand_tabs to expand TABs into
2641 the appropriate number of spaces.
2642 * tui/tui-io.h: Add prototype for tui_expand_tabs.
2643
2644 2015-01-30 Doug Evans <dje@google.com>
2645
2646 * NEWS: "info source" command now display producer string if present.
2647 * source.c (source_info): Print producer string if present.
2648
2649 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2650
2651 * varobj.c (varobj_delete): Fix comment.
2652
2653 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2654
2655 * varobj.c (create_child): Modify comment.
2656
2657 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2658
2659 * ada-varobj.c (ada_number_of_children): Constify struct varobj *
2660 parameter.
2661 (ada_name_of_variable): Same.
2662 (ada_path_expr_of_child): Same.
2663 (ada_value_of_variable): Same.
2664 (ada_value_is_changeable_p): Same.
2665 (ada_value_has_mutated): Same.
2666 * c-varobj.c (varobj_is_anonymous_child): Same.
2667 (c_is_path_expr_parent): Same.
2668 (c_number_of_children): Same.
2669 (c_name_of_variable): Same.
2670 (c_path_expr_of_child): Same.
2671 (get_type): Same.
2672 (c_value_of_variable): Same.
2673 (cplus_number_of_children): Same.
2674 (cplus_name_of_variable): Same.
2675 (cplus_path_expr_of_child): Same.
2676 (cplus_value_of_variable): Same.
2677 * jv-varobj.c (java_number_of_children): Same.
2678 (java_name_of_variable): Same.
2679 (java_path_expr_of_child): Same.
2680 (java_value_of_variable): Same.
2681 * varobj.c (number_of_children): Same.
2682 (name_of_variable): Same.
2683 (is_root_p): Same.
2684 (varobj_ensure_python_env): Same.
2685 (varobj_get_objname): Same.
2686 (varobj_get_expression): Same.
2687 (varobj_get_display_format): Same.
2688 (varobj_get_display_hint): Same.
2689 (varobj_has_more): Same.
2690 (varobj_get_thread_id): Same.
2691 (varobj_get_frozen): Same.
2692 (dynamic_varobj_has_child_method): Same.
2693 (varobj_get_gdb_type): Same.
2694 (is_path_expr_parent): Same.
2695 (varobj_default_is_path_expr_parent): Same.
2696 (varobj_get_language): Same.
2697 (varobj_get_attributes): Same.
2698 (varobj_is_dynamic_p): Same.
2699 (varobj_get_child_range): Same.
2700 (varobj_value_has_mutated): Same.
2701 (varobj_get_value_type): Same.
2702 (number_of_children): Same.
2703 (name_of_variable): Same.
2704 (check_scope): Same.
2705 (varobj_editable_p): Same.
2706 (varobj_value_is_changeable_p): Same.
2707 (varobj_floating_p): Same.
2708 (varobj_default_value_is_changeable_p): Same.
2709
2710 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2711
2712 * varobj.c (varobj_get_path_expr): Set var->path_expr.
2713 * c-varobj.c (c_path_expr_of_child): Set local var instead of
2714 child->path_expr.
2715 (cplus_path_expr_of_child): Same.
2716
2717 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2718
2719 * mi-cmd-var.c (print_varobj): Free varobj_get_expression
2720 result.
2721 (mi_cmd_var_info_expression): Same.
2722 * varobj.c (varobj_get_expression): Mention in the comment that
2723 the result must by freed by the caller.
2724
2725 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2726
2727 * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
2728 varobj_get_type.
2729 (varobj_update_one): Same.
2730 * varobj.c (update_type_if_necessary): Free curr_type_str and
2731 new_type_str.
2732 (varobj_get_type): Specify in comment that the result needs to be
2733 freed by the caller.
2734
2735 2015-01-29 Doug Evans <dje@google.com>
2736
2737 PR symtab/17890
2738 * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
2739
2740 2015-01-25 Mark Wielaard <mjw@redhat.com>
2741
2742 * dwarf2read.c (checkproducer): Call producer_is_gcc.
2743 * utils.c (producer_is_gcc_ge_4): Likewise.
2744 (producer_is_gcc): New function.
2745 * utils.h (producer_is_gcc): New declaration.
2746
2747 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2748
2749 * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
2750 kind.
2751 * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
2752 parameter by "addr_stack" parameter.
2753 (resolve_dynamic_range): Replace "addr" parameter by
2754 "stack_addr" parameter. Update function documentation.
2755 Update code accordingly.
2756 (resolve_dynamic_array, resolve_dynamic_union)
2757 (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
2758 (resolve_dynamic_type): Update code, following the changes made
2759 to resolve_dynamic_type_internal's interface.
2760 * dwarf2loc.h (struct property_addr_info): New.
2761 (dwarf2_evaluate_property): Replace "address" parameter
2762 by "addr_stack" parameter. Adjust function documentation.
2763 (struct dwarf2_offset_baton): New.
2764 (struct dwarf2_property_baton): Update documentation of
2765 field "referenced_type" to be more general. New field
2766 "offset_info" in union data field.
2767 * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
2768 parameter by "addr_stack" parameter. Adjust code accordingly.
2769 Add support for PROP_ADDR_OFFSET properties.
2770 * dwarf2read.c (attr_to_dynamic_prop): Add support for
2771 DW_AT_data_member_location attributes as well. Use case
2772 statements instead of if/else condition.
2773
2774 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2775
2776 * ada-varobj.c (ada_varobj_get_array_number_of_children):
2777 Return zero if PARENT_VALUE is NULL and parent_type's
2778 range type is dynamic.
2779
2780 2015-01-29 Joel Brobecker <brobecker@adacore.com>
2781
2782 * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
2783 nonzero if the type's subtype is dynamic.
2784 (resolve_dynamic_range): Also resolve the range's subtype.
2785
2786 2015-01-29 Alexander Klimov <alserkli@inbox.ru> (tiny patch)
2787
2788 Pushed by Joel Brobecker <brobecker@adacore.com>.
2789 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
2790
2791 2015-01-27 Doug Evans <dje@google.com>
2792
2793 * NEWS: Mention gdb.Objfile.username.
2794 * python/py-objfile.c (objfpy_get_username): New function.
2795 (objfile_getset): Add "username".
2796
2797 2015-01-24 Mark Wielaard <mjw@redhat.com>
2798
2799 * stack.c (return_command): Markup warning message with _.
2800
2801 2015-01-24 Doug Evans <xdje42@gmail.com>
2802
2803 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
2804
2805 2015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 Fix 100x slowdown regression on DWZ files.
2808 * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
2809 (struct line_header): Add offset and offset_in_dwz.
2810 (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
2811 (free_line_header_voidp): New declaration.
2812 (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
2813 functions.
2814 (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
2815 (handle_DW_AT_stmt_list): Use line_header_hash.
2816 (free_line_header_voidp): New function.
2817 (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
2818 (dwarf_decode_lines): New parameter decode_mapping, use it.
2819 (dwarf2_free_objfile): Free line_header_hash.
2820
2821 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2822
2823 PR gdb/17416
2824 * valops.c (value_rtti_indirect_type): Catch exception thrown by
2825 value_ind.
2826
2827 2015-01-15 Mark Wielaard <mjw@redhat.com>
2828
2829 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
2830 DW_AT_noreturn.
2831 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
2832 calling_convention an 8 bit bit field.
2833 (TYPE_NO_RETURN): New macro.
2834 * infcmd.c (finish_command): Query if function does not return
2835 normally.
2836 * stack.c (return_command): Likewise.
2837
2838 2015-01-23 Pedro Alves <palves@redhat.com>
2839
2840 * linux-nat.c (linux_is_async_p): New macro.
2841 (linux_nat_is_async_p):
2842 (linux_nat_terminal_inferior): Check whether the target can async
2843 instead of whether it is already async.
2844 (linux_nat_terminal_ours): Don't check whether the target is
2845 async.
2846 (linux_async_pipe): Use linux_is_async_p.
2847
2848 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2849
2850 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
2851 '-ascending'.
2852 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
2853 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
2854 Sort tp_array using tp_array_compar.
2855 (_initialize_thread): Extend thread_apply_all_command help.
2856
2857 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 * corelow.c (core_open): Call also thread_command.
2860 * gdbthread.h (thread_command): New prototype moved from ...
2861 * thread.c (thread_command): ... here.
2862 (thread_command): Make it global.
2863
2864 2015-01-22 Pedro Alves <palves@redhat.com>
2865
2866 * configure.ac [*mingw32*]: Check $curses_found instead of
2867 $prefer_curses.
2868 * configure: Regenerate.
2869 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
2870 HAVE_NCURSES_NCURSES_H checks.
2871
2872 2015-01-22 Eli Zaretskii <eliz@gnu.org>
2873
2874 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
2875 fails with the 1st arg NULL, try again with "unknown". Don't test
2876 the "cup" capability: it isn't supported by the Windows port of
2877 ncurses, but the Windows console driver is still capable of
2878 supporting TUI.
2879
2880 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2881
2882 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
2883
2884 2015-01-22 Eli Zaretskii <eliz@gnu.org>
2885
2886 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
2887 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
2888 reason that "make TAGS" is broken.
2889
2890 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2891
2892 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
2893 and check additional store instructions.
2894
2895 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
2896
2897 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
2898
2899 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
2900
2901 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
2902 ppc_canonicalize_syscall, ppc_linux_syscall_record,
2903 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
2904 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
2905 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
2906 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
2907 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
2908 ppc_process_record_op19, ppc_process_record_op31,
2909 ppc_process_record_op59, ppc_process_record_op60,
2910 ppc_process_record_op63): Likewise.
2911
2912 2015-01-20 Joel Brobecker <brobecker@adacore.com>
2913
2914 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
2915 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
2916 strerror.
2917
2918 2015-01-20 Wei-cheng Wang <cole945@gmail.com>
2919
2920 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
2921 ppc_process_record_op31, ppc_process_record_op59,
2922 ppc_process_record_op60, ppc_process_record_op63,
2923 ppc_process_record): Fix -Wformat warning.
2924 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
2925 Remove unused variables.
2926
2927 2015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
2928
2929 * MAINTAINERS (Write After Approval): Add "Chen Gang".
2930
2931 2015-01-19 Eli Zaretskii <eliz@gnu.org>
2932
2933 * configure.ac [*mingw32*]: Only add windows-termcap.o to
2934 CONFIG_OBS if not building with a curses library.
2935 * configure: Regenerate.
2936
2937 * windows-termcap.c: Include defs.h. Make the whole body empty if
2938 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
2939 HAVE_NCURSES_NCURSES_H is defined.
2940
2941 2015-01-19 Joel Brobecker <brobecker@adacore.com>
2942
2943 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
2944 from end of line to start of next line.
2945
2946 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2947
2948 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
2949 Scan PLT stub backward for reverse debugging.
2950 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
2951
2952 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2953 Ulrich Weigand <uweigand@de.ibm.com>
2954
2955 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
2956 gdb_target_obs.
2957 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
2958 record.
2959 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
2960 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
2961 (ppc_linux_init_abi): Set process_record, process_record_signal.
2962 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
2963 ppc_linux_record_tdep to gdbarch_tdep.
2964 (ppc_process_record): New declaration.
2965 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
2966 ppc_process_record_op19, ppc_process_record_op31,
2967 ppc_process_record_op59, ppc_process_record_op60,
2968 ppc_process_record_op63, ppc_process_record): New functions.
2969
2970 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
2971
2972 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
2973 rs6000_in_function_epilogue_frame_p and add an argument
2974 for frame_info.
2975 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
2976 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
2977 New functions.
2978 (rs6000_epilogue_frame_unwind): New.
2979 (rs6000_gdbarch_init): Append epilogue unwinder.
2980
2981 2015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
2982
2983 * nat/linux-personality.c: Replace "#ifndef
2984 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
2985 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
2986 systems.
2987
2988 2015-01-16 Eli Zaretskii <eliz@gnu.org>
2989
2990 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
2991 functions.
2992 (_initialize_tui_win) <border-kind, border-mode>:
2993 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
2994 (tui_set_tab_width_command): Fix the commentary.
2995
2996 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
2997
2998 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
2999 Doc fix.
3000 (tui_set_tab_width_command): Delete and recreate the source and
3001 the disassembly windows, to show the effect of the changed tab
3002 size immediately.
3003
3004 * tui/tui-data.h (LINE_PREFIX): Make shorter
3005 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
3006 "Thread NNNNN.XXXX" thread ID notation on Windows.
3007
3008 2015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3009
3010 Fix gcc-5 compilation.
3011 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
3012
3013 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
3014
3015 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
3016 (linux-personality.o): New rule.
3017 * common/common-defs.h: Include <stdint.h>.
3018 * config/aarch64/linux.mh (NATDEPFILES): Include
3019 linux-personality.o.
3020 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
3021 * config/arm/linux.mh (NATDEPFILES): Likewise.
3022 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3023 * config/i386/linux.mh (NATDEPFILES): Likewise.
3024 * config/ia64/linux.mh (NATDEPFILES): Likewise.
3025 * config/m32r/linux.mh (NATDEPFILES): Likewise.
3026 * config/m68k/linux.mh (NATDEPFILES): Likewise.
3027 * config/mips/linux.mh (NATDEPFILES): Likewise.
3028 * config/pa/linux.mh (NATDEPFILES): Likewise.
3029 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
3030 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
3031 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
3032 * config/s390/linux.mh (NATDEPFILES): Likewise.
3033 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
3034 * config/sparc/linux.mh (NATDEPFILES): Likewise.
3035 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
3036 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
3037 * defs.h: Remove #include <stdint.h> (moved to
3038 common/common-defs.h).
3039 * linux-nat.c: Include nat/linux-personality.h. Remove #include
3040 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
3041 nat/linux-personality.c).
3042 (linux_nat_create_inferior): Remove code to disable address space
3043 randomization (moved to nat/linux-personality.c). Create cleanup
3044 to disable address space randomization.
3045 * nat/linux-personality.c: New file.
3046 * nat/linux-personality.h: Likewise.
3047
3048 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
3049
3050 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
3051 common/posix-strerror.c.
3052 (posix-strerror.o): New rule.
3053 (mingw-strerror.o): Likewise.
3054 * common/common-utils.h (safe_strerror): Move prototype to here,
3055 from utils.h.
3056 * common/common.host: New file.
3057 * common/mingw-strerror.c: Likewise.
3058 * common/posix-strerror.c: Likewise.
3059 * configure: Regenerated.
3060 * configure.ac: Source common/common.host. Add variable
3061 common_host_obs to gdb_host_obs.
3062 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
3063 gdb/common/posix-strerror.c when warning about the use of
3064 strerror.
3065 * mingw-hdep.c (safe_strerror): Remove definition; move it to
3066 common/mingw-strerror.c.
3067 * posix-hdep.c (safe_strerror): Remove definition; move it to
3068 common/posix-hdep.c.
3069 * utils.h (safe_strerror): Remove prototype; move to
3070 common/common-utils.h.
3071
3072 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3073
3074 GDB 7.8.2 released.
3075
3076 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3077
3078 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
3079 ___XA type if the array has already been fixed.
3080
3081 2015-01-14 Yao Qi <yao@codesourcery.com>
3082
3083 * Makefile.in (ppc-linux.o): New rule.
3084 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
3085 * configure.ac: AC_CHECK_FUNCS(getauxval).
3086 * config.in: Re-generated.
3087 * configure: Re-generated.
3088 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
3089 Declare.
3090 * nat/ppc-linux.c: New file.
3091 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
3092 Call ppc64_64bit_inferior_p.
3093
3094 2015-01-14 Yao Qi <yao@codesourcery.com>
3095
3096 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
3097 nat/ppc-linux.h.
3098 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
3099 (PPC_FEATURE_HAS_DFP): Likewise.
3100 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
3101 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
3102 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
3103 Include "nat/ppc-linux.h".
3104 * nat/ppc-linux.h: New file.
3105 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
3106
3107 2015-01-14 Pedro Alves <palves@redhat.com>
3108
3109 PR gdb/17525
3110 * breakpoint.c: Include "interps.h".
3111 (bpstat_do_actions_1): Also check whether the interpreter is
3112 async.
3113
3114 2015-01-14 Pedro Alves <palves@redhat.com>
3115
3116 PR cli/17828
3117 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
3118 reinstall if the interpreter is sync.
3119
3120 2015-01-13 Doug Evans <dje@google.com>
3121
3122 * objfiles.c (objfile_filename): New function.
3123 * objfiles.h (objfile_filename): Declare it.
3124 (objfile_name): Add function comment.
3125 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
3126 bfd file name (which may be realpath'd), and the original name.
3127
3128 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3129
3130 * NEWS: Create a new section for the next release branch.
3131 Rename the section of the current branch, now that it has
3132 been cut.
3133
3134 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3135
3136 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
3137 * version.in: Bump version to 7.9.50.DATE-cvs.
3138
3139 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3140
3141 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
3142 Remove trailing new-line in argument of call to warning.
3143
3144 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3145
3146 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
3147 new-line in argument of call to "warning".
3148
3149 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3150
3151 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
3152 in static block, then try searching for primitive types.
3153
3154 2015-01-12 Patrick Palka <patrick@parcs.ath.cx>
3155
3156 * top.h (gdb_add_history): Declare.
3157 * top.c (command_count): New variable.
3158 (gdb_add_history): New function.
3159 (gdb_safe_append_history): New static function.
3160 (quit_force): Call it.
3161 (command_line_input): Use gdb_add_history instead of
3162 add_history.
3163 * event-top.c (command_line_handler): Likewise.
3164
3165 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
3166
3167 PR gdb/17046
3168 * darwin-nat.c: Replace <machine/setjmp.h> #include by
3169 <setjmp.h> #include.
3170
3171 2015-01-11 Doug Evans <xdje42@gmail.com>
3172
3173 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
3174
3175 2015-01-11 Doug Evans <xdje42@gmail.com>
3176
3177 PR gdb/15830
3178 * NEWS: The "maint demangle" command is renamed as "demangle".
3179 * demangle.c: #include cli/cli-utils.h, language.h.
3180 (demangle_command): New function.
3181 (_initialize_demangle): Add new command "demangle".
3182 * maint.c (maintenance_demangle): Stub out.
3183 (_initialize_maint_cmds): Update help text for "maint demangle",
3184 and mark as deprecated.
3185
3186 2015-01-11 Mark Kettenis <kettenis@gnu.org>
3187
3188 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
3189 inferior_thread is a function.
3190
3191 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
3192
3193 * Makefile.in (.y.c): Don't munge yacc's #line
3194 directives.
3195
3196 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
3197
3198 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
3199 to prompt for input.
3200 * tui/tui-hooks.c (tui_query_hook): Remove.
3201 (tui_install_hooks): Don't set deprecated_query_hook.
3202 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
3203 height calculation. Always update the command window's cur_line.
3204
3205 2015-01-09 Pedro Alves <palves@redhat.com>
3206
3207 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
3208 function.
3209 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
3210 declaration.
3211 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
3212 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
3213 stop_reason.
3214 (check_stopped_by_watchpoint): New function.
3215 (save_sigtrap): Reimplement.
3216 (linux_nat_stopped_by_watchpoint): Adjust.
3217 (linux_nat_lp_status_is_event): Delete.
3218 (stop_wait_callback): Only call save_sigtrap after storing the
3219 pending status.
3220 (status_callback): If the thread had been stopped for a breakpoint
3221 that has since been removed, discard the event and resume the LWP.
3222 (count_events_callback, select_event_lwp_callback): Use
3223 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
3224 (cancel_breakpoint): Rename to ...
3225 (check_stopped_by_breakpoint): ... this. Record whether the LWP
3226 stopped for a software breakpoint or hardware breakpoint.
3227 (select_event_lwp): Only give preference to the stepping LWP in
3228 all-stop mode. Adjust comments.
3229 (stop_and_resume_callback): Remove references to new_pending_p.
3230 (linux_nat_filter_event): Likewise. Leave exit events of the
3231 leader thread pending here. Handle signal short circuiting here.
3232 Only call save_sigtrap after storing the pending waitstatus.
3233 (linux_nat_wait_1): Remove 'retry' label. Remove references to
3234 new_pending. Don't handle leaving events the caller is not
3235 interested in pending here, nor handle signal short-circuiting
3236 here. Also give equal priority to all LWPs that have had events
3237 in non-stop mode. If reporting a software breakpoint event,
3238 unadjust the LWP's PC.
3239 * linux-nat.h (enum lwp_stop_reason): New.
3240 (struct lwp_info) <stop_pc>: New field.
3241 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
3242 (struct lwp_info) <stop_reason>: New field.
3243 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
3244
3245 2015-01-09 Pedro Alves <palves@redhat.com>
3246
3247 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
3248 Set the LWP's 'resumed' flag.
3249
3250 2015-01-09 Pedro Alves <palves@redhat.com>
3251
3252 * linux-nat.c (linux_resume_one_lwp): New function.
3253 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
3254 (linux_nat_resume): Use lwp_status_pending_p and
3255 linux_resume_one_lwp.
3256 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
3257 (linux_handle_extended_wait): Use linux_resume_one_lwp.
3258 (status_callback, running_callback): Use lwp_status_pending_p.
3259 (lwp_status_pending_p): New function.
3260 (stop_and_resume_callback): Use lwp_status_pending_p.
3261 (linux_nat_filter_event): Use linux_resume_one_lwp.
3262 (linux_nat_wait_1): Always use status_callback to look for an LWP
3263 with a pending status. Use linux_resume_one_lwp.
3264 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
3265 linux_resume_one_lwp.
3266
3267 2015-01-09 Pedro Alves <palves@redhat.com>
3268
3269 * breakpoint.c (bp_location_inserted_here_p): New function,
3270 factored out from ...
3271 (breakpoint_inserted_here_p): ... here. Use
3272 ALL_BP_LOCATIONS_AT_ADDR.
3273 (software_breakpoint_inserted_here_p): Use
3274 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
3275
3276 2014-01-09 Pedro Alves <palves@redhat.com>
3277
3278 Skip enabling event reporting if the kernel supports
3279 PTRACE_EVENT_CLONE.
3280 * linux-thread-db.c: Include "nat/linux-ptrace.h".
3281 (thread_db_use_events): New function.
3282 (try_thread_db_load_1): Check thread_db_use_events before enabling
3283 event reporting.
3284 (update_thread_state): New function.
3285 (attach_thread): Use it. Check thread_db_use_events before
3286 enabling event reporting.
3287 (thread_db_detach): Check thread_db_use_events before disabling
3288 event reporting.
3289 (find_new_threads_callback): Check thread_db_use_events before
3290 enabling event reporting. Update the thread's state if not using
3291 libthread_db events.
3292
3293 2015-01-09 Pedro Alves <palves@redhat.com>
3294
3295 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
3296 about to wait for is > 0.
3297 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
3298 the kernel thread ID is -1.
3299
3300 2015-01-09 Pedro Alves <palves@redhat.com>
3301
3302 * linux-nat.c (attach_proc_task_lwp_callback): New function.
3303 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
3304 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
3305 ptrace option flags.
3306 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
3307 field.
3308 * nat/linux-procfs.c: Include <dirent.h>.
3309 (linux_proc_get_int): New parameter "warn". Handle it.
3310 (linux_proc_get_tgid): Adjust.
3311 (linux_proc_get_tracerpid): Rename to ...
3312 (linux_proc_get_tracerpid_nowarn): ... this.
3313 (linux_proc_pid_get_state): New function, factored out from
3314 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
3315 and handle it.
3316 (linux_proc_pid_is_gone): New function.
3317 (linux_proc_pid_is_stopped): Adjust.
3318 (linux_proc_pid_is_zombie_maybe_warn)
3319 (linux_proc_pid_is_zombie_nowarn): New functions.
3320 (linux_proc_pid_is_zombie): Use
3321 linux_proc_pid_is_zombie_maybe_warn.
3322 (linux_proc_attach_tgid_threads): New function.
3323 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
3324 (linux_proc_get_tracerpid): Rename to ...
3325 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
3326 (linux_proc_pid_is_gone): New declaration.
3327 (linux_proc_pid_is_zombie): Update comment.
3328 (linux_proc_pid_is_zombie_nowarn): New declaration.
3329 (linux_proc_attach_lwp_func): New typedef.
3330 (linux_proc_attach_tgid_threads): New declaration.
3331 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
3332 use nowarn functions.
3333 (linux_ptrace_attach_fail_reason_string): Move here from
3334 gdbserver/linux-low.c and rename.
3335 (ptrace_supports_feature): If the current ptrace options are not
3336 known yet, check them now, instead of asserting.
3337 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
3338 Declare.
3339
3340 2015-01-09 Pedro Alves <palves@redhat.com>
3341
3342 * linux-thread-db.c (thread_db_find_new_threads_silently)
3343 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
3344 (find_new_threads_once): Print debug output on gdb_stdlog.
3345
3346 2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
3347 Pedro Alves <palves@redhat.com>
3348
3349 * compile/compile.c: Include "gdb_wait.h".
3350 (do_rmdir): Check return value, and free 'zap'.
3351
3352 2015-01-08 Pedro Alves <palves@redhat.com>
3353 Yao Qi <yao@codesourcery.com>
3354
3355 * dwarf2loc.c (indirect_pieced_value): Don't call
3356 gdb_sign_extend. Call extract_signed_integer instead.
3357 * utils.c (gdb_sign_extend): Remove.
3358 * utils.h (gdb_sign_extend): Remove declaration.
3359
3360 2015-01-07 Pierre Muller <muller@sourceware.org>
3361
3362 PR symtab/17811
3363 * stabsread.c (define_symbol): Set language for C++ special symbols.
3364
3365 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
3366
3367 * inflow.c (initial_gdb_ttystate): Tweak comment.
3368
3369 2015-01-07 Joel Brobecker <brobecker@adacore.com>
3370
3371 * inflow.c (set_initial_gdb_ttystate): Add empty line after
3372 comment documenting function.
3373
3374 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
3375
3376 * terminal.h (set_initial_gdb_ttystate): Declare.
3377 * inflow.c (initial_gdb_ttystate): New static variable.
3378 (set_initial_gdb_ttystate): New setter.
3379 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
3380 instead of our current terminal state.
3381 * top.c (gdb_init): Call set_initial_gdb_ttystate.
3382
3383 2015-01-07 Joel Brobecker <brobecker@adacore.com>
3384
3385 * guile/scm-type.c (tyscm_array_1): Add comment.
3386 * python/py-type.c (typy_array_1): Add comment.
3387
3388 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3389
3390 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
3391 error if N2 is equal to N1 - 1.
3392
3393 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3394
3395 * python/py-type.c (typy_array_1): Do not raise negative-length
3396 exception if N2 is equal to N1 - 1.
3397
3398 2015-01-03 Doug Evans <xdje42@gmail.com>
3399
3400 * c-exp.y: Whitespace cleanup.
3401 (classify_inner_name): Remove extra ;.
3402
3403 2015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
3404
3405 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
3406 offset signed.
3407
3408 2015-01-02 Doug Evans <dje@google.com>
3409
3410 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
3411
3412 2015-01-02 Doug Evans <dje@google.com>
3413
3414 * symtab.h (struct symbol): Fix typo in comment.
3415
3416 2015-01-01 Joel Brobecker <brobecker@adacore.com>
3417
3418 Update year range in copyright notice of all files.
3419
3420 2015-01-01 Joel Brobecker <brobecker@adacore.com>
3421
3422 * top.c (print_gdb_version): Update copyright year to 2015.
3423
3424 2015-01-01 Joel Brobecker <brobecker@adacore.com>
3425
3426 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
3427
3428 For older changes see ChangeLog-2014.
3429 \f
3430 Local Variables:
3431 mode: change-log
3432 left-margin: 8
3433 fill-column: 74
3434 version-control: never
3435 coding: utf-8
3436 End: