This patch uses target_read_code instead of target_read_memory in
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2
3 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4 target_read_code.
5
6 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
7
8 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
9 less than zero in conditional expression.
10
11 2014-07-23 Tom Tromey <tromey@redhat.com>
12
13 * make-target-delegates ($ARGS_PART): Match trailing close paren.
14 ($INTRO_PART): Don't match whitespace.
15 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
16 argument matching.
17 ($METHOD): Add $METHOD_TRAILER.
18 (trim): Rewrite.
19 (scan_target_h): New sub.
20 Change main loop not to collect state.
21 * target-delegates.c: Rebuild.
22
23 2014-07-23 Gary Benson <gbenson@redhat.com>
24
25 * cp-support.c (gdb_demangle): Fix build on systems without
26 sigaltstack.
27
28 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
29
30 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
31 for reference entry value target data value.
32
33 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
34
35 * stack.c (read_frame_arg): Verify value_optimized_out before calling
36 value_available_contents_eq.
37
38 2014-07-22 Pedro Alves <palves@redhat.com>
39
40 * value.c (allocate_optimized_out_value): Don't mark value as
41 non-lazy.
42
43 2014-07-22 Jiong Wang <jiong.wang@arm.com>
44
45 * MAINTAINERS (Write After Approval): Update my email address.
46
47 2014-07-20 Doug Evans <dje@google.com>
48
49 PR server/17147
50 * remote.c (putpkt_binary): Add text to error message.
51
52 2014-07-20 Yao Qi <yao@codesourcery.com>
53
54 * eval.c: Remove "Chill" from comments.
55 * gdbtypes.h: Likewise.
56 * symtab.h: Likewise.
57
58 2014-07-20 Yao Qi <yao@codesourcery.com>
59
60 * std-operator.def: Update comments to TERNOP_SLICE.
61
62 2014-07-20 Yao Qi <yao@codesourcery.com>
63
64 * std-operator.def: Remove BINOP_RANGE.
65 * breakpoint.c (watchpoint_exp_is_const): Update.
66 * expprint.c (dump_subexp_body_standard): Likewise.
67 * eval.c (init_array_element): Remove dead code.
68 (evaluate_subexp_standard): Likewise.
69
70 2014-07-20 Yao Qi <yao@codesourcery.com>
71
72 * std-operator.def: Remove BINOP_IN.
73 * breakpoint.c (watchpoint_exp_is_const): Update.
74 * eval.c (evaluate_subexp_standard): Likewise.
75 * expprint.c (dump_subexp_body_standard): Likewise.
76
77 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
78
79 * microblaze-tdep.c (microblaze_register_names): Add
80 the rshr and rslr register names.
81 (microblaze_gdbarch_init): Use of tdesc_has_registers.
82 Use of tdesc_find_feature. Use of tdesc_data_alloc.
83 Use of tdesc_numbered_register. Use of
84 microblaze_register_g_packet_guesses. Use of
85 tdesc_use_registers. Use of set_gdbarch_register_type.
86 (microblaze_register_g_packet_guesses): New.
87 * microblaze-tdep.h (microblaze_reg_num): Add
88 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
89 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
90 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
91 * features/microblaze-core.xml: New file.
92 * features/microblaze-stack-protect.xml: New file.
93 * features/microblaze-with-stack-protect.c: New file.
94 * features/microblaze-with-stack-protect.xml: New file.
95 * features/microblaze.xml: New file.
96 * features/microblaze.c: New file.
97 * features/Makefile (microblaze-with-stack-protect): Add
98 microblaze-with-stack-protect microblaze and microblaze-expedite.
99 * regformats/microblaze-with-stack-protect.dat: New file.
100 * regformats/microblaze.dat: New file.
101 * doc/gdb.texinfo (MicroBlaze Features): Added.
102
103 2014-07-18 Tom Tromey <tromey@redhat.com>
104
105 * exec.c (exec_ops): Now static.
106 * exec.h (exec_ops): Don't declare.
107
108 2014-07-18 Tom Tromey <tromey@redhat.com>
109
110 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
111 to find_target_beneath.
112 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
113 find_target_beneath.
114 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
115
116 2014-07-18 Tom Tromey <tromey@redhat.com>
117
118 PR gdb/17130:
119 * utils.c (quit): Use target_supports_terminal_ours.
120 * target.h (target_supports_terminal_ours): Declare.
121 * target.c (target_supports_delete_record): Don't check
122 to_delete_record against NULL.
123 (target_supports_terminal_ours): New function.
124
125 2014-07-18 Tom Tromey <tromey@redhat.com>
126
127 PR gdb/17130:
128 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
129 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
130 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
131 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
132 * windows-nat.c (windows_xfer_partial): Always delegate.
133 * record-btrace.c (record_btrace_xfer_partial): Simplify
134 delegation.
135 (record_btrace_fetch_registers, record_btrace_store_registers)
136 (record_btrace_prepare_to_store, record_btrace_resume)
137 (record_btrace_wait, record_btrace_find_new_threads)
138 (record_btrace_thread_alive): Likewise.
139 * procfs.c (procfs_xfer_partial): Always delegate.
140 * corelow.c (core_xfer_partial): Always delegate.
141 * sol-thread.c (sol_find_new_threads): Simplify delegation.
142
143 2014-07-18 Tom Tromey <tromey@redhat.com>
144
145 * exec.c (exec_make_note_section): Move earlier.
146
147 2014-07-17 Doug Evans <dje@google.com>
148
149 PR gdb/17170
150 * maint.c (count_symtabs_and_blocks): Handle NULL
151 current_program_space.
152 (report_command_stats): Check global enabled flag in addition to
153 recorded enabled flag.
154 (make_command_stats_cleanup): Handle msg_type == 0, startup.
155
156 2014-07-16 Pedro Alves <palves@redhat.com>
157
158 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
159
160 2014-07-16 Tom Tromey <tromey@redhat.com>
161
162 * target.h (struct target_ops) <to_delete_record>: Reformat
163 comment.
164
165 2014-07-16 Tom Tromey <tromey@redhat.com>
166
167 * target-delegates.c: Rebuild.
168
169 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
170
171 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
172 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
173 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
174 (avr_pointer_to_address): Likewise.
175 (avr_address_class_type_flags): New function.
176 (avr_address_class_type_flags_to_name): Likewise.
177 (avr_address_class_name_to_type_flags): Likewise.
178 (avr_gdbarch_init): Set address_class_type_flags,
179 address_class_type_flags_to_name and
180 address_class_name_to_type_flags.
181
182 2014-07-15 Pedro Alves <palves@redhat.com>
183
184 * linux-nat.c (kill_callback): Save errno and work with saved
185 copy.
186
187 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
188
189 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
190
191 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
192
193 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
194 breakpoint support correctly.
195
196 2014-07-14 Pedro Alves <palves@redhat.com>
197
198 * utils.c (prompt_for_continue): Call target_terminal_ours.
199
200 2014-07-14 Pedro Alves <palves@redhat.com>
201
202 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
203 catch_errors. Don't re-enable stdin or notify observers where,
204 and rethrow error.
205 (fetch_inferior_event_wrapper): Delete.
206
207 2014-07-14 Pedro Alves <palves@redhat.com>
208
209 PR gdb/17072
210 * top.c: Include "inf-loop.h".
211 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
212 field.
213 (gdb_readline_wrapper_cleanup): Make the target async again, if it
214 was async before.
215 (gdb_readline_wrapper): Store whether the target is async, and
216 make it sync.
217
218 2014-07-14 Pedro Alves <palves@redhat.com>
219
220 PR gdb/17072
221 * top.c (gdb_readline_wrapper_line): Tweak comment.
222 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
223 the input handler callback.
224
225 2014-07-14 Pedro Alves <palves@redhat.com>
226
227 PR gdb/17072
228 * main.c: Include event-top.h.
229 (handle_command_errors): New function.
230 (catch_command_errors, catch_command_errors_const): Use it.
231
232 2014-07-14 Pedro Alves <palves@redhat.com>
233
234 * exceptions.c (catch_command_errors, catch_command_errors_const):
235 Moved to main.c.
236 * exceptions.h (catch_command_errors_ftype)
237 (catch_command_errors_const_ftype): Moved to main.c.
238 (catch_command_errors, catch_command_errors_const): Delete
239 declarations.
240 * main.c (catch_command_errors_ftype)
241 (catch_command_errors_const_ftype): Moved here from exceptions.h.
242 (catch_command_errors, catch_command_errors_const)): Moved here
243 from exceptions.c and make static.
244
245 2014-07-14 Pedro Alves <palves@redhat.com>
246
247 * exceptions.c (print_any_exception): Delete.
248 (catch_exceptions_with_msg): Use exception_print instead of
249 print_any_exception.
250 (catch_errors): Use exception_fprintf instead of
251 print_any_exception.
252 (catch_command_errors, catch_command_errors_const): Use
253 exception_print instead of print_any_exception.
254
255 2014-07-14 Pedro Alves <palves@redhat.com>
256
257 * infcall.c (run_inferior_call): Set 'sync_execution' while
258 running the inferior call.
259
260 2014-07-14 Pedro Alves <palves@redhat.com>
261
262 * value.c (value_contents_equal): Delete function.
263 * value.h (value_contents_equal): Delete declaration.
264
265 2014-07-14 Tom Tromey <tromey@redhat.com>
266
267 PR exp/17106:
268 * gdbtypes.c (is_dynamic_type_internal): New function, from
269 is_dynamic_type.
270 (is_dynamic_type): Rewrite.
271 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
272 (resolve_dynamic_struct): Likewise.
273 (resolve_dynamic_type_internal): New function, from
274 resolve_dynamic_type.
275 (resolve_dynamic_type): Rewrite.
276
277 2014-07-14 Tom Tromey <tromey@redhat.com>
278
279 * target.c (target_require_runnable): Also check record_stratum.
280 Update comment.
281
282 2014-07-11 Yao Qi <yao@codesourcery.com>
283
284 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
285 thumb_instruction_restores_sp return true.
286
287 2014-07-11 Yao Qi <yao@codesourcery.com>
288
289 * arm-tdep.c (thumb_instruction_restores_sp): New function.
290 (thumb_in_function_epilogue_p): Call
291 thumb_instruction_restores_sp.
292
293 2014-07-11 Yao Qi <yao@codesourcery.com>
294
295 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
296 'add sp, #imm'.
297 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
298
299 2014-07-11 Gary Benson <gbenson@redhat.com>
300
301 * amd64-linux-nat.c (gdbcore.h): Remove include.
302 (regset.h): Likewise.
303 (nat/linux-btrace.h): Likewise.
304 (btrace.h): Likewise.
305 (gdb_assert.h): Likewise.
306 (string.h): Likewise.
307 (sys/uio.h): Likewise.
308 (sys/debugreg.h): Likewise.
309 (sys/syscall.h): Likewise.
310 (sys/procfs.h): Likewise.
311 (sys/user.h): Likewise.
312 (asm/ptrace.h): Likewise.
313 (i386-nat.h): Likewise.
314 * i386-linux-nat.c (i386-nat.h): Likewise.
315 (regset.h): Likewise.
316 (target.h): Likewise.
317 (linux-nat.h): Likewise.
318 (nat/linux-btrace.h): Likewise.
319 (btrace.h): Likewise.
320 (gdb_assert.h): Likewise.
321 (string.h): Likewise.
322 (sys/uio.h): Likewise.
323 (sys/user.h): Likewise.
324 (sys/procfs.h): Likewise.
325 (sys/reg.h): Likewise.
326 (sys/debugreg.h): Likewise.
327 (ORIG_EAX): Remove definition.
328
329 2014-07-11 Gary Benson <gbenson@redhat.com>
330
331 * i386-linux-nat.h: New file.
332 * x86-linux-nat.h: Likewise.
333 * x86-linux-nat.c: Likewise.
334 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
335 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
336 * config/i386/linux64.mh (NATDEPFILES): Likewise.
337 * amd64-linux-nat.c (x86-linux-nat.h): New include.
338 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
339 (PTRACE_SETREGSET): Likewise.
340 (arch_lwp_info): Now in x86-linux-nat.c.
341 (have_ptrace_getregset): Now in x86-linux-nat.h.
342 (x86_linux_dr_get): Now in x86-linux-nat.c.
343 (x86_linux_dr_set): Likewise.
344 (x86_linux_dr_get_addr): Likewise.
345 (x86_linux_dr_get_control): Likewise.
346 (x86_linux_dr_get_status): Likewise.
347 (update_debug_registers_callback): Likewise.
348 (x86_linux_dr_set_control): Likewise.
349 (x86_linux_dr_set_addr): Likewise.
350 (x86_linux_prepare_to_resume): Likewise.
351 (x86_linux_new_thread): Likewise.
352 (x86_linux_new_fork): Likewise.
353 (x86_linux_get_thread_area): Likewise.
354 (super_post_startup_inferior): Likewise.
355 (x86_linux_child_post_startup_inferior): Likewise.
356 (AMD64_LINUX_USER64_CS): Likewise.
357 (AMD64_LINUX_X32_DS): Likewise.
358 (x86_linux_read_description): Likewise.
359 (x86_linux_enable_btrace): Likewise.
360 (x86_linux_disable_btrace): Likewise.
361 (x86_linux_teardown_btrace): Likewise.
362 (x86_linux_read_btrace): Likewise.
363 (x86_linux_create_target): Likewise.
364 (x86_linux_add_target): Likewise.
365 * i386-linux-nat.c (x86-linux-nat.h): New include.
366 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
367 (PTRACE_SETREGSET): Likewise.
368 (arch_lwp_info): Now in x86-linux-nat.c.
369 (have_ptrace_getregset): Now in x86-linux-nat.h.
370 (x86_linux_dr_get): Now in x86-linux-nat.c.
371 (x86_linux_dr_set): Likewise.
372 (x86_linux_dr_get_addr): Likewise.
373 (x86_linux_dr_get_control): Likewise.
374 (x86_linux_dr_get_status): Likewise.
375 (update_debug_registers_callback): Likewise.
376 (x86_linux_dr_set_control): Likewise.
377 (x86_linux_dr_set_addr): Likewise.
378 (x86_linux_prepare_to_resume): Likewise.
379 (x86_linux_new_thread): Likewise.
380 (x86_linux_new_fork): Likewise.
381 (x86_linux_get_thread_area): Likewise.
382 (super_post_startup_inferior): Likewise.
383 (x86_linux_child_post_startup_inferior): Likewise.
384 (AMD64_LINUX_USER64_CS): Likewise.
385 (AMD64_LINUX_X32_DS): Likewise.
386 (x86_linux_read_description): Likewise.
387 (x86_linux_enable_btrace): Likewise.
388 (x86_linux_disable_btrace): Likewise.
389 (x86_linux_teardown_btrace): Likewise.
390 (x86_linux_read_btrace): Likewise.
391 (x86_linux_create_target): Likewise.
392 (x86_linux_add_target): Likewise.
393
394 2014-07-11 Gary Benson <gbenson@redhat.com>
395
396 * amd64-linux-nat.c: Comment and whitespace changes.
397 * i386-linux-nat.c: Comment and whitespace changes.
398
399 2014-07-11 Gary Benson <gbenson@redhat.com>
400
401 * amd64-linux-nat.c (x86_linux_create_target): New function.
402 (x86_linux_add_target): Likewise.
403 (_initialize_amd64_linux_nat): Delegate to the above new functions.
404 * i386-linux-nat.c (x86_linux_create_target): New function.
405 (x86_linux_add_target): Likewise.
406 (_initialize_i386_linux_nat): Delegate to the above new functions.
407
408 2014-07-11 Gary Benson <gbenson@redhat.com>
409
410 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
411 (ps_get_thread_area): Delegate to the above in 32-bit mode.
412 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
413 (ps_get_thread_area): Delegate to the above.
414
415 2014-07-11 Gary Benson <gbenson@redhat.com>
416
417 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
418 x86_linux_read_description. All uses updated. amd64-specific
419 code conditionalized. Conditionalized i386-specific code added.
420 Redundant cast removed.
421 * i386-linux-nat.c (i386_linux_read_description): Renamed to
422 x86_linux_read_description. All uses updated. i386-specific
423 code conditionalized. Conditionalized amd64-specific code added.
424 One sizeof replaced with the actual type it is describing.
425
426 2014-07-11 Gary Benson <gbenson@redhat.com>
427
428 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
429 x86_linux_dr_get. All uses updated.
430 (amd64_linux_dr_set): Renamed to
431 x86_linux_dr_set. All uses updated.
432 (amd64_linux_dr_get_addr): Renamed to
433 x86_linux_dr_get_addr. All uses updated.
434 (amd64_linux_dr_get_control): Renamed to
435 x86_linux_dr_get_control. All uses updated.
436 (amd64_linux_dr_get_status): Renamed to
437 x86_linux_dr_get_status. All uses updated.
438 (amd64_linux_dr_set_control): Renamed to
439 x86_linux_dr_set_control. All uses updated.
440 (amd64_linux_dr_set_addr): Renamed to
441 x86_linux_dr_set_addr. All uses updated.
442 (amd64_linux_prepare_to_resume): Renamed to
443 x86_linux_prepare_to_resume. All uses updated.
444 (amd64_linux_new_thread): Renamed to
445 x86_linux_new_thread. All uses updated.
446 (amd64_linux_new_fork): Renamed to
447 x86_linux_new_fork. All uses updated.
448 (amd64_linux_child_post_startup_inferior): Renamed to
449 x86_linux_child_post_startup_inferior. All uses updated.
450 (amd64_linux_enable_btrace): Renamed to
451 x86_linux_enable_btrace. All uses updated.
452 (amd64_linux_disable_btrace): Renamed to
453 x86_linux_disable_btrace. All uses updated.
454 (amd64_linux_teardown_btrace): Renamed to
455 x86_linux_teardown_btrace. All uses updated.
456 (amd64_linux_read_btrace): Renamed to
457 x86_linux_read_btrace. All uses updated.
458 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
459 x86_linux_dr_get. All uses updated.
460 (i386_linux_dr_set): Renamed to
461 x86_linux_dr_set. All uses updated.
462 (i386_linux_dr_get_addr): Renamed to
463 x86_linux_dr_get_addr. All uses updated.
464 (i386_linux_dr_get_control): Renamed to
465 x86_linux_dr_get_control. All uses updated.
466 (i386_linux_dr_get_status): Renamed to
467 x86_linux_dr_get_status. All uses updated.
468 (i386_linux_dr_set_control): Renamed to
469 x86_linux_dr_set_control. All uses updated.
470 (i386_linux_dr_set_addr): Renamed to
471 x86_linux_dr_set_addr. All uses updated.
472 (i386_linux_prepare_to_resume): Renamed to
473 x86_linux_prepare_to_resume. All uses updated.
474 (i386_linux_new_thread): Renamed to
475 x86_linux_new_thread. All uses updated.
476 (i386_linux_new_fork): Renamed to
477 x86_linux_new_fork. All uses updated.
478 (i386_linux_child_post_startup_inferior): Renamed to
479 x86_linux_child_post_startup_inferior. All uses updated.
480 (i386_linux_enable_btrace): Renamed to
481 x86_linux_enable_btrace. All uses updated.
482 (i386_linux_disable_btrace): Renamed to
483 x86_linux_disable_btrace. All uses updated.
484 (i386_linux_teardown_btrace): Renamed to
485 x86_linux_teardown_btrace. All uses updated.
486 (i386_linux_read_btrace): Renamed to
487 x86_linux_read_btrace. All uses updated.
488
489 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
490
491 * remote.c (extended_remote_post_attach): New function.
492 (init_extended_remote_ops): Install it as to_post_attach method.
493
494 2014-07-09 Pedro Alves <palves@redhat.com>
495
496 * infcmd.c (attach_command_post_wait): Don't call
497 target_terminal_inferior here.
498 (attach_command): Call it here instead.
499
500 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
501
502 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
503 field.
504 * c-varobj.c (c_is_path_expr_parent): New function, moved core
505 from varobj.c, with additional checks.
506 (c_varobj_ops): Fill in is_path_expr_parent field.
507 (cplus_varobj_ops): Fill in is_path_expr_parent field.
508 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
509 field.
510 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
511 ops method.
512 (varobj_default_is_path_expr_parent): New function.
513 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
514 (varobj_default_is_path_expr_parent): Declare new function.
515
516 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
517
518 * infcmd.c (finish_backward): Turn internal error into normal error.
519
520 2014-07-07 Pedro Alves <palves@redhat.com>
521
522 PR gdb/17096
523 * remote.c (async_handle_remote_sigint)
524 (async_handle_remote_sigint_twice): Call
525 gdb_call_async_signal_handler instead of
526 mark_async_signal_handler.
527
528 2014-07-07 Tom Tromey <tromey@redhat.com>
529
530 * target-delegates.c: Rebuild.
531 * target.c (target_info_record): Remove.
532 * record.c (info_record_command): Unconditionally call
533 to_info_record.
534 * target.h (struct target_ops) <to_info_record>: Use
535 TARGET_DEFAULT_IGNORE.
536 (target_info_record): Remove.
537
538 2014-07-07 Tom Tromey <tromey@redhat.com>
539
540 * target.h (struct target_ops) <to_get_thread_local_address>: Use
541 TARGET_DEFAULT_NORETURN.
542 * target.c (generic_tls_error): New function.
543 (target_translate_tls_address): Don't search target stack.
544 * target-delegates.c: Rebuild.
545 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
546 stack.
547 * linux-thread-db.c (thread_db_get_thread_local_address):
548 Unconditionally call beneath target.
549
550 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
551
552 * cli/cli-logging.c (pop_output_files): Assign targerr to
553 gdb_stdtargerr.
554
555 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * MAINTAINERS (Write After Approval): Update my email address.
558
559 2014-07-02 Gary Benson <gbenson@redhat.com>
560
561 * proc-service.c (ps_xfer_memory): Update comment.
562 (ps_pstop): Remove unused function.
563 (ps_pcontinue): Likewise.
564 (ps_lstop): Likewise.
565 (ps_lcontinue): Likewise.
566 (ps_lgetxregsize): Likewise.
567 (ps_lgetxregs): Likewise.
568 (ps_lsetxregs): Likewise.
569 (ps_plog): Likewise.
570 (ps_ptread): Likewise.
571 (ps_ptwrite): Likewise.
572
573 2014-07-01 Mark Wielaard <mjw@redhat.com>
574
575 * dwarf2read.c (add_array_cv_type): New function.
576 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
577 (read_tag_volatile_type): Likewise.
578
579 2014-07-01 Tom Tromey <tromey@redhat.com>
580
581 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
582 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
583 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
584 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
585 * command.h (cmd_cfunc_ftype): Move earlier.
586 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
587 (add_com, add_info): Use cmd_cfunc_ftype.
588
589 2014-06-30 Tom Tromey <tromey@redhat.com>
590
591 * symtab.c (operator_chars): Make parameters and return type
592 const.
593 (file_matches): Make "files" const.
594 (struct search_symbols_data) <files>: Now const.
595 (search_symbols): Make "regexp" and "files" parameters const.
596 Update.
597 (symtab_symbol_info): Remove cast.
598 (rbreak_command): Update.
599 * symtab.h (search_symbols): Update.
600
601 2014-06-27 Yao Qi <yao@codesourcery.com>
602
603 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
604 Change parameter type to 'struct thread_info *'. Caller
605 updated.
606 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
607 Update declaration.
608 * dummy-frame.c (struct dummy_frame_id): New.
609 (dummy_frame_id_eq): New function.
610 (struct dummy_frame) <id>: Change its type to 'struct
611 dummy_frame_id'.
612 (dummy_frame_push): Add parameter ptid and save it in
613 dummy_frame_id.
614 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
615 inferior_ptid.
616 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
617 to inferior_ptid.
618 (lookup_dummy_frame): Change parameter type to 'struct
619 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
620 instead of frame_id_eq.
621 (dummy_frame_pop): Add parameter ptid. Callers updated.
622 Update comments. Compose dummy_frame_id and pass it to
623 lookup_dummy_frame.
624 (dummy_frame_discard): Add parameter ptid.
625 (dummy_frame_sniffer): Compose dummy_frame_id and call
626 dummy_frame_id_eq instead of frame_id_eq.
627 (fprint_dummy_frames): Print ptid.
628 * dummy-frame.h: Remove comments.
629 (dummy_frame_push): Add ptid in declaration.
630 (dummy_frame_pop, dummy_frame_discard): Likewise.
631
632 2014-06-26 Tom Tromey <tromey@redhat.com>
633
634 * cli/cli-cmds.c (error_no_arg): Make "why" const.
635 * command.h (error_no_arg): Update.
636
637 2014-06-26 Tom Tromey <tromey@redhat.com>
638
639 * cli/cli-setshow.c (do_set_command): Make "arg" const.
640 (do_show_command): Make "arg" const.
641 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
642
643 2014-06-26 Tom Tromey <tromey@redhat.com>
644
645 * record-full.c (record_full_get_bookmark): Make "args" const.
646 (record_full_goto_bookmark): Make "raw_bookmark" const.
647 * record.c (record_goto): New function.
648 (cmd_record_goto): Use it. Now static.
649 * record.h (record_goto): Declare.
650 (cmd_record_goto): Remove declaration.
651 * target-delegates.c: Rebuild.
652 * target.h (struct target_ops) <to_get_bookmark,
653 to_goto_bookmark>: Make parameter const.
654
655 2014-06-26 Tom Tromey <tromey@redhat.com>
656
657 * defs.h (generic_load): Update.
658 * m32r-rom.c (m32r_load_gen): Make "filename" const.
659 * monitor.c (monitor_load): Make "args" const.
660 * remote-m32r-sdi.c (m32r_load): Make "args" const.
661 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
662 const.
663 (mips_load): Make "file" const.
664 * remote-sim.c (gdbsim_load): Make "args" const.
665 * remote.c (remote_load): Make "name" const.
666 * symfile.c (generic_load): Make "args" const.
667 * target-delegates.c: Rebuild.
668 * target.c (target_load): Make "arg" const.
669 (debug_to_load): Make "args" const.
670 * target.h (struct target_ops) <to_load>: Make parameter const.
671 (target_load): Update.
672
673 2014-06-26 Tom Tromey <tromey@redhat.com>
674
675 PR symtab/16902:
676 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
677 (dwarf2_physname, read_partial_die)
678 (guess_partial_die_structure_name, fixup_partial_die)
679 (guess_full_die_structure_name, anonymous_struct_prefix)
680 (dwarf2_name): Use per-BFD obstack.
681
682 2014-06-26 Yao Qi <yao@codesourcery.com>
683
684 * dummy-frame.c (dummy_frame_sniffer): Move local variables
685 dummyframe and this_id into inner block below.
686
687 2014-06-26 Yao Qi <yao@codesourcery.com>
688
689 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
690 with "signal_pass[0]" in the initialization of signal_pass.
691
692 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
693
694 * record-btrace.c (record_btrace_generating_corefile)
695 (record_btrace_prepare_to_generate_core)
696 (record_btrace_done_generating_core): New.
697 (record_btrace_xfer_partial, record_btrace_fetch_registers)
698 (record_btrace_store_registers, record_btrace_prepare_to_store):
699 Forward request when generating a core file.
700 (record_btrace_open): Set record_btrace_generating_corefile to zero.
701 (init_record_btrace_ops): Set to_prepare_to_generate_core and
702 to_done_generating_core.
703
704 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
705
706 * target.h (target_ops) <to_prepare_to_generate_core>
707 <to_done_generating_core>: New.
708 (target_prepare_to_generate_core, target_done_generating_core): New.
709 * target.c (target_prepare_to_generate_core)
710 (target_done_generating_core): New.
711 * target-delegates.c: Regenerate.
712 * gcore.c: (write_gcore_file): Rename to ...
713 (write_gcore_file_1): ...this.
714 (write_gcore_file): Call target_prepare_to_generate_core
715 and target_done_generating_core.
716
717 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
718
719 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
720 * gcore.c (write_gcore_file): Free memory returned from
721 make_corefile_notes.
722 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
723 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
724
725 2014-06-24 Yao Qi <yao@codesourcery.com>
726
727 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
728 (arm_linux_init_abi): Set skip_trampoline_code with
729 gdbarch_skip_trampoline_code instead of
730 find_solib_trampoline_target.
731
732 2014-06-24 Yao Qi <yao@codesourcery.com>
733
734 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
735 arm_skip_bx_reg returns non-zero.
736
737 2014-06-24 Yao Qi <yao@codesourcery.com>
738
739 * arm-tdep.c (arm_skip_bx_reg): New function.
740 (arm_skip_stub): Call arm_skip_bx_reg.
741
742 2014-06-23 Don Breazeal <donb@codesourcery.com>
743
744 * MAINTAINERS: Add myself as write-after-approval maintainer.
745
746 2014-06-23 Pedro Alves <palves@redhat.com>
747
748 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
749 DR_CONTROL before setting DR0..DR3.
750 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
751 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
752 bits of DR_CONTROL related to the debug register slot being
753 disabled. If all slots are vacant, clear local slowdown as well,
754 and assert DR_CONTROL is 0.
755
756 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
757
758 * python/lib/gdb/command/xmethods.py
759 (get_method_matchers_in_loci): Lookup xmethod matchers in the
760 current progspace only if the string "progspace" matches LOCUS_RE.
761
762 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
763
764 Fix --with-system-readline with readline-6.3 patch 5.
765 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
766 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
767 types.
768
769 2014-06-20 Tom Tromey <tromey@redhat.com>
770
771 * dwarf2read.c (dw2_get_real_path): Use correct type in
772 OBSTACK_CALLOC.
773 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
774
775 2014-06-20 Gary Benson <gbenson@redhat.com>
776
777 * common/gdb_thread_db.h: Moved to nat. All includes updated.
778 * common/glibc_thread_db.h: Likewise.
779 * common/i386-cpuid.h: Likewise.
780 * common/i386-gcc-cpuid.h: Likewise.
781 * common/linux-btrace.h: Likewise.
782 * common/linux-osdata.h: Likewise.
783 * common/linux-procfs.h: Likewise.
784 * common/linux-ptrace.h: Likewise.
785 * common/mips-linux-watch.h: Likewise.
786 * common/linux-btrace.c: Moved to nat.
787 * common/linux-osdata.c: Likewise.
788 * common/linux-procfs.c: Likewise.
789 * common/linux-ptrace.c: Likewise.
790 * common/mips-linux-watch.c: Likewise.
791 * nat/gdb_thread_db.h: Moved from common.
792 * nat/glibc_thread_db.h: Likewise.
793 * nat/i386-cpuid.h: Likewise.
794 * nat/i386-gcc-cpuid.h: Likewise.
795 * nat/linux-btrace.c: Likewise.
796 * nat/linux-btrace.h: Likewise.
797 * nat/linux-osdata.c: Likewise.
798 * nat/linux-osdata.h: Likewise.
799 * nat/linux-procfs.c: Likewise.
800 * nat/linux-procfs.h: Likewise.
801 * nat/linux-ptrace.c: Likewise.
802 * nat/linux-ptrace.h: Likewise.
803 * nat/mips-linux-watch.c: Likewise.
804 * nat/mips-linux-watch.h: Likewise.
805 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
806 (object file files): Reordered.
807 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
808 of glibc_thread_db.h.
809
810 2014-06-20 Gary Benson <gbenson@redhat.com>
811
812 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
813 (i386_dr_low_type): Moved to nat/i386-dregs.h.
814 (i386_dr_low): Likewise.
815 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
816 (i386_dr_low_set_addr): Likewise.
817 (i386_dr_low_get_addr): Likewise.
818 (i386_dr_low_can_set_control): Likewise.
819 (i386_dr_low_set_control): Likewise.
820 (i386_dr_low_get_control): Likewise.
821 (i386_dr_low_get_status): Likewise.
822 (i386_get_debug_register_length): Likewise.
823 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
824 (i386_dr_low): Likewise.
825 * nat/i386-dregs.c (i386-low.h): Remove include.
826 (i386-nat.h): Likewise.
827 (nat/i386-dregs.h): New include.
828 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
829 (i386_dr_low_set_addr): Likewise.
830 (i386_dr_low_get_addr): Likewise.
831 (i386_dr_low_can_set_control): Likewise.
832 (i386_dr_low_set_control): Likewise.
833 (i386_dr_low_get_control): Likewise.
834 (i386_dr_low_get_status): Likewise.
835 (i386_get_debug_register_length): Likewise.
836 (debug_hw_points): Likewise.
837
838 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
839
840 * Makefile.in (SFILES): Add d-exp.y.
841 (YYFILES): Add d-exp.c.
842 (YYOBJ): Add d-exp.o.
843 (local-maintainer-clean): Delete d-exp.c.
844 * d-exp.y: New file.
845 * d-lang.h (d_parse): New declaration.
846 (d_error): New declaration.
847 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
848 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
849 PREC_ORDER operators.
850 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
851
852 2014-06-19 Yao Qi <yao@codesourcery.com>
853
854 * gdbthread.h (any_running): Remove the declaration.
855 * thread.c (any_running): Remove.
856
857 2014-06-19 Yao Qi <yao@codesourcery.com>
858
859 * gdbthread.h (struct thread_info) <state>: Change its type to
860 'enum thread_state'. Update comments.
861
862 2014-06-19 Pedro Alves <palves@redhat.com>
863
864 * gdbthread.h (ALL_THREADS): Delete.
865 (ALL_NON_EXITED_THREADS): New macro.
866 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
867 instead of ALL_THREADS.
868 * infrun.c (find_thread_needs_step_over)
869 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
870 instead of ALL_THREADS.
871 * record-btrace.c (record_btrace_open)
872 (record_btrace_stop_recording, record_btrace_close)
873 (record_btrace_is_replaying, record_btrace_resume)
874 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
875 * remote.c (append_pending_thread_resumptions): Likewise.
876 * thread.c (thread_apply_all_command): Likewise.
877
878 2014-06-19 Gary Benson <gbenson@redhat.com>
879
880 * i386-nat.c (i386_stopped_by_watchpoint):
881 Use i386_dr_stopped_by_watchpoint.
882 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
883 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
884
885 2014-06-19 Gary Benson <gbenson@redhat.com>
886
887 * nat/i386-dregs.c: New file.
888 * Makefile.in (i386-dregs.o): New rule.
889 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
890 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
891 * config/i386/darwin.mh (NATDEPFILES): Likewise.
892 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
893 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
894 * config/i386/go32.mh (NATDEPFILES): Likewise.
895 * config/i386/linux.mh (NATDEPFILES): Likewise.
896 * config/i386/linux64.mh (NATDEPFILES): Likewise.
897 * config/i386/mingw.mh (NATDEPFILES): Likewise.
898 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
899 * i386-nat.h (debug_hw_points): New declaration.
900 * i386-nat.c (breakpoint.h): Remove include.
901 (command.h): Likewise.
902 (target.h): Likewise.
903 (gdb_assert.h): Likewise.
904 (debug_hw_points): Made nonstatic.
905 (debug_printf): Now in i386-dregs.c.
906 (TARGET_HAS_DR_LEN_8): Likewise.
907 (DR_CONTROL_SHIFT): Likewise.
908 (DR_CONTROL_SIZE): Likewise.
909 (DR_RW_EXECUTE): Likewise.
910 (DR_RW_WRITE): Likewise.
911 (DR_RW_READ): Likewise.
912 (DR_RW_IORW): Likewise.
913 (DR_LEN_1): Likewise.
914 (DR_LEN_2): Likewise.
915 (DR_LEN_4): Likewise.
916 (DR_LEN_8): Likewise.
917 (DR_LOCAL_ENABLE_SHIFT): Likewise.
918 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
919 (DR_ENABLE_SIZE): Likewise.
920 (DR_LOCAL_SLOWDOWN): Likewise.
921 (DR_GLOBAL_SLOWDOWN): Likewise.
922 (DR_CONTROL_RESERVED): Likewise.
923 (I386_DR_CONTROL_MASK): Likewise.
924 (I386_DR_VACANT): Likewise.
925 (I386_DR_LOCAL_ENABLE): Likewise.
926 (I386_DR_GLOBAL_ENABLE): Likewise.
927 (I386_DR_DISABLE): Likewise.
928 (I386_DR_SET_RW_LEN): Likewise.
929 (I386_DR_GET_RW_LEN): Likewise.
930 (I386_DR_WATCH_HIT): Likewise.
931 (i386_wp_op_t): Likewise.
932 (i386_show_dr): Likewise.
933 (i386_length_and_rw_bits): Likewise.
934 (i386_insert_aligned_watchpoint): Likewise.
935 (i386_remove_aligned_watchpoint): Likewise.
936 (i386_handle_nonaligned_watchpoint): Likewise.
937 (i386_update_inferior_debug_regs): Likewise.
938 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
939 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
940 (i386_region_ok_for_watchpoint):
941 Use i386_dr_region_ok_for_watchpoint.
942 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
943
944 2014-06-19 Gary Benson <gbenson@redhat.com>
945
946 * i386-nat.c (i386_insert_hw_breakpoint): Use
947 i386_insert_watchpoint.
948 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
949
950 2014-06-19 Gary Benson <gbenson@redhat.com>
951
952 * i386-nat.c (i386_dr_show): Renamed to
953 i386_show_dr and made static. All uses updated.
954 (i386_dr_length_and_rw_bits): Renamed to
955 i386_length_and_rw_bits and made static.
956 All uses updated.
957 (i386_dr_insert_aligned_watchpoint): Renamed to
958 i386_insert_aligned_watchpoint and made static.
959 All uses updated.
960 (i386_dr_remove_aligned_watchpoint): Renamed to
961 i386_remove_aligned_watchpoint and made static.
962 All uses updated.
963 (i386_dr_update_inferior_debug_regs): Renamed to
964 i386_update_inferior_debug_regs and made static.
965 All uses updated.
966 * nat/i386-dregs.h (i386_dr_show): Removed.
967 (i386_dr_length_and_rw_bits): Likewise.
968 (i386_dr_insert_aligned_watchpoint): Likewise.
969 (i386_dr_remove_aligned_watchpoint): Likewise.
970 (i386_dr_update_inferior_debug_regs): Likewise.
971
972 2014-06-19 Gary Benson <gbenson@redhat.com>
973
974 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
975 * configure: Regenerate.
976 * config.in: Likewise.
977 * main.c (signal.h): New include.
978 (setup_alternate_signal_stack): New function.
979 (captured_main): Call the above.
980 * cp-support.c (signal.h): New include.
981 (catch_demangler_crashes): New flag.
982 (SIGJMP_BUF): New define.
983 (SIGSETJMP): Likewise.
984 (SIGLONGJMP): Likewise.
985 (gdb_demangle_jmp_buf): New static global.
986 (gdb_demangle_attempt_core_dump): Likewise.
987 (gdb_demangle_signal_handler): New function.
988 (gdb_demangle): If catch_demangler_crashes is set, install the
989 above signal handler before calling bfd_demangle, and restore
990 the original signal handler afterwards. Display the offending
991 symbol and call demangler_warning the first time a segmentation
992 fault is caught.
993 (_initialize_cp_support): New maint set/show command.
994
995 2014-06-19 Gary Benson <gbenson@redhat.com>
996
997 * utils.h (resource_limit_kind): New enum.
998 (can_dump_core): New declaration.
999 (warn_cant_dump_core): Likewise.
1000 (dump_core): Likewise.
1001 * utils.c (dump_core): Made nonstatic. Added new
1002 parameter "limit_kind".
1003 (can_dump_core): Made nonstatic. Moved printing code to...
1004 (warn_cant_dump_core): New function.
1005 (can_dump_core_warn): Likewise.
1006 (internal_vproblem): Replace calls to can_dump_core with
1007 calls to can_dump_core_warn. Supply new argument to each.
1008
1009 2014-06-19 Gary Benson <gbenson@redhat.com>
1010
1011 * utils.h (demangler_vwarning): New declaration.
1012 (demangler_warning): Likewise.
1013 * utils.c (struct internal_problem)
1014 <user_settable_should_quit>: New field.
1015 <user_settable_should_dump_core>: Likewise
1016 (internal_error_problem): Add values for above new fields.
1017 (internal_warning_problem): Likewise.
1018 (demangler_warning_problem): New static global.
1019 (demangler_vwarning): New function.
1020 (demangler_warning): Likewise.
1021 (add_internal_problem_command): Selectively add commands.
1022 (_initialize_utils): New internal problem command.
1023 * maint.c (maintenance_demangler_warning): New function.
1024 (_initialize_maint_cmds): New command.
1025
1026 2014-06-18 Tom Tromey <tromey@redhat.com>
1027
1028 * f-valprint.c (info_common_command_for_block): Update.
1029 * symtab.h (struct general_symbol_info) <common_block>: Now
1030 const.
1031
1032 2014-06-18 Tom Tromey <tromey@redhat.com>
1033
1034 * symtab.h (struct symtab) <blockvector>: Now const.
1035 * ada-lang.c (ada_add_global_exceptions): Update.
1036 * buildsym.c (augment_type_symtab): Update.
1037 * dwarf2read.c (dw2_lookup_symbol): Update.
1038 * jit.c (finalize_symtab): Update.
1039 * jv-lang.c (add_class_symtab_symbol): Update.
1040 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
1041 Update.
1042 * objfiles.c (objfile_relocate1): Update.
1043 * psymtab.c (lookup_symbol_aux_psymtabs)
1044 (maintenance_check_psymtabs): Update.
1045 * python/py-symtab.c (stpy_global_block, stpy_static_block):
1046 Update.
1047 * spu-tdep.c (spu_catch_start): Update.
1048 * symmisc.c (dump_symtab_1): Update.
1049 * symtab.c (lookup_global_symbol_from_objfile)
1050 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
1051 (basic_lookup_transparent_type_quick)
1052 (basic_lookup_transparent_type, find_pc_sect_symtab)
1053 (find_pc_sect_line, search_symbols): Update.
1054 * block.c (find_block_in_blockvector): Make "bl" const.
1055 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
1056 const.
1057 (blockvector_contains_pc): Make "bv" const.
1058 (block_for_pc_sect): Update.
1059 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
1060 (blockvector_contains_pc): Update.
1061 * breakpoint.c (resolve_sal_pc): Update.
1062 * inline-frame.c (block_starting_point_at): Update.
1063
1064 2014-06-18 Tom Tromey <tromey@redhat.com>
1065
1066 * completer.c (complete_line): Make "line_buffer" const.
1067 * completer.h (complete_line): Update.
1068
1069 2014-06-18 Tom Tromey <tromey@redhat.com>
1070
1071 * symtab.c (add_macro_name): Remove unneeded cast.
1072
1073 2014-06-18 Tom Tromey <tromey@redhat.com>
1074
1075 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
1076 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
1077
1078 2014-06-18 Tom Tromey <tromey@redhat.com>
1079
1080 * probe.c (info_probes_for_ops): Make "arg" const.
1081 * probe.h (info_probes_for_ops): Update.
1082
1083 2014-06-18 Tom Tromey <tromey@redhat.com>
1084
1085 * varobj.c (varobj_create): Update.
1086 * valops.c (value_of_this): Update.
1087 * tracepoint.c (add_local_symbols, scope_info): Update.
1088 * symtab.h (struct general_symbol_info) <block>: Now const.
1089 * symtab.c (skip_prologue_sal)
1090 (default_make_symbol_completion_list_break_on)
1091 (skip_prologue_using_sal): Update.
1092 * stack.h (iterate_over_block_locals)
1093 (iterate_over_block_local_vars): Update.
1094 * stack.c (print_frame_args): Update.
1095 (iterate_over_block_locals, iterate_over_block_local_vars): Make
1096 parameter const.
1097 (get_selected_block): Make return type const.
1098 * python/py-frame.c (frapy_block): Update.
1099 * python/py-block.c (gdbpy_block_for_pc): Update.
1100 * p-exp.y (%union) <bval>: Now const.
1101 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
1102 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
1103 * m2-exp.y (%union) <bval>: Now const.
1104 * linespec.c (get_current_search_block): Make return type const.
1105 (create_sals_line_offset, find_label_symbols): Update.
1106 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
1107 Update.
1108 (block_starting_point_at): Make "block" const.
1109 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
1110 (check_exception_resume): Update.
1111 * guile/scm-frame.c (gdbscm_frame_block): Update.
1112 * guile/scm-block.c (gdbscm_lookup_block): Update.
1113 * frame.h (get_frame_block): Update.
1114 (get_selected_block): Make return type const.
1115 * frame.c (frame_id_inner): Update.
1116 * f-valprint.c (info_common_command_for_block)
1117 (info_common_command): Update.
1118 * dwarf2loc.c (dwarf2_find_location_expression)
1119 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
1120 (locexpr_describe_location_piece): Update.
1121 * c-exp.y (%union) <bval>: Now const.
1122 * breakpoint.c (resolve_sal_pc): Update.
1123 * blockframe.c (get_frame_block):Make return type const.
1124 (get_pc_function_start, get_frame_function, find_pc_sect_function)
1125 (block_innermost_frame): Update.
1126 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
1127 (block_for_pc, block_for_pc_sect): Update.
1128 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
1129 'pblock' const.
1130 (block_for_pc_sect, block_for_pc): Make return type const.
1131 * ax-gdb.c (gen_expr): Update.
1132 * alpha-mdebug-tdep.c (find_proc_desc): Update.
1133 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
1134 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
1135 (ada_read_var_value): Update.
1136 * ada-exp.y (struct name_info) <block>: Now const.
1137 (%union): Likewise.
1138 (block_lookup): Constify.
1139
1140 2014-06-18 Gary Benson <gbenson@redhat.com>
1141
1142 * nat/i386-dregs.h: New file.
1143 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
1144 * i386-nat.h (i386-dregs.h): New include.
1145 (DR_FIRSTADDR): Now in i386-dregs.h.
1146 (DR_LASTADDR): Likewise.
1147 (DR_NADDR): Likewise.
1148 (DR_STATUS): Likewise.
1149 (DR_CONTROL): Likewise.
1150 (i386_debug_reg_state): Likewise.
1151 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
1152
1153 2014-06-18 Don Breazeal <donb@codesourcery.com>
1154
1155 * breakpoint.c (set_longjmp_breakpoint): Call
1156 momentary_breakpoint_from_master with additional argument.
1157 (set_longjmp_breakpoint_for_call_dummy): Call
1158 momentary_breakpoint_from_master with additional argument.
1159 (set_std_terminate_breakpoint): Call
1160 momentary_breakpoint_from_master with additional argument.
1161 (momentary_breakpoint_from_master): Add argument to function
1162 definition and use it to initialize structure member flag.
1163 (clone_momentary_breakpoint): Call
1164 momentary_breakpoint_from_master with additional argument.
1165 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
1166 member flags set in momentary_breakpoint_from_master.
1167
1168 2014-06-18 Gary Benson <gbenson@redhat.com>
1169
1170 * i386-nat.c (i386_show_dr): Renamed to
1171 i386_dr_show and made nonstatic. All uses updated.
1172 (i386_length_and_rw_bits): Renamed to
1173 i386_dr_length_and_rw_bits and made nonstatic.
1174 All uses updated.
1175 (i386_insert_aligned_watchpoint): Renamed to
1176 i386_dr_insert_aligned_watchpoint and made nonstatic.
1177 All uses updated.
1178 (i386_remove_aligned_watchpoint): Renamed to
1179 i386_dr_remove_aligned_watchpoint and made nonstatic.
1180 All uses updated.
1181 (i386_update_inferior_debug_regs): Renamed to
1182 i386_dr_update_inferior_debug_regs and made nonstatic.
1183 All uses updated.
1184
1185 2014-06-18 Gary Benson <gbenson@redhat.com>
1186
1187 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
1188 (i386_dr_low_can_set_control): Likewise.
1189 (i386_dr_low_set_addr): Likewise.
1190 (i386_dr_low_set_control): Likewise.
1191 (i386_dr_low_get_addr): Likewise.
1192 (i386_dr_low_get_status): Likewise.
1193 (i386_dr_low_get_control): Likewise.
1194 (i386_insert_aligned_watchpoint): Use new macros.
1195 (i386_update_inferior_debug_regs): Likewise.
1196 (i386_stopped_data_address): Likewise.
1197
1198 2014-06-18 Gary Benson <gbenson@redhat.com>
1199
1200 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
1201 New parameter. All uses updated.
1202
1203 2014-06-18 Gary Benson <gbenson@redhat.com>
1204
1205 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
1206 All uses updated.
1207
1208 2014-06-18 Gary Benson <gbenson@redhat.com>
1209
1210 * i386-nat.c (debug_printf): New macro.
1211 (i386_get_debug_register_length): Likewise.
1212 (TARGET_HAS_DR_LEN_8): Use above macro.
1213 (i386_show_dr): Use debug_printf instead of puts_unfiltered
1214 and printf_unfiltered. Use phex to format values.
1215
1216 2014-06-18 Gary Benson <gbenson@redhat.com>
1217
1218 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
1219 Make const.
1220
1221 2014-06-18 Gary Benson <gbenson@redhat.com>
1222
1223 * i386-nat.c: Comment changes.
1224
1225 2014-06-18 Gary Benson <gbenson@redhat.com>
1226
1227 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
1228
1229 2014-06-18 Gary Benson <gbenson@redhat.com>
1230
1231 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
1232 (i386_insert_aligned_watchpoint): Likewise.
1233 (i386_remove_aligned_watchpoint): Likewise.
1234 (i386_handle_nonaligned_watchpoint): Likewise.
1235
1236 2014-06-18 Gary Benson <gbenson@redhat.com>
1237
1238 * i386-nat.c: Whitespace changes.
1239
1240 2014-06-17 Samuel Bronson <naesten@gmail.com>
1241
1242 * MAINTAINERS: Update Roland McGrath's email address.
1243 Thanks to Sergio Durigan Junior for pointing out that he left
1244 Red Hat a while ago, and giving me a current address.
1245
1246 2014-06-17 Tom Tromey <tromey@redhat.com>
1247
1248 * utils.h (savestring): Remove declaration.
1249
1250 2014-06-17 Tom Tromey <tromey@redhat.com>
1251
1252 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
1253
1254 2014-06-16 Keith Seitz <keiths@redhat.com>
1255
1256 PR mi/15863
1257 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
1258 to update the varobj if inferior_ptid is null_ptid.
1259
1260 2014-06-16 Tom Tromey <tromey@redhat.com>
1261
1262 * target.h (struct target_ops) <to_info_proc>: Make parameter
1263 const.
1264 (target_info_proc): Update.
1265 * target.c (target_info_proc): Make "args" const.
1266 * procfs.c (procfs_info_proc): Update.
1267 * linux-tdep.c (linux_info_proc): Update.
1268 (linux_core_info_proc_mappings): Make "args" const.
1269 (linux_core_info_proc): Update.
1270 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
1271 * gdbarch.c: Rebuild.
1272 * gdbarch.h: Rebuild.
1273 * corelow.c (core_info_proc): Update.
1274
1275 2014-06-16 Tom Tromey <tromey@redhat.com>
1276
1277 * target.h (struct target_ops) <to_disconnect>: Make parameter
1278 const.
1279 (target_disconnect): Update.
1280 * target.c (target_disconnect): Make "args" const.
1281 * target-delegates.c: Rebuild.
1282 * remote.c (remote_disconnect): Update.
1283 * record.h (record_disconnect): Update.
1284 * record.c (record_disconnect): Update.
1285 * inf-child.c (inf_child_disconnect): Update.
1286
1287 2014-06-16 Tom Tromey <tromey@redhat.com>
1288
1289 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
1290 * target.c (debug_to_rcmd, default_rcmd): Update.
1291 * target-delegates.c: Rebuild.
1292 * remote.c (remote_rcmd): Update.
1293 * monitor.c (monitor_rcmd): Update.
1294
1295 2014-06-16 Pedro Alves <palves@redhat.com>
1296
1297 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
1298 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
1299 have OBJF_SHARED set.
1300 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
1301 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
1302 instead of OBJF_USERLOADED.
1303 * objfiles.h (OBJF_SHARED): Update comment.
1304 (userloaded_objfile_contains_address_p): Rename to ...
1305 (shared_objfile_contains_address_p): ... this, and update
1306 comments.
1307 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
1308 new objfile.
1309 (remove_symbol_file_command): Skip objfiles that don't have
1310 OBJF_SHARED set.
1311
1312 2014-06-16 Tom Tromey <tromey@redhat.com>
1313
1314 * minsyms.h (prim_record_minimal_symbol)
1315 (prim_record_minimal_symbol_and_info): Update comments.
1316
1317 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1318
1319 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
1320 or --without-guile, according to how GDB was built.
1321
1322 2014-06-13 Tom Tromey <tromey@redhat.com>
1323
1324 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
1325 to help_list.
1326 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
1327 to help_list.
1328 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
1329 help_list.
1330 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
1331 help_list.Pass all_commands, not -1, to help_list.
1332 * cli/cli-dump.c (dump_command, append_command)
1333 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
1334 (binary_dump_command, binary_append_command): Pass all_commands,
1335 not -1, to help_list.
1336 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
1337 -1, to help_list.
1338 * valprint.c (set_print, set_print_raw): Pass all_commands, not
1339 -1, to help_list.
1340 * typeprint.c (set_print_type): Pass all_commands, not -1, to
1341 help_list.
1342 * top.c (set_history): Pass all_commands, not -1, to help_list.
1343 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
1344 all_commands, not -1, to help_list.
1345 * symfile.c (overlay_command): Pass all_commands, not -1, to
1346 help_list.
1347 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
1348 help_list.
1349 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
1350 help_list.
1351 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
1352 -1, to help_list.
1353 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
1354 not -1, to help_list.
1355 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
1356 not -1, to help_list.
1357 * maint.c (maintenance_command, maintenance_info_command)
1358 (maintenance_print_command, maintenance_set_cmd): Pass
1359 all_commands, not -1, to help_list.
1360 * macrocmd.c (macro_command): Pass all_commands, not -1, to
1361 help_list.
1362 * language.c (set_check): Pass all_commands, not -1, to help_list.
1363 * infcmd.c (unset_command): Pass all_commands, not -1, to
1364 help_list.
1365 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
1366 help_list.
1367 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
1368 help_list.
1369 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
1370 help_list.
1371 * breakpoint.c (save_command): Pass all_commands, not -1, to
1372 help_list.
1373 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
1374 all_commands, not -1, to help_list.
1375
1376 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
1377
1378 * regcache.c (struct register_to_invalidate): New structure.
1379 (do_register_invalidate, make_cleanup_regcache_invalidate): New
1380 functions.
1381 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
1382
1383 2014-06-12 Yao Qi <yao@codesourcery.com>
1384
1385 * varobj.c (varobj_get_num_children): Call
1386 varobj_is_dynamic_p.
1387 (varobj_list_children): Likewise.
1388 (varobj_update): Likewise. Update comments.
1389
1390 2014-06-12 Yao Qi <yao@codesourcery.com>
1391
1392 * varobj.c (varobj_pretty_printed_p): Rename to ...
1393 (varobj_is_dynamic_p): ... this. New function.
1394 * varobj.h (varobj_pretty_printed_p): Remove declaration.
1395 (varobj_is_dynamic_p): Declare.
1396 * mi/mi-cmd-var.c (print_varobj): All callers updated.
1397 (mi_print_value_p, varobj_update_one): Likewise.
1398
1399 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1400 Yao Qi <yao@codesourcery.com>
1401
1402 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
1403 (varobj_get_iterator): Wrap up code for pretty-printer by
1404 "#if HAVE_PYTHON" and "#endif".
1405 (update_dynamic_varobj_children): Likewise.
1406
1407 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1408 Yao Qi <yao@codesourcery.com>
1409
1410 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
1411 gdb_python_initialized is false. Move some code from varobj.c.
1412 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
1413 * varobj.c: Move "varobj-iter.h" inclusion earlier.
1414 (struct varobj_item): Moved to varobj-iter.h".
1415 (varobj_clear_saved_item): New function.
1416 (update_dynamic_varobj_children): Move python-related code to
1417 py-varobj.c.
1418 (free_variable): Call varobj_clear_saved_item and
1419 varobj_iter_delete.
1420
1421 2014-06-12 Pedro Alves <pedro@codesourcery.com>
1422 Yao Qi <yao@codesourcery.com>
1423
1424 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
1425 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
1426 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
1427 (py-varobj.o): New rule.
1428 * python/py-varobj.c: New file.
1429 * python/python-internal.h (py_varobj_get_iterator): Declare.
1430 * varobj-iter.h: New file.
1431 * varobj.c: Include "varobj-iter.h"
1432 (struct varobj) <child_iter>: Change its type from "PyObject *"
1433 to "struct varobj_iter *".
1434 <saved_item>: Likewise.
1435 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
1436 [HAVE_PYTHON] (varobj_get_iterator): New function.
1437 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
1438 python-specific code to python/py-varobj.c.
1439 (install_visualizer): Call varobj_iter_delete instead of
1440 Py_XDECREF.
1441 * varobj.h (varobj_ensure_python_env): Declare.
1442
1443 2014-06-12 Yao Qi <yao@codesourcery.com>
1444
1445 * varobj.c (struct varobj_item): New structure.
1446 (create_child_with_value): Update declaration.
1447 (varobj_add_child): Replace arguments 'name' and 'value' with
1448 'item'. All callers updated.
1449 (install_dynamic_child): Likewise.
1450 (update_dynamic_varobj_children): Likewise.
1451 (varobj_add_child): Likewise.
1452 (create_child_with_value): Likewise.
1453
1454 2014-06-11 Joel Brobecker <brobecker@adacore.com>
1455
1456 * NEWS: Create a new section for the next release branch.
1457 Rename the section of the current branch, now that it has
1458 been cut.
1459
1460 2014-06-11 Joel Brobecker <brobecker@adacore.com>
1461
1462 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
1463 * version.in: Bump version to 7.8.50.DATE-cvs.
1464
1465 2014-06-11 Pedro Alves <palves@redhat.com>
1466
1467 PR remote/17028
1468 * ser-mingw.c (net_windows_socket_check_pending): New function.
1469 (net_windows_select_thread): Ignore spurious wakeups. Use
1470 net_windows_socket_check_pending.
1471 (net_windows_wait_handle): Check for pending events with
1472 ioctlsocket, through net_windows_socket_check_pending, instead of
1473 checking the socket's event.
1474
1475 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
1476
1477 * python/python-internal.h (gdb_PyObject_GetAttrString)
1478 (gdb_PyObject_HasAttrString): New inline function definitions.
1479 * py-value.c (get_field_flag): Remove the now unnecessary cast to
1480 char * of the second argument to PyObject_GetAttrString.
1481
1482 2014-06-10 Joel Brobecker <brobecker@adacore.com>
1483
1484 * serial.c (serial_write): Fix index of character to be printed
1485 in call to serial_logchar when serial debug traces are enabled.
1486
1487 2014-06-10 Joel Brobecker <brobecker@adacore.com>
1488
1489 * gdbtypes (resolve_dynamic_range): Add function description.
1490
1491 2014-06-09 Pedro Alves <palves@redhat.com>
1492
1493 * linux-nat.c (linux_child_follow_fork): Initialize status with
1494 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
1495 inner block. Only pass the signal to PTRACE_DETACH if in pass
1496 state.
1497
1498 2014-06-09 Gary Benson <gbenson@redhat.com>
1499
1500 * common/signals.c (gdb_signal_from_host): Reorder to separate
1501 the always-available ANSI-standard signals from the signals that
1502 require checking.
1503 (do_gdb_signal_to_host): Likewise.
1504 * proc-events.c (signal_table): Likewise.
1505
1506 2014-06-08 Hui Zhu <hui@codesourcery.com>
1507
1508 * common/linux-ptrace.c (linux_disable_event_reporting): New
1509 function.
1510 * common/linux-ptrace.h (linux_disable_event_reporting): New
1511 declaration.
1512 * linux-nat.c (linux_child_follow_fork): Do a single step before
1513 detach.
1514
1515 2014-06-07 Keith Seitz <keiths@redhat.com>
1516
1517 Revert:
1518 PR c++/16253
1519 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
1520 from symbol_matches_domain in symtab.c. All local callers
1521 of symbol_matches_domain updated.
1522 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
1523 search STRUCT_DOMAIN.
1524 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
1525 independently. standard_lookup will do that automatically.
1526 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
1527 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1528 (cp_lookup_symbol_in_namespace): Likewise.
1529 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
1530 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
1531 may return a STRUCT_DOMAIN match.
1532 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
1533 * cp-support.c: Include language.h.
1534 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
1535 VAR_DOMAIN.
1536 * psymtab.c (match_partial_symbol): Compare the requested
1537 domain with the symbol's domain directly.
1538 (lookup_partial_symbol): Likewise.
1539 * symtab.c (lookup_symbol_in_language): Explain when/why
1540 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1541 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
1542 appropriate languages.
1543 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
1544 and moved to ada-lang.c
1545 (lookup_block_symbol): Explain that this function only returns
1546 symbol matching the requested DOMAIN.
1547 Compare the requested domain with the symbol's domain directly.
1548 (iterate_over_symbols): Compare the requested domain with the
1549 symbol's domain directly.
1550 * symtab.h (symbol_matches_domain): Remove.
1551
1552 2014-06-06 Doug Evans <xdje42@gmail.com>
1553
1554 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
1555 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
1556 (gdbscm_guile_version_is_at_least): Declare.
1557 (gdbscm_scm_string_to_int): Declare.
1558 * guile/guile.c (gdbscm_guile_major_version): New global.
1559 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
1560 (guile_datadir): New static global.
1561 (gdbscm_guile_data_directory): New function.
1562 (initialize_scheme_side): Update.
1563 (misc_guile_functions): Add guile-data-directory.
1564 (initialize_gdb_module): Fetch guile version number.
1565 * guile/lib/gdb.scm: Remove call to add-to-load-path.
1566 * guile/lib/gdb/init.scm (%initialize!): Ditto.
1567 * guile/lib/gdb/boot.scm: Use guile-data-directory.
1568 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
1569 comments.
1570 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
1571 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
1572 * guile/scm-value.c (gdbscm_value_to_string): Only call
1573 scm_port_conversion_strategy if Guile version >= 2.0.6.
1574
1575 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
1576
1577 * main.c (print_gdb_help): Add -q and --silent.
1578
1579 2014-06-06 Gary Benson <gbenson@redhat.com>
1580
1581 * common/signals.c: Remove preprocessor conditionals for
1582 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1583 SIGSEGV and SIGTERM.
1584 * proc-events.c: Likewise.
1585
1586 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
1587
1588 * symfile.c (symfile_free_objfile): Remove restriction to
1589 OBJF_USERLOADED.
1590 * symfile-mem.c (symbol_file_add_from_memory): Call
1591 add_target_sections_of_objfile.
1592
1593 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1594
1595 * guile/scm-value.c (gdbscm_history_append_x): Use
1596 'vlscm_get_value_smob_arg_unsafe' instead of
1597 'vlscm_scm_to_value'.
1598
1599 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1600
1601 PR mi/15806
1602 * utils.c (printchar): Don't escape at all if quoter is NUL.
1603 Update function documentation to clarify effect of parameter
1604 QUOTER.
1605 * remote.c (escape_buffer): Pass '\\' as the quoter to
1606 fputstrn_unfiltered.
1607 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
1608 generate the output.
1609 (mi_solib_unloaded): Same.
1610
1611 2014-06-05 Joel Brobecker <brobecker@adacore.com>
1612
1613 * development.sh: Delete.
1614 * Makefile.in (config.status): Adjust dependency on development.sh.
1615 * configure.ac: Adjust development.sh source call.
1616 * configure: Regenerate.
1617
1618 2014-06-04 Doug Evans <xdje42@gmail.com>
1619
1620 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
1621 is_scheme_bkpt, spec.
1622 (bpscm_make_breakpoint_smob): Initialize new members.
1623 (gdbscm_create_breakpoint_x): Split into two ...
1624 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
1625 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
1626 (scheme_function breakpoint_functions): Update.
1627 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
1628 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
1629 register-breakpoint!.
1630
1631 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
1632
1633 PR server/17023
1634 * mem-break.c (z_type_supported): Return zero if
1635 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
1636
1637 2014-06-04 Tom Tromey <tromey@redhat.com>
1638
1639 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
1640 value_from_contents_and_address_unresolved.
1641 (ada_template_to_fixed_record_type_1): Likewise.
1642 (ada_which_variant_applies): Likewise.
1643 * value.h (value_from_contents_and_address_unresolved): Declare.
1644 * value.c (value_from_contents_and_address_unresolved): New
1645 function.
1646 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
1647 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
1648 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
1649
1650 2014-06-04 Tom Tromey <tromey@redhat.com>
1651
1652 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
1653
1654 2014-06-04 Tom Tromey <tromey@redhat.com>
1655
1656 * procfs.c (procfs_attach): Make "args" const.
1657 * windows-nat.c (windows_attach): Make "args" const.
1658 * nto-procfs.c (procfs_attach): Make "args" const.
1659 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
1660 * go32-nat.c (go32_attach): Make "args" const.
1661 * gnu-nat.c (gnu_attach): Make "args" const.
1662 * darwin-nat.c (darwin_attach): Make "args" const.
1663 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
1664 * linux-nat.c (linux_nat_attach): Make "args" const.
1665 * remote.c (extended_remote_attach_1, extended_remote_attach):
1666 Make "args" const.
1667 * target.h (struct target_ops) <to_attach>: Make "args" const.
1668 (find_default_attach): Likewise.
1669 * utils.c (parse_pid_to_attach): Make "args" const.
1670 * utils.h (parse_pid_to_attach): Update.
1671
1672 2014-06-04 Tom Tromey <tromey@redhat.com>
1673
1674 * target-delegates.c: Rebuild.
1675 * target.c (default_thread_address_space): New function.
1676 (target_thread_address_space): Simplify.
1677 * target.h (struct target_ops) <to_thread_address_space>: Add
1678 TARGET_DEFAULT_FUNC.
1679
1680 2014-06-04 Doug Evans <xdje42@gmail.com>
1681
1682 * guile/scm-type.c (type_smob): Remove duplicate typedef.
1683
1684 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
1685
1686 * record-btrace.c: Include event-loop.h and inf-loop.h.
1687 (record_btrace_resume_exec_dir)
1688 (record_btrace_async_inferior_event_handler)
1689 (record_btrace_handle_async_inferior_event): New.
1690 (record_btrace_open): Create async event handler.
1691 (record_btrace_close): Delete async event handler.
1692 (record_btrace_resume): Set record_btrace_resume_exec_dir,
1693 Mark async event handler.
1694 (record_btrace_execution_direction): New.
1695 (init_record_btrace_ops): Initialize to_execution_direction.
1696
1697 2014-06-03 Doug Evans <xdje42@gmail.com>
1698
1699 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
1700 (gdbscm_make_parameter): Ditto.
1701
1702 2014-06-03 Doug Evans <dje@google.com>
1703
1704 * exec.c (exec_close_1): Call clear_section_table instead of
1705 resize_section_table.
1706 (clear_section_table): New function.
1707 (resize_section_table): Make static. Rename arg num_added to
1708 adjustment.
1709 * exec.h (clear_section_table): Declare.
1710 (resize_section_table): Delete.
1711 * progspace.c (release_program_space): Call clear_section_table
1712 instead of resize_section_table.
1713
1714 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1715
1716 * NEWS (Python Scripting): Add entry about the new xmethods
1717 feature.
1718
1719 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1720
1721 * python/py-xmethods.c: New file.
1722 * python/py-objfile.c (objfile_object): New field 'xmethods'.
1723 (objfpy_dealloc): XDECREF on the new xmethods field.
1724 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
1725 field.
1726 (objfpy_get_xmethods): New function.
1727 (objfile_getset): New entry 'xmethods'.
1728 * python/py-progspace.c (pspace_object): New field 'xmethods'.
1729 (pspy_dealloc): XDECREF on the new xmethods field.
1730 (pspy_new, pspace_to_pspace_object): Initialize xmethods
1731 field.
1732 (pspy_get_xmethods): New function.
1733 (pspace_getset): New entry 'xmethods'.
1734 * python/python-internal.h: Add declarations for new functions.
1735 * python/python.c (_initialize_python): Invoke
1736 gdbpy_initialize_xmethods.
1737 * python/lib/gdb/__init__.py (xmethods): New
1738 attribute.
1739 * python/lib/gdb/xmethod.py: New file.
1740 * python/lib/gdb/command/xmethods.py: New file.
1741
1742 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1743
1744 * eval.c (evaluate_subexp_standard): Call the xmethod if the
1745 best match method returned by find_overload_match is an xmethod.
1746 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
1747 the best matching operator returned by find_overload_match is an
1748 xmethod.
1749 * valops.c: #include "extension.h".
1750 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
1751 Return void. The list of matching source methods is returned in
1752 "fn_list" and a vector of matching debug method workers is
1753 returned in "xm_worker_vec". Update all callers.
1754 (value_find_oload_method_list): Likewise.
1755 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
1756 non-NULL, then the index of the best matching method in this
1757 vector is returned. Update all callers.
1758 (find_overload_match): Include xmethods while performing overload
1759 resolution.
1760
1761 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1762
1763 * defs.h (enum lval_type): New enumerator "lval_xcallable".
1764 * extension-priv.h (struct extension_language_ops): Add the
1765 xmethod interface.
1766 * extension.c (new_xmethod_worker, clone_xmethod_worker,
1767 get_matching_xmethod_workers, get_xmethod_argtypes,
1768 invoke_xmethod, free_xmethod_worker,
1769 free_xmethod_worker_vec): New functions.
1770 * extension.h: #include "common/vec.h".
1771 New function declarations.
1772 (struct xmethod_worker): New struct.
1773 (VEC (xmethod_worker_ptr)): New vector type.
1774 (xmethod_worker_ptr): New typedef.
1775 (xmethod_worker_vec): Likewise.
1776 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
1777 builtin_type.
1778 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
1779 (struct builtin_type): New field "xmethod".
1780 * valarith.c (value_ptradd): Assert that the value argument is not
1781 lval_xcallable.
1782 * valops.c (value_must_coerce_to_target): Return 0 for
1783 lval_xcallable values.
1784 * value.c (struct value): New field XM_WORKER in the field
1785 LOCATION.
1786 (value_address, value_raw_address): Return 0 for lval_xcallable
1787 values.
1788 (set_value_address): Assert that the value is not an
1789 lval_xcallable.
1790 (value_free): Free the associated xmethod worker when freeing
1791 lval_xcallable values.
1792 (set_value_component_location): Assert that the WHOLE value is not
1793 lval_xcallable.
1794 (value_of_xmethod, call_xmethod): New functions.
1795 * value.h: Declare "struct xmethod_worker".
1796 Declare new functions value_of_xmethod, call_xmethod.
1797
1798 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1799 Pedro Alves <palves@redhat.com>
1800
1801 PR breakpoints/17000
1802 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
1803 New function, extracted from software_breakpoint_inserted_here_p.
1804 (software_breakpoint_inserted_here_p): Replace factored out code
1805 by call to find_non_raw_software_breakpoint_inserted_here.
1806 (bp_target_info_copy_insertion_state): New function.
1807 (bkpt_insert_location): Handle the case of a single-step
1808 breakpoint already inserted at the same address.
1809 (bkpt_remove_location): Handle the case of a single-step
1810 breakpoint still inserted at the same address.
1811 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
1812 breakpoint already inserted at the same address.
1813 (deprecated_remove_raw_breakpoint): Handle the case of a
1814 non-raw breakpoint still inserted at the same address.
1815 (find_single_step_breakpoint): New function, extracted from
1816 single_step_breakpoint_inserted_here_p.
1817 (find_single_step_breakpoint): New function,
1818 factored out from single_step_breakpoint_inserted_here_p.
1819 (single_step_breakpoint_inserted_here_p): Reimplement.
1820
1821 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1822
1823 Pushed by Joel Brobecker <brobecker@adacore.com>
1824 * source.c (show_substitute_path_command): Fix display of matching
1825 substitution rules.
1826
1827 2014-06-03 Gary Benson <gbenson@redhat.com>
1828
1829 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
1830
1831 2014-06-02 Doug Evans <xdje42@gmail.com>
1832
1833 Add parameter support for Guile.
1834 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
1835 (SUBDIR_GUILE_SRCS): Add scm-param.c.
1836 (scm-param.o): New rule.
1837 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
1838 (gdbscm_misc_error): Declare.
1839 (gdbscm_canonicalize_command_name): Declare.
1840 (gdbscm_scm_to_host_string): Declare.
1841 (gdbscm_scm_from_host_string): Declare.
1842 (gdbscm_initialize_parameters): Declare.
1843 * guile/guile.c (initialize_gdb_module): Call
1844 gdbscm_initialize_parameters.
1845 * guile/lib/gdb.scm: Export parameter symbols.
1846 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
1847 cmdscm_canonicalize_name and made public. All callers updated.
1848 * guile/scm-exception.c (gdbscm_misc_error): New function.
1849 * guile/scm-param.c: New file.
1850 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
1851 (gdbscm_scm_to_host_string): New function.
1852 (gdbscm_scm_from_host_string): New function.
1853 * scm-utils.c (gdbscm_gc_dup_argv): New function.
1854
1855 2014-06-02 Doug Evans <xdje42@gmail.com>
1856
1857 Add command support for Guile.
1858 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
1859 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
1860 (scm-cmd.o): New rule.
1861 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
1862 (gdbscm_user_error_p): Declare.
1863 (gdbscm_parse_command_name): Declare.
1864 (gdbscm_valid_command_class_p): Declare.
1865 (gdbscm_initialize_commands): Declare.
1866 * guile/guile.c (initialize_gdb_module): Call
1867 gdbscm_initialize_commands.
1868 * guile/lib/gdb.scm: Export command symbols.
1869 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
1870 (throw-user-error): New function.
1871 * guile/scm-cmd.c: New file.
1872 * guile/scm-exception.c (user_error_symbol): New static global.
1873 (gdbscm_user_error_p): New function.
1874 (gdbscm_initialize_exceptions): Set user_error_symbol.
1875 * scm-utils.c (gdbscm_gc_xstrdup): New function.
1876
1877 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
1878
1879 * top.c (command_loop): Handle comments here...
1880 (command_line_input): ... not here.
1881
1882 2014-06-02 Doug Evans <xdje42@gmail.com>
1883
1884 Add progspace support for Guile.
1885 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
1886 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
1887 (scm-progspace.o): New rule.
1888 * guile/guile-internal.h (pspace_smob): New typedef.
1889 (psscm_pspace_smob_pretty_printers): Declare.
1890 (psscm_pspace_smob_from_pspace): Declare.
1891 (psscm_scm_from_pspace): Declare.
1892 * guile/guile.c (initialize_gdb_module): Call
1893 gdbscm_initialize_pspaces.
1894 * guile/lib/gdb.scm: Export progspace symbols.
1895 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
1896 support.
1897 (append-pretty-printer!): Ditto.
1898 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
1899 Implement.
1900 * guile/scm-progspace.c: New file.
1901
1902 2014-06-03 Alan Modra <amodra@gmail.com>
1903
1904 * ppc64-tdep.c (ppc64_standard_linkage8): New.
1905 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
1906
1907 2014-06-02 Doug Evans <dje@google.com>
1908
1909 Add support for skeletonless type units.
1910 * dwarf2read.c (struct dwarf2_per_objfile): New member
1911 n_allocated_type_units.
1912 (struct dwarf2_per_objfile) <tu_stats>: New member
1913 nr_all_type_units_reallocs.
1914 (create_signatured_type_table_from_index): Initialize
1915 n_allocated_type_units
1916 (create_all_type_units): Ditto.
1917 (add_type_unit): Move up in file. New arg slot.
1918 All callers updated. Increase space for all_type_units more
1919 efficiently.
1920 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
1921 (lookup_dwo_signatured_type): Handle skeletonless TUs.
1922 (lookup_dwp_signatured_type): Ditto.
1923 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
1924 All callers updated.
1925 (build_type_psymtabs_1): Leave type_unit_groups as
1926 NULL if no TUs present.
1927 (print_tu_stats): New function.
1928 (process_skeletonless_type_unit): New function.
1929 (process_dwo_file_for_skeletonless_type_units): New
1930 function.
1931 (process_skeletonless_type_units): New function.
1932 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
1933 Call print tu_stats if debugging enabled.
1934
1935 2014-06-02 Pedro Alves <palves@redhat.com>
1936
1937 * breakpoint.c (build_target_command_list): Don't build a command
1938 list if we have any duplicate location that isn't a dprintf.
1939
1940 2014-06-02 Pedro Alves <palves@redhat.com>
1941
1942 * breakpoint.c (dprintf_breakpoint_hit): New function.
1943 (initialize_breakpoint_ops): Install it as dprintf's
1944 breakpoint_hit method.
1945
1946 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1947
1948 * source.c (substitute_path_rule_matches): Simplify using
1949 filename_ncmp instead of FILENAME_CMP.
1950
1951 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1952
1953 * source.c (substitute_path_rule_matches): Remove trailing spaces.
1954
1955 2014-06-01 Ludovic Courtès <ludo@gnu.org>
1956
1957 * configure.ac: When Guile is available, check for the
1958 availability of 'scm_new_smob'.
1959 * configure, config.h.in: Regenerate.
1960 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
1961 function.
1962
1963 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1964
1965 * frame.c (struct frame_info): Add stop_string field.
1966 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
1967 (get_prev_frame_always): Old content moved into
1968 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
1969 TRY_CATCH, handle MEMORY_ERROR exceptions.
1970 (frame_stop_reason_string): New function definition.
1971 * frame.h (unwind_stop_reason_to_string): Extend comment to
1972 mention frame_stop_reason_string.
1973 (frame_stop_reason_string): New function declaration.
1974 * stack.c (frame_info): Switch to frame_stop_reason_string.
1975 (backtrace_command_1): Switch to frame_stop_reason_string.
1976 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
1977 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
1978 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
1979
1980 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1981
1982 * frame.c (frame_stop_reason_string): Rename to ...
1983 (unwind_stop_reason_to_string): this.
1984 * frame.h (frame_stop_reason_string): Rename to ...
1985 (unwind_stop_reason_to_string): this.
1986 * stack.c (frame_info): Update call to frame_stop_reason_string.
1987 (backtrace_command_1): Likewise.
1988 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
1989 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
1990
1991 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1992
1993 * frame.c (remove_prev_frame): New function.
1994 (get_prev_frame_if_no_cycle): Create / discard cleanup using
1995 remove_prev_frame.
1996
1997 2014-05-29 Pedro Alves <palves@redhat.com>
1998
1999 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
2000 and make it const. When a single-step decays to a continue,
2001 clear 'step', not 'hw_step'. Pass whether the caller wanted
2002 to step to user_visible_resume_ptid, not what we ask the
2003 target to do.
2004
2005 2014-05-29 Pedro Alves <palves@redhat.com>
2006
2007 * infrun.c (process_event_stop_test, handle_step_into_function)
2008 (handle_step_into_function_backward): Adjust.
2009 Don't set the even thread's stop_step and call stop_waiting before
2010 calling end_stepping_range. Instead do that ...
2011 (end_stepping_range): ... here. Take an ecs pointer parameter.
2012
2013 2014-05-29 Pedro Alves <palves@redhat.com>
2014
2015 * infrun.c (stop_stepping): Rename to ...
2016 (stop_waiting): ... this.
2017 (proceed): Update comment.
2018 (process_event_stop_test, handle_inferior_event)
2019 (handle_signal_stop, handle_step_into_function)
2020 (handle_step_into_function_backward): Update.
2021
2022 2014-05-29 Pedro Alves <palves@redhat.com>
2023
2024 * infcall.c (run_inferior_call): Don't check whether the current
2025 thread is running after the proceed call.
2026
2027 2014-05-29 Pedro Alves <palves@redhat.com>
2028 Tom Tromey <tromey@redhat.com>
2029
2030 * NEWS: Mention "maint set target-async", "set mi-async", and that
2031 background execution commands are now always available.
2032 * target.h (target_async_permitted): Update comment.
2033 * target.c (target_async_permitted, target_async_permitted_1):
2034 Default to 1.
2035 (set_target_async_command): Rename to ...
2036 (maint_set_target_async_command): ... this.
2037 (show_target_async_command): Rename to ...
2038 (maint_show_target_async_command): ... this.
2039 (_initialize_target): Adjust.
2040 * infcmd.c (prepare_execution_command): Make extern.
2041 * inferior.h (prepare_execution_command): Declare.
2042 * infrun.c (set_observer_mode): Leave target async alone.
2043 * mi/mi-interp.c (mi_interpreter_init): Install
2044 mi_on_sync_execution_done as sync_execution_done observer.
2045 (mi_on_sync_execution_done): New function.
2046 (mi_execute_command_input_handler): Don't print the prompt if we
2047 just started a synchronous command with an async target.
2048 (mi_on_resume): Check sync_execution before printing prompt.
2049 * mi/mi-main.h (mi_async_p): Declare.
2050 * mi/mi-main.c: Include gdbcmd.h.
2051 (mi_async_p): New function.
2052 (mi_async, mi_async_1): New globals.
2053 (set_mi_async_command, show_mi_async_command, mi_async): New
2054 functions.
2055 (exec_continue): Call prepare_execution_command.
2056 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
2057 (mi_execute_async_cli_command): Use mi_async_p.
2058 (_initialize_mi_main): Install "set mi-async". Make
2059 "target-async" a deprecated alias.
2060
2061 2014-05-29 Pedro Alves <palves@redhat.com>
2062
2063 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
2064 (_initialize_cli_interp): Adjust.
2065 * event-loop.c: Include "observer.h".
2066 (start_event_loop): Notify 'command_error' observers instead of
2067 calling display_gdb_prompt. Remove FIXME comment.
2068 * event-top.c (display_gdb_prompt): Remove call into the
2069 interpreters.
2070 * inf-loop.c: Include "observer.h".
2071 (inferior_event_handler): Notify 'command_error' observers instead
2072 of calling display_gdb_prompt.
2073 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
2074 observers instead of calling display_gdb_prompt.
2075 * interps.c (interp_set): Don't call display_gdb_prompt.
2076 (current_interp_display_prompt_p): Delete.
2077 * interps.h (interp_prompt_p): Delete declaration.
2078 (interp_prompt_p_ftype): Delete.
2079 (struct interp_procs) <prompt_proc_p>: Delete field.
2080 (current_interp_display_prompt_p): Delete declaration.
2081 * mi-interp.c (mi_interpreter_prompt_p): Delete.
2082 (_initialize_mi_interp): Adjust.
2083 * tui-interp.c (tui_init): Install 'sync_execution_done' and
2084 'command_error' observers.
2085 (tui_on_sync_execution_done, tui_on_command_error): New
2086 functions.
2087 (tui_display_prompt_p): Delete.
2088 (_initialize_tui_interp): Adjust.
2089
2090 2014-05-29 Pedro Alves <palves@redhat.com>
2091
2092 PR gdb/13860
2093 * cli/cli-interp.c: Include infrun.h and observer.h.
2094 (cli_uiout, cli_interp): New globals.
2095 (cli_on_signal_received, cli_on_end_stepping_range)
2096 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
2097 functions.
2098 (cli_interpreter_init): Install them as 'end_stepping_range',
2099 'signal_received' 'signal_exited', 'exited' and 'no_history'
2100 observers.
2101 (_initialize_cli_interp): Remove cli_interp local.
2102 * infrun.c (handle_inferior_event): Call the several stop reason
2103 observers instead of printing the stop reason directly.
2104 (end_stepping_range): New function.
2105 (print_end_stepping_range_reason, print_signal_exited_reason)
2106 (print_exited_reason, print_signal_received_reason)
2107 (print_no_history_reason): Make static, and add an uiout
2108 parameter. Print to that instead of to CURRENT_UIOUT.
2109 * infrun.h (print_end_stepping_range_reason)
2110 (print_signal_exited_reason, print_exited_reason)
2111 (print_signal_received_reason print_no_history_reason): New
2112 declarations.
2113 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
2114 'mi_uiout'.
2115 <cli_uiout>: New field.
2116 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
2117 uiout for CLI output. Install 'signal_received',
2118 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
2119 observers.
2120 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
2121 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
2122 (mi_on_no_history): New functions.
2123 (ui_out_free_cleanup): Delete function.
2124 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
2125 instead use the one already stored in the MI interpreter data.
2126 (mi_ui_out): Adjust.
2127 * tui/tui-interp.c: Include infrun.h and observer.h.
2128 (tui_interp): New global.
2129 (tui_on_signal_received, tui_on_end_stepping_range)
2130 (tui_on_signal_exited, tui_on_exited)
2131 (tui_on_no_history): New functions.
2132 (tui_init): Install them as 'end_stepping_range',
2133 'signal_received' 'signal_exited', 'exited' and 'no_history'
2134 observers.
2135 (_initialize_tui_interp): Delete tui_interp local.
2136
2137 2014-05-29 Pedro Alves <palves@redhat.com>
2138
2139 PR gdb/15713
2140 * linux-nat.c (linux_nat_resume_callback): Rename the second
2141 parameter to 'except'. Skip LP if it points to EXCEPT.
2142 (linux_nat_resume): Don't mark the event lwp as not stopped
2143 before resuming sibling lwps. Instead ask
2144 linux_nat_resume_callback to skip the event lwp. Mark it as not
2145 stopped after actually resuming it.
2146 (linux_handle_syscall_trap): Mark the lwp as not stopped after
2147 resuming it.
2148 (wait_lwp): Mark the lwp as stopped here.
2149 (stop_wait_callback): Mark the lwp as not stopped right after
2150 resuming it. Don't mark lwps as stopped here.
2151 (linux_nat_filter_event): Mark the lwp as stopped earlier.
2152 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
2153
2154 2014-05-29 Pedro Alves <palves@redhat.com>
2155
2156 PR PR15693
2157 * infrun.c (resume): Determine how much to resume depending on
2158 whether the caller wanted a step, not whether we can hardware step
2159 the target. Mark all threads that we intend to run as running,
2160 unless we're calling an inferior function.
2161 (normal_stop): If the thread is running an infcall, don't finish
2162 thread state.
2163 * target.c (target_resume): Don't mark threads as running here.
2164
2165 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2166
2167 * serial.c (_initialize_serial): Remove support for
2168 the "set remotebaud" and "show remotebaud" commands.
2169 * NEWS: Add entry documenting the removal of that command.
2170
2171 2014-05-28 Yao Qi <yao@codesourcery.com>
2172
2173 * charset.c: Fix typo in comments.
2174
2175 2014-05-27 Gary Benson <gbenson@redhat.com>
2176
2177 * utils.c (internal_vproblem): Prompt for a bug report.
2178
2179 2014-05-26 Andy Wingo <wingo@igalia.com>
2180
2181 * guile/scm-arch.c (arscm_mark_arch_smob):
2182 * guile/scm-block.c (bkscm_mark_block_smob)
2183 (bkscm_mark_block_syms_progress_smob):
2184 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
2185 * guile/scm-exception.c (exscm_mark_exception_smob):
2186 * guile/scm-frame.c (frscm_mark_frame_smob):
2187 * guile/scm-iterator.c (itscm_mark_iterator_smob):
2188 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
2189 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
2190 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
2191 (ppscm_mark_pretty_printer_worker_smob):
2192 * guile/scm-symbol.c (syscm_mark_symbol_smob):
2193 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
2194 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
2195 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
2196 mark functions.
2197 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
2198 function.
2199
2200 2014-05-26 Andy Wingo <wingo@igalia.com>
2201 Doug Evans <xdje42@gmail.com>
2202
2203 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
2204 empty_base_class. All uses updated.
2205 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
2206 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
2207 Adapt all callers.
2208 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
2209 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
2210 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
2211 (gdbscm_gsmob_has_property_p, add_property_name)
2212 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
2213 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
2214 (gdb-object-has-property?, gdb-object-properties): Remove.
2215 (gdb-object-kind): Renamed from gsmob-kind.
2216
2217 2014-05-26 Andy Wingo <wingo@igalia.com>
2218
2219 * configure.ac (try_guile_versions): Allow building with guile 2.2.
2220 * configure: Regenerate.
2221
2222 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2223
2224 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
2225
2226 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2227
2228 * record-btrace.c (record_btrace_allow_memory_access): Remove.
2229 (replay_memory_access_read_only, replay_memory_access_read_write)
2230 (replay_memory_access_types, replay_memory_access)
2231 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
2232 (cmd_set_record_btrace, cmd_show_record_btrace)
2233 (cmd_show_replay_memory_access): New.
2234 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
2235 (record_btrace_remove_breakpoint): Replace
2236 record_btrace_allow_memory_access with replay_memory_access.
2237 (_initialize_record_btrace): Add commands.
2238 * NEWS: Announce it.
2239
2240 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2241
2242 * aarch64-linux-nat.c (asm/ptrace.h): Include.
2243
2244 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2245
2246 * MAINTAINERS (Write After Approval): Move self back from
2247 paper trail.
2248
2249 2014-05-22 Pedro Alves <palves@redhat.com>
2250
2251 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
2252 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
2253 (disable_randomization, enum exec_direction_kind)
2254 (execution_direction, stop_registers, start_remote)
2255 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
2256 (wait_for_inferior, normal_stop, get_last_target_status)
2257 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
2258 (insert_step_resume_breakpoint_at_sal)
2259 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
2260 (set_step_info, print_stop_event, signal_stop_state)
2261 (signal_print_state, signal_pass_state, signal_stop_update)
2262 (signal_print_update, signal_pass_update)
2263 (update_signals_program_target, clear_exit_convenience_vars)
2264 (displaced_step_dump_bytes, update_observer_mode)
2265 (signal_catch_update, gdb_signal_from_command): Move
2266 declarations ...
2267 * infrun.h: ... to this new file.
2268 * amd64-tdep.c: Include infrun.h.
2269 * annotate.c: Include infrun.h.
2270 * arch-utils.c: Include infrun.h.
2271 * arm-linux-tdep.c: Include infrun.h.
2272 * arm-tdep.c: Include infrun.h.
2273 * break-catch-sig.c: Include infrun.h.
2274 * breakpoint.c: Include infrun.h.
2275 * common/agent.c: Include infrun.h instead of inferior.h.
2276 * corelow.c: Include infrun.h.
2277 * event-top.c: Include infrun.h.
2278 * go32-nat.c: Include infrun.h.
2279 * i386-tdep.c: Include infrun.h.
2280 * inf-loop.c: Include infrun.h.
2281 * infcall.c: Include infrun.h.
2282 * infcmd.c: Include infrun.h.
2283 * infrun.c: Include infrun.h.
2284 * linux-fork.c: Include infrun.h.
2285 * linux-nat.c: Include infrun.h.
2286 * linux-thread-db.c: Include infrun.h.
2287 * monitor.c: Include infrun.h.
2288 * nto-tdep.c: Include infrun.h.
2289 * procfs.c: Include infrun.h.
2290 * record-btrace.c: Include infrun.h.
2291 * record-full.c: Include infrun.h.
2292 * remote-m32r-sdi.c: Include infrun.h.
2293 * remote-mips.c: Include infrun.h.
2294 * remote-notif.c: Include infrun.h.
2295 * remote-sim.c: Include infrun.h.
2296 * remote.c: Include infrun.h.
2297 * reverse.c: Include infrun.h.
2298 * rs6000-tdep.c: Include infrun.h.
2299 * s390-linux-tdep.c: Include infrun.h.
2300 * solib-irix.c: Include infrun.h.
2301 * solib-osf.c: Include infrun.h.
2302 * solib-svr4.c: Include infrun.h.
2303 * target.c: Include infrun.h.
2304 * top.c: Include infrun.h.
2305 * windows-nat.c: Include infrun.h.
2306 * mi/mi-interp.c: Include infrun.h.
2307 * mi/mi-main.c: Include infrun.h.
2308 * python/py-threadevent.c: Include infrun.h.
2309
2310 2014-05-22 Pedro Alves <palves@redhat.com>
2311
2312 * infrun.c (handle_inferior_event): Store the exit code for
2313 --return-child-result here, instead of ...
2314 (print_exited_reason): ... here.
2315
2316 2014-05-21 Pedro Alves <palves@redhat.com>
2317
2318 PR gdb/13860
2319 * gdbthread.h (struct thread_control_state): New field
2320 `command_interp'.
2321 * infrun.c (follow_fork): Copy the new thread control field to the
2322 child fork thread.
2323 (clear_proceed_status_thread): Clear the new thread control field.
2324 (proceed): Set the new thread control field.
2325 * interps.h (command_interp): Declare.
2326 * interps.c (command_interpreter): New global.
2327 (command_interp): New function.
2328 (interp_exec): Set `command_interpreter' while here.
2329 * cli-out.c (cli_uiout_dtor): New function.
2330 (cli_ui_out_impl): Install it.
2331 * mi/mi-interp.c: Include cli-out.h.
2332 (mi_cmd_interpreter_exec): Add comment.
2333 (restore_current_uiout_cleanup): New function.
2334 (ui_out_free_cleanup): New function.
2335 (mi_on_normal_stop): If finishing an execution command started by
2336 a CLI command, or any kind of breakpoint-like event triggered,
2337 print the stop event to the output (CLI) stream.
2338 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
2339
2340 2014-05-21 Pedro Alves <palves@redhat.com>
2341
2342 * cli/cli-cmds.c (list_command): Handle the first "list" after the
2343 current source line having changed.
2344 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
2345 * infrun.c (normal_stop): Adjust call to
2346 set_current_sal_from_frame.
2347 * source.c (clear_lines_listed_range): New function.
2348 (set_current_source_symtab_and_line, identify_source_line): Clear
2349 the lines listed range.
2350 (line_info): Handle the first "info line" after the current source
2351 line having changed.
2352 * stack.c (print_stack_frame): Remove center handling.
2353 (set_current_sal_from_frame): Remove 'center' parameter. Don't
2354 center sal.line.
2355
2356 2014-05-21 Pedro Alves <palves@redhat.com>
2357
2358 * inf-child.c (inf_child_mourn_inferior): New function.
2359 * inf-child.h (inf_child_mourn_inferior): New declaration.
2360 * darwin-nat.c (darwin_mourn_inferior): Use
2361 inf_child_mourn_inferior.
2362 * gnu-nat.c (gnu_mourn_inferior): Likewise.
2363 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
2364 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
2365 * nto-procfs.c (procfs_mourn_inferior): Likewise.
2366 * windows-nat.c (windows_mourn_inferior): Likewise.
2367
2368 2014-05-21 Doug Evans <xdje42@gmail.com>
2369
2370 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
2371
2372 2014-05-21 Doug Evans <xdje42@gmail.com>
2373
2374 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
2375 (gdbscm_out_of_range_error): Ditto.
2376 (gdbscm_memory_error): Ditto.
2377 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
2378 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
2379 (gdbscm_out_of_range_error): Update.
2380 (gdbscm_memory_error): Update.
2381 (gdbscm_scm_to_target_string_unsafe): Delete.
2382
2383 2014-05-21 Pedro Alves <palves@redhat.com>
2384
2385 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
2386 globals.
2387 (inf_child_open_target): New function.
2388 (inf_child_open): Use inf_child_open_target to push the target
2389 instead of erroring out.
2390 (inf_child_disconnect, inf_child_close)
2391 (inf_child_maybe_unpush_target): New functions.
2392 (inf_child_target): Install inf_child_disconnect and
2393 inf_child_close. Store a pointer to the returned object.
2394 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
2395 declarations.
2396 * target.c (auto_connect_native_target): New global.
2397 (show_default_run_target): New function.
2398 (find_default_run_target): Return NULL if automatically connecting
2399 to the native target is disabled.
2400 (_initialize_target): Install set/show auto-connect-native-target.
2401 * NEWS: Mention "set auto-connect-native-target", and "target
2402 native".
2403 * linux-nat.c (super_close): New global.
2404 (linux_nat_close): Call super_close.
2405 (linux_nat_add_target): Store a pointer to the base class's
2406 to_close method.
2407 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
2408 inf_child_maybe_unpush.
2409 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
2410 already pushed.
2411 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
2412 the inferior. Use inf_child_maybe_unpush_target.
2413 (inf_ttrace_attach): Don't push the target if it is already
2414 pushed.
2415 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
2416 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
2417 after mourning the inferior. Use inf_child_maybe_unpush_target.
2418 (darwin_attach_pid): Don't push the target if it is already
2419 pushed.
2420 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
2421 mourning the inferior. Use inf_child_maybe_unpush_target.
2422 (gnu_detach): Use inf_child_maybe_unpush_target.
2423 * go32-nat.c (go32_create_inferior): Don't push the target if it
2424 is already pushed.
2425 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
2426 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
2427 (procfs_open): Rename to ...
2428 (procfs_open_1): ... this. Add target_ops parameter. Adjust
2429 comments. Can target_preopen before changing node. Call
2430 inf_child_open_target to push the target explicitly.
2431 (procfs_attach): Don't push the target if it is already pushed.
2432 (procfs_detach): Use inf_child_maybe_unpush_target.
2433 (procfs_create_inferior): Don't push the target if it is already
2434 pushed.
2435 (nto_native_ops): New global.
2436 (procfs_open): Reimplement.
2437 (procfs_native_open): New function.
2438 (init_procfs_targets): Install procfs_native_open as to_open of
2439 "target native". Store a pointer to the "native" target in
2440 nto_native_ops.
2441 * procfs.c (procfs_attach): Don't push the target if it is already
2442 pushed.
2443 (procfs_detach): Use inf_child_maybe_unpush_target.
2444 (procfs_mourn_inferior): Only unpush the target after mourning the
2445 inferior. Use inf_child_maybe_unpush_target.
2446 (procfs_init_inferior): Don't push the target if it is already
2447 pushed.
2448 * windows-nat.c (do_initial_windows_stuff): Don't push the target
2449 if it is already pushed.
2450
2451 2014-05-21 Pedro Alves <palves@redhat.com>
2452
2453 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
2454 and "procfs" targets are now called "native" instead.
2455
2456 2014-05-21 Pedro Alves <palves@redhat.com>
2457
2458 * go32-nat.c (go32_open): Delete.
2459 (go32_target): Don't override the to_open method.
2460
2461 2014-05-21 Pedro Alves <palves@redhat.com>
2462
2463 * nto-procfs.c (procfs_can_run): New function.
2464 (nto_procfs_ops): New global.
2465 (init_procfs_targets): New, based on procfs_target. Install
2466 "target native" in addition to "target procfs".
2467 (_initialize_procfs): Call init_procfs_targets instead of adding
2468 the target here.
2469
2470 2014-05-21 Pedro Alves <palves@redhat.com>
2471
2472 * windows-nat.c (windows_target): Don't override to_shortname,
2473 to_longname or to_doc.
2474
2475 2014-05-21 Pedro Alves <palves@redhat.com>
2476
2477 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
2478 to_doc.
2479
2480 2014-05-21 Pedro Alves <palves@redhat.com>
2481
2482 * darwin-nat.c (_initialize_darwin_inferior): Don't override
2483 to_shortname, to_longname or to_doc.
2484
2485 2014-05-21 Pedro Alves <palves@redhat.com>
2486
2487 * go32-nat.c (go32_target): Don't override to_shortname,
2488 to_longname or to_doc.
2489
2490 2014-05-21 Pedro Alves <palves@redhat.com>
2491
2492 * inf-child.c (inf_child_open): Remove mention of "child".
2493 (inf_child_target): Rename target to "native" instead of "child".
2494
2495 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2496
2497 * Makefile.in (SFILES): Delete "regset.c".
2498 (COMMON_OBS): Delete "regset.o".
2499 * regset.c: Remove.
2500 * regset.h (regset_alloc): Delete prototype.
2501
2502 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2503
2504 * sparc-linux-tdep.c (sparc32_linux_gregset)
2505 (sparc32_linux_fpregset): New static regset structures.
2506 (sparc32_linux_init_abi): Drop dynamic regset allocations.
2507 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
2508 'fpregset' fields.
2509 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
2510 (sparc64_linux_fpregset): New static regset structures.
2511 (sparc64_linux_init_abi): Drop dynamic regset allocations.
2512 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
2513 New static regset structures.
2514 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
2515 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
2516 New static regset structures.
2517 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
2518 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
2519 New static regset structures.
2520 (sparc64obsd_init_abi): Drop dynamic regset allocations.
2521 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
2522 New static regset structures.
2523 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
2524
2525 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2526
2527 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
2528 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
2529 register maps ("regmaps") from "*regset" to "*regmap". Do this
2530 for all regmap types and variables.
2531 * sparc-linux-tdep.c (sparc32_linux_step_trap)
2532 (sparc32_linux_supply_core_gregset)
2533 (sparc32_linux_collect_core_gregset)
2534 (sparc32_linux_supply_core_fpregset)
2535 (sparc32_linux_collect_core_fpregset): Likewise.
2536 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
2537 (sparc_gregmap, sparc_fpregmap): ... these.
2538 (sparc_supply_gregset, sparc_collect_gregset)
2539 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2540 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
2541 (_initialize_sparc_nat): Rename regmaps.
2542 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
2543 (sparc_gregmap, sparc_fpregmap): ... these.
2544 (sparc_supply_gregset, sparc_collect_gregset)
2545 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2546 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
2547 Rename macros to...
2548 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
2549 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
2550 Likewise.
2551 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
2552 Rename to...
2553 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
2554 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
2555 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
2556 regmaps.
2557 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
2558 (sparc32_bsd_fpregset): Rename to...
2559 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
2560 (sparc32_bsd_fpregmap): ... these.
2561 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
2562 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
2563 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
2564 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
2565 (struct sparc_gregmap, struct sparc_fpregmap)
2566 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
2567 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
2568 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
2569 (sparc32_supply_regset, sparc32_collect_gregset)
2570 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
2571 prototypes.
2572 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
2573 (sparc64_linux_ptrace_gregmap): ... this.
2574 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
2575 (_initialize_sparc64_linux_nat): Rename regmaps.
2576 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
2577 (sparc64_linux_core_gregmap): ... this.
2578 (sparc64_linux_supply_core_gregset)
2579 (sparc64_linux_collect_core_gregset)
2580 (sparc64_linux_supply_core_fpregset)
2581 (sparc64_linux_collect_core_fpregset): Rename regmaps.
2582 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
2583 (sparc64_sol2_fpregset): Rename to...
2584 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
2585 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
2586 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
2587 regmaps.
2588 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
2589 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
2590 (sparc64_bsd_fpregset): Rename to...
2591 (struct sparc_gregmap, sparc64_sol2_gregmap)
2592 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
2593 (sparc64_bsd_fpregmap): ... these.
2594 (sparc64_supply_gregset, sparc64_collect_gregset)
2595 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
2596 prototypes.
2597 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
2598 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
2599 (sparc64fbsd_gregmap): ... this.
2600 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
2601 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
2602 Rename regmaps.
2603 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
2604 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
2605 (sparc64nbsd_collect_fpregset): Likewise.
2606 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
2607 (sparc64nbsd_gregmap): ... this.
2608 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
2609 regmaps.
2610 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
2611 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
2612 (sparc64obsd_gregmap): ... this.
2613 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
2614 regmaps.
2615 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
2616 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
2617 (sparc32nbsd_gregmap): ... this.
2618 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
2619 regmaps.
2620
2621 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2622
2623 * score-tdep.c (score7_linux_gregset): New static regset
2624 structure.
2625 (score7_linux_regset_from_core_section): Remove dynamic regset
2626 allocation.
2627 (score_gdbarch_init): Drop allocation of tdep structure.
2628 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
2629
2630 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2631
2632 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
2633 regset structures.
2634 (am33_regset_from_core_section): Remove dynamic regset
2635 allocations.
2636
2637 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2638
2639 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
2640 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
2641 structures.
2642 (mips_linux_regset_from_core_section): Remove dynamic regset
2643 allocations.
2644 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
2645 'gregset64', 'fpregset', and 'fpregset64'.
2646 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
2647 deleted tdep fields.
2648
2649 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2650
2651 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
2652 regset structures.
2653 (amd64_regset_from_core_section): Remove dynamic regset
2654 allocations.
2655 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
2656 structure.
2657 (amd64obsd_regset_from_core_section): Remove dynamic regset
2658 allocation.
2659 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
2660 Likewise.
2661 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
2662 x86-common regset supply function.
2663 * i386-tdep.c (i386_collect_gregset): Make static.
2664 (i386_gregset): New global regset structure.
2665 (i386_fpregset, i386_xstateregset): New static regset structures.
2666 (i386_regset_from_core_section): Remove dynamic regset
2667 allocations.
2668 (i386_gdbarch_init): Remove initialization of tdep fields
2669 'gregset', 'fpregset', and 'xstateregset'.
2670 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
2671 'fpregset', and 'xstateregset'.
2672 (i386_collect_gregset): Remove prototype.
2673 (i386_gregset): New declaration.
2674 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
2675 structure.
2676 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
2677 allocation.
2678
2679 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2680
2681 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
2682 (arm_linux_vfpregset): New static regset structures.
2683 (arm_linux_regset_from_core_section): Remove dynamic allocation of
2684 regset structures.
2685 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
2686 and 'vfpregset' fields.
2687
2688 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2689
2690 * aarch64-linux-tdep.c (aarch64_linux_gregset)
2691 (aarch64_linux_fpregset): New static regset structures.
2692 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
2693 of regset structures.
2694 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
2695 'fpregset' fields.
2696
2697 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2698
2699 * regset.h (struct regset): Remove gdbarch field.
2700 * regset.c (regset_alloc): Drop initialization of gdbarch field.
2701 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
2702 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
2703 Likewise.
2704 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
2705 (ppc32_linux_fpregset, ppc32_linux_vrregset)
2706 (ppc32_linux_vsxregset): Likewise.
2707 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
2708 via the regcache instead of the regset.
2709 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
2710 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
2711 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
2712 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
2713 Likewise.
2714
2715 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2716
2717 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
2718 Constify structures.
2719 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
2720 (alphanbsd_aout_gregset): Likewise.
2721 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
2722 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
2723 Likewise.
2724 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
2725 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
2726 Likewise.
2727 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
2728 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
2729 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
2730 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
2731 * m88k-tdep.c (m88k_gregset): Likewise.
2732 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
2733 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
2734 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
2735 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
2736 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
2737 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
2738 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
2739 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
2740 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
2741 Likewise.
2742 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
2743 * sh-tdep.h (sh_corefile_gregset): Likewise.
2744 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
2745 * vax-tdep.c (vax_gregset): Likewise.
2746
2747 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2748
2749 Fix TLS access for -static -pthread.
2750 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
2751 (try_thread_db_load_1): Initialize it.
2752 (thread_db_get_thread_local_address): Call it if LM is zero.
2753 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
2754 * target.h (struct target_ops) (to_get_thread_local_address): Add
2755 load_module_addr comment.
2756
2757 2014-05-21 Pedro Alves <palves@redhat.com>
2758
2759 * dcache.c (dcache_read_memory_partial): If reading the cache line
2760 fails, fallback to reading just the memory the caller wanted.
2761
2762 2014-05-20 Doug Evans <dje@google.com>
2763
2764 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
2765 instead of get_current_arch.
2766
2767 2014-05-20 Pedro Alves <palves@redhat.com>
2768
2769 * NEWS: Mention that compare-sections now works with all targets.
2770
2771 * remote.c (PACKET_qCRC): New enum value.
2772 (remote_verify_memory): Don't send qCRC if the target has no
2773 execution. Use packet_support/packet_ok. If the target doesn't
2774 support the qCRC packet, fallback to a deep memory copy.
2775 (compare_sections_command): Say "target image" instead of "remote
2776 executable".
2777 (_initialize_remote): Add PACKET_qCRC to the list of config
2778 packets that have no associated command. Extend comment.
2779 * target.c (simple_verify_memory, default_verify_memory): New
2780 function.
2781 * target.h (struct target_ops) <to_verify_memory>: Default to
2782 default_verify_memory.
2783 (simple_verify_memory): New declaration.
2784 * target-delegates.c: Regenerate.
2785
2786 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2787
2788 * record-btrace.c (record_btrace_step_thread): Check for empty history.
2789
2790 2014-05-20 Hui Zhu <hui@codesourcery.com>
2791 Yao Qi <yao@codesourcery.com>
2792
2793 PR backtrace/16558
2794 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
2795 and change address of sp and pc.
2796
2797 2014-05-19 Tom Tromey <tromey@redhat.com>
2798
2799 * gdbtypes.c (rank_function): Use XNEWVEC.
2800 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
2801
2802 2014-05-19 Doug Evans <dje@google.com>
2803
2804 * dwarf2read.c (build_type_psymtabs_1): Renamed from
2805 build_type_unit_groups and moved closer to only caller. Remove
2806 arguments. All references updated. Remove outdated .gdb_index
2807 comment.
2808 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
2809 build_type_psymtabs_1.
2810
2811 2014-05-19 Doug Evans <dje@google.com>
2812
2813 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
2814 n_type_unit_groups, all_type_unit_groups. All uses removed.
2815 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
2816 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
2817 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
2818 (add_type_unit_group_to_table): Delete.
2819
2820 2014-05-19 Doug Evans <dje@google.com>
2821
2822 * eval.c (evaluate_subexp_standard): Add some comments.
2823
2824 2014-05-17 Doug Evans <xdje42@gmail.com>
2825
2826 * progspace.c (remove_program_space): Delete, unused.
2827 * progspace.h (remove_program_space): Ditto.
2828
2829 2014-05-17 Doug Evans <xdje42@gmail.com>
2830
2831 * inferior.c (prune_inferiors): Fix comment.
2832 (remove_inferior_command): Call prune_program_spaces.
2833
2834 2014-05-16 Doug Evans <dje@google.com>
2835
2836 New command line option -D.
2837 * NEWS: Mention it.
2838 * main.c (set_gdb_data_directory): New function.
2839 (captured_main): Recognize -D. Flag error for --data-directory "".
2840 Call set_gdb_data_directory.
2841 (print_gdb_help): Print --data-directory, -D.
2842 * main.h (set_gdb_data_directory): Declare.
2843 * top.c (staged_gdb_datadir): New static global.
2844 (set_gdb_datadir): Call set_gdb_data_directory
2845 (show_gdb_datadir): New function.
2846 (init_main): Update init of data-directory parameter.
2847
2848 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
2849
2850 Import the "dirfd" gnulib module.
2851 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
2852 * gnulib/aclocal.m4: Update.
2853 * gnulib/config.in: Update.
2854 * gnulib/configure: Update.
2855 * gnulib/import/Makefile.am: Update.
2856 * gnulib/import/Makefile.in: Update.
2857 * gnulib/import/dirfd.c: New.
2858 * gnulib/import/m4/dirfd.m4: New.
2859 * gnulib/import/m4/gnulib-cache.m4: Update.
2860 * gnulib/import/m4/gnulib-comp.m4: Update.
2861
2862 2014-05-16 Pierre Muller <muller@sourceware.org>
2863 Yao Qi <yao@codesourcery.com>
2864
2865 * valprint.c (print_wchar): Move the code on checking whether
2866 W is a printable wide char to the default branch of switch
2867 statement below. Call wchar_printable instead of gdb_iswprint.
2868
2869 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
2870
2871 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
2872 ldr.w and ldrd instructions.
2873
2874 2014-05-15 Doug Evans <dje@google.com>
2875
2876 * dwarf2read.c (read_structure_type): Delete outdated comments.
2877
2878 2014-05-14 Tom Tromey <tromey@redhat.com>
2879
2880 * macrocmd.c (print_macro_definition): Reindent.
2881
2882 2014-05-13 Doug Evans <xdje42@gmail.com>
2883
2884 * python/py-cmd.c (cmdpy_completer): Add comment.
2885 (completers): Make const.
2886
2887 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
2888
2889 * infrun.c (resume): Remove should_resume (unused). Move up
2890 declaration of resume_ptid.
2891
2892 2014-05-13 Tom Tromey <tromey@redhat.com>
2893
2894 * language.h (unop_type_check): Remove.
2895 (binop_type_check): Don't declare.
2896
2897 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
2898
2899 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
2900 call to regcache_raw_collect.
2901
2902 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
2903
2904 * mi/mi-console.c (mi_console_raw_packet): Use the value from
2905 mi_console->quote as the quoting character.
2906
2907 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
2908
2909 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
2910
2911 2014-04-29 Tom Tromey <tromey@redhat.com>
2912
2913 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
2914 "show debug varobj".
2915
2916 2014-05-07 Kyle McMartin <kyle@redhat.com>
2917
2918 Pushed by Joel Brobecker <brobecker@adacore.com>.
2919 * aarch64-tdep.c (aarch64_software_single_step): New function.
2920 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
2921 with aarch64_software_single_step.
2922
2923 2014-05-05 Joel Brobecker <brobecker@adacore.com>
2924
2925 GDB 7.7.1 released.
2926
2927 2014-05-05 Keith Seitz <keiths@redhat.com>
2928
2929 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
2930 variable or history value is successfully parsed.
2931
2932 2014-05-05 Yao Qi <yao@codesourcery.com>
2933 Pedro Alves <palves@redhat.com>
2934
2935 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
2936 address of blocks that intersects the requested range. Trim
2937 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
2938 sections.
2939 * ctf.c (ctf_xfer_partial): Likewise.
2940
2941 2014-05-05 Yao Qi <yao@codesourcery.com>
2942
2943 * printcmd.c (display_command): Remove the check to
2944 target_has_execution.
2945
2946 2014-05-03 Mark Kettenis <kettenis@gnu.org>
2947
2948 * ppcobsd-nat.c: Include "obsd-nat.h".
2949 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
2950 add_target.
2951 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
2952
2953 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2954
2955 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
2956 and 16-bit signed and unsigned arguments. Update comment.
2957 (stap_parse_probe_arguments): Extend code to handle such
2958 arguments. Use warning instead of complaint to notify about
2959 unrecognized bitness.
2960
2961 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2962
2963 PR breakpoints/16889
2964 * stap-probe.c (stap_parse_probe_arguments): Simplify
2965 check for non-prefixed probes (i.e., probes whose
2966 arguments do not start with "N@"). Always set the
2967 argument type to a sane value.
2968
2969 2014-05-01 David Taylor <dtaylor@emc.com>
2970
2971 * remote.c (compare_sections_command): Add -r option to compare
2972 all loadable read-only sections.
2973
2974 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
2975
2976 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
2977 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
2978 Update all callers.
2979 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
2980 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
2981 Remove unused CORE_ADDR argument. Update all callers.
2982
2983 2014-04-29 Pedro Alves <palves@redhat.com>
2984
2985 * remote.c (struct packet_config) <detect>: Extend comment.
2986 (add_packet_config_cmd): Don't set the config's detect or support
2987 fields here.
2988 (init_all_packet_configs): Also initialize the config's 'detect'
2989 field.
2990 (reset_all_packet_configs_support): New function.
2991 (remote_open_1): Call reset_all_packet_configs_support instead of
2992 init_all_packet_configs.
2993 (_initialize_remote): Initialize all packet configs. Assert that
2994 all packets have an associated command, except a few known
2995 outliers.
2996
2997 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2998
2999 * dwarf2read.c (read_subrange_type): Handle dynamic
3000 DW_AT_lower_bound attributes.
3001
3002 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3003
3004 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
3005 dynamic bounds before computing its upper bound.
3006 (ada_discrete_type_low_bound): Same as above with the lower bound.
3007
3008 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3009
3010 * dwarf2read.c (is_dynamic_type): Return true for dynamic
3011 range types. Adjust the array handling implementation to
3012 take advantage of this change.
3013 (resolve_dynamic_range): New function, mostly extracted from
3014 resolve_dynamic_bounds.
3015 (resolve_dynamic_array): New function, mostly extracted from
3016 resolve_dynamic_bounds.
3017 (resolve_dynamic_bounds): Delete.
3018 (resolve_dynamic_type): Reimplement. Add handling of
3019 TYPE_CODE_RANGE types.
3020
3021 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3022
3023 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
3024 handling of parallel ___XA types.
3025
3026 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3027
3028 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
3029 unnecessary second call to static_unwrap_type.
3030
3031 2014-04-27 Hui Zhu <hui@codesourcery.com>
3032
3033 * stack.c (print_frame_info): Call do_gdb_disassembly with
3034 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
3035
3036 2014-04-26 Doug Evans <xdje42@gmail.com>
3037
3038 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
3039
3040 2014-04-25 Pedro Alves <palves@redhat.com>
3041
3042 PR server/16255
3043 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
3044 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
3045 and newline from built string.
3046 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
3047 (linux_ptrace_attach_fail_reason): ... this.
3048 * linux-nat.c (linux_nat_attach): Adjust to use
3049 linux_ptrace_attach_fail_reason.
3050
3051 2014-04-25 Pedro Alves <palves@redhat.com>
3052
3053 * remote.c (struct remote_state): Remove multi_process_aware,
3054 non_stop_aware, cond_tracepoints, cond_breakpoints,
3055 breakpoint_commands, fast_tracepoints, static_tracepoints,
3056 install_in_trace, disconnected_tracing,
3057 enable_disable_tracepoints, string_tracing, and
3058 augmented_libraries_svr4_read fields.
3059 (remote_multi_process_p): Move further below in the file.
3060 (struct packet_config): Add comments.
3061 (update_packet_config): Delete function.
3062 (show_packet_config_cmd): Use packet_config_support.
3063 (add_packet_config_cmd): Use NULL as set callback.
3064 (packet_ok): "set remote foo-packet"-style commands no longer
3065 change config->supported -- adjust.
3066 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
3067 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
3068 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
3069 (PACKET_QNonStop, PACKET_multiprocess_feature)
3070 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
3071 (PACKET_DisconnectedTracing_feature)
3072 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
3073 (set_remote_protocol_packet_cmd): Delete function.
3074 (packet_config_support, packet_support): New functions.
3075 (set_remote_protocol_Z_packet_cmd): Don't call
3076 update_packet_config.
3077 (remote_query_attached, remote_pass_signals)
3078 (remote_program_signals, remote_threads_info)
3079 (remote_threads_extra_info, remote_start_remote): Use
3080 packet_support.
3081 (remote_start_remote): Use packet_config_support and
3082 packet_support.
3083 (init_all_packet_configs): Set all packets to unknown support,
3084 instead of calling update_packet_config.
3085 (remote_check_symbols): Use packet_support.
3086 (remote_supported_packet): Unconditionally set the packet config's
3087 support status.
3088 (remote_multi_process_feature, remote_non_stop_feature)
3089 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
3090 (remote_breakpoint_commands_feature)
3091 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
3092 (remote_install_in_trace_feature)
3093 (remote_disconnected_tracing_feature)
3094 (remote_enable_disable_tracepoint_feature)
3095 (remote_string_tracing_feature)
3096 (remote_augmented_libraries_svr4_read_feature): Delete functions.
3097 (remote_protocol_features): Adjust to use remote_supported_packet
3098 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
3099 "ConditionalTracepoints", "ConditionalBreakpoints",
3100 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
3101 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
3102 "EnableDisableTracepoints", and "tracenz".
3103 (remote_query_supported): Use packet_support.
3104 (remote_open_1): Adjust.
3105 (extended_remote_attach_1): Use packet_support. Switch on the
3106 result of packet_ok instead of checking whether the packet ended
3107 up disabled.
3108 (remote_vcont_resume): Use packet_support.
3109 (remote_resume, remote_stop_ns, fetch_register_using_p)
3110 (remote_prepare_to_store, store_register_using_P)
3111 (check_binary_download, remote_write_bytes): Use packet_support.
3112 (remote_vkill): Use packet_support. Switch on the result of
3113 packet_ok instead of checking whether the packet ended up
3114 disabled.
3115 (extended_remote_supports_disable_randomization): Use
3116 packet_support.
3117 (extended_remote_run): Switch on the result of packet_ok instead
3118 of checking whether the packet ended up disabled.
3119 (remote_insert_breakpoint, remote_remove_breakpoint)
3120 (remote_insert_watchpoint, remote_remove_watchpoint)
3121 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
3122 packet_support.
3123 (remote_search_memory): Use packet_config_support.
3124 (remote_get_thread_local_address, remote_get_tib_address)
3125 (remote_hostio_send_command, remote_can_execute_reverse): Use
3126 packet_support.
3127 (remote_supports_cond_tracepoints)
3128 (remote_supports_cond_breakpoints)
3129 (remote_supports_fast_tracepoints)
3130 (remote_supports_static_tracepoints)
3131 (remote_supports_install_in_trace)
3132 (remote_supports_enable_disable_tracepoint)
3133 (remote_supports_string_tracing)
3134 (remote_can_run_breakpoint_commands): Rewrite, checking whether
3135 the packet config says the feature is enabled or disabled.
3136 (remote_download_tracepoint, remote_trace_set_readonly_regions)
3137 (remote_get_trace_status): Use packet_support.
3138 (remote_set_disconnected_tracing): Adjust to check whether the
3139 feature is enabled with packet_support.
3140 (remote_set_trace_buffer_size, remote_use_agent)
3141 (remote_can_use_agent, remote_supports_btrace): Use
3142 packet_support.
3143 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
3144 Use packet_config_support.
3145 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
3146 the packet config says the feature is enabled or disabled.
3147 (set_range_stepping): Use packet_support.
3148
3149 2014-04-25 Tom Tromey <tromey@redhat.com>
3150
3151 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
3152 argument.
3153
3154 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
3155
3156 * NEWS: Mention support for C99 variable length arrays.
3157
3158 2014-04-24 Joel Brobecker <brobecker@adacore.com>
3159
3160 * ada-lang.c (standard_exc): Expand introductory comment.
3161
3162 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3163 Walfred Tedeschi <walfred.tedeschi@intel.com>
3164
3165 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
3166 AVX512 registers.
3167 (amd64_linux_read_description): Add code to handle AVX512 xstate
3168 mask and return respective tdesc.
3169 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
3170 and features/i386/x32-avx512-linux.c.
3171 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
3172 (amd64_linux_core_read_description): Add code to handle AVX512
3173 xstate mask and return respective tdesc.
3174 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
3175 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
3176 calculation.
3177 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
3178 (tdesc_amd64_avx512_linux): New prototype.
3179 (tdesc_x32_avx512_linux): Likewise.
3180 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
3181 features/i386/x32-avx512.c.
3182 (amd64_ymm_avx512_names): New register names for pseudo
3183 registers YMM16-31.
3184 (amd64_ymmh_avx512_names): New register names for raw registers
3185 YMMH16-31.
3186 (amd64_k_names): New register names for K registers.
3187 (amd64_zmmh_names): New register names for ZMM raw registers.
3188 (amd64_zmm_names): New registers names for ZMM pseudo registers.
3189 (amd64_xmm_avx512_names): New register names for XMM16-31
3190 registers.
3191 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
3192 registers.
3193 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
3194 if feature is present.
3195 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
3196 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
3197 (AMD64_NUM_REGS): Adjust to new number of registers.
3198 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
3199 registers supplied via XSTATE by AVX512 registers.
3200 (i386_linux_read_description): Add case for AVX512.
3201 * i386-linux-tdep.c: Include i386-avx512-linux.c.
3202 (i386_linux_gregset_reg_offset): Add AVX512 registers.
3203 (i386_linux_core_read_description): Add case for AVX512.
3204 (i386_linux_init_abi): Install supported register note section
3205 for AVX512.
3206 (_initialize_i386_linux_tdep): Add call to tdesc init function for
3207 AVX512.
3208 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
3209 registers to be number of zmm7h + 1.
3210 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
3211 * i386-tdep.c: Include features/i386/i386-avx512.c.
3212 (i386_zmm_names): Add ZMM pseudo register names array.
3213 (i386_zmmh_names): Add ZMM raw register names array.
3214 (i386_k_names): Add K raw register names array.
3215 (num_lower_zmm_regs): Add constant for the number of lower ZMM
3216 registers. AVX512 has 16 more ZMM registers than there are YMM
3217 registers.
3218 (i386_zmmh_regnum_p): Add function to look up register number of
3219 ZMM raw registers.
3220 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
3221 (i386_k_regnum_p): Likewise for K raw registers.
3222 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
3223 registers added by AVX512.
3224 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
3225 registers added by AVX512.
3226 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
3227 added by AVX512.
3228 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
3229 (i386_pseudo_register_name): Add ZMM pseudo registers.
3230 (i386_zmm_type): Construct and return vector registers type for ZMM
3231 registers.
3232 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
3233 ZMM0-31 pseudo registers and K registers.
3234 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
3235 and YMM16-31 registers from register cache.
3236 (i386_pseudo_register_write): Add code to write K, ZMM and
3237 YMM16-31 registers.
3238 (i386_register_reggroup_p): Add code to include/exclude AVX512
3239 registers in/from respective register groups.
3240 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
3241 registers if feature is present in xcr0.
3242 (i386_gdbarch_init): Add code to initialize AVX512 feature
3243 variables in tdep structure, wire in pseudo registers and call
3244 initialize_tdesc_i386_avx512.
3245 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
3246 variables.
3247 (i386_regnum): Add AVX512 registers.
3248 (I386_SSE_NUM_REGS): New define for number of SSE registers.
3249 (I386_AVX_NUM_REGS): Likewise for AVX registers.
3250 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
3251 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
3252 512 bits wide.
3253 (i386_xmm_avx512_regnum_p): New prototype for register look up.
3254 (i386_ymm_avx512_regnum_p): Likewise.
3255 (i386_k_regnum_p): Likewise.
3256 (i386_zmm_regnum_p): Likewise.
3257 (i386_zmmh_regnum_p): Likewise.
3258 * i387-tdep.c : Update year in copyright notice.
3259 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
3260 XSAVE buffer.
3261 (XSAVE_YMM_AVX512_ADDR): New macro.
3262 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
3263 XSAVE buffer.
3264 (XSAVE_XMM_AVX512_ADDR): New macro.
3265 (xsave_avx512_k_offset): New table for K register offsets in
3266 XSAVE buffer.
3267 (XSAVE_AVX512_K_ADDR): New macro.
3268 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
3269 in XSAVE buffer.
3270 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
3271 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
3272 buffer.
3273 (i387_collect_xsave): Add code to collect AVX512 registers from
3274 XSAVE buffer.
3275 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
3276 of XMM16-31 registers.
3277 (I387_NUM_K_REGS): New define for number of K registers.
3278 (I387_K0_REGNUM): New define for K0 register number.
3279 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
3280 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
3281 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
3282 registers.
3283 (I387_YMM16H_REGNUM): New define for YMM16H register number.
3284 (I387_XMM16_REGNUM): New define for XMM16 register number.
3285 (I387_YMM0_REGNUM): New define for YMM0 register number.
3286 (I387_KEND_REGNUM): New define for last K register number.
3287 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
3288 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
3289 number.
3290 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
3291 number.
3292 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
3293 size.
3294 * features/Makefile: Add AVX512 related files.
3295 * features/i386/32bit-avx512.xml: New file.
3296 * features/i386/64bit-avx512.xml: Likewise.
3297 * features/i386/amd64-avx512-linux.c: Likewise.
3298 * features/i386/amd64-avx512-linux.xml: Likewise.
3299 * features/i386/amd64-avx512.c: Likewise.
3300 * features/i386/amd64-avx512.xml: Likewise.
3301 * features/i386/i386-avx512-linux.c: Likewise.
3302 * features/i386/i386-avx512-linux.xml: Likewise.
3303 * features/i386/i386-avx512.c: Likewise.
3304 * features/i386/i386-avx512.xml: Likewise.
3305 * features/i386/x32-avx512-linux.c: Likewise.
3306 * features/i386/x32-avx512-linux.xml: Likewise.
3307 * features/i386/x32-avx512.c: Likewise.
3308 * features/i386/x32-avx512.xml: Likewise.
3309 * regformats/i386/amd64-avx512-linux.dat: New file.
3310 * regformats/i386/amd64-avx512.dat: Likewise.
3311 * regformats/i386/i386-avx512-linux.dat: Likewise.
3312 * regformats/i386/i386-avx512.dat: Likewise.
3313 * regformats/i386/x32-avx512-linux.dat: Likewise.
3314 * regformats/i386/x32-avx512.dat: Likewise.
3315 * NEWS: Add note about new support for AVX512.
3316
3317
3318 2014-04-23 Pedro Alves <palves@redhat.com>
3319
3320 * breakpoint.c (insert_bp_location): Tolerate errors if the
3321 breakpoint is set in a user-loaded objfile.
3322 (remove_breakpoint_1): Likewise. Also tolerate errors if the
3323 location is marked shlib_disabled. If the breakpoint is set in a
3324 user-loaded objfile is a GDB-side memory breakpoint, validate it
3325 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
3326 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
3327 flag.
3328 * mem-break.c (memory_validate_breakpoint): New function.
3329 * objfiles.c (userloaded_objfile_contains_address_p): New
3330 function.
3331 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
3332 * target.h (memory_validate_breakpoint): New declaration.
3333
3334 2014-04-23 Pedro Alves <palves@redhat.com>
3335
3336 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
3337 the breakpoint is set in a shared library, only suppress
3338 errors for software breakpoints, not hardware breakpoints.
3339
3340 2014-04-22 Pedro Alves <palves@redhat.com>
3341
3342 * infrun.c (schedlock_applies): New function, factored out from
3343 find_thread_needs_step_over.
3344 (find_thread_needs_step_over): Use it.
3345 (switch_back_to_stepped_thread): Always clear trap_expected if the
3346 step over is finished. Return early if scheduler locking applies.
3347 Look for the stepping thread and a potential step-over thread with
3348 a single loop.
3349 (currently_stepping_or_nexting_callback): Delete.
3350
3351 2014-04-22 Nick Clifton <nickc@redhat.com>
3352
3353 * NEWS: Mention that ARM sim now supports tracing.
3354
3355 2014-04-22 Yao Qi <yao@codesourcery.com>
3356
3357 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
3358 to ...
3359 * tracefile.c (tracefile_fetch_registers): ... it. New
3360 function.
3361 * tracefile.h (tracefile_fetch_registers): Declare.
3362 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
3363 tracefile_fetch_registers.
3364
3365 2014-04-19 Eli Zaretskii <eliz@gnu.org>
3366
3367 PR gdb/14018
3368 * windows-nat.c (thread_rec): Don't display a warning when
3369 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
3370 fails for any reason, set th->suspended to -1, so that we don't
3371 try to resume such a thread. Also, don't return NULL in these
3372 cases, to avoid completely ruin the session due to "PC register is
3373 not available" error.
3374 (do_windows_fetch_inferior_registers): Check errors in
3375 GetThreadContext call.
3376 (windows_continue): Accept an additional argument KILLED; if not
3377 zero, ignore errors in the SetThreadContext call, since the
3378 inferior was killed and is shutting down.
3379 (windows_resume, get_windows_debug_event)
3380 (windows_create_inferior, windows_mourn_inferior)
3381 (windows_kill_inferior): All callers of windows_continue changed
3382 to adjust to its new calling sequence.
3383
3384 2014-04-19 Yao Qi <yao@codesourcery.com>
3385
3386 * ctf.c (ctf_open): Call post_create_inferior.
3387
3388 2014-04-19 Yao Qi <yao@codesourcery.com>
3389
3390 * ctf.c (handle_id): New static variable.
3391 (ctf_open_dir): Get handle_id from bt_context_add_trace return
3392 value. Get the declaration of event "register" and get length
3393 of field "contents".
3394
3395 2014-04-19 Yao Qi <yao@codesourcery.com>
3396
3397 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
3398
3399 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
3400
3401 * valops.c (oload_method_static): Remove unnecessary argument
3402 METHOD. Update all callers.
3403
3404 2014-04-18 Pedro alves <palves@redhat.com>
3405 Tom Tromey <tromey@redhat.com>
3406
3407 PR backtrace/15558
3408 * frame.c (get_prev_frame_1): Rename to ...
3409 (get_prev_frame_always): ... this, and make extern. Adjust.
3410 (skip_artificial_frames): Use get_prev_frame_always.
3411 (frame_unwind_caller_id, frame_pop, get_prev_frame)
3412 (get_frame_unwind_stop_reason): Adjust to rename.
3413 * frame.h (get_prev_frame_always): Declare.
3414 * inline-frame.c: Include frame.h.
3415 (inline_frame_this_id): Use get_prev_frame_always.
3416
3417 2014-04-18 Tristan Gingold <gingold@adacore.com>
3418
3419 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
3420 code by using bfd_mach_o_get_base_address.
3421
3422 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3423
3424 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
3425 (spu_ax_pseudo_register_collect): New function.
3426 (spu_ax_pseudo_register_push_stack): Likewise.
3427 (spu_dwarf_reg_to_regnum): Likewise.
3428 (spu_gdbarch_init): Install them. Append DWARF unwinders.
3429
3430 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3431
3432 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
3433 Replace FRAME argument with FRAME_ID.
3434 * gdbarch.c, gdbarch.h: Regenerate.
3435 * findvar.c (default_value_from_register): Add GDBARCH argument;
3436 replace FRAME by FRAME_ID. No longer call get_frame_id.
3437 (value_from_register): Update call to gdbarch_value_from_register.
3438 * value.h (default_value_from_register): Update prototype.
3439 * s390-linux-tdep.c (s390_value_from_register): Update interface
3440 and call to default_value_from_register.
3441 * spu-tdep.c (spu_value_from_register): Likewise.
3442
3443 * findvar.c (address_from_register): Remove TYPE argument.
3444 Do not call value_from_register; use gdbarch_value_from_register
3445 with null_frame_id instead.
3446 * value.h (address_from_register): Update prototype.
3447 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
3448 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
3449 address_from_register interface change.
3450
3451 2014-04-17 Yao Qi <yao@codesourcery.com>
3452
3453 * gdbtypes.h: Update comments to link to types and macros'
3454 definitions.
3455
3456 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
3457
3458 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
3459
3460 2014-04-16 Keith Seitz <keiths@redhat.com>
3461
3462 PR gdb/15827
3463 * dwarf2read.c (skip_one_die): Check that all relative-offset
3464 sibling DIEs fall within range of the current reader's buffer.
3465 (read_partial_die): Likewise.
3466
3467 2014-04-16 Keith Seitz <keiths@redhat.com>
3468
3469 PR c++/16597
3470 * cp-namespace.c (lookup_symbol_file): If the type name of
3471 `this' is NULL, return immediately.
3472
3473 2014-04-14 Keith Seitz <keiths@redhat.com>
3474
3475 PR c++/16253
3476 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3477 from symbol_matches_domain in symtab.c. All local callers
3478 of symbol_matches_domain updated.
3479 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3480 search STRUCT_DOMAIN.
3481 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3482 independently. standard_lookup will do that automatically.
3483 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3484 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3485 (cp_lookup_symbol_in_namespace): Likewise.
3486 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3487 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3488 may return a STRUCT_DOMAIN match.
3489 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3490 * cp-support.c: Include language.h.
3491 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3492 VAR_DOMAIN.
3493 * psymtab.c (match_partial_symbol): Compare the requested
3494 domain with the symbol's domain directly.
3495 (lookup_partial_symbol): Likewise.
3496 * symtab.c (lookup_symbol_in_language): Explain when/why
3497 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3498 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3499 appropriate languages.
3500 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3501 and moved to ada-lang.c
3502 (lookup_block_symbol): Explain that this function only returns
3503 symbol matching the requested DOMAIN.
3504 Compare the requested domain with the symbol's domain directly.
3505 (iterate_over_symbols): Compare the requested domain with the
3506 symbol's domain directly.
3507 * symtab.h (symbol_matches_domain): Remove.
3508
3509 2014-04-14 Tom Tromey <tromey@redhat.com>
3510
3511 PR c++/15246:
3512 * c-exp.y (type_aggregate_p): New function.
3513 (qualified_name, classify_inner_name): Use it.
3514 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
3515 and TYPE_TARGET_TYPE of an enum type.
3516 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
3517 an enum type.
3518 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
3519 handle TYPE_DECLARED_CLASS.
3520 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
3521 types.
3522 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
3523 * valops.c (enum_constant_from_type): New function.
3524 (value_aggregate_elt): Use it.
3525 * cp-namespace.c (cp_lookup_nested_symbol): Handle
3526 TYPE_CODE_ENUM.
3527
3528 2014-04-14 Tom Tromey <tromey@redhat.com>
3529
3530 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
3531 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
3532 const.
3533 * value.h (value_aggregate_elt): Update.
3534
3535 2014-04-14 Tom Tromey <tromey@redhat.com>
3536
3537 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
3538
3539 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3540
3541 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3542 (evaluate_subexp_standard): Pass noside argument.
3543 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3544 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3545 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3546 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3547 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3548
3549 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3550
3551 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3552 points to a constant blob.
3553
3554 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3555
3556 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3557 property and store it as the high bound and flag the range accordingly.
3558 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3559 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3560 * gdbtypes.h (enum range_flags): New enum.
3561 (struct range_bounds): Add flags member.
3562
3563 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3564
3565 * c-typeprint.c (c_type_print_varspec_suffix): Added
3566 check for not yet resolved high bound. If unresolved, print
3567 "variable length" string to the console instead of random
3568 length.
3569
3570 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3571
3572 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
3573 value.
3574 (ada_template_to_fixed_record_type_1): Likewise.
3575 (ada_to_fixed_type_1): Likewise.
3576 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3577 (cp_print_value): Likewise.
3578 * d-valprint.c (dynamic_array_type): Likewise.
3579 * findvar.c (address_of_variable): Likewise.
3580 * jv-valprint.c (java_value_print): Likewise.
3581 * valops.c (value_ind): Likewise.
3582 * value.c (coerce_ref): Likewise.
3583
3584 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3585
3586 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3587 value and retrieve the dynamic type size.
3588
3589 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3590
3591 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3592 passed to sizeof is dynamic evaluate the argument to compute the length.
3593
3594 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3595 Joel Brobecker <brobecker@adacore.com>
3596
3597 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3598 (dwarf2_evaluate_property): New function.
3599 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3600 * dwarf2read.c (attr_to_dynamic_prop): New function.
3601 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3602 attribute.
3603 * gdbtypes.c: Include dwarf2loc.h.
3604 (is_dynamic_type): New function.
3605 (resolve_dynamic_type): New function.
3606 (resolve_dynamic_bounds): New function.
3607 (get_type_length): New function.
3608 (check_typedef): Use get_type_length to compute type length.
3609 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3610 (TYPE_LOW_BOUND_KIND): New macro.
3611 (is_dynamic_type): New function prototype.
3612 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3613 to resolve dynamic properties of the type. Update comment.
3614 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3615
3616 2014-04-14 Richard Henderson <rth@redhat.com>
3617
3618 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
3619
3620 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3621 Doug Evans <xdje42@gmail.com>
3622
3623 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
3624 dereference TYPE_CODE_REF values.
3625
3626 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3627
3628 Revert the following changes due to regressions:
3629
3630 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3631 (dwarf2_evaluate_property): New function.
3632 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3633 * dwarf2read.c (attr_to_dynamic_prop): New function.
3634 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3635 attribute.
3636 * gdbtypes.c: Include dwarf2loc.h.
3637 (is_dynamic_type): New function.
3638 (resolve_dynamic_type): New function.
3639 (resolve_dynamic_bounds): New function.
3640 (get_type_length): New function.
3641 (check_typedef): Use get_type_length to compute type length.
3642 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3643 (TYPE_LOW_BOUND_KIND): New macro.
3644 (is_dynamic_type): New function prototype.
3645 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3646 to resolve dynamic properties of the type. Update comment.
3647 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3648
3649 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3650 passed to sizeof is dynamic evaluate the argument to compute the length.
3651
3652 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3653 value and retrieve the dynamic type size.
3654
3655 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
3656 (ada_template_to_fixed_record_type_1): Likewise.
3657 (ada_to_fixed_type_1): Likewise.
3658 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3659 (cp_print_value): Likewise.
3660 * d-valprint.c (dynamic_array_type): Likewise.
3661 * eval.c (evaluate_subexp_with_coercion): Likewise.
3662 * findvar.c (address_of_variable): Likewise.
3663 * jv-valprint.c (java_value_print): Likewise.
3664 * valops.c (value_ind): Likewise.
3665 * value.c (coerce_ref): Likewise.
3666
3667 * c-typeprint.c (c_type_print_varspec_suffix): Added
3668 check for not yet resolved high bound. If unresolved, print
3669 "variable length" string to the console instead of random
3670 length.
3671
3672 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3673 property and store it as the high bound and flag the range accordingly.
3674 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3675 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3676 * gdbtypes.h (enum range_flags): New enum.
3677 (struct range_bounds): Add flags member.
3678
3679 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3680 points to a constant blob.
3681
3682 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3683 (evaluate_subexp_standard): Pass noside argument.
3684 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3685 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3686 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3687 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3688 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3689
3690 2014-04-11 Keith Seitz <keiths@redhat.com>
3691
3692 PR c++/16675
3693 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
3694 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
3695 reference types.
3696
3697 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3698
3699 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3700 (evaluate_subexp_standard): Pass noside argument.
3701 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3702 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3703 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3704 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3705 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3706
3707 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3708
3709 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3710 points to a constant blob.
3711
3712 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3713
3714 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
3715 property and store it as the high bound and flag the range accordingly.
3716 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
3717 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
3718 * gdbtypes.h (enum range_flags): New enum.
3719 (struct range_bounds): Add flags member.
3720
3721 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3722
3723 * c-typeprint.c (c_type_print_varspec_suffix): Added
3724 check for not yet resolved high bound. If unresolved, print
3725 "variable length" string to the console instead of random
3726 length.
3727
3728 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3729
3730 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
3731 (ada_template_to_fixed_record_type_1): Likewise.
3732 (ada_to_fixed_type_1): Likewise.
3733 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
3734 (cp_print_value): Likewise.
3735 * d-valprint.c (dynamic_array_type): Likewise.
3736 * eval.c (evaluate_subexp_with_coercion): Likewise.
3737 * findvar.c (address_of_variable): Likewise.
3738 * jv-valprint.c (java_value_print): Likewise.
3739 * valops.c (value_ind): Likewise.
3740 * value.c (coerce_ref): Likewise.
3741
3742 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3743
3744 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
3745 value and retrieve the dynamic type size.
3746
3747 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3748
3749 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
3750 passed to sizeof is dynamic evaluate the argument to compute the length.
3751
3752 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3753
3754 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
3755 (dwarf2_evaluate_property): New function.
3756 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
3757 * dwarf2read.c (attr_to_dynamic_prop): New function.
3758 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
3759 attribute.
3760 * gdbtypes.c: Include dwarf2loc.h.
3761 (is_dynamic_type): New function.
3762 (resolve_dynamic_type): New function.
3763 (resolve_dynamic_bounds): New function.
3764 (get_type_length): New function.
3765 (check_typedef): Use get_type_length to compute type length.
3766 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
3767 (TYPE_LOW_BOUND_KIND): New macro.
3768 (is_dynamic_type): New function prototype.
3769 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
3770 to resolve dynamic properties of the type. Update comment.
3771 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
3772
3773 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3774
3775 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
3776 declaring high/low bounds and change uses accordingly. Call
3777 create_range_type instead of create_static_range_type.
3778 * gdbtypes.c (create_range_type): New function.
3779 (create_range_type): Convert bounds into struct bound_prop and pass
3780 them to create_range_type.
3781 * gdbtypes.h (struct bound_prop): New struct.
3782 (create_range_type): New function prototype.
3783 (struct range_bounds): Use struct bound_prop instead of LONGEST for
3784 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
3785 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
3786 part of the bound.
3787 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
3788
3789 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3790
3791 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
3792 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
3793 * ada-lang.c: All uses of create_range_type updated.
3794 * coffread.c: All uses of create_range_type updated.
3795 * dwarf2read.c: All uses of create_range_type updated.
3796 * f-exp.y: All uses of create_range_type updated.
3797 * m2-valprint.c: All uses of create_range_type updated.
3798 * mdebugread.c: All uses of create_range_type updated.
3799 * stabsread.c: All uses of create_range_type updated.
3800 * valops.c: All uses of create_range_type updated.
3801 * valprint.c: All uses of create_range_type updated.
3802
3803 2014-04-10 Pedro Alves <palves@redhat.com>
3804
3805 * breakpoint.c (single_step_breakpoints)
3806 (single_step_gdbarch): Move up in the file.
3807 (one_breakpoint_xfer_memory): New function, factored out from ...
3808 (breakpoint_xfer_memory): ... here. Also process single-step
3809 breakpoints.
3810
3811 2014-04-09 Tristan Gingold <gingold@adacore.com>
3812
3813 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
3814 comments.
3815 (darwin_decode_exception_message): Free port only after use.
3816
3817 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
3818
3819 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
3820 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
3821 when setting the size of call_length.
3822
3823 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3824
3825 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
3826 dereference TYPE_CODE_REF values.
3827
3828 2014-04-07 Joel Brobecker <brobecker@adacore.com>
3829
3830 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
3831 end of warning message.
3832
3833 2014-04-03 Doug Evans <dje@google.com>
3834
3835 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
3836 of stub_comp_unit_die, stub_comp_dir is non-NULL.
3837
3838 2014-04-02 Alan Modra <amodra@gmail.com>
3839
3840 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
3841 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
3842 (struct symbol_file_add_from_memory_args): Add size field.
3843 (find_vdso_size): New function.
3844 (add_vsyscall_page): Attempt to find vdso size.
3845
3846 2014-04-01 Doug Evans <dje@google.com>
3847
3848 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
3849
3850 2014-04-01 Tristan Gingold <gingold@adacore.com>
3851
3852 * darwin-nat.c (darwin_encode_reply): Add prototype.
3853 (darwin_decode_exception_message): Reply to unknown inferiors.
3854 (darwin_decode_message): Handle message by id. Ignore message
3855 to unknown inferior.
3856 (darwin_wait): Discard unknown messages, add debug trace.
3857
3858 2014-03-31 Doug Evans <dje@google.com>
3859
3860 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
3861 comp_dir_string.
3862
3863 2014-03-31 Doug Evans <dje@google.com>
3864
3865 New option "set print symbol-loading".
3866 * NEWS: Mention it.
3867 * solib.c (solib_read_symbols): Only print symbol loading messages
3868 if requested.
3869 (solib_add): If symbol loading is in "brief" mode, notify user
3870 symbols are being loaded.
3871 (reload_shared_libraries_1): Ditto.
3872 * symfile.c (print_symbol_loading_off): New static global.
3873 (print_symbol_loading_brief): New static global.
3874 (print_symbol_loading_full): New static global.
3875 (print_symbol_loading_enums): New static global.
3876 (print_symbol_loading): New static global.
3877 (print_symbol_loading_p): New function.
3878 (symbol_file_add_with_addrs): Only print symbol loading messages
3879 if requested.
3880 (_initialize_symfile): Register "print symbol-loading" set/show
3881 command.
3882 * symfile.h (print_symbol_loading_p): Declare.
3883
3884 2014-03-30 Doug Evans <xdje42@gmail.com>
3885
3886 * infrun.c (set_last_target_status): New function.
3887 (handle_inferior_event): Call it.
3888
3889 2014-03-30 Doug Evans <xdje42@gmail.com>
3890
3891 * inferior.h (enum stop_kind): Improve comment.
3892
3893 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3894
3895 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
3896 a reference, strip the reference layer before calling
3897 the lang_ops value_has_mutated callback.
3898
3899 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
3900
3901 Remove some globals from our parser.
3902 * language.c (unk_lang_parser): Add "struct parser_state"
3903 argument.
3904 * language.h (struct language_defn) <la_parser>: Likewise.
3905 * parse.c (expout, expout_size, expout_ptr): Remove variables.
3906 (initialize_expout): Add "struct parser_state" argument.
3907 Rewrite function to use the parser state.
3908 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
3909 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
3910 write_exp_elt_longcst, write_exp_elt_dblcst,
3911 write_exp_elt_decfloatcst, write_exp_elt_type,
3912 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
3913 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
3914 write_dollar_variable): Likewise.
3915 (parse_exp_in_context_1): Use parser state.
3916 (insert_type_address_space): Add "struct parser_state" argument.
3917 Use parser state.
3918 (increase_expout_size): New function.
3919 * parser-defs.h: Forward declare "struct language_defn" and
3920 "struct parser_state".
3921 (expout, expout_size, expout_ptr): Remove extern declarations.
3922 (parse_gdbarch, parse_language): Rewrite macro declarations to
3923 accept the parser state.
3924 (struct parser_state): New struct.
3925 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
3926 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
3927 write_exp_elt_decfloatcst, write_exp_elt_type,
3928 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
3929 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
3930 write_exp_msymbol, write_dollar_variable,
3931 mark_struct_expression, insert_type_address_space): Add "struct
3932 parser_state" argument.
3933 (increase_expout_size): New function.
3934 * utils.c (do_clear_parser_state): New function.
3935 (make_cleanup_clear_parser_state): Likewise.
3936 * utils.h (make_cleanup_clear_parser_state): New function
3937 prototype.
3938 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
3939 Update calls to write_exp* in order to pass the parser state.
3940 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
3941 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
3942 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3943 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
3944 * stap-probe.c (stap_parse_register_operand): Likewise.
3945 (stap_parse_single_operand): Likewise.
3946 (stap_parse_argument_1): Likewise.
3947 (stap_parse_argument): Use parser state.
3948 * stap-probe.h: Include "parser-defs.h".
3949 (struct stap_parse_info) <pstate>: New field.
3950 * c-exp.y (parse_type): Rewrite to use parser state.
3951 (yyparse): Redefine to c_parse_internal.
3952 (pstate): New global variable.
3953 (parse_number): Add "struct parser_state" argument.
3954 (write_destructor_name): Likewise.
3955 (type_exp): Update calls to write_exp* and similars in order to
3956 use parser state.
3957 (exp1, exp, variable, qualified_name, space_identifier,
3958 typename, typebase): Likewise.
3959 (write_destructor_name, parse_number, lex_one_token,
3960 classify_name, classify_inner_name, c_parse): Add "struct
3961 parser_state" argument. Update function to use parser state.
3962 * c-lang.h: Forward declare "struct parser_state".
3963 (c_parse): Add "struct parser_state" argument.
3964 * ada-exp.y (parse_type): Rewrite macro to use parser state.
3965 (yyparse): Redefine macro to ada_parse_internal.
3966 (pstate): New variable.
3967 (write_int, write_object_renaming, write_var_or_type,
3968 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
3969 type_int, type_long, type_long_long, type_float, type_double,
3970 type_long_double, type_char, type_boolean, type_system_address):
3971 Add "struct parser_state" argument.
3972 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
3973 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
3974 var_or_type, aggregate, aggregate_component_list,
3975 positional_list, others, component_group,
3976 component_associations): Update calls to write_exp* and similar
3977 functions in order to use parser state.
3978 (ada_parse, write_var_from_sym, write_int,
3979 write_exp_op_with_string, write_object_renaming,
3980 find_primitive_type, write_selectors, write_ambiguous_var,
3981 write_var_or_type, write_name_assoc, type_int, type_long,
3982 type_long_long, type_float, type_double, type_long_double,
3983 type_char, type_boolean, type_system_address): Add "struct
3984 parser_state" argument. Adjust function to use parser state.
3985 * ada-lang.c (parse): Likewise.
3986 * ada-lang.h: Forward declare "struct parser_state".
3987 (ada_parse): Add "struct parser_state" argument.
3988 * ada-lex.l (processInt, processReal): Likewise. Adjust all
3989 calls to both functions.
3990 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
3991 parser state.
3992 (yyparse): Redefine macro to f_parse_internal.
3993 (pstate): New variable.
3994 (parse_number): Add "struct parser_state" argument.
3995 (type_exp, exp, subrange, typebase): Update calls to write_exp*
3996 and similars in order to use parser state.
3997 (parse_number): Adjust code to use parser state.
3998 (yylex): Likewise.
3999 (f_parse): New function.
4000 * f-lang.h: Forward declare "struct parser_state".
4001 (f_parse): Add "struct parser_state" argument.
4002 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
4003 parser state.
4004 (yyparse): Redefine macro for java_parse_internal.
4005 (pstate): New variable.
4006 (push_expression_name, push_expression_name, insert_exp): Add
4007 "struct parser_state" argument.
4008 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
4009 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
4010 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
4011 PostIncrementExpression, PostDecrementExpression,
4012 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
4013 UnaryExpressionNotPlusMinus, CastExpression,
4014 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
4015 RelationalExpression, EqualityExpression, AndExpression,
4016 ExclusiveOrExpression, InclusiveOrExpression,
4017 ConditionalAndExpression, ConditionalOrExpression,
4018 ConditionalExpression, Assignment, LeftHandSide): Update
4019 calls to write_exp* and similars in order to use parser state.
4020 (parse_number): Ajust code to use parser state.
4021 (yylex): Likewise.
4022 (java_parse): New function.
4023 (push_variable): Add "struct parser_state" argument. Adjust
4024 code to user parser state.
4025 (push_fieldnames, push_qualified_expression_name,
4026 push_expression_name, insert_exp): Likewise.
4027 * jv-lang.h: Forward declare "struct parser_state".
4028 (java_parse): Add "struct parser_state" argument.
4029 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
4030 parser state.
4031 (yyparse): Redefine macro to m2_parse_internal.
4032 (pstate): New variable.
4033 (type_exp, exp, fblock, variable, type): Update calls to
4034 write_exp* and similars to use parser state.
4035 (yylex): Likewise.
4036 (m2_parse): New function.
4037 * m2-lang.h: Forward declare "struct parser_state".
4038 (m2_parse): Add "struct parser_state" argument.
4039 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
4040 * objc-lang.h: Forward declare "struct parser_state".
4041 (end_msglist): Add "struct parser_state" argument.
4042 * p-exp.y (parse_type): Rewrite macro to use parser state.
4043 (yyparse): Redefine macro to pascal_parse_internal.
4044 (pstate): New variable.
4045 (parse_number): Add "struct parser_state" argument.
4046 (type_exp, exp1, exp, qualified_name, variable): Update calls to
4047 write_exp* and similars in order to use parser state.
4048 (parse_number, yylex): Adjust code to use parser state.
4049 (pascal_parse): New function.
4050 * p-lang.h: Forward declare "struct parser_state".
4051 (pascal_parse): Add "struct parser_state" argument.
4052 * go-exp.y (parse_type): Rewrite macro to use parser state.
4053 (yyparse): Redefine macro to go_parse_internal.
4054 (pstate): New variable.
4055 (parse_number): Add "struct parser_state" argument.
4056 (type_exp, exp1, exp, variable, type): Update calls to
4057 write_exp* and similars in order to use parser state.
4058 (parse_number, lex_one_token, classify_name, yylex): Adjust code
4059 to use parser state.
4060 (go_parse): Likewise.
4061 * go-lang.h: Forward declare "struct parser_state".
4062 (go_parse): Add "struct parser_state" argument.
4063
4064 2014-03-27 Doug Evans <dje@google.com>
4065
4066 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
4067
4068 2014-03-27 Doug Evans <dje@google.com>
4069
4070 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
4071 Remove argument abbrev_section. All callers updated.
4072
4073 2014-03-27 Doug Evans <dje@google.com>
4074
4075 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
4076 addr_base, ranges_base.
4077
4078 2014-03-26 Keith Seitz <keiths@redhat.com>
4079
4080 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
4081 types, not VAR_DOMAIN.
4082
4083 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
4084
4085 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
4086 "ra" registers.
4087 * features/nios2-linux.c: Regenerated.
4088 * features/nios2.c: Regenerated.
4089
4090 2014-03-25 Pedro Alves <palves@redhat.com>
4091
4092 * cli/cli-script.c (script_from_file): Force the interpreter to
4093 sync mode.
4094
4095 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
4096
4097 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
4098 small stack allocation.
4099
4100 2014-03-24 Tristan Gingold <gingold@adacore.com>
4101
4102 * darwin-nat.c (exc_server): Remove unused prototype.
4103 (darwin_dump_message): Correctly display data on x86_64.
4104 (darwin_encode_reply): Fix style.
4105 Add comments and fix indentation.
4106
4107 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
4108
4109 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
4110
4111 2014-03-22 Doug Evans <xdje42@gmail.com>
4112
4113 * infcmd.c: Whitespace fixes.
4114 (interrupt_command): Merge two function comments into one.
4115
4116 2014-03-22 Doug Evans <xdje42@gmail.com>
4117
4118 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
4119 All uses updated.
4120
4121 2014-03-22 Yao Qi <yao@codesourcery.com>
4122
4123 * remote.c (target_read_live_memory): Remove.
4124 (memory_xfer_live_readonly_partial): Rename it to
4125 remote_xfer_live_readonly_partial. Remove argument 'object'.
4126 All callers updated. Call remote_read_bytes_1
4127 instead of target_read_live_memory.
4128 * tracepoint.c (set_traceframe_number): Remove.
4129 (make_cleanup_restore_traceframe_number): Likewise .
4130 * tracepoint.h (set_traceframe_number): Remove declaration.
4131 (make_cleanup_restore_traceframe_number): Likewise.
4132
4133 2014-03-22 Yao Qi <yao@codesourcery.com>
4134
4135 * remote.c (remote_read_bytes): Move code on reading from the
4136 remote stub to ...
4137 (remote_read_bytes_1): ... here. New function.
4138
4139 2014-03-22 Yao Qi <yao@codesourcery.com>
4140
4141 * ctf.c (ctf_xfer_partial): Check the return value of
4142 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
4143 return TARGET_XFER_UNAVAILABLE.
4144 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4145 * target.c (target_read_live_memory): Move it to remote.c.
4146 (memory_xfer_live_readonly_partial): Likewise.
4147 (memory_xfer_partial_1): Move some code to remote_read_bytes.
4148 * remote.c (target_read_live_memory): Moved from target.c.
4149 (memory_xfer_live_readonly_partial): Likewise.
4150 (remote_read_bytes): Factored out from
4151 memory_xfer_partial_1.
4152
4153 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
4154
4155 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
4156 NULL pointer.
4157
4158 2014-03-21 Pedro Alves <palves@redhat.com>
4159
4160 * infrun.c (normal_stop): Extend comment.
4161
4162 2014-03-21 Hui Zhu <hui@codesourcery.com>
4163 Pedro Alves <palves@redhat.com>
4164
4165 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
4166 static buffer.
4167 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
4168 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
4169 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
4170
4171 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
4172
4173 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
4174 `z' formatted output modifier.
4175
4176 2014-03-20 Tom Tromey <tromey@redhat.com>
4177 Sergio Durigan Junior <sergiodj@redhat.com>
4178
4179 * probe.c (parse_probes): Turn assert into an ordinary error.
4180 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
4181 exceptions when parsing probes. Rearrange the code for clarity.
4182
4183 2014-03-20 Tom Tromey <tromey@redhat.com>
4184
4185 PR gdb/14135
4186 * top.c (execute_command): Only dispatch events if the command
4187 started the target.
4188
4189 2014-03-20 Tom Tromey <tromey@redhat.com>
4190
4191 PR cli/15718
4192 * infcall.c: Include event-top.h.
4193 (run_inferior_call): Call async_disable_stdin if needed.
4194
4195 2014-03-20 Pedro Alves <palves@redhat.com>
4196
4197 * infrun.c (prepare_to_proceed): Delete.
4198 (thread_still_needs_step_over): New function.
4199 (find_thread_needs_step_over): New function.
4200 (proceed): If the current thread needs a step-over, set its
4201 steping_over_breakpoint flag. Adjust to use
4202 find_thread_needs_step_over instead of prepare_to_proceed.
4203 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
4204 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
4205 breakpoint.
4206 (switch_back_to_stepped_thread): Step over breakpoints of all
4207 threads not the stepping thread, before switching back to the
4208 stepping thread.
4209
4210 2014-03-20 Pedro Alves <palves@redhat.com>
4211
4212 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
4213 extern.
4214 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
4215 * infrun.c (saved_singlestep_ptid)
4216 (stepping_past_singlestep_breakpoint): Delete.
4217 (resume): Remove stepping_past_singlestep_breakpoint handling.
4218 (proceed): Store the prev_pc of the stepping thread too.
4219 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
4220 singlestep_pc.
4221 (enum infwait_states): Delete infwait_thread_hop_state.
4222 (struct execution_control_state) <hit_singlestep_breakpoint>: New
4223 field.
4224 (handle_inferior_event): Adjust.
4225 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
4226 handling and the thread-hop code. Before removing single-step
4227 breakpoints, check whether the thread hit a single-step breakpoint
4228 of another thread. If it did, the trap is not a random signal.
4229 (switch_back_to_stepped_thread): If the event thread hit a
4230 single-step breakpoint, unblock it before switching to the
4231 stepping thread. Handle the case of the stepped thread having
4232 advanced already.
4233 (keep_going): Handle the case of the current thread moving past a
4234 single-step breakpoint.
4235
4236 2014-03-20 Pedro Alves <palves@redhat.com>
4237
4238 PR breakpoints/7143
4239 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
4240 are being stepped over.
4241 (breakpoint_address_match): Make extern.
4242 * breakpoint.h (breakpoint_address_match): New declaration.
4243 * inferior.h (stepping_past_instruction_at): New declaration.
4244 * infrun.c (struct step_over_info): New type.
4245 (step_over_info): New global.
4246 (set_step_over_info, clear_step_over_info)
4247 (stepping_past_instruction_at): New functions.
4248 (handle_inferior_event): Clear the step-over info when
4249 trap_expected is cleared.
4250 (resume): Remove now stale comment.
4251 (clear_proceed_status): Clear step-over info.
4252 (proceed): Adjust step-over handling to set or clear the step-over
4253 info instead of removing all breakpoints.
4254 (handle_signal_stop): When setting up a thread-hop, don't remove
4255 breakpoints here.
4256 (stop_stepping): Clear step-over info.
4257 (keep_going): Adjust step-over handling to set or clear step-over
4258 info and then always inserting breakpoints, instead of removing
4259 all breakpoints when stepping over one.
4260
4261 2014-03-20 Pedro Alves <palves@redhat.com>
4262
4263 * infrun.c (previous_inferior_ptid): Adjust comment.
4264 (deferred_step_ptid): Delete.
4265 (infrun_thread_ptid_changed, prepare_to_proceed)
4266 (init_wait_for_inferior): Adjust.
4267 (handle_signal_stop): Delete deferred_step_ptid handling.
4268
4269 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 PR gdb/15358
4272 * defs.h (sync_quit_force_run): New declaration.
4273 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
4274 * event-top.c (async_sigterm_handler): New declaration.
4275 (async_sigterm_token): New variable.
4276 (async_init_signals): Create also async_sigterm_token.
4277 (async_sigterm_handler): New function.
4278 (sync_quit_force_run): New variable.
4279 (handle_sigterm): Replace quit_force call by other calls.
4280 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
4281
4282 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
4283
4284 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
4285 offset into SPE pseudo registers.
4286
4287 2014-03-18 Pedro Alves <palves@redhat.com>
4288
4289 PR gdb/13860
4290 * inferior.h (print_stop_event): Declare.
4291 * infrun.c (print_stop_event): New, factored out from ...
4292 (normal_stop): ... this.
4293 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
4294 of bpstat_print/print_stack_frame.
4295
4296 2014-03-17 Tom Tromey <tromey@redhat.com>
4297
4298 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
4299
4300 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
4301
4302 * ada-lang.c (decode_constrained_packed_array): Perform a
4303 minimal coercion for reference with coerce_ref instead of
4304 ada_coerce_ref.
4305
4306 2014-03-17 Tristan Gingold <gingold@adacore.com>
4307
4308 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
4309 (darwin_solib_create_inferior_hook): Emit a warning if version
4310 is unhandled.
4311
4312 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
4313
4314 * python/py-value.c (get_field_flag): Cast flag_name argument to
4315 PyObject_GetAttrString to support Python 2.4.
4316
4317 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4318
4319 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
4320 (Global Maintainers): Remove Jan Kratochvil.
4321
4322 2014-03-14 Pedro Alves <palves@redhat.com>
4323
4324 * inferior.h (terminal_ours_for_output): Rename to ...
4325 (child_terminal_ours_for_output): ... this.
4326 (terminal_save_ours): Rename to ...
4327 (child_terminal_save_ours): ... this.
4328 (terminal_ours): Rename to ...
4329 (child_terminal_ours): ... this.
4330 (terminal_inferior): Rename to ...
4331 (child_terminal_inferior): ... this.
4332 (terminal_init_inferior): Rename to ...
4333 (child_terminal_init_inferior): ... this.
4334 (terminal_init_inferior_with_pgrp): Rename to ...
4335 (child_terminal_init_inferior_with_pgrp): ... this.
4336 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
4337 (child_terminal_init_with_pgrp): ... this.
4338 (terminal_save_ours): Rename to ...
4339 (child_terminal_save_ours): ... this.
4340 (terminal_init_inferior): Rename to ...
4341 (child_terminal_init): ... this. Adjust.
4342 (terminal_inferior): Rename to ...
4343 (child_terminal_inferior): ... this.
4344 (terminal_ours_for_output): Rename to ...
4345 (child_terminal_ours_for_output): ... this. Adjust.
4346 (terminal_ours): Rename to ...
4347 (child_terminal_ours): ... this.
4348 (terminal_ours_1): Rename to ...
4349 (child_terminal_ours_1): ... this. Adjust.
4350 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
4351 * windows-nat.c (do_initial_windows_stuff): Adjust.
4352 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
4353 (gnu_terminal_init): ... this. Adjust.
4354 (gnu_target): Adjust.
4355 * inf-child.c (inf_child_target): Adjust.
4356
4357 2014-03-13 Doug Evans <xdje42@gmail.com>
4358
4359 PR guile/16612
4360 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
4361 new eq?-hashtab.
4362
4363 2014-03-13 Doug Evans <xdje42@gmail.com>
4364
4365 * value.c (record_latest_value): Call release_value_or_incref
4366 instead of release_value.
4367
4368 2014-03-13 Pedro Alves <palves@redhat.com>
4369
4370 * procfs.c (procfs_target): Don't override to_shortname,
4371 to_longname or to_doc.
4372
4373 2014-03-13 Pedro Alves <palves@redhat.com>
4374
4375 * inf-child.c (inf_child_open, inf_child_target): Don't mention
4376 Unix in user visible strings.
4377
4378 2014-03-12 Stan Shebs <stan@codesourcery.com>
4379
4380 * gdbtypes.h: Annotate comments for Doxygen, add a page
4381 block comment with some general info.
4382
4383 2014-03-12 Pedro Alves <palves@redhat.com>
4384
4385 * infcmd.c (prepare_execution_command): New function, factored out
4386 from several execution commands.
4387 (run_command_1, continue_command, step_1, jump_command)
4388 (signal_command, until_command, advance_command, finish_command)
4389 (attach_command): Use prepare_execution_command.
4390
4391 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
4392
4393 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
4394 (MAX_BPTS): Define.
4395 (MAX_WPTS): Define.
4396 (struct arm_linux_thread_points): Removed.
4397 (struct arm_linux_process_info): New.
4398 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
4399 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
4400 (arm_linux_find_breakpoints_by_tid): Removed.
4401 (struct arch_lwp_info): New.
4402 (arm_linux_find_process_pid): New functions.
4403 (arm_linux_add_process): New functions.
4404 (arm_linux_process_info_get): New functions.
4405 (arm_linux_forget_process): New function.
4406 (arm_linux_get_debug_reg_state): New function.
4407 (struct update_registers_data): New.
4408 (update_registers_callback): New function.
4409 (arm_linux_insert_hw_breakpoint1): Updated.
4410 (arm_linux_remove_hw_breakpoint1): Updated.
4411 (arm_linux_insert_hw_breakpoint): Updated.
4412 (arm_linux_remove_hw_breakpoint): Updated.
4413 (arm_linux_insert_watchpoint): Updated.
4414 (arm_linux_remove_watchpoint): Updated.
4415 (arm_linux_new_thread): Updated.
4416 (arm_linux_prepare_to_resume): New function.
4417 (arm_linux_new_fork): New function.
4418 (_initialize_arm_linux_nat): Updated.
4419
4420 2014-03-12 Pedro Alves <palves@redhat.com>
4421
4422 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
4423
4424 2014-03-12 Tom Tromey <tromey@redhat.com>
4425
4426 * inf-child.c (return_zero): New function.
4427 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
4428 * aix-thread.c (aix_thread_inferior_created): New function.
4429 (aix_thread_attach): Remove.
4430 (init_aix_thread_ops): Don't set to_attach.
4431 (_initialize_aix_thread): Register inferior_created observer.
4432 * corelow.c (init_core_ops): Don't set to_attach or
4433 to_create_inferior.
4434 * exec.c (init_exec_ops): Don't set to_attach or
4435 to_create_inferior.
4436 * infcmd.c (run_command_1): Use find_run_target. Make direct
4437 target calls.
4438 (attach_command): Use find_attach_target. Make direct target
4439 calls.
4440 * record-btrace.c (init_record_btrace_ops): Don't set
4441 to_create_inferior.
4442 * record-full.c (record_full_can_async_p, record_full_is_async_p):
4443 Remove.
4444 (init_record_full_ops, init_record_full_core_ops): Update. Don't
4445 set to_create_inferior.
4446 * target.c (complete_target_initialization): Add assertion.
4447 (target_create_inferior): Remove.
4448 (find_default_attach, find_default_create_inferior): Remove.
4449 (find_attach_target, find_run_target): New functions.
4450 (find_default_is_async_p, find_default_can_async_p)
4451 (target_supports_non_stop, target_attach): Remove.
4452 (init_dummy_target): Don't set to_create_inferior or
4453 to_supports_non_stop.
4454 * target.h (struct target_ops) <to_attach>: Add comment. Remove
4455 TARGET_DEFAULT_FUNC.
4456 <to_create_inferior>: Add comment.
4457 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
4458 TARGET_DEFAULT_RETURN.
4459 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
4460 (find_attach_target, find_run_target): Declare.
4461 (target_create_inferior): Remove.
4462 (target_has_execution_1): Update comment.
4463 (target_supports_non_stop): Remove.
4464 * target-delegates.c: Rebuild.
4465
4466 2014-03-12 Pedro Alves <palves@redhat.com>
4467
4468 * inf-child.h: Update comment to not mention Unix.
4469
4470 2014-03-12 Pedro Alves <palves@redhat.com>
4471
4472 * inf-child.c: Update top comment to not mention Unix. Add
4473 generic comment describing how this target is meant to be used.
4474 (inf_child_post_attach, inf_child_post_startup_inferior)
4475 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
4476 Unix in comment.
4477
4478 2014-03-12 Pedro Alves <palves@redhat.com>
4479
4480 * nto-procfs.c: Include inf-child.h.
4481 (procfs_ops): Delete global.
4482 (procfs_can_run): Delete method.
4483 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
4484 target pointer instead of referencing procfs_ops.
4485 (procfs_prepare_to_store): Delete.
4486 (init_procfs_ops): Delete function.
4487 (procfs_target): New function, based on init_procfs_ops, but
4488 inherit inf_child_target.
4489 (_initialize_procfs): Use procfs_target.
4490
4491 2014-03-12 Pedro Alves <palves@redhat.com>
4492
4493 * windows-nat.c: Include inf-child.h.
4494 (windows_ops): Delete global.
4495 (windows_open, windows_prepare_to_store, windows_can_run): Delete
4496 methods.
4497 (init_windows_ops): Delete function.
4498 (windows_target): New function, based on init_windows_ops, but
4499 inherit inf_child_target.
4500 (_initialize_windows_nat): Use windows_target. Install x86
4501 specific target methods here.
4502
4503 2014-03-10 Doug Evans <xdje42@gmail.com>
4504
4505 * guile/guile.c (call_initialize_gdb_module): New function.
4506 (initialize_guile): Replace call to scm_init_guile with call to
4507 scm_with_guile.
4508
4509 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4510
4511 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
4512 in call to TYPE_CODE macro.
4513
4514 2014-03-10 Jerome Guitton <guitton@adacore.com>
4515
4516 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
4517 Resolve tagged types to full view.
4518
4519 2014-03-10 Hui Zhu <hui@codesourcery.com>
4520
4521 * target.h (target_insert_breakpoint): Remove "hardware" from its
4522 comments.
4523
4524 2014-03-07 Doug Evans <dje@google.com>
4525
4526 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
4527
4528 2014-03-07 Doug Evans <dje@google.com>
4529
4530 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
4531 Remove unused local comp_dir_attr. Assert exactly one of
4532 stub_comp_unit_die, stub_comp_dir is non-NULL.
4533
4534 2014-03-07 Joel Brobecker <brobecker@adacore.com>
4535
4536 * target.h (complete_target_initialization, add_target):
4537 Add comment.
4538
4539 2014-03-07 Pedro Alves <palves@redhat.com>
4540
4541 * go32-nat.c: Include inf-child.h.
4542 (go32_ops): Delete global.
4543 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
4544 Delete methods.
4545 (go32_create_inferior): Push the passed in target pointer instead
4546 of referencing go32_ops.
4547 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
4548 (go32_target): New function, based on init_go32_ops, but inherit
4549 inf_child_target.
4550 (_initialize_go32_nat): Use go32_target. Move parts of
4551 init_go32_ops here.
4552
4553 2014-03-06 Joel Brobecker <brobecker@adacore.com>
4554
4555 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
4556 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
4557 SYMBOL_VALUE_ADDRESS.
4558 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
4559
4560 2014-03-06 Yao Qi <yao@codesourcery.com>
4561
4562 * breakpoint.c (get_tracepoint_by_number): Remove argument
4563 optional_p. All callers updated. Adjust comments. Update
4564 output message.
4565 * breakpoint.h (get_tracepoint_by_number): Update declaration.
4566
4567 2014-03-06 Yao Qi <yao@codesourcery.com>
4568
4569 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
4570 early if get_number returns zero. Use 'p' instead of 'args'.
4571
4572 2014-03-06 Yao Qi <yao@codesourcery.com>
4573
4574 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
4575 message.
4576
4577 2014-03-06 Yao Qi <yao@codesourcery.com>
4578
4579 PR breakpoints/16508
4580 * tracepoint.c (check_trace_running): New function.
4581 (trace_find_command): Move code to check_trace_running and
4582 call check_trace_running.
4583 (trace_find_pc_command): Likewise.
4584 (trace_find_tracepoint_command): Likewise.
4585 (trace_find_line_command): Likewise.
4586 (trace_find_range_command): Likewise.
4587 * tracepoint.h (check_trace_running): Likewise.
4588 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
4589
4590 2014-03-06 Yao Qi <yao@codesourcery.com>
4591
4592 * target.h (struct target_ops) <to_traceframe_info>: Use
4593 TARGET_DEFAULT_NORETURN (tcomplain ()).
4594 * target-delegates.c: Regenerated.
4595
4596 2014-03-05 Pedro Alves <palves@redhat.com>
4597
4598 PR gdb/16575
4599 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
4600 void. Update comment.
4601 (dcache_xfer_memory): Delete.
4602 (dcache_read_memory_partial): New, based on the read bits of
4603 dcache_xfer_memory.
4604 (dcache_update): Add status parameter. Use ULONGEST for len, and
4605 adjust. Discard cache lines if the reason for the update was
4606 error.
4607 * dcache.h (dcache_xfer_memory): Delete declaration.
4608 (dcache_read_memory_partial): New declaration.
4609 (dcache_update): Update prototype.
4610 * target.c (raw_memory_xfer_partial): Update the dcache here.
4611 (memory_xfer_partial_1): Don't handle dcache writes here.
4612
4613 2014-03-05 Mike Frysinger <vapier@gentoo.org>
4614
4615 * remote-sim.c (gdbsim_load): Add const to prog.
4616
4617 2014-03-03 Tom Tromey <tromey@redhat.com>
4618
4619 * elfread.c (probe_key): Change to bfd_data.
4620 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
4621 now per-BFD, not per-objfile.
4622 * stap-probe.c (stap_probe_destroy): Update comment.
4623 (handle_stap_probe): Allocate on the per-BFD obstack.
4624
4625 2014-03-03 Tom Tromey <tromey@redhat.com>
4626
4627 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
4628 * breakpoint.c (create_longjmp_master_breakpoint): Use
4629 get_probe_address.
4630 (add_location_to_breakpoint, bkpt_probe_insert_location)
4631 (bkpt_probe_remove_location): Update.
4632 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
4633 * elfread.c (elf_symfile_relocate_probe): Remove.
4634 (elf_probe_fns): Update.
4635 (insert_exception_resume_breakpoint): Change type of "probe"
4636 parameter to bound_probe.
4637 (check_exception_resume): Update.
4638 * objfiles.c (objfile_relocate1): Don't relocate probes.
4639 * probe.c (bound_probe_s): New typedef.
4640 (parse_probes): Use get_probe_address. Set sal's objfile.
4641 (find_probe_by_pc): Return a bound_probe.
4642 (collect_probes): Return a VEC(bound_probe_s).
4643 (compare_probes): Update.
4644 (gen_ui_out_table_header_info): Change type of "probes"
4645 parameter. Update.
4646 (info_probes_for_ops): Update.
4647 (get_probe_address): New function.
4648 (probe_safe_evaluate_at_pc): Update.
4649 * probe.h (struct probe_ops) <get_probe_address>: New field.
4650 <set_semaphore, clear_semaphore>: Add objfile parameter.
4651 (struct probe) <objfile>: Remove field.
4652 <arch>: New field.
4653 <address>: Update comment.
4654 (struct bound_probe): New.
4655 (find_probe_by_pc): Return a bound_probe.
4656 (get_probe_address): Declare.
4657 * solib-svr4.c (struct probe_and_action) <address>: New field.
4658 (hash_probe_and_action, equal_probe_and_action): Update.
4659 (register_solib_event_probe): Add address parameter.
4660 (solib_event_probe_at): Update.
4661 (svr4_create_probe_breakpoints): Add objfile parameter. Use
4662 get_probe_address.
4663 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
4664 (stap_get_probe_address): New function.
4665 (stap_can_evaluate_probe_arguments, compute_probe_arg)
4666 (compile_probe_arg): Update.
4667 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
4668 address.
4669 (handle_stap_probe): Don't relocate the probe.
4670 (stap_relocate): Remove.
4671 (stap_gen_info_probes_table_values): Update.
4672 (stap_probe_ops): Remove stap_relocate.
4673 * symfile-debug.c (debug_sym_relocate_probe): Remove.
4674 (debug_sym_probe_fns): Update.
4675 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
4676 * symtab.c (init_sal): Use memset.
4677 * symtab.h (struct symtab_and_line) <objfile>: New field.
4678 * tracepoint.c (start_tracing, stop_tracing): Update.
4679
4680 2014-03-03 Tom Tromey <tromey@redhat.com>
4681
4682 * probe.h (parse_probes, find_probe_by_pc)
4683 (find_probes_in_objfile): Fix comments.
4684
4685 2014-03-02 Doug Evans <xdje42@gmail.com>
4686
4687 * infrun.c (handle_signal_stop): Replace test for
4688 TARGET_WAITKIND_STOPPED with an assert.
4689
4690 2014-03-02 Doug Evans <xdje42@gmail.com>
4691
4692 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
4693
4694 2014-03-02 Doug Evans <xdje42@gmail.com>
4695
4696 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
4697
4698 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4699
4700 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
4701
4702 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4703
4704 * i386obsd-nat.c: Include "obsd-nat.h".
4705 (_initialize_i386obsd_nat): Call obsd_add_target instead of
4706 add_target.
4707 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4708
4709 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4710
4711 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
4712
4713 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4714
4715 * mips64obsd-nat.c: Include "obsd-nath".
4716 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
4717 add_target
4718 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
4719
4720 2014-03-01 Mark Kettenis <kettenis@gnu.org>
4721
4722 * amd64obsd-nat.c: Include "obsd-nat,h.
4723 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
4724 add_target.
4725 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
4726
4727 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
4728
4729 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
4730 (find_overload_match): Update call to find_oload_champ.
4731 (find_oload_champ_namespace_loop): Likewise
4732
4733 2014-02-28 Mark Kettenis <kettenis@gnu.org>
4734
4735 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
4736
4737 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
4738 * config/sparc/obsd64.mh: New file.
4739 * sparc64obsd-nat.c: New file.
4740
4741 * obsd-nat.h: New file.
4742 * obsd-nat.c: New file.
4743 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
4744 (ALLDEPFILES): Add obsd-nat.c.
4745
4746 2014-02-28 Tom Tromey <tromey@redhat.com>
4747
4748 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
4749 * cli-out.h (cli_ui_out_impl): Now const.
4750 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
4751 * ui-out.c (struct ui_out) <impl>: Now const.
4752 (default_ui_out_impl): Now const.
4753 (ui_out_new): Make 'impl' parameter const.
4754 * ui-out.h (ui_out_new): Update.
4755
4756 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4757
4758 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
4759
4760 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4761
4762 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
4763
4764 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4765
4766 Additional PR 8882 fix.
4767 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
4768
4769 2014-02-27 Pedro Alves <palves@redhat.com>
4770
4771 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
4772 isn't set.
4773
4774 2014-02-27 Pedro Alves <palves@redhat.com>
4775
4776 PR 12702
4777 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
4778 * nat/linux-waitpid.c: Include string.h.
4779 (status_to_str): Moved here and made extern.
4780 * nat/linux-waitpid.h (status_to_str): New declaration.
4781
4782 2014-02-27 Hui Zhu <hui@codesourcery.com>
4783
4784 PR 12702
4785 * infrun.c (ptid_match): Move ...
4786 * common/ptid.c (ptid_match): ... here.
4787 * inferior.h (ptid_match): Move ...
4788 * common/ptid.h (ptid_match): ... here.
4789
4790 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4791
4792 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
4793 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
4794 gdb_target_obs.
4795
4796 2014-02-27 Mark Kettenis <kettenis@gnu.org>
4797
4798 * obsd-tdep.c (obsd_auxv_parse): New function.
4799 (obsd_init_abi): Set auxv_parse.
4800
4801 * gdbarch.sh (auxv_parse): New.
4802 * gdbarch.h: Regenerated.
4803 * gdbarch.c: Regenerated.
4804 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
4805
4806 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4807
4808 * guile/scm-value.c (gdbscm_history_append_x): New function.
4809 (value_functions): Add it.
4810
4811 2014-02-27 Joel Brobecker <brobecker@adacore.com>
4812
4813 * dwarf2read.c (attr_value_as_address): New function.
4814 (dwarf2_find_base_address, read_call_site_scope): Use
4815 attr_value_as_address in place of DW_ADDR.
4816 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
4817 the low and high addresses. Slight rework of the handling
4818 of the high pc being a constant form, and limit it to
4819 DWARF verson 4 or higher.
4820 (dwarf2_record_block_ranges): Likewise.
4821 (read_partial_die): Likewise.
4822 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
4823
4824 2014-02-26 Tom Tromey <tromey@redhat.com>
4825
4826 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
4827
4828 2014-02-26 Tom Tromey <tromey@redhat.com>
4829
4830 * elfread.c (elf_read_minimal_symbols): Return early if
4831 minimal symbols have already been read. Add "ei" parameter.
4832 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
4833 * minsyms.c (prim_record_minimal_symbol_full): Update.
4834 * objfiles.h (struct objstats) <n_minsyms>: Move...
4835 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
4836 * symmisc.c (print_objfile_statistics): Update.
4837
4838 2014-02-26 Tom Tromey <tromey@redhat.com>
4839
4840 * elfread.c (elf_read_minimal_symbols): New function, from
4841 elf_symfile_read.
4842 (elf_symfile_read): Call it.
4843
4844 2014-02-26 Tom Tromey <tromey@redhat.com>
4845
4846 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
4847 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
4848 (lookup_minimal_symbol_solib_trampoline)
4849 (lookup_minimal_symbol_by_pc_section_1)
4850 (lookup_minimal_symbol_and_objfile): Update.
4851 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
4852 Don't allocate a minimal symbol if minsyms have already been read.
4853 (build_minimal_symbol_hash_tables): Update.
4854 (install_minimal_symbols): Do nothing if minsyms already read.
4855 Use the per-BFD obstack.
4856 (terminate_minimal_symbol_table): Use the per-BFD obstack.
4857 * objfiles.c (allocate_objfile): Call
4858 terminate_minimal_symbol_table later.
4859 (have_minimal_symbols): Update.
4860 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
4861 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
4862 Move from struct objfile.
4863 <minsyms_read>: New field.
4864 (struct objfile) <msymbols, minimal_symbol_count,
4865 msymbol_hash, msymbol_demangled_hash>: Move.
4866 (ALL_OBJFILE_MSYMBOLS): Update.
4867 * symfile.c (read_symbols): Set minsyms_read.
4868 (reread_symbols): Update.
4869 * symmisc.c (dump_objfile, dump_msymbols): Update.
4870
4871 2014-02-26 Tom Tromey <tromey@redhat.com>
4872
4873 * minsyms.c (msymbols_sort): Remove.
4874 * minsyms.h (msymbols_sort): Remove.
4875 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
4876 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
4877 * elfread.c (elf_symtab_read): Don't add section offsets.
4878 * xcoffread.c (record_minimal_symbol): Don't add section offset
4879 to minimal symbol address.
4880 * somread.c (text_offset, data_offset): Remove.
4881 (som_symtab_read): Don't add section offsets to minimal symbol
4882 addresses.
4883 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
4884 Don't add section offsets to minimal symbols.
4885 * coffread.c (coff_symtab_read): Don't add section offsets
4886 to minimal symbol addresses.
4887 * machoread.c (macho_symtab_add_minsym): Don't add section offset
4888 to minimal symbol addresses.
4889 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
4890 section offset to minimal symbol addresses.
4891 * mdebugread.c (parse_partial_symbols): Don't add section
4892 offset to minimal symbol addresses.
4893 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
4894 offset to minimal symbol addresses.
4895
4896 2014-02-26 Tom Tromey <tromey@redhat.com>
4897
4898 * ada-lang.c (ada_main_name): Update.
4899 (ada_add_standard_exceptions): Update.
4900 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
4901 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
4902 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
4903 * auxv.c (ld_so_xfer_auxv): Update.
4904 * avr-tdep.c (avr_scan_prologue): Update.
4905 * ax-gdb.c (gen_var_ref): Update.
4906 * blockframe.c (get_pc_function_start)
4907 (find_pc_partial_function_gnu_ifunc): Update.
4908 * breakpoint.c (create_overlay_event_breakpoint)
4909 (create_longjmp_master_breakpoint)
4910 (create_std_terminate_master_breakpoint)
4911 (create_exception_master_breakpoint): Update.
4912 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
4913 * c-valprint.c (c_val_print): Update.
4914 * coff-pe-read.c (add_pe_forwarded_sym): Update.
4915 * common/agent.c (agent_look_up_symbols): Update.
4916 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
4917 * dwarf2loc.c (call_site_to_target_addr): Update.
4918 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
4919 * elfread.c (elf_gnu_ifunc_record_cache)
4920 (elf_gnu_ifunc_resolve_by_got): Update.
4921 * findvar.c (default_read_var_value): Update.
4922 * frame.c (inside_main_func): Update.
4923 * frv-tdep.c (frv_frame_this_id): Update.
4924 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
4925 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
4926 Update.
4927 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
4928 (hppa_hpux_find_dummy_bpaddr): Update.
4929 * hppa-tdep.c (hppa_symbol_address): Update.
4930 * infcmd.c (until_next_command): Update.
4931 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
4932 Update.
4933 * linespec.c (minsym_found, add_minsym): Update.
4934 * linux-nat.c (get_signo): Update.
4935 * linux-thread-db.c (inferior_has_bug): Update.
4936 * m32c-tdep.c (m32c_return_value)
4937 (m32c_m16c_address_to_pointer): Update.
4938 * m32r-tdep.c (m32r_frame_this_id): Update.
4939 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
4940 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
4941 * maint.c (maintenance_translate_address): Update.
4942 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
4943 (frob_address): New function.
4944 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
4945 frob_address. Rename parameter to "pc_in".
4946 (compare_minimal_symbols, compact_minimal_symbols): Use raw
4947 addresses.
4948 (find_solib_trampoline_target, minimal_symbol_upper_bound):
4949 Update.
4950 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
4951 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
4952 * objc-lang.c (find_objc_msgsend): Update.
4953 * objfiles.c (objfile_relocate1): Update.
4954 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
4955 * p-valprint.c (pascal_val_print): Update.
4956 * parse.c (write_exp_msymbol): Update.
4957 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
4958 (ppc_elfv2_skip_entrypoint): Update.
4959 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
4960 * printcmd.c (build_address_symbolic, msym_info)
4961 (address_info): Update.
4962 * proc-service.c (ps_pglobal_lookup): Update.
4963 * psymtab.c (find_pc_sect_psymtab_closer)
4964 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
4965 Change msymbol parameter to bound_minimal_symbol.
4966 * ravenscar-thread.c (get_running_thread_id): Update.
4967 * remote.c (remote_check_symbols): Update.
4968 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
4969 address.
4970 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
4971 * solib-dsbt.c (lm_base): Update.
4972 * solib-frv.c (lm_base, main_got): Update.
4973 * solib-irix.c (locate_base): Update.
4974 * solib-som.c (som_solib_create_inferior_hook)
4975 (link_map_start): Update.
4976 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
4977 * solib-svr4.c (elf_locate_base, enable_break): Update.
4978 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
4979 (flush_ea_cache): Update.
4980 * stabsread.c (define_symbol, scan_file_globals): Update.
4981 * stack.c (find_frame_funname): Update.
4982 * symfile-debug.c (debug_qf_expand_symtabs_matching)
4983 (debug_qf_find_pc_sect_symtab): Update.
4984 * symfile.c (simple_read_overlay_table)
4985 (simple_overlay_update): Update.
4986 * symfile.h (struct quick_symbol_functions)
4987 <find_pc_sect_symtab>: Change type of msymbol to
4988 bound_minimal_symbol.
4989 * symmisc.c (dump_msymbols): Update.
4990 * symtab.c (find_pc_sect_symtab_via_partial)
4991 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
4992 (search_symbols, print_msymbol_info): Update.
4993 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
4994 (MSYMBOL_VALUE_ADDRESS): Redefine.
4995 (BMSYMBOL_VALUE_ADDRESS): New macro.
4996 * tracepoint.c (scope_info): Update.
4997 * tui/tui-disasm.c (tui_find_disassembly_address)
4998 (tui_get_begin_asm_address): Update.
4999 * valops.c (find_function_in_inferior): Update.
5000 * value.c (value_static_field, value_fn_field): Update.
5001
5002 2014-02-26 Tom Tromey <tromey@redhat.com>
5003
5004 * ada-lang.c (ada_update_initial_language): Update.
5005 (ada_main_name, ada_has_this_exception_support): Update.
5006 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
5007 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
5008 * arm-tdep.c (arm_skip_stub): Update.
5009 * auxv.c (ld_so_xfer_auxv): Update.
5010 * avr-tdep.c (avr_scan_prologue): Update.
5011 * ax-gdb.c (gen_var_ref): Update.
5012 * breakpoint.c (struct breakpoint_objfile_data)
5013 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
5014 type to bound_minimal_symbol.
5015 (create_overlay_event_breakpoint)
5016 (create_longjmp_master_breakpoint)
5017 (create_std_terminate_master_breakpoint)
5018 (create_exception_master_breakpoint): Update.
5019 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
5020 * c-exp.y (classify_name): Update.
5021 * coffread.c (coff_symfile_read): Update.
5022 * common/agent.c (agent_look_up_symbols): Update.
5023 * d-lang.c (d_main_name): Update.
5024 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
5025 * dec-thread.c (enable_dec_thread): Update.
5026 * dwarf2loc.c (call_site_to_target_addr): Update.
5027 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
5028 * eval.c (evaluate_subexp_standard): Update.
5029 * findvar.c (struct minsym_lookup_data) <result>: Change type
5030 to bound_minimal_symbol.
5031 <objfile>: Remove.
5032 (minsym_lookup_iterator_cb, default_read_var_value): Update.
5033 * frame.c (inside_main_func): Update.
5034 * frv-tdep.c (frv_frame_this_id): Update.
5035 * gcore.c (call_target_sbrk): Update.
5036 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
5037 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
5038 Update.
5039 * go-lang.c (go_main_name): Update.
5040 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
5041 (hppa_hpux_find_import_stub_for_addr): Update.
5042 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
5043 Update. Change return type.
5044 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
5045 type.
5046 * jit.c (jit_breakpoint_re_set_internal): Update.
5047 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
5048 Update.
5049 * linux-nat.c (get_signo): Update.
5050 * linux-thread-db.c (inferior_has_bug): Update
5051 * m32c-tdep.c (m32c_return_value)
5052 (m32c_m16c_address_to_pointer): Update.
5053 * m32r-tdep.c (m32r_frame_this_id): Update.
5054 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
5055 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
5056 * minsyms.c (lookup_minimal_symbol_internal): Rename to
5057 lookup_minimal_symbol. Change return type.
5058 (lookup_minimal_symbol): Remove.
5059 (lookup_bound_minimal_symbol): Update.
5060 (lookup_minimal_symbol_text): Change return type.
5061 (lookup_minimal_symbol_solib_trampoline): Change return type.
5062 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
5063 (lookup_minimal_symbol_solib_trampoline): Change return type.
5064 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
5065 * objc-lang.c (lookup_objc_class, lookup_child_selector)
5066 (value_nsstring, find_imps): Update.
5067 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
5068 * p-lang.c (pascal_main_name): Update.
5069 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
5070 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
5071 * proc-service.c (ps_pglobal_lookup): Update.
5072 * ravenscar-thread.c (get_running_thread_msymbol): Change
5073 return type.
5074 (has_ravenscar_runtime, get_running_thread_id): Update.
5075 * remote.c (remote_check_symbols): Update.
5076 * sol-thread.c (ps_pglobal_lookup): Update.
5077 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5078 * solib-dsbt.c (lm_base): Update.
5079 * solib-frv.c (lm_base, frv_relocate_section_addresses):
5080 Update.
5081 * solib-irix.c (locate_base): Update.
5082 * solib-som.c (som_solib_create_inferior_hook)
5083 (som_solib_desire_dynamic_linker_symbols, link_map_start):
5084 Update.
5085 * solib-spu.c (spu_enable_break): Update.
5086 * solib-svr4.c (elf_locate_base, enable_break): Update.
5087 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
5088 (flush_ea_cache): Update.
5089 * stabsread.c (define_symbol): Update.
5090 * symfile.c (simple_read_overlay_table): Update.
5091 * symtab.c (find_pc_sect_line): Update.
5092 * tracepoint.c (scope_info): Update.
5093 * tui-disasm.c (tui_get_begin_asm_address): Update.
5094 * value.c (value_static_field): Update.
5095
5096 2014-02-26 Tom Tromey <tromey@redhat.com>
5097
5098 * minsyms.c (prim_record_minimal_symbol_full): Use
5099 SET_MSYMBOL_VALUE_ADDRESS.
5100 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
5101 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
5102 SET_MSYMBOL_VALUE_ADDRESS.
5103 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
5104 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
5105
5106 2014-02-26 Tom Tromey <tromey@redhat.com>
5107
5108 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
5109 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
5110 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
5111 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
5112 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
5113 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
5114 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
5115 * ada-lang.c (ada_main_name): Update.
5116 (ada_lookup_simple_minsym): Update.
5117 (ada_make_symbol_completion_list): Update.
5118 (ada_add_standard_exceptions): Update.
5119 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
5120 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
5121 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
5122 * arm-tdep.c (skip_prologue_function): Update.
5123 (arm_skip_stack_protector, arm_skip_stub): Update.
5124 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
5125 (arm_wince_skip_main_prologue): Update.
5126 * auxv.c (ld_so_xfer_auxv): Update.
5127 * avr-tdep.c (avr_scan_prologue): Update.
5128 * ax-gdb.c (gen_var_ref): Update.
5129 * block.c (call_site_for_pc): Update.
5130 * blockframe.c (get_pc_function_start): Update.
5131 (find_pc_partial_function_gnu_ifunc): Update.
5132 * breakpoint.c (create_overlay_event_breakpoint): Update.
5133 (create_longjmp_master_breakpoint): Update.
5134 (create_std_terminate_master_breakpoint): Update.
5135 (create_exception_master_breakpoint): Update.
5136 (resolve_sal_pc): Update.
5137 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
5138 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
5139 Update.
5140 * c-valprint.c (c_val_print): Update.
5141 * coff-pe-read.c (add_pe_forwarded_sym): Update.
5142 * coffread.c (coff_symfile_read): Update.
5143 * common/agent.c (agent_look_up_symbols): Update.
5144 * dbxread.c (find_stab_function_addr): Update.
5145 (end_psymtab): Update.
5146 * dwarf2loc.c (call_site_to_target_addr): Update.
5147 (func_verify_no_selftailcall): Update.
5148 (tailcall_dump): Update.
5149 (call_site_find_chain_1): Update.
5150 (dwarf_expr_reg_to_entry_parameter): Update.
5151 * elfread.c (elf_gnu_ifunc_record_cache): Update.
5152 (elf_gnu_ifunc_resolve_by_got): Update.
5153 * f-valprint.c (info_common_command): Update.
5154 * findvar.c (read_var_value): Update.
5155 * frame.c (get_prev_frame_1): Update.
5156 (inside_main_func): Update.
5157 * frv-tdep.c (frv_skip_main_prologue): Update.
5158 (frv_frame_this_id): Update.
5159 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
5160 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
5161 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
5162 (gnuv3_skip_trampoline): Update.
5163 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
5164 (hppa64_hpux_in_solib_call_trampoline): Update.
5165 (hppa_hpux_skip_trampoline_code): Update.
5166 (hppa64_hpux_search_dummy_call_sequence): Update.
5167 (hppa_hpux_find_import_stub_for_addr): Update.
5168 (hppa_hpux_find_dummy_bpaddr): Update.
5169 * hppa-tdep.c (hppa_symbol_address)
5170 (hppa_lookup_stub_minimal_symbol): Update.
5171 * i386-tdep.c (i386_skip_main_prologue): Update.
5172 (i386_pe_skip_trampoline_code): Update.
5173 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
5174 * infcall.c (get_function_name): Update.
5175 * infcmd.c (until_next_command): Update.
5176 * jit.c (jit_breakpoint_re_set_internal): Update.
5177 (jit_inferior_init): Update.
5178 * linespec.c (minsym_found): Update.
5179 (add_minsym): Update.
5180 * linux-fork.c (info_checkpoints_command): Update.
5181 * linux-nat.c (get_signo): Update.
5182 * linux-thread-db.c (inferior_has_bug): Update.
5183 * m32c-tdep.c (m32c_return_value): Update.
5184 (m32c_m16c_address_to_pointer): Update.
5185 (m32c_m16c_pointer_to_address): Update.
5186 * m32r-tdep.c (m32r_frame_this_id): Update.
5187 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
5188 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
5189 * maint.c (maintenance_translate_address): Update.
5190 * minsyms.c (add_minsym_to_hash_table): Update.
5191 (add_minsym_to_demangled_hash_table): Update.
5192 (msymbol_objfile): Update.
5193 (lookup_minimal_symbol): Update.
5194 (iterate_over_minimal_symbols): Update.
5195 (lookup_minimal_symbol_text): Update.
5196 (lookup_minimal_symbol_by_pc_name): Update.
5197 (lookup_minimal_symbol_solib_trampoline): Update.
5198 (lookup_minimal_symbol_by_pc_section_1): Update.
5199 (lookup_minimal_symbol_and_objfile): Update.
5200 (prim_record_minimal_symbol_full): Update.
5201 (compare_minimal_symbols): Update.
5202 (compact_minimal_symbols): Update.
5203 (build_minimal_symbol_hash_tables): Update.
5204 (install_minimal_symbols): Update.
5205 (terminate_minimal_symbol_table): Update.
5206 (find_solib_trampoline_target): Update.
5207 (minimal_symbol_upper_bound): Update.
5208 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
5209 * mips-tdep.c (mips_stub_frame_sniffer): Update.
5210 (mips_skip_pic_trampoline_code): Update.
5211 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
5212 * objc-lang.c (selectors_info): Update.
5213 (classes_info): Update.
5214 (find_methods): Update.
5215 (find_imps): Update.
5216 (find_objc_msgsend): Update.
5217 * objfiles.c (objfile_relocate1): Update.
5218 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
5219 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
5220 * p-valprint.c (pascal_val_print): Update.
5221 * parse.c (write_exp_msymbol): Update.
5222 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
5223 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
5224 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
5225 * printcmd.c (build_address_symbolic): Update.
5226 (sym_info): Update.
5227 (address_info): Update.
5228 * proc-service.c (ps_pglobal_lookup): Update.
5229 * psymtab.c (find_pc_sect_psymtab_closer): Update.
5230 (find_pc_sect_psymtab): Update.
5231 * python/py-framefilter.c (py_print_frame): Update.
5232 * ravenscar-thread.c (get_running_thread_id): Update.
5233 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
5234 Update.
5235 * remote.c (remote_check_symbols): Update.
5236 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
5237 (rs6000_skip_trampoline_code): Update.
5238 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
5239 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5240 * solib-dsbt.c (lm_base): Update.
5241 * solib-frv.c (lm_base): Update.
5242 (main_got): Update.
5243 * solib-irix.c (locate_base): Update.
5244 * solib-som.c (som_solib_create_inferior_hook): Update.
5245 (som_solib_desire_dynamic_linker_symbols): Update.
5246 (link_map_start): Update.
5247 * solib-spu.c (spu_enable_break): Update.
5248 (ocl_enable_break): Update.
5249 * solib-svr4.c (elf_locate_base): Update.
5250 (enable_break): Update.
5251 * spu-tdep.c (spu_get_overlay_table): Update.
5252 (spu_catch_start): Update.
5253 (flush_ea_cache): Update.
5254 * stabsread.c (define_symbol): Update.
5255 (scan_file_globals): Update.
5256 * stack.c (find_frame_funname): Update.
5257 (frame_info): Update.
5258 * symfile.c (simple_read_overlay_table): Update.
5259 (simple_overlay_update): Update.
5260 * symmisc.c (dump_msymbols): Update.
5261 * symtab.c (fixup_section): Update.
5262 (find_pc_sect_line): Update.
5263 (skip_prologue_sal): Update.
5264 (search_symbols): Update.
5265 (print_msymbol_info): Update.
5266 (rbreak_command): Update.
5267 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
5268 (completion_list_objc_symbol): Update.
5269 (default_make_symbol_completion_list_break_on): Update.
5270 * tracepoint.c (scope_info): Update.
5271 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
5272 (tui_get_begin_asm_address): Update.
5273 * valops.c (find_function_in_inferior): Update.
5274 * value.c (value_static_field): Update.
5275 (value_fn_field): Update.
5276
5277 2014-02-26 Tom Tromey <tromey@redhat.com>
5278
5279 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
5280 bound minimal symbols. Move code that knows about minsym
5281 table layout...
5282 * minsyms.c (minimal_symbol_upper_bound): ... here. New
5283 function.
5284 * minsyms.h (minimal_symbol_upper_bound): Declare.
5285 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
5286 minimal_symbol_upper_bound.
5287
5288 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5289
5290 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
5291 Use the type's name if its basic type does not have a tag.
5292
5293 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5294
5295 * dwarf2read.c (read_subrange_type): Add comment.
5296
5297 2014-02-27 Joel Brobecker <brobecker@adacore.com>
5298
5299 * dwarf2read.c (update_enumeration_type_from_children): New
5300 function, mostly extracted from process_structure_scope.
5301 (read_enumeration_type): Call update_enumeration_type_from_children.
5302 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
5303 and flag_flag_enum fields.
5304
5305 2014-02-26 Pedro Alves <palves@redhat.com>
5306
5307 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
5308 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
5309 to_xfer_partial method.
5310
5311 2014-02-26 Pedro Alves <palves@redhat.com>
5312
5313 * target.c (complete_target_initialization): Don't install
5314 default_xfer_partial as to_xfer_partial hook.
5315 (nomemory): Delete.
5316 (update_current_target): Don't INHERIT nor de_fault
5317 deprecated_xfer_memory. Delete de_fault macro.
5318 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
5319 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
5320 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
5321 field.
5322
5323 2014-02-26 Pedro Alves <palves@redhat.com>
5324
5325 * go32-nat.c (my_write_child): New function.
5326 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
5327 (go32_xfer_partial): New function.
5328 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
5329 Instead install a to_xfer_partial hook.
5330
5331 2014-02-26 Pedro Alves <palves@redhat.com>
5332
5333 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
5334 to_xfer_partial helper. Rewrite.
5335 (procfs_xfer_partial): New function.
5336 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
5337 Install a to_xfer_partial hook.
5338
5339 2014-02-26 Pedro Alves <palves@redhat.com>
5340
5341 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
5342 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
5343 (m32r_xfer_partial): New function.
5344 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
5345 Install a to_xfer_partial hook.
5346
5347 2014-02-26 Pedro Alves <palves@redhat.com>
5348
5349 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
5350 helper.
5351 (mips_xfer_partial): New function.
5352 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
5353 hook. Install a to_xfer_partial hook.
5354
5355 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5356
5357 * gdbtypes.h (create_array_type_with_stride): Add declaration.
5358 * gdbtypes.c (create_array_type_with_stride): New function,
5359 renaming create_array_type, but with an added parameter
5360 called "bit_stride".
5361 (create_array_type): Re-implement using
5362 create_array_type_with_stride.
5363 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
5364 and DW_AT_bit_stride attributes.
5365
5366 2014-02-26 Pedro Alves <palves@redhat.com>
5367
5368 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
5369 task-specific breakpoints.
5370
5371 2014-02-25 Pedro Alves <palves@redhat.com>
5372
5373 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
5374 handling of object == TARGET_OBJECT_UNWIND_TABLE.
5375
5376 2014-02-25 Stan Shebs <stan@codesourcery.com>
5377
5378 * defs.h: Annotate comments for Doxygen.
5379
5380 2014-02-25 Tom Tromey <tromey@redhat.com>
5381
5382 * target.h (target_ignore): Don't declare.
5383 * target.c (target_ignore): Remove.
5384
5385 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5386
5387 PR gdb/16626
5388 * auto-load.c (auto_load_objfile_script_1): Change filename to
5389 debugfile.
5390
5391 2014-02-25 Joel Brobecker <brobecker@adacore.com>
5392
5393 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
5394 documentation. Adjust prototype to match the target_ops
5395 to_xfer_partial method. Adjust implementation accordingly.
5396
5397 2014-02-25 Hui Zhu <hui@codesourcery.com>
5398
5399 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
5400 to_traceframe_info.
5401
5402 2014-02-25 Kevin Buettner <kevinb@redhat.com>
5403
5404 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
5405 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
5406 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
5407 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
5408 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
5409 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
5410 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
5411 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
5412 New constants.
5413 (rl78_register_type): Use a data pointer type for SP and
5414 new pseudo registers mentioned above. Use a 16 bit integer
5415 type for all other register pairs.
5416 (rl78_register_name, rl78_g10_register_name): Update for
5417 new pseudo registers.
5418 (rl78_pseudo_register_read): Likewise.
5419 (rl78_pseudo_register_write): Likewise.
5420 (rl78_dwarf_reg_to_regnum): Return register numbers representing
5421 to the newly added pseudo registers.
5422
5423 2014-02-24 Doug Evans <dje@google.com>
5424
5425 * value.c (record_latest_value): Fix comment.
5426 * printcmd.c (print_command_1): Remove code to handle -1 return from
5427 record_latest_value.
5428
5429 2014-02-24 Pedro Alves <palves@redhat.com>
5430
5431 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
5432 deprecated_xfer_memory hook.
5433 (procfs_xfer_partial): Call procfs_xfer_memory instead
5434 of the deprecated_xfer_memory target hook.
5435 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
5436 helper.
5437
5438 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
5439
5440 * windows-nat.c (windows_xfer_shared_libraries): Return
5441 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
5442 requested object is TARGET_OBJECT_LIBRARIES.
5443
5444 2014-02-24 Yao Qi <yao@codesourcery.com>
5445
5446 * target.h (enum target_xfer_status)
5447 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
5448 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
5449 explicitly. New.
5450 * corefile.c (memory_error_message): User updated.
5451 * exec.c (section_table_read_available_memory): Likewise.
5452 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5453 * target.c (target_xfer_status_to_string): Likewise.
5454 (raw_memory_xfer_partial): Likewise.
5455 (memory_xfer_partial_1, target_xfer_partial): Likewise.
5456 * valops.c (read_value_memory): Likewise.
5457 * exec.h: Update comments.
5458
5459 2014-02-24 Yao Qi <yao@codesourcery.com>
5460
5461 * target.c (target_xfer_status_to_string): Rename argument err
5462 to status.
5463 * target.h (target_xfer_status_to_string): Update declaration.
5464 Replace target_xfer_error_to_string with
5465 target_xfer_status_to_string in comment.
5466
5467 2014-02-24 Yao Qi <yao@codesourcery.com>
5468
5469 * mips-linux-nat.c (super_close): Update its type.
5470 (mips_linux_close): Pass 'self' to super_close.
5471
5472 2014-02-24 Yao Qi <yao@codesourcery.com>
5473
5474 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
5475 * corefile.c (read_memory): Adjusted.
5476 * target.c (target_write_with_progress): Adjusted.
5477
5478 2014-02-23 Yao Qi <yao@codesourcery.com>
5479
5480 Revert two patches:
5481
5482 2013-10-25 Yao Qi <yao@codesourcery.com>
5483
5484 * remote.c (remote_traceframe_info): Return early if
5485 traceframe is not selected.
5486
5487 2013-07-19 Yao Qi <yao@codesourcery.com>
5488
5489 * target.c (update_current_target): Change the default action
5490 of 'to_traceframe_info' from tcomplain to return_zero.
5491 * target.h (struct target_ops) <to_traceframe_info>: Add more
5492 comments.
5493
5494 2014-02-23 Yao Qi <yao@codesourcery.com>
5495
5496 * valops.c (read_value_memory): Rewrite it. Call
5497 target_xfer_partial in a loop.
5498 * exec.h (section_table_available_memory): Remove declaration.
5499 Move comments to ...
5500 * exec.c (section_table_available_memory): ... here. Make it
5501 static.
5502
5503 2014-02-23 Yao Qi <yao@codesourcery.com>
5504
5505 * exec.c (section_table_read_available_memory): New function.
5506 * exec.h (section_table_read_available_memory): Declare.
5507 * ctf.c (ctf_xfer_partial): Call
5508 section_table_read_available_memory.
5509 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5510
5511 2014-02-23 Yao Qi <yao@codesourcery.com>
5512
5513 * ctf.c (ctf_xfer_partial): Move code to ...
5514 * exec.c (exec_read_partial_read_only): ... it. New function.
5515 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5516 * tracefile.c: Include "exec.h".
5517 * exec.h (exec_read_partial_read_only): Declare.
5518
5519 2014-02-23 Yao Qi <yao@codesourcery.com>
5520
5521 * tracefile-tfile.c (tfile_has_all_memory): Remove.
5522 (tfile_has_memory): Remove.
5523 (init_tfile_ops): Don't set fields to_has_all_memory and
5524 to_has_memory of tfile_ops.
5525 * tracefile.c (tracefile_has_all_memory): New function.
5526 (tracefile_has_memory): New function.
5527 (init_tracefile_ops): Initialize fields to_has_all_memory and
5528 to_has_memory of 'ops'.
5529
5530 2014-02-23 Yao Qi <yao@codesourcery.com>
5531
5532 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
5533 (ctf_thread_alive, ctf_get_trace_status): Remove.
5534 (init_ctf_ops): Don't set some fields of ctf_ops. Call
5535 init_tracefile_ops.
5536 * tracefile-tfile.c (tfile_get_trace_status): Remove.
5537 (tfile_has_stack, tfile_has_registers): Remove.
5538 (tfile_thread_alive): Remove.
5539 (init_tfile_ops): Don't set some fields of tfile_ops. Call
5540 init_tracefile_ops.
5541 * tracefile.c (tracefile_has_stack): New function.
5542 (tracefile_has_registers): New function.
5543 (tracefile_thread_alive): New function.
5544 (tracefile_get_trace_status): New function.
5545 (init_tracefile_ops): New function.
5546 * tracefile.h (init_tracefile_ops): Declare.
5547
5548 2014-02-23 Yao Qi <yao@codesourcery.com>
5549
5550 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
5551 (O_LARGEFILE): Likewise.
5552 (tfile_ops): Likewise.
5553 (TRACE_HEADER_SIZE): Likewise.
5554 (trace_fd, trace_frames_offset, cur_offset): Likewise.
5555 (cur_data_size): Likewise.
5556 (tfile_read, tfile_open, tfile_interp_line): Likewise.
5557 (tfile_close, tfile_files_info): Likewise.
5558 (tfile_get_trace_status): Likewise.
5559 (tfile_get_tracepoint_status): Likewise.
5560 (tfile_get_traceframe_address): Likewise.
5561 (tfile_trace_find, match_blocktype): Likewise.
5562 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
5563 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
5564 (tfile_get_trace_state_variable_value): Likewise.
5565 (tfile_has_all_memory, tfile_has_memory): Likewise.
5566 (tfile_has_stack, tfile_has_registers): Likewise.
5567 (tfile_thread_alive, build_traceframe_info): Likewise.
5568 (tfile_traceframe_info, init_tfile_ops): Likewise.
5569 (_initialize_tracepoint): Don't call init_tfile_ops
5570 and add_target_with_completer.
5571 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
5572 exec.h, completer.h and filenames.h.
5573 (_initialize_tracefile_tfile): New function.
5574
5575 2014-02-23 Yao Qi <yao@codesourcery.com>
5576
5577 * Makefile.in (REMOTE_OBS): Append tracefile.o and
5578 tracefile-tfile.o.
5579 (HFILES_NO_SRCDIR): Add tracefile.h.
5580 * ctf.c: Include "tracefile.h".
5581 * tracefile.h: New file.
5582 * tracefile.c: New file
5583 * tracefile-tfile.c: New file.
5584 * tracepoint.c: Include "tracefile.h".
5585 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
5586 (stop_reason_names): Add const.
5587 (trace_file_writer_xfree): Move it to tracefile.c.
5588 (trace_save, trace_save_command, trace_save_tfile): Likewise.
5589 (trace_save_ctf): Likewise.
5590 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
5591 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
5592 (tfile_write_header, tfile_write_regblock_type): Likewise.
5593 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
5594 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
5595 (tfile_write_raw_data, tfile_end): Likewise.
5596 (tfile_trace_file_writer_new): Likewise.
5597 (free_uploaded_tp): Make it extern.
5598 (free_uploaded_tsv): Make it extern.
5599 (_initialize_tracepoint): Move code to register command 'tsave'
5600 to tracefile.c.
5601 * tracepoint.h (stop_reason_names): Declare.
5602 (struct trace_frame_write_ops): Move it to tracefile.h.
5603 (struct trace_file_write_ops): Likewise.
5604 (struct trace_file_writer): Likewise.
5605 (free_uploaded_tsvs, free_uploaded_tps): Declare.
5606
5607 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5608
5609 PR gdb/16594
5610 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
5611 process name.
5612 (get_cores_used_by_process): New parameter num_cores, use it.
5613 (linux_xfer_osdata_processes): Pass num_cores to it.
5614 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
5615 process name.
5616
5617 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
5618
5619 * target.c (memory_xfer_partial): Fix length arg in call to
5620 breakpoint_xfer_memory.
5621
5622 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5623
5624 PR tdep/16397
5625 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
5626 number comes after the + or - signs. Adjust length of register
5627 name to be extracted.
5628
5629 2014-02-20 Tom Tromey <tromey@redhat.com>
5630
5631 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
5632 (ada_varobj_ops): Mark "extern".
5633
5634 2014-02-20 Tom Tromey <tromey@redhat.com>
5635
5636 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
5637
5638 2014-02-20 Doug Evans <xdje42@gmail.com>
5639
5640 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
5641 All callers updated.
5642 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
5643 All callers updated.
5644 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
5645 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
5646
5647 2014-02-20 lin zuojian <manjian2006@gmail.com>
5648 Joel Brobecker <brobecker@adacore.com>
5649 Doug Evans <xdje42@gmail.com>
5650
5651 PR symtab/16581
5652 * dwarf2read.c (struct die_info): New member in_process.
5653 (reset_die_in_process): New function.
5654 (process_die): Set it at the start, reset when returning.
5655 (inherit_abstract_dies): Only call process_die if origin_child_die
5656 not already being processed.
5657
5658 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5659
5660 * windows-nat.c (handle_unload_dll): Add function documentation.
5661 (do_initial_windows_stuff): Add comment explaining why we wait
5662 until after inferior initialization has finished before
5663 processing all DLLs.
5664
5665 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5666
5667 * windows-nat.c (get_module_name): Delete.
5668 (windows_get_exec_module_filename): New function, mostly
5669 inspired from get_module_name.
5670 (windows_pid_to_exec_file): Replace call to get_module_name
5671 by call to windows_get_exec_module_filename.
5672
5673 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5674
5675 * windows-nat.c (handle_load_dll): Rewrite this function's
5676 introductory comment. Remove code using get_module_name
5677 to get the DLL's name.
5678
5679 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5680
5681 * windows-nat.c (get_windows_debug_event): Ignore
5682 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
5683 if windows_initialization_done == 0.
5684 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
5685 Adjust implementation to always load all DLLs.
5686 (do_initial_windows_stuff): Replace call to
5687 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
5688
5689 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5690
5691 * windows-nat.c (_initialize_windows_nat): Deprecate the
5692 "dll-symbols" command. Turn the "add-shared-symbol-files"
5693 and "assf" aliases into commands, and deprecate them as well.
5694 * NEWS: Add entry explaining that "dll-symbols" and its two
5695 aliases are now deprecated.
5696
5697 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5698
5699 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
5700 new-line in debug string. Remove trailing spaces.
5701
5702 2014-02-19 Stan Shebs <stan@codesourcery.com>
5703
5704 * darwin-nat.c (darwin_xfer_partial): Fix return type.
5705
5706 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5707
5708 * NEWS: Add entry for the new feature
5709 * python/py-value.c (valpy_binop): Call value_x_binop for struct
5710 and class values.
5711
5712 2014-02-19 Stan Shebs <stan@codesourcery.com>
5713
5714 * MAINTAINERS: List Yao Qi as nios2 maintainer.
5715
5716 2014-02-19 Pedro Alves <palves@redhat.com>
5717
5718 * common/ptid.h (struct ptid): Mention that process_stratum
5719 targets should prefer ptid.lwp.
5720
5721 2014-02-19 Pedro Alves <palves@redhat.com>
5722
5723 * remote.c (remote_thread_alive, write_ptid, read_ptid)
5724 (read_ptid, remote_newthread_step, remote_threads_extra_info)
5725 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
5726 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
5727 store remote thread ids rather than ptid.tid.
5728 (_initialize_remote): Adjust.
5729
5730 2014-02-19 Tom Tromey <tromey@redhat.com>
5731
5732 * target.c (target_get_unwinder): Rewrite.
5733 (target_get_tailcall_unwinder): Rewrite.
5734 * record-btrace.c (record_btrace_to_get_unwinder): New function.
5735 (record_btrace_to_get_tailcall_unwinder): New function.
5736 (init_record_btrace_ops): Update.
5737 * target.h (struct target_ops) <to_get_unwinder,
5738 to_get_tailcall_unwinder>: Now function pointers. Use
5739 TARGET_DEFAULT_RETURN.
5740
5741 2014-02-19 Tom Tromey <tromey@redhat.com>
5742
5743 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
5744 argument.
5745 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
5746
5747 2014-02-19 Tom Tromey <tromey@redhat.com>
5748
5749 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
5750 directly.
5751 * target-delegates.c: Rebuild.
5752 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
5753 TARGET_DEFAULT_FUNC.
5754 * target.c (default_target_decr_pc_after_break): Rename from
5755 forward_target_decr_pc_after_break. Simplify.
5756 (target_decr_pc_after_break): Rely on delegation.
5757
5758 2014-02-19 Tom Tromey <tromey@redhat.com>
5759
5760 * target.c (update_current_target): Do not INHERIT to_doc or
5761 to_magic. Do not de_fault to_open or to_close.
5762
5763 2014-02-19 Tom Tromey <tromey@redhat.com>
5764
5765 * gcore.h (objfile_find_memory_regions): Declare.
5766 * gcore.c (objfile_find_memory_regions): No longer static. Add
5767 "self" argument.
5768 (_initialize_gcore): Don't call exec_set_find_memory_regions.
5769 * exec.c: Include gcore.h.
5770 (exec_set_find_memory_regions): Remove.
5771 (exec_find_memory_regions): Remove.
5772 (exec_do_find_memory_regions): Remove.
5773 (init_exec_ops): Update.
5774 * defs.h (exec_set_find_memory_regions): Remove.
5775
5776 2014-02-19 Tom Tromey <tromey@redhat.com>
5777
5778 * target-delegates.c: Rebuild.
5779 * target.h (struct target_ops) <to_extra_thread_info,
5780 to_thread_name, to_pid_to_exec_file, to_get_section_table,
5781 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
5782 not 0, in TARGET_DEFAULT_RETURN.
5783
5784 2014-02-19 Tom Tromey <tromey@redhat.com>
5785
5786 * target.c (complete_target_initialization): Remove casts. Use
5787 return_zero_has_execution.
5788 (return_zero): Add "ignore" argument.
5789 (return_zero_has_execution): New function.
5790 (init_dummy_target): Remove casts. Use
5791 return_zero_has_execution.
5792
5793 2014-02-19 Tom Tromey <tromey@redhat.com>
5794
5795 * target.c (update_current_target): Update comments. Do not
5796 INHERIT to_stratum.
5797
5798 2014-02-19 Tom Tromey <tromey@redhat.com>
5799
5800 * arm-linux-nat.c (arm_linux_read_description): Delegate when
5801 needed.
5802 * corelow.c (core_read_description): Delegate when needed.
5803 * remote.c (remote_read_description): Delegate when needed.
5804 * target-delegates.c: Rebuild.
5805 * target.c (target_read_description): Rewrite.
5806 * target.h (struct target_ops) <to_read_description>: Update
5807 comment. Use TARGET_DEFAULT_RETURN.
5808
5809 2014-02-19 Tom Tromey <tromey@redhat.com>
5810
5811 * target-delegates.c: Rebuild.
5812 * target.c (update_current_target): Don't inherit or default
5813 to_can_run.
5814 (find_default_run_target): Check against delegate_can_run.
5815 * target.h (struct target_ops) <to_can_run>: Use
5816 TARGET_DEFAULT_RETURN.
5817
5818 2014-02-19 Tom Tromey <tromey@redhat.com>
5819
5820 * target-delegates.c: Rebuild.
5821 * target.c (target_disconnect): Unconditionally delegate.
5822 * target.h (struct target_ops) <to_disconnect>: Use
5823 TARGET_DEFAULT_NORETURN.
5824
5825 2014-02-19 Tom Tromey <tromey@redhat.com>
5826
5827 * record.c (record_stop): Unconditionally delegate.
5828 * target-delegates.c: Rebuild.
5829 * target.c (target_stop_recording): Unconditionally delegate.
5830 * target.h (struct target_ops) <to_stop_recording>: Use
5831 TARGET_DEFAULT_IGNORE.
5832
5833 2014-02-19 Tom Tromey <tromey@redhat.com>
5834
5835 * target-delegates.c: Rebuild.
5836 * target.c (target_enable_btrace): Unconditionally delegate.
5837 * target.h (struct target_ops) <to_enable_btrace>: Use
5838 TARGET_DEFAULT_NORETURN.
5839
5840 2014-02-19 Tom Tromey <tromey@redhat.com>
5841
5842 * target-delegates.c: Rebuild.
5843 * target.c (target_read_btrace): Unconditionally delegate.
5844 * target.h (struct target_ops) <to_read_btrace>: Use
5845 TARGET_DEFAULT_NORETURN.
5846
5847 2014-02-19 Tom Tromey <tromey@redhat.com>
5848
5849 * target-delegates.c: Rebuild.
5850 * target.c (target_teardown_btrace): Unconditionally delegate.
5851 * target.h (struct target_ops) <to_teardown_btrace>: Use
5852 TARGET_DEFAULT_NORETURN.
5853
5854 2014-02-19 Tom Tromey <tromey@redhat.com>
5855
5856 * target-delegates.c: Rebuild.
5857 * target.c (target_disable_btrace): Unconditionally delegate.
5858 * target.h (struct target_ops) <to_disable_btrace>: Use
5859 TARGET_DEFAULT_NORETURN.
5860
5861 2014-02-19 Tom Tromey <tromey@redhat.com>
5862
5863 * target-delegates.c: Rebuild.
5864 * target.c (default_search_memory): New function.
5865 (simple_search_memory): Update comment.
5866 (target_search_memory): Unconditionally delegate.
5867 * target.h (struct target_ops) <to_search_memory>: Use
5868 TARGET_DEFAULT_FUNC.
5869
5870 2014-02-19 Tom Tromey <tromey@redhat.com>
5871
5872 * auxv.c (default_auxv_parse): No longer static.
5873 (target_auxv_parse): Unconditionally delegate.
5874 * auxv.h (default_auxv_parse): Declare.
5875 * target-delegates.c: Rebuild.
5876 * target.c: Include auxv.h.
5877 * target.h (struct target_ops) <to_auxv_parse>: Use
5878 TARGET_DEFAULT_FUNC.
5879
5880 2014-02-19 Tom Tromey <tromey@redhat.com>
5881
5882 * target-delegates.c: Rebuild.
5883 * target.c (target_memory_map): Unconditionally delegate.
5884 * target.h (struct target_ops) <to_memory_map>: Use
5885 TARGET_DEFAULT_RETURN.
5886
5887 2014-02-19 Tom Tromey <tromey@redhat.com>
5888
5889 * target-delegates.c: Rebuild.
5890 * target.c (target_thread_alive): Unconditionally delegate.
5891 * target.h (struct target_ops) <to_thread_alive>: Use
5892 TARGET_DEFAULT_RETURN.
5893
5894 2014-02-19 Tom Tromey <tromey@redhat.com>
5895
5896 * target-delegates.c: Rebuild.
5897 * target.c (target_save_record): Unconditionally delegate.
5898 * target.h (struct target_ops) <to_save_record>: Use
5899 TARGET_DEFAULT_NORETURN.
5900
5901 2014-02-19 Tom Tromey <tromey@redhat.com>
5902
5903 * target-delegates.c: Rebuild.
5904 * target.c (target_delete_record): Unconditionally delegate.
5905 * target.h (struct target_ops) <to_delete_record>: Use
5906 TARGET_DEFAULT_NORETURN.
5907
5908 2014-02-19 Tom Tromey <tromey@redhat.com>
5909
5910 * target-delegates.c: Rebuild.
5911 * target.c (target_record_is_replaying): Unconditionally
5912 delegate.
5913 * target.h (struct target_ops) <to_record_is_replaying>: Use
5914 TARGET_DEFAULT_RETURN.
5915
5916 2014-02-19 Tom Tromey <tromey@redhat.com>
5917
5918 * target-delegates.c: Rebuild.
5919 * target.c (target_goto_record_begin): Unconditionally delegate.
5920 * target.h (struct target_ops) <to_goto_record_begin>: Use
5921 TARGET_DEFAULT_NORETURN.
5922
5923 2014-02-19 Tom Tromey <tromey@redhat.com>
5924
5925 * target-delegates.c: Rebuild.
5926 * target.c (target_goto_record_end): Unconditionally delegate.
5927 * target.h (struct target_ops) <to_goto_record_end>: Use
5928 TARGET_DEFAULT_NORETURN.
5929
5930 2014-02-19 Tom Tromey <tromey@redhat.com>
5931
5932 * target-delegates.c: Rebuild.
5933 * target.c (target_goto_record): Unconditionally delegate.
5934 * target.h (struct target_ops) <to_goto_record>: Use
5935 TARGET_DEFAULT_NORETURN.
5936
5937 2014-02-19 Tom Tromey <tromey@redhat.com>
5938
5939 * target-delegates.c: Rebuild.
5940 * target.c (target_insn_history): Unconditionally delegate.
5941 * target.h (struct target_ops) <to_insn_history>: Use
5942 TARGET_DEFAULT_NORETURN.
5943
5944 2014-02-19 Tom Tromey <tromey@redhat.com>
5945
5946 * target-delegates.c: Rebuild.
5947 * target.c (target_insn_history_from): Unconditionally delegate.
5948 * target.h (struct target_ops) <to_insn_history_from>: Use
5949 TARGET_DEFAULT_NORETURN.
5950
5951 2014-02-19 Tom Tromey <tromey@redhat.com>
5952
5953 * target-delegates.c: Rebuild.
5954 * target.c (target_insn_history_range): Unconditionally delegate.
5955 * target.h (struct target_ops) <to_insn_history_range>: Use
5956 TARGET_DEFAULT_NORETURN.
5957
5958 2014-02-19 Tom Tromey <tromey@redhat.com>
5959
5960 * target-delegates.c: Rebuild.
5961 * target.c (target_call_history): Unconditionally delegate.
5962 * target.h (struct target_ops) <to_call_history>: Use
5963 TARGET_DEFAULT_NORETURN.
5964
5965 2014-02-19 Tom Tromey <tromey@redhat.com>
5966
5967 * target-delegates.c: Rebuild.
5968 * target.c (target_call_history_from): Unconditionally delegate.
5969 * target.h (struct target_ops) <to_call_history_from>: Use
5970 TARGET_DEFAULT_NORETURN.
5971
5972 2014-02-19 Tom Tromey <tromey@redhat.com>
5973
5974 * target-delegates.c: Rebuild.
5975 * target.c (target_call_history_range): Unconditionally delegate.
5976 * target.h (struct target_ops) <to_call_history_range>: Use
5977 TARGET_DEFAULT_NORETURN.
5978
5979 2014-02-19 Tom Tromey <tromey@redhat.com>
5980
5981 * target-delegates.c: Rebuild.
5982 * target.c (target_verify_memory): Unconditionally delegate.
5983 * target.h (struct target_ops) <to_verify_memory>: Use
5984 TARGET_DEFAULT_NORETURN.
5985
5986 2014-02-19 Tom Tromey <tromey@redhat.com>
5987
5988 * target-delegates.c: Rebuild.
5989 * target.c (target_core_of_thread): Unconditionally delegate.
5990 * target.h (struct target_ops) <to_core_of_thread>: Use
5991 TARGET_DEFAULT_RETURN.
5992
5993 2014-02-19 Tom Tromey <tromey@redhat.com>
5994
5995 * target-delegates.c: Rebuild.
5996 * target.c (target_flash_done): Unconditionally delegate.
5997 * target.h (struct target_ops) <to_flash_done>: Use
5998 TARGET_DEFAULT_NORETURN.
5999
6000 2014-02-19 Tom Tromey <tromey@redhat.com>
6001
6002 * target-delegates.c: Rebuild.
6003 * target.c (target_flash_erase): Unconditionally delegate.
6004 * target.h (struct target_ops) <to_flash_erase>: Use
6005 TARGET_DEFAULT_NORETURN.
6006
6007 2014-02-19 Tom Tromey <tromey@redhat.com>
6008
6009 * target-delegates.c: Rebuild.
6010 * target.c (target_get_section_table): Unconditionally delegate.
6011 * target.h (struct target_ops) <to_get_section_table>: Use
6012 TARGET_DEFAULT_RETURN.
6013
6014 2014-02-19 Tom Tromey <tromey@redhat.com>
6015
6016 * target-delegates.c: Rebuild.
6017 * target.c (target_pid_to_str): Unconditionally delegate.
6018 (init_dummy_target): Don't initialize to_pid_to_str.
6019 (default_pid_to_str): Rename from dummy_pid_to_str.
6020 * target.h (struct target_ops) <to_pid_to_str>: Use
6021 TARGET_DEFAULT_FUNC.
6022
6023 2014-02-19 Tom Tromey <tromey@redhat.com>
6024
6025 * target-delegates.c: Rebuild.
6026 * target.c (target_find_new_threads): Unconditionally delegate.
6027 * target.h (struct target_ops) <to_find_new_threads>: Use
6028 TARGET_DEFAULT_RETURN.
6029
6030 2014-02-19 Tom Tromey <tromey@redhat.com>
6031
6032 * target-delegates.c: Rebuild.
6033 * target.c (target_program_signals): Unconditionally delegate.
6034 * target.h (struct target_ops) <to_program_signals>: Use
6035 TARGET_DEFAULT_IGNORE.
6036
6037 2014-02-19 Tom Tromey <tromey@redhat.com>
6038
6039 * target-delegates.c: Rebuild.
6040 * target.c (target_pass_signals): Unconditionally delegate.
6041 * target.h (struct target_ops) <to_pass_signals>: Use
6042 TARGET_DEFAULT_IGNORE.
6043
6044 2014-02-19 Tom Tromey <tromey@redhat.com>
6045
6046 * target-delegates.c: Rebuild.
6047 * target.c (default_mourn_inferior): New function.
6048 (target_mourn_inferior): Unconditionally delegate.
6049 * target.h (struct target_ops) <to_mourn_inferior>: Use
6050 TARGET_DEFAULT_FUNC.
6051
6052 2014-02-19 Tom Tromey <tromey@redhat.com>
6053
6054 * target-delegates.c: Rebuild.
6055 * target.c (default_follow_fork): New function.
6056 (target_follow_fork): Unconditionally delegate.
6057 * target.h (struct target_ops) <to_follow_fork>: Use
6058 TARGET_DEFAULT_FUNC.
6059
6060 2014-02-19 Tom Tromey <tromey@redhat.com>
6061
6062 * target-delegates.c: Rebuild.
6063 * target.c (target_kill): Unconditionally delegate.
6064 * target.h (struct target_ops) <to_kill>: Use
6065 TARGET_DEFAULT_NORETURN.
6066
6067 2014-02-19 Tom Tromey <tromey@redhat.com>
6068
6069 * target-delegates.c: Rebuild.
6070 * target.c (target_masked_watch_num_registers): Unconditionally
6071 delegate.
6072 * target.h (struct target_ops) <to_masked_watch_num_registers>:
6073 Use TARGET_DEFAULT_RETURN.
6074
6075 2014-02-19 Tom Tromey <tromey@redhat.com>
6076
6077 * target-delegates.c: Rebuild.
6078 * target.c (target_remove_mask_watchpoint): Unconditionally
6079 delegate.
6080 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
6081 TARGET_DEFAULT_RETURN.
6082
6083 2014-02-19 Tom Tromey <tromey@redhat.com>
6084
6085 * target-delegates.c: Rebuild.
6086 * target.c (target_insert_mask_watchpoint): Unconditionally
6087 delegate.
6088 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
6089 TARGET_DEFAULT_RETURN.
6090
6091 2014-02-19 Tom Tromey <tromey@redhat.com>
6092
6093 * target-delegates.c: Rebuild.
6094 * target.c (target_ranged_break_num_registers): Unconditionally
6095 delegate.
6096 * target.h (struct target_ops) <to_ranged_break_num_registers>:
6097 Use TARGET_DEFAULT_RETURN.
6098
6099 2014-02-19 Tom Tromey <tromey@redhat.com>
6100
6101 * target-delegates.c: Rebuild.
6102 * target.c (target_fetch_registers): Unconditionally delegate.
6103 * target.h (struct target_ops) <to_fetch_registers>: Use
6104 TARGET_DEFAULT_NORETURN.
6105
6106 2014-02-19 Tom Tromey <tromey@redhat.com>
6107
6108 * target-delegates.c: Rebuild.
6109 * target.c (update_current_target): Don't inherit or default
6110 to_stop.
6111 * target.h (struct target_ops) <to_stop>: Use
6112 TARGET_DEFAULT_IGNORE.
6113
6114 2014-02-19 Tom Tromey <tromey@redhat.com>
6115
6116 * target-delegates.c: Rebuild.
6117 * target.c (update_current_target): Don't inherit or default
6118 to_can_run_breakpoint_commands.
6119 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
6120 Use TARGET_DEFAULT_RETURN.
6121
6122 2014-02-19 Tom Tromey <tromey@redhat.com>
6123
6124 * target-delegates.c: Rebuild.
6125 * target.c (update_current_target): Don't inherit or default
6126 to_supports_evaluation_of_breakpoint_conditions.
6127 * target.h (struct target_ops)
6128 <to_supports_evaluation_of_breakpoint_conditions>: Use
6129 TARGET_DEFAULT_RETURN.
6130
6131 2014-02-19 Tom Tromey <tromey@redhat.com>
6132
6133 * target-delegates.c: Rebuild.
6134 * target.c (update_current_target): Don't inherit or default
6135 to_augmented_libraries_svr4_read.
6136 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
6137 Use TARGET_DEFAULT_RETURN.
6138
6139 2014-02-19 Tom Tromey <tromey@redhat.com>
6140
6141 * target-delegates.c: Rebuild.
6142 * target.c (update_current_target): Don't inherit or default
6143 to_can_use_agent.
6144 * target.h (struct target_ops) <to_can_use_agent>: Use
6145 TARGET_DEFAULT_RETURN.
6146
6147 2014-02-19 Tom Tromey <tromey@redhat.com>
6148
6149 * target-delegates.c: Rebuild.
6150 * target.c (update_current_target): Don't inherit or default
6151 to_use_agent.
6152 * target.h (struct target_ops) <to_use_agent>: Use
6153 TARGET_DEFAULT_NORETURN.
6154
6155 2014-02-19 Tom Tromey <tromey@redhat.com>
6156
6157 * target-delegates.c: Rebuild.
6158 * target.c (update_current_target): Don't inherit or default
6159 to_traceframe_info.
6160 (return_null): Remove.
6161 * target.h (struct target_ops) <to_traceframe_info>: Use
6162 TARGET_DEFAULT_RETURN.
6163
6164 2014-02-19 Tom Tromey <tromey@redhat.com>
6165
6166 * target-delegates.c: Rebuild.
6167 * target.c (update_current_target): Don't inherit or default
6168 to_static_tracepoint_markers_by_strid.
6169 * target.h (struct target_ops)
6170 <to_static_tracepoint_markers_by_strid>: Use
6171 TARGET_DEFAULT_NORETURN.
6172
6173 2014-02-19 Tom Tromey <tromey@redhat.com>
6174
6175 * target-delegates.c: Rebuild.
6176 * target.c (update_current_target): Don't inherit or default
6177 to_static_tracepoint_marker_at.
6178 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
6179 Use TARGET_DEFAULT_RETURN.
6180
6181 2014-02-19 Tom Tromey <tromey@redhat.com>
6182
6183 * target-delegates.c: Rebuild.
6184 * target.c (update_current_target): Don't inherit or default
6185 to_set_permissions.
6186 * target.h (struct target_ops) <to_set_permissions>: Use
6187 TARGET_DEFAULT_IGNORE.
6188
6189 2014-02-19 Tom Tromey <tromey@redhat.com>
6190
6191 * target-delegates.c: Rebuild.
6192 * target.c (update_current_target): Don't inherit or default
6193 to_get_tib_address.
6194 * target.h (struct target_ops) <to_get_tib_address>: Use
6195 TARGET_DEFAULT_NORETURN.
6196
6197 2014-02-19 Tom Tromey <tromey@redhat.com>
6198
6199 * target-delegates.c: Rebuild.
6200 * target.c (update_current_target): Don't inherit or default
6201 to_set_trace_notes.
6202 * target.h (struct target_ops) <to_set_trace_notes>: Use
6203 TARGET_DEFAULT_RETURN.
6204
6205 2014-02-19 Tom Tromey <tromey@redhat.com>
6206
6207 * target-delegates.c: Rebuild.
6208 * target.c (update_current_target): Don't initialize
6209 to_set_trace_buffer_size.
6210 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
6211 TARGET_DEFAULT_IGNORE.
6212
6213 2014-02-19 Tom Tromey <tromey@redhat.com>
6214
6215 * target-delegates.c: Rebuild.
6216 * target.c (update_current_target): Don't inherit or default
6217 to_set_circular_trace_buffer.
6218 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
6219 TARGET_DEFAULT_IGNORE.
6220
6221 2014-02-19 Tom Tromey <tromey@redhat.com>
6222
6223 * target-delegates.c: Rebuild.
6224 * target.c (update_current_target): Don't inherit or default
6225 to_set_disconnected_tracing.
6226 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
6227 TARGET_DEFAULT_IGNORE.
6228
6229 2014-02-19 Tom Tromey <tromey@redhat.com>
6230
6231 * target-delegates.c: Rebuild.
6232 * target.c (update_current_target): Don't inherit or default
6233 to_get_min_fast_tracepoint_insn_len.
6234 (return_minus_one): Remove.
6235 * target.h (struct target_ops)
6236 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
6237
6238 2014-02-19 Tom Tromey <tromey@redhat.com>
6239
6240 * target-delegates.c: Rebuild.
6241 * target.c (update_current_target): Don't inherit or default
6242 to_get_raw_trace_data.
6243 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
6244 TARGET_DEFAULT_NORETURN.
6245
6246 2014-02-19 Tom Tromey <tromey@redhat.com>
6247
6248 * target-delegates.c: Rebuild.
6249 * target.c (update_current_target): Don't inherit or default
6250 to_upload_trace_state_variables.
6251 * target.h (struct target_ops) <to_upload_trace_state_variables>:
6252 Use TARGET_DEFAULT_RETURN.
6253
6254 2014-02-19 Tom Tromey <tromey@redhat.com>
6255
6256 * target-delegates.c: Rebuild.
6257 * target.c (update_current_target): Don't inherit or default
6258 to_upload_tracepoints.
6259 * target.h (struct target_ops) <to_upload_tracepoints>: Use
6260 TARGET_DEFAULT_RETURN.
6261
6262 2014-02-19 Tom Tromey <tromey@redhat.com>
6263
6264 * target-delegates.c: Rebuild.
6265 * target.c (update_current_target): Don't inherit or default
6266 to_save_trace_data.
6267 * target.h (struct target_ops) <to_save_trace_data>: Use
6268 TARGET_DEFAULT_NORETURN.
6269
6270 2014-02-19 Tom Tromey <tromey@redhat.com>
6271
6272 * target-delegates.c: Rebuild.
6273 * target.c (update_current_target): Don't inherit or default
6274 to_get_trace_state_variable_value.
6275 * target.h (struct target_ops)
6276 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
6277
6278 2014-02-19 Tom Tromey <tromey@redhat.com>
6279
6280 * target-delegates.c: Rebuild.
6281 * target.c (update_current_target): Don't inherit or default
6282 to_trace_find.
6283 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
6284
6285 2014-02-19 Tom Tromey <tromey@redhat.com>
6286
6287 * target-delegates.c: Rebuild.
6288 * target.c (update_current_target): Don't inherit or default
6289 to_trace_stop.
6290 * target.h (struct target_ops) <to_trace_stop>: Use
6291 TARGET_DEFAULT_NORETURN.
6292
6293 2014-02-19 Tom Tromey <tromey@redhat.com>
6294
6295 * target-delegates.c: Rebuild.
6296 * target.c (update_current_target): Don't inherit or default
6297 to_get_tracepoint_status.
6298 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
6299 TARGET_DEFAULT_NORETURN.
6300
6301 2014-02-19 Tom Tromey <tromey@redhat.com>
6302
6303 * target-delegates.c: Rebuild.
6304 * target.c (update_current_target): Don't inherit or default
6305 to_get_trace_status.
6306 * target.h (struct target_ops) <to_get_trace_status>: Use
6307 TARGET_DEFAULT_RETURN.
6308
6309 2014-02-19 Tom Tromey <tromey@redhat.com>
6310
6311 * target-delegates.c: Rebuild.
6312 * target.c (update_current_target): Don't inherit or default
6313 to_trace_start.
6314 * target.h (struct target_ops) <to_trace_start>: Use
6315 TARGET_DEFAULT_NORETURN.
6316
6317 2014-02-19 Tom Tromey <tromey@redhat.com>
6318
6319 * target-delegates.c: Rebuild.
6320 * target.c (update_current_target): Don't inherit or default
6321 to_trace_set_readonly_regions.
6322 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
6323 Use TARGET_DEFAULT_NORETURN.
6324
6325 2014-02-19 Tom Tromey <tromey@redhat.com>
6326
6327 * target-delegates.c: Rebuild.
6328 * target.c (update_current_target): Don't inherit or default
6329 to_disable_tracepoint.
6330 * target.h (struct target_ops) <to_disable_tracepoint>: Use
6331 TARGET_DEFAULT_NORETURN.
6332
6333 2014-02-19 Tom Tromey <tromey@redhat.com>
6334
6335 * target-delegates.c: Rebuild.
6336 * target.c (update_current_target): Don't inherit or default
6337 to_enable_tracepoint.
6338 * target.h (struct target_ops) <to_enable_tracepoint>: Use
6339 TARGET_DEFAULT_NORETURN.
6340
6341 2014-02-19 Tom Tromey <tromey@redhat.com>
6342
6343 * target-delegates.c: Rebuild.
6344 * target.c (update_current_target): Don't inherit or default
6345 to_download_trace_state_variable.
6346 * target.h (struct target_ops) <to_download_trace_state_variable>:
6347 Use TARGET_DEFAULT_NORETURN.
6348
6349 2014-02-19 Tom Tromey <tromey@redhat.com>
6350
6351 * target-delegates.c: Rebuild.
6352 * target.c (update_current_target): Don't inherit or default
6353 to_can_download_tracepoint.
6354 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
6355 TARGET_DEFAULT_RETURN.
6356
6357 2014-02-19 Tom Tromey <tromey@redhat.com>
6358
6359 * target-delegates.c: Rebuild.
6360 * target.c (update_current_target): Don't inherit or default
6361 to_download_tracepoint.
6362 * target.h (struct target_ops) <to_download_tracepoint>: Use
6363 TARGET_DEFAULT_NORETURN.
6364
6365 2014-02-19 Tom Tromey <tromey@redhat.com>
6366
6367 * target-delegates.c: Rebuild.
6368 * target.c (update_current_target): Don't inherit or default
6369 to_trace_init.
6370 * target.h (struct target_ops) <to_trace_init>: Use
6371 TARGET_DEFAULT_RETURN.
6372
6373 2014-02-19 Tom Tromey <tromey@redhat.com>
6374
6375 * target-delegates.c: Rebuild.
6376 * target.c (update_current_target): Don't inherit or default
6377 to_supports_string_tracing.
6378 * target.h (struct target_ops) <to_supports_string_tracing>: Use
6379 TARGET_DEFAULT_RETURN.
6380
6381 2014-02-19 Tom Tromey <tromey@redhat.com>
6382
6383 * target-delegates.c: Rebuild.
6384 * target.c (update_current_target): Don't inherit or default
6385 to_supports_enable_disable_tracepoint.
6386 * target.h (struct target_ops)
6387 <to_supports_enable_disable_tracepoint>: Use
6388 TARGET_DEFAULT_RETURN.
6389
6390 2014-02-19 Tom Tromey <tromey@redhat.com>
6391
6392 * target-delegates.c: Rebuild.
6393 * target.c (update_current_target): Don't inherit or default
6394 to_supports_multi_process.
6395 * target.h (struct target_ops) <to_supports_multi_process>: Use
6396 TARGET_DEFAULT_RETURN.
6397
6398 2014-02-19 Tom Tromey <tromey@redhat.com>
6399
6400 * target-delegates.c: Rebuild.
6401 * target.c (update_current_target): Don't inherit or default
6402 to_get_ada_task_ptid.
6403 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
6404 TARGET_DEFAULT_FUNC.
6405
6406 2014-02-19 Tom Tromey <tromey@redhat.com>
6407
6408 * target-delegates.c: Rebuild.
6409 * target.c (update_current_target): Don't inherit or default
6410 to_thread_architecture.
6411 * target.h (struct target_ops) <to_thread_architecture>: Use
6412 TARGET_DEFAULT_FUNC.
6413
6414 2014-02-19 Tom Tromey <tromey@redhat.com>
6415
6416 * target-delegates.c: Rebuild.
6417 * target.c (update_current_target): Don't inherit or default
6418 to_execution_direction.
6419 * target.h (struct target_ops) <to_execution_direction>: Use
6420 TARGET_DEFAULT_FUNC.
6421
6422 2014-02-19 Tom Tromey <tromey@redhat.com>
6423
6424 * target-delegates.c: Rebuild.
6425 * target.c (update_current_target): Don't inherit or default
6426 to_can_execute_reverse.
6427 * target.h (struct target_ops) <to_can_execute_reverse>: Use
6428 TARGET_DEFAULT_RETURN.
6429 (target_can_execute_reverse): Unconditionally delegate.
6430
6431 2014-02-19 Tom Tromey <tromey@redhat.com>
6432
6433 * target-delegates.c: Rebuild.
6434 * target.c (update_current_target): Don't inherit or default
6435 to_goto_bookmark.
6436 (dummy_goto_bookmark): Remove.
6437 (init_dummy_target): Don't inherit or default to_goto_bookmark.
6438 * target.h (struct target_ops) <to_goto_bookmark>: Use
6439 TARGET_DEFAULT_NORETURN.
6440
6441 2014-02-19 Tom Tromey <tromey@redhat.com>
6442
6443 * target-delegates.c: Rebuild.
6444 * target.c (update_current_target): Don't inherit or default
6445 to_get_bookmark.
6446 (dummy_get_bookmark): Remove.
6447 (init_dummy_target): Don't inherit or default to_get_bookmark.
6448 * target.h (struct target_ops) <to_get_bookmark>: Use
6449 TARGET_DEFAULT_NORETURN
6450
6451 2014-02-19 Tom Tromey <tromey@redhat.com>
6452
6453 * target-delegates.c: Rebuild.
6454 * target.c (update_current_target): Don't inherit or default
6455 to_make_corefile_notes.
6456 (init_dummy_target): Don't initialize to_make_corefile_notes.
6457 * target.h (struct target_ops) <to_make_corefile_notes>: Use
6458 TARGET_DEFAULT_FUNC.
6459
6460 2014-02-19 Tom Tromey <tromey@redhat.com>
6461
6462 * target-delegates.c: Rebuild.
6463 * target.c (update_current_target): Don't inherit or default
6464 to_find_memory_regions.
6465 (init_dummy_target): Don't initialize to_find_memory_regions.
6466 * target.h (struct target_ops) <to_find_memory_regions>: Use
6467 TARGET_DEFAULT_FUNC.
6468
6469 2014-02-19 Tom Tromey <tromey@redhat.com>
6470
6471 * target-delegates.c: Rebuild.
6472 * target.c (update_current_target): Don't inherit or default
6473 to_log_command.
6474 * target.h (struct target_ops) <to_log_command>: Use
6475 TARGET_DEFAULT_IGNORE.
6476 (target_log_command): Unconditionally delegate.
6477
6478 2014-02-19 Tom Tromey <tromey@redhat.com>
6479
6480 * target-delegates.c: Rebuild.
6481 * target.c (update_current_target): Don't inherit or default
6482 to_pid_to_exec_file.
6483 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
6484 TARGET_DEFAULT_RETURN.
6485
6486 2014-02-19 Tom Tromey <tromey@redhat.com>
6487
6488 * target-delegates.c: Rebuild.
6489 * target.c (update_current_target): Don't inherit or default
6490 to_thread_name.
6491 (target_thread_name): Unconditionally delegate.
6492 * target.h (struct target_ops) <to_thread_name>: Use
6493 TARGET_DEFAULT_RETURN.
6494
6495 2014-02-19 Tom Tromey <tromey@redhat.com>
6496
6497 * target-delegates.c: Rebuild.
6498 * target.c (update_current_target): Don't inherit or default
6499 to_extra_thread_info.
6500 * target.h (struct target_ops) <to_extra_thread_info>: Use
6501 TARGET_DEFAULT_RETURN.
6502
6503 2014-02-19 Tom Tromey <tromey@redhat.com>
6504
6505 * target-delegates.c: Rebuild.
6506 * target.c (update_current_target): Don't inherit or default
6507 to_has_exited.
6508 * target.h (struct target_ops) <to_has_exited>: Use
6509 TARGET_DEFAULT_RETURN..
6510
6511 2014-02-19 Tom Tromey <tromey@redhat.com>
6512
6513 * target-delegates.c: Rebuild.
6514 * target.c (update_current_target): Don't inherit or default
6515 to_set_syscall_catchpoint.
6516 (return_one): Remove.
6517 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
6518 TARGET_DEFAULT_RETURN.
6519
6520 2014-02-19 Tom Tromey <tromey@redhat.com>
6521
6522 * target-delegates.c: Rebuild.
6523 * target.c (update_current_target): Don't inherit or default
6524 to_insert_exec_catchpoint.
6525 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6526 TARGET_DEFAULT_RETURN.
6527
6528 2014-01-08 Tom Tromey <tromey@redhat.com>
6529
6530 * target-delegates.c: Rebuild.
6531 * target.c (update_current_target): Don't inherit or default
6532 to_insert_exec_catchpoint.
6533 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6534 TARGET_DEFAULT_RETURN.
6535
6536 2014-02-19 Tom Tromey <tromey@redhat.com>
6537
6538 * target-delegates.c: Rebuild.
6539 * target.c (update_current_target): Don't inherit or default
6540 to_remove_vfork_catchpoint.
6541 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
6542 TARGET_DEFAULT_RETURN.
6543
6544 2014-02-19 Tom Tromey <tromey@redhat.com>
6545
6546 * target-delegates.c: Rebuild.
6547 * target.c (update_current_target): Don't inherit or default
6548 to_insert_vfork_catchpoint.
6549 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
6550 TARGET_DEFAULT_RETURN.
6551
6552 2014-02-19 Tom Tromey <tromey@redhat.com>
6553
6554 * target-delegates.c: Rebuild.
6555 * target.c (update_current_target): Don't inherit or default
6556 to_remove_fork_catchpoint.
6557 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
6558 TARGET_DEFAULT_RETURN.
6559
6560 2014-02-19 Tom Tromey <tromey@redhat.com>
6561
6562 * target-delegates.c: Rebuild.
6563 * target.c (update_current_target): Don't inherit or default
6564 to_insert_fork_catchpoint.
6565 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
6566 TARGET_DEFAULT_RETURN.
6567
6568 2014-02-19 Tom Tromey <tromey@redhat.com>
6569
6570 * target-delegates.c: Rebuild.
6571 * target.c (update_current_target): Don't inherit or default
6572 to_post_startup_inferior.
6573 * target.h (struct target_ops) <to_post_startup_inferior>: Use
6574 TARGET_DEFAULT_IGNORE.
6575
6576 2014-02-19 Tom Tromey <tromey@redhat.com>
6577
6578 * target-delegates.c: Rebuild.
6579 * target.c (update_current_target): Don't inherit or default
6580 to_load.
6581 * target.h (struct target_ops) <to_load>: Use
6582 TARGET_DEFAULT_NORETURN.
6583
6584 2014-02-19 Tom Tromey <tromey@redhat.com>
6585
6586 * target-delegates.c: Rebuild.
6587 * target.c (update_current_target): Don't inherit or default
6588 to_terminal_info.
6589 * target.h (struct target_ops) <to_terminal_info>: Use
6590 TARGET_DEFAULT_FUNC.
6591
6592 2014-02-19 Tom Tromey <tromey@redhat.com>
6593
6594 * target-delegates.c: Rebuild.
6595 * target.c (update_current_target): Don't inherit or default
6596 to_terminal_save_ours.
6597 * target.h (struct target_ops) <to_terminal_save_ours>: Use
6598 TARGET_DEFAULT_IGNORE.
6599
6600 2014-02-19 Tom Tromey <tromey@redhat.com>
6601
6602 * target-delegates.c: Rebuild.
6603 * target.c (update_current_target): Don't inherit or default
6604 to_terminal_ours.
6605 * target.h (struct target_ops) <to_terminal_ours>: Use
6606 TARGET_DEFAULT_IGNORE.
6607
6608 2014-02-19 Tom Tromey <tromey@redhat.com>
6609
6610 * target-delegates.c: Rebuild.
6611 * target.c (update_current_target): Don't inherit or default
6612 to_terminal_ours_for_output.
6613 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
6614 TARGET_DEFAULT_IGNORE.
6615
6616 2014-02-19 Tom Tromey <tromey@redhat.com>
6617
6618 * target-delegates.c: Rebuild.
6619 * target.c (update_current_target): Don't inherit or default
6620 to_terminal_inferior.
6621 * target.h (struct target_ops) <to_terminal_inferior>: Use
6622 TARGET_DEFAULT_IGNORE.
6623
6624 2014-02-19 Tom Tromey <tromey@redhat.com>
6625
6626 * target-delegates.c: Rebuild.
6627 * target.c (update_current_target): Don't inherit or default
6628 to_terminal_init.
6629 * target.h (struct target_ops) <to_terminal_init>: Use
6630 TARGET_DEFAULT_IGNORE.
6631
6632 2014-02-19 Tom Tromey <tromey@redhat.com>
6633
6634 * target-delegates.c: Rebuild.
6635 * target.c (update_current_target): Don't inherit or default
6636 to_can_accel_watchpoint_condition.
6637 * target.h (struct target_ops)
6638 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
6639
6640 2014-02-19 Tom Tromey <tromey@redhat.com>
6641
6642 * target-delegates.c: Rebuild.
6643 * target.c (update_current_target): Don't inherit or default
6644 to_region_ok_for_hw_watchpoint.
6645 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
6646 Use TARGET_DEFAULT_FUNC.
6647
6648 2014-02-19 Tom Tromey <tromey@redhat.com>
6649
6650 * target-delegates.c: Rebuild.
6651 * target.c (update_current_target): Don't inherit or default
6652 to_watchpoint_addr_within_range.
6653 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
6654 Use TARGET_DEFAULT_FUNC.
6655
6656 2014-02-19 Tom Tromey <tromey@redhat.com>
6657
6658 * target-delegates.c: Rebuild.
6659 * target.c (update_current_target): Don't inherit or default
6660 to_remove_watchpoint.
6661 * target.h (struct target_ops) <to_remove_watchpoint>: Use
6662 TARGET_DEFAULT_NORETURN.
6663
6664 2014-02-19 Tom Tromey <tromey@redhat.com>
6665
6666 * target-delegates.c: Rebuild.
6667 * target.c (update_current_target): Don't inherit or default
6668 to_insert_watchpoint.
6669 * target.h (struct target_ops) <to_insert_watchpoint>: Use
6670 TARGET_DEFAULT_RETURN.
6671
6672 2014-02-19 Tom Tromey <tromey@redhat.com>
6673
6674 * target-delegates.c: Rebuild.
6675 * target.c (update_current_target): Don't inherit or default
6676 to_remove_hw_breakpoint.
6677 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
6678 TARGET_DEFAULT_RETURN.
6679
6680 2014-02-19 Tom Tromey <tromey@redhat.com>
6681
6682 * target-delegates.c: Rebuild.
6683 * target.c (update_current_target): Don't inherit or default
6684 to_insert_hw_breakpoint.
6685 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
6686 TARGET_DEFAULT_RETURN.
6687
6688 2014-02-19 Tom Tromey <tromey@redhat.com>
6689
6690 * target-delegates.c: Rebuild.
6691 * target.c (update_current_target): Don't inherit or default
6692 to_can_use_hw_breakpoint.
6693 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
6694 TARGET_DEFAULT_RETURN.
6695
6696 2014-02-19 Tom Tromey <tromey@redhat.com>
6697
6698 * target-delegates.c: Rebuild.
6699 * target.c (update_current_target): Don't inherit or default
6700 to_files_info.
6701 * target.h (struct target_ops) <to_files_info>: Use
6702 TARGET_DEFAULT_IGNORE.
6703
6704 2014-02-19 Tom Tromey <tromey@redhat.com>
6705
6706 * target-delegates.c: Rebuild.
6707 * target.c (update_current_target): Don't inherit or default
6708 to_store.
6709 * target.h (struct target_ops) <to_store>: Use
6710 TARGET_DEFAULT_NORETURN.
6711
6712 2014-02-19 Tom Tromey <tromey@redhat.com>
6713
6714 * target-delegates.c: Rebuild.
6715 * target.c (update_current_target): Don't inherit or default
6716 to_post_attach.
6717 * target.h (struct target_ops) <to_post_attach>: Use
6718 TARGET_DEFAULT_IGNORE.
6719
6720 2014-02-19 Tom Tromey <tromey@redhat.com>
6721
6722 * target-delegates.c: Rebuild.
6723 * target.c (update_current_target): Don't inherit or default
6724 to_rcmd.
6725 (default_rcmd): New function.
6726 (do_monitor_command): Unconditionally delegate.
6727 * target.h (struct target_ops) <to_rmcd>: Use
6728 TARGET_DEFAULT_FUNC.
6729
6730 2014-02-19 Tom Tromey <tromey@redhat.com>
6731
6732 * target-delegates.c: Rebuild.
6733 * target.c (init_dummy_target): Don't initialize to_attach.
6734 (target_attach): Unconditionally delegate.
6735 * target.h (struct target_ops) <to_attach>: Use
6736 TARGET_DEFAULT_FUNC.
6737
6738 2014-02-19 Tom Tromey <tromey@redhat.com>
6739
6740 * target-delegates.c: Rebuild.
6741 * target.c (target_detach): Unconditionally delegate.
6742 (init_dummy_target): Don't initialize to_detach.
6743 * target.h (struct target_ops) <to_detach>: Use
6744 TARGET_DEFAULT_IGNORE.
6745
6746 2014-02-19 Tom Tromey <tromey@redhat.com>
6747
6748 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
6749 Add argument.
6750 (target_augmented_libraries_svr4_read): Add argument.
6751 * target.c (update_current_target): Update.
6752 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
6753 argument.
6754
6755 2014-02-19 Tom Tromey <tromey@redhat.com>
6756
6757 * target.h (struct target_ops) <to_call_history_range>: Add
6758 argument.
6759 * target.c (target_call_history_range): Add argument.
6760 * record-btrace.c (record_btrace_call_history_range): Add 'self'
6761 argument.
6762 (record_btrace_call_history_from): Update.
6763
6764 2014-02-19 Tom Tromey <tromey@redhat.com>
6765
6766 * target.h (struct target_ops) <to_call_history_from>: Add
6767 argument.
6768 * target.c (target_call_history_from): Add argument.
6769 * record-btrace.c (record_btrace_call_history_from): Add 'self'
6770 argument.
6771
6772 2014-02-19 Tom Tromey <tromey@redhat.com>
6773
6774 * target.h (struct target_ops) <to_call_history>: Add argument.
6775 * target.c (target_call_history): Add argument.
6776 * record-btrace.c (record_btrace_call_history): Add 'self'
6777 argument.
6778
6779 2014-02-19 Tom Tromey <tromey@redhat.com>
6780
6781 * target.h (struct target_ops) <to_insn_history_range>: Add
6782 argument.
6783 * target.c (target_insn_history_range): Add argument.
6784 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
6785 argument.
6786 (record_btrace_insn_history_from): Update.
6787
6788 2014-02-19 Tom Tromey <tromey@redhat.com>
6789
6790 * target.h (struct target_ops) <to_insn_history_from>: Add
6791 argument.
6792 * target.c (target_insn_history_from): Add argument.
6793 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
6794 argument.
6795
6796 2014-02-19 Tom Tromey <tromey@redhat.com>
6797
6798 * target.h (struct target_ops) <to_insn_history>: Add argument.
6799 * target.c (target_insn_history): Add argument.
6800 * record-btrace.c (record_btrace_insn_history): Add 'self'
6801 argument.
6802
6803 2014-02-19 Tom Tromey <tromey@redhat.com>
6804
6805 * target.h (struct target_ops) <to_goto_record>: Add argument.
6806 * target.c (target_goto_record): Add argument.
6807 * record-full.c (record_full_goto): Add 'self' argument.
6808 * record-btrace.c (record_btrace_goto): Add 'self' argument.
6809
6810 2014-02-19 Tom Tromey <tromey@redhat.com>
6811
6812 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
6813 * target.c (target_goto_record_end): Add argument.
6814 * record-full.c (record_full_goto_end): Add 'self' argument.
6815 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
6816
6817 2014-02-19 Tom Tromey <tromey@redhat.com>
6818
6819 * target.h (struct target_ops) <to_goto_record_begin>: Add
6820 argument.
6821 * target.c (target_goto_record_begin): Add argument.
6822 * record-full.c (record_full_goto_begin): Add 'self' argument.
6823 * record-btrace.c (record_btrace_goto_begin): Add 'self'
6824 argument.
6825
6826 2014-02-19 Tom Tromey <tromey@redhat.com>
6827
6828 * target.h (struct target_ops) <to_record_is_replaying>: Add
6829 argument.
6830 * target.c (target_record_is_replaying): Add argument.
6831 * record-full.c (record_full_is_replaying): Add 'self' argument.
6832 * record-btrace.c (record_btrace_is_replaying): Add 'self'
6833 argument.
6834 (record_btrace_xfer_partial, record_btrace_store_registers)
6835 (record_btrace_prepare_to_store, record_btrace_resume)
6836 (record_btrace_wait, record_btrace_decr_pc_after_break)
6837 (record_btrace_find_new_threads, record_btrace_thread_alive):
6838 Update.
6839
6840 2014-02-19 Tom Tromey <tromey@redhat.com>
6841
6842 * target.h (struct target_ops) <to_delete_record>: Add argument.
6843 * target.c (target_delete_record): Add argument.
6844 * record-full.c (record_full_delete): Add 'self' argument.
6845
6846 2014-02-19 Tom Tromey <tromey@redhat.com>
6847
6848 * target.h (struct target_ops) <to_save_record>: Add argument.
6849 * target.c (target_save_record): Add argument.
6850 * record-full.c (record_full_save): Add 'self' argument.
6851 (record_full_save): Add 'self' argument.
6852
6853 2014-02-19 Tom Tromey <tromey@redhat.com>
6854
6855 * target.h (struct target_ops) <to_info_record>: Add argument.
6856 * target.c (target_info_record): Add argument.
6857 * record.c (info_record_command): Add argument.
6858 * record-full.c (record_full_info): Add 'self' argument.
6859 * record-btrace.c (record_btrace_info): Add 'self' argument.
6860
6861 2014-02-19 Tom Tromey <tromey@redhat.com>
6862
6863 * target.h (struct target_ops) <to_stop_recording>: Add argument.
6864 * target.c (target_stop_recording): Add argument.
6865 * record.c (record_stop): Add argument.
6866 * record-btrace.c (record_btrace_stop_recording): Add 'self'
6867 argument.
6868
6869 2014-02-19 Tom Tromey <tromey@redhat.com>
6870
6871 * target.h (struct target_ops) <to_read_btrace>: Add argument.
6872 * target.c (struct target_ops) <to_read_btrace>: Add argument.
6873 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
6874 argument.
6875 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
6876 (_initialize_amd64_linux_nat): Use it.
6877 * i386-linux-nat.c (i386_linux_read_btrace): New function.
6878 (_initialize_i386_linux_nat): Use it.
6879
6880 2014-02-19 Tom Tromey <tromey@redhat.com>
6881
6882 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
6883 * target.c (target_teardown_btrace): Add argument.
6884 * remote.c (remote_teardown_btrace): Add 'self' argument.
6885 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
6886 argument.
6887 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
6888 argument.
6889
6890 2014-02-19 Tom Tromey <tromey@redhat.com>
6891
6892 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
6893 * target.c (target_disable_btrace): Add argument.
6894 * remote.c (remote_disable_btrace): Add 'self' argument.
6895 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
6896 argument.
6897 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
6898 argument.
6899
6900 2014-02-19 Tom Tromey <tromey@redhat.com>
6901
6902 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
6903 * target.c (target_enable_btrace): Add argument.
6904 * remote.c (remote_enable_btrace): Add 'self' argument.
6905 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
6906 argument.
6907 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
6908 argument.
6909
6910 2014-02-19 Tom Tromey <tromey@redhat.com>
6911
6912 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
6913 (target_can_use_agent): Add argument.
6914 * target.c (update_current_target): Update.
6915 * remote.c (remote_can_use_agent): Add 'self' argument.
6916 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
6917
6918 2014-02-19 Tom Tromey <tromey@redhat.com>
6919
6920 * target.h (struct target_ops) <to_use_agent>: Add argument.
6921 (target_use_agent): Add argument.
6922 * target.c (update_current_target): Update.
6923 * remote.c (remote_use_agent): Add 'self' argument.
6924 * inf-child.c (inf_child_use_agent): Add 'self' argument.
6925
6926 2014-02-19 Tom Tromey <tromey@redhat.com>
6927
6928 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
6929 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
6930 (target_traceframe_info): Add argument.
6931 * target.c (update_current_target): Update.
6932 * remote.c (remote_traceframe_info): Add 'self' argument.
6933 * ctf.c (ctf_traceframe_info): Add 'self' argument.
6934
6935 2014-02-19 Tom Tromey <tromey@redhat.com>
6936
6937 * target.h (target_static_tracepoint_markers_by_strid): Add
6938 argument.
6939 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
6940 'self' argument.
6941 * target.c (update_current_target): Update.
6942 * remote.c (struct target_ops)
6943 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
6944 * linux-nat.c (struct target_ops)
6945 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
6946
6947 2014-02-19 Tom Tromey <tromey@redhat.com>
6948
6949 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
6950 Add argument.
6951 (target_static_tracepoint_marker_at): Add argument.
6952 * target.c (update_current_target): Update.
6953 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
6954 argument.
6955
6956 2014-02-19 Tom Tromey <tromey@redhat.com>
6957
6958 * target.h (struct target_ops) <to_set_permissions>: Add argument.
6959 (target_set_permissions): Add argument.
6960 * target.c (update_current_target): Update.
6961 * remote.c (remote_set_permissions): Add 'self' argument.
6962 (remote_start_remote): Update.
6963
6964 2014-02-19 Tom Tromey <tromey@redhat.com>
6965
6966 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
6967 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
6968 (target_get_tib_address): Add argument.
6969 * target.c (update_current_target): Update.
6970 * remote.c (remote_get_tib_address): Add 'self' argument.
6971
6972 2014-02-19 Tom Tromey <tromey@redhat.com>
6973
6974 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
6975 (target_set_trace_notes): Add argument.
6976 * target.c (update_current_target): Update.
6977 * remote.c (remote_set_trace_notes): Add 'self' argument.
6978
6979 2014-02-19 Tom Tromey <tromey@redhat.com>
6980
6981 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
6982 argument.
6983 (target_set_trace_buffer_size): Add argument.
6984 * target.c (update_current_target): Update.
6985 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
6986
6987 2014-02-19 Tom Tromey <tromey@redhat.com>
6988
6989 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
6990 argument.
6991 (target_set_circular_trace_buffer): Add argument.
6992 * target.c (update_current_target): Update.
6993 * remote.c (remote_set_circular_trace_buffer): Add 'self'
6994 argument.
6995
6996 2014-02-19 Tom Tromey <tromey@redhat.com>
6997
6998 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
6999 argument.
7000 (target_set_disconnected_tracing): Add argument.
7001 * target.c (update_current_target): Update.
7002 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
7003
7004 2014-02-19 Tom Tromey <tromey@redhat.com>
7005
7006 * target.h (struct target_ops)
7007 <to_get_min_fast_tracepoint_insn_len>: Add argument.
7008 (target_get_min_fast_tracepoint_insn_len): Add argument.
7009 * target.c (update_current_target): Update.
7010 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
7011 argument.
7012
7013 2014-02-19 Tom Tromey <tromey@redhat.com>
7014
7015 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
7016 argument.
7017 (target_get_raw_trace_data): Add argument.
7018 * target.c (update_current_target): Update.
7019 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
7020
7021 2014-02-19 Tom Tromey <tromey@redhat.com>
7022
7023 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7024 Add argument.
7025 (target_upload_trace_state_variables): Add argument.
7026 * target.c (update_current_target): Update.
7027 * remote.c (remote_upload_trace_state_variables): Add 'self'
7028 argument.
7029 (remote_start_remote): Update.
7030
7031 2014-02-19 Tom Tromey <tromey@redhat.com>
7032
7033 * target.h (struct target_ops) <to_upload_tracepoints>: Add
7034 argument.
7035 (target_upload_tracepoints): Add argument.
7036 * target.c (update_current_target): Update.
7037 * remote.c (remote_upload_tracepoints): Add 'self' argument.
7038 (remote_start_remote): Update.
7039
7040 2014-02-19 Tom Tromey <tromey@redhat.com>
7041
7042 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
7043 (target_save_trace_data): Add argument.
7044 * target.c (update_current_target): Update.
7045 * remote.c (remote_save_trace_data): Add 'self' argument.
7046
7047 2014-02-19 Tom Tromey <tromey@redhat.com>
7048
7049 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
7050 argument.
7051 * target.h (struct target_ops)
7052 <to_get_trace_state_variable_value>: Add argument.
7053 (target_get_trace_state_variable_value): Add argument.
7054 * target.c (update_current_target): Update.
7055 * remote.c (remote_get_trace_state_variable_value): Add 'self'
7056 argument.
7057 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
7058
7059 2014-02-19 Tom Tromey <tromey@redhat.com>
7060
7061 * tracepoint.c (tfile_trace_find): Add 'self' argument.
7062 * target.h (struct target_ops) <to_trace_find>: Add argument.
7063 (target_trace_find): Add argument.
7064 * target.c (update_current_target): Update.
7065 * remote.c (remote_trace_find): Add 'self' argument.
7066 * ctf.c (ctf_trace_find): Add 'self' argument.
7067
7068 2014-02-19 Tom Tromey <tromey@redhat.com>
7069
7070 * target.h (struct target_ops) <to_trace_stop>: Add argument.
7071 (target_trace_stop): Add argument.
7072 * target.c (update_current_target): Update.
7073 * remote.c (remote_trace_stop): Add 'self' argument.
7074
7075 2014-02-19 Tom Tromey <tromey@redhat.com>
7076
7077 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
7078 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
7079 argument.
7080 (target_get_tracepoint_status): Add argument.
7081 * target.c (update_current_target): Update.
7082 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
7083
7084 2014-02-19 Tom Tromey <tromey@redhat.com>
7085
7086 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
7087 * target.h (struct target_ops) <to_get_trace_status>: Add
7088 argument.
7089 (target_get_trace_status): Add argument.
7090 * target.c (update_current_target): Update.
7091 * remote.c (remote_get_trace_status): Add 'self' argument.
7092 (remote_start_remote, remote_can_download_tracepoint): Update.
7093 * ctf.c (ctf_get_trace_status): Add 'self' argument.
7094
7095 2014-02-19 Tom Tromey <tromey@redhat.com>
7096
7097 * target.h (struct target_ops) <to_trace_start>: Add argument.
7098 (target_trace_start): Add argument.
7099 * target.c (update_current_target): Update.
7100 * remote.c (remote_trace_start): Add 'self' argument.
7101
7102 2014-02-19 Tom Tromey <tromey@redhat.com>
7103
7104 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7105 Add argument.
7106 (target_trace_set_readonly_regions): Add argument.
7107 * target.c (update_current_target): Update.
7108 * remote.c (remote_trace_set_readonly_regions): Add 'self'
7109 argument.
7110
7111 2014-02-19 Tom Tromey <tromey@redhat.com>
7112
7113 * target.h (struct target_ops) <to_disable_tracepoint>: Add
7114 argument.
7115 (target_disable_tracepoint): Add argument.
7116 * target.c (update_current_target): Update.
7117 * remote.c (remote_disable_tracepoint): Add 'self' argument.
7118
7119 2014-02-19 Tom Tromey <tromey@redhat.com>
7120
7121 * target.h (struct target_ops) <to_enable_tracepoint>: Add
7122 argument.
7123 (target_enable_tracepoint): Add argument.
7124 * target.c (update_current_target): Update.
7125 * remote.c (remote_enable_tracepoint): Add 'self' argument.
7126
7127 2014-02-19 Tom Tromey <tromey@redhat.com>
7128
7129 * target.h (struct target_ops) <to_download_trace_state_variable>:
7130 Add argument.
7131 (target_download_trace_state_variable): Add argument.
7132 * target.c (update_current_target): Update.
7133 * remote.c (remote_download_trace_state_variable): Add 'self'
7134 argument.
7135
7136 2014-02-19 Tom Tromey <tromey@redhat.com>
7137
7138 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
7139 argument.
7140 (target_can_download_tracepoint): Add argument.
7141 * target.c (update_current_target): Update.
7142 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
7143
7144 2014-02-19 Tom Tromey <tromey@redhat.com>
7145
7146 * target.h (struct target_ops) <to_download_tracepoint>: Add
7147 argument.
7148 (target_download_tracepoint): Add argument.
7149 * target.c (update_current_target): Update.
7150 * remote.c (remote_download_tracepoint): Add 'self' argument.
7151
7152 2014-02-19 Tom Tromey <tromey@redhat.com>
7153
7154 * target.h (struct target_ops) <to_trace_init>: Add argument.
7155 (target_trace_init): Add argument.
7156 * target.c (update_current_target): Update.
7157 * remote.c (remote_trace_init): Add 'self' argument.
7158
7159 2014-02-19 Tom Tromey <tromey@redhat.com>
7160
7161 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
7162 * target.c (target_fileio_readlink): Add argument.
7163 * remote.c (remote_hostio_readlink): Add 'self' argument.
7164 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
7165
7166 2014-02-19 Tom Tromey <tromey@redhat.com>
7167
7168 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
7169 * target.c (target_fileio_unlink): Add argument.
7170 * remote.c (remote_hostio_unlink): Add 'self' argument.
7171 (remote_file_delete): Update.
7172 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
7173
7174 2014-02-19 Tom Tromey <tromey@redhat.com>
7175
7176 * target.h (struct target_ops) <to_fileio_close>: Add argument.
7177 * target.c (target_fileio_close): Add argument.
7178 * remote.c (remote_hostio_close): Add 'self' argument.
7179 (remote_hostio_close_cleanup): Update.
7180 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
7181 Update.
7182 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
7183
7184 2014-02-19 Tom Tromey <tromey@redhat.com>
7185
7186 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
7187 * target.c (target_fileio_pread): Add argument.
7188 * remote.c (remote_hostio_pread): Add 'self' argument.
7189 (remote_bfd_iovec_pread, remote_file_get): Update.
7190 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
7191
7192 2014-02-19 Tom Tromey <tromey@redhat.com>
7193
7194 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
7195 * target.c (target_fileio_pwrite): Add argument.
7196 * remote.c (remote_hostio_pwrite): Add 'self' argument.
7197 (remote_file_put): Update.
7198 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
7199
7200 2014-02-19 Tom Tromey <tromey@redhat.com>
7201
7202 * target.h (struct target_ops) <to_fileio_open>: Add argument.
7203 * target.c (target_fileio_open): Add argument.
7204 * remote.c (remote_hostio_open): Add 'self' argument.
7205 (remote_bfd_iovec_open): Add 'self' argument.
7206 (remote_file_put): Add 'self' argument.
7207 (remote_file_get): Add 'self' argument.
7208 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
7209
7210 2014-02-19 Tom Tromey <tromey@redhat.com>
7211
7212 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7213 Add argument.
7214 (target_can_run_breakpoint_commands): Add argument.
7215 * target.c (update_current_target): Update.
7216 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
7217 argument.
7218 (remote_insert_breakpoint): Add 'self' argument.
7219 (remote_insert_hw_breakpoint): Add 'self' argument.
7220 (remote_can_run_breakpoint_commands): Add 'self' argument.
7221
7222 2014-02-19 Tom Tromey <tromey@redhat.com>
7223
7224 * target.h (struct target_ops)
7225 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
7226 (target_supports_evaluation_of_breakpoint_conditions): Add
7227 argument.
7228 * target.c (update_current_target): Update.
7229 * remote.c (remote_supports_cond_breakpoints): Add 'self'
7230 argument.
7231 (remote_insert_breakpoint): Add 'self' argument.
7232 (remote_insert_hw_breakpoint): Add 'self' argument.
7233 (remote_supports_cond_breakpoints): Add 'self' argument.
7234
7235 2014-02-19 Tom Tromey <tromey@redhat.com>
7236
7237 * target.h (struct target_ops) <to_supports_string_tracing>: Add
7238 argument.
7239 (target_supports_string_tracing): Add argument.
7240 * target.c (update_current_target): Update.
7241 * remote.c (remote_supports_string_tracing): Add 'self' argument.
7242
7243 2014-02-19 Tom Tromey <tromey@redhat.com>
7244
7245 * target.h (struct target_ops)
7246 <to_supports_disable_randomization>: Add argument.
7247 * target.c (find_default_supports_disable_randomization): Add
7248 argument.
7249 (target_supports_disable_randomization): Add argument.
7250 (find_default_supports_disable_randomization): Add 'self'
7251 argument.
7252 * remote.c (extended_remote_supports_disable_randomization): Add
7253 'self' argument.
7254 (remote_supports_disable_randomization): Add 'self' argument.
7255 (extended_remote_create_inferior): Update.
7256 * linux-nat.c (linux_nat_supports_disable_randomization): Add
7257 'self' argument.
7258
7259 2014-02-19 Tom Tromey <tromey@redhat.com>
7260
7261 * target.h (struct target_ops)
7262 <to_supports_enable_disable_tracepoint>: Add argument.
7263 (target_supports_enable_disable_tracepoint): Add argument.
7264 * target.c (update_current_target): Update.
7265 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
7266 argument.
7267
7268 2014-02-19 Tom Tromey <tromey@redhat.com>
7269
7270 * target.h (struct target_ops) <to_supports_multi_process>: Add
7271 argument.
7272 (target_supports_multi_process): Add argument.
7273 * target.c (update_current_target): Update.
7274 * remote.c (remote_supports_multi_process): Add 'self' argument.
7275 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
7276 argument.
7277 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
7278 argument.
7279
7280 2014-02-19 Tom Tromey <tromey@redhat.com>
7281
7282 * target.h (struct target_ops) <to_execution_direction>: Add
7283 argument.
7284 (target_execution_direction): Add argument.
7285 * target.c (default_execution_direction): Add 'self' argument.
7286 * record-full.c (record_full_execution_direction): Add 'self'
7287 argument.
7288
7289 2014-02-19 Tom Tromey <tromey@redhat.com>
7290
7291 * target.h (struct target_ops) <to_can_execute_reverse>: Add
7292 argument.
7293 (target_can_execute_reverse): Add argument.
7294 * remote.c (remote_can_execute_reverse): Add 'self' argument.
7295 * record-full.c (record_full_can_execute_reverse): Add 'self'
7296 argument.
7297 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
7298 argument.
7299
7300 2014-02-19 Tom Tromey <tromey@redhat.com>
7301
7302 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
7303 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
7304 argument.
7305 (target_get_ada_task_ptid): Add argument.
7306 * target.c (update_current_target): Update.
7307 (default_get_ada_task_ptid): Add 'self' argument.
7308 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
7309 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
7310 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
7311 argument.
7312 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
7313 argument.
7314 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
7315 argument.
7316 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
7317 argument.
7318 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
7319 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
7320 argument.
7321
7322 2014-02-19 Tom Tromey <tromey@redhat.com>
7323
7324 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
7325 (target_goto_bookmark): Add argument.
7326 * target.c (dummy_goto_bookmark): Add 'self' argument.
7327 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
7328
7329 2014-02-19 Tom Tromey <tromey@redhat.com>
7330
7331 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
7332 (target_get_bookmark): Add argument.
7333 * target.c (dummy_get_bookmark): Add 'self' argument.
7334 * record-full.c (record_full_get_bookmark): Add 'self' argument.
7335
7336 2014-02-19 Tom Tromey <tromey@redhat.com>
7337
7338 * target.h (struct target_ops) <to_make_corefile_notes>: Add
7339 argument.
7340 (target_make_corefile_notes): Add argument.
7341 * target.c (dummy_make_corefile_notes): Add 'self' argument.
7342 * procfs.c (procfs_make_note_section): Add 'self' argument.
7343 (procfs_make_note_section): Add 'self' argument.
7344 (procfs_make_note_section): Add 'self' argument.
7345 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
7346 argument.
7347 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
7348 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
7349 * exec.c (exec_make_note_section): Add 'self' argument.
7350 (exec_make_note_section): Add 'self' argument.
7351
7352 2014-02-19 Tom Tromey <tromey@redhat.com>
7353
7354 * target.h (struct target_ops) <to_find_memory_regions>: Add
7355 argument.
7356 (target_find_memory_regions): Add argument.
7357 * target.c (dummy_find_memory_regions): Add 'self' argument.
7358 * procfs.c (proc_find_memory_regions): Add 'self' argument.
7359 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
7360 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
7361 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
7362 * exec. (exec_do_find_memory_regions): New global.
7363 (exec_set_find_memory_regions): Rewrite.
7364 (exec_find_memory_regions): New function.
7365 (init_exec_ops): Use exec_find_memory_regions.
7366
7367 2014-02-19 Tom Tromey <tromey@redhat.com>
7368
7369 * target.h (struct target_ops) <to_supports_non_stop>: Add
7370 argument.
7371 * target.c (find_default_supports_non_stop): Add argument.
7372 (target_supports_non_stop): Add argument.
7373 (find_default_supports_non_stop): Add 'self' argument.
7374 * remote.c (remote_supports_non_stop): Add 'self' argument.
7375 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
7376
7377 2014-02-19 Tom Tromey <tromey@redhat.com>
7378
7379 * target.h (struct target_ops) <to_log_command>: Add argument.
7380 (target_log_command): Add argument.
7381 * serial.h (serial_log_command): Add 'self' argument.
7382 * serial.c (serial_log_command): Add 'self' argument.
7383
7384 2014-02-19 Tom Tromey <tromey@redhat.com>
7385
7386 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
7387 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
7388 argument.
7389 (target_pid_to_exec_file): Add argument.
7390 * target.c (debug_to_pid_to_exec_file): Add argument.
7391 (update_current_target): Update.
7392 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
7393 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
7394 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
7395 (linux_handle_extended_wait): Update.
7396 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
7397 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
7398 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
7399 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
7400
7401 2014-02-19 Tom Tromey <tromey@redhat.com>
7402
7403 * target.h (struct target_ops) <to_rcmd>: Add argument.
7404 (target_rcmd): Add argument.
7405 * target.c (debug_to_rcmd): Add argument.
7406 (update_current_target, do_monitor_command): Update.
7407 * remote.c (remote_rcmd): Add 'self' argument.
7408 * monitor.c (monitor_rcmd): Add 'self' argument.
7409
7410 2014-02-19 Tom Tromey <tromey@redhat.com>
7411
7412 * windows-nat.c (windows_stop): Add 'self' argument.
7413 * target.h (struct target_ops) <to_stop>: Add argument.
7414 * target.c (target_stop): Add argument.
7415 (debug_to_stop): Add argument.
7416 (update_current_target): Update.
7417 * remote.c (remote_stop): Add 'self' argument.
7418 * remote-sim.c (gdbsim_stop): Add 'self' argument.
7419 (gdbsim_cntrl_c): Update.
7420 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
7421 * procfs.c (procfs_stop): Add 'self' argument.
7422 * nto-procfs.c (procfs_stop): Add 'self' argument.
7423 * monitor.c (monitor_stop): Add 'self' argument.
7424 (monitor_open): Update.
7425 * linux-nat.c (linux_nat_stop): Add argument.
7426 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
7427 * gnu-nat.c (gnu_stop): Add 'self' argument.
7428 * darwin-nat.c (darwin_stop): Add 'self' argument.
7429
7430 2014-02-19 Tom Tromey <tromey@redhat.com>
7431
7432 * target.h (struct target_ops) <to_thread_name>: Add argument.
7433 * target.c (target_thread_name): Add argument.
7434 (update_current_target): Update.
7435 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
7436
7437 2014-02-19 Tom Tromey <tromey@redhat.com>
7438
7439 * target.h (struct target_ops) <to_extra_thread_info>: Add
7440 argument.
7441 (target_extra_thread_info): Add argument.
7442 * target.c (update_current_target): Update.
7443 * remote.c (remote_threads_extra_info): Add 'self' argument.
7444 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
7445 argument.
7446 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
7447 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
7448 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
7449 argument.
7450 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
7451 argument.
7452 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
7453 argument.
7454 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
7455 argument.
7456
7457 2014-02-19 Tom Tromey <tromey@redhat.com>
7458
7459 * target.h (struct target_ops) <to_program_signals>: Add argument.
7460 * target.c (target_program_signals): Add argument.
7461 * remote.c (remote_program_signals): Add 'self' argument.
7462
7463 2014-02-19 Tom Tromey <tromey@redhat.com>
7464
7465 * target.h (struct target_ops) <to_pass_signals>: Add argument.
7466 * target.c (target_pass_signals): Add argument.
7467 * remote.c (remote_pass_signals): Add 'self' argument.
7468 (remote_start_remote): Update.
7469 * procfs.c (procfs_pass_signals): Add 'self' argument.
7470 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
7471 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
7472 (linux_nat_create_inferior, linux_nat_attach): Update.
7473
7474 2014-02-19 Tom Tromey <tromey@redhat.com>
7475
7476 * windows-nat.c (windows_can_run): Add 'self' argument.
7477 * target.h (struct target_ops) <to_can_run>: Add argument.
7478 (target_can_run): Add argument.
7479 * target.c (debug_to_can_run): Add argument.
7480 (update_current_target): Update.
7481 * nto-procfs.c (procfs_can_run): Add 'self' argument.
7482 * inf-child.c (inf_child_can_run): Add 'self' argument.
7483 * go32-nat.c (go32_can_run): Add 'self' argument.
7484
7485 2014-02-19 Tom Tromey <tromey@redhat.com>
7486
7487 * target.h (struct target_ops) <to_has_exited>: Add argument.
7488 (target_has_exited): Add argument.
7489 * target.c (debug_to_has_exited): Add argument.
7490 (update_current_target): Update.
7491
7492 2014-02-19 Tom Tromey <tromey@redhat.com>
7493
7494 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
7495 argument.
7496 (target_set_syscall_catchpoint): Add argument.
7497 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
7498 argument.
7499 * target.c (update_current_target): Update.
7500
7501 2014-02-19 Tom Tromey <tromey@redhat.com>
7502
7503 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
7504 argument.
7505 (target_remove_exec_catchpoint): Add argument.
7506 * target.c (debug_to_remove_exec_catchpoint): Add argument.
7507 (update_current_target): Update.
7508 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
7509 argument.
7510
7511 2014-02-19 Tom Tromey <tromey@redhat.com>
7512
7513 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
7514 argument.
7515 (target_insert_exec_catchpoint): Add argument.
7516 * target.c (debug_to_insert_exec_catchpoint): Add argument.
7517 (update_current_target): Update.
7518 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
7519 argument.
7520
7521 2014-02-19 Tom Tromey <tromey@redhat.com>
7522
7523 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
7524 argument.
7525 (target_remove_vfork_catchpoint): Add argument.
7526 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
7527 (update_current_target): Update.
7528 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
7529 argument.
7530
7531 2014-02-19 Tom Tromey <tromey@redhat.com>
7532
7533 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
7534 argument.
7535 (target_insert_vfork_catchpoint): Add argument.
7536 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
7537 (update_current_target): Update.
7538 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
7539 argument.
7540
7541 2014-02-19 Tom Tromey <tromey@redhat.com>
7542
7543 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
7544 argument.
7545 (target_remove_fork_catchpoint): Add argument.
7546 * target.c (debug_to_remove_fork_catchpoint): Add argument.
7547 (update_current_target): Update.
7548 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
7549 argument.
7550
7551 2014-02-19 Tom Tromey <tromey@redhat.com>
7552
7553 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
7554 argument.
7555 (target_insert_fork_catchpoint): Add argument.
7556 * target.c (debug_to_insert_fork_catchpoint): Add argument.
7557 (update_current_target): Update.
7558 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
7559 argument.
7560
7561 2014-02-19 Tom Tromey <tromey@redhat.com>
7562
7563 * target.h (struct target_ops) <to_post_startup_inferior>: Add
7564 argument.
7565 (target_post_startup_inferior): Add argument.
7566 * target.c (debug_to_post_startup_inferior): Add argument.
7567 (update_current_target): Update.
7568 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
7569 argument.
7570 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
7571 argument.
7572 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
7573 argument.
7574 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
7575 argument.
7576 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
7577 'self' argument.
7578 (super_post_startup_inferior): Likewise.
7579 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
7580 'self' argument.
7581 (super_post_startup_inferior): Likewise.
7582 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
7583 Add 'self' argument.
7584 (super_post_startup_inferior): Likewise.
7585
7586 2014-02-19 Tom Tromey <tromey@redhat.com>
7587
7588 * target.h (struct target_ops) <to_load>: Add argument.
7589 * target.c (target_load): Add argument.
7590 (debug_to_load): Add argument.
7591 (update_current_target): Update.
7592 * remote.c (remote_load): Add 'self' argument.
7593 * remote-sim.c (gdbsim_load): Add 'self' argument.
7594 * remote-mips.c (mips_load): Add 'self' argument.
7595 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
7596 * monitor.c (monitor_load): Add 'self' argument.
7597 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
7598
7599 2014-02-19 Tom Tromey <tromey@redhat.com>
7600
7601 * target.h (struct target_ops) <to_terminal_info>: Add argument.
7602 (target_terminal_info): Add argument.
7603 * target.c (debug_to_terminal_info): Add argument.
7604 (default_terminal_info): Likewise.
7605 * inflow.c (child_terminal_info): Add 'self' argument.
7606 * inferior.h (child_terminal_info): Add 'self' argument.
7607 * go32-nat.c (go32_terminal_info): Add 'self' argument.
7608
7609 2014-02-19 Tom Tromey <tromey@redhat.com>
7610
7611 * target.h (struct target_ops) <to_terminal_save_ours>: Add
7612 argument.
7613 (target_terminal_save_ours): Add argument.
7614 * target.c (debug_to_terminal_save_ours): Add argument.
7615 (update_current_target): Update.
7616 * inflow.c (terminal_save_ours): Add 'self' argument.
7617 * inferior.h (terminal_save_ours): Add 'self' argument.
7618
7619 2014-02-19 Tom Tromey <tromey@redhat.com>
7620
7621 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
7622 (target_terminal_ours): Add argument.
7623 * target.c (debug_to_terminal_ours): Add argument.
7624 (update_current_target): Update.
7625 * remote.c (remote_terminal_ours): Add 'self' argument.
7626 (remote_close): Update.
7627 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
7628 * inflow.c (terminal_ours): Add 'self' argument.
7629 * inferior.h (terminal_ours): Add 'self' argument.
7630 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
7631
7632 2014-02-19 Pedro Alves <palves@redhat.com>
7633 Tom Tromey <tromey@redhat.com>
7634
7635 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
7636 argument.
7637 (target_terminal_ours_for_output): Add argument.
7638 * target.c (debug_to_terminal_ours_for_output): Add argument.
7639 (update_current_target): Update.
7640 * inflow.c (terminal_ours_for_output): Add 'self' argument.
7641 * inferior.h (terminal_ours_for_output): Add 'self' argument.
7642 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
7643
7644 2014-02-19 Tom Tromey <tromey@redhat.com>
7645
7646 * target.h (struct target_ops) <to_terminal_inferior>: Add
7647 argument.
7648 * target.c (target_terminal_inferior): Add argument.
7649 (update_current_target): Update.
7650 * remote.c (remote_terminal_inferior): Add 'self' argument.
7651 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
7652 * inflow.c (terminal_inferior): Add 'self' argument.
7653 * inferior.h (terminal_inferior): Add 'self' argument.
7654 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
7655 (go32_terminal_inferior): Add 'self' argument.
7656
7657 2014-02-19 Tom Tromey <tromey@redhat.com>
7658
7659 * target.h (struct target_ops) <to_terminal_init>: Add argument.
7660 (target_terminal_init): Add argument.
7661 * target.c (debug_to_terminal_init): Add argument.
7662 (update_current_target): Update.
7663 * inflow.c (terminal_init_inferior): Add 'self' argument.
7664 * inferior.h (terminal_init_inferior): Add 'self' argument.
7665 * go32-nat.c (go32_terminal_init): Add 'self' argument.
7666 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
7667
7668 2014-02-19 Tom Tromey <tromey@redhat.com>
7669
7670 * target.h (struct target_ops)
7671 <to_can_accel_watchpoint_condition>: Add argument.
7672 (target_can_accel_watchpoint_condition): Add argument.
7673 * target.c (debug_to_can_accel_watchpoint_condition): Add
7674 argument.
7675 (update_current_target): Update.
7676 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
7677 'self' argument.
7678
7679 2014-02-19 Tom Tromey <tromey@redhat.com>
7680
7681 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
7682 Add argument.
7683 (target_region_ok_for_hw_watchpoint): Add argument.
7684 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
7685 (default_region_ok_for_hw_watchpoint): Add argument.
7686 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
7687 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
7688 argument.
7689 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
7690 argument.
7691 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
7692 argument.
7693 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
7694 'self' argument.
7695 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
7696 'self' argument.
7697 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
7698 'self' argument.
7699 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
7700 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
7701 'self' argument.
7702 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
7703 Add 'self' argument.
7704
7705 2014-02-19 Tom Tromey <tromey@redhat.com>
7706
7707 * target.h (struct target_ops) <to_insert_watchpoint>: Add
7708 argument.
7709 (target_insert_watchpoint): Add argument.
7710 * target.c (debug_to_insert_watchpoint): Add argument.
7711 (update_current_target): Update.
7712 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
7713 * remote.c (remote_insert_watchpoint): Add 'self' argument.
7714 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
7715 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
7716 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
7717 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
7718 argument.
7719 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
7720 (procfs_insert_hw_watchpoint): Add 'self' argument.
7721 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
7722 argument.
7723 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
7724 argument.
7725 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
7726 argument.
7727 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
7728 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
7729 argument.
7730 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
7731 'self' argument.
7732
7733 2014-02-19 Tom Tromey <tromey@redhat.com>
7734
7735 * target.h (struct target_ops) <to_remove_watchpoint>: Add
7736 argument.
7737 (target_remove_watchpoint): Add argument.
7738 * target.c (debug_to_remove_watchpoint): Add argument.
7739 (update_current_target): Update.
7740 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
7741 * remote.c (remote_remove_watchpoint): Add 'self' argument.
7742 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
7743 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
7744 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
7745 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
7746 argument.
7747 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
7748 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
7749 argument.
7750 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
7751 argument.
7752 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
7753 argument.
7754 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
7755 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
7756 argument.
7757 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
7758 'self' argument.
7759
7760 2014-02-19 Tom Tromey <tromey@redhat.com>
7761
7762 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
7763 argument.
7764 (target_remove_hw_breakpoint): Add argument.
7765 * target.c (debug_to_remove_hw_breakpoint): Add argument.
7766 (update_current_target): Update.
7767 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
7768 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
7769 argument.
7770 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
7771 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
7772 argument.
7773 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
7774 'self' argument.
7775
7776 2014-02-19 Tom Tromey <tromey@redhat.com>
7777
7778 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
7779 argument.
7780 (target_insert_hw_breakpoint): Add argument.
7781 * target.c (debug_to_insert_hw_breakpoint): Add argument.
7782 (update_current_target): Update.
7783 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
7784 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
7785 argument.
7786 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
7787 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
7788 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
7789 argument.
7790 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
7791 'self' argument.
7792
7793 2014-02-19 Tom Tromey <tromey@redhat.com>
7794
7795 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
7796 argument.
7797 (target_can_use_hardware_watchpoint): Add argument.
7798 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
7799 (update_current_target): Update.
7800 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
7801 argument.
7802 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
7803 argument.
7804 * remote.c (remote_check_watch_resources): Add 'self' argument.
7805 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
7806 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
7807 argument.
7808 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
7809 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
7810 argument.
7811 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
7812 argument.
7813 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
7814 argument.
7815 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
7816 argument.
7817 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
7818 argument.
7819 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
7820 argument.
7821 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
7822 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
7823 argument.
7824 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
7825 'self' argument.
7826
7827 2014-02-19 Tom Tromey <tromey@redhat.com>
7828
7829 * target.h (struct target_ops) <to_post_attach>: Add argument.
7830 (target_post_attach): Add argument.
7831 * target.c (debug_to_post_attach): Add argument.
7832 (update_current_target): Update.
7833 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
7834 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
7835 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
7836 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
7837 * inf-child.c (inf_child_post_attach): Add 'self' argument.
7838
7839 2014-02-19 Tom Tromey <tromey@redhat.com>
7840
7841 * windows-nat.c (windows_close): Add 'self' argument.
7842 * tracepoint.c (tfile_close): Add 'self' argument.
7843 * target.h (struct target_ops) <to_close>: Add argument.
7844 * target.c (target_close): Add argument.
7845 (update_current_target): Update.
7846 * remote.c (remote_close): Add 'self' argument.
7847 * remote-sim.c (gdbsim_close): Add 'self' argument.
7848 * remote-mips.c (mips_close): Add 'self' argument.
7849 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
7850 * record-full.c (record_full_close): Add 'self' argument.
7851 * record-btrace.c (record_btrace_close): Add 'self' argument.
7852 * monitor.h (monitor_close): Add 'self' argument.
7853 * monitor.c (monitor_close): Add 'self' argument.
7854 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
7855 * linux-nat.c (linux_nat_close): Add argument.
7856 * go32-nat.c (go32_close): Add 'self' argument.
7857 * exec.c (exec_close_1): Add 'self' argument.
7858 * ctf.c (ctf_close): Add 'self' argument.
7859 * corelow.c (core_close): Add 'self' argument.
7860 (core_close_cleanup): Update.
7861 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
7862 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
7863
7864 2014-02-19 Tom Tromey <tromey@redhat.com>
7865
7866 * remote.c (remote_load): New function.
7867 (init_remote_ops): Use it.
7868
7869 2014-02-19 Tom Tromey <tromey@redhat.com>
7870
7871 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
7872 argument.
7873 * common/linux-btrace.h (linux_supports_btrace): Update.
7874 * remote.c (remote_supports_btrace): Add "self" argument.
7875 * target-delegates.c: Rebuild.
7876 * target.c (target_supports_btrace): Remove.
7877 * target.h (struct target_ops) <to_supports_btrace>: Add
7878 target_ops argument.
7879 (target_supports_btrace): New define.
7880
7881 2014-02-19 Tom Tromey <tromey@redhat.com>
7882
7883 * record-full.c (record_full_beneath_to_resume_ops)
7884 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
7885 (record_full_beneath_to_wait)
7886 (record_full_beneath_to_store_registers_ops)
7887 (record_full_beneath_to_store_registers)
7888 (record_full_beneath_to_xfer_partial_ops)
7889 (record_full_beneath_to_xfer_partial)
7890 (record_full_beneath_to_insert_breakpoint_ops)
7891 (record_full_beneath_to_insert_breakpoint)
7892 (record_full_beneath_to_remove_breakpoint_ops)
7893 (record_full_beneath_to_remove_breakpoint)
7894 (record_full_beneath_to_stopped_by_watchpoint)
7895 (record_full_beneath_to_stopped_data_address)
7896 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
7897 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
7898 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
7899 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
7900 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
7901 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
7902 (tmp_to_stopped_data_address, tmp_to_async): Remove.
7903 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
7904 (record_full_resume, record_full_wait_1)
7905 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
7906 (record_full_store_registers, record_full_xfer_partial)
7907 (record_full_insert_breakpoint, record_full_remove_breakpoint)
7908 (record_full_async, record_full_core_xfer_partial): Use target
7909 delegation.
7910 * target-delegates.c: Rebuild.
7911 * target.c (current_xfer_partial): Remove.
7912 (update_current_target): Do not INHERIT or de_fault
7913 to_insert_breakpoint, to_remove_breakpoint,
7914 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
7915 to_is_async_p, to_async. Do not set to_xfer_partial field.
7916 (default_xfer_partial): Simplify.
7917 (current_xfer_partial): Remove.
7918 (target_wait, target_resume): Simplify.
7919 (find_default_can_async_p, find_default_is_async_p): Update.
7920 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
7921 to_xfer_partial, to_stopped_by_watchpoint,
7922 to_stopped_data_address.
7923 (target_store_registers): Simplify.
7924 (forward_target_remove_breakpoint)
7925 (forward_target_insert_breakpoint): Remove.
7926 (target_remove_breakpoint, target_insert_breakpoint)
7927 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
7928 * target.h (struct target_ops) <to_resume, to_wait,
7929 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
7930 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
7931 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
7932 markup.
7933 (forward_target_remove_breakpoint)
7934 (forward_target_insert_breakpoint): Remove.
7935 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
7936 directly.
7937 (record_btrace_insert_breakpoint): Delegate directly.
7938
7939 2014-02-19 Tom Tromey <tromey@redhat.com>
7940
7941 PR build/7701:
7942 * target-delegates.c: New file.
7943 * target.c: Include target-delegates.c.
7944 (init_dummy_target): Call install_dummy_methods.
7945 (complete_target_initialization): Call install_delegators.
7946 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
7947 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
7948 * make-target-delegates: New file.
7949
7950 2014-02-19 Tom Tromey <tromey@redhat.com>
7951
7952 * record.c (find_record_target): Use find_target_at.
7953 * target.c (find_target_at): New function.
7954 * target.h (find_target_at): Declare.
7955
7956 2014-02-19 Tom Tromey <tromey@redhat.com>
7957
7958 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
7959 Add 'ops' argument.
7960 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
7961 'ops' argument.
7962 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
7963 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
7964 'ops' argument.
7965 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
7966 argument.
7967 * linux-nat.c (save_sigtrap): Update.
7968 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
7969 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
7970 (linux_nat_close): Update.
7971 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
7972 argument.
7973 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
7974 argument.
7975 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
7976 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
7977 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
7978 (tmp_to_async): Add 'ops' argument.
7979 (record_full_stopped_by_watchpoint, record_full_async)
7980 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
7981 argument.
7982 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
7983 (m32r_stopped_by_watchpoint): Add 'ops' argument.
7984 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
7985 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
7986 (remote_is_async_p, remote_async): Add 'ops' argument.
7987 (remote_stopped_data_address): Update.
7988 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
7989 * target.c (update_current_target)
7990 (find_default_can_async_p, find_default_is_async_p): Update.
7991 (init_dummy_target): Update.
7992 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
7993 * target.h (struct target_ops) <to_stopped_by_watchpoint,
7994 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
7995 (target_can_async_p, target_is_async_p, target_async)
7996 (target_stopped_by_watchpoint): Update.
7997
7998 2014-02-19 Yao Qi <yao@codesourcery.com>
7999
8000 PR gdb/16220
8001 * gdbarch.sh: Remove startup_gdbarch.
8002 * gdbarch.c: Regenerated.
8003 * gdbarch.h: Likewise.
8004
8005 2014-02-17 Kevin Buettner <kevinb@redhat.com>
8006
8007 * rl78-tdep.c (rl78_g10_register_name): New function.
8008 (rl78_return_value): Add g10 support.
8009 (rl78_gdbarch_init): Register rl78_g10_register_name for the
8010 g10.
8011
8012 2014-02-17 Doug Evans <xdje42@gmail.com>
8013
8014 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
8015 (SUBDIR_GUILE_SRCS): Ditto.
8016 (scm-gsmob.o): Ditto.
8017
8018 2014-02-17 Yao Qi <yao@codesourcery.com>
8019
8020 * gnu-nat.c (ILL_RPC): Declare defined function.
8021
8022 2014-02-17 Yao Qi <yao@codesourcery.com>
8023
8024 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
8025 mach_msg_type_number_t.
8026 (gnu_write_inferior): Likewise.
8027
8028 2014-02-17 Yao Qi <yao@codesourcery.com>
8029
8030 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
8031 in format string.
8032 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
8033 (inf_validate_procs, inf_signal): Likewise.
8034 (S_exception_raise_request): Likewise.
8035 (do_mach_notify_dead_name): Likewise.
8036 (steal_exc_port): Likewise.
8037 (gnu_read_inferior): Change 'copy_count''s type to
8038 mach_msg_type_number_t.
8039 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
8040 format string.
8041
8042 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
8043
8044 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
8045 flag. Adjust all users; in particular...
8046 (gnu_wait): ..., don't decrement its value in here...
8047 (gnu_create_inferior): ..., and instead set the flag in here,
8048 around the startup_inferior call, and call that one with
8049 START_INFERIOR_TRAPS_EXPECTED.
8050
8051 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
8052 (ILL_RPC): ... new macro.
8053 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
8054 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
8055 (do_mach_notify_send_once, S_proc_setmsgport_reply)
8056 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
8057 functions with ILL_RPC macro.
8058 (S_proc_pid2task_reply, S_proc_task2pid_reply)
8059 (S_proc_task2proc_reply, S_proc_proc2task_reply)
8060 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
8061 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
8062 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
8063 (S_proc_getlogin_reply, S_proc_getsid_reply)
8064 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
8065 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
8066 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
8067 (S_proc_getnports_reply, S_proc_is_important_reply)
8068 (S_proc_get_code_reply): New stub functions, generated with
8069 ILL_RPC macro.
8070
8071 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
8072 collected the type check structures.
8073
8074 * reply_mig_hack.awk: Don't expect to see the auto keyword.
8075
8076 2014-02-14 Doug Evans <dje@google.com>
8077
8078 * target.c (target_write_partial): Fix result type.
8079
8080 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
8081
8082 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
8083 the proper offsets to access fpregset_t.
8084
8085 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
8086
8087 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
8088 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
8089 * h8300-tdep.c (setmachinelist): Remove global.
8090 * hppa-tdep.c (hppa_sigtramp): Remove global.
8091 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
8092 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
8093 * ravenscar-thread.c (update_target_observer): Remove global.
8094 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
8095
8096 2014-02-12 Tom Tromey <tromey@redhat.com>
8097
8098 * common/rsp-low.c: Update comments.
8099 * common/rsp-low.h: Update comments.
8100
8101 2014-02-12 Tom Tromey <tromey@redhat.com>
8102
8103 * common/rsp-low.c (convert_ascii_to_int): Remove.
8104 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
8105
8106 2014-02-12 Tom Tromey <tromey@redhat.com>
8107
8108 * common/rsp-low.h (unhexify): Don't declare.
8109 * common/rsp-low.c (unhexify): Remove.
8110
8111 2014-02-12 Tom Tromey <tromey@redhat.com>
8112
8113 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
8114 * common/rsp-low.c (convert_int_to_ascii): Remove.
8115
8116 2014-02-12 Tom Tromey <tromey@redhat.com>
8117
8118 * common/rsp-low.h (hexify): Don't declare.
8119 * common/rsp-low.c (hexify): Remove.
8120
8121 2014-02-12 Tom Tromey <tromey@redhat.com>
8122
8123 * common/rsp-low.c (hexify): Never take strlen of argument.
8124
8125 2014-02-12 Tom Tromey <tromey@redhat.com>
8126
8127 * common/rsp-low.c (bin2hex): Never take strlen of argument.
8128 * remote.c (extended_remote_run, remote_rcmd)
8129 (remote_download_trace_state_variable, remote_save_trace_data)
8130 (remote_set_trace_notes): Update.
8131 * tracepoint.c (encode_source_string, tfile_write_status)
8132 (tfile_write_uploaded_tsv): Update.
8133
8134 2014-02-12 Tom Tromey <tromey@redhat.com>
8135
8136 * tracepoint.c: Include rsp-low.h.
8137 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
8138 * remote.c: Include rsp-low.h.
8139 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
8140 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
8141 (remote_unescape_input): Move to common/rsp-low.c.
8142 * common/rsp-low.h: New file.
8143 * common/rsp-low.c: New file.
8144 * Makefile.in (SFILES): Add common/rsp-low.c.
8145 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
8146 (COMMON_OBS): Add rsp-low.o.
8147 (rsp-low.o): New target.
8148
8149 2014-02-12 Tom Tromey <tromey@redhat.com>
8150
8151 * utils.h: Include print-utils.h.
8152 (host_address_to_string, plongest, pulongest, phex, phex_nz)
8153 (int_string, core_addr_to_string, core_addr_to_string_nz)
8154 (hex_string, hex_string_custom): Don't declare.
8155 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
8156 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
8157 (hex_string_custom, int_string, core_addr_to_string)
8158 (core_addr_to_string_nz, host_address_to_string): Move to
8159 common/print-utils.c.
8160 * common/print-utils.h: New file.
8161 * common/print-utils.c: New file
8162 * Makefile.in (SFILES): Add common/print-utils.c.
8163 (HFILES_NO_SRCDIR): Add common/print-utils.h.
8164 (COMMON_OBS): Add print-utils.o.
8165 (print-utils.o): New target.
8166
8167 2014-02-12 Tom Tromey <tromey@redhat.com>
8168
8169 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
8170
8171 2014-02-12 Mark Kettenis <kettenis@gnu.org>
8172
8173 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
8174
8175 2014-02-12 Mark Kettenis <kettenis@gnu.org>
8176
8177 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
8178 if a PT_IO ptrace request returns sucessfully but indicates that 0
8179 bytes were transferred.
8180
8181 2014-02-12 Pedro Alves <palves@redhat.com>
8182 Kevin Buettner <kevinb@redhat.com>
8183
8184 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
8185 TYPE_INSTANCE_FLAG_CODE_SPACE.
8186
8187 2014-02-12 Pedro Alves <palves@redhat.com>
8188
8189 * h8300-tdep.c (pseudo_from_raw_register)
8190 (raw_from_pseudo_register): New functions.
8191 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
8192 them.
8193
8194 2014-02-12 Pedro Alves <palves@redhat.com>
8195
8196 * h8300-tdep.c (h8300_register_sim_regno): New function.
8197 (h8300_gdbarch_init): Install h8300_register_sim_regno as
8198 gdbarch_register_sim_regno hook.
8199
8200 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
8201
8202 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
8203
8204 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
8205
8206 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
8207
8208 2014-02-12 Mark Kettenis <kettenis@gnu.org>
8209
8210 * obsd-tdep.h (obsd_init_abi): New prototype.
8211 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
8212 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
8213 (obsd_init_abi): New functions.
8214 * i386obsd-tdep.c: Include "obsd-tdep.h".
8215 (i386obsd_init_abi): Call obsd_init_abi.
8216 * amd64obsd-tdep.c: Include "obsd-tdep.h".
8217 (amd64obsd_init_abi): Call obsd_init_abi.
8218 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
8219 obsd-tdep.c to gdb_target_obs.
8220
8221 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
8222
8223 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
8224 double float arguments to 16-byte in the argument slots.
8225
8226 2014-02-11 Doug Evans <xdje42@gmail.com>
8227
8228 * configure.ac: Don't crash if pkg-config is not found and guile
8229 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
8230 in guile checks.
8231 * configure: Regenerate.
8232
8233 2014-02-11 Yao Qi <yao@codesourcery.com>
8234
8235 * aix-thread.c (aix_thread_xfer_partial): Update comments.
8236 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
8237 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
8238 * gnu-nat.c (gnu_xfer_memory): Likewise.
8239 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
8240 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8241 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8242 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8243
8244 2014-02-11 Yao Qi <yao@codesourcery.com>
8245
8246 * target.h (enum target_xfer_error): Rename to ...
8247 (enum target_xfer_status): ... it. New. All users updated.
8248 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
8249 New.
8250 (TARGET_XFER_STATUS_ERROR_P): New macro.
8251 (target_xfer_error_to_string): Remove declaration.
8252 (target_xfer_status_to_string): Declare.
8253 (target_xfer_partial_ftype): Adjust it.
8254 (struct target_ops) <to_xfer_partial>: Return
8255 target_xfer_status. Add argument xfered_len. Update
8256 comments.
8257 * target.c (target_xfer_error_to_string): Rename to ...
8258 (target_xfer_status_to_string): ... it. New. All callers
8259 updated.
8260 (target_read_live_memory): Likewise. Call target_xfer_partial
8261 instead of target_read.
8262 (memory_xfer_live_readonly_partial): Return
8263 target_xfer_status. Add argument xfered_len.
8264 (raw_memory_xfer_partial): Likewise.
8265 (memory_xfer_partial_1): Likewise.
8266 (memory_xfer_partial): Likewise.
8267 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
8268 properly. Update debug message.
8269 (default_xfer_partial, current_xfer_partial): Likewise.
8270 (target_write_partial): Likewise.
8271 (target_read_partial): Likewise. All callers updated.
8272 (read_whatever_is_readable): Likewise.
8273 (target_write_with_progress): Likewise.
8274 (target_read_alloc_1): Likewise.
8275
8276 * aix-thread.c (aix_thread_xfer_partial): Likewise.
8277 * auxv.c (procfs_xfer_auxv): Likewise.
8278 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
8279 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8280 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8281 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
8282 * corefile.c (read_memory): Adjust.
8283 * corelow.c (core_xfer_partial): Likewise.
8284 * ctf.c (ctf_xfer_partial): Likewise.
8285 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
8286 updated.
8287 (darwin_xfer_partial): Likewise.
8288 * exec.c (section_table_xfer_memory_partial): Likewise. All
8289 callers updated.
8290 (exec_xfer_partial): Likewise.
8291 * exec.h (section_table_xfer_memory_partial): Update
8292 declaration.
8293 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
8294 negative.
8295 (gnu_xfer_partial): Likewise.
8296 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
8297 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
8298 (ia64_hpux_xfer_solib_got): Likewise.
8299 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
8300 type of 'partial_len' to ULONGEST.
8301 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
8302 * linux-nat.c (linux_xfer_siginfo ): Likewise.
8303 (linux_nat_xfer_partial): Likewise.
8304 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
8305 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
8306 * monitor.c (monitor_xfer_memory): Likewise.
8307 (monitor_xfer_partial): Likewise.
8308 * procfs.c (procfs_xfer_partial): Likewise.
8309 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8310 * record-full.c (record_full_xfer_partial): Likewise.
8311 (record_full_core_xfer_partial): Likewise.
8312 * remote-sim.c (gdbsim_xfer_memory): Likewise.
8313 (gdbsim_xfer_partial): Likewise.
8314 * remote.c (remote_write_bytes_aux): Likewise. All callers
8315 updated.
8316 (remote_write_bytes, remote_read_bytes): Likewise. All
8317 callers updated.
8318 (remote_flash_erase): Likewise. All callers updated.
8319 (remote_write_qxfer): Likewise. All callers updated.
8320 (remote_read_qxfer): Likewise. All callers updated.
8321 (remote_xfer_partial): Likewise.
8322 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8323 (rs6000_xfer_shared_libraries): Likewise.
8324 * sol-thread.c (sol_thread_xfer_partial): Likewise.
8325 (sol_thread_xfer_partial): Likewise.
8326 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8327 (sparc_xfer_partial): Likewise.
8328 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
8329 updated.
8330 (spu_xfer_partial): Likewise.
8331 * spu-multiarch.c (spu_xfer_partial): Likewise.
8332 * tracepoint.c (tfile_xfer_partial): Likewise.
8333 * windows-nat.c (windows_xfer_memory): Likewise.
8334 (windows_xfer_shared_libraries): Likewise.
8335 (windows_xfer_partial): Likewise.
8336 * valprint.c: Replace 'target_xfer_error' with
8337 'target_xfer_status' in comments.
8338
8339 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
8340
8341 Checked in by Joel Brobecker <brobecker@adacore.com>.
8342 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
8343
8344 2014-02-11 Joel Brobecker <brobecker@adacore.com>
8345
8346 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
8347 function parameters.
8348
8349 2014-02-10 Will Newton <will.newton@linaro.org>
8350
8351 * elfread.c (elf_rel_plt_read): Look for a .got section if
8352 looking up .got.plt fails.
8353 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
8354 on address passed to elf_gnu_ifunc_record_cache.
8355 (elf_gnu_ifunc_resolve_addr): Likewise.
8356 (elf_gnu_ifunc_resolver_return_stop): Likewise.
8357
8358 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
8359
8360 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
8361 (X_RETTURN): New macro.
8362 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
8363
8364 * sparc64-tdep.c (sparc64_init_abi): Hook
8365 sparc_in_function_epilogue_p.
8366
8367 2014-02-10 Gary Benson <gbenson@redhat.com>
8368
8369 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8370 Rename name_matcher to symbol_matcher.
8371
8372 2014-02-10 Gary Benson <gbenson@redhat.com>
8373
8374 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8375 Use expand_symtabs_file_matcher_ftype and
8376 expand_symtabs_symbol_matcher_ftype.
8377
8378 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8379
8380 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
8381 (struct ada_symbol_cache): New.
8382 (ada_free_symbol_cache): Forward declare.
8383 (struct ada_pspace_data): New.
8384 (ada_pspace_data_handle): New static global.
8385 (get_ada_pspace_data, ada_pspace_data_cleanup)
8386 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
8387 (cache_space, cache): Delete, now folded inside struct
8388 ada_pspace_data.
8389 (ada_get_symbol_cache): New function.
8390 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
8391 implementation.
8392 (_initialize_ada_language): Remove initialization of cache_space.
8393 Move call to observer_attach_inferior_exit up, grouping it
8394 with the other observer registrations inside this function.
8395 Rename command to be more general. Add call to
8396 register_program_space_data_with_cleanup.
8397
8398 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8399
8400 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
8401 ada_new_objfile_observer.
8402 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
8403 (_initialize_tasks): Update uses of ada_new_objfile_observer
8404 and ada_tasks_normal_stop_observer.
8405
8406 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8407
8408 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
8409 returned by the 'Length attribute to integer.
8410
8411 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8412
8413 * ada-lang.c (_initialize_ada_language): Initialize
8414 cache_space obstack.
8415
8416 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8417
8418 * ada-lang.c (HASH_SIZE): New macro.
8419 (struct cache_entry): New type.
8420 (cache_space, cache): New static globals.
8421 (ada_clear_symbol_cache, find_entry): New functions.
8422 (lookup_cached_symbol, cache_symbol): Implement.
8423 (ada_new_objfile_observer, ada_free_objfile_observer): New.
8424 (_initialize_ada_language): Attach ada_new_objfile_observer
8425 and ada_free_objfile_observer.
8426
8427 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8428
8429 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
8430 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
8431 struct block * parameter.
8432 (ada_lookup_symbol_list_worker): Constify local variable "block".
8433 Remove cast which is no longer necessary.
8434
8435 2014-02-10 Doug Evans <xdje42@gmail.com>
8436
8437 Add Guile as an extension language.
8438 * NEWS: Mention Guile scripting.
8439 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
8440 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
8441 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
8442 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
8443 (CLIBS): Add GUILE_LIBS.
8444 (install-guile): New rule.
8445 (guile.o): New rule.
8446 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
8447 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
8448 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
8449 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
8450 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
8451 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
8452 (scm-type.o, scm-utils.o, scm-value.o): New rules.
8453 * configure.ac: New option --with-guile.
8454 * configure: Regenerate.
8455 * config.in: Regenerate.
8456 * auto-load.c: Remove #include "python/python.h". Add #include
8457 "gdb/section-scripts.h".
8458 (source_section_scripts): Handle Guile scripts.
8459 (_initialize_auto_load): Add name of Guile objfile script to
8460 scripts-directory help text.
8461 * breakpoint.c (condition_command): Tweak comment to include Scheme.
8462 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
8463 (struct breakpoint): New member scm_bp_object.
8464 * defs.h (enum command_control_type): New value guile_control.
8465 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
8466 "extension.h".
8467 (show_user): Update comment.
8468 (_initialize_cli_cmds): Update help text for "show user". Update help
8469 text for max-user-call-depth.
8470 * cli/cli-script.c: Remove #include "python/python.h". Add #include
8471 "extension.h".
8472 (multi_line_command_p): Add guile_control.
8473 (print_command_lines): Handle guile_control.
8474 (execute_control_command, recurse_read_control_structure): Ditto.
8475 (process_next_line): Recognize "guile" commands.
8476 * disasm.c (gdb_disassemble_info): Make non-static.
8477 * disasm.h: #include "dis-asm.h".
8478 (struct gdbarch): Add forward decl.
8479 (gdb_disassemble_info): Declare.
8480 * extension.c: #include "guile/guile.h".
8481 (extension_languages): Add guile.
8482 (get_ext_lang_defn): Handle EXT_LANG_GDB.
8483 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
8484 * gdbtypes.c (get_unsigned_type_max): New function.
8485 (get_signed_type_minmax): New function.
8486 * gdbtypes.h (get_unsigned_type_max): Declare.
8487 (get_signed_type_minmax): Declare.
8488 * guile/README: New file.
8489 * guile/guile-internal.h: New file.
8490 * guile/guile.c: New file.
8491 * guile/guile.h: New file.
8492 * guile/scm-arch.c: New file.
8493 * guile/scm-auto-load.c: New file.
8494 * guile/scm-block.c: New file.
8495 * guile/scm-breakpoint.c: New file.
8496 * guile/scm-disasm.c: New file.
8497 * guile/scm-exception.c: New file.
8498 * guile/scm-frame.c: New file.
8499 * guile/scm-gsmob.c: New file.
8500 * guile/scm-iterator.c: New file.
8501 * guile/scm-lazy-string.c: New file.
8502 * guile/scm-math.c: New file.
8503 * guile/scm-objfile.c: New file.
8504 * guile/scm-ports.c: New file.
8505 * guile/scm-pretty-print.c: New file.
8506 * guile/scm-safe-call.c: New file.
8507 * guile/scm-string.c: New file.
8508 * guile/scm-symbol.c: New file.
8509 * guile/scm-symtab.c: New file.
8510 * guile/scm-type.c: New file.
8511 * guile/scm-utils.c: New file.
8512 * guile/scm-value.c: New file.
8513 * guile/lib/gdb.scm: New file.
8514 * guile/lib/gdb/boot.scm: New file.
8515 * guile/lib/gdb/experimental.scm: New file.
8516 * guile/lib/gdb/init.scm: New file.
8517 * guile/lib/gdb/iterator.scm: New file.
8518 * guile/lib/gdb/printing.scm: New file.
8519 * guile/lib/gdb/types.scm: New file.
8520 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
8521 (VPATH): Add $(GUILE_SRCDIR).
8522 (GUILE_DIR): New variable.
8523 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
8524 (all): Add stamp-guile dependency.
8525 (stamp-guile): New rule.
8526 (clean-guile, install-guile, uninstall-guile): New rules.
8527 (install-only): Add install-guile dependency.
8528 (uninstall): Add uninstall-guile dependency.
8529 (clean): Add clean-guile dependency.
8530
8531 2014-02-09 Doug Evans <xdje42@gmail.com>
8532
8533 Revert this patch (which I approved, mea culpa).
8534
8535 2014-02-08 Mark Kettenis <kettenis@gnu.org>
8536
8537 * Makefile.in (all-lib): Remove.
8538 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8539
8540 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8541
8542 Fix Python stack corruption.
8543 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
8544 gdb_py_longest.
8545
8546 2014-02-08 Mark Kettenis <kettenis@gnu.org>
8547
8548 * Makefile.in (all-lib): Remove.
8549 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8550
8551 2014-02-07 Doug Evans <dje@google.com>
8552
8553 * extension-priv.h (extension_language_script_ops): Add comment.
8554 (extension_language_ops): Add comment.
8555 (active_ext_lang_state): Fix typo in comment.
8556
8557 2014-02-07 Pedro Alves <palves@redhat.com>
8558
8559 PR breakpoints/16292
8560 * infrun.c (handle_signal_stop) <signal arrives while stepping
8561 over a breakpoint>: Switch back to the stepping thread.
8562
8563 2014-02-07 Yao Qi <yao@codesourcery.com>
8564
8565 * target.c (target_xfer_partial): Return zero if LEN is zero.
8566
8567 2014-02-07 Yao Qi <yao@codesourcery.com>
8568
8569 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
8570 (ld_so_xfer_auxv): Likewise.
8571 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8572 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8573 * corelow.c (core_xfer_partial): Likewise.
8574 * ctf.c (ctf_xfer_partial): Likewise.
8575 * darwin-nat.c (darwin_read_dyld_info): Likewise.
8576 (darwin_xfer_partial): Likewise.
8577 * exec.c (exec_xfer_partial): Likewise.
8578 * gnu-nat.c (gnu_xfer_partial): Likewise.
8579 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
8580 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
8581 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
8582 * linux-nat.c (linux_xfer_siginfo): Likewise.
8583 (linux_proc_xfer_spu): Likewise.
8584 * procfs.c (procfs_xfer_partial): Likewise.
8585 * record-full.c (record_full_xfer_partial): Likewise.
8586 (record_full_core_xfer_partial): Likewise.
8587 * remote-sim.c (gdbsim_xfer_partial): Likewise.
8588 * remote.c (remote_write_qxfer): Likewise.
8589 (remote_write_qxfer, remote_read_qxfer): Likewise.
8590 (remote_xfer_partial): Likewise.
8591 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8592 (rs6000_xfer_shared_libraries): Likewise.
8593 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8594 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8595 (spu_xfer_partial): Likewise.
8596 * target.c (memory_xfer_partial_1): Likewise.
8597 * tracepoint.c (tfile_xfer_partial): Likewise.
8598 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
8599 (windows_xfer_partial): Likewise.
8600
8601 2014-02-07 Yao Qi <yao@codesourcery.com>
8602
8603 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
8604 comments.
8605 (core_xfer_shared_libraries_aix): Likewise.
8606 * gdbarch.c, gdbarch.h: Regenerated.
8607 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
8608 ULONGEST. Change 'len_avail' type to ULONGEST.
8609 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8610 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
8611 declaration.
8612 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
8613
8614 2014-02-07 Yao Qi <yao@codesourcery.com>
8615
8616 * corefile.c (memory_error): Get 'exception' from ERR and pass
8617 'exception' to throw_error.
8618
8619 2014-02-06 Doug Evans <xdje42@gmail.com>
8620
8621 * configure.ac (libpython checking): Remove all but python.o from
8622 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
8623 * configure: Regenerate.
8624
8625 * Makefile.in (SFILES): Add extension.c.
8626 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
8627 (COMMON_OBS): Add extension.o.
8628 * extension.h: New file.
8629 * extension-priv.h: New file.
8630 * extension.c: New file.
8631
8632 * python/python-internal.h: #include "extension.h".
8633 (gdbpy_auto_load_enabled): Declare.
8634 (gdbpy_apply_val_pretty_printer): Declare.
8635 (gdbpy_apply_frame_filter): Declare.
8636 (gdbpy_preserve_values): Declare.
8637 (gdbpy_breakpoint_cond_says_stop): Declare.
8638 (gdbpy_breakpoint_has_cond): Declare.
8639 (void source_python_script_for_objfile): Delete.
8640 * python/python.c: #include "extension-priv.h".
8641 Delete inclusion of "observer.h".
8642 (extension_language_python): Moved here and renamed from
8643 script_language_python in py-auto-load.c.
8644 Redefined to be of type extension_language_defn.
8645 (python_extension_script_ops): New global.
8646 (python_extension_ops): New global.
8647 (struct python_env): New member previous_active.
8648 (restore_python_env): Call restore_active_ext_lang.
8649 (ensure_python_env): Call set_active_ext_lang.
8650 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
8651 New arg extlang.
8652 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
8653 New arg extlang.
8654 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
8655 New arg extlang.
8656 (gdbpy_eval_from_control_command): Renamed from
8657 eval_python_from_control_command, made static. New arg extlang.
8658 (gdbpy_source_script) Renamed from source_python_script, made static.
8659 New arg extlang.
8660 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
8661 result to int. New arg extlang.
8662 (gdbpy_source_objfile_script): Renamed from
8663 source_python_script_for_objfile, made static. New arg extlang.
8664 (gdbpy_start_type_printers): Renamed from start_type_printers, made
8665 static. New args extlang, extlang_printers. Change result type to
8666 "void".
8667 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
8668 static. New arg extlang. Rename arg printers to extlang_printers
8669 and change type to ext_lang_type_printers *.
8670 (gdbpy_free_type_printers): Renamed from free_type_printers, made
8671 static. Replace argument arg with extlang, extlang_printers.
8672 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
8673 (!HAVE_PYTHON, source_python_script): Delete.
8674 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
8675 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
8676 (!HAVE_PYTHON, start_type_printers): Delete.
8677 (!HAVE_PYTHON, apply_type_printers): Delete.
8678 (!HAVE_PYTHON, free_type_printers): Delete.
8679 (_initialize_python): Delete call to observer_attach_before_prompt.
8680 (finalize_python): Set/restore active extension language.
8681 (gdbpy_finish_initialization) Renamed from
8682 finish_python_initialization, made static. New arg extlang.
8683 (gdbpy_initialized): New function.
8684 * python/python.h: #include "extension.h". Delete #include
8685 "value.h", "mi/mi-cmds.h".
8686 (extension_language_python): Declare.
8687 (GDBPY_AUTO_FILE_NAME): Delete.
8688 (enum py_bt_status): Moved to extension.h and renamed to
8689 ext_lang_bt_status.
8690 (enum frame_filter_flags): Moved to extension.h.
8691 (enum py_frame_args): Moved to extension.h and renamed to
8692 ext_lang_frame_args.
8693 (finish_python_initialization): Delete.
8694 (eval_python_from_control_command): Delete.
8695 (source_python_script): Delete.
8696 (apply_val_pretty_printer): Delete.
8697 (apply_frame_filter): Delete.
8698 (preserve_python_values): Delete.
8699 (gdbpy_script_language_defn): Delete.
8700 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
8701 (start_type_printers, apply_type_printers, free_type_printers): Delete.
8702
8703 * auto-load.c: #include "extension.h".
8704 (GDB_AUTO_FILE_NAME): Delete.
8705 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
8706 (script_language_gdb): Delete, moved to extension.c and renamed to
8707 extension_language_gdb.
8708 (source_gdb_script_for_objfile): Delete.
8709 (auto_load_pspace_info): New member unsupported_script_warning_printed.
8710 (loaded_script): Change type of language member to
8711 struct extension_language_defn *.
8712 (init_loaded_scripts_info): Initialize
8713 unsupported_script_warning_printed.
8714 (maybe_add_script): Make static. Change type of language arg to
8715 struct extension_language_defn *.
8716 (clear_section_scripts): Reset unsupported_script_warning_printed.
8717 (auto_load_objfile_script_1): Rewrite to use extension language API.
8718 (auto_load_objfile_script): Make public. Remove support-compiled-in
8719 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
8720 (source_section_scripts): Rewrite to use extension language API.
8721 (load_auto_scripts_for_objfile): Rewrite to use
8722 auto_load_scripts_for_objfile.
8723 (collect_matching_scripts_data): Change type of language member to
8724 struct extension_language_defn *.
8725 (auto_load_info_scripts): Change type of language arg to
8726 struct extension_language_defn *.
8727 (unsupported_script_warning_print): New function.
8728 (script_not_found_warning_print): Make static.
8729 (_initialize_auto_load): Rewrite construction of scripts-directory
8730 help.
8731 * auto-load.h (struct objfile): Add forward decl.
8732 (struct script_language): Delete.
8733 (struct auto_load_pspace_info): Add forward decl.
8734 (struct extension_language_defn): Add forward decl.
8735 (maybe_add_script): Delete.
8736 (auto_load_objfile_script): Declare.
8737 (script_not_found_warning_print): Delete.
8738 (auto_load_info_scripts): Update prototype.
8739 (auto_load_gdb_scripts_enabled): Declare.
8740 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
8741 auto_load_python_scripts_enabled and made public.
8742 (script_language_python): Delete, moved to python.c.
8743 (gdbpy_script_language_defn): Delete.
8744 (info_auto_load_python_scripts): Update to use
8745 extension_language_python.
8746
8747 * breakpoint.c (condition_command): Replace call to
8748 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
8749 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
8750 with call to breakpoint_ext_lang_cond_says_stop.
8751 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
8752 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
8753 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
8754 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
8755 New arg slang.
8756 (local_setattro): Print name of extension language with existing
8757 stop condition.
8758
8759 * valprint.c (val_print, value_print): Update to call
8760 apply_ext_lang_val_pretty_printer.
8761 * cp-valprint.c (cp_print_value): Update call to
8762 apply_ext_lang_val_pretty_printer.
8763 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
8764 (gdbpy_apply_val_pretty_printer): Renamed from
8765 apply_val_pretty_printer. New arg extlang.
8766 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
8767
8768 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
8769 extension language API.
8770 * cli/cli-script.c (execute_control_command): Update to call
8771 eval_ext_lang_from_control_command.
8772
8773 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
8774 enum ext_lang_bt_status values. Update call to
8775 apply_ext_lang_frame_filter.
8776 (mi_cmd_stack_list_locals): Ditto.
8777 (mi_cmd_stack_list_args): Ditto.
8778 (mi_cmd_stack_list_variables): Ditto.
8779 * mi/mi-main.c: Delete #include "python/python-internal.h".
8780 Add #include "extension.h".
8781 (mi_cmd_list_features): Replace reference to python internal variable
8782 gdb_python_initialized with call to ext_lang_initialized_p.
8783
8784 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
8785 Update to use enum ext_lang_frame_args. Update to call
8786 apply_ext_lang_frame_filter.
8787 * python/py-framefilter.c (extract_sym): Update to use enum
8788 ext_lang_bt_status.
8789 (extract_value, py_print_type, py_print_value): Ditto.
8790 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
8791 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
8792 (py_print_frame): Ditto.
8793 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
8794 New arg extlang. Update to use enum ext_lang_bt_status.
8795
8796 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
8797 finish_python_initialization. Replace with call to
8798 finish_ext_lang_initialization.
8799
8800 * typeprint.c (do_free_global_table): Update to call
8801 free_ext_lang_type_printers.
8802 (create_global_typedef_table): Update to call
8803 start_ext_lang_type_printers.
8804 (find_global_typedef): Update to call apply_ext_lang_type_printers.
8805 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
8806 (type_print_options): Change type of global_printers from "void *"
8807 to "struct ext_lang_type_printers *".
8808
8809 * value.c (preserve_values): Update to call preserve_ext_lang_values.
8810 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
8811 (gdbpy_preserve_values): Renamed from preserve_python_values.
8812 New arg extlang.
8813 (!HAVE_PYTHON, preserve_python_values): Delete.
8814
8815 * utils.c (quit_flag): Delete, moved to extension.c.
8816 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
8817 extension.c.
8818
8819 * eval.c: Delete #include "python/python.h".
8820 * main.c: Delete #include "python/python.h".
8821
8822 * defs.h: Update comment.
8823
8824 2014-02-06 Joel Brobecker <brobecker@adacore.com>
8825
8826 GDB 7.7 released.
8827
8828 2014-02-05 Mark Kettenis <kettenis@gnu.org>
8829
8830 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
8831 defined.
8832
8833 2014-02-05 Yao Qi <yao@codesourcery.com>
8834
8835 * remote.c (remote_pass_signals): Remove local 'buf' and use
8836 rs->buf.
8837 (remote_program_signals): Likewise.
8838
8839 2014-02-05 Yao Qi <yao@codesourcery.com>
8840
8841 * ctf.c: Include "inferior.h" and "gdbthread.h".
8842 (CTF_PID): A new macro.
8843 (ctf_open): Call inferior_appeared and add_thread_silent.
8844 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
8845 (ctf_thread_alive): New function.
8846 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
8847
8848 2014-02-05 Yao Qi <yao@codesourcery.com>
8849
8850 Revert this patch:
8851
8852 2013-05-24 Yao Qi <yao@codesourcery.com>
8853
8854 * tracepoint.c (TFILE_PID): Remove.
8855 (tfile_open): Don't add thread and inferior.
8856 (tfile_close): Don't set 'inferior_ptid'. Don't call
8857 exit_inferior_silent.
8858 (tfile_thread_alive): Remove.
8859 (init_tfile_ops): Don't set field 'to_thread_alive' of
8860 tfile_ops.
8861
8862 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
8863
8864 * remote.c (remote_start_remote): Call remote_check_symbols even
8865 if only symbol-file (not file) has been given.
8866
8867 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8868
8869 * gdbarch.sh (skip_entrypoint): New callback.
8870 * gdbarch.c, gdbarch.h: Regenerate.
8871 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
8872 * infrun.c (fill_in_stop_func): Likewise.
8873 * ppc-linux-tdep.c: Include "elf/ppc64.h".
8874 (ppc_elfv2_elf_make_msymbol_special): New function.
8875 (ppc_elfv2_skip_entrypoint): Likewise.
8876 (ppc_linux_init_abi): Install them for ELFv2.
8877
8878 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8879
8880 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
8881 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
8882 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
8883 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
8884 structures returned in GPRs.
8885
8886 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8887
8888 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
8889 offset to the stack parameter list for the ELFv2 ABI.
8890
8891 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8892
8893 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
8894 set_gdbarch_convert_from_func_ptr_addr and
8895 set_gdbarch_elf_make_msymbol_special for ELFv1.
8896 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
8897 function descriptors on ELFv1.
8898 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
8899 set up r12 at function entry.
8900
8901 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8902
8903 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
8904 (struct gdbarch_tdep): New member elf_abi.
8905
8906 * rs6000-tdep.c: Include "elf/ppc64.h".
8907 (rs6000_gdbarch_init): Detect ELF ABI version.
8908
8909 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8910
8911 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
8912 within a register pair holding a DFP 128-bit value on little-endian.
8913 (ppc64_sysv_abi_return_value_base): Likewise.
8914 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
8915 (dfp_pseudo_register_write): Likewise.
8916
8917 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8918
8919 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
8920 offset on little-endian when passing _Decimal32.
8921 (ppc64_sysv_abi_return_value_base): Likewise for return values.
8922
8923 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8924
8925 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
8926 of the overlapped FP register within the VSX register on little-
8927 endian platforms.
8928 (efpr_pseudo_register_write): Likewise.
8929
8930 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8931
8932 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
8933 offset on little-endian when passing small structures.
8934
8935 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8936
8937 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
8938 (struct ppc64_sysv_argpos): New data structure.
8939 (ppc64_sysv_abi_push_float): Remove.
8940 (ppc64_sysv_abi_push_val): New function.
8941 (ppc64_sysv_abi_push_integer): Likewise.
8942 (ppc64_sysv_abi_push_freg): Likewise.
8943 (ppc64_sysv_abi_push_vreg): Likewise.
8944 (ppc64_sysv_abi_push_param): Likewise.
8945 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
8946 (ppc64_sysv_abi_return_value_base): New function.
8947 (ppc64_sysv_abi_return_value): Refactor to use it.
8948
8949 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
8950
8951 * NEWS: Document new target powerpc64le-*-linux*.
8952
8953 2014-02-04 Mark Kettenis <kettenis@gnu.org>
8954
8955 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
8956 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
8957 core dumps.
8958 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
8959 register set used in ELF core dumps. Add floating-point register set.
8960
8961 2014-02-03 Kevin Buettner <kevinb@redhat.com>
8962
8963 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
8964 dwarf2_to_gdb[] table using symbolic constants. Adjust
8965 penultimate entry from number representing the PC register
8966 to symbolic constant representing the MDR register. Add
8967 constant for the PC register to the end of the table.
8968
8969 2014-02-03 Mark Kettenis <kettenis@gnu.org>
8970
8971 * bsd-kvm.c: Include <sys/param.h>
8972
8973 2014-02-03 Mark Kettenis <kettenis@gnu.org>
8974
8975 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
8976
8977 2014-01-31 Joel Brobecker <brobecker@adacore.com>
8978
8979 * ada-lang.h (clear_ada_sym_cache): Delete.
8980
8981 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
8982
8983 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
8984
8985 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8986
8987 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
8988 the sigreturn register save area only if the syscall is
8989 sigreturn.
8990
8991 2014-01-29 Joel Brobecker <brobecker@adacore.com>
8992
8993 * valops.c (value_slice): Minor reformatting.
8994
8995 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
8996
8997 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
8998
8999 2014-01-28 Joel Brobecker <brobecker@adacore.com>
9000
9001 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
9002 New static globals.
9003 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
9004 (ada_ignore_descriptive_types_p): New static global.
9005 (find_parallel_type_by_descriptive_type): Return immediately
9006 if ada_ignore_descriptive_types_p is set.
9007 (_initialize_ada_language): Register new commands "maintenance
9008 set ada", "maintenance show ada", "maintenance set ada
9009 ignore-descriptive-types" and "maintenance show ada
9010 ignore-descriptive-types".
9011 * NEWS: Add entry for new "maint ada set/show
9012 ignore-descriptive-types" commands.
9013
9014 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
9015
9016 * record-btrace.c (record_btrace_close): Call btrace_teardown
9017 for all threads.
9018
9019 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9020
9021 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
9022 "ui-out.h".
9023
9024 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9025
9026 * ada-typeprint (type_is_full_subrange_of_target_type):
9027 New function.
9028 (print_range): Add parameter bounds_prefered_p. If not set,
9029 try printing range types using the name of their base type.
9030 (print_range_type): Add parameter bounds_prefered_p.
9031 Use it in call to print_range.
9032 (print_array_type, ada_print_type): Update calls to print_range
9033 and print_range_type.
9034
9035 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9036
9037 * ada-typeprint.c (print_array_type, print_choices, print_range)
9038 (print_range_bound, print_dynamic_range_bound, print_range_type):
9039 Remove declaration.
9040
9041 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9042
9043 * ada-typeprint.c (print_range): Add missing empty line
9044 after local declaration.
9045
9046 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9047
9048 * ada-valprint.c (print_optional_low_bound): Get index_type's
9049 target type for as long as it is a TYPE_CODE_RANGE.
9050
9051 2014-01-27 Joel Brobecker <brobecker@adacore.com>
9052
9053 * procfs.c (procfs_make_note_section): Remove assertion and
9054 associated comment.
9055
9056 2014-01-24 Yao Qi <yao@codesourcery.com>
9057
9058 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
9059 * corelow.c (get_core_siginfo): Likewise.
9060
9061 2014-01-24 Yao Qi <yao@codesourcery.com>
9062
9063 * remote.c (remote_write_bytes_aux): Change type of 'len' to
9064 ULONGEST. Don't check 'len' is negative.
9065 (remote_write_bytes): Change type of 'len' to ULONGEST.
9066
9067 2014-01-23 Tom Tromey <tromey@redhat.com>
9068
9069 PR python/16485:
9070 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
9071 Handle exception from frame.block.
9072 (FrameVars.fetch_frame_locals): Likewise.
9073
9074 2014-01-23 Tom Tromey <tromey@redhat.com>
9075
9076 PR python/16487:
9077 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
9078 on a NULL pointer. Move "goto error" to correct place.
9079
9080 2014-01-23 Tom Tromey <tromey@redhat.com>
9081
9082 PR python/16491:
9083 * python/py-framefilter.c (apply_frame_filter): Call
9084 ensure_python_env after computing gdbarch.
9085
9086 2014-01-23 Yao Qi <yao@codesourcery.com>
9087
9088 * target.c (raw_memory_xfer_partial): Change argument type
9089 from void * to gdb_byte *.
9090 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
9091
9092 2014-01-22 Doug Evans <dje@google.com>
9093
9094 New gdbserver option --debug-format=timestamp.
9095 * NEWS: Mention it.
9096
9097 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9098
9099 * syscalls/s390x-linux.xml: New file.
9100 * syscalls/s390-linux.xml: New file.
9101 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
9102 (XML_SYSCALL_FILENAME_S390X): Likewise.
9103 (op_svc): New enum value for SVC opcode.
9104 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
9105 (s390_linux_get_syscall_number): New function.
9106 (s390_gdbarch_init): Register '*get_syscall_number' and the
9107 syscall xml file name.
9108 * data-directory/Makefile.in (SYSCALLS_FILES): Add
9109 "s390-linux.xml" and "s390x-linux.xml".
9110 * NEWS: Announce new feature.
9111
9112 2014-01-22 Baruch Siach <baruch@tkos.co.il>
9113
9114 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
9115
9116 2014-01-22 Pedro Alves <palves@redhat.com>
9117
9118 * xtensa-config.c: Include defs.h.
9119
9120 2014-01-22 Joel Brobecker <brobecker@adacore.com>
9121
9122 * common/common-utils.h: Add "ARI:" comment beside __func__
9123 reference.
9124
9125 2014-01-22 Joel Brobecker <brobecker@adacore.com>
9126
9127 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
9128 documentation a bit.
9129
9130 2014-01-21 Roland McGrath <mcgrathr@google.com>
9131
9132 * configure.ac: Call AM_PROG_INSTALL_STRIP.
9133 * configure: Regenerate.
9134 * aclocal.m4: Regenerate.
9135 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
9136 New substituted variables.
9137 (install-strip): New target.
9138 (INSTALL_SCRIPT): New substituted variable.
9139 (FLAGS_TO_PASS): Add it.
9140 (install-only): Use $(INSTALL_SCRIPT) rather than
9141 $(INSTALL_PROGRAM) for gcore.
9142
9143 2014-01-20 Tom Tromey <tromey@redhat.com>
9144
9145 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
9146 together.
9147
9148 2014-01-20 Tom Tromey <tromey@redhat.com>
9149
9150 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
9151 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
9152 (deprecated_cmd_warning, complete_on_cmdlist): Update.
9153 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
9154 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
9155 (struct cmd_list_element) <flags>: Remove.
9156 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
9157 doc_allocated>: New fields.
9158 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
9159 bitfields.
9160 * maint.c (maintenance_do_deprecate): Update.
9161 * top.c (execute_command): Update.
9162
9163 2014-01-20 Baruch Siach <baruch@tkos.co.il>
9164
9165 * xtensa-linux-nat.c: Include asm/ptrace.h.
9166
9167 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9168
9169 * Makefile.in (SFILES): Add d-support.c.
9170 (COMMON_OBS): Add d-support.o.
9171 * d-lang.h (d_parse_symbol): Add comment, now defined in
9172 d-support.c.
9173 * d-lang.c (parse_call_convention)
9174 (parse_attributes, parse_function_types)
9175 (parse_function_args, parse_type, parse_identifier)
9176 (call_convention_p, d_parse_symbol): Move functions to ...
9177 * d-support.c: ... New file.
9178
9179 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9180
9181 * d-lang.h (d_parse_symbol): Add declaration.
9182 * d-lang.c (extract_identifiers)
9183 (extract_type_info): Remove functions.
9184 (parse_call_convention, parse_attributes)
9185 (parse_function_types, parse_function_args)
9186 (parse_type, parse_identifier, call_convention_p)
9187 (d_parse_symbol): New functions.
9188 (d_demangle): Use d_parse_symbol to demangle D symbols.
9189
9190 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9191
9192 * d-lang.h (struct builtin_d_type): New data type.
9193 (builtin_d_type): Add declaration.
9194 * d-lang.c (d_language_arch_info, build_d_types)
9195 (builtin_d_type): New functions.
9196 (enum d_primitive_types): New data type.
9197 (d_language_defn): Change c_language_arch_info to
9198 d_language_arch_info.
9199 (d_type_data): New static variable.
9200 (_initialize_d_language): Initialize d_type_data.
9201
9202 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9203
9204 * d-lang.h (d_main_name): Add declaration.
9205 * d-lang.c (d_main_name): New function.
9206 * symtab.c (find_main_name): Add call to d_main_name.
9207
9208 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9209
9210 * d-lang.c (d_language_defn): Change macro_expansion_c to
9211 macro_expansion_no.
9212
9213 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9214
9215 * MAINTAINERS: Add myself as a write-after-approval maintainer.
9216
9217 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
9218
9219 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
9220 gdb_exception" declaration.
9221 * remote.c (getpkt_or_notif_sane): Likewise.
9222
9223 2014-01-17 Doug Evans <dje@google.com>
9224
9225 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
9226 function, contents of dirnames_to_char_ptr_vec_append moved here.
9227 (delim_string_to_char_ptr_vec): New function.
9228 (dirnames_to_char_ptr_vec_append): Rewrite.
9229 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
9230
9231 2014-01-17 Doug Evans <dje@google.com>
9232
9233 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
9234 and moved here ...
9235 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
9236 #include "common-utils.h".
9237 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
9238 * common/vec.h (VEC_ASSERT_PASS): Update.
9239 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
9240 (MACH_CHECK_ERROR): Update.
9241
9242 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
9243
9244 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
9245 comments.
9246 * gdbarch.h: Regenerate.
9247
9248 2014-01-16 Tom Tromey <tromey@redhat.com>
9249
9250 * value.c (struct value) <regnum>: Move earlier.
9251
9252 2014-01-16 Tom Tromey <tromey@redhat.com>
9253
9254 * remote.c (extended_remote_create_inferior): Rename from
9255 extended_remote_create_inferior_1. Add "ops" argument. Remove
9256 old implementation.
9257
9258 2014-01-16 Pedro Alves <palves@redhat.com>
9259
9260 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
9261 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
9262 the backchain.
9263
9264 2014-01-16 Doug Evans <dje@google.com>
9265
9266 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
9267
9268 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9269
9270 * btrace.h (btrace_thread_flag): New.
9271 (struct btrace_thread_info) <flags>: New.
9272 * record-btrace.c (record_btrace_resume_thread)
9273 (record_btrace_find_thread_to_move, btrace_step_no_history)
9274 (btrace_step_stopped, record_btrace_start_replaying)
9275 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
9276 (record_btrace_find_resume_thread): New.
9277 (record_btrace_resume, record_btrace_wait): Extend.
9278 (record_btrace_can_execute_reverse): New.
9279 (record_btrace_open): Fail in non-stop mode.
9280 (record_btrace_set_replay): Split into this, ...
9281 (record_btrace_stop_replaying): ... this, ...
9282 (record_btrace_clear_histories): ... and this.
9283 (init_record_btrace_ops): Init to_can_execute_reverse.
9284 * NEWS: Announce it.
9285
9286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9287
9288 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
9289 (forward_target_decr_pc_after_break)
9290 (target_decr_pc_after_break): New.
9291 * target.c (forward_target_decr_pc_after_break)
9292 (target_decr_pc_after_break): New.
9293 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
9294 instead of gdbarch_decr_pc_after_break.
9295 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9296 instead of gdbarch_decr_pc_after_break.
9297 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
9298 instead of gdbarch_decr_pc_after_break.
9299 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9300 instead of gdbarch_decr_pc_after_break.
9301 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
9302 instead of gdbarch_decr_pc_after_break.
9303 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
9304 instead of gdbarch_decr_pc_after_break.
9305
9306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9307
9308 * btrace.c: Include regcache.h.
9309 (btrace_add_pc): New.
9310 (btrace_enable): Call btrace_add_pc.
9311 (btrace_is_empty): New.
9312 * btrace.h (btrace_is_empty): New.
9313 * record-btrace.c (require_btrace, record_btrace_info): Call
9314 btrace_is_empty.
9315
9316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9317
9318 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
9319 Support delta reads.
9320 (linux_disable_btrace): Change return type.
9321 * common/linux-btrace.h (linux_read_btrace): Change parameters
9322 and return type to allow error reporting. Update users.
9323 (linux_disable_btrace): Change return type. Update users.
9324 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
9325 New.
9326 (btrace_error): New.
9327 (btrace_block) <begin>: Comment on BEGIN == 0.
9328 * btrace.c (btrace_compute_ftrace): Start from the end of
9329 the current trace.
9330 (btrace_stitch_trace, btrace_clear_history): New.
9331 (btrace_fetch): Read delta trace, return if replaying.
9332 (btrace_clear): Move clear history code to btrace_clear_history.
9333 (parse_xml_btrace): Throw an error if parsing failed.
9334 * target.h (struct target_ops) <to_read_btrace>: Change parameters
9335 and return type to allow error reporting.
9336 (target_read_btrace): Change parameters and return type to allow
9337 error reporting.
9338 * target.c (target_read_btrace): Update.
9339 * remote.c (remote_read_btrace): Support delta reads. Pass
9340 errors on.
9341 * NEWS: Announce it.
9342
9343 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9344
9345 * record.h (record_btrace_frame_unwind)
9346 (record_btrace_tailcall_frame_unwind): New declarations.
9347 * dwarf2-frame: Include record.h
9348 (dwarf2_frame_cfa): Throw an error for btrace frames.
9349 * record-btrace.c: Include hashtab.h.
9350 (btrace_get_bfun_name): New.
9351 (btrace_call_history): Call btrace_get_bfun_name.
9352 (struct btrace_frame_cache): New.
9353 (bfcache): New.
9354 (bfcache_hash, bfcache_eq, bfcache_new): New.
9355 (btrace_get_frame_function): New.
9356 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
9357 (record_btrace_frame_this_id): Compute own id.
9358 (record_btrace_frame_prev_register): Provide PC, throw_error
9359 for all other registers.
9360 (record_btrace_frame_sniffer): Detect btrace frames.
9361 (record_btrace_tailcall_frame_sniffer): New.
9362 (record_btrace_frame_dealloc_cache): New.
9363 (record_btrace_frame_unwind): Add new functions.
9364 (record_btrace_tailcall_frame_unwind): New.
9365 (_initialize_record_btrace): Allocate cache.
9366 * btrace.c (btrace_clear): Call reinit_frame_cache.
9367 * NEWS: Announce it.
9368
9369 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9370
9371 * record-btrace.c (record_btrace_set_replay)
9372 (record_btrace_goto_begin, record_btrace_goto_end)
9373 (record_btrace_goto): New.
9374 (init_record_btrace_ops): Initialize them.
9375 * NEWS: Announce it.
9376
9377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9378
9379 * record-btrace.c (record_btrace_find_new_threads)
9380 (record_btrace_thread_alive): New.
9381 (init_record_btrace_ops): Initialize to_find_new_threads and
9382 to_thread_alive.
9383
9384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9385
9386 * record-btrace.c (record_btrace_resume): New.
9387 (record_btrace_wait): New.
9388 (init_record_btrace_ops): Initialize to_wait and to_resume.
9389
9390 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9391
9392 * record-btrace.c (record_btrace_xfer_partial)
9393 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
9394 (record_btrace_allow_memory_access): New.
9395 (init_record_btrace_ops): Initialize new methods.
9396 * target.c (raw_memory_xfer_partial): Bail out if target reports
9397 that this memory is not available.
9398
9399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9400
9401 * target.h (target_ops) <to_insert_breakpoint>
9402 <to_remove_breakpoint>: Add target_ops parameter.
9403 (forward_target_insert_breakpoint): New.
9404 (forward_target_remove_breakpoint): New.
9405 (memory_remove_breakpoint, memory_insert_breakpoint):
9406 Add target_ops parameter.
9407 * target.c (target_insert_breakpoint): Split into this and ...
9408 (forward_target_insert_breakpoint): ... this.
9409 (target_remove_breakpoint): Split into this and ...
9410 (forward_target_remove_breakpoint): ... this.
9411 (debug_to_insert_breakpoint): Add target_ops parameter.
9412 Call forward_target_insert_breakpoint.
9413 (debug_to_remove_breakpoint): Add target_ops parameter.
9414 Call forward_target_remove_breakpoint.
9415 (update_current_target): Do not inherit or default to_insert_breakpoint
9416 and to_remove_breakpoint.
9417 * corelow.c (ignore): Add target_ops parameter.
9418 * exec.c (ignore): Add target_ops parameter.
9419 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
9420 Add target_ops parameter.
9421 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
9422 Add target_ops parameter.
9423 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
9424 Add target_ops parameter.
9425 * record-full.c (record_full_beneath_to_insert_breakpoint)
9426 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
9427 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
9428 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
9429 (record_full_core_remove_breakpoint): Add target_ops parameter.
9430 Update users.
9431 (record_full_beneath_to_insert_breakpoint_ops)
9432 (record_full_beneath_to_remove_breakpoint_ops)
9433 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
9434 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
9435 tmp_to_remove_breakpoint_ops,
9436 record_full_beneath_to_insert_breakpoint_ops, and
9437 record_full_beneath_to_remove_breakpoint_ops.
9438 * remote-m32r-sdi.c (m32r_insert_breakpoint)
9439 (m32r_remove_breakpoint): Add target_ops parameter.
9440 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
9441 Add target_ops parameter.
9442 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
9443 Add target_ops parameter.
9444
9445 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9446 Markus Metzger <markus.t.metzger@intel.com>
9447
9448 * record-btrace.c: Include frame-unwind.h.
9449 (record_btrace_frame_unwind_stop_reason)
9450 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
9451 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
9452 New.
9453 (init_record_btrace_ops): Install it.
9454
9455 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9456
9457 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
9458 get_prev_frame_1.
9459
9460 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9461
9462 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
9463 earlier.
9464
9465 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9466
9467 * frame-unwind.c: Include target.h.
9468 (frame_unwind_try_unwinder): New function with code from ...
9469 (frame_unwind_find_by_frame): ... here. New variable
9470 unwinder_from_target, call also target_get_unwinder)
9471 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
9472 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
9473 * target.h (struct target_ops): New fields to_get_unwinder and
9474 to_get_tailcall_unwinder.
9475 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
9476
9477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9478
9479 * record-btrace.c (record_btrace_fetch_registers)
9480 (record_btrace_store_registers)
9481 (record_btrace_to_prepare_to_store): New.
9482 (init_record_btrace_ops): Add the above.
9483
9484 2014-01-16 Tom Tromey <tromey@redhat.com>
9485
9486 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
9487 * target.h (struct target_ops) <to_prepare_to_store>: Add
9488 argument.
9489 (target_prepare_to_store): Add argument.
9490 * target.c (debug_to_prepare_to_store): Add argument.
9491 (update_current_target): Update.
9492 * remote.c (remote_prepare_to_store): Add 'self' argument.
9493 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
9494 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
9495 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
9496 * record-full.c (record_full_core_prepare_to_store): Add 'self'
9497 argument.
9498 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
9499 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
9500 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
9501 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
9502 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
9503
9504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9505
9506 * btrace.h (replay) <replay>: New.
9507 (btrace_is_replaying): New.
9508 * btrace.c (btrace_clear): Free replay iterator.
9509 (btrace_is_replaying): New.
9510 * record-btrace.c (record_btrace_is_replaying): New.
9511 (record_btrace_info): Print insn number if replaying.
9512 (record_btrace_insn_history): Start at replay position.
9513 (record_btrace_call_history): Start at replay position.
9514 (init_record_btrace_ops): Init to_record_is_replaying.
9515
9516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9517
9518 * record-btrace.c (record_btrace_insn_history_range): Include
9519 end.
9520 (record_btrace_insn_history_from): Adjust range.
9521 (record_btrace_call_history_range): Include
9522 end.
9523 (record_btrace_call_history_from): Adjust range.
9524 * NEWS: Announce changes.
9525
9526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9527
9528 * record.h (enum record_print_flag)
9529 <record_print_indent_calls>: New.
9530 * record.c (get_call_history_modifiers): Recognize /c modifier.
9531 (_initialize_record): Document /c modifier.
9532 * record-btrace.c (btrace_call_history): Add btinfo parameter.
9533 Reorder fields. Optionally indent the function name. Update
9534 all users.
9535 * NEWS: Announce changes.
9536
9537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9538
9539 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
9540
9541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9542
9543 * btrace.c (ftrace_new_function): Start counting at one.
9544 * record-btrace.c (record_btrace_info): Adjust number of calls
9545 and insns.
9546 * NEWS: Announce it.
9547
9548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9549
9550 * record-btrace.c (btrace_call_history_insn_range): Print
9551 insn range as [begin, end].
9552
9553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9554
9555 * btrace.h (struct btrace_func_link): New.
9556 (enum btrace_function_flag): New.
9557 (struct btrace_inst): Rename to ...
9558 (struct btrace_insn): ...this. Update all users.
9559 (struct btrace_func) <ibegin, iend>: Remove.
9560 (struct btrace_func_link): New.
9561 (struct btrace_func): Rename to ...
9562 (struct btrace_function): ...this. Update all users.
9563 (struct btrace_function) <segment, flow, up, insn, insn_offset)
9564 (number, level, flags>: New.
9565 (struct btrace_insn_iterator): Rename to ...
9566 (struct btrace_insn_history): ...this.
9567 Update all users.
9568 (struct btrace_insn_iterator, btrace_call_iterator): New.
9569 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
9570 (struct btrace_target_info) <begin, end, level>
9571 <insn_history, call_history>: New.
9572 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
9573 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
9574 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
9575 (btrace_call_number, btrace_call_begin, btrace_call_end)
9576 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
9577 (btrace_find_function_by_number, btrace_set_insn_history)
9578 (btrace_set_call_history): New.
9579 * btrace.c (btrace_init_insn_iterator)
9580 (btrace_init_func_iterator, compute_itrace): Remove.
9581 (ftrace_print_function_name, ftrace_print_filename)
9582 (ftrace_skip_file): Change
9583 parameter to const.
9584 (ftrace_init_func): Remove.
9585 (ftrace_debug): Use new btrace_function fields.
9586 (ftrace_function_switched): Also consider gaining and
9587 losing symbol information).
9588 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
9589 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
9590 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
9591 New.
9592 (ftrace_new_function): Move. Remove debug print.
9593 (ftrace_update_lines, ftrace_update_insns): New.
9594 (ftrace_update_function): Check for call, ret, and jump.
9595 (compute_ftrace): Renamed to ...
9596 (btrace_compute_ftrace): ...this. Rewritten to compute call
9597 stack.
9598 (btrace_fetch, btrace_clear): Updated.
9599 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
9600 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
9601 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
9602 (btrace_call_number, btrace_call_begin, btrace_call_end)
9603 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
9604 (btrace_find_function_by_number, btrace_set_insn_history)
9605 (btrace_set_call_history): New.
9606 * record-btrace.c (require_btrace): Use new btrace thread
9607 info fields.
9608 (record_btrace_info, btrace_insn_history)
9609 (record_btrace_insn_history, record_btrace_insn_history_range):
9610 Use new btrace thread info fields and new iterator.
9611 (btrace_func_history_src_line): Rename to ...
9612 (btrace_call_history_src_line): ...this. Use new btrace
9613 thread info fields.
9614 (btrace_func_history): Rename to ...
9615 (btrace_call_history): ...this. Use new btrace thread info
9616 fields and new iterator.
9617 (record_btrace_call_history, record_btrace_call_history_range):
9618 Use new btrace thread info fields and new iterator.
9619
9620 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9621
9622 * frame.h (frame_id_build_unavailable_stack_special): New.
9623 * frame.c (frame_id_build_unavailable_stack_special): New.
9624
9625 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9626
9627 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
9628 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
9629 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
9630 to gdbarch.
9631 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
9632 (i386_insn_is_jump, i386_jmp_p): New.
9633 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
9634 insn_is_jump to gdbarch.
9635 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
9636 * gdbarch.h: Regenerated.
9637 * gdbarch.c: Regenerated.
9638 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
9639 (default_insn_is_jump): New.
9640 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
9641 (default_insn_is_jump): New.
9642
9643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9644
9645 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
9646 Change to ...
9647 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
9648 (btrace_read_type) <btrace_read_new>: Change to ...
9649 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
9650
9651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9652
9653 * common/linux-btrace.c (linux_read_btrace): Free trace from
9654 previous iteration.
9655
9656 2014-01-15 Doug Evans <dje@google.com>
9657
9658 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
9659 uint32_t.
9660
9661 2014-01-15 Tom Tromey <tromey@redhat.com>
9662
9663 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
9664 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
9665 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
9666 (set_objfile_main_name): New function.
9667 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
9668 language_of_main>: New fields.
9669 (set_objfile_main_name): Declare.
9670 * symtab.c (find_main_name): Loop over objfiles to find the main
9671 name and language.
9672 (set_main_name): Now static.
9673 (get_main_info): Add comment.
9674 * symtab.h (set_main_name): Don't declare.
9675
9676 2014-01-15 Tom Tromey <tromey@redhat.com>
9677
9678 * symtab.c (main_progspace_key): New global.
9679 (struct main_info): New.
9680 (name_of_main, language_of_main): Remove.
9681 (get_main_info, main_info_cleanup): New function.
9682 (set_main_name, main_name, main_language): Use get_main_info.
9683 (_initialize_symtab): Initialize main_progspace_key.
9684
9685 2014-01-15 Tom Tromey <tromey@redhat.com>
9686
9687 * dbxread.c (process_one_symbol): Update.
9688 * dwarf2read.c (read_partial_die): Update.
9689 * symfile.c (set_initial_language): Call main_language.
9690 * symtab.c (language_of_main): Now static.
9691 (set_main_name): Add 'lang' parameter.
9692 (find_main_name): Update.
9693 (main_language): New function.
9694 (symtab_observer_executable_changed): Update.
9695 * symtab.h (set_main_name): Update.
9696 (language_of_main): Remove.
9697 (main_language): Declare.
9698
9699 2014-01-15 Tom Tromey <tromey@redhat.com>
9700
9701 * symfile.c (init_entry_point_info): Use new "initialized" field.
9702 Update.
9703 * objfiles.h (struct entry_point) <initialized>: New field.
9704 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
9705 (struct objfile) <ei>: ...here. Remove.
9706 * objfiles.c (entry_point_address_query): Update.
9707
9708 2014-01-15 Tom Tromey <tromey@redhat.com>
9709
9710 * objfiles.c (entry_point_address_query): Relocate entry point
9711 address.
9712 (objfile_relocate1): Do not relocate entry point address.
9713 * objfiles.h (struct entry_info) <entry_point>: Update comment.
9714 <the_bfd_section_index>: New field.
9715 * symfile.c (init_entry_point_info): Find the entry point's
9716 section.
9717
9718 2014-01-15 Tom Tromey <tromey@redhat.com>
9719
9720 * solib-frv.c (enable_break): Use entry_point_address_query.
9721
9722 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9723
9724 * NEWS: Add note on improved process record-replay on
9725 arm*-linux* targets.
9726
9727 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9728
9729 * arm-tdep.c (enum arm_record_result): New enum.
9730 (arm_record_unsupported_insn): New function.
9731 (arm_record_coproc_data_proc): Removed.
9732 (thumb2_record_ld_st_multiple): New function.
9733 (thumb2_record_ld_st_dual_ex_tbb): New function.
9734 (thumb2_record_data_proc_sreg_mimm): New function.
9735 (thumb2_record_ps_dest_generic): New function.
9736 (thumb2_record_branch_misc_cntrl): New function.
9737 (thumb2_record_str_single_data): New function.
9738 (thumb2_record_ld_mem_hints): New function.
9739 (thumb2_record_ld_word): New function.
9740 (thumb2_record_lmul_lmla_div): New function.
9741 (thumb2_record_decode_insn_handler): New function.
9742 (decode_insn): Add thumb32 instruction handlers.
9743
9744 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9745
9746 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
9747 (struct arm_linux_record_tdep): Declare.
9748 (arm_canonicalize_syscall): New function.
9749 (arm_all_but_pc_registers_record): New function.
9750 (arm_linux_syscall_record): New function.
9751 (arm_linux_init_abi): Add syscall recording constructs.
9752 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
9753 decoding. (arm_record_coproc_data_proc): Update arm syscall
9754 decoding.
9755 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
9756 <arm_syscall_record>: New field.
9757 * configure.tgt (arm*-*-linux*): Add linux-record.o to
9758 gdb_target_obs.
9759
9760 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9761
9762 * arm-tdep.c (thumb_record_misc): Update to use sp as base
9763 register for push instruction recording.
9764
9765 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9766
9767 * arm-tdep.c (thumb_record_misc): Update to correct logical
9768 error while recording ldm, ldmia and pop instructions.
9769
9770 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9771
9772 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
9773
9774 2014-01-15 Pedro Alves <palves@redhat.com>
9775
9776 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
9777 (go32_resume, go32_fetch_registers, store_register)
9778 (go32_store_registers, go32_prepare_to_store)
9779 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
9780 (go32_create_inferior, go32_can_run, go32_terminal_init)
9781 (go32_terminal_inferior, go32_terminal_ours): Delete forward
9782 declarations.
9783
9784 2014-01-15 Tom Tromey <tromey@redhat.com>
9785
9786 * target.h (async_callback_ftype): New typedef.
9787 (struct target_ops) <to_async>: Use it.
9788
9789 2014-01-15 Joel Brobecker <brobecker@adacore.com>
9790
9791 * python/py-value.c (get_field_type): Remove unnecessary curly
9792 braces for single-statement if block.
9793
9794 2014-01-15 Joel Brobecker <brobecker@adacore.com>
9795
9796 * python/py-type.c (convert_field): Add missing empty line
9797 after declarations.
9798
9799 2014-01-14 Doug Evans <dje@google.com>
9800
9801 * symfile.h (expand_symtabs_matching): Renamed from
9802 expand_partial_symbol_names. Update prototype.
9803 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
9804 * symfile.c (expand_symtabs_matching): Renamed from
9805 expand_partial_symbol_names. New args file_matcher, kind.
9806 Rename arg fun to symbol_matcher.
9807 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
9808 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
9809 ada_expand_partial_symbol_name.
9810 (ada_make_symbol_completion_list): Update to call
9811 expand_symtabs_matching.
9812 (ada_add_global_exceptions): Call expand_symtabs_matching.
9813 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
9814 call map_symbol_filenames.
9815 * symtab.c (sources_info): Update to call map_symbol_filenames.
9816 (search_symbols): Call expand_symtabs_matching.
9817 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
9818 (default_make_symbol_completion_list_break_on): Update to call
9819 expand_symtabs_matching.
9820 (make_source_files_completion_list): Update to call
9821 map_symbol_filenames.
9822
9823 2014-01-14 Doug Evans <dje@google.com>
9824
9825 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
9826 (expand_symtabs_symbol_matcher_ftype): New typedef.
9827 (quick_symbol_functions.expand_symtabs_matching): Update to use.
9828 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9829 * symfile.c (expand_partial_symbol_names): Update to use
9830 expand_symtabs_symbol_matcher_ftype.
9831 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
9832 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9833 Arg name_matcher renamed to symbol_matcher.
9834 * psymtab.c (recursively_search_psymtabs): Update to use
9835 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
9836 sym_matcher.
9837 (expand_symtabs_matching_via_partial): Update to use
9838 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
9839 Arg name_matcher renamed to symbol_matcher.
9840
9841 2014-01-14 Doug Evans <dje@google.com>
9842
9843 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
9844 (map_partial_symbol_filenames): Ditto.
9845 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
9846 (map_partial_symbol_filenames): Ditto.
9847 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
9848 (map_partial_symbol_filenames): Ditto.
9849 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
9850 (map_partial_symbol_filenames): Ditto.
9851 * symtab.c: Delete #include "psymtab.h".
9852
9853 2014-01-14 Pedro Alves <palves@redhat.com>
9854 Tom Tromey <tromey@redhat.com>
9855
9856 * infrun.c (use_displaced_stepping): Use find_record_target
9857 instead of RECORD_IS_USED.
9858 (adjust_pc_after_break): Use record_full_is_used instead of
9859 RECORD_IS_USED.
9860 * record-btrace.c (record_btrace_open): Call record_preopen
9861 instead of checking RECORD_IS_USED.
9862 * record-full.c (record_full_shortname)
9863 (record_full_core_shortname): New globals.
9864 (record_full_is_used): New function.
9865 (find_full_open): Call record_preopen instead of checking
9866 RECORD_IS_USED.
9867 (init_record_full_ops): Set the target's shortname to
9868 record_full_shortname.
9869 (init_record_full_core_ops): Set the target's shortname to
9870 record_full_core_shortname.
9871 * record-full.h (record_full_is_used): Declare.
9872 * record.c (find_record_target): Make extern.
9873 (record_preopen): New function.
9874 * record.h (RECORD_IS_USED): Delete macro.
9875 (find_record_target, record_preopen): Declare functions.
9876
9877 2014-01-14 Yao Qi <yao@codesourcery.com>
9878
9879 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
9880 'len''s type to ULONGEST.
9881 (core_xfer_shared_libraries_aix): Likewise.
9882 * gdbarch.c, gdbarch.h: Regenerated.
9883 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
9884 Change type of 'len' to ULONGEST.
9885 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9886 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
9887
9888 2014-01-14 Yao Qi <yao@codesourcery.com>
9889
9890 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
9891 type of 'len' to ULONGEST.
9892 (linux_xfer_osdata_processgroups): Likewise.
9893 (linux_xfer_osdata_threads): Likewise.
9894 (linux_xfer_osdata_fds): Likewise.
9895 (linux_xfer_osdata_isockets): Likewise.
9896 (linux_xfer_osdata_shm): Likewise.
9897 (linux_xfer_osdata_sem): Likewise.
9898 (linux_xfer_osdata_msg): Likewise.
9899 (linux_common_xfer_osdata): Likewise.
9900 (struct osdata_type) <getter>: Likewise.
9901 * common/linux-osdata.h (linux_common_xfer_osdata): Update
9902 the declaration.
9903
9904 2014-01-14 Yao Qi <yao@codesourcery.com>
9905
9906 * target.h (target_xfer_partial_ftype): Update.
9907 (struct target_ops) <to_xfer_partial>: Change 'len' type to
9908 ULONGEST.
9909 * aix-thread.c (aix_thread_xfer_partial): Change type of
9910 argument 'len' to ULONGEST.
9911 * auxv.c (procfs_xfer_auxv): Likewise.
9912 (ld_so_xfer_auxv): Likewise.
9913 (memory_xfer_auxv): Likewise.
9914 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9915 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9916 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9917 * corelow.c (core_xfer_partial): Likewise.
9918 * ctf.c (ctf_xfer_partial): Likewise.
9919 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
9920 '%u'.
9921 (darwin_read_dyld_info): Likewise.
9922 (darwin_xfer_partial): Likewise.
9923 * exec.c (section_table_xfer_memory_partial): Likewise.
9924 (exec_xfer_partial): Likewise.
9925 * exec.h (section_table_xfer_memory_partial): Update
9926 declaration.
9927 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
9928 instead of plongest.
9929 (gnu_xfer_partial): Likewise.
9930 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
9931 (ia64_hpux_xfer_solib_got): Likewise.
9932 (ia64_hpux_xfer_partial): Likewise.
9933 * ia64-linux-nat.c (ia64_linux_xfer_partial):
9934 * inf-ptrace.c (inf_ptrace_xfer_partial):
9935 * inf-ttrace.c (inf_ttrace_xfer_partial):
9936 * linux-nat.c (linux_xfer_siginfo): Likewise.
9937 (linux_nat_xfer_partial): Likewise.
9938 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
9939 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
9940 * monitor.c (monitor_xfer_memory): Likewise.
9941 (monitor_xfer_partial): Likewise.
9942 * procfs.c (procfs_xfer_partial): Likewise.
9943 * record-full.c (record_full_xfer_partial): Likewise.
9944 (record_full_core_xfer_partial): Likewise.
9945 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
9946 instead of plongest.
9947 (gdbsim_xfer_partial): Likewise.
9948 * remote.c (remote_xfer_partial): Likewise.
9949 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9950 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
9951 declaration.
9952 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9953 (rs6000_xfer_shared_libraries): Likewise.
9954 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9955 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9956 (sparc_xfer_partial): Likewise.
9957 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9958 (spu_xfer_partial): Likewise.
9959 * spu-multiarch.c (spu_xfer_partial): Likewise.
9960 * target.c (target_read_live_memory): Likewise.
9961 (memory_xfer_live_readonly_partial): Likewise.
9962 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
9963 (target_xfer_partial, default_xfer_partial): Likewise.
9964 (current_xfer_partial): Likewise.
9965 * tracepoint.c (tfile_xfer_partial): Likewise.
9966 * windows-nat.c (windows_xfer_memory): Likewise. Call
9967 pulongest instead of plongest.
9968 (windows_xfer_partial): Likewise.
9969 (windows_xfer_shared_libraries): Likewise.
9970
9971 2014-01-14 Yao Qi <yao@codesourcery.com>
9972
9973 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
9974 target_xfer_partial_ftype.
9975
9976 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9977
9978 PR python/15464
9979 PR python/16113
9980 * valops.c (value_struct_elt_bitpos): New function
9981 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
9982 object to 'None' if the field name is an empty string ("").
9983 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
9984 attribute to look for a field when 'name' is 'None'.
9985 (get_field_type): New function
9986
9987 2014-01-13 Doug Evans <dje@google.com>
9988
9989 PR symtab/16426
9990 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
9991 (try_open_dwop_file): Ditto.
9992 * gdb_bfd.c: #include "vec.h".
9993 (bfdp): New typedef.
9994 (struct gdb_bfd_data): New member included_bfds.
9995 (gdb_bfd_unref): Unref all included bfds.
9996 (gdb_bfd_record_inclusion): New function.
9997 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
9998
9999 2014-01-13 Tom Tromey <tromey@redhat.com>
10000
10001 * gdbcore.h (deprecated_core_resize_section_table): Remove.
10002
10003 2014-01-13 Tom Tromey <tromey@redhat.com>
10004
10005 * defs.h (use_windows): Remove.
10006 * gdb.c (main): Update.
10007 * main.c (captured_main, gdb_main): Update.
10008 * main.h (struct captured_main_args) <use_windows>: Remove.
10009 * top.c (use_windows): Remove.
10010
10011 2014-01-13 Tom Tromey <tromey@redhat.com>
10012
10013 * defs.h (deprecated_flush_hook): Remove.
10014
10015 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10016
10017 PR threads/16216
10018 * linux-thread-db.c (try_thread_db_load): Add parameter
10019 check_auto_load_safe. Move here the file_is_auto_load_safe call.
10020 (try_thread_db_load_from_pdir_1): Move it there from here.
10021 (try_thread_db_load_from_sdir): Update caller.
10022 (try_thread_db_load_from_dir): Move it there from here.
10023
10024 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
10025
10026 * regformats/regdat.sh: Always rewrite the register file.
10027
10028 2014-01-13 Pedro Alves <palves@redhat.com>
10029
10030 * Makefile.in (CHECK_HEADERS): New variable.
10031 (check-headers:): New rule.
10032
10033 2014-01-13 Tom Tromey <tromey@redhat.com>
10034
10035 * cli/cli-setshow.c (do_set_command): Update.
10036 * defs.h (deprecated_set_hook): Remove.
10037 * top.c (deprecated_set_hook): Remove.
10038
10039 2014-01-13 Pedro Alves <palves@redhat.com>
10040
10041 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
10042 the tracepoint if the PC is a pseudo-register.
10043
10044 2014-01-13 Tom Tromey <tromey@redhat.com>
10045
10046 * defs.h (XCALLOC): Remove.
10047 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
10048 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
10049 * dwarf2loc.c (allocate_piece_closure): Likewise.
10050 * elfread.c (elf_symfile_segments): Likewise.
10051 (elf_symfile_segments): Likewise.
10052 * gdbtypes.c (copy_type_recursive): Likewise.
10053 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
10054 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
10055 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
10056 XCALLOC.
10057 * mt-tdep.c (mt_gdbarch_init): Likewise.
10058 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
10059 XCALLOC.
10060 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
10061 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
10062 * registry.c (registry_alloc_data): Likewise.
10063 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
10064 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
10065 * serial.c (serial_fdopen_ops): Likewise.
10066 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
10067 XCALLOC.
10068 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
10069 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
10070 not XCALLOC.
10071
10072 2014-01-13 Tom Tromey <tromey@redhat.com>
10073
10074 * defs.h (XMALLOC): Remove.
10075 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
10076 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
10077 * cli-out.c (struct ui_out *): Likewise.
10078 * cli/cli-dump.c (add_dump_command): Likewise.
10079 (add_dump_command): Likewise.
10080 * complaints.c (get_complaints): Likewise.
10081 (find_complaint): Likewise.
10082 * dwarf2-frame.c (execute_cfa_program): Likewise.
10083 * dwarf2read.c (abbrev_table_read_table): Likewise.
10084 * gdbarch.sh: Likewise.
10085 * gdbarch.c: Rebuild.
10086 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
10087 * interps.c (interp_new): Likewise.
10088 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
10089 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
10090 * mi/mi-console.c (mi_console_file_new): Likewise.
10091 * mi/mi-interp.c (mi_interpreter_init): Likewise.
10092 * mi/mi-out.c (mi_out_new): Likewise.
10093 * mi/mi-parse.c (mi_parse): Likewise.
10094 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
10095 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
10096 * observer.c (xalloc_observer_list_node): Likewise.
10097 * regcache.c (regcache_xmalloc_1): Likewise.
10098 * reggroups.c (reggroup_new): Likewise.
10099 (_initialize_reggroup): Likewise.
10100 * registry.c (register_data_with_cleanup): Likewise.
10101 * remote.c (remote_notif_stop_alloc_reply): Likewise.
10102 * ser-base.c (serial_ttystate): Likewise.
10103 * ser-mingw.c (make_pipe_state): Likewise.
10104 * ser-pipe.c (pipe_open): Likewise.
10105 * serial.c (serial_open): Likewise.
10106 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
10107 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
10108 (tui_alloc_win_info): Likewise.
10109 (tui_add_content_elements): Likewise.
10110 * tui/tui-file.c (tui_file_new): Likewise.
10111 * tui/tui-out.c (tui_out_new): Likewise.
10112 * ui-file.c (mem_file_new): Likewise.
10113 * ui-out.c (push_level): Likewise.
10114 (make_cleanup_ui_out_end): Likewise.
10115 (append_header_to_list): Likewise.
10116 (ui_out_new): Likewise.
10117 * user-regs.c (user_reg_add_builtin): Likewise.
10118
10119 2014-01-13 Tom Tromey <tromey@redhat.com>
10120
10121 * defs.h (XZALLOC): Remove.
10122 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
10123 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
10124 (get_ada_tasks_inferior_data): Likewise.
10125 * auto-load.c (get_auto_load_pspace_data): Likewise.
10126 * auxv.c (get_auxv_inferior_data): Likewise.
10127 * bfd-target.c (target_bfd_reopen): Likewise.
10128 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
10129 (deprecated_insert_raw_breakpoint): Likewise.
10130 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
10131 * corelow.c (core_open): Likewise.
10132 * darwin-nat.c (darwin_check_new_threads): Likewise.
10133 (darwin_attach_pid): Likewise.
10134 * dummy-frame.c (dummy_frame_push): Likewise.
10135 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
10136 * dwarf2loc.c (allocate_piece_closure): Likewise.
10137 * elfread.c (elf_symfile_segments): Likewise.
10138 * eval.c (ptrmath_type_p): Likewise.
10139 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
10140 * gdbtypes.c (alloc_type_arch): Likewise.
10141 (alloc_type_instance): Likewise.
10142 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
10143 * inf-child.c (inf_child_can_use_agent): Likewise.
10144 * inflow.c (get_inflow_inferior_data): Likewise.
10145 * infrun.c (save_infcall_suspend_state): Likewise.
10146 * jit.c (jit_reader_load): Likewise.
10147 (get_jit_objfile_data): Likewise.
10148 (get_jit_program_space_data): Likewise.
10149 (jit_object_open_impl): Likewise.
10150 (jit_symtab_open_impl): Likewise.
10151 (jit_block_open_impl): Likewise.
10152 (jit_frame_sniffer): Likewise.
10153 * linux-fork.c (add_fork): Likewise.
10154 * maint.c (make_command_stats_cleanup): Likewise.
10155 * objfiles.c (get_objfile_pspace_data): Likewise.
10156 * opencl-lang.c (struct lval_closure): Likewise.
10157 * osdata.c (osdata_start_osdata): Likewise.
10158 * progspace.c (new_address_space): Likewise.
10159 (add_program_space): Likewise.
10160 * remote-sim.c (get_sim_inferior_data): Likewise.
10161 * sh-tdep.c (sh_gdbarch_init): Likewise.
10162 * skip.c (Ignore): Likewise.
10163 (skip_delete_command): Likewise.
10164 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
10165 (library_list_start_library): Likewise.
10166 (solib_aix_current_sos): Likewise.
10167 * solib-darwin.c (get_darwin_info): Likewise.
10168 (darwin_current_sos): Likewise.
10169 * solib-dsbt.c (get_dsbt_info): Likewise.
10170 * solib-ia64-hpux.c (new_so_list): Likewise.
10171 (ia64_hpux_get_solib_linkage_addr): Likewise.
10172 * solib-spu.c (append_ocl_sos): Likewise.
10173 (spu_current_sos): Likewise.
10174 * solib-svr4.c (get_svr4_info): Likewise.
10175 (svr4_keep_data_in_core): Likewise.
10176 (library_list_start_library): Likewise.
10177 (svr4_default_sos): Likewise.
10178 (svr4_read_so_list): Likewise.
10179 * solib-target.c (library_list_start_library): Likewise.
10180 (solib_target_current_sos): Likewise.
10181 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
10182 * symfile-debug.c (install_symfile_debug_logging): Likewise.
10183 * symfile.c (default_symfile_segments): Likewise.
10184 * target-descriptions.c (tdesc_data_init): Likewise.
10185 (tdesc_create_reg): Likewise.
10186 (struct tdesc_type *): Likewise.
10187 (tdesc_create_vector): Likewise.
10188 (tdesc_set_struct_size): Likewise.
10189 (struct tdesc_type *): Likewise.
10190 (tdesc_free_feature): Likewise.
10191 (tdesc_create_feature): Likewise.
10192 * windows-nat.c (windows_add_thread): Likewise.
10193 (windows_make_so): Likewise.
10194 * xml-support.c (gdb_xml_body_text): Likewise.
10195 (gdb_xml_create_parser_and_cleanup): Likewise.
10196 (xml_process_xincludes): Likewise.
10197 * xml-syscall.c (allocate_syscalls_info): Likewise.
10198 (syscall_create_syscall_desc): Likewise.
10199
10200 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
10201
10202 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
10203 function, with code from i386_stap_parse_special_token.
10204 (i386_stap_parse_special_token_three_arg_disp): Likewise.
10205 (i386_stap_parse_special_token): Move code to the two functions
10206 above; simplify it.
10207
10208 2014-01-09 Pedro Alves <palves@redhat.com>
10209 Hui Zhu <hui@codesourcery.com>
10210
10211 PR gdb/16101
10212 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
10213 bp_err_string. Don't mark the location shlib_disabled if the
10214 error thrown wasn't a generic or memory error. Catch errors
10215 thrown while inserting breakpoints in overlayed code. Output
10216 error message of software breakpoints.
10217 * remote.c (remote_insert_breakpoint): If this breakpoint has
10218 target-side commands but this stub doesn't support Z0 packets,
10219 throw NOT_SUPPORTED_ERROR error.
10220 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
10221 * target.h (target_insert_breakpoint): Extend comment.
10222 (target_insert_hw_breakpoint): Add comment.
10223
10224 2014-01-08 Pedro Alves <palves@redhat.com>
10225
10226 * remote.c (remote_add_thread): Add threads silently if starting
10227 up.
10228 (remote_notice_new_inferior): If in all-stop, and starting up,
10229 don't call notice_new_inferior.
10230 (get_current_thread): New function, factored out from ...
10231 (add_current_inferior_and_thread): ... this. Adjust.
10232 (remote_start_remote) <all-stop>: Fetch the thread list. If we
10233 found any thread, then select the remote's current thread as GDB's
10234 current thread too.
10235
10236 2014-01-08 Joel Brobecker <brobecker@adacore.com>
10237
10238 * NEWS: Create a new section for the next release branch.
10239 Rename the section of the current branch, now that it has
10240 been cut.
10241
10242 2014-01-08 Joel Brobecker <brobecker@adacore.com>
10243
10244 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
10245 * version.in: Bump version to 7.7.50.DATE-cvs.
10246
10247 2014-01-08 Yao Qi <yao@codesourcery.com>
10248
10249 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
10250 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
10251 (spu_xfer_partial): Cast 'buf' to 'const char *'.
10252
10253 2014-01-08 Yao Qi <yao@codesourcery.com>
10254
10255 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
10256 return value of bfd_get_filename to symbol_file_add_from_bfd.
10257
10258 2014-01-08 Pierre Muller <muller@sourceware.org>
10259
10260 Fix PR16201.
10261 * coff-pe-read.c (struct read_pe_section_data): Add index field.
10262 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
10263 to prim_record_mininal_symbol_and_info.
10264 (add_pe_forwarded_sym): Use known section number of forwarded symbol
10265 in call to prim_record_minimal_symbol_and_info.
10266 (read_pe_exported_syms): Set index field of section_data.
10267
10268 2014-01-07 Andrew Pinski <apinski@cavium.com>
10269
10270 * features/aarch64-core.xml (cpsr): Change to be 64bit.
10271 * features/aarch64.c: Regenerate.
10272
10273 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
10274
10275 * target.c (return_null): Define.
10276 (update_current_target): Use it instead of return_zero for
10277 functions that return a pointer.
10278
10279 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10280
10281 * source.c (add_path): Fix check for duplicated paths in the previously
10282 included paths.
10283
10284 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
10285
10286 * ada-lang.c: Remove duplicated include statements.
10287 * alphabsd-nat.c: Ditto.
10288 * amd64-darwin-tdep.c: Ditto.
10289 * amd64fbsd-nat.c: Ditto.
10290 * auto-load.c: Ditto.
10291 * ax-gdb.c: Ditto.
10292 * breakpoint.c: Ditto.
10293 * dbxread.c: Ditto.
10294 * fork-child.c: Ditto.
10295 * gdb_usleep.c: Ditto.
10296 * i386-darwin-tdep.c: Ditto.
10297 * i386fbsd-nat.c: Ditto.
10298 * infcmd.c: Ditto.
10299 * inferior.c: Ditto.
10300 * jv-lang.c: Ditto.
10301 * linux-nat.c: Ditto.
10302 * linux-tdep.c: Ditto.
10303 * m68kbsd-nat.c: Ditto.
10304 * m68klinux-nat.c: Ditto.
10305 * microblaze-tdep.c: Ditto.
10306 * mips-linux-tdep.c: Ditto.
10307 * mn10300-tdep.c: Ditto.
10308 * nto-tdep.c: Ditto.
10309 * opencl-lang.c: Ditto.
10310 * osdata.c: Ditto.
10311 * printcmd.c: Ditto.
10312 * regcache.c: Ditto.
10313 * remote-m32r-sdi.c: Ditto.
10314 * remote.c: Ditto.
10315 * symfile.c: Ditto.
10316 * symtab.c: Ditto.
10317 * tilegx-linux-nat.c: Ditto.
10318 * tilegx-tdep.c: Ditto.
10319 * tracepoint.c: Ditto.
10320 * valops.c: Ditto.
10321 * vaxbsd-nat.c: Ditto.
10322 * windows-nat.c: Ditto.
10323 * xtensa-tdep.c: Ditto.
10324
10325 2014-01-07 Yao Qi <yao@codesourcery.com>
10326
10327 * spu-linux-nat.c (_initialize_spu_nat): Declare.
10328
10329 2014-01-07 Yao Qi <yao@codesourcery.com>
10330 Joel Brobecker <brobecker@adacore.com>
10331
10332 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
10333 (pdc_write_regs): Likewise.
10334 (fetch_regs_kernel_thread): Likewise.
10335 (store_regs_kernel_thread): Likewise.
10336
10337 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10338
10339 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
10340 tagged type objects to their actual type.
10341
10342 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10343
10344 * ada-valprint.c (print_field_values): Add "language" parameter.
10345 Update calls to print_field_values and print_variant_part.
10346 Pass new parameter "language" in call to val_print instead
10347 of "current_language". Replace call to ada_val_print by call
10348 to val_print.
10349 (print_variant_part): Add "language" parameter.
10350 (ada_val_print_struct_union): Update call to print_field_values.
10351
10352 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10353
10354 * ada-valprint.c (ui_memcpy): Delete.
10355 (ada_print_floating): Update documentation. Add empty line
10356 between between function documentation and implementation.
10357 Delete variable "buffer". Use ui_file_xstrdup in place of
10358 ui_file_put. Minor adjustments following this change.
10359
10360 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10361
10362 * ada-valprint.c (ada_val_print_string): New function,
10363 extracted from ada_val_print_array.
10364 (ada_val_print_array): Replace extracted code by call
10365 to ada_val_print_string followed by a return. Move
10366 "else" branch to the function's top block.
10367
10368 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10369
10370 * ada-valprint.c (ada_val_print_array): Move implementation
10371 down. Rename parameter "offset" and "val" into "offset_aligned"
10372 and "original_value" respectively. Add parameter "offset".
10373
10374 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10375
10376 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
10377 re-organizing the code. Change the "???" message printed
10378 when target type is a TYPE_CODE_UNDEF into
10379 "<ref to undefined type>".
10380
10381 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10382
10383 * ada-valprint.c (print_record): Delete, implementation inlined...
10384 (ada_val_print_struct_union): ... here. Remove call to
10385 ada_check_typedef in inlined implementation.
10386
10387 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10388
10389 * ada-valprint.c (ada_val_print_gnat_array): New function,
10390 extracted from ada_val_print_1;
10391 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
10392 (ada_val_print_flt, ada_val_print_struct_union)
10393 (ada_val_print_ref): Likewise.
10394 (ada_val_print_1): Delete variables i and elttype.
10395 Replace extracted-out code by call to corresponding
10396 new functions.
10397
10398 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10399
10400 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
10401
10402 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10403
10404 * ada-valprint.c (ada_val_print_1): Replace calls to
10405 ada_val_print_1 by calls to val_print.
10406
10407 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10408
10409 * ada-valprint.c (ada_val_print_1): Add parameter "language".
10410 Update calls to self accordingly. Replace calls to c_val_print
10411 by calls to val_print.
10412
10413 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10414
10415 * ada-valprint.c (print_record): Delete declaration.
10416 (adjust_type_signedness, ada_val_print_1): Likewise.
10417 (ada_val_print): Move function implementation down.
10418 (print_variant_part, print_field_values, print_record):
10419 Move function implementation up.
10420
10421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10422
10423 * python/py-type.c (typy_get_name): New function.
10424 (type_object_getset): Add entry for attribute "name".
10425 * NEWS: Add entry mentioning this new attribute.
10426
10427 2014-01-07 Yao Qi <yao@codesourcery.com>
10428
10429 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
10430 statement.
10431
10432 2014-01-07 Yao Qi <yao@codesourcery.com>
10433
10434 * gnu-nat.c (info_port_rights): Add qualifier const to
10435 argument args.
10436
10437 2014-01-07 Yao Qi <yao@codesourcery.com>
10438
10439 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
10440
10441 2014-01-07 Yao Qi <yao@codesourcery.com>
10442
10443 * gnu-nat.c (make_inf) Update declaration.
10444 (make_inf): Make it static.
10445 (inf_set_traced): Likewise.
10446 (inf_port_to_thread, inf_task_died_status): Likewise.
10447
10448 2014-01-07 Yao Qi <yao@codesourcery.com>
10449
10450 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
10451
10452 2014-01-07 Yao Qi <yao@codesourcery.com>
10453
10454 * gnu-nat.c (_initialize_gnu_nat): Declare.
10455
10456 2014-01-07 Yao Qi <yao@codesourcery.com>
10457
10458 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
10459 'enum bfd_endian'.
10460 (struct gdbarch_info) <byte_order>: Change type to
10461 'enum bfd_endian'.
10462 <byte_order_for_code>: Likewise.
10463 * gdbarch.c, gdbarch.h: Regenerated.
10464
10465 2014-01-06 Sasha Smundak <asmundak@google.com>
10466
10467 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
10468
10469 2014-01-06 Tom Tromey <tromey@redhat.com>
10470
10471 * doublest.c (convert_doublest_to_floatformat): Use const, not
10472 CONST.
10473 * somread.c (som_symtab_read): Likewise.
10474
10475 2014-01-07 Hui Zhu <hui@codesourcery.com>
10476
10477 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
10478 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
10479 (gdb_bfd_fopen): Ditto.
10480 (gdb_bfd_openr): Ditto.
10481 (gdb_bfd_openw): Ditto.
10482 (gdb_bfd_openr_iovec): Ditto.
10483 (gdb_bfd_fdopenr): Ditto.
10484 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
10485 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
10486 with xstrdup.
10487 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
10488 with xstrdup.
10489 * symfile-mem.c (symbol_file_add_from_memory): Removed
10490 gdb_bfd_stash_filename.
10491
10492 2014-01-03 Doug Evans <dje@google.com>
10493
10494 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
10495 output.
10496
10497 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10498
10499 Update year range in copyright notice of all files.
10500
10501 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10502
10503 * top.c (print_gdb_version): Set copyright year to 2014.
10504
10505 2014-01-01 Joel Brobecker <brobecker@adacore.com>
10506
10507 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
10508
10509 For older changes see ChangeLog-2013.
10510 \f
10511 Local Variables:
10512 mode: change-log
10513 left-margin: 8
10514 fill-column: 74
10515 version-control: never
10516 coding: utf-8
10517 End:
This page took 0.369618 seconds and 5 git commands to generate.