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