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