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