Partially revert 4be83cc2b28ea09aa8ff789839e6520df60836f8
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8f26655c
GB
12014-06-19 Gary Benson <gbenson@redhat.com>
2
3 * i386-nat.c (i386_dr_show): Renamed to
4 i386_show_dr and made static. All uses updated.
5 (i386_dr_length_and_rw_bits): Renamed to
6 i386_length_and_rw_bits and made static.
7 All uses updated.
8 (i386_dr_insert_aligned_watchpoint): Renamed to
9 i386_insert_aligned_watchpoint and made static.
10 All uses updated.
11 (i386_dr_remove_aligned_watchpoint): Renamed to
12 i386_remove_aligned_watchpoint and made static.
13 All uses updated.
14 (i386_dr_update_inferior_debug_regs): Renamed to
15 i386_update_inferior_debug_regs and made static.
16 All uses updated.
17 * nat/i386-dregs.h (i386_dr_show): Removed.
18 (i386_dr_length_and_rw_bits): Likewise.
19 (i386_dr_insert_aligned_watchpoint): Likewise.
20 (i386_dr_remove_aligned_watchpoint): Likewise.
21 (i386_dr_update_inferior_debug_regs): Likewise.
22
992c7d70
GB
232014-06-19 Gary Benson <gbenson@redhat.com>
24
25 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
26 * configure: Regenerate.
27 * config.in: Likewise.
28 * main.c (signal.h): New include.
29 (setup_alternate_signal_stack): New function.
30 (captured_main): Call the above.
31 * cp-support.c (signal.h): New include.
32 (catch_demangler_crashes): New flag.
33 (SIGJMP_BUF): New define.
34 (SIGSETJMP): Likewise.
35 (SIGLONGJMP): Likewise.
36 (gdb_demangle_jmp_buf): New static global.
37 (gdb_demangle_attempt_core_dump): Likewise.
38 (gdb_demangle_signal_handler): New function.
39 (gdb_demangle): If catch_demangler_crashes is set, install the
40 above signal handler before calling bfd_demangle, and restore
41 the original signal handler afterwards. Display the offending
42 symbol and call demangler_warning the first time a segmentation
43 fault is caught.
44 (_initialize_cp_support): New maint set/show command.
45
eae7090b
GB
462014-06-19 Gary Benson <gbenson@redhat.com>
47
48 * utils.h (resource_limit_kind): New enum.
49 (can_dump_core): New declaration.
50 (warn_cant_dump_core): Likewise.
51 (dump_core): Likewise.
52 * utils.c (dump_core): Made nonstatic. Added new
53 parameter "limit_kind".
54 (can_dump_core): Made nonstatic. Moved printing code to...
55 (warn_cant_dump_core): New function.
56 (can_dump_core_warn): Likewise.
57 (internal_vproblem): Replace calls to can_dump_core with
58 calls to can_dump_core_warn. Supply new argument to each.
59
57fcfb1b
GB
602014-06-19 Gary Benson <gbenson@redhat.com>
61
62 * utils.h (demangler_vwarning): New declaration.
63 (demangler_warning): Likewise.
64 * utils.c (struct internal_problem)
65 <user_settable_should_quit>: New field.
66 <user_settable_should_dump_core>: Likewise
67 (internal_error_problem): Add values for above new fields.
68 (internal_warning_problem): Likewise.
69 (demangler_warning_problem): New static global.
70 (demangler_vwarning): New function.
71 (demangler_warning): Likewise.
72 (add_internal_problem_command): Selectively add commands.
73 (_initialize_utils): New internal problem command.
74 * maint.c (maintenance_demangler_warning): New function.
75 (_initialize_maint_cmds): New command.
76
17a40b44
TT
772014-06-18 Tom Tromey <tromey@redhat.com>
78
79 * f-valprint.c (info_common_command_for_block): Update.
80 * symtab.h (struct general_symbol_info) <common_block>: Now
81 const.
82
346d1dfe
TT
832014-06-18 Tom Tromey <tromey@redhat.com>
84
85 * symtab.h (struct symtab) <blockvector>: Now const.
86 * ada-lang.c (ada_add_global_exceptions): Update.
87 * buildsym.c (augment_type_symtab): Update.
88 * dwarf2read.c (dw2_lookup_symbol): Update.
89 * jit.c (finalize_symtab): Update.
90 * jv-lang.c (add_class_symtab_symbol): Update.
91 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
92 Update.
93 * objfiles.c (objfile_relocate1): Update.
94 * psymtab.c (lookup_symbol_aux_psymtabs)
95 (maintenance_check_psymtabs): Update.
96 * python/py-symtab.c (stpy_global_block, stpy_static_block):
97 Update.
98 * spu-tdep.c (spu_catch_start): Update.
99 * symmisc.c (dump_symtab_1): Update.
100 * symtab.c (lookup_global_symbol_from_objfile)
101 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
102 (basic_lookup_transparent_type_quick)
103 (basic_lookup_transparent_type, find_pc_sect_symtab)
104 (find_pc_sect_line, search_symbols): Update.
105 * block.c (find_block_in_blockvector): Make "bl" const.
106 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
107 const.
108 (blockvector_contains_pc): Make "bv" const.
109 (block_for_pc_sect): Update.
110 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
111 (blockvector_contains_pc): Update.
112 * breakpoint.c (resolve_sal_pc): Update.
113 * inline-frame.c (block_starting_point_at): Update.
114
1834676b
TT
1152014-06-18 Tom Tromey <tromey@redhat.com>
116
117 * completer.c (complete_line): Make "line_buffer" const.
118 * completer.h (complete_line): Update.
119
ac1a991b
TT
1202014-06-18 Tom Tromey <tromey@redhat.com>
121
122 * symtab.c (add_macro_name): Remove unneeded cast.
123
5bc98e52
TT
1242014-06-18 Tom Tromey <tromey@redhat.com>
125
126 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
127 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
128
8236def8
TT
1292014-06-18 Tom Tromey <tromey@redhat.com>
130
131 * probe.c (info_probes_for_ops): Make "arg" const.
132 * probe.h (info_probes_for_ops): Update.
133
3977b71f
TT
1342014-06-18 Tom Tromey <tromey@redhat.com>
135
136 * varobj.c (varobj_create): Update.
137 * valops.c (value_of_this): Update.
138 * tracepoint.c (add_local_symbols, scope_info): Update.
139 * symtab.h (struct general_symbol_info) <block>: Now const.
140 * symtab.c (skip_prologue_sal)
141 (default_make_symbol_completion_list_break_on)
142 (skip_prologue_using_sal): Update.
143 * stack.h (iterate_over_block_locals)
144 (iterate_over_block_local_vars): Update.
145 * stack.c (print_frame_args): Update.
146 (iterate_over_block_locals, iterate_over_block_local_vars): Make
147 parameter const.
148 (get_selected_block): Make return type const.
149 * python/py-frame.c (frapy_block): Update.
150 * python/py-block.c (gdbpy_block_for_pc): Update.
151 * p-exp.y (%union) <bval>: Now const.
152 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
153 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
154 * m2-exp.y (%union) <bval>: Now const.
155 * linespec.c (get_current_search_block): Make return type const.
156 (create_sals_line_offset, find_label_symbols): Update.
157 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
158 Update.
159 (block_starting_point_at): Make "block" const.
160 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
161 (check_exception_resume): Update.
162 * guile/scm-frame.c (gdbscm_frame_block): Update.
163 * guile/scm-block.c (gdbscm_lookup_block): Update.
164 * frame.h (get_frame_block): Update.
165 (get_selected_block): Make return type const.
166 * frame.c (frame_id_inner): Update.
167 * f-valprint.c (info_common_command_for_block)
168 (info_common_command): Update.
169 * dwarf2loc.c (dwarf2_find_location_expression)
170 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
171 (locexpr_describe_location_piece): Update.
172 * c-exp.y (%union) <bval>: Now const.
173 * breakpoint.c (resolve_sal_pc): Update.
174 * blockframe.c (get_frame_block):Make return type const.
175 (get_pc_function_start, get_frame_function, find_pc_sect_function)
176 (block_innermost_frame): Update.
177 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
178 (block_for_pc, block_for_pc_sect): Update.
179 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
180 'pblock' const.
181 (block_for_pc_sect, block_for_pc): Make return type const.
182 * ax-gdb.c (gen_expr): Update.
183 * alpha-mdebug-tdep.c (find_proc_desc): Update.
184 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
185 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
186 (ada_read_var_value): Update.
187 * ada-exp.y (struct name_info) <block>: Now const.
188 (%union): Likewise.
189 (block_lookup): Constify.
190
b9228891
GB
1912014-06-18 Gary Benson <gbenson@redhat.com>
192
193 * nat/i386-dregs.h: New file.
194 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
195 * i386-nat.h (i386-dregs.h): New include.
196 (DR_FIRSTADDR): Now in i386-dregs.h.
197 (DR_LASTADDR): Likewise.
198 (DR_NADDR): Likewise.
199 (DR_STATUS): Likewise.
200 (DR_CONTROL): Likewise.
201 (i386_debug_reg_state): Likewise.
202 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
203
a1aa2221
LM
2042014-06-18 Don Breazeal <donb@codesourcery.com>
205
206 * breakpoint.c (set_longjmp_breakpoint): Call
207 momentary_breakpoint_from_master with additional argument.
208 (set_longjmp_breakpoint_for_call_dummy): Call
209 momentary_breakpoint_from_master with additional argument.
210 (set_std_terminate_breakpoint): Call
211 momentary_breakpoint_from_master with additional argument.
212 (momentary_breakpoint_from_master): Add argument to function
213 definition and use it to initialize structure member flag.
214 (clone_momentary_breakpoint): Call
215 momentary_breakpoint_from_master with additional argument.
216 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
217 member flags set in momentary_breakpoint_from_master.
218
4be83cc2
GB
2192014-06-18 Gary Benson <gbenson@redhat.com>
220
221 * i386-nat.c (i386_show_dr): Renamed to
222 i386_dr_show and made nonstatic. All uses updated.
223 (i386_length_and_rw_bits): Renamed to
224 i386_dr_length_and_rw_bits and made nonstatic.
225 All uses updated.
226 (i386_insert_aligned_watchpoint): Renamed to
227 i386_dr_insert_aligned_watchpoint and made nonstatic.
228 All uses updated.
229 (i386_remove_aligned_watchpoint): Renamed to
230 i386_dr_remove_aligned_watchpoint and made nonstatic.
231 All uses updated.
232 (i386_update_inferior_debug_regs): Renamed to
233 i386_dr_update_inferior_debug_regs and made nonstatic.
234 All uses updated.
235
131aa0d4
GB
2362014-06-18 Gary Benson <gbenson@redhat.com>
237
238 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
239 (i386_dr_low_can_set_control): Likewise.
240 (i386_dr_low_set_addr): Likewise.
241 (i386_dr_low_set_control): Likewise.
242 (i386_dr_low_get_addr): Likewise.
243 (i386_dr_low_get_status): Likewise.
244 (i386_dr_low_get_control): Likewise.
245 (i386_insert_aligned_watchpoint): Use new macros.
246 (i386_update_inferior_debug_regs): Likewise.
247 (i386_stopped_data_address): Likewise.
248
d9305f7f
GB
2492014-06-18 Gary Benson <gbenson@redhat.com>
250
251 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
252 New parameter. All uses updated.
253
ea008da4
GB
2542014-06-18 Gary Benson <gbenson@redhat.com>
255
256 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
257 All uses updated.
258
1b6d4134
GB
2592014-06-18 Gary Benson <gbenson@redhat.com>
260
261 * i386-nat.c (debug_printf): New macro.
262 (i386_get_debug_register_length): Likewise.
263 (TARGET_HAS_DR_LEN_8): Use above macro.
264 (i386_show_dr): Use debug_printf instead of puts_unfiltered
265 and printf_unfiltered. Use phex to format values.
266
9b4550ef
GB
2672014-06-18 Gary Benson <gbenson@redhat.com>
268
269 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
270 Make const.
271
6e62758f
GB
2722014-06-18 Gary Benson <gbenson@redhat.com>
273
274 * i386-nat.c: Comment changes.
275
51c79e94
GB
2762014-06-18 Gary Benson <gbenson@redhat.com>
277
278 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
279
3e11889a
GB
2802014-06-18 Gary Benson <gbenson@redhat.com>
281
282 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
283 (i386_insert_aligned_watchpoint): Likewise.
284 (i386_remove_aligned_watchpoint): Likewise.
285 (i386_handle_nonaligned_watchpoint): Likewise.
286
fc6e2f03
GB
2872014-06-18 Gary Benson <gbenson@redhat.com>
288
289 * i386-nat.c: Whitespace changes.
290
2afe7d50
SB
2912014-06-17 Samuel Bronson <naesten@gmail.com>
292
293 * MAINTAINERS: Update Roland McGrath's email address.
294 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 295 Red Hat a while ago, and giving me a current address.
2afe7d50 296
3bca49ee
TT
2972014-06-17 Tom Tromey <tromey@redhat.com>
298
299 * utils.h (savestring): Remove declaration.
300
6e366df1
TT
3012014-06-17 Tom Tromey <tromey@redhat.com>
302
303 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
304
6be47f0c
KS
3052014-06-16 Keith Seitz <keiths@redhat.com>
306
307 PR mi/15863
308 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
309 to update the varobj if inferior_ptid is null_ptid.
310
7bc112c1
TT
3112014-06-16 Tom Tromey <tromey@redhat.com>
312
313 * target.h (struct target_ops) <to_info_proc>: Make parameter
314 const.
315 (target_info_proc): Update.
316 * target.c (target_info_proc): Make "args" const.
317 * procfs.c (procfs_info_proc): Update.
318 * linux-tdep.c (linux_info_proc): Update.
319 (linux_core_info_proc_mappings): Make "args" const.
320 (linux_core_info_proc): Update.
321 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
322 * gdbarch.c: Rebuild.
323 * gdbarch.h: Rebuild.
324 * corelow.c (core_info_proc): Update.
325
fee354ee
TT
3262014-06-16 Tom Tromey <tromey@redhat.com>
327
328 * target.h (struct target_ops) <to_disconnect>: Make parameter
329 const.
330 (target_disconnect): Update.
331 * target.c (target_disconnect): Make "args" const.
332 * target-delegates.c: Rebuild.
333 * remote.c (remote_disconnect): Update.
334 * record.h (record_disconnect): Update.
335 * record.c (record_disconnect): Update.
336 * inf-child.c (inf_child_disconnect): Update.
337
a30bf1f1
TT
3382014-06-16 Tom Tromey <tromey@redhat.com>
339
340 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
341 * target.c (debug_to_rcmd, default_rcmd): Update.
342 * target-delegates.c: Rebuild.
343 * remote.c (remote_rcmd): Update.
344 * monitor.c (monitor_rcmd): Update.
345
d03de421
PA
3462014-06-16 Pedro Alves <palves@redhat.com>
347
348 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
349 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
350 have OBJF_SHARED set.
351 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
352 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
353 instead of OBJF_USERLOADED.
354 * objfiles.h (OBJF_SHARED): Update comment.
355 (userloaded_objfile_contains_address_p): Rename to ...
356 (shared_objfile_contains_address_p): ... this, and update
357 comments.
358 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
359 new objfile.
360 (remove_symbol_file_command): Skip objfiles that don't have
361 OBJF_SHARED set.
362
99f4262f
TT
3632014-06-16 Tom Tromey <tromey@redhat.com>
364
365 * minsyms.h (prim_record_minimal_symbol)
366 (prim_record_minimal_symbol_and_info): Update comments.
367
97d66cc6
EZ
3682014-06-14 Eli Zaretskii <eliz@gnu.org>
369
370 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
371 or --without-guile, according to how GDB was built.
372
635c7e8a
TT
3732014-06-13 Tom Tromey <tromey@redhat.com>
374
375 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
376 to help_list.
377 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
378 to help_list.
379 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
380 help_list.
381 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
382 help_list.Pass all_commands, not -1, to help_list.
383 * cli/cli-dump.c (dump_command, append_command)
384 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
385 (binary_dump_command, binary_append_command): Pass all_commands,
386 not -1, to help_list.
387 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
388 -1, to help_list.
389 * valprint.c (set_print, set_print_raw): Pass all_commands, not
390 -1, to help_list.
391 * typeprint.c (set_print_type): Pass all_commands, not -1, to
392 help_list.
393 * top.c (set_history): Pass all_commands, not -1, to help_list.
394 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
395 all_commands, not -1, to help_list.
396 * symfile.c (overlay_command): Pass all_commands, not -1, to
397 help_list.
398 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
399 help_list.
400 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
401 help_list.
402 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
403 -1, to help_list.
404 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
405 not -1, to help_list.
406 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
407 not -1, to help_list.
408 * maint.c (maintenance_command, maintenance_info_command)
409 (maintenance_print_command, maintenance_set_cmd): Pass
410 all_commands, not -1, to help_list.
411 * macrocmd.c (macro_command): Pass all_commands, not -1, to
412 help_list.
413 * language.c (set_check): Pass all_commands, not -1, to help_list.
414 * infcmd.c (unset_command): Pass all_commands, not -1, to
415 help_list.
416 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
417 help_list.
418 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
419 help_list.
420 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
421 help_list.
422 * breakpoint.c (save_command): Pass all_commands, not -1, to
423 help_list.
424 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
425 all_commands, not -1, to help_list.
426
b94ade42
PL
4272014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
428
429 * regcache.c (struct register_to_invalidate): New structure.
430 (do_register_invalidate, make_cleanup_regcache_invalidate): New
431 functions.
432 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
433
31f628ae
YQ
4342014-06-12 Yao Qi <yao@codesourcery.com>
435
436 * varobj.c (varobj_get_num_children): Call
437 varobj_is_dynamic_p.
438 (varobj_list_children): Likewise.
439 (varobj_update): Likewise. Update comments.
440
cde5ef40
YQ
4412014-06-12 Yao Qi <yao@codesourcery.com>
442
443 * varobj.c (varobj_pretty_printed_p): Rename to ...
444 (varobj_is_dynamic_p): ... this. New function.
445 * varobj.h (varobj_pretty_printed_p): Remove declaration.
446 (varobj_is_dynamic_p): Declare.
447 * mi/mi-cmd-var.c (print_varobj): All callers updated.
448 (mi_print_value_p, varobj_update_one): Likewise.
449
576ea091
YQ
4502014-06-12 Pedro Alves <pedro@codesourcery.com>
451 Yao Qi <yao@codesourcery.com>
452
453 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
454 (varobj_get_iterator): Wrap up code for pretty-printer by
455 "#if HAVE_PYTHON" and "#endif".
456 (update_dynamic_varobj_children): Likewise.
457
827f100c
YQ
4582014-06-12 Pedro Alves <pedro@codesourcery.com>
459 Yao Qi <yao@codesourcery.com>
460
461 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
462 gdb_python_initialized is false. Move some code from varobj.c.
463 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
464 * varobj.c: Move "varobj-iter.h" inclusion earlier.
465 (struct varobj_item): Moved to varobj-iter.h".
466 (varobj_clear_saved_item): New function.
467 (update_dynamic_varobj_children): Move python-related code to
468 py-varobj.c.
469 (free_variable): Call varobj_clear_saved_item and
470 varobj_iter_delete.
471
e5250216
YQ
4722014-06-12 Pedro Alves <pedro@codesourcery.com>
473 Yao Qi <yao@codesourcery.com>
474
475 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
476 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
477 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
478 (py-varobj.o): New rule.
479 * python/py-varobj.c: New file.
480 * python/python-internal.h (py_varobj_get_iterator): Declare.
481 * varobj-iter.h: New file.
482 * varobj.c: Include "varobj-iter.h"
483 (struct varobj) <child_iter>: Change its type from "PyObject *"
484 to "struct varobj_iter *".
485 <saved_item>: Likewise.
486 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
487 [HAVE_PYTHON] (varobj_get_iterator): New function.
488 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
489 python-specific code to python/py-varobj.c.
490 (install_visualizer): Call varobj_iter_delete instead of
491 Py_XDECREF.
492 * varobj.h (varobj_ensure_python_env): Declare.
493
5a2e0d6e
YQ
4942014-06-12 Yao Qi <yao@codesourcery.com>
495
496 * varobj.c (struct varobj_item): New structure.
497 (create_child_with_value): Update declaration.
498 (varobj_add_child): Replace arguments 'name' and 'value' with
499 'item'. All callers updated.
500 (install_dynamic_child): Likewise.
501 (update_dynamic_varobj_children): Likewise.
502 (varobj_add_child): Likewise.
503 (create_child_with_value): Likewise.
504
919b9a93
JB
5052014-06-11 Joel Brobecker <brobecker@adacore.com>
506
507 * NEWS: Create a new section for the next release branch.
508 Rename the section of the current branch, now that it has
509 been cut.
510
71a55bdf
JB
5112014-06-11 Joel Brobecker <brobecker@adacore.com>
512
513 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
514 * version.in: Bump version to 7.8.50.DATE-cvs.
515
364fe1f7
PA
5162014-06-11 Pedro Alves <palves@redhat.com>
517
518 PR remote/17028
519 * ser-mingw.c (net_windows_socket_check_pending): New function.
520 (net_windows_select_thread): Ignore spurious wakeups. Use
521 net_windows_socket_check_pending.
522 (net_windows_wait_handle): Check for pending events with
523 ioctlsocket, through net_windows_socket_check_pending, instead of
524 checking the socket's event.
525
5a6c7709
SC
5262014-06-10 Siva Chandra Reddy <sivachandra@google.com>
527
528 * python/python-internal.h (gdb_PyObject_GetAttrString)
529 (gdb_PyObject_HasAttrString): New inline function definitions.
530 * py-value.c (get_field_flag): Remove the now unnecessary cast to
531 char * of the second argument to PyObject_GetAttrString.
532
0e58ee40
JB
5332014-06-10 Joel Brobecker <brobecker@adacore.com>
534
535 * serial.c (serial_write): Fix index of character to be printed
536 in call to serial_logchar when serial debug traces are enabled.
537
d190df30
JB
5382014-06-10 Joel Brobecker <brobecker@adacore.com>
539
540 * gdbtypes (resolve_dynamic_range): Add function description.
541
b4b01d36
PA
5422014-06-09 Pedro Alves <palves@redhat.com>
543
544 * linux-nat.c (linux_child_follow_fork): Initialize status with
545 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
546 inner block. Only pass the signal to PTRACE_DETACH if in pass
547 state.
548
3657956b
GB
5492014-06-09 Gary Benson <gbenson@redhat.com>
550
551 * common/signals.c (gdb_signal_from_host): Reorder to separate
552 the always-available ANSI-standard signals from the signals that
553 require checking.
554 (do_gdb_signal_to_host): Likewise.
555 * proc-events.c (signal_table): Likewise.
556
c077881a
HZ
5572014-06-08 Hui Zhu <hui@codesourcery.com>
558
559 * common/linux-ptrace.c (linux_disable_event_reporting): New
560 function.
561 * common/linux-ptrace.h (linux_disable_event_reporting): New
562 declaration.
563 * linux-nat.c (linux_child_follow_fork): Do a single step before
564 detach.
565
4186eb54
KS
5662014-06-07 Keith Seitz <keiths@redhat.com>
567
568 Revert:
569 PR c++/16253
570 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
571 from symbol_matches_domain in symtab.c. All local callers
572 of symbol_matches_domain updated.
573 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
574 search STRUCT_DOMAIN.
575 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
576 independently. standard_lookup will do that automatically.
577 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
578 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
579 (cp_lookup_symbol_in_namespace): Likewise.
580 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
581 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
582 may return a STRUCT_DOMAIN match.
583 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
584 * cp-support.c: Include language.h.
585 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
586 VAR_DOMAIN.
587 * psymtab.c (match_partial_symbol): Compare the requested
588 domain with the symbol's domain directly.
589 (lookup_partial_symbol): Likewise.
590 * symtab.c (lookup_symbol_in_language): Explain when/why
591 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
592 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
593 appropriate languages.
594 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
595 and moved to ada-lang.c
596 (lookup_block_symbol): Explain that this function only returns
597 symbol matching the requested DOMAIN.
598 Compare the requested domain with the symbol's domain directly.
599 (iterate_over_symbols): Compare the requested domain with the
600 symbol's domain directly.
601 * symtab.h (symbol_matches_domain): Remove.
602
25326a28 6032014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
604
605 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
606 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
607 (gdbscm_guile_version_is_at_least): Declare.
608 (gdbscm_scm_string_to_int): Declare.
609 * guile/guile.c (gdbscm_guile_major_version): New global.
610 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
611 (guile_datadir): New static global.
612 (gdbscm_guile_data_directory): New function.
613 (initialize_scheme_side): Update.
614 (misc_guile_functions): Add guile-data-directory.
615 (initialize_gdb_module): Fetch guile version number.
616 * guile/lib/gdb.scm: Remove call to add-to-load-path.
617 * guile/lib/gdb/init.scm (%initialize!): Ditto.
618 * guile/lib/gdb/boot.scm: Use guile-data-directory.
619 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
620 comments.
621 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
622 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
623 * guile/scm-value.c (gdbscm_value_to_string): Only call
624 scm_port_conversion_strategy if Guile version >= 2.0.6.
625
0a770bb2 6262014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
627
628 * main.c (print_gdb_help): Add -q and --silent.
629
73ba372c
GB
6302014-06-06 Gary Benson <gbenson@redhat.com>
631
632 * common/signals.c: Remove preprocessor conditionals for
633 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
634 SIGSEGV and SIGTERM.
635 * proc-events.c: Likewise.
636
c33b2f12
MM
6372014-06-06 Markus Metzger <markus.t.metzger@intel.com>
638
639 * symfile.c (symfile_free_objfile): Remove restriction to
640 OBJF_USERLOADED.
641 * symfile-mem.c (symbol_file_add_from_memory): Call
642 add_target_sections_of_objfile.
643
fb934770
LC
6442014-06-05 Ludovic Courtès <ludo@gnu.org>
645
646 * guile/scm-value.c (gdbscm_history_append_x): Use
647 'vlscm_get_value_smob_arg_unsafe' instead of
648 'vlscm_scm_to_value'.
649
6ef284bd
SM
6502014-06-05 Simon Marchi <simon.marchi@ericsson.com>
651
652 PR mi/15806
653 * utils.c (printchar): Don't escape at all if quoter is NUL.
654 Update function documentation to clarify effect of parameter
655 QUOTER.
656 * remote.c (escape_buffer): Pass '\\' as the quoter to
657 fputstrn_unfiltered.
658 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
659 generate the output.
660 (mi_solib_unloaded): Same.
661
270c9937
JB
6622014-06-05 Joel Brobecker <brobecker@adacore.com>
663
664 * development.sh: Delete.
665 * Makefile.in (config.status): Adjust dependency on development.sh.
666 * configure.ac: Adjust development.sh source call.
667 * configure: Regenerate.
668
16f691fb
DE
6692014-06-04 Doug Evans <xdje42@gmail.com>
670
671 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
672 is_scheme_bkpt, spec.
673 (bpscm_make_breakpoint_smob): Initialize new members.
674 (gdbscm_create_breakpoint_x): Split into two ...
675 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
676 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
677 (scheme_function breakpoint_functions): Update.
678 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
679 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
680 register-breakpoint!.
681
ef7cab6b
JB
6822014-06-04 Joel Brobecker <brobecker@adacorer.com>
683
684 PR server/17023
685 * mem-break.c (z_type_supported): Return zero if
686 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
687
012370f6
TT
6882014-06-04 Tom Tromey <tromey@redhat.com>
689
690 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
691 value_from_contents_and_address_unresolved.
692 (ada_template_to_fixed_record_type_1): Likewise.
693 (ada_which_variant_applies): Likewise.
694 * value.h (value_from_contents_and_address_unresolved): Declare.
695 * value.c (value_from_contents_and_address_unresolved): New
696 function.
697 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
698 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
699 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
700
92e2a17f
TT
7012014-06-04 Tom Tromey <tromey@redhat.com>
702
703 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
704
c0939df1
TT
7052014-06-04 Tom Tromey <tromey@redhat.com>
706
707 * procfs.c (procfs_attach): Make "args" const.
708 * windows-nat.c (windows_attach): Make "args" const.
709 * nto-procfs.c (procfs_attach): Make "args" const.
710 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
711 * go32-nat.c (go32_attach): Make "args" const.
712 * gnu-nat.c (gnu_attach): Make "args" const.
713 * darwin-nat.c (darwin_attach): Make "args" const.
714 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
715 * linux-nat.c (linux_nat_attach): Make "args" const.
716 * remote.c (extended_remote_attach_1, extended_remote_attach):
717 Make "args" const.
718 * target.h (struct target_ops) <to_attach>: Make "args" const.
719 (find_default_attach): Likewise.
720 * utils.c (parse_pid_to_attach): Make "args" const.
721 * utils.h (parse_pid_to_attach): Update.
722
8eaff7cd
TT
7232014-06-04 Tom Tromey <tromey@redhat.com>
724
725 * target-delegates.c: Rebuild.
726 * target.c (default_thread_address_space): New function.
727 (target_thread_address_space): Simplify.
728 * target.h (struct target_ops) <to_thread_address_space>: Add
729 TARGET_DEFAULT_FUNC.
730
1913f160
DE
7312014-06-04 Doug Evans <xdje42@gmail.com>
732
733 * guile/scm-type.c (type_smob): Remove duplicate typedef.
734
70ad5bff
MM
7352014-06-04 Markus Metzger <markus.t.metzger@intel.com>
736
737 * record-btrace.c: Include event-loop.h and inf-loop.h.
738 (record_btrace_resume_exec_dir)
739 (record_btrace_async_inferior_event_handler)
740 (record_btrace_handle_async_inferior_event): New.
741 (record_btrace_open): Create async event handler.
742 (record_btrace_close): Delete async event handler.
743 (record_btrace_resume): Set record_btrace_resume_exec_dir,
744 Mark async event handler.
745 (record_btrace_execution_direction): New.
746 (init_record_btrace_ops): Initialize to_execution_direction.
747
b6210538
DE
7482014-06-03 Doug Evans <xdje42@gmail.com>
749
750 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
751 (gdbscm_make_parameter): Ditto.
752
a5b1fd27
DE
7532014-06-03 Doug Evans <dje@google.com>
754
755 * exec.c (exec_close_1): Call clear_section_table instead of
756 resize_section_table.
757 (clear_section_table): New function.
758 (resize_section_table): Make static. Rename arg num_added to
759 adjustment.
760 * exec.h (clear_section_table): Declare.
761 (resize_section_table): Delete.
762 * progspace.c (release_program_space): Call clear_section_table
763 instead of resize_section_table.
764
0c6e92a5
SC
7652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
766
767 * NEWS (Python Scripting): Add entry about the new xmethods
768 feature.
769
883964a7
SC
7702014-06-03 Siva Chandra Reddy <sivachandra@google.com>
771
772 * python/py-xmethods.c: New file.
773 * python/py-objfile.c (objfile_object): New field 'xmethods'.
774 (objfpy_dealloc): XDECREF on the new xmethods field.
775 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
776 field.
777 (objfpy_get_xmethods): New function.
778 (objfile_getset): New entry 'xmethods'.
779 * python/py-progspace.c (pspace_object): New field 'xmethods'.
780 (pspy_dealloc): XDECREF on the new xmethods field.
781 (pspy_new, pspace_to_pspace_object): Initialize xmethods
782 field.
783 (pspy_get_xmethods): New function.
784 (pspace_getset): New entry 'xmethods'.
785 * python/python-internal.h: Add declarations for new functions.
786 * python/python.c (_initialize_python): Invoke
787 gdbpy_initialize_xmethods.
788 * python/lib/gdb/__init__.py (xmethods): New
789 attribute.
790 * python/lib/gdb/xmethod.py: New file.
791 * python/lib/gdb/command/xmethods.py: New file.
792
58992dc5
SC
7932014-06-03 Siva Chandra Reddy <sivachandra@google.com>
794
795 * eval.c (evaluate_subexp_standard): Call the xmethod if the
796 best match method returned by find_overload_match is an xmethod.
797 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
798 the best matching operator returned by find_overload_match is an
799 xmethod.
800 * valops.c: #include "extension.h".
801 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
802 Return void. The list of matching source methods is returned in
803 "fn_list" and a vector of matching debug method workers is
804 returned in "xm_worker_vec". Update all callers.
805 (value_find_oload_method_list): Likewise.
806 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
807 non-NULL, then the index of the best matching method in this
808 vector is returned. Update all callers.
809 (find_overload_match): Include xmethods while performing overload
810 resolution.
811
e81e7f5e
SC
8122014-06-03 Siva Chandra Reddy <sivachandra@google.com>
813
814 * defs.h (enum lval_type): New enumerator "lval_xcallable".
815 * extension-priv.h (struct extension_language_ops): Add the
816 xmethod interface.
817 * extension.c (new_xmethod_worker, clone_xmethod_worker,
818 get_matching_xmethod_workers, get_xmethod_argtypes,
819 invoke_xmethod, free_xmethod_worker,
820 free_xmethod_worker_vec): New functions.
821 * extension.h: #include "common/vec.h".
822 New function declarations.
823 (struct xmethod_worker): New struct.
824 (VEC (xmethod_worker_ptr)): New vector type.
825 (xmethod_worker_ptr): New typedef.
826 (xmethod_worker_vec): Likewise.
827 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
828 builtin_type.
829 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
830 (struct builtin_type): New field "xmethod".
831 * valarith.c (value_ptradd): Assert that the value argument is not
832 lval_xcallable.
833 * valops.c (value_must_coerce_to_target): Return 0 for
834 lval_xcallable values.
835 * value.c (struct value): New field XM_WORKER in the field
836 LOCATION.
837 (value_address, value_raw_address): Return 0 for lval_xcallable
838 values.
839 (set_value_address): Assert that the value is not an
840 lval_xcallable.
841 (value_free): Free the associated xmethod worker when freeing
842 lval_xcallable values.
843 (set_value_component_location): Assert that the WHOLE value is not
844 lval_xcallable.
845 (value_of_xmethod, call_xmethod): New functions.
846 * value.h: Declare "struct xmethod_worker".
847 Declare new functions value_of_xmethod, call_xmethod.
848
ef370185
JB
8492014-06-03 Joel Brobecker <brobecker@adacore.com>
850 Pedro Alves <palves@redhat.com>
851
852 PR breakpoints/17000
853 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
854 New function, extracted from software_breakpoint_inserted_here_p.
855 (software_breakpoint_inserted_here_p): Replace factored out code
856 by call to find_non_raw_software_breakpoint_inserted_here.
857 (bp_target_info_copy_insertion_state): New function.
858 (bkpt_insert_location): Handle the case of a single-step
859 breakpoint already inserted at the same address.
860 (bkpt_remove_location): Handle the case of a single-step
861 breakpoint still inserted at the same address.
862 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
863 breakpoint already inserted at the same address.
864 (deprecated_remove_raw_breakpoint): Handle the case of a
865 non-raw breakpoint still inserted at the same address.
866 (find_single_step_breakpoint): New function, extracted from
867 single_step_breakpoint_inserted_here_p.
868 (find_single_step_breakpoint): New function,
869 factored out from single_step_breakpoint_inserted_here_p.
870 (single_step_breakpoint_inserted_here_p): Reimplement.
871
1e2ccb61
BM
8722014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
873
874 Pushed by Joel Brobecker <brobecker@adacore.com>
875 * source.c (show_substitute_path_command): Fix display of matching
876 substitution rules.
877
d3448d85
GB
8782014-06-03 Gary Benson <gbenson@redhat.com>
879
880 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
881
06eb1586
DE
8822014-06-02 Doug Evans <xdje42@gmail.com>
883
884 Add parameter support for Guile.
885 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
886 (SUBDIR_GUILE_SRCS): Add scm-param.c.
887 (scm-param.o): New rule.
888 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
889 (gdbscm_misc_error): Declare.
890 (gdbscm_canonicalize_command_name): Declare.
891 (gdbscm_scm_to_host_string): Declare.
892 (gdbscm_scm_from_host_string): Declare.
893 (gdbscm_initialize_parameters): Declare.
894 * guile/guile.c (initialize_gdb_module): Call
895 gdbscm_initialize_parameters.
896 * guile/lib/gdb.scm: Export parameter symbols.
897 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
898 cmdscm_canonicalize_name and made public. All callers updated.
899 * guile/scm-exception.c (gdbscm_misc_error): New function.
900 * guile/scm-param.c: New file.
901 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
902 (gdbscm_scm_to_host_string): New function.
903 (gdbscm_scm_from_host_string): New function.
904 * scm-utils.c (gdbscm_gc_dup_argv): New function.
905
e698b8c4
DE
9062014-06-02 Doug Evans <xdje42@gmail.com>
907
908 Add command support for Guile.
909 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
910 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
911 (scm-cmd.o): New rule.
912 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
913 (gdbscm_user_error_p): Declare.
914 (gdbscm_parse_command_name): Declare.
915 (gdbscm_valid_command_class_p): Declare.
916 (gdbscm_initialize_commands): Declare.
917 * guile/guile.c (initialize_gdb_module): Call
918 gdbscm_initialize_commands.
919 * guile/lib/gdb.scm: Export command symbols.
920 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
921 (throw-user-error): New function.
922 * guile/scm-cmd.c: New file.
923 * guile/scm-exception.c (user_error_symbol): New static global.
924 (gdbscm_user_error_p): New function.
925 (gdbscm_initialize_exceptions): Set user_error_symbol.
926 * scm-utils.c (gdbscm_gc_xstrdup): New function.
927
fb1f94b0
PM
9282014-06-02 Phil Muldoon <pmuldoon@redhat.com>
929
930 * top.c (command_loop): Handle comments here...
931 (command_line_input): ... not here.
932
ded03782
DE
9332014-06-02 Doug Evans <xdje42@gmail.com>
934
935 Add progspace support for Guile.
936 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
937 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
938 (scm-progspace.o): New rule.
939 * guile/guile-internal.h (pspace_smob): New typedef.
940 (psscm_pspace_smob_pretty_printers): Declare.
941 (psscm_pspace_smob_from_pspace): Declare.
942 (psscm_scm_from_pspace): Declare.
943 * guile/guile.c (initialize_gdb_module): Call
944 gdbscm_initialize_pspaces.
945 * guile/lib/gdb.scm: Export progspace symbols.
946 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
947 support.
948 (append-pretty-printer!): Ditto.
949 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
950 Implement.
951 * guile/scm-progspace.c: New file.
952
397998fc
AM
9532014-06-03 Alan Modra <amodra@gmail.com>
954
955 * ppc64-tdep.c (ppc64_standard_linkage8): New.
956 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
957
6aa5f3a6
DE
9582014-06-02 Doug Evans <dje@google.com>
959
960 Add support for skeletonless type units.
961 * dwarf2read.c (struct dwarf2_per_objfile): New member
962 n_allocated_type_units.
963 (struct dwarf2_per_objfile) <tu_stats>: New member
964 nr_all_type_units_reallocs.
965 (create_signatured_type_table_from_index): Initialize
966 n_allocated_type_units
967 (create_all_type_units): Ditto.
968 (add_type_unit): Move up in file. New arg slot.
969 All callers updated. Increase space for all_type_units more
970 efficiently.
971 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
972 (lookup_dwo_signatured_type): Handle skeletonless TUs.
973 (lookup_dwp_signatured_type): Ditto.
974 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
975 All callers updated.
976 (build_type_psymtabs_1): Leave type_unit_groups as
977 NULL if no TUs present.
978 (print_tu_stats): New function.
979 (process_skeletonless_type_unit): New function.
980 (process_dwo_file_for_skeletonless_type_units): New
981 function.
982 (process_skeletonless_type_units): New function.
983 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
984 Call print tu_stats if debugging enabled.
985
41fac0cf
PA
9862014-06-02 Pedro Alves <palves@redhat.com>
987
988 * breakpoint.c (build_target_command_list): Don't build a command
989 list if we have any duplicate location that isn't a dprintf.
990
cd1608cc
PA
9912014-06-02 Pedro Alves <palves@redhat.com>
992
993 * breakpoint.c (dprintf_breakpoint_hit): New function.
994 (initialize_breakpoint_ops): Install it as dprintf's
995 breakpoint_hit method.
996
486ef3b9
JB
9972014-06-02 Joel Brobecker <brobecker@adacore.com>
998
999 * source.c (substitute_path_rule_matches): Simplify using
1000 filename_ncmp instead of FILENAME_CMP.
1001
230cd560
JB
10022014-06-02 Joel Brobecker <brobecker@adacore.com>
1003
1004 * source.c (substitute_path_rule_matches): Remove trailing spaces.
1005
16954d5d
LC
10062014-06-01 Ludovic Courtès <ludo@gnu.org>
1007
1008 * configure.ac: When Guile is available, check for the
1009 availability of 'scm_new_smob'.
1010 * configure, config.h.in: Regenerate.
1011 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
1012 function.
1013
53e8a631
AB
10142014-05-30 Andrew Burgess <aburgess@broadcom.com>
1015
1016 * frame.c (struct frame_info): Add stop_string field.
1017 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
1018 (get_prev_frame_always): Old content moved into
1019 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
1020 TRY_CATCH, handle MEMORY_ERROR exceptions.
1021 (frame_stop_reason_string): New function definition.
1022 * frame.h (unwind_stop_reason_to_string): Extend comment to
1023 mention frame_stop_reason_string.
1024 (frame_stop_reason_string): New function declaration.
1025 * stack.c (frame_info): Switch to frame_stop_reason_string.
1026 (backtrace_command_1): Switch to frame_stop_reason_string.
1027 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
1028 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
1029 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
1030
70e38b8e
AB
10312014-05-30 Andrew Burgess <aburgess@broadcom.com>
1032
1033 * frame.c (frame_stop_reason_string): Rename to ...
1034 (unwind_stop_reason_to_string): this.
1035 * frame.h (frame_stop_reason_string): Rename to ...
1036 (unwind_stop_reason_to_string): this.
1037 * stack.c (frame_info): Update call to frame_stop_reason_string.
1038 (backtrace_command_1): Likewise.
1039 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
1040 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
1041
938f0e2f
AB
10422014-05-30 Andrew Burgess <aburgess@broadcom.com>
1043
1044 * frame.c (remove_prev_frame): New function.
1045 (get_prev_frame_if_no_cycle): Create / discard cleanup using
1046 remove_prev_frame.
1047
a09dd441
PA
10482014-05-29 Pedro Alves <palves@redhat.com>
1049
1050 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
1051 and make it const. When a single-step decays to a continue,
1052 clear 'step', not 'hw_step'. Pass whether the caller wanted
1053 to step to user_visible_resume_ptid, not what we ask the
1054 target to do.
1055
bdc36728
PA
10562014-05-29 Pedro Alves <palves@redhat.com>
1057
1058 * infrun.c (process_event_stop_test, handle_step_into_function)
1059 (handle_step_into_function_backward): Adjust.
1060 Don't set the even thread's stop_step and call stop_waiting before
1061 calling end_stepping_range. Instead do that ...
1062 (end_stepping_range): ... here. Take an ecs pointer parameter.
1063
22bcd14b
PA
10642014-05-29 Pedro Alves <palves@redhat.com>
1065
1066 * infrun.c (stop_stepping): Rename to ...
1067 (stop_waiting): ... this.
1068 (proceed): Update comment.
1069 (process_event_stop_test, handle_inferior_event)
1070 (handle_signal_stop, handle_step_into_function)
1071 (handle_step_into_function_backward): Update.
1072
4ae57c05
PA
10732014-05-29 Pedro Alves <palves@redhat.com>
1074
1075 * infcall.c (run_inferior_call): Don't check whether the current
1076 thread is running after the proceed call.
1077
329ea579
PA
10782014-05-29 Pedro Alves <palves@redhat.com>
1079 Tom Tromey <tromey@redhat.com>
1080
1081 * NEWS: Mention "maint set target-async", "set mi-async", and that
1082 background execution commands are now always available.
1083 * target.h (target_async_permitted): Update comment.
1084 * target.c (target_async_permitted, target_async_permitted_1):
1085 Default to 1.
1086 (set_target_async_command): Rename to ...
1087 (maint_set_target_async_command): ... this.
1088 (show_target_async_command): Rename to ...
1089 (maint_show_target_async_command): ... this.
1090 (_initialize_target): Adjust.
1091 * infcmd.c (prepare_execution_command): Make extern.
1092 * inferior.h (prepare_execution_command): Declare.
1093 * infrun.c (set_observer_mode): Leave target async alone.
1094 * mi/mi-interp.c (mi_interpreter_init): Install
1095 mi_on_sync_execution_done as sync_execution_done observer.
1096 (mi_on_sync_execution_done): New function.
1097 (mi_execute_command_input_handler): Don't print the prompt if we
1098 just started a synchronous command with an async target.
1099 (mi_on_resume): Check sync_execution before printing prompt.
1100 * mi/mi-main.h (mi_async_p): Declare.
1101 * mi/mi-main.c: Include gdbcmd.h.
1102 (mi_async_p): New function.
1103 (mi_async, mi_async_1): New globals.
1104 (set_mi_async_command, show_mi_async_command, mi_async): New
1105 functions.
1106 (exec_continue): Call prepare_execution_command.
1107 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
1108 (mi_execute_async_cli_command): Use mi_async_p.
1109 (_initialize_mi_main): Install "set mi-async". Make
1110 "target-async" a deprecated alias.
1111
92bcb5f9
PA
11122014-05-29 Pedro Alves <palves@redhat.com>
1113
1114 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
1115 (_initialize_cli_interp): Adjust.
1116 * event-loop.c: Include "observer.h".
1117 (start_event_loop): Notify 'command_error' observers instead of
1118 calling display_gdb_prompt. Remove FIXME comment.
1119 * event-top.c (display_gdb_prompt): Remove call into the
1120 interpreters.
1121 * inf-loop.c: Include "observer.h".
1122 (inferior_event_handler): Notify 'command_error' observers instead
1123 of calling display_gdb_prompt.
1124 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
1125 observers instead of calling display_gdb_prompt.
1126 * interps.c (interp_set): Don't call display_gdb_prompt.
1127 (current_interp_display_prompt_p): Delete.
1128 * interps.h (interp_prompt_p): Delete declaration.
1129 (interp_prompt_p_ftype): Delete.
1130 (struct interp_procs) <prompt_proc_p>: Delete field.
1131 (current_interp_display_prompt_p): Delete declaration.
1132 * mi-interp.c (mi_interpreter_prompt_p): Delete.
1133 (_initialize_mi_interp): Adjust.
1134 * tui-interp.c (tui_init): Install 'sync_execution_done' and
1135 'command_error' observers.
1136 (tui_on_sync_execution_done, tui_on_command_error): New
1137 functions.
1138 (tui_display_prompt_p): Delete.
1139 (_initialize_tui_interp): Adjust.
1140
fd664c91
PA
11412014-05-29 Pedro Alves <palves@redhat.com>
1142
1143 PR gdb/13860
1144 * cli/cli-interp.c: Include infrun.h and observer.h.
1145 (cli_uiout, cli_interp): New globals.
1146 (cli_on_signal_received, cli_on_end_stepping_range)
1147 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
1148 functions.
1149 (cli_interpreter_init): Install them as 'end_stepping_range',
1150 'signal_received' 'signal_exited', 'exited' and 'no_history'
1151 observers.
1152 (_initialize_cli_interp): Remove cli_interp local.
1153 * infrun.c (handle_inferior_event): Call the several stop reason
1154 observers instead of printing the stop reason directly.
1155 (end_stepping_range): New function.
1156 (print_end_stepping_range_reason, print_signal_exited_reason)
1157 (print_exited_reason, print_signal_received_reason)
1158 (print_no_history_reason): Make static, and add an uiout
1159 parameter. Print to that instead of to CURRENT_UIOUT.
1160 * infrun.h (print_end_stepping_range_reason)
1161 (print_signal_exited_reason, print_exited_reason)
1162 (print_signal_received_reason print_no_history_reason): New
1163 declarations.
1164 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
1165 'mi_uiout'.
1166 <cli_uiout>: New field.
1167 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
1168 uiout for CLI output. Install 'signal_received',
1169 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
1170 observers.
1171 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
1172 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
1173 (mi_on_no_history): New functions.
1174 (ui_out_free_cleanup): Delete function.
1175 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
1176 instead use the one already stored in the MI interpreter data.
1177 (mi_ui_out): Adjust.
1178 * tui/tui-interp.c: Include infrun.h and observer.h.
1179 (tui_interp): New global.
1180 (tui_on_signal_received, tui_on_end_stepping_range)
1181 (tui_on_signal_exited, tui_on_exited)
1182 (tui_on_no_history): New functions.
1183 (tui_init): Install them as 'end_stepping_range',
1184 'signal_received' 'signal_exited', 'exited' and 'no_history'
1185 observers.
1186 (_initialize_tui_interp): Delete tui_interp local.
1187
8817a6f2
PA
11882014-05-29 Pedro Alves <palves@redhat.com>
1189
1190 PR gdb/15713
1191 * linux-nat.c (linux_nat_resume_callback): Rename the second
1192 parameter to 'except'. Skip LP if it points to EXCEPT.
1193 (linux_nat_resume): Don't mark the event lwp as not stopped
1194 before resuming sibling lwps. Instead ask
1195 linux_nat_resume_callback to skip the event lwp. Mark it as not
1196 stopped after actually resuming it.
1197 (linux_handle_syscall_trap): Mark the lwp as not stopped after
1198 resuming it.
1199 (wait_lwp): Mark the lwp as stopped here.
1200 (stop_wait_callback): Mark the lwp as not stopped right after
1201 resuming it. Don't mark lwps as stopped here.
1202 (linux_nat_filter_event): Mark the lwp as stopped earlier.
1203 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
1204
251bde03
PA
12052014-05-29 Pedro Alves <palves@redhat.com>
1206
1207 PR PR15693
1208 * infrun.c (resume): Determine how much to resume depending on
1209 whether the caller wanted a step, not whether we can hardware step
1210 the target. Mark all threads that we intend to run as running,
1211 unless we're calling an inferior function.
1212 (normal_stop): If the thread is running an infcall, don't finish
1213 thread state.
1214 * target.c (target_resume): Don't mark threads as running here.
1215
7f3c0343
JB
12162014-05-28 Joel Brobecker <brobecker@adacore.com>
1217
1218 * serial.c (_initialize_serial): Remove support for
1219 the "set remotebaud" and "show remotebaud" commands.
1220 * NEWS: Add entry documenting the removal of that command.
1221
ee34b3f9
YQ
12222014-05-28 Yao Qi <yao@codesourcery.com>
1223
1224 * charset.c: Fix typo in comments.
1225
add6c04d
GB
12262014-05-27 Gary Benson <gbenson@redhat.com>
1227
1228 * utils.c (internal_vproblem): Prompt for a bug report.
1229
92c48fc5
AW
12302014-05-26 Andy Wingo <wingo@igalia.com>
1231
1232 * guile/scm-arch.c (arscm_mark_arch_smob):
1233 * guile/scm-block.c (bkscm_mark_block_smob)
1234 (bkscm_mark_block_syms_progress_smob):
1235 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
1236 * guile/scm-exception.c (exscm_mark_exception_smob):
1237 * guile/scm-frame.c (frscm_mark_frame_smob):
1238 * guile/scm-iterator.c (itscm_mark_iterator_smob):
1239 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
1240 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
1241 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
1242 (ppscm_mark_pretty_printer_worker_smob):
1243 * guile/scm-symbol.c (syscm_mark_symbol_smob):
1244 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
1245 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
1246 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
1247 mark functions.
1248 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
1249 function.
1250
b2715b27
AW
12512014-05-26 Andy Wingo <wingo@igalia.com>
1252 Doug Evans <xdje42@gmail.com>
1253
1254 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
1255 empty_base_class. All uses updated.
1256 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
1257 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
1258 Adapt all callers.
1259 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
1260 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
1261 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
1262 (gdbscm_gsmob_has_property_p, add_property_name)
1263 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
1264 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
1265 (gdb-object-has-property?, gdb-object-properties): Remove.
1266 (gdb-object-kind): Renamed from gsmob-kind.
1267
214ab2da
AW
12682014-05-26 Andy Wingo <wingo@igalia.com>
1269
1270 * configure.ac (try_guile_versions): Allow building with guile 2.2.
1271 * configure: Regenerate.
1272
589fdceb
MM
12732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1274
1275 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
1276
67b5c0c1
MM
12772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1278
1279 * record-btrace.c (record_btrace_allow_memory_access): Remove.
1280 (replay_memory_access_read_only, replay_memory_access_read_write)
1281 (replay_memory_access_types, replay_memory_access)
1282 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
1283 (cmd_set_record_btrace, cmd_show_record_btrace)
1284 (cmd_show_replay_memory_access): New.
1285 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
1286 (record_btrace_remove_breakpoint): Replace
1287 record_btrace_allow_memory_access with replay_memory_access.
1288 (_initialize_record_btrace): Add commands.
1289 * NEWS: Announce it.
1290
036cd381
RR
12912014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1292
1293 * aarch64-linux-nat.c (asm/ptrace.h): Include.
1294
c77c1e42
RR
12952014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1296
1297 * MAINTAINERS (Write After Approval): Move self back from
1298 paper trail.
1299
45741a9c
PA
13002014-05-22 Pedro Alves <palves@redhat.com>
1301
1302 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
1303 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
1304 (disable_randomization, enum exec_direction_kind)
1305 (execution_direction, stop_registers, start_remote)
1306 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
1307 (wait_for_inferior, normal_stop, get_last_target_status)
1308 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
1309 (insert_step_resume_breakpoint_at_sal)
1310 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
1311 (set_step_info, print_stop_event, signal_stop_state)
1312 (signal_print_state, signal_pass_state, signal_stop_update)
1313 (signal_print_update, signal_pass_update)
1314 (update_signals_program_target, clear_exit_convenience_vars)
1315 (displaced_step_dump_bytes, update_observer_mode)
1316 (signal_catch_update, gdb_signal_from_command): Move
1317 declarations ...
1318 * infrun.h: ... to this new file.
1319 * amd64-tdep.c: Include infrun.h.
1320 * annotate.c: Include infrun.h.
1321 * arch-utils.c: Include infrun.h.
1322 * arm-linux-tdep.c: Include infrun.h.
1323 * arm-tdep.c: Include infrun.h.
1324 * break-catch-sig.c: Include infrun.h.
1325 * breakpoint.c: Include infrun.h.
1326 * common/agent.c: Include infrun.h instead of inferior.h.
1327 * corelow.c: Include infrun.h.
1328 * event-top.c: Include infrun.h.
1329 * go32-nat.c: Include infrun.h.
1330 * i386-tdep.c: Include infrun.h.
1331 * inf-loop.c: Include infrun.h.
1332 * infcall.c: Include infrun.h.
1333 * infcmd.c: Include infrun.h.
1334 * infrun.c: Include infrun.h.
1335 * linux-fork.c: Include infrun.h.
1336 * linux-nat.c: Include infrun.h.
1337 * linux-thread-db.c: Include infrun.h.
1338 * monitor.c: Include infrun.h.
1339 * nto-tdep.c: Include infrun.h.
1340 * procfs.c: Include infrun.h.
1341 * record-btrace.c: Include infrun.h.
1342 * record-full.c: Include infrun.h.
1343 * remote-m32r-sdi.c: Include infrun.h.
1344 * remote-mips.c: Include infrun.h.
1345 * remote-notif.c: Include infrun.h.
1346 * remote-sim.c: Include infrun.h.
1347 * remote.c: Include infrun.h.
1348 * reverse.c: Include infrun.h.
1349 * rs6000-tdep.c: Include infrun.h.
1350 * s390-linux-tdep.c: Include infrun.h.
1351 * solib-irix.c: Include infrun.h.
1352 * solib-osf.c: Include infrun.h.
1353 * solib-svr4.c: Include infrun.h.
1354 * target.c: Include infrun.h.
1355 * top.c: Include infrun.h.
1356 * windows-nat.c: Include infrun.h.
1357 * mi/mi-interp.c: Include infrun.h.
1358 * mi/mi-main.c: Include infrun.h.
1359 * python/py-threadevent.c: Include infrun.h.
1360
98eb56a4
PA
13612014-05-22 Pedro Alves <palves@redhat.com>
1362
1363 * infrun.c (handle_inferior_event): Store the exit code for
1364 --return-child-result here, instead of ...
1365 (print_exited_reason): ... here.
1366
17b2616c
PA
13672014-05-21 Pedro Alves <palves@redhat.com>
1368
1369 PR gdb/13860
1370 * gdbthread.h (struct thread_control_state): New field
1371 `command_interp'.
1372 * infrun.c (follow_fork): Copy the new thread control field to the
1373 child fork thread.
1374 (clear_proceed_status_thread): Clear the new thread control field.
1375 (proceed): Set the new thread control field.
1376 * interps.h (command_interp): Declare.
1377 * interps.c (command_interpreter): New global.
1378 (command_interp): New function.
1379 (interp_exec): Set `command_interpreter' while here.
1380 * cli-out.c (cli_uiout_dtor): New function.
1381 (cli_ui_out_impl): Install it.
1382 * mi/mi-interp.c: Include cli-out.h.
1383 (mi_cmd_interpreter_exec): Add comment.
1384 (restore_current_uiout_cleanup): New function.
1385 (ui_out_free_cleanup): New function.
1386 (mi_on_normal_stop): If finishing an execution command started by
1387 a CLI command, or any kind of breakpoint-like event triggered,
1388 print the stop event to the output (CLI) stream.
1389 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
1390
5166082f
PA
13912014-05-21 Pedro Alves <palves@redhat.com>
1392
1393 * cli/cli-cmds.c (list_command): Handle the first "list" after the
1394 current source line having changed.
1395 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
1396 * infrun.c (normal_stop): Adjust call to
1397 set_current_sal_from_frame.
1398 * source.c (clear_lines_listed_range): New function.
1399 (set_current_source_symtab_and_line, identify_source_line): Clear
1400 the lines listed range.
1401 (line_info): Handle the first "info line" after the current source
1402 line having changed.
1403 * stack.c (print_stack_frame): Remove center handling.
1404 (set_current_sal_from_frame): Remove 'center' parameter. Don't
1405 center sal.line.
1406
c1ee2fb3
PA
14072014-05-21 Pedro Alves <palves@redhat.com>
1408
1409 * inf-child.c (inf_child_mourn_inferior): New function.
1410 * inf-child.h (inf_child_mourn_inferior): New declaration.
1411 * darwin-nat.c (darwin_mourn_inferior): Use
1412 inf_child_mourn_inferior.
1413 * gnu-nat.c (gnu_mourn_inferior): Likewise.
1414 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
1415 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
1416 * nto-procfs.c (procfs_mourn_inferior): Likewise.
1417 * windows-nat.c (windows_mourn_inferior): Likewise.
1418
5c6d4fb2
DE
14192014-05-21 Doug Evans <xdje42@gmail.com>
1420
250748cb 1421 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 1422
4a2722c5
DE
14232014-05-21 Doug Evans <xdje42@gmail.com>
1424
17292b30 1425 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
1426 (gdbscm_out_of_range_error): Ditto.
1427 (gdbscm_memory_error): Ditto.
250748cb
DE
1428 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
1429 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
1430 (gdbscm_out_of_range_error): Update.
1431 (gdbscm_memory_error): Update.
1432 (gdbscm_scm_to_target_string_unsafe): Delete.
1433
6a3cb8e8
PA
14342014-05-21 Pedro Alves <palves@redhat.com>
1435
1436 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
1437 globals.
1438 (inf_child_open_target): New function.
1439 (inf_child_open): Use inf_child_open_target to push the target
1440 instead of erroring out.
1441 (inf_child_disconnect, inf_child_close)
1442 (inf_child_maybe_unpush_target): New functions.
1443 (inf_child_target): Install inf_child_disconnect and
1444 inf_child_close. Store a pointer to the returned object.
1445 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
1446 declarations.
1447 * target.c (auto_connect_native_target): New global.
1448 (show_default_run_target): New function.
1449 (find_default_run_target): Return NULL if automatically connecting
1450 to the native target is disabled.
1451 (_initialize_target): Install set/show auto-connect-native-target.
1452 * NEWS: Mention "set auto-connect-native-target", and "target
1453 native".
1454 * linux-nat.c (super_close): New global.
1455 (linux_nat_close): Call super_close.
1456 (linux_nat_add_target): Store a pointer to the base class's
1457 to_close method.
1458 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
1459 inf_child_maybe_unpush.
1460 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
1461 already pushed.
1462 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
1463 the inferior. Use inf_child_maybe_unpush_target.
1464 (inf_ttrace_attach): Don't push the target if it is already
1465 pushed.
1466 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
1467 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
1468 after mourning the inferior. Use inf_child_maybe_unpush_target.
1469 (darwin_attach_pid): Don't push the target if it is already
1470 pushed.
1471 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
1472 mourning the inferior. Use inf_child_maybe_unpush_target.
1473 (gnu_detach): Use inf_child_maybe_unpush_target.
1474 * go32-nat.c (go32_create_inferior): Don't push the target if it
1475 is already pushed.
1476 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
1477 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
1478 (procfs_open): Rename to ...
1479 (procfs_open_1): ... this. Add target_ops parameter. Adjust
1480 comments. Can target_preopen before changing node. Call
1481 inf_child_open_target to push the target explicitly.
1482 (procfs_attach): Don't push the target if it is already pushed.
1483 (procfs_detach): Use inf_child_maybe_unpush_target.
1484 (procfs_create_inferior): Don't push the target if it is already
1485 pushed.
1486 (nto_native_ops): New global.
1487 (procfs_open): Reimplement.
1488 (procfs_native_open): New function.
1489 (init_procfs_targets): Install procfs_native_open as to_open of
1490 "target native". Store a pointer to the "native" target in
1491 nto_native_ops.
1492 * procfs.c (procfs_attach): Don't push the target if it is already
1493 pushed.
1494 (procfs_detach): Use inf_child_maybe_unpush_target.
1495 (procfs_mourn_inferior): Only unpush the target after mourning the
1496 inferior. Use inf_child_maybe_unpush_target.
1497 (procfs_init_inferior): Don't push the target if it is already
1498 pushed.
1499 * windows-nat.c (do_initial_windows_stuff): Don't push the target
1500 if it is already pushed.
1501
930ee1b1
PA
15022014-05-21 Pedro Alves <palves@redhat.com>
1503
1504 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
1505 and "procfs" targets are now called "native" instead.
1506
1f5d1b13
PA
15072014-05-21 Pedro Alves <palves@redhat.com>
1508
1509 * go32-nat.c (go32_open): Delete.
1510 (go32_target): Don't override the to_open method.
1511
132f8e03
PA
15122014-05-21 Pedro Alves <palves@redhat.com>
1513
1514 * nto-procfs.c (procfs_can_run): New function.
1515 (nto_procfs_ops): New global.
1516 (init_procfs_targets): New, based on procfs_target. Install
1517 "target native" in addition to "target procfs".
1518 (_initialize_procfs): Call init_procfs_targets instead of adding
1519 the target here.
1520
03c136c3
PA
15212014-05-21 Pedro Alves <palves@redhat.com>
1522
1523 * windows-nat.c (windows_target): Don't override to_shortname,
1524 to_longname or to_doc.
1525
a635d0f3
PA
15262014-05-21 Pedro Alves <palves@redhat.com>
1527
1528 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
1529 to_doc.
1530
4f9b5133
PA
15312014-05-21 Pedro Alves <palves@redhat.com>
1532
1533 * darwin-nat.c (_initialize_darwin_inferior): Don't override
1534 to_shortname, to_longname or to_doc.
1535
bc85afde
PA
15362014-05-21 Pedro Alves <palves@redhat.com>
1537
1538 * go32-nat.c (go32_target): Don't override to_shortname,
1539 to_longname or to_doc.
1540
4ebfc96e
PA
15412014-05-21 Pedro Alves <palves@redhat.com>
1542
1543 * inf-child.c (inf_child_open): Remove mention of "child".
1544 (inf_child_target): Rename target to "native" instead of "child".
1545
2648dfed
AA
15462014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1547
1548 * Makefile.in (SFILES): Delete "regset.c".
1549 (COMMON_OBS): Delete "regset.o".
1550 * regset.c: Remove.
1551 * regset.h (regset_alloc): Delete prototype.
1552
b13feb94
AA
15532014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1554
1555 * sparc-linux-tdep.c (sparc32_linux_gregset)
1556 (sparc32_linux_fpregset): New static regset structures.
1557 (sparc32_linux_init_abi): Drop dynamic regset allocations.
1558 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
1559 'fpregset' fields.
1560 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
1561 (sparc64_linux_fpregset): New static regset structures.
1562 (sparc64_linux_init_abi): Drop dynamic regset allocations.
1563 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
1564 New static regset structures.
1565 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
1566 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
1567 New static regset structures.
1568 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
1569 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
1570 New static regset structures.
1571 (sparc64obsd_init_abi): Drop dynamic regset allocations.
1572 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
1573 New static regset structures.
1574 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
1575
b4fd25c9
AA
15762014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1577
1578 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
1579 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
1580 register maps ("regmaps") from "*regset" to "*regmap". Do this
1581 for all regmap types and variables.
1582 * sparc-linux-tdep.c (sparc32_linux_step_trap)
1583 (sparc32_linux_supply_core_gregset)
1584 (sparc32_linux_collect_core_gregset)
1585 (sparc32_linux_supply_core_fpregset)
1586 (sparc32_linux_collect_core_fpregset): Likewise.
1587 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
1588 (sparc_gregmap, sparc_fpregmap): ... these.
1589 (sparc_supply_gregset, sparc_collect_gregset)
1590 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
1591 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
1592 (_initialize_sparc_nat): Rename regmaps.
1593 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
1594 (sparc_gregmap, sparc_fpregmap): ... these.
1595 (sparc_supply_gregset, sparc_collect_gregset)
1596 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
1597 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
1598 Rename macros to...
1599 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
1600 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
1601 Likewise.
1602 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
1603 Rename to...
1604 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
1605 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
1606 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
1607 regmaps.
1608 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
1609 (sparc32_bsd_fpregset): Rename to...
1610 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
1611 (sparc32_bsd_fpregmap): ... these.
1612 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
1613 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
1614 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
1615 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
1616 (struct sparc_gregmap, struct sparc_fpregmap)
1617 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
1618 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
1619 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
1620 (sparc32_supply_regset, sparc32_collect_gregset)
1621 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
1622 prototypes.
1623 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
1624 (sparc64_linux_ptrace_gregmap): ... this.
1625 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
1626 (_initialize_sparc64_linux_nat): Rename regmaps.
1627 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
1628 (sparc64_linux_core_gregmap): ... this.
1629 (sparc64_linux_supply_core_gregset)
1630 (sparc64_linux_collect_core_gregset)
1631 (sparc64_linux_supply_core_fpregset)
1632 (sparc64_linux_collect_core_fpregset): Rename regmaps.
1633 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
1634 (sparc64_sol2_fpregset): Rename to...
1635 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
1636 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
1637 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
1638 regmaps.
1639 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
1640 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
1641 (sparc64_bsd_fpregset): Rename to...
1642 (struct sparc_gregmap, sparc64_sol2_gregmap)
1643 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
1644 (sparc64_bsd_fpregmap): ... these.
1645 (sparc64_supply_gregset, sparc64_collect_gregset)
1646 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
1647 prototypes.
1648 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
1649 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
1650 (sparc64fbsd_gregmap): ... this.
1651 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
1652 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
1653 Rename regmaps.
1654 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
1655 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
1656 (sparc64nbsd_collect_fpregset): Likewise.
1657 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
1658 (sparc64nbsd_gregmap): ... this.
1659 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
1660 regmaps.
1661 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
1662 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
1663 (sparc64obsd_gregmap): ... this.
1664 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
1665 regmaps.
1666 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
1667 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
1668 (sparc32nbsd_gregmap): ... this.
1669 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
1670 regmaps.
1671
8fea3224
AA
16722014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1673
1674 * score-tdep.c (score7_linux_gregset): New static regset
1675 structure.
1676 (score7_linux_regset_from_core_section): Remove dynamic regset
1677 allocation.
1678 (score_gdbarch_init): Drop allocation of tdep structure.
1679 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
1680
24534243
AA
16812014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682
1683 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
1684 regset structures.
1685 (am33_regset_from_core_section): Remove dynamic regset
1686 allocations.
1687
b7195f27
AA
16882014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1689
1690 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
1691 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
1692 structures.
1693 (mips_linux_regset_from_core_section): Remove dynamic regset
1694 allocations.
1695 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
1696 'gregset64', 'fpregset', and 'fpregset64'.
1697 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
1698 deleted tdep fields.
1699
ecc37a5a
AA
17002014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1701
1702 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
1703 regset structures.
1704 (amd64_regset_from_core_section): Remove dynamic regset
1705 allocations.
1706 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
1707 structure.
1708 (amd64obsd_regset_from_core_section): Remove dynamic regset
1709 allocation.
1710 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1711 Likewise.
1712 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
1713 x86-common regset supply function.
1714 * i386-tdep.c (i386_collect_gregset): Make static.
1715 (i386_gregset): New global regset structure.
1716 (i386_fpregset, i386_xstateregset): New static regset structures.
1717 (i386_regset_from_core_section): Remove dynamic regset
1718 allocations.
1719 (i386_gdbarch_init): Remove initialization of tdep fields
1720 'gregset', 'fpregset', and 'xstateregset'.
1721 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
1722 'fpregset', and 'xstateregset'.
1723 (i386_collect_gregset): Remove prototype.
1724 (i386_gregset): New declaration.
1725 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
1726 structure.
1727 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
1728 allocation.
1729
b7611c43
AA
17302014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1731
1732 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
1733 (arm_linux_vfpregset): New static regset structures.
1734 (arm_linux_regset_from_core_section): Remove dynamic allocation of
1735 regset structures.
1736 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
1737 and 'vfpregset' fields.
1738
a069a2bd
AA
17392014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1740
1741 * aarch64-linux-tdep.c (aarch64_linux_gregset)
1742 (aarch64_linux_fpregset): New static regset structures.
1743 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
1744 of regset structures.
1745 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
1746 'fpregset' fields.
1747
09424cff
AA
17482014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1749
1750 * regset.h (struct regset): Remove gdbarch field.
1751 * regset.c (regset_alloc): Drop initialization of gdbarch field.
1752 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
1753 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
1754 Likewise.
1755 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
1756 (ppc32_linux_fpregset, ppc32_linux_vrregset)
1757 (ppc32_linux_vsxregset): Likewise.
1758 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
1759 via the regcache instead of the regset.
1760 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
1761 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
1762 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
1763 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
1764 Likewise.
1765
3ca7dae4
AA
17662014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1767
1768 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
1769 Constify structures.
1770 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
1771 (alphanbsd_aout_gregset): Likewise.
1772 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
1773 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
1774 Likewise.
1775 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
1776 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
1777 Likewise.
1778 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
1779 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
1780 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
1781 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
1782 * m88k-tdep.c (m88k_gregset): Likewise.
1783 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
1784 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
1785 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
1786 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
1787 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
1788 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
1789 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
1790 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
1791 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
1792 Likewise.
1793 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
1794 * sh-tdep.h (sh_corefile_gregset): Likewise.
1795 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
1796 * vax-tdep.c (vax_gregset): Likewise.
1797
5876f503
JK
17982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1799
1800 Fix TLS access for -static -pthread.
1801 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
1802 (try_thread_db_load_1): Initialize it.
1803 (thread_db_get_thread_local_address): Call it if LM is zero.
1804 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
1805 * target.h (struct target_ops) (to_get_thread_local_address): Add
1806 load_module_addr comment.
1807
0256a6ac
PA
18082014-05-21 Pedro Alves <palves@redhat.com>
1809
1810 * dcache.c (dcache_read_memory_partial): If reading the cache line
1811 fails, fallback to reading just the memory the caller wanted.
1812
227533ac
DE
18132014-05-20 Doug Evans <dje@google.com>
1814
1815 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
1816 instead of get_current_arch.
1817
936d2992
PA
18182014-05-20 Pedro Alves <palves@redhat.com>
1819
1820 * NEWS: Mention that compare-sections now works with all targets.
1821
1822 * remote.c (PACKET_qCRC): New enum value.
1823 (remote_verify_memory): Don't send qCRC if the target has no
1824 execution. Use packet_support/packet_ok. If the target doesn't
1825 support the qCRC packet, fallback to a deep memory copy.
1826 (compare_sections_command): Say "target image" instead of "remote
1827 executable".
1828 (_initialize_remote): Add PACKET_qCRC to the list of config
1829 packets that have no associated command. Extend comment.
1830 * target.c (simple_verify_memory, default_verify_memory): New
1831 function.
1832 * target.h (struct target_ops) <to_verify_memory>: Default to
1833 default_verify_memory.
1834 (simple_verify_memory): New declaration.
1835 * target-delegates.c: Regenerate.
1836
e59fa00f
MM
18372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1838
1839 * record-btrace.c (record_btrace_step_thread): Check for empty history.
1840
f2205de0
HZ
18412014-05-20 Hui Zhu <hui@codesourcery.com>
1842 Yao Qi <yao@codesourcery.com>
1843
1844 PR backtrace/16558
1845 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
1846 and change address of sp and pc.
1847
c4e54771
TT
18482014-05-19 Tom Tromey <tromey@redhat.com>
1849
1850 * gdbtypes.c (rank_function): Use XNEWVEC.
1851 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
1852
73051182
DE
18532014-05-19 Doug Evans <dje@google.com>
1854
1855 * dwarf2read.c (build_type_psymtabs_1): Renamed from
1856 build_type_unit_groups and moved closer to only caller. Remove
1857 arguments. All references updated. Remove outdated .gdb_index
1858 comment.
1859 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
1860 build_type_psymtabs_1.
1861
8832e7e3
DE
18622014-05-19 Doug Evans <dje@google.com>
1863
1864 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
1865 n_type_unit_groups, all_type_unit_groups. All uses removed.
1866 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
1867 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
1868 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
1869 (add_type_unit_group_to_table): Delete.
1870
cd8ae15e
DE
18712014-05-19 Doug Evans <dje@google.com>
1872
1873 * eval.c (evaluate_subexp_standard): Add some comments.
1874
08f4850b
DE
18752014-05-17 Doug Evans <xdje42@gmail.com>
1876
1877 * progspace.c (remove_program_space): Delete, unused.
1878 * progspace.h (remove_program_space): Ditto.
1879
bed8455c
DE
18802014-05-17 Doug Evans <xdje42@gmail.com>
1881
1882 * inferior.c (prune_inferiors): Fix comment.
1883 (remove_inferior_command): Call prune_program_spaces.
1884
8d551b02
DE
18852014-05-16 Doug Evans <dje@google.com>
1886
1887 New command line option -D.
1888 * NEWS: Mention it.
1889 * main.c (set_gdb_data_directory): New function.
1890 (captured_main): Recognize -D. Flag error for --data-directory "".
1891 Call set_gdb_data_directory.
1892 (print_gdb_help): Print --data-directory, -D.
1893 * main.h (set_gdb_data_directory): Declare.
1894 * top.c (staged_gdb_datadir): New static global.
1895 (set_gdb_datadir): Call set_gdb_data_directory
1896 (show_gdb_datadir): New function.
1897 (init_main): Update init of data-directory parameter.
1898
18848e28
GF
18992014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
1900
1901 Import the "dirfd" gnulib module.
1902 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
1903 * gnulib/aclocal.m4: Update.
1904 * gnulib/config.in: Update.
1905 * gnulib/configure: Update.
1906 * gnulib/import/Makefile.am: Update.
1907 * gnulib/import/Makefile.in: Update.
1908 * gnulib/import/dirfd.c: New.
1909 * gnulib/import/m4/dirfd.m4: New.
1910 * gnulib/import/m4/gnulib-cache.m4: Update.
1911 * gnulib/import/m4/gnulib-comp.m4: Update.
1912
95c64f92
YQ
19132014-05-16 Pierre Muller <muller@sourceware.org>
1914 Yao Qi <yao@codesourcery.com>
1915
1916 * valprint.c (print_wchar): Move the code on checking whether
1917 W is a printable wide char to the default branch of switch
1918 statement below. Call wchar_printable instead of gdb_iswprint.
1919
cac395ea
TM
19202014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
1921
19679eca 1922 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
1923 ldr.w and ldrd instructions.
1924
83655187
DE
19252014-05-15 Doug Evans <dje@google.com>
1926
1927 * dwarf2read.c (read_structure_type): Delete outdated comments.
1928
dd756689
TT
19292014-05-14 Tom Tromey <tromey@redhat.com>
1930
1931 * macrocmd.c (print_macro_definition): Reindent.
1932
75ddda77
DE
19332014-05-13 Doug Evans <xdje42@gmail.com>
1934
1935 * python/py-cmd.c (cmdpy_completer): Add comment.
1936 (completers): Make const.
1937
b0f16a3e
SM
19382014-05-13 Simon Marchi <simon.marchi@ericsson.com>
1939
1940 * infrun.c (resume): Remove should_resume (unused). Move up
1941 declaration of resume_ptid.
1942
033c3379
TT
19432014-05-13 Tom Tromey <tromey@redhat.com>
1944
1945 * language.h (unop_type_check): Remove.
1946 (binop_type_check): Don't declare.
1947
9b44a3a5
AA
19482014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
1949
1950 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
1951 call to regcache_raw_collect.
1952
303a33fa
SM
19532014-05-12 Simon Marchi <simon.marchi@ericsson.com>
1954
1955 * mi/mi-console.c (mi_console_raw_packet): Use the value from
1956 mi_console->quote as the quoting character.
1957
196100a0
SM
19582014-05-12 Simon Marchi <simon.marchi@ericsson.com>
1959
1960 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
1961
f989a1c8
TT
19622014-04-29 Tom Tromey <tromey@redhat.com>
1963
1964 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
1965 "show debug varobj".
1966
9404b58f
KM
19672014-05-07 Kyle McMartin <kyle@redhat.com>
1968
1969 Pushed by Joel Brobecker <brobecker@adacore.com>.
1970 * aarch64-tdep.c (aarch64_software_single_step): New function.
1971 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
1972 with aarch64_software_single_step.
1973
5e49ba57
JB
19742014-05-05 Joel Brobecker <brobecker@adacore.com>
1975
1976 GDB 7.7.1 released.
1977
c888a17d
KS
19782014-05-05 Keith Seitz <keiths@redhat.com>
1979
1980 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
1981 variable or history value is successfully parsed.
1982
290a839c
YQ
19832014-05-05 Yao Qi <yao@codesourcery.com>
1984 Pedro Alves <palves@redhat.com>
1985
1986 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
1987 address of blocks that intersects the requested range. Trim
1988 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
1989 sections.
1990 * ctf.c (ctf_xfer_partial): Likewise.
1991
91256dc2
YQ
19922014-05-05 Yao Qi <yao@codesourcery.com>
1993
1994 * printcmd.c (display_command): Remove the check to
1995 target_has_execution.
1996
07284463
MK
19972014-05-03 Mark Kettenis <kettenis@gnu.org>
1998
1999 * ppcobsd-nat.c: Include "obsd-nat.h".
2000 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
2001 add_target.
2002 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
2003
30a1e6cc
SDJ
20042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2005
2006 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
2007 and 16-bit signed and unsigned arguments. Update comment.
2008 (stap_parse_probe_arguments): Extend code to handle such
2009 arguments. Use warning instead of complaint to notify about
2010 unrecognized bitness.
2011
f33da99a
SDJ
20122014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2013
2014 PR breakpoints/16889
2015 * stap-probe.c (stap_parse_probe_arguments): Simplify
2016 check for non-prefixed probes (i.e., probes whose
2017 arguments do not start with "N@"). Always set the
2018 argument type to a sane value.
2019
95cf3b38
DT
20202014-05-01 David Taylor <dtaylor@emc.com>
2021
2022 * remote.c (compare_sections_command): Add -r option to compare
2023 all loadable read-only sections.
2024
1cfdf534
SC
20252014-04-30 Siva Chandra Reddy <sivachandra@google.com>
2026
2027 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
2028 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
2029 Update all callers.
2030 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
2031 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
2032 Remove unused CORE_ADDR argument. Update all callers.
2033
ca4f7f8b
PA
20342014-04-29 Pedro Alves <palves@redhat.com>
2035
2036 * remote.c (struct packet_config) <detect>: Extend comment.
2037 (add_packet_config_cmd): Don't set the config's detect or support
2038 fields here.
2039 (init_all_packet_configs): Also initialize the config's 'detect'
2040 field.
2041 (reset_all_packet_configs_support): New function.
2042 (remote_open_1): Call reset_all_packet_configs_support instead of
2043 init_all_packet_configs.
2044 (_initialize_remote): Initialize all packet configs. Assert that
2045 all packets have an associated command, except a few known
2046 outliers.
2047
11c1ba78
JB
20482014-04-28 Joel Brobecker <brobecker@adacore.com>
2049
2050 * dwarf2read.c (read_subrange_type): Handle dynamic
2051 DW_AT_lower_bound attributes.
2052
8739bc53
JB
20532014-04-28 Joel Brobecker <brobecker@adacore.com>
2054
2055 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
2056 dynamic bounds before computing its upper bound.
2057 (ada_discrete_type_low_bound): Same as above with the lower bound.
2058
6f8a3220
JB
20592014-04-28 Joel Brobecker <brobecker@adacore.com>
2060
2061 * dwarf2read.c (is_dynamic_type): Return true for dynamic
2062 range types. Adjust the array handling implementation to
2063 take advantage of this change.
2064 (resolve_dynamic_range): New function, mostly extracted from
2065 resolve_dynamic_bounds.
2066 (resolve_dynamic_array): New function, mostly extracted from
2067 resolve_dynamic_bounds.
2068 (resolve_dynamic_bounds): Delete.
2069 (resolve_dynamic_type): Reimplement. Add handling of
2070 TYPE_CODE_RANGE types.
2071
4d072ce4
JB
20722014-04-28 Joel Brobecker <brobecker@adacore.com>
2073
2074 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
2075 handling of parallel ___XA types.
2076
52865325
JB
20772014-04-28 Joel Brobecker <brobecker@adacore.com>
2078
2079 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
2080 unnecessary second call to static_unwrap_type.
2081
433e77fa
HZ
20822014-04-27 Hui Zhu <hui@codesourcery.com>
2083
2084 * stack.c (print_frame_info): Call do_gdb_disassembly with
2085 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
2086
b51a69ee
DE
20872014-04-26 Doug Evans <xdje42@gmail.com>
2088
2089 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
2090
7ae1a6a6
PA
20912014-04-25 Pedro Alves <palves@redhat.com>
2092
2093 PR server/16255
2094 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
2095 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
2096 and newline from built string.
2097 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
2098 (linux_ptrace_attach_fail_reason): ... this.
2099 * linux-nat.c (linux_nat_attach): Adjust to use
2100 linux_ptrace_attach_fail_reason.
2101
4082afcc
PA
21022014-04-25 Pedro Alves <palves@redhat.com>
2103
2104 * remote.c (struct remote_state): Remove multi_process_aware,
2105 non_stop_aware, cond_tracepoints, cond_breakpoints,
2106 breakpoint_commands, fast_tracepoints, static_tracepoints,
2107 install_in_trace, disconnected_tracing,
2108 enable_disable_tracepoints, string_tracing, and
2109 augmented_libraries_svr4_read fields.
2110 (remote_multi_process_p): Move further below in the file.
2111 (struct packet_config): Add comments.
2112 (update_packet_config): Delete function.
2113 (show_packet_config_cmd): Use packet_config_support.
2114 (add_packet_config_cmd): Use NULL as set callback.
2115 (packet_ok): "set remote foo-packet"-style commands no longer
2116 change config->supported -- adjust.
2117 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
2118 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
2119 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
2120 (PACKET_QNonStop, PACKET_multiprocess_feature)
2121 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
2122 (PACKET_DisconnectedTracing_feature)
2123 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
2124 (set_remote_protocol_packet_cmd): Delete function.
2125 (packet_config_support, packet_support): New functions.
2126 (set_remote_protocol_Z_packet_cmd): Don't call
2127 update_packet_config.
2128 (remote_query_attached, remote_pass_signals)
2129 (remote_program_signals, remote_threads_info)
2130 (remote_threads_extra_info, remote_start_remote): Use
2131 packet_support.
2132 (remote_start_remote): Use packet_config_support and
2133 packet_support.
2134 (init_all_packet_configs): Set all packets to unknown support,
2135 instead of calling update_packet_config.
2136 (remote_check_symbols): Use packet_support.
2137 (remote_supported_packet): Unconditionally set the packet config's
2138 support status.
2139 (remote_multi_process_feature, remote_non_stop_feature)
2140 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
2141 (remote_breakpoint_commands_feature)
2142 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
2143 (remote_install_in_trace_feature)
2144 (remote_disconnected_tracing_feature)
2145 (remote_enable_disable_tracepoint_feature)
2146 (remote_string_tracing_feature)
2147 (remote_augmented_libraries_svr4_read_feature): Delete functions.
2148 (remote_protocol_features): Adjust to use remote_supported_packet
2149 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
2150 "ConditionalTracepoints", "ConditionalBreakpoints",
2151 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
2152 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
2153 "EnableDisableTracepoints", and "tracenz".
2154 (remote_query_supported): Use packet_support.
2155 (remote_open_1): Adjust.
2156 (extended_remote_attach_1): Use packet_support. Switch on the
2157 result of packet_ok instead of checking whether the packet ended
2158 up disabled.
2159 (remote_vcont_resume): Use packet_support.
2160 (remote_resume, remote_stop_ns, fetch_register_using_p)
2161 (remote_prepare_to_store, store_register_using_P)
2162 (check_binary_download, remote_write_bytes): Use packet_support.
2163 (remote_vkill): Use packet_support. Switch on the result of
2164 packet_ok instead of checking whether the packet ended up
2165 disabled.
2166 (extended_remote_supports_disable_randomization): Use
2167 packet_support.
2168 (extended_remote_run): Switch on the result of packet_ok instead
2169 of checking whether the packet ended up disabled.
2170 (remote_insert_breakpoint, remote_remove_breakpoint)
2171 (remote_insert_watchpoint, remote_remove_watchpoint)
2172 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
2173 packet_support.
2174 (remote_search_memory): Use packet_config_support.
2175 (remote_get_thread_local_address, remote_get_tib_address)
2176 (remote_hostio_send_command, remote_can_execute_reverse): Use
2177 packet_support.
2178 (remote_supports_cond_tracepoints)
2179 (remote_supports_cond_breakpoints)
2180 (remote_supports_fast_tracepoints)
2181 (remote_supports_static_tracepoints)
2182 (remote_supports_install_in_trace)
2183 (remote_supports_enable_disable_tracepoint)
2184 (remote_supports_string_tracing)
2185 (remote_can_run_breakpoint_commands): Rewrite, checking whether
2186 the packet config says the feature is enabled or disabled.
2187 (remote_download_tracepoint, remote_trace_set_readonly_regions)
2188 (remote_get_trace_status): Use packet_support.
2189 (remote_set_disconnected_tracing): Adjust to check whether the
2190 feature is enabled with packet_support.
2191 (remote_set_trace_buffer_size, remote_use_agent)
2192 (remote_can_use_agent, remote_supports_btrace): Use
2193 packet_support.
2194 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
2195 Use packet_config_support.
2196 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
2197 the packet config says the feature is enabled or disabled.
2198 (set_range_stepping): Use packet_support.
2199
bdb52a22
TT
22002014-04-25 Tom Tromey <tromey@redhat.com>
2201
2202 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
2203 argument.
2204
e9475ead
SA
22052014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
2206
2207 * NEWS: Mention support for C99 variable length arrays.
2208
82eacd52
JB
22092014-04-24 Joel Brobecker <brobecker@adacore.com>
2210
2211 * ada-lang.c (standard_exc): Expand introductory comment.
2212
01f9f808
MS
22132014-04-24 Michael Sturm <michael.sturm@mintel.com>
2214 Walfred Tedeschi <walfred.tedeschi@intel.com>
2215
2216 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
2217 AVX512 registers.
2218 (amd64_linux_read_description): Add code to handle AVX512 xstate
2219 mask and return respective tdesc.
2220 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
2221 and features/i386/x32-avx512-linux.c.
2222 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
2223 (amd64_linux_core_read_description): Add code to handle AVX512
2224 xstate mask and return respective tdesc.
2225 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
2226 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
2227 calculation.
2228 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
2229 (tdesc_amd64_avx512_linux): New prototype.
2230 (tdesc_x32_avx512_linux): Likewise.
2231 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
2232 features/i386/x32-avx512.c.
2233 (amd64_ymm_avx512_names): New register names for pseudo
2234 registers YMM16-31.
2235 (amd64_ymmh_avx512_names): New register names for raw registers
2236 YMMH16-31.
2237 (amd64_k_names): New register names for K registers.
2238 (amd64_zmmh_names): New register names for ZMM raw registers.
2239 (amd64_zmm_names): New registers names for ZMM pseudo registers.
2240 (amd64_xmm_avx512_names): New register names for XMM16-31
2241 registers.
2242 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
2243 registers.
2244 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
2245 if feature is present.
2246 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
2247 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
2248 (AMD64_NUM_REGS): Adjust to new number of registers.
2249 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
2250 registers supplied via XSTATE by AVX512 registers.
2251 (i386_linux_read_description): Add case for AVX512.
2252 * i386-linux-tdep.c: Include i386-avx512-linux.c.
2253 (i386_linux_gregset_reg_offset): Add AVX512 registers.
2254 (i386_linux_core_read_description): Add case for AVX512.
2255 (i386_linux_init_abi): Install supported register note section
2256 for AVX512.
2257 (_initialize_i386_linux_tdep): Add call to tdesc init function for
2258 AVX512.
2259 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
2260 registers to be number of zmm7h + 1.
2261 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
2262 * i386-tdep.c: Include features/i386/i386-avx512.c.
2263 (i386_zmm_names): Add ZMM pseudo register names array.
2264 (i386_zmmh_names): Add ZMM raw register names array.
2265 (i386_k_names): Add K raw register names array.
2266 (num_lower_zmm_regs): Add constant for the number of lower ZMM
2267 registers. AVX512 has 16 more ZMM registers than there are YMM
2268 registers.
2269 (i386_zmmh_regnum_p): Add function to look up register number of
2270 ZMM raw registers.
2271 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
2272 (i386_k_regnum_p): Likewise for K raw registers.
2273 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
2274 registers added by AVX512.
2275 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
2276 registers added by AVX512.
2277 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
2278 added by AVX512.
2279 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
2280 (i386_pseudo_register_name): Add ZMM pseudo registers.
2281 (i386_zmm_type): Construct and return vector registers type for ZMM
2282 registers.
2283 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
2284 ZMM0-31 pseudo registers and K registers.
2285 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
2286 and YMM16-31 registers from register cache.
2287 (i386_pseudo_register_write): Add code to write K, ZMM and
2288 YMM16-31 registers.
2289 (i386_register_reggroup_p): Add code to include/exclude AVX512
2290 registers in/from respective register groups.
2291 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
2292 registers if feature is present in xcr0.
2293 (i386_gdbarch_init): Add code to initialize AVX512 feature
2294 variables in tdep structure, wire in pseudo registers and call
2295 initialize_tdesc_i386_avx512.
2296 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
2297 variables.
2298 (i386_regnum): Add AVX512 registers.
2299 (I386_SSE_NUM_REGS): New define for number of SSE registers.
2300 (I386_AVX_NUM_REGS): Likewise for AVX registers.
2301 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
2302 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
2303 512 bits wide.
2304 (i386_xmm_avx512_regnum_p): New prototype for register look up.
2305 (i386_ymm_avx512_regnum_p): Likewise.
2306 (i386_k_regnum_p): Likewise.
2307 (i386_zmm_regnum_p): Likewise.
2308 (i386_zmmh_regnum_p): Likewise.
2309 * i387-tdep.c : Update year in copyright notice.
2310 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
2311 XSAVE buffer.
2312 (XSAVE_YMM_AVX512_ADDR): New macro.
2313 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
2314 XSAVE buffer.
2315 (XSAVE_XMM_AVX512_ADDR): New macro.
2316 (xsave_avx512_k_offset): New table for K register offsets in
2317 XSAVE buffer.
2318 (XSAVE_AVX512_K_ADDR): New macro.
2319 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
2320 in XSAVE buffer.
2321 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
2322 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
2323 buffer.
2324 (i387_collect_xsave): Add code to collect AVX512 registers from
2325 XSAVE buffer.
2326 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
2327 of XMM16-31 registers.
2328 (I387_NUM_K_REGS): New define for number of K registers.
2329 (I387_K0_REGNUM): New define for K0 register number.
2330 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
2331 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
2332 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
2333 registers.
2334 (I387_YMM16H_REGNUM): New define for YMM16H register number.
2335 (I387_XMM16_REGNUM): New define for XMM16 register number.
2336 (I387_YMM0_REGNUM): New define for YMM0 register number.
2337 (I387_KEND_REGNUM): New define for last K register number.
2338 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
2339 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
2340 number.
2341 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
2342 number.
2343 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
2344 size.
2345 * features/Makefile: Add AVX512 related files.
2346 * features/i386/32bit-avx512.xml: New file.
2347 * features/i386/64bit-avx512.xml: Likewise.
2348 * features/i386/amd64-avx512-linux.c: Likewise.
2349 * features/i386/amd64-avx512-linux.xml: Likewise.
2350 * features/i386/amd64-avx512.c: Likewise.
2351 * features/i386/amd64-avx512.xml: Likewise.
2352 * features/i386/i386-avx512-linux.c: Likewise.
2353 * features/i386/i386-avx512-linux.xml: Likewise.
2354 * features/i386/i386-avx512.c: Likewise.
2355 * features/i386/i386-avx512.xml: Likewise.
2356 * features/i386/x32-avx512-linux.c: Likewise.
2357 * features/i386/x32-avx512-linux.xml: Likewise.
2358 * features/i386/x32-avx512.c: Likewise.
2359 * features/i386/x32-avx512.xml: Likewise.
2360 * regformats/i386/amd64-avx512-linux.dat: New file.
2361 * regformats/i386/amd64-avx512.dat: Likewise.
2362 * regformats/i386/i386-avx512-linux.dat: Likewise.
2363 * regformats/i386/i386-avx512.dat: Likewise.
2364 * regformats/i386/x32-avx512-linux.dat: Likewise.
2365 * regformats/i386/x32-avx512.dat: Likewise.
2366 * NEWS: Add note about new support for AVX512.
2367
2368
08351840
PA
23692014-04-23 Pedro Alves <palves@redhat.com>
2370
2371 * breakpoint.c (insert_bp_location): Tolerate errors if the
2372 breakpoint is set in a user-loaded objfile.
2373 (remove_breakpoint_1): Likewise. Also tolerate errors if the
2374 location is marked shlib_disabled. If the breakpoint is set in a
2375 user-loaded objfile is a GDB-side memory breakpoint, validate it
2376 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
2377 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
2378 flag.
2379 * mem-break.c (memory_validate_breakpoint): New function.
2380 * objfiles.c (userloaded_objfile_contains_address_p): New
2381 function.
2382 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
2383 * target.h (memory_validate_breakpoint): New declaration.
2384
076855f9
PA
23852014-04-23 Pedro Alves <palves@redhat.com>
2386
2387 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
2388 the breakpoint is set in a shared library, only suppress
2389 errors for software breakpoints, not hardware breakpoints.
2390
483805cf
PA
23912014-04-22 Pedro Alves <palves@redhat.com>
2392
2393 * infrun.c (schedlock_applies): New function, factored out from
2394 find_thread_needs_step_over.
2395 (find_thread_needs_step_over): Use it.
2396 (switch_back_to_stepped_thread): Always clear trap_expected if the
2397 step over is finished. Return early if scheduler locking applies.
2398 Look for the stepping thread and a potential step-over thread with
2399 a single loop.
2400 (currently_stepping_or_nexting_callback): Delete.
2401
a75fef0e
NC
24022014-04-22 Nick Clifton <nickc@redhat.com>
2403
2404 * NEWS: Mention that ARM sim now supports tracing.
2405
48b6e87e
YQ
24062014-04-22 Yao Qi <yao@codesourcery.com>
2407
2408 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
2409 to ...
2410 * tracefile.c (tracefile_fetch_registers): ... it. New
2411 function.
2412 * tracefile.h (tracefile_fetch_registers): Declare.
2413 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
2414 tracefile_fetch_registers.
2415
17617f2d
EZ
24162014-04-19 Eli Zaretskii <eliz@gnu.org>
2417
2418 PR gdb/14018
2419 * windows-nat.c (thread_rec): Don't display a warning when
2420 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
2421 fails for any reason, set th->suspended to -1, so that we don't
2422 try to resume such a thread. Also, don't return NULL in these
2423 cases, to avoid completely ruin the session due to "PC register is
2424 not available" error.
2425 (do_windows_fetch_inferior_registers): Check errors in
2426 GetThreadContext call.
2427 (windows_continue): Accept an additional argument KILLED; if not
2428 zero, ignore errors in the SetThreadContext call, since the
2429 inferior was killed and is shutting down.
2430 (windows_resume, get_windows_debug_event)
2431 (windows_create_inferior, windows_mourn_inferior)
2432 (windows_kill_inferior): All callers of windows_continue changed
2433 to adjust to its new calling sequence.
2434
5723a6fd
YQ
24352014-04-19 Yao Qi <yao@codesourcery.com>
2436
2437 * ctf.c (ctf_open): Call post_create_inferior.
2438
614d5099
YQ
24392014-04-19 Yao Qi <yao@codesourcery.com>
2440
2441 * ctf.c (handle_id): New static variable.
2442 (ctf_open_dir): Get handle_id from bt_context_add_trace return
2443 value. Get the declaration of event "register" and get length
2444 of field "contents".
2445
dac3e710
YQ
24462014-04-19 Yao Qi <yao@codesourcery.com>
2447
2448 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
2449
2bca57ba
SC
24502014-04-18 Siva Chandra Reddy <sivachandra@google.com>
2451
2452 * valops.c (oload_method_static): Remove unnecessary argument
2453 METHOD. Update all callers.
2454
51d48146
PA
24552014-04-18 Pedro alves <palves@redhat.com>
2456 Tom Tromey <tromey@redhat.com>
2457
2458 PR backtrace/15558
2459 * frame.c (get_prev_frame_1): Rename to ...
2460 (get_prev_frame_always): ... this, and make extern. Adjust.
2461 (skip_artificial_frames): Use get_prev_frame_always.
2462 (frame_unwind_caller_id, frame_pop, get_prev_frame)
2463 (get_frame_unwind_stop_reason): Adjust to rename.
2464 * frame.h (get_prev_frame_always): Declare.
2465 * inline-frame.c: Include frame.h.
2466 (inline_frame_this_id): Use get_prev_frame_always.
2467
1bdad2e0
TG
24682014-04-18 Tristan Gingold <gingold@adacore.com>
2469
2470 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
2471 code by using bfd_mach_o_get_base_address.
2472
7ce16bd4
UW
24732014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
2474
2475 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
2476 (spu_ax_pseudo_register_collect): New function.
2477 (spu_ax_pseudo_register_push_stack): Likewise.
2478 (spu_dwarf_reg_to_regnum): Likewise.
2479 (spu_gdbarch_init): Install them. Append DWARF unwinders.
2480
2ed3c037
UW
24812014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
2482
2483 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
2484 Replace FRAME argument with FRAME_ID.
2485 * gdbarch.c, gdbarch.h: Regenerate.
2486 * findvar.c (default_value_from_register): Add GDBARCH argument;
2487 replace FRAME by FRAME_ID. No longer call get_frame_id.
2488 (value_from_register): Update call to gdbarch_value_from_register.
2489 * value.h (default_value_from_register): Update prototype.
2490 * s390-linux-tdep.c (s390_value_from_register): Update interface
2491 and call to default_value_from_register.
2492 * spu-tdep.c (spu_value_from_register): Likewise.
2493
2494 * findvar.c (address_from_register): Remove TYPE argument.
2495 Do not call value_from_register; use gdbarch_value_from_register
2496 with null_frame_id instead.
2497 * value.h (address_from_register): Update prototype.
2498 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
2499 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
2500 address_from_register interface change.
2501
71e50e83
YQ
25022014-04-17 Yao Qi <yao@codesourcery.com>
2503
2504 * gdbtypes.h: Update comments to link to types and macros'
2505 definitions.
2506
7a23c549
SC
25072014-04-16 Siva Chandra Reddy <sivachandra@google.com>
2508
2509 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
2510
22869d73
KS
25112014-04-16 Keith Seitz <keiths@redhat.com>
2512
2513 PR gdb/15827
2514 * dwarf2read.c (skip_one_die): Check that all relative-offset
2515 sibling DIEs fall within range of the current reader's buffer.
2516 (read_partial_die): Likewise.
2517
c4f87ca6
KS
25182014-04-16 Keith Seitz <keiths@redhat.com>
2519
2520 PR c++/16597
2521 * cp-namespace.c (lookup_symbol_file): If the type name of
2522 `this' is NULL, return immediately.
2523
b50c8614
KS
25242014-04-14 Keith Seitz <keiths@redhat.com>
2525
2526 PR c++/16253
2527 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
2528 from symbol_matches_domain in symtab.c. All local callers
2529 of symbol_matches_domain updated.
2530 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
2531 search STRUCT_DOMAIN.
2532 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
2533 independently. standard_lookup will do that automatically.
2534 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
2535 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2536 (cp_lookup_symbol_in_namespace): Likewise.
2537 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
2538 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
2539 may return a STRUCT_DOMAIN match.
2540 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
2541 * cp-support.c: Include language.h.
2542 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
2543 VAR_DOMAIN.
2544 * psymtab.c (match_partial_symbol): Compare the requested
2545 domain with the symbol's domain directly.
2546 (lookup_partial_symbol): Likewise.
2547 * symtab.c (lookup_symbol_in_language): Explain when/why
2548 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2549 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2550 appropriate languages.
2551 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
2552 and moved to ada-lang.c
2553 (lookup_block_symbol): Explain that this function only returns
2554 symbol matching the requested DOMAIN.
2555 Compare the requested domain with the symbol's domain directly.
2556 (iterate_over_symbols): Compare the requested domain with the
2557 symbol's domain directly.
2558 * symtab.h (symbol_matches_domain): Remove.
2559
3d567982
TT
25602014-04-14 Tom Tromey <tromey@redhat.com>
2561
2562 PR c++/15246:
2563 * c-exp.y (type_aggregate_p): New function.
2564 (qualified_name, classify_inner_name): Use it.
2565 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
2566 and TYPE_TARGET_TYPE of an enum type.
2567 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
2568 an enum type.
2569 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
2570 handle TYPE_DECLARED_CLASS.
2571 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
2572 types.
2573 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
2574 * valops.c (enum_constant_from_type): New function.
2575 (value_aggregate_elt): Use it.
2576 * cp-namespace.c (cp_lookup_nested_symbol): Handle
2577 TYPE_CODE_ENUM.
2578
c848d642
TT
25792014-04-14 Tom Tromey <tromey@redhat.com>
2580
2581 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
2582 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
2583 const.
2584 * value.h (value_aggregate_elt): Update.
2585
0626fc76
TT
25862014-04-14 Tom Tromey <tromey@redhat.com>
2587
2588 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
2589
5ecaaa66
SA
25902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2591
2592 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2593 (evaluate_subexp_standard): Pass noside argument.
2594 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2595 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2596 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2597 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2598 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2599
1612e0c0
SA
26002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2601
2602 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2603 points to a constant blob.
2604
c451ebe5
SA
26052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2606
2607 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2608 property and store it as the high bound and flag the range accordingly.
2609 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2610 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2611 * gdbtypes.h (enum range_flags): New enum.
2612 (struct range_bounds): Add flags member.
2613
1d42e4c4
SA
26142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2615
2616 * c-typeprint.c (c_type_print_varspec_suffix): Added
2617 check for not yet resolved high bound. If unresolved, print
2618 "variable length" string to the console instead of random
2619 length.
2620
9f1f738a
SA
26212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2622
2623 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
2624 value.
2625 (ada_template_to_fixed_record_type_1): Likewise.
2626 (ada_to_fixed_type_1): Likewise.
2627 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2628 (cp_print_value): Likewise.
2629 * d-valprint.c (dynamic_array_type): Likewise.
2630 * findvar.c (address_of_variable): Likewise.
2631 * jv-valprint.c (java_value_print): Likewise.
2632 * valops.c (value_ind): Likewise.
2633 * value.c (coerce_ref): Likewise.
2634
3c8452d4
SA
26352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2636
2637 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2638 value and retrieve the dynamic type size.
2639
4ad88275
SA
26402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2641
2642 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2643 passed to sizeof is dynamic evaluate the argument to compute the length.
2644
80180f79
SA
26452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2646 Joel Brobecker <brobecker@adacore.com>
2647
2648 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2649 (dwarf2_evaluate_property): New function.
2650 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2651 * dwarf2read.c (attr_to_dynamic_prop): New function.
2652 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2653 attribute.
2654 * gdbtypes.c: Include dwarf2loc.h.
2655 (is_dynamic_type): New function.
2656 (resolve_dynamic_type): New function.
2657 (resolve_dynamic_bounds): New function.
2658 (get_type_length): New function.
2659 (check_typedef): Use get_type_length to compute type length.
2660 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2661 (TYPE_LOW_BOUND_KIND): New macro.
2662 (is_dynamic_type): New function prototype.
2663 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2664 to resolve dynamic properties of the type. Update comment.
2665 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2666
a1556843
RH
26672014-04-14 Richard Henderson <rth@redhat.com>
2668
2669 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
2670
0be03e84
DE
26712014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2672 Doug Evans <xdje42@gmail.com>
2673
2674 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
2675 dereference TYPE_CODE_REF values.
2676
6b662e19
JB
26772014-04-11 Joel Brobecker <brobecker@adacore.com>
2678
2679 Revert the following changes due to regressions:
2680
2681 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2682 (dwarf2_evaluate_property): New function.
2683 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2684 * dwarf2read.c (attr_to_dynamic_prop): New function.
2685 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2686 attribute.
2687 * gdbtypes.c: Include dwarf2loc.h.
2688 (is_dynamic_type): New function.
2689 (resolve_dynamic_type): New function.
2690 (resolve_dynamic_bounds): New function.
2691 (get_type_length): New function.
2692 (check_typedef): Use get_type_length to compute type length.
2693 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2694 (TYPE_LOW_BOUND_KIND): New macro.
2695 (is_dynamic_type): New function prototype.
2696 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2697 to resolve dynamic properties of the type. Update comment.
2698 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2699
2700 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2701 passed to sizeof is dynamic evaluate the argument to compute the length.
2702
2703 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2704 value and retrieve the dynamic type size.
2705
2706 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
2707 (ada_template_to_fixed_record_type_1): Likewise.
2708 (ada_to_fixed_type_1): Likewise.
2709 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2710 (cp_print_value): Likewise.
2711 * d-valprint.c (dynamic_array_type): Likewise.
2712 * eval.c (evaluate_subexp_with_coercion): Likewise.
2713 * findvar.c (address_of_variable): Likewise.
2714 * jv-valprint.c (java_value_print): Likewise.
2715 * valops.c (value_ind): Likewise.
2716 * value.c (coerce_ref): Likewise.
2717
2718 * c-typeprint.c (c_type_print_varspec_suffix): Added
2719 check for not yet resolved high bound. If unresolved, print
2720 "variable length" string to the console instead of random
2721 length.
2722
2723 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2724 property and store it as the high bound and flag the range accordingly.
2725 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2726 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2727 * gdbtypes.h (enum range_flags): New enum.
2728 (struct range_bounds): Add flags member.
2729
2730 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2731 points to a constant blob.
2732
2733 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2734 (evaluate_subexp_standard): Pass noside argument.
2735 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2736 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2737 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2738 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2739 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2740
245a5f0b
KS
27412014-04-11 Keith Seitz <keiths@redhat.com>
2742
2743 PR c++/16675
2744 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
2745 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
2746 reference types.
2747
3bce8237
SA
27482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2749
2750 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2751 (evaluate_subexp_standard): Pass noside argument.
2752 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2753 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2754 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2755 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2756 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2757
92b09522
SA
27582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2759
2760 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2761 points to a constant blob.
2762
e1969afb
SA
27632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2764
2765 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2766 property and store it as the high bound and flag the range accordingly.
2767 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2768 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2769 * gdbtypes.h (enum range_flags): New enum.
2770 (struct range_bounds): Add flags member.
2771
b86138fb
SA
27722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2773
2774 * c-typeprint.c (c_type_print_varspec_suffix): Added
2775 check for not yet resolved high bound. If unresolved, print
2776 "variable length" string to the console instead of random
2777 length.
2778
bcd629a4
SA
27792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2780
2781 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
2782 (ada_template_to_fixed_record_type_1): Likewise.
2783 (ada_to_fixed_type_1): Likewise.
2784 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2785 (cp_print_value): Likewise.
2786 * d-valprint.c (dynamic_array_type): Likewise.
2787 * eval.c (evaluate_subexp_with_coercion): Likewise.
2788 * findvar.c (address_of_variable): Likewise.
2789 * jv-valprint.c (java_value_print): Likewise.
2790 * valops.c (value_ind): Likewise.
2791 * value.c (coerce_ref): Likewise.
2792
04b19544
SA
27932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2794
2795 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2796 value and retrieve the dynamic type size.
2797
26cb189f
SA
27982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2799
2800 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2801 passed to sizeof is dynamic evaluate the argument to compute the length.
2802
37c1ab67
SA
28032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2804
2805 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2806 (dwarf2_evaluate_property): New function.
2807 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2808 * dwarf2read.c (attr_to_dynamic_prop): New function.
2809 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2810 attribute.
2811 * gdbtypes.c: Include dwarf2loc.h.
2812 (is_dynamic_type): New function.
2813 (resolve_dynamic_type): New function.
2814 (resolve_dynamic_bounds): New function.
2815 (get_type_length): New function.
2816 (check_typedef): Use get_type_length to compute type length.
2817 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2818 (TYPE_LOW_BOUND_KIND): New macro.
2819 (is_dynamic_type): New function prototype.
2820 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2821 to resolve dynamic properties of the type. Update comment.
2822 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2823
729efb13
SA
28242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2825
2826 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
2827 declaring high/low bounds and change uses accordingly. Call
2828 create_range_type instead of create_static_range_type.
2829 * gdbtypes.c (create_range_type): New function.
2830 (create_range_type): Convert bounds into struct bound_prop and pass
2831 them to create_range_type.
2832 * gdbtypes.h (struct bound_prop): New struct.
2833 (create_range_type): New function prototype.
2834 (struct range_bounds): Use struct bound_prop instead of LONGEST for
2835 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
2836 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
2837 part of the bound.
2838 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
2839
0c9c3474
SA
28402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2841
2842 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
2843 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
2844 * ada-lang.c: All uses of create_range_type updated.
2845 * coffread.c: All uses of create_range_type updated.
2846 * dwarf2read.c: All uses of create_range_type updated.
2847 * f-exp.y: All uses of create_range_type updated.
2848 * m2-valprint.c: All uses of create_range_type updated.
2849 * mdebugread.c: All uses of create_range_type updated.
2850 * stabsread.c: All uses of create_range_type updated.
2851 * valops.c: All uses of create_range_type updated.
2852 * valprint.c: All uses of create_range_type updated.
2853
9d497a19
PA
28542014-04-10 Pedro Alves <palves@redhat.com>
2855
2856 * breakpoint.c (single_step_breakpoints)
2857 (single_step_gdbarch): Move up in the file.
2858 (one_breakpoint_xfer_memory): New function, factored out from ...
2859 (breakpoint_xfer_memory): ... here. Also process single-step
2860 breakpoints.
2861
15a9128a
TG
28622014-04-09 Tristan Gingold <gingold@adacore.com>
2863
2864 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
2865 comments.
2866 (darwin_decode_exception_message): Free port only after use.
2867
9c97a070
PL
28682014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
2869
2870 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
2871 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
2872 when setting the size of call_length.
2873
7af389b8
SC
28742014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2875
2876 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
2877 dereference TYPE_CODE_REF values.
2878
86ad98c3
JB
28792014-04-07 Joel Brobecker <brobecker@adacore.com>
2880
2881 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
2882 end of warning message.
2883
b0aeadb3
DE
28842014-04-03 Doug Evans <dje@google.com>
2885
2886 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
2887 of stub_comp_unit_die, stub_comp_dir is non-NULL.
2888
5979d6b6
AM
28892014-04-02 Alan Modra <amodra@gmail.com>
2890
2891 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
2892 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
2893 (struct symbol_file_add_from_memory_args): Add size field.
2894 (find_vdso_size): New function.
2895 (add_vsyscall_page): Attempt to find vdso size.
2896
0d60c288
DE
28972014-04-01 Doug Evans <dje@google.com>
2898
2899 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
2900
a41f2563
TG
29012014-04-01 Tristan Gingold <gingold@adacore.com>
2902
2903 * darwin-nat.c (darwin_encode_reply): Add prototype.
2904 (darwin_decode_exception_message): Reply to unknown inferiors.
2905 (darwin_decode_message): Handle message by id. Ignore message
2906 to unknown inferior.
2907 (darwin_wait): Discard unknown messages, add debug trace.
2908
11a865c8
DE
29092014-03-31 Doug Evans <dje@google.com>
2910
2911 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
2912 comp_dir_string.
2913
770e7fc7
DE
29142014-03-31 Doug Evans <dje@google.com>
2915
2916 New option "set print symbol-loading".
2917 * NEWS: Mention it.
2918 * solib.c (solib_read_symbols): Only print symbol loading messages
2919 if requested.
2920 (solib_add): If symbol loading is in "brief" mode, notify user
2921 symbols are being loaded.
2922 (reload_shared_libraries_1): Ditto.
2923 * symfile.c (print_symbol_loading_off): New static global.
2924 (print_symbol_loading_brief): New static global.
2925 (print_symbol_loading_full): New static global.
2926 (print_symbol_loading_enums): New static global.
2927 (print_symbol_loading): New static global.
2928 (print_symbol_loading_p): New function.
2929 (symbol_file_add_with_addrs): Only print symbol loading messages
2930 if requested.
2931 (_initialize_symfile): Register "print symbol-loading" set/show
2932 command.
2933 * symfile.h (print_symbol_loading_p): Declare.
2934
c32c64b7
DE
29352014-03-30 Doug Evans <xdje42@gmail.com>
2936
2937 * infrun.c (set_last_target_status): New function.
2938 (handle_inferior_event): Call it.
2939
7c0bc051
DE
29402014-03-30 Doug Evans <xdje42@gmail.com>
2941
2942 * inferior.h (enum stop_kind): Improve comment.
2943
8776cfe9
JB
29442014-03-28 Joel Brobecker <brobecker@adacore.com>
2945
2946 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
2947 a reference, strip the reference layer before calling
2948 the lang_ops value_has_mutated callback.
2949
410a0ff2
SDJ
29502014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
2951
2952 Remove some globals from our parser.
2953 * language.c (unk_lang_parser): Add "struct parser_state"
2954 argument.
2955 * language.h (struct language_defn) <la_parser>: Likewise.
2956 * parse.c (expout, expout_size, expout_ptr): Remove variables.
2957 (initialize_expout): Add "struct parser_state" argument.
2958 Rewrite function to use the parser state.
2959 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
2960 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
2961 write_exp_elt_longcst, write_exp_elt_dblcst,
2962 write_exp_elt_decfloatcst, write_exp_elt_type,
2963 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
2964 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
2965 write_dollar_variable): Likewise.
2966 (parse_exp_in_context_1): Use parser state.
2967 (insert_type_address_space): Add "struct parser_state" argument.
2968 Use parser state.
2969 (increase_expout_size): New function.
2970 * parser-defs.h: Forward declare "struct language_defn" and
2971 "struct parser_state".
2972 (expout, expout_size, expout_ptr): Remove extern declarations.
2973 (parse_gdbarch, parse_language): Rewrite macro declarations to
2974 accept the parser state.
2975 (struct parser_state): New struct.
2976 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
2977 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
2978 write_exp_elt_decfloatcst, write_exp_elt_type,
2979 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
2980 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
2981 write_exp_msymbol, write_dollar_variable,
2982 mark_struct_expression, insert_type_address_space): Add "struct
2983 parser_state" argument.
2984 (increase_expout_size): New function.
2985 * utils.c (do_clear_parser_state): New function.
2986 (make_cleanup_clear_parser_state): Likewise.
2987 * utils.h (make_cleanup_clear_parser_state): New function
2988 prototype.
2989 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
2990 Update calls to write_exp* in order to pass the parser state.
2991 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
2992 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
2993 (i386_stap_parse_special_token_three_arg_disp): Likewise.
2994 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
2995 * stap-probe.c (stap_parse_register_operand): Likewise.
2996 (stap_parse_single_operand): Likewise.
2997 (stap_parse_argument_1): Likewise.
2998 (stap_parse_argument): Use parser state.
2999 * stap-probe.h: Include "parser-defs.h".
3000 (struct stap_parse_info) <pstate>: New field.
3001 * c-exp.y (parse_type): Rewrite to use parser state.
3002 (yyparse): Redefine to c_parse_internal.
3003 (pstate): New global variable.
3004 (parse_number): Add "struct parser_state" argument.
3005 (write_destructor_name): Likewise.
3006 (type_exp): Update calls to write_exp* and similars in order to
3007 use parser state.
3008 (exp1, exp, variable, qualified_name, space_identifier,
3009 typename, typebase): Likewise.
3010 (write_destructor_name, parse_number, lex_one_token,
3011 classify_name, classify_inner_name, c_parse): Add "struct
3012 parser_state" argument. Update function to use parser state.
3013 * c-lang.h: Forward declare "struct parser_state".
3014 (c_parse): Add "struct parser_state" argument.
3015 * ada-exp.y (parse_type): Rewrite macro to use parser state.
3016 (yyparse): Redefine macro to ada_parse_internal.
3017 (pstate): New variable.
3018 (write_int, write_object_renaming, write_var_or_type,
3019 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
3020 type_int, type_long, type_long_long, type_float, type_double,
3021 type_long_double, type_char, type_boolean, type_system_address):
3022 Add "struct parser_state" argument.
3023 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
3024 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
3025 var_or_type, aggregate, aggregate_component_list,
3026 positional_list, others, component_group,
3027 component_associations): Update calls to write_exp* and similar
3028 functions in order to use parser state.
3029 (ada_parse, write_var_from_sym, write_int,
3030 write_exp_op_with_string, write_object_renaming,
3031 find_primitive_type, write_selectors, write_ambiguous_var,
3032 write_var_or_type, write_name_assoc, type_int, type_long,
3033 type_long_long, type_float, type_double, type_long_double,
3034 type_char, type_boolean, type_system_address): Add "struct
3035 parser_state" argument. Adjust function to use parser state.
3036 * ada-lang.c (parse): Likewise.
3037 * ada-lang.h: Forward declare "struct parser_state".
3038 (ada_parse): Add "struct parser_state" argument.
3039 * ada-lex.l (processInt, processReal): Likewise. Adjust all
3040 calls to both functions.
3041 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
3042 parser state.
3043 (yyparse): Redefine macro to f_parse_internal.
3044 (pstate): New variable.
3045 (parse_number): Add "struct parser_state" argument.
3046 (type_exp, exp, subrange, typebase): Update calls to write_exp*
3047 and similars in order to use parser state.
3048 (parse_number): Adjust code to use parser state.
3049 (yylex): Likewise.
3050 (f_parse): New function.
3051 * f-lang.h: Forward declare "struct parser_state".
3052 (f_parse): Add "struct parser_state" argument.
3053 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
3054 parser state.
3055 (yyparse): Redefine macro for java_parse_internal.
3056 (pstate): New variable.
3057 (push_expression_name, push_expression_name, insert_exp): Add
3058 "struct parser_state" argument.
3059 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
3060 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
3061 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
3062 PostIncrementExpression, PostDecrementExpression,
3063 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
3064 UnaryExpressionNotPlusMinus, CastExpression,
3065 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
3066 RelationalExpression, EqualityExpression, AndExpression,
3067 ExclusiveOrExpression, InclusiveOrExpression,
3068 ConditionalAndExpression, ConditionalOrExpression,
3069 ConditionalExpression, Assignment, LeftHandSide): Update
3070 calls to write_exp* and similars in order to use parser state.
3071 (parse_number): Ajust code to use parser state.
3072 (yylex): Likewise.
3073 (java_parse): New function.
3074 (push_variable): Add "struct parser_state" argument. Adjust
3075 code to user parser state.
3076 (push_fieldnames, push_qualified_expression_name,
3077 push_expression_name, insert_exp): Likewise.
3078 * jv-lang.h: Forward declare "struct parser_state".
3079 (java_parse): Add "struct parser_state" argument.
3080 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
3081 parser state.
3082 (yyparse): Redefine macro to m2_parse_internal.
3083 (pstate): New variable.
3084 (type_exp, exp, fblock, variable, type): Update calls to
3085 write_exp* and similars to use parser state.
3086 (yylex): Likewise.
3087 (m2_parse): New function.
3088 * m2-lang.h: Forward declare "struct parser_state".
3089 (m2_parse): Add "struct parser_state" argument.
3090 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
3091 * objc-lang.h: Forward declare "struct parser_state".
3092 (end_msglist): Add "struct parser_state" argument.
3093 * p-exp.y (parse_type): Rewrite macro to use parser state.
3094 (yyparse): Redefine macro to pascal_parse_internal.
3095 (pstate): New variable.
3096 (parse_number): Add "struct parser_state" argument.
3097 (type_exp, exp1, exp, qualified_name, variable): Update calls to
3098 write_exp* and similars in order to use parser state.
3099 (parse_number, yylex): Adjust code to use parser state.
3100 (pascal_parse): New function.
3101 * p-lang.h: Forward declare "struct parser_state".
3102 (pascal_parse): Add "struct parser_state" argument.
3103 * go-exp.y (parse_type): Rewrite macro to use parser state.
3104 (yyparse): Redefine macro to go_parse_internal.
3105 (pstate): New variable.
3106 (parse_number): Add "struct parser_state" argument.
3107 (type_exp, exp1, exp, variable, type): Update calls to
3108 write_exp* and similars in order to use parser state.
3109 (parse_number, lex_one_token, classify_name, yylex): Adjust code
3110 to use parser state.
3111 (go_parse): Likewise.
3112 * go-lang.h: Forward declare "struct parser_state".
3113 (go_parse): Add "struct parser_state" argument.
3114
342587c4
DE
31152014-03-27 Doug Evans <dje@google.com>
3116
3117 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
3118
33e80786
DE
31192014-03-27 Doug Evans <dje@google.com>
3120
3121 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
3122 Remove argument abbrev_section. All callers updated.
3123
1dbab08b
DE
31242014-03-27 Doug Evans <dje@google.com>
3125
3126 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
3127 addr_base, ranges_base.
3128
318d3177
KS
31292014-03-26 Keith Seitz <keiths@redhat.com>
3130
3131 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
3132 types, not VAR_DOMAIN.
3133
1e54db15
SL
31342014-03-25 Sandra Loosemore <sandra@codesourcery.com>
3135
3136 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
3137 "ra" registers.
3138 * features/nios2-linux.c: Regenerated.
3139 * features/nios2.c: Regenerated.
3140
d3839ede
PA
31412014-03-25 Pedro Alves <palves@redhat.com>
3142
3143 * cli/cli-script.c (script_from_file): Force the interpreter to
3144 sync mode.
3145
7588d2ec
PL
31462014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
3147
3148 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
3149 small stack allocation.
3150
a6290449
TG
31512014-03-24 Tristan Gingold <gingold@adacore.com>
3152
3153 * darwin-nat.c (exc_server): Remove unused prototype.
3154 (darwin_dump_message): Correctly display data on x86_64.
3155 (darwin_encode_reply): Fix style.
3156 Add comments and fix indentation.
3157
31ae9d24 31582014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
3159
3160 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
3161
6339bfc4
DE
31622014-03-22 Doug Evans <xdje42@gmail.com>
3163
3164 * infcmd.c: Whitespace fixes.
3165 (interrupt_command): Merge two function comments into one.
3166
0a07590b
DE
31672014-03-22 Doug Evans <xdje42@gmail.com>
3168
3169 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
3170 All uses updated.
3171
b55fbac4
YQ
31722014-03-22 Yao Qi <yao@codesourcery.com>
3173
3174 * remote.c (target_read_live_memory): Remove.
3175 (memory_xfer_live_readonly_partial): Rename it to
3176 remote_xfer_live_readonly_partial. Remove argument 'object'.
3177 All callers updated. Call remote_read_bytes_1
3178 instead of target_read_live_memory.
3179 * tracepoint.c (set_traceframe_number): Remove.
3180 (make_cleanup_restore_traceframe_number): Likewise .
3181 * tracepoint.h (set_traceframe_number): Remove declaration.
3182 (make_cleanup_restore_traceframe_number): Likewise.
3183
9217e74e
YQ
31842014-03-22 Yao Qi <yao@codesourcery.com>
3185
3186 * remote.c (remote_read_bytes): Move code on reading from the
3187 remote stub to ...
3188 (remote_read_bytes_1): ... here. New function.
3189
8acf9577
YQ
31902014-03-22 Yao Qi <yao@codesourcery.com>
3191
3192 * ctf.c (ctf_xfer_partial): Check the return value of
3193 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
3194 return TARGET_XFER_UNAVAILABLE.
3195 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
3196 * target.c (target_read_live_memory): Move it to remote.c.
3197 (memory_xfer_live_readonly_partial): Likewise.
3198 (memory_xfer_partial_1): Move some code to remote_read_bytes.
3199 * remote.c (target_read_live_memory): Moved from target.c.
3200 (memory_xfer_live_readonly_partial): Likewise.
3201 (remote_read_bytes): Factored out from
3202 memory_xfer_partial_1.
3203
feef67ab
DE
32042014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
3205
3206 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
3207 NULL pointer.
3208
b65dc60b
PA
32092014-03-21 Pedro Alves <palves@redhat.com>
3210
3211 * infrun.c (normal_stop): Extend comment.
3212
b4ab256d
HZ
32132014-03-21 Hui Zhu <hui@codesourcery.com>
3214 Pedro Alves <palves@redhat.com>
3215
3216 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
3217 static buffer.
3218 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
3219 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
3220 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
3221
deba7593
MR
32222014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
3223
3224 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
3225 `z' formatted output modifier.
3226
1bff71c3
SDJ
32272014-03-20 Tom Tromey <tromey@redhat.com>
3228 Sergio Durigan Junior <sergiodj@redhat.com>
3229
3230 * probe.c (parse_probes): Turn assert into an ordinary error.
3231 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
3232 exceptions when parsing probes. Rearrange the code for clarity.
3233
90e28950
TT
32342014-03-20 Tom Tromey <tromey@redhat.com>
3235
3236 PR gdb/14135
3237 * top.c (execute_command): Only dispatch events if the command
3238 started the target.
3239
beb460e8
PA
32402014-03-20 Tom Tromey <tromey@redhat.com>
3241
3242 PR cli/15718
3243 * infcall.c: Include event-top.h.
3244 (run_inferior_call): Call async_disable_stdin if needed.
3245
99619bea
PA
32462014-03-20 Pedro Alves <palves@redhat.com>
3247
3248 * infrun.c (prepare_to_proceed): Delete.
3249 (thread_still_needs_step_over): New function.
3250 (find_thread_needs_step_over): New function.
3251 (proceed): If the current thread needs a step-over, set its
3252 steping_over_breakpoint flag. Adjust to use
3253 find_thread_needs_step_over instead of prepare_to_proceed.
3254 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
3255 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
3256 breakpoint.
3257 (switch_back_to_stepped_thread): Step over breakpoints of all
3258 threads not the stepping thread, before switching back to the
3259 stepping thread.
3260
2adfaa28
PA
32612014-03-20 Pedro Alves <palves@redhat.com>
3262
3263 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
3264 extern.
3265 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
3266 * infrun.c (saved_singlestep_ptid)
3267 (stepping_past_singlestep_breakpoint): Delete.
3268 (resume): Remove stepping_past_singlestep_breakpoint handling.
3269 (proceed): Store the prev_pc of the stepping thread too.
3270 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
3271 singlestep_pc.
3272 (enum infwait_states): Delete infwait_thread_hop_state.
3273 (struct execution_control_state) <hit_singlestep_breakpoint>: New
3274 field.
3275 (handle_inferior_event): Adjust.
3276 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
3277 handling and the thread-hop code. Before removing single-step
3278 breakpoints, check whether the thread hit a single-step breakpoint
3279 of another thread. If it did, the trap is not a random signal.
3280 (switch_back_to_stepped_thread): If the event thread hit a
3281 single-step breakpoint, unblock it before switching to the
3282 stepping thread. Handle the case of the stepped thread having
3283 advanced already.
3284 (keep_going): Handle the case of the current thread moving past a
3285 single-step breakpoint.
3286
31e77af2
PA
32872014-03-20 Pedro Alves <palves@redhat.com>
3288
3289 PR breakpoints/7143
3290 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
3291 are being stepped over.
3292 (breakpoint_address_match): Make extern.
3293 * breakpoint.h (breakpoint_address_match): New declaration.
3294 * inferior.h (stepping_past_instruction_at): New declaration.
3295 * infrun.c (struct step_over_info): New type.
3296 (step_over_info): New global.
3297 (set_step_over_info, clear_step_over_info)
3298 (stepping_past_instruction_at): New functions.
3299 (handle_inferior_event): Clear the step-over info when
3300 trap_expected is cleared.
3301 (resume): Remove now stale comment.
3302 (clear_proceed_status): Clear step-over info.
3303 (proceed): Adjust step-over handling to set or clear the step-over
3304 info instead of removing all breakpoints.
3305 (handle_signal_stop): When setting up a thread-hop, don't remove
3306 breakpoints here.
3307 (stop_stepping): Clear step-over info.
3308 (keep_going): Adjust step-over handling to set or clear step-over
3309 info and then always inserting breakpoints, instead of removing
3310 all breakpoints when stepping over one.
3311
b9f437de
PA
33122014-03-20 Pedro Alves <palves@redhat.com>
3313
3314 * infrun.c (previous_inferior_ptid): Adjust comment.
3315 (deferred_step_ptid): Delete.
3316 (infrun_thread_ptid_changed, prepare_to_proceed)
3317 (init_wait_for_inferior): Adjust.
3318 (handle_signal_stop): Delete deferred_step_ptid handling.
3319
06c868a8
JK
33202014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 PR gdb/15358
3323 * defs.h (sync_quit_force_run): New declaration.
3324 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
3325 * event-top.c (async_sigterm_handler): New declaration.
3326 (async_sigterm_token): New variable.
3327 (async_init_signals): Create also async_sigterm_token.
3328 (async_sigterm_handler): New function.
3329 (sync_quit_force_run): New variable.
3330 (handle_sigterm): Replace quit_force call by other calls.
3331 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
3332
dea80df0
MR
33332014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
3334
3335 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
3336 offset into SPE pseudo registers.
3337
0c7e1a46
PA
33382014-03-18 Pedro Alves <palves@redhat.com>
3339
3340 PR gdb/13860
3341 * inferior.h (print_stop_event): Declare.
3342 * infrun.c (print_stop_event): New, factored out from ...
3343 (normal_stop): ... this.
3344 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
3345 of bpstat_print/print_stack_frame.
3346
9c1fcd01
TT
33472014-03-17 Tom Tromey <tromey@redhat.com>
3348
3349 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
3350
11aa919a
PMR
33512014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
3352
3353 * ada-lang.c (decode_constrained_packed_array): Perform a
3354 minimal coercion for reference with coerce_ref instead of
3355 ada_coerce_ref.
3356
d4ccb5e0
TG
33572014-03-17 Tristan Gingold <gingold@adacore.com>
3358
3359 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
3360 (darwin_solib_create_inferior_hook): Emit a warning if version
3361 is unhandled.
3362
49840f2a
UW
33632014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
3364
3365 * python/py-value.c (get_field_flag): Cast flag_name argument to
3366 PyObject_GetAttrString to support Python 2.4.
3367
ed4123e5
JK
33682014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3369
3370 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
3371 (Global Maintainers): Remove Jan Kratochvil.
3372
d6b64346
PA
33732014-03-14 Pedro Alves <palves@redhat.com>
3374
3375 * inferior.h (terminal_ours_for_output): Rename to ...
3376 (child_terminal_ours_for_output): ... this.
3377 (terminal_save_ours): Rename to ...
3378 (child_terminal_save_ours): ... this.
3379 (terminal_ours): Rename to ...
3380 (child_terminal_ours): ... this.
3381 (terminal_inferior): Rename to ...
3382 (child_terminal_inferior): ... this.
3383 (terminal_init_inferior): Rename to ...
3384 (child_terminal_init_inferior): ... this.
3385 (terminal_init_inferior_with_pgrp): Rename to ...
3386 (child_terminal_init_inferior_with_pgrp): ... this.
3387 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
3388 (child_terminal_init_with_pgrp): ... this.
3389 (terminal_save_ours): Rename to ...
3390 (child_terminal_save_ours): ... this.
3391 (terminal_init_inferior): Rename to ...
3392 (child_terminal_init): ... this. Adjust.
3393 (terminal_inferior): Rename to ...
3394 (child_terminal_inferior): ... this.
3395 (terminal_ours_for_output): Rename to ...
3396 (child_terminal_ours_for_output): ... this. Adjust.
3397 (terminal_ours): Rename to ...
3398 (child_terminal_ours): ... this.
3399 (terminal_ours_1): Rename to ...
3400 (child_terminal_ours_1): ... this. Adjust.
3401 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
3402 * windows-nat.c (do_initial_windows_stuff): Adjust.
3403 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
3404 (gnu_terminal_init): ... this. Adjust.
3405 (gnu_target): Adjust.
3406 * inf-child.c (inf_child_target): Adjust.
3407
5a1e8c7a
DE
34082014-03-13 Doug Evans <xdje42@gmail.com>
3409
3410 PR guile/16612
3411 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
3412 new eq?-hashtab.
3413
350e1a76
DE
34142014-03-13 Doug Evans <xdje42@gmail.com>
3415
3416 * value.c (record_latest_value): Call release_value_or_incref
3417 instead of release_value.
3418
a69900ae
PA
34192014-03-13 Pedro Alves <palves@redhat.com>
3420
3421 * procfs.c (procfs_target): Don't override to_shortname,
3422 to_longname or to_doc.
3423
5db9f0bd
PA
34242014-03-13 Pedro Alves <palves@redhat.com>
3425
3426 * inf-child.c (inf_child_open, inf_child_target): Don't mention
3427 Unix in user visible strings.
3428
5e3a2c38
SS
34292014-03-12 Stan Shebs <stan@codesourcery.com>
3430
3431 * gdbtypes.h: Annotate comments for Doxygen, add a page
3432 block comment with some general info.
3433
8bc2fe48
PA
34342014-03-12 Pedro Alves <palves@redhat.com>
3435
3436 * infcmd.c (prepare_execution_command): New function, factored out
3437 from several execution commands.
3438 (run_command_1, continue_command, step_1, jump_command)
3439 (signal_command, until_command, advance_command, finish_command)
3440 (attach_command): Use prepare_execution_command.
3441
638c5f49
OJ
34422014-03-12 Omair Javaid <omair.javaid@linaro.org>
3443
3444 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
3445 (MAX_BPTS): Define.
3446 (MAX_WPTS): Define.
3447 (struct arm_linux_thread_points): Removed.
3448 (struct arm_linux_process_info): New.
3449 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
3450 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
3451 (arm_linux_find_breakpoints_by_tid): Removed.
3452 (struct arch_lwp_info): New.
3453 (arm_linux_find_process_pid): New functions.
3454 (arm_linux_add_process): New functions.
3455 (arm_linux_process_info_get): New functions.
3456 (arm_linux_forget_process): New function.
3457 (arm_linux_get_debug_reg_state): New function.
3458 (struct update_registers_data): New.
3459 (update_registers_callback): New function.
3460 (arm_linux_insert_hw_breakpoint1): Updated.
3461 (arm_linux_remove_hw_breakpoint1): Updated.
3462 (arm_linux_insert_hw_breakpoint): Updated.
3463 (arm_linux_remove_hw_breakpoint): Updated.
3464 (arm_linux_insert_watchpoint): Updated.
3465 (arm_linux_remove_watchpoint): Updated.
3466 (arm_linux_new_thread): Updated.
3467 (arm_linux_prepare_to_resume): New function.
3468 (arm_linux_new_fork): New function.
3469 (_initialize_arm_linux_nat): Updated.
3470
6d03af93
PA
34712014-03-12 Pedro Alves <palves@redhat.com>
3472
3473 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
3474
b3ccfe11
TT
34752014-03-12 Tom Tromey <tromey@redhat.com>
3476
3477 * inf-child.c (return_zero): New function.
3478 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
3479 * aix-thread.c (aix_thread_inferior_created): New function.
3480 (aix_thread_attach): Remove.
3481 (init_aix_thread_ops): Don't set to_attach.
3482 (_initialize_aix_thread): Register inferior_created observer.
3483 * corelow.c (init_core_ops): Don't set to_attach or
3484 to_create_inferior.
3485 * exec.c (init_exec_ops): Don't set to_attach or
3486 to_create_inferior.
3487 * infcmd.c (run_command_1): Use find_run_target. Make direct
3488 target calls.
3489 (attach_command): Use find_attach_target. Make direct target
3490 calls.
3491 * record-btrace.c (init_record_btrace_ops): Don't set
3492 to_create_inferior.
3493 * record-full.c (record_full_can_async_p, record_full_is_async_p):
3494 Remove.
3495 (init_record_full_ops, init_record_full_core_ops): Update. Don't
3496 set to_create_inferior.
3497 * target.c (complete_target_initialization): Add assertion.
3498 (target_create_inferior): Remove.
3499 (find_default_attach, find_default_create_inferior): Remove.
3500 (find_attach_target, find_run_target): New functions.
3501 (find_default_is_async_p, find_default_can_async_p)
3502 (target_supports_non_stop, target_attach): Remove.
3503 (init_dummy_target): Don't set to_create_inferior or
3504 to_supports_non_stop.
3505 * target.h (struct target_ops) <to_attach>: Add comment. Remove
3506 TARGET_DEFAULT_FUNC.
3507 <to_create_inferior>: Add comment.
3508 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
3509 TARGET_DEFAULT_RETURN.
3510 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
3511 (find_attach_target, find_run_target): Declare.
3512 (target_create_inferior): Remove.
3513 (target_has_execution_1): Update comment.
3514 (target_supports_non_stop): Remove.
3515 * target-delegates.c: Rebuild.
3516
91f83b02
PA
35172014-03-12 Pedro Alves <palves@redhat.com>
3518
3519 * inf-child.h: Update comment to not mention Unix.
3520
f1aea813
PA
35212014-03-12 Pedro Alves <palves@redhat.com>
3522
3523 * inf-child.c: Update top comment to not mention Unix. Add
3524 generic comment describing how this target is meant to be used.
3525 (inf_child_post_attach, inf_child_post_startup_inferior)
3526 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
3527 Unix in comment.
3528
ee8e9165
PA
35292014-03-12 Pedro Alves <palves@redhat.com>
3530
3531 * nto-procfs.c: Include inf-child.h.
3532 (procfs_ops): Delete global.
3533 (procfs_can_run): Delete method.
3534 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
3535 target pointer instead of referencing procfs_ops.
3536 (procfs_prepare_to_store): Delete.
3537 (init_procfs_ops): Delete function.
3538 (procfs_target): New function, based on init_procfs_ops, but
3539 inherit inf_child_target.
3540 (_initialize_procfs): Use procfs_target.
3541
51a9c8c5
PA
35422014-03-12 Pedro Alves <palves@redhat.com>
3543
3544 * windows-nat.c: Include inf-child.h.
3545 (windows_ops): Delete global.
3546 (windows_open, windows_prepare_to_store, windows_can_run): Delete
3547 methods.
3548 (init_windows_ops): Delete function.
3549 (windows_target): New function, based on init_windows_ops, but
3550 inherit inf_child_target.
3551 (_initialize_windows_nat): Use windows_target. Install x86
3552 specific target methods here.
3553
c1966e26
DE
35542014-03-10 Doug Evans <xdje42@gmail.com>
3555
3556 * guile/guile.c (call_initialize_gdb_module): New function.
3557 (initialize_guile): Replace call to scm_init_guile with call to
3558 scm_with_guile.
3559
023db19c
JB
35602014-03-10 Joel Brobecker <brobecker@adacore.com>
3561
3562 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
3563 in call to TYPE_CODE macro.
3564
5ec18f2b
JG
35652014-03-10 Jerome Guitton <guitton@adacore.com>
3566
8668be63
JB
3567 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
3568 Resolve tagged types to full view.
5ec18f2b 3569
7d03f2eb
HZ
35702014-03-10 Hui Zhu <hui@codesourcery.com>
3571
3572 * target.h (target_insert_breakpoint): Remove "hardware" from its
3573 comments.
3574
c5164cbc
DE
35752014-03-07 Doug Evans <dje@google.com>
3576
3577 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
3578
c4a3fee2
DE
35792014-03-07 Doug Evans <dje@google.com>
3580
3581 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
3582 Remove unused local comp_dir_attr. Assert exactly one of
3583 stub_comp_unit_die, stub_comp_dir is non-NULL.
3584
3156469c
JB
35852014-03-07 Joel Brobecker <brobecker@adacore.com>
3586
3587 * target.h (complete_target_initialization, add_target):
3588 Add comment.
3589
c1a7b7c6
PA
35902014-03-07 Pedro Alves <palves@redhat.com>
3591
3592 * go32-nat.c: Include inf-child.h.
3593 (go32_ops): Delete global.
3594 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
3595 Delete methods.
3596 (go32_create_inferior): Push the passed in target pointer instead
3597 of referencing go32_ops.
3598 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
3599 (go32_target): New function, based on init_go32_ops, but inherit
3600 inf_child_target.
3601 (_initialize_go32_nat): Use go32_target. Move parts of
3602 init_go32_ops here.
3603
d3c1a85f
JB
36042014-03-06 Joel Brobecker <brobecker@adacore.com>
3605
3606 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
3607 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
3608 SYMBOL_VALUE_ADDRESS.
3609 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
3610
5fa1d40e
YQ
36112014-03-06 Yao Qi <yao@codesourcery.com>
3612
3613 * breakpoint.c (get_tracepoint_by_number): Remove argument
3614 optional_p. All callers updated. Adjust comments. Update
3615 output message.
3616 * breakpoint.h (get_tracepoint_by_number): Update declaration.
3617
0c13193f
YQ
36182014-03-06 Yao Qi <yao@codesourcery.com>
3619
3620 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
3621 early if get_number returns zero. Use 'p' instead of 'args'.
3622
2217da06
YQ
36232014-03-06 Yao Qi <yao@codesourcery.com>
3624
3625 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
3626 message.
3627
cc3da688
YQ
36282014-03-06 Yao Qi <yao@codesourcery.com>
3629
3630 PR breakpoints/16508
3631 * tracepoint.c (check_trace_running): New function.
3632 (trace_find_command): Move code to check_trace_running and
3633 call check_trace_running.
3634 (trace_find_pc_command): Likewise.
3635 (trace_find_tracepoint_command): Likewise.
3636 (trace_find_line_command): Likewise.
3637 (trace_find_range_command): Likewise.
3638 * tracepoint.h (check_trace_running): Likewise.
3639 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
3640
6a5f844b
YQ
36412014-03-06 Yao Qi <yao@codesourcery.com>
3642
3643 * target.h (struct target_ops) <to_traceframe_info>: Use
3644 TARGET_DEFAULT_NORETURN (tcomplain ()).
3645 * target-delegates.c: Regenerated.
3646
0f26cec1
PA
36472014-03-05 Pedro Alves <palves@redhat.com>
3648
3649 PR gdb/16575
3650 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
3651 void. Update comment.
3652 (dcache_xfer_memory): Delete.
3653 (dcache_read_memory_partial): New, based on the read bits of
3654 dcache_xfer_memory.
3655 (dcache_update): Add status parameter. Use ULONGEST for len, and
3656 adjust. Discard cache lines if the reason for the update was
3657 error.
3658 * dcache.h (dcache_xfer_memory): Delete declaration.
3659 (dcache_read_memory_partial): New declaration.
3660 (dcache_update): Update prototype.
3661 * target.c (raw_memory_xfer_partial): Update the dcache here.
3662 (memory_xfer_partial_1): Don't handle dcache writes here.
3663
b2b255bd
MF
36642014-03-05 Mike Frysinger <vapier@gentoo.org>
3665
3666 * remote-sim.c (gdbsim_load): Add const to prog.
3667
5d9cf8a4
TT
36682014-03-03 Tom Tromey <tromey@redhat.com>
3669
3670 * elfread.c (probe_key): Change to bfd_data.
3671 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
3672 now per-BFD, not per-objfile.
3673 * stap-probe.c (stap_probe_destroy): Update comment.
3674 (handle_stap_probe): Allocate on the per-BFD obstack.
3675
729662a5
TT
36762014-03-03 Tom Tromey <tromey@redhat.com>
3677
3678 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
3679 * breakpoint.c (create_longjmp_master_breakpoint): Use
3680 get_probe_address.
3681 (add_location_to_breakpoint, bkpt_probe_insert_location)
3682 (bkpt_probe_remove_location): Update.
3683 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
3684 * elfread.c (elf_symfile_relocate_probe): Remove.
3685 (elf_probe_fns): Update.
3686 (insert_exception_resume_breakpoint): Change type of "probe"
3687 parameter to bound_probe.
3688 (check_exception_resume): Update.
3689 * objfiles.c (objfile_relocate1): Don't relocate probes.
3690 * probe.c (bound_probe_s): New typedef.
3691 (parse_probes): Use get_probe_address. Set sal's objfile.
3692 (find_probe_by_pc): Return a bound_probe.
3693 (collect_probes): Return a VEC(bound_probe_s).
3694 (compare_probes): Update.
3695 (gen_ui_out_table_header_info): Change type of "probes"
3696 parameter. Update.
3697 (info_probes_for_ops): Update.
3698 (get_probe_address): New function.
3699 (probe_safe_evaluate_at_pc): Update.
3700 * probe.h (struct probe_ops) <get_probe_address>: New field.
3701 <set_semaphore, clear_semaphore>: Add objfile parameter.
3702 (struct probe) <objfile>: Remove field.
3703 <arch>: New field.
3704 <address>: Update comment.
3705 (struct bound_probe): New.
3706 (find_probe_by_pc): Return a bound_probe.
3707 (get_probe_address): Declare.
3708 * solib-svr4.c (struct probe_and_action) <address>: New field.
3709 (hash_probe_and_action, equal_probe_and_action): Update.
3710 (register_solib_event_probe): Add address parameter.
3711 (solib_event_probe_at): Update.
3712 (svr4_create_probe_breakpoints): Add objfile parameter. Use
3713 get_probe_address.
3714 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
3715 (stap_get_probe_address): New function.
3716 (stap_can_evaluate_probe_arguments, compute_probe_arg)
3717 (compile_probe_arg): Update.
3718 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
3719 address.
3720 (handle_stap_probe): Don't relocate the probe.
3721 (stap_relocate): Remove.
3722 (stap_gen_info_probes_table_values): Update.
3723 (stap_probe_ops): Remove stap_relocate.
3724 * symfile-debug.c (debug_sym_relocate_probe): Remove.
3725 (debug_sym_probe_fns): Update.
3726 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
3727 * symtab.c (init_sal): Use memset.
3728 * symtab.h (struct symtab_and_line) <objfile>: New field.
3729 * tracepoint.c (start_tracing, stop_tracing): Update.
3730
ff887920
TT
37312014-03-03 Tom Tromey <tromey@redhat.com>
3732
3733 * probe.h (parse_probes, find_probe_by_pc)
3734 (find_probes_in_objfile): Fix comments.
3735
f0407826
DE
37362014-03-02 Doug Evans <xdje42@gmail.com>
3737
3738 * infrun.c (handle_signal_stop): Replace test for
3739 TARGET_WAITKIND_STOPPED with an assert.
3740
35e6a711
DE
37412014-03-02 Doug Evans <xdje42@gmail.com>
3742
3743 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
3744
667f9d0b
DE
37452014-03-02 Doug Evans <xdje42@gmail.com>
3746
3747 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
3748
dc92ace0
MK
37492014-03-01 Mark Kettenis <kettenis@gnu.org>
3750
3751 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
3752
a900370f
MK
37532014-03-01 Mark Kettenis <kettenis@gnu.org>
3754
3755 * i386obsd-nat.c: Include "obsd-nat.h".
3756 (_initialize_i386obsd_nat): Call obsd_add_target instead of
3757 add_target.
3758 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
3759
b72a7981
MK
37602014-03-01 Mark Kettenis <kettenis@gnu.org>
3761
3762 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
3763
96c70aba
MK
37642014-03-01 Mark Kettenis <kettenis@gnu.org>
3765
3766 * mips64obsd-nat.c: Include "obsd-nath".
3767 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
3768 add_target
3769 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
3770
874a80af
MK
37712014-03-01 Mark Kettenis <kettenis@gnu.org>
3772
8fd408f1
MK
3773 * amd64obsd-nat.c: Include "obsd-nat,h.
3774 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
3775 add_target.
874a80af
MK
3776 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
3777
9cf95373
SC
37782014-02-28 Siva Chandra Reddy <sivachandra@google.com>
3779
3780 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
3781 (find_overload_match): Update call to find_oload_champ.
3782 (find_oload_champ_namespace_loop): Likewise
3783
863e4da4
MK
37842014-02-28 Mark Kettenis <kettenis@gnu.org>
3785
025cac40
MK
3786 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
3787
1ed586ce
MK
3788 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
3789 * config/sparc/obsd64.mh: New file.
3790 * sparc64obsd-nat.c: New file.
3791
863e4da4
MK
3792 * obsd-nat.h: New file.
3793 * obsd-nat.c: New file.
3794 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
3795 (ALLDEPFILES): Add obsd-nat.c.
3796
89de4da4
TT
37972014-02-28 Tom Tromey <tromey@redhat.com>
3798
3799 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
3800 * cli-out.h (cli_ui_out_impl): Now const.
3801 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
3802 * ui-out.c (struct ui_out) <impl>: Now const.
3803 (default_ui_out_impl): Now const.
3804 (ui_out_new): Make 'impl' parameter const.
3805 * ui-out.h (ui_out_new): Update.
3806
c725e7b6
MK
38072014-02-27 Mark Kettenis <kettenis@gnu.org>
3808
3809 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
3810
670b46b3
MK
38112014-02-27 Mark Kettenis <kettenis@gnu.org>
3812
3813 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
3814
c91550fc
JK
38152014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3816
3817 Additional PR 8882 fix.
3818 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
3819
2fa0369e
PA
38202014-02-27 Pedro Alves <palves@redhat.com>
3821
3822 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
3823 isn't set.
3824
d632a097
PA
38252014-02-27 Pedro Alves <palves@redhat.com>
3826
3827 PR 12702
3828 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
3829 * nat/linux-waitpid.c: Include string.h.
3830 (status_to_str): Moved here and made extern.
3831 * nat/linux-waitpid.h (status_to_str): New declaration.
3832
2ebd5a35
HZ
38332014-02-27 Hui Zhu <hui@codesourcery.com>
3834
3835 PR 12702
3836 * infrun.c (ptid_match): Move ...
3837 * common/ptid.c (ptid_match): ... here.
3838 * inferior.h (ptid_match): Move ...
3839 * common/ptid.h (ptid_match): ... here.
3840
3cdd631f
MK
38412014-02-27 Mark Kettenis <kettenis@gnu.org>
3842
3843 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
3844 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
3845 gdb_target_obs.
3846
bee30a64
MK
38472014-02-27 Mark Kettenis <kettenis@gnu.org>
3848
3849 * obsd-tdep.c (obsd_auxv_parse): New function.
3850 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
3851
3852 * gdbarch.sh (auxv_parse): New.
3853 * gdbarch.h: Regenerated.
3854 * gdbarch.c: Regenerated.
3855 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
3856
7a5a839f
LC
38572014-02-26 Ludovic Courtès <ludo@gnu.org>
3858
3859 * guile/scm-value.c (gdbscm_history_append_x): New function.
3860 (value_functions): Add it.
3861
31aa7e4e
JB
38622014-02-27 Joel Brobecker <brobecker@adacore.com>
3863
3864 * dwarf2read.c (attr_value_as_address): New function.
3865 (dwarf2_find_base_address, read_call_site_scope): Use
3866 attr_value_as_address in place of DW_ADDR.
3867 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
3868 the low and high addresses. Slight rework of the handling
3869 of the high pc being a constant form, and limit it to
3870 DWARF verson 4 or higher.
3871 (dwarf2_record_block_ranges): Likewise.
3872 (read_partial_die): Likewise.
3873 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
3874
9b333ba3
TT
38752014-02-26 Tom Tromey <tromey@redhat.com>
3876
3877 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
3878
5f6cac40
TT
38792014-02-26 Tom Tromey <tromey@redhat.com>
3880
3881 * elfread.c (elf_read_minimal_symbols): Return early if
3882 minimal symbols have already been read. Add "ei" parameter.
3883 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
3884 * minsyms.c (prim_record_minimal_symbol_full): Update.
3885 * objfiles.h (struct objstats) <n_minsyms>: Move...
3886 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
3887 * symmisc.c (print_objfile_statistics): Update.
3888
2750ef27
TT
38892014-02-26 Tom Tromey <tromey@redhat.com>
3890
3891 * elfread.c (elf_read_minimal_symbols): New function, from
3892 elf_symfile_read.
3893 (elf_symfile_read): Call it.
3894
34643a32
TT
38952014-02-26 Tom Tromey <tromey@redhat.com>
3896
3897 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
3898 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
3899 (lookup_minimal_symbol_solib_trampoline)
3900 (lookup_minimal_symbol_by_pc_section_1)
3901 (lookup_minimal_symbol_and_objfile): Update.
3902 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
3903 Don't allocate a minimal symbol if minsyms have already been read.
3904 (build_minimal_symbol_hash_tables): Update.
3905 (install_minimal_symbols): Do nothing if minsyms already read.
3906 Use the per-BFD obstack.
3907 (terminate_minimal_symbol_table): Use the per-BFD obstack.
3908 * objfiles.c (allocate_objfile): Call
3909 terminate_minimal_symbol_table later.
3910 (have_minimal_symbols): Update.
3911 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
3912 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
3913 Move from struct objfile.
3914 <minsyms_read>: New field.
3915 (struct objfile) <msymbols, minimal_symbol_count,
3916 msymbol_hash, msymbol_demangled_hash>: Move.
3917 (ALL_OBJFILE_MSYMBOLS): Update.
3918 * symfile.c (read_symbols): Set minsyms_read.
3919 (reread_symbols): Update.
3920 * symmisc.c (dump_objfile, dump_msymbols): Update.
3921
2273f0ac
TT
39222014-02-26 Tom Tromey <tromey@redhat.com>
3923
3924 * minsyms.c (msymbols_sort): Remove.
3925 * minsyms.h (msymbols_sort): Remove.
3926 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
3927 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
3928 * elfread.c (elf_symtab_read): Don't add section offsets.
3929 * xcoffread.c (record_minimal_symbol): Don't add section offset
3930 to minimal symbol address.
3931 * somread.c (text_offset, data_offset): Remove.
3932 (som_symtab_read): Don't add section offsets to minimal symbol
3933 addresses.
3934 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
3935 Don't add section offsets to minimal symbols.
3936 * coffread.c (coff_symtab_read): Don't add section offsets
3937 to minimal symbol addresses.
3938 * machoread.c (macho_symtab_add_minsym): Don't add section offset
3939 to minimal symbol addresses.
3940 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
3941 section offset to minimal symbol addresses.
3942 * mdebugread.c (parse_partial_symbols): Don't add section
3943 offset to minimal symbol addresses.
3944 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
3945 offset to minimal symbol addresses.
3946
77e371c0
TT
39472014-02-26 Tom Tromey <tromey@redhat.com>
3948
3949 * ada-lang.c (ada_main_name): Update.
3950 (ada_add_standard_exceptions): Update.
3951 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
3952 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3953 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
3954 * auxv.c (ld_so_xfer_auxv): Update.
3955 * avr-tdep.c (avr_scan_prologue): Update.
3956 * ax-gdb.c (gen_var_ref): Update.
3957 * blockframe.c (get_pc_function_start)
3958 (find_pc_partial_function_gnu_ifunc): Update.
3959 * breakpoint.c (create_overlay_event_breakpoint)
3960 (create_longjmp_master_breakpoint)
3961 (create_std_terminate_master_breakpoint)
3962 (create_exception_master_breakpoint): Update.
3963 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3964 * c-valprint.c (c_val_print): Update.
3965 * coff-pe-read.c (add_pe_forwarded_sym): Update.
3966 * common/agent.c (agent_look_up_symbols): Update.
3967 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
3968 * dwarf2loc.c (call_site_to_target_addr): Update.
3969 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
3970 * elfread.c (elf_gnu_ifunc_record_cache)
3971 (elf_gnu_ifunc_resolve_by_got): Update.
3972 * findvar.c (default_read_var_value): Update.
3973 * frame.c (inside_main_func): Update.
3974 * frv-tdep.c (frv_frame_this_id): Update.
3975 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3976 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
3977 Update.
3978 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
3979 (hppa_hpux_find_dummy_bpaddr): Update.
3980 * hppa-tdep.c (hppa_symbol_address): Update.
3981 * infcmd.c (until_next_command): Update.
3982 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
3983 Update.
3984 * linespec.c (minsym_found, add_minsym): Update.
3985 * linux-nat.c (get_signo): Update.
3986 * linux-thread-db.c (inferior_has_bug): Update.
3987 * m32c-tdep.c (m32c_return_value)
3988 (m32c_m16c_address_to_pointer): Update.
3989 * m32r-tdep.c (m32r_frame_this_id): Update.
3990 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3991 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3992 * maint.c (maintenance_translate_address): Update.
3993 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
3994 (frob_address): New function.
3995 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
3996 frob_address. Rename parameter to "pc_in".
3997 (compare_minimal_symbols, compact_minimal_symbols): Use raw
3998 addresses.
3999 (find_solib_trampoline_target, minimal_symbol_upper_bound):
4000 Update.
4001 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4002 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
4003 * objc-lang.c (find_objc_msgsend): Update.
4004 * objfiles.c (objfile_relocate1): Update.
4005 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4006 * p-valprint.c (pascal_val_print): Update.
4007 * parse.c (write_exp_msymbol): Update.
4008 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
4009 (ppc_elfv2_skip_entrypoint): Update.
4010 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4011 * printcmd.c (build_address_symbolic, msym_info)
4012 (address_info): Update.
4013 * proc-service.c (ps_pglobal_lookup): Update.
4014 * psymtab.c (find_pc_sect_psymtab_closer)
4015 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
4016 Change msymbol parameter to bound_minimal_symbol.
4017 * ravenscar-thread.c (get_running_thread_id): Update.
4018 * remote.c (remote_check_symbols): Update.
4019 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
4020 address.
4021 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4022 * solib-dsbt.c (lm_base): Update.
4023 * solib-frv.c (lm_base, main_got): Update.
4024 * solib-irix.c (locate_base): Update.
4025 * solib-som.c (som_solib_create_inferior_hook)
4026 (link_map_start): Update.
4027 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
4028 * solib-svr4.c (elf_locate_base, enable_break): Update.
4029 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
4030 (flush_ea_cache): Update.
4031 * stabsread.c (define_symbol, scan_file_globals): Update.
4032 * stack.c (find_frame_funname): Update.
4033 * symfile-debug.c (debug_qf_expand_symtabs_matching)
4034 (debug_qf_find_pc_sect_symtab): Update.
4035 * symfile.c (simple_read_overlay_table)
4036 (simple_overlay_update): Update.
4037 * symfile.h (struct quick_symbol_functions)
4038 <find_pc_sect_symtab>: Change type of msymbol to
4039 bound_minimal_symbol.
4040 * symmisc.c (dump_msymbols): Update.
4041 * symtab.c (find_pc_sect_symtab_via_partial)
4042 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
4043 (search_symbols, print_msymbol_info): Update.
4044 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
4045 (MSYMBOL_VALUE_ADDRESS): Redefine.
4046 (BMSYMBOL_VALUE_ADDRESS): New macro.
4047 * tracepoint.c (scope_info): Update.
4048 * tui/tui-disasm.c (tui_find_disassembly_address)
4049 (tui_get_begin_asm_address): Update.
4050 * valops.c (find_function_in_inferior): Update.
4051 * value.c (value_static_field, value_fn_field): Update.
4052
3b7344d5
TT
40532014-02-26 Tom Tromey <tromey@redhat.com>
4054
4055 * ada-lang.c (ada_update_initial_language): Update.
4056 (ada_main_name, ada_has_this_exception_support): Update.
4057 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
4058 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4059 * arm-tdep.c (arm_skip_stub): Update.
4060 * auxv.c (ld_so_xfer_auxv): Update.
4061 * avr-tdep.c (avr_scan_prologue): Update.
4062 * ax-gdb.c (gen_var_ref): Update.
4063 * breakpoint.c (struct breakpoint_objfile_data)
4064 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
4065 type to bound_minimal_symbol.
4066 (create_overlay_event_breakpoint)
4067 (create_longjmp_master_breakpoint)
4068 (create_std_terminate_master_breakpoint)
4069 (create_exception_master_breakpoint): Update.
4070 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4071 * c-exp.y (classify_name): Update.
4072 * coffread.c (coff_symfile_read): Update.
4073 * common/agent.c (agent_look_up_symbols): Update.
4074 * d-lang.c (d_main_name): Update.
4075 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
4076 * dec-thread.c (enable_dec_thread): Update.
4077 * dwarf2loc.c (call_site_to_target_addr): Update.
4078 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
4079 * eval.c (evaluate_subexp_standard): Update.
4080 * findvar.c (struct minsym_lookup_data) <result>: Change type
4081 to bound_minimal_symbol.
4082 <objfile>: Remove.
4083 (minsym_lookup_iterator_cb, default_read_var_value): Update.
4084 * frame.c (inside_main_func): Update.
4085 * frv-tdep.c (frv_frame_this_id): Update.
4086 * gcore.c (call_target_sbrk): Update.
4087 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4088 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
4089 Update.
4090 * go-lang.c (go_main_name): Update.
4091 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
4092 (hppa_hpux_find_import_stub_for_addr): Update.
4093 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
4094 Update. Change return type.
4095 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
4096 type.
4097 * jit.c (jit_breakpoint_re_set_internal): Update.
4098 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
4099 Update.
4100 * linux-nat.c (get_signo): Update.
4101 * linux-thread-db.c (inferior_has_bug): Update
4102 * m32c-tdep.c (m32c_return_value)
4103 (m32c_m16c_address_to_pointer): Update.
4104 * m32r-tdep.c (m32r_frame_this_id): Update.
4105 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4106 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4107 * minsyms.c (lookup_minimal_symbol_internal): Rename to
4108 lookup_minimal_symbol. Change return type.
4109 (lookup_minimal_symbol): Remove.
4110 (lookup_bound_minimal_symbol): Update.
4111 (lookup_minimal_symbol_text): Change return type.
4112 (lookup_minimal_symbol_solib_trampoline): Change return type.
4113 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
4114 (lookup_minimal_symbol_solib_trampoline): Change return type.
4115 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4116 * objc-lang.c (lookup_objc_class, lookup_child_selector)
4117 (value_nsstring, find_imps): Update.
4118 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4119 * p-lang.c (pascal_main_name): Update.
4120 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
4121 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4122 * proc-service.c (ps_pglobal_lookup): Update.
4123 * ravenscar-thread.c (get_running_thread_msymbol): Change
4124 return type.
4125 (has_ravenscar_runtime, get_running_thread_id): Update.
4126 * remote.c (remote_check_symbols): Update.
4127 * sol-thread.c (ps_pglobal_lookup): Update.
4128 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4129 * solib-dsbt.c (lm_base): Update.
4130 * solib-frv.c (lm_base, frv_relocate_section_addresses):
4131 Update.
4132 * solib-irix.c (locate_base): Update.
4133 * solib-som.c (som_solib_create_inferior_hook)
4134 (som_solib_desire_dynamic_linker_symbols, link_map_start):
4135 Update.
4136 * solib-spu.c (spu_enable_break): Update.
4137 * solib-svr4.c (elf_locate_base, enable_break): Update.
4138 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
4139 (flush_ea_cache): Update.
4140 * stabsread.c (define_symbol): Update.
4141 * symfile.c (simple_read_overlay_table): Update.
4142 * symtab.c (find_pc_sect_line): Update.
4143 * tracepoint.c (scope_info): Update.
4144 * tui-disasm.c (tui_get_begin_asm_address): Update.
4145 * value.c (value_static_field): Update.
4146
40c1a007
TT
41472014-02-26 Tom Tromey <tromey@redhat.com>
4148
4149 * minsyms.c (prim_record_minimal_symbol_full): Use
4150 SET_MSYMBOL_VALUE_ADDRESS.
4151 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
4152 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
4153 SET_MSYMBOL_VALUE_ADDRESS.
4154 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
4155 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
4156
efd66ac6
TT
41572014-02-26 Tom Tromey <tromey@redhat.com>
4158
4159 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
4160 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
4161 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
4162 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
4163 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
4164 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
4165 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
4166 * ada-lang.c (ada_main_name): Update.
4167 (ada_lookup_simple_minsym): Update.
4168 (ada_make_symbol_completion_list): Update.
4169 (ada_add_standard_exceptions): Update.
4170 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
4171 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4172 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
4173 * arm-tdep.c (skip_prologue_function): Update.
4174 (arm_skip_stack_protector, arm_skip_stub): Update.
4175 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
4176 (arm_wince_skip_main_prologue): Update.
4177 * auxv.c (ld_so_xfer_auxv): Update.
4178 * avr-tdep.c (avr_scan_prologue): Update.
4179 * ax-gdb.c (gen_var_ref): Update.
4180 * block.c (call_site_for_pc): Update.
4181 * blockframe.c (get_pc_function_start): Update.
4182 (find_pc_partial_function_gnu_ifunc): Update.
4183 * breakpoint.c (create_overlay_event_breakpoint): Update.
4184 (create_longjmp_master_breakpoint): Update.
4185 (create_std_terminate_master_breakpoint): Update.
4186 (create_exception_master_breakpoint): Update.
4187 (resolve_sal_pc): Update.
4188 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4189 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
4190 Update.
4191 * c-valprint.c (c_val_print): Update.
4192 * coff-pe-read.c (add_pe_forwarded_sym): Update.
4193 * coffread.c (coff_symfile_read): Update.
4194 * common/agent.c (agent_look_up_symbols): Update.
4195 * dbxread.c (find_stab_function_addr): Update.
4196 (end_psymtab): Update.
4197 * dwarf2loc.c (call_site_to_target_addr): Update.
4198 (func_verify_no_selftailcall): Update.
4199 (tailcall_dump): Update.
4200 (call_site_find_chain_1): Update.
4201 (dwarf_expr_reg_to_entry_parameter): Update.
4202 * elfread.c (elf_gnu_ifunc_record_cache): Update.
4203 (elf_gnu_ifunc_resolve_by_got): Update.
4204 * f-valprint.c (info_common_command): Update.
4205 * findvar.c (read_var_value): Update.
4206 * frame.c (get_prev_frame_1): Update.
4207 (inside_main_func): Update.
4208 * frv-tdep.c (frv_skip_main_prologue): Update.
4209 (frv_frame_this_id): Update.
4210 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4211 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
4212 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
4213 (gnuv3_skip_trampoline): Update.
4214 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
4215 (hppa64_hpux_in_solib_call_trampoline): Update.
4216 (hppa_hpux_skip_trampoline_code): Update.
4217 (hppa64_hpux_search_dummy_call_sequence): Update.
4218 (hppa_hpux_find_import_stub_for_addr): Update.
4219 (hppa_hpux_find_dummy_bpaddr): Update.
4220 * hppa-tdep.c (hppa_symbol_address)
4221 (hppa_lookup_stub_minimal_symbol): Update.
4222 * i386-tdep.c (i386_skip_main_prologue): Update.
4223 (i386_pe_skip_trampoline_code): Update.
4224 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
4225 * infcall.c (get_function_name): Update.
4226 * infcmd.c (until_next_command): Update.
4227 * jit.c (jit_breakpoint_re_set_internal): Update.
4228 (jit_inferior_init): Update.
4229 * linespec.c (minsym_found): Update.
4230 (add_minsym): Update.
4231 * linux-fork.c (info_checkpoints_command): Update.
4232 * linux-nat.c (get_signo): Update.
4233 * linux-thread-db.c (inferior_has_bug): Update.
4234 * m32c-tdep.c (m32c_return_value): Update.
4235 (m32c_m16c_address_to_pointer): Update.
4236 (m32c_m16c_pointer_to_address): Update.
4237 * m32r-tdep.c (m32r_frame_this_id): Update.
4238 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4239 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4240 * maint.c (maintenance_translate_address): Update.
4241 * minsyms.c (add_minsym_to_hash_table): Update.
4242 (add_minsym_to_demangled_hash_table): Update.
4243 (msymbol_objfile): Update.
4244 (lookup_minimal_symbol): Update.
4245 (iterate_over_minimal_symbols): Update.
4246 (lookup_minimal_symbol_text): Update.
4247 (lookup_minimal_symbol_by_pc_name): Update.
4248 (lookup_minimal_symbol_solib_trampoline): Update.
4249 (lookup_minimal_symbol_by_pc_section_1): Update.
4250 (lookup_minimal_symbol_and_objfile): Update.
4251 (prim_record_minimal_symbol_full): Update.
4252 (compare_minimal_symbols): Update.
4253 (compact_minimal_symbols): Update.
4254 (build_minimal_symbol_hash_tables): Update.
4255 (install_minimal_symbols): Update.
4256 (terminate_minimal_symbol_table): Update.
4257 (find_solib_trampoline_target): Update.
4258 (minimal_symbol_upper_bound): Update.
4259 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4260 * mips-tdep.c (mips_stub_frame_sniffer): Update.
4261 (mips_skip_pic_trampoline_code): Update.
4262 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
4263 * objc-lang.c (selectors_info): Update.
4264 (classes_info): Update.
4265 (find_methods): Update.
4266 (find_imps): Update.
4267 (find_objc_msgsend): Update.
4268 * objfiles.c (objfile_relocate1): Update.
4269 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
4270 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4271 * p-valprint.c (pascal_val_print): Update.
4272 * parse.c (write_exp_msymbol): Update.
4273 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
4274 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
4275 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4276 * printcmd.c (build_address_symbolic): Update.
4277 (sym_info): Update.
4278 (address_info): Update.
4279 * proc-service.c (ps_pglobal_lookup): Update.
4280 * psymtab.c (find_pc_sect_psymtab_closer): Update.
4281 (find_pc_sect_psymtab): Update.
4282 * python/py-framefilter.c (py_print_frame): Update.
4283 * ravenscar-thread.c (get_running_thread_id): Update.
4284 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
4285 Update.
4286 * remote.c (remote_check_symbols): Update.
4287 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
4288 (rs6000_skip_trampoline_code): Update.
4289 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
4290 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4291 * solib-dsbt.c (lm_base): Update.
4292 * solib-frv.c (lm_base): Update.
4293 (main_got): Update.
4294 * solib-irix.c (locate_base): Update.
4295 * solib-som.c (som_solib_create_inferior_hook): Update.
4296 (som_solib_desire_dynamic_linker_symbols): Update.
4297 (link_map_start): Update.
4298 * solib-spu.c (spu_enable_break): Update.
4299 (ocl_enable_break): Update.
4300 * solib-svr4.c (elf_locate_base): Update.
4301 (enable_break): Update.
4302 * spu-tdep.c (spu_get_overlay_table): Update.
4303 (spu_catch_start): Update.
4304 (flush_ea_cache): Update.
4305 * stabsread.c (define_symbol): Update.
4306 (scan_file_globals): Update.
4307 * stack.c (find_frame_funname): Update.
4308 (frame_info): Update.
4309 * symfile.c (simple_read_overlay_table): Update.
4310 (simple_overlay_update): Update.
4311 * symmisc.c (dump_msymbols): Update.
4312 * symtab.c (fixup_section): Update.
4313 (find_pc_sect_line): Update.
4314 (skip_prologue_sal): Update.
4315 (search_symbols): Update.
4316 (print_msymbol_info): Update.
4317 (rbreak_command): Update.
4318 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
4319 (completion_list_objc_symbol): Update.
4320 (default_make_symbol_completion_list_break_on): Update.
4321 * tracepoint.c (scope_info): Update.
4322 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
4323 (tui_get_begin_asm_address): Update.
4324 * valops.c (find_function_in_inferior): Update.
4325 * value.c (value_static_field): Update.
4326 (value_fn_field): Update.
4327
50e65b17
TT
43282014-02-26 Tom Tromey <tromey@redhat.com>
4329
4330 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
4331 bound minimal symbols. Move code that knows about minsym
4332 table layout...
4333 * minsyms.c (minimal_symbol_upper_bound): ... here. New
4334 function.
4335 * minsyms.h (minimal_symbol_upper_bound): Declare.
4336 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
4337 minimal_symbol_upper_bound.
4338
1b588015
JB
43392014-02-27 Joel Brobecker <brobecker@adacore.com>
4340
4341 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
4342 Use the type's name if its basic type does not have a tag.
4343
dbb9c2b1
JB
43442014-02-27 Joel Brobecker <brobecker@adacore.com>
4345
4346 * dwarf2read.c (read_subrange_type): Add comment.
4347
55426c9d
JB
43482014-02-27 Joel Brobecker <brobecker@adacore.com>
4349
4350 * dwarf2read.c (update_enumeration_type_from_children): New
4351 function, mostly extracted from process_structure_scope.
4352 (read_enumeration_type): Call update_enumeration_type_from_children.
4353 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
4354 and flag_flag_enum fields.
4355
f2fce0ca
PA
43562014-02-26 Pedro Alves <palves@redhat.com>
4357
4358 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
4359 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
4360 to_xfer_partial method.
4361
7a44e40e
PA
43622014-02-26 Pedro Alves <palves@redhat.com>
4363
4364 * target.c (complete_target_initialization): Don't install
4365 default_xfer_partial as to_xfer_partial hook.
4366 (nomemory): Delete.
4367 (update_current_target): Don't INHERIT nor de_fault
4368 deprecated_xfer_memory. Delete de_fault macro.
4369 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
4370 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
4371 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
4372 field.
4373
bd265cd0
PA
43742014-02-26 Pedro Alves <palves@redhat.com>
4375
4376 * go32-nat.c (my_write_child): New function.
4377 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
4378 (go32_xfer_partial): New function.
4379 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
4380 Instead install a to_xfer_partial hook.
4381
9d46c4e5
PA
43822014-02-26 Pedro Alves <palves@redhat.com>
4383
4384 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
4385 to_xfer_partial helper. Rewrite.
4386 (procfs_xfer_partial): New function.
4387 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
4388 Install a to_xfer_partial hook.
4389
a1583b1f
PA
43902014-02-26 Pedro Alves <palves@redhat.com>
4391
4392 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
4393 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
4394 (m32r_xfer_partial): New function.
4395 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
4396 Install a to_xfer_partial hook.
4397
6df1b29f
PA
43982014-02-26 Pedro Alves <palves@redhat.com>
4399
4400 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
4401 helper.
4402 (mips_xfer_partial): New function.
4403 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
4404 hook. Install a to_xfer_partial hook.
4405
dc53a7ad
JB
44062014-02-26 Joel Brobecker <brobecker@adacore.com>
4407
4408 * gdbtypes.h (create_array_type_with_stride): Add declaration.
4409 * gdbtypes.c (create_array_type_with_stride): New function,
4410 renaming create_array_type, but with an added parameter
4411 called "bit_stride".
4412 (create_array_type): Re-implement using
4413 create_array_type_with_stride.
4414 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
4415 and DW_AT_bit_stride attributes.
4416
12ab52e9
PA
44172014-02-26 Pedro Alves <palves@redhat.com>
4418
4419 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
4420 task-specific breakpoints.
4421
d16461ae
PA
44222014-02-25 Pedro Alves <palves@redhat.com>
4423
4424 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
4425 handling of object == TARGET_OBJECT_UNWIND_TABLE.
4426
a8b16220
SS
44272014-02-25 Stan Shebs <stan@codesourcery.com>
4428
4429 * defs.h: Annotate comments for Doxygen.
4430
b9e795ee
TT
44312014-02-25 Tom Tromey <tromey@redhat.com>
4432
4433 * target.h (target_ignore): Don't declare.
4434 * target.c (target_ignore): Remove.
4435
849c862e
JK
44362014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4437
4438 PR gdb/16626
4439 * auto-load.c (auto_load_objfile_script_1): Change filename to
4440 debugfile.
4441
475109d8
JB
44422014-02-25 Joel Brobecker <brobecker@adacore.com>
4443
4444 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
4445 documentation. Adjust prototype to match the target_ops
4446 to_xfer_partial method. Adjust implementation accordingly.
4447
e186c3bd
HZ
44482014-02-25 Hui Zhu <hui@codesourcery.com>
4449
4450 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
4451 to_traceframe_info.
4452
6d451942
KB
44532014-02-25 Kevin Buettner <kevinb@redhat.com>
4454
041ab8b4 4455 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
4456 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
4457 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
4458 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
4459 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
4460 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
4461 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
4462 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
4463 New constants.
4464 (rl78_register_type): Use a data pointer type for SP and
4465 new pseudo registers mentioned above. Use a 16 bit integer
4466 type for all other register pairs.
4467 (rl78_register_name, rl78_g10_register_name): Update for
4468 new pseudo registers.
4469 (rl78_pseudo_register_read): Likewise.
4470 (rl78_pseudo_register_write): Likewise.
4471 (rl78_dwarf_reg_to_regnum): Return register numbers representing
4472 to the newly added pseudo registers.
4473
eddf0bae
DE
44742014-02-24 Doug Evans <dje@google.com>
4475
4476 * value.c (record_latest_value): Fix comment.
4477 * printcmd.c (print_command_1): Remove code to handle -1 return from
4478 record_latest_value.
4479
e96027e0
PA
44802014-02-24 Pedro Alves <palves@redhat.com>
4481
4482 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
4483 deprecated_xfer_memory hook.
4484 (procfs_xfer_partial): Call procfs_xfer_memory instead
4485 of the deprecated_xfer_memory target hook.
4486 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
4487 helper.
4488
0837c976
YZ
44892014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
4490
4491 * windows-nat.c (windows_xfer_shared_libraries): Return
4492 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
4493 requested object is TARGET_OBJECT_LIBRARIES.
4494
bc113b4e
YQ
44952014-02-24 Yao Qi <yao@codesourcery.com>
4496
4497 * target.h (enum target_xfer_status)
4498 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
4499 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
4500 explicitly. New.
4501 * corefile.c (memory_error_message): User updated.
4502 * exec.c (section_table_read_available_memory): Likewise.
4503 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4504 * target.c (target_xfer_status_to_string): Likewise.
4505 (raw_memory_xfer_partial): Likewise.
4506 (memory_xfer_partial_1, target_xfer_partial): Likewise.
4507 * valops.c (read_value_memory): Likewise.
4508 * exec.h: Update comments.
4509
01cb8804
YQ
45102014-02-24 Yao Qi <yao@codesourcery.com>
4511
4512 * target.c (target_xfer_status_to_string): Rename argument err
4513 to status.
4514 * target.h (target_xfer_status_to_string): Update declaration.
4515 Replace target_xfer_error_to_string with
4516 target_xfer_status_to_string in comment.
4517
93063aa6
YQ
45182014-02-24 Yao Qi <yao@codesourcery.com>
4519
4520 * mips-linux-nat.c (super_close): Update its type.
4521 (mips_linux_close): Pass 'self' to super_close.
4522
5c328c05
YQ
45232014-02-24 Yao Qi <yao@codesourcery.com>
4524
4525 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
4526 * corefile.c (read_memory): Adjusted.
4527 * target.c (target_write_with_progress): Adjusted.
4528
f73023dd
YQ
45292014-02-23 Yao Qi <yao@codesourcery.com>
4530
4531 Revert two patches:
4532
4533 2013-10-25 Yao Qi <yao@codesourcery.com>
4534
4535 * remote.c (remote_traceframe_info): Return early if
4536 traceframe is not selected.
4537
4538 2013-07-19 Yao Qi <yao@codesourcery.com>
4539
4540 * target.c (update_current_target): Change the default action
4541 of 'to_traceframe_info' from tcomplain to return_zero.
4542 * target.h (struct target_ops) <to_traceframe_info>: Add more
4543 comments.
4544
5a2eb0ef
YQ
45452014-02-23 Yao Qi <yao@codesourcery.com>
4546
4547 * valops.c (read_value_memory): Rewrite it. Call
4548 target_xfer_partial in a loop.
4549 * exec.h (section_table_available_memory): Remove declaration.
4550 Move comments to ...
4551 * exec.c (section_table_available_memory): ... here. Make it
4552 static.
4553
1ee79381
YQ
45542014-02-23 Yao Qi <yao@codesourcery.com>
4555
4556 * exec.c (section_table_read_available_memory): New function.
4557 * exec.h (section_table_read_available_memory): Declare.
4558 * ctf.c (ctf_xfer_partial): Call
4559 section_table_read_available_memory.
4560 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4561
1ca49d37
YQ
45622014-02-23 Yao Qi <yao@codesourcery.com>
4563
4564 * ctf.c (ctf_xfer_partial): Move code to ...
4565 * exec.c (exec_read_partial_read_only): ... it. New function.
4566 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4567 * tracefile.c: Include "exec.h".
4568 * exec.h (exec_read_partial_read_only): Declare.
4569
a283690e
YQ
45702014-02-23 Yao Qi <yao@codesourcery.com>
4571
4572 * tracefile-tfile.c (tfile_has_all_memory): Remove.
4573 (tfile_has_memory): Remove.
4574 (init_tfile_ops): Don't set fields to_has_all_memory and
4575 to_has_memory of tfile_ops.
4576 * tracefile.c (tracefile_has_all_memory): New function.
4577 (tracefile_has_memory): New function.
4578 (init_tracefile_ops): Initialize fields to_has_all_memory and
4579 to_has_memory of 'ops'.
4580
12e03cd0
YQ
45812014-02-23 Yao Qi <yao@codesourcery.com>
4582
4583 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
4584 (ctf_thread_alive, ctf_get_trace_status): Remove.
4585 (init_ctf_ops): Don't set some fields of ctf_ops. Call
4586 init_tracefile_ops.
4587 * tracefile-tfile.c (tfile_get_trace_status): Remove.
4588 (tfile_has_stack, tfile_has_registers): Remove.
4589 (tfile_thread_alive): Remove.
4590 (init_tfile_ops): Don't set some fields of tfile_ops. Call
4591 init_tracefile_ops.
4592 * tracefile.c (tracefile_has_stack): New function.
4593 (tracefile_has_registers): New function.
4594 (tracefile_thread_alive): New function.
4595 (tracefile_get_trace_status): New function.
4596 (init_tracefile_ops): New function.
4597 * tracefile.h (init_tracefile_ops): Declare.
4598
11395323
YQ
45992014-02-23 Yao Qi <yao@codesourcery.com>
4600
4601 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
4602 (O_LARGEFILE): Likewise.
4603 (tfile_ops): Likewise.
4604 (TRACE_HEADER_SIZE): Likewise.
4605 (trace_fd, trace_frames_offset, cur_offset): Likewise.
4606 (cur_data_size): Likewise.
4607 (tfile_read, tfile_open, tfile_interp_line): Likewise.
4608 (tfile_close, tfile_files_info): Likewise.
4609 (tfile_get_trace_status): Likewise.
4610 (tfile_get_tracepoint_status): Likewise.
4611 (tfile_get_traceframe_address): Likewise.
4612 (tfile_trace_find, match_blocktype): Likewise.
4613 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
4614 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
4615 (tfile_get_trace_state_variable_value): Likewise.
4616 (tfile_has_all_memory, tfile_has_memory): Likewise.
4617 (tfile_has_stack, tfile_has_registers): Likewise.
4618 (tfile_thread_alive, build_traceframe_info): Likewise.
4619 (tfile_traceframe_info, init_tfile_ops): Likewise.
4620 (_initialize_tracepoint): Don't call init_tfile_ops
4621 and add_target_with_completer.
4622 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
4623 exec.h, completer.h and filenames.h.
4624 (_initialize_tracefile_tfile): New function.
4625
7951c4eb
YQ
46262014-02-23 Yao Qi <yao@codesourcery.com>
4627
4628 * Makefile.in (REMOTE_OBS): Append tracefile.o and
4629 tracefile-tfile.o.
4630 (HFILES_NO_SRCDIR): Add tracefile.h.
4631 * ctf.c: Include "tracefile.h".
4632 * tracefile.h: New file.
4633 * tracefile.c: New file
4634 * tracefile-tfile.c: New file.
4635 * tracepoint.c: Include "tracefile.h".
4636 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
4637 (stop_reason_names): Add const.
4638 (trace_file_writer_xfree): Move it to tracefile.c.
4639 (trace_save, trace_save_command, trace_save_tfile): Likewise.
4640 (trace_save_ctf): Likewise.
4641 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
4642 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
4643 (tfile_write_header, tfile_write_regblock_type): Likewise.
4644 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
4645 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
4646 (tfile_write_raw_data, tfile_end): Likewise.
4647 (tfile_trace_file_writer_new): Likewise.
4648 (free_uploaded_tp): Make it extern.
4649 (free_uploaded_tsv): Make it extern.
4650 (_initialize_tracepoint): Move code to register command 'tsave'
4651 to tracefile.c.
4652 * tracepoint.h (stop_reason_names): Declare.
4653 (struct trace_frame_write_ops): Move it to tracefile.h.
4654 (struct trace_file_write_ops): Likewise.
4655 (struct trace_file_writer): Likewise.
4656 (free_uploaded_tsvs, free_uploaded_tps): Declare.
4657
184cd072
JK
46582014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4659
4660 PR gdb/16594
4661 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
4662 process name.
4663 (get_cores_used_by_process): New parameter num_cores, use it.
4664 (linux_xfer_osdata_processes): Pass num_cores to it.
4665 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
4666 process name.
4667
c63528fc
AK
46682014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
4669
4670 * target.c (memory_xfer_partial): Fix length arg in call to
4671 breakpoint_xfer_memory.
4672
d7b30f67
SDJ
46732014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4674
4675 PR tdep/16397
4676 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
4677 number comes after the + or - signs. Adjust length of register
4678 name to be extracted.
4679
8838afaf
TT
46802014-02-20 Tom Tromey <tromey@redhat.com>
4681
4682 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
4683 (ada_varobj_ops): Mark "extern".
4684
05227d14
TT
46852014-02-20 Tom Tromey <tromey@redhat.com>
4686
4687 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
4688
1254eefc
DE
46892014-02-20 Doug Evans <xdje42@gmail.com>
4690
4691 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
4692 All callers updated.
4693 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
4694 All callers updated.
4695 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
4696 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
4697
adde2bff
DE
46982014-02-20 lin zuojian <manjian2006@gmail.com>
4699 Joel Brobecker <brobecker@adacore.com>
4700 Doug Evans <xdje42@gmail.com>
4701
4702 PR symtab/16581
4703 * dwarf2read.c (struct die_info): New member in_process.
4704 (reset_die_in_process): New function.
4705 (process_die): Set it at the start, reset when returning.
4706 (inherit_abstract_dies): Only call process_die if origin_child_die
4707 not already being processed.
4708
3be75f87
JB
47092014-02-20 Joel Brobecker <brobecker@adacore.com>
4710
4711 * windows-nat.c (handle_unload_dll): Add function documentation.
4712 (do_initial_windows_stuff): Add comment explaining why we wait
4713 until after inferior initialization has finished before
4714 processing all DLLs.
4715
47f7ffdb
JB
47162014-02-20 Joel Brobecker <brobecker@adacore.com>
4717
4718 * windows-nat.c (get_module_name): Delete.
4719 (windows_get_exec_module_filename): New function, mostly
4720 inspired from get_module_name.
4721 (windows_pid_to_exec_file): Replace call to get_module_name
4722 by call to windows_get_exec_module_filename.
4723
1cd9feab
JB
47242014-02-20 Joel Brobecker <brobecker@adacore.com>
4725
4726 * windows-nat.c (handle_load_dll): Rewrite this function's
4727 introductory comment. Remove code using get_module_name
4728 to get the DLL's name.
4729
ea39ad35
JB
47302014-02-20 Joel Brobecker <brobecker@adacore.com>
4731
4732 * windows-nat.c (get_windows_debug_event): Ignore
4733 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
4734 if windows_initialization_done == 0.
4735 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
4736 Adjust implementation to always load all DLLs.
4737 (do_initial_windows_stuff): Replace call to
4738 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
4739
95060284
JB
47402014-02-20 Joel Brobecker <brobecker@adacore.com>
4741
4742 * windows-nat.c (_initialize_windows_nat): Deprecate the
4743 "dll-symbols" command. Turn the "add-shared-symbol-files"
4744 and "assf" aliases into commands, and deprecate them as well.
4745 * NEWS: Add entry explaining that "dll-symbols" and its two
4746 aliases are now deprecated.
4747
8d4fdb12
JB
47482014-02-20 Joel Brobecker <brobecker@adacore.com>
4749
4750 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
4751 new-line in debug string. Remove trailing spaces.
4752
1b281443
SS
47532014-02-19 Stan Shebs <stan@codesourcery.com>
4754
4755 * darwin-nat.c (darwin_xfer_partial): Fix return type.
4756
f7bd0f78
SC
47572014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4758
4759 * NEWS: Add entry for the new feature
4760 * python/py-value.c (valpy_binop): Call value_x_binop for struct
4761 and class values.
4762
399ebc3d
SS
47632014-02-19 Stan Shebs <stan@codesourcery.com>
4764
4765 * MAINTAINERS: List Yao Qi as nios2 maintainer.
4766
c658158d
PA
47672014-02-19 Pedro Alves <palves@redhat.com>
4768
4769 * common/ptid.h (struct ptid): Mention that process_stratum
4770 targets should prefer ptid.lwp.
4771
ba348170
PA
47722014-02-19 Pedro Alves <palves@redhat.com>
4773
4774 * remote.c (remote_thread_alive, write_ptid, read_ptid)
4775 (read_ptid, remote_newthread_step, remote_threads_extra_info)
4776 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
4777 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
4778 store remote thread ids rather than ptid.tid.
4779 (_initialize_remote): Adjust.
4780
ac01945b
TT
47812014-02-19 Tom Tromey <tromey@redhat.com>
4782
4783 * target.c (target_get_unwinder): Rewrite.
4784 (target_get_tailcall_unwinder): Rewrite.
4785 * record-btrace.c (record_btrace_to_get_unwinder): New function.
4786 (record_btrace_to_get_tailcall_unwinder): New function.
4787 (init_record_btrace_ops): Update.
4788 * target.h (struct target_ops) <to_get_unwinder,
4789 to_get_tailcall_unwinder>: Now function pointers. Use
4790 TARGET_DEFAULT_RETURN.
4791
8476dc92
TT
47922014-02-19 Tom Tromey <tromey@redhat.com>
4793
4794 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
4795 argument.
4796 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
4797
c0eca49f
TT
47982014-02-19 Tom Tromey <tromey@redhat.com>
4799
4800 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
4801 directly.
4802 * target-delegates.c: Rebuild.
4803 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
4804 TARGET_DEFAULT_FUNC.
4805 * target.c (default_target_decr_pc_after_break): Rename from
4806 forward_target_decr_pc_after_break. Simplify.
4807 (target_decr_pc_after_break): Rely on delegation.
4808
596b6b39
TT
48092014-02-19 Tom Tromey <tromey@redhat.com>
4810
4811 * target.c (update_current_target): Do not INHERIT to_doc or
4812 to_magic. Do not de_fault to_open or to_close.
4813
b427c1bc
TT
48142014-02-19 Tom Tromey <tromey@redhat.com>
4815
4816 * gcore.h (objfile_find_memory_regions): Declare.
4817 * gcore.c (objfile_find_memory_regions): No longer static. Add
4818 "self" argument.
4819 (_initialize_gcore): Don't call exec_set_find_memory_regions.
4820 * exec.c: Include gcore.h.
4821 (exec_set_find_memory_regions): Remove.
4822 (exec_find_memory_regions): Remove.
4823 (exec_do_find_memory_regions): Remove.
4824 (init_exec_ops): Update.
4825 * defs.h (exec_set_find_memory_regions): Remove.
4826
9b144037
TT
48272014-02-19 Tom Tromey <tromey@redhat.com>
4828
4829 * target-delegates.c: Rebuild.
4830 * target.h (struct target_ops) <to_extra_thread_info,
4831 to_thread_name, to_pid_to_exec_file, to_get_section_table,
4832 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
4833 not 0, in TARGET_DEFAULT_RETURN.
4834
555bbdeb
TT
48352014-02-19 Tom Tromey <tromey@redhat.com>
4836
4837 * target.c (complete_target_initialization): Remove casts. Use
4838 return_zero_has_execution.
4839 (return_zero): Add "ignore" argument.
4840 (return_zero_has_execution): New function.
4841 (init_dummy_target): Remove casts. Use
4842 return_zero_has_execution.
4843
be4ddd36
TT
48442014-02-19 Tom Tromey <tromey@redhat.com>
4845
4846 * target.c (update_current_target): Update comments. Do not
4847 INHERIT to_stratum.
4848
2117c711
TT
48492014-02-19 Tom Tromey <tromey@redhat.com>
4850
4851 * arm-linux-nat.c (arm_linux_read_description): Delegate when
4852 needed.
4853 * corelow.c (core_read_description): Delegate when needed.
4854 * remote.c (remote_read_description): Delegate when needed.
4855 * target-delegates.c: Rebuild.
4856 * target.c (target_read_description): Rewrite.
4857 * target.h (struct target_ops) <to_read_description>: Update
4858 comment. Use TARGET_DEFAULT_RETURN.
4859
e88ef65c
TT
48602014-02-19 Tom Tromey <tromey@redhat.com>
4861
4862 * target-delegates.c: Rebuild.
4863 * target.c (update_current_target): Don't inherit or default
4864 to_can_run.
4865 (find_default_run_target): Check against delegate_can_run.
4866 * target.h (struct target_ops) <to_can_run>: Use
4867 TARGET_DEFAULT_RETURN.
4868
86a0854a
TT
48692014-02-19 Tom Tromey <tromey@redhat.com>
4870
4871 * target-delegates.c: Rebuild.
4872 * target.c (target_disconnect): Unconditionally delegate.
4873 * target.h (struct target_ops) <to_disconnect>: Use
4874 TARGET_DEFAULT_NORETURN.
4875
ee97f592
TT
48762014-02-19 Tom Tromey <tromey@redhat.com>
4877
4878 * record.c (record_stop): Unconditionally delegate.
4879 * target-delegates.c: Rebuild.
4880 * target.c (target_stop_recording): Unconditionally delegate.
4881 * target.h (struct target_ops) <to_stop_recording>: Use
4882 TARGET_DEFAULT_IGNORE.
4883
6dc7fcf4
TT
48842014-02-19 Tom Tromey <tromey@redhat.com>
4885
4886 * target-delegates.c: Rebuild.
4887 * target.c (target_enable_btrace): Unconditionally delegate.
4888 * target.h (struct target_ops) <to_enable_btrace>: Use
4889 TARGET_DEFAULT_NORETURN.
4890
eb5b20d4
TT
48912014-02-19 Tom Tromey <tromey@redhat.com>
4892
4893 * target-delegates.c: Rebuild.
4894 * target.c (target_read_btrace): Unconditionally delegate.
4895 * target.h (struct target_ops) <to_read_btrace>: Use
4896 TARGET_DEFAULT_NORETURN.
4897
9ace480d
TT
48982014-02-19 Tom Tromey <tromey@redhat.com>
4899
4900 * target-delegates.c: Rebuild.
4901 * target.c (target_teardown_btrace): Unconditionally delegate.
4902 * target.h (struct target_ops) <to_teardown_btrace>: Use
4903 TARGET_DEFAULT_NORETURN.
4904
8dc292d3
TT
49052014-02-19 Tom Tromey <tromey@redhat.com>
4906
4907 * target-delegates.c: Rebuild.
4908 * target.c (target_disable_btrace): Unconditionally delegate.
4909 * target.h (struct target_ops) <to_disable_btrace>: Use
4910 TARGET_DEFAULT_NORETURN.
4911
58a5184e
TT
49122014-02-19 Tom Tromey <tromey@redhat.com>
4913
4914 * target-delegates.c: Rebuild.
4915 * target.c (default_search_memory): New function.
4916 (simple_search_memory): Update comment.
4917 (target_search_memory): Unconditionally delegate.
4918 * target.h (struct target_ops) <to_search_memory>: Use
4919 TARGET_DEFAULT_FUNC.
4920
8de71aab
TT
49212014-02-19 Tom Tromey <tromey@redhat.com>
4922
4923 * auxv.c (default_auxv_parse): No longer static.
4924 (target_auxv_parse): Unconditionally delegate.
4925 * auxv.h (default_auxv_parse): Declare.
4926 * target-delegates.c: Rebuild.
4927 * target.c: Include auxv.h.
4928 * target.h (struct target_ops) <to_auxv_parse>: Use
4929 TARGET_DEFAULT_FUNC.
4930
6b2c5a57
TT
49312014-02-19 Tom Tromey <tromey@redhat.com>
4932
4933 * target-delegates.c: Rebuild.
4934 * target.c (target_memory_map): Unconditionally delegate.
4935 * target.h (struct target_ops) <to_memory_map>: Use
4936 TARGET_DEFAULT_RETURN.
4937
cbffc065
TT
49382014-02-19 Tom Tromey <tromey@redhat.com>
4939
4940 * target-delegates.c: Rebuild.
4941 * target.c (target_thread_alive): Unconditionally delegate.
4942 * target.h (struct target_ops) <to_thread_alive>: Use
4943 TARGET_DEFAULT_RETURN.
4944
f09e2107
TT
49452014-02-19 Tom Tromey <tromey@redhat.com>
4946
4947 * target-delegates.c: Rebuild.
4948 * target.c (target_save_record): Unconditionally delegate.
4949 * target.h (struct target_ops) <to_save_record>: Use
4950 TARGET_DEFAULT_NORETURN.
4951
07366925
TT
49522014-02-19 Tom Tromey <tromey@redhat.com>
4953
4954 * target-delegates.c: Rebuild.
4955 * target.c (target_delete_record): Unconditionally delegate.
4956 * target.h (struct target_ops) <to_delete_record>: Use
4957 TARGET_DEFAULT_NORETURN.
4958
dd2e9d25
TT
49592014-02-19 Tom Tromey <tromey@redhat.com>
4960
4961 * target-delegates.c: Rebuild.
4962 * target.c (target_record_is_replaying): Unconditionally
4963 delegate.
4964 * target.h (struct target_ops) <to_record_is_replaying>: Use
4965 TARGET_DEFAULT_RETURN.
4966
671e76cc
TT
49672014-02-19 Tom Tromey <tromey@redhat.com>
4968
4969 * target-delegates.c: Rebuild.
4970 * target.c (target_goto_record_begin): Unconditionally delegate.
4971 * target.h (struct target_ops) <to_goto_record_begin>: Use
4972 TARGET_DEFAULT_NORETURN.
4973
e9179bb3
TT
49742014-02-19 Tom Tromey <tromey@redhat.com>
4975
4976 * target-delegates.c: Rebuild.
4977 * target.c (target_goto_record_end): Unconditionally delegate.
4978 * target.h (struct target_ops) <to_goto_record_end>: Use
4979 TARGET_DEFAULT_NORETURN.
4980
05969c84
TT
49812014-02-19 Tom Tromey <tromey@redhat.com>
4982
4983 * target-delegates.c: Rebuild.
4984 * target.c (target_goto_record): Unconditionally delegate.
4985 * target.h (struct target_ops) <to_goto_record>: Use
4986 TARGET_DEFAULT_NORETURN.
4987
3679abfa
TT
49882014-02-19 Tom Tromey <tromey@redhat.com>
4989
4990 * target-delegates.c: Rebuild.
4991 * target.c (target_insn_history): Unconditionally delegate.
4992 * target.h (struct target_ops) <to_insn_history>: Use
4993 TARGET_DEFAULT_NORETURN.
4994
8444ab58
TT
49952014-02-19 Tom Tromey <tromey@redhat.com>
4996
4997 * target-delegates.c: Rebuild.
4998 * target.c (target_insn_history_from): Unconditionally delegate.
4999 * target.h (struct target_ops) <to_insn_history_from>: Use
5000 TARGET_DEFAULT_NORETURN.
5001
c29302cc
TT
50022014-02-19 Tom Tromey <tromey@redhat.com>
5003
5004 * target-delegates.c: Rebuild.
5005 * target.c (target_insn_history_range): Unconditionally delegate.
5006 * target.h (struct target_ops) <to_insn_history_range>: Use
5007 TARGET_DEFAULT_NORETURN.
5008
170049d4
TT
50092014-02-19 Tom Tromey <tromey@redhat.com>
5010
5011 * target-delegates.c: Rebuild.
5012 * target.c (target_call_history): Unconditionally delegate.
5013 * target.h (struct target_ops) <to_call_history>: Use
5014 TARGET_DEFAULT_NORETURN.
5015
16fc27d6
TT
50162014-02-19 Tom Tromey <tromey@redhat.com>
5017
5018 * target-delegates.c: Rebuild.
5019 * target.c (target_call_history_from): Unconditionally delegate.
5020 * target.h (struct target_ops) <to_call_history_from>: Use
5021 TARGET_DEFAULT_NORETURN.
5022
115d9817
TT
50232014-02-19 Tom Tromey <tromey@redhat.com>
5024
5025 * target-delegates.c: Rebuild.
5026 * target.c (target_call_history_range): Unconditionally delegate.
5027 * target.h (struct target_ops) <to_call_history_range>: Use
5028 TARGET_DEFAULT_NORETURN.
5029
eb276a6b
TT
50302014-02-19 Tom Tromey <tromey@redhat.com>
5031
5032 * target-delegates.c: Rebuild.
5033 * target.c (target_verify_memory): Unconditionally delegate.
5034 * target.h (struct target_ops) <to_verify_memory>: Use
5035 TARGET_DEFAULT_NORETURN.
5036
9e538d0d
TT
50372014-02-19 Tom Tromey <tromey@redhat.com>
5038
5039 * target-delegates.c: Rebuild.
5040 * target.c (target_core_of_thread): Unconditionally delegate.
5041 * target.h (struct target_ops) <to_core_of_thread>: Use
5042 TARGET_DEFAULT_RETURN.
5043
f6fb2925
TT
50442014-02-19 Tom Tromey <tromey@redhat.com>
5045
5046 * target-delegates.c: Rebuild.
5047 * target.c (target_flash_done): Unconditionally delegate.
5048 * target.h (struct target_ops) <to_flash_done>: Use
5049 TARGET_DEFAULT_NORETURN.
5050
e8a6c6ac
TT
50512014-02-19 Tom Tromey <tromey@redhat.com>
5052
5053 * target-delegates.c: Rebuild.
5054 * target.c (target_flash_erase): Unconditionally delegate.
5055 * target.h (struct target_ops) <to_flash_erase>: Use
5056 TARGET_DEFAULT_NORETURN.
5057
7e35c012
TT
50582014-02-19 Tom Tromey <tromey@redhat.com>
5059
5060 * target-delegates.c: Rebuild.
5061 * target.c (target_get_section_table): Unconditionally delegate.
5062 * target.h (struct target_ops) <to_get_section_table>: Use
5063 TARGET_DEFAULT_RETURN.
5064
770234d3
TT
50652014-02-19 Tom Tromey <tromey@redhat.com>
5066
5067 * target-delegates.c: Rebuild.
5068 * target.c (target_pid_to_str): Unconditionally delegate.
5069 (init_dummy_target): Don't initialize to_pid_to_str.
5070 (default_pid_to_str): Rename from dummy_pid_to_str.
5071 * target.h (struct target_ops) <to_pid_to_str>: Use
5072 TARGET_DEFAULT_FUNC.
5073
09b0dc2b
TT
50742014-02-19 Tom Tromey <tromey@redhat.com>
5075
5076 * target-delegates.c: Rebuild.
5077 * target.c (target_find_new_threads): Unconditionally delegate.
5078 * target.h (struct target_ops) <to_find_new_threads>: Use
5079 TARGET_DEFAULT_RETURN.
5080
7d4f8efa
TT
50812014-02-19 Tom Tromey <tromey@redhat.com>
5082
5083 * target-delegates.c: Rebuild.
5084 * target.c (target_program_signals): Unconditionally delegate.
5085 * target.h (struct target_ops) <to_program_signals>: Use
5086 TARGET_DEFAULT_IGNORE.
5087
035cad7f
TT
50882014-02-19 Tom Tromey <tromey@redhat.com>
5089
5090 * target-delegates.c: Rebuild.
5091 * target.c (target_pass_signals): Unconditionally delegate.
5092 * target.h (struct target_ops) <to_pass_signals>: Use
5093 TARGET_DEFAULT_IGNORE.
5094
8d657035
TT
50952014-02-19 Tom Tromey <tromey@redhat.com>
5096
5097 * target-delegates.c: Rebuild.
5098 * target.c (default_mourn_inferior): New function.
5099 (target_mourn_inferior): Unconditionally delegate.
5100 * target.h (struct target_ops) <to_mourn_inferior>: Use
5101 TARGET_DEFAULT_FUNC.
5102
098dba18
TT
51032014-02-19 Tom Tromey <tromey@redhat.com>
5104
5105 * target-delegates.c: Rebuild.
5106 * target.c (default_follow_fork): New function.
5107 (target_follow_fork): Unconditionally delegate.
5108 * target.h (struct target_ops) <to_follow_fork>: Use
5109 TARGET_DEFAULT_FUNC.
5110
423a4807
TT
51112014-02-19 Tom Tromey <tromey@redhat.com>
5112
5113 * target-delegates.c: Rebuild.
5114 * target.c (target_kill): Unconditionally delegate.
5115 * target.h (struct target_ops) <to_kill>: Use
5116 TARGET_DEFAULT_NORETURN.
5117
6c7e5e5c
TT
51182014-02-19 Tom Tromey <tromey@redhat.com>
5119
5120 * target-delegates.c: Rebuild.
5121 * target.c (target_masked_watch_num_registers): Unconditionally
5122 delegate.
5123 * target.h (struct target_ops) <to_masked_watch_num_registers>:
5124 Use TARGET_DEFAULT_RETURN.
5125
8b1c364c
TT
51262014-02-19 Tom Tromey <tromey@redhat.com>
5127
5128 * target-delegates.c: Rebuild.
5129 * target.c (target_remove_mask_watchpoint): Unconditionally
5130 delegate.
5131 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
5132 TARGET_DEFAULT_RETURN.
5133
cd4ae029
TT
51342014-02-19 Tom Tromey <tromey@redhat.com>
5135
5136 * target-delegates.c: Rebuild.
5137 * target.c (target_insert_mask_watchpoint): Unconditionally
5138 delegate.
5139 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
5140 TARGET_DEFAULT_RETURN.
5141
a134316b
TT
51422014-02-19 Tom Tromey <tromey@redhat.com>
5143
5144 * target-delegates.c: Rebuild.
5145 * target.c (target_ranged_break_num_registers): Unconditionally
5146 delegate.
5147 * target.h (struct target_ops) <to_ranged_break_num_registers>:
5148 Use TARGET_DEFAULT_RETURN.
5149
ad5989bd
TT
51502014-02-19 Tom Tromey <tromey@redhat.com>
5151
5152 * target-delegates.c: Rebuild.
5153 * target.c (target_fetch_registers): Unconditionally delegate.
5154 * target.h (struct target_ops) <to_fetch_registers>: Use
5155 TARGET_DEFAULT_NORETURN.
5156
46ee7e8d
TT
51572014-02-19 Tom Tromey <tromey@redhat.com>
5158
5159 * target-delegates.c: Rebuild.
5160 * target.c (update_current_target): Don't inherit or default
5161 to_stop.
5162 * target.h (struct target_ops) <to_stop>: Use
5163 TARGET_DEFAULT_IGNORE.
5164
843f59ed
TT
51652014-02-19 Tom Tromey <tromey@redhat.com>
5166
5167 * target-delegates.c: Rebuild.
5168 * target.c (update_current_target): Don't inherit or default
5169 to_can_run_breakpoint_commands.
5170 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
5171 Use TARGET_DEFAULT_RETURN.
5172
ccfde2a0
TT
51732014-02-19 Tom Tromey <tromey@redhat.com>
5174
5175 * target-delegates.c: Rebuild.
5176 * target.c (update_current_target): Don't inherit or default
5177 to_supports_evaluation_of_breakpoint_conditions.
5178 * target.h (struct target_ops)
5179 <to_supports_evaluation_of_breakpoint_conditions>: Use
5180 TARGET_DEFAULT_RETURN.
5181
0de91722
TT
51822014-02-19 Tom Tromey <tromey@redhat.com>
5183
5184 * target-delegates.c: Rebuild.
5185 * target.c (update_current_target): Don't inherit or default
5186 to_augmented_libraries_svr4_read.
5187 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
5188 Use TARGET_DEFAULT_RETURN.
5189
9a7d8b48
TT
51902014-02-19 Tom Tromey <tromey@redhat.com>
5191
5192 * target-delegates.c: Rebuild.
5193 * target.c (update_current_target): Don't inherit or default
5194 to_can_use_agent.
5195 * target.h (struct target_ops) <to_can_use_agent>: Use
5196 TARGET_DEFAULT_RETURN.
5197
d9db5b21
TT
51982014-02-19 Tom Tromey <tromey@redhat.com>
5199
5200 * target-delegates.c: Rebuild.
5201 * target.c (update_current_target): Don't inherit or default
5202 to_use_agent.
5203 * target.h (struct target_ops) <to_use_agent>: Use
5204 TARGET_DEFAULT_NORETURN.
5205
92155eeb
TT
52062014-02-19 Tom Tromey <tromey@redhat.com>
5207
5208 * target-delegates.c: Rebuild.
5209 * target.c (update_current_target): Don't inherit or default
5210 to_traceframe_info.
5211 (return_null): Remove.
5212 * target.h (struct target_ops) <to_traceframe_info>: Use
5213 TARGET_DEFAULT_RETURN.
5214
d6522a22
TT
52152014-02-19 Tom Tromey <tromey@redhat.com>
5216
5217 * target-delegates.c: Rebuild.
5218 * target.c (update_current_target): Don't inherit or default
5219 to_static_tracepoint_markers_by_strid.
5220 * target.h (struct target_ops)
5221 <to_static_tracepoint_markers_by_strid>: Use
5222 TARGET_DEFAULT_NORETURN.
5223
4c3e4425
TT
52242014-02-19 Tom Tromey <tromey@redhat.com>
5225
5226 * target-delegates.c: Rebuild.
5227 * target.c (update_current_target): Don't inherit or default
5228 to_static_tracepoint_marker_at.
5229 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
5230 Use TARGET_DEFAULT_RETURN.
5231
dcd6917f
TT
52322014-02-19 Tom Tromey <tromey@redhat.com>
5233
5234 * target-delegates.c: Rebuild.
5235 * target.c (update_current_target): Don't inherit or default
5236 to_set_permissions.
5237 * target.h (struct target_ops) <to_set_permissions>: Use
5238 TARGET_DEFAULT_IGNORE.
5239
22bcceee
TT
52402014-02-19 Tom Tromey <tromey@redhat.com>
5241
5242 * target-delegates.c: Rebuild.
5243 * target.c (update_current_target): Don't inherit or default
5244 to_get_tib_address.
5245 * target.h (struct target_ops) <to_get_tib_address>: Use
5246 TARGET_DEFAULT_NORETURN.
5247
8586ccaa
TT
52482014-02-19 Tom Tromey <tromey@redhat.com>
5249
5250 * target-delegates.c: Rebuild.
5251 * target.c (update_current_target): Don't inherit or default
5252 to_set_trace_notes.
5253 * target.h (struct target_ops) <to_set_trace_notes>: Use
5254 TARGET_DEFAULT_RETURN.
5255
91df8d1d
TT
52562014-02-19 Tom Tromey <tromey@redhat.com>
5257
5258 * target-delegates.c: Rebuild.
5259 * target.c (update_current_target): Don't initialize
5260 to_set_trace_buffer_size.
5261 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
5262 TARGET_DEFAULT_IGNORE.
5263
8d526939
TT
52642014-02-19 Tom Tromey <tromey@redhat.com>
5265
5266 * target-delegates.c: Rebuild.
5267 * target.c (update_current_target): Don't inherit or default
5268 to_set_circular_trace_buffer.
5269 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
5270 TARGET_DEFAULT_IGNORE.
5271
0bcfeddf
TT
52722014-02-19 Tom Tromey <tromey@redhat.com>
5273
5274 * target-delegates.c: Rebuild.
5275 * target.c (update_current_target): Don't inherit or default
5276 to_set_disconnected_tracing.
5277 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
5278 TARGET_DEFAULT_IGNORE.
5279
9249843f
TT
52802014-02-19 Tom Tromey <tromey@redhat.com>
5281
5282 * target-delegates.c: Rebuild.
5283 * target.c (update_current_target): Don't inherit or default
5284 to_get_min_fast_tracepoint_insn_len.
5285 (return_minus_one): Remove.
5286 * target.h (struct target_ops)
5287 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
5288
ace92e7d
TT
52892014-02-19 Tom Tromey <tromey@redhat.com>
5290
5291 * target-delegates.c: Rebuild.
5292 * target.c (update_current_target): Don't inherit or default
5293 to_get_raw_trace_data.
5294 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
5295 TARGET_DEFAULT_NORETURN.
5296
08120467
TT
52972014-02-19 Tom Tromey <tromey@redhat.com>
5298
5299 * target-delegates.c: Rebuild.
5300 * target.c (update_current_target): Don't inherit or default
5301 to_upload_trace_state_variables.
5302 * target.h (struct target_ops) <to_upload_trace_state_variables>:
5303 Use TARGET_DEFAULT_RETURN.
5304
1e949b00
TT
53052014-02-19 Tom Tromey <tromey@redhat.com>
5306
5307 * target-delegates.c: Rebuild.
5308 * target.c (update_current_target): Don't inherit or default
5309 to_upload_tracepoints.
5310 * target.h (struct target_ops) <to_upload_tracepoints>: Use
5311 TARGET_DEFAULT_RETURN.
5312
a2e6c147
TT
53132014-02-19 Tom Tromey <tromey@redhat.com>
5314
5315 * target-delegates.c: Rebuild.
5316 * target.c (update_current_target): Don't inherit or default
5317 to_save_trace_data.
5318 * target.h (struct target_ops) <to_save_trace_data>: Use
5319 TARGET_DEFAULT_NORETURN.
5320
959bcd0b
TT
53212014-02-19 Tom Tromey <tromey@redhat.com>
5322
5323 * target-delegates.c: Rebuild.
5324 * target.c (update_current_target): Don't inherit or default
5325 to_get_trace_state_variable_value.
5326 * target.h (struct target_ops)
5327 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
5328
afc94e66
TT
53292014-02-19 Tom Tromey <tromey@redhat.com>
5330
5331 * target-delegates.c: Rebuild.
5332 * target.c (update_current_target): Don't inherit or default
5333 to_trace_find.
5334 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
5335
e51c07ea
TT
53362014-02-19 Tom Tromey <tromey@redhat.com>
5337
5338 * target-delegates.c: Rebuild.
5339 * target.c (update_current_target): Don't inherit or default
5340 to_trace_stop.
5341 * target.h (struct target_ops) <to_trace_stop>: Use
5342 TARGET_DEFAULT_NORETURN.
5343
6fea14cd
TT
53442014-02-19 Tom Tromey <tromey@redhat.com>
5345
5346 * target-delegates.c: Rebuild.
5347 * target.c (update_current_target): Don't inherit or default
5348 to_get_tracepoint_status.
5349 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
5350 TARGET_DEFAULT_NORETURN.
5351
4072d4ff
TT
53522014-02-19 Tom Tromey <tromey@redhat.com>
5353
5354 * target-delegates.c: Rebuild.
5355 * target.c (update_current_target): Don't inherit or default
5356 to_get_trace_status.
5357 * target.h (struct target_ops) <to_get_trace_status>: Use
5358 TARGET_DEFAULT_RETURN.
5359
25da2e80
TT
53602014-02-19 Tom Tromey <tromey@redhat.com>
5361
5362 * target-delegates.c: Rebuild.
5363 * target.c (update_current_target): Don't inherit or default
5364 to_trace_start.
5365 * target.h (struct target_ops) <to_trace_start>: Use
5366 TARGET_DEFAULT_NORETURN.
5367
86dd181d
TT
53682014-02-19 Tom Tromey <tromey@redhat.com>
5369
5370 * target-delegates.c: Rebuild.
5371 * target.c (update_current_target): Don't inherit or default
5372 to_trace_set_readonly_regions.
5373 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
5374 Use TARGET_DEFAULT_NORETURN.
5375
05c41993
TT
53762014-02-19 Tom Tromey <tromey@redhat.com>
5377
5378 * target-delegates.c: Rebuild.
5379 * target.c (update_current_target): Don't inherit or default
5380 to_disable_tracepoint.
5381 * target.h (struct target_ops) <to_disable_tracepoint>: Use
5382 TARGET_DEFAULT_NORETURN.
5383
151f70f1
TT
53842014-02-19 Tom Tromey <tromey@redhat.com>
5385
5386 * target-delegates.c: Rebuild.
5387 * target.c (update_current_target): Don't inherit or default
5388 to_enable_tracepoint.
5389 * target.h (struct target_ops) <to_enable_tracepoint>: Use
5390 TARGET_DEFAULT_NORETURN.
5391
94eb98b9
TT
53922014-02-19 Tom Tromey <tromey@redhat.com>
5393
5394 * target-delegates.c: Rebuild.
5395 * target.c (update_current_target): Don't inherit or default
5396 to_download_trace_state_variable.
5397 * target.h (struct target_ops) <to_download_trace_state_variable>:
5398 Use TARGET_DEFAULT_NORETURN.
5399
719acc4a
TT
54002014-02-19 Tom Tromey <tromey@redhat.com>
5401
5402 * target-delegates.c: Rebuild.
5403 * target.c (update_current_target): Don't inherit or default
5404 to_can_download_tracepoint.
5405 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
5406 TARGET_DEFAULT_RETURN.
5407
9a980a22
TT
54082014-02-19 Tom Tromey <tromey@redhat.com>
5409
5410 * target-delegates.c: Rebuild.
5411 * target.c (update_current_target): Don't inherit or default
5412 to_download_tracepoint.
5413 * target.h (struct target_ops) <to_download_tracepoint>: Use
5414 TARGET_DEFAULT_NORETURN.
5415
5536135b
TT
54162014-02-19 Tom Tromey <tromey@redhat.com>
5417
5418 * target-delegates.c: Rebuild.
5419 * target.c (update_current_target): Don't inherit or default
5420 to_trace_init.
5421 * target.h (struct target_ops) <to_trace_init>: Use
5422 TARGET_DEFAULT_RETURN.
5423
9409d39e
TT
54242014-02-19 Tom Tromey <tromey@redhat.com>
5425
5426 * target-delegates.c: Rebuild.
5427 * target.c (update_current_target): Don't inherit or default
5428 to_supports_string_tracing.
5429 * target.h (struct target_ops) <to_supports_string_tracing>: Use
5430 TARGET_DEFAULT_RETURN.
5431
aab1b22d
TT
54322014-02-19 Tom Tromey <tromey@redhat.com>
5433
5434 * target-delegates.c: Rebuild.
5435 * target.c (update_current_target): Don't inherit or default
5436 to_supports_enable_disable_tracepoint.
5437 * target.h (struct target_ops)
5438 <to_supports_enable_disable_tracepoint>: Use
5439 TARGET_DEFAULT_RETURN.
5440
a7304748
TT
54412014-02-19 Tom Tromey <tromey@redhat.com>
5442
5443 * target-delegates.c: Rebuild.
5444 * target.c (update_current_target): Don't inherit or default
5445 to_supports_multi_process.
5446 * target.h (struct target_ops) <to_supports_multi_process>: Use
5447 TARGET_DEFAULT_RETURN.
5448
4229b31d
TT
54492014-02-19 Tom Tromey <tromey@redhat.com>
5450
5451 * target-delegates.c: Rebuild.
5452 * target.c (update_current_target): Don't inherit or default
5453 to_get_ada_task_ptid.
5454 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
5455 TARGET_DEFAULT_FUNC.
5456
43eba180
TT
54572014-02-19 Tom Tromey <tromey@redhat.com>
5458
5459 * target-delegates.c: Rebuild.
5460 * target.c (update_current_target): Don't inherit or default
5461 to_thread_architecture.
5462 * target.h (struct target_ops) <to_thread_architecture>: Use
5463 TARGET_DEFAULT_FUNC.
5464
fe31bf5b
TT
54652014-02-19 Tom Tromey <tromey@redhat.com>
5466
5467 * target-delegates.c: Rebuild.
5468 * target.c (update_current_target): Don't inherit or default
5469 to_execution_direction.
5470 * target.h (struct target_ops) <to_execution_direction>: Use
5471 TARGET_DEFAULT_FUNC.
5472
53e1cfc7
TT
54732014-02-19 Tom Tromey <tromey@redhat.com>
5474
5475 * target-delegates.c: Rebuild.
5476 * target.c (update_current_target): Don't inherit or default
5477 to_can_execute_reverse.
5478 * target.h (struct target_ops) <to_can_execute_reverse>: Use
5479 TARGET_DEFAULT_RETURN.
5480 (target_can_execute_reverse): Unconditionally delegate.
5481
9bb9d61d
TT
54822014-02-19 Tom Tromey <tromey@redhat.com>
5483
5484 * target-delegates.c: Rebuild.
5485 * target.c (update_current_target): Don't inherit or default
5486 to_goto_bookmark.
5487 (dummy_goto_bookmark): Remove.
5488 (init_dummy_target): Don't inherit or default to_goto_bookmark.
5489 * target.h (struct target_ops) <to_goto_bookmark>: Use
5490 TARGET_DEFAULT_NORETURN.
5491
3dbafbbb
TT
54922014-02-19 Tom Tromey <tromey@redhat.com>
5493
5494 * target-delegates.c: Rebuild.
5495 * target.c (update_current_target): Don't inherit or default
5496 to_get_bookmark.
5497 (dummy_get_bookmark): Remove.
5498 (init_dummy_target): Don't inherit or default to_get_bookmark.
5499 * target.h (struct target_ops) <to_get_bookmark>: Use
5500 TARGET_DEFAULT_NORETURN
5501
16f796b1
TT
55022014-02-19 Tom Tromey <tromey@redhat.com>
5503
5504 * target-delegates.c: Rebuild.
5505 * target.c (update_current_target): Don't inherit or default
5506 to_make_corefile_notes.
5507 (init_dummy_target): Don't initialize to_make_corefile_notes.
5508 * target.h (struct target_ops) <to_make_corefile_notes>: Use
5509 TARGET_DEFAULT_FUNC.
5510
0b5a2719
TT
55112014-02-19 Tom Tromey <tromey@redhat.com>
5512
5513 * target-delegates.c: Rebuild.
5514 * target.c (update_current_target): Don't inherit or default
5515 to_find_memory_regions.
5516 (init_dummy_target): Don't initialize to_find_memory_regions.
5517 * target.h (struct target_ops) <to_find_memory_regions>: Use
5518 TARGET_DEFAULT_FUNC.
5519
d9cb0195
TT
55202014-02-19 Tom Tromey <tromey@redhat.com>
5521
5522 * target-delegates.c: Rebuild.
5523 * target.c (update_current_target): Don't inherit or default
5524 to_log_command.
5525 * target.h (struct target_ops) <to_log_command>: Use
5526 TARGET_DEFAULT_IGNORE.
5527 (target_log_command): Unconditionally delegate.
5528
830ca330
TT
55292014-02-19 Tom Tromey <tromey@redhat.com>
5530
5531 * target-delegates.c: Rebuild.
5532 * target.c (update_current_target): Don't inherit or default
5533 to_pid_to_exec_file.
5534 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
5535 TARGET_DEFAULT_RETURN.
5536
825828fc
TT
55372014-02-19 Tom Tromey <tromey@redhat.com>
5538
5539 * target-delegates.c: Rebuild.
5540 * target.c (update_current_target): Don't inherit or default
5541 to_thread_name.
5542 (target_thread_name): Unconditionally delegate.
5543 * target.h (struct target_ops) <to_thread_name>: Use
5544 TARGET_DEFAULT_RETURN.
5545
4a7e6dda
TT
55462014-02-19 Tom Tromey <tromey@redhat.com>
5547
5548 * target-delegates.c: Rebuild.
5549 * target.c (update_current_target): Don't inherit or default
5550 to_extra_thread_info.
5551 * target.h (struct target_ops) <to_extra_thread_info>: Use
5552 TARGET_DEFAULT_RETURN.
5553
0db88c1d
TT
55542014-02-19 Tom Tromey <tromey@redhat.com>
5555
5556 * target-delegates.c: Rebuild.
5557 * target.c (update_current_target): Don't inherit or default
5558 to_has_exited.
5559 * target.h (struct target_ops) <to_has_exited>: Use
5560 TARGET_DEFAULT_RETURN..
5561
6a9fa051
TT
55622014-02-19 Tom Tromey <tromey@redhat.com>
5563
5564 * target-delegates.c: Rebuild.
5565 * target.c (update_current_target): Don't inherit or default
5566 to_set_syscall_catchpoint.
5567 (return_one): Remove.
5568 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
5569 TARGET_DEFAULT_RETURN.
5570
62f64d7a
TT
55712014-02-19 Tom Tromey <tromey@redhat.com>
5572
5573 * target-delegates.c: Rebuild.
5574 * target.c (update_current_target): Don't inherit or default
5575 to_insert_exec_catchpoint.
5576 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
5577 TARGET_DEFAULT_RETURN.
5578
cda0f38c
TT
55792014-01-08 Tom Tromey <tromey@redhat.com>
5580
5581 * target-delegates.c: Rebuild.
5582 * target.c (update_current_target): Don't inherit or default
5583 to_insert_exec_catchpoint.
5584 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
5585 TARGET_DEFAULT_RETURN.
5586
95c3375e
TT
55872014-02-19 Tom Tromey <tromey@redhat.com>
5588
5589 * target-delegates.c: Rebuild.
5590 * target.c (update_current_target): Don't inherit or default
5591 to_remove_vfork_catchpoint.
5592 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
5593 TARGET_DEFAULT_RETURN.
5594
7e18a8dc
TT
55952014-02-19 Tom Tromey <tromey@redhat.com>
5596
5597 * target-delegates.c: Rebuild.
5598 * target.c (update_current_target): Don't inherit or default
5599 to_insert_vfork_catchpoint.
5600 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
5601 TARGET_DEFAULT_RETURN.
5602
e1a21fb7
TT
56032014-02-19 Tom Tromey <tromey@redhat.com>
5604
5605 * target-delegates.c: Rebuild.
5606 * target.c (update_current_target): Don't inherit or default
5607 to_remove_fork_catchpoint.
5608 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
5609 TARGET_DEFAULT_RETURN.
5610
5958ebeb
TT
56112014-02-19 Tom Tromey <tromey@redhat.com>
5612
5613 * target-delegates.c: Rebuild.
5614 * target.c (update_current_target): Don't inherit or default
5615 to_insert_fork_catchpoint.
5616 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
5617 TARGET_DEFAULT_RETURN.
5618
340ba4bf
TT
56192014-02-19 Tom Tromey <tromey@redhat.com>
5620
5621 * target-delegates.c: Rebuild.
5622 * target.c (update_current_target): Don't inherit or default
5623 to_post_startup_inferior.
5624 * target.h (struct target_ops) <to_post_startup_inferior>: Use
5625 TARGET_DEFAULT_IGNORE.
5626
7634da87
TT
56272014-02-19 Tom Tromey <tromey@redhat.com>
5628
5629 * target-delegates.c: Rebuild.
5630 * target.c (update_current_target): Don't inherit or default
5631 to_load.
5632 * target.h (struct target_ops) <to_load>: Use
5633 TARGET_DEFAULT_NORETURN.
5634
e19e919f
TT
56352014-02-19 Tom Tromey <tromey@redhat.com>
5636
5637 * target-delegates.c: Rebuild.
5638 * target.c (update_current_target): Don't inherit or default
5639 to_terminal_info.
5640 * target.h (struct target_ops) <to_terminal_info>: Use
5641 TARGET_DEFAULT_FUNC.
5642
c6ea8f79
TT
56432014-02-19 Tom Tromey <tromey@redhat.com>
5644
5645 * target-delegates.c: Rebuild.
5646 * target.c (update_current_target): Don't inherit or default
5647 to_terminal_save_ours.
5648 * target.h (struct target_ops) <to_terminal_save_ours>: Use
5649 TARGET_DEFAULT_IGNORE.
5650
e4a733f1
TT
56512014-02-19 Tom Tromey <tromey@redhat.com>
5652
5653 * target-delegates.c: Rebuild.
5654 * target.c (update_current_target): Don't inherit or default
5655 to_terminal_ours.
5656 * target.h (struct target_ops) <to_terminal_ours>: Use
5657 TARGET_DEFAULT_IGNORE.
5658
74fcbef9
TT
56592014-02-19 Tom Tromey <tromey@redhat.com>
5660
5661 * target-delegates.c: Rebuild.
5662 * target.c (update_current_target): Don't inherit or default
5663 to_terminal_ours_for_output.
5664 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
5665 TARGET_DEFAULT_IGNORE.
5666
ddeaacc9
TT
56672014-02-19 Tom Tromey <tromey@redhat.com>
5668
5669 * target-delegates.c: Rebuild.
5670 * target.c (update_current_target): Don't inherit or default
5671 to_terminal_inferior.
5672 * target.h (struct target_ops) <to_terminal_inferior>: Use
5673 TARGET_DEFAULT_IGNORE.
5674
0343661d
TT
56752014-02-19 Tom Tromey <tromey@redhat.com>
5676
5677 * target-delegates.c: Rebuild.
5678 * target.c (update_current_target): Don't inherit or default
5679 to_terminal_init.
5680 * target.h (struct target_ops) <to_terminal_init>: Use
5681 TARGET_DEFAULT_IGNORE.
5682
77cdffe9
TT
56832014-02-19 Tom Tromey <tromey@redhat.com>
5684
5685 * target-delegates.c: Rebuild.
5686 * target.c (update_current_target): Don't inherit or default
5687 to_can_accel_watchpoint_condition.
5688 * target.h (struct target_ops)
5689 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
5690
d03655e4
TT
56912014-02-19 Tom Tromey <tromey@redhat.com>
5692
5693 * target-delegates.c: Rebuild.
5694 * target.c (update_current_target): Don't inherit or default
5695 to_region_ok_for_hw_watchpoint.
5696 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
5697 Use TARGET_DEFAULT_FUNC.
5698
65f160a9
TT
56992014-02-19 Tom Tromey <tromey@redhat.com>
5700
5701 * target-delegates.c: Rebuild.
5702 * target.c (update_current_target): Don't inherit or default
5703 to_watchpoint_addr_within_range.
5704 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
5705 Use TARGET_DEFAULT_FUNC.
5706
61dd109f
TT
57072014-02-19 Tom Tromey <tromey@redhat.com>
5708
5709 * target-delegates.c: Rebuild.
5710 * target.c (update_current_target): Don't inherit or default
5711 to_remove_watchpoint.
5712 * target.h (struct target_ops) <to_remove_watchpoint>: Use
5713 TARGET_DEFAULT_NORETURN.
5714
016facd4
TT
57152014-02-19 Tom Tromey <tromey@redhat.com>
5716
5717 * target-delegates.c: Rebuild.
5718 * target.c (update_current_target): Don't inherit or default
5719 to_insert_watchpoint.
5720 * target.h (struct target_ops) <to_insert_watchpoint>: Use
5721 TARGET_DEFAULT_RETURN.
5722
418dabac
TT
57232014-02-19 Tom Tromey <tromey@redhat.com>
5724
5725 * target-delegates.c: Rebuild.
5726 * target.c (update_current_target): Don't inherit or default
5727 to_remove_hw_breakpoint.
5728 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
5729 TARGET_DEFAULT_RETURN.
5730
61b371f9
TT
57312014-02-19 Tom Tromey <tromey@redhat.com>
5732
5733 * target-delegates.c: Rebuild.
5734 * target.c (update_current_target): Don't inherit or default
5735 to_insert_hw_breakpoint.
5736 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
5737 TARGET_DEFAULT_RETURN.
5738
52b51d06
TT
57392014-02-19 Tom Tromey <tromey@redhat.com>
5740
5741 * target-delegates.c: Rebuild.
5742 * target.c (update_current_target): Don't inherit or default
5743 to_can_use_hw_breakpoint.
5744 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
5745 TARGET_DEFAULT_RETURN.
5746
f86e59b2
TT
57472014-02-19 Tom Tromey <tromey@redhat.com>
5748
5749 * target-delegates.c: Rebuild.
5750 * target.c (update_current_target): Don't inherit or default
5751 to_files_info.
5752 * target.h (struct target_ops) <to_files_info>: Use
5753 TARGET_DEFAULT_IGNORE.
5754
6c628163
TT
57552014-02-19 Tom Tromey <tromey@redhat.com>
5756
5757 * target-delegates.c: Rebuild.
5758 * target.c (update_current_target): Don't inherit or default
5759 to_store.
5760 * target.h (struct target_ops) <to_store>: Use
5761 TARGET_DEFAULT_NORETURN.
5762
bebd3233
TT
57632014-02-19 Tom Tromey <tromey@redhat.com>
5764
5765 * target-delegates.c: Rebuild.
5766 * target.c (update_current_target): Don't inherit or default
5767 to_post_attach.
5768 * target.h (struct target_ops) <to_post_attach>: Use
5769 TARGET_DEFAULT_IGNORE.
5770
a53f3625
TT
57712014-02-19 Tom Tromey <tromey@redhat.com>
5772
5773 * target-delegates.c: Rebuild.
5774 * target.c (update_current_target): Don't inherit or default
5775 to_rcmd.
5776 (default_rcmd): New function.
5777 (do_monitor_command): Unconditionally delegate.
5778 * target.h (struct target_ops) <to_rmcd>: Use
5779 TARGET_DEFAULT_FUNC.
5780
e9a29200
TT
57812014-02-19 Tom Tromey <tromey@redhat.com>
5782
5783 * target-delegates.c: Rebuild.
5784 * target.c (init_dummy_target): Don't initialize to_attach.
5785 (target_attach): Unconditionally delegate.
5786 * target.h (struct target_ops) <to_attach>: Use
5787 TARGET_DEFAULT_FUNC.
5788
09da0d0a
TT
57892014-02-19 Tom Tromey <tromey@redhat.com>
5790
5791 * target-delegates.c: Rebuild.
5792 * target.c (target_detach): Unconditionally delegate.
5793 (init_dummy_target): Don't initialize to_detach.
5794 * target.h (struct target_ops) <to_detach>: Use
5795 TARGET_DEFAULT_IGNORE.
5796
5436ff03
TT
57972014-02-19 Tom Tromey <tromey@redhat.com>
5798
5799 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
5800 Add argument.
5801 (target_augmented_libraries_svr4_read): Add argument.
5802 * target.c (update_current_target): Update.
5803 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
5804 argument.
5805
f0d960ea
TT
58062014-02-19 Tom Tromey <tromey@redhat.com>
5807
5808 * target.h (struct target_ops) <to_call_history_range>: Add
5809 argument.
5810 * target.c (target_call_history_range): Add argument.
5811 * record-btrace.c (record_btrace_call_history_range): Add 'self'
5812 argument.
5813 (record_btrace_call_history_from): Update.
5814
ec0aea04
TT
58152014-02-19 Tom Tromey <tromey@redhat.com>
5816
5817 * target.h (struct target_ops) <to_call_history_from>: Add
5818 argument.
5819 * target.c (target_call_history_from): Add argument.
5820 * record-btrace.c (record_btrace_call_history_from): Add 'self'
5821 argument.
5822
5df2fcba
TT
58232014-02-19 Tom Tromey <tromey@redhat.com>
5824
5825 * target.h (struct target_ops) <to_call_history>: Add argument.
5826 * target.c (target_call_history): Add argument.
5827 * record-btrace.c (record_btrace_call_history): Add 'self'
5828 argument.
5829
4e99c6b7
TT
58302014-02-19 Tom Tromey <tromey@redhat.com>
5831
5832 * target.h (struct target_ops) <to_insn_history_range>: Add
5833 argument.
5834 * target.c (target_insn_history_range): Add argument.
5835 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
5836 argument.
5837 (record_btrace_insn_history_from): Update.
5838
9abc3ff3
TT
58392014-02-19 Tom Tromey <tromey@redhat.com>
5840
5841 * target.h (struct target_ops) <to_insn_history_from>: Add
5842 argument.
5843 * target.c (target_insn_history_from): Add argument.
5844 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
5845 argument.
5846
7a6c5609
TT
58472014-02-19 Tom Tromey <tromey@redhat.com>
5848
5849 * target.h (struct target_ops) <to_insn_history>: Add argument.
5850 * target.c (target_insn_history): Add argument.
5851 * record-btrace.c (record_btrace_insn_history): Add 'self'
5852 argument.
5853
606183ac
TT
58542014-02-19 Tom Tromey <tromey@redhat.com>
5855
5856 * target.h (struct target_ops) <to_goto_record>: Add argument.
5857 * target.c (target_goto_record): Add argument.
5858 * record-full.c (record_full_goto): Add 'self' argument.
5859 * record-btrace.c (record_btrace_goto): Add 'self' argument.
5860
307a1b91
TT
58612014-02-19 Tom Tromey <tromey@redhat.com>
5862
5863 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
5864 * target.c (target_goto_record_end): Add argument.
5865 * record-full.c (record_full_goto_end): Add 'self' argument.
5866 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
5867
08475817
TT
58682014-02-19 Tom Tromey <tromey@redhat.com>
5869
5870 * target.h (struct target_ops) <to_goto_record_begin>: Add
5871 argument.
5872 * target.c (target_goto_record_begin): Add argument.
5873 * record-full.c (record_full_goto_begin): Add 'self' argument.
5874 * record-btrace.c (record_btrace_goto_begin): Add 'self'
5875 argument.
5876
1c63c994
TT
58772014-02-19 Tom Tromey <tromey@redhat.com>
5878
5879 * target.h (struct target_ops) <to_record_is_replaying>: Add
5880 argument.
5881 * target.c (target_record_is_replaying): Add argument.
5882 * record-full.c (record_full_is_replaying): Add 'self' argument.
5883 * record-btrace.c (record_btrace_is_replaying): Add 'self'
5884 argument.
5885 (record_btrace_xfer_partial, record_btrace_store_registers)
5886 (record_btrace_prepare_to_store, record_btrace_resume)
5887 (record_btrace_wait, record_btrace_decr_pc_after_break)
5888 (record_btrace_find_new_threads, record_btrace_thread_alive):
5889 Update.
5890
d1b55219
TT
58912014-02-19 Tom Tromey <tromey@redhat.com>
5892
5893 * target.h (struct target_ops) <to_delete_record>: Add argument.
5894 * target.c (target_delete_record): Add argument.
5895 * record-full.c (record_full_delete): Add 'self' argument.
5896
1390f529
TT
58972014-02-19 Tom Tromey <tromey@redhat.com>
5898
5899 * target.h (struct target_ops) <to_save_record>: Add argument.
5900 * target.c (target_save_record): Add argument.
5901 * record-full.c (record_full_save): Add 'self' argument.
5902 (record_full_save): Add 'self' argument.
5903
630d6a4a
TT
59042014-02-19 Tom Tromey <tromey@redhat.com>
5905
5906 * target.h (struct target_ops) <to_info_record>: Add argument.
5907 * target.c (target_info_record): Add argument.
5908 * record.c (info_record_command): Add argument.
5909 * record-full.c (record_full_info): Add 'self' argument.
5910 * record-btrace.c (record_btrace_info): Add 'self' argument.
5911
c6cd7c02
TT
59122014-02-19 Tom Tromey <tromey@redhat.com>
5913
5914 * target.h (struct target_ops) <to_stop_recording>: Add argument.
5915 * target.c (target_stop_recording): Add argument.
5916 * record.c (record_stop): Add argument.
5917 * record-btrace.c (record_btrace_stop_recording): Add 'self'
5918 argument.
5919
39c49f83
TT
59202014-02-19 Tom Tromey <tromey@redhat.com>
5921
5922 * target.h (struct target_ops) <to_read_btrace>: Add argument.
5923 * target.c (struct target_ops) <to_read_btrace>: Add argument.
5924 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
5925 argument.
5926 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
5927 (_initialize_amd64_linux_nat): Use it.
5928 * i386-linux-nat.c (i386_linux_read_btrace): New function.
5929 (_initialize_i386_linux_nat): Use it.
5930
1777056d
TT
59312014-02-19 Tom Tromey <tromey@redhat.com>
5932
5933 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
5934 * target.c (target_teardown_btrace): Add argument.
5935 * remote.c (remote_teardown_btrace): Add 'self' argument.
5936 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
5937 argument.
5938 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
5939 argument.
5940
25e95349
TT
59412014-02-19 Tom Tromey <tromey@redhat.com>
5942
5943 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
5944 * target.c (target_disable_btrace): Add argument.
5945 * remote.c (remote_disable_btrace): Add 'self' argument.
5946 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
5947 argument.
5948 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
5949 argument.
5950
e3c49f88
TT
59512014-02-19 Tom Tromey <tromey@redhat.com>
5952
5953 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
5954 * target.c (target_enable_btrace): Add argument.
5955 * remote.c (remote_enable_btrace): Add 'self' argument.
5956 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
5957 argument.
5958 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
5959 argument.
5960
fe38f897
TT
59612014-02-19 Tom Tromey <tromey@redhat.com>
5962
5963 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
5964 (target_can_use_agent): Add argument.
5965 * target.c (update_current_target): Update.
5966 * remote.c (remote_can_use_agent): Add 'self' argument.
5967 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
5968
2c152180
TT
59692014-02-19 Tom Tromey <tromey@redhat.com>
5970
5971 * target.h (struct target_ops) <to_use_agent>: Add argument.
5972 (target_use_agent): Add argument.
5973 * target.c (update_current_target): Update.
5974 * remote.c (remote_use_agent): Add 'self' argument.
5975 * inf-child.c (inf_child_use_agent): Add 'self' argument.
5976
a893e81f
TT
59772014-02-19 Tom Tromey <tromey@redhat.com>
5978
5979 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
5980 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
5981 (target_traceframe_info): Add argument.
5982 * target.c (update_current_target): Update.
5983 * remote.c (remote_traceframe_info): Add 'self' argument.
5984 * ctf.c (ctf_traceframe_info): Add 'self' argument.
5985
c686c57f
TT
59862014-02-19 Tom Tromey <tromey@redhat.com>
5987
5988 * target.h (target_static_tracepoint_markers_by_strid): Add
5989 argument.
5990 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
5991 'self' argument.
5992 * target.c (update_current_target): Update.
5993 * remote.c (struct target_ops)
5994 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5995 * linux-nat.c (struct target_ops)
5996 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5997
61fc905d
TT
59982014-02-19 Tom Tromey <tromey@redhat.com>
5999
6000 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
6001 Add argument.
6002 (target_static_tracepoint_marker_at): Add argument.
6003 * target.c (update_current_target): Update.
6004 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
6005 argument.
6006
c378d69d
TT
60072014-02-19 Tom Tromey <tromey@redhat.com>
6008
6009 * target.h (struct target_ops) <to_set_permissions>: Add argument.
6010 (target_set_permissions): Add argument.
6011 * target.c (update_current_target): Update.
6012 * remote.c (remote_set_permissions): Add 'self' argument.
6013 (remote_start_remote): Update.
6014
bd7ae0f5
TT
60152014-02-19 Tom Tromey <tromey@redhat.com>
6016
6017 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
6018 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
6019 (target_get_tib_address): Add argument.
6020 * target.c (update_current_target): Update.
6021 * remote.c (remote_get_tib_address): Add 'self' argument.
6022
d9e68a2c
TT
60232014-02-19 Tom Tromey <tromey@redhat.com>
6024
6025 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
6026 (target_set_trace_notes): Add argument.
6027 * target.c (update_current_target): Update.
6028 * remote.c (remote_set_trace_notes): Add 'self' argument.
6029
4da384be
TT
60302014-02-19 Tom Tromey <tromey@redhat.com>
6031
6032 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
6033 argument.
6034 (target_set_trace_buffer_size): Add argument.
6035 * target.c (update_current_target): Update.
6036 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
6037
736d5b1f
TT
60382014-02-19 Tom Tromey <tromey@redhat.com>
6039
6040 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
6041 argument.
6042 (target_set_circular_trace_buffer): Add argument.
6043 * target.c (update_current_target): Update.
6044 * remote.c (remote_set_circular_trace_buffer): Add 'self'
6045 argument.
6046
37b25738
TT
60472014-02-19 Tom Tromey <tromey@redhat.com>
6048
6049 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
6050 argument.
6051 (target_set_disconnected_tracing): Add argument.
6052 * target.c (update_current_target): Update.
6053 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
6054
0e67620a
TT
60552014-02-19 Tom Tromey <tromey@redhat.com>
6056
6057 * target.h (struct target_ops)
6058 <to_get_min_fast_tracepoint_insn_len>: Add argument.
6059 (target_get_min_fast_tracepoint_insn_len): Add argument.
6060 * target.c (update_current_target): Update.
6061 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
6062 argument.
6063
88ee6f45
TT
60642014-02-19 Tom Tromey <tromey@redhat.com>
6065
6066 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
6067 argument.
6068 (target_get_raw_trace_data): Add argument.
6069 * target.c (update_current_target): Update.
6070 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
6071
181e3713
TT
60722014-02-19 Tom Tromey <tromey@redhat.com>
6073
6074 * target.h (struct target_ops) <to_upload_trace_state_variables>:
6075 Add argument.
6076 (target_upload_trace_state_variables): Add argument.
6077 * target.c (update_current_target): Update.
6078 * remote.c (remote_upload_trace_state_variables): Add 'self'
6079 argument.
6080 (remote_start_remote): Update.
6081
ab6617cc
TT
60822014-02-19 Tom Tromey <tromey@redhat.com>
6083
6084 * target.h (struct target_ops) <to_upload_tracepoints>: Add
6085 argument.
6086 (target_upload_tracepoints): Add argument.
6087 * target.c (update_current_target): Update.
6088 * remote.c (remote_upload_tracepoints): Add 'self' argument.
6089 (remote_start_remote): Update.
6090
dc3decaf
TT
60912014-02-19 Tom Tromey <tromey@redhat.com>
6092
6093 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
6094 (target_save_trace_data): Add argument.
6095 * target.c (update_current_target): Update.
6096 * remote.c (remote_save_trace_data): Add 'self' argument.
6097
4011015b
TT
60982014-02-19 Tom Tromey <tromey@redhat.com>
6099
6100 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
6101 argument.
6102 * target.h (struct target_ops)
6103 <to_get_trace_state_variable_value>: Add argument.
6104 (target_get_trace_state_variable_value): Add argument.
6105 * target.c (update_current_target): Update.
6106 * remote.c (remote_get_trace_state_variable_value): Add 'self'
6107 argument.
6108 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
6109
bd4c6793
TT
61102014-02-19 Tom Tromey <tromey@redhat.com>
6111
6112 * tracepoint.c (tfile_trace_find): Add 'self' argument.
6113 * target.h (struct target_ops) <to_trace_find>: Add argument.
6114 (target_trace_find): Add argument.
6115 * target.c (update_current_target): Update.
6116 * remote.c (remote_trace_find): Add 'self' argument.
6117 * ctf.c (ctf_trace_find): Add 'self' argument.
6118
74499f1b
TT
61192014-02-19 Tom Tromey <tromey@redhat.com>
6120
6121 * target.h (struct target_ops) <to_trace_stop>: Add argument.
6122 (target_trace_stop): Add argument.
6123 * target.c (update_current_target): Update.
6124 * remote.c (remote_trace_stop): Add 'self' argument.
6125
db90e85c
TT
61262014-02-19 Tom Tromey <tromey@redhat.com>
6127
6128 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
6129 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
6130 argument.
6131 (target_get_tracepoint_status): Add argument.
6132 * target.c (update_current_target): Update.
6133 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
6134
8bd200f1
TT
61352014-02-19 Tom Tromey <tromey@redhat.com>
6136
6137 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
6138 * target.h (struct target_ops) <to_get_trace_status>: Add
6139 argument.
6140 (target_get_trace_status): Add argument.
6141 * target.c (update_current_target): Update.
6142 * remote.c (remote_get_trace_status): Add 'self' argument.
6143 (remote_start_remote, remote_can_download_tracepoint): Update.
6144 * ctf.c (ctf_get_trace_status): Add 'self' argument.
6145
e2d1aae3
TT
61462014-02-19 Tom Tromey <tromey@redhat.com>
6147
6148 * target.h (struct target_ops) <to_trace_start>: Add argument.
6149 (target_trace_start): Add argument.
6150 * target.c (update_current_target): Update.
6151 * remote.c (remote_trace_start): Add 'self' argument.
6152
583f9a86
TT
61532014-02-19 Tom Tromey <tromey@redhat.com>
6154
6155 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
6156 Add argument.
6157 (target_trace_set_readonly_regions): Add argument.
6158 * target.c (update_current_target): Update.
6159 * remote.c (remote_trace_set_readonly_regions): Add 'self'
6160 argument.
6161
780b049c
TT
61622014-02-19 Tom Tromey <tromey@redhat.com>
6163
6164 * target.h (struct target_ops) <to_disable_tracepoint>: Add
6165 argument.
6166 (target_disable_tracepoint): Add argument.
6167 * target.c (update_current_target): Update.
6168 * remote.c (remote_disable_tracepoint): Add 'self' argument.
6169
46670d57
TT
61702014-02-19 Tom Tromey <tromey@redhat.com>
6171
6172 * target.h (struct target_ops) <to_enable_tracepoint>: Add
6173 argument.
6174 (target_enable_tracepoint): Add argument.
6175 * target.c (update_current_target): Update.
6176 * remote.c (remote_enable_tracepoint): Add 'self' argument.
6177
559d2b81
TT
61782014-02-19 Tom Tromey <tromey@redhat.com>
6179
6180 * target.h (struct target_ops) <to_download_trace_state_variable>:
6181 Add argument.
6182 (target_download_trace_state_variable): Add argument.
6183 * target.c (update_current_target): Update.
6184 * remote.c (remote_download_trace_state_variable): Add 'self'
6185 argument.
6186
a52a8357
TT
61872014-02-19 Tom Tromey <tromey@redhat.com>
6188
6189 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
6190 argument.
6191 (target_can_download_tracepoint): Add argument.
6192 * target.c (update_current_target): Update.
6193 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
6194
548f7808
TT
61952014-02-19 Tom Tromey <tromey@redhat.com>
6196
6197 * target.h (struct target_ops) <to_download_tracepoint>: Add
6198 argument.
6199 (target_download_tracepoint): Add argument.
6200 * target.c (update_current_target): Update.
6201 * remote.c (remote_download_tracepoint): Add 'self' argument.
6202
ecae04e1
TT
62032014-02-19 Tom Tromey <tromey@redhat.com>
6204
6205 * target.h (struct target_ops) <to_trace_init>: Add argument.
6206 (target_trace_init): Add argument.
6207 * target.c (update_current_target): Update.
6208 * remote.c (remote_trace_init): Add 'self' argument.
6209
fab5aa7c
TT
62102014-02-19 Tom Tromey <tromey@redhat.com>
6211
6212 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
6213 * target.c (target_fileio_readlink): Add argument.
6214 * remote.c (remote_hostio_readlink): Add 'self' argument.
6215 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
6216
dbbca37d
TT
62172014-02-19 Tom Tromey <tromey@redhat.com>
6218
6219 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
6220 * target.c (target_fileio_unlink): Add argument.
6221 * remote.c (remote_hostio_unlink): Add 'self' argument.
6222 (remote_file_delete): Update.
6223 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
6224
df39ea25
TT
62252014-02-19 Tom Tromey <tromey@redhat.com>
6226
6227 * target.h (struct target_ops) <to_fileio_close>: Add argument.
6228 * target.c (target_fileio_close): Add argument.
6229 * remote.c (remote_hostio_close): Add 'self' argument.
6230 (remote_hostio_close_cleanup): Update.
6231 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
6232 Update.
6233 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
6234
a3be983c
TT
62352014-02-19 Tom Tromey <tromey@redhat.com>
6236
6237 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
6238 * target.c (target_fileio_pread): Add argument.
6239 * remote.c (remote_hostio_pread): Add 'self' argument.
6240 (remote_bfd_iovec_pread, remote_file_get): Update.
6241 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
6242
0d866f62
TT
62432014-02-19 Tom Tromey <tromey@redhat.com>
6244
6245 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
6246 * target.c (target_fileio_pwrite): Add argument.
6247 * remote.c (remote_hostio_pwrite): Add 'self' argument.
6248 (remote_file_put): Update.
6249 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
6250
cd897586
TT
62512014-02-19 Tom Tromey <tromey@redhat.com>
6252
6253 * target.h (struct target_ops) <to_fileio_open>: Add argument.
6254 * target.c (target_fileio_open): Add argument.
6255 * remote.c (remote_hostio_open): Add 'self' argument.
6256 (remote_bfd_iovec_open): Add 'self' argument.
6257 (remote_file_put): Add 'self' argument.
6258 (remote_file_get): Add 'self' argument.
6259 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
6260
78eff0ec
TT
62612014-02-19 Tom Tromey <tromey@redhat.com>
6262
6263 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
6264 Add argument.
6265 (target_can_run_breakpoint_commands): Add argument.
6266 * target.c (update_current_target): Update.
6267 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
6268 argument.
6269 (remote_insert_breakpoint): Add 'self' argument.
6270 (remote_insert_hw_breakpoint): Add 'self' argument.
6271 (remote_can_run_breakpoint_commands): Add 'self' argument.
6272
efcc2da7
TT
62732014-02-19 Tom Tromey <tromey@redhat.com>
6274
6275 * target.h (struct target_ops)
6276 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
6277 (target_supports_evaluation_of_breakpoint_conditions): Add
6278 argument.
6279 * target.c (update_current_target): Update.
6280 * remote.c (remote_supports_cond_breakpoints): Add 'self'
6281 argument.
6282 (remote_insert_breakpoint): Add 'self' argument.
6283 (remote_insert_hw_breakpoint): Add 'self' argument.
6284 (remote_supports_cond_breakpoints): Add 'self' argument.
6285
6de37a3a
TT
62862014-02-19 Tom Tromey <tromey@redhat.com>
6287
6288 * target.h (struct target_ops) <to_supports_string_tracing>: Add
6289 argument.
6290 (target_supports_string_tracing): Add argument.
6291 * target.c (update_current_target): Update.
6292 * remote.c (remote_supports_string_tracing): Add 'self' argument.
6293
2bfc0540
TT
62942014-02-19 Tom Tromey <tromey@redhat.com>
6295
6296 * target.h (struct target_ops)
6297 <to_supports_disable_randomization>: Add argument.
6298 * target.c (find_default_supports_disable_randomization): Add
6299 argument.
6300 (target_supports_disable_randomization): Add argument.
6301 (find_default_supports_disable_randomization): Add 'self'
6302 argument.
6303 * remote.c (extended_remote_supports_disable_randomization): Add
6304 'self' argument.
6305 (remote_supports_disable_randomization): Add 'self' argument.
6306 (extended_remote_create_inferior): Update.
6307 * linux-nat.c (linux_nat_supports_disable_randomization): Add
6308 'self' argument.
6309
7d178d6a
TT
63102014-02-19 Tom Tromey <tromey@redhat.com>
6311
6312 * target.h (struct target_ops)
6313 <to_supports_enable_disable_tracepoint>: Add argument.
6314 (target_supports_enable_disable_tracepoint): Add argument.
6315 * target.c (update_current_target): Update.
6316 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
6317 argument.
6318
86ce2668
TT
63192014-02-19 Tom Tromey <tromey@redhat.com>
6320
6321 * target.h (struct target_ops) <to_supports_multi_process>: Add
6322 argument.
6323 (target_supports_multi_process): Add argument.
6324 * target.c (update_current_target): Update.
6325 * remote.c (remote_supports_multi_process): Add 'self' argument.
6326 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
6327 argument.
6328 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
6329 argument.
6330
4c612759
TT
63312014-02-19 Tom Tromey <tromey@redhat.com>
6332
6333 * target.h (struct target_ops) <to_execution_direction>: Add
6334 argument.
6335 (target_execution_direction): Add argument.
6336 * target.c (default_execution_direction): Add 'self' argument.
6337 * record-full.c (record_full_execution_direction): Add 'self'
6338 argument.
6339
19db3e69
TT
63402014-02-19 Tom Tromey <tromey@redhat.com>
6341
6342 * target.h (struct target_ops) <to_can_execute_reverse>: Add
6343 argument.
6344 (target_can_execute_reverse): Add argument.
6345 * remote.c (remote_can_execute_reverse): Add 'self' argument.
6346 * record-full.c (record_full_can_execute_reverse): Add 'self'
6347 argument.
6348 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
6349 argument.
6350
1e6b91a4
TT
63512014-02-19 Tom Tromey <tromey@redhat.com>
6352
6353 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
6354 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
6355 argument.
6356 (target_get_ada_task_ptid): Add argument.
6357 * target.c (update_current_target): Update.
6358 (default_get_ada_task_ptid): Add 'self' argument.
6359 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
6360 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
6361 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
6362 argument.
6363 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
6364 argument.
6365 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
6366 argument.
6367 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
6368 argument.
6369 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
6370 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
6371 argument.
6372
3c80fb48
TT
63732014-02-19 Tom Tromey <tromey@redhat.com>
6374
6375 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
6376 (target_goto_bookmark): Add argument.
6377 * target.c (dummy_goto_bookmark): Add 'self' argument.
6378 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
6379
dd0e2830
TT
63802014-02-19 Tom Tromey <tromey@redhat.com>
6381
6382 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
6383 (target_get_bookmark): Add argument.
6384 * target.c (dummy_get_bookmark): Add 'self' argument.
6385 * record-full.c (record_full_get_bookmark): Add 'self' argument.
6386
fc6691b2
TT
63872014-02-19 Tom Tromey <tromey@redhat.com>
6388
6389 * target.h (struct target_ops) <to_make_corefile_notes>: Add
6390 argument.
6391 (target_make_corefile_notes): Add argument.
6392 * target.c (dummy_make_corefile_notes): Add 'self' argument.
6393 * procfs.c (procfs_make_note_section): Add 'self' argument.
6394 (procfs_make_note_section): Add 'self' argument.
6395 (procfs_make_note_section): Add 'self' argument.
6396 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
6397 argument.
6398 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
6399 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
6400 * exec.c (exec_make_note_section): Add 'self' argument.
6401 (exec_make_note_section): Add 'self' argument.
6402
2e73927c
TT
64032014-02-19 Tom Tromey <tromey@redhat.com>
6404
6405 * target.h (struct target_ops) <to_find_memory_regions>: Add
6406 argument.
6407 (target_find_memory_regions): Add argument.
6408 * target.c (dummy_find_memory_regions): Add 'self' argument.
6409 * procfs.c (proc_find_memory_regions): Add 'self' argument.
6410 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
6411 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
6412 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
6413 * exec. (exec_do_find_memory_regions): New global.
6414 (exec_set_find_memory_regions): Rewrite.
6415 (exec_find_memory_regions): New function.
6416 (init_exec_ops): Use exec_find_memory_regions.
6417
2a9a2795
TT
64182014-02-19 Tom Tromey <tromey@redhat.com>
6419
6420 * target.h (struct target_ops) <to_supports_non_stop>: Add
6421 argument.
6422 * target.c (find_default_supports_non_stop): Add argument.
6423 (target_supports_non_stop): Add argument.
6424 (find_default_supports_non_stop): Add 'self' argument.
6425 * remote.c (remote_supports_non_stop): Add 'self' argument.
6426 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
6427
4ab76ea3
TT
64282014-02-19 Tom Tromey <tromey@redhat.com>
6429
6430 * target.h (struct target_ops) <to_log_command>: Add argument.
6431 (target_log_command): Add argument.
6432 * serial.h (serial_log_command): Add 'self' argument.
6433 * serial.c (serial_log_command): Add 'self' argument.
6434
8dd27370
TT
64352014-02-19 Tom Tromey <tromey@redhat.com>
6436
6437 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
6438 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
6439 argument.
6440 (target_pid_to_exec_file): Add argument.
6441 * target.c (debug_to_pid_to_exec_file): Add argument.
6442 (update_current_target): Update.
6443 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
6444 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
6445 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
6446 (linux_handle_extended_wait): Update.
6447 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
6448 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
6449 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
6450 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
6451
1aac633b
TT
64522014-02-19 Tom Tromey <tromey@redhat.com>
6453
6454 * target.h (struct target_ops) <to_rcmd>: Add argument.
6455 (target_rcmd): Add argument.
6456 * target.c (debug_to_rcmd): Add argument.
6457 (update_current_target, do_monitor_command): Update.
6458 * remote.c (remote_rcmd): Add 'self' argument.
6459 * monitor.c (monitor_rcmd): Add 'self' argument.
6460
1eab8a48
TT
64612014-02-19 Tom Tromey <tromey@redhat.com>
6462
6463 * windows-nat.c (windows_stop): Add 'self' argument.
6464 * target.h (struct target_ops) <to_stop>: Add argument.
6465 * target.c (target_stop): Add argument.
6466 (debug_to_stop): Add argument.
6467 (update_current_target): Update.
6468 * remote.c (remote_stop): Add 'self' argument.
6469 * remote-sim.c (gdbsim_stop): Add 'self' argument.
6470 (gdbsim_cntrl_c): Update.
6471 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
6472 * procfs.c (procfs_stop): Add 'self' argument.
6473 * nto-procfs.c (procfs_stop): Add 'self' argument.
6474 * monitor.c (monitor_stop): Add 'self' argument.
6475 (monitor_open): Update.
6476 * linux-nat.c (linux_nat_stop): Add argument.
6477 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
6478 * gnu-nat.c (gnu_stop): Add 'self' argument.
6479 * darwin-nat.c (darwin_stop): Add 'self' argument.
6480
503a628d
TT
64812014-02-19 Tom Tromey <tromey@redhat.com>
6482
6483 * target.h (struct target_ops) <to_thread_name>: Add argument.
6484 * target.c (target_thread_name): Add argument.
6485 (update_current_target): Update.
6486 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
6487
c15906d8
TT
64882014-02-19 Tom Tromey <tromey@redhat.com>
6489
6490 * target.h (struct target_ops) <to_extra_thread_info>: Add
6491 argument.
6492 (target_extra_thread_info): Add argument.
6493 * target.c (update_current_target): Update.
6494 * remote.c (remote_threads_extra_info): Add 'self' argument.
6495 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
6496 argument.
6497 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
6498 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
6499 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
6500 argument.
6501 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
6502 argument.
6503 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
6504 argument.
6505 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
6506 argument.
6507
daf5e9b6
TT
65082014-02-19 Tom Tromey <tromey@redhat.com>
6509
6510 * target.h (struct target_ops) <to_program_signals>: Add argument.
6511 * target.c (target_program_signals): Add argument.
6512 * remote.c (remote_program_signals): Add 'self' argument.
6513
94bedb42
TT
65142014-02-19 Tom Tromey <tromey@redhat.com>
6515
6516 * target.h (struct target_ops) <to_pass_signals>: Add argument.
6517 * target.c (target_pass_signals): Add argument.
6518 * remote.c (remote_pass_signals): Add 'self' argument.
6519 (remote_start_remote): Update.
6520 * procfs.c (procfs_pass_signals): Add 'self' argument.
6521 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
6522 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
6523 (linux_nat_create_inferior, linux_nat_attach): Update.
6524
da82bd6b
TT
65252014-02-19 Tom Tromey <tromey@redhat.com>
6526
6527 * windows-nat.c (windows_can_run): Add 'self' argument.
6528 * target.h (struct target_ops) <to_can_run>: Add argument.
6529 (target_can_run): Add argument.
6530 * target.c (debug_to_can_run): Add argument.
6531 (update_current_target): Update.
6532 * nto-procfs.c (procfs_can_run): Add 'self' argument.
6533 * inf-child.c (inf_child_can_run): Add 'self' argument.
6534 * go32-nat.c (go32_can_run): Add 'self' argument.
6535
d796e1d6
TT
65362014-02-19 Tom Tromey <tromey@redhat.com>
6537
6538 * target.h (struct target_ops) <to_has_exited>: Add argument.
6539 (target_has_exited): Add argument.
6540 * target.c (debug_to_has_exited): Add argument.
6541 (update_current_target): Update.
6542
ff214e67
TT
65432014-02-19 Tom Tromey <tromey@redhat.com>
6544
6545 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
6546 argument.
6547 (target_set_syscall_catchpoint): Add argument.
6548 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
6549 argument.
6550 * target.c (update_current_target): Update.
6551
758e29d2
TT
65522014-02-19 Tom Tromey <tromey@redhat.com>
6553
6554 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
6555 argument.
6556 (target_remove_exec_catchpoint): Add argument.
6557 * target.c (debug_to_remove_exec_catchpoint): Add argument.
6558 (update_current_target): Update.
6559 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
6560 argument.
6561
ba025e51
TT
65622014-02-19 Tom Tromey <tromey@redhat.com>
6563
6564 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
6565 argument.
6566 (target_insert_exec_catchpoint): Add argument.
6567 * target.c (debug_to_insert_exec_catchpoint): Add argument.
6568 (update_current_target): Update.
6569 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
6570 argument.
6571
e98cf0cd
TT
65722014-02-19 Tom Tromey <tromey@redhat.com>
6573
6574 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
6575 argument.
6576 (target_remove_vfork_catchpoint): Add argument.
6577 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
6578 (update_current_target): Update.
6579 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
6580 argument.
6581
3ecc7da0
TT
65822014-02-19 Tom Tromey <tromey@redhat.com>
6583
6584 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
6585 argument.
6586 (target_insert_vfork_catchpoint): Add argument.
6587 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
6588 (update_current_target): Update.
6589 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
6590 argument.
6591
973fc227
TT
65922014-02-19 Tom Tromey <tromey@redhat.com>
6593
6594 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
6595 argument.
6596 (target_remove_fork_catchpoint): Add argument.
6597 * target.c (debug_to_remove_fork_catchpoint): Add argument.
6598 (update_current_target): Update.
6599 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
6600 argument.
6601
a863b201
TT
66022014-02-19 Tom Tromey <tromey@redhat.com>
6603
6604 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
6605 argument.
6606 (target_insert_fork_catchpoint): Add argument.
6607 * target.c (debug_to_insert_fork_catchpoint): Add argument.
6608 (update_current_target): Update.
6609 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
6610 argument.
6611
2e97a79e
TT
66122014-02-19 Tom Tromey <tromey@redhat.com>
6613
6614 * target.h (struct target_ops) <to_post_startup_inferior>: Add
6615 argument.
6616 (target_post_startup_inferior): Add argument.
6617 * target.c (debug_to_post_startup_inferior): Add argument.
6618 (update_current_target): Update.
6619 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
6620 argument.
6621 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
6622 argument.
6623 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
6624 argument.
6625 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
6626 argument.
6627 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
6628 'self' argument.
6629 (super_post_startup_inferior): Likewise.
6630 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
6631 'self' argument.
6632 (super_post_startup_inferior): Likewise.
6633 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
6634 Add 'self' argument.
6635 (super_post_startup_inferior): Likewise.
6636
71a9f134
TT
66372014-02-19 Tom Tromey <tromey@redhat.com>
6638
6639 * target.h (struct target_ops) <to_load>: Add argument.
6640 * target.c (target_load): Add argument.
6641 (debug_to_load): Add argument.
6642 (update_current_target): Update.
6643 * remote.c (remote_load): Add 'self' argument.
6644 * remote-sim.c (gdbsim_load): Add 'self' argument.
6645 * remote-mips.c (mips_load): Add 'self' argument.
6646 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
6647 * monitor.c (monitor_load): Add 'self' argument.
6648 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
6649
0a4f40a2
TT
66502014-02-19 Tom Tromey <tromey@redhat.com>
6651
6652 * target.h (struct target_ops) <to_terminal_info>: Add argument.
6653 (target_terminal_info): Add argument.
6654 * target.c (debug_to_terminal_info): Add argument.
6655 (default_terminal_info): Likewise.
6656 * inflow.c (child_terminal_info): Add 'self' argument.
6657 * inferior.h (child_terminal_info): Add 'self' argument.
6658 * go32-nat.c (go32_terminal_info): Add 'self' argument.
6659
ae3bd431
TT
66602014-02-19 Tom Tromey <tromey@redhat.com>
6661
6662 * target.h (struct target_ops) <to_terminal_save_ours>: Add
6663 argument.
6664 (target_terminal_save_ours): Add argument.
6665 * target.c (debug_to_terminal_save_ours): Add argument.
6666 (update_current_target): Update.
6667 * inflow.c (terminal_save_ours): Add 'self' argument.
6668 * inferior.h (terminal_save_ours): Add 'self' argument.
6669
e3594fd1
TT
66702014-02-19 Tom Tromey <tromey@redhat.com>
6671
6672 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
6673 (target_terminal_ours): Add argument.
6674 * target.c (debug_to_terminal_ours): Add argument.
6675 (update_current_target): Update.
6676 * remote.c (remote_terminal_ours): Add 'self' argument.
6677 (remote_close): Update.
6678 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
6679 * inflow.c (terminal_ours): Add 'self' argument.
6680 * inferior.h (terminal_ours): Add 'self' argument.
6681 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
6682
2e1e1a19
TT
66832014-02-19 Pedro Alves <palves@redhat.com>
6684 Tom Tromey <tromey@redhat.com>
6685
6686 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
6687 argument.
6688 (target_terminal_ours_for_output): Add argument.
6689 * target.c (debug_to_terminal_ours_for_output): Add argument.
6690 (update_current_target): Update.
6691 * inflow.c (terminal_ours_for_output): Add 'self' argument.
6692 * inferior.h (terminal_ours_for_output): Add 'self' argument.
6693 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
6694
d2f640d4
TT
66952014-02-19 Tom Tromey <tromey@redhat.com>
6696
6697 * target.h (struct target_ops) <to_terminal_inferior>: Add
6698 argument.
6699 * target.c (target_terminal_inferior): Add argument.
6700 (update_current_target): Update.
6701 * remote.c (remote_terminal_inferior): Add 'self' argument.
6702 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
6703 * inflow.c (terminal_inferior): Add 'self' argument.
6704 * inferior.h (terminal_inferior): Add 'self' argument.
6705 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
6706 (go32_terminal_inferior): Add 'self' argument.
6707
c42bf286
TT
67082014-02-19 Tom Tromey <tromey@redhat.com>
6709
6710 * target.h (struct target_ops) <to_terminal_init>: Add argument.
6711 (target_terminal_init): Add argument.
6712 * target.c (debug_to_terminal_init): Add argument.
6713 (update_current_target): Update.
6714 * inflow.c (terminal_init_inferior): Add 'self' argument.
6715 * inferior.h (terminal_init_inferior): Add 'self' argument.
6716 * go32-nat.c (go32_terminal_init): Add 'self' argument.
6717 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
6718
c3a5ff89
TT
67192014-02-19 Tom Tromey <tromey@redhat.com>
6720
6721 * target.h (struct target_ops)
6722 <to_can_accel_watchpoint_condition>: Add argument.
6723 (target_can_accel_watchpoint_condition): Add argument.
6724 * target.c (debug_to_can_accel_watchpoint_condition): Add
6725 argument.
6726 (update_current_target): Update.
6727 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
6728 'self' argument.
6729
31568a15
TT
67302014-02-19 Tom Tromey <tromey@redhat.com>
6731
6732 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
6733 Add argument.
6734 (target_region_ok_for_hw_watchpoint): Add argument.
6735 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
6736 (default_region_ok_for_hw_watchpoint): Add argument.
6737 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
6738 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
6739 argument.
6740 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
6741 argument.
6742 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
6743 argument.
6744 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
6745 'self' argument.
6746 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
6747 'self' argument.
6748 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
6749 'self' argument.
6750 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
6751 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
6752 'self' argument.
6753 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
6754 Add 'self' argument.
6755
7bb99c53
TT
67562014-02-19 Tom Tromey <tromey@redhat.com>
6757
6758 * target.h (struct target_ops) <to_insert_watchpoint>: Add
6759 argument.
6760 (target_insert_watchpoint): Add argument.
6761 * target.c (debug_to_insert_watchpoint): Add argument.
6762 (update_current_target): Update.
6763 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
6764 * remote.c (remote_insert_watchpoint): Add 'self' argument.
6765 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
6766 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
6767 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
6768 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
6769 argument.
6770 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
6771 (procfs_insert_hw_watchpoint): Add 'self' argument.
6772 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
6773 argument.
6774 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
6775 argument.
6776 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
6777 argument.
6778 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
6779 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
6780 argument.
6781 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
6782 'self' argument.
6783
11b5219a
TT
67842014-02-19 Tom Tromey <tromey@redhat.com>
6785
6786 * target.h (struct target_ops) <to_remove_watchpoint>: Add
6787 argument.
6788 (target_remove_watchpoint): Add argument.
6789 * target.c (debug_to_remove_watchpoint): Add argument.
6790 (update_current_target): Update.
6791 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
6792 * remote.c (remote_remove_watchpoint): Add 'self' argument.
6793 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
6794 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
6795 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
6796 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
6797 argument.
6798 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
6799 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
6800 argument.
6801 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
6802 argument.
6803 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
6804 argument.
6805 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
6806 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
6807 argument.
6808 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
6809 'self' argument.
6810
a64dc96c
TT
68112014-02-19 Tom Tromey <tromey@redhat.com>
6812
6813 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
6814 argument.
6815 (target_remove_hw_breakpoint): Add argument.
6816 * target.c (debug_to_remove_hw_breakpoint): Add argument.
6817 (update_current_target): Update.
6818 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
6819 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
6820 argument.
6821 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
6822 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
6823 argument.
6824 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
6825 'self' argument.
6826
23a26771
TT
68272014-02-19 Tom Tromey <tromey@redhat.com>
6828
6829 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
6830 argument.
6831 (target_insert_hw_breakpoint): Add argument.
6832 * target.c (debug_to_insert_hw_breakpoint): Add argument.
6833 (update_current_target): Update.
6834 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
6835 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
6836 argument.
6837 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
6838 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
6839 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
6840 argument.
6841 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
6842 'self' argument.
6843
5461485a
TT
68442014-02-19 Tom Tromey <tromey@redhat.com>
6845
6846 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
6847 argument.
6848 (target_can_use_hardware_watchpoint): Add argument.
6849 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
6850 (update_current_target): Update.
6851 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
6852 argument.
6853 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
6854 argument.
6855 * remote.c (remote_check_watch_resources): Add 'self' argument.
6856 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
6857 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
6858 argument.
6859 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
6860 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
6861 argument.
6862 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
6863 argument.
6864 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
6865 argument.
6866 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
6867 argument.
6868 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
6869 argument.
6870 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
6871 argument.
6872 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
6873 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
6874 argument.
6875 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
6876 'self' argument.
6877
f045800c
TT
68782014-02-19 Tom Tromey <tromey@redhat.com>
6879
6880 * target.h (struct target_ops) <to_post_attach>: Add argument.
6881 (target_post_attach): Add argument.
6882 * target.c (debug_to_post_attach): Add argument.
6883 (update_current_target): Update.
6884 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
6885 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
6886 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
6887 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
6888 * inf-child.c (inf_child_post_attach): Add 'self' argument.
6889
de90e03d
TT
68902014-02-19 Tom Tromey <tromey@redhat.com>
6891
6892 * windows-nat.c (windows_close): Add 'self' argument.
6893 * tracepoint.c (tfile_close): Add 'self' argument.
6894 * target.h (struct target_ops) <to_close>: Add argument.
6895 * target.c (target_close): Add argument.
6896 (update_current_target): Update.
6897 * remote.c (remote_close): Add 'self' argument.
6898 * remote-sim.c (gdbsim_close): Add 'self' argument.
6899 * remote-mips.c (mips_close): Add 'self' argument.
6900 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
6901 * record-full.c (record_full_close): Add 'self' argument.
6902 * record-btrace.c (record_btrace_close): Add 'self' argument.
6903 * monitor.h (monitor_close): Add 'self' argument.
6904 * monitor.c (monitor_close): Add 'self' argument.
6905 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
6906 * linux-nat.c (linux_nat_close): Add argument.
6907 * go32-nat.c (go32_close): Add 'self' argument.
6908 * exec.c (exec_close_1): Add 'self' argument.
6909 * ctf.c (ctf_close): Add 'self' argument.
6910 * corelow.c (core_close): Add 'self' argument.
6911 (core_close_cleanup): Update.
6912 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
6913 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
6914
9dd130a0
TT
69152014-02-19 Tom Tromey <tromey@redhat.com>
6916
6917 * remote.c (remote_load): New function.
6918 (init_remote_ops): Use it.
6919
46917d26
TT
69202014-02-19 Tom Tromey <tromey@redhat.com>
6921
6922 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
6923 argument.
6924 * common/linux-btrace.h (linux_supports_btrace): Update.
6925 * remote.c (remote_supports_btrace): Add "self" argument.
6926 * target-delegates.c: Rebuild.
6927 * target.c (target_supports_btrace): Remove.
6928 * target.h (struct target_ops) <to_supports_btrace>: Add
6929 target_ops argument.
6930 (target_supports_btrace): New define.
6931
6b84065d
TT
69322014-02-19 Tom Tromey <tromey@redhat.com>
6933
6934 * record-full.c (record_full_beneath_to_resume_ops)
6935 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
6936 (record_full_beneath_to_wait)
6937 (record_full_beneath_to_store_registers_ops)
6938 (record_full_beneath_to_store_registers)
6939 (record_full_beneath_to_xfer_partial_ops)
6940 (record_full_beneath_to_xfer_partial)
6941 (record_full_beneath_to_insert_breakpoint_ops)
6942 (record_full_beneath_to_insert_breakpoint)
6943 (record_full_beneath_to_remove_breakpoint_ops)
6944 (record_full_beneath_to_remove_breakpoint)
6945 (record_full_beneath_to_stopped_by_watchpoint)
6946 (record_full_beneath_to_stopped_data_address)
6947 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
6948 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
6949 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
6950 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
6951 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
6952 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
6953 (tmp_to_stopped_data_address, tmp_to_async): Remove.
6954 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
6955 (record_full_resume, record_full_wait_1)
6956 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
6957 (record_full_store_registers, record_full_xfer_partial)
6958 (record_full_insert_breakpoint, record_full_remove_breakpoint)
6959 (record_full_async, record_full_core_xfer_partial): Use target
6960 delegation.
6961 * target-delegates.c: Rebuild.
6962 * target.c (current_xfer_partial): Remove.
6963 (update_current_target): Do not INHERIT or de_fault
6964 to_insert_breakpoint, to_remove_breakpoint,
6965 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
6966 to_is_async_p, to_async. Do not set to_xfer_partial field.
6967 (default_xfer_partial): Simplify.
6968 (current_xfer_partial): Remove.
6969 (target_wait, target_resume): Simplify.
6970 (find_default_can_async_p, find_default_is_async_p): Update.
6971 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
6972 to_xfer_partial, to_stopped_by_watchpoint,
6973 to_stopped_data_address.
6974 (target_store_registers): Simplify.
6975 (forward_target_remove_breakpoint)
6976 (forward_target_insert_breakpoint): Remove.
6977 (target_remove_breakpoint, target_insert_breakpoint)
6978 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
6979 * target.h (struct target_ops) <to_resume, to_wait,
6980 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
6981 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
6982 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
6983 markup.
6984 (forward_target_remove_breakpoint)
6985 (forward_target_insert_breakpoint): Remove.
6986 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
6987 directly.
6988 (record_btrace_insert_breakpoint): Delegate directly.
6989
1101cb7b
TT
69902014-02-19 Tom Tromey <tromey@redhat.com>
6991
6992 PR build/7701:
6993 * target-delegates.c: New file.
6994 * target.c: Include target-delegates.c.
6995 (init_dummy_target): Call install_dummy_methods.
6996 (complete_target_initialization): Call install_delegators.
6997 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
6998 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
6999 * make-target-delegates: New file.
7000
8b06beed
TT
70012014-02-19 Tom Tromey <tromey@redhat.com>
7002
7003 * record.c (find_record_target): Use find_target_at.
7004 * target.c (find_target_at): New function.
7005 * target.h (find_target_at): Declare.
7006
6a109b6b
TT
70072014-02-19 Tom Tromey <tromey@redhat.com>
7008
7009 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
7010 Add 'ops' argument.
7011 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
7012 'ops' argument.
7013 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
7014 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
7015 'ops' argument.
7016 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
7017 argument.
7018 * linux-nat.c (save_sigtrap): Update.
7019 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
7020 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
7021 (linux_nat_close): Update.
7022 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
7023 argument.
7024 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
7025 argument.
7026 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
7027 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
7028 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
7029 (tmp_to_async): Add 'ops' argument.
7030 (record_full_stopped_by_watchpoint, record_full_async)
7031 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
7032 argument.
7033 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
7034 (m32r_stopped_by_watchpoint): Add 'ops' argument.
7035 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
7036 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
7037 (remote_is_async_p, remote_async): Add 'ops' argument.
7038 (remote_stopped_data_address): Update.
7039 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
7040 * target.c (update_current_target)
7041 (find_default_can_async_p, find_default_is_async_p): Update.
7042 (init_dummy_target): Update.
7043 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
7044 * target.h (struct target_ops) <to_stopped_by_watchpoint,
7045 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
7046 (target_can_async_p, target_is_async_p, target_async)
7047 (target_stopped_by_watchpoint): Update.
7048
e095146b
YQ
70492014-02-19 Yao Qi <yao@codesourcery.com>
7050
7051 PR gdb/16220
7052 * gdbarch.sh: Remove startup_gdbarch.
7053 * gdbarch.c: Regenerated.
7054 * gdbarch.h: Likewise.
7055
bc3c6b36
KB
70562014-02-17 Kevin Buettner <kevinb@redhat.com>
7057
7058 * rl78-tdep.c (rl78_g10_register_name): New function.
7059 (rl78_return_value): Add g10 support.
7060 (rl78_gdbarch_init): Register rl78_g10_register_name for the
7061 g10.
7062
98dc0167 70632014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
7064
7065 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
7066 (SUBDIR_GUILE_SRCS): Ditto.
7067 (scm-gsmob.o): Ditto.
7068
842c05cd
YQ
70692014-02-17 Yao Qi <yao@codesourcery.com>
7070
7071 * gnu-nat.c (ILL_RPC): Declare defined function.
7072
25c0bd04
YQ
70732014-02-17 Yao Qi <yao@codesourcery.com>
7074
7075 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
7076 mach_msg_type_number_t.
7077 (gnu_write_inferior): Likewise.
7078
a9a758e3
YQ
70792014-02-17 Yao Qi <yao@codesourcery.com>
7080
7081 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
7082 in format string.
7083 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
7084 (inf_validate_procs, inf_signal): Likewise.
7085 (S_exception_raise_request): Likewise.
7086 (do_mach_notify_dead_name): Likewise.
7087 (steal_exc_port): Likewise.
7088 (gnu_read_inferior): Change 'copy_count''s type to
7089 mach_msg_type_number_t.
7090 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
7091 format string.
7092
bae8023e
TS
70932014-02-16 Thomas Schwinge <thomas@codesourcery.com>
7094
c82f56d9
TS
7095 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
7096 flag. Adjust all users; in particular...
7097 (gnu_wait): ..., don't decrement its value in here...
7098 (gnu_create_inferior): ..., and instead set the flag in here,
7099 around the startup_inferior call, and call that one with
7100 START_INFERIOR_TRAPS_EXPECTED.
7101
3398af6a
TS
7102 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
7103 (ILL_RPC): ... new macro.
7104 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
7105 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
7106 (do_mach_notify_send_once, S_proc_setmsgport_reply)
7107 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
7108 functions with ILL_RPC macro.
7109 (S_proc_pid2task_reply, S_proc_task2pid_reply)
7110 (S_proc_task2proc_reply, S_proc_proc2task_reply)
7111 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
7112 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
7113 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
7114 (S_proc_getlogin_reply, S_proc_getsid_reply)
7115 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
7116 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
7117 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
7118 (S_proc_getnports_reply, S_proc_is_important_reply)
7119 (S_proc_get_code_reply): New stub functions, generated with
7120 ILL_RPC macro.
7121
d47642c9
TS
7122 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
7123 collected the type check structures.
7124
bae8023e
TS
7125 * reply_mig_hack.awk: Don't expect to see the auto keyword.
7126
8a55ffb0
DE
71272014-02-14 Doug Evans <dje@google.com>
7128
7129 * target.c (target_write_partial): Fix result type.
7130
c2853f3d
JM
71312014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
7132
7133 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
7134 the proper offsets to access fpregset_t.
7135
ac61d2db
SA
71362014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
7137
7138 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
7139 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
7140 * h8300-tdep.c (setmachinelist): Remove global.
7141 * hppa-tdep.c (hppa_sigtramp): Remove global.
7142 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
7143 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
7144 * ravenscar-thread.c (update_target_observer): Remove global.
7145 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
7146
9d2d0b8b
TT
71472014-02-12 Tom Tromey <tromey@redhat.com>
7148
7149 * common/rsp-low.c: Update comments.
7150 * common/rsp-low.h: Update comments.
7151
a7191e8b
TT
71522014-02-12 Tom Tromey <tromey@redhat.com>
7153
7154 * common/rsp-low.c (convert_ascii_to_int): Remove.
7155 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
7156
ff0e980e
TT
71572014-02-12 Tom Tromey <tromey@redhat.com>
7158
7159 * common/rsp-low.h (unhexify): Don't declare.
7160 * common/rsp-low.c (unhexify): Remove.
7161
e9371aff
TT
71622014-02-12 Tom Tromey <tromey@redhat.com>
7163
7164 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
7165 * common/rsp-low.c (convert_int_to_ascii): Remove.
7166
971dc0b8
TT
71672014-02-12 Tom Tromey <tromey@redhat.com>
7168
7169 * common/rsp-low.h (hexify): Don't declare.
7170 * common/rsp-low.c (hexify): Remove.
7171
0a822afb
TT
71722014-02-12 Tom Tromey <tromey@redhat.com>
7173
7174 * common/rsp-low.c (hexify): Never take strlen of argument.
7175
9f1b45b0
TT
71762014-02-12 Tom Tromey <tromey@redhat.com>
7177
7178 * common/rsp-low.c (bin2hex): Never take strlen of argument.
7179 * remote.c (extended_remote_run, remote_rcmd)
7180 (remote_download_trace_state_variable, remote_save_trace_data)
7181 (remote_set_trace_notes): Update.
7182 * tracepoint.c (encode_source_string, tfile_write_status)
7183 (tfile_write_uploaded_tsv): Update.
7184
9c3d6531
TT
71852014-02-12 Tom Tromey <tromey@redhat.com>
7186
7187 * tracepoint.c: Include rsp-low.h.
7188 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
7189 * remote.c: Include rsp-low.h.
7190 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
7191 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
7192 (remote_unescape_input): Move to common/rsp-low.c.
7193 * common/rsp-low.h: New file.
7194 * common/rsp-low.c: New file.
7195 * Makefile.in (SFILES): Add common/rsp-low.c.
7196 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
7197 (COMMON_OBS): Add rsp-low.o.
7198 (rsp-low.o): New target.
7199
01fd3ea5
TT
72002014-02-12 Tom Tromey <tromey@redhat.com>
7201
7202 * utils.h: Include print-utils.h.
7203 (host_address_to_string, plongest, pulongest, phex, phex_nz)
7204 (int_string, core_addr_to_string, core_addr_to_string_nz)
7205 (hex_string, hex_string_custom): Don't declare.
7206 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
7207 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
7208 (hex_string_custom, int_string, core_addr_to_string)
7209 (core_addr_to_string_nz, host_address_to_string): Move to
7210 common/print-utils.c.
7211 * common/print-utils.h: New file.
7212 * common/print-utils.c: New file
7213 * Makefile.in (SFILES): Add common/print-utils.c.
7214 (HFILES_NO_SRCDIR): Add common/print-utils.h.
7215 (COMMON_OBS): Add print-utils.o.
7216 (print-utils.o): New target.
7217
9fb50108
TT
72182014-02-12 Tom Tromey <tromey@redhat.com>
7219
7220 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
7221
0548b5db
MK
72222014-02-12 Mark Kettenis <kettenis@gnu.org>
7223
7224 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
7225
493443a4
MK
72262014-02-12 Mark Kettenis <kettenis@gnu.org>
7227
7228 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
7229 if a PT_IO ptrace request returns sucessfully but indicates that 0
7230 bytes were transferred.
7231
706d0883
PA
72322014-02-12 Pedro Alves <palves@redhat.com>
7233 Kevin Buettner <kevinb@redhat.com>
7234
7235 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
7236 TYPE_INSTANCE_FLAG_CODE_SPACE.
7237
5caa2f0b
PA
72382014-02-12 Pedro Alves <palves@redhat.com>
7239
7240 * h8300-tdep.c (pseudo_from_raw_register)
7241 (raw_from_pseudo_register): New functions.
7242 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
7243 them.
7244
76fd5f74
PA
72452014-02-12 Pedro Alves <palves@redhat.com>
7246
7247 * h8300-tdep.c (h8300_register_sim_regno): New function.
7248 (h8300_gdbarch_init): Install h8300_register_sim_regno as
7249 gdbarch_register_sim_regno hook.
7250
8f008406
SA
72512014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
7252
7253 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
7254
195abc10
SA
72552014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
7256
7257 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
7258
93ffa5b9
MK
72592014-02-12 Mark Kettenis <kettenis@gnu.org>
7260
7261 * obsd-tdep.h (obsd_init_abi): New prototype.
7262 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
7263 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
7264 (obsd_init_abi): New functions.
7265 * i386obsd-tdep.c: Include "obsd-tdep.h".
7266 (i386obsd_init_abi): Call obsd_init_abi.
7267 * amd64obsd-tdep.c: Include "obsd-tdep.h".
7268 (amd64obsd_init_abi): Call obsd_init_abi.
7269 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
7270 obsd-tdep.c to gdb_target_obs.
7271
49caec94
JM
72722014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
7273
7274 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
7275 double float arguments to 16-byte in the argument slots.
7276
e1402065
DE
72772014-02-11 Doug Evans <xdje42@gmail.com>
7278
7279 * configure.ac: Don't crash if pkg-config is not found and guile
7280 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
7281 in guile checks.
7282 * configure: Regenerate.
7283
edcc890f
YQ
72842014-02-11 Yao Qi <yao@codesourcery.com>
7285
7286 * aix-thread.c (aix_thread_xfer_partial): Update comments.
7287 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
7288 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7289 * gnu-nat.c (gnu_xfer_memory): Likewise.
7290 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
7291 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7292 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7293 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7294
9b409511
YQ
72952014-02-11 Yao Qi <yao@codesourcery.com>
7296
7297 * target.h (enum target_xfer_error): Rename to ...
7298 (enum target_xfer_status): ... it. New. All users updated.
7299 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
7300 New.
7301 (TARGET_XFER_STATUS_ERROR_P): New macro.
7302 (target_xfer_error_to_string): Remove declaration.
7303 (target_xfer_status_to_string): Declare.
7304 (target_xfer_partial_ftype): Adjust it.
7305 (struct target_ops) <to_xfer_partial>: Return
7306 target_xfer_status. Add argument xfered_len. Update
7307 comments.
7308 * target.c (target_xfer_error_to_string): Rename to ...
7309 (target_xfer_status_to_string): ... it. New. All callers
7310 updated.
7311 (target_read_live_memory): Likewise. Call target_xfer_partial
7312 instead of target_read.
7313 (memory_xfer_live_readonly_partial): Return
7314 target_xfer_status. Add argument xfered_len.
7315 (raw_memory_xfer_partial): Likewise.
7316 (memory_xfer_partial_1): Likewise.
7317 (memory_xfer_partial): Likewise.
7318 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
7319 properly. Update debug message.
7320 (default_xfer_partial, current_xfer_partial): Likewise.
7321 (target_write_partial): Likewise.
7322 (target_read_partial): Likewise. All callers updated.
7323 (read_whatever_is_readable): Likewise.
7324 (target_write_with_progress): Likewise.
7325 (target_read_alloc_1): Likewise.
7326
7327 * aix-thread.c (aix_thread_xfer_partial): Likewise.
7328 * auxv.c (procfs_xfer_auxv): Likewise.
7329 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
7330 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7331 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7332 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
7333 * corefile.c (read_memory): Adjust.
7334 * corelow.c (core_xfer_partial): Likewise.
7335 * ctf.c (ctf_xfer_partial): Likewise.
7336 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
7337 updated.
7338 (darwin_xfer_partial): Likewise.
7339 * exec.c (section_table_xfer_memory_partial): Likewise. All
7340 callers updated.
7341 (exec_xfer_partial): Likewise.
7342 * exec.h (section_table_xfer_memory_partial): Update
7343 declaration.
7344 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
7345 negative.
7346 (gnu_xfer_partial): Likewise.
7347 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
7348 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
7349 (ia64_hpux_xfer_solib_got): Likewise.
7350 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
7351 type of 'partial_len' to ULONGEST.
7352 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
7353 * linux-nat.c (linux_xfer_siginfo ): Likewise.
7354 (linux_nat_xfer_partial): Likewise.
7355 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
7356 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
7357 * monitor.c (monitor_xfer_memory): Likewise.
7358 (monitor_xfer_partial): Likewise.
7359 * procfs.c (procfs_xfer_partial): Likewise.
7360 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7361 * record-full.c (record_full_xfer_partial): Likewise.
7362 (record_full_core_xfer_partial): Likewise.
7363 * remote-sim.c (gdbsim_xfer_memory): Likewise.
7364 (gdbsim_xfer_partial): Likewise.
7365 * remote.c (remote_write_bytes_aux): Likewise. All callers
7366 updated.
7367 (remote_write_bytes, remote_read_bytes): Likewise. All
7368 callers updated.
7369 (remote_flash_erase): Likewise. All callers updated.
7370 (remote_write_qxfer): Likewise. All callers updated.
7371 (remote_read_qxfer): Likewise. All callers updated.
7372 (remote_xfer_partial): Likewise.
7373 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7374 (rs6000_xfer_shared_libraries): Likewise.
7375 * sol-thread.c (sol_thread_xfer_partial): Likewise.
7376 (sol_thread_xfer_partial): Likewise.
7377 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7378 (sparc_xfer_partial): Likewise.
7379 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
7380 updated.
7381 (spu_xfer_partial): Likewise.
7382 * spu-multiarch.c (spu_xfer_partial): Likewise.
7383 * tracepoint.c (tfile_xfer_partial): Likewise.
7384 * windows-nat.c (windows_xfer_memory): Likewise.
7385 (windows_xfer_shared_libraries): Likewise.
7386 (windows_xfer_partial): Likewise.
7387 * valprint.c: Replace 'target_xfer_error' with
7388 'target_xfer_status' in comments.
7389
a8e63083
JB
73902014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
7391
7392 Checked in by Joel Brobecker <brobecker@adacore.com>.
7393 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
7394
e86b67d3
JB
73952014-02-11 Joel Brobecker <brobecker@adacore.com>
7396
7397 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
7398 function parameters.
7399
4b7d1f7f
WN
74002014-02-10 Will Newton <will.newton@linaro.org>
7401
7402 * elfread.c (elf_rel_plt_read): Look for a .got section if
7403 looking up .got.plt fails.
7404 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
7405 on address passed to elf_gnu_ifunc_record_cache.
7406 (elf_gnu_ifunc_resolve_addr): Likewise.
7407 (elf_gnu_ifunc_resolver_return_stop): Likewise.
7408
961842b2
JM
74092014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
7410
7411 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
7412 (X_RETTURN): New macro.
7413 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
7414
7415 * sparc64-tdep.c (sparc64_init_abi): Hook
7416 sparc_in_function_epilogue_p.
7417
3f03e7b1
GB
74182014-02-10 Gary Benson <gbenson@redhat.com>
7419
7420 * symfile-debug.c (debug_qf_expand_symtabs_matching):
7421 Rename name_matcher to symbol_matcher.
7422
96f861ef
GB
74232014-02-10 Gary Benson <gbenson@redhat.com>
7424
7425 * symfile-debug.c (debug_qf_expand_symtabs_matching):
7426 Use expand_symtabs_file_matcher_ftype and
7427 expand_symtabs_symbol_matcher_ftype.
7428
ee01b665
JB
74292014-02-10 Joel Brobecker <brobecker@adacore.com>
7430
7431 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
7432 (struct ada_symbol_cache): New.
7433 (ada_free_symbol_cache): Forward declare.
7434 (struct ada_pspace_data): New.
7435 (ada_pspace_data_handle): New static global.
7436 (get_ada_pspace_data, ada_pspace_data_cleanup)
7437 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
7438 (cache_space, cache): Delete, now folded inside struct
7439 ada_pspace_data.
7440 (ada_get_symbol_cache): New function.
7441 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
7442 implementation.
7443 (_initialize_ada_language): Remove initialization of cache_space.
7444 Move call to observer_attach_inferior_exit up, grouping it
7445 with the other observer registrations inside this function.
7446 Rename command to be more general. Add call to
7447 register_program_space_data_with_cleanup.
7448
143adbbf
JB
74492014-02-10 Joel Brobecker <brobecker@adacore.com>
7450
7451 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
7452 ada_new_objfile_observer.
7453 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
7454 (_initialize_tasks): Update uses of ada_new_objfile_observer
7455 and ada_tasks_normal_stop_observer.
7456
aa4fb036
JB
74572014-02-10 Joel Brobecker <brobecker@adacore.com>
7458
7459 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
7460 returned by the 'Length attribute to integer.
7461
9dee8cc6
JB
74622014-02-10 Joel Brobecker <brobecker@adacore.com>
7463
7464 * ada-lang.c (_initialize_ada_language): Initialize
7465 cache_space obstack.
7466
3d9434b5
JB
74672014-02-10 Joel Brobecker <brobecker@adacore.com>
7468
7469 * ada-lang.c (HASH_SIZE): New macro.
7470 (struct cache_entry): New type.
7471 (cache_space, cache): New static globals.
7472 (ada_clear_symbol_cache, find_entry): New functions.
7473 (lookup_cached_symbol, cache_symbol): Implement.
7474 (ada_new_objfile_observer, ada_free_objfile_observer): New.
7475 (_initialize_ada_language): Attach ada_new_objfile_observer
7476 and ada_free_objfile_observer.
7477
f0c5f9b2
JB
74782014-02-10 Joel Brobecker <brobecker@adacore.com>
7479
7480 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
7481 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
7482 struct block * parameter.
7483 (ada_lookup_symbol_list_worker): Constify local variable "block".
7484 Remove cast which is no longer necessary.
7485
ed3ef339
DE
74862014-02-10 Doug Evans <xdje42@gmail.com>
7487
7488 Add Guile as an extension language.
7489 * NEWS: Mention Guile scripting.
7490 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
7491 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
7492 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
7493 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
7494 (CLIBS): Add GUILE_LIBS.
7495 (install-guile): New rule.
7496 (guile.o): New rule.
7497 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
7498 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
7499 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
7500 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
7501 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
7502 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
7503 (scm-type.o, scm-utils.o, scm-value.o): New rules.
7504 * configure.ac: New option --with-guile.
7505 * configure: Regenerate.
7506 * config.in: Regenerate.
7507 * auto-load.c: Remove #include "python/python.h". Add #include
7508 "gdb/section-scripts.h".
7509 (source_section_scripts): Handle Guile scripts.
7510 (_initialize_auto_load): Add name of Guile objfile script to
7511 scripts-directory help text.
7512 * breakpoint.c (condition_command): Tweak comment to include Scheme.
7513 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
7514 (struct breakpoint): New member scm_bp_object.
7515 * defs.h (enum command_control_type): New value guile_control.
7516 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
7517 "extension.h".
7518 (show_user): Update comment.
7519 (_initialize_cli_cmds): Update help text for "show user". Update help
7520 text for max-user-call-depth.
7521 * cli/cli-script.c: Remove #include "python/python.h". Add #include
7522 "extension.h".
7523 (multi_line_command_p): Add guile_control.
7524 (print_command_lines): Handle guile_control.
7525 (execute_control_command, recurse_read_control_structure): Ditto.
7526 (process_next_line): Recognize "guile" commands.
7527 * disasm.c (gdb_disassemble_info): Make non-static.
7528 * disasm.h: #include "dis-asm.h".
7529 (struct gdbarch): Add forward decl.
7530 (gdb_disassemble_info): Declare.
7531 * extension.c: #include "guile/guile.h".
7532 (extension_languages): Add guile.
7533 (get_ext_lang_defn): Handle EXT_LANG_GDB.
7534 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
7535 * gdbtypes.c (get_unsigned_type_max): New function.
7536 (get_signed_type_minmax): New function.
7537 * gdbtypes.h (get_unsigned_type_max): Declare.
7538 (get_signed_type_minmax): Declare.
7539 * guile/README: New file.
7540 * guile/guile-internal.h: New file.
7541 * guile/guile.c: New file.
7542 * guile/guile.h: New file.
7543 * guile/scm-arch.c: New file.
7544 * guile/scm-auto-load.c: New file.
7545 * guile/scm-block.c: New file.
7546 * guile/scm-breakpoint.c: New file.
7547 * guile/scm-disasm.c: New file.
7548 * guile/scm-exception.c: New file.
7549 * guile/scm-frame.c: New file.
7550 * guile/scm-gsmob.c: New file.
7551 * guile/scm-iterator.c: New file.
7552 * guile/scm-lazy-string.c: New file.
7553 * guile/scm-math.c: New file.
7554 * guile/scm-objfile.c: New file.
7555 * guile/scm-ports.c: New file.
7556 * guile/scm-pretty-print.c: New file.
7557 * guile/scm-safe-call.c: New file.
7558 * guile/scm-string.c: New file.
7559 * guile/scm-symbol.c: New file.
7560 * guile/scm-symtab.c: New file.
7561 * guile/scm-type.c: New file.
7562 * guile/scm-utils.c: New file.
7563 * guile/scm-value.c: New file.
7564 * guile/lib/gdb.scm: New file.
7565 * guile/lib/gdb/boot.scm: New file.
7566 * guile/lib/gdb/experimental.scm: New file.
7567 * guile/lib/gdb/init.scm: New file.
7568 * guile/lib/gdb/iterator.scm: New file.
7569 * guile/lib/gdb/printing.scm: New file.
7570 * guile/lib/gdb/types.scm: New file.
7571 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
7572 (VPATH): Add $(GUILE_SRCDIR).
7573 (GUILE_DIR): New variable.
7574 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
7575 (all): Add stamp-guile dependency.
7576 (stamp-guile): New rule.
7577 (clean-guile, install-guile, uninstall-guile): New rules.
7578 (install-only): Add install-guile dependency.
7579 (uninstall): Add uninstall-guile dependency.
7580 (clean): Add clean-guile dependency.
7581
ac020ec5
DE
75822014-02-09 Doug Evans <xdje42@gmail.com>
7583
7584 Revert this patch (which I approved, mea culpa).
7585
7586 2014-02-08 Mark Kettenis <kettenis@gnu.org>
7587
7588 * Makefile.in (all-lib): Remove.
7589 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
7590
2a081c59
JK
75912014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 Fix Python stack corruption.
7594 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
7595 gdb_py_longest.
7596
0a6bd22d
MK
75972014-02-08 Mark Kettenis <kettenis@gnu.org>
7598
7599 * Makefile.in (all-lib): Remove.
7600 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
7601
1a860409
DE
76022014-02-07 Doug Evans <dje@google.com>
7603
7604 * extension-priv.h (extension_language_script_ops): Add comment.
7605 (extension_language_ops): Add comment.
caf5a491 7606 (active_ext_lang_state): Fix typo in comment.
1a860409 7607
d137e6dc
PA
76082014-02-07 Pedro Alves <palves@redhat.com>
7609
0dcb32c3 7610 PR breakpoints/16292
d137e6dc
PA
7611 * infrun.c (handle_signal_stop) <signal arrives while stepping
7612 over a breakpoint>: Switch back to the stepping thread.
7613
ce6d0892
YQ
76142014-02-07 Yao Qi <yao@codesourcery.com>
7615
7616 * target.c (target_xfer_partial): Return zero if LEN is zero.
7617
2ed4b548
YQ
76182014-02-07 Yao Qi <yao@codesourcery.com>
7619
7620 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
7621 (ld_so_xfer_auxv): Likewise.
7622 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7623 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7624 * corelow.c (core_xfer_partial): Likewise.
7625 * ctf.c (ctf_xfer_partial): Likewise.
7626 * darwin-nat.c (darwin_read_dyld_info): Likewise.
7627 (darwin_xfer_partial): Likewise.
7628 * exec.c (exec_xfer_partial): Likewise.
7629 * gnu-nat.c (gnu_xfer_partial): Likewise.
7630 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
7631 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
7632 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
7633 * linux-nat.c (linux_xfer_siginfo): Likewise.
7634 (linux_proc_xfer_spu): Likewise.
7635 * procfs.c (procfs_xfer_partial): Likewise.
7636 * record-full.c (record_full_xfer_partial): Likewise.
7637 (record_full_core_xfer_partial): Likewise.
7638 * remote-sim.c (gdbsim_xfer_partial): Likewise.
7639 * remote.c (remote_write_qxfer): Likewise.
7640 (remote_write_qxfer, remote_read_qxfer): Likewise.
7641 (remote_xfer_partial): Likewise.
7642 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7643 (rs6000_xfer_shared_libraries): Likewise.
7644 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7645 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7646 (spu_xfer_partial): Likewise.
7647 * target.c (memory_xfer_partial_1): Likewise.
7648 * tracepoint.c (tfile_xfer_partial): Likewise.
7649 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
7650 (windows_xfer_partial): Likewise.
7651
c09f20e4
YQ
76522014-02-07 Yao Qi <yao@codesourcery.com>
7653
7654 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
7655 comments.
7656 (core_xfer_shared_libraries_aix): Likewise.
7657 * gdbarch.c, gdbarch.h: Regenerated.
7658 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
7659 ULONGEST. Change 'len_avail' type to ULONGEST.
7660 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7661 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7662 declaration.
7663 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
7664
8635b3bf
YQ
76652014-02-07 Yao Qi <yao@codesourcery.com>
7666
7667 * corefile.c (memory_error): Get 'exception' from ERR and pass
7668 'exception' to throw_error.
7669
6dddc817
DE
76702014-02-06 Doug Evans <xdje42@gmail.com>
7671
7672 * configure.ac (libpython checking): Remove all but python.o from
7673 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
7674 * configure: Regenerate.
7675
7676 * Makefile.in (SFILES): Add extension.c.
7677 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
7678 (COMMON_OBS): Add extension.o.
7679 * extension.h: New file.
7680 * extension-priv.h: New file.
7681 * extension.c: New file.
7682
7683 * python/python-internal.h: #include "extension.h".
7684 (gdbpy_auto_load_enabled): Declare.
7685 (gdbpy_apply_val_pretty_printer): Declare.
7686 (gdbpy_apply_frame_filter): Declare.
7687 (gdbpy_preserve_values): Declare.
7688 (gdbpy_breakpoint_cond_says_stop): Declare.
7689 (gdbpy_breakpoint_has_cond): Declare.
7690 (void source_python_script_for_objfile): Delete.
7691 * python/python.c: #include "extension-priv.h".
7692 Delete inclusion of "observer.h".
7693 (extension_language_python): Moved here and renamed from
7694 script_language_python in py-auto-load.c.
7695 Redefined to be of type extension_language_defn.
7696 (python_extension_script_ops): New global.
7697 (python_extension_ops): New global.
7698 (struct python_env): New member previous_active.
7699 (restore_python_env): Call restore_active_ext_lang.
7700 (ensure_python_env): Call set_active_ext_lang.
7701 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
7702 New arg extlang.
7703 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
7704 New arg extlang.
7705 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
7706 New arg extlang.
7707 (gdbpy_eval_from_control_command): Renamed from
7708 eval_python_from_control_command, made static. New arg extlang.
7709 (gdbpy_source_script) Renamed from source_python_script, made static.
7710 New arg extlang.
7711 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
7712 result to int. New arg extlang.
7713 (gdbpy_source_objfile_script): Renamed from
7714 source_python_script_for_objfile, made static. New arg extlang.
7715 (gdbpy_start_type_printers): Renamed from start_type_printers, made
7716 static. New args extlang, extlang_printers. Change result type to
7717 "void".
7718 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
7719 static. New arg extlang. Rename arg printers to extlang_printers
7720 and change type to ext_lang_type_printers *.
7721 (gdbpy_free_type_printers): Renamed from free_type_printers, made
7722 static. Replace argument arg with extlang, extlang_printers.
7723 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
7724 (!HAVE_PYTHON, source_python_script): Delete.
7725 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
7726 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
7727 (!HAVE_PYTHON, start_type_printers): Delete.
7728 (!HAVE_PYTHON, apply_type_printers): Delete.
7729 (!HAVE_PYTHON, free_type_printers): Delete.
7730 (_initialize_python): Delete call to observer_attach_before_prompt.
7731 (finalize_python): Set/restore active extension language.
7732 (gdbpy_finish_initialization) Renamed from
7733 finish_python_initialization, made static. New arg extlang.
7734 (gdbpy_initialized): New function.
7735 * python/python.h: #include "extension.h". Delete #include
7736 "value.h", "mi/mi-cmds.h".
7737 (extension_language_python): Declare.
7738 (GDBPY_AUTO_FILE_NAME): Delete.
7739 (enum py_bt_status): Moved to extension.h and renamed to
7740 ext_lang_bt_status.
7741 (enum frame_filter_flags): Moved to extension.h.
7742 (enum py_frame_args): Moved to extension.h and renamed to
7743 ext_lang_frame_args.
7744 (finish_python_initialization): Delete.
7745 (eval_python_from_control_command): Delete.
7746 (source_python_script): Delete.
7747 (apply_val_pretty_printer): Delete.
7748 (apply_frame_filter): Delete.
7749 (preserve_python_values): Delete.
7750 (gdbpy_script_language_defn): Delete.
7751 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
7752 (start_type_printers, apply_type_printers, free_type_printers): Delete.
7753
7754 * auto-load.c: #include "extension.h".
7755 (GDB_AUTO_FILE_NAME): Delete.
7756 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
7757 (script_language_gdb): Delete, moved to extension.c and renamed to
7758 extension_language_gdb.
7759 (source_gdb_script_for_objfile): Delete.
7760 (auto_load_pspace_info): New member unsupported_script_warning_printed.
7761 (loaded_script): Change type of language member to
7762 struct extension_language_defn *.
7763 (init_loaded_scripts_info): Initialize
7764 unsupported_script_warning_printed.
7765 (maybe_add_script): Make static. Change type of language arg to
7766 struct extension_language_defn *.
7767 (clear_section_scripts): Reset unsupported_script_warning_printed.
7768 (auto_load_objfile_script_1): Rewrite to use extension language API.
7769 (auto_load_objfile_script): Make public. Remove support-compiled-in
7770 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
7771 (source_section_scripts): Rewrite to use extension language API.
7772 (load_auto_scripts_for_objfile): Rewrite to use
7773 auto_load_scripts_for_objfile.
7774 (collect_matching_scripts_data): Change type of language member to
7775 struct extension_language_defn *.
7776 (auto_load_info_scripts): Change type of language arg to
7777 struct extension_language_defn *.
7778 (unsupported_script_warning_print): New function.
7779 (script_not_found_warning_print): Make static.
7780 (_initialize_auto_load): Rewrite construction of scripts-directory
7781 help.
7782 * auto-load.h (struct objfile): Add forward decl.
7783 (struct script_language): Delete.
7784 (struct auto_load_pspace_info): Add forward decl.
7785 (struct extension_language_defn): Add forward decl.
7786 (maybe_add_script): Delete.
7787 (auto_load_objfile_script): Declare.
7788 (script_not_found_warning_print): Delete.
7789 (auto_load_info_scripts): Update prototype.
7790 (auto_load_gdb_scripts_enabled): Declare.
7791 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
7792 auto_load_python_scripts_enabled and made public.
7793 (script_language_python): Delete, moved to python.c.
7794 (gdbpy_script_language_defn): Delete.
7795 (info_auto_load_python_scripts): Update to use
7796 extension_language_python.
7797
7798 * breakpoint.c (condition_command): Replace call to
7799 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
7800 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
7801 with call to breakpoint_ext_lang_cond_says_stop.
7802 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
7803 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
7804 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
7805 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
7806 New arg slang.
7807 (local_setattro): Print name of extension language with existing
7808 stop condition.
7809
7810 * valprint.c (val_print, value_print): Update to call
7811 apply_ext_lang_val_pretty_printer.
7812 * cp-valprint.c (cp_print_value): Update call to
7813 apply_ext_lang_val_pretty_printer.
7814 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
7815 (gdbpy_apply_val_pretty_printer): Renamed from
7816 apply_val_pretty_printer. New arg extlang.
7817 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
7818
7819 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
7820 extension language API.
7821 * cli/cli-script.c (execute_control_command): Update to call
7822 eval_ext_lang_from_control_command.
7823
7824 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
7825 enum ext_lang_bt_status values. Update call to
7826 apply_ext_lang_frame_filter.
7827 (mi_cmd_stack_list_locals): Ditto.
7828 (mi_cmd_stack_list_args): Ditto.
7829 (mi_cmd_stack_list_variables): Ditto.
7830 * mi/mi-main.c: Delete #include "python/python-internal.h".
7831 Add #include "extension.h".
7832 (mi_cmd_list_features): Replace reference to python internal variable
7833 gdb_python_initialized with call to ext_lang_initialized_p.
7834
7835 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
7836 Update to use enum ext_lang_frame_args. Update to call
7837 apply_ext_lang_frame_filter.
7838 * python/py-framefilter.c (extract_sym): Update to use enum
7839 ext_lang_bt_status.
7840 (extract_value, py_print_type, py_print_value): Ditto.
7841 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
7842 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
7843 (py_print_frame): Ditto.
7844 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
7845 New arg extlang. Update to use enum ext_lang_bt_status.
7846
7847 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
7848 finish_python_initialization. Replace with call to
7849 finish_ext_lang_initialization.
7850
7851 * typeprint.c (do_free_global_table): Update to call
7852 free_ext_lang_type_printers.
7853 (create_global_typedef_table): Update to call
7854 start_ext_lang_type_printers.
7855 (find_global_typedef): Update to call apply_ext_lang_type_printers.
7856 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
7857 (type_print_options): Change type of global_printers from "void *"
7858 to "struct ext_lang_type_printers *".
7859
7860 * value.c (preserve_values): Update to call preserve_ext_lang_values.
7861 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
7862 (gdbpy_preserve_values): Renamed from preserve_python_values.
7863 New arg extlang.
7864 (!HAVE_PYTHON, preserve_python_values): Delete.
7865
7866 * utils.c (quit_flag): Delete, moved to extension.c.
7867 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
7868 extension.c.
7869
7870 * eval.c: Delete #include "python/python.h".
7871 * main.c: Delete #include "python/python.h".
7872
7873 * defs.h: Update comment.
7874
6af79985
JB
78752014-02-06 Joel Brobecker <brobecker@adacore.com>
7876
7877 GDB 7.7 released.
7878
12c5175d
MK
78792014-02-05 Mark Kettenis <kettenis@gnu.org>
7880
7881 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
7882 defined.
7883
8dc5b319
YQ
78842014-02-05 Yao Qi <yao@codesourcery.com>
7885
7886 * remote.c (remote_pass_signals): Remove local 'buf' and use
7887 rs->buf.
7888 (remote_program_signals): Likewise.
7889
de7b2893
YQ
78902014-02-05 Yao Qi <yao@codesourcery.com>
7891
7892 * ctf.c: Include "inferior.h" and "gdbthread.h".
7893 (CTF_PID): A new macro.
7894 (ctf_open): Call inferior_appeared and add_thread_silent.
7895 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
7896 (ctf_thread_alive): New function.
7897 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
7898
66d032ac
YQ
78992014-02-05 Yao Qi <yao@codesourcery.com>
7900
7901 Revert this patch:
7902
7903 2013-05-24 Yao Qi <yao@codesourcery.com>
7904
7905 * tracepoint.c (TFILE_PID): Remove.
7906 (tfile_open): Don't add thread and inferior.
7907 (tfile_close): Don't set 'inferior_ptid'. Don't call
7908 exit_inferior_silent.
7909 (tfile_thread_alive): Remove.
7910 (init_tfile_ops): Don't set field 'to_thread_alive' of
7911 tfile_ops.
7912
f4ccffad
CE
79132014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
7914
7915 * remote.c (remote_start_remote): Call remote_check_symbols even
7916 if only symbol-file (not file) has been given.
7917
591a12a1
UW
79182014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7919
7920 * gdbarch.sh (skip_entrypoint): New callback.
7921 * gdbarch.c, gdbarch.h: Regenerate.
7922 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
7923 * infrun.c (fill_in_stop_func): Likewise.
7924 * ppc-linux-tdep.c: Include "elf/ppc64.h".
7925 (ppc_elfv2_elf_make_msymbol_special): New function.
7926 (ppc_elfv2_skip_entrypoint): Likewise.
7927 (ppc_linux_init_abi): Install them for ELFv2.
7928
cc0e89c5
UW
79292014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7930
7931 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
7932 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
7933 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
7934 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
7935 structures returned in GPRs.
7936
52f548e4
UW
79372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7938
7939 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
7940 offset to the stack parameter list for the ELFv2 ABI.
7941
d4094b6a
UW
79422014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7943
7944 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
7945 set_gdbarch_convert_from_func_ptr_addr and
7946 set_gdbarch_elf_make_msymbol_special for ELFv1.
7947 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
7948 function descriptors on ELFv1.
7949 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
7950 set up r12 at function entry.
7951
cd453cd0
UW
79522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7953
7954 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
7955 (struct gdbarch_tdep): New member elf_abi.
7956
7957 * rs6000-tdep.c: Include "elf/ppc64.h".
7958 (rs6000_gdbarch_init): Detect ELF ABI version.
7959
0ff3e01f
UW
79602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7961
7962 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
7963 within a register pair holding a DFP 128-bit value on little-endian.
7964 (ppc64_sysv_abi_return_value_base): Likewise.
7965 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
7966 (dfp_pseudo_register_write): Likewise.
7967
5b757e5d
UW
79682014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7969
7970 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
7971 offset on little-endian when passing _Decimal32.
7972 (ppc64_sysv_abi_return_value_base): Likewise for return values.
7973
084ee545
UW
79742014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7975
7976 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
7977 of the overlapped FP register within the VSX register on little-
7978 endian platforms.
7979 (efpr_pseudo_register_write): Likewise.
7980
d63167af
UW
79812014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7982
7983 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
7984 offset on little-endian when passing small structures.
7985
e765b44c
UW
79862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7987
7988 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
7989 (struct ppc64_sysv_argpos): New data structure.
7990 (ppc64_sysv_abi_push_float): Remove.
7991 (ppc64_sysv_abi_push_val): New function.
7992 (ppc64_sysv_abi_push_integer): Likewise.
7993 (ppc64_sysv_abi_push_freg): Likewise.
7994 (ppc64_sysv_abi_push_vreg): Likewise.
7995 (ppc64_sysv_abi_push_param): Likewise.
7996 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
7997 (ppc64_sysv_abi_return_value_base): New function.
7998 (ppc64_sysv_abi_return_value): Refactor to use it.
7999
36c24d95
UW
80002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8001
8002 * NEWS: Document new target powerpc64le-*-linux*.
8003
26fd9228
MK
80042014-02-04 Mark Kettenis <kettenis@gnu.org>
8005
8006 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
8007 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
8008 core dumps.
8009 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
8010 register set used in ELF core dumps. Add floating-point register set.
8011
c5bb7362
KB
80122014-02-03 Kevin Buettner <kevinb@redhat.com>
8013
8014 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
8015 dwarf2_to_gdb[] table using symbolic constants. Adjust
8016 penultimate entry from number representing the PC register
8017 to symbolic constant representing the MDR register. Add
8018 constant for the PC register to the end of the table.
8019
af09351e
MK
80202014-02-03 Mark Kettenis <kettenis@gnu.org>
8021
8022 * bsd-kvm.c: Include <sys/param.h>
8023
8507e05d
MK
80242014-02-03 Mark Kettenis <kettenis@gnu.org>
8025
8026 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
8027
ae56bfb8
JB
80282014-01-31 Joel Brobecker <brobecker@adacore.com>
8029
8030 * ada-lang.h (clear_ada_sym_cache): Delete.
8031
718ee4dc
UW
80322014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
8033
8034 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
8035
401e27fd
JM
80362014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8037
8038 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
8039 the sigreturn register save area only if the syscall is
8040 sigreturn.
8041
a7c88acd
JB
80422014-01-29 Joel Brobecker <brobecker@adacore.com>
8043
8044 * valops.c (value_slice): Minor reformatting.
8045
fa0079ea
UW
80462014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
8047
8048 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
8049
c6044dd1
JB
80502014-01-28 Joel Brobecker <brobecker@adacore.com>
8051
8052 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
8053 New static globals.
8054 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
8055 (ada_ignore_descriptive_types_p): New static global.
8056 (find_parallel_type_by_descriptive_type): Return immediately
8057 if ada_ignore_descriptive_types_p is set.
8058 (_initialize_ada_language): Register new commands "maintenance
8059 set ada", "maintenance show ada", "maintenance set ada
8060 ignore-descriptive-types" and "maintenance show ada
8061 ignore-descriptive-types".
8062 * NEWS: Add entry for new "maint ada set/show
8063 ignore-descriptive-types" commands.
8064
568e808b
MM
80652014-01-27 Markus Metzger <markus.t.metzger@intel.com>
8066
8067 * record-btrace.c (record_btrace_close): Call btrace_teardown
8068 for all threads.
8069
467d141b
JB
80702014-01-27 Joel Brobecker <brobecker@adacore.com>
8071
8072 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
8073 "ui-out.h".
8074
fb151210
JB
80752014-01-27 Joel Brobecker <brobecker@adacore.com>
8076
8077 * ada-typeprint (type_is_full_subrange_of_target_type):
8078 New function.
8079 (print_range): Add parameter bounds_prefered_p. If not set,
8080 try printing range types using the name of their base type.
8081 (print_range_type): Add parameter bounds_prefered_p.
8082 Use it in call to print_range.
8083 (print_array_type, ada_print_type): Update calls to print_range
8084 and print_range_type.
8085
aba02109
JB
80862014-01-27 Joel Brobecker <brobecker@adacore.com>
8087
8088 * ada-typeprint.c (print_array_type, print_choices, print_range)
8089 (print_range_bound, print_dynamic_range_bound, print_range_type):
8090 Remove declaration.
8091
e62e21fd
JB
80922014-01-27 Joel Brobecker <brobecker@adacore.com>
8093
8094 * ada-typeprint.c (print_range): Add missing empty line
8095 after local declaration.
8096
859cf5d1
JB
80972014-01-27 Joel Brobecker <brobecker@adacore.com>
8098
8099 * ada-valprint.c (print_optional_low_bound): Get index_type's
8100 target type for as long as it is a TYPE_CODE_RANGE.
8101
25790f6f
JB
81022014-01-27 Joel Brobecker <brobecker@adacore.com>
8103
8104 * procfs.c (procfs_make_note_section): Remove assertion and
8105 associated comment.
8106
6b6aa828
YQ
81072014-01-24 Yao Qi <yao@codesourcery.com>
8108
8109 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
8110 * corelow.c (get_core_siginfo): Likewise.
8111
5d6df423
YQ
81122014-01-24 Yao Qi <yao@codesourcery.com>
8113
8114 * remote.c (remote_write_bytes_aux): Change type of 'len' to
8115 ULONGEST. Don't check 'len' is negative.
8116 (remote_write_bytes): Change type of 'len' to ULONGEST.
8117
83b645b8
TT
81182014-01-23 Tom Tromey <tromey@redhat.com>
8119
8120 PR python/16485:
8121 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
8122 Handle exception from frame.block.
8123 (FrameVars.fetch_frame_locals): Likewise.
8124
0740f8d8
TT
81252014-01-23 Tom Tromey <tromey@redhat.com>
8126
8127 PR python/16487:
8128 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
8129 on a NULL pointer. Move "goto error" to correct place.
8130
21909fa1
TT
81312014-01-23 Tom Tromey <tromey@redhat.com>
8132
8133 PR python/16491:
8134 * python/py-framefilter.c (apply_frame_filter): Call
8135 ensure_python_env after computing gdbarch.
8136
17fde6d0
YQ
81372014-01-23 Yao Qi <yao@codesourcery.com>
8138
8139 * target.c (raw_memory_xfer_partial): Change argument type
8140 from void * to gdb_byte *.
8141 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
8142
87ce2a04
DE
81432014-01-22 Doug Evans <dje@google.com>
8144
8145 New gdbserver option --debug-format=timestamp.
8146 * NEWS: Mention it.
8147
237b092b
AA
81482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8149
8150 * syscalls/s390x-linux.xml: New file.
8151 * syscalls/s390-linux.xml: New file.
8152 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
8153 (XML_SYSCALL_FILENAME_S390X): Likewise.
8154 (op_svc): New enum value for SVC opcode.
8155 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
8156 (s390_linux_get_syscall_number): New function.
8157 (s390_gdbarch_init): Register '*get_syscall_number' and the
8158 syscall xml file name.
8159 * data-directory/Makefile.in (SYSCALLS_FILES): Add
8160 "s390-linux.xml" and "s390x-linux.xml".
8161 * NEWS: Announce new feature.
8162
54bff650
BS
81632014-01-22 Baruch Siach <baruch@tkos.co.il>
8164
8165 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
8166
14e361d7
PA
81672014-01-22 Pedro Alves <palves@redhat.com>
8168
8169 * xtensa-config.c: Include defs.h.
8170
46bbb3ed
JB
81712014-01-22 Joel Brobecker <brobecker@adacore.com>
8172
8173 * common/common-utils.h: Add "ARI:" comment beside __func__
8174 reference.
8175
3a80edfc
JB
81762014-01-22 Joel Brobecker <brobecker@adacore.com>
8177
8178 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
8179 documentation a bit.
8180
4869db5e
RM
81812014-01-21 Roland McGrath <mcgrathr@google.com>
8182
8183 * configure.ac: Call AM_PROG_INSTALL_STRIP.
8184 * configure: Regenerate.
8185 * aclocal.m4: Regenerate.
8186 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
8187 New substituted variables.
8188 (install-strip): New target.
8189 (INSTALL_SCRIPT): New substituted variable.
8190 (FLAGS_TO_PASS): Add it.
8191 (install-only): Use $(INSTALL_SCRIPT) rather than
8192 $(INSTALL_PROGRAM) for gcore.
8193
9ea4267d
TT
81942014-01-20 Tom Tromey <tromey@redhat.com>
8195
8196 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
8197 together.
8198
1f2bdf09
TT
81992014-01-20 Tom Tromey <tromey@redhat.com>
8200
8201 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
8202 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
8203 (deprecated_cmd_warning, complete_on_cmdlist): Update.
8204 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
8205 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
8206 (struct cmd_list_element) <flags>: Remove.
8207 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
8208 doc_allocated>: New fields.
8209 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
8210 bitfields.
8211 * maint.c (maintenance_do_deprecate): Update.
8212 * top.c (execute_command): Update.
8213
e671835b
BS
82142014-01-20 Baruch Siach <baruch@tkos.co.il>
8215
8216 * xtensa-linux-nat.c: Include asm/ptrace.h.
8217
50367cd2
IB
82182014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8219
8220 * Makefile.in (SFILES): Add d-support.c.
8221 (COMMON_OBS): Add d-support.o.
8222 * d-lang.h (d_parse_symbol): Add comment, now defined in
8223 d-support.c.
8224 * d-lang.c (parse_call_convention)
8225 (parse_attributes, parse_function_types)
8226 (parse_function_args, parse_type, parse_identifier)
8227 (call_convention_p, d_parse_symbol): Move functions to ...
8228 * d-support.c: ... New file.
8229
ec9f644a
IB
82302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8231
8232 * d-lang.h (d_parse_symbol): Add declaration.
8233 * d-lang.c (extract_identifiers)
8234 (extract_type_info): Remove functions.
8235 (parse_call_convention, parse_attributes)
8236 (parse_function_types, parse_function_args)
8237 (parse_type, parse_identifier, call_convention_p)
8238 (d_parse_symbol): New functions.
8239 (d_demangle): Use d_parse_symbol to demangle D symbols.
8240
94b1b47e
IB
82412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8242
8243 * d-lang.h (struct builtin_d_type): New data type.
8244 (builtin_d_type): Add declaration.
8245 * d-lang.c (d_language_arch_info, build_d_types)
8246 (builtin_d_type): New functions.
8247 (enum d_primitive_types): New data type.
8248 (d_language_defn): Change c_language_arch_info to
8249 d_language_arch_info.
8250 (d_type_data): New static variable.
8251 (_initialize_d_language): Initialize d_type_data.
8252
63778547
IB
82532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8254
8255 * d-lang.h (d_main_name): Add declaration.
8256 * d-lang.c (d_main_name): New function.
8257 * symtab.c (find_main_name): Add call to d_main_name.
8258
3271ba66
IB
82592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8260
8261 * d-lang.c (d_language_defn): Change macro_expansion_c to
8262 macro_expansion_no.
8263
d36b3012
IB
82642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8265
8266 * MAINTAINERS: Add myself as a write-after-approval maintainer.
8267
c90a6fb7
SDJ
82682014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
8269
8270 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
8271 gdb_exception" declaration.
8272 * remote.c (getpkt_or_notif_sane): Likewise.
8273
749234e5
DE
82742014-01-17 Doug Evans <dje@google.com>
8275
8276 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
8277 function, contents of dirnames_to_char_ptr_vec_append moved here.
8278 (delim_string_to_char_ptr_vec): New function.
8279 (dirnames_to_char_ptr_vec_append): Rewrite.
8280 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
8281
df049a58
DE
82822014-01-17 Doug Evans <dje@google.com>
8283
8284 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
8285 and moved here ...
8286 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
8287 #include "common-utils.h".
8288 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
8289 * common/vec.h (VEC_ASSERT_PASS): Update.
8290 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
8291 (MACH_CHECK_ERROR): Update.
8292
69f97648
SM
82932014-01-17 Simon Marchi <simon.marchi@ericsson.com>
8294
8295 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
8296 comments.
8297 * gdbarch.h: Regenerate.
8298
98b1cfdc
TT
82992014-01-16 Tom Tromey <tromey@redhat.com>
8300
8301 * value.c (struct value) <regnum>: Move earlier.
8302
77a19445
TT
83032014-01-16 Tom Tromey <tromey@redhat.com>
8304
8305 * remote.c (extended_remote_create_inferior): Rename from
8306 extended_remote_create_inferior_1. Add "ops" argument. Remove
8307 old implementation.
8308
62261490
PA
83092014-01-16 Pedro Alves <palves@redhat.com>
8310
8311 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
8312 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
8313 the backchain.
8314
4d65956b
DE
83152014-01-16 Doug Evans <dje@google.com>
8316
8317 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
8318
52834460
MM
83192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8320
8321 * btrace.h (btrace_thread_flag): New.
8322 (struct btrace_thread_info) <flags>: New.
8323 * record-btrace.c (record_btrace_resume_thread)
8324 (record_btrace_find_thread_to_move, btrace_step_no_history)
8325 (btrace_step_stopped, record_btrace_start_replaying)
8326 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
8327 (record_btrace_find_resume_thread): New.
8328 (record_btrace_resume, record_btrace_wait): Extend.
8329 (record_btrace_can_execute_reverse): New.
8330 (record_btrace_open): Fail in non-stop mode.
8331 (record_btrace_set_replay): Split into this, ...
8332 (record_btrace_stop_replaying): ... this, ...
8333 (record_btrace_clear_histories): ... and this.
8334 (init_record_btrace_ops): Init to_can_execute_reverse.
8335 * NEWS: Announce it.
8336
118e6252
MM
83372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8338
8339 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
8340 (forward_target_decr_pc_after_break)
8341 (target_decr_pc_after_break): New.
8342 * target.c (forward_target_decr_pc_after_break)
8343 (target_decr_pc_after_break): New.
8344 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
8345 instead of gdbarch_decr_pc_after_break.
8346 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
8347 instead of gdbarch_decr_pc_after_break.
8348 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
8349 instead of gdbarch_decr_pc_after_break.
8350 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
8351 instead of gdbarch_decr_pc_after_break.
8352 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
8353 instead of gdbarch_decr_pc_after_break.
8354 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
8355 instead of gdbarch_decr_pc_after_break.
8356
6e07b1d2
MM
83572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8358
8359 * btrace.c: Include regcache.h.
8360 (btrace_add_pc): New.
8361 (btrace_enable): Call btrace_add_pc.
8362 (btrace_is_empty): New.
8363 * btrace.h (btrace_is_empty): New.
8364 * record-btrace.c (require_btrace, record_btrace_info): Call
8365 btrace_is_empty.
8366
969c39fb
MM
83672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8368
8369 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
8370 Support delta reads.
8371 (linux_disable_btrace): Change return type.
8372 * common/linux-btrace.h (linux_read_btrace): Change parameters
8373 and return type to allow error reporting. Update users.
8374 (linux_disable_btrace): Change return type. Update users.
8375 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
8376 New.
8377 (btrace_error): New.
8378 (btrace_block) <begin>: Comment on BEGIN == 0.
8379 * btrace.c (btrace_compute_ftrace): Start from the end of
8380 the current trace.
8381 (btrace_stitch_trace, btrace_clear_history): New.
8382 (btrace_fetch): Read delta trace, return if replaying.
8383 (btrace_clear): Move clear history code to btrace_clear_history.
8384 (parse_xml_btrace): Throw an error if parsing failed.
8385 * target.h (struct target_ops) <to_read_btrace>: Change parameters
8386 and return type to allow error reporting.
8387 (target_read_btrace): Change parameters and return type to allow
8388 error reporting.
8389 * target.c (target_read_btrace): Update.
8390 * remote.c (remote_read_btrace): Support delta reads. Pass
8391 errors on.
8392 * NEWS: Announce it.
8393
0b722aec
MM
83942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8395
8396 * record.h (record_btrace_frame_unwind)
8397 (record_btrace_tailcall_frame_unwind): New declarations.
8398 * dwarf2-frame: Include record.h
8399 (dwarf2_frame_cfa): Throw an error for btrace frames.
8400 * record-btrace.c: Include hashtab.h.
8401 (btrace_get_bfun_name): New.
8402 (btrace_call_history): Call btrace_get_bfun_name.
8403 (struct btrace_frame_cache): New.
8404 (bfcache): New.
8405 (bfcache_hash, bfcache_eq, bfcache_new): New.
8406 (btrace_get_frame_function): New.
8407 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
8408 (record_btrace_frame_this_id): Compute own id.
8409 (record_btrace_frame_prev_register): Provide PC, throw_error
8410 for all other registers.
8411 (record_btrace_frame_sniffer): Detect btrace frames.
8412 (record_btrace_tailcall_frame_sniffer): New.
8413 (record_btrace_frame_dealloc_cache): New.
8414 (record_btrace_frame_unwind): Add new functions.
8415 (record_btrace_tailcall_frame_unwind): New.
8416 (_initialize_record_btrace): Allocate cache.
8417 * btrace.c (btrace_clear): Call reinit_frame_cache.
8418 * NEWS: Announce it.
8419
066ce621
MM
84202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8421
8422 * record-btrace.c (record_btrace_set_replay)
8423 (record_btrace_goto_begin, record_btrace_goto_end)
8424 (record_btrace_goto): New.
8425 (init_record_btrace_ops): Initialize them.
8426 * NEWS: Announce it.
8427
e2887aa3
MM
84282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8429
8430 * record-btrace.c (record_btrace_find_new_threads)
8431 (record_btrace_thread_alive): New.
8432 (init_record_btrace_ops): Initialize to_find_new_threads and
8433 to_thread_alive.
8434
b2f4cfde
MM
84352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8436
8437 * record-btrace.c (record_btrace_resume): New.
8438 (record_btrace_wait): New.
8439 (init_record_btrace_ops): Initialize to_wait and to_resume.
8440
633785ff
MM
84412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8442
8443 * record-btrace.c (record_btrace_xfer_partial)
8444 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
8445 (record_btrace_allow_memory_access): New.
8446 (init_record_btrace_ops): Initialize new methods.
8447 * target.c (raw_memory_xfer_partial): Bail out if target reports
8448 that this memory is not available.
8449
3db08215
MM
84502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8451
8452 * target.h (target_ops) <to_insert_breakpoint>
8453 <to_remove_breakpoint>: Add target_ops parameter.
8454 (forward_target_insert_breakpoint): New.
8455 (forward_target_remove_breakpoint): New.
8456 (memory_remove_breakpoint, memory_insert_breakpoint):
8457 Add target_ops parameter.
8458 * target.c (target_insert_breakpoint): Split into this and ...
8459 (forward_target_insert_breakpoint): ... this.
8460 (target_remove_breakpoint): Split into this and ...
8461 (forward_target_remove_breakpoint): ... this.
8462 (debug_to_insert_breakpoint): Add target_ops parameter.
8463 Call forward_target_insert_breakpoint.
8464 (debug_to_remove_breakpoint): Add target_ops parameter.
8465 Call forward_target_remove_breakpoint.
8466 (update_current_target): Do not inherit or default to_insert_breakpoint
8467 and to_remove_breakpoint.
8468 * corelow.c (ignore): Add target_ops parameter.
8469 * exec.c (ignore): Add target_ops parameter.
8470 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
8471 Add target_ops parameter.
8472 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
8473 Add target_ops parameter.
8474 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
8475 Add target_ops parameter.
8476 * record-full.c (record_full_beneath_to_insert_breakpoint)
8477 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
8478 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
8479 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
8480 (record_full_core_remove_breakpoint): Add target_ops parameter.
8481 Update users.
8482 (record_full_beneath_to_insert_breakpoint_ops)
8483 (record_full_beneath_to_remove_breakpoint_ops)
8484 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
8485 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
8486 tmp_to_remove_breakpoint_ops,
8487 record_full_beneath_to_insert_breakpoint_ops, and
8488 record_full_beneath_to_remove_breakpoint_ops.
8489 * remote-m32r-sdi.c (m32r_insert_breakpoint)
8490 (m32r_remove_breakpoint): Add target_ops parameter.
8491 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
8492 Add target_ops parameter.
8493 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
8494 Add target_ops parameter.
8495
cecac1ab
MM
84962014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8497 Markus Metzger <markus.t.metzger@intel.com>
8498
8499 * record-btrace.c: Include frame-unwind.h.
8500 (record_btrace_frame_unwind_stop_reason)
8501 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
8502 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
8503 New.
8504 (init_record_btrace_ops): Install it.
8505
824344ca
MM
85062014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8507
8508 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
8509 get_prev_frame_1.
8510
32261e52
MM
85112014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8512
8513 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
8514 earlier.
8515
ea001bdc
MM
85162014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8517
8518 * frame-unwind.c: Include target.h.
8519 (frame_unwind_try_unwinder): New function with code from ...
8520 (frame_unwind_find_by_frame): ... here. New variable
8521 unwinder_from_target, call also target_get_unwinder)
8522 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
8523 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
8524 * target.h (struct target_ops): New fields to_get_unwinder and
8525 to_get_tailcall_unwinder.
8526 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
8527
1f3ef581
MM
85282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8529
8530 * record-btrace.c (record_btrace_fetch_registers)
8531 (record_btrace_store_registers)
8532 (record_btrace_to_prepare_to_store): New.
8533 (init_record_btrace_ops): Add the above.
8534
f32dbf8c
MM
85352014-01-16 Tom Tromey <tromey@redhat.com>
8536
8537 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
8538 * target.h (struct target_ops) <to_prepare_to_store>: Add
8539 argument.
8540 (target_prepare_to_store): Add argument.
8541 * target.c (debug_to_prepare_to_store): Add argument.
8542 (update_current_target): Update.
8543 * remote.c (remote_prepare_to_store): Add 'self' argument.
8544 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
8545 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
8546 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
8547 * record-full.c (record_full_core_prepare_to_store): Add 'self'
8548 argument.
8549 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
8550 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
8551 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
8552 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
8553 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
8554
07bbe694
MM
85552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8556
8557 * btrace.h (replay) <replay>: New.
8558 (btrace_is_replaying): New.
8559 * btrace.c (btrace_clear): Free replay iterator.
8560 (btrace_is_replaying): New.
8561 * record-btrace.c (record_btrace_is_replaying): New.
8562 (record_btrace_info): Print insn number if replaying.
8563 (record_btrace_insn_history): Start at replay position.
8564 (record_btrace_call_history): Start at replay position.
8565 (init_record_btrace_ops): Init to_record_is_replaying.
8566
0688d04e
MM
85672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8568
8569 * record-btrace.c (record_btrace_insn_history_range): Include
8570 end.
8571 (record_btrace_insn_history_from): Adjust range.
8572 (record_btrace_call_history_range): Include
8573 end.
8574 (record_btrace_call_history_from): Adjust range.
8575 * NEWS: Announce changes.
8576
8710b709
MM
85772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8578
8579 * record.h (enum record_print_flag)
8580 <record_print_indent_calls>: New.
8581 * record.c (get_call_history_modifiers): Recognize /c modifier.
8582 (_initialize_record): Document /c modifier.
8583 * record-btrace.c (btrace_call_history): Add btinfo parameter.
8584 Reorder fields. Optionally indent the function name. Update
8585 all users.
8586 * NEWS: Announce changes.
8587
d0fa7535
MM
85882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8589
8590 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
8591
5de9129b
MM
85922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8593
8594 * btrace.c (ftrace_new_function): Start counting at one.
8595 * record-btrace.c (record_btrace_info): Adjust number of calls
8596 and insns.
8597 * NEWS: Announce it.
8598
7acbe133
MM
85992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8600
8601 * record-btrace.c (btrace_call_history_insn_range): Print
8602 insn range as [begin, end].
8603
23a7fe75
MM
86042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8605
8606 * btrace.h (struct btrace_func_link): New.
8607 (enum btrace_function_flag): New.
8608 (struct btrace_inst): Rename to ...
8609 (struct btrace_insn): ...this. Update all users.
8610 (struct btrace_func) <ibegin, iend>: Remove.
8611 (struct btrace_func_link): New.
8612 (struct btrace_func): Rename to ...
8613 (struct btrace_function): ...this. Update all users.
8614 (struct btrace_function) <segment, flow, up, insn, insn_offset)
8615 (number, level, flags>: New.
8616 (struct btrace_insn_iterator): Rename to ...
8617 (struct btrace_insn_history): ...this.
8618 Update all users.
8619 (struct btrace_insn_iterator, btrace_call_iterator): New.
8620 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
8621 (struct btrace_target_info) <begin, end, level>
8622 <insn_history, call_history>: New.
8623 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
8624 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
8625 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
8626 (btrace_call_number, btrace_call_begin, btrace_call_end)
8627 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
8628 (btrace_find_function_by_number, btrace_set_insn_history)
8629 (btrace_set_call_history): New.
8630 * btrace.c (btrace_init_insn_iterator)
8631 (btrace_init_func_iterator, compute_itrace): Remove.
8632 (ftrace_print_function_name, ftrace_print_filename)
8633 (ftrace_skip_file): Change
8634 parameter to const.
8635 (ftrace_init_func): Remove.
8636 (ftrace_debug): Use new btrace_function fields.
8637 (ftrace_function_switched): Also consider gaining and
8638 losing symbol information).
8639 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
8640 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
8641 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
8642 New.
8643 (ftrace_new_function): Move. Remove debug print.
8644 (ftrace_update_lines, ftrace_update_insns): New.
8645 (ftrace_update_function): Check for call, ret, and jump.
8646 (compute_ftrace): Renamed to ...
8647 (btrace_compute_ftrace): ...this. Rewritten to compute call
8648 stack.
8649 (btrace_fetch, btrace_clear): Updated.
8650 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
8651 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
8652 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
8653 (btrace_call_number, btrace_call_begin, btrace_call_end)
8654 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
8655 (btrace_find_function_by_number, btrace_set_insn_history)
8656 (btrace_set_call_history): New.
8657 * record-btrace.c (require_btrace): Use new btrace thread
8658 info fields.
8659 (record_btrace_info, btrace_insn_history)
8660 (record_btrace_insn_history, record_btrace_insn_history_range):
8661 Use new btrace thread info fields and new iterator.
8662 (btrace_func_history_src_line): Rename to ...
8663 (btrace_call_history_src_line): ...this. Use new btrace
8664 thread info fields.
8665 (btrace_func_history): Rename to ...
8666 (btrace_call_history): ...this. Use new btrace thread info
8667 fields and new iterator.
8668 (record_btrace_call_history, record_btrace_call_history_range):
8669 Use new btrace thread info fields and new iterator.
8670
8372a7cb
MM
86712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8672
8673 * frame.h (frame_id_build_unavailable_stack_special): New.
8674 * frame.c (frame_id_build_unavailable_stack_special): New.
8675
c2170eef
MM
86762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8677
8678 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
8679 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
8680 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
8681 to gdbarch.
8682 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
8683 (i386_insn_is_jump, i386_jmp_p): New.
8684 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
8685 insn_is_jump to gdbarch.
8686 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
8687 * gdbarch.h: Regenerated.
8688 * gdbarch.c: Regenerated.
8689 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
8690 (default_insn_is_jump): New.
8691 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
8692 (default_insn_is_jump): New.
8693
864089d2
MM
86942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8695
8696 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
8697 Change to ...
8698 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
8699 (btrace_read_type) <btrace_read_new>: Change to ...
8700 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
8701
ed9edfb5
MM
87022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8703
8704 * common/linux-btrace.c (linux_read_btrace): Free trace from
8705 previous iteration.
8706
fbcbc3fd
DE
87072014-01-15 Doug Evans <dje@google.com>
8708
8709 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
8710 uint32_t.
8711
3d548a53
TT
87122014-01-15 Tom Tromey <tromey@redhat.com>
8713
8714 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
8715 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
8716 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
8717 (set_objfile_main_name): New function.
8718 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
8719 language_of_main>: New fields.
8720 (set_objfile_main_name): Declare.
8721 * symtab.c (find_main_name): Loop over objfiles to find the main
8722 name and language.
8723 (set_main_name): Now static.
8724 (get_main_info): Add comment.
8725 * symtab.h (set_main_name): Don't declare.
8726
32ac0d11
TT
87272014-01-15 Tom Tromey <tromey@redhat.com>
8728
8729 * symtab.c (main_progspace_key): New global.
8730 (struct main_info): New.
8731 (name_of_main, language_of_main): Remove.
8732 (get_main_info, main_info_cleanup): New function.
8733 (set_main_name, main_name, main_language): Use get_main_info.
8734 (_initialize_symtab): Initialize main_progspace_key.
8735
9e6c82ad
TT
87362014-01-15 Tom Tromey <tromey@redhat.com>
8737
8738 * dbxread.c (process_one_symbol): Update.
8739 * dwarf2read.c (read_partial_die): Update.
8740 * symfile.c (set_initial_language): Call main_language.
8741 * symtab.c (language_of_main): Now static.
8742 (set_main_name): Add 'lang' parameter.
8743 (find_main_name): Update.
8744 (main_language): New function.
8745 (symtab_observer_executable_changed): Update.
8746 * symtab.h (set_main_name): Update.
8747 (language_of_main): Remove.
8748 (main_language): Declare.
8749
6ef55de7
TT
87502014-01-15 Tom Tromey <tromey@redhat.com>
8751
8752 * symfile.c (init_entry_point_info): Use new "initialized" field.
8753 Update.
8754 * objfiles.h (struct entry_point) <initialized>: New field.
8755 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
8756 (struct objfile) <ei>: ...here. Remove.
8757 * objfiles.c (entry_point_address_query): Update.
8758
53eddfa6
TT
87592014-01-15 Tom Tromey <tromey@redhat.com>
8760
8761 * objfiles.c (entry_point_address_query): Relocate entry point
8762 address.
8763 (objfile_relocate1): Do not relocate entry point address.
8764 * objfiles.h (struct entry_info) <entry_point>: Update comment.
8765 <the_bfd_section_index>: New field.
8766 * symfile.c (init_entry_point_info): Find the entry point's
8767 section.
8768
d56e56aa
TT
87692014-01-15 Tom Tromey <tromey@redhat.com>
8770
8771 * solib-frv.c (enable_break): Use entry_point_address_query.
8772
33a97bbe
OJ
87732014-01-15 Omair Javaid <omair.javaid@linaro.org>
8774
8775 * NEWS: Add note on improved process record-replay on
8776 arm*-linux* targets.
8777
c6ec2b30
OJ
87782014-01-15 Omair Javaid <omair.javaid@linaro.org>
8779
8780 * arm-tdep.c (enum arm_record_result): New enum.
8781 (arm_record_unsupported_insn): New function.
8782 (arm_record_coproc_data_proc): Removed.
8783 (thumb2_record_ld_st_multiple): New function.
8784 (thumb2_record_ld_st_dual_ex_tbb): New function.
8785 (thumb2_record_data_proc_sreg_mimm): New function.
8786 (thumb2_record_ps_dest_generic): New function.
8787 (thumb2_record_branch_misc_cntrl): New function.
8788 (thumb2_record_str_single_data): New function.
8789 (thumb2_record_ld_mem_hints): New function.
8790 (thumb2_record_ld_word): New function.
8791 (thumb2_record_lmul_lmla_div): New function.
8792 (thumb2_record_decode_insn_handler): New function.
8793 (decode_insn): Add thumb32 instruction handlers.
8794
97dfe206
OJ
87952014-01-15 Omair Javaid <omair.javaid@linaro.org>
8796
8797 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
8798 (struct arm_linux_record_tdep): Declare.
8799 (arm_canonicalize_syscall): New function.
8800 (arm_all_but_pc_registers_record): New function.
8801 (arm_linux_syscall_record): New function.
8802 (arm_linux_init_abi): Add syscall recording constructs.
8803 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
8804 decoding. (arm_record_coproc_data_proc): Update arm syscall
8805 decoding.
8806 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
8807 <arm_syscall_record>: New field.
8808 * configure.tgt (arm*-*-linux*): Add linux-record.o to
8809 gdb_target_obs.
8810
9904a494
OJ
88112014-01-15 Omair Javaid <omair.javaid@linaro.org>
8812
8813 * arm-tdep.c (thumb_record_misc): Update to use sp as base
8814 register for push instruction recording.
8815
f969241e
OJ
88162014-01-15 Omair Javaid <omair.javaid@linaro.org>
8817
8818 * arm-tdep.c (thumb_record_misc): Update to correct logical
8819 error while recording ldm, ldmia and pop instructions.
8820
bfbbec00
OJ
88212014-01-15 Omair Javaid <omair.javaid@linaro.org>
8822
8823 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
8824
e40adcc9
PA
88252014-01-15 Pedro Alves <palves@redhat.com>
8826
8827 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
8828 (go32_resume, go32_fetch_registers, store_register)
8829 (go32_store_registers, go32_prepare_to_store)
8830 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
8831 (go32_create_inferior, go32_can_run, go32_terminal_init)
8832 (go32_terminal_inferior, go32_terminal_ours): Delete forward
8833 declarations.
8834
b0a16e66
TT
88352014-01-15 Tom Tromey <tromey@redhat.com>
8836
8837 * target.h (async_callback_ftype): New typedef.
8838 (struct target_ops) <to_async>: Use it.
8839
bf7105a4
JB
88402014-01-15 Joel Brobecker <brobecker@adacore.com>
8841
8842 * python/py-value.c (get_field_type): Remove unnecessary curly
8843 braces for single-statement if block.
8844
a8f35c2e
JB
88452014-01-15 Joel Brobecker <brobecker@adacore.com>
8846
8847 * python/py-type.c (convert_field): Add missing empty line
8848 after declarations.
8849
bb4142cf
DE
88502014-01-14 Doug Evans <dje@google.com>
8851
8852 * symfile.h (expand_symtabs_matching): Renamed from
8853 expand_partial_symbol_names. Update prototype.
8854 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
8855 * symfile.c (expand_symtabs_matching): Renamed from
8856 expand_partial_symbol_names. New args file_matcher, kind.
8857 Rename arg fun to symbol_matcher.
8858 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
8859 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
8860 ada_expand_partial_symbol_name.
8861 (ada_make_symbol_completion_list): Update to call
8862 expand_symtabs_matching.
8863 (ada_add_global_exceptions): Call expand_symtabs_matching.
8864 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
8865 call map_symbol_filenames.
8866 * symtab.c (sources_info): Update to call map_symbol_filenames.
8867 (search_symbols): Call expand_symtabs_matching.
8868 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
8869 (default_make_symbol_completion_list_break_on): Update to call
8870 expand_symtabs_matching.
8871 (make_source_files_completion_list): Update to call
8872 map_symbol_filenames.
8873
206f2a57
DE
88742014-01-14 Doug Evans <dje@google.com>
8875
8876 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
8877 (expand_symtabs_symbol_matcher_ftype): New typedef.
8878 (quick_symbol_functions.expand_symtabs_matching): Update to use.
8879 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8880 * symfile.c (expand_partial_symbol_names): Update to use
8881 expand_symtabs_symbol_matcher_ftype.
8882 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
8883 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8884 Arg name_matcher renamed to symbol_matcher.
8885 * psymtab.c (recursively_search_psymtabs): Update to use
8886 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
8887 sym_matcher.
8888 (expand_symtabs_matching_via_partial): Update to use
8889 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8890 Arg name_matcher renamed to symbol_matcher.
8891
540c2971
DE
88922014-01-14 Doug Evans <dje@google.com>
8893
8894 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
8895 (map_partial_symbol_filenames): Ditto.
8896 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
8897 (map_partial_symbol_filenames): Ditto.
8898 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
8899 (map_partial_symbol_filenames): Ditto.
8900 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
8901 (map_partial_symbol_filenames): Ditto.
8902 * symtab.c: Delete #include "psymtab.h".
8903
8213266a
PA
89042014-01-14 Pedro Alves <palves@redhat.com>
8905 Tom Tromey <tromey@redhat.com>
8906
8907 * infrun.c (use_displaced_stepping): Use find_record_target
8908 instead of RECORD_IS_USED.
8909 (adjust_pc_after_break): Use record_full_is_used instead of
8910 RECORD_IS_USED.
8911 * record-btrace.c (record_btrace_open): Call record_preopen
8912 instead of checking RECORD_IS_USED.
8913 * record-full.c (record_full_shortname)
8914 (record_full_core_shortname): New globals.
8915 (record_full_is_used): New function.
8916 (find_full_open): Call record_preopen instead of checking
8917 RECORD_IS_USED.
8918 (init_record_full_ops): Set the target's shortname to
8919 record_full_shortname.
8920 (init_record_full_core_ops): Set the target's shortname to
8921 record_full_core_shortname.
8922 * record-full.h (record_full_is_used): Declare.
8923 * record.c (find_record_target): Make extern.
8924 (record_preopen): New function.
8925 * record.h (RECORD_IS_USED): Delete macro.
8926 (find_record_target, record_preopen): Declare functions.
8927
7ec1862d
YQ
89282014-01-14 Yao Qi <yao@codesourcery.com>
8929
8930 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
8931 'len''s type to ULONGEST.
8932 (core_xfer_shared_libraries_aix): Likewise.
8933 * gdbarch.c, gdbarch.h: Regenerated.
8934 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
8935 Change type of 'len' to ULONGEST.
8936 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8937 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
8938
dea80a27
YQ
89392014-01-14 Yao Qi <yao@codesourcery.com>
8940
8941 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
8942 type of 'len' to ULONGEST.
8943 (linux_xfer_osdata_processgroups): Likewise.
8944 (linux_xfer_osdata_threads): Likewise.
8945 (linux_xfer_osdata_fds): Likewise.
8946 (linux_xfer_osdata_isockets): Likewise.
8947 (linux_xfer_osdata_shm): Likewise.
8948 (linux_xfer_osdata_sem): Likewise.
8949 (linux_xfer_osdata_msg): Likewise.
8950 (linux_common_xfer_osdata): Likewise.
8951 (struct osdata_type) <getter>: Likewise.
8952 * common/linux-osdata.h (linux_common_xfer_osdata): Update
8953 the declaration.
8954
b55e14c7
YQ
89552014-01-14 Yao Qi <yao@codesourcery.com>
8956
8957 * target.h (target_xfer_partial_ftype): Update.
8958 (struct target_ops) <to_xfer_partial>: Change 'len' type to
8959 ULONGEST.
8960 * aix-thread.c (aix_thread_xfer_partial): Change type of
8961 argument 'len' to ULONGEST.
8962 * auxv.c (procfs_xfer_auxv): Likewise.
8963 (ld_so_xfer_auxv): Likewise.
8964 (memory_xfer_auxv): Likewise.
8965 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8966 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8967 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
8968 * corelow.c (core_xfer_partial): Likewise.
8969 * ctf.c (ctf_xfer_partial): Likewise.
8970 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
8971 '%u'.
8972 (darwin_read_dyld_info): Likewise.
8973 (darwin_xfer_partial): Likewise.
8974 * exec.c (section_table_xfer_memory_partial): Likewise.
8975 (exec_xfer_partial): Likewise.
8976 * exec.h (section_table_xfer_memory_partial): Update
8977 declaration.
8978 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
8979 instead of plongest.
8980 (gnu_xfer_partial): Likewise.
8981 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
8982 (ia64_hpux_xfer_solib_got): Likewise.
8983 (ia64_hpux_xfer_partial): Likewise.
8984 * ia64-linux-nat.c (ia64_linux_xfer_partial):
8985 * inf-ptrace.c (inf_ptrace_xfer_partial):
8986 * inf-ttrace.c (inf_ttrace_xfer_partial):
8987 * linux-nat.c (linux_xfer_siginfo): Likewise.
8988 (linux_nat_xfer_partial): Likewise.
8989 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
8990 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
8991 * monitor.c (monitor_xfer_memory): Likewise.
8992 (monitor_xfer_partial): Likewise.
8993 * procfs.c (procfs_xfer_partial): Likewise.
8994 * record-full.c (record_full_xfer_partial): Likewise.
8995 (record_full_core_xfer_partial): Likewise.
8996 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
8997 instead of plongest.
8998 (gdbsim_xfer_partial): Likewise.
8999 * remote.c (remote_xfer_partial): Likewise.
9000 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9001 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
9002 declaration.
9003 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9004 (rs6000_xfer_shared_libraries): Likewise.
9005 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9006 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9007 (sparc_xfer_partial): Likewise.
9008 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9009 (spu_xfer_partial): Likewise.
9010 * spu-multiarch.c (spu_xfer_partial): Likewise.
9011 * target.c (target_read_live_memory): Likewise.
9012 (memory_xfer_live_readonly_partial): Likewise.
9013 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
9014 (target_xfer_partial, default_xfer_partial): Likewise.
9015 (current_xfer_partial): Likewise.
9016 * tracepoint.c (tfile_xfer_partial): Likewise.
9017 * windows-nat.c (windows_xfer_memory): Likewise. Call
9018 pulongest instead of plongest.
9019 (windows_xfer_partial): Likewise.
9020 (windows_xfer_shared_libraries): Likewise.
9021
05804640
YQ
90222014-01-14 Yao Qi <yao@codesourcery.com>
9023
9024 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
9025 target_xfer_partial_ftype.
9026
b5b08fb4
SC
90272014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9028
9029 PR python/15464
9030 PR python/16113
9031 * valops.c (value_struct_elt_bitpos): New function
9032 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
9033 object to 'None' if the field name is an empty string ("").
9034 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
9035 attribute to look for a field when 'name' is 'None'.
9036 (get_field_type): New function
9037
13aaf454
DE
90382014-01-13 Doug Evans <dje@google.com>
9039
9040 PR symtab/16426
9041 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
9042 (try_open_dwop_file): Ditto.
9043 * gdb_bfd.c: #include "vec.h".
9044 (bfdp): New typedef.
9045 (struct gdb_bfd_data): New member included_bfds.
9046 (gdb_bfd_unref): Unref all included bfds.
9047 (gdb_bfd_record_inclusion): New function.
9048 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
9049
c2cec97c
TT
90502014-01-13 Tom Tromey <tromey@redhat.com>
9051
9052 * gdbcore.h (deprecated_core_resize_section_table): Remove.
9053
78e5999d
TT
90542014-01-13 Tom Tromey <tromey@redhat.com>
9055
9056 * defs.h (use_windows): Remove.
9057 * gdb.c (main): Update.
9058 * main.c (captured_main, gdb_main): Update.
9059 * main.h (struct captured_main_args) <use_windows>: Remove.
9060 * top.c (use_windows): Remove.
9061
f2052bbe
TT
90622014-01-13 Tom Tromey <tromey@redhat.com>
9063
9064 * defs.h (deprecated_flush_hook): Remove.
9065
fde4f8ed
JK
90662014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9067
9068 PR threads/16216
9069 * linux-thread-db.c (try_thread_db_load): Add parameter
9070 check_auto_load_safe. Move here the file_is_auto_load_safe call.
9071 (try_thread_db_load_from_pdir_1): Move it there from here.
9072 (try_thread_db_load_from_sdir): Update caller.
9073 (try_thread_db_load_from_dir): Move it there from here.
9074
bdf61915
PP
90752014-01-13 Patrick Palka <patrick@parcs.ath.cx>
9076
9077 * regformats/regdat.sh: Always rewrite the register file.
9078
f71e1a8d
PA
90792014-01-13 Pedro Alves <palves@redhat.com>
9080
9081 * Makefile.in (CHECK_HEADERS): New variable.
9082 (check-headers:): New rule.
9083
42c85435
TT
90842014-01-13 Tom Tromey <tromey@redhat.com>
9085
9086 * cli/cli-setshow.c (do_set_command): Update.
9087 * defs.h (deprecated_set_hook): Remove.
9088 * top.c (deprecated_set_hook): Remove.
9089
f8de5129
PA
90902014-01-13 Pedro Alves <palves@redhat.com>
9091
9092 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
9093 the tracepoint if the PC is a pseudo-register.
9094
fc270c35
TT
90952014-01-13 Tom Tromey <tromey@redhat.com>
9096
9097 * defs.h (XCALLOC): Remove.
9098 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
9099 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
9100 * dwarf2loc.c (allocate_piece_closure): Likewise.
9101 * elfread.c (elf_symfile_segments): Likewise.
9102 (elf_symfile_segments): Likewise.
9103 * gdbtypes.c (copy_type_recursive): Likewise.
9104 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
9105 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
9106 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
9107 XCALLOC.
9108 * mt-tdep.c (mt_gdbarch_init): Likewise.
9109 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
9110 XCALLOC.
9111 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
9112 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
9113 * registry.c (registry_alloc_data): Likewise.
9114 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
9115 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
9116 * serial.c (serial_fdopen_ops): Likewise.
9117 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
9118 XCALLOC.
9119 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
9120 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
9121 not XCALLOC.
9122
70ba0933
TT
91232014-01-13 Tom Tromey <tromey@redhat.com>
9124
9125 * defs.h (XMALLOC): Remove.
9126 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
9127 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
9128 * cli-out.c (struct ui_out *): Likewise.
9129 * cli/cli-dump.c (add_dump_command): Likewise.
9130 (add_dump_command): Likewise.
9131 * complaints.c (get_complaints): Likewise.
9132 (find_complaint): Likewise.
9133 * dwarf2-frame.c (execute_cfa_program): Likewise.
9134 * dwarf2read.c (abbrev_table_read_table): Likewise.
9135 * gdbarch.sh: Likewise.
9136 * gdbarch.c: Rebuild.
9137 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
9138 * interps.c (interp_new): Likewise.
9139 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
9140 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
9141 * mi/mi-console.c (mi_console_file_new): Likewise.
9142 * mi/mi-interp.c (mi_interpreter_init): Likewise.
9143 * mi/mi-out.c (mi_out_new): Likewise.
9144 * mi/mi-parse.c (mi_parse): Likewise.
9145 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
9146 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
9147 * observer.c (xalloc_observer_list_node): Likewise.
9148 * regcache.c (regcache_xmalloc_1): Likewise.
9149 * reggroups.c (reggroup_new): Likewise.
9150 (_initialize_reggroup): Likewise.
9151 * registry.c (register_data_with_cleanup): Likewise.
9152 * remote.c (remote_notif_stop_alloc_reply): Likewise.
9153 * ser-base.c (serial_ttystate): Likewise.
9154 * ser-mingw.c (make_pipe_state): Likewise.
9155 * ser-pipe.c (pipe_open): Likewise.
9156 * serial.c (serial_open): Likewise.
9157 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
9158 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
9159 (tui_alloc_win_info): Likewise.
9160 (tui_add_content_elements): Likewise.
9161 * tui/tui-file.c (tui_file_new): Likewise.
9162 * tui/tui-out.c (tui_out_new): Likewise.
9163 * ui-file.c (mem_file_new): Likewise.
9164 * ui-out.c (push_level): Likewise.
9165 (make_cleanup_ui_out_end): Likewise.
9166 (append_header_to_list): Likewise.
9167 (ui_out_new): Likewise.
9168 * user-regs.c (user_reg_add_builtin): Likewise.
9169
41bf6aca
TT
91702014-01-13 Tom Tromey <tromey@redhat.com>
9171
9172 * defs.h (XZALLOC): Remove.
9173 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
9174 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
9175 (get_ada_tasks_inferior_data): Likewise.
9176 * auto-load.c (get_auto_load_pspace_data): Likewise.
9177 * auxv.c (get_auxv_inferior_data): Likewise.
9178 * bfd-target.c (target_bfd_reopen): Likewise.
9179 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
9180 (deprecated_insert_raw_breakpoint): Likewise.
9181 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
9182 * corelow.c (core_open): Likewise.
9183 * darwin-nat.c (darwin_check_new_threads): Likewise.
9184 (darwin_attach_pid): Likewise.
9185 * dummy-frame.c (dummy_frame_push): Likewise.
9186 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
9187 * dwarf2loc.c (allocate_piece_closure): Likewise.
9188 * elfread.c (elf_symfile_segments): Likewise.
9189 * eval.c (ptrmath_type_p): Likewise.
9190 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
9191 * gdbtypes.c (alloc_type_arch): Likewise.
9192 (alloc_type_instance): Likewise.
9193 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
9194 * inf-child.c (inf_child_can_use_agent): Likewise.
9195 * inflow.c (get_inflow_inferior_data): Likewise.
9196 * infrun.c (save_infcall_suspend_state): Likewise.
9197 * jit.c (jit_reader_load): Likewise.
9198 (get_jit_objfile_data): Likewise.
9199 (get_jit_program_space_data): Likewise.
9200 (jit_object_open_impl): Likewise.
9201 (jit_symtab_open_impl): Likewise.
9202 (jit_block_open_impl): Likewise.
9203 (jit_frame_sniffer): Likewise.
9204 * linux-fork.c (add_fork): Likewise.
9205 * maint.c (make_command_stats_cleanup): Likewise.
9206 * objfiles.c (get_objfile_pspace_data): Likewise.
9207 * opencl-lang.c (struct lval_closure): Likewise.
9208 * osdata.c (osdata_start_osdata): Likewise.
9209 * progspace.c (new_address_space): Likewise.
9210 (add_program_space): Likewise.
9211 * remote-sim.c (get_sim_inferior_data): Likewise.
9212 * sh-tdep.c (sh_gdbarch_init): Likewise.
9213 * skip.c (Ignore): Likewise.
9214 (skip_delete_command): Likewise.
9215 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
9216 (library_list_start_library): Likewise.
9217 (solib_aix_current_sos): Likewise.
9218 * solib-darwin.c (get_darwin_info): Likewise.
9219 (darwin_current_sos): Likewise.
9220 * solib-dsbt.c (get_dsbt_info): Likewise.
9221 * solib-ia64-hpux.c (new_so_list): Likewise.
9222 (ia64_hpux_get_solib_linkage_addr): Likewise.
9223 * solib-spu.c (append_ocl_sos): Likewise.
9224 (spu_current_sos): Likewise.
9225 * solib-svr4.c (get_svr4_info): Likewise.
9226 (svr4_keep_data_in_core): Likewise.
9227 (library_list_start_library): Likewise.
9228 (svr4_default_sos): Likewise.
9229 (svr4_read_so_list): Likewise.
9230 * solib-target.c (library_list_start_library): Likewise.
9231 (solib_target_current_sos): Likewise.
9232 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
9233 * symfile-debug.c (install_symfile_debug_logging): Likewise.
9234 * symfile.c (default_symfile_segments): Likewise.
9235 * target-descriptions.c (tdesc_data_init): Likewise.
9236 (tdesc_create_reg): Likewise.
9237 (struct tdesc_type *): Likewise.
9238 (tdesc_create_vector): Likewise.
9239 (tdesc_set_struct_size): Likewise.
9240 (struct tdesc_type *): Likewise.
9241 (tdesc_free_feature): Likewise.
9242 (tdesc_create_feature): Likewise.
9243 * windows-nat.c (windows_add_thread): Likewise.
9244 (windows_make_so): Likewise.
9245 * xml-support.c (gdb_xml_body_text): Likewise.
9246 (gdb_xml_create_parser_and_cleanup): Likewise.
9247 (xml_process_xincludes): Likewise.
9248 * xml-syscall.c (allocate_syscalls_info): Likewise.
9249 (syscall_create_syscall_desc): Likewise.
9250
5acfdbae
SDJ
92512014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
9252
9253 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
9254 function, with code from i386_stap_parse_special_token.
9255 (i386_stap_parse_special_token_three_arg_disp): Likewise.
9256 (i386_stap_parse_special_token): Move code to the two functions
9257 above; simplify it.
9258
0000e5cc
PA
92592014-01-09 Pedro Alves <palves@redhat.com>
9260 Hui Zhu <hui@codesourcery.com>
9261
9262 PR gdb/16101
9263 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
9264 bp_err_string. Don't mark the location shlib_disabled if the
9265 error thrown wasn't a generic or memory error. Catch errors
9266 thrown while inserting breakpoints in overlayed code. Output
9267 error message of software breakpoints.
9268 * remote.c (remote_insert_breakpoint): If this breakpoint has
9269 target-side commands but this stub doesn't support Z0 packets,
9270 throw NOT_SUPPORTED_ERROR error.
9271 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
9272 * target.h (target_insert_breakpoint): Extend comment.
9273 (target_insert_hw_breakpoint): Add comment.
9274
b7ea362b
PA
92752014-01-08 Pedro Alves <palves@redhat.com>
9276
9277 * remote.c (remote_add_thread): Add threads silently if starting
9278 up.
9279 (remote_notice_new_inferior): If in all-stop, and starting up,
9280 don't call notice_new_inferior.
9281 (get_current_thread): New function, factored out from ...
9282 (add_current_inferior_and_thread): ... this. Adjust.
9283 (remote_start_remote) <all-stop>: Fetch the thread list. If we
9284 found any thread, then select the remote's current thread as GDB's
9285 current thread too.
9286
b7bba001
JB
92872014-01-08 Joel Brobecker <brobecker@adacore.com>
9288
9289 * NEWS: Create a new section for the next release branch.
9290 Rename the section of the current branch, now that it has
9291 been cut.
9292
16dfbded
JB
92932014-01-08 Joel Brobecker <brobecker@adacore.com>
9294
9295 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
9296 * version.in: Bump version to 7.7.50.DATE-cvs.
9297
22c90ac1
YQ
92982014-01-08 Yao Qi <yao@codesourcery.com>
9299
9300 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
9301 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
9302 (spu_xfer_partial): Cast 'buf' to 'const char *'.
9303
d64ad97c
YQ
93042014-01-08 Yao Qi <yao@codesourcery.com>
9305
9306 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
9307 return value of bfd_get_filename to symbol_file_add_from_bfd.
9308
f93ba80c
PM
93092014-01-08 Pierre Muller <muller@sourceware.org>
9310
9311 Fix PR16201.
9312 * coff-pe-read.c (struct read_pe_section_data): Add index field.
9313 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
9314 to prim_record_mininal_symbol_and_info.
9315 (add_pe_forwarded_sym): Use known section number of forwarded symbol
9316 in call to prim_record_minimal_symbol_and_info.
9317 (read_pe_exported_syms): Set index field of section_data.
9318
a4d9ba85
AP
93192014-01-07 Andrew Pinski <apinski@cavium.com>
9320
9321 * features/aarch64-core.xml (cpsr): Change to be 64bit.
9322 * features/aarch64.c: Regenerate.
9323
1b67eb02
AS
93242014-01-07 Andreas Schwab <schwab@linux-m68k.org>
9325
9326 * target.c (return_null): Define.
9327 (update_current_target): Use it instead of return_zero for
9328 functions that return a pointer.
9329
5e3f4fab
EBM
93302014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9331
9332 * source.c (add_path): Fix check for duplicated paths in the previously
9333 included paths.
9334
e2616788
HK
93352014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
9336
9337 * ada-lang.c: Remove duplicated include statements.
9338 * alphabsd-nat.c: Ditto.
9339 * amd64-darwin-tdep.c: Ditto.
9340 * amd64fbsd-nat.c: Ditto.
9341 * auto-load.c: Ditto.
9342 * ax-gdb.c: Ditto.
9343 * breakpoint.c: Ditto.
9344 * dbxread.c: Ditto.
9345 * fork-child.c: Ditto.
9346 * gdb_usleep.c: Ditto.
9347 * i386-darwin-tdep.c: Ditto.
9348 * i386fbsd-nat.c: Ditto.
9349 * infcmd.c: Ditto.
9350 * inferior.c: Ditto.
9351 * jv-lang.c: Ditto.
9352 * linux-nat.c: Ditto.
9353 * linux-tdep.c: Ditto.
9354 * m68kbsd-nat.c: Ditto.
9355 * m68klinux-nat.c: Ditto.
9356 * microblaze-tdep.c: Ditto.
9357 * mips-linux-tdep.c: Ditto.
9358 * mn10300-tdep.c: Ditto.
9359 * nto-tdep.c: Ditto.
9360 * opencl-lang.c: Ditto.
9361 * osdata.c: Ditto.
9362 * printcmd.c: Ditto.
9363 * regcache.c: Ditto.
9364 * remote-m32r-sdi.c: Ditto.
9365 * remote.c: Ditto.
9366 * symfile.c: Ditto.
9367 * symtab.c: Ditto.
9368 * tilegx-linux-nat.c: Ditto.
9369 * tilegx-tdep.c: Ditto.
9370 * tracepoint.c: Ditto.
9371 * valops.c: Ditto.
9372 * vaxbsd-nat.c: Ditto.
9373 * windows-nat.c: Ditto.
9374 * xtensa-tdep.c: Ditto.
9375
bd1f7788
YQ
93762014-01-07 Yao Qi <yao@codesourcery.com>
9377
9378 * spu-linux-nat.c (_initialize_spu_nat): Declare.
9379
79301218
JB
93802014-01-07 Yao Qi <yao@codesourcery.com>
9381 Joel Brobecker <brobecker@adacore.com>
9382
9383 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
9384 (pdc_write_regs): Likewise.
9385 (fetch_regs_kernel_thread): Likewise.
9386 (store_regs_kernel_thread): Likewise.
9387
93882014-01-07 Joel Brobecker <brobecker@adacore.com>
9389
9390 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
9391 tagged type objects to their actual type.
9392
8e355c5d
JB
93932014-01-07 Joel Brobecker <brobecker@adacore.com>
9394
9395 * ada-valprint.c (print_field_values): Add "language" parameter.
9396 Update calls to print_field_values and print_variant_part.
9397 Pass new parameter "language" in call to val_print instead
9398 of "current_language". Replace call to ada_val_print by call
9399 to val_print.
9400 (print_variant_part): Add "language" parameter.
9401 (ada_val_print_struct_union): Update call to print_field_values.
9402
4fbf5aa5
JB
94032014-01-07 Joel Brobecker <brobecker@adacore.com>
9404
9405 * ada-valprint.c (ui_memcpy): Delete.
9406 (ada_print_floating): Update documentation. Add empty line
9407 between between function documentation and implementation.
9408 Delete variable "buffer". Use ui_file_xstrdup in place of
9409 ui_file_put. Minor adjustments following this change.
9410
71855601
JB
94112014-01-07 Joel Brobecker <brobecker@adacore.com>
9412
9413 * ada-valprint.c (ada_val_print_string): New function,
9414 extracted from ada_val_print_array.
9415 (ada_val_print_array): Replace extracted code by call
9416 to ada_val_print_string followed by a return. Move
9417 "else" branch to the function's top block.
9418
4eb27a30
JB
94192014-01-07 Joel Brobecker <brobecker@adacore.com>
9420
9421 * ada-valprint.c (ada_val_print_array): Move implementation
9422 down. Rename parameter "offset" and "val" into "offset_aligned"
9423 and "original_value" respectively. Add parameter "offset".
9424
34b27950
JB
94252014-01-07 Joel Brobecker <brobecker@adacore.com>
9426
9427 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
9428 re-organizing the code. Change the "???" message printed
9429 when target type is a TYPE_CODE_UNDEF into
9430 "<ref to undefined type>".
9431
079e4591
JB
94322014-01-07 Joel Brobecker <brobecker@adacore.com>
9433
9434 * ada-valprint.c (print_record): Delete, implementation inlined...
9435 (ada_val_print_struct_union): ... here. Remove call to
9436 ada_check_typedef in inlined implementation.
9437
8004dfd1
JB
94382014-01-07 Joel Brobecker <brobecker@adacore.com>
9439
9440 * ada-valprint.c (ada_val_print_gnat_array): New function,
9441 extracted from ada_val_print_1;
9442 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
9443 (ada_val_print_flt, ada_val_print_struct_union)
9444 (ada_val_print_ref): Likewise.
9445 (ada_val_print_1): Delete variables i and elttype.
9446 Replace extracted-out code by call to corresponding
9447 new functions.
9448
760a2db0
JB
94492014-01-07 Joel Brobecker <brobecker@adacore.com>
9450
9451 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
9452
3a92c861
JB
94532014-01-07 Joel Brobecker <brobecker@adacore.com>
9454
9455 * ada-valprint.c (ada_val_print_1): Replace calls to
9456 ada_val_print_1 by calls to val_print.
9457
cd1630f9
JB
94582014-01-07 Joel Brobecker <brobecker@adacore.com>
9459
9460 * ada-valprint.c (ada_val_print_1): Add parameter "language".
9461 Update calls to self accordingly. Replace calls to c_val_print
9462 by calls to val_print.
9463
bdf779a0
JB
94642014-01-07 Joel Brobecker <brobecker@adacore.com>
9465
9466 * ada-valprint.c (print_record): Delete declaration.
9467 (adjust_type_signedness, ada_val_print_1): Likewise.
9468 (ada_val_print): Move function implementation down.
9469 (print_variant_part, print_field_values, print_record):
9470 Move function implementation up.
9471
c0d48811
JB
94722014-01-07 Joel Brobecker <brobecker@adacore.com>
9473
9474 * python/py-type.c (typy_get_name): New function.
9475 (type_object_getset): Add entry for attribute "name".
9476 * NEWS: Add entry mentioning this new attribute.
9477
c26e9cbb
YQ
94782014-01-07 Yao Qi <yao@codesourcery.com>
9479
9480 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
9481 statement.
9482
0cc6f43d
YQ
94832014-01-07 Yao Qi <yao@codesourcery.com>
9484
9485 * gnu-nat.c (info_port_rights): Add qualifier const to
9486 argument args.
9487
eec03155
YQ
94882014-01-07 Yao Qi <yao@codesourcery.com>
9489
9490 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
9491
f04a82ef
YQ
94922014-01-07 Yao Qi <yao@codesourcery.com>
9493
9494 * gnu-nat.c (make_inf) Update declaration.
9495 (make_inf): Make it static.
9496 (inf_set_traced): Likewise.
9497 (inf_port_to_thread, inf_task_died_status): Likewise.
9498
d57dda0a
YQ
94992014-01-07 Yao Qi <yao@codesourcery.com>
9500
9501 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
9502
3aa8c969
YQ
95032014-01-07 Yao Qi <yao@codesourcery.com>
9504
9505 * gnu-nat.c (_initialize_gnu_nat): Declare.
9506
94123b4f
YQ
95072014-01-07 Yao Qi <yao@codesourcery.com>
9508
9509 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
9510 'enum bfd_endian'.
9511 (struct gdbarch_info) <byte_order>: Change type to
9512 'enum bfd_endian'.
9513 <byte_order_for_code>: Likewise.
9514 * gdbarch.c, gdbarch.h: Regenerated.
9515
dc81d70a
TT
95162014-01-06 Sasha Smundak <asmundak@google.com>
9517
9518 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
9519
cc2f3c35
TT
95202014-01-06 Tom Tromey <tromey@redhat.com>
9521
9522 * doublest.c (convert_doublest_to_floatformat): Use const, not
9523 CONST.
9524 * somread.c (som_symtab_read): Likewise.
9525
adcf2eed
HZ
95262014-01-07 Hui Zhu <hui@codesourcery.com>
9527
9528 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
9529 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
9530 (gdb_bfd_fopen): Ditto.
9531 (gdb_bfd_openr): Ditto.
9532 (gdb_bfd_openw): Ditto.
9533 (gdb_bfd_openr_iovec): Ditto.
9534 (gdb_bfd_fdopenr): Ditto.
9535 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
9536 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
9537 with xstrdup.
9538 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
9539 with xstrdup.
9540 * symfile-mem.c (symbol_file_add_from_memory): Removed
9541 gdb_bfd_stash_filename.
9542
50722198
DE
95432014-01-03 Doug Evans <dje@google.com>
9544
9545 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
9546 output.
9547
2fa4b862
JB
95482014-01-01 Joel Brobecker <brobecker@adacore.com>
9549
9550 Update year range in copyright notice of all files.
9551
28498c42
JB
95522014-01-01 Joel Brobecker <brobecker@adacore.com>
9553
9554 * top.c (print_gdb_version): Set copyright year to 2014.
9555
7b6e1046
JB
95562014-01-01 Joel Brobecker <brobecker@adacore.com>
9557
9558 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
9559
df96af55 9560For older changes see ChangeLog-2013.
c906108c
SS
9561\f
9562Local Variables:
9563mode: change-log
9564left-margin: 8
9565fill-column: 74
9566version-control: never
57da7796 9567coding: utf-8
c906108c 9568End:
This page took 2.048936 seconds and 4 git commands to generate.