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