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