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