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