make MSYMBOL_VALUE_ADDRESS an rvalue
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-02-26 Tom Tromey <tromey@redhat.com>
2
3 * minsyms.c (prim_record_minimal_symbol_full): Use
4 SET_MSYMBOL_VALUE_ADDRESS.
5 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7 SET_MSYMBOL_VALUE_ADDRESS.
8 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
10
11 2014-02-26 Tom Tromey <tromey@redhat.com>
12
13 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
14 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
15 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
16 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
17 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
18 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
19 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
20 * ada-lang.c (ada_main_name): Update.
21 (ada_lookup_simple_minsym): Update.
22 (ada_make_symbol_completion_list): Update.
23 (ada_add_standard_exceptions): Update.
24 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
25 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
26 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
27 * arm-tdep.c (skip_prologue_function): Update.
28 (arm_skip_stack_protector, arm_skip_stub): Update.
29 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
30 (arm_wince_skip_main_prologue): Update.
31 * auxv.c (ld_so_xfer_auxv): Update.
32 * avr-tdep.c (avr_scan_prologue): Update.
33 * ax-gdb.c (gen_var_ref): Update.
34 * block.c (call_site_for_pc): Update.
35 * blockframe.c (get_pc_function_start): Update.
36 (find_pc_partial_function_gnu_ifunc): Update.
37 * breakpoint.c (create_overlay_event_breakpoint): Update.
38 (create_longjmp_master_breakpoint): Update.
39 (create_std_terminate_master_breakpoint): Update.
40 (create_exception_master_breakpoint): Update.
41 (resolve_sal_pc): Update.
42 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
43 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
44 Update.
45 * c-valprint.c (c_val_print): Update.
46 * coff-pe-read.c (add_pe_forwarded_sym): Update.
47 * coffread.c (coff_symfile_read): Update.
48 * common/agent.c (agent_look_up_symbols): Update.
49 * dbxread.c (find_stab_function_addr): Update.
50 (end_psymtab): Update.
51 * dwarf2loc.c (call_site_to_target_addr): Update.
52 (func_verify_no_selftailcall): Update.
53 (tailcall_dump): Update.
54 (call_site_find_chain_1): Update.
55 (dwarf_expr_reg_to_entry_parameter): Update.
56 * elfread.c (elf_gnu_ifunc_record_cache): Update.
57 (elf_gnu_ifunc_resolve_by_got): Update.
58 * f-valprint.c (info_common_command): Update.
59 * findvar.c (read_var_value): Update.
60 * frame.c (get_prev_frame_1): Update.
61 (inside_main_func): Update.
62 * frv-tdep.c (frv_skip_main_prologue): Update.
63 (frv_frame_this_id): Update.
64 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
65 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
66 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
67 (gnuv3_skip_trampoline): Update.
68 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
69 (hppa64_hpux_in_solib_call_trampoline): Update.
70 (hppa_hpux_skip_trampoline_code): Update.
71 (hppa64_hpux_search_dummy_call_sequence): Update.
72 (hppa_hpux_find_import_stub_for_addr): Update.
73 (hppa_hpux_find_dummy_bpaddr): Update.
74 * hppa-tdep.c (hppa_symbol_address)
75 (hppa_lookup_stub_minimal_symbol): Update.
76 * i386-tdep.c (i386_skip_main_prologue): Update.
77 (i386_pe_skip_trampoline_code): Update.
78 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
79 * infcall.c (get_function_name): Update.
80 * infcmd.c (until_next_command): Update.
81 * jit.c (jit_breakpoint_re_set_internal): Update.
82 (jit_inferior_init): Update.
83 * linespec.c (minsym_found): Update.
84 (add_minsym): Update.
85 * linux-fork.c (info_checkpoints_command): Update.
86 * linux-nat.c (get_signo): Update.
87 * linux-thread-db.c (inferior_has_bug): Update.
88 * m32c-tdep.c (m32c_return_value): Update.
89 (m32c_m16c_address_to_pointer): Update.
90 (m32c_m16c_pointer_to_address): Update.
91 * m32r-tdep.c (m32r_frame_this_id): Update.
92 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
93 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
94 * maint.c (maintenance_translate_address): Update.
95 * minsyms.c (add_minsym_to_hash_table): Update.
96 (add_minsym_to_demangled_hash_table): Update.
97 (msymbol_objfile): Update.
98 (lookup_minimal_symbol): Update.
99 (iterate_over_minimal_symbols): Update.
100 (lookup_minimal_symbol_text): Update.
101 (lookup_minimal_symbol_by_pc_name): Update.
102 (lookup_minimal_symbol_solib_trampoline): Update.
103 (lookup_minimal_symbol_by_pc_section_1): Update.
104 (lookup_minimal_symbol_and_objfile): Update.
105 (prim_record_minimal_symbol_full): Update.
106 (compare_minimal_symbols): Update.
107 (compact_minimal_symbols): Update.
108 (build_minimal_symbol_hash_tables): Update.
109 (install_minimal_symbols): Update.
110 (terminate_minimal_symbol_table): Update.
111 (find_solib_trampoline_target): Update.
112 (minimal_symbol_upper_bound): Update.
113 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
114 * mips-tdep.c (mips_stub_frame_sniffer): Update.
115 (mips_skip_pic_trampoline_code): Update.
116 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
117 * objc-lang.c (selectors_info): Update.
118 (classes_info): Update.
119 (find_methods): Update.
120 (find_imps): Update.
121 (find_objc_msgsend): Update.
122 * objfiles.c (objfile_relocate1): Update.
123 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
124 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
125 * p-valprint.c (pascal_val_print): Update.
126 * parse.c (write_exp_msymbol): Update.
127 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
128 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
129 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
130 * printcmd.c (build_address_symbolic): Update.
131 (sym_info): Update.
132 (address_info): Update.
133 * proc-service.c (ps_pglobal_lookup): Update.
134 * psymtab.c (find_pc_sect_psymtab_closer): Update.
135 (find_pc_sect_psymtab): Update.
136 * python/py-framefilter.c (py_print_frame): Update.
137 * ravenscar-thread.c (get_running_thread_id): Update.
138 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
139 Update.
140 * remote.c (remote_check_symbols): Update.
141 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
142 (rs6000_skip_trampoline_code): Update.
143 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
144 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
145 * solib-dsbt.c (lm_base): Update.
146 * solib-frv.c (lm_base): Update.
147 (main_got): Update.
148 * solib-irix.c (locate_base): Update.
149 * solib-som.c (som_solib_create_inferior_hook): Update.
150 (som_solib_desire_dynamic_linker_symbols): Update.
151 (link_map_start): Update.
152 * solib-spu.c (spu_enable_break): Update.
153 (ocl_enable_break): Update.
154 * solib-svr4.c (elf_locate_base): Update.
155 (enable_break): Update.
156 * spu-tdep.c (spu_get_overlay_table): Update.
157 (spu_catch_start): Update.
158 (flush_ea_cache): Update.
159 * stabsread.c (define_symbol): Update.
160 (scan_file_globals): Update.
161 * stack.c (find_frame_funname): Update.
162 (frame_info): Update.
163 * symfile.c (simple_read_overlay_table): Update.
164 (simple_overlay_update): Update.
165 * symmisc.c (dump_msymbols): Update.
166 * symtab.c (fixup_section): Update.
167 (find_pc_sect_line): Update.
168 (skip_prologue_sal): Update.
169 (search_symbols): Update.
170 (print_msymbol_info): Update.
171 (rbreak_command): Update.
172 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
173 (completion_list_objc_symbol): Update.
174 (default_make_symbol_completion_list_break_on): Update.
175 * tracepoint.c (scope_info): Update.
176 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
177 (tui_get_begin_asm_address): Update.
178 * valops.c (find_function_in_inferior): Update.
179 * value.c (value_static_field): Update.
180 (value_fn_field): Update.
181
182 2014-02-26 Tom Tromey <tromey@redhat.com>
183
184 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
185 bound minimal symbols. Move code that knows about minsym
186 table layout...
187 * minsyms.c (minimal_symbol_upper_bound): ... here. New
188 function.
189 * minsyms.h (minimal_symbol_upper_bound): Declare.
190 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
191 minimal_symbol_upper_bound.
192
193 2014-02-27 Joel Brobecker <brobecker@adacore.com>
194
195 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
196 Use the type's name if its basic type does not have a tag.
197
198 2014-02-27 Joel Brobecker <brobecker@adacore.com>
199
200 * dwarf2read.c (read_subrange_type): Add comment.
201
202 2014-02-27 Joel Brobecker <brobecker@adacore.com>
203
204 * dwarf2read.c (update_enumeration_type_from_children): New
205 function, mostly extracted from process_structure_scope.
206 (read_enumeration_type): Call update_enumeration_type_from_children.
207 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
208 and flag_flag_enum fields.
209
210 2014-02-26 Pedro Alves <palves@redhat.com>
211
212 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
213 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
214 to_xfer_partial method.
215
216 2014-02-26 Pedro Alves <palves@redhat.com>
217
218 * target.c (complete_target_initialization): Don't install
219 default_xfer_partial as to_xfer_partial hook.
220 (nomemory): Delete.
221 (update_current_target): Don't INHERIT nor de_fault
222 deprecated_xfer_memory. Delete de_fault macro.
223 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
224 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
225 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
226 field.
227
228 2014-02-26 Pedro Alves <palves@redhat.com>
229
230 * go32-nat.c (my_write_child): New function.
231 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
232 (go32_xfer_partial): New function.
233 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
234 Instead install a to_xfer_partial hook.
235
236 2014-02-26 Pedro Alves <palves@redhat.com>
237
238 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
239 to_xfer_partial helper. Rewrite.
240 (procfs_xfer_partial): New function.
241 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
242 Install a to_xfer_partial hook.
243
244 2014-02-26 Pedro Alves <palves@redhat.com>
245
246 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
247 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
248 (m32r_xfer_partial): New function.
249 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
250 Install a to_xfer_partial hook.
251
252 2014-02-26 Pedro Alves <palves@redhat.com>
253
254 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
255 helper.
256 (mips_xfer_partial): New function.
257 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
258 hook. Install a to_xfer_partial hook.
259
260 2014-02-26 Joel Brobecker <brobecker@adacore.com>
261
262 * gdbtypes.h (create_array_type_with_stride): Add declaration.
263 * gdbtypes.c (create_array_type_with_stride): New function,
264 renaming create_array_type, but with an added parameter
265 called "bit_stride".
266 (create_array_type): Re-implement using
267 create_array_type_with_stride.
268 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
269 and DW_AT_bit_stride attributes.
270
271 2014-02-26 Pedro Alves <palves@redhat.com>
272
273 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
274 task-specific breakpoints.
275
276 2014-02-25 Pedro Alves <palves@redhat.com>
277
278 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
279 handling of object == TARGET_OBJECT_UNWIND_TABLE.
280
281 2014-02-25 Stan Shebs <stan@codesourcery.com>
282
283 * defs.h: Annotate comments for Doxygen.
284
285 2014-02-25 Tom Tromey <tromey@redhat.com>
286
287 * target.h (target_ignore): Don't declare.
288 * target.c (target_ignore): Remove.
289
290 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 PR gdb/16626
293 * auto-load.c (auto_load_objfile_script_1): Change filename to
294 debugfile.
295
296 2014-02-25 Joel Brobecker <brobecker@adacore.com>
297
298 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
299 documentation. Adjust prototype to match the target_ops
300 to_xfer_partial method. Adjust implementation accordingly.
301
302 2014-02-25 Hui Zhu <hui@codesourcery.com>
303
304 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
305 to_traceframe_info.
306
307 2014-02-25 Kevin Buettner <kevinb@redhat.com>
308
309 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
310 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
311 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
312 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
313 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
314 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
315 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
316 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
317 New constants.
318 (rl78_register_type): Use a data pointer type for SP and
319 new pseudo registers mentioned above. Use a 16 bit integer
320 type for all other register pairs.
321 (rl78_register_name, rl78_g10_register_name): Update for
322 new pseudo registers.
323 (rl78_pseudo_register_read): Likewise.
324 (rl78_pseudo_register_write): Likewise.
325 (rl78_dwarf_reg_to_regnum): Return register numbers representing
326 to the newly added pseudo registers.
327
328 2014-02-24 Doug Evans <dje@google.com>
329
330 * value.c (record_latest_value): Fix comment.
331 * printcmd.c (print_command_1): Remove code to handle -1 return from
332 record_latest_value.
333
334 2014-02-24 Pedro Alves <palves@redhat.com>
335
336 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
337 deprecated_xfer_memory hook.
338 (procfs_xfer_partial): Call procfs_xfer_memory instead
339 of the deprecated_xfer_memory target hook.
340 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
341 helper.
342
343 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
344
345 * windows-nat.c (windows_xfer_shared_libraries): Return
346 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
347 requested object is TARGET_OBJECT_LIBRARIES.
348
349 2014-02-24 Yao Qi <yao@codesourcery.com>
350
351 * target.h (enum target_xfer_status)
352 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
353 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
354 explicitly. New.
355 * corefile.c (memory_error_message): User updated.
356 * exec.c (section_table_read_available_memory): Likewise.
357 * record-btrace.c (record_btrace_xfer_partial): Likewise.
358 * target.c (target_xfer_status_to_string): Likewise.
359 (raw_memory_xfer_partial): Likewise.
360 (memory_xfer_partial_1, target_xfer_partial): Likewise.
361 * valops.c (read_value_memory): Likewise.
362 * exec.h: Update comments.
363
364 2014-02-24 Yao Qi <yao@codesourcery.com>
365
366 * target.c (target_xfer_status_to_string): Rename argument err
367 to status.
368 * target.h (target_xfer_status_to_string): Update declaration.
369 Replace target_xfer_error_to_string with
370 target_xfer_status_to_string in comment.
371
372 2014-02-24 Yao Qi <yao@codesourcery.com>
373
374 * mips-linux-nat.c (super_close): Update its type.
375 (mips_linux_close): Pass 'self' to super_close.
376
377 2014-02-24 Yao Qi <yao@codesourcery.com>
378
379 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
380 * corefile.c (read_memory): Adjusted.
381 * target.c (target_write_with_progress): Adjusted.
382
383 2014-02-23 Yao Qi <yao@codesourcery.com>
384
385 Revert two patches:
386
387 2013-10-25 Yao Qi <yao@codesourcery.com>
388
389 * remote.c (remote_traceframe_info): Return early if
390 traceframe is not selected.
391
392 2013-07-19 Yao Qi <yao@codesourcery.com>
393
394 * target.c (update_current_target): Change the default action
395 of 'to_traceframe_info' from tcomplain to return_zero.
396 * target.h (struct target_ops) <to_traceframe_info>: Add more
397 comments.
398
399 2014-02-23 Yao Qi <yao@codesourcery.com>
400
401 * valops.c (read_value_memory): Rewrite it. Call
402 target_xfer_partial in a loop.
403 * exec.h (section_table_available_memory): Remove declaration.
404 Move comments to ...
405 * exec.c (section_table_available_memory): ... here. Make it
406 static.
407
408 2014-02-23 Yao Qi <yao@codesourcery.com>
409
410 * exec.c (section_table_read_available_memory): New function.
411 * exec.h (section_table_read_available_memory): Declare.
412 * ctf.c (ctf_xfer_partial): Call
413 section_table_read_available_memory.
414 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
415
416 2014-02-23 Yao Qi <yao@codesourcery.com>
417
418 * ctf.c (ctf_xfer_partial): Move code to ...
419 * exec.c (exec_read_partial_read_only): ... it. New function.
420 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
421 * tracefile.c: Include "exec.h".
422 * exec.h (exec_read_partial_read_only): Declare.
423
424 2014-02-23 Yao Qi <yao@codesourcery.com>
425
426 * tracefile-tfile.c (tfile_has_all_memory): Remove.
427 (tfile_has_memory): Remove.
428 (init_tfile_ops): Don't set fields to_has_all_memory and
429 to_has_memory of tfile_ops.
430 * tracefile.c (tracefile_has_all_memory): New function.
431 (tracefile_has_memory): New function.
432 (init_tracefile_ops): Initialize fields to_has_all_memory and
433 to_has_memory of 'ops'.
434
435 2014-02-23 Yao Qi <yao@codesourcery.com>
436
437 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
438 (ctf_thread_alive, ctf_get_trace_status): Remove.
439 (init_ctf_ops): Don't set some fields of ctf_ops. Call
440 init_tracefile_ops.
441 * tracefile-tfile.c (tfile_get_trace_status): Remove.
442 (tfile_has_stack, tfile_has_registers): Remove.
443 (tfile_thread_alive): Remove.
444 (init_tfile_ops): Don't set some fields of tfile_ops. Call
445 init_tracefile_ops.
446 * tracefile.c (tracefile_has_stack): New function.
447 (tracefile_has_registers): New function.
448 (tracefile_thread_alive): New function.
449 (tracefile_get_trace_status): New function.
450 (init_tracefile_ops): New function.
451 * tracefile.h (init_tracefile_ops): Declare.
452
453 2014-02-23 Yao Qi <yao@codesourcery.com>
454
455 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
456 (O_LARGEFILE): Likewise.
457 (tfile_ops): Likewise.
458 (TRACE_HEADER_SIZE): Likewise.
459 (trace_fd, trace_frames_offset, cur_offset): Likewise.
460 (cur_data_size): Likewise.
461 (tfile_read, tfile_open, tfile_interp_line): Likewise.
462 (tfile_close, tfile_files_info): Likewise.
463 (tfile_get_trace_status): Likewise.
464 (tfile_get_tracepoint_status): Likewise.
465 (tfile_get_traceframe_address): Likewise.
466 (tfile_trace_find, match_blocktype): Likewise.
467 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
468 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
469 (tfile_get_trace_state_variable_value): Likewise.
470 (tfile_has_all_memory, tfile_has_memory): Likewise.
471 (tfile_has_stack, tfile_has_registers): Likewise.
472 (tfile_thread_alive, build_traceframe_info): Likewise.
473 (tfile_traceframe_info, init_tfile_ops): Likewise.
474 (_initialize_tracepoint): Don't call init_tfile_ops
475 and add_target_with_completer.
476 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
477 exec.h, completer.h and filenames.h.
478 (_initialize_tracefile_tfile): New function.
479
480 2014-02-23 Yao Qi <yao@codesourcery.com>
481
482 * Makefile.in (REMOTE_OBS): Append tracefile.o and
483 tracefile-tfile.o.
484 (HFILES_NO_SRCDIR): Add tracefile.h.
485 * ctf.c: Include "tracefile.h".
486 * tracefile.h: New file.
487 * tracefile.c: New file
488 * tracefile-tfile.c: New file.
489 * tracepoint.c: Include "tracefile.h".
490 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
491 (stop_reason_names): Add const.
492 (trace_file_writer_xfree): Move it to tracefile.c.
493 (trace_save, trace_save_command, trace_save_tfile): Likewise.
494 (trace_save_ctf): Likewise.
495 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
496 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
497 (tfile_write_header, tfile_write_regblock_type): Likewise.
498 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
499 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
500 (tfile_write_raw_data, tfile_end): Likewise.
501 (tfile_trace_file_writer_new): Likewise.
502 (free_uploaded_tp): Make it extern.
503 (free_uploaded_tsv): Make it extern.
504 (_initialize_tracepoint): Move code to register command 'tsave'
505 to tracefile.c.
506 * tracepoint.h (stop_reason_names): Declare.
507 (struct trace_frame_write_ops): Move it to tracefile.h.
508 (struct trace_file_write_ops): Likewise.
509 (struct trace_file_writer): Likewise.
510 (free_uploaded_tsvs, free_uploaded_tps): Declare.
511
512 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
513
514 PR gdb/16594
515 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
516 process name.
517 (get_cores_used_by_process): New parameter num_cores, use it.
518 (linux_xfer_osdata_processes): Pass num_cores to it.
519 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
520 process name.
521
522 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
523
524 * target.c (memory_xfer_partial): Fix length arg in call to
525 breakpoint_xfer_memory.
526
527 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
528
529 PR tdep/16397
530 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
531 number comes after the + or - signs. Adjust length of register
532 name to be extracted.
533
534 2014-02-20 Tom Tromey <tromey@redhat.com>
535
536 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
537 (ada_varobj_ops): Mark "extern".
538
539 2014-02-20 Tom Tromey <tromey@redhat.com>
540
541 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
542
543 2014-02-20 Doug Evans <xdje42@gmail.com>
544
545 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
546 All callers updated.
547 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
548 All callers updated.
549 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
550 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
551
552 2014-02-20 lin zuojian <manjian2006@gmail.com>
553 Joel Brobecker <brobecker@adacore.com>
554 Doug Evans <xdje42@gmail.com>
555
556 PR symtab/16581
557 * dwarf2read.c (struct die_info): New member in_process.
558 (reset_die_in_process): New function.
559 (process_die): Set it at the start, reset when returning.
560 (inherit_abstract_dies): Only call process_die if origin_child_die
561 not already being processed.
562
563 2014-02-20 Joel Brobecker <brobecker@adacore.com>
564
565 * windows-nat.c (handle_unload_dll): Add function documentation.
566 (do_initial_windows_stuff): Add comment explaining why we wait
567 until after inferior initialization has finished before
568 processing all DLLs.
569
570 2014-02-20 Joel Brobecker <brobecker@adacore.com>
571
572 * windows-nat.c (get_module_name): Delete.
573 (windows_get_exec_module_filename): New function, mostly
574 inspired from get_module_name.
575 (windows_pid_to_exec_file): Replace call to get_module_name
576 by call to windows_get_exec_module_filename.
577
578 2014-02-20 Joel Brobecker <brobecker@adacore.com>
579
580 * windows-nat.c (handle_load_dll): Rewrite this function's
581 introductory comment. Remove code using get_module_name
582 to get the DLL's name.
583
584 2014-02-20 Joel Brobecker <brobecker@adacore.com>
585
586 * windows-nat.c (get_windows_debug_event): Ignore
587 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
588 if windows_initialization_done == 0.
589 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
590 Adjust implementation to always load all DLLs.
591 (do_initial_windows_stuff): Replace call to
592 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
593
594 2014-02-20 Joel Brobecker <brobecker@adacore.com>
595
596 * windows-nat.c (_initialize_windows_nat): Deprecate the
597 "dll-symbols" command. Turn the "add-shared-symbol-files"
598 and "assf" aliases into commands, and deprecate them as well.
599 * NEWS: Add entry explaining that "dll-symbols" and its two
600 aliases are now deprecated.
601
602 2014-02-20 Joel Brobecker <brobecker@adacore.com>
603
604 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
605 new-line in debug string. Remove trailing spaces.
606
607 2014-02-19 Stan Shebs <stan@codesourcery.com>
608
609 * darwin-nat.c (darwin_xfer_partial): Fix return type.
610
611 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
612
613 * NEWS: Add entry for the new feature
614 * python/py-value.c (valpy_binop): Call value_x_binop for struct
615 and class values.
616
617 2014-02-19 Stan Shebs <stan@codesourcery.com>
618
619 * MAINTAINERS: List Yao Qi as nios2 maintainer.
620
621 2014-02-19 Pedro Alves <palves@redhat.com>
622
623 * common/ptid.h (struct ptid): Mention that process_stratum
624 targets should prefer ptid.lwp.
625
626 2014-02-19 Pedro Alves <palves@redhat.com>
627
628 * remote.c (remote_thread_alive, write_ptid, read_ptid)
629 (read_ptid, remote_newthread_step, remote_threads_extra_info)
630 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
631 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
632 store remote thread ids rather than ptid.tid.
633 (_initialize_remote): Adjust.
634
635 2014-02-19 Tom Tromey <tromey@redhat.com>
636
637 * target.c (target_get_unwinder): Rewrite.
638 (target_get_tailcall_unwinder): Rewrite.
639 * record-btrace.c (record_btrace_to_get_unwinder): New function.
640 (record_btrace_to_get_tailcall_unwinder): New function.
641 (init_record_btrace_ops): Update.
642 * target.h (struct target_ops) <to_get_unwinder,
643 to_get_tailcall_unwinder>: Now function pointers. Use
644 TARGET_DEFAULT_RETURN.
645
646 2014-02-19 Tom Tromey <tromey@redhat.com>
647
648 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
649 argument.
650 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
651
652 2014-02-19 Tom Tromey <tromey@redhat.com>
653
654 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
655 directly.
656 * target-delegates.c: Rebuild.
657 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
658 TARGET_DEFAULT_FUNC.
659 * target.c (default_target_decr_pc_after_break): Rename from
660 forward_target_decr_pc_after_break. Simplify.
661 (target_decr_pc_after_break): Rely on delegation.
662
663 2014-02-19 Tom Tromey <tromey@redhat.com>
664
665 * target.c (update_current_target): Do not INHERIT to_doc or
666 to_magic. Do not de_fault to_open or to_close.
667
668 2014-02-19 Tom Tromey <tromey@redhat.com>
669
670 * gcore.h (objfile_find_memory_regions): Declare.
671 * gcore.c (objfile_find_memory_regions): No longer static. Add
672 "self" argument.
673 (_initialize_gcore): Don't call exec_set_find_memory_regions.
674 * exec.c: Include gcore.h.
675 (exec_set_find_memory_regions): Remove.
676 (exec_find_memory_regions): Remove.
677 (exec_do_find_memory_regions): Remove.
678 (init_exec_ops): Update.
679 * defs.h (exec_set_find_memory_regions): Remove.
680
681 2014-02-19 Tom Tromey <tromey@redhat.com>
682
683 * target-delegates.c: Rebuild.
684 * target.h (struct target_ops) <to_extra_thread_info,
685 to_thread_name, to_pid_to_exec_file, to_get_section_table,
686 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
687 not 0, in TARGET_DEFAULT_RETURN.
688
689 2014-02-19 Tom Tromey <tromey@redhat.com>
690
691 * target.c (complete_target_initialization): Remove casts. Use
692 return_zero_has_execution.
693 (return_zero): Add "ignore" argument.
694 (return_zero_has_execution): New function.
695 (init_dummy_target): Remove casts. Use
696 return_zero_has_execution.
697
698 2014-02-19 Tom Tromey <tromey@redhat.com>
699
700 * target.c (update_current_target): Update comments. Do not
701 INHERIT to_stratum.
702
703 2014-02-19 Tom Tromey <tromey@redhat.com>
704
705 * arm-linux-nat.c (arm_linux_read_description): Delegate when
706 needed.
707 * corelow.c (core_read_description): Delegate when needed.
708 * remote.c (remote_read_description): Delegate when needed.
709 * target-delegates.c: Rebuild.
710 * target.c (target_read_description): Rewrite.
711 * target.h (struct target_ops) <to_read_description>: Update
712 comment. Use TARGET_DEFAULT_RETURN.
713
714 2014-02-19 Tom Tromey <tromey@redhat.com>
715
716 * target-delegates.c: Rebuild.
717 * target.c (update_current_target): Don't inherit or default
718 to_can_run.
719 (find_default_run_target): Check against delegate_can_run.
720 * target.h (struct target_ops) <to_can_run>: Use
721 TARGET_DEFAULT_RETURN.
722
723 2014-02-19 Tom Tromey <tromey@redhat.com>
724
725 * target-delegates.c: Rebuild.
726 * target.c (target_disconnect): Unconditionally delegate.
727 * target.h (struct target_ops) <to_disconnect>: Use
728 TARGET_DEFAULT_NORETURN.
729
730 2014-02-19 Tom Tromey <tromey@redhat.com>
731
732 * record.c (record_stop): Unconditionally delegate.
733 * target-delegates.c: Rebuild.
734 * target.c (target_stop_recording): Unconditionally delegate.
735 * target.h (struct target_ops) <to_stop_recording>: Use
736 TARGET_DEFAULT_IGNORE.
737
738 2014-02-19 Tom Tromey <tromey@redhat.com>
739
740 * target-delegates.c: Rebuild.
741 * target.c (target_enable_btrace): Unconditionally delegate.
742 * target.h (struct target_ops) <to_enable_btrace>: Use
743 TARGET_DEFAULT_NORETURN.
744
745 2014-02-19 Tom Tromey <tromey@redhat.com>
746
747 * target-delegates.c: Rebuild.
748 * target.c (target_read_btrace): Unconditionally delegate.
749 * target.h (struct target_ops) <to_read_btrace>: Use
750 TARGET_DEFAULT_NORETURN.
751
752 2014-02-19 Tom Tromey <tromey@redhat.com>
753
754 * target-delegates.c: Rebuild.
755 * target.c (target_teardown_btrace): Unconditionally delegate.
756 * target.h (struct target_ops) <to_teardown_btrace>: Use
757 TARGET_DEFAULT_NORETURN.
758
759 2014-02-19 Tom Tromey <tromey@redhat.com>
760
761 * target-delegates.c: Rebuild.
762 * target.c (target_disable_btrace): Unconditionally delegate.
763 * target.h (struct target_ops) <to_disable_btrace>: Use
764 TARGET_DEFAULT_NORETURN.
765
766 2014-02-19 Tom Tromey <tromey@redhat.com>
767
768 * target-delegates.c: Rebuild.
769 * target.c (default_search_memory): New function.
770 (simple_search_memory): Update comment.
771 (target_search_memory): Unconditionally delegate.
772 * target.h (struct target_ops) <to_search_memory>: Use
773 TARGET_DEFAULT_FUNC.
774
775 2014-02-19 Tom Tromey <tromey@redhat.com>
776
777 * auxv.c (default_auxv_parse): No longer static.
778 (target_auxv_parse): Unconditionally delegate.
779 * auxv.h (default_auxv_parse): Declare.
780 * target-delegates.c: Rebuild.
781 * target.c: Include auxv.h.
782 * target.h (struct target_ops) <to_auxv_parse>: Use
783 TARGET_DEFAULT_FUNC.
784
785 2014-02-19 Tom Tromey <tromey@redhat.com>
786
787 * target-delegates.c: Rebuild.
788 * target.c (target_memory_map): Unconditionally delegate.
789 * target.h (struct target_ops) <to_memory_map>: Use
790 TARGET_DEFAULT_RETURN.
791
792 2014-02-19 Tom Tromey <tromey@redhat.com>
793
794 * target-delegates.c: Rebuild.
795 * target.c (target_thread_alive): Unconditionally delegate.
796 * target.h (struct target_ops) <to_thread_alive>: Use
797 TARGET_DEFAULT_RETURN.
798
799 2014-02-19 Tom Tromey <tromey@redhat.com>
800
801 * target-delegates.c: Rebuild.
802 * target.c (target_save_record): Unconditionally delegate.
803 * target.h (struct target_ops) <to_save_record>: Use
804 TARGET_DEFAULT_NORETURN.
805
806 2014-02-19 Tom Tromey <tromey@redhat.com>
807
808 * target-delegates.c: Rebuild.
809 * target.c (target_delete_record): Unconditionally delegate.
810 * target.h (struct target_ops) <to_delete_record>: Use
811 TARGET_DEFAULT_NORETURN.
812
813 2014-02-19 Tom Tromey <tromey@redhat.com>
814
815 * target-delegates.c: Rebuild.
816 * target.c (target_record_is_replaying): Unconditionally
817 delegate.
818 * target.h (struct target_ops) <to_record_is_replaying>: Use
819 TARGET_DEFAULT_RETURN.
820
821 2014-02-19 Tom Tromey <tromey@redhat.com>
822
823 * target-delegates.c: Rebuild.
824 * target.c (target_goto_record_begin): Unconditionally delegate.
825 * target.h (struct target_ops) <to_goto_record_begin>: Use
826 TARGET_DEFAULT_NORETURN.
827
828 2014-02-19 Tom Tromey <tromey@redhat.com>
829
830 * target-delegates.c: Rebuild.
831 * target.c (target_goto_record_end): Unconditionally delegate.
832 * target.h (struct target_ops) <to_goto_record_end>: Use
833 TARGET_DEFAULT_NORETURN.
834
835 2014-02-19 Tom Tromey <tromey@redhat.com>
836
837 * target-delegates.c: Rebuild.
838 * target.c (target_goto_record): Unconditionally delegate.
839 * target.h (struct target_ops) <to_goto_record>: Use
840 TARGET_DEFAULT_NORETURN.
841
842 2014-02-19 Tom Tromey <tromey@redhat.com>
843
844 * target-delegates.c: Rebuild.
845 * target.c (target_insn_history): Unconditionally delegate.
846 * target.h (struct target_ops) <to_insn_history>: Use
847 TARGET_DEFAULT_NORETURN.
848
849 2014-02-19 Tom Tromey <tromey@redhat.com>
850
851 * target-delegates.c: Rebuild.
852 * target.c (target_insn_history_from): Unconditionally delegate.
853 * target.h (struct target_ops) <to_insn_history_from>: Use
854 TARGET_DEFAULT_NORETURN.
855
856 2014-02-19 Tom Tromey <tromey@redhat.com>
857
858 * target-delegates.c: Rebuild.
859 * target.c (target_insn_history_range): Unconditionally delegate.
860 * target.h (struct target_ops) <to_insn_history_range>: Use
861 TARGET_DEFAULT_NORETURN.
862
863 2014-02-19 Tom Tromey <tromey@redhat.com>
864
865 * target-delegates.c: Rebuild.
866 * target.c (target_call_history): Unconditionally delegate.
867 * target.h (struct target_ops) <to_call_history>: Use
868 TARGET_DEFAULT_NORETURN.
869
870 2014-02-19 Tom Tromey <tromey@redhat.com>
871
872 * target-delegates.c: Rebuild.
873 * target.c (target_call_history_from): Unconditionally delegate.
874 * target.h (struct target_ops) <to_call_history_from>: Use
875 TARGET_DEFAULT_NORETURN.
876
877 2014-02-19 Tom Tromey <tromey@redhat.com>
878
879 * target-delegates.c: Rebuild.
880 * target.c (target_call_history_range): Unconditionally delegate.
881 * target.h (struct target_ops) <to_call_history_range>: Use
882 TARGET_DEFAULT_NORETURN.
883
884 2014-02-19 Tom Tromey <tromey@redhat.com>
885
886 * target-delegates.c: Rebuild.
887 * target.c (target_verify_memory): Unconditionally delegate.
888 * target.h (struct target_ops) <to_verify_memory>: Use
889 TARGET_DEFAULT_NORETURN.
890
891 2014-02-19 Tom Tromey <tromey@redhat.com>
892
893 * target-delegates.c: Rebuild.
894 * target.c (target_core_of_thread): Unconditionally delegate.
895 * target.h (struct target_ops) <to_core_of_thread>: Use
896 TARGET_DEFAULT_RETURN.
897
898 2014-02-19 Tom Tromey <tromey@redhat.com>
899
900 * target-delegates.c: Rebuild.
901 * target.c (target_flash_done): Unconditionally delegate.
902 * target.h (struct target_ops) <to_flash_done>: Use
903 TARGET_DEFAULT_NORETURN.
904
905 2014-02-19 Tom Tromey <tromey@redhat.com>
906
907 * target-delegates.c: Rebuild.
908 * target.c (target_flash_erase): Unconditionally delegate.
909 * target.h (struct target_ops) <to_flash_erase>: Use
910 TARGET_DEFAULT_NORETURN.
911
912 2014-02-19 Tom Tromey <tromey@redhat.com>
913
914 * target-delegates.c: Rebuild.
915 * target.c (target_get_section_table): Unconditionally delegate.
916 * target.h (struct target_ops) <to_get_section_table>: Use
917 TARGET_DEFAULT_RETURN.
918
919 2014-02-19 Tom Tromey <tromey@redhat.com>
920
921 * target-delegates.c: Rebuild.
922 * target.c (target_pid_to_str): Unconditionally delegate.
923 (init_dummy_target): Don't initialize to_pid_to_str.
924 (default_pid_to_str): Rename from dummy_pid_to_str.
925 * target.h (struct target_ops) <to_pid_to_str>: Use
926 TARGET_DEFAULT_FUNC.
927
928 2014-02-19 Tom Tromey <tromey@redhat.com>
929
930 * target-delegates.c: Rebuild.
931 * target.c (target_find_new_threads): Unconditionally delegate.
932 * target.h (struct target_ops) <to_find_new_threads>: Use
933 TARGET_DEFAULT_RETURN.
934
935 2014-02-19 Tom Tromey <tromey@redhat.com>
936
937 * target-delegates.c: Rebuild.
938 * target.c (target_program_signals): Unconditionally delegate.
939 * target.h (struct target_ops) <to_program_signals>: Use
940 TARGET_DEFAULT_IGNORE.
941
942 2014-02-19 Tom Tromey <tromey@redhat.com>
943
944 * target-delegates.c: Rebuild.
945 * target.c (target_pass_signals): Unconditionally delegate.
946 * target.h (struct target_ops) <to_pass_signals>: Use
947 TARGET_DEFAULT_IGNORE.
948
949 2014-02-19 Tom Tromey <tromey@redhat.com>
950
951 * target-delegates.c: Rebuild.
952 * target.c (default_mourn_inferior): New function.
953 (target_mourn_inferior): Unconditionally delegate.
954 * target.h (struct target_ops) <to_mourn_inferior>: Use
955 TARGET_DEFAULT_FUNC.
956
957 2014-02-19 Tom Tromey <tromey@redhat.com>
958
959 * target-delegates.c: Rebuild.
960 * target.c (default_follow_fork): New function.
961 (target_follow_fork): Unconditionally delegate.
962 * target.h (struct target_ops) <to_follow_fork>: Use
963 TARGET_DEFAULT_FUNC.
964
965 2014-02-19 Tom Tromey <tromey@redhat.com>
966
967 * target-delegates.c: Rebuild.
968 * target.c (target_kill): Unconditionally delegate.
969 * target.h (struct target_ops) <to_kill>: Use
970 TARGET_DEFAULT_NORETURN.
971
972 2014-02-19 Tom Tromey <tromey@redhat.com>
973
974 * target-delegates.c: Rebuild.
975 * target.c (target_masked_watch_num_registers): Unconditionally
976 delegate.
977 * target.h (struct target_ops) <to_masked_watch_num_registers>:
978 Use TARGET_DEFAULT_RETURN.
979
980 2014-02-19 Tom Tromey <tromey@redhat.com>
981
982 * target-delegates.c: Rebuild.
983 * target.c (target_remove_mask_watchpoint): Unconditionally
984 delegate.
985 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
986 TARGET_DEFAULT_RETURN.
987
988 2014-02-19 Tom Tromey <tromey@redhat.com>
989
990 * target-delegates.c: Rebuild.
991 * target.c (target_insert_mask_watchpoint): Unconditionally
992 delegate.
993 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
994 TARGET_DEFAULT_RETURN.
995
996 2014-02-19 Tom Tromey <tromey@redhat.com>
997
998 * target-delegates.c: Rebuild.
999 * target.c (target_ranged_break_num_registers): Unconditionally
1000 delegate.
1001 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1002 Use TARGET_DEFAULT_RETURN.
1003
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1005
1006 * target-delegates.c: Rebuild.
1007 * target.c (target_fetch_registers): Unconditionally delegate.
1008 * target.h (struct target_ops) <to_fetch_registers>: Use
1009 TARGET_DEFAULT_NORETURN.
1010
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1012
1013 * target-delegates.c: Rebuild.
1014 * target.c (update_current_target): Don't inherit or default
1015 to_stop.
1016 * target.h (struct target_ops) <to_stop>: Use
1017 TARGET_DEFAULT_IGNORE.
1018
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1020
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1023 to_can_run_breakpoint_commands.
1024 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1025 Use TARGET_DEFAULT_RETURN.
1026
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1028
1029 * target-delegates.c: Rebuild.
1030 * target.c (update_current_target): Don't inherit or default
1031 to_supports_evaluation_of_breakpoint_conditions.
1032 * target.h (struct target_ops)
1033 <to_supports_evaluation_of_breakpoint_conditions>: Use
1034 TARGET_DEFAULT_RETURN.
1035
1036 2014-02-19 Tom Tromey <tromey@redhat.com>
1037
1038 * target-delegates.c: Rebuild.
1039 * target.c (update_current_target): Don't inherit or default
1040 to_augmented_libraries_svr4_read.
1041 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1042 Use TARGET_DEFAULT_RETURN.
1043
1044 2014-02-19 Tom Tromey <tromey@redhat.com>
1045
1046 * target-delegates.c: Rebuild.
1047 * target.c (update_current_target): Don't inherit or default
1048 to_can_use_agent.
1049 * target.h (struct target_ops) <to_can_use_agent>: Use
1050 TARGET_DEFAULT_RETURN.
1051
1052 2014-02-19 Tom Tromey <tromey@redhat.com>
1053
1054 * target-delegates.c: Rebuild.
1055 * target.c (update_current_target): Don't inherit or default
1056 to_use_agent.
1057 * target.h (struct target_ops) <to_use_agent>: Use
1058 TARGET_DEFAULT_NORETURN.
1059
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1061
1062 * target-delegates.c: Rebuild.
1063 * target.c (update_current_target): Don't inherit or default
1064 to_traceframe_info.
1065 (return_null): Remove.
1066 * target.h (struct target_ops) <to_traceframe_info>: Use
1067 TARGET_DEFAULT_RETURN.
1068
1069 2014-02-19 Tom Tromey <tromey@redhat.com>
1070
1071 * target-delegates.c: Rebuild.
1072 * target.c (update_current_target): Don't inherit or default
1073 to_static_tracepoint_markers_by_strid.
1074 * target.h (struct target_ops)
1075 <to_static_tracepoint_markers_by_strid>: Use
1076 TARGET_DEFAULT_NORETURN.
1077
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1079
1080 * target-delegates.c: Rebuild.
1081 * target.c (update_current_target): Don't inherit or default
1082 to_static_tracepoint_marker_at.
1083 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1084 Use TARGET_DEFAULT_RETURN.
1085
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1087
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_set_permissions.
1091 * target.h (struct target_ops) <to_set_permissions>: Use
1092 TARGET_DEFAULT_IGNORE.
1093
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1095
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_get_tib_address.
1099 * target.h (struct target_ops) <to_get_tib_address>: Use
1100 TARGET_DEFAULT_NORETURN.
1101
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1103
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1106 to_set_trace_notes.
1107 * target.h (struct target_ops) <to_set_trace_notes>: Use
1108 TARGET_DEFAULT_RETURN.
1109
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1111
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't initialize
1114 to_set_trace_buffer_size.
1115 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1116 TARGET_DEFAULT_IGNORE.
1117
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1119
1120 * target-delegates.c: Rebuild.
1121 * target.c (update_current_target): Don't inherit or default
1122 to_set_circular_trace_buffer.
1123 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1124 TARGET_DEFAULT_IGNORE.
1125
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1127
1128 * target-delegates.c: Rebuild.
1129 * target.c (update_current_target): Don't inherit or default
1130 to_set_disconnected_tracing.
1131 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1132 TARGET_DEFAULT_IGNORE.
1133
1134 2014-02-19 Tom Tromey <tromey@redhat.com>
1135
1136 * target-delegates.c: Rebuild.
1137 * target.c (update_current_target): Don't inherit or default
1138 to_get_min_fast_tracepoint_insn_len.
1139 (return_minus_one): Remove.
1140 * target.h (struct target_ops)
1141 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1142
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1144
1145 * target-delegates.c: Rebuild.
1146 * target.c (update_current_target): Don't inherit or default
1147 to_get_raw_trace_data.
1148 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1149 TARGET_DEFAULT_NORETURN.
1150
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1152
1153 * target-delegates.c: Rebuild.
1154 * target.c (update_current_target): Don't inherit or default
1155 to_upload_trace_state_variables.
1156 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1157 Use TARGET_DEFAULT_RETURN.
1158
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1160
1161 * target-delegates.c: Rebuild.
1162 * target.c (update_current_target): Don't inherit or default
1163 to_upload_tracepoints.
1164 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1165 TARGET_DEFAULT_RETURN.
1166
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1168
1169 * target-delegates.c: Rebuild.
1170 * target.c (update_current_target): Don't inherit or default
1171 to_save_trace_data.
1172 * target.h (struct target_ops) <to_save_trace_data>: Use
1173 TARGET_DEFAULT_NORETURN.
1174
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1176
1177 * target-delegates.c: Rebuild.
1178 * target.c (update_current_target): Don't inherit or default
1179 to_get_trace_state_variable_value.
1180 * target.h (struct target_ops)
1181 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1182
1183 2014-02-19 Tom Tromey <tromey@redhat.com>
1184
1185 * target-delegates.c: Rebuild.
1186 * target.c (update_current_target): Don't inherit or default
1187 to_trace_find.
1188 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1189
1190 2014-02-19 Tom Tromey <tromey@redhat.com>
1191
1192 * target-delegates.c: Rebuild.
1193 * target.c (update_current_target): Don't inherit or default
1194 to_trace_stop.
1195 * target.h (struct target_ops) <to_trace_stop>: Use
1196 TARGET_DEFAULT_NORETURN.
1197
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1199
1200 * target-delegates.c: Rebuild.
1201 * target.c (update_current_target): Don't inherit or default
1202 to_get_tracepoint_status.
1203 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1204 TARGET_DEFAULT_NORETURN.
1205
1206 2014-02-19 Tom Tromey <tromey@redhat.com>
1207
1208 * target-delegates.c: Rebuild.
1209 * target.c (update_current_target): Don't inherit or default
1210 to_get_trace_status.
1211 * target.h (struct target_ops) <to_get_trace_status>: Use
1212 TARGET_DEFAULT_RETURN.
1213
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1215
1216 * target-delegates.c: Rebuild.
1217 * target.c (update_current_target): Don't inherit or default
1218 to_trace_start.
1219 * target.h (struct target_ops) <to_trace_start>: Use
1220 TARGET_DEFAULT_NORETURN.
1221
1222 2014-02-19 Tom Tromey <tromey@redhat.com>
1223
1224 * target-delegates.c: Rebuild.
1225 * target.c (update_current_target): Don't inherit or default
1226 to_trace_set_readonly_regions.
1227 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1228 Use TARGET_DEFAULT_NORETURN.
1229
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1231
1232 * target-delegates.c: Rebuild.
1233 * target.c (update_current_target): Don't inherit or default
1234 to_disable_tracepoint.
1235 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1236 TARGET_DEFAULT_NORETURN.
1237
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1239
1240 * target-delegates.c: Rebuild.
1241 * target.c (update_current_target): Don't inherit or default
1242 to_enable_tracepoint.
1243 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1244 TARGET_DEFAULT_NORETURN.
1245
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1247
1248 * target-delegates.c: Rebuild.
1249 * target.c (update_current_target): Don't inherit or default
1250 to_download_trace_state_variable.
1251 * target.h (struct target_ops) <to_download_trace_state_variable>:
1252 Use TARGET_DEFAULT_NORETURN.
1253
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1255
1256 * target-delegates.c: Rebuild.
1257 * target.c (update_current_target): Don't inherit or default
1258 to_can_download_tracepoint.
1259 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1260 TARGET_DEFAULT_RETURN.
1261
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1263
1264 * target-delegates.c: Rebuild.
1265 * target.c (update_current_target): Don't inherit or default
1266 to_download_tracepoint.
1267 * target.h (struct target_ops) <to_download_tracepoint>: Use
1268 TARGET_DEFAULT_NORETURN.
1269
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1271
1272 * target-delegates.c: Rebuild.
1273 * target.c (update_current_target): Don't inherit or default
1274 to_trace_init.
1275 * target.h (struct target_ops) <to_trace_init>: Use
1276 TARGET_DEFAULT_RETURN.
1277
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1279
1280 * target-delegates.c: Rebuild.
1281 * target.c (update_current_target): Don't inherit or default
1282 to_supports_string_tracing.
1283 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1284 TARGET_DEFAULT_RETURN.
1285
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1287
1288 * target-delegates.c: Rebuild.
1289 * target.c (update_current_target): Don't inherit or default
1290 to_supports_enable_disable_tracepoint.
1291 * target.h (struct target_ops)
1292 <to_supports_enable_disable_tracepoint>: Use
1293 TARGET_DEFAULT_RETURN.
1294
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1296
1297 * target-delegates.c: Rebuild.
1298 * target.c (update_current_target): Don't inherit or default
1299 to_supports_multi_process.
1300 * target.h (struct target_ops) <to_supports_multi_process>: Use
1301 TARGET_DEFAULT_RETURN.
1302
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1304
1305 * target-delegates.c: Rebuild.
1306 * target.c (update_current_target): Don't inherit or default
1307 to_get_ada_task_ptid.
1308 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1309 TARGET_DEFAULT_FUNC.
1310
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1312
1313 * target-delegates.c: Rebuild.
1314 * target.c (update_current_target): Don't inherit or default
1315 to_thread_architecture.
1316 * target.h (struct target_ops) <to_thread_architecture>: Use
1317 TARGET_DEFAULT_FUNC.
1318
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1320
1321 * target-delegates.c: Rebuild.
1322 * target.c (update_current_target): Don't inherit or default
1323 to_execution_direction.
1324 * target.h (struct target_ops) <to_execution_direction>: Use
1325 TARGET_DEFAULT_FUNC.
1326
1327 2014-02-19 Tom Tromey <tromey@redhat.com>
1328
1329 * target-delegates.c: Rebuild.
1330 * target.c (update_current_target): Don't inherit or default
1331 to_can_execute_reverse.
1332 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1333 TARGET_DEFAULT_RETURN.
1334 (target_can_execute_reverse): Unconditionally delegate.
1335
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1337
1338 * target-delegates.c: Rebuild.
1339 * target.c (update_current_target): Don't inherit or default
1340 to_goto_bookmark.
1341 (dummy_goto_bookmark): Remove.
1342 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1343 * target.h (struct target_ops) <to_goto_bookmark>: Use
1344 TARGET_DEFAULT_NORETURN.
1345
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1347
1348 * target-delegates.c: Rebuild.
1349 * target.c (update_current_target): Don't inherit or default
1350 to_get_bookmark.
1351 (dummy_get_bookmark): Remove.
1352 (init_dummy_target): Don't inherit or default to_get_bookmark.
1353 * target.h (struct target_ops) <to_get_bookmark>: Use
1354 TARGET_DEFAULT_NORETURN
1355
1356 2014-02-19 Tom Tromey <tromey@redhat.com>
1357
1358 * target-delegates.c: Rebuild.
1359 * target.c (update_current_target): Don't inherit or default
1360 to_make_corefile_notes.
1361 (init_dummy_target): Don't initialize to_make_corefile_notes.
1362 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1363 TARGET_DEFAULT_FUNC.
1364
1365 2014-02-19 Tom Tromey <tromey@redhat.com>
1366
1367 * target-delegates.c: Rebuild.
1368 * target.c (update_current_target): Don't inherit or default
1369 to_find_memory_regions.
1370 (init_dummy_target): Don't initialize to_find_memory_regions.
1371 * target.h (struct target_ops) <to_find_memory_regions>: Use
1372 TARGET_DEFAULT_FUNC.
1373
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1375
1376 * target-delegates.c: Rebuild.
1377 * target.c (update_current_target): Don't inherit or default
1378 to_log_command.
1379 * target.h (struct target_ops) <to_log_command>: Use
1380 TARGET_DEFAULT_IGNORE.
1381 (target_log_command): Unconditionally delegate.
1382
1383 2014-02-19 Tom Tromey <tromey@redhat.com>
1384
1385 * target-delegates.c: Rebuild.
1386 * target.c (update_current_target): Don't inherit or default
1387 to_pid_to_exec_file.
1388 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1389 TARGET_DEFAULT_RETURN.
1390
1391 2014-02-19 Tom Tromey <tromey@redhat.com>
1392
1393 * target-delegates.c: Rebuild.
1394 * target.c (update_current_target): Don't inherit or default
1395 to_thread_name.
1396 (target_thread_name): Unconditionally delegate.
1397 * target.h (struct target_ops) <to_thread_name>: Use
1398 TARGET_DEFAULT_RETURN.
1399
1400 2014-02-19 Tom Tromey <tromey@redhat.com>
1401
1402 * target-delegates.c: Rebuild.
1403 * target.c (update_current_target): Don't inherit or default
1404 to_extra_thread_info.
1405 * target.h (struct target_ops) <to_extra_thread_info>: Use
1406 TARGET_DEFAULT_RETURN.
1407
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1409
1410 * target-delegates.c: Rebuild.
1411 * target.c (update_current_target): Don't inherit or default
1412 to_has_exited.
1413 * target.h (struct target_ops) <to_has_exited>: Use
1414 TARGET_DEFAULT_RETURN..
1415
1416 2014-02-19 Tom Tromey <tromey@redhat.com>
1417
1418 * target-delegates.c: Rebuild.
1419 * target.c (update_current_target): Don't inherit or default
1420 to_set_syscall_catchpoint.
1421 (return_one): Remove.
1422 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1423 TARGET_DEFAULT_RETURN.
1424
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1426
1427 * target-delegates.c: Rebuild.
1428 * target.c (update_current_target): Don't inherit or default
1429 to_insert_exec_catchpoint.
1430 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1431 TARGET_DEFAULT_RETURN.
1432
1433 2014-01-08 Tom Tromey <tromey@redhat.com>
1434
1435 * target-delegates.c: Rebuild.
1436 * target.c (update_current_target): Don't inherit or default
1437 to_insert_exec_catchpoint.
1438 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1439 TARGET_DEFAULT_RETURN.
1440
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1442
1443 * target-delegates.c: Rebuild.
1444 * target.c (update_current_target): Don't inherit or default
1445 to_remove_vfork_catchpoint.
1446 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1447 TARGET_DEFAULT_RETURN.
1448
1449 2014-02-19 Tom Tromey <tromey@redhat.com>
1450
1451 * target-delegates.c: Rebuild.
1452 * target.c (update_current_target): Don't inherit or default
1453 to_insert_vfork_catchpoint.
1454 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1455 TARGET_DEFAULT_RETURN.
1456
1457 2014-02-19 Tom Tromey <tromey@redhat.com>
1458
1459 * target-delegates.c: Rebuild.
1460 * target.c (update_current_target): Don't inherit or default
1461 to_remove_fork_catchpoint.
1462 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1463 TARGET_DEFAULT_RETURN.
1464
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1466
1467 * target-delegates.c: Rebuild.
1468 * target.c (update_current_target): Don't inherit or default
1469 to_insert_fork_catchpoint.
1470 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1471 TARGET_DEFAULT_RETURN.
1472
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1474
1475 * target-delegates.c: Rebuild.
1476 * target.c (update_current_target): Don't inherit or default
1477 to_post_startup_inferior.
1478 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1479 TARGET_DEFAULT_IGNORE.
1480
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1482
1483 * target-delegates.c: Rebuild.
1484 * target.c (update_current_target): Don't inherit or default
1485 to_load.
1486 * target.h (struct target_ops) <to_load>: Use
1487 TARGET_DEFAULT_NORETURN.
1488
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1490
1491 * target-delegates.c: Rebuild.
1492 * target.c (update_current_target): Don't inherit or default
1493 to_terminal_info.
1494 * target.h (struct target_ops) <to_terminal_info>: Use
1495 TARGET_DEFAULT_FUNC.
1496
1497 2014-02-19 Tom Tromey <tromey@redhat.com>
1498
1499 * target-delegates.c: Rebuild.
1500 * target.c (update_current_target): Don't inherit or default
1501 to_terminal_save_ours.
1502 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1503 TARGET_DEFAULT_IGNORE.
1504
1505 2014-02-19 Tom Tromey <tromey@redhat.com>
1506
1507 * target-delegates.c: Rebuild.
1508 * target.c (update_current_target): Don't inherit or default
1509 to_terminal_ours.
1510 * target.h (struct target_ops) <to_terminal_ours>: Use
1511 TARGET_DEFAULT_IGNORE.
1512
1513 2014-02-19 Tom Tromey <tromey@redhat.com>
1514
1515 * target-delegates.c: Rebuild.
1516 * target.c (update_current_target): Don't inherit or default
1517 to_terminal_ours_for_output.
1518 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1519 TARGET_DEFAULT_IGNORE.
1520
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1522
1523 * target-delegates.c: Rebuild.
1524 * target.c (update_current_target): Don't inherit or default
1525 to_terminal_inferior.
1526 * target.h (struct target_ops) <to_terminal_inferior>: Use
1527 TARGET_DEFAULT_IGNORE.
1528
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1530
1531 * target-delegates.c: Rebuild.
1532 * target.c (update_current_target): Don't inherit or default
1533 to_terminal_init.
1534 * target.h (struct target_ops) <to_terminal_init>: Use
1535 TARGET_DEFAULT_IGNORE.
1536
1537 2014-02-19 Tom Tromey <tromey@redhat.com>
1538
1539 * target-delegates.c: Rebuild.
1540 * target.c (update_current_target): Don't inherit or default
1541 to_can_accel_watchpoint_condition.
1542 * target.h (struct target_ops)
1543 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1544
1545 2014-02-19 Tom Tromey <tromey@redhat.com>
1546
1547 * target-delegates.c: Rebuild.
1548 * target.c (update_current_target): Don't inherit or default
1549 to_region_ok_for_hw_watchpoint.
1550 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1551 Use TARGET_DEFAULT_FUNC.
1552
1553 2014-02-19 Tom Tromey <tromey@redhat.com>
1554
1555 * target-delegates.c: Rebuild.
1556 * target.c (update_current_target): Don't inherit or default
1557 to_watchpoint_addr_within_range.
1558 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1559 Use TARGET_DEFAULT_FUNC.
1560
1561 2014-02-19 Tom Tromey <tromey@redhat.com>
1562
1563 * target-delegates.c: Rebuild.
1564 * target.c (update_current_target): Don't inherit or default
1565 to_remove_watchpoint.
1566 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1567 TARGET_DEFAULT_NORETURN.
1568
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1570
1571 * target-delegates.c: Rebuild.
1572 * target.c (update_current_target): Don't inherit or default
1573 to_insert_watchpoint.
1574 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1575 TARGET_DEFAULT_RETURN.
1576
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1578
1579 * target-delegates.c: Rebuild.
1580 * target.c (update_current_target): Don't inherit or default
1581 to_remove_hw_breakpoint.
1582 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1583 TARGET_DEFAULT_RETURN.
1584
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1586
1587 * target-delegates.c: Rebuild.
1588 * target.c (update_current_target): Don't inherit or default
1589 to_insert_hw_breakpoint.
1590 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1591 TARGET_DEFAULT_RETURN.
1592
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1594
1595 * target-delegates.c: Rebuild.
1596 * target.c (update_current_target): Don't inherit or default
1597 to_can_use_hw_breakpoint.
1598 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1599 TARGET_DEFAULT_RETURN.
1600
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1602
1603 * target-delegates.c: Rebuild.
1604 * target.c (update_current_target): Don't inherit or default
1605 to_files_info.
1606 * target.h (struct target_ops) <to_files_info>: Use
1607 TARGET_DEFAULT_IGNORE.
1608
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1610
1611 * target-delegates.c: Rebuild.
1612 * target.c (update_current_target): Don't inherit or default
1613 to_store.
1614 * target.h (struct target_ops) <to_store>: Use
1615 TARGET_DEFAULT_NORETURN.
1616
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1618
1619 * target-delegates.c: Rebuild.
1620 * target.c (update_current_target): Don't inherit or default
1621 to_post_attach.
1622 * target.h (struct target_ops) <to_post_attach>: Use
1623 TARGET_DEFAULT_IGNORE.
1624
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1626
1627 * target-delegates.c: Rebuild.
1628 * target.c (update_current_target): Don't inherit or default
1629 to_rcmd.
1630 (default_rcmd): New function.
1631 (do_monitor_command): Unconditionally delegate.
1632 * target.h (struct target_ops) <to_rmcd>: Use
1633 TARGET_DEFAULT_FUNC.
1634
1635 2014-02-19 Tom Tromey <tromey@redhat.com>
1636
1637 * target-delegates.c: Rebuild.
1638 * target.c (init_dummy_target): Don't initialize to_attach.
1639 (target_attach): Unconditionally delegate.
1640 * target.h (struct target_ops) <to_attach>: Use
1641 TARGET_DEFAULT_FUNC.
1642
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1644
1645 * target-delegates.c: Rebuild.
1646 * target.c (target_detach): Unconditionally delegate.
1647 (init_dummy_target): Don't initialize to_detach.
1648 * target.h (struct target_ops) <to_detach>: Use
1649 TARGET_DEFAULT_IGNORE.
1650
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1652
1653 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1654 Add argument.
1655 (target_augmented_libraries_svr4_read): Add argument.
1656 * target.c (update_current_target): Update.
1657 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1658 argument.
1659
1660 2014-02-19 Tom Tromey <tromey@redhat.com>
1661
1662 * target.h (struct target_ops) <to_call_history_range>: Add
1663 argument.
1664 * target.c (target_call_history_range): Add argument.
1665 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1666 argument.
1667 (record_btrace_call_history_from): Update.
1668
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1670
1671 * target.h (struct target_ops) <to_call_history_from>: Add
1672 argument.
1673 * target.c (target_call_history_from): Add argument.
1674 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1675 argument.
1676
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1678
1679 * target.h (struct target_ops) <to_call_history>: Add argument.
1680 * target.c (target_call_history): Add argument.
1681 * record-btrace.c (record_btrace_call_history): Add 'self'
1682 argument.
1683
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1685
1686 * target.h (struct target_ops) <to_insn_history_range>: Add
1687 argument.
1688 * target.c (target_insn_history_range): Add argument.
1689 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1690 argument.
1691 (record_btrace_insn_history_from): Update.
1692
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1694
1695 * target.h (struct target_ops) <to_insn_history_from>: Add
1696 argument.
1697 * target.c (target_insn_history_from): Add argument.
1698 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1699 argument.
1700
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1702
1703 * target.h (struct target_ops) <to_insn_history>: Add argument.
1704 * target.c (target_insn_history): Add argument.
1705 * record-btrace.c (record_btrace_insn_history): Add 'self'
1706 argument.
1707
1708 2014-02-19 Tom Tromey <tromey@redhat.com>
1709
1710 * target.h (struct target_ops) <to_goto_record>: Add argument.
1711 * target.c (target_goto_record): Add argument.
1712 * record-full.c (record_full_goto): Add 'self' argument.
1713 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1714
1715 2014-02-19 Tom Tromey <tromey@redhat.com>
1716
1717 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1718 * target.c (target_goto_record_end): Add argument.
1719 * record-full.c (record_full_goto_end): Add 'self' argument.
1720 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1721
1722 2014-02-19 Tom Tromey <tromey@redhat.com>
1723
1724 * target.h (struct target_ops) <to_goto_record_begin>: Add
1725 argument.
1726 * target.c (target_goto_record_begin): Add argument.
1727 * record-full.c (record_full_goto_begin): Add 'self' argument.
1728 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1729 argument.
1730
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1732
1733 * target.h (struct target_ops) <to_record_is_replaying>: Add
1734 argument.
1735 * target.c (target_record_is_replaying): Add argument.
1736 * record-full.c (record_full_is_replaying): Add 'self' argument.
1737 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1738 argument.
1739 (record_btrace_xfer_partial, record_btrace_store_registers)
1740 (record_btrace_prepare_to_store, record_btrace_resume)
1741 (record_btrace_wait, record_btrace_decr_pc_after_break)
1742 (record_btrace_find_new_threads, record_btrace_thread_alive):
1743 Update.
1744
1745 2014-02-19 Tom Tromey <tromey@redhat.com>
1746
1747 * target.h (struct target_ops) <to_delete_record>: Add argument.
1748 * target.c (target_delete_record): Add argument.
1749 * record-full.c (record_full_delete): Add 'self' argument.
1750
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1752
1753 * target.h (struct target_ops) <to_save_record>: Add argument.
1754 * target.c (target_save_record): Add argument.
1755 * record-full.c (record_full_save): Add 'self' argument.
1756 (record_full_save): Add 'self' argument.
1757
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1759
1760 * target.h (struct target_ops) <to_info_record>: Add argument.
1761 * target.c (target_info_record): Add argument.
1762 * record.c (info_record_command): Add argument.
1763 * record-full.c (record_full_info): Add 'self' argument.
1764 * record-btrace.c (record_btrace_info): Add 'self' argument.
1765
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1767
1768 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1769 * target.c (target_stop_recording): Add argument.
1770 * record.c (record_stop): Add argument.
1771 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1772 argument.
1773
1774 2014-02-19 Tom Tromey <tromey@redhat.com>
1775
1776 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1777 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1778 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1779 argument.
1780 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1781 (_initialize_amd64_linux_nat): Use it.
1782 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1783 (_initialize_i386_linux_nat): Use it.
1784
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1786
1787 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1788 * target.c (target_teardown_btrace): Add argument.
1789 * remote.c (remote_teardown_btrace): Add 'self' argument.
1790 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1791 argument.
1792 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1793 argument.
1794
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1796
1797 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1798 * target.c (target_disable_btrace): Add argument.
1799 * remote.c (remote_disable_btrace): Add 'self' argument.
1800 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1801 argument.
1802 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1803 argument.
1804
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1806
1807 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1808 * target.c (target_enable_btrace): Add argument.
1809 * remote.c (remote_enable_btrace): Add 'self' argument.
1810 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1811 argument.
1812 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1813 argument.
1814
1815 2014-02-19 Tom Tromey <tromey@redhat.com>
1816
1817 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1818 (target_can_use_agent): Add argument.
1819 * target.c (update_current_target): Update.
1820 * remote.c (remote_can_use_agent): Add 'self' argument.
1821 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1822
1823 2014-02-19 Tom Tromey <tromey@redhat.com>
1824
1825 * target.h (struct target_ops) <to_use_agent>: Add argument.
1826 (target_use_agent): Add argument.
1827 * target.c (update_current_target): Update.
1828 * remote.c (remote_use_agent): Add 'self' argument.
1829 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1830
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1832
1833 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1834 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1835 (target_traceframe_info): Add argument.
1836 * target.c (update_current_target): Update.
1837 * remote.c (remote_traceframe_info): Add 'self' argument.
1838 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1839
1840 2014-02-19 Tom Tromey <tromey@redhat.com>
1841
1842 * target.h (target_static_tracepoint_markers_by_strid): Add
1843 argument.
1844 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1845 'self' argument.
1846 * target.c (update_current_target): Update.
1847 * remote.c (struct target_ops)
1848 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1849 * linux-nat.c (struct target_ops)
1850 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1851
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1853
1854 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1855 Add argument.
1856 (target_static_tracepoint_marker_at): Add argument.
1857 * target.c (update_current_target): Update.
1858 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1859 argument.
1860
1861 2014-02-19 Tom Tromey <tromey@redhat.com>
1862
1863 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1864 (target_set_permissions): Add argument.
1865 * target.c (update_current_target): Update.
1866 * remote.c (remote_set_permissions): Add 'self' argument.
1867 (remote_start_remote): Update.
1868
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1870
1871 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1872 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1873 (target_get_tib_address): Add argument.
1874 * target.c (update_current_target): Update.
1875 * remote.c (remote_get_tib_address): Add 'self' argument.
1876
1877 2014-02-19 Tom Tromey <tromey@redhat.com>
1878
1879 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1880 (target_set_trace_notes): Add argument.
1881 * target.c (update_current_target): Update.
1882 * remote.c (remote_set_trace_notes): Add 'self' argument.
1883
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1885
1886 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1887 argument.
1888 (target_set_trace_buffer_size): Add argument.
1889 * target.c (update_current_target): Update.
1890 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1891
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1893
1894 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1895 argument.
1896 (target_set_circular_trace_buffer): Add argument.
1897 * target.c (update_current_target): Update.
1898 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1899 argument.
1900
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1902
1903 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1904 argument.
1905 (target_set_disconnected_tracing): Add argument.
1906 * target.c (update_current_target): Update.
1907 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1908
1909 2014-02-19 Tom Tromey <tromey@redhat.com>
1910
1911 * target.h (struct target_ops)
1912 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1913 (target_get_min_fast_tracepoint_insn_len): Add argument.
1914 * target.c (update_current_target): Update.
1915 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1916 argument.
1917
1918 2014-02-19 Tom Tromey <tromey@redhat.com>
1919
1920 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1921 argument.
1922 (target_get_raw_trace_data): Add argument.
1923 * target.c (update_current_target): Update.
1924 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1925
1926 2014-02-19 Tom Tromey <tromey@redhat.com>
1927
1928 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1929 Add argument.
1930 (target_upload_trace_state_variables): Add argument.
1931 * target.c (update_current_target): Update.
1932 * remote.c (remote_upload_trace_state_variables): Add 'self'
1933 argument.
1934 (remote_start_remote): Update.
1935
1936 2014-02-19 Tom Tromey <tromey@redhat.com>
1937
1938 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1939 argument.
1940 (target_upload_tracepoints): Add argument.
1941 * target.c (update_current_target): Update.
1942 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1943 (remote_start_remote): Update.
1944
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1946
1947 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1948 (target_save_trace_data): Add argument.
1949 * target.c (update_current_target): Update.
1950 * remote.c (remote_save_trace_data): Add 'self' argument.
1951
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1953
1954 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1955 argument.
1956 * target.h (struct target_ops)
1957 <to_get_trace_state_variable_value>: Add argument.
1958 (target_get_trace_state_variable_value): Add argument.
1959 * target.c (update_current_target): Update.
1960 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1961 argument.
1962 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1963
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1965
1966 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1967 * target.h (struct target_ops) <to_trace_find>: Add argument.
1968 (target_trace_find): Add argument.
1969 * target.c (update_current_target): Update.
1970 * remote.c (remote_trace_find): Add 'self' argument.
1971 * ctf.c (ctf_trace_find): Add 'self' argument.
1972
1973 2014-02-19 Tom Tromey <tromey@redhat.com>
1974
1975 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1976 (target_trace_stop): Add argument.
1977 * target.c (update_current_target): Update.
1978 * remote.c (remote_trace_stop): Add 'self' argument.
1979
1980 2014-02-19 Tom Tromey <tromey@redhat.com>
1981
1982 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1983 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1984 argument.
1985 (target_get_tracepoint_status): Add argument.
1986 * target.c (update_current_target): Update.
1987 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1988
1989 2014-02-19 Tom Tromey <tromey@redhat.com>
1990
1991 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1992 * target.h (struct target_ops) <to_get_trace_status>: Add
1993 argument.
1994 (target_get_trace_status): Add argument.
1995 * target.c (update_current_target): Update.
1996 * remote.c (remote_get_trace_status): Add 'self' argument.
1997 (remote_start_remote, remote_can_download_tracepoint): Update.
1998 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1999
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2001
2002 * target.h (struct target_ops) <to_trace_start>: Add argument.
2003 (target_trace_start): Add argument.
2004 * target.c (update_current_target): Update.
2005 * remote.c (remote_trace_start): Add 'self' argument.
2006
2007 2014-02-19 Tom Tromey <tromey@redhat.com>
2008
2009 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2010 Add argument.
2011 (target_trace_set_readonly_regions): Add argument.
2012 * target.c (update_current_target): Update.
2013 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2014 argument.
2015
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2017
2018 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2019 argument.
2020 (target_disable_tracepoint): Add argument.
2021 * target.c (update_current_target): Update.
2022 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2023
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2025
2026 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2027 argument.
2028 (target_enable_tracepoint): Add argument.
2029 * target.c (update_current_target): Update.
2030 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2031
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2033
2034 * target.h (struct target_ops) <to_download_trace_state_variable>:
2035 Add argument.
2036 (target_download_trace_state_variable): Add argument.
2037 * target.c (update_current_target): Update.
2038 * remote.c (remote_download_trace_state_variable): Add 'self'
2039 argument.
2040
2041 2014-02-19 Tom Tromey <tromey@redhat.com>
2042
2043 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2044 argument.
2045 (target_can_download_tracepoint): Add argument.
2046 * target.c (update_current_target): Update.
2047 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2048
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2050
2051 * target.h (struct target_ops) <to_download_tracepoint>: Add
2052 argument.
2053 (target_download_tracepoint): Add argument.
2054 * target.c (update_current_target): Update.
2055 * remote.c (remote_download_tracepoint): Add 'self' argument.
2056
2057 2014-02-19 Tom Tromey <tromey@redhat.com>
2058
2059 * target.h (struct target_ops) <to_trace_init>: Add argument.
2060 (target_trace_init): Add argument.
2061 * target.c (update_current_target): Update.
2062 * remote.c (remote_trace_init): Add 'self' argument.
2063
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2065
2066 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2067 * target.c (target_fileio_readlink): Add argument.
2068 * remote.c (remote_hostio_readlink): Add 'self' argument.
2069 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2070
2071 2014-02-19 Tom Tromey <tromey@redhat.com>
2072
2073 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2074 * target.c (target_fileio_unlink): Add argument.
2075 * remote.c (remote_hostio_unlink): Add 'self' argument.
2076 (remote_file_delete): Update.
2077 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2078
2079 2014-02-19 Tom Tromey <tromey@redhat.com>
2080
2081 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2082 * target.c (target_fileio_close): Add argument.
2083 * remote.c (remote_hostio_close): Add 'self' argument.
2084 (remote_hostio_close_cleanup): Update.
2085 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2086 Update.
2087 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2088
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2090
2091 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2092 * target.c (target_fileio_pread): Add argument.
2093 * remote.c (remote_hostio_pread): Add 'self' argument.
2094 (remote_bfd_iovec_pread, remote_file_get): Update.
2095 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2096
2097 2014-02-19 Tom Tromey <tromey@redhat.com>
2098
2099 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2100 * target.c (target_fileio_pwrite): Add argument.
2101 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2102 (remote_file_put): Update.
2103 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2104
2105 2014-02-19 Tom Tromey <tromey@redhat.com>
2106
2107 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2108 * target.c (target_fileio_open): Add argument.
2109 * remote.c (remote_hostio_open): Add 'self' argument.
2110 (remote_bfd_iovec_open): Add 'self' argument.
2111 (remote_file_put): Add 'self' argument.
2112 (remote_file_get): Add 'self' argument.
2113 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2114
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2116
2117 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2118 Add argument.
2119 (target_can_run_breakpoint_commands): Add argument.
2120 * target.c (update_current_target): Update.
2121 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2122 argument.
2123 (remote_insert_breakpoint): Add 'self' argument.
2124 (remote_insert_hw_breakpoint): Add 'self' argument.
2125 (remote_can_run_breakpoint_commands): Add 'self' argument.
2126
2127 2014-02-19 Tom Tromey <tromey@redhat.com>
2128
2129 * target.h (struct target_ops)
2130 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2131 (target_supports_evaluation_of_breakpoint_conditions): Add
2132 argument.
2133 * target.c (update_current_target): Update.
2134 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2135 argument.
2136 (remote_insert_breakpoint): Add 'self' argument.
2137 (remote_insert_hw_breakpoint): Add 'self' argument.
2138 (remote_supports_cond_breakpoints): Add 'self' argument.
2139
2140 2014-02-19 Tom Tromey <tromey@redhat.com>
2141
2142 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2143 argument.
2144 (target_supports_string_tracing): Add argument.
2145 * target.c (update_current_target): Update.
2146 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2147
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2149
2150 * target.h (struct target_ops)
2151 <to_supports_disable_randomization>: Add argument.
2152 * target.c (find_default_supports_disable_randomization): Add
2153 argument.
2154 (target_supports_disable_randomization): Add argument.
2155 (find_default_supports_disable_randomization): Add 'self'
2156 argument.
2157 * remote.c (extended_remote_supports_disable_randomization): Add
2158 'self' argument.
2159 (remote_supports_disable_randomization): Add 'self' argument.
2160 (extended_remote_create_inferior): Update.
2161 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2162 'self' argument.
2163
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2165
2166 * target.h (struct target_ops)
2167 <to_supports_enable_disable_tracepoint>: Add argument.
2168 (target_supports_enable_disable_tracepoint): Add argument.
2169 * target.c (update_current_target): Update.
2170 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2171 argument.
2172
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2174
2175 * target.h (struct target_ops) <to_supports_multi_process>: Add
2176 argument.
2177 (target_supports_multi_process): Add argument.
2178 * target.c (update_current_target): Update.
2179 * remote.c (remote_supports_multi_process): Add 'self' argument.
2180 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2181 argument.
2182 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2183 argument.
2184
2185 2014-02-19 Tom Tromey <tromey@redhat.com>
2186
2187 * target.h (struct target_ops) <to_execution_direction>: Add
2188 argument.
2189 (target_execution_direction): Add argument.
2190 * target.c (default_execution_direction): Add 'self' argument.
2191 * record-full.c (record_full_execution_direction): Add 'self'
2192 argument.
2193
2194 2014-02-19 Tom Tromey <tromey@redhat.com>
2195
2196 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2197 argument.
2198 (target_can_execute_reverse): Add argument.
2199 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2200 * record-full.c (record_full_can_execute_reverse): Add 'self'
2201 argument.
2202 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2203 argument.
2204
2205 2014-02-19 Tom Tromey <tromey@redhat.com>
2206
2207 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2208 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2209 argument.
2210 (target_get_ada_task_ptid): Add argument.
2211 * target.c (update_current_target): Update.
2212 (default_get_ada_task_ptid): Add 'self' argument.
2213 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2214 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2215 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2216 argument.
2217 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2218 argument.
2219 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2220 argument.
2221 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2222 argument.
2223 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2224 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2225 argument.
2226
2227 2014-02-19 Tom Tromey <tromey@redhat.com>
2228
2229 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2230 (target_goto_bookmark): Add argument.
2231 * target.c (dummy_goto_bookmark): Add 'self' argument.
2232 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2233
2234 2014-02-19 Tom Tromey <tromey@redhat.com>
2235
2236 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2237 (target_get_bookmark): Add argument.
2238 * target.c (dummy_get_bookmark): Add 'self' argument.
2239 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2240
2241 2014-02-19 Tom Tromey <tromey@redhat.com>
2242
2243 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2244 argument.
2245 (target_make_corefile_notes): Add argument.
2246 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2247 * procfs.c (procfs_make_note_section): Add 'self' argument.
2248 (procfs_make_note_section): Add 'self' argument.
2249 (procfs_make_note_section): Add 'self' argument.
2250 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2251 argument.
2252 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2253 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2254 * exec.c (exec_make_note_section): Add 'self' argument.
2255 (exec_make_note_section): Add 'self' argument.
2256
2257 2014-02-19 Tom Tromey <tromey@redhat.com>
2258
2259 * target.h (struct target_ops) <to_find_memory_regions>: Add
2260 argument.
2261 (target_find_memory_regions): Add argument.
2262 * target.c (dummy_find_memory_regions): Add 'self' argument.
2263 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2264 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2265 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2266 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2267 * exec. (exec_do_find_memory_regions): New global.
2268 (exec_set_find_memory_regions): Rewrite.
2269 (exec_find_memory_regions): New function.
2270 (init_exec_ops): Use exec_find_memory_regions.
2271
2272 2014-02-19 Tom Tromey <tromey@redhat.com>
2273
2274 * target.h (struct target_ops) <to_supports_non_stop>: Add
2275 argument.
2276 * target.c (find_default_supports_non_stop): Add argument.
2277 (target_supports_non_stop): Add argument.
2278 (find_default_supports_non_stop): Add 'self' argument.
2279 * remote.c (remote_supports_non_stop): Add 'self' argument.
2280 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2281
2282 2014-02-19 Tom Tromey <tromey@redhat.com>
2283
2284 * target.h (struct target_ops) <to_log_command>: Add argument.
2285 (target_log_command): Add argument.
2286 * serial.h (serial_log_command): Add 'self' argument.
2287 * serial.c (serial_log_command): Add 'self' argument.
2288
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2290
2291 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2292 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2293 argument.
2294 (target_pid_to_exec_file): Add argument.
2295 * target.c (debug_to_pid_to_exec_file): Add argument.
2296 (update_current_target): Update.
2297 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2298 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2299 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2300 (linux_handle_extended_wait): Update.
2301 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2302 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2303 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2304 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2305
2306 2014-02-19 Tom Tromey <tromey@redhat.com>
2307
2308 * target.h (struct target_ops) <to_rcmd>: Add argument.
2309 (target_rcmd): Add argument.
2310 * target.c (debug_to_rcmd): Add argument.
2311 (update_current_target, do_monitor_command): Update.
2312 * remote.c (remote_rcmd): Add 'self' argument.
2313 * monitor.c (monitor_rcmd): Add 'self' argument.
2314
2315 2014-02-19 Tom Tromey <tromey@redhat.com>
2316
2317 * windows-nat.c (windows_stop): Add 'self' argument.
2318 * target.h (struct target_ops) <to_stop>: Add argument.
2319 * target.c (target_stop): Add argument.
2320 (debug_to_stop): Add argument.
2321 (update_current_target): Update.
2322 * remote.c (remote_stop): Add 'self' argument.
2323 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2324 (gdbsim_cntrl_c): Update.
2325 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2326 * procfs.c (procfs_stop): Add 'self' argument.
2327 * nto-procfs.c (procfs_stop): Add 'self' argument.
2328 * monitor.c (monitor_stop): Add 'self' argument.
2329 (monitor_open): Update.
2330 * linux-nat.c (linux_nat_stop): Add argument.
2331 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2332 * gnu-nat.c (gnu_stop): Add 'self' argument.
2333 * darwin-nat.c (darwin_stop): Add 'self' argument.
2334
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2336
2337 * target.h (struct target_ops) <to_thread_name>: Add argument.
2338 * target.c (target_thread_name): Add argument.
2339 (update_current_target): Update.
2340 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2341
2342 2014-02-19 Tom Tromey <tromey@redhat.com>
2343
2344 * target.h (struct target_ops) <to_extra_thread_info>: Add
2345 argument.
2346 (target_extra_thread_info): Add argument.
2347 * target.c (update_current_target): Update.
2348 * remote.c (remote_threads_extra_info): Add 'self' argument.
2349 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2350 argument.
2351 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2352 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2353 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2354 argument.
2355 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2356 argument.
2357 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2358 argument.
2359 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2360 argument.
2361
2362 2014-02-19 Tom Tromey <tromey@redhat.com>
2363
2364 * target.h (struct target_ops) <to_program_signals>: Add argument.
2365 * target.c (target_program_signals): Add argument.
2366 * remote.c (remote_program_signals): Add 'self' argument.
2367
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2369
2370 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2371 * target.c (target_pass_signals): Add argument.
2372 * remote.c (remote_pass_signals): Add 'self' argument.
2373 (remote_start_remote): Update.
2374 * procfs.c (procfs_pass_signals): Add 'self' argument.
2375 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2376 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2377 (linux_nat_create_inferior, linux_nat_attach): Update.
2378
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2380
2381 * windows-nat.c (windows_can_run): Add 'self' argument.
2382 * target.h (struct target_ops) <to_can_run>: Add argument.
2383 (target_can_run): Add argument.
2384 * target.c (debug_to_can_run): Add argument.
2385 (update_current_target): Update.
2386 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2387 * inf-child.c (inf_child_can_run): Add 'self' argument.
2388 * go32-nat.c (go32_can_run): Add 'self' argument.
2389
2390 2014-02-19 Tom Tromey <tromey@redhat.com>
2391
2392 * target.h (struct target_ops) <to_has_exited>: Add argument.
2393 (target_has_exited): Add argument.
2394 * target.c (debug_to_has_exited): Add argument.
2395 (update_current_target): Update.
2396
2397 2014-02-19 Tom Tromey <tromey@redhat.com>
2398
2399 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2400 argument.
2401 (target_set_syscall_catchpoint): Add argument.
2402 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2403 argument.
2404 * target.c (update_current_target): Update.
2405
2406 2014-02-19 Tom Tromey <tromey@redhat.com>
2407
2408 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2409 argument.
2410 (target_remove_exec_catchpoint): Add argument.
2411 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2412 (update_current_target): Update.
2413 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2414 argument.
2415
2416 2014-02-19 Tom Tromey <tromey@redhat.com>
2417
2418 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2419 argument.
2420 (target_insert_exec_catchpoint): Add argument.
2421 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2422 (update_current_target): Update.
2423 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2424 argument.
2425
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2427
2428 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2429 argument.
2430 (target_remove_vfork_catchpoint): Add argument.
2431 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2432 (update_current_target): Update.
2433 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2434 argument.
2435
2436 2014-02-19 Tom Tromey <tromey@redhat.com>
2437
2438 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2439 argument.
2440 (target_insert_vfork_catchpoint): Add argument.
2441 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2442 (update_current_target): Update.
2443 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2444 argument.
2445
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2447
2448 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2449 argument.
2450 (target_remove_fork_catchpoint): Add argument.
2451 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2452 (update_current_target): Update.
2453 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2454 argument.
2455
2456 2014-02-19 Tom Tromey <tromey@redhat.com>
2457
2458 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2459 argument.
2460 (target_insert_fork_catchpoint): Add argument.
2461 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2462 (update_current_target): Update.
2463 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2464 argument.
2465
2466 2014-02-19 Tom Tromey <tromey@redhat.com>
2467
2468 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2469 argument.
2470 (target_post_startup_inferior): Add argument.
2471 * target.c (debug_to_post_startup_inferior): Add argument.
2472 (update_current_target): Update.
2473 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2474 argument.
2475 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2476 argument.
2477 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2478 argument.
2479 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2480 argument.
2481 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2482 'self' argument.
2483 (super_post_startup_inferior): Likewise.
2484 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2485 'self' argument.
2486 (super_post_startup_inferior): Likewise.
2487 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2488 Add 'self' argument.
2489 (super_post_startup_inferior): Likewise.
2490
2491 2014-02-19 Tom Tromey <tromey@redhat.com>
2492
2493 * target.h (struct target_ops) <to_load>: Add argument.
2494 * target.c (target_load): Add argument.
2495 (debug_to_load): Add argument.
2496 (update_current_target): Update.
2497 * remote.c (remote_load): Add 'self' argument.
2498 * remote-sim.c (gdbsim_load): Add 'self' argument.
2499 * remote-mips.c (mips_load): Add 'self' argument.
2500 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2501 * monitor.c (monitor_load): Add 'self' argument.
2502 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2503
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2505
2506 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2507 (target_terminal_info): Add argument.
2508 * target.c (debug_to_terminal_info): Add argument.
2509 (default_terminal_info): Likewise.
2510 * inflow.c (child_terminal_info): Add 'self' argument.
2511 * inferior.h (child_terminal_info): Add 'self' argument.
2512 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2513
2514 2014-02-19 Tom Tromey <tromey@redhat.com>
2515
2516 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2517 argument.
2518 (target_terminal_save_ours): Add argument.
2519 * target.c (debug_to_terminal_save_ours): Add argument.
2520 (update_current_target): Update.
2521 * inflow.c (terminal_save_ours): Add 'self' argument.
2522 * inferior.h (terminal_save_ours): Add 'self' argument.
2523
2524 2014-02-19 Tom Tromey <tromey@redhat.com>
2525
2526 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2527 (target_terminal_ours): Add argument.
2528 * target.c (debug_to_terminal_ours): Add argument.
2529 (update_current_target): Update.
2530 * remote.c (remote_terminal_ours): Add 'self' argument.
2531 (remote_close): Update.
2532 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2533 * inflow.c (terminal_ours): Add 'self' argument.
2534 * inferior.h (terminal_ours): Add 'self' argument.
2535 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2536
2537 2014-02-19 Pedro Alves <palves@redhat.com>
2538 Tom Tromey <tromey@redhat.com>
2539
2540 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2541 argument.
2542 (target_terminal_ours_for_output): Add argument.
2543 * target.c (debug_to_terminal_ours_for_output): Add argument.
2544 (update_current_target): Update.
2545 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2546 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2547 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2548
2549 2014-02-19 Tom Tromey <tromey@redhat.com>
2550
2551 * target.h (struct target_ops) <to_terminal_inferior>: Add
2552 argument.
2553 * target.c (target_terminal_inferior): Add argument.
2554 (update_current_target): Update.
2555 * remote.c (remote_terminal_inferior): Add 'self' argument.
2556 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2557 * inflow.c (terminal_inferior): Add 'self' argument.
2558 * inferior.h (terminal_inferior): Add 'self' argument.
2559 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2560 (go32_terminal_inferior): Add 'self' argument.
2561
2562 2014-02-19 Tom Tromey <tromey@redhat.com>
2563
2564 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2565 (target_terminal_init): Add argument.
2566 * target.c (debug_to_terminal_init): Add argument.
2567 (update_current_target): Update.
2568 * inflow.c (terminal_init_inferior): Add 'self' argument.
2569 * inferior.h (terminal_init_inferior): Add 'self' argument.
2570 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2571 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2572
2573 2014-02-19 Tom Tromey <tromey@redhat.com>
2574
2575 * target.h (struct target_ops)
2576 <to_can_accel_watchpoint_condition>: Add argument.
2577 (target_can_accel_watchpoint_condition): Add argument.
2578 * target.c (debug_to_can_accel_watchpoint_condition): Add
2579 argument.
2580 (update_current_target): Update.
2581 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2582 'self' argument.
2583
2584 2014-02-19 Tom Tromey <tromey@redhat.com>
2585
2586 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2587 Add argument.
2588 (target_region_ok_for_hw_watchpoint): Add argument.
2589 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2590 (default_region_ok_for_hw_watchpoint): Add argument.
2591 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2592 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2593 argument.
2594 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2595 argument.
2596 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2597 argument.
2598 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2599 'self' argument.
2600 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2601 'self' argument.
2602 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2603 'self' argument.
2604 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2605 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2606 'self' argument.
2607 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2608 Add 'self' argument.
2609
2610 2014-02-19 Tom Tromey <tromey@redhat.com>
2611
2612 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2613 argument.
2614 (target_insert_watchpoint): Add argument.
2615 * target.c (debug_to_insert_watchpoint): Add argument.
2616 (update_current_target): Update.
2617 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2618 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2619 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2620 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2621 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2622 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2623 argument.
2624 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2625 (procfs_insert_hw_watchpoint): Add 'self' argument.
2626 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2627 argument.
2628 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2629 argument.
2630 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2631 argument.
2632 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2633 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2634 argument.
2635 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2636 'self' argument.
2637
2638 2014-02-19 Tom Tromey <tromey@redhat.com>
2639
2640 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2641 argument.
2642 (target_remove_watchpoint): Add argument.
2643 * target.c (debug_to_remove_watchpoint): Add argument.
2644 (update_current_target): Update.
2645 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2646 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2647 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2648 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2649 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2650 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2651 argument.
2652 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2653 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2654 argument.
2655 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2656 argument.
2657 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2658 argument.
2659 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2660 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2661 argument.
2662 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2663 'self' argument.
2664
2665 2014-02-19 Tom Tromey <tromey@redhat.com>
2666
2667 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2668 argument.
2669 (target_remove_hw_breakpoint): Add argument.
2670 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2671 (update_current_target): Update.
2672 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2673 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2674 argument.
2675 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2676 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2677 argument.
2678 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2679 'self' argument.
2680
2681 2014-02-19 Tom Tromey <tromey@redhat.com>
2682
2683 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2684 argument.
2685 (target_insert_hw_breakpoint): Add argument.
2686 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2687 (update_current_target): Update.
2688 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2689 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2690 argument.
2691 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2692 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2693 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2694 argument.
2695 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2696 'self' argument.
2697
2698 2014-02-19 Tom Tromey <tromey@redhat.com>
2699
2700 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2701 argument.
2702 (target_can_use_hardware_watchpoint): Add argument.
2703 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2704 (update_current_target): Update.
2705 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2706 argument.
2707 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2708 argument.
2709 * remote.c (remote_check_watch_resources): Add 'self' argument.
2710 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2711 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2712 argument.
2713 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2714 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2715 argument.
2716 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2717 argument.
2718 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2719 argument.
2720 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2721 argument.
2722 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2723 argument.
2724 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2725 argument.
2726 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2727 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2728 argument.
2729 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2730 'self' argument.
2731
2732 2014-02-19 Tom Tromey <tromey@redhat.com>
2733
2734 * target.h (struct target_ops) <to_post_attach>: Add argument.
2735 (target_post_attach): Add argument.
2736 * target.c (debug_to_post_attach): Add argument.
2737 (update_current_target): Update.
2738 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2739 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2740 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2741 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2742 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2743
2744 2014-02-19 Tom Tromey <tromey@redhat.com>
2745
2746 * windows-nat.c (windows_close): Add 'self' argument.
2747 * tracepoint.c (tfile_close): Add 'self' argument.
2748 * target.h (struct target_ops) <to_close>: Add argument.
2749 * target.c (target_close): Add argument.
2750 (update_current_target): Update.
2751 * remote.c (remote_close): Add 'self' argument.
2752 * remote-sim.c (gdbsim_close): Add 'self' argument.
2753 * remote-mips.c (mips_close): Add 'self' argument.
2754 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2755 * record-full.c (record_full_close): Add 'self' argument.
2756 * record-btrace.c (record_btrace_close): Add 'self' argument.
2757 * monitor.h (monitor_close): Add 'self' argument.
2758 * monitor.c (monitor_close): Add 'self' argument.
2759 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2760 * linux-nat.c (linux_nat_close): Add argument.
2761 * go32-nat.c (go32_close): Add 'self' argument.
2762 * exec.c (exec_close_1): Add 'self' argument.
2763 * ctf.c (ctf_close): Add 'self' argument.
2764 * corelow.c (core_close): Add 'self' argument.
2765 (core_close_cleanup): Update.
2766 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2767 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2768
2769 2014-02-19 Tom Tromey <tromey@redhat.com>
2770
2771 * remote.c (remote_load): New function.
2772 (init_remote_ops): Use it.
2773
2774 2014-02-19 Tom Tromey <tromey@redhat.com>
2775
2776 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2777 argument.
2778 * common/linux-btrace.h (linux_supports_btrace): Update.
2779 * remote.c (remote_supports_btrace): Add "self" argument.
2780 * target-delegates.c: Rebuild.
2781 * target.c (target_supports_btrace): Remove.
2782 * target.h (struct target_ops) <to_supports_btrace>: Add
2783 target_ops argument.
2784 (target_supports_btrace): New define.
2785
2786 2014-02-19 Tom Tromey <tromey@redhat.com>
2787
2788 * record-full.c (record_full_beneath_to_resume_ops)
2789 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2790 (record_full_beneath_to_wait)
2791 (record_full_beneath_to_store_registers_ops)
2792 (record_full_beneath_to_store_registers)
2793 (record_full_beneath_to_xfer_partial_ops)
2794 (record_full_beneath_to_xfer_partial)
2795 (record_full_beneath_to_insert_breakpoint_ops)
2796 (record_full_beneath_to_insert_breakpoint)
2797 (record_full_beneath_to_remove_breakpoint_ops)
2798 (record_full_beneath_to_remove_breakpoint)
2799 (record_full_beneath_to_stopped_by_watchpoint)
2800 (record_full_beneath_to_stopped_data_address)
2801 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2802 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2803 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2804 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2805 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2806 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2807 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2808 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2809 (record_full_resume, record_full_wait_1)
2810 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2811 (record_full_store_registers, record_full_xfer_partial)
2812 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2813 (record_full_async, record_full_core_xfer_partial): Use target
2814 delegation.
2815 * target-delegates.c: Rebuild.
2816 * target.c (current_xfer_partial): Remove.
2817 (update_current_target): Do not INHERIT or de_fault
2818 to_insert_breakpoint, to_remove_breakpoint,
2819 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2820 to_is_async_p, to_async. Do not set to_xfer_partial field.
2821 (default_xfer_partial): Simplify.
2822 (current_xfer_partial): Remove.
2823 (target_wait, target_resume): Simplify.
2824 (find_default_can_async_p, find_default_is_async_p): Update.
2825 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2826 to_xfer_partial, to_stopped_by_watchpoint,
2827 to_stopped_data_address.
2828 (target_store_registers): Simplify.
2829 (forward_target_remove_breakpoint)
2830 (forward_target_insert_breakpoint): Remove.
2831 (target_remove_breakpoint, target_insert_breakpoint)
2832 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2833 * target.h (struct target_ops) <to_resume, to_wait,
2834 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2835 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2836 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2837 markup.
2838 (forward_target_remove_breakpoint)
2839 (forward_target_insert_breakpoint): Remove.
2840 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2841 directly.
2842 (record_btrace_insert_breakpoint): Delegate directly.
2843
2844 2014-02-19 Tom Tromey <tromey@redhat.com>
2845
2846 PR build/7701:
2847 * target-delegates.c: New file.
2848 * target.c: Include target-delegates.c.
2849 (init_dummy_target): Call install_dummy_methods.
2850 (complete_target_initialization): Call install_delegators.
2851 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2852 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2853 * make-target-delegates: New file.
2854
2855 2014-02-19 Tom Tromey <tromey@redhat.com>
2856
2857 * record.c (find_record_target): Use find_target_at.
2858 * target.c (find_target_at): New function.
2859 * target.h (find_target_at): Declare.
2860
2861 2014-02-19 Tom Tromey <tromey@redhat.com>
2862
2863 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2864 Add 'ops' argument.
2865 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2866 'ops' argument.
2867 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2868 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2869 'ops' argument.
2870 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2871 argument.
2872 * linux-nat.c (save_sigtrap): Update.
2873 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2874 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2875 (linux_nat_close): Update.
2876 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2877 argument.
2878 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2879 argument.
2880 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2881 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2882 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2883 (tmp_to_async): Add 'ops' argument.
2884 (record_full_stopped_by_watchpoint, record_full_async)
2885 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2886 argument.
2887 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2888 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2889 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2890 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2891 (remote_is_async_p, remote_async): Add 'ops' argument.
2892 (remote_stopped_data_address): Update.
2893 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2894 * target.c (update_current_target)
2895 (find_default_can_async_p, find_default_is_async_p): Update.
2896 (init_dummy_target): Update.
2897 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2898 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2899 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2900 (target_can_async_p, target_is_async_p, target_async)
2901 (target_stopped_by_watchpoint): Update.
2902
2903 2014-02-19 Yao Qi <yao@codesourcery.com>
2904
2905 PR gdb/16220
2906 * gdbarch.sh: Remove startup_gdbarch.
2907 * gdbarch.c: Regenerated.
2908 * gdbarch.h: Likewise.
2909
2910 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2911
2912 * rl78-tdep.c (rl78_g10_register_name): New function.
2913 (rl78_return_value): Add g10 support.
2914 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2915 g10.
2916
2917 2014-02-17 Doug Evans <xdje42@gmail.com>
2918
2919 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2920 (SUBDIR_GUILE_SRCS): Ditto.
2921 (scm-gsmob.o): Ditto.
2922
2923 2014-02-17 Yao Qi <yao@codesourcery.com>
2924
2925 * gnu-nat.c (ILL_RPC): Declare defined function.
2926
2927 2014-02-17 Yao Qi <yao@codesourcery.com>
2928
2929 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2930 mach_msg_type_number_t.
2931 (gnu_write_inferior): Likewise.
2932
2933 2014-02-17 Yao Qi <yao@codesourcery.com>
2934
2935 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2936 in format string.
2937 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2938 (inf_validate_procs, inf_signal): Likewise.
2939 (S_exception_raise_request): Likewise.
2940 (do_mach_notify_dead_name): Likewise.
2941 (steal_exc_port): Likewise.
2942 (gnu_read_inferior): Change 'copy_count''s type to
2943 mach_msg_type_number_t.
2944 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2945 format string.
2946
2947 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2948
2949 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2950 flag. Adjust all users; in particular...
2951 (gnu_wait): ..., don't decrement its value in here...
2952 (gnu_create_inferior): ..., and instead set the flag in here,
2953 around the startup_inferior call, and call that one with
2954 START_INFERIOR_TRAPS_EXPECTED.
2955
2956 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2957 (ILL_RPC): ... new macro.
2958 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2959 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2960 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2961 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2962 functions with ILL_RPC macro.
2963 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2964 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2965 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2966 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2967 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2968 (S_proc_getlogin_reply, S_proc_getsid_reply)
2969 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2970 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2971 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2972 (S_proc_getnports_reply, S_proc_is_important_reply)
2973 (S_proc_get_code_reply): New stub functions, generated with
2974 ILL_RPC macro.
2975
2976 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2977 collected the type check structures.
2978
2979 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2980
2981 2014-02-14 Doug Evans <dje@google.com>
2982
2983 * target.c (target_write_partial): Fix result type.
2984
2985 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2986
2987 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2988 the proper offsets to access fpregset_t.
2989
2990 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2991
2992 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2993 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2994 * h8300-tdep.c (setmachinelist): Remove global.
2995 * hppa-tdep.c (hppa_sigtramp): Remove global.
2996 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2997 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2998 * ravenscar-thread.c (update_target_observer): Remove global.
2999 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3000
3001 2014-02-12 Tom Tromey <tromey@redhat.com>
3002
3003 * common/rsp-low.c: Update comments.
3004 * common/rsp-low.h: Update comments.
3005
3006 2014-02-12 Tom Tromey <tromey@redhat.com>
3007
3008 * common/rsp-low.c (convert_ascii_to_int): Remove.
3009 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3010
3011 2014-02-12 Tom Tromey <tromey@redhat.com>
3012
3013 * common/rsp-low.h (unhexify): Don't declare.
3014 * common/rsp-low.c (unhexify): Remove.
3015
3016 2014-02-12 Tom Tromey <tromey@redhat.com>
3017
3018 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3019 * common/rsp-low.c (convert_int_to_ascii): Remove.
3020
3021 2014-02-12 Tom Tromey <tromey@redhat.com>
3022
3023 * common/rsp-low.h (hexify): Don't declare.
3024 * common/rsp-low.c (hexify): Remove.
3025
3026 2014-02-12 Tom Tromey <tromey@redhat.com>
3027
3028 * common/rsp-low.c (hexify): Never take strlen of argument.
3029
3030 2014-02-12 Tom Tromey <tromey@redhat.com>
3031
3032 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3033 * remote.c (extended_remote_run, remote_rcmd)
3034 (remote_download_trace_state_variable, remote_save_trace_data)
3035 (remote_set_trace_notes): Update.
3036 * tracepoint.c (encode_source_string, tfile_write_status)
3037 (tfile_write_uploaded_tsv): Update.
3038
3039 2014-02-12 Tom Tromey <tromey@redhat.com>
3040
3041 * tracepoint.c: Include rsp-low.h.
3042 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3043 * remote.c: Include rsp-low.h.
3044 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3045 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3046 (remote_unescape_input): Move to common/rsp-low.c.
3047 * common/rsp-low.h: New file.
3048 * common/rsp-low.c: New file.
3049 * Makefile.in (SFILES): Add common/rsp-low.c.
3050 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3051 (COMMON_OBS): Add rsp-low.o.
3052 (rsp-low.o): New target.
3053
3054 2014-02-12 Tom Tromey <tromey@redhat.com>
3055
3056 * utils.h: Include print-utils.h.
3057 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3058 (int_string, core_addr_to_string, core_addr_to_string_nz)
3059 (hex_string, hex_string_custom): Don't declare.
3060 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3061 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3062 (hex_string_custom, int_string, core_addr_to_string)
3063 (core_addr_to_string_nz, host_address_to_string): Move to
3064 common/print-utils.c.
3065 * common/print-utils.h: New file.
3066 * common/print-utils.c: New file
3067 * Makefile.in (SFILES): Add common/print-utils.c.
3068 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3069 (COMMON_OBS): Add print-utils.o.
3070 (print-utils.o): New target.
3071
3072 2014-02-12 Tom Tromey <tromey@redhat.com>
3073
3074 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3075
3076 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3077
3078 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3079
3080 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3081
3082 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3083 if a PT_IO ptrace request returns sucessfully but indicates that 0
3084 bytes were transferred.
3085
3086 2014-02-12 Pedro Alves <palves@redhat.com>
3087 Kevin Buettner <kevinb@redhat.com>
3088
3089 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3090 TYPE_INSTANCE_FLAG_CODE_SPACE.
3091
3092 2014-02-12 Pedro Alves <palves@redhat.com>
3093
3094 * h8300-tdep.c (pseudo_from_raw_register)
3095 (raw_from_pseudo_register): New functions.
3096 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3097 them.
3098
3099 2014-02-12 Pedro Alves <palves@redhat.com>
3100
3101 * h8300-tdep.c (h8300_register_sim_regno): New function.
3102 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3103 gdbarch_register_sim_regno hook.
3104
3105 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3106
3107 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3108
3109 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3110
3111 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3112
3113 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3114
3115 * obsd-tdep.h (obsd_init_abi): New prototype.
3116 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3117 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3118 (obsd_init_abi): New functions.
3119 * i386obsd-tdep.c: Include "obsd-tdep.h".
3120 (i386obsd_init_abi): Call obsd_init_abi.
3121 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3122 (amd64obsd_init_abi): Call obsd_init_abi.
3123 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3124 obsd-tdep.c to gdb_target_obs.
3125
3126 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3127
3128 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3129 double float arguments to 16-byte in the argument slots.
3130
3131 2014-02-11 Doug Evans <xdje42@gmail.com>
3132
3133 * configure.ac: Don't crash if pkg-config is not found and guile
3134 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3135 in guile checks.
3136 * configure: Regenerate.
3137
3138 2014-02-11 Yao Qi <yao@codesourcery.com>
3139
3140 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3141 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3142 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3143 * gnu-nat.c (gnu_xfer_memory): Likewise.
3144 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3145 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3146 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3147 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3148
3149 2014-02-11 Yao Qi <yao@codesourcery.com>
3150
3151 * target.h (enum target_xfer_error): Rename to ...
3152 (enum target_xfer_status): ... it. New. All users updated.
3153 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3154 New.
3155 (TARGET_XFER_STATUS_ERROR_P): New macro.
3156 (target_xfer_error_to_string): Remove declaration.
3157 (target_xfer_status_to_string): Declare.
3158 (target_xfer_partial_ftype): Adjust it.
3159 (struct target_ops) <to_xfer_partial>: Return
3160 target_xfer_status. Add argument xfered_len. Update
3161 comments.
3162 * target.c (target_xfer_error_to_string): Rename to ...
3163 (target_xfer_status_to_string): ... it. New. All callers
3164 updated.
3165 (target_read_live_memory): Likewise. Call target_xfer_partial
3166 instead of target_read.
3167 (memory_xfer_live_readonly_partial): Return
3168 target_xfer_status. Add argument xfered_len.
3169 (raw_memory_xfer_partial): Likewise.
3170 (memory_xfer_partial_1): Likewise.
3171 (memory_xfer_partial): Likewise.
3172 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3173 properly. Update debug message.
3174 (default_xfer_partial, current_xfer_partial): Likewise.
3175 (target_write_partial): Likewise.
3176 (target_read_partial): Likewise. All callers updated.
3177 (read_whatever_is_readable): Likewise.
3178 (target_write_with_progress): Likewise.
3179 (target_read_alloc_1): Likewise.
3180
3181 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3182 * auxv.c (procfs_xfer_auxv): Likewise.
3183 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3184 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3185 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3186 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3187 * corefile.c (read_memory): Adjust.
3188 * corelow.c (core_xfer_partial): Likewise.
3189 * ctf.c (ctf_xfer_partial): Likewise.
3190 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3191 updated.
3192 (darwin_xfer_partial): Likewise.
3193 * exec.c (section_table_xfer_memory_partial): Likewise. All
3194 callers updated.
3195 (exec_xfer_partial): Likewise.
3196 * exec.h (section_table_xfer_memory_partial): Update
3197 declaration.
3198 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3199 negative.
3200 (gnu_xfer_partial): Likewise.
3201 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3202 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3203 (ia64_hpux_xfer_solib_got): Likewise.
3204 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3205 type of 'partial_len' to ULONGEST.
3206 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3207 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3208 (linux_nat_xfer_partial): Likewise.
3209 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3210 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3211 * monitor.c (monitor_xfer_memory): Likewise.
3212 (monitor_xfer_partial): Likewise.
3213 * procfs.c (procfs_xfer_partial): Likewise.
3214 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3215 * record-full.c (record_full_xfer_partial): Likewise.
3216 (record_full_core_xfer_partial): Likewise.
3217 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3218 (gdbsim_xfer_partial): Likewise.
3219 * remote.c (remote_write_bytes_aux): Likewise. All callers
3220 updated.
3221 (remote_write_bytes, remote_read_bytes): Likewise. All
3222 callers updated.
3223 (remote_flash_erase): Likewise. All callers updated.
3224 (remote_write_qxfer): Likewise. All callers updated.
3225 (remote_read_qxfer): Likewise. All callers updated.
3226 (remote_xfer_partial): Likewise.
3227 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3228 (rs6000_xfer_shared_libraries): Likewise.
3229 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3230 (sol_thread_xfer_partial): Likewise.
3231 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3232 (sparc_xfer_partial): Likewise.
3233 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3234 updated.
3235 (spu_xfer_partial): Likewise.
3236 * spu-multiarch.c (spu_xfer_partial): Likewise.
3237 * tracepoint.c (tfile_xfer_partial): Likewise.
3238 * windows-nat.c (windows_xfer_memory): Likewise.
3239 (windows_xfer_shared_libraries): Likewise.
3240 (windows_xfer_partial): Likewise.
3241 * valprint.c: Replace 'target_xfer_error' with
3242 'target_xfer_status' in comments.
3243
3244 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3245
3246 Checked in by Joel Brobecker <brobecker@adacore.com>.
3247 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3248
3249 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3250
3251 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3252 function parameters.
3253
3254 2014-02-10 Will Newton <will.newton@linaro.org>
3255
3256 * elfread.c (elf_rel_plt_read): Look for a .got section if
3257 looking up .got.plt fails.
3258 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3259 on address passed to elf_gnu_ifunc_record_cache.
3260 (elf_gnu_ifunc_resolve_addr): Likewise.
3261 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3262
3263 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3264
3265 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3266 (X_RETTURN): New macro.
3267 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3268
3269 * sparc64-tdep.c (sparc64_init_abi): Hook
3270 sparc_in_function_epilogue_p.
3271
3272 2014-02-10 Gary Benson <gbenson@redhat.com>
3273
3274 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3275 Rename name_matcher to symbol_matcher.
3276
3277 2014-02-10 Gary Benson <gbenson@redhat.com>
3278
3279 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3280 Use expand_symtabs_file_matcher_ftype and
3281 expand_symtabs_symbol_matcher_ftype.
3282
3283 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3284
3285 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3286 (struct ada_symbol_cache): New.
3287 (ada_free_symbol_cache): Forward declare.
3288 (struct ada_pspace_data): New.
3289 (ada_pspace_data_handle): New static global.
3290 (get_ada_pspace_data, ada_pspace_data_cleanup)
3291 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3292 (cache_space, cache): Delete, now folded inside struct
3293 ada_pspace_data.
3294 (ada_get_symbol_cache): New function.
3295 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3296 implementation.
3297 (_initialize_ada_language): Remove initialization of cache_space.
3298 Move call to observer_attach_inferior_exit up, grouping it
3299 with the other observer registrations inside this function.
3300 Rename command to be more general. Add call to
3301 register_program_space_data_with_cleanup.
3302
3303 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3304
3305 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3306 ada_new_objfile_observer.
3307 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3308 (_initialize_tasks): Update uses of ada_new_objfile_observer
3309 and ada_tasks_normal_stop_observer.
3310
3311 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3312
3313 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3314 returned by the 'Length attribute to integer.
3315
3316 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3317
3318 * ada-lang.c (_initialize_ada_language): Initialize
3319 cache_space obstack.
3320
3321 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3322
3323 * ada-lang.c (HASH_SIZE): New macro.
3324 (struct cache_entry): New type.
3325 (cache_space, cache): New static globals.
3326 (ada_clear_symbol_cache, find_entry): New functions.
3327 (lookup_cached_symbol, cache_symbol): Implement.
3328 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3329 (_initialize_ada_language): Attach ada_new_objfile_observer
3330 and ada_free_objfile_observer.
3331
3332 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3333
3334 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3335 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3336 struct block * parameter.
3337 (ada_lookup_symbol_list_worker): Constify local variable "block".
3338 Remove cast which is no longer necessary.
3339
3340 2014-02-10 Doug Evans <xdje42@gmail.com>
3341
3342 Add Guile as an extension language.
3343 * NEWS: Mention Guile scripting.
3344 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3345 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3346 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3347 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3348 (CLIBS): Add GUILE_LIBS.
3349 (install-guile): New rule.
3350 (guile.o): New rule.
3351 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3352 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3353 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3354 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3355 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3356 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3357 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3358 * configure.ac: New option --with-guile.
3359 * configure: Regenerate.
3360 * config.in: Regenerate.
3361 * auto-load.c: Remove #include "python/python.h". Add #include
3362 "gdb/section-scripts.h".
3363 (source_section_scripts): Handle Guile scripts.
3364 (_initialize_auto_load): Add name of Guile objfile script to
3365 scripts-directory help text.
3366 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3367 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3368 (struct breakpoint): New member scm_bp_object.
3369 * defs.h (enum command_control_type): New value guile_control.
3370 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3371 "extension.h".
3372 (show_user): Update comment.
3373 (_initialize_cli_cmds): Update help text for "show user". Update help
3374 text for max-user-call-depth.
3375 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3376 "extension.h".
3377 (multi_line_command_p): Add guile_control.
3378 (print_command_lines): Handle guile_control.
3379 (execute_control_command, recurse_read_control_structure): Ditto.
3380 (process_next_line): Recognize "guile" commands.
3381 * disasm.c (gdb_disassemble_info): Make non-static.
3382 * disasm.h: #include "dis-asm.h".
3383 (struct gdbarch): Add forward decl.
3384 (gdb_disassemble_info): Declare.
3385 * extension.c: #include "guile/guile.h".
3386 (extension_languages): Add guile.
3387 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3388 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3389 * gdbtypes.c (get_unsigned_type_max): New function.
3390 (get_signed_type_minmax): New function.
3391 * gdbtypes.h (get_unsigned_type_max): Declare.
3392 (get_signed_type_minmax): Declare.
3393 * guile/README: New file.
3394 * guile/guile-internal.h: New file.
3395 * guile/guile.c: New file.
3396 * guile/guile.h: New file.
3397 * guile/scm-arch.c: New file.
3398 * guile/scm-auto-load.c: New file.
3399 * guile/scm-block.c: New file.
3400 * guile/scm-breakpoint.c: New file.
3401 * guile/scm-disasm.c: New file.
3402 * guile/scm-exception.c: New file.
3403 * guile/scm-frame.c: New file.
3404 * guile/scm-gsmob.c: New file.
3405 * guile/scm-iterator.c: New file.
3406 * guile/scm-lazy-string.c: New file.
3407 * guile/scm-math.c: New file.
3408 * guile/scm-objfile.c: New file.
3409 * guile/scm-ports.c: New file.
3410 * guile/scm-pretty-print.c: New file.
3411 * guile/scm-safe-call.c: New file.
3412 * guile/scm-string.c: New file.
3413 * guile/scm-symbol.c: New file.
3414 * guile/scm-symtab.c: New file.
3415 * guile/scm-type.c: New file.
3416 * guile/scm-utils.c: New file.
3417 * guile/scm-value.c: New file.
3418 * guile/lib/gdb.scm: New file.
3419 * guile/lib/gdb/boot.scm: New file.
3420 * guile/lib/gdb/experimental.scm: New file.
3421 * guile/lib/gdb/init.scm: New file.
3422 * guile/lib/gdb/iterator.scm: New file.
3423 * guile/lib/gdb/printing.scm: New file.
3424 * guile/lib/gdb/types.scm: New file.
3425 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3426 (VPATH): Add $(GUILE_SRCDIR).
3427 (GUILE_DIR): New variable.
3428 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3429 (all): Add stamp-guile dependency.
3430 (stamp-guile): New rule.
3431 (clean-guile, install-guile, uninstall-guile): New rules.
3432 (install-only): Add install-guile dependency.
3433 (uninstall): Add uninstall-guile dependency.
3434 (clean): Add clean-guile dependency.
3435
3436 2014-02-09 Doug Evans <xdje42@gmail.com>
3437
3438 Revert this patch (which I approved, mea culpa).
3439
3440 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3441
3442 * Makefile.in (all-lib): Remove.
3443 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3444
3445 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 Fix Python stack corruption.
3448 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3449 gdb_py_longest.
3450
3451 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3452
3453 * Makefile.in (all-lib): Remove.
3454 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3455
3456 2014-02-07 Doug Evans <dje@google.com>
3457
3458 * extension-priv.h (extension_language_script_ops): Add comment.
3459 (extension_language_ops): Add comment.
3460 (active_ext_lang_state): Fix typo in comment.
3461
3462 2014-02-07 Pedro Alves <palves@redhat.com>
3463
3464 PR breakpoints/16292
3465 * infrun.c (handle_signal_stop) <signal arrives while stepping
3466 over a breakpoint>: Switch back to the stepping thread.
3467
3468 2014-02-07 Yao Qi <yao@codesourcery.com>
3469
3470 * target.c (target_xfer_partial): Return zero if LEN is zero.
3471
3472 2014-02-07 Yao Qi <yao@codesourcery.com>
3473
3474 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3475 (ld_so_xfer_auxv): Likewise.
3476 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3477 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3478 * corelow.c (core_xfer_partial): Likewise.
3479 * ctf.c (ctf_xfer_partial): Likewise.
3480 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3481 (darwin_xfer_partial): Likewise.
3482 * exec.c (exec_xfer_partial): Likewise.
3483 * gnu-nat.c (gnu_xfer_partial): Likewise.
3484 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3485 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3486 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3487 * linux-nat.c (linux_xfer_siginfo): Likewise.
3488 (linux_proc_xfer_spu): Likewise.
3489 * procfs.c (procfs_xfer_partial): Likewise.
3490 * record-full.c (record_full_xfer_partial): Likewise.
3491 (record_full_core_xfer_partial): Likewise.
3492 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3493 * remote.c (remote_write_qxfer): Likewise.
3494 (remote_write_qxfer, remote_read_qxfer): Likewise.
3495 (remote_xfer_partial): Likewise.
3496 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3497 (rs6000_xfer_shared_libraries): Likewise.
3498 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3499 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3500 (spu_xfer_partial): Likewise.
3501 * target.c (memory_xfer_partial_1): Likewise.
3502 * tracepoint.c (tfile_xfer_partial): Likewise.
3503 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3504 (windows_xfer_partial): Likewise.
3505
3506 2014-02-07 Yao Qi <yao@codesourcery.com>
3507
3508 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3509 comments.
3510 (core_xfer_shared_libraries_aix): Likewise.
3511 * gdbarch.c, gdbarch.h: Regenerated.
3512 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3513 ULONGEST. Change 'len_avail' type to ULONGEST.
3514 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3515 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3516 declaration.
3517 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3518
3519 2014-02-07 Yao Qi <yao@codesourcery.com>
3520
3521 * corefile.c (memory_error): Get 'exception' from ERR and pass
3522 'exception' to throw_error.
3523
3524 2014-02-06 Doug Evans <xdje42@gmail.com>
3525
3526 * configure.ac (libpython checking): Remove all but python.o from
3527 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3528 * configure: Regenerate.
3529
3530 * Makefile.in (SFILES): Add extension.c.
3531 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3532 (COMMON_OBS): Add extension.o.
3533 * extension.h: New file.
3534 * extension-priv.h: New file.
3535 * extension.c: New file.
3536
3537 * python/python-internal.h: #include "extension.h".
3538 (gdbpy_auto_load_enabled): Declare.
3539 (gdbpy_apply_val_pretty_printer): Declare.
3540 (gdbpy_apply_frame_filter): Declare.
3541 (gdbpy_preserve_values): Declare.
3542 (gdbpy_breakpoint_cond_says_stop): Declare.
3543 (gdbpy_breakpoint_has_cond): Declare.
3544 (void source_python_script_for_objfile): Delete.
3545 * python/python.c: #include "extension-priv.h".
3546 Delete inclusion of "observer.h".
3547 (extension_language_python): Moved here and renamed from
3548 script_language_python in py-auto-load.c.
3549 Redefined to be of type extension_language_defn.
3550 (python_extension_script_ops): New global.
3551 (python_extension_ops): New global.
3552 (struct python_env): New member previous_active.
3553 (restore_python_env): Call restore_active_ext_lang.
3554 (ensure_python_env): Call set_active_ext_lang.
3555 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3556 New arg extlang.
3557 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3558 New arg extlang.
3559 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3560 New arg extlang.
3561 (gdbpy_eval_from_control_command): Renamed from
3562 eval_python_from_control_command, made static. New arg extlang.
3563 (gdbpy_source_script) Renamed from source_python_script, made static.
3564 New arg extlang.
3565 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3566 result to int. New arg extlang.
3567 (gdbpy_source_objfile_script): Renamed from
3568 source_python_script_for_objfile, made static. New arg extlang.
3569 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3570 static. New args extlang, extlang_printers. Change result type to
3571 "void".
3572 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3573 static. New arg extlang. Rename arg printers to extlang_printers
3574 and change type to ext_lang_type_printers *.
3575 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3576 static. Replace argument arg with extlang, extlang_printers.
3577 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3578 (!HAVE_PYTHON, source_python_script): Delete.
3579 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3580 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3581 (!HAVE_PYTHON, start_type_printers): Delete.
3582 (!HAVE_PYTHON, apply_type_printers): Delete.
3583 (!HAVE_PYTHON, free_type_printers): Delete.
3584 (_initialize_python): Delete call to observer_attach_before_prompt.
3585 (finalize_python): Set/restore active extension language.
3586 (gdbpy_finish_initialization) Renamed from
3587 finish_python_initialization, made static. New arg extlang.
3588 (gdbpy_initialized): New function.
3589 * python/python.h: #include "extension.h". Delete #include
3590 "value.h", "mi/mi-cmds.h".
3591 (extension_language_python): Declare.
3592 (GDBPY_AUTO_FILE_NAME): Delete.
3593 (enum py_bt_status): Moved to extension.h and renamed to
3594 ext_lang_bt_status.
3595 (enum frame_filter_flags): Moved to extension.h.
3596 (enum py_frame_args): Moved to extension.h and renamed to
3597 ext_lang_frame_args.
3598 (finish_python_initialization): Delete.
3599 (eval_python_from_control_command): Delete.
3600 (source_python_script): Delete.
3601 (apply_val_pretty_printer): Delete.
3602 (apply_frame_filter): Delete.
3603 (preserve_python_values): Delete.
3604 (gdbpy_script_language_defn): Delete.
3605 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3606 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3607
3608 * auto-load.c: #include "extension.h".
3609 (GDB_AUTO_FILE_NAME): Delete.
3610 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3611 (script_language_gdb): Delete, moved to extension.c and renamed to
3612 extension_language_gdb.
3613 (source_gdb_script_for_objfile): Delete.
3614 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3615 (loaded_script): Change type of language member to
3616 struct extension_language_defn *.
3617 (init_loaded_scripts_info): Initialize
3618 unsupported_script_warning_printed.
3619 (maybe_add_script): Make static. Change type of language arg to
3620 struct extension_language_defn *.
3621 (clear_section_scripts): Reset unsupported_script_warning_printed.
3622 (auto_load_objfile_script_1): Rewrite to use extension language API.
3623 (auto_load_objfile_script): Make public. Remove support-compiled-in
3624 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3625 (source_section_scripts): Rewrite to use extension language API.
3626 (load_auto_scripts_for_objfile): Rewrite to use
3627 auto_load_scripts_for_objfile.
3628 (collect_matching_scripts_data): Change type of language member to
3629 struct extension_language_defn *.
3630 (auto_load_info_scripts): Change type of language arg to
3631 struct extension_language_defn *.
3632 (unsupported_script_warning_print): New function.
3633 (script_not_found_warning_print): Make static.
3634 (_initialize_auto_load): Rewrite construction of scripts-directory
3635 help.
3636 * auto-load.h (struct objfile): Add forward decl.
3637 (struct script_language): Delete.
3638 (struct auto_load_pspace_info): Add forward decl.
3639 (struct extension_language_defn): Add forward decl.
3640 (maybe_add_script): Delete.
3641 (auto_load_objfile_script): Declare.
3642 (script_not_found_warning_print): Delete.
3643 (auto_load_info_scripts): Update prototype.
3644 (auto_load_gdb_scripts_enabled): Declare.
3645 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3646 auto_load_python_scripts_enabled and made public.
3647 (script_language_python): Delete, moved to python.c.
3648 (gdbpy_script_language_defn): Delete.
3649 (info_auto_load_python_scripts): Update to use
3650 extension_language_python.
3651
3652 * breakpoint.c (condition_command): Replace call to
3653 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3654 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3655 with call to breakpoint_ext_lang_cond_says_stop.
3656 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3657 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3658 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3659 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3660 New arg slang.
3661 (local_setattro): Print name of extension language with existing
3662 stop condition.
3663
3664 * valprint.c (val_print, value_print): Update to call
3665 apply_ext_lang_val_pretty_printer.
3666 * cp-valprint.c (cp_print_value): Update call to
3667 apply_ext_lang_val_pretty_printer.
3668 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3669 (gdbpy_apply_val_pretty_printer): Renamed from
3670 apply_val_pretty_printer. New arg extlang.
3671 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3672
3673 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3674 extension language API.
3675 * cli/cli-script.c (execute_control_command): Update to call
3676 eval_ext_lang_from_control_command.
3677
3678 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3679 enum ext_lang_bt_status values. Update call to
3680 apply_ext_lang_frame_filter.
3681 (mi_cmd_stack_list_locals): Ditto.
3682 (mi_cmd_stack_list_args): Ditto.
3683 (mi_cmd_stack_list_variables): Ditto.
3684 * mi/mi-main.c: Delete #include "python/python-internal.h".
3685 Add #include "extension.h".
3686 (mi_cmd_list_features): Replace reference to python internal variable
3687 gdb_python_initialized with call to ext_lang_initialized_p.
3688
3689 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3690 Update to use enum ext_lang_frame_args. Update to call
3691 apply_ext_lang_frame_filter.
3692 * python/py-framefilter.c (extract_sym): Update to use enum
3693 ext_lang_bt_status.
3694 (extract_value, py_print_type, py_print_value): Ditto.
3695 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3696 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3697 (py_print_frame): Ditto.
3698 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3699 New arg extlang. Update to use enum ext_lang_bt_status.
3700
3701 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3702 finish_python_initialization. Replace with call to
3703 finish_ext_lang_initialization.
3704
3705 * typeprint.c (do_free_global_table): Update to call
3706 free_ext_lang_type_printers.
3707 (create_global_typedef_table): Update to call
3708 start_ext_lang_type_printers.
3709 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3710 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3711 (type_print_options): Change type of global_printers from "void *"
3712 to "struct ext_lang_type_printers *".
3713
3714 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3715 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3716 (gdbpy_preserve_values): Renamed from preserve_python_values.
3717 New arg extlang.
3718 (!HAVE_PYTHON, preserve_python_values): Delete.
3719
3720 * utils.c (quit_flag): Delete, moved to extension.c.
3721 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3722 extension.c.
3723
3724 * eval.c: Delete #include "python/python.h".
3725 * main.c: Delete #include "python/python.h".
3726
3727 * defs.h: Update comment.
3728
3729 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3730
3731 GDB 7.7 released.
3732
3733 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3734
3735 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3736 defined.
3737
3738 2014-02-05 Yao Qi <yao@codesourcery.com>
3739
3740 * remote.c (remote_pass_signals): Remove local 'buf' and use
3741 rs->buf.
3742 (remote_program_signals): Likewise.
3743
3744 2014-02-05 Yao Qi <yao@codesourcery.com>
3745
3746 * ctf.c: Include "inferior.h" and "gdbthread.h".
3747 (CTF_PID): A new macro.
3748 (ctf_open): Call inferior_appeared and add_thread_silent.
3749 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3750 (ctf_thread_alive): New function.
3751 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3752
3753 2014-02-05 Yao Qi <yao@codesourcery.com>
3754
3755 Revert this patch:
3756
3757 2013-05-24 Yao Qi <yao@codesourcery.com>
3758
3759 * tracepoint.c (TFILE_PID): Remove.
3760 (tfile_open): Don't add thread and inferior.
3761 (tfile_close): Don't set 'inferior_ptid'. Don't call
3762 exit_inferior_silent.
3763 (tfile_thread_alive): Remove.
3764 (init_tfile_ops): Don't set field 'to_thread_alive' of
3765 tfile_ops.
3766
3767 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3768
3769 * remote.c (remote_start_remote): Call remote_check_symbols even
3770 if only symbol-file (not file) has been given.
3771
3772 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3773
3774 * gdbarch.sh (skip_entrypoint): New callback.
3775 * gdbarch.c, gdbarch.h: Regenerate.
3776 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3777 * infrun.c (fill_in_stop_func): Likewise.
3778 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3779 (ppc_elfv2_elf_make_msymbol_special): New function.
3780 (ppc_elfv2_skip_entrypoint): Likewise.
3781 (ppc_linux_init_abi): Install them for ELFv2.
3782
3783 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3784
3785 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3786 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3787 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3788 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3789 structures returned in GPRs.
3790
3791 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3792
3793 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3794 offset to the stack parameter list for the ELFv2 ABI.
3795
3796 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3797
3798 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3799 set_gdbarch_convert_from_func_ptr_addr and
3800 set_gdbarch_elf_make_msymbol_special for ELFv1.
3801 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3802 function descriptors on ELFv1.
3803 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3804 set up r12 at function entry.
3805
3806 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3807
3808 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3809 (struct gdbarch_tdep): New member elf_abi.
3810
3811 * rs6000-tdep.c: Include "elf/ppc64.h".
3812 (rs6000_gdbarch_init): Detect ELF ABI version.
3813
3814 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3815
3816 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3817 within a register pair holding a DFP 128-bit value on little-endian.
3818 (ppc64_sysv_abi_return_value_base): Likewise.
3819 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3820 (dfp_pseudo_register_write): Likewise.
3821
3822 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3823
3824 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3825 offset on little-endian when passing _Decimal32.
3826 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3827
3828 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3829
3830 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3831 of the overlapped FP register within the VSX register on little-
3832 endian platforms.
3833 (efpr_pseudo_register_write): Likewise.
3834
3835 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3836
3837 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3838 offset on little-endian when passing small structures.
3839
3840 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3841
3842 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3843 (struct ppc64_sysv_argpos): New data structure.
3844 (ppc64_sysv_abi_push_float): Remove.
3845 (ppc64_sysv_abi_push_val): New function.
3846 (ppc64_sysv_abi_push_integer): Likewise.
3847 (ppc64_sysv_abi_push_freg): Likewise.
3848 (ppc64_sysv_abi_push_vreg): Likewise.
3849 (ppc64_sysv_abi_push_param): Likewise.
3850 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3851 (ppc64_sysv_abi_return_value_base): New function.
3852 (ppc64_sysv_abi_return_value): Refactor to use it.
3853
3854 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3855
3856 * NEWS: Document new target powerpc64le-*-linux*.
3857
3858 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3859
3860 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3861 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3862 core dumps.
3863 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3864 register set used in ELF core dumps. Add floating-point register set.
3865
3866 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3867
3868 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3869 dwarf2_to_gdb[] table using symbolic constants. Adjust
3870 penultimate entry from number representing the PC register
3871 to symbolic constant representing the MDR register. Add
3872 constant for the PC register to the end of the table.
3873
3874 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3875
3876 * bsd-kvm.c: Include <sys/param.h>
3877
3878 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3879
3880 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3881
3882 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3883
3884 * ada-lang.h (clear_ada_sym_cache): Delete.
3885
3886 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3887
3888 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3889
3890 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3891
3892 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3893 the sigreturn register save area only if the syscall is
3894 sigreturn.
3895
3896 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3897
3898 * valops.c (value_slice): Minor reformatting.
3899
3900 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3901
3902 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3903
3904 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3905
3906 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3907 New static globals.
3908 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3909 (ada_ignore_descriptive_types_p): New static global.
3910 (find_parallel_type_by_descriptive_type): Return immediately
3911 if ada_ignore_descriptive_types_p is set.
3912 (_initialize_ada_language): Register new commands "maintenance
3913 set ada", "maintenance show ada", "maintenance set ada
3914 ignore-descriptive-types" and "maintenance show ada
3915 ignore-descriptive-types".
3916 * NEWS: Add entry for new "maint ada set/show
3917 ignore-descriptive-types" commands.
3918
3919 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3920
3921 * record-btrace.c (record_btrace_close): Call btrace_teardown
3922 for all threads.
3923
3924 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3925
3926 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3927 "ui-out.h".
3928
3929 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3930
3931 * ada-typeprint (type_is_full_subrange_of_target_type):
3932 New function.
3933 (print_range): Add parameter bounds_prefered_p. If not set,
3934 try printing range types using the name of their base type.
3935 (print_range_type): Add parameter bounds_prefered_p.
3936 Use it in call to print_range.
3937 (print_array_type, ada_print_type): Update calls to print_range
3938 and print_range_type.
3939
3940 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3941
3942 * ada-typeprint.c (print_array_type, print_choices, print_range)
3943 (print_range_bound, print_dynamic_range_bound, print_range_type):
3944 Remove declaration.
3945
3946 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3947
3948 * ada-typeprint.c (print_range): Add missing empty line
3949 after local declaration.
3950
3951 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3952
3953 * ada-valprint.c (print_optional_low_bound): Get index_type's
3954 target type for as long as it is a TYPE_CODE_RANGE.
3955
3956 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3957
3958 * procfs.c (procfs_make_note_section): Remove assertion and
3959 associated comment.
3960
3961 2014-01-24 Yao Qi <yao@codesourcery.com>
3962
3963 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3964 * corelow.c (get_core_siginfo): Likewise.
3965
3966 2014-01-24 Yao Qi <yao@codesourcery.com>
3967
3968 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3969 ULONGEST. Don't check 'len' is negative.
3970 (remote_write_bytes): Change type of 'len' to ULONGEST.
3971
3972 2014-01-23 Tom Tromey <tromey@redhat.com>
3973
3974 PR python/16485:
3975 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3976 Handle exception from frame.block.
3977 (FrameVars.fetch_frame_locals): Likewise.
3978
3979 2014-01-23 Tom Tromey <tromey@redhat.com>
3980
3981 PR python/16487:
3982 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3983 on a NULL pointer. Move "goto error" to correct place.
3984
3985 2014-01-23 Tom Tromey <tromey@redhat.com>
3986
3987 PR python/16491:
3988 * python/py-framefilter.c (apply_frame_filter): Call
3989 ensure_python_env after computing gdbarch.
3990
3991 2014-01-23 Yao Qi <yao@codesourcery.com>
3992
3993 * target.c (raw_memory_xfer_partial): Change argument type
3994 from void * to gdb_byte *.
3995 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3996
3997 2014-01-22 Doug Evans <dje@google.com>
3998
3999 New gdbserver option --debug-format=timestamp.
4000 * NEWS: Mention it.
4001
4002 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4003
4004 * syscalls/s390x-linux.xml: New file.
4005 * syscalls/s390-linux.xml: New file.
4006 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4007 (XML_SYSCALL_FILENAME_S390X): Likewise.
4008 (op_svc): New enum value for SVC opcode.
4009 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4010 (s390_linux_get_syscall_number): New function.
4011 (s390_gdbarch_init): Register '*get_syscall_number' and the
4012 syscall xml file name.
4013 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4014 "s390-linux.xml" and "s390x-linux.xml".
4015 * NEWS: Announce new feature.
4016
4017 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4018
4019 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4020
4021 2014-01-22 Pedro Alves <palves@redhat.com>
4022
4023 * xtensa-config.c: Include defs.h.
4024
4025 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4026
4027 * common/common-utils.h: Add "ARI:" comment beside __func__
4028 reference.
4029
4030 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4031
4032 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4033 documentation a bit.
4034
4035 2014-01-21 Roland McGrath <mcgrathr@google.com>
4036
4037 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4038 * configure: Regenerate.
4039 * aclocal.m4: Regenerate.
4040 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4041 New substituted variables.
4042 (install-strip): New target.
4043 (INSTALL_SCRIPT): New substituted variable.
4044 (FLAGS_TO_PASS): Add it.
4045 (install-only): Use $(INSTALL_SCRIPT) rather than
4046 $(INSTALL_PROGRAM) for gcore.
4047
4048 2014-01-20 Tom Tromey <tromey@redhat.com>
4049
4050 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4051 together.
4052
4053 2014-01-20 Tom Tromey <tromey@redhat.com>
4054
4055 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4056 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4057 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4058 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4059 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4060 (struct cmd_list_element) <flags>: Remove.
4061 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4062 doc_allocated>: New fields.
4063 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4064 bitfields.
4065 * maint.c (maintenance_do_deprecate): Update.
4066 * top.c (execute_command): Update.
4067
4068 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4069
4070 * xtensa-linux-nat.c: Include asm/ptrace.h.
4071
4072 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4073
4074 * Makefile.in (SFILES): Add d-support.c.
4075 (COMMON_OBS): Add d-support.o.
4076 * d-lang.h (d_parse_symbol): Add comment, now defined in
4077 d-support.c.
4078 * d-lang.c (parse_call_convention)
4079 (parse_attributes, parse_function_types)
4080 (parse_function_args, parse_type, parse_identifier)
4081 (call_convention_p, d_parse_symbol): Move functions to ...
4082 * d-support.c: ... New file.
4083
4084 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4085
4086 * d-lang.h (d_parse_symbol): Add declaration.
4087 * d-lang.c (extract_identifiers)
4088 (extract_type_info): Remove functions.
4089 (parse_call_convention, parse_attributes)
4090 (parse_function_types, parse_function_args)
4091 (parse_type, parse_identifier, call_convention_p)
4092 (d_parse_symbol): New functions.
4093 (d_demangle): Use d_parse_symbol to demangle D symbols.
4094
4095 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4096
4097 * d-lang.h (struct builtin_d_type): New data type.
4098 (builtin_d_type): Add declaration.
4099 * d-lang.c (d_language_arch_info, build_d_types)
4100 (builtin_d_type): New functions.
4101 (enum d_primitive_types): New data type.
4102 (d_language_defn): Change c_language_arch_info to
4103 d_language_arch_info.
4104 (d_type_data): New static variable.
4105 (_initialize_d_language): Initialize d_type_data.
4106
4107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4108
4109 * d-lang.h (d_main_name): Add declaration.
4110 * d-lang.c (d_main_name): New function.
4111 * symtab.c (find_main_name): Add call to d_main_name.
4112
4113 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4114
4115 * d-lang.c (d_language_defn): Change macro_expansion_c to
4116 macro_expansion_no.
4117
4118 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4119
4120 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4121
4122 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4123
4124 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4125 gdb_exception" declaration.
4126 * remote.c (getpkt_or_notif_sane): Likewise.
4127
4128 2014-01-17 Doug Evans <dje@google.com>
4129
4130 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4131 function, contents of dirnames_to_char_ptr_vec_append moved here.
4132 (delim_string_to_char_ptr_vec): New function.
4133 (dirnames_to_char_ptr_vec_append): Rewrite.
4134 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4135
4136 2014-01-17 Doug Evans <dje@google.com>
4137
4138 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4139 and moved here ...
4140 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4141 #include "common-utils.h".
4142 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4143 * common/vec.h (VEC_ASSERT_PASS): Update.
4144 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4145 (MACH_CHECK_ERROR): Update.
4146
4147 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4148
4149 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4150 comments.
4151 * gdbarch.h: Regenerate.
4152
4153 2014-01-16 Tom Tromey <tromey@redhat.com>
4154
4155 * value.c (struct value) <regnum>: Move earlier.
4156
4157 2014-01-16 Tom Tromey <tromey@redhat.com>
4158
4159 * remote.c (extended_remote_create_inferior): Rename from
4160 extended_remote_create_inferior_1. Add "ops" argument. Remove
4161 old implementation.
4162
4163 2014-01-16 Pedro Alves <palves@redhat.com>
4164
4165 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4166 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4167 the backchain.
4168
4169 2014-01-16 Doug Evans <dje@google.com>
4170
4171 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4172
4173 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4174
4175 * btrace.h (btrace_thread_flag): New.
4176 (struct btrace_thread_info) <flags>: New.
4177 * record-btrace.c (record_btrace_resume_thread)
4178 (record_btrace_find_thread_to_move, btrace_step_no_history)
4179 (btrace_step_stopped, record_btrace_start_replaying)
4180 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4181 (record_btrace_find_resume_thread): New.
4182 (record_btrace_resume, record_btrace_wait): Extend.
4183 (record_btrace_can_execute_reverse): New.
4184 (record_btrace_open): Fail in non-stop mode.
4185 (record_btrace_set_replay): Split into this, ...
4186 (record_btrace_stop_replaying): ... this, ...
4187 (record_btrace_clear_histories): ... and this.
4188 (init_record_btrace_ops): Init to_can_execute_reverse.
4189 * NEWS: Announce it.
4190
4191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4192
4193 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4194 (forward_target_decr_pc_after_break)
4195 (target_decr_pc_after_break): New.
4196 * target.c (forward_target_decr_pc_after_break)
4197 (target_decr_pc_after_break): New.
4198 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4199 instead of gdbarch_decr_pc_after_break.
4200 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4201 instead of gdbarch_decr_pc_after_break.
4202 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4203 instead of gdbarch_decr_pc_after_break.
4204 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4205 instead of gdbarch_decr_pc_after_break.
4206 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4207 instead of gdbarch_decr_pc_after_break.
4208 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4209 instead of gdbarch_decr_pc_after_break.
4210
4211 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4212
4213 * btrace.c: Include regcache.h.
4214 (btrace_add_pc): New.
4215 (btrace_enable): Call btrace_add_pc.
4216 (btrace_is_empty): New.
4217 * btrace.h (btrace_is_empty): New.
4218 * record-btrace.c (require_btrace, record_btrace_info): Call
4219 btrace_is_empty.
4220
4221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4222
4223 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4224 Support delta reads.
4225 (linux_disable_btrace): Change return type.
4226 * common/linux-btrace.h (linux_read_btrace): Change parameters
4227 and return type to allow error reporting. Update users.
4228 (linux_disable_btrace): Change return type. Update users.
4229 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4230 New.
4231 (btrace_error): New.
4232 (btrace_block) <begin>: Comment on BEGIN == 0.
4233 * btrace.c (btrace_compute_ftrace): Start from the end of
4234 the current trace.
4235 (btrace_stitch_trace, btrace_clear_history): New.
4236 (btrace_fetch): Read delta trace, return if replaying.
4237 (btrace_clear): Move clear history code to btrace_clear_history.
4238 (parse_xml_btrace): Throw an error if parsing failed.
4239 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4240 and return type to allow error reporting.
4241 (target_read_btrace): Change parameters and return type to allow
4242 error reporting.
4243 * target.c (target_read_btrace): Update.
4244 * remote.c (remote_read_btrace): Support delta reads. Pass
4245 errors on.
4246 * NEWS: Announce it.
4247
4248 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4249
4250 * record.h (record_btrace_frame_unwind)
4251 (record_btrace_tailcall_frame_unwind): New declarations.
4252 * dwarf2-frame: Include record.h
4253 (dwarf2_frame_cfa): Throw an error for btrace frames.
4254 * record-btrace.c: Include hashtab.h.
4255 (btrace_get_bfun_name): New.
4256 (btrace_call_history): Call btrace_get_bfun_name.
4257 (struct btrace_frame_cache): New.
4258 (bfcache): New.
4259 (bfcache_hash, bfcache_eq, bfcache_new): New.
4260 (btrace_get_frame_function): New.
4261 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4262 (record_btrace_frame_this_id): Compute own id.
4263 (record_btrace_frame_prev_register): Provide PC, throw_error
4264 for all other registers.
4265 (record_btrace_frame_sniffer): Detect btrace frames.
4266 (record_btrace_tailcall_frame_sniffer): New.
4267 (record_btrace_frame_dealloc_cache): New.
4268 (record_btrace_frame_unwind): Add new functions.
4269 (record_btrace_tailcall_frame_unwind): New.
4270 (_initialize_record_btrace): Allocate cache.
4271 * btrace.c (btrace_clear): Call reinit_frame_cache.
4272 * NEWS: Announce it.
4273
4274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4275
4276 * record-btrace.c (record_btrace_set_replay)
4277 (record_btrace_goto_begin, record_btrace_goto_end)
4278 (record_btrace_goto): New.
4279 (init_record_btrace_ops): Initialize them.
4280 * NEWS: Announce it.
4281
4282 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4283
4284 * record-btrace.c (record_btrace_find_new_threads)
4285 (record_btrace_thread_alive): New.
4286 (init_record_btrace_ops): Initialize to_find_new_threads and
4287 to_thread_alive.
4288
4289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4290
4291 * record-btrace.c (record_btrace_resume): New.
4292 (record_btrace_wait): New.
4293 (init_record_btrace_ops): Initialize to_wait and to_resume.
4294
4295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4296
4297 * record-btrace.c (record_btrace_xfer_partial)
4298 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4299 (record_btrace_allow_memory_access): New.
4300 (init_record_btrace_ops): Initialize new methods.
4301 * target.c (raw_memory_xfer_partial): Bail out if target reports
4302 that this memory is not available.
4303
4304 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4305
4306 * target.h (target_ops) <to_insert_breakpoint>
4307 <to_remove_breakpoint>: Add target_ops parameter.
4308 (forward_target_insert_breakpoint): New.
4309 (forward_target_remove_breakpoint): New.
4310 (memory_remove_breakpoint, memory_insert_breakpoint):
4311 Add target_ops parameter.
4312 * target.c (target_insert_breakpoint): Split into this and ...
4313 (forward_target_insert_breakpoint): ... this.
4314 (target_remove_breakpoint): Split into this and ...
4315 (forward_target_remove_breakpoint): ... this.
4316 (debug_to_insert_breakpoint): Add target_ops parameter.
4317 Call forward_target_insert_breakpoint.
4318 (debug_to_remove_breakpoint): Add target_ops parameter.
4319 Call forward_target_remove_breakpoint.
4320 (update_current_target): Do not inherit or default to_insert_breakpoint
4321 and to_remove_breakpoint.
4322 * corelow.c (ignore): Add target_ops parameter.
4323 * exec.c (ignore): Add target_ops parameter.
4324 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4325 Add target_ops parameter.
4326 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4327 Add target_ops parameter.
4328 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4329 Add target_ops parameter.
4330 * record-full.c (record_full_beneath_to_insert_breakpoint)
4331 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4332 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4333 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4334 (record_full_core_remove_breakpoint): Add target_ops parameter.
4335 Update users.
4336 (record_full_beneath_to_insert_breakpoint_ops)
4337 (record_full_beneath_to_remove_breakpoint_ops)
4338 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4339 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4340 tmp_to_remove_breakpoint_ops,
4341 record_full_beneath_to_insert_breakpoint_ops, and
4342 record_full_beneath_to_remove_breakpoint_ops.
4343 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4344 (m32r_remove_breakpoint): Add target_ops parameter.
4345 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4346 Add target_ops parameter.
4347 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4348 Add target_ops parameter.
4349
4350 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4351 Markus Metzger <markus.t.metzger@intel.com>
4352
4353 * record-btrace.c: Include frame-unwind.h.
4354 (record_btrace_frame_unwind_stop_reason)
4355 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4356 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4357 New.
4358 (init_record_btrace_ops): Install it.
4359
4360 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4361
4362 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4363 get_prev_frame_1.
4364
4365 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4366
4367 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4368 earlier.
4369
4370 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4371
4372 * frame-unwind.c: Include target.h.
4373 (frame_unwind_try_unwinder): New function with code from ...
4374 (frame_unwind_find_by_frame): ... here. New variable
4375 unwinder_from_target, call also target_get_unwinder)
4376 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4377 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4378 * target.h (struct target_ops): New fields to_get_unwinder and
4379 to_get_tailcall_unwinder.
4380 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4381
4382 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4383
4384 * record-btrace.c (record_btrace_fetch_registers)
4385 (record_btrace_store_registers)
4386 (record_btrace_to_prepare_to_store): New.
4387 (init_record_btrace_ops): Add the above.
4388
4389 2014-01-16 Tom Tromey <tromey@redhat.com>
4390
4391 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4392 * target.h (struct target_ops) <to_prepare_to_store>: Add
4393 argument.
4394 (target_prepare_to_store): Add argument.
4395 * target.c (debug_to_prepare_to_store): Add argument.
4396 (update_current_target): Update.
4397 * remote.c (remote_prepare_to_store): Add 'self' argument.
4398 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4399 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4400 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4401 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4402 argument.
4403 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4404 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4405 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4406 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4407 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4408
4409 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4410
4411 * btrace.h (replay) <replay>: New.
4412 (btrace_is_replaying): New.
4413 * btrace.c (btrace_clear): Free replay iterator.
4414 (btrace_is_replaying): New.
4415 * record-btrace.c (record_btrace_is_replaying): New.
4416 (record_btrace_info): Print insn number if replaying.
4417 (record_btrace_insn_history): Start at replay position.
4418 (record_btrace_call_history): Start at replay position.
4419 (init_record_btrace_ops): Init to_record_is_replaying.
4420
4421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4422
4423 * record-btrace.c (record_btrace_insn_history_range): Include
4424 end.
4425 (record_btrace_insn_history_from): Adjust range.
4426 (record_btrace_call_history_range): Include
4427 end.
4428 (record_btrace_call_history_from): Adjust range.
4429 * NEWS: Announce changes.
4430
4431 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4432
4433 * record.h (enum record_print_flag)
4434 <record_print_indent_calls>: New.
4435 * record.c (get_call_history_modifiers): Recognize /c modifier.
4436 (_initialize_record): Document /c modifier.
4437 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4438 Reorder fields. Optionally indent the function name. Update
4439 all users.
4440 * NEWS: Announce changes.
4441
4442 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4443
4444 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4445
4446 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4447
4448 * btrace.c (ftrace_new_function): Start counting at one.
4449 * record-btrace.c (record_btrace_info): Adjust number of calls
4450 and insns.
4451 * NEWS: Announce it.
4452
4453 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4454
4455 * record-btrace.c (btrace_call_history_insn_range): Print
4456 insn range as [begin, end].
4457
4458 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4459
4460 * btrace.h (struct btrace_func_link): New.
4461 (enum btrace_function_flag): New.
4462 (struct btrace_inst): Rename to ...
4463 (struct btrace_insn): ...this. Update all users.
4464 (struct btrace_func) <ibegin, iend>: Remove.
4465 (struct btrace_func_link): New.
4466 (struct btrace_func): Rename to ...
4467 (struct btrace_function): ...this. Update all users.
4468 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4469 (number, level, flags>: New.
4470 (struct btrace_insn_iterator): Rename to ...
4471 (struct btrace_insn_history): ...this.
4472 Update all users.
4473 (struct btrace_insn_iterator, btrace_call_iterator): New.
4474 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4475 (struct btrace_target_info) <begin, end, level>
4476 <insn_history, call_history>: New.
4477 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4478 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4479 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4480 (btrace_call_number, btrace_call_begin, btrace_call_end)
4481 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4482 (btrace_find_function_by_number, btrace_set_insn_history)
4483 (btrace_set_call_history): New.
4484 * btrace.c (btrace_init_insn_iterator)
4485 (btrace_init_func_iterator, compute_itrace): Remove.
4486 (ftrace_print_function_name, ftrace_print_filename)
4487 (ftrace_skip_file): Change
4488 parameter to const.
4489 (ftrace_init_func): Remove.
4490 (ftrace_debug): Use new btrace_function fields.
4491 (ftrace_function_switched): Also consider gaining and
4492 losing symbol information).
4493 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4494 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4495 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4496 New.
4497 (ftrace_new_function): Move. Remove debug print.
4498 (ftrace_update_lines, ftrace_update_insns): New.
4499 (ftrace_update_function): Check for call, ret, and jump.
4500 (compute_ftrace): Renamed to ...
4501 (btrace_compute_ftrace): ...this. Rewritten to compute call
4502 stack.
4503 (btrace_fetch, btrace_clear): Updated.
4504 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4505 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4506 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4507 (btrace_call_number, btrace_call_begin, btrace_call_end)
4508 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4509 (btrace_find_function_by_number, btrace_set_insn_history)
4510 (btrace_set_call_history): New.
4511 * record-btrace.c (require_btrace): Use new btrace thread
4512 info fields.
4513 (record_btrace_info, btrace_insn_history)
4514 (record_btrace_insn_history, record_btrace_insn_history_range):
4515 Use new btrace thread info fields and new iterator.
4516 (btrace_func_history_src_line): Rename to ...
4517 (btrace_call_history_src_line): ...this. Use new btrace
4518 thread info fields.
4519 (btrace_func_history): Rename to ...
4520 (btrace_call_history): ...this. Use new btrace thread info
4521 fields and new iterator.
4522 (record_btrace_call_history, record_btrace_call_history_range):
4523 Use new btrace thread info fields and new iterator.
4524
4525 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4526
4527 * frame.h (frame_id_build_unavailable_stack_special): New.
4528 * frame.c (frame_id_build_unavailable_stack_special): New.
4529
4530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4531
4532 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4533 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4534 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4535 to gdbarch.
4536 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4537 (i386_insn_is_jump, i386_jmp_p): New.
4538 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4539 insn_is_jump to gdbarch.
4540 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4541 * gdbarch.h: Regenerated.
4542 * gdbarch.c: Regenerated.
4543 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4544 (default_insn_is_jump): New.
4545 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4546 (default_insn_is_jump): New.
4547
4548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4549
4550 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4551 Change to ...
4552 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4553 (btrace_read_type) <btrace_read_new>: Change to ...
4554 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4555
4556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4557
4558 * common/linux-btrace.c (linux_read_btrace): Free trace from
4559 previous iteration.
4560
4561 2014-01-15 Doug Evans <dje@google.com>
4562
4563 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4564 uint32_t.
4565
4566 2014-01-15 Tom Tromey <tromey@redhat.com>
4567
4568 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4569 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4570 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4571 (set_objfile_main_name): New function.
4572 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4573 language_of_main>: New fields.
4574 (set_objfile_main_name): Declare.
4575 * symtab.c (find_main_name): Loop over objfiles to find the main
4576 name and language.
4577 (set_main_name): Now static.
4578 (get_main_info): Add comment.
4579 * symtab.h (set_main_name): Don't declare.
4580
4581 2014-01-15 Tom Tromey <tromey@redhat.com>
4582
4583 * symtab.c (main_progspace_key): New global.
4584 (struct main_info): New.
4585 (name_of_main, language_of_main): Remove.
4586 (get_main_info, main_info_cleanup): New function.
4587 (set_main_name, main_name, main_language): Use get_main_info.
4588 (_initialize_symtab): Initialize main_progspace_key.
4589
4590 2014-01-15 Tom Tromey <tromey@redhat.com>
4591
4592 * dbxread.c (process_one_symbol): Update.
4593 * dwarf2read.c (read_partial_die): Update.
4594 * symfile.c (set_initial_language): Call main_language.
4595 * symtab.c (language_of_main): Now static.
4596 (set_main_name): Add 'lang' parameter.
4597 (find_main_name): Update.
4598 (main_language): New function.
4599 (symtab_observer_executable_changed): Update.
4600 * symtab.h (set_main_name): Update.
4601 (language_of_main): Remove.
4602 (main_language): Declare.
4603
4604 2014-01-15 Tom Tromey <tromey@redhat.com>
4605
4606 * symfile.c (init_entry_point_info): Use new "initialized" field.
4607 Update.
4608 * objfiles.h (struct entry_point) <initialized>: New field.
4609 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4610 (struct objfile) <ei>: ...here. Remove.
4611 * objfiles.c (entry_point_address_query): Update.
4612
4613 2014-01-15 Tom Tromey <tromey@redhat.com>
4614
4615 * objfiles.c (entry_point_address_query): Relocate entry point
4616 address.
4617 (objfile_relocate1): Do not relocate entry point address.
4618 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4619 <the_bfd_section_index>: New field.
4620 * symfile.c (init_entry_point_info): Find the entry point's
4621 section.
4622
4623 2014-01-15 Tom Tromey <tromey@redhat.com>
4624
4625 * solib-frv.c (enable_break): Use entry_point_address_query.
4626
4627 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4628
4629 * NEWS: Add note on improved process record-replay on
4630 arm*-linux* targets.
4631
4632 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4633
4634 * arm-tdep.c (enum arm_record_result): New enum.
4635 (arm_record_unsupported_insn): New function.
4636 (arm_record_coproc_data_proc): Removed.
4637 (thumb2_record_ld_st_multiple): New function.
4638 (thumb2_record_ld_st_dual_ex_tbb): New function.
4639 (thumb2_record_data_proc_sreg_mimm): New function.
4640 (thumb2_record_ps_dest_generic): New function.
4641 (thumb2_record_branch_misc_cntrl): New function.
4642 (thumb2_record_str_single_data): New function.
4643 (thumb2_record_ld_mem_hints): New function.
4644 (thumb2_record_ld_word): New function.
4645 (thumb2_record_lmul_lmla_div): New function.
4646 (thumb2_record_decode_insn_handler): New function.
4647 (decode_insn): Add thumb32 instruction handlers.
4648
4649 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4650
4651 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4652 (struct arm_linux_record_tdep): Declare.
4653 (arm_canonicalize_syscall): New function.
4654 (arm_all_but_pc_registers_record): New function.
4655 (arm_linux_syscall_record): New function.
4656 (arm_linux_init_abi): Add syscall recording constructs.
4657 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4658 decoding. (arm_record_coproc_data_proc): Update arm syscall
4659 decoding.
4660 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4661 <arm_syscall_record>: New field.
4662 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4663 gdb_target_obs.
4664
4665 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4666
4667 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4668 register for push instruction recording.
4669
4670 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4671
4672 * arm-tdep.c (thumb_record_misc): Update to correct logical
4673 error while recording ldm, ldmia and pop instructions.
4674
4675 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4676
4677 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4678
4679 2014-01-15 Pedro Alves <palves@redhat.com>
4680
4681 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4682 (go32_resume, go32_fetch_registers, store_register)
4683 (go32_store_registers, go32_prepare_to_store)
4684 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4685 (go32_create_inferior, go32_can_run, go32_terminal_init)
4686 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4687 declarations.
4688
4689 2014-01-15 Tom Tromey <tromey@redhat.com>
4690
4691 * target.h (async_callback_ftype): New typedef.
4692 (struct target_ops) <to_async>: Use it.
4693
4694 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4695
4696 * python/py-value.c (get_field_type): Remove unnecessary curly
4697 braces for single-statement if block.
4698
4699 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4700
4701 * python/py-type.c (convert_field): Add missing empty line
4702 after declarations.
4703
4704 2014-01-14 Doug Evans <dje@google.com>
4705
4706 * symfile.h (expand_symtabs_matching): Renamed from
4707 expand_partial_symbol_names. Update prototype.
4708 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4709 * symfile.c (expand_symtabs_matching): Renamed from
4710 expand_partial_symbol_names. New args file_matcher, kind.
4711 Rename arg fun to symbol_matcher.
4712 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4713 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4714 ada_expand_partial_symbol_name.
4715 (ada_make_symbol_completion_list): Update to call
4716 expand_symtabs_matching.
4717 (ada_add_global_exceptions): Call expand_symtabs_matching.
4718 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4719 call map_symbol_filenames.
4720 * symtab.c (sources_info): Update to call map_symbol_filenames.
4721 (search_symbols): Call expand_symtabs_matching.
4722 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4723 (default_make_symbol_completion_list_break_on): Update to call
4724 expand_symtabs_matching.
4725 (make_source_files_completion_list): Update to call
4726 map_symbol_filenames.
4727
4728 2014-01-14 Doug Evans <dje@google.com>
4729
4730 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4731 (expand_symtabs_symbol_matcher_ftype): New typedef.
4732 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4733 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4734 * symfile.c (expand_partial_symbol_names): Update to use
4735 expand_symtabs_symbol_matcher_ftype.
4736 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4737 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4738 Arg name_matcher renamed to symbol_matcher.
4739 * psymtab.c (recursively_search_psymtabs): Update to use
4740 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4741 sym_matcher.
4742 (expand_symtabs_matching_via_partial): Update to use
4743 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4744 Arg name_matcher renamed to symbol_matcher.
4745
4746 2014-01-14 Doug Evans <dje@google.com>
4747
4748 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4749 (map_partial_symbol_filenames): Ditto.
4750 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4751 (map_partial_symbol_filenames): Ditto.
4752 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4753 (map_partial_symbol_filenames): Ditto.
4754 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4755 (map_partial_symbol_filenames): Ditto.
4756 * symtab.c: Delete #include "psymtab.h".
4757
4758 2014-01-14 Pedro Alves <palves@redhat.com>
4759 Tom Tromey <tromey@redhat.com>
4760
4761 * infrun.c (use_displaced_stepping): Use find_record_target
4762 instead of RECORD_IS_USED.
4763 (adjust_pc_after_break): Use record_full_is_used instead of
4764 RECORD_IS_USED.
4765 * record-btrace.c (record_btrace_open): Call record_preopen
4766 instead of checking RECORD_IS_USED.
4767 * record-full.c (record_full_shortname)
4768 (record_full_core_shortname): New globals.
4769 (record_full_is_used): New function.
4770 (find_full_open): Call record_preopen instead of checking
4771 RECORD_IS_USED.
4772 (init_record_full_ops): Set the target's shortname to
4773 record_full_shortname.
4774 (init_record_full_core_ops): Set the target's shortname to
4775 record_full_core_shortname.
4776 * record-full.h (record_full_is_used): Declare.
4777 * record.c (find_record_target): Make extern.
4778 (record_preopen): New function.
4779 * record.h (RECORD_IS_USED): Delete macro.
4780 (find_record_target, record_preopen): Declare functions.
4781
4782 2014-01-14 Yao Qi <yao@codesourcery.com>
4783
4784 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4785 'len''s type to ULONGEST.
4786 (core_xfer_shared_libraries_aix): Likewise.
4787 * gdbarch.c, gdbarch.h: Regenerated.
4788 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4789 Change type of 'len' to ULONGEST.
4790 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4791 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4792
4793 2014-01-14 Yao Qi <yao@codesourcery.com>
4794
4795 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4796 type of 'len' to ULONGEST.
4797 (linux_xfer_osdata_processgroups): Likewise.
4798 (linux_xfer_osdata_threads): Likewise.
4799 (linux_xfer_osdata_fds): Likewise.
4800 (linux_xfer_osdata_isockets): Likewise.
4801 (linux_xfer_osdata_shm): Likewise.
4802 (linux_xfer_osdata_sem): Likewise.
4803 (linux_xfer_osdata_msg): Likewise.
4804 (linux_common_xfer_osdata): Likewise.
4805 (struct osdata_type) <getter>: Likewise.
4806 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4807 the declaration.
4808
4809 2014-01-14 Yao Qi <yao@codesourcery.com>
4810
4811 * target.h (target_xfer_partial_ftype): Update.
4812 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4813 ULONGEST.
4814 * aix-thread.c (aix_thread_xfer_partial): Change type of
4815 argument 'len' to ULONGEST.
4816 * auxv.c (procfs_xfer_auxv): Likewise.
4817 (ld_so_xfer_auxv): Likewise.
4818 (memory_xfer_auxv): Likewise.
4819 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4820 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4821 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4822 * corelow.c (core_xfer_partial): Likewise.
4823 * ctf.c (ctf_xfer_partial): Likewise.
4824 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4825 '%u'.
4826 (darwin_read_dyld_info): Likewise.
4827 (darwin_xfer_partial): Likewise.
4828 * exec.c (section_table_xfer_memory_partial): Likewise.
4829 (exec_xfer_partial): Likewise.
4830 * exec.h (section_table_xfer_memory_partial): Update
4831 declaration.
4832 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4833 instead of plongest.
4834 (gnu_xfer_partial): Likewise.
4835 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4836 (ia64_hpux_xfer_solib_got): Likewise.
4837 (ia64_hpux_xfer_partial): Likewise.
4838 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4839 * inf-ptrace.c (inf_ptrace_xfer_partial):
4840 * inf-ttrace.c (inf_ttrace_xfer_partial):
4841 * linux-nat.c (linux_xfer_siginfo): Likewise.
4842 (linux_nat_xfer_partial): Likewise.
4843 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4844 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4845 * monitor.c (monitor_xfer_memory): Likewise.
4846 (monitor_xfer_partial): Likewise.
4847 * procfs.c (procfs_xfer_partial): Likewise.
4848 * record-full.c (record_full_xfer_partial): Likewise.
4849 (record_full_core_xfer_partial): Likewise.
4850 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4851 instead of plongest.
4852 (gdbsim_xfer_partial): Likewise.
4853 * remote.c (remote_xfer_partial): Likewise.
4854 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4855 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4856 declaration.
4857 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4858 (rs6000_xfer_shared_libraries): Likewise.
4859 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4860 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4861 (sparc_xfer_partial): Likewise.
4862 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4863 (spu_xfer_partial): Likewise.
4864 * spu-multiarch.c (spu_xfer_partial): Likewise.
4865 * target.c (target_read_live_memory): Likewise.
4866 (memory_xfer_live_readonly_partial): Likewise.
4867 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4868 (target_xfer_partial, default_xfer_partial): Likewise.
4869 (current_xfer_partial): Likewise.
4870 * tracepoint.c (tfile_xfer_partial): Likewise.
4871 * windows-nat.c (windows_xfer_memory): Likewise. Call
4872 pulongest instead of plongest.
4873 (windows_xfer_partial): Likewise.
4874 (windows_xfer_shared_libraries): Likewise.
4875
4876 2014-01-14 Yao Qi <yao@codesourcery.com>
4877
4878 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4879 target_xfer_partial_ftype.
4880
4881 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4882
4883 PR python/15464
4884 PR python/16113
4885 * valops.c (value_struct_elt_bitpos): New function
4886 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4887 object to 'None' if the field name is an empty string ("").
4888 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4889 attribute to look for a field when 'name' is 'None'.
4890 (get_field_type): New function
4891
4892 2014-01-13 Doug Evans <dje@google.com>
4893
4894 PR symtab/16426
4895 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4896 (try_open_dwop_file): Ditto.
4897 * gdb_bfd.c: #include "vec.h".
4898 (bfdp): New typedef.
4899 (struct gdb_bfd_data): New member included_bfds.
4900 (gdb_bfd_unref): Unref all included bfds.
4901 (gdb_bfd_record_inclusion): New function.
4902 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4903
4904 2014-01-13 Tom Tromey <tromey@redhat.com>
4905
4906 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4907
4908 2014-01-13 Tom Tromey <tromey@redhat.com>
4909
4910 * defs.h (use_windows): Remove.
4911 * gdb.c (main): Update.
4912 * main.c (captured_main, gdb_main): Update.
4913 * main.h (struct captured_main_args) <use_windows>: Remove.
4914 * top.c (use_windows): Remove.
4915
4916 2014-01-13 Tom Tromey <tromey@redhat.com>
4917
4918 * defs.h (deprecated_flush_hook): Remove.
4919
4920 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4921
4922 PR threads/16216
4923 * linux-thread-db.c (try_thread_db_load): Add parameter
4924 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4925 (try_thread_db_load_from_pdir_1): Move it there from here.
4926 (try_thread_db_load_from_sdir): Update caller.
4927 (try_thread_db_load_from_dir): Move it there from here.
4928
4929 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4930
4931 * regformats/regdat.sh: Always rewrite the register file.
4932
4933 2014-01-13 Pedro Alves <palves@redhat.com>
4934
4935 * Makefile.in (CHECK_HEADERS): New variable.
4936 (check-headers:): New rule.
4937
4938 2014-01-13 Tom Tromey <tromey@redhat.com>
4939
4940 * cli/cli-setshow.c (do_set_command): Update.
4941 * defs.h (deprecated_set_hook): Remove.
4942 * top.c (deprecated_set_hook): Remove.
4943
4944 2014-01-13 Pedro Alves <palves@redhat.com>
4945
4946 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4947 the tracepoint if the PC is a pseudo-register.
4948
4949 2014-01-13 Tom Tromey <tromey@redhat.com>
4950
4951 * defs.h (XCALLOC): Remove.
4952 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4953 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4954 * dwarf2loc.c (allocate_piece_closure): Likewise.
4955 * elfread.c (elf_symfile_segments): Likewise.
4956 (elf_symfile_segments): Likewise.
4957 * gdbtypes.c (copy_type_recursive): Likewise.
4958 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4959 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4960 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4961 XCALLOC.
4962 * mt-tdep.c (mt_gdbarch_init): Likewise.
4963 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4964 XCALLOC.
4965 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4966 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4967 * registry.c (registry_alloc_data): Likewise.
4968 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4969 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4970 * serial.c (serial_fdopen_ops): Likewise.
4971 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4972 XCALLOC.
4973 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4974 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4975 not XCALLOC.
4976
4977 2014-01-13 Tom Tromey <tromey@redhat.com>
4978
4979 * defs.h (XMALLOC): Remove.
4980 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4981 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4982 * cli-out.c (struct ui_out *): Likewise.
4983 * cli/cli-dump.c (add_dump_command): Likewise.
4984 (add_dump_command): Likewise.
4985 * complaints.c (get_complaints): Likewise.
4986 (find_complaint): Likewise.
4987 * dwarf2-frame.c (execute_cfa_program): Likewise.
4988 * dwarf2read.c (abbrev_table_read_table): Likewise.
4989 * gdbarch.sh: Likewise.
4990 * gdbarch.c: Rebuild.
4991 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4992 * interps.c (interp_new): Likewise.
4993 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4994 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4995 * mi/mi-console.c (mi_console_file_new): Likewise.
4996 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4997 * mi/mi-out.c (mi_out_new): Likewise.
4998 * mi/mi-parse.c (mi_parse): Likewise.
4999 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5000 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5001 * observer.c (xalloc_observer_list_node): Likewise.
5002 * regcache.c (regcache_xmalloc_1): Likewise.
5003 * reggroups.c (reggroup_new): Likewise.
5004 (_initialize_reggroup): Likewise.
5005 * registry.c (register_data_with_cleanup): Likewise.
5006 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5007 * ser-base.c (serial_ttystate): Likewise.
5008 * ser-mingw.c (make_pipe_state): Likewise.
5009 * ser-pipe.c (pipe_open): Likewise.
5010 * serial.c (serial_open): Likewise.
5011 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5012 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5013 (tui_alloc_win_info): Likewise.
5014 (tui_add_content_elements): Likewise.
5015 * tui/tui-file.c (tui_file_new): Likewise.
5016 * tui/tui-out.c (tui_out_new): Likewise.
5017 * ui-file.c (mem_file_new): Likewise.
5018 * ui-out.c (push_level): Likewise.
5019 (make_cleanup_ui_out_end): Likewise.
5020 (append_header_to_list): Likewise.
5021 (ui_out_new): Likewise.
5022 * user-regs.c (user_reg_add_builtin): Likewise.
5023
5024 2014-01-13 Tom Tromey <tromey@redhat.com>
5025
5026 * defs.h (XZALLOC): Remove.
5027 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5028 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5029 (get_ada_tasks_inferior_data): Likewise.
5030 * auto-load.c (get_auto_load_pspace_data): Likewise.
5031 * auxv.c (get_auxv_inferior_data): Likewise.
5032 * bfd-target.c (target_bfd_reopen): Likewise.
5033 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5034 (deprecated_insert_raw_breakpoint): Likewise.
5035 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5036 * corelow.c (core_open): Likewise.
5037 * darwin-nat.c (darwin_check_new_threads): Likewise.
5038 (darwin_attach_pid): Likewise.
5039 * dummy-frame.c (dummy_frame_push): Likewise.
5040 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5041 * dwarf2loc.c (allocate_piece_closure): Likewise.
5042 * elfread.c (elf_symfile_segments): Likewise.
5043 * eval.c (ptrmath_type_p): Likewise.
5044 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5045 * gdbtypes.c (alloc_type_arch): Likewise.
5046 (alloc_type_instance): Likewise.
5047 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5048 * inf-child.c (inf_child_can_use_agent): Likewise.
5049 * inflow.c (get_inflow_inferior_data): Likewise.
5050 * infrun.c (save_infcall_suspend_state): Likewise.
5051 * jit.c (jit_reader_load): Likewise.
5052 (get_jit_objfile_data): Likewise.
5053 (get_jit_program_space_data): Likewise.
5054 (jit_object_open_impl): Likewise.
5055 (jit_symtab_open_impl): Likewise.
5056 (jit_block_open_impl): Likewise.
5057 (jit_frame_sniffer): Likewise.
5058 * linux-fork.c (add_fork): Likewise.
5059 * maint.c (make_command_stats_cleanup): Likewise.
5060 * objfiles.c (get_objfile_pspace_data): Likewise.
5061 * opencl-lang.c (struct lval_closure): Likewise.
5062 * osdata.c (osdata_start_osdata): Likewise.
5063 * progspace.c (new_address_space): Likewise.
5064 (add_program_space): Likewise.
5065 * remote-sim.c (get_sim_inferior_data): Likewise.
5066 * sh-tdep.c (sh_gdbarch_init): Likewise.
5067 * skip.c (Ignore): Likewise.
5068 (skip_delete_command): Likewise.
5069 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5070 (library_list_start_library): Likewise.
5071 (solib_aix_current_sos): Likewise.
5072 * solib-darwin.c (get_darwin_info): Likewise.
5073 (darwin_current_sos): Likewise.
5074 * solib-dsbt.c (get_dsbt_info): Likewise.
5075 * solib-ia64-hpux.c (new_so_list): Likewise.
5076 (ia64_hpux_get_solib_linkage_addr): Likewise.
5077 * solib-spu.c (append_ocl_sos): Likewise.
5078 (spu_current_sos): Likewise.
5079 * solib-svr4.c (get_svr4_info): Likewise.
5080 (svr4_keep_data_in_core): Likewise.
5081 (library_list_start_library): Likewise.
5082 (svr4_default_sos): Likewise.
5083 (svr4_read_so_list): Likewise.
5084 * solib-target.c (library_list_start_library): Likewise.
5085 (solib_target_current_sos): Likewise.
5086 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5087 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5088 * symfile.c (default_symfile_segments): Likewise.
5089 * target-descriptions.c (tdesc_data_init): Likewise.
5090 (tdesc_create_reg): Likewise.
5091 (struct tdesc_type *): Likewise.
5092 (tdesc_create_vector): Likewise.
5093 (tdesc_set_struct_size): Likewise.
5094 (struct tdesc_type *): Likewise.
5095 (tdesc_free_feature): Likewise.
5096 (tdesc_create_feature): Likewise.
5097 * windows-nat.c (windows_add_thread): Likewise.
5098 (windows_make_so): Likewise.
5099 * xml-support.c (gdb_xml_body_text): Likewise.
5100 (gdb_xml_create_parser_and_cleanup): Likewise.
5101 (xml_process_xincludes): Likewise.
5102 * xml-syscall.c (allocate_syscalls_info): Likewise.
5103 (syscall_create_syscall_desc): Likewise.
5104
5105 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5106
5107 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5108 function, with code from i386_stap_parse_special_token.
5109 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5110 (i386_stap_parse_special_token): Move code to the two functions
5111 above; simplify it.
5112
5113 2014-01-09 Pedro Alves <palves@redhat.com>
5114 Hui Zhu <hui@codesourcery.com>
5115
5116 PR gdb/16101
5117 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5118 bp_err_string. Don't mark the location shlib_disabled if the
5119 error thrown wasn't a generic or memory error. Catch errors
5120 thrown while inserting breakpoints in overlayed code. Output
5121 error message of software breakpoints.
5122 * remote.c (remote_insert_breakpoint): If this breakpoint has
5123 target-side commands but this stub doesn't support Z0 packets,
5124 throw NOT_SUPPORTED_ERROR error.
5125 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5126 * target.h (target_insert_breakpoint): Extend comment.
5127 (target_insert_hw_breakpoint): Add comment.
5128
5129 2014-01-08 Pedro Alves <palves@redhat.com>
5130
5131 * remote.c (remote_add_thread): Add threads silently if starting
5132 up.
5133 (remote_notice_new_inferior): If in all-stop, and starting up,
5134 don't call notice_new_inferior.
5135 (get_current_thread): New function, factored out from ...
5136 (add_current_inferior_and_thread): ... this. Adjust.
5137 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5138 found any thread, then select the remote's current thread as GDB's
5139 current thread too.
5140
5141 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5142
5143 * NEWS: Create a new section for the next release branch.
5144 Rename the section of the current branch, now that it has
5145 been cut.
5146
5147 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5148
5149 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5150 * version.in: Bump version to 7.7.50.DATE-cvs.
5151
5152 2014-01-08 Yao Qi <yao@codesourcery.com>
5153
5154 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5155 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5156 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5157
5158 2014-01-08 Yao Qi <yao@codesourcery.com>
5159
5160 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5161 return value of bfd_get_filename to symbol_file_add_from_bfd.
5162
5163 2014-01-08 Pierre Muller <muller@sourceware.org>
5164
5165 Fix PR16201.
5166 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5167 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5168 to prim_record_mininal_symbol_and_info.
5169 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5170 in call to prim_record_minimal_symbol_and_info.
5171 (read_pe_exported_syms): Set index field of section_data.
5172
5173 2014-01-07 Andrew Pinski <apinski@cavium.com>
5174
5175 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5176 * features/aarch64.c: Regenerate.
5177
5178 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5179
5180 * target.c (return_null): Define.
5181 (update_current_target): Use it instead of return_zero for
5182 functions that return a pointer.
5183
5184 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5185
5186 * source.c (add_path): Fix check for duplicated paths in the previously
5187 included paths.
5188
5189 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5190
5191 * ada-lang.c: Remove duplicated include statements.
5192 * alphabsd-nat.c: Ditto.
5193 * amd64-darwin-tdep.c: Ditto.
5194 * amd64fbsd-nat.c: Ditto.
5195 * auto-load.c: Ditto.
5196 * ax-gdb.c: Ditto.
5197 * breakpoint.c: Ditto.
5198 * dbxread.c: Ditto.
5199 * fork-child.c: Ditto.
5200 * gdb_usleep.c: Ditto.
5201 * i386-darwin-tdep.c: Ditto.
5202 * i386fbsd-nat.c: Ditto.
5203 * infcmd.c: Ditto.
5204 * inferior.c: Ditto.
5205 * jv-lang.c: Ditto.
5206 * linux-nat.c: Ditto.
5207 * linux-tdep.c: Ditto.
5208 * m68kbsd-nat.c: Ditto.
5209 * m68klinux-nat.c: Ditto.
5210 * microblaze-tdep.c: Ditto.
5211 * mips-linux-tdep.c: Ditto.
5212 * mn10300-tdep.c: Ditto.
5213 * nto-tdep.c: Ditto.
5214 * opencl-lang.c: Ditto.
5215 * osdata.c: Ditto.
5216 * printcmd.c: Ditto.
5217 * regcache.c: Ditto.
5218 * remote-m32r-sdi.c: Ditto.
5219 * remote.c: Ditto.
5220 * symfile.c: Ditto.
5221 * symtab.c: Ditto.
5222 * tilegx-linux-nat.c: Ditto.
5223 * tilegx-tdep.c: Ditto.
5224 * tracepoint.c: Ditto.
5225 * valops.c: Ditto.
5226 * vaxbsd-nat.c: Ditto.
5227 * windows-nat.c: Ditto.
5228 * xtensa-tdep.c: Ditto.
5229
5230 2014-01-07 Yao Qi <yao@codesourcery.com>
5231
5232 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5233
5234 2014-01-07 Yao Qi <yao@codesourcery.com>
5235 Joel Brobecker <brobecker@adacore.com>
5236
5237 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5238 (pdc_write_regs): Likewise.
5239 (fetch_regs_kernel_thread): Likewise.
5240 (store_regs_kernel_thread): Likewise.
5241
5242 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5243
5244 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5245 tagged type objects to their actual type.
5246
5247 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5248
5249 * ada-valprint.c (print_field_values): Add "language" parameter.
5250 Update calls to print_field_values and print_variant_part.
5251 Pass new parameter "language" in call to val_print instead
5252 of "current_language". Replace call to ada_val_print by call
5253 to val_print.
5254 (print_variant_part): Add "language" parameter.
5255 (ada_val_print_struct_union): Update call to print_field_values.
5256
5257 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5258
5259 * ada-valprint.c (ui_memcpy): Delete.
5260 (ada_print_floating): Update documentation. Add empty line
5261 between between function documentation and implementation.
5262 Delete variable "buffer". Use ui_file_xstrdup in place of
5263 ui_file_put. Minor adjustments following this change.
5264
5265 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5266
5267 * ada-valprint.c (ada_val_print_string): New function,
5268 extracted from ada_val_print_array.
5269 (ada_val_print_array): Replace extracted code by call
5270 to ada_val_print_string followed by a return. Move
5271 "else" branch to the function's top block.
5272
5273 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5274
5275 * ada-valprint.c (ada_val_print_array): Move implementation
5276 down. Rename parameter "offset" and "val" into "offset_aligned"
5277 and "original_value" respectively. Add parameter "offset".
5278
5279 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5280
5281 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5282 re-organizing the code. Change the "???" message printed
5283 when target type is a TYPE_CODE_UNDEF into
5284 "<ref to undefined type>".
5285
5286 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5287
5288 * ada-valprint.c (print_record): Delete, implementation inlined...
5289 (ada_val_print_struct_union): ... here. Remove call to
5290 ada_check_typedef in inlined implementation.
5291
5292 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5293
5294 * ada-valprint.c (ada_val_print_gnat_array): New function,
5295 extracted from ada_val_print_1;
5296 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5297 (ada_val_print_flt, ada_val_print_struct_union)
5298 (ada_val_print_ref): Likewise.
5299 (ada_val_print_1): Delete variables i and elttype.
5300 Replace extracted-out code by call to corresponding
5301 new functions.
5302
5303 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5304
5305 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5306
5307 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5308
5309 * ada-valprint.c (ada_val_print_1): Replace calls to
5310 ada_val_print_1 by calls to val_print.
5311
5312 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5313
5314 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5315 Update calls to self accordingly. Replace calls to c_val_print
5316 by calls to val_print.
5317
5318 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5319
5320 * ada-valprint.c (print_record): Delete declaration.
5321 (adjust_type_signedness, ada_val_print_1): Likewise.
5322 (ada_val_print): Move function implementation down.
5323 (print_variant_part, print_field_values, print_record):
5324 Move function implementation up.
5325
5326 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5327
5328 * python/py-type.c (typy_get_name): New function.
5329 (type_object_getset): Add entry for attribute "name".
5330 * NEWS: Add entry mentioning this new attribute.
5331
5332 2014-01-07 Yao Qi <yao@codesourcery.com>
5333
5334 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5335 statement.
5336
5337 2014-01-07 Yao Qi <yao@codesourcery.com>
5338
5339 * gnu-nat.c (info_port_rights): Add qualifier const to
5340 argument args.
5341
5342 2014-01-07 Yao Qi <yao@codesourcery.com>
5343
5344 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5345
5346 2014-01-07 Yao Qi <yao@codesourcery.com>
5347
5348 * gnu-nat.c (make_inf) Update declaration.
5349 (make_inf): Make it static.
5350 (inf_set_traced): Likewise.
5351 (inf_port_to_thread, inf_task_died_status): Likewise.
5352
5353 2014-01-07 Yao Qi <yao@codesourcery.com>
5354
5355 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5356
5357 2014-01-07 Yao Qi <yao@codesourcery.com>
5358
5359 * gnu-nat.c (_initialize_gnu_nat): Declare.
5360
5361 2014-01-07 Yao Qi <yao@codesourcery.com>
5362
5363 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5364 'enum bfd_endian'.
5365 (struct gdbarch_info) <byte_order>: Change type to
5366 'enum bfd_endian'.
5367 <byte_order_for_code>: Likewise.
5368 * gdbarch.c, gdbarch.h: Regenerated.
5369
5370 2014-01-06 Sasha Smundak <asmundak@google.com>
5371
5372 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5373
5374 2014-01-06 Tom Tromey <tromey@redhat.com>
5375
5376 * doublest.c (convert_doublest_to_floatformat): Use const, not
5377 CONST.
5378 * somread.c (som_symtab_read): Likewise.
5379
5380 2014-01-07 Hui Zhu <hui@codesourcery.com>
5381
5382 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5383 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5384 (gdb_bfd_fopen): Ditto.
5385 (gdb_bfd_openr): Ditto.
5386 (gdb_bfd_openw): Ditto.
5387 (gdb_bfd_openr_iovec): Ditto.
5388 (gdb_bfd_fdopenr): Ditto.
5389 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5390 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5391 with xstrdup.
5392 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5393 with xstrdup.
5394 * symfile-mem.c (symbol_file_add_from_memory): Removed
5395 gdb_bfd_stash_filename.
5396
5397 2014-01-03 Doug Evans <dje@google.com>
5398
5399 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5400 output.
5401
5402 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5403
5404 Update year range in copyright notice of all files.
5405
5406 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5407
5408 * top.c (print_gdb_version): Set copyright year to 2014.
5409
5410 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5411
5412 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5413
5414 For older changes see ChangeLog-2013.
5415 \f
5416 Local Variables:
5417 mode: change-log
5418 left-margin: 8
5419 fill-column: 74
5420 version-control: never
5421 coding: utf-8
5422 End:
This page took 0.163255 seconds and 5 git commands to generate.