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