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