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