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