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