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