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