Don't make PLT entry for R_X86_64_GOTPLT64
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
355e2102
JB
12014-11-14 Joel Brobecker <brobecker@adacore.com>
2
3 * common/common-defs.h: Move <stdarg.h> #include ahead of
4 <stdio.h> #include.
5
83030110
PA
62014-11-14 Pedro Alves <palves@redhat.com>
7
8 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
9 [!PHONY_ICONV] (gdb_iconv): New function.
10 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
11
a8719064
DE
122014-11-13 Doug Evans <dje@google.com>
13
14 PR symtab/17591
15 * dwarf2read.c (find_slot_in_mapped_hash): Handle
16 "(anonymous namespace)".
17
60f7655a
DE
182014-11-13 Doug Evans <dje@google.com>
19
20 * dwarf2read.c (update_enumeration_type_from_children): Avoid
21 infinite loop.
22
5784b3ca
JK
232014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
24
25 * NEWS (maint set target-async): Fix typo.
26
6218dc4b
PA
272014-11-12 Pedro Alves <palves@redhat.com>
28
29 * infrun.c (enum infwait_states, infwait_state): Delete.
30
af48d08f
PA
312014-11-12 Pedro Alves <palves@redhat.com>
32
33 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
34 Rewrite stepping over a permanent breakpoint.
35 (thread_still_needs_step_over, proceed): Don't set
36 stepping_over_breakpoint for permanent breakpoints.
37 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
38 single-step breakpoints out of the target on hardware step
39 targets.
40 (process_event_stop_test): If stepping a permanent breakpoint
41 doesn't hit the step-resume breakpoint, delete the step-resume
42 breakpoint.
43 (switch_back_to_stepped_thread): Also check if the stepped thread
44 has advanced already on hardware step targets.
45 (currently_stepping): Return true if the thread stepped a
46 breakpoint.
47
1a853c52
PA
482014-11-12 Pedro Alves <palves@redhat.com>
49
50 Mark locations as permanent, not the whole breakpoint.
51 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
52 (mark_breakpoints_out): Don't mark permanent breakpoints as
53 uninserted.
54 (breakpoint_init_inferior): Use mark_breakpoints_out.
55 (breakpoint_here_p): Adjust.
56 (bpstat_stop_status, describe_other_breakpoints): Remove handling
57 of permanent breakpoints.
58 (make_breakpoint_permanent): Mark each location as permanent,
59 instead of marking the breakpoint.
60 (add_location_to_breakpoint): If the location is permanent, mark
61 it as such, and as inserted.
62 (init_breakpoint_sal): Don't make the breakpoint permanent here.
63 (bp_location_compare, update_global_location_list): Adjust.
64 (update_breakpoint_locations): Don't make the breakpoint permanent
65 here.
66 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
67 breakpoints.
68 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
69 (struct bp_location) <permanent>: New field.
70 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
71 reference to bp_permanent.
72
ae9bb220
PA
732014-11-12 Pedro Alves <palves@redhat.com>
74
75 * arch-utils.c (default_skip_permanent_breakpoint): New function.
76 * arch-utils.h (default_skip_permanent_breakpoint): New
77 declaration.
78 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
79 Install default_skip_permanent_breakpoint as default method.
80 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
81 (i386_gdbarch_init): Don't install it.
82 * infrun.c (resume): Assume there's always a
83 gdbarch_skip_permanent_breakpoint implementation.
84 * gdbarch.h, gdbarch.c: Regenerate.
85
015de688
DC
862014-11-11 Daniel Colascione <dancol@dancol.org>
87
88 Warn about cross-PID-namespace debugging.
89 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
90 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
91 * linux-thread-db.c (check_pid_namespace_match): New function.
92 (thread_db_inferior_created): Call it.
93
26a84859
DE
942014-11-10 Doug Evans <xdje42@gmail.com>
95
96 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
97 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
98
712a2e6d
DE
992014-11-10 Doug Evans <xdje42@gmail.com>
100
101 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
102
af3768e9
DE
1032014-11-10 Doug Evans <xdje42@gmail.com>
104
105 PR symtab/17564
106 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
107 (lookup_static_symbol): Move definition to new location and rewrite.
108 (lookup_symbol_in_objfile): New function.
109 (lookup_symbol_global_iterator_cb): Call it.
110
b1f28d99
UW
1112014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
112
113 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
114
b7a084be
PA
1152014-11-07 Pedro Alves <palves@redhat.com>
116
117 * infrun.c (process_event_stop_test) <subroutine check>: Don't
118 check if we did a "nexti" inside a prologue.
119 * symtab.c (in_prologue): Delete function.
120 * symtab.h (in_prologue): Delete declaration.
121
67be31e5
DE
1222014-11-06 Doug Evans <xdje42@gmail.com>
123
124 * symtab.h (lookup_global_symbol): Improve function comment.
125
08724ab7
DE
1262014-11-06 Doug Evans <xdje42@gmail.com>
127
128 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
129 All callers updated.
130 * symtab.h (lookup_global_symbol): Update decl.
131 (lookup_static_symbol): Move decl to better location.
132
d9060ba6
DE
1332014-11-06 Doug Evans <xdje42@gmail.com>
134
135 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
136
74016e12
DE
1372014-11-06 Doug Evans <xdje42@gmail.com>
138
139 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
140 All callers updated.
141 (lookup_symbol_in_all_objfiles): Renamed from
142 lookup_symbol_aux_symtabs. All callers updated.
143 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
144 All callers updated.
145 (lookup_symbol_in_objfile_symtabs): Renamed from
146 lookup_symbol_aux_objfile. All callers updated.
147
d1a2d36d
DE
1482014-11-06 Doug Evans <xdje42@gmail.com>
149
150 * symtab.c (lookup_symbol_in_block): Renamed from
151 lookup_symbol_aux_block. All callers updated.
152
24d864bb
DE
1532014-11-06 Doug Evans <xdje42@gmail.com>
154
155 * symtab.c (lookup_static_symbol): Renamed from
156 lookup_static_symbol_aux. All callers updated.
157 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
158 All callers updated.
159
358d6ab3
DE
1602014-11-06 Doug Evans <xdje42@gmail.com>
161
162 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
163 * block.c (block_lookup_symbol): Use it.
164 * cp-support.c (make_symbol_overload_list_block): Use it.
165 * symtab.c (iterate_over_symbols): Use it.
166
16b2eaa1
DE
1672014-11-06 Doug Evans <xdje42@gmail.com>
168
169 * symtab.c (lookup_block_symbol): Moved to ...
170 * block.c (block_lookup_symbol): ... here and renamed.
171 All callers updated.
172 * block.h (block_lookup_symbol): Declare.
173 * symtab.h (lookup_block_symbol): Delete.
174
2dd2cd1c
DE
1752014-11-06 Doug Evans <xdje42@gmail.com>
176
177 * ada-lang.c (ada_make_symbol_completion_list): Use
178 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
179 * symtab.c (lookup_objfile_from_block): Ditto.
180
d4c58915
DE
1812014-11-06 Doug Evans <xdje42@gmail.com>
182
183 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
184 TYPE_CODE_STRUCT.
185
9c1877ea
DE
1862014-11-06 Doug Evans <xdje42@gmail.com>
187
188 * objfiles.c (get_objfile_arch): Constify.
189 * objfiles.h (get_objfile_arch): Update prototype.
190 * solib.c (solib_global_lookup): Fetch arch from objfile,
191 not target_gdbarch.
192
426a4079
SL
1932014-11-06 Sandra Loosemore <sandra@codesourcery.com>
194
195 * nios2-tdep.c (wild_insn): Delete.
196 (profiler_insn, irqentry_insn): Delete.
197 (nios2_match_sequence): Delete.
198 (nios2_analyze_prologue): Update comments. Remove matching
199 of obsolete profiler_insn and irqentry_insn sequences.
200
ee11262d
AM
2012014-11-05 Alan Modra <amodra@gmail.com>
202
203 * charset.c (convert_between_encodings): Shrink obstack using
204 obstack_blank_fast.
205 * minsyms.c (install_minimal_symbols): Likewise.
1ae1b8cc
AM
206 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
207 to char* before doing pointer arithmetic.
ee11262d 208
c87e6d00
SM
2092014-11-04 Simon Marchi <simon.marchi@ericsson.com>
210
211 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
212
441ef17f
PA
2132014-11-04 Pedro Alves <palves@redhat.com>
214
215 * breakpoint.c (breakpoint_thread_match): Delete function.
216 * breakpoint.h (breakpoint_thread_match): Delete declaration.
217
e0f52461
SC
2182014-11-03 Siva Chandra Reddy <sivachandra@google.com>
219
220 PR c++/17494
221 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
222 the method args also under EVAL_SKIP when evaluating method
223 calls under EVAL_SKIP.
224
a0b4d890
YQ
2252014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
226
227 * dwarf2loc.c (read_pieced_value): Do big endian
228 processing only if gdb_regnum is not -1.
229 (write_pieced_value): Ditto.
230
2312014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
232
233 * arm-linux-tdep.c (arm_linux_init_abi): Use
234 info.byte_order_for_code to choose endianity of breakpoint
235 instructions snippets.
236
2372014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
238
239 * arm-tdep.c (extract_arm_insn): Use
240 gdbarch_byte_order_for_code to read arm instruction.
241
e82149ff
DE
2422014-11-02 Doug Evans <xdje42@gmail.com>
243
244 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
245
d7ee84f1
DE
2462014-11-02 Doug Evans <xdje42@gmail.com>
247
248 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
249 main_subfile before returning.
250
4f072d17
DE
2512014-10-31 Doug Evans <xdje42@gmail.com>
252
253 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
254 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
255
8301c89e
DE
2562014-10-31 Doug Evans <xdje42@gmail.com>
257
258 * valops.c (value_cast_pointers): Fix whitespace.
259 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
260 Ditto.
261
02be9a71
DE
2622014-10-30 Doug Evans <dje@google.com>
263
264 * NEWS: Mention ability add attributes to gdb.Objfile and
265 gdb.Progspace objects.
266 * python/py-objfile.c (objfile_object): New member dict.
267 (objfpy_dealloc): Py_XDECREF dict.
268 (objfpy_initialize): Initialize dict.
269 (objfile_getset): Add __dict__.
270 (objfile_object_type): Set tp_dictoffset member.
271 * python/py-progspace.c (progspace_object): New member dict.
272 (pspy_dealloc): Py_XDECREF dict.
273 (pspy_initialize): Initialize dict.
274 (pspace_getset): Add __dict__.
275 (pspace_object_type): Set tp_dictoffset member.
276
6427bef6
YQ
2772014-10-30 Yao Qi <yao@codesourcery.com>
278
279 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
280 replace '\\' with '\\\\'.
281
f60325be
JB
2822014-10-29 Joel Brobecker <brobecker@adacore.com>
283
284 GDB 7.8.1 released.
285
ab917dfb
PA
2862014-10-29 Pedro Alves <palves@redhat.com>
287
288 PR gdb/17408
289 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
290 instead of assuming a thread with a stepping range is always
291 stepping.
292
d3d4baed
PA
2932014-10-29 Pedro Alves <palves@redhat.com>
294
295 PR python/17372
296 * event-top.c (change_line_handler): Call
297 gdb_rl_callback_handler_remove instead of
298 rl_callback_handler_remove.
299 (callback_handler_installed): New global.
300 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
301 (gdb_rl_callback_handler_reinstall): New functions.
302 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
303 gdb_rl_callback_handler_install instead of
304 rl_callback_handler_remove and rl_callback_handler_install.
305 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
306 instead of rl_callback_handler_remove.
307 * event-top.h (gdb_rl_callback_handler_remove)
308 (gdb_rl_callback_handler_install)
309 (gdb_rl_callback_handler_reinstall): New declarations.
310 * infrun.c (reinstall_readline_callback_handler_cleanup): New
311 cleanup function.
312 (fetch_inferior_event): Install it.
313 * top.c (gdb_readline_wrapper_line) Call
314 gdb_rl_callback_handler_remove instead of
315 rl_callback_handler_remove.
316 (gdb_readline_wrapper_cleanup): Don't call
317 rl_callback_handler_install.
318
6e5d7f39
PA
3192014-10-29 Pedro Alves <palves@redhat.com>
320
321 * event-top.c (command_line_handler): Clear the first byte of
322 linebuffer, when it is first allocated.
323
551cb6a5
PA
3242014-10-29 Pedro Alves <palves@redhat.com>
325
326 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
327 TRY_CATCH.
328
1e1e619b
PA
3292014-10-29 Pedro Alves <palves@redhat.com>
330
331 PR tui/16138
332 PR tui/17519
333 * tui/tui-interp.c (tui_is_toplevel): Delete global.
334 (tui_allowed_p): Delete function.
335 * tui/tui.c: Include "interps.h".
336 (tui_enable): Don't use tui_allowed_p. Error out here with
337 detailed error messages if the TUI is the top level interpreter,
338 or if output is not a terminal. Use newterm instead of initscr,
339 and error out if initializing the terminal fails. Also error out if
340 the terminal doesn't support cursor addressing.
341 * tui/tui.h (tui_allowed_p): Delete declaration.
342
6041179a
JB
3432014-10-29 Joel Brobecker <brobecker@adacore.com>
344
345 * arm-tdep.c (arm_skip_stack_protector): Return early if
346 address loaded by first "ldr" instruction does not have
347 a corresponding minimal symbol. Update comment.
348
6ae274b7
YQ
3492014-10-29 Yao Qi <yao@codesourcery.com>
350
351 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
352 loaded address correctly of ldr instruction.
353
7f5ef605
PA
3542014-10-28 Pedro Alves <palves@redhat.com>
355
356 PR gdb/12623
357 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
358 field.
359 * infrun.c (resume) <stepping breakpoint instruction>: Set the
360 thread's stepped_breakpoint field. Skip if reverse debugging.
361 Add comment.
362 (init_thread_stepping_state, handle_signal_stop): Clear the
363 thread's stepped_breakpoint field.
364
7d1a114c
PA
3652014-10-27 Pedro Alves <palves@redhat.com>
366
367 * remote.c (remote_thread_alive): New, factored out from ...
368 (remote_thread_alive): ... this.
369 (remote_update_thread_list): Bail out before deleting threads if
370 the target returned an empty list, and, the current thread has a
371 magic/fake ptid.
372
e5f8a7cc
PA
3732014-10-27 Pedro Alves <palves@redhat.com>
374
375 * infrun.c (handle_signal_stop): Also skip handlers when a random
376 signal arrives while handling a "stepi" or a "nexti". Set the
377 thread's 'step_after_step_resume_breakpoint' flag.
378
71e396f9
LM
3792014-10-27 Luis Machado <lgustavo@codesourcery.com>
380
381 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
382 (arm_record_ld_st_imm_offset): Reimplement to cover all
383 load/store cases for ARM opcode 010.
384 (arm_record_ld_st_multiple): Reimplement to cover all
385 load/store cases for ARM opcode 100.
386
3aee438b
DE
3872014-10-26 Doug Evans <xdje42@gmail.com>
388
389 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
390
f88cb4b6
DE
3912014-10-26 Doug Evans <xdje42@gmail.com>
392
393 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
394 parameter "kind" to "block_index".
395 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
396 "block_index".
397 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
398
a023a30f
DE
3992014-10-26 Doug Evans <xdje42@gmail.com>
400
401 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
402
4c35218e
DE
4032014-10-26 Doug Evans <xdje42@gmail.com>
404
405 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
406 obstack_alloc.
407
f08e8df3
DE
4082014-10-26 Doug Evans <xdje42@gmail.com>
409
410 * parser-defs.h (block_found): Move decl from here ...
411 * symtab.h (block_found): ... to here.
412
cf901d3b
DE
4132014-10-26 Doug Evans <xdje42@gmail.com>
414
415 * symtab.h (struct field_of_this_result): Fix typo in comment.
416 (lookup_symbol_in_language): Move function comment here.
417 (lookup_symbol): Improve function comment.
418 (basic_lookup_symbol_nonlocal): Ditto.
419 (lookup_symbol_static, lookup_symbol_global): Ditto.
420 (lookup_symbol_aux_block): Ditto.
421 (lookup_language_this): Add function comment.
422 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
423 function comment.
424 (lookup_block_symbol): Improve function comment.
425 (lookup_struct): Fix capitalization in function comment.
426 (lookup_transparent_type): Add function comment.
427 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
428 Improve function comment.
429 (lookup_objfile_from_block): Add function comment.
430 * symtab.c (lookup_symbol_in_language): Update function comment.
431 (lookup_symbol, lookup_language_this): Ditto.
432 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
433 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
434 (basic_lookup_symbol_nonlocal): Ditto.
435 (lookup_symbol_static, lookup_symbol_global): Ditto.
436 (lookup_transparent_type, lookup_block_symbol): Ditto.
437
ff6c39cf
DE
4382014-10-25 Doug Evans <xdje42@gmail.com>
439
440 * symtab.c (types_info): Delete forward decl.
441 (functions_info, variables_info, sources_info): Ditto.
442 (_initialize_symtab): Rewrite forward decl to use
443 initialize_file_ftype.
444
ec201f0c
DE
4452014-10-25 Doug Evans <xdje42@gmail.com>
446
447 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
448
ca040673
DE
4492014-10-25 Doug Evans <xdje42@gmail.com>
450
451 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
452 of local var child_die.
453
6f259a23
DB
4542014-10-24 Don Breazeal <donb@codesourcery.com>
455
456 * infrun.c (follow_fork_inferior): Update fork message printing
457 to use target_terminal_ours_for_output instead of
458 target_terminal_ours, to use _() for all format strings, to print
459 "vfork" instead of "fork" for vforks, and to add a detach message.
460 (handle_vfork_child_exec_or_exit): Update message printing to use
461 target_terminal_ours_for_output instead of target_terminal_ours, to
462 use _() for all format strings, and to fix some formatting.
463
09dd9a69
PA
4642014-10-24 Pedro Alves <palves@redhat.com>
465
466 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
467 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
468 * config/vax/vax.mh: Delete.
469 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
470 obsolete configurations section.
471 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
472 * vax-nat.c: Delete file.
473
5ab806de
PA
4742014-10-24 Pedro Alves <palves@redhat.com>
475
476 * NEWS (Removed targets): Add OS/arch column.
477
3433cfa5
SC
4782014-10-24 Siva Chandra Reddy <sivachandra@google.com>
479
480 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
481 on the arg type of a constructor only if it is of reference type.
482
96ba4233
SL
4832014-10-23 Sandra Loosemore <sandra@codesourcery.com>
484
485 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
486 accessors and constants from nios2 opcodes update.
487 (nios2_get_next_pc): Likewise.
488
28153fd3
DE
4892014-10-19 Doug Evans <xdje42@gmail.com>
490
491 * gdbthread.h (set_running): Fix comment.
492 (set_executing, finish_thread_state): Fix comment.
493
fc9b8e47
DE
4942014-10-18 Doug Evans <xdje42@gmail.com>
495
496 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
497
4ffbba72
DE
4982014-10-17 Doug Evans <dje@google.com>
499
500 * NEWS: Mention new event gdb.clear_objfiles.
501 * python/py-event.h (emit_clear_objfiles_event): Clear
502 * python/py-events.h (events_object): New member clear_objfiles.
503 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
504 event.
505 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
506 emit clear_objfiles event.
507 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
508 function.
509 (emit_clear_objfiles_event): New function.
510 (clear_objfiles): New event.
511 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
512 Declare.
513 * python/python.c (_initialize_python): Call
514 gdbpy_initialize_clear_objfiles_event.
515
d096d8c1
DE
5162014-10-17 Doug Evans <dje@google.com>
517
518 * NEWS: Mention new gdb.Objfile.progspace attribute.
519 * python/py-objfile.c (objfpy_get_progspace): New function.
520 (objfile_getset): New entry for "progspace".
521
6c4486e6
PA
5222014-10-17 Pedro Alves <palves@redhat.com>
523
524 PR gdb/17471
525 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
526 returns a copy of the input.
527 (run_command_1, continue_command, step_1, jump_command)
528 (signal_command, until_command, advance_command, finish_command)
529 (attach_command): Adjust and install a cleanup to free the
530 stripped args.
531
0ff33695
PA
5322014-10-17 Pedro Alves <palves@redhat.com>
533
534 PR gdb/17300
535 * infcmd.c (continue_1): If continuing all threads in the
536 foreground, make sure the inferior's terminal settings are put in
537 effect.
538
6fdebc3d
PA
5392014-10-17 Pedro Alves <palves@redhat.com>
540
541 PR gdb/17472
542 * annotate.c (annotate_breakpoints_invalid): Use
543 target_terminal_our_for_output instead of target_terminal_ours.
544 Give back the terminal to the target.
545 (annotate_frames_invalid): Likewise.
546
5842f62a
PA
5472014-10-17 Pedro Alves <palves@redhat.com>
548
549 * target.c (enum terminal_state): New enum.
550 (terminal_state): New global.
551 (target_terminal_init): New function.
552 (target_terminal_inferior): Skip if inferior already owns the
553 terminal.
554 (target_terminal_ours, target_terminal_ours_for_output): New
555 functions.
556 * target.h (target_terminal_init): Convert to function prototype.
557 (target_terminal_ours_for_output): Convert to function prototype
558 and tweak comment.
559 (target_terminal_ours): Convert to function prototype and tweak
560 comment.
561 * windows-nat.c (do_initial_windows_stuff): Call
562 target_terminal_init instead of child_terminal_init_with_pgrp.
563
32a8097b
PA
5642014-10-17 Pedro Alves <palves@redhat.com>
565
566 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
567 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
568 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
569 solib-osf.c.
570 * NEWS: Mention that support for alpha*-*-osf* has been removed.
571 * ada-lang.h [__alpha__ && __osf__]
572 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
573 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
574 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
575 GDB_OSABI_OSF1.
576 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
577 files.
578 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
579 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
580 * configure: Regenerate.
581 * configure.ac: Remove references to osf.
582 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
583 section. Remove all other references to osf.
584 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
585 Remove all other references to osf.
586 * dec-thread.c: Delete file.
587 * defs.h (GDB_OSABI_OSF1): Delete.
588 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
589 defined.
590 * osabi.c (gdb_osabi_names): Delete "OSF/1".
591 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
592 Delete code.
593 (unconditionally_kill_inferior)
594 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
595 * solib-osf.c: Delete file.
596
80134cf5
PA
5972014-10-17 Pedro Alves <palves@redhat.com>
598
599 * remote.c (clear_threads_listing_context): Move higher up, out of
600 the HAVE_LIBEXPAT guard.
601
89c7137f
TG
6022014-10-16 Tristan Gingold <gingold@adacore.com>
603
604 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
605 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
606 on amd64.
607
44ee4a52
PA
6082014-10-15 Pedro Alves <palves@redhat.com>
609
610 * dec-thread.c (dec_thread_count_gdb_threads)
611 (dec_thread_add_gdb_thread): Delete.
612 (dec_thread_update_thread_list): Delete.
613 (dec_thread_find_new_threads): Rename to ...
614 (dec_thread_update_thread_list): ... this. Delete GDB-size
615 threads that are no longer found in dec_thread_list.
616 (resync_thread_list): Delete.
617 (dec_thread_wait): Call dec_thread_update_thread_list instead of
618 resync_thread_list.
619
ab970af1
PA
6202014-10-15 Pedro Alves <palves@redhat.com>
621
622 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
623 * remote.c (remote_update_thread_list): Skip calling prune_threads
624 if any thread listing method is supported, and instead walk over
625 the set of remote threads listed, deleting those that are not
626 found in GDB's thread list.
627
e8032dde
PA
6282014-10-15 Pedro Alves <palves@redhat.com>
629
630 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
631 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
632 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
633 (bsd_uthread_target): Adjust.
634 * corelow.c (core_open): Adjust.
635 * dec-thread.c (dec_thread_find_new_threads): Update comment.
636 (dec_thread_update_thread_list): New function.
637 (init_dec_thread_ops): Adjust.
638 * gdbthread.h (prune_threads): New declaration.
639 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
640 (thread_db_update_thread_list): ... this. Call prune_threads.
641 (init_thread_db_ops): Adjust.
642 * nto-procfs.c (procfs_find_new_threads): Rename to ...
643 (procfs_update_thread_list): ... this. Call prune_threads.
644 (procfs_attach, procfs_create_inferior, init_procfs_targets):
645 Adjust.
646 * obsd-nat.c (obsd_find_new_threads): Rename to ...
647 (obsd_update_thread_list): ... this. Call prune_threads.
648 (obsd_add_target): Adjust.
649 * procfs.c (procfs_target): Adjust.
650 (procfs_notice_thread): Update comment.
651 (procfs_find_new_threads): Rename to ...
652 (procfs_update_thread_list): ... this. Call prune_threads.
653 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
654 comment.
655 (ravenscar_wait): Adjust.
656 (ravenscar_find_new_threads): Rename to ...
657 (ravenscar_update_thread_list): ... this. Call prune_threads.
658 (init_ravenscar_thread_ops): Adjust.
659 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
660 (record_btrace_update_thread_list): ... this. Adjust comment.
661 (init_record_btrace_ops): Adjust.
662 * remote.c (remote_threads_info): Rename to ...
663 (remote_update_thread_list): ... this. Call prune_threads.
664 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
665 Adjust.
666 * sol-thread.c (check_for_thread_db): Adjust.
667 (sol_find_new_threads_callback): Rename to ...
668 (sol_update_thread_list_callback): ... this.
669 (sol_find_new_threads): Rename to ...
670 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
671 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
672 * target-delegates.c: Regenerate.
673 * target.c (target_find_new_threads): Rename to ...
674 (target_update_thread_list): ... this.
675 * target.h (struct target_ops): Rename to_find_new_threads field
676 to to_update_thread_list.
677 (target_find_new_threads): Rename to ...
678 (target_update_thread_list): ... this.
679 * thread.c (prune_threads): Make extern.
680 (update_thread_list): Adjust.
681
6dc54d91
PA
6822014-10-15 Pedro Alves <palves@redhat.com>
683
684 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
685 Add describing comment. Return -1 if the qL packet is not
686 supported.
687 (struct thread_item, thread_item_t): Move higher up in
688 the file. Add comments.
689 (struct threads_parsing_context): Move higher up in
690 the file, add comments, and remote to ...
691 (struct threads_listing_context): ... this.
692 (remote_newthread_step): Don't add the thread to GDB's thread
693 database here. Instead push it to the thread_listing_context
694 list.
695 (remote_find_new_threads): Rename to ...
696 (remote_get_threads_with_ql): ... this. Add target_ops and
697 targets_listing_context parameters. Pass down context.
698 (start_thread): Adjust.
699 (clear_threads_parsing_context): Rename to ...
700 (clear_threads_listing_context): ... this.
701 (remote_get_threads_with_qxfer): New, with parts salvaged from old
702 remote_threads_info.
703 (remote_get_threads_with_qthreadinfo): Ditto.
704 (remote_threads_info): Reimplement.
705
36728e82
PA
7062014-10-15 Pedro Alves <palves@redhat.com>
707
708 * infrun.c (resume): Don't force displaced-stepping for all
709 single-steps on software single-stepping archs.
710
34b7e8a6
PA
7112014-10-15 Pedro Alves <palves@redhat.com>
712
713 * breakpoint.c (single_step_breakpoints): Delete global.
714 (insert_single_step_breakpoint): Adjust to store the breakpoint
715 pointer in the current thread.
716 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
717 (cancel_single_step_breakpoints): Delete functions.
718 (breakpoint_has_location_inserted_here): Make extern.
719 (single_step_breakpoint_inserted_here_p): Adjust to walk the
720 breakpoint list.
721 * breakpoint.h (breakpoint_has_location_inserted_here): New
722 declaration.
723 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
724 (cancel_single_step_breakpoints): Remove declarations.
725 * gdbthread.h (struct thread_control_state)
726 <single_step_breakpoints>: New field.
727 (delete_single_step_breakpoints)
728 (thread_has_single_step_breakpoints_set)
729 (thread_has_single_step_breakpoint_here): New declarations.
730 * infrun.c (follow_exec): Also clear the single-step breakpoints.
731 (singlestep_breakpoints_inserted_p, singlestep_ptid)
732 (singlestep_pc): Delete globals.
733 (infrun_thread_ptid_changed): Remove references to removed
734 globals.
735 (resume_cleanups): Delete the current thread's single-step
736 breakpoints.
737 (maybe_software_singlestep): Remove references to removed globals.
738 (resume): Adjust to use thread_has_single_step_breakpoints_set and
739 delete_single_step_breakpoints.
740 (init_wait_for_inferior): Remove references to removed globals.
741 (delete_thread_infrun_breakpoints): Delete the thread's
742 single-step breakpoints too.
743 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
744 single-step breakpoints here.
745 (delete_stopped_threads_single_step_breakpoints): New function.
746 (adjust_pc_after_break): Adjust to use
747 thread_has_single_step_breakpoints_set.
748 (handle_inferior_event): Remove references to removed globals.
749 Use delete_stopped_threads_single_step_breakpoints.
750 (handle_signal_stop): Adjust to per-thread single-step
751 breakpoints. Swap test order to do cheaper tests first.
752 (switch_back_to_stepped_thread): Extend debug output. Remove
753 references to removed globals.
754 * record-full.c (record_full_wait_1): Adjust to per-thread
755 single-step breakpoints.
756 * thread.c (delete_single_step_breakpoints)
757 (thread_has_single_step_breakpoints_set)
758 (thread_has_single_step_breakpoint_here): New functions.
759 (clear_thread_inferior_resources): Also delete the thread's
760 single-step breakpoints.
761
5b834a0a
PA
7622014-10-15 Pedro Alves <palves@redhat.com>
763
764 * thread.c (delete_thread_breakpoint): New function.
765 (delete_step_resume_breakpoint)
766 (delete_exception_resume_breakpoint): Use it.
767 (delete_at_next_stop): New function.
768 (clear_thread_inferior_resources): Use delete_at_next_stop.
769
a1fd2fa5
PA
7702014-10-15 Pedro Alves <palves@redhat.com>
771
772 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
773 (breakpoint_inserted_here_p): ... here. Remove special case for
774 software single-step breakpoints.
775 (find_non_raw_software_breakpoint_inserted_here): Inline ...
776 (software_breakpoint_inserted_here_p): ... here. Remove special
777 case for software single-step breakpoints.
778 (bp_target_info_copy_insertion_state)
779 (deprecated_insert_raw_breakpoint)
780 (deprecated_remove_raw_breakpoint): Delete functions.
781 * breakpoint.h (deprecated_insert_raw_breakpoint)
782 (deprecated_remove_raw_breakpoint): Remove declarations.
783
7c16b83e
PA
7842014-10-15 Pedro Alves <palves@redhat.com>
785
786 PR breakpoints/9649
787 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
788 Delete array globals.
789 (single_step_breakpoints): New global.
790 (breakpoint_xfer_memory): Remove special handling for single-step
791 breakpoints.
792 (update_breakpoints_after_exec): Delete bp_single_step
793 breakpoints.
794 (detach_breakpoints): Remove special handling for single-step
795 breakpoints.
796 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
797 (bpstat_stop_status): Add comment.
798 (bpstat_what, bptype_string, print_one_breakpoint_location)
799 (adjust_breakpoint_address, init_bp_location): Handle
800 bp_single_step.
801 (new_single_step_breakpoint): New function.
802 (set_momentary_breakpoint, bkpt_remove_location): Remove special
803 handling for single-step breakpoints.
804 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
805 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
806 Rewrite.
807 (detach_single_step_breakpoints, find_single_step_breakpoint):
808 Delete functions.
809 (breakpoint_has_location_inserted_here): New function.
810 (single_step_breakpoint_inserted_here_p): Rewrite.
811 * breakpoint.h: Remove FIXME.
812 (enum bptype) <bp_single_step>: New enum value.
813 (insert_single_step_breakpoint): Update comment.
814 * infrun.c (resume_cleanups)
815 (delete_step_thread_step_resume_breakpoint): Remove single-step
816 breakpoints.
817 (fetch_inferior_event): Install a cleanup that removes infrun
818 breakpoints.
819 (switch_back_to_stepped_thread) <expect thread advanced also>:
820 Clear step-over info.
821
0cbcdb96
PA
8222014-10-15 Pedro Alves <palves@redhat.com>
823
824 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
825 (delete_thread_infrun_breakpoints): New function, with parts
826 salvaged from delete_step_resume_breakpoint_callback.
827 (delete_step_thread_step_resume_breakpoint): Delete.
828 (for_each_just_stopped_thread_callback_func): New typedef.
829 (for_each_just_stopped_thread): New function.
830 (delete_just_stopped_threads_infrun_breakpoints): New function.
831 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
832 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
833 ... this. Adjust.
834 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
835
963f9c80
PA
8362014-10-15 Pedro Alves <palves@redhat.com>
837
838 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
839 trying to step past a non-steppable watchpoint.
840 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
841 field.
842 * infrun.c (struct step_over_info): Add new field
843 'nonsteppable_watchpoint_p' and adjust comments.
844 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
845 Adjust.
846 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
847 (stepping_past_nonsteppable_watchpoint): New function.
848 (step_over_info_valid_p): Also return true if stepping past a
849 nonsteppable watchpoint.
850 (proceed): Adjust call to set_step_over_info. Remove reference to
851 init_infwait_state.
852 (init_wait_for_inferior): Remove reference to init_infwait_state.
853 (waiton_ptid): Delete global.
854 (struct execution_control_state)
855 <stepped_after_stopped_by_watchpoint>: Delete field.
856 (wait_for_inferior, fetch_inferior_event): Always pass
857 minus_one_ptid to target_wait.
858 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
859 field.
860 (init_infwait_state): Delete function.
861 (handle_inferior_event): Remove infwait_state handling.
862 (handle_signal_stop) <watchpoints handling>: Adjust after
863 stepped_after_stopped_by_watchpoint removal. Don't remove
864 breakpoints here nor set infwait_state. Set the thread's
865 stepping_over_watchpoint flag, and call keep_going instead.
866 (keep_going): Handle stepping_over_watchpoint. Adjust
867 set_step_over_info calls.
868 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
869 function.
870
6cc83d2a
PA
8712014-10-15 Pedro Alves <palves@redhat.com>
872
873 * infrun.c (step_over_info_valid_p): New function.
874 (resume): Use step_over_info_valid_p instead of checking the
875 threads's trap_expected flag.
876
6979730b
DE
8772014-10-15 Doug Evans <dje@google.com>
878 Walfred Tedeschi <walfred.tedeschi@intel.com>
879
880 PR python/17364
881 * python/lib/gdb/__init__.py (packages): Add "printer".
882 * python/lib/gdb/command/bound_registers.py: Moved to ...
883 * python/lib/gdb/printer/bound_registers.py: ... here.
884 Add printer to global set of builtin printers. Rename printer from
885 "bound" to "mpx_bound128".
886 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
887 registered as global "builtin" printer.
888 (add_builtin_pretty_printer): New function.
889 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
890 gdb/printer/__init__.py.
891
35a49624
IB
8922014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
893
894 * Makefile.in (SFILES): Remove d-support.c.
895 (COMMON_OBS): Remove d-support.o.
896 * d-lang.h (d_parse_symbol): Remove declaration.
897 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
898 * d-support.c: Remove file.
899
8fa0c4f8
AA
9002014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
901
902 * gdb/infrun.c (process_event_stop_test): Apply
903 gdbarch_addr_bits_remove to longjmp resume address.
904
3666da81
PA
9052014-10-15 Pedro Alves <palves@redhat.com>
906
907 * regformats/microblaze.dat: Delete file.
908
449aa9df
AKA
9092014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
910
911 * features/Makefile (microblaze-expedite): Replace pc with rpc.
912 * regformats/microblaze-with-stack-protect.dat: Regenerate.
913
ebb8ece2
SC
9142014-10-15 Siva Chandra Reddy <sivachandra@google.com>
915
916 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
917 as non-trivial.
918
82c48ac7
SC
9192014-10-15 Siva Chandra Reddy <sivachandra@google.com>
920
921 PR c++/13403
922 PR c++/15154
923 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
924 with qualified args.
925
c40cc657
JB
9262014-10-14 Joel Brobecker <brobecker@adacore.com>
927
928 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
929 of the case where the second operand is a pointer.
930 <BINOP_SUB>: Likewise.
931
0ea5cda8
SDJ
9322014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
933
934 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
935 only if it is not NULL.
936 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
937 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
938 (struct probe_ops) <clear_semaphore>: Likewise.
939 * tracepoint.c (start_tracing): Call set_semaphore only if it is
940 not NULL.
941 (stop_tracing): Likewise, for clear_semaphore.
942
f7088df3
SDJ
9432014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
944
945 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
946 using language_c, instead of current_language.
947
4e1bbde0
DE
9482014-10-13 Doug Evans <dje@google.com>
949
6ff5a0f6 950 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 951 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 952 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
953 (pspy_new, pspace_to_pspace_object): Call it.
954
c780cc2f
JK
9552014-10-13 Miroslav Franc <mfranc@redhat.com>
956 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 Fix "save breakpoints" for "catch" command.
959 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
960 newline.
961
99894e11
JK
9622014-10-12 Miroslav Franc <mfranc@redhat.com>
963
964 Fix "save breakpoints" for "disable $bpnum" command.
965 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
966
3831839c
PA
9672014-10-10 Pedro Alves <palves@redhat.com>
968
969 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
970 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
971 (HFILES_NO_SRCDIR): Remove solib-irix.h.
972 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
973 and been removed.
974 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
975 * configure.ac: Remove references to IRIX.
976 * configure.host: Add *-*-irix* to the obsolete hosts section.
977 Remove all other references to irix.
978 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
979 Delete files.
980
cc3afae2
AKA
9812014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
982
983 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
984 isn't valid, release the tdesc arch data and return NULL.
985
cdfa0b0a
PA
9862014-10-10 Pedro Alves <palves@redhat.com>
987
988 * linux-tdep.c: Include observer.h.
989 (linux_inferior_data): New global.
990 (struct linux_info): New structure.
991 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
992 (get_linux_inferior_data): New functions.
993 (linux_vsyscall_range): Rename to ...
994 (linux_vsyscall_range_raw): ... this.
995 (linux_vsyscall_range): New function; handles caching.
996 (_initialize_linux_tdep): Register linux_inferior_data. Install
997 inferior_exit and inferior_appeared observers.
998
8b9a549d
PA
9992014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1000 Pedro Alves <palves@redhat.com>
1001
1002 PR symtab/14466
1003 * solib-svr4.c (svr4_read_so_list): Rename to ...
1004 (svr4_current_sos_1): ... this and change the function comment.
1005 (svr4_current_sos): New function.
1006
3437254d
PA
10072014-10-10 Pedro Alves <palves@redhat.com>
1008
1009 * arch-utils.c (default_vsyscall_range): New function.
1010 * arch-utils.h (default_vsyscall_range): New declaration.
1011 * gdbarch.sh (vsyscall_range): New hook.
1012 * gdbarch.h, gdbarch.c: Regenerate.
1013 * linux-tdep.c (linux_vsyscall_range): New function.
1014 (linux_init_abi): Install linux_vsyscall_range as
1015 vsyscall_range gdbarch hook.
1016 * memrange.c (address_in_mem_range): New function.
1017 * memrange.h (address_in_mem_range): New declaration.
1018 * symfile-mem.c (find_vdso_size): Delete function.
1019 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1020
31cc0b80
PA
10212014-10-10 Pedro Alves <palves@redhat.com>
1022
1023 * infrun.c (normal_stop): Fix typo in comment.
1024
3e3286a2
SDJ
10252014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1026
1027 PR tdep/9390
1028 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1029 typo when using logical AND to determine instruction type.
1030
fcbdedf8
YQ
10312014-10-09 Yao Qi <yao@codesourcery.com>
1032
1033 * infrun.c (handle_signal_stop): Remove local variable
1034 'printed'.
1035
db984616
SS
10362014-10-08 Stan Shebs <stan@codesourcery.com>
1037
1038 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1039
3ba37e6c
GB
10402014-10-08 Gary Benson <gbenson@redhat.com>
1041
1042 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1043
a442d071
GB
10442014-10-08 Gary Benson <gbenson@redhat.com>
1045
1046 * common/common-defs.h: Include common-exceptions.h.
1047 * exceptions.h: Do not include common-exceptions.h.
1048
6f1947e8
GB
10492014-10-08 Gary Benson <gbenson@redhat.com>
1050
1051 * common/common-defs.h: Include cleanups.h.
1052 * common/common-exceptions.c: Do not include cleanups.h.
1053 * utils.h: Likewise.
1054
c765fdb9
GB
10552014-10-08 Gary Benson <gbenson@redhat.com>
1056
1057 * ada-lang.c: Do not include exceptions.h.
1058 * ada-valprint.c: Likewise.
1059 * amd64-tdep.c: Likewise.
1060 * auto-load.c: Likewise.
1061 * block.c: Likewise.
1062 * break-catch-throw.c: Likewise.
1063 * breakpoint.c: Likewise.
1064 * btrace.c: Likewise.
1065 * c-lang.c: Likewise.
1066 * cli/cli-cmds.c: Likewise.
1067 * cli/cli-interp.c: Likewise.
1068 * cli/cli-script.c: Likewise.
1069 * completer.c: Likewise.
1070 * corefile.c: Likewise.
1071 * corelow.c: Likewise.
1072 * cp-abi.c: Likewise.
1073 * cp-support.c: Likewise.
1074 * cp-valprint.c: Likewise.
1075 * darwin-nat.c: Likewise.
1076 * dwarf2-frame-tailcall.c: Likewise.
1077 * dwarf2-frame.c: Likewise.
1078 * dwarf2loc.c: Likewise.
1079 * dwarf2read.c: Likewise.
1080 * eval.c: Likewise.
1081 * event-loop.c: Likewise.
1082 * event-top.c: Likewise.
1083 * f-valprint.c: Likewise.
1084 * frame-unwind.c: Likewise.
1085 * frame.c: Likewise.
1086 * gdbtypes.c: Likewise.
1087 * gnu-v2-abi.c: Likewise.
1088 * gnu-v3-abi.c: Likewise.
1089 * guile/scm-auto-load.c: Likewise.
1090 * guile/scm-breakpoint.c: Likewise.
1091 * guile/scm-cmd.c: Likewise.
1092 * guile/scm-frame.c: Likewise.
1093 * guile/scm-lazy-string.c: Likewise.
1094 * guile/scm-param.c: Likewise.
1095 * guile/scm-symbol.c: Likewise.
1096 * guile/scm-type.c: Likewise.
1097 * hppa-hpux-tdep.c: Likewise.
1098 * i386-tdep.c: Likewise.
1099 * inf-loop.c: Likewise.
1100 * infcall.c: Likewise.
1101 * infcmd.c: Likewise.
1102 * infrun.c: Likewise.
1103 * interps.c: Likewise.
1104 * interps.h: Likewise.
1105 * jit.c: Likewise.
1106 * linespec.c: Likewise.
1107 * linux-nat.c: Likewise.
1108 * linux-thread-db.c: Likewise.
1109 * m32r-rom.c: Likewise.
1110 * main.c: Likewise.
1111 * memory-map.c: Likewise.
1112 * mi/mi-cmd-break.c: Likewise.
1113 * mi/mi-cmd-stack.c: Likewise.
1114 * mi/mi-interp.c: Likewise.
1115 * mi/mi-main.c: Likewise.
1116 * monitor.c: Likewise.
1117 * nto-procfs.c: Likewise.
1118 * objc-lang.c: Likewise.
1119 * p-valprint.c: Likewise.
1120 * parse.c: Likewise.
1121 * ppc-linux-tdep.c: Likewise.
1122 * printcmd.c: Likewise.
1123 * probe.c: Likewise.
1124 * python/py-auto-load.c: Likewise.
1125 * python/py-breakpoint.c: Likewise.
1126 * python/py-cmd.c: Likewise.
1127 * python/py-finishbreakpoint.c: Likewise.
1128 * python/py-frame.c: Likewise.
1129 * python/py-framefilter.c: Likewise.
1130 * python/py-function.c: Likewise.
1131 * python/py-gdb-readline.c: Likewise.
1132 * python/py-inferior.c: Likewise.
1133 * python/py-infthread.c: Likewise.
1134 * python/py-lazy-string.c: Likewise.
1135 * python/py-linetable.c: Likewise.
1136 * python/py-param.c: Likewise.
1137 * python/py-prettyprint.c: Likewise.
1138 * python/py-symbol.c: Likewise.
1139 * python/py-type.c: Likewise.
1140 * python/py-value.c: Likewise.
1141 * python/python-internal.h: Likewise.
1142 * python/python.c: Likewise.
1143 * record-btrace.c: Likewise.
1144 * record-full.c: Likewise.
1145 * regcache.c: Likewise.
1146 * remote-fileio.c: Likewise.
1147 * remote-mips.c: Likewise.
1148 * remote.c: Likewise.
1149 * rs6000-aix-tdep.c: Likewise.
1150 * rs6000-nat.c: Likewise.
1151 * skip.c: Likewise.
1152 * solib-darwin.c: Likewise.
1153 * solib-dsbt.c: Likewise.
1154 * solib-frv.c: Likewise.
1155 * solib-ia64-hpux.c: Likewise.
1156 * solib-spu.c: Likewise.
1157 * solib-svr4.c: Likewise.
1158 * solib.c: Likewise.
1159 * spu-tdep.c: Likewise.
1160 * stack.c: Likewise.
1161 * stap-probe.c: Likewise.
1162 * symfile-mem.c: Likewise.
1163 * symmisc.c: Likewise.
1164 * target.c: Likewise.
1165 * thread.c: Likewise.
1166 * top.c: Likewise.
1167 * tracepoint.c: Likewise.
1168 * tui/tui-interp.c: Likewise.
1169 * typeprint.c: Likewise.
1170 * utils.c: Likewise.
1171 * valarith.c: Likewise.
1172 * valops.c: Likewise.
1173 * valprint.c: Likewise.
1174 * value.c: Likewise.
1175 * varobj.c: Likewise.
1176 * windows-nat.c: Likewise.
1177 * xml-support.c: Likewise.
1178
484933d1
MR
11792014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1180
1181 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1182 name implies.
1183 (extended_mips16_next_pc): Update accordingly.
1184
ab50adb6
MR
11852014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1186
1187 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1188 function.
1189 (micromips_instruction_is_compact_branch): Likewise.
1190 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1191 or a compact jump, reaching a jump delay slot, or seeing a
1192 second non-prologue instruction.
1193 (micromips_scan_prologue): Also terminate scanning upon seeing a
1194 compact branch or jump, or reaching a branch or jump delay slot.
1195 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1196 or jump delay slot, or seeing a second non-prologue instruction.
1197 (mips32_instruction_has_delay_slot): Retain instruction
1198 examination code only, update arguments accordingly and move
1199 instruction fetch pieces to...
1200 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1201 (micromips_instruction_has_delay_slot): Likewise and to...
1202 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1203 (mips16_instruction_has_delay_slot): Likewise and to...
1204 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1205 (mips_single_step_through_delay): Update accordingly.
1206 (mips_adjust_breakpoint_address): Likewise.
1207
ae790652
MR
12082014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1209
1210 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1211 !mustbe32 also return 1 for 32-bit instructions.
1212 (mips16_instruction_has_delay_slot): Likewise. Add an
1213 explanatory comment.
1214
9b807e7b
MR
12152014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1216
1217 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1218 symbols special.
1219
0d5ed153
MR
12202014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1221
1222 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1223 update comments.
1224 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1225 for the breakpoint's address. Don't preinitialize `placed_size'.
1226 (insert_bp_location): Set `reqstd_address' rather than
1227 `placed_address'.
1228 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1229 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1230 address.
1231 (bkpt_remove_location): Likewise.
1232 (deprecated_insert_raw_breakpoint): Likewise.
1233 (deprecated_remove_raw_breakpoint): Likewise.
1234 (find_single_step_breakpoint): Likewise.
1235 * mem-break.c (default_memory_insert_breakpoint): Use
1236 `reqstd_address' for the breakpoint's address. Don't set
1237 `placed_address' or `placed_size' if breakpoint contents couldn't
1238 have been determined.
1239 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1240 the breakpoint's address.
1241 (remote_insert_hw_breakpoint): Likewise. Don't set
1242 `placed_address' or `placed_size' if breakpoint couldn't have been
1243 set.
1244 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1245 `reqstd_address' for the breakpoint's address.
1246 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1247 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1248 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1249 * microblaze-linux-tdep.c
1250 (microblaze_linux_memory_remove_breakpoint): Likewise.
1251 * monitor.c (monitor_insert_breakpoint): Likewise.
1252 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1253 (procfs_insert_hw_breakpoint): Likewise.
1254 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1255 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1256 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1257 * remote-mips.c (mips_insert_breakpoint): Likewise.
1258 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1259
3e871532
LM
12602014-10-03 Luis Machado <lgustavo@codesourcery.com>
1261
1262 * valops.c (value_assign): Check for bit field assignments
1263 before calling architecture-specific register value
1264 conversion functions.
1265
ec48dc8b
PM
12662014-10-03 Pierre Muller <muller@sourceware.org>
1267
1268 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1269
b57bacec
PA
12702014-10-02 Pedro Alves <palves@redhat.com>
1271
1272 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1273 threads_are_executing.
1274 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1275 describing comment.
1276 * gdbthread.h (threads_are_executing): Declare.
1277 (handle_signal_stop) <random signals>: Don't print about the
1278 signal here if stopping.
1279 (end_stepping_range): Don't notify observers here.
1280 (normal_stop): Update the thread list. If stopped by a random
1281 signal or a stepping range ended, notify observers.
1282 * thread.c (threads_executing): New global.
1283 (init_thread_list): Clear 'threads_executing'.
1284 (set_executing): Set or clear 'threads_executing'.
1285 (threads_are_executing): New function.
1286 (update_threads_executing): New function.
1287 (update_thread_list): Use it.
1288
13fd3ff3
PA
12892014-10-02 Pedro Alves <palves@redhat.com>
1290
1291 PR breakpoints/17431
1292 * breakpoint.c (update_breakpoints_after_exec): Don't create
1293 overlay, longjmp, std terminate nor exception breakpoints here.
1294
32990ada
PA
12952014-10-02 Pedro Alves <palves@redhat.com>
1296
1297 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1298 Adjust comments.
1299 * inferior.c (find_inferior_for_program_space): Give preference to
1300 the current inferior.
1301 * inferior.h (find_inferior_for_program_space): Update comment.
1302 * progspace.c (switch_to_program_space_and_thread): Prefer the
1303 current inferior if it's bound to the program space requested. If
1304 the inferior found doesn't have a PID yet, don't bother looking up
1305 a thread.
1306 * progspace.h (switch_to_program_space_and_thread): Adjust
1307 comment.
1308 * thread.c (any_thread_of_process, any_live_thread_of_process):
1309 Give preference to the current thread.
1310
0fec99e8
PA
13112014-10-01 Pedro Alves <palves@redhat.com>
1312
1313 * breakpoint.c (insert_bp_location): Error out if inserting a
1314 software breakpoint at a read-only address.
1315 * target.c (memory_xfer_check_region): New function, factored out
1316 from ...
1317 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1318 ULONGEST.
1319 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1320 against the memory region attributes.
1321
2ddf4301
SM
13222014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1323
1324 * NEWS: Announce new exit-code field in -list-thread-groups
1325 output.
1326 * inferior.c (exit_inferior_1): Don't clear exit code.
1327 (inferior_appeared): Clear exit code.
1328 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1329 code.
1330
5fdeec1d
PA
13312014-10-01 Pedro Alves <palves@redhat.com>
1332
1333 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1334 GENERATED" along with emacs/vi read-only markers.
1335 * regformats/aarch64.dat: Regenerate.
1336 * regformats/arm-with-iwmmxt.dat: Regenerate.
1337 * regformats/arm-with-neon.dat: Regenerate.
1338 * regformats/arm-with-vfpv2.dat: Regenerate.
1339 * regformats/arm-with-vfpv3.dat: Regenerate.
1340 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1341 * regformats/i386/amd64-avx.dat: Regenerate.
1342 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1343 * regformats/i386/amd64-avx512.dat: Regenerate.
1344 * regformats/i386/amd64-linux.dat: Regenerate.
1345 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1346 * regformats/i386/amd64-mpx.dat: Regenerate.
1347 * regformats/i386/amd64.dat: Regenerate.
1348 * regformats/i386/i386-avx-linux.dat: Regenerate.
1349 * regformats/i386/i386-avx.dat: Regenerate.
1350 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1351 * regformats/i386/i386-avx512.dat: Regenerate.
1352 * regformats/i386/i386-linux.dat: Regenerate.
1353 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1354 * regformats/i386/i386-mmx.dat: Regenerate.
1355 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1356 * regformats/i386/i386-mpx.dat: Regenerate.
1357 * regformats/i386/i386.dat: Regenerate.
1358 * regformats/i386/x32-avx-linux.dat: Regenerate.
1359 * regformats/i386/x32-avx.dat: Regenerate.
1360 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1361 * regformats/i386/x32-avx512.dat: Regenerate.
1362 * regformats/i386/x32-linux.dat: Regenerate.
1363 * regformats/i386/x32.dat: Regenerate.
1364 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1365 * regformats/mips-dsp-linux.dat: Regenerate.
1366 * regformats/mips-linux.dat: Regenerate.
1367 * regformats/mips64-dsp-linux.dat: Regenerate.
1368 * regformats/mips64-linux.dat: Regenerate.
1369 * regformats/nios2-linux.dat: Regenerate.
1370 * regformats/rs6000/powerpc-32.dat: Regenerate.
1371 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1372 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1373 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1374 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1375 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1376 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1377 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1378 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1379 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1380 * regformats/s390-linux32.dat: Regenerate.
1381 * regformats/s390-linux32v1.dat: Regenerate.
1382 * regformats/s390-linux32v2.dat: Regenerate.
1383 * regformats/s390-linux64.dat: Regenerate.
1384 * regformats/s390-linux64v1.dat: Regenerate.
1385 * regformats/s390-linux64v2.dat: Regenerate.
1386 * regformats/s390-te-linux64.dat: Regenerate.
1387 * regformats/s390x-linux64.dat: Regenerate.
1388 * regformats/s390x-linux64v1.dat: Regenerate.
1389 * regformats/s390x-linux64v2.dat: Regenerate.
1390 * regformats/s390x-te-linux64.dat: Regenerate.
1391 * regformats/tic6x-c62x-linux.dat: Regenerate.
1392 * regformats/tic6x-c62x.dat: Regenerate.
1393 * regformats/tic6x-c64x-linux.dat: Regenerate.
1394 * regformats/tic6x-c64x.dat: Regenerate.
1395 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1396 * regformats/tic6x-c64xp.dat: Regenerate.
1397
db74e4ba
PA
13982014-10-01 Pedro Alves <palves@redhat.com>
1399
1400 * features/Makefile: Update comments.
1401 (XMLTOC): List all xml files we build C files from.
1402 (clean-cfiles): New rule.
1403
d63f2f84
PA
14042014-10-01 Pedro Alves <palves@redhat.com>
1405
1406 * features/i386/amd64-avx512-linux.c: Regenerate.
1407 * features/i386/amd64-avx512.c: Regenerate.
1408 * features/i386/x32-avx512-linux.c: Regenerate.
1409 * features/i386/x32-avx512.c: Regenerate.
1410
20ad026d
PA
14112014-10-01 Pedro Alves <palves@redhat.com>
1412
1413 * features/Makefile (WHICH): Remove arm-with-m,
1414 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1415
acc9fe45
PA
14162014-10-01 Pedro Alves <palves@redhat.com>
1417
1418 * features/Makefile (clean): New rule.
1419
e001e535
PA
14202014-10-01 Pedro Alves <palves@redhat.com>
1421
1422 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1423 (zmm14h): Add missing end quotes.
1424
bdc14417
PA
14252014-10-01 Pedro Alves <palves@redhat.com>
1426
1427 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1428 * features/aarch64.c: Regenerate.
1429
d83ad864
DB
14302014-09-30 Don Breazeal <donb@codesourcery.com>
1431
1432 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1433 code so as to work with follow_fork_inferior.
1434 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1435 (inf_ttrace_create_inferior): Remove reference to
1436 inf_ttrace_vfork_ppid.
1437 (inf_ttrace_attach): Ditto.
1438 (inf_ttrace_detach): Ditto.
1439 (inf_ttrace_kill): Use current_inferior instead of
1440 inf_ttrace_vfork_ppid.
1441 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1442 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1443 inferior away from the parent.
1444 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1445 target_follow_fork.
1446 (follow_fork_inferior): New function.
1447 (follow_inferior_reset_breakpoints): Make function static.
1448 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1449 * linux-nat.c (linux_child_follow_fork): Move target-independent
1450 code to infrun.c:follow_fork_inferior.
1451
29082443
AA
14522014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1453
1454 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1455 * gdbarch.c: Regenerate.
1456 * gdbarch.h: Likewise.
1457 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1458 gdbarch method 'regset_from_core_section'.
1459 (get_core_register_section): Remove handling for the case that
1460 regset == NULL and regset_from_core_section is defined.
1461 (get_core_registers): Drop check for deleted method.
1462 * procfs.c (procfs_do_thread_registers): Adjust comment.
1463
f968fe80
AA
14642014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1465
1466 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1467 (linux_nat_make_corefile_notes): Remove.
1468 (linux_target_install_ops): Do not set target method
1469 'make_corefile_notes'.
1470 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1471 Remove field.
1472 (linux_corefile_thread_callback): Instead of args->collect, call
1473 linux_collect_thread_registers.
1474 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1475 NULL unless there is a regset iterator.
1476 (linux_make_corefile_notes_1): Remove.
1477 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1478 by linux_make_corefile_notes.
1479 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1480
174ad59a
AA
14812014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482
1483 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1484 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1485 Remove.
1486 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1487
97094034
AA
14882014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1489
1490 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1491 (xtensa_iterate_over_regset_sections): New.
1492 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1493
f73d3ce7
AA
14942014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1495
1496 * vax-tdep.c (vax_regset_from_core_section): Remove.
1497 (vax_iterate_over_regset_sections): New.
1498 (vax_gdbarch_init): Adjust gdbarch initialization.
1499
cb24567a
AA
15002014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1501
1502 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1503 (tilegx_regset_from_core_section): Remove.
1504 (tilegx_iterate_over_regset_sections): New.
1505 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1506
e5139de8
AA
15072014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1508
1509 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1510 (sparc_iterate_over_regset_sections): New.
1511 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1512 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1513 targets.
1514 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1515 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1516 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1517 target method 'make_corefile_notes'.
1518
c6d41a6f
AA
15192014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1520
1521 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1522 'sizeof_gregset' and 'sizeof_fpregset'.
1523 * sh-tdep.c (sh_regset_from_core_section): Remove.
1524 (sh_iterate_over_regset_sections): New.
1525 (sh_gdbarch_init): Adjust gdbarch initialization.
1526 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1527 sizeof_fpregset.
1528 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1529 'sizeof_gregset'.
1530
9845a0b5
AA
15312014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1532
1533 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1534 (score7_linux_iterate_over_regset_sections): New.
1535 (score_gdbarch_init): Adjust gdbarch initialization.
1536
23ea9aeb
AA
15372014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1538
1539 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1540 FreeBSD targets.
1541 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1542 method 'make_corefile_notes'.
1543 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1544 (ppcfbsd_regset_from_core_section): Remove.
1545 (ppcfbsd_iterate_over_regset_sections): New.
1546 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1547 initialization.
1548 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1549 (ppcnbsd_iterate_over_regset_sections): New.
1550 (ppcnbsd_init_abi): Adjust.
1551 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1552 (ppcobsd_iterate_over_regset_sections): New.
1553 (ppcobsd_init_abi): Adjust.
1554 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1555 (rs6000_aix_iterate_over_regset_sections): New.
1556 (rs6000_aix_init_osabi): Adjust.
1557
c5b8d704
AA
15582014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1559
1560 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1561 (nios2_regset_from_core_section): Remove.
1562 (nios2_iterate_over_regset_sections): New.
1563 (nios2_linux_init_abi): Adjust gdbarch initialization.
1564
3636e608
AA
15652014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1566
1567 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1568 (am33_iterate_over_regset_sections): New.
1569 (am33_linux_init_osabi): Adjust gdbarch initialization.
1570
d4036235
AA
15712014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572
1573 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1574 (mips_linux_iterate_over_regset_sections): New.
1575 (mips_linux_init_abi): Adjust gdbarch initialization.
1576 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1577 (mips64obsd_iterate_over_regset_sections): New.
1578 (mips64obsd_init_abi): Adjust.
1579 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1580 (mipsnbsd_iterate_over_regset_sections): New.
1581 (mipsnbsd_init_abi): Adjust.
1582
b61ddd6e
AA
15832014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1584
1585 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1586 (m88k_iterate_over_regset_sections): New.
1587 (m88k_gdbarch_init): Adjust gdbarch initialization.
1588
55a2906a
AA
15892014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1590
1591 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1592 (ia64_linux_iterate_over_regset_sections): New.
1593 (ia64_linux_init_abi): Adjust gdbarch initialization.
1594
022c98ab
AA
15952014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1596
1597 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1598 (m68kbsd_iterate_over_regset_sections): New.
1599 (m68kbsd_init_abi): Adjust gdbarch initialization.
1600 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1601 (m68k_linux_iterate_over_regset_sections): New.
1602 (m68k_linux_init_abi): Adjust gdbarch initialization.
1603
5fac247f
AA
16042014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1605
1606 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1607 (m32r_linux_regset_from_core_section): Remove.
1608 (m32r_linux_iterate_over_regset_sections): New.
1609 (m32r_linux_init_abi): Adjust gdbarch initialization.
1610
490496c3
AA
16112014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1612
1613 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1614 (amd64obsd_iterate_over_regset_sections): New.
1615 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1616 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1617 Remove.
1618 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1619 regset_from_core_section initialization.
1620 * i386-tdep.c (i386_regset_from_core_section): Remove.
1621 (i386_iterate_over_regset_sections): New.
1622 (i386_gdbarch_init): Adjust gdbarch initialization.
1623 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1624 (i386_iterate_over_regset_sections): New prototype.
1625 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1626 Remove.
1627 (i386obsd_aout_iterate_over_regset_sections): New.
1628 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1629 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1630 targets.
1631 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1632 (amd64fbsd_init_abi): Call fbsd_init_abi.
1633 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1634 (i386fbsd4_init_abi): Call fbsd_init_abi.
1635 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1636 target method 'make_corefile_notes'.
1637 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1638
50c5eb53
AA
16392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1640
1641 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1642 (hppa_hpux_iterate_over_regset_sections): New.
1643 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1644 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1645 (hppa_linux_iterate_over_regset_sections): New.
1646 (hppa_linux_init_abi): Adjust.
1647 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1648 (hppanbsd_iterate_over_regset_sections): New.
1649 (hppanbsd_init_abi): Adjust.
1650 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1651 (hppaobsd_iterate_over_regset_sections): New.
1652 (hppaobsd_init_abi): Adjust.
1653
66afae4f
AA
16542014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1655
1656 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1657 (frv_linux_iterate_over_regset_sections): New.
1658 (frv_linux_init_abi): Adjust gdbarch initialization.
1659
ed09174e
AA
16602014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1661
1662 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1663 (armbsd_iterate_over_regset_sections): New prototype.
1664 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1665 (armbsd_iterate_over_regset_sections): New.
1666 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1667 initialization.
1668
dff2166e
AA
16692014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1670
1671 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1672 (alpha_linux_iterate_over_regset_sections): New.
1673 (alpha_linux_init_abi): Adjust gdbarch initialization.
1674 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1675 prototype.
1676 (alphanbsd_iterate_over_regset_sections): New prototype.
1677
4108500a
AA
16782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1679
1680 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1681 Remove.
1682 (aarch64_linux_iterate_over_regset_sections): New.
1683 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1684
a904c024
AA
16852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1686
1687 * fbsd-tdep.c: New file.
1688 * fbsd-tdep.h: New file.
1689 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1690 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1691 (ALLDEPFILES): Add fbsd-tdep.c.
1692
8f0435f7
AA
16932014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1694
1695 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1696 parameter.
1697 * gdbarch.h: Regenerate.
1698 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1699 iterator.
1700 (get_core_register_section): Add parameter 'regset' and use it, if
1701 set. Add parameter 'min_size' and verify the bfd section size
1702 against it.
1703 (get_core_registers_cb): Add parameter 'regset' and pass it to
1704 get_core_register section. For the "standard" register sections
1705 ".reg" and ".reg2", set an appropriate default for human_name.
1706 (get_core_registers): Don't abort when the gdbarch has an iterator
1707 but no regset_from_core_section. Add NULL/0 for parameters
1708 'regset'/'min_size' in calls to get_core_register_section.
1709 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1710 'regset' and use it instead of calling the
1711 regset_from_core_section gdbarch method.
1712 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1713 * i386-tdep.c (i386_supply_xstateregset)
1714 (i386_collect_xstateregset, i386_xstateregset): Moved to
1715 i386-linux-tdep.c.
1716 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1717 .reg-xstate.
1718 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1719 core file support only if the regset iterator hasn't been set.
1720 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1721 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1722 Moved from i386-tdep.c and renamed to *_linux*.
1723 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1724 each callback invocation. Allow any .reg-xstate size when reading
1725 from a core file.
1726 * amd64-tdep.c (amd64_supply_xstateregset)
1727 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1728 amd64-linux-tdep.c.
1729 (amd64_regset_from_core_section): Remove.
1730 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1731 install an amd64-specific regset_from_core_section gdbarch method.
1732 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1733 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1734 Moved from amd64-tdep.c and renamed to *_linux*.
1735 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1736 to each callback invocation. Allow any .reg-xstate size when
1737 reading from a core file.
1738 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1739 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1740 each callback invocation.
1741 (arm_linux_init_abi): No longer set the regset_from_core_section
1742 gdbarch method.
1743 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1744 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1745 each callback invocation.
1746 (ppc_linux_init_abi): No longer set the regset_from_core_section
1747 gdbarch method.
1748 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1749 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1750 (s390_regset_from_core_section): Remove.
1751 (s390_iterate_over_regset_sections): Add regset parameter to each
1752 callback invocation.
1753 (s390_gdbarch_init): No longer set the regset_from_core_section
1754 gdbarch method. Drop initialization of deleted tdep fields.
1755
5aa82d05
AA
17562014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1757
1758 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1759 (amd64_linux_iterate_over_regset_sections): New.
1760 (amd64_linux_init_abi_common): Don't install the regset section
1761 list, but the new iterator in gdbarch.
1762 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1763 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1764 (arm_linux_iterate_over_regset_sections): ...here. New function.
1765 (arm_linux_init_abi): Set iterator instead of section list.
1766 * corelow.c (get_core_registers_cb): New function, logic moved
1767 from...
1768 (get_core_registers): ...loop body here. Use new iterator method
1769 instead of walking through the regset section list.
1770 * gdbarch.sh: Remove 'core_regset_sections'. New method
1771 'iterate_over_regset_sections'. New typedef
1772 'iterate_over_regset_sections_cb'.
1773 * gdbarch.c: Regenerate.
1774 * gdbarch.h: Likewise.
1775 * i386-linux-tdep.c (i386_linux_regset_sections)
1776 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1777 Remove.
1778 (i386_linux_iterate_over_regset_sections): New.
1779 (i386_linux_init_abi): Don't choose a regset section list, but
1780 install new iterator in gdbarch.
1781 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1782 (linux_collect_regset_section_cb): New function, logic moved
1783 from...
1784 (linux_collect_thread_registers): ...loop body here. Use iterator
1785 method instead of walking through list.
1786 (linux_make_corefile_notes_1): Check for presence of iterator
1787 method instead of regset section list.
1788 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1789 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1790 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1791 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1792 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1793 (ppc_linux_init_abi): Don't choose from above regset section
1794 lists, but install new iterator in gdbarch.
1795 * regset.h (struct core_regset_section): Remove.
1796 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1797 have_linux_v1, have_linux_v2, and have_tdb.
1798 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1799 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1800 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1801 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1802 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1803 (s390_iterate_over_regset_sections): ...here. New function. Use
1804 new tdep fields.
1805 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1806 regset section lists, but install new iterator.
1807
2eca4a8d
JK
18082014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1809
1810 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1811
a73c2b56
SM
18122014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1813
1814 * progspace.c (print_program_space): Don't prune program spaces
1815 before printing them.
1816
03d46957
PA
18172014-09-25 Pedro Alves <palves@redhat.com>
1818
1819 * infrun.c (user_visible_resume_ptid): Don't check
1820 singlestep_breakpoints_inserted_p.
1821
e558d7c1
PA
18222014-09-25 Pedro Alves <palves@redhat.com>
1823
1824 * breakpoint.c (should_be_inserted): Add debug output.
1825
7f89fd65
PA
18262014-09-25 Pedro Alves <palves@redhat.com>
1827
1828 * infrun.c (stepping_past_instruction_at)
1829 (clear_exit_convenience_vars): Point at infrun.h instead of
1830 inferior.h.
1831 (handle_signal_stop): Fix typo.
1832
b7576e5c
YQ
18332014-09-24 Yao Qi <yao@codesourcery.com>
1834
1835 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1836 bitmask.
1837
9a6cf368
GB
18382014-09-22 Gary Benson <gbenson@redhat.com>
1839
1840 * target.c (target_stop): Updated comment.
1841
03f4463b
GB
18422014-09-22 Gary Benson <gbenson@redhat.com>
1843
1844 * target/target.h (target_stop_ptid): Renamed as...
1845 (target_stop_and_wait): New function. Updated comment.
1846 All uses updated.
1847 (target_continue_ptid): Renamed as...
1848 (target_continue_no_signal): New function. Updated comment.
1849 All uses updated.
1850
a25a5a45
PA
18512014-09-22 Pedro Alves <palves@redhat.com>
1852
1853 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1854 and "auto" merged.
1855 * breakpoint.c (enum ugll_insert_mode): New enum.
1856 (always_inserted_mode): Now a plain boolean.
1857 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1858 (breakpoints_always_inserted_mode): Delete.
1859 (breakpoints_should_be_inserted_now): New function.
1860 (insert_breakpoints): Pass UGLL_INSERT to
1861 update_global_location_list instead of calling
1862 insert_breakpoint_locations manually.
1863 (create_solib_event_breakpoint_1): New, factored out from ...
1864 (create_solib_event_breakpoint): ... this.
1865 (create_and_insert_solib_event_breakpoint): Use
1866 create_solib_event_breakpoint_1 instead of calling
1867 insert_breakpoint_locations manually.
1868 (update_global_location_list): Change parameter type from boolean
1869 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1870 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1871 (update_global_location_list_nothrow): Change parameter type from
1872 boolean to enum ugll_insert_mode.
1873 (_initialize_breakpoint): "breakpoint always-inserted" option is
1874 now a boolean command. Update help text.
1875 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1876 (breakpoints_should_be_inserted_now): New declaration.
1877 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1878 Remove breakpoints_always_inserted_mode check.
1879 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1880 * remote.c (remote_start_remote): Likewise.
1881
04086b45
PA
18822014-09-22 Pedro Alves <palves@redhat.com>
1883
1884 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1885 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1886 Instead, pass UGLL_INSERT to update_global_location_list.
1887 (update_global_location_list): Change parameter type from boolean
1888 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1889 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1890 (create_solib_event_breakpoint_1): New, factored out from ...
1891 (create_solib_event_breakpoint): ... this.
1892 (create_and_insert_solib_event_breakpoint): Use
1893 create_solib_event_breakpoint_1 instead of calling
1894 insert_breakpoint_locations manually.
1895 (update_global_location_list): Handle UGLL_INSERT.
1896
44702360
PA
18972014-09-22 Pedro Alves <palves@redhat.com>
1898
1899 * breakpoint.c (enum ugll_insert_mode): New enum.
1900 (update_global_location_list)
1901 (update_global_location_list_nothrow): Change parameter type from
1902 boolean to enum ugll_insert_mode. All callers adjusted.
1903
93c6145a
JB
19042014-09-19 Joel Brobecker <brobecker@adacore.com>
1905
1906 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1907 SystemTap support in GDB.
1908
89a5711c
DB
19092014-09-19 Don Breazeal <donb@codesourcery.com>
1910
1911 * linux-nat.c (linux_handle_extended_wait): Call
1912 linux_ptrace_get_extended_event.
1913 (wait_lwp): Call linux_is_extended_waitstatus.
1914 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1915 and linux_is_extended_waitstatus.
1916 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1917 linux_ptrace_get_extended_event.
1918 (linux_ptrace_get_extended_event): New function.
1919 (linux_is_extended_waitstatus): New function.
1920 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1921 (linux_is_extended_waitstatus): New declarations.
1922
c3b7b696
YQ
19232014-09-19 Yao Qi <yao@codesourcery.com>
1924
1925 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1926 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1927 comments. Callers update.
1928 (dwarf_decode_lines): Likewise.
1929 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1930 comments. Skip the line table if 'lowpc' is greater than
1931 'address'. Don't check
1932 dwarf2_per_objfile->has_section_at_zero.
1933
2b4fd423
DE
19342014-09-18 Doug Evans <dje@google.com>
1935
1936 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1937 * python/py-symtab.c (stpy_get_producer): New function.
1938 (symtab_object_getset): Add "producer" attribute.
1939
5e43d467
UW
19402014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1941
1942 PR gdb/17384
1943 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1944 (do_captured_read_memory_integer): Remove.
1945 (safe_read_memory_integer): Use target_read_memory directly instead
1946 of catching errors in do_captured_read_memory_integer.
1947
04e79979
MR
19482014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1949
1950 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1951 not gdb/doc.
1952
76aeec5b
SDJ
19532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1954
1955 * objc-lang.c (find_implementation_from_class): Remove dead code.
1956
2f693f9d
SDJ
19572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1958
1959 PR cli/7233
1960 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1961 "fprintf_unfiltered (gdb_stdlog...)".
1962
bb9d5f81
PP
19632014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1964
1965 PR breakpoints/12526
1966 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1967 val_bitsize.
1968 * breakpoint.c (watch_command_1): Use these fields to retain
1969 bitfield information.
1970 (extract_bitfield_from_watchpoint_value): New function.
1971 (watchpoint_check): Use it.
1972 (update_watchpoint): Use it. Optimize the address and length of a
1973 HW watchpoint pointing to a bitfield.
1974 * value.h (unpack_value_bitfield): New prototype.
1975 * value.c (unpack_value_bitfield): Make extern.
1976
05db5edd
ST
19772014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1978
1979 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1980 x86-dregs.o.
1981 * gnu-nat.c (inf_threads): New function.
1982 * gnu-nat.h (inf_threads_ftype): New typedef.
1983 (inf_threads): New declaration.
1984 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1985 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1986 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1987 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1988 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1989 (i386_gnu_dr_get_control): New functions.
1990 (reg_addr): New structure.
1991 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1992 i386 debugging register hooks.
1993 * NEWS: Mention this.
1994
5a578da5
OJ
19952014-08-13 Omair Javaid <omair.javaid@linaro.org>
1996
1997 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1998 vector data transfer instructions.
1999 (arm_record_coproc_data_proc): Updated.
2000
f20f80dd
OJ
20012014-08-13 Omair Javaid <omair.javaid@linaro.org>
2002
2003 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2004 arm_record_exreg_ld_st_insn.
2005 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2006 load/store insns.
2007
851f26ae
OJ
20082014-08-13 Omair Javaid <omair.javaid@linaro.org>
2009
2010 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2011 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2012 processing instructions.
2013
1e1b6563
OJ
20142014-08-13 Omair Javaid <omair.javaid@linaro.org>
2015
2016 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2017 for advance SIMD struct ld/st insn.
2018 (thumb2_record_decode_insn_handler): Replace stub handler with
2019 thumb2_record_asimd_struct_ld_st.
2020
60cc5e93
OJ
20212014-08-13 Omair Javaid <omair.javaid@linaro.org>
2022
2023 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2024 for asimd, vfp and coprocessor insns.
2025 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2026 and coprocessor insns.
2027 (thumb2_record_coproc_insn): New function.
2028 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2029 handlers.
2030 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2031 opcode 110 insns.
2032
81219e53
DE
20332014-09-13 Doug Evans <xdje42@gmail.com>
2034
2035 * NEWS: Mention new "queue-signal" command.
2036 * infcmd.c (queue_signal_command): New function.
2037 (_initialize_infcmd): Add new queue-signal command.
2038
d36bf488
DE
20392014-09-13 Doug Evans <xdje42@gmail.com>
2040
2041 * linux-nat.c (wait_lwp): Add debugging printf.
2042 (linux_nat_wait_1): Ditto.
2043
f37f681c
PA
20442014-09-12 Pedro Alves <palves@redhat.com>
2045
2046 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2047 (create_and_insert_solib_event_breakpoint): New functions.
2048 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2049 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2050 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2051 (remove_dbx_link_breakpoint): Delete function.
2052 (insert_dbx_link_bpt_in_file): Use
2053 create_and_insert_solib_event_breakpoint instead of
2054 deprecated_insert_raw_breakpoint.
2055 (procfs_wait): Don't check whether we hit __dbx_link here.
2056 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2057 here.
2058 * solib-irix.c (base_breakpoint): Delete global.
2059 (disable_break): Delete function.
2060 (enable_break): Use create_solib_event_breakpoint
2061 instead of deprecated_insert_raw_breakpoint.
2062 (irix_solib_handle_event): New function.
2063 (irix_solib_create_inferior_hook): Don't run the target or disable
2064 the mapping-complete breakpoint here.
2065 (_initialize_irix_solib): Install irix_solib_handle_event as
2066 so_ops->handle_event hook.
2067
9d9bf2df
EBM
20682014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2069 Ulrich Weigand  <uweigand@de.ibm.com>
2070
2071 PR tdep/17379
2072 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2073 instead of read_memory_unsigned_integer.
2074
b006a80e
GB
20752014-09-12 Gary Benson <gbenson@redhat.com>
2076
2077 * nat/linux-waitpid.c: Include common-defs.h.
2078 [GDBSERVER]: Add FIXME comment.
2079 [!GDBSERVER]: Don't include defs.h or signal.h.
2080 (linux_debug) [!GDBSERVER]: Remove empty block.
2081
296b1496
GB
20822014-09-12 Gary Benson <gbenson@redhat.com>
2083
2084 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2085 Don't include defs.h or server.h.
2086
53f81362
GB
20872014-09-12 Gary Benson <gbenson@redhat.com>
2088
2089 * nat/linux-btrace.c: Include common-defs.h.
2090 Don't include defs.h, server.h or gdbthread.h.
2091 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2092
727605ca
GB
20932014-09-12 Gary Benson <gbenson@redhat.com>
2094
2095 * common/agent.c: Include common-defs.h.
2096 Don't include defs.h or server.h.
2097 * common/buffer.c: Likewise.
2098 * common/common-debug.c: Likewise.
2099 * common/common-utils.c: Likewise.
2100 * common/errors.c: Likewise.
2101 * common/filestuff.c: Likewise.
2102 * common/format.c: Likewise.
2103 * common/gdb_vecs.c: Likewise.
2104 * common/print-utils.c: Likewise.
2105 * common/ptid.c: Likewise.
2106 * common/rsp-low.c: Likewise.
2107 * common/signals.c: Likewise.
2108 * common/vec.c: Likewise.
2109 * common/xml-utils.c: Likewise.
2110 * nat/linux-osdata.c: Likewise.
2111 * nat/linux-procfs.c: Likewise.
2112 * nat/linux-ptrace.c: Likewise.
2113 * nat/mips-linux-watch.c: Likewise.
2114 * target/waitstatus.c: Likewise.
2115
361c8ade
GB
21162014-09-12 Tom Tromey <tromey@redhat.com>
2117 Gary Benson <gbenson@redhat.com>
2118
2119 * common/common-regcache.h: New file.
2120 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2121 * regcache.h: Include common-regcache.h.
2122 (regcache_read_pc): Don't declare.
2123 * regcache.c (get_thread_regcache_for_ptid): New function.
2124 * nat/linux-btrace.c: Don't include regcache.h.
2125 Include common-regcache.h.
2126 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2127
a01cbb49
TS
21282014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2129
2130 * regcache.h (struct regset): Declare.
2131
98880d46
PA
21322014-09-11 Pedro Alves <palves@redhat.com>
2133
2134 PR gdb/17347
2135 * main.c: Include "infrun.h".
2136 (catch_command_errors, catch_command_errors_const): Wait for the
2137 foreground command to complete.
2138 * top.c (maybe_wait_sync_command_done): New function, factored out
2139 from ...
2140 (maybe_wait_sync_command_done): ... here.
2141 * top.h (maybe_wait_sync_command_done): New declaration.
2142
bd9269f7
GB
21432014-09-11 Tom Tromey <tromey@redhat.com>
2144 Gary Benson <gbenson@redhat.com>
2145
2146 * common/symbol.h: New file.
2147 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2148 * minsyms.c (find_minimal_symbol_address): New function.
2149 * common/agent.c: Include common/symbol.h.
2150 [!GDBSERVER]: Don't include objfiles.h.
2151 (agent_look_up_symbols): Use find_minimal_symbol_address.
2152
f8c1d06b
GB
21532014-09-11 Gary Benson <gbenson@redhat.com>
2154
2155 * target/target.h (target_stop_ptid, target_continue_ptid):
2156 Declare.
2157 * target.c (target_stop_ptid, target_continue_ptid): New
2158 functions.
2159 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2160 (agent_run_command): Always use target_stop_ptid and
2161 target_continue_ptid.
2162
721ec300
GB
21632014-09-11 Tom Tromey <tromey@redhat.com>
2164 Gary Benson <gbenson@redhat.com>
2165
2166 * target/target.h: New file.
2167 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2168 * target.h: Include target/target.h.
2169 (target_read_memory, target_write_memory): Don't declare.
2170 * target.c (target_read_uint32): New function.
2171 * common/agent.c: Include target/target.h.
2172 [!GDBSERVER]: Don't include target.h.
2173 (helper_thread_id): Type changed to uint32_t.
2174 (agent_get_helper_thread_id): Use target_read_uint32.
2175 (agent_run_command): Always use target_read_memory and
2176 target_write_memory.
2177 (agent_capability): Type changed to uint32_t.
2178 (agent_capability_check): Use target_read_uint32.
2179
c5e92cca
GB
21802014-09-11 Gary Benson <gbenson@redhat.com>
2181
2182 * common/common-debug.h (show_debug_regs): Declare.
2183 * common/common-debug.c (show_debug_regs): Define.
2184 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2185 all uses with show_debug_regs. Replace all uses that considered
2186 debug_hw_points as a multi-value integer with straight boolean
2187 uses.
2188 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2189 with show_debug_regs.
2190 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2191 all uses with show_debug_regs.
2192 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2193 uses with show_debug_regs.
2194
eeef931a
UW
21952014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2196
2197 * findvar.c (address_from_register): Handle targets requiring
2198 a special conversion routine even for plain pointer types.
2199
8efa9855
UW
22002014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2201
2202 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2203 (store_register): Do not call exec_one_dummy_insn.
2204
eb479039
JB
22052014-09-10 Joel Brobecker <brobecker@adacore.com>
2206
2207 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2208 dereference it first. Use value_enclosing_type instead of
2209 value_type.
2210 (ada_array_length): Likewise.
2211
deede10c
JB
22122014-09-10 Joel Brobecker <brobecker@adacore.com>
2213
2214 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2215 Adjust function implementation and documentation accordingly.
2216 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2217 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2218 Update call to ada_value_ptr_subscript.
2219
7828a5f5
JB
22202014-09-10 Joel Brobecker <brobecker@adacore.com>
2221
2222 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2223 instead of VAL's type.
2224
35782f14
JB
22252014-09-10 Joel Brobecker <brobecker@adacore.com>
2226
2227 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2228
d342a0da
DE
22292014-09-09 Doug Evans <xdje42@gmail.com>
2230
2231 PR guile/17367
2232 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2233 last parameter to pkg-config, not first.
2234 * configure.ac: Pass --with-guile provided pkg-config path to
2235 GDB_GUILE_PROGRAM_NAMES.
2236 * configure: Regenerate.
2237
b4a3d263
GKB
22382014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2239
2240 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2241 Bertazi".
2242
6e466374
MR
22432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2244
2245 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2246 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2247 the list of sections determining GDB_OSABI_IRIX.
2248
a1ada89a
JH
22492014-09-09 James Hogan <james.hogan@imgtec.com>
2250
2251 * MAINTAINERS (Write After Approval): Add "James Hogan".
2252
86db008d
JH
22532014-09-09 James Hogan <james.hogan@imgtec.com>
2254
2255 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2256
72fde3df
JB
22572014-09-09 Joel Brobecker <brobecker@adacore.com>
2258
2259 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2260
92d8d229
DE
22612014-09-08 Doug Evans <xdje42@gmail.com>
2262
2263 PR 17247
2264 * guile.c: #include <signal.h>.
2265 (_initialize_guile): Block SIGCHLD while initializing Guile.
2266
2267 Replaces the following, which is reverted.
2268
2269 2014-07-26 Doug Evans <xdje42@gmail.com>
2270
2271 PR 17185
2272 * configure.ac: Add check for header gc/gc.h.
2273 Add check for function setenv.
2274 * configure: Regenerate.
2275 * config.in: Regenerate.
2276 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2277
d81412aa
DE
22782014-09-08 Doug Evans <xdje42@gmail.com>
2279
2280 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2281 with named constant. Fix style of pointer comparison.
2282 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2283
a9f116cb
GKB
22842014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2285
2286 PR gdb/17035
2287 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2288 decide whether we display the command on "show user".
2289 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2290 printing command name.
2291 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2292 * cli/cli-decode.c (cli_user_command_p): Create helper function
2293 to verify whether cmd_list_element is a user-defined command.
2294
c75bd3a2
JK
22952014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 PR python/17355
2298 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2299 Fix goto out of TRY_CATCH.
2300
faa42425 23012014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 2302 Tom Tromey <tromey@redhat.com>
faa42425
DE
2303
2304 PR 15276
2305 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2306 $_any_caller_matches.
2307 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2308 * python/lib/gdb/function/caller_is.py: New file.
2309
0d41ba00
DE
23102014-09-06 Doug Evans <xdje42@gmail.com>
2311
2312 * infcmd.c (program_info): Fix typo.
2313
474ca4f6
SDJ
23142014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2315
2316 PR gdb/17235
2317 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2318 'number'. New variable 'has_digit'. Rewrite code to deal with
2319 subexpressions on SDT probes.
2320
ebf13736
PA
23212014-09-04 Pedro Alves <palves@redhat.com>
2322
2323 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2324 the input is only one character long.
2325
eb0b0463
SDJ
23262014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2327
2328 PR fortran/17237
2329 * f-valprint.c (f_val_print): Specify the correct print option to
2330 use when printing integer values.
2331
5ee44bfa
GB
23322014-09-04 Gary Benson <gbenson@redhat.com>
2333
2334 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2335 Remove code to cope with LWPs wrapped as PIDs.
2336 Add assertions to ensure no wrapped LWPs are passed.
2337
4875ffdb
PA
23382014-09-04 Pedro Alves <palves@redhat.com>
2339
2340 * value.c (value_ranges_copy_adjusted): New function, factored out
2341 from ...
2342 (value_contents_copy_raw): ... here.
2343 (unpack_value_bits_as_long_1): Rename back to ...
2344 (unpack_bits_as_long): ... this. Remove 'original_value' and
2345 'result' parameters. Change return type to LONGEST.
2346 (unpack_value_bits_as_long): Delete.
2347 (unpack_value_field_as_long_1): Delete.
2348 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2349 (unpack_value_bitfield): New function.
2350 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2351 (value_fetch_lazy): Use unpack_value_bitfield.
2352 * value.h (unpack_value_bits_as_long): Delete declaration.
2353
5f3b99cf
SS
23542014-09-03 Sasha Smundak <asmundak@google.com>
2355
2356 * python/py-frame.c (frapy_read_register): New function.
2357
ac740bc7
JH
23582014-09-03 James Hogan <james.hogan@imgtec.com>
2359
2360 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2361 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2362
7d793aa9
SDJ
23632014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2364
2365 PR python/16699
2366 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2367 function.
2368 (add_cmd): Set "completer_handle_brkchars" to NULL.
2369 * cli/cli-decode.h (struct cmd_list_element)
2370 <completer_handle_brkchars>: New field.
2371 * command.h (completer_ftype_void): New typedef.
2372 (set_cmd_completer_handle_brkchars): New prototype.
2373 * completer.c (set_gdb_completion_word_break_characters): New
2374 function.
2375 (complete_line_internal): Call "completer_handle_brkchars"
2376 callback from command.
2377 * completer.h: Include "command.h".
2378 (set_gdb_completion_word_break_characters): New prototype.
2379 * python/py-cmd.c (cmdpy_completer_helper): New function.
2380 (cmdpy_completer_handle_brkchars): New function.
2381 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2382 (cmdpy_init): Set completer_handle_brkchars to
2383 cmdpy_completer_handle_brkchars.
2384
97ea6506
GB
23852014-09-03 Gary Benson <gbenson@redhat.com>
2386
2387 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2388 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2389 Loop conditions changed to equivalent form.
2390 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2391 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2392 ALL_DEBUG_ADDRESS_REGISTERS.
2393
d1437815
JB
23942014-09-03 Joel Brobecker <brobecker@adacore.com>
2395
2396 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2397 description fix.
2398
9b94fcf1
DE
23992014-09-02 Doug Evans <dje@google.com>
2400
2401 * typeprint.c (find_global_typedef): Fix comment.
2402
df7e5265
GB
24032014-09-02 Gary Benson <gbenson@redhat.com>
2404
2405 * i386-nat.h: Renamed as...
2406 * x86-nat.h: New file. All type, function and variable name
2407 prefixes changed from "i386_" to "x86_". All references updated.
2408 * i386-nat.c: Renamed as...
2409 * x86-nat.c: New file. All type, function and variable name
2410 prefixes changed from "i386_" to "x86_". All references updated.
2411 * common/i386-xstate.h: Renamed as...
2412 * common/x86-xstate.h: New file. All type, function and variable
2413 name prefixes changed from "i386_" to "x86_". All references
2414 updated.
2415 * nat/i386-cpuid.h: Renamed as...
2416 * nat/x86-cpuid.h: New file. All type, function and variable name
2417 prefixes changed from "i386_" to "x86_". All references updated.
2418 * nat/i386-gcc-cpuid.h: Renamed as...
2419 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2420 name prefixes changed from "i386_" to "x86_". All references
2421 updated.
2422 * nat/i386-dregs.h: Renamed as...
2423 * nat/x86-dregs.h: New file. All type, function and variable name
2424 prefixes changed from "i386_" to "x86_". All references updated.
2425 * nat/i386-dregs.c: Renamed as...
2426 * nat/x86-dregs.c: New file. All type, function and variable name
2427 prefixes changed from "i386_" to "x86_". All references updated.
2428
1c3569d4
MR
24292014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2430
2431 * varobj.c (_initialize_varobj): Move to the end of file.
2432
ff55e1b5
GB
24332014-08-29 Gary Benson <gbenson@redhat.com>
2434
2435 * common/common-exceptions.h: New file.
2436 * common/common-exceptions.c: Likewise.
2437 * Makefile.in (SFILES): Add common/common-exceptions.c.
2438 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2439 (COMMON_OBS): Add common-exceptions.o.
2440 (common-exceptions.o): New rule.
2441 * exceptions.h (common-exceptions.h): Include.
2442 (gdb_setjmp.h): Do not include.
2443 (return_reason): Moved to common-exceptions.h.
2444 (enum return_reason): Likewise.
2445 (RETURN_MASK): Likewise.
2446 (typedef return_mask): Likewise.
2447 (enum errors): Likewise.
2448 (struct gdb_exception): Likewise.
2449 (exceptions_state_mc_init): Likewise.
2450 (exceptions_state_mc_action_iter): Likewise.
2451 (exceptions_state_mc_action_iter_1): Likewise.
2452 (TRY_CATCH): Likewise.
2453 (throw_exception): Likewise.
2454 (throw_verror): Likewise.
2455 (throw_vquit): Likewise.
2456 (throw_error): Likewise.
2457 (throw_quit): Likewise.
2458 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2459 (enum catcher_action): Likewise.
2460 (struct catcher): Likewise.
2461 (current_catcher): Likewise.
2462 (catcher_list_size): Likewise.
2463 (exceptions_state_mc_init): Likewise.
2464 (catcher_pop): Likewise.
2465 (exceptions_state_mc): Likewise.
2466 (exceptions_state_mc_action_iter): Likewise.
2467 (exceptions_state_mc_action_iter_1): Likewise.
2468 (throw_exception): Likewise.
2469 (exception_messages): Likewise.
2470 (exception_messages_size): Likewise.
2471 (throw_it): Likewise.
2472 (throw_verror): Likewise.
2473 (throw_vquit): Likewise.
2474 (throw_error): Likewise.
2475 (throw_quit): Likewise.
2476 (prepare_to_throw_exception): New function.
2477
e9bcb658
GB
24782014-08-29 Gary Benson <gbenson@redhat.com>
2479
2480 * common/gdb_setjmp.h: New file.
2481 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2482 * configure.ac: Move sigsetjmp check...
2483 * common/common.m4: ...here.
2484 * configure: Regenerate.
2485 * cp-support.c (SIGJMP_BUF): Delete.
2486 (SIGSETJMP): Likewise.
2487 (SIGLONGJMP): Likewise.
2488 * exceptions.h (gdb_setjmp.h): Include.
2489 (setjmp.h): Do not include.
2490 (EXCEPTIONS_SIGJMP_BUF): Delete.
2491 (EXCEPTIONS_SIGSETJMP): Likewise.
2492 (EXCEPTIONS_SIGLONGJMP): Likewise.
2493 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2494 from gdb_setjmp.h.
2495 * exceptions.c: Likewise.
2496
e3180625
GB
24972014-08-29 Gary Benson <gbenson@redhat.com>
2498
2499 * cleanups.h: Moved to...
2500 * common/cleanups.h: New file.
2501 * cleanups.c: Moved to...
2502 * common/cleanups.c: New file. Include common-defs.h and
2503 cleanups.h. Do not include defs.h.
2504 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2505 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2506 (cleanups.o): New rule.
2507
e3d6ba5d
GB
25082014-08-29 Gary Benson <gbenson@redhat.com>
2509
2510 * common/errors.h (internal_warning): New declaration.
2511 (internal_vwarning): Likewise.
2512 * common/errors.c (internal_warning): New function.
2513 * utils.h (internal_warning): Don't declare.
2514 (internal_vwarning): Likewise.
2515 * utils.c (internal_warning): Removed.
2516
075c7033
GB
25172014-08-29 Gary Benson <gbenson@redhat.com>
2518
2519 * main.c (captured_main): Use warning during startup.
2520 Prefix startup warning messages with command name.
2521
91b35fd0
GB
25222014-08-29 Gary Benson <gbenson@redhat.com>
2523
2524 * main.c (captured_main): Handle usage errors with error.
2525
b1ec390e
GB
25262014-08-29 Gary Benson <gbenson@redhat.com>
2527
2528 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2529 exit pair with a call to error. Wrap the message with _().
2530
fd0ef3dd
GB
25312014-08-29 Gary Benson <gbenson@redhat.com>
2532
2533 * main.c (captured_main): Replace a fprintf/exit
2534 pair with a call to error. Wrap the message with _().
2535
e0e6bcab
GB
25362014-08-29 Gary Benson <gbenson@redhat.com>
2537
2538 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2539 pairs with calls to error. Wrap the message with _().
2540
0d2f5c07
GB
25412014-08-29 Gary Benson <gbenson@redhat.com>
2542
2543 * utils.c (vwarning): Protect calls to target_terminal_ours
2544 and wrap_here.
2545
5df43998
GB
25462014-08-29 Gary Benson <gbenson@redhat.com>
2547
2548 * exceptions.c (print_flush): Protect calls to
2549 target_terminal_ours and wrap_here.
2550
2437fd32
GB
25512014-08-29 Gary Benson <gbenson@redhat.com>
2552
2553 * utils.h (filtered_printing_initialized): New declaration.
2554 * utils.c (abort_with_message): New function.
2555 (internal_vproblem): Use abort_with_message for first level
2556 recursive internal problems, and if gdb_stderr is not set up.
2557 Protect calls to target_terminal_ours, begin_line and query.
2558
f1f58506
DE
25592014-08-28 Doug Evans <dje@google.com>
2560
2561 * symtab.c (in_prologue): Move definition to better spot.
2562 (skip_prologue_using_sal): Ditto.
2563
aab2f208
DE
25642014-08-28 Doug Evans <dje@google.com>
2565
2566 * symtab.c (find_function_start_sal): Move definition to better spot.
2567
6b65d1b6
YQ
25682014-08-28 Yao Qi <yao@codesourcery.com>
2569
2570 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2571 found_stack_adjust in forward scan. Remove condition check
2572 on found_stack_adjust which is always true. Indent the code.
2573
a1b34d15
YQ
25742014-08-28 Yao Qi <yao@codesourcery.com>
2575
2576 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2577 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2578 (dwarf_decode_lines): Remove argument
2579 want_line_info. Remove condition check on want_line_info.
2580 Callers update.
2581
d5962de5
DE
25822014-08-27 Doug Evans <dje@google.com>
2583
2584 * dwarf2read.c (dwarf_record_line): Fix typo.
2585
9b139002
SDJ
25862014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2587
2588 * target.h (struct target_ops::to_terminal_save_ours): Remove
2589 declaration.
2590 (target_terminal_save_ours): Remove macro.
2591 * target-delegates.c: Regenerate.
2592 * inf-child.c (inf_child_target): Don't set the nonexistent
2593 field to_terminal_save_ours.
2594 * inferior.h (child_terminal_save_ours): Remove declaration.
2595 * terminal.h (gdb_save_tty_state): New declaration.
2596 * inflow.c (child_terminal_save_ours): Rename to ...
2597 (gdb_save_tty_state): ... this.
2598 * tui/tui.c: Include terminal.h.
2599 (tui_enable): Use gdb_save_tty_state instead of
2600 target_terminal_save_ours.
2601 (tui_disable): Likewise.
2602
9debeba0
DE
26032014-08-25 Doug Evans <dje@google.com>
2604
2605 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2606 Pass NULL instead of 0 for context pointer.
2607
428fc5fc
YQ
26082014-08-25 Yao Qi <yao@codesourcery.com>
2609
2610 * dwarf2read.c: Fix grammatical error.
2611
cdc07690
YQ
26122014-08-24 Yao Qi <yao@codesourcery.com>
2613
2614 * dwarf2read.c (scan_partial_symbols): Update comments.
2615 Rename argument 'need_pc' with 'set_addrmap'.
2616 (add_partial_namespace): Rename argument 'need_pc' with
2617 'set_addrmap'.
2618 (add_partial_module): Likewise.
2619 (add_partial_subprogram): Likewise. Update comments.
2620 (dwarf2_name): Fix typo.
2621
a05a36a5
DE
26222014-08-22 Doug Evans <dje@google.com>
2623
2624 PR 17276
2625 * dwarf2read.c (dwarf_record_line_p): New function.
2626 (dwarf_decode_lines_1): Ignore subsequent line number entries
2627 for the same line if any entry had a non-zero discriminator.
2628
252a6764
DE
26292014-08-22 Doug Evans <dje@google.com>
2630
2631 * buildsym.h (record_line_ftype): New typedef.
2632 (record_line): Use it.
2633 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2634 (dwarf_decode_lines_1): Call them.
2635
510db052
YQ
26362014-08-22 Yao Qi <yao@codesourcery.com>
2637
2638 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2639 (ctf_end): Remove code.
2640
22fd09ae
JK
26412014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2644 (linux_make_corefile_notes): call update_thread_list, protected against
2645 exceptions.
2646
656e8868
PA
26472014-08-21 Pedro Alves <palves@redhat.com>
2648
2649 * infcmd.c (attach_command): Remove comment.
2650
de589d04
WN
26512014-08-21 Bin Cheng <bin.cheng@arm.com>
2652
2653 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2654 unsigned LONGEST to ULONGEST.
2655
2a31c623
PA
26562014-08-20 Pedro Alves <palves@redhat.com>
2657
2658 * Makefile.in (check-read1): New rule.
2659
d36430db
JB
26602014-08-20 Joel Brobecker <brobecker@adacore.com>
2661
2662 * value.c (value_from_contents_and_address): Strip resolved_type's
2663 typedef layers before checking its TYPE_DATA_LOCATION.
2664
000339af
PA
26652014-08-20 Pedro Alves <palves@redhat.com>
2666
2667 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2668
5f52445b
YQ
26692014-08-20 Yao Qi <yao@codesourcery.com>
2670
2671 * amd64-tdep.c (amd64_classify): Add a blank line after the
2672 example. Move "*/" to a new line.
2673 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2674 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2675 * dwarf2read.c (psymtab_include_file_name): Likewise.
2676
9a0dc9e3
PA
26772014-08-19 Andrew Burgess <aburgess@broadcom.com>
2678 Pedro Alves <palves@redhat.com>
2679
2680 PR symtab/14604
2681 PR symtab/14605
2682 * ada-lang.c (coerce_unspec_val_to_type): Use
2683 value_contents_copy_raw.
2684 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2685 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2686 * cp-valprint.c (cp_print_value_fields): Let the common printing
2687 code handle optimized out values.
2688 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2689 * d-valprint.c (dynamic_array_type): Use
2690 value_bits_any_optimized_out.
2691 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2692 check_any_valid fields.
2693 (check_pieced_value_bits): Delete and inline ...
2694 (check_pieced_synthetic_pointer): ... here.
2695 (check_pieced_value_validity): Delete.
2696 (check_pieced_value_invalid): Delete.
2697 (pieced_value_funcs): Remove check_validity and check_any_valid
2698 fields.
2699 (read_pieced_value): Use mark_value_bits_optimized_out.
2700 (write_pieced_value): Switch to use
2701 mark_value_bytes_optimized_out.
2702 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2703 of assuming the whole value is optimized out.
2704 * findvar.c (read_frame_register_value): Remove special handling
2705 of optimized out registers.
2706 (value_from_register): Use mark_value_bytes_optimized_out.
2707 * frame-unwind.c (frame_unwind_got_optimized): Use
2708 mark_value_bytes_optimized_out.
2709 * jv-valprint.c (java_value_print): Adjust.
2710 (java_print_value_fields): Let the common printing code handle
2711 optimized out values.
2712 * mips-tdep.c (mips_print_register): Remove special handling of
2713 optimized out registers.
2714 * opencl-lang.c (lval_func_check_validity): Delete.
2715 (lval_func_check_any_valid): Delete.
2716 (opencl_value_funcs): Remove check_validity and check_any_valid
2717 fields.
2718 * p-valprint.c (pascal_object_print_value_fields): Let the common
2719 printing code handle optimized out values.
2720 * stack.c (read_frame_arg): Remove special handling of optimized
2721 out values. Fetch both VAL and ENTRYVAL before comparing
2722 contents. Adjust to value_available_contents_eq rename.
2723 * valprint.c (valprint_check_validity)
2724 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2725 (val_print_array_elements): Adjust.
2726 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2727 (value_bits_any_optimized_out): New function.
2728 (value_entirely_covered_by_range_vector): New function, factored
2729 out from value_entirely_unavailable.
2730 (value_entirely_unavailable): Reimplement.
2731 (value_entirely_optimized_out): New function.
2732 (insert_into_bit_range_vector): New function, factored out from
2733 mark_value_bits_unavailable.
2734 (mark_value_bits_unavailable): Reimplement.
2735 (struct ranges_and_idx): New struct.
2736 (find_first_range_overlap_and_match): New function, factored out
2737 from value_available_contents_bits_eq.
2738 (value_available_contents_bits_eq): Rename to ...
2739 (value_contents_bits_eq): ... this. Check both unavailable
2740 contents and optimized out contents.
2741 (value_available_contents_eq): Rename to ...
2742 (value_contents_eq): ... this.
2743 (allocate_value_lazy): Remove reference to the old optimized_out
2744 boolean.
2745 (allocate_optimized_out_value): Use
2746 mark_value_bytes_optimized_out.
2747 (require_not_optimized_out): Adjust to check whether the
2748 optimized_out vec is empty.
2749 (ranges_copy_adjusted): New function, factored out from
2750 value_contents_copy_raw.
2751 (value_contents_copy_raw): Also copy the optimized out ranges.
2752 Assert the destination ranges aren't optimized out.
2753 (value_contents_copy): Update comment, remove call to
2754 require_not_optimized_out.
2755 (value_contents_equal): Adjust to check whether the optimized_out
2756 vec is empty.
2757 (set_value_optimized_out, value_optimized_out_const): Delete.
2758 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2759 New functions.
2760 (value_entirely_optimized_out, value_bits_valid): Delete.
2761 (value_copy): Take a VEC copy of the 'optimized_out' field.
2762 (value_primitive_field): Remove special handling of optimized out.
2763 (value_fetch_lazy): Assert that lazy values have no unavailable
2764 regions. Use value_bits_any_optimized_out. Remove some special
2765 handling for optimized out values.
2766 * value.h: Add intro comment about <optimized out> and
2767 <unavailable>.
2768 (struct lval_funcs): Remove check_validity and check_any_valid
2769 fields.
2770 (set_value_optimized_out, value_optimized_out_const): Remove.
2771 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2772 New declarations.
2773 (value_bits_any_optimized_out): New declaration.
2774 (value_bits_valid): Delete declaration.
2775 (value_available_contents_eq): Rename to ...
2776 (value_contents_eq): ... this, and extend comments.
2777
6694c411
JK
27782014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2779
2780 Fix -fsanitize=address on unreadable inferior strings.
2781 * valprint.c (val_print_string): Fix access before BUFFER.
2782
89a1c21a
SM
27832014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2784
2785 * target.c (target_struct_size): Remove.
2786 (target_struct_allocsize): Remove.
2787 (DEFAULT_ALLOCSIZE): Remove.
2788 (target_ops_p): New typedef.
2789 (DEF_VEC_P (target_ops_p)): New vector type.
2790 (target_structs): Change type to VEC (target_ops_p).
2791 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2792 (find_default_run_target): Rewrite for loop following changes to
2793 target_structs.
2794
cb417230
JB
27952014-08-19 Joel Brobecker <brobecker@adacore.com>
2796
2797 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2798 Adjust code accordingly. Adjust function description comment.
2799
817e0957
YQ
28002014-08-19 Yao Qi <yao@codesourcery.com>
2801
2802 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2803 types.
2804
2974be62
AM
28052014-08-19 Alan Modra <amodra@gmail.com>
2806
2807 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2808 * config.in: Regenerate.
2809 * configure: Regenerate.
2810
34abf635
GB
28112014-08-19 Tom Tromey <tromey@redhat.com>
2812 Gary Benson <gbenson@redhat.com>
2813
2814 * common/common-debug.h: New file.
2815 * common/common-debug.c: Likewise.
2816 * debug.c: Likewise.
2817 * Makefile.in (SFILES): Add common/common-debug.c.
2818 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2819 (COMMON_OBS): Add common-debug.o and debug.o.
2820 (common-debug.o): New rule.
2821 * common/common-defs.h: Include common-debug.h.
2822 * common/agent.c (debug_agent_printf): New function.
2823 (DEBUG_AGENT): Redefine.
2824 * nat/i386-dregs.c (debug_printf): Undefine.
2825
f6e94d78
GB
28262014-08-19 Gary Benson <gbenson@redhat.com>
2827
2828 * common/common-defs.h: Include print-utils.h.
2829 * utils.h: Do not include print-utils.h.
2830
9239eeab
GB
28312014-08-19 Tom Tromey <tromey@redhat.com>
2832 Gary Benson <gbenson@redhat.com>
2833
2834 * common/common-types.h: New file.
2835 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2836 * common/common-defs.h: Include common-types.h.
2837 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2838 (ULONGEST): Remove.
2839
ef87c8bb
GB
28402014-08-19 Tom Tromey <tromey@redhat.com>
2841 Gary Benson <gbenson@redhat.com>
2842
2843 * common/errors.h: New file.
2844 * common/errors.c: Likewise.
2845 * Makefile.in (SFILES): Add common/errors.c.
2846 (HFILES_NO_SRCDIR): Add common/errors.h.
2847 (COMMON_OBS): Add errors.o.
2848 (errors.o): New rule.
2849 * common/common-defs.h: Include errors.h.
2850 * utils.h (perror_with_name, error, verror, warning, vwarning):
2851 Don't declare.
2852 * common/common-utils.h: (malloc_failure, internal_error):
2853 Likewise.
2854
196a707b
GB
28552014-08-19 Gary Benson <gbenson@redhat.com>
2856
2857 * utils.c (internal_vproblem): Always print the message.
2858
ded4fc8f
DE
28592014-08-18 Doug Evans <dje@google.com>
2860
2861 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2862
950c97d8
JB
28632014-08-18 Joel Brobecker <brobecker@adacore.com>
2864
2865 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2866 Return 0 if TYPE is dynamic.
2867 (print_range): Add handling of dynamic ranges.
2868
3cdcd0ce
JB
28692014-08-18 Keven Boell <keven.boell@intel.com>
2870 Joel Brobecker <brobecker@adacore.com>
2871
2872 * gdbtypes.h (struct main_type): Add field "data_location".
2873 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2874 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2875 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2876 a dynamic data location.
2877 (resolve_dynamic_type): Add DW_AT_data_location handling.
2878 (copy_recursive, copy_type): Copy the data_location information
2879 when present.
2880 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2881 * value.c (value_from_contents_and_address): Add
2882 DW_AT_data_location handling.
2883
08412b07
JB
28842014-08-18 Keven Boell <keven.boell@intel.com>
2885 Joel Brobecker <brobecker@adacore.com>
2886
2887 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2888 field "get_object_address".
2889 * dwarf2expr.c (execute_stack_op): Add handling for
2890 DW_OP_push_object_address.
2891 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2892 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2893 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2894 (dwarf_expr_get_obj_addr): New function.
2895 (dwarf_expr_ctx_funcs): Add get_object_address field.
2896 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2897 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2898 (dwarf2_evaluate_property): Add parameter "address". Use it.
2899 (needs_get_obj_addr): New function.
2900 (needs_frame_ctx_funcs): Add get_object_address field.
2901 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2902 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2903 (resolve_dynamic_array): Likewise.
2904
84754697
JB
29052014-08-18 Joel Brobecker <brobecker@adacore.com>
2906
2907 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2908 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2909 fixed value for records and unions for which some GNAT encodings
2910 are present.
2911
da5c522f
JB
29122014-08-18 Joel Brobecker <brobecker@adacore.com>
2913
2914 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2915 rewrite to avoid "else if" and "else" constructs. Should be
2916 a no-op in practice.
2917
0d72a7c3
JB
29182014-08-18 Joel Brobecker <brobecker@adacore.com>
2919
2920 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2921 of lexical block.
2922
e66d4446
SC
29232014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2924
2925 PR c++/17132
2926 * eval.c: Update all calls to find_overload_match.
2927 * valarith.c: Likewise.
2928 (value_user_defined_cpp_op, value_user_defined_op): New
2929 argument NOSIDE. Update all callers.
2930 * valops.c (find_overload_match): New argument NOSIDE.
2931 * value.h (find_overload_match): Update signature.
2932
940df408
SC
29332014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2934
2935 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2936 'items' methods instead of 'iteritems' method on dictionaries.
2937
699ca60a
DE
29382014-08-15 Doug Evans <dje@google.com>
2939
2940 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2941 closer to use.
2942
37780ee5
DE
29432014-08-15 Doug Evans <dje@google.com>
2944
2945 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2946
0ad93d4f
DE
29472014-08-15 Doug Evans <dje@google.com>
2948
2949 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2950
20d8c372
DE
29512014-08-15 Doug Evans <dje@google.com>
2952
2953 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2954 unused.
2955
cb039ba4
EZ
29562014-08-15 Eli Zaretskii <eliz@gnu.org>
2957
2958 * dcache.h: Include target.h, to avoid compile time warnings.
2959
eb7a547a
JB
29602014-08-15 Joel Brobecker <brobecker@adacore.com>
2961
2962 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2963 frame_info" partial declaration.
2964 * gdbarch.h: Regenerate.
2965
783cecc8
YQ
29662014-08-15 Yao Qi <yao@codesourcery.com>
2967
2968 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2969 Add parameter 'decode_for_pst_p'. Callers update.
2970
65c749e7
YQ
29712014-08-13 Yao Qi <yao@codesourcery.com>
2972
2973 PR build/17104
2974 * configure.ac: Use local variable 'pos'.
2975 * configure: Regenerated.
2976
d769e349
DE
29772014-08-11 Doug Evans <dje@google.com>
2978
2979 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2980 message, it is redundant with "Reading symbols from ..." message.
2981
24f1235e
DE
29822014-08-10 Doug Evans <xdje42@gmail.com>
2983
2984 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2985
dcd2e6ef
YQ
29862014-08-09 Yao Qi <yao@codesourcery.com>
2987
2988 PR remote/9053
2989 * remote.c (remote_xfer_partial): Remove dead code.
2990
070bdf0b
AA
29912014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2992
2993 * ia64-linux-tdep.c: Include "regset.h".
2994 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2995 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2996 (ia64_linux_supply_fpregset): New function.
2997 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2998 (ia64_linux_regset_from_core_section): New function.
2999 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3000 method.
3001
08f9f542
AA
30022014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3003
3004 * m68klinux-tdep.c: Include "regset.h".
3005 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3006 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3007 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3008 (m68k_linux_regset_from_core_section): New function.
3009 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3010 method.
3011
8f1cee41
AA
30122014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3013
3014 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3015 function. Move logic to...
3016 (tilegx_linux_regmap): ... this new register map.
3017 (tilegx_linux_regset): Refer to register map, replace supply
3018 method by regcache_supply_regset, and add collect method.
3019 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3020 TILEGX_FIRST_EASY_REGNUM.
3021
c5741217
AA
30222014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3023
3024 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3025 that calls regcache_supply_regset and handles the EPC register
3026 separately. Move main logic to...
3027 (score7_linux_gregmap): ... this new register map.
3028 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3029 (score7_linux_gregset): Refer to register map. Add collect method.
3030 (score7_linux_regset_from_core_section): Replace
3031 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3032 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3033 (struct regset): Delete unused forward declaraction.
3034 (struct pt_regs): Delete structure definition.
3035 (elf_gregset_t): Delete typedef.
3036
81580573
AA
30372014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3038
3039 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3040 (nios2_core_regset): Add collect method.
3041
ba199d7d
AA
30422014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3043
3044 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3045 platform-independent and don't write to read-only input buffer.
3046 (m32r_linux_collect_gregset): New function.
3047 (m32r_linux_gregset): Add collect method.
3048
0006a9da
AA
30492014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050
3051 * hppa-linux-tdep.c (greg_map): Rename to...
3052 (hppa_linux_gregmap): ... this. Also convert to
3053 regcache_map_entry format.
3054 (hppa_linux_supply_regset): Delete function.
3055 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3056 (hppa_linux_fpregmap): ... this new register map.
3057 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3058 register map, replace supply method by regcache_supply_regset, and
3059 add collect method regcache_collect_regset.
3060
901e1b23
AA
30612014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3062
3063 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3064 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3065 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3066 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3067 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3068 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3069 (frv_linux_supply_gregset): Replace main logic by call to
3070 regcache_supply_regset, but keep clearing gr32-gr63.
3071 (frv_linux_supply_fpregset): Delete function.
3072 (frv_linux_gregset): Refer to appropriate register map and add
3073 regcache_collect_regset as the collect method.
3074 (frv_linux_fpregset): Likewise. Also exchange the supply method
3075 by regcache_supply_regset.
3076
1d6e7555
AA
30772014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3078
3079 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3080 by call to alpha_supply_int_regs.
3081 (alpha_linux_collect_gregset): New function.
3082 (alpha_linux_supply_fpregset): Replace logic by call to
3083 alpha_supply_fp_regs.
3084 (alpha_linux_collect_fpregset): New function.
3085 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3086
d4d793bf
AA
30872014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3088
3089 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3090 by call to regcache_collect_regset.
3091 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3092 instead of aarch64_linux_supply_gregset/_fpregset.
3093 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3094 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3095 header file instead.
3096 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3097 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3098 functions. Move logic to ...
3099 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3100 register maps.
3101 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3102 refer to new register maps, replace *_regset_from_core by
3103 regcache_supply_regset, and also use regcache_collect_regset.
3104 * aarch64-linux-tdep.h: Include "regset.h".
3105 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3106 Delete prototypes.
3107 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3108 macros, moved from C source file.
3109 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3110 variable declarations.
3111
99b7da5d
AA
31122014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3113
3114 * s390-linux-nat.c: Include "regset.h".
3115 (regmap_gregset): Delete macro.
3116 (s390_64_regmap_gregset): New register map for
3117 regcache_supply/_collect_regset.
3118 (s390_64_gregset): New regset.
3119 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3120 (regmap_fpregset): Delete macro.
3121 (s390_native_supply, s390_native_collect): Delete functions.
3122 (supply_gregset, fill_gregset): Replace s390-specific regmap
3123 handling by a call to regcache_supply/_collect_regset.
3124 (supply_fpregset, fill_fpregset): Call regcache_supply/
3125 _collect_regset instead of s390_native_supply/_collect.
3126 (fetch_regset, store_regset): Likewise. Also change the last
3127 parameter to a regset instead of a regmap.
3128 (s390_linux_fetch_inferior_registers)
3129 (390_linux_store_inferior_registers): Adjust last parameter in
3130 calls to fetch_regset and store_regset.
3131 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3132 (s390_gregmap): ... this. Also make static const and convert to
3133 regcache_map_entry format.
3134 (s390x_regmap_gregset): Delete.
3135 (s390_regmap_fpregset): Rename to...
3136 (s390_fpregmap): ... this. Make static const and convert to
3137 regcache_map_entry format.
3138 (s390_regmap_upper, s390_regmap_last_break)
3139 (s390x_regmap_last_break, s390_regmap_system_call)
3140 (s390_regmap_tdb): Likewise.
3141 (s390_supply_regset, s390_collect_regset): Remove functions.
3142 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3143 s390_supply_regset.
3144 (s390_gregset, s390_fpregset, s390_upper_regset)
3145 (s390_last_break_regset, s390x_last_break_regset)
3146 (s390_system_call_regset, s390_tdb_regset): Make global and
3147 replace s390_supply/_collect_regset by regcache_supply/
3148 _collect_regset.
3149 (s390x_gregset): Delete.
3150 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3151 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3152 (s390_regmap_fpregset, s390_regmap_last_break)
3153 (s390x_regmap_last_break, s390_regmap_system_call)
3154 (s390_regmap_tdb): Delete global variable declarations.
3155 (s390_gregset, s390_fpregset, s390_last_break_regset)
3156 (s390x_last_break_regset, s390_system_call_regset)
3157 (s390_tdb_regset): New global variable declarations.
3158
0b309272
AA
31592014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3160
3161 * regcache.c: Include "regset.h".
3162 (regcache_transfer_regset): New local function.
3163 (regcache_supply_regset, regcache_collect_regset): New functions.
3164 * regcache.h (struct regcache_map_entry): New structure.
3165 (REGCACHE_MAP_SKIP): New enum value.
3166 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3167
7fefa8d7
AA
31682014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3169
3170 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3171 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3172 (ppc_linux_collect_gregset ): Likewise.
3173 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3174 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3175 (ppc_collect_vrregset): Likewise.
3176 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3177 Likewise.
3178
96c4f946
YQ
31792014-08-07 Yao Qi <yao@codesourcery.com>
3180
3181 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3182 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3183 * remote.c (remote_read_bytes): Likewise.
3184
fffbe6a8
YQ
31852014-08-07 Yao Qi <yao@codesourcery.com>
3186
3187 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3188
5ee8a82c
YQ
31892014-08-07 Yao Qi <yao@codesourcery.com>
3190
3191 PR remote/17230
3192 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3193 TARGET_XFER_OK instead of 0.
3194
bb974a24
GB
31952014-08-07 Gary Benson <gbenson@redhat.com>
3196
3197 * common/common-defs.h: Include errno.h.
3198 * defs.h: Do not include errno.h.
3199 * ada-typeprint.c: Likewise.
3200 * c-typeprint.c: Likewise.
3201 * core-regset.c: Likewise.
3202 * corefile.c: Likewise.
3203 * corelow.c: Likewise.
3204 * event-loop.c: Likewise.
3205 * f-typeprint.c: Likewise.
3206 * gnu-nat.c: Likewise.
3207 * go32-nat.c: Likewise.
3208 * i386gnu-nat.c: Likewise.
3209 * m2-typeprint.c: Likewise.
3210 * nat/linux-btrace.c: Likewise.
3211 * p-typeprint.c: Likewise.
3212 * procfs.c: Likewise.
3213 * remote-sim.c: Likewise.
3214 * rs6000-nat.c: Likewise.
3215 * target.c: Likewise.
3216 * typeprint.c: Likewise.
3217 * ui-file.c: Likewise.
3218 * valops.c: Likewise.
3219 * valprint.c: Likewise.
3220
6d3d12eb
GB
32212014-08-07 Gary Benson <gbenson@redhat.com>
3222
3223 * common/common-defs.h: Include string.h.
3224 * aarch64-tdep.c: Do not include string.h.
3225 * ada-exp.y: Likewise.
3226 * ada-lang.c: Likewise.
3227 * ada-lex.l: Likewise.
3228 * ada-typeprint.c: Likewise.
3229 * ada-valprint.c: Likewise.
3230 * aix-thread.c: Likewise.
3231 * alpha-linux-tdep.c: Likewise.
3232 * alpha-mdebug-tdep.c: Likewise.
3233 * alpha-nat.c: Likewise.
3234 * alpha-osf1-tdep.c: Likewise.
3235 * alpha-tdep.c: Likewise.
3236 * alphanbsd-tdep.c: Likewise.
3237 * amd64-dicos-tdep.c: Likewise.
3238 * amd64-linux-tdep.c: Likewise.
3239 * amd64-nat.c: Likewise.
3240 * amd64-sol2-tdep.c: Likewise.
3241 * amd64fbsd-tdep.c: Likewise.
3242 * amd64obsd-tdep.c: Likewise.
3243 * arch-utils.c: Likewise.
3244 * arm-linux-nat.c: Likewise.
3245 * arm-linux-tdep.c: Likewise.
3246 * arm-tdep.c: Likewise.
3247 * arm-wince-tdep.c: Likewise.
3248 * armbsd-tdep.c: Likewise.
3249 * armnbsd-nat.c: Likewise.
3250 * armnbsd-tdep.c: Likewise.
3251 * armobsd-tdep.c: Likewise.
3252 * avr-tdep.c: Likewise.
3253 * ax-gdb.c: Likewise.
3254 * ax-general.c: Likewise.
3255 * bcache.c: Likewise.
3256 * bfin-tdep.c: Likewise.
3257 * breakpoint.c: Likewise.
3258 * build-id.c: Likewise.
3259 * buildsym.c: Likewise.
3260 * c-exp.y: Likewise.
3261 * c-lang.c: Likewise.
3262 * c-typeprint.c: Likewise.
3263 * c-valprint.c: Likewise.
3264 * charset.c: Likewise.
3265 * cli-out.c: Likewise.
3266 * cli/cli-cmds.c: Likewise.
3267 * cli/cli-decode.c: Likewise.
3268 * cli/cli-dump.c: Likewise.
3269 * cli/cli-interp.c: Likewise.
3270 * cli/cli-logging.c: Likewise.
3271 * cli/cli-script.c: Likewise.
3272 * cli/cli-setshow.c: Likewise.
3273 * cli/cli-utils.c: Likewise.
3274 * coffread.c: Likewise.
3275 * common/agent.c: Likewise.
3276 * common/buffer.c: Likewise.
3277 * common/buffer.h: Likewise.
3278 * common/common-utils.c: Likewise.
3279 * common/filestuff.c: Likewise.
3280 * common/filestuff.c: Likewise.
3281 * common/format.c: Likewise.
3282 * common/print-utils.c: Likewise.
3283 * common/rsp-low.c: Likewise.
3284 * common/signals.c: Likewise.
3285 * common/vec.h: Likewise.
3286 * common/xml-utils.c: Likewise.
3287 * core-regset.c: Likewise.
3288 * corefile.c: Likewise.
3289 * corelow.c: Likewise.
3290 * cp-abi.c: Likewise.
3291 * cp-name-parser.y: Likewise.
3292 * cp-support.c: Likewise.
3293 * cp-valprint.c: Likewise.
3294 * cris-tdep.c: Likewise.
3295 * d-exp.y: Likewise.
3296 * darwin-nat.c: Likewise.
3297 * dbxread.c: Likewise.
3298 * dcache.c: Likewise.
3299 * demangle.c: Likewise.
3300 * dicos-tdep.c: Likewise.
3301 * disasm.c: Likewise.
3302 * doublest.c: Likewise.
3303 * dsrec.c: Likewise.
3304 * dummy-frame.c: Likewise.
3305 * dwarf2-frame.c: Likewise.
3306 * dwarf2loc.c: Likewise.
3307 * dwarf2read.c: Likewise.
3308 * elfread.c: Likewise.
3309 * environ.c: Likewise.
3310 * eval.c: Likewise.
3311 * event-loop.c: Likewise.
3312 * exceptions.c: Likewise.
3313 * exec.c: Likewise.
3314 * expprint.c: Likewise.
3315 * f-exp.y: Likewise.
3316 * f-lang.c: Likewise.
3317 * f-typeprint.c: Likewise.
3318 * f-valprint.c: Likewise.
3319 * fbsd-nat.c: Likewise.
3320 * findcmd.c: Likewise.
3321 * findvar.c: Likewise.
3322 * fork-child.c: Likewise.
3323 * frame.c: Likewise.
3324 * frv-linux-tdep.c: Likewise.
3325 * frv-tdep.c: Likewise.
3326 * gdb.c: Likewise.
3327 * gdb_bfd.c: Likewise.
3328 * gdbarch.c: Likewise.
3329 * gdbarch.sh: Likewise.
3330 * gdbtypes.c: Likewise.
3331 * gnu-nat.c: Likewise.
3332 * gnu-v2-abi.c: Likewise.
3333 * gnu-v3-abi.c: Likewise.
3334 * go-exp.y: Likewise.
3335 * go-lang.c: Likewise.
3336 * go32-nat.c: Likewise.
3337 * guile/guile.c: Likewise.
3338 * guile/scm-auto-load.c: Likewise.
3339 * hppa-hpux-tdep.c: Likewise.
3340 * hppa-linux-nat.c: Likewise.
3341 * hppanbsd-tdep.c: Likewise.
3342 * hppaobsd-tdep.c: Likewise.
3343 * i386-cygwin-tdep.c: Likewise.
3344 * i386-dicos-tdep.c: Likewise.
3345 * i386-linux-tdep.c: Likewise.
3346 * i386-nto-tdep.c: Likewise.
3347 * i386-sol2-tdep.c: Likewise.
3348 * i386-tdep.c: Likewise.
3349 * i386bsd-tdep.c: Likewise.
3350 * i386gnu-nat.c: Likewise.
3351 * i386nbsd-tdep.c: Likewise.
3352 * i386obsd-tdep.c: Likewise.
3353 * i387-tdep.c: Likewise.
3354 * ia64-libunwind-tdep.c: Likewise.
3355 * ia64-linux-nat.c: Likewise.
3356 * inf-child.c: Likewise.
3357 * inf-ptrace.c: Likewise.
3358 * inf-ttrace.c: Likewise.
3359 * infcall.c: Likewise.
3360 * infcmd.c: Likewise.
3361 * inflow.c: Likewise.
3362 * infrun.c: Likewise.
3363 * interps.c: Likewise.
3364 * iq2000-tdep.c: Likewise.
3365 * irix5-nat.c: Likewise.
3366 * jv-exp.y: Likewise.
3367 * jv-lang.c: Likewise.
3368 * jv-typeprint.c: Likewise.
3369 * jv-valprint.c: Likewise.
3370 * language.c: Likewise.
3371 * linux-fork.c: Likewise.
3372 * linux-nat.c: Likewise.
3373 * lm32-tdep.c: Likewise.
3374 * m2-exp.y: Likewise.
3375 * m2-typeprint.c: Likewise.
3376 * m32c-tdep.c: Likewise.
3377 * m32r-linux-nat.c: Likewise.
3378 * m32r-linux-tdep.c: Likewise.
3379 * m32r-rom.c: Likewise.
3380 * m32r-tdep.c: Likewise.
3381 * m68hc11-tdep.c: Likewise.
3382 * m68k-tdep.c: Likewise.
3383 * m68kbsd-tdep.c: Likewise.
3384 * m68klinux-nat.c: Likewise.
3385 * m68klinux-tdep.c: Likewise.
3386 * m88k-tdep.c: Likewise.
3387 * machoread.c: Likewise.
3388 * macrocmd.c: Likewise.
3389 * main.c: Likewise.
3390 * mdebugread.c: Likewise.
3391 * mem-break.c: Likewise.
3392 * memattr.c: Likewise.
3393 * memory-map.c: Likewise.
3394 * mep-tdep.c: Likewise.
3395 * mi/mi-cmd-break.c: Likewise.
3396 * mi/mi-cmd-disas.c: Likewise.
3397 * mi/mi-cmd-env.c: Likewise.
3398 * mi/mi-cmd-stack.c: Likewise.
3399 * mi/mi-cmd-var.c: Likewise.
3400 * mi/mi-cmds.c: Likewise.
3401 * mi/mi-console.c: Likewise.
3402 * mi/mi-getopt.c: Likewise.
3403 * mi/mi-interp.c: Likewise.
3404 * mi/mi-main.c: Likewise.
3405 * mi/mi-parse.c: Likewise.
3406 * microblaze-rom.c: Likewise.
3407 * microblaze-tdep.c: Likewise.
3408 * mingw-hdep.c: Likewise.
3409 * minidebug.c: Likewise.
3410 * minsyms.c: Likewise.
3411 * mips-irix-tdep.c: Likewise.
3412 * mips-linux-tdep.c: Likewise.
3413 * mips-tdep.c: Likewise.
3414 * mips64obsd-tdep.c: Likewise.
3415 * mipsnbsd-tdep.c: Likewise.
3416 * mipsread.c: Likewise.
3417 * mn10300-linux-tdep.c: Likewise.
3418 * mn10300-tdep.c: Likewise.
3419 * monitor.c: Likewise.
3420 * moxie-tdep.c: Likewise.
3421 * mt-tdep.c: Likewise.
3422 * nat/linux-btrace.c: Likewise.
3423 * nat/linux-osdata.c: Likewise.
3424 * nat/linux-procfs.c: Likewise.
3425 * nat/linux-ptrace.c: Likewise.
3426 * nat/linux-waitpid.c: Likewise.
3427 * nbsd-tdep.c: Likewise.
3428 * nios2-linux-tdep.c: Likewise.
3429 * nto-procfs.c: Likewise.
3430 * nto-tdep.c: Likewise.
3431 * objc-lang.c: Likewise.
3432 * objfiles.c: Likewise.
3433 * opencl-lang.c: Likewise.
3434 * osabi.c: Likewise.
3435 * osdata.c: Likewise.
3436 * p-exp.y: Likewise.
3437 * p-lang.c: Likewise.
3438 * p-typeprint.c: Likewise.
3439 * parse.c: Likewise.
3440 * posix-hdep.c: Likewise.
3441 * ppc-linux-nat.c: Likewise.
3442 * ppc-sysv-tdep.c: Likewise.
3443 * ppcfbsd-tdep.c: Likewise.
3444 * ppcnbsd-tdep.c: Likewise.
3445 * ppcobsd-tdep.c: Likewise.
3446 * printcmd.c: Likewise.
3447 * procfs.c: Likewise.
3448 * prologue-value.c: Likewise.
3449 * python/py-auto-load.c: Likewise.
3450 * python/py-gdb-readline.c: Likewise.
3451 * ravenscar-thread.c: Likewise.
3452 * regcache.c: Likewise.
3453 * registry.c: Likewise.
3454 * remote-fileio.c: Likewise.
3455 * remote-m32r-sdi.c: Likewise.
3456 * remote-mips.c: Likewise.
3457 * remote-notif.c: Likewise.
3458 * remote-sim.c: Likewise.
3459 * remote.c: Likewise.
3460 * reverse.c: Likewise.
3461 * rs6000-aix-tdep.c: Likewise.
3462 * ser-base.c: Likewise.
3463 * ser-go32.c: Likewise.
3464 * ser-mingw.c: Likewise.
3465 * ser-pipe.c: Likewise.
3466 * ser-tcp.c: Likewise.
3467 * ser-unix.c: Likewise.
3468 * serial.c: Likewise.
3469 * sh-tdep.c: Likewise.
3470 * sh64-tdep.c: Likewise.
3471 * shnbsd-tdep.c: Likewise.
3472 * skip.c: Likewise.
3473 * sol-thread.c: Likewise.
3474 * solib-dsbt.c: Likewise.
3475 * solib-frv.c: Likewise.
3476 * solib-osf.c: Likewise.
3477 * solib-som.c: Likewise.
3478 * solib-spu.c: Likewise.
3479 * solib-target.c: Likewise.
3480 * solib.c: Likewise.
3481 * somread.c: Likewise.
3482 * source.c: Likewise.
3483 * sparc-nat.c: Likewise.
3484 * sparc-sol2-tdep.c: Likewise.
3485 * sparc-tdep.c: Likewise.
3486 * sparc64-tdep.c: Likewise.
3487 * sparc64fbsd-tdep.c: Likewise.
3488 * sparc64nbsd-tdep.c: Likewise.
3489 * sparcnbsd-tdep.c: Likewise.
3490 * spu-linux-nat.c: Likewise.
3491 * spu-multiarch.c: Likewise.
3492 * spu-tdep.c: Likewise.
3493 * stabsread.c: Likewise.
3494 * stack.c: Likewise.
3495 * std-regs.c: Likewise.
3496 * symfile.c: Likewise.
3497 * symmisc.c: Likewise.
3498 * symtab.c: Likewise.
3499 * target.c: Likewise.
3500 * thread.c: Likewise.
3501 * tilegx-linux-nat.c: Likewise.
3502 * tilegx-tdep.c: Likewise.
3503 * top.c: Likewise.
3504 * tracepoint.c: Likewise.
3505 * tui/tui-command.c: Likewise.
3506 * tui/tui-data.c: Likewise.
3507 * tui/tui-disasm.c: Likewise.
3508 * tui/tui-file.c: Likewise.
3509 * tui/tui-layout.c: Likewise.
3510 * tui/tui-out.c: Likewise.
3511 * tui/tui-regs.c: Likewise.
3512 * tui/tui-source.c: Likewise.
3513 * tui/tui-stack.c: Likewise.
3514 * tui/tui-win.c: Likewise.
3515 * tui/tui-windata.c: Likewise.
3516 * tui/tui-winsource.c: Likewise.
3517 * typeprint.c: Likewise.
3518 * ui-file.c: Likewise.
3519 * ui-out.c: Likewise.
3520 * user-regs.c: Likewise.
3521 * utils.c: Likewise.
3522 * v850-tdep.c: Likewise.
3523 * valarith.c: Likewise.
3524 * valops.c: Likewise.
3525 * valprint.c: Likewise.
3526 * value.c: Likewise.
3527 * varobj.c: Likewise.
3528 * vax-tdep.c: Likewise.
3529 * vaxnbsd-tdep.c: Likewise.
3530 * vaxobsd-tdep.c: Likewise.
3531 * windows-nat.c: Likewise.
3532 * xcoffread.c: Likewise.
3533 * xml-support.c: Likewise.
3534 * xstormy16-tdep.c: Likewise.
3535 * xtensa-linux-nat.c: Likewise.
3536
dccbb609
GB
35372014-08-07 Gary Benson <gbenson@redhat.com>
3538
3539 * common/common-defs.h: Include gdb_assert.h.
3540 * aarch64-tdep.c: Do not include gdb_assert.h.
3541 * addrmap.c: Likewise.
3542 * aix-thread.c: Likewise.
3543 * alpha-linux-tdep.c: Likewise.
3544 * alpha-mdebug-tdep.c: Likewise.
3545 * alphanbsd-tdep.c: Likewise.
3546 * amd64-nat.c: Likewise.
3547 * amd64-tdep.c: Likewise.
3548 * amd64bsd-nat.c: Likewise.
3549 * amd64fbsd-nat.c: Likewise.
3550 * amd64fbsd-tdep.c: Likewise.
3551 * amd64nbsd-nat.c: Likewise.
3552 * amd64nbsd-tdep.c: Likewise.
3553 * amd64obsd-nat.c: Likewise.
3554 * amd64obsd-tdep.c: Likewise.
3555 * arch-utils.c: Likewise.
3556 * arm-tdep.c: Likewise.
3557 * armbsd-tdep.c: Likewise.
3558 * auxv.c: Likewise.
3559 * bcache.c: Likewise.
3560 * bfin-tdep.c: Likewise.
3561 * blockframe.c: Likewise.
3562 * breakpoint.c: Likewise.
3563 * bsd-kvm.c: Likewise.
3564 * bsd-uthread.c: Likewise.
3565 * buildsym.c: Likewise.
3566 * c-exp.y: Likewise.
3567 * c-lang.c: Likewise.
3568 * charset.c: Likewise.
3569 * cleanups.c: Likewise.
3570 * cli-out.c: Likewise.
3571 * cli/cli-decode.c: Likewise.
3572 * cli/cli-dump.c: Likewise.
3573 * cli/cli-logging.c: Likewise.
3574 * cli/cli-script.c: Likewise.
3575 * cli/cli-utils.c: Likewise.
3576 * coffread.c: Likewise.
3577 * common/common-utils.c: Likewise.
3578 * common/queue.h: Likewise.
3579 * common/signals.c: Likewise.
3580 * common/vec.h: Likewise.
3581 * complaints.c: Likewise.
3582 * completer.c: Likewise.
3583 * corelow.c: Likewise.
3584 * cp-abi.c: Likewise.
3585 * cp-name-parser.y: Likewise.
3586 * cp-namespace.c: Likewise.
3587 * cp-support.c: Likewise.
3588 * cris-tdep.c: Likewise.
3589 * dbxread.c: Likewise.
3590 * dictionary.c: Likewise.
3591 * doublest.c: Likewise.
3592 * dsrec.c: Likewise.
3593 * dummy-frame.c: Likewise.
3594 * dwarf2-frame-tailcall.c: Likewise.
3595 * dwarf2-frame.c: Likewise.
3596 * dwarf2expr.c: Likewise.
3597 * dwarf2loc.c: Likewise.
3598 * dwarf2read.c: Likewise.
3599 * eval.c: Likewise.
3600 * event-loop.c: Likewise.
3601 * exceptions.c: Likewise.
3602 * expprint.c: Likewise.
3603 * f-valprint.c: Likewise.
3604 * fbsd-nat.c: Likewise.
3605 * findvar.c: Likewise.
3606 * frame-unwind.c: Likewise.
3607 * frame.c: Likewise.
3608 * frv-tdep.c: Likewise.
3609 * gcore.c: Likewise.
3610 * gdb-dlfcn.c: Likewise.
3611 * gdb_bfd.c: Likewise.
3612 * gdbarch.c: Likewise.
3613 * gdbarch.sh: Likewise.
3614 * gdbtypes.c: Likewise.
3615 * gnu-nat.c: Likewise.
3616 * gnu-v3-abi.c: Likewise.
3617 * go-lang.c: Likewise.
3618 * guile/scm-exception.c: Likewise.
3619 * guile/scm-gsmob.c: Likewise.
3620 * guile/scm-lazy-string.c: Likewise.
3621 * guile/scm-math.c: Likewise.
3622 * guile/scm-pretty-print.c: Likewise.
3623 * guile/scm-safe-call.c: Likewise.
3624 * guile/scm-utils.c: Likewise.
3625 * guile/scm-value.c: Likewise.
3626 * h8300-tdep.c: Likewise.
3627 * hppa-hpux-nat.c: Likewise.
3628 * hppa-tdep.c: Likewise.
3629 * hppanbsd-tdep.c: Likewise.
3630 * hppaobsd-tdep.c: Likewise.
3631 * i386-darwin-nat.c: Likewise.
3632 * i386-darwin-tdep.c: Likewise.
3633 * i386-nto-tdep.c: Likewise.
3634 * i386-tdep.c: Likewise.
3635 * i386bsd-nat.c: Likewise.
3636 * i386fbsd-tdep.c: Likewise.
3637 * i386gnu-nat.c: Likewise.
3638 * i386nbsd-tdep.c: Likewise.
3639 * i386obsd-tdep.c: Likewise.
3640 * i387-tdep.c: Likewise.
3641 * ia64-libunwind-tdep.c: Likewise.
3642 * ia64-tdep.c: Likewise.
3643 * inf-ptrace.c: Likewise.
3644 * inf-ttrace.c: Likewise.
3645 * infcall.c: Likewise.
3646 * infcmd.c: Likewise.
3647 * infrun.c: Likewise.
3648 * inline-frame.c: Likewise.
3649 * interps.c: Likewise.
3650 * jv-lang.c: Likewise.
3651 * jv-typeprint.c: Likewise.
3652 * linux-fork.c: Likewise.
3653 * linux-nat.c: Likewise.
3654 * linux-thread-db.c: Likewise.
3655 * m32c-tdep.c: Likewise.
3656 * m32r-linux-nat.c: Likewise.
3657 * m32r-tdep.c: Likewise.
3658 * m68k-tdep.c: Likewise.
3659 * m68kbsd-nat.c: Likewise.
3660 * m68kbsd-tdep.c: Likewise.
3661 * m88k-tdep.c: Likewise.
3662 * machoread.c: Likewise.
3663 * macroexp.c: Likewise.
3664 * macrotab.c: Likewise.
3665 * maint.c: Likewise.
3666 * mdebugread.c: Likewise.
3667 * memory-map.c: Likewise.
3668 * mep-tdep.c: Likewise.
3669 * mi/mi-common.c: Likewise.
3670 * microblaze-tdep.c: Likewise.
3671 * mingw-hdep.c: Likewise.
3672 * mips-linux-nat.c: Likewise.
3673 * mips-linux-tdep.c: Likewise.
3674 * mips-tdep.c: Likewise.
3675 * mips64obsd-tdep.c: Likewise.
3676 * mipsnbsd-tdep.c: Likewise.
3677 * mn10300-linux-tdep.c: Likewise.
3678 * mn10300-tdep.c: Likewise.
3679 * moxie-tdep.c: Likewise.
3680 * mt-tdep.c: Likewise.
3681 * nat/linux-btrace.c: Likewise.
3682 * nat/linux-osdata.c: Likewise.
3683 * nat/linux-ptrace.c: Likewise.
3684 * nat/mips-linux-watch.c: Likewise.
3685 * nios2-linux-tdep.c: Likewise.
3686 * nios2-tdep.c: Likewise.
3687 * objc-lang.c: Likewise.
3688 * objfiles.c: Likewise.
3689 * obsd-nat.c: Likewise.
3690 * opencl-lang.c: Likewise.
3691 * osabi.c: Likewise.
3692 * parse.c: Likewise.
3693 * ppc-linux-nat.c: Likewise.
3694 * ppc-sysv-tdep.c: Likewise.
3695 * ppcfbsd-nat.c: Likewise.
3696 * ppcfbsd-tdep.c: Likewise.
3697 * ppcnbsd-nat.c: Likewise.
3698 * ppcnbsd-tdep.c: Likewise.
3699 * ppcobsd-nat.c: Likewise.
3700 * ppcobsd-tdep.c: Likewise.
3701 * printcmd.c: Likewise.
3702 * procfs.c: Likewise.
3703 * prologue-value.c: Likewise.
3704 * psymtab.c: Likewise.
3705 * python/py-lazy-string.c: Likewise.
3706 * python/py-value.c: Likewise.
3707 * regcache.c: Likewise.
3708 * reggroups.c: Likewise.
3709 * registry.c: Likewise.
3710 * remote-sim.c: Likewise.
3711 * remote.c: Likewise.
3712 * rs6000-aix-tdep.c: Likewise.
3713 * rs6000-tdep.c: Likewise.
3714 * s390-linux-tdep.c: Likewise.
3715 * score-tdep.c: Likewise.
3716 * ser-base.c: Likewise.
3717 * ser-mingw.c: Likewise.
3718 * sh-tdep.c: Likewise.
3719 * sh64-tdep.c: Likewise.
3720 * solib-darwin.c: Likewise.
3721 * solib-spu.c: Likewise.
3722 * solib-svr4.c: Likewise.
3723 * source.c: Likewise.
3724 * sparc-nat.c: Likewise.
3725 * sparc-sol2-tdep.c: Likewise.
3726 * sparc-tdep.c: Likewise.
3727 * sparc64-sol2-tdep.c: Likewise.
3728 * sparc64-tdep.c: Likewise.
3729 * sparc64fbsd-tdep.c: Likewise.
3730 * sparc64nbsd-tdep.c: Likewise.
3731 * sparc64obsd-tdep.c: Likewise.
3732 * sparcnbsd-tdep.c: Likewise.
3733 * sparcobsd-tdep.c: Likewise.
3734 * spu-multiarch.c: Likewise.
3735 * spu-tdep.c: Likewise.
3736 * stabsread.c: Likewise.
3737 * stack.c: Likewise.
3738 * symfile.c: Likewise.
3739 * symtab.c: Likewise.
3740 * target-descriptions.c: Likewise.
3741 * target-memory.c: Likewise.
3742 * target.c: Likewise.
3743 * tic6x-linux-tdep.c: Likewise.
3744 * tic6x-tdep.c: Likewise.
3745 * tilegx-linux-nat.c: Likewise.
3746 * tilegx-tdep.c: Likewise.
3747 * top.c: Likewise.
3748 * tramp-frame.c: Likewise.
3749 * tui/tui-out.c: Likewise.
3750 * tui/tui-winsource.c: Likewise.
3751 * ui-out.c: Likewise.
3752 * user-regs.c: Likewise.
3753 * utils.c: Likewise.
3754 * v850-tdep.c: Likewise.
3755 * valops.c: Likewise.
3756 * value.c: Likewise.
3757 * varobj.c: Likewise.
3758 * vax-nat.c: Likewise.
3759 * xml-syscall.c: Likewise.
3760 * xml-tdesc.c: Likewise.
3761 * xstormy16-tdep.c: Likewise.
3762 * xtensa-linux-nat.c: Likewise.
3763 * xtensa-tdep.c: Likewise.
3764
e76df0d0
GB
37652014-08-07 Gary Benson <gbenson@redhat.com>
3766
3767 * common/common-defs.h: Include common-utils.h.
3768 * defs.h: Do not include common-utils.h.
3769 * common/gdb_assert.h: Likewise.
3770 * darwin-nat.h: Likewise.
3771 * nat/linux-btrace.c: Likewise.
3772 * target/waitstatus.h: Likewise.
3773
4cb9c816
GB
37742014-08-07 Gary Benson <gbenson@redhat.com>
3775
3776 * common/common-defs.h: Include ptid.h.
3777 * defs.h: Do not include ptid.h.
3778 * inferior.h: Likewise.
3779 * infrun.h: Likewise.
3780 * nat/linux-btrace.h: Likewise.
3781 * nat/linux-osdata.h: Likewise.
3782 * target/waitstatus.h: Likewise.
3783
3995eeee
GB
37842014-08-07 Gary Benson <gbenson@redhat.com>
3785
3786 * common/common-defs.h: Include gdb_locale.h.
3787 * defs.h: Do not include gdb_locale.h.
3788
cb9f1a9b
GB
37892014-08-07 Gary Benson <gbenson@redhat.com>
3790
3791 * common/common-defs.h: Include gdb/signals.h.
3792 * defs.h: Do not include gdb/signals.h.
3793
a5fceff8
GB
37942014-08-07 Gary Benson <gbenson@redhat.com>
3795
3796 * common/common-defs.h: Include pathmax.h.
3797 * defs.h: Do not include pathmax.h.
3798
b9391142
GB
37992014-08-07 Gary Benson <gbenson@redhat.com>
3800
3801 * common/common-defs.h: Include libiberty.h.
3802 * defs.h: Do not include libiberty.h.
3803 * common/queue.h: Likewise.
3804 * cp-name-parser.y: Likewise.
3805 * mi/mi-cmd-catch.c: Likewise.
3806 * python/python.c: Likewise.
3807
0e443c87
GB
38082014-08-07 Gary Benson <gbenson@redhat.com>
3809
3810 * common/common-defs.h: Include ansidecl.h.
3811 * defs.h: Do not include ansidecl.h.
3812 * common/buffer.h: Likewise.
3813 * common/common-utils.h: Likewise.
3814
8ebb3f56
GB
38152014-08-07 Gary Benson <gbenson@redhat.com>
3816
3817 * common/common-defs.h: Include stddef.h.
3818 * defs.h: Do not include stddef.h.
3819 * common/common-utils.h: Likewise.
3820 * amd64fbsd-nat.c: Likewise.
3821 * bcache.c: Likewise.
3822 * charset.c: Likewise.
3823 * common/buffer.h: Likewise.
3824 * common/vec.h: Likewise.
3825 * i386bsd-nat.c: Likewise.
3826 * nat/linux-btrace.h: Likewise.
3827 * ppcfbsd-nat.c: Likewise.
3828 * ppcnbsd-tdep.h: Likewise.
3829 * ppcobsd-nat.c: Likewise.
3830 * ppcobsd-tdep.h: Likewise.
3831 * python/py-gdb-readline.c: Likewise.
3832
8980bdf6
GB
38332014-08-07 Gary Benson <gbenson@redhat.com>
3834
3835 * common/common-defs.h: Include stdarg.h.
3836 * defs.h: Do not include stdarg.h.
3837 * ada-lang.c: Likewise.
3838 * common/common-utils.h: Likewise.
3839 * guile/scm-string.c: Likewise.
3840 * guile/scm-utils.c: Likewise.
3841 * m32c-tdep.c: Likewise.
3842
d7096f71
GB
38432014-08-07 Gary Benson <gbenson@redhat.com>
3844
3845 * common/common-defs.h: Include stdlib.h.
3846 * defs.h: Do not include stdlib.h.
3847 * addrmap.c: Likewise.
3848 * bcache.c: Likewise.
3849 * common/buffer.c: Likewise.
3850 * common/common-utils.c: Likewise.
3851 * cp-name-parser.y: Likewise.
3852 * go32-nat.c: Likewise.
3853 * mn10300-linux-tdep.c: Likewise.
3854 * nat/linux-osdata.c: Likewise.
3855 * tui/tui.c: Likewise.
3856 * windows-nat.c: Likewise.
3857
d02f550d
GB
38582014-08-07 Gary Benson <gbenson@redhat.com>
3859
3860 * common/common-defs.h: Include stdio.h.
3861 * defs.h: Do not include stdio.h.
3862 * ada-lang.c: Likewise.
3863 * common/buffer.c: Likewise.
3864 * common/common-utils.c: Likewise.
3865 * cp-name-parser.y: Likewise.
3866 * gnu-nat.c: Likewise.
3867 * go32-nat.c: Likewise.
3868 * i386gnu-nat.c: Likewise.
3869 * proc-api.c: Likewise.
3870 * proc-events.c: Likewise.
3871 * proc-flags.c: Likewise.
3872 * proc-why.c: Likewise.
3873 * python/python-internal.h: Likewise.
3874 * target-memory.c: Likewise.
3875 * tui/tui-io.c: Likewise.
3876 * tui/tui.c: Likewise.
3877
b6d7a4bf
SM
38782014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3879
3880 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3881 (scan_dyntag_auxv): Same.
3882
af19829b
YQ
38832014-08-06 Yao Qi <yao@codesourcery.com>
3884
3885 * amd64-linux-nat.c: Remove duplicated include
3886 "x86-linux-nat.h".
3887 * i386-linux-nat.c: Likewise.
3888
8e07a239
YQ
38892014-08-06 Yao Qi <yao@codesourcery.com>
3890
3891 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3892 operand" with "Special opcode" in comments.
3893
7bfe8241
GB
38942014-08-05 Gary Benson <gbenson@redhat.com>
3895
3896 * interps.c (initialize_interps): Remove prototype.
3897 (interpreter_initialized): Remove static global.
3898 (interp_add): Do not call initialize_interps.
3899 (initialize_interps): Remove function.
3900
d6c95504
GB
39012014-08-05 Gary Benson <gbenson@redhat.com>
3902
3903 * utils.c (vwarning): Remove spurious va_end.
3904
241fd515
AM
39052014-08-05 Alan Modra <amodra@gmail.com>
3906
3907 * charset.c (convert_between_encodings): Cast result of obstack_base.
3908 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3909 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3910 (read_unwind_info): Use size_t for some locals.
3911 * jit.c (finalize_symtab): Likewise.
3912 * utils.c (hashtab_obstack_allocate): Likewise.
3913 * symmisc.c (print_objfile_statistics): Update format strings.
3914
dc304a94
JK
39152014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3918 (Changes in GDB 7.8): ... here.
3919
3cecbbbe
TT
39202014-08-04 Tom Tromey <tromey@redhat.com>
3921
3922 * target.c (set_targetdebug): New function.
3923 (initialize_targets): Pass set_targetdebug when creating "set
3924 debug target".
3925
6908c509
JB
39262014-08-01 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3929 if detecting a variable-sized field that is not the last field.
3930 Fix struct type length computation.
3931
53e8f97d
JB
39322014-08-01 Joel Brobecker <brobecker@adacore.com>
3933
3934 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3935 Add debug trace.
3936
e068c55d
JB
39372014-08-01 Joel Brobecker <brobecker@adacore.com>
3938
3939 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3940 Remove "+ 8" offset in computation of CHAIN_VMA.
3941
4d4ca2a1
DE
39422014-07-31 Doug Evans <dje@google.com>
3943
3944 * inflow.c (child_terminal_inferior): Add comment.
3945 (child_terminal_ours_for_output): Add comment.
3946 (child_terminal_ours): Add comment.
3947 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3948 (linux_nat_terminal_ours): Add comment.
3949
462f517e
GB
39502014-07-31 Gary Benson <gbenson@redhat.com>
3951
3952 * common/btrace-common.h: Do not include defs.h or server.h.
3953 * nat/mips-linux-watch.h: Likewise.
3954 * gdb-dlfcn.h: Do not include defs.h.
3955 * tracefile.h: Likewise.
3956
74228e77
RM
39572014-07-30 Roland McGrath <mcgrathr@google.com>
3958
3959 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3960
014f9477
TT
39612014-07-30 Tom Tromey <tromey@redhat.com>
3962
3963 * bsd-kvm.c (bsd_kvm_open): Constify.
3964 * corelow.c (core_open): Constify.
3965 * ctf.c (ctf_open): Constify.
3966 * dbug-rom.c (dbug_open): Constify.
3967 * exec.c (exec_open): Constify.
3968 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3969 * microblaze-rom.c (picobug_open): Constify.
3970 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3971 Constify.
3972 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3973 * record-btrace.c (record_btrace_open): Constify.
3974 * record-full.c (record_full_core_open_1, record_full_open_1)
3975 (record_full_open): Constify.
3976 * remote-m32r-sdi.c (m32r_open): Constify.
3977 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3978 (rockhopper_open, lsi_open): Constify.
3979 * remote-sim.c (gdbsim_open): Constify.
3980 * remote.c (remote_open, extended_remote_open, remote_open_1):
3981 Constify.
3982 * target.h (struct target_ops) <to_open>: Make "arg" const.
3983 * tracefile-tfile.c (tfile_open): Constify.
3984
e799154c
TT
39852014-07-30 Tom Tromey <tromey@redhat.com>
3986
3987 * breakpoint.c (map_breakpoint_numbers): Update.
3988 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3989 (get_number_const): New function.
3990 (get_number): Rewrite using get_number_const.
3991 (init_number_or_range): Make "string" const.
3992 (number_is_in_list): Make "list" const.
3993 * cli/cli-utils.h (get_number_const): Declare.
3994 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3995 (init_number_or_range, number_is_in_list): Update.
3996 * printcmd.c (map_display_numbers): Update.
3997 * value.c (value_from_history_ref): Constify.
3998 * value.h (value_from_history_ref): Update.
3999
5f08566b
TT
40002014-07-30 Tom Tromey <tromey@redhat.com>
4001
4002 * corefile.c (hook_type, call_extra_exec_file_hooks)
4003 (specify_exec_file_hook): Constify.
4004 * exec.c (exec_file_attach): Make "filename" const.
4005 * gdbcore.h (deprecated_exec_file_display_hook)
4006 (specify_exec_file_hook, exec_file_attach): Constify.
4007 * main.c (captured_main): Use catch_command_errors_const.
4008
8981c758
TT
40092014-07-30 Tom Tromey <tromey@redhat.com>
4010
4011 * target.c (open_target): New function.
4012 (add_target_with_completer, add_deprecated_target_alias): Use
4013 set_cmd_sfunc, set_cmd_context.
4014 (debug_to_open): Remove.
4015 (setup_target_debug): Update.
4016
a1c7835a
YQ
40172014-07-30 Yao Qi <yao@codesourcery.com>
4018
4019 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4020 comments.
4021 * parse.c (exp_iterate): Update comments.
4022
976411d6
GB
40232014-07-30 Gary Benson <gbenson@redhat.com>
4024
4025 * common/common-defs.h: New file.
4026 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4027 * defs.h: Include common-defs.h.
4028 Do not include config.h or build-gnulib/config.h.
4029
5d4848a4
GB
40302014-07-30 Gary Benson <gbenson@redhat.com>
4031
4032 * common/common-utils.h: Do not include config.h.
4033 * nat/linux-btrace.h: Likewise.
4034
d41f6d8e
GB
40352014-07-30 Gary Benson <gbenson@redhat.com>
4036
4037 * btrace.c: Include defs.h.
4038 * common/ptid.c: Include defs.h or server.h as appropriate.
4039 * nat/mips-linux-watch.c: Likewise.
4040
84202f9c
TT
40412014-07-29 Tom Tromey <tromey@redhat.com>
4042
4043 * target.c (target_is_pushed): Simplify.
4044
2530441c
JB
40452014-07-29 Joel Brobecker <brobecker@adacore.com>
4046
4047 GDB 7.8 released.
4048
7e09a223
YQ
40492014-07-29 Yao Qi <yao@codesourcery.com>
4050
4051 PR gdb/17206
4052 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4053
7ebdbe92
DE
40542014-07-28 Doug Evans <xdje42@gmail.com>
4055
4056 PR guile/17203
4057 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4058 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4059 parameters.
4060
f347ffc9
WN
40612014-07-28 Will Newton <will.newton@linaro.org>
4062
4063 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4064 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4065 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4066 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4067 (THUMB2_EABI_SYSCALL): Likewise.
4068 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4069 struct tramp_frame.
4070 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4071 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4072
37c5f1f7
DE
40732014-07-27 Doug Evans <xdje42@gmail.com>
4074
4075 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4076
0c3abbc7
DE
40772014-07-27 Doug Evans <xdje42@gmail.com>
4078
4079 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4080
e76c5d17
DE
40812014-07-26 Ludovic Courtès <ludo@gnu.org>
4082 Doug Evans <xdje42@gmail.com>
4083
4084 PR guile/17146
4085 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4086 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4087 * configure.ac: Try to use guild to compile an scm file, if it fails
4088 then disable guile support.
4089 * configure: Regenerate.
4090 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4091 GUILE_FILE_LIST.
4092 (GUILE_COMPILED_FILES): New variable.
4093 (GUILE_FILES) Update.
4094 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4095 (stamp-guile): Compile scm files.
4096 * guile/guile.c (boot_guile_support): New function.
4097 (standard_throw_args_p): New function.
4098 (print_standard_throw_error, print_throw_error): New functions.
4099 (handle_boot_error): New function.
4100 (initialize_scheme_side): Rewrite to call boot_guile_support.
4101 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4102 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4103
186fcde0
DE
41042014-07-26 Ludovic Courtès <ludo@gnu.org>
4105 Doug Evans <xdje42@gmail.com>
4106
4107 PR guile/17146
4108 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4109 * guile/lib/gdb/support.scm: New file.
4110 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4111 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4112 All uses updated.
4113 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4114 All uses updated.
4115 (%assert-type): Ditto, and renamed to assert-type.
4116 (%exception-print-style): Delete.
4117
4df42755
DE
41182014-07-26 Doug Evans <xdje42@gmail.com>
4119
4120 PR build/17105
4121 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4122 * configure: Regenerate.
4123 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4124 PYTHON_FILES.
4125 (PYTHON_FILES): New variable.
4126 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4127 (GUILE_FILES): New variable.
4128 (stamp-python, install-python, uninstall-python): Handle empty
4129 file list.
4130 (stamp-guile, install-guile, uninstall-guile): Ditto.
4131
ee7333ae
DE
41322014-07-26 Doug Evans <xdje42@gmail.com>
4133
4134 PR guile/17177
4135 * guile/lib/gdb.scm (pretty-printers): Export.
4136 (set-pretty-printers!): Export.
4137 * guile/lib/gdb/printing.scm (gdb module): Update.
4138 (prepend-pretty-printer!, append-pretty-printer!): Update.
4139 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4140 (pretty_printer_list_var): Delete.
4141 (pretty_printer_list): New static global.
4142 (gdbscm_pretty_printers): New function.
4143 (gdbscm_set_pretty_printers_x): New function.
4144 (ppscm_find_pretty_printer_from_gdb): Update.
4145 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4146 (gdbscm_initialize_pretty_printers): Update.
4147
74edf516
DE
41482014-07-26 Doug Evans <xdje42@gmail.com>
4149
4150 PR 17185
4151 * configure.ac: Add check for header gc/gc.h.
4152 Add check for function setenv.
4153 * configure: Regenerate.
4154 * config.in: Regenerate.
4155 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4156
d54398a7
MR
41572014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4158
4159 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4160 variation in gdbarch matching.
4161
ab16fce8
TT
41622014-07-25 Tom Tromey <tromey@redhat.com>
4163
4164 * exec.c (using_exec_ops): Remove.
4165 (exec_close_1): Update. Remove extraneous block, reindent.
4166 (add_target_sections): Use target_is_pushed.
4167
88056fbb
PA
41682014-07-25 Pedro Alves <palves@redhat.com>
4169
4170 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4171 * monitor.c (monitor_create_inferior): Likewise.
4172 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4173 * remote-sim.c (gdbsim_create_inferior): Likewise.
4174 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4175 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4176 * windows-nat.c (do_initial_windows_stuff): Likewise.
4177
70509625
PA
41782014-07-25 Pedro Alves <palves@redhat.com>
4179
4180 * NEWS: Mention signal passing and "signal" command changes.
4181 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4182 comment.
4183 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4184 call.
4185 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4186 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4187 (jump_command): Adjust clear_proceed_status call.
4188 (signal_command): Warn if other thread that are resumed have
4189 signals that will be delivered. Adjust clear_proceed_status call.
4190 (until_next_command, finish_command)
4191 (proceed_after_attach_callback, attach_command_post_wait)
4192 (attach_command): Adjust clear_proceed_status call.
4193 * infrun.c (proceed_after_vfork_done): Likewise.
4194 (proceed_after_attach_callback): Adjust comment.
4195 (clear_proceed_status_thread): Clear stop_signal if not in pass
4196 state.
4197 (clear_proceed_status_callback): Delete.
4198 (clear_proceed_status): New 'step' parameter. Only clear the
4199 proceed status of threads the command being prepared is about to
4200 resume.
4201 (proceed): If passed in an explicit signal, override stop_signal
4202 with it. Don't pass the last stop signal to the thread we're
4203 resuming.
4204 (init_wait_for_inferior): Adjust clear_proceed_status call.
4205 (switch_back_to_stepped_thread): Clear the signal if it should not
4206 be passed.
4207 * infrun.h (clear_proceed_status): New 'step' parameter.
4208 (user_visible_resume_ptid): Add comment.
4209 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4210 signal is in pass state.
4211 * remote.c (append_pending_thread_resumptions): Likewise.
4212 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4213
d8be2939
TT
42142014-07-25 Tom Tromey <tromey@redhat.com>
4215
4216 * target.h (target_stopped_data_address)
4217 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4218 parentheses.
4219
7d0d9d2b
PL
42202014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4221
4222 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4223 comments.
4224 (avr_pointer_to_address): Likewise.
4225
e9e7f724
TT
42262014-07-24 Tom Tromey <tromey@redhat.com>
4227
4228 * monitor.c (compile_pattern): Update.
4229 * target.h (struct target_ops) <to_shortname, to_longname,
4230 to_doc>: Now const.
4231
1947513d
TT
42322014-07-24 Tom Tromey <tromey@redhat.com>
4233
4234 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4235 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4236 (add_info_alias, add_com): Make "doc" const.
4237 (print_doc_line): Make "str" const.
4238 (delete_cmd): Update.
4239 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4240 (print_doc_line): Update.
4241 * cli/cli-script.c (document_command): Update.
4242 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4243 (add_com, add_info, add_info_alias): Update.
4244 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4245 * python/py-cmd.c (cmdpy_destroyer): Update.
4246
64e61d29
TT
42472014-07-24 Tom Tromey <tromey@redhat.com>
4248
4249 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4250 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4251 (help_cmd_list): Constify.
4252 (lookup_cmd): Update.
4253 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4254 const.
4255 (help_cmd_list, apropos_cmd): Update.
4256 * cli/cli-script.c (show_user): Update.
4257 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4258 * cli/cli-setshow.h (cmd_show_list): Update.
4259 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4260 (cmd_show_list): Update.
4261 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4262 * python/py-cmd.c (cmdpy_destroyer): Update.
4263
429e55ea
TT
42642014-07-24 Tom Tromey <tromey@redhat.com>
4265
4266 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4267 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4268 const.
4269 * command.h (deprecate_cmd): Update.
4270 * maint.c (maintenance_do_deprecate): Add casts.
4271
64669f3b
TT
42722014-07-24 Tom Tromey <tromey@redhat.com>
4273
4274 * cli/cli-decode.c (help_cmd): Make parameter "const".
4275 * cli/cli-decode.h (help_cmd): Update.
4276
d3d3328b
TT
42772014-07-24 Tom Tromey <tromey@redhat.com>
4278
4279 * stack.c (up_silently_base, down_silently_base): Make argument
4280 const.
4281
414842dc
TT
42822014-07-24 Tom Tromey <tromey@redhat.com>
4283
4284 * solib.c (solib_add): Make "pattern" const.
4285 * solib.h (solib_add): Update.
4286
baa336ce
TT
42872014-07-24 Tom Tromey <tromey@redhat.com>
4288
4289 * remote.c (remote_serial_open, print_packet, putpkt)
4290 (putpkt_binary): Constify.
4291 * remote.h (putpkt): Update.
4292
5a19e2d0
TT
42932014-07-24 Tom Tromey <tromey@redhat.com>
4294
4295 * monitor.c (monitor_open): Make "args" const.
4296 * monitor.h (monitor_open): Update.
4297
fc4baa5e
TT
42982014-07-24 Tom Tromey <tromey@redhat.com>
4299
4300 * maint.c (match_bfd_flags): Make "string" const.
4301 (print_bfd_section_info): Remove casts.
4302 (print_objfile_section_info): Make "string" const.
4303
0d5f0dbe
TT
43042014-07-24 Tom Tromey <tromey@redhat.com>
4305
4306 * inf-child.c (inf_child_open_target): Make "arg" const.
4307 * inf-child.h (inf_child_open_target): Update.
4308
41c77899
TT
43092014-07-24 Tom Tromey <tromey@redhat.com>
4310
4311 * environ.c (unset_in_environ): Make "var" const.
4312 * environ.h (unset_in_environ): Update.
4313
93db0d79
TT
43142014-07-24 Tom Tromey <tromey@redhat.com>
4315
4316 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4317 Make "cmd" const.
4318 (scan_filename_with_cleanup): Likewise.
4319 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4320 Make arguments const.
4321 (restore_command): Update.
4322
36d6eb95
PA
43232014-07-24 Pedro Alves <palves@redhat.com>
4324
4325 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4326
8009206a
TT
43272014-07-24 Tom Tromey <tromey@redhat.com>
4328 Gary Benson <gbenson@redhat.com>
4329
4330 * nat/linux-ptrace.c (additional_flags): New global.
4331 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4332 additional_flags; don't check GDBSERVER.
4333 (linux_ptrace_set_additional_flags): New function.
4334 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4335 Declare.
4336 * linux-nat.c (_initialize_linux_nat): Call
4337 linux_ptrace_set_additional_flags.
4338
a7068b60
TT
43392014-07-24 Tom Tromey <tromey@redhat.com>
4340
4341 * make-target-delegates (munge_type, write_debugmethod): New
4342 functions.
4343 (debug_names): New global.
4344 ($TARGET_DEBUG_PRINTER): New global.
4345 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4346 name.
4347 Write debug methods. Generate init_debug_target.
4348 * target-debug.h: New file.
4349 * target-delegates.c: Rebuild.
4350 * target.c: Include target-debug.h.
4351 (debug_target): Hoist definition.
4352 (target_kill, target_get_section_table, target_memory_map)
4353 (target_flash_erase, target_flash_done, target_detach)
4354 (target_disconnect, target_wait, target_resume)
4355 (target_pass_signals, target_program_signals, target_follow_fork)
4356 (target_mourn_inferior, target_search_memory)
4357 (target_thread_address_space, target_close)
4358 (target_find_new_threads, target_core_of_thread)
4359 (target_verify_memory, target_insert_mask_watchpoint)
4360 (target_remove_mask_watchpoint): Remove targetdebug code.
4361 (debug_to_post_attach, debug_to_prepare_to_store)
4362 (debug_to_files_info, debug_to_insert_breakpoint)
4363 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4364 (debug_to_region_ok_for_hw_watchpoint)
4365 (debug_to_can_accel_watchpoint_condition)
4366 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4367 (debug_to_watchpoint_addr_within_range)
4368 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4369 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4370 (debug_to_terminal_init, debug_to_terminal_inferior)
4371 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4372 (debug_to_terminal_save_ours, debug_to_terminal_info)
4373 (debug_to_load, debug_to_post_startup_inferior)
4374 (debug_to_insert_fork_catchpoint)
4375 (debug_to_remove_fork_catchpoint)
4376 (debug_to_insert_vfork_catchpoint)
4377 (debug_to_remove_vfork_catchpoint)
4378 (debug_to_insert_exec_catchpoint)
4379 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4380 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4381 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4382 (setup_target_debug): Call init_debug_target.
4383 * target.h (TARGET_DEBUG_PRINTER): New macro.
4384 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4385 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4386
2c51604d
GB
43872014-07-24 Gary Benson <gbenson@redhat.com>
4388
4389 * exceptions.h (throw_vfatal): Renamed to...
4390 (throw_vquit): New declaration.
4391 (throw_quit): Likewise.
4392 * exceptions.c (throw_vfatal): Renamed to...
4393 (throw_vquit): New function.
4394 (throw_quit): Likewise.
4395 (throw_error): Call throw_verror rather than throw_it.
4396 * utils.h (vfatal): Removed.
4397 (fatal): Likewise.
4398 * utils.c (vfatal): Removed.
4399 (fatal): Likewise.
4400 (internal_verror): Replaced call to fatal with call to throw_quit.
4401 (quit): Replaced calls to fatal with calls to throw_quit.
4402
34211963
ME
44032014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4404
4405 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4406 target_read_code.
4407
a52b4d3e
ME
44082014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4409
4410 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4411 less than zero in conditional expression.
4412
a8bdc56b
TT
44132014-07-23 Tom Tromey <tromey@redhat.com>
4414
4415 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4416 ($INTRO_PART): Don't match whitespace.
4417 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4418 argument matching.
4419 ($METHOD): Add $METHOD_TRAILER.
4420 (trim): Rewrite.
4421 (scan_target_h): New sub.
4422 Change main loop not to collect state.
4423 * target-delegates.c: Rebuild.
4424
91b52240
GB
44252014-07-23 Gary Benson <gbenson@redhat.com>
4426
4427 * cp-support.c (gdb_demangle): Fix build on systems without
4428 sigaltstack.
4429
45326f6f
JK
44302014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4431
4432 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4433 for reference entry value target data value.
4434
e214cf6c
JK
44352014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4436
4437 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4438 value_available_contents_eq.
4439
bddbbedd
PA
44402014-07-22 Pedro Alves <palves@redhat.com>
4441
4442 * value.c (allocate_optimized_out_value): Don't mark value as
4443 non-lazy.
4444
45c71484
JW
44452014-07-22 Jiong Wang <jiong.wang@arm.com>
4446
4447 * MAINTAINERS (Write After Approval): Update my email address.
4448
9597b22a
DE
44492014-07-20 Doug Evans <dje@google.com>
4450
4451 PR server/17147
4452 * remote.c (putpkt_binary): Add text to error message.
4453
91101fe5
YQ
44542014-07-20 Yao Qi <yao@codesourcery.com>
4455
4456 * eval.c: Remove "Chill" from comments.
4457 * gdbtypes.h: Likewise.
4458 * symtab.h: Likewise.
4459
c9402c95
YQ
44602014-07-20 Yao Qi <yao@codesourcery.com>
4461
4462 * std-operator.def: Update comments to TERNOP_SLICE.
4463
ae8fddda
YQ
44642014-07-20 Yao Qi <yao@codesourcery.com>
4465
4466 * std-operator.def: Remove BINOP_RANGE.
4467 * breakpoint.c (watchpoint_exp_is_const): Update.
4468 * expprint.c (dump_subexp_body_standard): Likewise.
4469 * eval.c (init_array_element): Remove dead code.
4470 (evaluate_subexp_standard): Likewise.
4471
9c816640
YQ
44722014-07-20 Yao Qi <yao@codesourcery.com>
4473
4474 * std-operator.def: Remove BINOP_IN.
4475 * breakpoint.c (watchpoint_exp_is_const): Update.
4476 * eval.c (evaluate_subexp_standard): Likewise.
4477 * expprint.c (dump_subexp_body_standard): Likewise.
4478
164224e9
ME
44792014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4480
4481 * microblaze-tdep.c (microblaze_register_names): Add
4482 the rshr and rslr register names.
4483 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4484 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4485 Use of tdesc_numbered_register. Use of
4486 microblaze_register_g_packet_guesses. Use of
4487 tdesc_use_registers. Use of set_gdbarch_register_type.
4488 (microblaze_register_g_packet_guesses): New.
4489 * microblaze-tdep.h (microblaze_reg_num): Add
4490 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4491 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4492 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4493 * features/microblaze-core.xml: New file.
4494 * features/microblaze-stack-protect.xml: New file.
4495 * features/microblaze-with-stack-protect.c: New file.
4496 * features/microblaze-with-stack-protect.xml: New file.
4497 * features/microblaze.xml: New file.
4498 * features/microblaze.c: New file.
4499 * features/Makefile (microblaze-with-stack-protect): Add
4500 microblaze-with-stack-protect microblaze and microblaze-expedite.
4501 * regformats/microblaze-with-stack-protect.dat: New file.
4502 * regformats/microblaze.dat: New file.
4503 * doc/gdb.texinfo (MicroBlaze Features): Added.
4504
e8b2341c
TT
45052014-07-18 Tom Tromey <tromey@redhat.com>
4506
4507 * exec.c (exec_ops): Now static.
4508 * exec.h (exec_ops): Don't declare.
4509
44e89118
TT
45102014-07-18 Tom Tromey <tromey@redhat.com>
4511
4512 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4513 to find_target_beneath.
4514 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4515 find_target_beneath.
4516 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4517
b0ed115f
TT
45182014-07-18 Tom Tromey <tromey@redhat.com>
4519
4520 PR gdb/17130:
4521 * utils.c (quit): Use target_supports_terminal_ours.
4522 * target.h (target_supports_terminal_ours): Declare.
4523 * target.c (target_supports_delete_record): Don't check
4524 to_delete_record against NULL.
4525 (target_supports_terminal_ours): New function.
4526
e75fdfca
TT
45272014-07-18 Tom Tromey <tromey@redhat.com>
4528
4529 PR gdb/17130:
4530 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4531 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4532 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4533 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4534 * windows-nat.c (windows_xfer_partial): Always delegate.
4535 * record-btrace.c (record_btrace_xfer_partial): Simplify
4536 delegation.
4537 (record_btrace_fetch_registers, record_btrace_store_registers)
4538 (record_btrace_prepare_to_store, record_btrace_resume)
4539 (record_btrace_wait, record_btrace_find_new_threads)
4540 (record_btrace_thread_alive): Likewise.
4541 * procfs.c (procfs_xfer_partial): Always delegate.
4542 * corelow.c (core_xfer_partial): Always delegate.
4543 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4544
83814951
TT
45452014-07-18 Tom Tromey <tromey@redhat.com>
4546
4547 * exec.c (exec_make_note_section): Move earlier.
4548
b8b8facf
DE
45492014-07-17 Doug Evans <dje@google.com>
4550
74b49205 4551 PR gdb/17170
b8b8facf
DE
4552 * maint.c (count_symtabs_and_blocks): Handle NULL
4553 current_program_space.
4554 (report_command_stats): Check global enabled flag in addition to
4555 recorded enabled flag.
4556 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4557
69ff6be5
PA
45582014-07-16 Pedro Alves <palves@redhat.com>
4559
4560 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4561
252db1b5
TT
45622014-07-16 Tom Tromey <tromey@redhat.com>
4563
4564 * target.h (struct target_ops) <to_delete_record>: Reformat
4565 comment.
4566
a432721e
TT
45672014-07-16 Tom Tromey <tromey@redhat.com>
4568
4569 * target-delegates.c: Rebuild.
4570
487d9753
PL
45712014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4572
4573 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4574 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4575 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4576 (avr_pointer_to_address): Likewise.
4577 (avr_address_class_type_flags): New function.
4578 (avr_address_class_type_flags_to_name): Likewise.
4579 (avr_address_class_name_to_type_flags): Likewise.
4580 (avr_gdbarch_init): Set address_class_type_flags,
4581 address_class_type_flags_to_name and
4582 address_class_name_to_type_flags.
4583
57745c90
PA
45842014-07-15 Pedro Alves <palves@redhat.com>
4585
4586 * linux-nat.c (kill_callback): Save errno and work with saved
4587 copy.
4588
2d40be18
SM
45892014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4590
4591 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4592
572f6555
EBM
45932014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4594
4595 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4596 breakpoint support correctly.
4597
cc1c52ad
PA
45982014-07-14 Pedro Alves <palves@redhat.com>
4599
4600 * utils.c (prompt_for_continue): Call target_terminal_ours.
4601
1e973570
PA
46022014-07-14 Pedro Alves <palves@redhat.com>
4603
4604 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4605 catch_errors. Don't re-enable stdin or notify observers where,
4606 and rethrow error.
4607 (fetch_inferior_event_wrapper): Delete.
4608
93d6eb10
PA
46092014-07-14 Pedro Alves <palves@redhat.com>
4610
4611 PR gdb/17072
4612 * top.c: Include "inf-loop.h".
4613 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4614 field.
4615 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4616 was async before.
4617 (gdb_readline_wrapper): Store whether the target is async, and
4618 make it sync.
4619
0017922d
PA
46202014-07-14 Pedro Alves <palves@redhat.com>
4621
4622 PR gdb/17072
4623 * top.c (gdb_readline_wrapper_line): Tweak comment.
4624 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4625 the input handler callback.
4626
94696ad3
PA
46272014-07-14 Pedro Alves <palves@redhat.com>
4628
4629 PR gdb/17072
4630 * main.c: Include event-top.h.
4631 (handle_command_errors): New function.
4632 (catch_command_errors, catch_command_errors_const): Use it.
4633
9d1e69a2
PA
46342014-07-14 Pedro Alves <palves@redhat.com>
4635
4636 * exceptions.c (catch_command_errors, catch_command_errors_const):
4637 Moved to main.c.
4638 * exceptions.h (catch_command_errors_ftype)
4639 (catch_command_errors_const_ftype): Moved to main.c.
4640 (catch_command_errors, catch_command_errors_const): Delete
4641 declarations.
4642 * main.c (catch_command_errors_ftype)
4643 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4644 (catch_command_errors, catch_command_errors_const)): Moved here
4645 from exceptions.c and make static.
4646
feefc97b
PA
46472014-07-14 Pedro Alves <palves@redhat.com>
4648
4649 * exceptions.c (print_any_exception): Delete.
4650 (catch_exceptions_with_msg): Use exception_print instead of
4651 print_any_exception.
4652 (catch_errors): Use exception_fprintf instead of
4653 print_any_exception.
4654 (catch_command_errors, catch_command_errors_const): Use
4655 exception_print instead of print_any_exception.
4656
c933f875
PA
46572014-07-14 Pedro Alves <palves@redhat.com>
4658
4659 * infcall.c (run_inferior_call): Set 'sync_execution' while
4660 running the inferior call.
4661
feb6f816
PA
46622014-07-14 Pedro Alves <palves@redhat.com>
4663
4664 * value.c (value_contents_equal): Delete function.
4665 * value.h (value_contents_equal): Delete declaration.
4666
d98b7a16
TT
46672014-07-14 Tom Tromey <tromey@redhat.com>
4668
4669 PR exp/17106:
4670 * gdbtypes.c (is_dynamic_type_internal): New function, from
4671 is_dynamic_type.
4672 (is_dynamic_type): Rewrite.
4673 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4674 (resolve_dynamic_struct): Likewise.
4675 (resolve_dynamic_type_internal): New function, from
4676 resolve_dynamic_type.
4677 (resolve_dynamic_type): Rewrite.
4678
548740d6
TT
46792014-07-14 Tom Tromey <tromey@redhat.com>
4680
4681 * target.c (target_require_runnable): Also check record_stratum.
4682 Update comment.
4683
808f7ab1
YQ
46842014-07-11 Yao Qi <yao@codesourcery.com>
4685
4686 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4687 thumb_instruction_restores_sp return true.
4688
540314bd
YQ
46892014-07-11 Yao Qi <yao@codesourcery.com>
4690
4691 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4692 (thumb_in_function_epilogue_p): Call
4693 thumb_instruction_restores_sp.
4694
1db01f22
YQ
46952014-07-11 Yao Qi <yao@codesourcery.com>
4696
4697 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4698 'add sp, #imm'.
4699 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4700
3116063b
GB
47012014-07-11 Gary Benson <gbenson@redhat.com>
4702
4703 * amd64-linux-nat.c (gdbcore.h): Remove include.
4704 (regset.h): Likewise.
4705 (nat/linux-btrace.h): Likewise.
4706 (btrace.h): Likewise.
4707 (gdb_assert.h): Likewise.
4708 (string.h): Likewise.
4709 (sys/uio.h): Likewise.
4710 (sys/debugreg.h): Likewise.
4711 (sys/syscall.h): Likewise.
4712 (sys/procfs.h): Likewise.
4713 (sys/user.h): Likewise.
4714 (asm/ptrace.h): Likewise.
4715 (i386-nat.h): Likewise.
4716 * i386-linux-nat.c (i386-nat.h): Likewise.
4717 (regset.h): Likewise.
4718 (target.h): Likewise.
4719 (linux-nat.h): Likewise.
4720 (nat/linux-btrace.h): Likewise.
4721 (btrace.h): Likewise.
4722 (gdb_assert.h): Likewise.
4723 (string.h): Likewise.
4724 (sys/uio.h): Likewise.
4725 (sys/user.h): Likewise.
4726 (sys/procfs.h): Likewise.
4727 (sys/reg.h): Likewise.
4728 (sys/debugreg.h): Likewise.
4729 (ORIG_EAX): Remove definition.
4730
040baaf6
GB
47312014-07-11 Gary Benson <gbenson@redhat.com>
4732
4733 * i386-linux-nat.h: New file.
4734 * x86-linux-nat.h: Likewise.
4735 * x86-linux-nat.c: Likewise.
4736 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4737 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4738 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4739 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4740 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4741 (PTRACE_SETREGSET): Likewise.
4742 (arch_lwp_info): Now in x86-linux-nat.c.
4743 (have_ptrace_getregset): Now in x86-linux-nat.h.
4744 (x86_linux_dr_get): Now in x86-linux-nat.c.
4745 (x86_linux_dr_set): Likewise.
4746 (x86_linux_dr_get_addr): Likewise.
4747 (x86_linux_dr_get_control): Likewise.
4748 (x86_linux_dr_get_status): Likewise.
4749 (update_debug_registers_callback): Likewise.
4750 (x86_linux_dr_set_control): Likewise.
4751 (x86_linux_dr_set_addr): Likewise.
4752 (x86_linux_prepare_to_resume): Likewise.
4753 (x86_linux_new_thread): Likewise.
4754 (x86_linux_new_fork): Likewise.
4755 (x86_linux_get_thread_area): Likewise.
4756 (super_post_startup_inferior): Likewise.
4757 (x86_linux_child_post_startup_inferior): Likewise.
4758 (AMD64_LINUX_USER64_CS): Likewise.
4759 (AMD64_LINUX_X32_DS): Likewise.
4760 (x86_linux_read_description): Likewise.
4761 (x86_linux_enable_btrace): Likewise.
4762 (x86_linux_disable_btrace): Likewise.
4763 (x86_linux_teardown_btrace): Likewise.
4764 (x86_linux_read_btrace): Likewise.
4765 (x86_linux_create_target): Likewise.
4766 (x86_linux_add_target): Likewise.
4767 * i386-linux-nat.c (x86-linux-nat.h): New include.
4768 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4769 (PTRACE_SETREGSET): Likewise.
4770 (arch_lwp_info): Now in x86-linux-nat.c.
4771 (have_ptrace_getregset): Now in x86-linux-nat.h.
4772 (x86_linux_dr_get): Now in x86-linux-nat.c.
4773 (x86_linux_dr_set): Likewise.
4774 (x86_linux_dr_get_addr): Likewise.
4775 (x86_linux_dr_get_control): Likewise.
4776 (x86_linux_dr_get_status): Likewise.
4777 (update_debug_registers_callback): Likewise.
4778 (x86_linux_dr_set_control): Likewise.
4779 (x86_linux_dr_set_addr): Likewise.
4780 (x86_linux_prepare_to_resume): Likewise.
4781 (x86_linux_new_thread): Likewise.
4782 (x86_linux_new_fork): Likewise.
4783 (x86_linux_get_thread_area): Likewise.
4784 (super_post_startup_inferior): Likewise.
4785 (x86_linux_child_post_startup_inferior): Likewise.
4786 (AMD64_LINUX_USER64_CS): Likewise.
4787 (AMD64_LINUX_X32_DS): Likewise.
4788 (x86_linux_read_description): Likewise.
4789 (x86_linux_enable_btrace): Likewise.
4790 (x86_linux_disable_btrace): Likewise.
4791 (x86_linux_teardown_btrace): Likewise.
4792 (x86_linux_read_btrace): Likewise.
4793 (x86_linux_create_target): Likewise.
4794 (x86_linux_add_target): Likewise.
4795
1aa7e42c
GB
47962014-07-11 Gary Benson <gbenson@redhat.com>
4797
4798 * amd64-linux-nat.c: Comment and whitespace changes.
4799 * i386-linux-nat.c: Comment and whitespace changes.
4800
c1e246a0
GB
48012014-07-11 Gary Benson <gbenson@redhat.com>
4802
4803 * amd64-linux-nat.c (x86_linux_create_target): New function.
4804 (x86_linux_add_target): Likewise.
4805 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4806 * i386-linux-nat.c (x86_linux_create_target): New function.
4807 (x86_linux_add_target): Likewise.
4808 (_initialize_i386_linux_nat): Delegate to the above new functions.
4809
8c420b8d
GB
48102014-07-11 Gary Benson <gbenson@redhat.com>
4811
4812 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4813 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4814 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4815 (ps_get_thread_area): Delegate to the above.
4816
cb1da100
GB
48172014-07-11 Gary Benson <gbenson@redhat.com>
4818
4819 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4820 x86_linux_read_description. All uses updated. amd64-specific
4821 code conditionalized. Conditionalized i386-specific code added.
4822 Redundant cast removed.
4823 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4824 x86_linux_read_description. All uses updated. i386-specific
4825 code conditionalized. Conditionalized amd64-specific code added.
4826 One sizeof replaced with the actual type it is describing.
4827
2acf3cd0
GB
48282014-07-11 Gary Benson <gbenson@redhat.com>
4829
4830 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4831 x86_linux_dr_get. All uses updated.
4832 (amd64_linux_dr_set): Renamed to
4833 x86_linux_dr_set. All uses updated.
4834 (amd64_linux_dr_get_addr): Renamed to
4835 x86_linux_dr_get_addr. All uses updated.
4836 (amd64_linux_dr_get_control): Renamed to
4837 x86_linux_dr_get_control. All uses updated.
4838 (amd64_linux_dr_get_status): Renamed to
4839 x86_linux_dr_get_status. All uses updated.
4840 (amd64_linux_dr_set_control): Renamed to
4841 x86_linux_dr_set_control. All uses updated.
4842 (amd64_linux_dr_set_addr): Renamed to
4843 x86_linux_dr_set_addr. All uses updated.
4844 (amd64_linux_prepare_to_resume): Renamed to
4845 x86_linux_prepare_to_resume. All uses updated.
4846 (amd64_linux_new_thread): Renamed to
4847 x86_linux_new_thread. All uses updated.
4848 (amd64_linux_new_fork): Renamed to
4849 x86_linux_new_fork. All uses updated.
4850 (amd64_linux_child_post_startup_inferior): Renamed to
4851 x86_linux_child_post_startup_inferior. All uses updated.
4852 (amd64_linux_enable_btrace): Renamed to
4853 x86_linux_enable_btrace. All uses updated.
4854 (amd64_linux_disable_btrace): Renamed to
4855 x86_linux_disable_btrace. All uses updated.
4856 (amd64_linux_teardown_btrace): Renamed to
4857 x86_linux_teardown_btrace. All uses updated.
4858 (amd64_linux_read_btrace): Renamed to
4859 x86_linux_read_btrace. All uses updated.
4860 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4861 x86_linux_dr_get. All uses updated.
4862 (i386_linux_dr_set): Renamed to
4863 x86_linux_dr_set. All uses updated.
4864 (i386_linux_dr_get_addr): Renamed to
4865 x86_linux_dr_get_addr. All uses updated.
4866 (i386_linux_dr_get_control): Renamed to
4867 x86_linux_dr_get_control. All uses updated.
4868 (i386_linux_dr_get_status): Renamed to
4869 x86_linux_dr_get_status. All uses updated.
4870 (i386_linux_dr_set_control): Renamed to
4871 x86_linux_dr_set_control. All uses updated.
4872 (i386_linux_dr_set_addr): Renamed to
4873 x86_linux_dr_set_addr. All uses updated.
4874 (i386_linux_prepare_to_resume): Renamed to
4875 x86_linux_prepare_to_resume. All uses updated.
4876 (i386_linux_new_thread): Renamed to
4877 x86_linux_new_thread. All uses updated.
4878 (i386_linux_new_fork): Renamed to
4879 x86_linux_new_fork. All uses updated.
4880 (i386_linux_child_post_startup_inferior): Renamed to
4881 x86_linux_child_post_startup_inferior. All uses updated.
4882 (i386_linux_enable_btrace): Renamed to
4883 x86_linux_enable_btrace. All uses updated.
4884 (i386_linux_disable_btrace): Renamed to
4885 x86_linux_disable_btrace. All uses updated.
4886 (i386_linux_teardown_btrace): Renamed to
4887 x86_linux_teardown_btrace. All uses updated.
4888 (i386_linux_read_btrace): Renamed to
4889 x86_linux_read_btrace. All uses updated.
4890
b9c1d481
AS
48912014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4892
4893 * remote.c (extended_remote_post_attach): New function.
4894 (init_extended_remote_ops): Install it as to_post_attach method.
4895
7180e04a
PA
48962014-07-09 Pedro Alves <palves@redhat.com>
4897
4898 * infcmd.c (attach_command_post_wait): Don't call
4899 target_terminal_inferior here.
4900 (attach_command): Call it here instead.
4901
9a9a7608
AB
49022014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4903
4904 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4905 field.
4906 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4907 from varobj.c, with additional checks.
4908 (c_varobj_ops): Fill in is_path_expr_parent field.
4909 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4910 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4911 field.
4912 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4913 ops method.
4914 (varobj_default_is_path_expr_parent): New function.
4915 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4916 (varobj_default_is_path_expr_parent): Declare new function.
4917
1f267ae3
MM
49182014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4919
4920 * infcmd.c (finish_backward): Turn internal error into normal error.
4921
b2ee242b
PA
49222014-07-07 Pedro Alves <palves@redhat.com>
4923
8a869bca 4924 PR gdb/17096
b2ee242b
PA
4925 * remote.c (async_handle_remote_sigint)
4926 (async_handle_remote_sigint_twice): Call
4927 gdb_call_async_signal_handler instead of
4928 mark_async_signal_handler.
4929
38e229b2
TT
49302014-07-07 Tom Tromey <tromey@redhat.com>
4931
4932 * target-delegates.c: Rebuild.
4933 * target.c (target_info_record): Remove.
4934 * record.c (info_record_command): Unconditionally call
4935 to_info_record.
4936 * target.h (struct target_ops) <to_info_record>: Use
4937 TARGET_DEFAULT_IGNORE.
4938 (target_info_record): Remove.
4939
f0f9ff95
TT
49402014-07-07 Tom Tromey <tromey@redhat.com>
4941
4942 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4943 TARGET_DEFAULT_NORETURN.
4944 * target.c (generic_tls_error): New function.
4945 (target_translate_tls_address): Don't search target stack.
4946 * target-delegates.c: Rebuild.
4947 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4948 stack.
4949 * linux-thread-db.c (thread_db_get_thread_local_address):
4950 Unconditionally call beneath target.
4951
4a5be5ee
MK
49522014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4953
4954 * cli/cli-logging.c (pop_output_files): Assign targerr to
4955 gdb_stdtargerr.
4956
92c3b204
AB
49572014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4958
4959 * MAINTAINERS (Write After Approval): Update my email address.
4960
9b11e3a7
GB
49612014-07-02 Gary Benson <gbenson@redhat.com>
4962
4963 * proc-service.c (ps_xfer_memory): Update comment.
4964 (ps_pstop): Remove unused function.
4965 (ps_pcontinue): Likewise.
4966 (ps_lstop): Likewise.
4967 (ps_lcontinue): Likewise.
4968 (ps_lgetxregsize): Likewise.
4969 (ps_lgetxregs): Likewise.
4970 (ps_lsetxregs): Likewise.
4971 (ps_plog): Likewise.
4972 (ps_ptread): Likewise.
4973 (ps_ptwrite): Likewise.
4974
cf363f18
MW
49752014-07-01 Mark Wielaard <mjw@redhat.com>
4976
4977 * dwarf2read.c (add_array_cv_type): New function.
4978 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4979 (read_tag_volatile_type): Likewise.
4980
82ae6c8d
TT
49812014-07-01 Tom Tromey <tromey@redhat.com>
4982
4983 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4984 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4985 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4986 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4987 * command.h (cmd_cfunc_ftype): Move earlier.
4988 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4989 (add_com, add_info): Use cmd_cfunc_ftype.
4990
96142726
TT
49912014-06-30 Tom Tromey <tromey@redhat.com>
4992
4993 * symtab.c (operator_chars): Make parameters and return type
4994 const.
4995 (file_matches): Make "files" const.
4996 (struct search_symbols_data) <files>: Now const.
4997 (search_symbols): Make "regexp" and "files" parameters const.
4998 Update.
4999 (symtab_symbol_info): Remove cast.
5000 (rbreak_command): Update.
5001 * symtab.h (search_symbols): Update.
5002
b67a2c6f
YQ
50032014-06-27 Yao Qi <yao@codesourcery.com>
5004
5005 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5006 Change parameter type to 'struct thread_info *'. Caller
5007 updated.
5008 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5009 Update declaration.
5010 * dummy-frame.c (struct dummy_frame_id): New.
5011 (dummy_frame_id_eq): New function.
5012 (struct dummy_frame) <id>: Change its type to 'struct
5013 dummy_frame_id'.
5014 (dummy_frame_push): Add parameter ptid and save it in
5015 dummy_frame_id.
5016 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5017 inferior_ptid.
5018 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5019 to inferior_ptid.
5020 (lookup_dummy_frame): Change parameter type to 'struct
5021 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5022 instead of frame_id_eq.
5023 (dummy_frame_pop): Add parameter ptid. Callers updated.
5024 Update comments. Compose dummy_frame_id and pass it to
5025 lookup_dummy_frame.
5026 (dummy_frame_discard): Add parameter ptid.
5027 (dummy_frame_sniffer): Compose dummy_frame_id and call
5028 dummy_frame_id_eq instead of frame_id_eq.
5029 (fprint_dummy_frames): Print ptid.
5030 * dummy-frame.h: Remove comments.
5031 (dummy_frame_push): Add ptid in declaration.
5032 (dummy_frame_pop, dummy_frame_discard): Likewise.
5033
5b10184c
TT
50342014-06-26 Tom Tromey <tromey@redhat.com>
5035
5036 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5037 * command.h (error_no_arg): Update.
5038
06900326
TT
50392014-06-26 Tom Tromey <tromey@redhat.com>
5040
5041 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5042 (do_show_command): Make "arg" const.
5043 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5044
c2bcbb1d
TT
50452014-06-26 Tom Tromey <tromey@redhat.com>
5046
5047 * record-full.c (record_full_get_bookmark): Make "args" const.
5048 (record_full_goto_bookmark): Make "raw_bookmark" const.
5049 * record.c (record_goto): New function.
5050 (cmd_record_goto): Use it. Now static.
5051 * record.h (record_goto): Declare.
5052 (cmd_record_goto): Remove declaration.
5053 * target-delegates.c: Rebuild.
5054 * target.h (struct target_ops) <to_get_bookmark,
5055 to_goto_bookmark>: Make parameter const.
5056
9cbe5fff
TT
50572014-06-26 Tom Tromey <tromey@redhat.com>
5058
5059 * defs.h (generic_load): Update.
5060 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5061 * monitor.c (monitor_load): Make "args" const.
5062 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5063 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5064 const.
5065 (mips_load): Make "file" const.
5066 * remote-sim.c (gdbsim_load): Make "args" const.
5067 * remote.c (remote_load): Make "name" const.
5068 * symfile.c (generic_load): Make "args" const.
5069 * target-delegates.c: Rebuild.
5070 * target.c (target_load): Make "arg" const.
5071 (debug_to_load): Make "args" const.
5072 * target.h (struct target_ops) <to_load>: Make parameter const.
5073 (target_load): Update.
5074
34a68019
TT
50752014-06-26 Tom Tromey <tromey@redhat.com>
5076
5077 PR symtab/16902:
5078 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5079 (dwarf2_physname, read_partial_die)
5080 (guess_partial_die_structure_name, fixup_partial_die)
5081 (guess_full_die_structure_name, anonymous_struct_prefix)
5082 (dwarf2_name): Use per-BFD obstack.
5083
efc889c1
YQ
50842014-06-26 Yao Qi <yao@codesourcery.com>
5085
5086 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5087 dummyframe and this_id into inner block below.
5088
4395285e
YQ
50892014-06-26 Yao Qi <yao@codesourcery.com>
5090
5091 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5092 with "signal_pass[0]" in the initialization of signal_pass.
5093
aef92902
MM
50942014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5095
5096 * record-btrace.c (record_btrace_generating_corefile)
5097 (record_btrace_prepare_to_generate_core)
5098 (record_btrace_done_generating_core): New.
5099 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5100 (record_btrace_store_registers, record_btrace_prepare_to_store):
5101 Forward request when generating a core file.
5102 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5103 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5104 to_done_generating_core.
5105
5fff78c4
MM
51062014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5107
5108 * target.h (target_ops) <to_prepare_to_generate_core>
5109 <to_done_generating_core>: New.
5110 (target_prepare_to_generate_core, target_done_generating_core): New.
5111 * target.c (target_prepare_to_generate_core)
5112 (target_done_generating_core): New.
5113 * target-delegates.c: Regenerate.
5114 * gcore.c: (write_gcore_file): Rename to ...
5115 (write_gcore_file_1): ...this.
5116 (write_gcore_file): Call target_prepare_to_generate_core
5117 and target_done_generating_core.
5118
1d1f1ccb
MM
51192014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5120
5121 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5122 * gcore.c (write_gcore_file): Free memory returned from
5123 make_corefile_notes.
5124 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5125 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5126
3343ef86
YQ
51272014-06-24 Yao Qi <yao@codesourcery.com>
5128
5129 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5130 (arm_linux_init_abi): Set skip_trampoline_code with
5131 gdbarch_skip_trampoline_code instead of
5132 find_solib_trampoline_target.
5133
18d18ac8
YQ
51342014-06-24 Yao Qi <yao@codesourcery.com>
5135
5136 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5137 arm_skip_bx_reg returns non-zero.
5138
80d8d390
YQ
51392014-06-24 Yao Qi <yao@codesourcery.com>
5140
5141 * arm-tdep.c (arm_skip_bx_reg): New function.
5142 (arm_skip_stub): Call arm_skip_bx_reg.
5143
6a18a01c
DB
51442014-06-23 Don Breazeal <donb@codesourcery.com>
5145
5146 * MAINTAINERS: Add myself as write-after-approval maintainer.
5147
8e9db26e
PA
51482014-06-23 Pedro Alves <palves@redhat.com>
5149
5150 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5151 DR_CONTROL before setting DR0..DR3.
5152 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5153 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5154 bits of DR_CONTROL related to the debug register slot being
5155 disabled. If all slots are vacant, clear local slowdown as well,
5156 and assert DR_CONTROL is 0.
5157
70afc5b7
SC
51582014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5159
5160 * python/lib/gdb/command/xmethods.py
5161 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5162 current progspace only if the string "progspace" matches LOCUS_RE.
5163
840ed64d
JK
51642014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 Fix --with-system-readline with readline-6.3 patch 5.
5167 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5168 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5169 types.
5170
26f2dc30
TT
51712014-06-20 Tom Tromey <tromey@redhat.com>
5172
5173 * dwarf2read.c (dw2_get_real_path): Use correct type in
5174 OBSTACK_CALLOC.
5175 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5176
125f8a3d
GB
51772014-06-20 Gary Benson <gbenson@redhat.com>
5178
5179 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5180 * common/glibc_thread_db.h: Likewise.
5181 * common/i386-cpuid.h: Likewise.
5182 * common/i386-gcc-cpuid.h: Likewise.
5183 * common/linux-btrace.h: Likewise.
5184 * common/linux-osdata.h: Likewise.
5185 * common/linux-procfs.h: Likewise.
5186 * common/linux-ptrace.h: Likewise.
5187 * common/mips-linux-watch.h: Likewise.
5188 * common/linux-btrace.c: Moved to nat.
5189 * common/linux-osdata.c: Likewise.
5190 * common/linux-procfs.c: Likewise.
5191 * common/linux-ptrace.c: Likewise.
5192 * common/mips-linux-watch.c: Likewise.
5193 * nat/gdb_thread_db.h: Moved from common.
5194 * nat/glibc_thread_db.h: Likewise.
5195 * nat/i386-cpuid.h: Likewise.
5196 * nat/i386-gcc-cpuid.h: Likewise.
5197 * nat/linux-btrace.c: Likewise.
5198 * nat/linux-btrace.h: Likewise.
5199 * nat/linux-osdata.c: Likewise.
5200 * nat/linux-osdata.h: Likewise.
5201 * nat/linux-procfs.c: Likewise.
5202 * nat/linux-procfs.h: Likewise.
5203 * nat/linux-ptrace.c: Likewise.
5204 * nat/linux-ptrace.h: Likewise.
5205 * nat/mips-linux-watch.c: Likewise.
5206 * nat/mips-linux-watch.h: Likewise.
5207 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5208 (object file files): Reordered.
5209 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5210 of glibc_thread_db.h.
5211
42995dbd
GB
52122014-06-20 Gary Benson <gbenson@redhat.com>
5213
5214 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5215 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5216 (i386_dr_low): Likewise.
5217 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5218 (i386_dr_low_set_addr): Likewise.
5219 (i386_dr_low_get_addr): Likewise.
5220 (i386_dr_low_can_set_control): Likewise.
5221 (i386_dr_low_set_control): Likewise.
5222 (i386_dr_low_get_control): Likewise.
5223 (i386_dr_low_get_status): Likewise.
5224 (i386_get_debug_register_length): Likewise.
5225 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5226 (i386_dr_low): Likewise.
5227 * nat/i386-dregs.c (i386-low.h): Remove include.
5228 (i386-nat.h): Likewise.
5229 (nat/i386-dregs.h): New include.
5230 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5231 (i386_dr_low_set_addr): Likewise.
5232 (i386_dr_low_get_addr): Likewise.
5233 (i386_dr_low_can_set_control): Likewise.
5234 (i386_dr_low_set_control): Likewise.
5235 (i386_dr_low_get_control): Likewise.
5236 (i386_dr_low_get_status): Likewise.
5237 (i386_get_debug_register_length): Likewise.
5238 (debug_hw_points): Likewise.
5239
3ed9baed
IB
52402014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5241
5242 * Makefile.in (SFILES): Add d-exp.y.
5243 (YYFILES): Add d-exp.c.
5244 (YYOBJ): Add d-exp.o.
5245 (local-maintainer-clean): Delete d-exp.c.
5246 * d-exp.y: New file.
5247 * d-lang.h (d_parse): New declaration.
5248 (d_error): New declaration.
5249 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5250 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5251 PREC_ORDER operators.
5252 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5253
78c164b0
YQ
52542014-06-19 Yao Qi <yao@codesourcery.com>
5255
5256 * gdbthread.h (any_running): Remove the declaration.
5257 * thread.c (any_running): Remove.
5258
f6e29b6e
YQ
52592014-06-19 Yao Qi <yao@codesourcery.com>
5260
5261 * gdbthread.h (struct thread_info) <state>: Change its type to
5262 'enum thread_state'. Update comments.
5263
034f788c
PA
52642014-06-19 Pedro Alves <palves@redhat.com>
5265
5266 * gdbthread.h (ALL_THREADS): Delete.
5267 (ALL_NON_EXITED_THREADS): New macro.
5268 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5269 instead of ALL_THREADS.
5270 * infrun.c (find_thread_needs_step_over)
5271 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5272 instead of ALL_THREADS.
5273 * record-btrace.c (record_btrace_open)
5274 (record_btrace_stop_recording, record_btrace_close)
5275 (record_btrace_is_replaying, record_btrace_resume)
5276 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5277 * remote.c (append_pending_thread_resumptions): Likewise.
5278 * thread.c (thread_apply_all_command): Likewise.
5279
46e33252
GB
52802014-06-19 Gary Benson <gbenson@redhat.com>
5281
5282 * i386-nat.c (i386_stopped_by_watchpoint):
5283 Use i386_dr_stopped_by_watchpoint.
5284 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5285 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5286
3a8ee006
GB
52872014-06-19 Gary Benson <gbenson@redhat.com>
5288
5289 * nat/i386-dregs.c: New file.
5290 * Makefile.in (i386-dregs.o): New rule.
5291 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5292 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5293 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5294 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5295 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5296 * config/i386/go32.mh (NATDEPFILES): Likewise.
5297 * config/i386/linux.mh (NATDEPFILES): Likewise.
5298 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5299 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5300 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5301 * i386-nat.h (debug_hw_points): New declaration.
5302 * i386-nat.c (breakpoint.h): Remove include.
5303 (command.h): Likewise.
5304 (target.h): Likewise.
5305 (gdb_assert.h): Likewise.
5306 (debug_hw_points): Made nonstatic.
5307 (debug_printf): Now in i386-dregs.c.
5308 (TARGET_HAS_DR_LEN_8): Likewise.
5309 (DR_CONTROL_SHIFT): Likewise.
5310 (DR_CONTROL_SIZE): Likewise.
5311 (DR_RW_EXECUTE): Likewise.
5312 (DR_RW_WRITE): Likewise.
5313 (DR_RW_READ): Likewise.
5314 (DR_RW_IORW): Likewise.
5315 (DR_LEN_1): Likewise.
5316 (DR_LEN_2): Likewise.
5317 (DR_LEN_4): Likewise.
5318 (DR_LEN_8): Likewise.
5319 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5320 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5321 (DR_ENABLE_SIZE): Likewise.
5322 (DR_LOCAL_SLOWDOWN): Likewise.
5323 (DR_GLOBAL_SLOWDOWN): Likewise.
5324 (DR_CONTROL_RESERVED): Likewise.
5325 (I386_DR_CONTROL_MASK): Likewise.
5326 (I386_DR_VACANT): Likewise.
5327 (I386_DR_LOCAL_ENABLE): Likewise.
5328 (I386_DR_GLOBAL_ENABLE): Likewise.
5329 (I386_DR_DISABLE): Likewise.
5330 (I386_DR_SET_RW_LEN): Likewise.
5331 (I386_DR_GET_RW_LEN): Likewise.
5332 (I386_DR_WATCH_HIT): Likewise.
5333 (i386_wp_op_t): Likewise.
5334 (i386_show_dr): Likewise.
5335 (i386_length_and_rw_bits): Likewise.
5336 (i386_insert_aligned_watchpoint): Likewise.
5337 (i386_remove_aligned_watchpoint): Likewise.
5338 (i386_handle_nonaligned_watchpoint): Likewise.
5339 (i386_update_inferior_debug_regs): Likewise.
5340 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5341 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5342 (i386_region_ok_for_watchpoint):
5343 Use i386_dr_region_ok_for_watchpoint.
5344 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5345
322a8e06
GB
53462014-06-19 Gary Benson <gbenson@redhat.com>
5347
5348 * i386-nat.c (i386_insert_hw_breakpoint): Use
5349 i386_insert_watchpoint.
5350 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5351
8f26655c
GB
53522014-06-19 Gary Benson <gbenson@redhat.com>
5353
5354 * i386-nat.c (i386_dr_show): Renamed to
5355 i386_show_dr and made static. All uses updated.
5356 (i386_dr_length_and_rw_bits): Renamed to
5357 i386_length_and_rw_bits and made static.
5358 All uses updated.
5359 (i386_dr_insert_aligned_watchpoint): Renamed to
5360 i386_insert_aligned_watchpoint and made static.
5361 All uses updated.
5362 (i386_dr_remove_aligned_watchpoint): Renamed to
5363 i386_remove_aligned_watchpoint and made static.
5364 All uses updated.
5365 (i386_dr_update_inferior_debug_regs): Renamed to
5366 i386_update_inferior_debug_regs and made static.
5367 All uses updated.
5368 * nat/i386-dregs.h (i386_dr_show): Removed.
5369 (i386_dr_length_and_rw_bits): Likewise.
5370 (i386_dr_insert_aligned_watchpoint): Likewise.
5371 (i386_dr_remove_aligned_watchpoint): Likewise.
5372 (i386_dr_update_inferior_debug_regs): Likewise.
5373
992c7d70
GB
53742014-06-19 Gary Benson <gbenson@redhat.com>
5375
5376 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5377 * configure: Regenerate.
5378 * config.in: Likewise.
5379 * main.c (signal.h): New include.
5380 (setup_alternate_signal_stack): New function.
5381 (captured_main): Call the above.
5382 * cp-support.c (signal.h): New include.
5383 (catch_demangler_crashes): New flag.
5384 (SIGJMP_BUF): New define.
5385 (SIGSETJMP): Likewise.
5386 (SIGLONGJMP): Likewise.
5387 (gdb_demangle_jmp_buf): New static global.
5388 (gdb_demangle_attempt_core_dump): Likewise.
5389 (gdb_demangle_signal_handler): New function.
5390 (gdb_demangle): If catch_demangler_crashes is set, install the
5391 above signal handler before calling bfd_demangle, and restore
5392 the original signal handler afterwards. Display the offending
5393 symbol and call demangler_warning the first time a segmentation
5394 fault is caught.
5395 (_initialize_cp_support): New maint set/show command.
5396
eae7090b
GB
53972014-06-19 Gary Benson <gbenson@redhat.com>
5398
5399 * utils.h (resource_limit_kind): New enum.
5400 (can_dump_core): New declaration.
5401 (warn_cant_dump_core): Likewise.
5402 (dump_core): Likewise.
5403 * utils.c (dump_core): Made nonstatic. Added new
5404 parameter "limit_kind".
5405 (can_dump_core): Made nonstatic. Moved printing code to...
5406 (warn_cant_dump_core): New function.
5407 (can_dump_core_warn): Likewise.
5408 (internal_vproblem): Replace calls to can_dump_core with
5409 calls to can_dump_core_warn. Supply new argument to each.
5410
57fcfb1b
GB
54112014-06-19 Gary Benson <gbenson@redhat.com>
5412
5413 * utils.h (demangler_vwarning): New declaration.
5414 (demangler_warning): Likewise.
5415 * utils.c (struct internal_problem)
5416 <user_settable_should_quit>: New field.
5417 <user_settable_should_dump_core>: Likewise
5418 (internal_error_problem): Add values for above new fields.
5419 (internal_warning_problem): Likewise.
5420 (demangler_warning_problem): New static global.
5421 (demangler_vwarning): New function.
5422 (demangler_warning): Likewise.
5423 (add_internal_problem_command): Selectively add commands.
5424 (_initialize_utils): New internal problem command.
5425 * maint.c (maintenance_demangler_warning): New function.
5426 (_initialize_maint_cmds): New command.
5427
17a40b44
TT
54282014-06-18 Tom Tromey <tromey@redhat.com>
5429
5430 * f-valprint.c (info_common_command_for_block): Update.
5431 * symtab.h (struct general_symbol_info) <common_block>: Now
5432 const.
5433
346d1dfe
TT
54342014-06-18 Tom Tromey <tromey@redhat.com>
5435
5436 * symtab.h (struct symtab) <blockvector>: Now const.
5437 * ada-lang.c (ada_add_global_exceptions): Update.
5438 * buildsym.c (augment_type_symtab): Update.
5439 * dwarf2read.c (dw2_lookup_symbol): Update.
5440 * jit.c (finalize_symtab): Update.
5441 * jv-lang.c (add_class_symtab_symbol): Update.
5442 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5443 Update.
5444 * objfiles.c (objfile_relocate1): Update.
5445 * psymtab.c (lookup_symbol_aux_psymtabs)
5446 (maintenance_check_psymtabs): Update.
5447 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5448 Update.
5449 * spu-tdep.c (spu_catch_start): Update.
5450 * symmisc.c (dump_symtab_1): Update.
5451 * symtab.c (lookup_global_symbol_from_objfile)
5452 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5453 (basic_lookup_transparent_type_quick)
5454 (basic_lookup_transparent_type, find_pc_sect_symtab)
5455 (find_pc_sect_line, search_symbols): Update.
5456 * block.c (find_block_in_blockvector): Make "bl" const.
5457 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5458 const.
5459 (blockvector_contains_pc): Make "bv" const.
5460 (block_for_pc_sect): Update.
5461 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5462 (blockvector_contains_pc): Update.
5463 * breakpoint.c (resolve_sal_pc): Update.
5464 * inline-frame.c (block_starting_point_at): Update.
5465
1834676b
TT
54662014-06-18 Tom Tromey <tromey@redhat.com>
5467
5468 * completer.c (complete_line): Make "line_buffer" const.
5469 * completer.h (complete_line): Update.
5470
ac1a991b
TT
54712014-06-18 Tom Tromey <tromey@redhat.com>
5472
5473 * symtab.c (add_macro_name): Remove unneeded cast.
5474
5bc98e52
TT
54752014-06-18 Tom Tromey <tromey@redhat.com>
5476
5477 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5478 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5479
8236def8
TT
54802014-06-18 Tom Tromey <tromey@redhat.com>
5481
5482 * probe.c (info_probes_for_ops): Make "arg" const.
5483 * probe.h (info_probes_for_ops): Update.
5484
3977b71f
TT
54852014-06-18 Tom Tromey <tromey@redhat.com>
5486
5487 * varobj.c (varobj_create): Update.
5488 * valops.c (value_of_this): Update.
5489 * tracepoint.c (add_local_symbols, scope_info): Update.
5490 * symtab.h (struct general_symbol_info) <block>: Now const.
5491 * symtab.c (skip_prologue_sal)
5492 (default_make_symbol_completion_list_break_on)
5493 (skip_prologue_using_sal): Update.
5494 * stack.h (iterate_over_block_locals)
5495 (iterate_over_block_local_vars): Update.
5496 * stack.c (print_frame_args): Update.
5497 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5498 parameter const.
5499 (get_selected_block): Make return type const.
5500 * python/py-frame.c (frapy_block): Update.
5501 * python/py-block.c (gdbpy_block_for_pc): Update.
5502 * p-exp.y (%union) <bval>: Now const.
5503 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5504 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5505 * m2-exp.y (%union) <bval>: Now const.
5506 * linespec.c (get_current_search_block): Make return type const.
5507 (create_sals_line_offset, find_label_symbols): Update.
5508 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5509 Update.
5510 (block_starting_point_at): Make "block" const.
5511 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5512 (check_exception_resume): Update.
5513 * guile/scm-frame.c (gdbscm_frame_block): Update.
5514 * guile/scm-block.c (gdbscm_lookup_block): Update.
5515 * frame.h (get_frame_block): Update.
5516 (get_selected_block): Make return type const.
5517 * frame.c (frame_id_inner): Update.
5518 * f-valprint.c (info_common_command_for_block)
5519 (info_common_command): Update.
5520 * dwarf2loc.c (dwarf2_find_location_expression)
5521 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5522 (locexpr_describe_location_piece): Update.
5523 * c-exp.y (%union) <bval>: Now const.
5524 * breakpoint.c (resolve_sal_pc): Update.
5525 * blockframe.c (get_frame_block):Make return type const.
5526 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5527 (block_innermost_frame): Update.
5528 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5529 (block_for_pc, block_for_pc_sect): Update.
5530 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5531 'pblock' const.
5532 (block_for_pc_sect, block_for_pc): Make return type const.
5533 * ax-gdb.c (gen_expr): Update.
5534 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5535 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5536 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5537 (ada_read_var_value): Update.
5538 * ada-exp.y (struct name_info) <block>: Now const.
5539 (%union): Likewise.
5540 (block_lookup): Constify.
5541
b9228891
GB
55422014-06-18 Gary Benson <gbenson@redhat.com>
5543
5544 * nat/i386-dregs.h: New file.
5545 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5546 * i386-nat.h (i386-dregs.h): New include.
5547 (DR_FIRSTADDR): Now in i386-dregs.h.
5548 (DR_LASTADDR): Likewise.
5549 (DR_NADDR): Likewise.
5550 (DR_STATUS): Likewise.
5551 (DR_CONTROL): Likewise.
5552 (i386_debug_reg_state): Likewise.
5553 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5554
a1aa2221
LM
55552014-06-18 Don Breazeal <donb@codesourcery.com>
5556
5557 * breakpoint.c (set_longjmp_breakpoint): Call
5558 momentary_breakpoint_from_master with additional argument.
5559 (set_longjmp_breakpoint_for_call_dummy): Call
5560 momentary_breakpoint_from_master with additional argument.
5561 (set_std_terminate_breakpoint): Call
5562 momentary_breakpoint_from_master with additional argument.
5563 (momentary_breakpoint_from_master): Add argument to function
5564 definition and use it to initialize structure member flag.
74228e77 5565 (clone_momentary_breakpoint): Call
a1aa2221
LM
5566 momentary_breakpoint_from_master with additional argument.
5567 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5568 member flags set in momentary_breakpoint_from_master.
5569
4be83cc2
GB
55702014-06-18 Gary Benson <gbenson@redhat.com>
5571
5572 * i386-nat.c (i386_show_dr): Renamed to
5573 i386_dr_show and made nonstatic. All uses updated.
5574 (i386_length_and_rw_bits): Renamed to
5575 i386_dr_length_and_rw_bits and made nonstatic.
5576 All uses updated.
5577 (i386_insert_aligned_watchpoint): Renamed to
5578 i386_dr_insert_aligned_watchpoint and made nonstatic.
5579 All uses updated.
5580 (i386_remove_aligned_watchpoint): Renamed to
5581 i386_dr_remove_aligned_watchpoint and made nonstatic.
5582 All uses updated.
5583 (i386_update_inferior_debug_regs): Renamed to
5584 i386_dr_update_inferior_debug_regs and made nonstatic.
5585 All uses updated.
5586
131aa0d4
GB
55872014-06-18 Gary Benson <gbenson@redhat.com>
5588
5589 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5590 (i386_dr_low_can_set_control): Likewise.
5591 (i386_dr_low_set_addr): Likewise.
5592 (i386_dr_low_set_control): Likewise.
5593 (i386_dr_low_get_addr): Likewise.
5594 (i386_dr_low_get_status): Likewise.
5595 (i386_dr_low_get_control): Likewise.
5596 (i386_insert_aligned_watchpoint): Use new macros.
5597 (i386_update_inferior_debug_regs): Likewise.
5598 (i386_stopped_data_address): Likewise.
5599
d9305f7f
GB
56002014-06-18 Gary Benson <gbenson@redhat.com>
5601
5602 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5603 New parameter. All uses updated.
5604
ea008da4
GB
56052014-06-18 Gary Benson <gbenson@redhat.com>
5606
5607 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5608 All uses updated.
5609
1b6d4134
GB
56102014-06-18 Gary Benson <gbenson@redhat.com>
5611
5612 * i386-nat.c (debug_printf): New macro.
5613 (i386_get_debug_register_length): Likewise.
5614 (TARGET_HAS_DR_LEN_8): Use above macro.
5615 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5616 and printf_unfiltered. Use phex to format values.
5617
9b4550ef
GB
56182014-06-18 Gary Benson <gbenson@redhat.com>
5619
5620 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5621 Make const.
5622
6e62758f
GB
56232014-06-18 Gary Benson <gbenson@redhat.com>
5624
5625 * i386-nat.c: Comment changes.
5626
51c79e94
GB
56272014-06-18 Gary Benson <gbenson@redhat.com>
5628
5629 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5630
3e11889a
GB
56312014-06-18 Gary Benson <gbenson@redhat.com>
5632
5633 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5634 (i386_insert_aligned_watchpoint): Likewise.
5635 (i386_remove_aligned_watchpoint): Likewise.
5636 (i386_handle_nonaligned_watchpoint): Likewise.
5637
fc6e2f03
GB
56382014-06-18 Gary Benson <gbenson@redhat.com>
5639
5640 * i386-nat.c: Whitespace changes.
5641
2afe7d50
SB
56422014-06-17 Samuel Bronson <naesten@gmail.com>
5643
5644 * MAINTAINERS: Update Roland McGrath's email address.
5645 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5646 Red Hat a while ago, and giving me a current address.
2afe7d50 5647
3bca49ee
TT
56482014-06-17 Tom Tromey <tromey@redhat.com>
5649
5650 * utils.h (savestring): Remove declaration.
5651
6e366df1
TT
56522014-06-17 Tom Tromey <tromey@redhat.com>
5653
5654 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5655
6be47f0c
KS
56562014-06-16 Keith Seitz <keiths@redhat.com>
5657
5658 PR mi/15863
5659 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5660 to update the varobj if inferior_ptid is null_ptid.
5661
7bc112c1
TT
56622014-06-16 Tom Tromey <tromey@redhat.com>
5663
5664 * target.h (struct target_ops) <to_info_proc>: Make parameter
5665 const.
5666 (target_info_proc): Update.
5667 * target.c (target_info_proc): Make "args" const.
5668 * procfs.c (procfs_info_proc): Update.
5669 * linux-tdep.c (linux_info_proc): Update.
5670 (linux_core_info_proc_mappings): Make "args" const.
5671 (linux_core_info_proc): Update.
5672 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5673 * gdbarch.c: Rebuild.
5674 * gdbarch.h: Rebuild.
5675 * corelow.c (core_info_proc): Update.
5676
fee354ee
TT
56772014-06-16 Tom Tromey <tromey@redhat.com>
5678
5679 * target.h (struct target_ops) <to_disconnect>: Make parameter
5680 const.
5681 (target_disconnect): Update.
5682 * target.c (target_disconnect): Make "args" const.
5683 * target-delegates.c: Rebuild.
5684 * remote.c (remote_disconnect): Update.
5685 * record.h (record_disconnect): Update.
5686 * record.c (record_disconnect): Update.
5687 * inf-child.c (inf_child_disconnect): Update.
5688
a30bf1f1
TT
56892014-06-16 Tom Tromey <tromey@redhat.com>
5690
5691 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5692 * target.c (debug_to_rcmd, default_rcmd): Update.
5693 * target-delegates.c: Rebuild.
5694 * remote.c (remote_rcmd): Update.
5695 * monitor.c (monitor_rcmd): Update.
5696
d03de421
PA
56972014-06-16 Pedro Alves <palves@redhat.com>
5698
5699 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5700 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5701 have OBJF_SHARED set.
5702 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5703 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5704 instead of OBJF_USERLOADED.
5705 * objfiles.h (OBJF_SHARED): Update comment.
5706 (userloaded_objfile_contains_address_p): Rename to ...
5707 (shared_objfile_contains_address_p): ... this, and update
5708 comments.
5709 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5710 new objfile.
5711 (remove_symbol_file_command): Skip objfiles that don't have
5712 OBJF_SHARED set.
5713
99f4262f
TT
57142014-06-16 Tom Tromey <tromey@redhat.com>
5715
5716 * minsyms.h (prim_record_minimal_symbol)
5717 (prim_record_minimal_symbol_and_info): Update comments.
5718
97d66cc6
EZ
57192014-06-14 Eli Zaretskii <eliz@gnu.org>
5720
5721 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5722 or --without-guile, according to how GDB was built.
5723
635c7e8a
TT
57242014-06-13 Tom Tromey <tromey@redhat.com>
5725
5726 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5727 to help_list.
5728 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5729 to help_list.
5730 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5731 help_list.
5732 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5733 help_list.Pass all_commands, not -1, to help_list.
5734 * cli/cli-dump.c (dump_command, append_command)
5735 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5736 (binary_dump_command, binary_append_command): Pass all_commands,
5737 not -1, to help_list.
5738 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5739 -1, to help_list.
5740 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5741 -1, to help_list.
5742 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5743 help_list.
5744 * top.c (set_history): Pass all_commands, not -1, to help_list.
5745 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5746 all_commands, not -1, to help_list.
5747 * symfile.c (overlay_command): Pass all_commands, not -1, to
5748 help_list.
5749 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5750 help_list.
5751 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5752 help_list.
5753 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5754 -1, to help_list.
5755 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5756 not -1, to help_list.
5757 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5758 not -1, to help_list.
5759 * maint.c (maintenance_command, maintenance_info_command)
5760 (maintenance_print_command, maintenance_set_cmd): Pass
5761 all_commands, not -1, to help_list.
5762 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5763 help_list.
5764 * language.c (set_check): Pass all_commands, not -1, to help_list.
5765 * infcmd.c (unset_command): Pass all_commands, not -1, to
5766 help_list.
5767 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5768 help_list.
5769 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5770 help_list.
5771 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5772 help_list.
5773 * breakpoint.c (save_command): Pass all_commands, not -1, to
5774 help_list.
5775 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5776 all_commands, not -1, to help_list.
5777
b94ade42
PL
57782014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5779
5780 * regcache.c (struct register_to_invalidate): New structure.
5781 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5782 functions.
5783 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5784
31f628ae
YQ
57852014-06-12 Yao Qi <yao@codesourcery.com>
5786
5787 * varobj.c (varobj_get_num_children): Call
5788 varobj_is_dynamic_p.
5789 (varobj_list_children): Likewise.
5790 (varobj_update): Likewise. Update comments.
5791
cde5ef40
YQ
57922014-06-12 Yao Qi <yao@codesourcery.com>
5793
5794 * varobj.c (varobj_pretty_printed_p): Rename to ...
5795 (varobj_is_dynamic_p): ... this. New function.
5796 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5797 (varobj_is_dynamic_p): Declare.
5798 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5799 (mi_print_value_p, varobj_update_one): Likewise.
5800
576ea091
YQ
58012014-06-12 Pedro Alves <pedro@codesourcery.com>
5802 Yao Qi <yao@codesourcery.com>
5803
5804 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5805 (varobj_get_iterator): Wrap up code for pretty-printer by
5806 "#if HAVE_PYTHON" and "#endif".
5807 (update_dynamic_varobj_children): Likewise.
5808
827f100c
YQ
58092014-06-12 Pedro Alves <pedro@codesourcery.com>
5810 Yao Qi <yao@codesourcery.com>
5811
5812 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5813 gdb_python_initialized is false. Move some code from varobj.c.
5814 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5815 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5816 (struct varobj_item): Moved to varobj-iter.h".
5817 (varobj_clear_saved_item): New function.
5818 (update_dynamic_varobj_children): Move python-related code to
5819 py-varobj.c.
5820 (free_variable): Call varobj_clear_saved_item and
5821 varobj_iter_delete.
5822
e5250216
YQ
58232014-06-12 Pedro Alves <pedro@codesourcery.com>
5824 Yao Qi <yao@codesourcery.com>
5825
5826 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5827 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5828 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5829 (py-varobj.o): New rule.
5830 * python/py-varobj.c: New file.
5831 * python/python-internal.h (py_varobj_get_iterator): Declare.
5832 * varobj-iter.h: New file.
5833 * varobj.c: Include "varobj-iter.h"
5834 (struct varobj) <child_iter>: Change its type from "PyObject *"
5835 to "struct varobj_iter *".
5836 <saved_item>: Likewise.
5837 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5838 [HAVE_PYTHON] (varobj_get_iterator): New function.
5839 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5840 python-specific code to python/py-varobj.c.
5841 (install_visualizer): Call varobj_iter_delete instead of
5842 Py_XDECREF.
5843 * varobj.h (varobj_ensure_python_env): Declare.
5844
5a2e0d6e
YQ
58452014-06-12 Yao Qi <yao@codesourcery.com>
5846
5847 * varobj.c (struct varobj_item): New structure.
5848 (create_child_with_value): Update declaration.
5849 (varobj_add_child): Replace arguments 'name' and 'value' with
5850 'item'. All callers updated.
5851 (install_dynamic_child): Likewise.
5852 (update_dynamic_varobj_children): Likewise.
5853 (varobj_add_child): Likewise.
5854 (create_child_with_value): Likewise.
5855
919b9a93
JB
58562014-06-11 Joel Brobecker <brobecker@adacore.com>
5857
5858 * NEWS: Create a new section for the next release branch.
5859 Rename the section of the current branch, now that it has
5860 been cut.
5861
71a55bdf
JB
58622014-06-11 Joel Brobecker <brobecker@adacore.com>
5863
5864 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5865 * version.in: Bump version to 7.8.50.DATE-cvs.
5866
364fe1f7
PA
58672014-06-11 Pedro Alves <palves@redhat.com>
5868
5869 PR remote/17028
5870 * ser-mingw.c (net_windows_socket_check_pending): New function.
5871 (net_windows_select_thread): Ignore spurious wakeups. Use
5872 net_windows_socket_check_pending.
5873 (net_windows_wait_handle): Check for pending events with
5874 ioctlsocket, through net_windows_socket_check_pending, instead of
5875 checking the socket's event.
5876
5a6c7709
SC
58772014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5878
5879 * python/python-internal.h (gdb_PyObject_GetAttrString)
5880 (gdb_PyObject_HasAttrString): New inline function definitions.
5881 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5882 char * of the second argument to PyObject_GetAttrString.
74228e77 5883
0e58ee40
JB
58842014-06-10 Joel Brobecker <brobecker@adacore.com>
5885
5886 * serial.c (serial_write): Fix index of character to be printed
5887 in call to serial_logchar when serial debug traces are enabled.
5888
d190df30
JB
58892014-06-10 Joel Brobecker <brobecker@adacore.com>
5890
5891 * gdbtypes (resolve_dynamic_range): Add function description.
5892
b4b01d36
PA
58932014-06-09 Pedro Alves <palves@redhat.com>
5894
5895 * linux-nat.c (linux_child_follow_fork): Initialize status with
5896 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5897 inner block. Only pass the signal to PTRACE_DETACH if in pass
5898 state.
5899
3657956b
GB
59002014-06-09 Gary Benson <gbenson@redhat.com>
5901
5902 * common/signals.c (gdb_signal_from_host): Reorder to separate
5903 the always-available ANSI-standard signals from the signals that
5904 require checking.
5905 (do_gdb_signal_to_host): Likewise.
5906 * proc-events.c (signal_table): Likewise.
5907
c077881a
HZ
59082014-06-08 Hui Zhu <hui@codesourcery.com>
5909
5910 * common/linux-ptrace.c (linux_disable_event_reporting): New
5911 function.
5912 * common/linux-ptrace.h (linux_disable_event_reporting): New
5913 declaration.
5914 * linux-nat.c (linux_child_follow_fork): Do a single step before
5915 detach.
5916
4186eb54
KS
59172014-06-07 Keith Seitz <keiths@redhat.com>
5918
5919 Revert:
5920 PR c++/16253
5921 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5922 from symbol_matches_domain in symtab.c. All local callers
5923 of symbol_matches_domain updated.
5924 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5925 search STRUCT_DOMAIN.
5926 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5927 independently. standard_lookup will do that automatically.
5928 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5929 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5930 (cp_lookup_symbol_in_namespace): Likewise.
5931 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5932 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5933 may return a STRUCT_DOMAIN match.
5934 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5935 * cp-support.c: Include language.h.
5936 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5937 VAR_DOMAIN.
5938 * psymtab.c (match_partial_symbol): Compare the requested
5939 domain with the symbol's domain directly.
5940 (lookup_partial_symbol): Likewise.
5941 * symtab.c (lookup_symbol_in_language): Explain when/why
5942 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5943 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5944 appropriate languages.
5945 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5946 and moved to ada-lang.c
5947 (lookup_block_symbol): Explain that this function only returns
5948 symbol matching the requested DOMAIN.
5949 Compare the requested domain with the symbol's domain directly.
5950 (iterate_over_symbols): Compare the requested domain with the
5951 symbol's domain directly.
5952 * symtab.h (symbol_matches_domain): Remove.
5953
25326a28 59542014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
5955
5956 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5957 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5958 (gdbscm_guile_version_is_at_least): Declare.
5959 (gdbscm_scm_string_to_int): Declare.
5960 * guile/guile.c (gdbscm_guile_major_version): New global.
5961 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5962 (guile_datadir): New static global.
5963 (gdbscm_guile_data_directory): New function.
5964 (initialize_scheme_side): Update.
5965 (misc_guile_functions): Add guile-data-directory.
5966 (initialize_gdb_module): Fetch guile version number.
5967 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5968 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5969 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5970 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5971 comments.
5972 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5973 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5974 * guile/scm-value.c (gdbscm_value_to_string): Only call
5975 scm_port_conversion_strategy if Guile version >= 2.0.6.
5976
0a770bb2 59772014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5978
5979 * main.c (print_gdb_help): Add -q and --silent.
5980
73ba372c
GB
59812014-06-06 Gary Benson <gbenson@redhat.com>
5982
5983 * common/signals.c: Remove preprocessor conditionals for
5984 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5985 SIGSEGV and SIGTERM.
5986 * proc-events.c: Likewise.
5987
c33b2f12
MM
59882014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5989
5990 * symfile.c (symfile_free_objfile): Remove restriction to
5991 OBJF_USERLOADED.
5992 * symfile-mem.c (symbol_file_add_from_memory): Call
5993 add_target_sections_of_objfile.
5994
fb934770
LC
59952014-06-05 Ludovic Courtès <ludo@gnu.org>
5996
5997 * guile/scm-value.c (gdbscm_history_append_x): Use
5998 'vlscm_get_value_smob_arg_unsafe' instead of
5999 'vlscm_scm_to_value'.
6000
6ef284bd
SM
60012014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6002
6003 PR mi/15806
6004 * utils.c (printchar): Don't escape at all if quoter is NUL.
6005 Update function documentation to clarify effect of parameter
6006 QUOTER.
6007 * remote.c (escape_buffer): Pass '\\' as the quoter to
6008 fputstrn_unfiltered.
6009 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6010 generate the output.
6011 (mi_solib_unloaded): Same.
6012
270c9937
JB
60132014-06-05 Joel Brobecker <brobecker@adacore.com>
6014
6015 * development.sh: Delete.
6016 * Makefile.in (config.status): Adjust dependency on development.sh.
6017 * configure.ac: Adjust development.sh source call.
6018 * configure: Regenerate.
6019
16f691fb
DE
60202014-06-04 Doug Evans <xdje42@gmail.com>
6021
6022 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6023 is_scheme_bkpt, spec.
6024 (bpscm_make_breakpoint_smob): Initialize new members.
6025 (gdbscm_create_breakpoint_x): Split into two ...
6026 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6027 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6028 (scheme_function breakpoint_functions): Update.
6029 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6030 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6031 register-breakpoint!.
6032
ef7cab6b
JB
60332014-06-04 Joel Brobecker <brobecker@adacorer.com>
6034
6035 PR server/17023
6036 * mem-break.c (z_type_supported): Return zero if
6037 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6038
012370f6
TT
60392014-06-04 Tom Tromey <tromey@redhat.com>
6040
6041 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6042 value_from_contents_and_address_unresolved.
6043 (ada_template_to_fixed_record_type_1): Likewise.
6044 (ada_which_variant_applies): Likewise.
6045 * value.h (value_from_contents_and_address_unresolved): Declare.
6046 * value.c (value_from_contents_and_address_unresolved): New
6047 function.
6048 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6049 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6050 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6051
92e2a17f
TT
60522014-06-04 Tom Tromey <tromey@redhat.com>
6053
6054 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6055
c0939df1
TT
60562014-06-04 Tom Tromey <tromey@redhat.com>
6057
6058 * procfs.c (procfs_attach): Make "args" const.
6059 * windows-nat.c (windows_attach): Make "args" const.
6060 * nto-procfs.c (procfs_attach): Make "args" const.
6061 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6062 * go32-nat.c (go32_attach): Make "args" const.
6063 * gnu-nat.c (gnu_attach): Make "args" const.
6064 * darwin-nat.c (darwin_attach): Make "args" const.
6065 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6066 * linux-nat.c (linux_nat_attach): Make "args" const.
6067 * remote.c (extended_remote_attach_1, extended_remote_attach):
6068 Make "args" const.
6069 * target.h (struct target_ops) <to_attach>: Make "args" const.
6070 (find_default_attach): Likewise.
6071 * utils.c (parse_pid_to_attach): Make "args" const.
6072 * utils.h (parse_pid_to_attach): Update.
6073
8eaff7cd
TT
60742014-06-04 Tom Tromey <tromey@redhat.com>
6075
6076 * target-delegates.c: Rebuild.
6077 * target.c (default_thread_address_space): New function.
6078 (target_thread_address_space): Simplify.
6079 * target.h (struct target_ops) <to_thread_address_space>: Add
6080 TARGET_DEFAULT_FUNC.
6081
1913f160
DE
60822014-06-04 Doug Evans <xdje42@gmail.com>
6083
6084 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6085
70ad5bff
MM
60862014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6087
6088 * record-btrace.c: Include event-loop.h and inf-loop.h.
6089 (record_btrace_resume_exec_dir)
6090 (record_btrace_async_inferior_event_handler)
6091 (record_btrace_handle_async_inferior_event): New.
6092 (record_btrace_open): Create async event handler.
6093 (record_btrace_close): Delete async event handler.
6094 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6095 Mark async event handler.
6096 (record_btrace_execution_direction): New.
6097 (init_record_btrace_ops): Initialize to_execution_direction.
6098
b6210538
DE
60992014-06-03 Doug Evans <xdje42@gmail.com>
6100
6101 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6102 (gdbscm_make_parameter): Ditto.
6103
a5b1fd27
DE
61042014-06-03 Doug Evans <dje@google.com>
6105
6106 * exec.c (exec_close_1): Call clear_section_table instead of
6107 resize_section_table.
6108 (clear_section_table): New function.
6109 (resize_section_table): Make static. Rename arg num_added to
6110 adjustment.
6111 * exec.h (clear_section_table): Declare.
6112 (resize_section_table): Delete.
6113 * progspace.c (release_program_space): Call clear_section_table
6114 instead of resize_section_table.
6115
0c6e92a5
SC
61162014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6117
6118 * NEWS (Python Scripting): Add entry about the new xmethods
6119 feature.
6120
883964a7
SC
61212014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6122
6123 * python/py-xmethods.c: New file.
6124 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6125 (objfpy_dealloc): XDECREF on the new xmethods field.
6126 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6127 field.
6128 (objfpy_get_xmethods): New function.
6129 (objfile_getset): New entry 'xmethods'.
6130 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6131 (pspy_dealloc): XDECREF on the new xmethods field.
6132 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6133 field.
6134 (pspy_get_xmethods): New function.
6135 (pspace_getset): New entry 'xmethods'.
6136 * python/python-internal.h: Add declarations for new functions.
6137 * python/python.c (_initialize_python): Invoke
6138 gdbpy_initialize_xmethods.
6139 * python/lib/gdb/__init__.py (xmethods): New
6140 attribute.
6141 * python/lib/gdb/xmethod.py: New file.
6142 * python/lib/gdb/command/xmethods.py: New file.
6143
58992dc5
SC
61442014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6145
6146 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6147 best match method returned by find_overload_match is an xmethod.
6148 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6149 the best matching operator returned by find_overload_match is an
6150 xmethod.
6151 * valops.c: #include "extension.h".
6152 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6153 Return void. The list of matching source methods is returned in
6154 "fn_list" and a vector of matching debug method workers is
6155 returned in "xm_worker_vec". Update all callers.
6156 (value_find_oload_method_list): Likewise.
6157 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6158 non-NULL, then the index of the best matching method in this
6159 vector is returned. Update all callers.
6160 (find_overload_match): Include xmethods while performing overload
6161 resolution.
6162
e81e7f5e
SC
61632014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6164
6165 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6166 * extension-priv.h (struct extension_language_ops): Add the
6167 xmethod interface.
6168 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6169 get_matching_xmethod_workers, get_xmethod_argtypes,
6170 invoke_xmethod, free_xmethod_worker,
6171 free_xmethod_worker_vec): New functions.
6172 * extension.h: #include "common/vec.h".
6173 New function declarations.
6174 (struct xmethod_worker): New struct.
6175 (VEC (xmethod_worker_ptr)): New vector type.
6176 (xmethod_worker_ptr): New typedef.
6177 (xmethod_worker_vec): Likewise.
6178 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6179 builtin_type.
6180 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6181 (struct builtin_type): New field "xmethod".
6182 * valarith.c (value_ptradd): Assert that the value argument is not
6183 lval_xcallable.
6184 * valops.c (value_must_coerce_to_target): Return 0 for
6185 lval_xcallable values.
6186 * value.c (struct value): New field XM_WORKER in the field
6187 LOCATION.
6188 (value_address, value_raw_address): Return 0 for lval_xcallable
6189 values.
6190 (set_value_address): Assert that the value is not an
6191 lval_xcallable.
6192 (value_free): Free the associated xmethod worker when freeing
6193 lval_xcallable values.
6194 (set_value_component_location): Assert that the WHOLE value is not
6195 lval_xcallable.
6196 (value_of_xmethod, call_xmethod): New functions.
6197 * value.h: Declare "struct xmethod_worker".
6198 Declare new functions value_of_xmethod, call_xmethod.
6199
ef370185
JB
62002014-06-03 Joel Brobecker <brobecker@adacore.com>
6201 Pedro Alves <palves@redhat.com>
6202
6203 PR breakpoints/17000
6204 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6205 New function, extracted from software_breakpoint_inserted_here_p.
6206 (software_breakpoint_inserted_here_p): Replace factored out code
6207 by call to find_non_raw_software_breakpoint_inserted_here.
6208 (bp_target_info_copy_insertion_state): New function.
6209 (bkpt_insert_location): Handle the case of a single-step
6210 breakpoint already inserted at the same address.
6211 (bkpt_remove_location): Handle the case of a single-step
6212 breakpoint still inserted at the same address.
6213 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6214 breakpoint already inserted at the same address.
6215 (deprecated_remove_raw_breakpoint): Handle the case of a
6216 non-raw breakpoint still inserted at the same address.
6217 (find_single_step_breakpoint): New function, extracted from
6218 single_step_breakpoint_inserted_here_p.
6219 (find_single_step_breakpoint): New function,
6220 factored out from single_step_breakpoint_inserted_here_p.
6221 (single_step_breakpoint_inserted_here_p): Reimplement.
6222
1e2ccb61
BM
62232014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6224
6225 Pushed by Joel Brobecker <brobecker@adacore.com>
6226 * source.c (show_substitute_path_command): Fix display of matching
6227 substitution rules.
6228
d3448d85
GB
62292014-06-03 Gary Benson <gbenson@redhat.com>
6230
6231 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6232
06eb1586
DE
62332014-06-02 Doug Evans <xdje42@gmail.com>
6234
6235 Add parameter support for Guile.
6236 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6237 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6238 (scm-param.o): New rule.
6239 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6240 (gdbscm_misc_error): Declare.
6241 (gdbscm_canonicalize_command_name): Declare.
6242 (gdbscm_scm_to_host_string): Declare.
6243 (gdbscm_scm_from_host_string): Declare.
6244 (gdbscm_initialize_parameters): Declare.
6245 * guile/guile.c (initialize_gdb_module): Call
6246 gdbscm_initialize_parameters.
6247 * guile/lib/gdb.scm: Export parameter symbols.
6248 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6249 cmdscm_canonicalize_name and made public. All callers updated.
6250 * guile/scm-exception.c (gdbscm_misc_error): New function.
6251 * guile/scm-param.c: New file.
6252 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6253 (gdbscm_scm_to_host_string): New function.
6254 (gdbscm_scm_from_host_string): New function.
6255 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6256
e698b8c4
DE
62572014-06-02 Doug Evans <xdje42@gmail.com>
6258
6259 Add command support for Guile.
6260 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6261 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6262 (scm-cmd.o): New rule.
6263 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6264 (gdbscm_user_error_p): Declare.
6265 (gdbscm_parse_command_name): Declare.
6266 (gdbscm_valid_command_class_p): Declare.
6267 (gdbscm_initialize_commands): Declare.
6268 * guile/guile.c (initialize_gdb_module): Call
6269 gdbscm_initialize_commands.
6270 * guile/lib/gdb.scm: Export command symbols.
6271 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6272 (throw-user-error): New function.
6273 * guile/scm-cmd.c: New file.
6274 * guile/scm-exception.c (user_error_symbol): New static global.
6275 (gdbscm_user_error_p): New function.
6276 (gdbscm_initialize_exceptions): Set user_error_symbol.
6277 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6278
fb1f94b0
PM
62792014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6280
6281 * top.c (command_loop): Handle comments here...
6282 (command_line_input): ... not here.
6283
ded03782
DE
62842014-06-02 Doug Evans <xdje42@gmail.com>
6285
6286 Add progspace support for Guile.
6287 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6288 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6289 (scm-progspace.o): New rule.
6290 * guile/guile-internal.h (pspace_smob): New typedef.
6291 (psscm_pspace_smob_pretty_printers): Declare.
6292 (psscm_pspace_smob_from_pspace): Declare.
6293 (psscm_scm_from_pspace): Declare.
6294 * guile/guile.c (initialize_gdb_module): Call
6295 gdbscm_initialize_pspaces.
6296 * guile/lib/gdb.scm: Export progspace symbols.
6297 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6298 support.
6299 (append-pretty-printer!): Ditto.
6300 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6301 Implement.
6302 * guile/scm-progspace.c: New file.
6303
397998fc
AM
63042014-06-03 Alan Modra <amodra@gmail.com>
6305
6306 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6307 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6308
6aa5f3a6
DE
63092014-06-02 Doug Evans <dje@google.com>
6310
6311 Add support for skeletonless type units.
6312 * dwarf2read.c (struct dwarf2_per_objfile): New member
6313 n_allocated_type_units.
6314 (struct dwarf2_per_objfile) <tu_stats>: New member
6315 nr_all_type_units_reallocs.
6316 (create_signatured_type_table_from_index): Initialize
6317 n_allocated_type_units
6318 (create_all_type_units): Ditto.
6319 (add_type_unit): Move up in file. New arg slot.
6320 All callers updated. Increase space for all_type_units more
6321 efficiently.
6322 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6323 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6324 (lookup_dwp_signatured_type): Ditto.
6325 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6326 All callers updated.
6327 (build_type_psymtabs_1): Leave type_unit_groups as
6328 NULL if no TUs present.
6329 (print_tu_stats): New function.
6330 (process_skeletonless_type_unit): New function.
6331 (process_dwo_file_for_skeletonless_type_units): New
6332 function.
6333 (process_skeletonless_type_units): New function.
6334 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6335 Call print tu_stats if debugging enabled.
6336
41fac0cf
PA
63372014-06-02 Pedro Alves <palves@redhat.com>
6338
6339 * breakpoint.c (build_target_command_list): Don't build a command
6340 list if we have any duplicate location that isn't a dprintf.
6341
cd1608cc
PA
63422014-06-02 Pedro Alves <palves@redhat.com>
6343
6344 * breakpoint.c (dprintf_breakpoint_hit): New function.
6345 (initialize_breakpoint_ops): Install it as dprintf's
6346 breakpoint_hit method.
6347
486ef3b9
JB
63482014-06-02 Joel Brobecker <brobecker@adacore.com>
6349
6350 * source.c (substitute_path_rule_matches): Simplify using
6351 filename_ncmp instead of FILENAME_CMP.
6352
230cd560
JB
63532014-06-02 Joel Brobecker <brobecker@adacore.com>
6354
6355 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6356
16954d5d
LC
63572014-06-01 Ludovic Courtès <ludo@gnu.org>
6358
6359 * configure.ac: When Guile is available, check for the
6360 availability of 'scm_new_smob'.
6361 * configure, config.h.in: Regenerate.
6362 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6363 function.
6364
53e8a631
AB
63652014-05-30 Andrew Burgess <aburgess@broadcom.com>
6366
6367 * frame.c (struct frame_info): Add stop_string field.
6368 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6369 (get_prev_frame_always): Old content moved into
6370 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6371 TRY_CATCH, handle MEMORY_ERROR exceptions.
6372 (frame_stop_reason_string): New function definition.
6373 * frame.h (unwind_stop_reason_to_string): Extend comment to
6374 mention frame_stop_reason_string.
6375 (frame_stop_reason_string): New function declaration.
6376 * stack.c (frame_info): Switch to frame_stop_reason_string.
6377 (backtrace_command_1): Switch to frame_stop_reason_string.
6378 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6379 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6380 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6381
70e38b8e
AB
63822014-05-30 Andrew Burgess <aburgess@broadcom.com>
6383
6384 * frame.c (frame_stop_reason_string): Rename to ...
6385 (unwind_stop_reason_to_string): this.
6386 * frame.h (frame_stop_reason_string): Rename to ...
6387 (unwind_stop_reason_to_string): this.
6388 * stack.c (frame_info): Update call to frame_stop_reason_string.
6389 (backtrace_command_1): Likewise.
6390 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6391 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6392
938f0e2f
AB
63932014-05-30 Andrew Burgess <aburgess@broadcom.com>
6394
6395 * frame.c (remove_prev_frame): New function.
6396 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6397 remove_prev_frame.
6398
a09dd441
PA
63992014-05-29 Pedro Alves <palves@redhat.com>
6400
6401 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6402 and make it const. When a single-step decays to a continue,
6403 clear 'step', not 'hw_step'. Pass whether the caller wanted
6404 to step to user_visible_resume_ptid, not what we ask the
6405 target to do.
6406
bdc36728
PA
64072014-05-29 Pedro Alves <palves@redhat.com>
6408
6409 * infrun.c (process_event_stop_test, handle_step_into_function)
6410 (handle_step_into_function_backward): Adjust.
6411 Don't set the even thread's stop_step and call stop_waiting before
6412 calling end_stepping_range. Instead do that ...
6413 (end_stepping_range): ... here. Take an ecs pointer parameter.
6414
22bcd14b
PA
64152014-05-29 Pedro Alves <palves@redhat.com>
6416
6417 * infrun.c (stop_stepping): Rename to ...
6418 (stop_waiting): ... this.
6419 (proceed): Update comment.
6420 (process_event_stop_test, handle_inferior_event)
6421 (handle_signal_stop, handle_step_into_function)
6422 (handle_step_into_function_backward): Update.
6423
4ae57c05
PA
64242014-05-29 Pedro Alves <palves@redhat.com>
6425
6426 * infcall.c (run_inferior_call): Don't check whether the current
6427 thread is running after the proceed call.
6428
329ea579
PA
64292014-05-29 Pedro Alves <palves@redhat.com>
6430 Tom Tromey <tromey@redhat.com>
6431
6432 * NEWS: Mention "maint set target-async", "set mi-async", and that
6433 background execution commands are now always available.
6434 * target.h (target_async_permitted): Update comment.
6435 * target.c (target_async_permitted, target_async_permitted_1):
6436 Default to 1.
6437 (set_target_async_command): Rename to ...
6438 (maint_set_target_async_command): ... this.
6439 (show_target_async_command): Rename to ...
6440 (maint_show_target_async_command): ... this.
6441 (_initialize_target): Adjust.
6442 * infcmd.c (prepare_execution_command): Make extern.
6443 * inferior.h (prepare_execution_command): Declare.
6444 * infrun.c (set_observer_mode): Leave target async alone.
6445 * mi/mi-interp.c (mi_interpreter_init): Install
6446 mi_on_sync_execution_done as sync_execution_done observer.
6447 (mi_on_sync_execution_done): New function.
6448 (mi_execute_command_input_handler): Don't print the prompt if we
6449 just started a synchronous command with an async target.
6450 (mi_on_resume): Check sync_execution before printing prompt.
6451 * mi/mi-main.h (mi_async_p): Declare.
6452 * mi/mi-main.c: Include gdbcmd.h.
6453 (mi_async_p): New function.
6454 (mi_async, mi_async_1): New globals.
6455 (set_mi_async_command, show_mi_async_command, mi_async): New
6456 functions.
6457 (exec_continue): Call prepare_execution_command.
6458 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6459 (mi_execute_async_cli_command): Use mi_async_p.
6460 (_initialize_mi_main): Install "set mi-async". Make
6461 "target-async" a deprecated alias.
6462
92bcb5f9
PA
64632014-05-29 Pedro Alves <palves@redhat.com>
6464
6465 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6466 (_initialize_cli_interp): Adjust.
6467 * event-loop.c: Include "observer.h".
6468 (start_event_loop): Notify 'command_error' observers instead of
6469 calling display_gdb_prompt. Remove FIXME comment.
6470 * event-top.c (display_gdb_prompt): Remove call into the
6471 interpreters.
6472 * inf-loop.c: Include "observer.h".
6473 (inferior_event_handler): Notify 'command_error' observers instead
6474 of calling display_gdb_prompt.
6475 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6476 observers instead of calling display_gdb_prompt.
6477 * interps.c (interp_set): Don't call display_gdb_prompt.
6478 (current_interp_display_prompt_p): Delete.
6479 * interps.h (interp_prompt_p): Delete declaration.
6480 (interp_prompt_p_ftype): Delete.
6481 (struct interp_procs) <prompt_proc_p>: Delete field.
6482 (current_interp_display_prompt_p): Delete declaration.
6483 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6484 (_initialize_mi_interp): Adjust.
6485 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6486 'command_error' observers.
6487 (tui_on_sync_execution_done, tui_on_command_error): New
6488 functions.
6489 (tui_display_prompt_p): Delete.
6490 (_initialize_tui_interp): Adjust.
6491
fd664c91
PA
64922014-05-29 Pedro Alves <palves@redhat.com>
6493
6494 PR gdb/13860
6495 * cli/cli-interp.c: Include infrun.h and observer.h.
6496 (cli_uiout, cli_interp): New globals.
6497 (cli_on_signal_received, cli_on_end_stepping_range)
6498 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6499 functions.
6500 (cli_interpreter_init): Install them as 'end_stepping_range',
6501 'signal_received' 'signal_exited', 'exited' and 'no_history'
6502 observers.
6503 (_initialize_cli_interp): Remove cli_interp local.
6504 * infrun.c (handle_inferior_event): Call the several stop reason
6505 observers instead of printing the stop reason directly.
6506 (end_stepping_range): New function.
6507 (print_end_stepping_range_reason, print_signal_exited_reason)
6508 (print_exited_reason, print_signal_received_reason)
6509 (print_no_history_reason): Make static, and add an uiout
6510 parameter. Print to that instead of to CURRENT_UIOUT.
6511 * infrun.h (print_end_stepping_range_reason)
6512 (print_signal_exited_reason, print_exited_reason)
6513 (print_signal_received_reason print_no_history_reason): New
6514 declarations.
6515 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6516 'mi_uiout'.
6517 <cli_uiout>: New field.
6518 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6519 uiout for CLI output. Install 'signal_received',
6520 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6521 observers.
6522 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6523 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6524 (mi_on_no_history): New functions.
6525 (ui_out_free_cleanup): Delete function.
6526 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6527 instead use the one already stored in the MI interpreter data.
6528 (mi_ui_out): Adjust.
6529 * tui/tui-interp.c: Include infrun.h and observer.h.
6530 (tui_interp): New global.
6531 (tui_on_signal_received, tui_on_end_stepping_range)
6532 (tui_on_signal_exited, tui_on_exited)
6533 (tui_on_no_history): New functions.
6534 (tui_init): Install them as 'end_stepping_range',
6535 'signal_received' 'signal_exited', 'exited' and 'no_history'
6536 observers.
6537 (_initialize_tui_interp): Delete tui_interp local.
6538
8817a6f2
PA
65392014-05-29 Pedro Alves <palves@redhat.com>
6540
6541 PR gdb/15713
6542 * linux-nat.c (linux_nat_resume_callback): Rename the second
6543 parameter to 'except'. Skip LP if it points to EXCEPT.
6544 (linux_nat_resume): Don't mark the event lwp as not stopped
6545 before resuming sibling lwps. Instead ask
6546 linux_nat_resume_callback to skip the event lwp. Mark it as not
6547 stopped after actually resuming it.
6548 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6549 resuming it.
6550 (wait_lwp): Mark the lwp as stopped here.
6551 (stop_wait_callback): Mark the lwp as not stopped right after
6552 resuming it. Don't mark lwps as stopped here.
6553 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6554 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6555
251bde03
PA
65562014-05-29 Pedro Alves <palves@redhat.com>
6557
6558 PR PR15693
6559 * infrun.c (resume): Determine how much to resume depending on
6560 whether the caller wanted a step, not whether we can hardware step
6561 the target. Mark all threads that we intend to run as running,
6562 unless we're calling an inferior function.
6563 (normal_stop): If the thread is running an infcall, don't finish
6564 thread state.
6565 * target.c (target_resume): Don't mark threads as running here.
6566
7f3c0343
JB
65672014-05-28 Joel Brobecker <brobecker@adacore.com>
6568
6569 * serial.c (_initialize_serial): Remove support for
6570 the "set remotebaud" and "show remotebaud" commands.
6571 * NEWS: Add entry documenting the removal of that command.
6572
ee34b3f9
YQ
65732014-05-28 Yao Qi <yao@codesourcery.com>
6574
6575 * charset.c: Fix typo in comments.
6576
add6c04d
GB
65772014-05-27 Gary Benson <gbenson@redhat.com>
6578
6579 * utils.c (internal_vproblem): Prompt for a bug report.
6580
92c48fc5
AW
65812014-05-26 Andy Wingo <wingo@igalia.com>
6582
6583 * guile/scm-arch.c (arscm_mark_arch_smob):
6584 * guile/scm-block.c (bkscm_mark_block_smob)
6585 (bkscm_mark_block_syms_progress_smob):
6586 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6587 * guile/scm-exception.c (exscm_mark_exception_smob):
6588 * guile/scm-frame.c (frscm_mark_frame_smob):
6589 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6590 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6591 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6592 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6593 (ppscm_mark_pretty_printer_worker_smob):
6594 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6595 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6596 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6597 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6598 mark functions.
6599 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6600 function.
6601
b2715b27
AW
66022014-05-26 Andy Wingo <wingo@igalia.com>
6603 Doug Evans <xdje42@gmail.com>
6604
6605 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6606 empty_base_class. All uses updated.
6607 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6608 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6609 Adapt all callers.
6610 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6611 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6612 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6613 (gdbscm_gsmob_has_property_p, add_property_name)
6614 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6615 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6616 (gdb-object-has-property?, gdb-object-properties): Remove.
6617 (gdb-object-kind): Renamed from gsmob-kind.
6618
214ab2da
AW
66192014-05-26 Andy Wingo <wingo@igalia.com>
6620
6621 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6622 * configure: Regenerate.
6623
589fdceb
MM
66242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6625
6626 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6627
67b5c0c1
MM
66282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6629
6630 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6631 (replay_memory_access_read_only, replay_memory_access_read_write)
6632 (replay_memory_access_types, replay_memory_access)
6633 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6634 (cmd_set_record_btrace, cmd_show_record_btrace)
6635 (cmd_show_replay_memory_access): New.
6636 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6637 (record_btrace_remove_breakpoint): Replace
6638 record_btrace_allow_memory_access with replay_memory_access.
6639 (_initialize_record_btrace): Add commands.
6640 * NEWS: Announce it.
6641
036cd381
RR
66422014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6643
6644 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6645
c77c1e42
RR
66462014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6647
6648 * MAINTAINERS (Write After Approval): Move self back from
6649 paper trail.
6650
45741a9c
PA
66512014-05-22 Pedro Alves <palves@redhat.com>
6652
6653 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6654 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6655 (disable_randomization, enum exec_direction_kind)
6656 (execution_direction, stop_registers, start_remote)
6657 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6658 (wait_for_inferior, normal_stop, get_last_target_status)
6659 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6660 (insert_step_resume_breakpoint_at_sal)
6661 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6662 (set_step_info, print_stop_event, signal_stop_state)
6663 (signal_print_state, signal_pass_state, signal_stop_update)
6664 (signal_print_update, signal_pass_update)
6665 (update_signals_program_target, clear_exit_convenience_vars)
6666 (displaced_step_dump_bytes, update_observer_mode)
6667 (signal_catch_update, gdb_signal_from_command): Move
6668 declarations ...
6669 * infrun.h: ... to this new file.
6670 * amd64-tdep.c: Include infrun.h.
6671 * annotate.c: Include infrun.h.
6672 * arch-utils.c: Include infrun.h.
6673 * arm-linux-tdep.c: Include infrun.h.
6674 * arm-tdep.c: Include infrun.h.
6675 * break-catch-sig.c: Include infrun.h.
6676 * breakpoint.c: Include infrun.h.
6677 * common/agent.c: Include infrun.h instead of inferior.h.
6678 * corelow.c: Include infrun.h.
6679 * event-top.c: Include infrun.h.
6680 * go32-nat.c: Include infrun.h.
6681 * i386-tdep.c: Include infrun.h.
6682 * inf-loop.c: Include infrun.h.
6683 * infcall.c: Include infrun.h.
6684 * infcmd.c: Include infrun.h.
6685 * infrun.c: Include infrun.h.
6686 * linux-fork.c: Include infrun.h.
6687 * linux-nat.c: Include infrun.h.
6688 * linux-thread-db.c: Include infrun.h.
6689 * monitor.c: Include infrun.h.
6690 * nto-tdep.c: Include infrun.h.
6691 * procfs.c: Include infrun.h.
6692 * record-btrace.c: Include infrun.h.
6693 * record-full.c: Include infrun.h.
6694 * remote-m32r-sdi.c: Include infrun.h.
6695 * remote-mips.c: Include infrun.h.
6696 * remote-notif.c: Include infrun.h.
6697 * remote-sim.c: Include infrun.h.
6698 * remote.c: Include infrun.h.
6699 * reverse.c: Include infrun.h.
6700 * rs6000-tdep.c: Include infrun.h.
6701 * s390-linux-tdep.c: Include infrun.h.
6702 * solib-irix.c: Include infrun.h.
6703 * solib-osf.c: Include infrun.h.
6704 * solib-svr4.c: Include infrun.h.
6705 * target.c: Include infrun.h.
6706 * top.c: Include infrun.h.
6707 * windows-nat.c: Include infrun.h.
6708 * mi/mi-interp.c: Include infrun.h.
6709 * mi/mi-main.c: Include infrun.h.
6710 * python/py-threadevent.c: Include infrun.h.
6711
98eb56a4
PA
67122014-05-22 Pedro Alves <palves@redhat.com>
6713
6714 * infrun.c (handle_inferior_event): Store the exit code for
6715 --return-child-result here, instead of ...
6716 (print_exited_reason): ... here.
6717
17b2616c
PA
67182014-05-21 Pedro Alves <palves@redhat.com>
6719
6720 PR gdb/13860
6721 * gdbthread.h (struct thread_control_state): New field
6722 `command_interp'.
6723 * infrun.c (follow_fork): Copy the new thread control field to the
6724 child fork thread.
6725 (clear_proceed_status_thread): Clear the new thread control field.
6726 (proceed): Set the new thread control field.
6727 * interps.h (command_interp): Declare.
6728 * interps.c (command_interpreter): New global.
6729 (command_interp): New function.
6730 (interp_exec): Set `command_interpreter' while here.
6731 * cli-out.c (cli_uiout_dtor): New function.
6732 (cli_ui_out_impl): Install it.
6733 * mi/mi-interp.c: Include cli-out.h.
6734 (mi_cmd_interpreter_exec): Add comment.
6735 (restore_current_uiout_cleanup): New function.
6736 (ui_out_free_cleanup): New function.
6737 (mi_on_normal_stop): If finishing an execution command started by
6738 a CLI command, or any kind of breakpoint-like event triggered,
6739 print the stop event to the output (CLI) stream.
6740 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6741
5166082f
PA
67422014-05-21 Pedro Alves <palves@redhat.com>
6743
6744 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6745 current source line having changed.
6746 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6747 * infrun.c (normal_stop): Adjust call to
6748 set_current_sal_from_frame.
6749 * source.c (clear_lines_listed_range): New function.
6750 (set_current_source_symtab_and_line, identify_source_line): Clear
6751 the lines listed range.
6752 (line_info): Handle the first "info line" after the current source
6753 line having changed.
6754 * stack.c (print_stack_frame): Remove center handling.
6755 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6756 center sal.line.
6757
c1ee2fb3
PA
67582014-05-21 Pedro Alves <palves@redhat.com>
6759
6760 * inf-child.c (inf_child_mourn_inferior): New function.
6761 * inf-child.h (inf_child_mourn_inferior): New declaration.
6762 * darwin-nat.c (darwin_mourn_inferior): Use
6763 inf_child_mourn_inferior.
6764 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6765 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6766 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6767 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6768 * windows-nat.c (windows_mourn_inferior): Likewise.
6769
5c6d4fb2
DE
67702014-05-21 Doug Evans <xdje42@gmail.com>
6771
250748cb 6772 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 6773
4a2722c5
DE
67742014-05-21 Doug Evans <xdje42@gmail.com>
6775
17292b30 6776 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
6777 (gdbscm_out_of_range_error): Ditto.
6778 (gdbscm_memory_error): Ditto.
250748cb
DE
6779 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6780 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
6781 (gdbscm_out_of_range_error): Update.
6782 (gdbscm_memory_error): Update.
6783 (gdbscm_scm_to_target_string_unsafe): Delete.
6784
6a3cb8e8
PA
67852014-05-21 Pedro Alves <palves@redhat.com>
6786
6787 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6788 globals.
6789 (inf_child_open_target): New function.
6790 (inf_child_open): Use inf_child_open_target to push the target
6791 instead of erroring out.
6792 (inf_child_disconnect, inf_child_close)
6793 (inf_child_maybe_unpush_target): New functions.
6794 (inf_child_target): Install inf_child_disconnect and
6795 inf_child_close. Store a pointer to the returned object.
6796 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6797 declarations.
6798 * target.c (auto_connect_native_target): New global.
6799 (show_default_run_target): New function.
6800 (find_default_run_target): Return NULL if automatically connecting
6801 to the native target is disabled.
6802 (_initialize_target): Install set/show auto-connect-native-target.
6803 * NEWS: Mention "set auto-connect-native-target", and "target
6804 native".
6805 * linux-nat.c (super_close): New global.
6806 (linux_nat_close): Call super_close.
6807 (linux_nat_add_target): Store a pointer to the base class's
6808 to_close method.
6809 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6810 inf_child_maybe_unpush.
6811 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6812 already pushed.
6813 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6814 the inferior. Use inf_child_maybe_unpush_target.
6815 (inf_ttrace_attach): Don't push the target if it is already
6816 pushed.
6817 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6818 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6819 after mourning the inferior. Use inf_child_maybe_unpush_target.
6820 (darwin_attach_pid): Don't push the target if it is already
6821 pushed.
6822 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6823 mourning the inferior. Use inf_child_maybe_unpush_target.
6824 (gnu_detach): Use inf_child_maybe_unpush_target.
6825 * go32-nat.c (go32_create_inferior): Don't push the target if it
6826 is already pushed.
6827 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6828 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6829 (procfs_open): Rename to ...
6830 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6831 comments. Can target_preopen before changing node. Call
6832 inf_child_open_target to push the target explicitly.
6833 (procfs_attach): Don't push the target if it is already pushed.
6834 (procfs_detach): Use inf_child_maybe_unpush_target.
6835 (procfs_create_inferior): Don't push the target if it is already
6836 pushed.
6837 (nto_native_ops): New global.
6838 (procfs_open): Reimplement.
6839 (procfs_native_open): New function.
6840 (init_procfs_targets): Install procfs_native_open as to_open of
6841 "target native". Store a pointer to the "native" target in
6842 nto_native_ops.
6843 * procfs.c (procfs_attach): Don't push the target if it is already
6844 pushed.
6845 (procfs_detach): Use inf_child_maybe_unpush_target.
6846 (procfs_mourn_inferior): Only unpush the target after mourning the
6847 inferior. Use inf_child_maybe_unpush_target.
6848 (procfs_init_inferior): Don't push the target if it is already
6849 pushed.
6850 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6851 if it is already pushed.
6852
930ee1b1
PA
68532014-05-21 Pedro Alves <palves@redhat.com>
6854
6855 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6856 and "procfs" targets are now called "native" instead.
6857
1f5d1b13
PA
68582014-05-21 Pedro Alves <palves@redhat.com>
6859
6860 * go32-nat.c (go32_open): Delete.
6861 (go32_target): Don't override the to_open method.
6862
132f8e03
PA
68632014-05-21 Pedro Alves <palves@redhat.com>
6864
6865 * nto-procfs.c (procfs_can_run): New function.
6866 (nto_procfs_ops): New global.
6867 (init_procfs_targets): New, based on procfs_target. Install
6868 "target native" in addition to "target procfs".
6869 (_initialize_procfs): Call init_procfs_targets instead of adding
6870 the target here.
6871
03c136c3
PA
68722014-05-21 Pedro Alves <palves@redhat.com>
6873
6874 * windows-nat.c (windows_target): Don't override to_shortname,
6875 to_longname or to_doc.
6876
a635d0f3
PA
68772014-05-21 Pedro Alves <palves@redhat.com>
6878
6879 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6880 to_doc.
6881
4f9b5133
PA
68822014-05-21 Pedro Alves <palves@redhat.com>
6883
6884 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6885 to_shortname, to_longname or to_doc.
6886
bc85afde
PA
68872014-05-21 Pedro Alves <palves@redhat.com>
6888
6889 * go32-nat.c (go32_target): Don't override to_shortname,
6890 to_longname or to_doc.
6891
4ebfc96e
PA
68922014-05-21 Pedro Alves <palves@redhat.com>
6893
6894 * inf-child.c (inf_child_open): Remove mention of "child".
6895 (inf_child_target): Rename target to "native" instead of "child".
6896
2648dfed
AA
68972014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6898
6899 * Makefile.in (SFILES): Delete "regset.c".
6900 (COMMON_OBS): Delete "regset.o".
6901 * regset.c: Remove.
6902 * regset.h (regset_alloc): Delete prototype.
6903
b13feb94
AA
69042014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6905
6906 * sparc-linux-tdep.c (sparc32_linux_gregset)
6907 (sparc32_linux_fpregset): New static regset structures.
6908 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6909 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6910 'fpregset' fields.
6911 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6912 (sparc64_linux_fpregset): New static regset structures.
6913 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6914 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6915 New static regset structures.
6916 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6917 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6918 New static regset structures.
6919 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6920 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6921 New static regset structures.
6922 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6923 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6924 New static regset structures.
6925 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6926
b4fd25c9
AA
69272014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6928
6929 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6930 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6931 register maps ("regmaps") from "*regset" to "*regmap". Do this
6932 for all regmap types and variables.
6933 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6934 (sparc32_linux_supply_core_gregset)
6935 (sparc32_linux_collect_core_gregset)
6936 (sparc32_linux_supply_core_fpregset)
6937 (sparc32_linux_collect_core_fpregset): Likewise.
6938 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6939 (sparc_gregmap, sparc_fpregmap): ... these.
6940 (sparc_supply_gregset, sparc_collect_gregset)
6941 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6942 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6943 (_initialize_sparc_nat): Rename regmaps.
6944 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6945 (sparc_gregmap, sparc_fpregmap): ... these.
6946 (sparc_supply_gregset, sparc_collect_gregset)
6947 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6948 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6949 Rename macros to...
6950 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6951 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6952 Likewise.
6953 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6954 Rename to...
6955 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6956 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6957 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6958 regmaps.
6959 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6960 (sparc32_bsd_fpregset): Rename to...
6961 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6962 (sparc32_bsd_fpregmap): ... these.
6963 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6964 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6965 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6966 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6967 (struct sparc_gregmap, struct sparc_fpregmap)
6968 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6969 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6970 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6971 (sparc32_supply_regset, sparc32_collect_gregset)
6972 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6973 prototypes.
6974 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6975 (sparc64_linux_ptrace_gregmap): ... this.
6976 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6977 (_initialize_sparc64_linux_nat): Rename regmaps.
6978 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6979 (sparc64_linux_core_gregmap): ... this.
6980 (sparc64_linux_supply_core_gregset)
6981 (sparc64_linux_collect_core_gregset)
6982 (sparc64_linux_supply_core_fpregset)
6983 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6984 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6985 (sparc64_sol2_fpregset): Rename to...
6986 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6987 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6988 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6989 regmaps.
6990 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6991 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6992 (sparc64_bsd_fpregset): Rename to...
6993 (struct sparc_gregmap, sparc64_sol2_gregmap)
6994 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6995 (sparc64_bsd_fpregmap): ... these.
6996 (sparc64_supply_gregset, sparc64_collect_gregset)
6997 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6998 prototypes.
6999 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7000 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7001 (sparc64fbsd_gregmap): ... this.
7002 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7003 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7004 Rename regmaps.
7005 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7006 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7007 (sparc64nbsd_collect_fpregset): Likewise.
7008 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7009 (sparc64nbsd_gregmap): ... this.
7010 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7011 regmaps.
7012 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7013 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7014 (sparc64obsd_gregmap): ... this.
7015 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7016 regmaps.
7017 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7018 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7019 (sparc32nbsd_gregmap): ... this.
7020 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7021 regmaps.
7022
8fea3224
AA
70232014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7024
7025 * score-tdep.c (score7_linux_gregset): New static regset
7026 structure.
7027 (score7_linux_regset_from_core_section): Remove dynamic regset
7028 allocation.
7029 (score_gdbarch_init): Drop allocation of tdep structure.
7030 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7031
24534243
AA
70322014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033
7034 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7035 regset structures.
7036 (am33_regset_from_core_section): Remove dynamic regset
7037 allocations.
7038
b7195f27
AA
70392014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7040
7041 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7042 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7043 structures.
7044 (mips_linux_regset_from_core_section): Remove dynamic regset
7045 allocations.
7046 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7047 'gregset64', 'fpregset', and 'fpregset64'.
7048 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7049 deleted tdep fields.
7050
ecc37a5a
AA
70512014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7052
7053 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7054 regset structures.
7055 (amd64_regset_from_core_section): Remove dynamic regset
7056 allocations.
7057 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7058 structure.
7059 (amd64obsd_regset_from_core_section): Remove dynamic regset
7060 allocation.
7061 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7062 Likewise.
7063 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7064 x86-common regset supply function.
7065 * i386-tdep.c (i386_collect_gregset): Make static.
7066 (i386_gregset): New global regset structure.
7067 (i386_fpregset, i386_xstateregset): New static regset structures.
7068 (i386_regset_from_core_section): Remove dynamic regset
7069 allocations.
7070 (i386_gdbarch_init): Remove initialization of tdep fields
7071 'gregset', 'fpregset', and 'xstateregset'.
7072 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7073 'fpregset', and 'xstateregset'.
7074 (i386_collect_gregset): Remove prototype.
7075 (i386_gregset): New declaration.
7076 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7077 structure.
7078 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7079 allocation.
7080
b7611c43
AA
70812014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082
7083 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7084 (arm_linux_vfpregset): New static regset structures.
7085 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7086 regset structures.
7087 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7088 and 'vfpregset' fields.
7089
a069a2bd
AA
70902014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7091
7092 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7093 (aarch64_linux_fpregset): New static regset structures.
7094 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7095 of regset structures.
7096 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7097 'fpregset' fields.
7098
09424cff
AA
70992014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7100
7101 * regset.h (struct regset): Remove gdbarch field.
7102 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7103 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7104 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7105 Likewise.
7106 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7107 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7108 (ppc32_linux_vsxregset): Likewise.
7109 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7110 via the regcache instead of the regset.
7111 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7112 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7113 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7114 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7115 Likewise.
7116
3ca7dae4
AA
71172014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118
7119 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7120 Constify structures.
7121 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7122 (alphanbsd_aout_gregset): Likewise.
7123 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7124 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7125 Likewise.
7126 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7127 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7128 Likewise.
7129 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7130 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7131 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7132 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7133 * m88k-tdep.c (m88k_gregset): Likewise.
7134 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7135 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7136 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7137 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7138 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7139 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7140 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7141 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7142 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7143 Likewise.
7144 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7145 * sh-tdep.h (sh_corefile_gregset): Likewise.
7146 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7147 * vax-tdep.c (vax_gregset): Likewise.
7148
5876f503
JK
71492014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7150
7151 Fix TLS access for -static -pthread.
7152 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7153 (try_thread_db_load_1): Initialize it.
7154 (thread_db_get_thread_local_address): Call it if LM is zero.
7155 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7156 * target.h (struct target_ops) (to_get_thread_local_address): Add
7157 load_module_addr comment.
7158
0256a6ac
PA
71592014-05-21 Pedro Alves <palves@redhat.com>
7160
7161 * dcache.c (dcache_read_memory_partial): If reading the cache line
7162 fails, fallback to reading just the memory the caller wanted.
7163
227533ac
DE
71642014-05-20 Doug Evans <dje@google.com>
7165
7166 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7167 instead of get_current_arch.
7168
936d2992
PA
71692014-05-20 Pedro Alves <palves@redhat.com>
7170
7171 * NEWS: Mention that compare-sections now works with all targets.
7172
7173 * remote.c (PACKET_qCRC): New enum value.
7174 (remote_verify_memory): Don't send qCRC if the target has no
7175 execution. Use packet_support/packet_ok. If the target doesn't
7176 support the qCRC packet, fallback to a deep memory copy.
7177 (compare_sections_command): Say "target image" instead of "remote
7178 executable".
7179 (_initialize_remote): Add PACKET_qCRC to the list of config
7180 packets that have no associated command. Extend comment.
7181 * target.c (simple_verify_memory, default_verify_memory): New
7182 function.
7183 * target.h (struct target_ops) <to_verify_memory>: Default to
7184 default_verify_memory.
7185 (simple_verify_memory): New declaration.
7186 * target-delegates.c: Regenerate.
7187
e59fa00f
MM
71882014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7189
7190 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7191
f2205de0
HZ
71922014-05-20 Hui Zhu <hui@codesourcery.com>
7193 Yao Qi <yao@codesourcery.com>
7194
7195 PR backtrace/16558
7196 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7197 and change address of sp and pc.
7198
c4e54771
TT
71992014-05-19 Tom Tromey <tromey@redhat.com>
7200
7201 * gdbtypes.c (rank_function): Use XNEWVEC.
7202 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7203
73051182
DE
72042014-05-19 Doug Evans <dje@google.com>
7205
7206 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7207 build_type_unit_groups and moved closer to only caller. Remove
7208 arguments. All references updated. Remove outdated .gdb_index
7209 comment.
7210 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7211 build_type_psymtabs_1.
7212
8832e7e3
DE
72132014-05-19 Doug Evans <dje@google.com>
7214
7215 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7216 n_type_unit_groups, all_type_unit_groups. All uses removed.
7217 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7218 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7219 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7220 (add_type_unit_group_to_table): Delete.
7221
cd8ae15e
DE
72222014-05-19 Doug Evans <dje@google.com>
7223
7224 * eval.c (evaluate_subexp_standard): Add some comments.
7225
08f4850b
DE
72262014-05-17 Doug Evans <xdje42@gmail.com>
7227
7228 * progspace.c (remove_program_space): Delete, unused.
7229 * progspace.h (remove_program_space): Ditto.
7230
bed8455c
DE
72312014-05-17 Doug Evans <xdje42@gmail.com>
7232
7233 * inferior.c (prune_inferiors): Fix comment.
7234 (remove_inferior_command): Call prune_program_spaces.
7235
8d551b02
DE
72362014-05-16 Doug Evans <dje@google.com>
7237
7238 New command line option -D.
7239 * NEWS: Mention it.
7240 * main.c (set_gdb_data_directory): New function.
7241 (captured_main): Recognize -D. Flag error for --data-directory "".
7242 Call set_gdb_data_directory.
7243 (print_gdb_help): Print --data-directory, -D.
7244 * main.h (set_gdb_data_directory): Declare.
7245 * top.c (staged_gdb_datadir): New static global.
7246 (set_gdb_datadir): Call set_gdb_data_directory
7247 (show_gdb_datadir): New function.
7248 (init_main): Update init of data-directory parameter.
7249
18848e28
GF
72502014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7251
7252 Import the "dirfd" gnulib module.
7253 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7254 * gnulib/aclocal.m4: Update.
7255 * gnulib/config.in: Update.
7256 * gnulib/configure: Update.
7257 * gnulib/import/Makefile.am: Update.
7258 * gnulib/import/Makefile.in: Update.
7259 * gnulib/import/dirfd.c: New.
7260 * gnulib/import/m4/dirfd.m4: New.
7261 * gnulib/import/m4/gnulib-cache.m4: Update.
7262 * gnulib/import/m4/gnulib-comp.m4: Update.
7263
95c64f92
YQ
72642014-05-16 Pierre Muller <muller@sourceware.org>
7265 Yao Qi <yao@codesourcery.com>
7266
7267 * valprint.c (print_wchar): Move the code on checking whether
7268 W is a printable wide char to the default branch of switch
7269 statement below. Call wchar_printable instead of gdb_iswprint.
7270
cac395ea
TM
72712014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7272
19679eca 7273 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
7274 ldr.w and ldrd instructions.
7275
83655187
DE
72762014-05-15 Doug Evans <dje@google.com>
7277
7278 * dwarf2read.c (read_structure_type): Delete outdated comments.
7279
dd756689
TT
72802014-05-14 Tom Tromey <tromey@redhat.com>
7281
7282 * macrocmd.c (print_macro_definition): Reindent.
7283
75ddda77
DE
72842014-05-13 Doug Evans <xdje42@gmail.com>
7285
7286 * python/py-cmd.c (cmdpy_completer): Add comment.
7287 (completers): Make const.
7288
b0f16a3e
SM
72892014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7290
7291 * infrun.c (resume): Remove should_resume (unused). Move up
7292 declaration of resume_ptid.
7293
033c3379
TT
72942014-05-13 Tom Tromey <tromey@redhat.com>
7295
7296 * language.h (unop_type_check): Remove.
7297 (binop_type_check): Don't declare.
7298
9b44a3a5
AA
72992014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7300
7301 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7302 call to regcache_raw_collect.
7303
303a33fa
SM
73042014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7305
7306 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7307 mi_console->quote as the quoting character.
7308
196100a0
SM
73092014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7310
7311 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7312
f989a1c8
TT
73132014-04-29 Tom Tromey <tromey@redhat.com>
7314
7315 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7316 "show debug varobj".
7317
9404b58f
KM
73182014-05-07 Kyle McMartin <kyle@redhat.com>
7319
7320 Pushed by Joel Brobecker <brobecker@adacore.com>.
7321 * aarch64-tdep.c (aarch64_software_single_step): New function.
7322 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7323 with aarch64_software_single_step.
7324
5e49ba57
JB
73252014-05-05 Joel Brobecker <brobecker@adacore.com>
7326
7327 GDB 7.7.1 released.
7328
c888a17d
KS
73292014-05-05 Keith Seitz <keiths@redhat.com>
7330
7331 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7332 variable or history value is successfully parsed.
7333
290a839c
YQ
73342014-05-05 Yao Qi <yao@codesourcery.com>
7335 Pedro Alves <palves@redhat.com>
7336
7337 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7338 address of blocks that intersects the requested range. Trim
7339 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7340 sections.
7341 * ctf.c (ctf_xfer_partial): Likewise.
7342
91256dc2
YQ
73432014-05-05 Yao Qi <yao@codesourcery.com>
7344
7345 * printcmd.c (display_command): Remove the check to
7346 target_has_execution.
7347
07284463
MK
73482014-05-03 Mark Kettenis <kettenis@gnu.org>
7349
7350 * ppcobsd-nat.c: Include "obsd-nat.h".
7351 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7352 add_target.
7353 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7354
30a1e6cc
SDJ
73552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7356
7357 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7358 and 16-bit signed and unsigned arguments. Update comment.
7359 (stap_parse_probe_arguments): Extend code to handle such
7360 arguments. Use warning instead of complaint to notify about
7361 unrecognized bitness.
7362
f33da99a
SDJ
73632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7364
7365 PR breakpoints/16889
7366 * stap-probe.c (stap_parse_probe_arguments): Simplify
7367 check for non-prefixed probes (i.e., probes whose
7368 arguments do not start with "N@"). Always set the
7369 argument type to a sane value.
7370
95cf3b38
DT
73712014-05-01 David Taylor <dtaylor@emc.com>
7372
7373 * remote.c (compare_sections_command): Add -r option to compare
7374 all loadable read-only sections.
7375
1cfdf534
SC
73762014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7377
7378 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7379 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7380 Update all callers.
7381 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7382 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7383 Remove unused CORE_ADDR argument. Update all callers.
7384
ca4f7f8b
PA
73852014-04-29 Pedro Alves <palves@redhat.com>
7386
7387 * remote.c (struct packet_config) <detect>: Extend comment.
7388 (add_packet_config_cmd): Don't set the config's detect or support
7389 fields here.
7390 (init_all_packet_configs): Also initialize the config's 'detect'
7391 field.
7392 (reset_all_packet_configs_support): New function.
7393 (remote_open_1): Call reset_all_packet_configs_support instead of
7394 init_all_packet_configs.
7395 (_initialize_remote): Initialize all packet configs. Assert that
7396 all packets have an associated command, except a few known
7397 outliers.
7398
11c1ba78
JB
73992014-04-28 Joel Brobecker <brobecker@adacore.com>
7400
7401 * dwarf2read.c (read_subrange_type): Handle dynamic
7402 DW_AT_lower_bound attributes.
7403
8739bc53
JB
74042014-04-28 Joel Brobecker <brobecker@adacore.com>
7405
7406 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7407 dynamic bounds before computing its upper bound.
7408 (ada_discrete_type_low_bound): Same as above with the lower bound.
7409
6f8a3220
JB
74102014-04-28 Joel Brobecker <brobecker@adacore.com>
7411
7412 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7413 range types. Adjust the array handling implementation to
7414 take advantage of this change.
7415 (resolve_dynamic_range): New function, mostly extracted from
7416 resolve_dynamic_bounds.
7417 (resolve_dynamic_array): New function, mostly extracted from
7418 resolve_dynamic_bounds.
7419 (resolve_dynamic_bounds): Delete.
7420 (resolve_dynamic_type): Reimplement. Add handling of
7421 TYPE_CODE_RANGE types.
7422
4d072ce4
JB
74232014-04-28 Joel Brobecker <brobecker@adacore.com>
7424
7425 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7426 handling of parallel ___XA types.
7427
52865325
JB
74282014-04-28 Joel Brobecker <brobecker@adacore.com>
7429
7430 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7431 unnecessary second call to static_unwrap_type.
7432
433e77fa
HZ
74332014-04-27 Hui Zhu <hui@codesourcery.com>
7434
7435 * stack.c (print_frame_info): Call do_gdb_disassembly with
7436 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7437
b51a69ee
DE
74382014-04-26 Doug Evans <xdje42@gmail.com>
7439
7440 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7441
7ae1a6a6
PA
74422014-04-25 Pedro Alves <palves@redhat.com>
7443
7444 PR server/16255
7445 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7446 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7447 and newline from built string.
7448 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7449 (linux_ptrace_attach_fail_reason): ... this.
7450 * linux-nat.c (linux_nat_attach): Adjust to use
7451 linux_ptrace_attach_fail_reason.
7452
4082afcc
PA
74532014-04-25 Pedro Alves <palves@redhat.com>
7454
7455 * remote.c (struct remote_state): Remove multi_process_aware,
7456 non_stop_aware, cond_tracepoints, cond_breakpoints,
7457 breakpoint_commands, fast_tracepoints, static_tracepoints,
7458 install_in_trace, disconnected_tracing,
7459 enable_disable_tracepoints, string_tracing, and
7460 augmented_libraries_svr4_read fields.
7461 (remote_multi_process_p): Move further below in the file.
7462 (struct packet_config): Add comments.
7463 (update_packet_config): Delete function.
7464 (show_packet_config_cmd): Use packet_config_support.
7465 (add_packet_config_cmd): Use NULL as set callback.
7466 (packet_ok): "set remote foo-packet"-style commands no longer
7467 change config->supported -- adjust.
7468 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7469 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7470 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7471 (PACKET_QNonStop, PACKET_multiprocess_feature)
7472 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7473 (PACKET_DisconnectedTracing_feature)
7474 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7475 (set_remote_protocol_packet_cmd): Delete function.
7476 (packet_config_support, packet_support): New functions.
7477 (set_remote_protocol_Z_packet_cmd): Don't call
7478 update_packet_config.
7479 (remote_query_attached, remote_pass_signals)
7480 (remote_program_signals, remote_threads_info)
7481 (remote_threads_extra_info, remote_start_remote): Use
7482 packet_support.
7483 (remote_start_remote): Use packet_config_support and
7484 packet_support.
7485 (init_all_packet_configs): Set all packets to unknown support,
7486 instead of calling update_packet_config.
7487 (remote_check_symbols): Use packet_support.
7488 (remote_supported_packet): Unconditionally set the packet config's
7489 support status.
7490 (remote_multi_process_feature, remote_non_stop_feature)
7491 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7492 (remote_breakpoint_commands_feature)
7493 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7494 (remote_install_in_trace_feature)
7495 (remote_disconnected_tracing_feature)
7496 (remote_enable_disable_tracepoint_feature)
7497 (remote_string_tracing_feature)
7498 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7499 (remote_protocol_features): Adjust to use remote_supported_packet
7500 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7501 "ConditionalTracepoints", "ConditionalBreakpoints",
7502 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7503 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7504 "EnableDisableTracepoints", and "tracenz".
7505 (remote_query_supported): Use packet_support.
7506 (remote_open_1): Adjust.
7507 (extended_remote_attach_1): Use packet_support. Switch on the
7508 result of packet_ok instead of checking whether the packet ended
7509 up disabled.
7510 (remote_vcont_resume): Use packet_support.
7511 (remote_resume, remote_stop_ns, fetch_register_using_p)
7512 (remote_prepare_to_store, store_register_using_P)
7513 (check_binary_download, remote_write_bytes): Use packet_support.
7514 (remote_vkill): Use packet_support. Switch on the result of
7515 packet_ok instead of checking whether the packet ended up
7516 disabled.
7517 (extended_remote_supports_disable_randomization): Use
7518 packet_support.
7519 (extended_remote_run): Switch on the result of packet_ok instead
7520 of checking whether the packet ended up disabled.
7521 (remote_insert_breakpoint, remote_remove_breakpoint)
7522 (remote_insert_watchpoint, remote_remove_watchpoint)
7523 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7524 packet_support.
7525 (remote_search_memory): Use packet_config_support.
7526 (remote_get_thread_local_address, remote_get_tib_address)
7527 (remote_hostio_send_command, remote_can_execute_reverse): Use
7528 packet_support.
7529 (remote_supports_cond_tracepoints)
7530 (remote_supports_cond_breakpoints)
7531 (remote_supports_fast_tracepoints)
7532 (remote_supports_static_tracepoints)
7533 (remote_supports_install_in_trace)
7534 (remote_supports_enable_disable_tracepoint)
7535 (remote_supports_string_tracing)
7536 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7537 the packet config says the feature is enabled or disabled.
7538 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7539 (remote_get_trace_status): Use packet_support.
7540 (remote_set_disconnected_tracing): Adjust to check whether the
7541 feature is enabled with packet_support.
7542 (remote_set_trace_buffer_size, remote_use_agent)
7543 (remote_can_use_agent, remote_supports_btrace): Use
7544 packet_support.
7545 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7546 Use packet_config_support.
7547 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7548 the packet config says the feature is enabled or disabled.
7549 (set_range_stepping): Use packet_support.
7550
bdb52a22
TT
75512014-04-25 Tom Tromey <tromey@redhat.com>
7552
7553 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7554 argument.
7555
e9475ead
SA
75562014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7557
7558 * NEWS: Mention support for C99 variable length arrays.
7559
82eacd52
JB
75602014-04-24 Joel Brobecker <brobecker@adacore.com>
7561
7562 * ada-lang.c (standard_exc): Expand introductory comment.
7563
01f9f808
MS
75642014-04-24 Michael Sturm <michael.sturm@mintel.com>
7565 Walfred Tedeschi <walfred.tedeschi@intel.com>
7566
7567 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7568 AVX512 registers.
7569 (amd64_linux_read_description): Add code to handle AVX512 xstate
7570 mask and return respective tdesc.
7571 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7572 and features/i386/x32-avx512-linux.c.
7573 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7574 (amd64_linux_core_read_description): Add code to handle AVX512
7575 xstate mask and return respective tdesc.
7576 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7577 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7578 calculation.
7579 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7580 (tdesc_amd64_avx512_linux): New prototype.
7581 (tdesc_x32_avx512_linux): Likewise.
7582 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7583 features/i386/x32-avx512.c.
7584 (amd64_ymm_avx512_names): New register names for pseudo
7585 registers YMM16-31.
7586 (amd64_ymmh_avx512_names): New register names for raw registers
7587 YMMH16-31.
7588 (amd64_k_names): New register names for K registers.
7589 (amd64_zmmh_names): New register names for ZMM raw registers.
7590 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7591 (amd64_xmm_avx512_names): New register names for XMM16-31
7592 registers.
7593 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7594 registers.
7595 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7596 if feature is present.
7597 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7598 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7599 (AMD64_NUM_REGS): Adjust to new number of registers.
7600 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7601 registers supplied via XSTATE by AVX512 registers.
7602 (i386_linux_read_description): Add case for AVX512.
7603 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7604 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7605 (i386_linux_core_read_description): Add case for AVX512.
7606 (i386_linux_init_abi): Install supported register note section
7607 for AVX512.
7608 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7609 AVX512.
7610 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7611 registers to be number of zmm7h + 1.
7612 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7613 * i386-tdep.c: Include features/i386/i386-avx512.c.
7614 (i386_zmm_names): Add ZMM pseudo register names array.
7615 (i386_zmmh_names): Add ZMM raw register names array.
7616 (i386_k_names): Add K raw register names array.
7617 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7618 registers. AVX512 has 16 more ZMM registers than there are YMM
7619 registers.
7620 (i386_zmmh_regnum_p): Add function to look up register number of
7621 ZMM raw registers.
7622 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7623 (i386_k_regnum_p): Likewise for K raw registers.
7624 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7625 registers added by AVX512.
7626 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7627 registers added by AVX512.
7628 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7629 added by AVX512.
7630 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7631 (i386_pseudo_register_name): Add ZMM pseudo registers.
7632 (i386_zmm_type): Construct and return vector registers type for ZMM
7633 registers.
7634 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7635 ZMM0-31 pseudo registers and K registers.
7636 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7637 and YMM16-31 registers from register cache.
7638 (i386_pseudo_register_write): Add code to write K, ZMM and
7639 YMM16-31 registers.
7640 (i386_register_reggroup_p): Add code to include/exclude AVX512
7641 registers in/from respective register groups.
7642 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7643 registers if feature is present in xcr0.
7644 (i386_gdbarch_init): Add code to initialize AVX512 feature
7645 variables in tdep structure, wire in pseudo registers and call
7646 initialize_tdesc_i386_avx512.
7647 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7648 variables.
7649 (i386_regnum): Add AVX512 registers.
7650 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7651 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7652 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7653 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7654 512 bits wide.
7655 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7656 (i386_ymm_avx512_regnum_p): Likewise.
7657 (i386_k_regnum_p): Likewise.
7658 (i386_zmm_regnum_p): Likewise.
7659 (i386_zmmh_regnum_p): Likewise.
7660 * i387-tdep.c : Update year in copyright notice.
7661 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7662 XSAVE buffer.
7663 (XSAVE_YMM_AVX512_ADDR): New macro.
7664 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7665 XSAVE buffer.
7666 (XSAVE_XMM_AVX512_ADDR): New macro.
7667 (xsave_avx512_k_offset): New table for K register offsets in
7668 XSAVE buffer.
7669 (XSAVE_AVX512_K_ADDR): New macro.
7670 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7671 in XSAVE buffer.
7672 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7673 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7674 buffer.
7675 (i387_collect_xsave): Add code to collect AVX512 registers from
7676 XSAVE buffer.
7677 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7678 of XMM16-31 registers.
7679 (I387_NUM_K_REGS): New define for number of K registers.
7680 (I387_K0_REGNUM): New define for K0 register number.
7681 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7682 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7683 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7684 registers.
7685 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7686 (I387_XMM16_REGNUM): New define for XMM16 register number.
7687 (I387_YMM0_REGNUM): New define for YMM0 register number.
7688 (I387_KEND_REGNUM): New define for last K register number.
7689 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7690 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7691 number.
7692 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7693 number.
7694 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7695 size.
7696 * features/Makefile: Add AVX512 related files.
7697 * features/i386/32bit-avx512.xml: New file.
7698 * features/i386/64bit-avx512.xml: Likewise.
7699 * features/i386/amd64-avx512-linux.c: Likewise.
7700 * features/i386/amd64-avx512-linux.xml: Likewise.
7701 * features/i386/amd64-avx512.c: Likewise.
7702 * features/i386/amd64-avx512.xml: Likewise.
7703 * features/i386/i386-avx512-linux.c: Likewise.
7704 * features/i386/i386-avx512-linux.xml: Likewise.
7705 * features/i386/i386-avx512.c: Likewise.
7706 * features/i386/i386-avx512.xml: Likewise.
7707 * features/i386/x32-avx512-linux.c: Likewise.
7708 * features/i386/x32-avx512-linux.xml: Likewise.
7709 * features/i386/x32-avx512.c: Likewise.
7710 * features/i386/x32-avx512.xml: Likewise.
7711 * regformats/i386/amd64-avx512-linux.dat: New file.
7712 * regformats/i386/amd64-avx512.dat: Likewise.
7713 * regformats/i386/i386-avx512-linux.dat: Likewise.
7714 * regformats/i386/i386-avx512.dat: Likewise.
7715 * regformats/i386/x32-avx512-linux.dat: Likewise.
7716 * regformats/i386/x32-avx512.dat: Likewise.
7717 * NEWS: Add note about new support for AVX512.
7718
7719
08351840
PA
77202014-04-23 Pedro Alves <palves@redhat.com>
7721
7722 * breakpoint.c (insert_bp_location): Tolerate errors if the
7723 breakpoint is set in a user-loaded objfile.
7724 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7725 location is marked shlib_disabled. If the breakpoint is set in a
7726 user-loaded objfile is a GDB-side memory breakpoint, validate it
7727 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7728 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7729 flag.
7730 * mem-break.c (memory_validate_breakpoint): New function.
7731 * objfiles.c (userloaded_objfile_contains_address_p): New
7732 function.
7733 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7734 * target.h (memory_validate_breakpoint): New declaration.
7735
076855f9
PA
77362014-04-23 Pedro Alves <palves@redhat.com>
7737
7738 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7739 the breakpoint is set in a shared library, only suppress
7740 errors for software breakpoints, not hardware breakpoints.
7741
483805cf
PA
77422014-04-22 Pedro Alves <palves@redhat.com>
7743
7744 * infrun.c (schedlock_applies): New function, factored out from
7745 find_thread_needs_step_over.
7746 (find_thread_needs_step_over): Use it.
7747 (switch_back_to_stepped_thread): Always clear trap_expected if the
7748 step over is finished. Return early if scheduler locking applies.
7749 Look for the stepping thread and a potential step-over thread with
7750 a single loop.
7751 (currently_stepping_or_nexting_callback): Delete.
7752
a75fef0e
NC
77532014-04-22 Nick Clifton <nickc@redhat.com>
7754
7755 * NEWS: Mention that ARM sim now supports tracing.
7756
48b6e87e
YQ
77572014-04-22 Yao Qi <yao@codesourcery.com>
7758
7759 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7760 to ...
7761 * tracefile.c (tracefile_fetch_registers): ... it. New
7762 function.
7763 * tracefile.h (tracefile_fetch_registers): Declare.
7764 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7765 tracefile_fetch_registers.
7766
17617f2d
EZ
77672014-04-19 Eli Zaretskii <eliz@gnu.org>
7768
7769 PR gdb/14018
7770 * windows-nat.c (thread_rec): Don't display a warning when
7771 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7772 fails for any reason, set th->suspended to -1, so that we don't
7773 try to resume such a thread. Also, don't return NULL in these
7774 cases, to avoid completely ruin the session due to "PC register is
7775 not available" error.
7776 (do_windows_fetch_inferior_registers): Check errors in
7777 GetThreadContext call.
7778 (windows_continue): Accept an additional argument KILLED; if not
7779 zero, ignore errors in the SetThreadContext call, since the
7780 inferior was killed and is shutting down.
7781 (windows_resume, get_windows_debug_event)
7782 (windows_create_inferior, windows_mourn_inferior)
7783 (windows_kill_inferior): All callers of windows_continue changed
7784 to adjust to its new calling sequence.
7785
5723a6fd
YQ
77862014-04-19 Yao Qi <yao@codesourcery.com>
7787
7788 * ctf.c (ctf_open): Call post_create_inferior.
7789
614d5099
YQ
77902014-04-19 Yao Qi <yao@codesourcery.com>
7791
7792 * ctf.c (handle_id): New static variable.
7793 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7794 value. Get the declaration of event "register" and get length
7795 of field "contents".
7796
dac3e710
YQ
77972014-04-19 Yao Qi <yao@codesourcery.com>
7798
7799 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7800
2bca57ba
SC
78012014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7802
7803 * valops.c (oload_method_static): Remove unnecessary argument
7804 METHOD. Update all callers.
7805
51d48146
PA
78062014-04-18 Pedro alves <palves@redhat.com>
7807 Tom Tromey <tromey@redhat.com>
7808
7809 PR backtrace/15558
7810 * frame.c (get_prev_frame_1): Rename to ...
7811 (get_prev_frame_always): ... this, and make extern. Adjust.
7812 (skip_artificial_frames): Use get_prev_frame_always.
7813 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7814 (get_frame_unwind_stop_reason): Adjust to rename.
7815 * frame.h (get_prev_frame_always): Declare.
7816 * inline-frame.c: Include frame.h.
7817 (inline_frame_this_id): Use get_prev_frame_always.
7818
1bdad2e0
TG
78192014-04-18 Tristan Gingold <gingold@adacore.com>
7820
7821 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7822 code by using bfd_mach_o_get_base_address.
7823
7ce16bd4
UW
78242014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7825
7826 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7827 (spu_ax_pseudo_register_collect): New function.
7828 (spu_ax_pseudo_register_push_stack): Likewise.
7829 (spu_dwarf_reg_to_regnum): Likewise.
7830 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7831
2ed3c037
UW
78322014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7833
7834 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7835 Replace FRAME argument with FRAME_ID.
7836 * gdbarch.c, gdbarch.h: Regenerate.
7837 * findvar.c (default_value_from_register): Add GDBARCH argument;
7838 replace FRAME by FRAME_ID. No longer call get_frame_id.
7839 (value_from_register): Update call to gdbarch_value_from_register.
7840 * value.h (default_value_from_register): Update prototype.
7841 * s390-linux-tdep.c (s390_value_from_register): Update interface
7842 and call to default_value_from_register.
7843 * spu-tdep.c (spu_value_from_register): Likewise.
7844
7845 * findvar.c (address_from_register): Remove TYPE argument.
7846 Do not call value_from_register; use gdbarch_value_from_register
7847 with null_frame_id instead.
7848 * value.h (address_from_register): Update prototype.
7849 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7850 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7851 address_from_register interface change.
7852
71e50e83
YQ
78532014-04-17 Yao Qi <yao@codesourcery.com>
7854
7855 * gdbtypes.h: Update comments to link to types and macros'
7856 definitions.
7857
7a23c549
SC
78582014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7859
7860 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7861
22869d73
KS
78622014-04-16 Keith Seitz <keiths@redhat.com>
7863
7864 PR gdb/15827
7865 * dwarf2read.c (skip_one_die): Check that all relative-offset
7866 sibling DIEs fall within range of the current reader's buffer.
7867 (read_partial_die): Likewise.
7868
c4f87ca6
KS
78692014-04-16 Keith Seitz <keiths@redhat.com>
7870
7871 PR c++/16597
7872 * cp-namespace.c (lookup_symbol_file): If the type name of
7873 `this' is NULL, return immediately.
7874
b50c8614
KS
78752014-04-14 Keith Seitz <keiths@redhat.com>
7876
7877 PR c++/16253
7878 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7879 from symbol_matches_domain in symtab.c. All local callers
7880 of symbol_matches_domain updated.
7881 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7882 search STRUCT_DOMAIN.
7883 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7884 independently. standard_lookup will do that automatically.
7885 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7886 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7887 (cp_lookup_symbol_in_namespace): Likewise.
7888 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7889 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7890 may return a STRUCT_DOMAIN match.
7891 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7892 * cp-support.c: Include language.h.
7893 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7894 VAR_DOMAIN.
7895 * psymtab.c (match_partial_symbol): Compare the requested
7896 domain with the symbol's domain directly.
7897 (lookup_partial_symbol): Likewise.
7898 * symtab.c (lookup_symbol_in_language): Explain when/why
7899 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7900 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7901 appropriate languages.
7902 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7903 and moved to ada-lang.c
7904 (lookup_block_symbol): Explain that this function only returns
7905 symbol matching the requested DOMAIN.
7906 Compare the requested domain with the symbol's domain directly.
7907 (iterate_over_symbols): Compare the requested domain with the
7908 symbol's domain directly.
7909 * symtab.h (symbol_matches_domain): Remove.
7910
3d567982
TT
79112014-04-14 Tom Tromey <tromey@redhat.com>
7912
7913 PR c++/15246:
7914 * c-exp.y (type_aggregate_p): New function.
7915 (qualified_name, classify_inner_name): Use it.
7916 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7917 and TYPE_TARGET_TYPE of an enum type.
7918 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7919 an enum type.
7920 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7921 handle TYPE_DECLARED_CLASS.
7922 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7923 types.
7924 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7925 * valops.c (enum_constant_from_type): New function.
7926 (value_aggregate_elt): Use it.
7927 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7928 TYPE_CODE_ENUM.
7929
c848d642
TT
79302014-04-14 Tom Tromey <tromey@redhat.com>
7931
7932 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7933 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7934 const.
7935 * value.h (value_aggregate_elt): Update.
7936
0626fc76
TT
79372014-04-14 Tom Tromey <tromey@redhat.com>
7938
7939 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7940
5ecaaa66
SA
79412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7942
7943 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7944 (evaluate_subexp_standard): Pass noside argument.
7945 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7946 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7947 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7948 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7949 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7950
1612e0c0
SA
79512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7952
7953 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7954 points to a constant blob.
7955
c451ebe5
SA
79562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7957
7958 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7959 property and store it as the high bound and flag the range accordingly.
7960 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7961 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7962 * gdbtypes.h (enum range_flags): New enum.
7963 (struct range_bounds): Add flags member.
7964
1d42e4c4
SA
79652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7966
7967 * c-typeprint.c (c_type_print_varspec_suffix): Added
7968 check for not yet resolved high bound. If unresolved, print
7969 "variable length" string to the console instead of random
7970 length.
7971
9f1f738a
SA
79722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7973
7974 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7975 value.
7976 (ada_template_to_fixed_record_type_1): Likewise.
7977 (ada_to_fixed_type_1): Likewise.
7978 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7979 (cp_print_value): Likewise.
7980 * d-valprint.c (dynamic_array_type): Likewise.
7981 * findvar.c (address_of_variable): Likewise.
7982 * jv-valprint.c (java_value_print): Likewise.
7983 * valops.c (value_ind): Likewise.
7984 * value.c (coerce_ref): Likewise.
7985
3c8452d4
SA
79862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7987
7988 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7989 value and retrieve the dynamic type size.
7990
4ad88275
SA
79912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7992
7993 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7994 passed to sizeof is dynamic evaluate the argument to compute the length.
7995
80180f79
SA
79962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7997 Joel Brobecker <brobecker@adacore.com>
7998
7999 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8000 (dwarf2_evaluate_property): New function.
8001 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8002 * dwarf2read.c (attr_to_dynamic_prop): New function.
8003 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8004 attribute.
8005 * gdbtypes.c: Include dwarf2loc.h.
8006 (is_dynamic_type): New function.
8007 (resolve_dynamic_type): New function.
8008 (resolve_dynamic_bounds): New function.
8009 (get_type_length): New function.
8010 (check_typedef): Use get_type_length to compute type length.
8011 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8012 (TYPE_LOW_BOUND_KIND): New macro.
8013 (is_dynamic_type): New function prototype.
8014 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8015 to resolve dynamic properties of the type. Update comment.
8016 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8017
a1556843
RH
80182014-04-14 Richard Henderson <rth@redhat.com>
8019
8020 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8021
0be03e84
DE
80222014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8023 Doug Evans <xdje42@gmail.com>
8024
8025 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8026 dereference TYPE_CODE_REF values.
8027
6b662e19
JB
80282014-04-11 Joel Brobecker <brobecker@adacore.com>
8029
8030 Revert the following changes due to regressions:
8031
8032 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8033 (dwarf2_evaluate_property): New function.
8034 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8035 * dwarf2read.c (attr_to_dynamic_prop): New function.
8036 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8037 attribute.
8038 * gdbtypes.c: Include dwarf2loc.h.
8039 (is_dynamic_type): New function.
8040 (resolve_dynamic_type): New function.
8041 (resolve_dynamic_bounds): New function.
8042 (get_type_length): New function.
8043 (check_typedef): Use get_type_length to compute type length.
8044 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8045 (TYPE_LOW_BOUND_KIND): New macro.
8046 (is_dynamic_type): New function prototype.
8047 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8048 to resolve dynamic properties of the type. Update comment.
8049 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8050
8051 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8052 passed to sizeof is dynamic evaluate the argument to compute the length.
8053
8054 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8055 value and retrieve the dynamic type size.
8056
8057 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8058 (ada_template_to_fixed_record_type_1): Likewise.
8059 (ada_to_fixed_type_1): Likewise.
8060 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8061 (cp_print_value): Likewise.
8062 * d-valprint.c (dynamic_array_type): Likewise.
8063 * eval.c (evaluate_subexp_with_coercion): Likewise.
8064 * findvar.c (address_of_variable): Likewise.
8065 * jv-valprint.c (java_value_print): Likewise.
8066 * valops.c (value_ind): Likewise.
8067 * value.c (coerce_ref): Likewise.
8068
8069 * c-typeprint.c (c_type_print_varspec_suffix): Added
8070 check for not yet resolved high bound. If unresolved, print
8071 "variable length" string to the console instead of random
8072 length.
8073
8074 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8075 property and store it as the high bound and flag the range accordingly.
8076 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8077 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8078 * gdbtypes.h (enum range_flags): New enum.
8079 (struct range_bounds): Add flags member.
8080
8081 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8082 points to a constant blob.
8083
8084 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8085 (evaluate_subexp_standard): Pass noside argument.
8086 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8087 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8088 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8089 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8090 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8091
245a5f0b
KS
80922014-04-11 Keith Seitz <keiths@redhat.com>
8093
8094 PR c++/16675
8095 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8096 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8097 reference types.
8098
3bce8237
SA
80992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8100
8101 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8102 (evaluate_subexp_standard): Pass noside argument.
8103 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8104 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8105 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8106 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8107 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8108
92b09522
SA
81092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8110
8111 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8112 points to a constant blob.
8113
e1969afb
SA
81142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8115
8116 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8117 property and store it as the high bound and flag the range accordingly.
8118 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8119 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8120 * gdbtypes.h (enum range_flags): New enum.
8121 (struct range_bounds): Add flags member.
8122
b86138fb
SA
81232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8124
8125 * c-typeprint.c (c_type_print_varspec_suffix): Added
8126 check for not yet resolved high bound. If unresolved, print
8127 "variable length" string to the console instead of random
8128 length.
8129
bcd629a4
SA
81302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8131
8132 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8133 (ada_template_to_fixed_record_type_1): Likewise.
8134 (ada_to_fixed_type_1): Likewise.
8135 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8136 (cp_print_value): Likewise.
8137 * d-valprint.c (dynamic_array_type): Likewise.
8138 * eval.c (evaluate_subexp_with_coercion): Likewise.
8139 * findvar.c (address_of_variable): Likewise.
8140 * jv-valprint.c (java_value_print): Likewise.
8141 * valops.c (value_ind): Likewise.
8142 * value.c (coerce_ref): Likewise.
8143
04b19544
SA
81442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8145
8146 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8147 value and retrieve the dynamic type size.
8148
26cb189f
SA
81492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8150
8151 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8152 passed to sizeof is dynamic evaluate the argument to compute the length.
8153
37c1ab67
SA
81542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8155
8156 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8157 (dwarf2_evaluate_property): New function.
8158 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8159 * dwarf2read.c (attr_to_dynamic_prop): New function.
8160 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8161 attribute.
8162 * gdbtypes.c: Include dwarf2loc.h.
8163 (is_dynamic_type): New function.
8164 (resolve_dynamic_type): New function.
8165 (resolve_dynamic_bounds): New function.
8166 (get_type_length): New function.
8167 (check_typedef): Use get_type_length to compute type length.
8168 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8169 (TYPE_LOW_BOUND_KIND): New macro.
8170 (is_dynamic_type): New function prototype.
8171 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8172 to resolve dynamic properties of the type. Update comment.
8173 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8174
729efb13
SA
81752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8176
8177 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8178 declaring high/low bounds and change uses accordingly. Call
8179 create_range_type instead of create_static_range_type.
8180 * gdbtypes.c (create_range_type): New function.
8181 (create_range_type): Convert bounds into struct bound_prop and pass
8182 them to create_range_type.
8183 * gdbtypes.h (struct bound_prop): New struct.
8184 (create_range_type): New function prototype.
8185 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8186 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8187 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8188 part of the bound.
8189 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8190
0c9c3474
SA
81912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8192
8193 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8194 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8195 * ada-lang.c: All uses of create_range_type updated.
8196 * coffread.c: All uses of create_range_type updated.
8197 * dwarf2read.c: All uses of create_range_type updated.
8198 * f-exp.y: All uses of create_range_type updated.
8199 * m2-valprint.c: All uses of create_range_type updated.
8200 * mdebugread.c: All uses of create_range_type updated.
8201 * stabsread.c: All uses of create_range_type updated.
8202 * valops.c: All uses of create_range_type updated.
8203 * valprint.c: All uses of create_range_type updated.
8204
9d497a19
PA
82052014-04-10 Pedro Alves <palves@redhat.com>
8206
8207 * breakpoint.c (single_step_breakpoints)
8208 (single_step_gdbarch): Move up in the file.
8209 (one_breakpoint_xfer_memory): New function, factored out from ...
8210 (breakpoint_xfer_memory): ... here. Also process single-step
8211 breakpoints.
8212
15a9128a
TG
82132014-04-09 Tristan Gingold <gingold@adacore.com>
8214
8215 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8216 comments.
8217 (darwin_decode_exception_message): Free port only after use.
8218
9c97a070
PL
82192014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8220
8221 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8222 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8223 when setting the size of call_length.
8224
7af389b8
SC
82252014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8226
8227 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8228 dereference TYPE_CODE_REF values.
8229
86ad98c3
JB
82302014-04-07 Joel Brobecker <brobecker@adacore.com>
8231
8232 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8233 end of warning message.
8234
b0aeadb3
DE
82352014-04-03 Doug Evans <dje@google.com>
8236
8237 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8238 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8239
5979d6b6
AM
82402014-04-02 Alan Modra <amodra@gmail.com>
8241
8242 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8243 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8244 (struct symbol_file_add_from_memory_args): Add size field.
8245 (find_vdso_size): New function.
8246 (add_vsyscall_page): Attempt to find vdso size.
8247
0d60c288
DE
82482014-04-01 Doug Evans <dje@google.com>
8249
8250 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8251
a41f2563
TG
82522014-04-01 Tristan Gingold <gingold@adacore.com>
8253
8254 * darwin-nat.c (darwin_encode_reply): Add prototype.
8255 (darwin_decode_exception_message): Reply to unknown inferiors.
8256 (darwin_decode_message): Handle message by id. Ignore message
8257 to unknown inferior.
8258 (darwin_wait): Discard unknown messages, add debug trace.
8259
11a865c8
DE
82602014-03-31 Doug Evans <dje@google.com>
8261
8262 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8263 comp_dir_string.
8264
770e7fc7
DE
82652014-03-31 Doug Evans <dje@google.com>
8266
8267 New option "set print symbol-loading".
8268 * NEWS: Mention it.
8269 * solib.c (solib_read_symbols): Only print symbol loading messages
8270 if requested.
8271 (solib_add): If symbol loading is in "brief" mode, notify user
8272 symbols are being loaded.
8273 (reload_shared_libraries_1): Ditto.
8274 * symfile.c (print_symbol_loading_off): New static global.
8275 (print_symbol_loading_brief): New static global.
8276 (print_symbol_loading_full): New static global.
8277 (print_symbol_loading_enums): New static global.
8278 (print_symbol_loading): New static global.
8279 (print_symbol_loading_p): New function.
8280 (symbol_file_add_with_addrs): Only print symbol loading messages
8281 if requested.
8282 (_initialize_symfile): Register "print symbol-loading" set/show
8283 command.
8284 * symfile.h (print_symbol_loading_p): Declare.
8285
c32c64b7
DE
82862014-03-30 Doug Evans <xdje42@gmail.com>
8287
8288 * infrun.c (set_last_target_status): New function.
8289 (handle_inferior_event): Call it.
8290
7c0bc051
DE
82912014-03-30 Doug Evans <xdje42@gmail.com>
8292
8293 * inferior.h (enum stop_kind): Improve comment.
8294
8776cfe9
JB
82952014-03-28 Joel Brobecker <brobecker@adacore.com>
8296
8297 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8298 a reference, strip the reference layer before calling
8299 the lang_ops value_has_mutated callback.
8300
410a0ff2
SDJ
83012014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8302
8303 Remove some globals from our parser.
8304 * language.c (unk_lang_parser): Add "struct parser_state"
8305 argument.
8306 * language.h (struct language_defn) <la_parser>: Likewise.
8307 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8308 (initialize_expout): Add "struct parser_state" argument.
8309 Rewrite function to use the parser state.
8310 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8311 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8312 write_exp_elt_longcst, write_exp_elt_dblcst,
8313 write_exp_elt_decfloatcst, write_exp_elt_type,
8314 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8315 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8316 write_dollar_variable): Likewise.
8317 (parse_exp_in_context_1): Use parser state.
8318 (insert_type_address_space): Add "struct parser_state" argument.
8319 Use parser state.
8320 (increase_expout_size): New function.
8321 * parser-defs.h: Forward declare "struct language_defn" and
8322 "struct parser_state".
8323 (expout, expout_size, expout_ptr): Remove extern declarations.
8324 (parse_gdbarch, parse_language): Rewrite macro declarations to
8325 accept the parser state.
8326 (struct parser_state): New struct.
8327 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8328 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8329 write_exp_elt_decfloatcst, write_exp_elt_type,
8330 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8331 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8332 write_exp_msymbol, write_dollar_variable,
8333 mark_struct_expression, insert_type_address_space): Add "struct
8334 parser_state" argument.
8335 (increase_expout_size): New function.
8336 * utils.c (do_clear_parser_state): New function.
8337 (make_cleanup_clear_parser_state): Likewise.
8338 * utils.h (make_cleanup_clear_parser_state): New function
8339 prototype.
8340 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8341 Update calls to write_exp* in order to pass the parser state.
8342 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8343 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8344 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8345 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8346 * stap-probe.c (stap_parse_register_operand): Likewise.
8347 (stap_parse_single_operand): Likewise.
8348 (stap_parse_argument_1): Likewise.
8349 (stap_parse_argument): Use parser state.
8350 * stap-probe.h: Include "parser-defs.h".
8351 (struct stap_parse_info) <pstate>: New field.
8352 * c-exp.y (parse_type): Rewrite to use parser state.
8353 (yyparse): Redefine to c_parse_internal.
8354 (pstate): New global variable.
8355 (parse_number): Add "struct parser_state" argument.
8356 (write_destructor_name): Likewise.
8357 (type_exp): Update calls to write_exp* and similars in order to
8358 use parser state.
8359 (exp1, exp, variable, qualified_name, space_identifier,
8360 typename, typebase): Likewise.
8361 (write_destructor_name, parse_number, lex_one_token,
8362 classify_name, classify_inner_name, c_parse): Add "struct
8363 parser_state" argument. Update function to use parser state.
8364 * c-lang.h: Forward declare "struct parser_state".
8365 (c_parse): Add "struct parser_state" argument.
8366 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8367 (yyparse): Redefine macro to ada_parse_internal.
8368 (pstate): New variable.
8369 (write_int, write_object_renaming, write_var_or_type,
8370 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8371 type_int, type_long, type_long_long, type_float, type_double,
8372 type_long_double, type_char, type_boolean, type_system_address):
8373 Add "struct parser_state" argument.
8374 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8375 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8376 var_or_type, aggregate, aggregate_component_list,
8377 positional_list, others, component_group,
8378 component_associations): Update calls to write_exp* and similar
8379 functions in order to use parser state.
8380 (ada_parse, write_var_from_sym, write_int,
8381 write_exp_op_with_string, write_object_renaming,
8382 find_primitive_type, write_selectors, write_ambiguous_var,
8383 write_var_or_type, write_name_assoc, type_int, type_long,
8384 type_long_long, type_float, type_double, type_long_double,
8385 type_char, type_boolean, type_system_address): Add "struct
8386 parser_state" argument. Adjust function to use parser state.
8387 * ada-lang.c (parse): Likewise.
8388 * ada-lang.h: Forward declare "struct parser_state".
8389 (ada_parse): Add "struct parser_state" argument.
8390 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8391 calls to both functions.
8392 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8393 parser state.
8394 (yyparse): Redefine macro to f_parse_internal.
8395 (pstate): New variable.
8396 (parse_number): Add "struct parser_state" argument.
8397 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8398 and similars in order to use parser state.
8399 (parse_number): Adjust code to use parser state.
8400 (yylex): Likewise.
8401 (f_parse): New function.
8402 * f-lang.h: Forward declare "struct parser_state".
8403 (f_parse): Add "struct parser_state" argument.
8404 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8405 parser state.
8406 (yyparse): Redefine macro for java_parse_internal.
8407 (pstate): New variable.
8408 (push_expression_name, push_expression_name, insert_exp): Add
8409 "struct parser_state" argument.
8410 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8411 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8412 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8413 PostIncrementExpression, PostDecrementExpression,
8414 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8415 UnaryExpressionNotPlusMinus, CastExpression,
8416 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8417 RelationalExpression, EqualityExpression, AndExpression,
8418 ExclusiveOrExpression, InclusiveOrExpression,
8419 ConditionalAndExpression, ConditionalOrExpression,
8420 ConditionalExpression, Assignment, LeftHandSide): Update
8421 calls to write_exp* and similars in order to use parser state.
8422 (parse_number): Ajust code to use parser state.
8423 (yylex): Likewise.
8424 (java_parse): New function.
8425 (push_variable): Add "struct parser_state" argument. Adjust
8426 code to user parser state.
8427 (push_fieldnames, push_qualified_expression_name,
8428 push_expression_name, insert_exp): Likewise.
8429 * jv-lang.h: Forward declare "struct parser_state".
8430 (java_parse): Add "struct parser_state" argument.
8431 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8432 parser state.
8433 (yyparse): Redefine macro to m2_parse_internal.
8434 (pstate): New variable.
8435 (type_exp, exp, fblock, variable, type): Update calls to
8436 write_exp* and similars to use parser state.
8437 (yylex): Likewise.
8438 (m2_parse): New function.
8439 * m2-lang.h: Forward declare "struct parser_state".
8440 (m2_parse): Add "struct parser_state" argument.
8441 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8442 * objc-lang.h: Forward declare "struct parser_state".
8443 (end_msglist): Add "struct parser_state" argument.
8444 * p-exp.y (parse_type): Rewrite macro to use parser state.
8445 (yyparse): Redefine macro to pascal_parse_internal.
8446 (pstate): New variable.
8447 (parse_number): Add "struct parser_state" argument.
8448 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8449 write_exp* and similars in order to use parser state.
8450 (parse_number, yylex): Adjust code to use parser state.
8451 (pascal_parse): New function.
8452 * p-lang.h: Forward declare "struct parser_state".
8453 (pascal_parse): Add "struct parser_state" argument.
8454 * go-exp.y (parse_type): Rewrite macro to use parser state.
8455 (yyparse): Redefine macro to go_parse_internal.
8456 (pstate): New variable.
8457 (parse_number): Add "struct parser_state" argument.
8458 (type_exp, exp1, exp, variable, type): Update calls to
8459 write_exp* and similars in order to use parser state.
8460 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8461 to use parser state.
8462 (go_parse): Likewise.
8463 * go-lang.h: Forward declare "struct parser_state".
8464 (go_parse): Add "struct parser_state" argument.
8465
342587c4
DE
84662014-03-27 Doug Evans <dje@google.com>
8467
8468 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8469
33e80786
DE
84702014-03-27 Doug Evans <dje@google.com>
8471
8472 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8473 Remove argument abbrev_section. All callers updated.
8474
1dbab08b
DE
84752014-03-27 Doug Evans <dje@google.com>
8476
8477 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8478 addr_base, ranges_base.
8479
318d3177
KS
84802014-03-26 Keith Seitz <keiths@redhat.com>
8481
8482 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8483 types, not VAR_DOMAIN.
8484
1e54db15
SL
84852014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8486
8487 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8488 "ra" registers.
8489 * features/nios2-linux.c: Regenerated.
8490 * features/nios2.c: Regenerated.
8491
d3839ede
PA
84922014-03-25 Pedro Alves <palves@redhat.com>
8493
8494 * cli/cli-script.c (script_from_file): Force the interpreter to
8495 sync mode.
8496
7588d2ec
PL
84972014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8498
8499 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8500 small stack allocation.
8501
a6290449
TG
85022014-03-24 Tristan Gingold <gingold@adacore.com>
8503
8504 * darwin-nat.c (exc_server): Remove unused prototype.
8505 (darwin_dump_message): Correctly display data on x86_64.
8506 (darwin_encode_reply): Fix style.
8507 Add comments and fix indentation.
8508
31ae9d24 85092014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
8510
8511 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8512
6339bfc4
DE
85132014-03-22 Doug Evans <xdje42@gmail.com>
8514
8515 * infcmd.c: Whitespace fixes.
8516 (interrupt_command): Merge two function comments into one.
8517
0a07590b
DE
85182014-03-22 Doug Evans <xdje42@gmail.com>
8519
8520 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8521 All uses updated.
8522
b55fbac4
YQ
85232014-03-22 Yao Qi <yao@codesourcery.com>
8524
8525 * remote.c (target_read_live_memory): Remove.
8526 (memory_xfer_live_readonly_partial): Rename it to
8527 remote_xfer_live_readonly_partial. Remove argument 'object'.
8528 All callers updated. Call remote_read_bytes_1
8529 instead of target_read_live_memory.
8530 * tracepoint.c (set_traceframe_number): Remove.
8531 (make_cleanup_restore_traceframe_number): Likewise .
8532 * tracepoint.h (set_traceframe_number): Remove declaration.
8533 (make_cleanup_restore_traceframe_number): Likewise.
8534
9217e74e
YQ
85352014-03-22 Yao Qi <yao@codesourcery.com>
8536
8537 * remote.c (remote_read_bytes): Move code on reading from the
8538 remote stub to ...
8539 (remote_read_bytes_1): ... here. New function.
8540
8acf9577
YQ
85412014-03-22 Yao Qi <yao@codesourcery.com>
8542
8543 * ctf.c (ctf_xfer_partial): Check the return value of
8544 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8545 return TARGET_XFER_UNAVAILABLE.
8546 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8547 * target.c (target_read_live_memory): Move it to remote.c.
8548 (memory_xfer_live_readonly_partial): Likewise.
8549 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8550 * remote.c (target_read_live_memory): Moved from target.c.
8551 (memory_xfer_live_readonly_partial): Likewise.
8552 (remote_read_bytes): Factored out from
8553 memory_xfer_partial_1.
8554
feef67ab
DE
85552014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8556
8557 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8558 NULL pointer.
8559
b65dc60b
PA
85602014-03-21 Pedro Alves <palves@redhat.com>
8561
8562 * infrun.c (normal_stop): Extend comment.
8563
b4ab256d
HZ
85642014-03-21 Hui Zhu <hui@codesourcery.com>
8565 Pedro Alves <palves@redhat.com>
8566
8567 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8568 static buffer.
8569 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8570 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8571 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8572
deba7593
MR
85732014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8574
8575 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8576 `z' formatted output modifier.
8577
1bff71c3
SDJ
85782014-03-20 Tom Tromey <tromey@redhat.com>
8579 Sergio Durigan Junior <sergiodj@redhat.com>
8580
8581 * probe.c (parse_probes): Turn assert into an ordinary error.
8582 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8583 exceptions when parsing probes. Rearrange the code for clarity.
8584
90e28950
TT
85852014-03-20 Tom Tromey <tromey@redhat.com>
8586
8587 PR gdb/14135
8588 * top.c (execute_command): Only dispatch events if the command
8589 started the target.
8590
beb460e8
PA
85912014-03-20 Tom Tromey <tromey@redhat.com>
8592
8593 PR cli/15718
8594 * infcall.c: Include event-top.h.
8595 (run_inferior_call): Call async_disable_stdin if needed.
8596
99619bea
PA
85972014-03-20 Pedro Alves <palves@redhat.com>
8598
8599 * infrun.c (prepare_to_proceed): Delete.
8600 (thread_still_needs_step_over): New function.
8601 (find_thread_needs_step_over): New function.
8602 (proceed): If the current thread needs a step-over, set its
8603 steping_over_breakpoint flag. Adjust to use
8604 find_thread_needs_step_over instead of prepare_to_proceed.
8605 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8606 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8607 breakpoint.
8608 (switch_back_to_stepped_thread): Step over breakpoints of all
8609 threads not the stepping thread, before switching back to the
8610 stepping thread.
8611
2adfaa28
PA
86122014-03-20 Pedro Alves <palves@redhat.com>
8613
8614 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8615 extern.
8616 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8617 * infrun.c (saved_singlestep_ptid)
8618 (stepping_past_singlestep_breakpoint): Delete.
8619 (resume): Remove stepping_past_singlestep_breakpoint handling.
8620 (proceed): Store the prev_pc of the stepping thread too.
8621 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8622 singlestep_pc.
8623 (enum infwait_states): Delete infwait_thread_hop_state.
8624 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8625 field.
8626 (handle_inferior_event): Adjust.
8627 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8628 handling and the thread-hop code. Before removing single-step
8629 breakpoints, check whether the thread hit a single-step breakpoint
8630 of another thread. If it did, the trap is not a random signal.
8631 (switch_back_to_stepped_thread): If the event thread hit a
8632 single-step breakpoint, unblock it before switching to the
8633 stepping thread. Handle the case of the stepped thread having
8634 advanced already.
8635 (keep_going): Handle the case of the current thread moving past a
8636 single-step breakpoint.
8637
31e77af2
PA
86382014-03-20 Pedro Alves <palves@redhat.com>
8639
8640 PR breakpoints/7143
8641 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8642 are being stepped over.
8643 (breakpoint_address_match): Make extern.
8644 * breakpoint.h (breakpoint_address_match): New declaration.
8645 * inferior.h (stepping_past_instruction_at): New declaration.
8646 * infrun.c (struct step_over_info): New type.
8647 (step_over_info): New global.
8648 (set_step_over_info, clear_step_over_info)
8649 (stepping_past_instruction_at): New functions.
8650 (handle_inferior_event): Clear the step-over info when
8651 trap_expected is cleared.
8652 (resume): Remove now stale comment.
8653 (clear_proceed_status): Clear step-over info.
8654 (proceed): Adjust step-over handling to set or clear the step-over
8655 info instead of removing all breakpoints.
8656 (handle_signal_stop): When setting up a thread-hop, don't remove
8657 breakpoints here.
8658 (stop_stepping): Clear step-over info.
8659 (keep_going): Adjust step-over handling to set or clear step-over
8660 info and then always inserting breakpoints, instead of removing
8661 all breakpoints when stepping over one.
8662
b9f437de
PA
86632014-03-20 Pedro Alves <palves@redhat.com>
8664
8665 * infrun.c (previous_inferior_ptid): Adjust comment.
8666 (deferred_step_ptid): Delete.
8667 (infrun_thread_ptid_changed, prepare_to_proceed)
8668 (init_wait_for_inferior): Adjust.
8669 (handle_signal_stop): Delete deferred_step_ptid handling.
8670
06c868a8
JK
86712014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8672
8673 PR gdb/15358
8674 * defs.h (sync_quit_force_run): New declaration.
8675 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8676 * event-top.c (async_sigterm_handler): New declaration.
8677 (async_sigterm_token): New variable.
8678 (async_init_signals): Create also async_sigterm_token.
8679 (async_sigterm_handler): New function.
8680 (sync_quit_force_run): New variable.
8681 (handle_sigterm): Replace quit_force call by other calls.
8682 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8683
dea80df0
MR
86842014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8685
8686 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8687 offset into SPE pseudo registers.
8688
0c7e1a46
PA
86892014-03-18 Pedro Alves <palves@redhat.com>
8690
8691 PR gdb/13860
8692 * inferior.h (print_stop_event): Declare.
8693 * infrun.c (print_stop_event): New, factored out from ...
8694 (normal_stop): ... this.
8695 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8696 of bpstat_print/print_stack_frame.
8697
9c1fcd01
TT
86982014-03-17 Tom Tromey <tromey@redhat.com>
8699
8700 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8701
11aa919a
PMR
87022014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8703
8704 * ada-lang.c (decode_constrained_packed_array): Perform a
8705 minimal coercion for reference with coerce_ref instead of
8706 ada_coerce_ref.
8707
d4ccb5e0
TG
87082014-03-17 Tristan Gingold <gingold@adacore.com>
8709
8710 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8711 (darwin_solib_create_inferior_hook): Emit a warning if version
8712 is unhandled.
8713
49840f2a
UW
87142014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8715
8716 * python/py-value.c (get_field_flag): Cast flag_name argument to
8717 PyObject_GetAttrString to support Python 2.4.
8718
ed4123e5
JK
87192014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8720
8721 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8722 (Global Maintainers): Remove Jan Kratochvil.
8723
d6b64346
PA
87242014-03-14 Pedro Alves <palves@redhat.com>
8725
8726 * inferior.h (terminal_ours_for_output): Rename to ...
8727 (child_terminal_ours_for_output): ... this.
8728 (terminal_save_ours): Rename to ...
8729 (child_terminal_save_ours): ... this.
8730 (terminal_ours): Rename to ...
8731 (child_terminal_ours): ... this.
8732 (terminal_inferior): Rename to ...
8733 (child_terminal_inferior): ... this.
8734 (terminal_init_inferior): Rename to ...
8735 (child_terminal_init_inferior): ... this.
8736 (terminal_init_inferior_with_pgrp): Rename to ...
8737 (child_terminal_init_inferior_with_pgrp): ... this.
8738 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8739 (child_terminal_init_with_pgrp): ... this.
8740 (terminal_save_ours): Rename to ...
8741 (child_terminal_save_ours): ... this.
8742 (terminal_init_inferior): Rename to ...
8743 (child_terminal_init): ... this. Adjust.
8744 (terminal_inferior): Rename to ...
8745 (child_terminal_inferior): ... this.
8746 (terminal_ours_for_output): Rename to ...
8747 (child_terminal_ours_for_output): ... this. Adjust.
8748 (terminal_ours): Rename to ...
8749 (child_terminal_ours): ... this.
8750 (terminal_ours_1): Rename to ...
8751 (child_terminal_ours_1): ... this. Adjust.
8752 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8753 * windows-nat.c (do_initial_windows_stuff): Adjust.
8754 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8755 (gnu_terminal_init): ... this. Adjust.
8756 (gnu_target): Adjust.
8757 * inf-child.c (inf_child_target): Adjust.
8758
5a1e8c7a
DE
87592014-03-13 Doug Evans <xdje42@gmail.com>
8760
8761 PR guile/16612
8762 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8763 new eq?-hashtab.
8764
350e1a76
DE
87652014-03-13 Doug Evans <xdje42@gmail.com>
8766
8767 * value.c (record_latest_value): Call release_value_or_incref
8768 instead of release_value.
8769
a69900ae
PA
87702014-03-13 Pedro Alves <palves@redhat.com>
8771
8772 * procfs.c (procfs_target): Don't override to_shortname,
8773 to_longname or to_doc.
8774
5db9f0bd
PA
87752014-03-13 Pedro Alves <palves@redhat.com>
8776
8777 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8778 Unix in user visible strings.
8779
5e3a2c38
SS
87802014-03-12 Stan Shebs <stan@codesourcery.com>
8781
8782 * gdbtypes.h: Annotate comments for Doxygen, add a page
8783 block comment with some general info.
8784
8bc2fe48
PA
87852014-03-12 Pedro Alves <palves@redhat.com>
8786
8787 * infcmd.c (prepare_execution_command): New function, factored out
8788 from several execution commands.
8789 (run_command_1, continue_command, step_1, jump_command)
8790 (signal_command, until_command, advance_command, finish_command)
8791 (attach_command): Use prepare_execution_command.
8792
638c5f49
OJ
87932014-03-12 Omair Javaid <omair.javaid@linaro.org>
8794
8795 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8796 (MAX_BPTS): Define.
8797 (MAX_WPTS): Define.
8798 (struct arm_linux_thread_points): Removed.
8799 (struct arm_linux_process_info): New.
8800 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8801 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8802 (arm_linux_find_breakpoints_by_tid): Removed.
8803 (struct arch_lwp_info): New.
8804 (arm_linux_find_process_pid): New functions.
8805 (arm_linux_add_process): New functions.
8806 (arm_linux_process_info_get): New functions.
8807 (arm_linux_forget_process): New function.
8808 (arm_linux_get_debug_reg_state): New function.
8809 (struct update_registers_data): New.
8810 (update_registers_callback): New function.
8811 (arm_linux_insert_hw_breakpoint1): Updated.
8812 (arm_linux_remove_hw_breakpoint1): Updated.
8813 (arm_linux_insert_hw_breakpoint): Updated.
8814 (arm_linux_remove_hw_breakpoint): Updated.
8815 (arm_linux_insert_watchpoint): Updated.
8816 (arm_linux_remove_watchpoint): Updated.
8817 (arm_linux_new_thread): Updated.
8818 (arm_linux_prepare_to_resume): New function.
8819 (arm_linux_new_fork): New function.
8820 (_initialize_arm_linux_nat): Updated.
8821
6d03af93
PA
88222014-03-12 Pedro Alves <palves@redhat.com>
8823
8824 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8825
b3ccfe11
TT
88262014-03-12 Tom Tromey <tromey@redhat.com>
8827
8828 * inf-child.c (return_zero): New function.
8829 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8830 * aix-thread.c (aix_thread_inferior_created): New function.
8831 (aix_thread_attach): Remove.
8832 (init_aix_thread_ops): Don't set to_attach.
8833 (_initialize_aix_thread): Register inferior_created observer.
8834 * corelow.c (init_core_ops): Don't set to_attach or
8835 to_create_inferior.
8836 * exec.c (init_exec_ops): Don't set to_attach or
8837 to_create_inferior.
8838 * infcmd.c (run_command_1): Use find_run_target. Make direct
8839 target calls.
8840 (attach_command): Use find_attach_target. Make direct target
8841 calls.
8842 * record-btrace.c (init_record_btrace_ops): Don't set
8843 to_create_inferior.
8844 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8845 Remove.
8846 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8847 set to_create_inferior.
8848 * target.c (complete_target_initialization): Add assertion.
8849 (target_create_inferior): Remove.
8850 (find_default_attach, find_default_create_inferior): Remove.
8851 (find_attach_target, find_run_target): New functions.
8852 (find_default_is_async_p, find_default_can_async_p)
8853 (target_supports_non_stop, target_attach): Remove.
8854 (init_dummy_target): Don't set to_create_inferior or
8855 to_supports_non_stop.
8856 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8857 TARGET_DEFAULT_FUNC.
8858 <to_create_inferior>: Add comment.
8859 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8860 TARGET_DEFAULT_RETURN.
8861 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8862 (find_attach_target, find_run_target): Declare.
8863 (target_create_inferior): Remove.
8864 (target_has_execution_1): Update comment.
8865 (target_supports_non_stop): Remove.
8866 * target-delegates.c: Rebuild.
8867
91f83b02
PA
88682014-03-12 Pedro Alves <palves@redhat.com>
8869
8870 * inf-child.h: Update comment to not mention Unix.
8871
f1aea813
PA
88722014-03-12 Pedro Alves <palves@redhat.com>
8873
8874 * inf-child.c: Update top comment to not mention Unix. Add
8875 generic comment describing how this target is meant to be used.
8876 (inf_child_post_attach, inf_child_post_startup_inferior)
8877 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8878 Unix in comment.
8879
ee8e9165
PA
88802014-03-12 Pedro Alves <palves@redhat.com>
8881
8882 * nto-procfs.c: Include inf-child.h.
8883 (procfs_ops): Delete global.
8884 (procfs_can_run): Delete method.
8885 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8886 target pointer instead of referencing procfs_ops.
8887 (procfs_prepare_to_store): Delete.
8888 (init_procfs_ops): Delete function.
8889 (procfs_target): New function, based on init_procfs_ops, but
8890 inherit inf_child_target.
8891 (_initialize_procfs): Use procfs_target.
8892
51a9c8c5
PA
88932014-03-12 Pedro Alves <palves@redhat.com>
8894
8895 * windows-nat.c: Include inf-child.h.
8896 (windows_ops): Delete global.
8897 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8898 methods.
8899 (init_windows_ops): Delete function.
8900 (windows_target): New function, based on init_windows_ops, but
8901 inherit inf_child_target.
8902 (_initialize_windows_nat): Use windows_target. Install x86
8903 specific target methods here.
8904
c1966e26
DE
89052014-03-10 Doug Evans <xdje42@gmail.com>
8906
8907 * guile/guile.c (call_initialize_gdb_module): New function.
8908 (initialize_guile): Replace call to scm_init_guile with call to
8909 scm_with_guile.
8910
023db19c
JB
89112014-03-10 Joel Brobecker <brobecker@adacore.com>
8912
8913 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8914 in call to TYPE_CODE macro.
8915
5ec18f2b
JG
89162014-03-10 Jerome Guitton <guitton@adacore.com>
8917
8668be63
JB
8918 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8919 Resolve tagged types to full view.
5ec18f2b 8920
7d03f2eb
HZ
89212014-03-10 Hui Zhu <hui@codesourcery.com>
8922
8923 * target.h (target_insert_breakpoint): Remove "hardware" from its
8924 comments.
8925
c5164cbc
DE
89262014-03-07 Doug Evans <dje@google.com>
8927
8928 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8929
c4a3fee2
DE
89302014-03-07 Doug Evans <dje@google.com>
8931
8932 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8933 Remove unused local comp_dir_attr. Assert exactly one of
8934 stub_comp_unit_die, stub_comp_dir is non-NULL.
8935
3156469c
JB
89362014-03-07 Joel Brobecker <brobecker@adacore.com>
8937
8938 * target.h (complete_target_initialization, add_target):
8939 Add comment.
8940
c1a7b7c6
PA
89412014-03-07 Pedro Alves <palves@redhat.com>
8942
8943 * go32-nat.c: Include inf-child.h.
8944 (go32_ops): Delete global.
8945 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8946 Delete methods.
8947 (go32_create_inferior): Push the passed in target pointer instead
8948 of referencing go32_ops.
8949 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8950 (go32_target): New function, based on init_go32_ops, but inherit
8951 inf_child_target.
8952 (_initialize_go32_nat): Use go32_target. Move parts of
8953 init_go32_ops here.
8954
d3c1a85f
JB
89552014-03-06 Joel Brobecker <brobecker@adacore.com>
8956
8957 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8958 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8959 SYMBOL_VALUE_ADDRESS.
8960 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8961
5fa1d40e
YQ
89622014-03-06 Yao Qi <yao@codesourcery.com>
8963
8964 * breakpoint.c (get_tracepoint_by_number): Remove argument
8965 optional_p. All callers updated. Adjust comments. Update
8966 output message.
8967 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8968
0c13193f
YQ
89692014-03-06 Yao Qi <yao@codesourcery.com>
8970
8971 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8972 early if get_number returns zero. Use 'p' instead of 'args'.
8973
2217da06
YQ
89742014-03-06 Yao Qi <yao@codesourcery.com>
8975
8976 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8977 message.
8978
cc3da688
YQ
89792014-03-06 Yao Qi <yao@codesourcery.com>
8980
8981 PR breakpoints/16508
8982 * tracepoint.c (check_trace_running): New function.
8983 (trace_find_command): Move code to check_trace_running and
8984 call check_trace_running.
8985 (trace_find_pc_command): Likewise.
8986 (trace_find_tracepoint_command): Likewise.
8987 (trace_find_line_command): Likewise.
8988 (trace_find_range_command): Likewise.
8989 * tracepoint.h (check_trace_running): Likewise.
8990 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8991
6a5f844b
YQ
89922014-03-06 Yao Qi <yao@codesourcery.com>
8993
8994 * target.h (struct target_ops) <to_traceframe_info>: Use
8995 TARGET_DEFAULT_NORETURN (tcomplain ()).
8996 * target-delegates.c: Regenerated.
8997
0f26cec1
PA
89982014-03-05 Pedro Alves <palves@redhat.com>
8999
9000 PR gdb/16575
9001 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9002 void. Update comment.
9003 (dcache_xfer_memory): Delete.
9004 (dcache_read_memory_partial): New, based on the read bits of
9005 dcache_xfer_memory.
9006 (dcache_update): Add status parameter. Use ULONGEST for len, and
9007 adjust. Discard cache lines if the reason for the update was
9008 error.
9009 * dcache.h (dcache_xfer_memory): Delete declaration.
9010 (dcache_read_memory_partial): New declaration.
9011 (dcache_update): Update prototype.
9012 * target.c (raw_memory_xfer_partial): Update the dcache here.
9013 (memory_xfer_partial_1): Don't handle dcache writes here.
9014
b2b255bd
MF
90152014-03-05 Mike Frysinger <vapier@gentoo.org>
9016
9017 * remote-sim.c (gdbsim_load): Add const to prog.
9018
5d9cf8a4
TT
90192014-03-03 Tom Tromey <tromey@redhat.com>
9020
9021 * elfread.c (probe_key): Change to bfd_data.
9022 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9023 now per-BFD, not per-objfile.
9024 * stap-probe.c (stap_probe_destroy): Update comment.
9025 (handle_stap_probe): Allocate on the per-BFD obstack.
9026
729662a5
TT
90272014-03-03 Tom Tromey <tromey@redhat.com>
9028
9029 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9030 * breakpoint.c (create_longjmp_master_breakpoint): Use
9031 get_probe_address.
9032 (add_location_to_breakpoint, bkpt_probe_insert_location)
9033 (bkpt_probe_remove_location): Update.
9034 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9035 * elfread.c (elf_symfile_relocate_probe): Remove.
9036 (elf_probe_fns): Update.
9037 (insert_exception_resume_breakpoint): Change type of "probe"
9038 parameter to bound_probe.
9039 (check_exception_resume): Update.
9040 * objfiles.c (objfile_relocate1): Don't relocate probes.
9041 * probe.c (bound_probe_s): New typedef.
9042 (parse_probes): Use get_probe_address. Set sal's objfile.
9043 (find_probe_by_pc): Return a bound_probe.
9044 (collect_probes): Return a VEC(bound_probe_s).
9045 (compare_probes): Update.
9046 (gen_ui_out_table_header_info): Change type of "probes"
9047 parameter. Update.
9048 (info_probes_for_ops): Update.
9049 (get_probe_address): New function.
9050 (probe_safe_evaluate_at_pc): Update.
9051 * probe.h (struct probe_ops) <get_probe_address>: New field.
9052 <set_semaphore, clear_semaphore>: Add objfile parameter.
9053 (struct probe) <objfile>: Remove field.
9054 <arch>: New field.
9055 <address>: Update comment.
9056 (struct bound_probe): New.
9057 (find_probe_by_pc): Return a bound_probe.
9058 (get_probe_address): Declare.
9059 * solib-svr4.c (struct probe_and_action) <address>: New field.
9060 (hash_probe_and_action, equal_probe_and_action): Update.
9061 (register_solib_event_probe): Add address parameter.
9062 (solib_event_probe_at): Update.
9063 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9064 get_probe_address.
9065 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9066 (stap_get_probe_address): New function.
9067 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9068 (compile_probe_arg): Update.
9069 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9070 address.
9071 (handle_stap_probe): Don't relocate the probe.
9072 (stap_relocate): Remove.
9073 (stap_gen_info_probes_table_values): Update.
9074 (stap_probe_ops): Remove stap_relocate.
9075 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9076 (debug_sym_probe_fns): Update.
9077 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9078 * symtab.c (init_sal): Use memset.
9079 * symtab.h (struct symtab_and_line) <objfile>: New field.
9080 * tracepoint.c (start_tracing, stop_tracing): Update.
9081
ff887920
TT
90822014-03-03 Tom Tromey <tromey@redhat.com>
9083
9084 * probe.h (parse_probes, find_probe_by_pc)
9085 (find_probes_in_objfile): Fix comments.
9086
f0407826
DE
90872014-03-02 Doug Evans <xdje42@gmail.com>
9088
9089 * infrun.c (handle_signal_stop): Replace test for
9090 TARGET_WAITKIND_STOPPED with an assert.
9091
35e6a711
DE
90922014-03-02 Doug Evans <xdje42@gmail.com>
9093
9094 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9095
667f9d0b
DE
90962014-03-02 Doug Evans <xdje42@gmail.com>
9097
9098 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9099
dc92ace0
MK
91002014-03-01 Mark Kettenis <kettenis@gnu.org>
9101
9102 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9103
a900370f
MK
91042014-03-01 Mark Kettenis <kettenis@gnu.org>
9105
9106 * i386obsd-nat.c: Include "obsd-nat.h".
9107 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9108 add_target.
9109 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9110
b72a7981
MK
91112014-03-01 Mark Kettenis <kettenis@gnu.org>
9112
9113 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9114
96c70aba
MK
91152014-03-01 Mark Kettenis <kettenis@gnu.org>
9116
9117 * mips64obsd-nat.c: Include "obsd-nath".
9118 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9119 add_target
9120 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9121
874a80af
MK
91222014-03-01 Mark Kettenis <kettenis@gnu.org>
9123
8fd408f1
MK
9124 * amd64obsd-nat.c: Include "obsd-nat,h.
9125 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9126 add_target.
874a80af
MK
9127 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9128
9cf95373
SC
91292014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9130
9131 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9132 (find_overload_match): Update call to find_oload_champ.
9133 (find_oload_champ_namespace_loop): Likewise
9134
863e4da4
MK
91352014-02-28 Mark Kettenis <kettenis@gnu.org>
9136
025cac40
MK
9137 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9138
1ed586ce
MK
9139 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9140 * config/sparc/obsd64.mh: New file.
9141 * sparc64obsd-nat.c: New file.
9142
863e4da4
MK
9143 * obsd-nat.h: New file.
9144 * obsd-nat.c: New file.
9145 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9146 (ALLDEPFILES): Add obsd-nat.c.
9147
89de4da4
TT
91482014-02-28 Tom Tromey <tromey@redhat.com>
9149
9150 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9151 * cli-out.h (cli_ui_out_impl): Now const.
9152 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9153 * ui-out.c (struct ui_out) <impl>: Now const.
9154 (default_ui_out_impl): Now const.
9155 (ui_out_new): Make 'impl' parameter const.
9156 * ui-out.h (ui_out_new): Update.
9157
c725e7b6
MK
91582014-02-27 Mark Kettenis <kettenis@gnu.org>
9159
9160 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9161
670b46b3
MK
91622014-02-27 Mark Kettenis <kettenis@gnu.org>
9163
9164 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9165
c91550fc
JK
91662014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9167
9168 Additional PR 8882 fix.
9169 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9170
2fa0369e
PA
91712014-02-27 Pedro Alves <palves@redhat.com>
9172
9173 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9174 isn't set.
9175
d632a097
PA
91762014-02-27 Pedro Alves <palves@redhat.com>
9177
9178 PR 12702
9179 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9180 * nat/linux-waitpid.c: Include string.h.
9181 (status_to_str): Moved here and made extern.
9182 * nat/linux-waitpid.h (status_to_str): New declaration.
9183
2ebd5a35
HZ
91842014-02-27 Hui Zhu <hui@codesourcery.com>
9185
9186 PR 12702
9187 * infrun.c (ptid_match): Move ...
9188 * common/ptid.c (ptid_match): ... here.
9189 * inferior.h (ptid_match): Move ...
9190 * common/ptid.h (ptid_match): ... here.
9191
3cdd631f
MK
91922014-02-27 Mark Kettenis <kettenis@gnu.org>
9193
9194 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9195 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9196 gdb_target_obs.
9197
bee30a64
MK
91982014-02-27 Mark Kettenis <kettenis@gnu.org>
9199
9200 * obsd-tdep.c (obsd_auxv_parse): New function.
9201 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
9202
9203 * gdbarch.sh (auxv_parse): New.
9204 * gdbarch.h: Regenerated.
9205 * gdbarch.c: Regenerated.
9206 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9207
7a5a839f
LC
92082014-02-26 Ludovic Courtès <ludo@gnu.org>
9209
9210 * guile/scm-value.c (gdbscm_history_append_x): New function.
9211 (value_functions): Add it.
9212
31aa7e4e
JB
92132014-02-27 Joel Brobecker <brobecker@adacore.com>
9214
9215 * dwarf2read.c (attr_value_as_address): New function.
9216 (dwarf2_find_base_address, read_call_site_scope): Use
9217 attr_value_as_address in place of DW_ADDR.
9218 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9219 the low and high addresses. Slight rework of the handling
9220 of the high pc being a constant form, and limit it to
9221 DWARF verson 4 or higher.
9222 (dwarf2_record_block_ranges): Likewise.
9223 (read_partial_die): Likewise.
9224 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9225
9b333ba3
TT
92262014-02-26 Tom Tromey <tromey@redhat.com>
9227
9228 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9229
5f6cac40
TT
92302014-02-26 Tom Tromey <tromey@redhat.com>
9231
9232 * elfread.c (elf_read_minimal_symbols): Return early if
9233 minimal symbols have already been read. Add "ei" parameter.
9234 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9235 * minsyms.c (prim_record_minimal_symbol_full): Update.
9236 * objfiles.h (struct objstats) <n_minsyms>: Move...
9237 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9238 * symmisc.c (print_objfile_statistics): Update.
9239
2750ef27
TT
92402014-02-26 Tom Tromey <tromey@redhat.com>
9241
9242 * elfread.c (elf_read_minimal_symbols): New function, from
9243 elf_symfile_read.
9244 (elf_symfile_read): Call it.
9245
34643a32
TT
92462014-02-26 Tom Tromey <tromey@redhat.com>
9247
9248 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9249 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9250 (lookup_minimal_symbol_solib_trampoline)
9251 (lookup_minimal_symbol_by_pc_section_1)
9252 (lookup_minimal_symbol_and_objfile): Update.
9253 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9254 Don't allocate a minimal symbol if minsyms have already been read.
9255 (build_minimal_symbol_hash_tables): Update.
9256 (install_minimal_symbols): Do nothing if minsyms already read.
9257 Use the per-BFD obstack.
9258 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9259 * objfiles.c (allocate_objfile): Call
9260 terminate_minimal_symbol_table later.
9261 (have_minimal_symbols): Update.
9262 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9263 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9264 Move from struct objfile.
9265 <minsyms_read>: New field.
9266 (struct objfile) <msymbols, minimal_symbol_count,
9267 msymbol_hash, msymbol_demangled_hash>: Move.
9268 (ALL_OBJFILE_MSYMBOLS): Update.
9269 * symfile.c (read_symbols): Set minsyms_read.
9270 (reread_symbols): Update.
9271 * symmisc.c (dump_objfile, dump_msymbols): Update.
9272
2273f0ac
TT
92732014-02-26 Tom Tromey <tromey@redhat.com>
9274
9275 * minsyms.c (msymbols_sort): Remove.
9276 * minsyms.h (msymbols_sort): Remove.
9277 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9278 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9279 * elfread.c (elf_symtab_read): Don't add section offsets.
9280 * xcoffread.c (record_minimal_symbol): Don't add section offset
9281 to minimal symbol address.
9282 * somread.c (text_offset, data_offset): Remove.
9283 (som_symtab_read): Don't add section offsets to minimal symbol
9284 addresses.
9285 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9286 Don't add section offsets to minimal symbols.
9287 * coffread.c (coff_symtab_read): Don't add section offsets
9288 to minimal symbol addresses.
9289 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9290 to minimal symbol addresses.
9291 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9292 section offset to minimal symbol addresses.
9293 * mdebugread.c (parse_partial_symbols): Don't add section
9294 offset to minimal symbol addresses.
9295 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9296 offset to minimal symbol addresses.
9297
77e371c0
TT
92982014-02-26 Tom Tromey <tromey@redhat.com>
9299
9300 * ada-lang.c (ada_main_name): Update.
9301 (ada_add_standard_exceptions): Update.
9302 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9303 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9304 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9305 * auxv.c (ld_so_xfer_auxv): Update.
9306 * avr-tdep.c (avr_scan_prologue): Update.
9307 * ax-gdb.c (gen_var_ref): Update.
9308 * blockframe.c (get_pc_function_start)
9309 (find_pc_partial_function_gnu_ifunc): Update.
9310 * breakpoint.c (create_overlay_event_breakpoint)
9311 (create_longjmp_master_breakpoint)
9312 (create_std_terminate_master_breakpoint)
9313 (create_exception_master_breakpoint): Update.
9314 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9315 * c-valprint.c (c_val_print): Update.
9316 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9317 * common/agent.c (agent_look_up_symbols): Update.
9318 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9319 * dwarf2loc.c (call_site_to_target_addr): Update.
9320 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9321 * elfread.c (elf_gnu_ifunc_record_cache)
9322 (elf_gnu_ifunc_resolve_by_got): Update.
9323 * findvar.c (default_read_var_value): Update.
9324 * frame.c (inside_main_func): Update.
9325 * frv-tdep.c (frv_frame_this_id): Update.
9326 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9327 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9328 Update.
9329 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9330 (hppa_hpux_find_dummy_bpaddr): Update.
9331 * hppa-tdep.c (hppa_symbol_address): Update.
9332 * infcmd.c (until_next_command): Update.
9333 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9334 Update.
9335 * linespec.c (minsym_found, add_minsym): Update.
9336 * linux-nat.c (get_signo): Update.
9337 * linux-thread-db.c (inferior_has_bug): Update.
9338 * m32c-tdep.c (m32c_return_value)
9339 (m32c_m16c_address_to_pointer): Update.
9340 * m32r-tdep.c (m32r_frame_this_id): Update.
9341 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9342 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9343 * maint.c (maintenance_translate_address): Update.
9344 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9345 (frob_address): New function.
9346 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9347 frob_address. Rename parameter to "pc_in".
9348 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9349 addresses.
9350 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9351 Update.
9352 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9353 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9354 * objc-lang.c (find_objc_msgsend): Update.
9355 * objfiles.c (objfile_relocate1): Update.
9356 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9357 * p-valprint.c (pascal_val_print): Update.
9358 * parse.c (write_exp_msymbol): Update.
9359 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9360 (ppc_elfv2_skip_entrypoint): Update.
9361 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9362 * printcmd.c (build_address_symbolic, msym_info)
9363 (address_info): Update.
9364 * proc-service.c (ps_pglobal_lookup): Update.
9365 * psymtab.c (find_pc_sect_psymtab_closer)
9366 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9367 Change msymbol parameter to bound_minimal_symbol.
9368 * ravenscar-thread.c (get_running_thread_id): Update.
9369 * remote.c (remote_check_symbols): Update.
9370 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9371 address.
9372 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9373 * solib-dsbt.c (lm_base): Update.
9374 * solib-frv.c (lm_base, main_got): Update.
9375 * solib-irix.c (locate_base): Update.
9376 * solib-som.c (som_solib_create_inferior_hook)
9377 (link_map_start): Update.
9378 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9379 * solib-svr4.c (elf_locate_base, enable_break): Update.
9380 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9381 (flush_ea_cache): Update.
9382 * stabsread.c (define_symbol, scan_file_globals): Update.
9383 * stack.c (find_frame_funname): Update.
9384 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9385 (debug_qf_find_pc_sect_symtab): Update.
9386 * symfile.c (simple_read_overlay_table)
9387 (simple_overlay_update): Update.
9388 * symfile.h (struct quick_symbol_functions)
9389 <find_pc_sect_symtab>: Change type of msymbol to
9390 bound_minimal_symbol.
9391 * symmisc.c (dump_msymbols): Update.
9392 * symtab.c (find_pc_sect_symtab_via_partial)
9393 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9394 (search_symbols, print_msymbol_info): Update.
9395 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9396 (MSYMBOL_VALUE_ADDRESS): Redefine.
9397 (BMSYMBOL_VALUE_ADDRESS): New macro.
9398 * tracepoint.c (scope_info): Update.
9399 * tui/tui-disasm.c (tui_find_disassembly_address)
9400 (tui_get_begin_asm_address): Update.
9401 * valops.c (find_function_in_inferior): Update.
9402 * value.c (value_static_field, value_fn_field): Update.
9403
3b7344d5
TT
94042014-02-26 Tom Tromey <tromey@redhat.com>
9405
9406 * ada-lang.c (ada_update_initial_language): Update.
9407 (ada_main_name, ada_has_this_exception_support): Update.
9408 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9409 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9410 * arm-tdep.c (arm_skip_stub): Update.
9411 * auxv.c (ld_so_xfer_auxv): Update.
9412 * avr-tdep.c (avr_scan_prologue): Update.
9413 * ax-gdb.c (gen_var_ref): Update.
9414 * breakpoint.c (struct breakpoint_objfile_data)
9415 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9416 type to bound_minimal_symbol.
9417 (create_overlay_event_breakpoint)
9418 (create_longjmp_master_breakpoint)
9419 (create_std_terminate_master_breakpoint)
9420 (create_exception_master_breakpoint): Update.
9421 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9422 * c-exp.y (classify_name): Update.
9423 * coffread.c (coff_symfile_read): Update.
9424 * common/agent.c (agent_look_up_symbols): Update.
9425 * d-lang.c (d_main_name): Update.
9426 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9427 * dec-thread.c (enable_dec_thread): Update.
9428 * dwarf2loc.c (call_site_to_target_addr): Update.
9429 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9430 * eval.c (evaluate_subexp_standard): Update.
9431 * findvar.c (struct minsym_lookup_data) <result>: Change type
9432 to bound_minimal_symbol.
9433 <objfile>: Remove.
9434 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9435 * frame.c (inside_main_func): Update.
9436 * frv-tdep.c (frv_frame_this_id): Update.
9437 * gcore.c (call_target_sbrk): Update.
9438 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9439 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9440 Update.
9441 * go-lang.c (go_main_name): Update.
9442 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9443 (hppa_hpux_find_import_stub_for_addr): Update.
9444 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9445 Update. Change return type.
9446 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9447 type.
9448 * jit.c (jit_breakpoint_re_set_internal): Update.
9449 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9450 Update.
9451 * linux-nat.c (get_signo): Update.
9452 * linux-thread-db.c (inferior_has_bug): Update
9453 * m32c-tdep.c (m32c_return_value)
9454 (m32c_m16c_address_to_pointer): Update.
9455 * m32r-tdep.c (m32r_frame_this_id): Update.
9456 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9457 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9458 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9459 lookup_minimal_symbol. Change return type.
9460 (lookup_minimal_symbol): Remove.
9461 (lookup_bound_minimal_symbol): Update.
9462 (lookup_minimal_symbol_text): Change return type.
9463 (lookup_minimal_symbol_solib_trampoline): Change return type.
9464 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9465 (lookup_minimal_symbol_solib_trampoline): Change return type.
9466 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9467 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9468 (value_nsstring, find_imps): Update.
9469 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9470 * p-lang.c (pascal_main_name): Update.
9471 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9472 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9473 * proc-service.c (ps_pglobal_lookup): Update.
9474 * ravenscar-thread.c (get_running_thread_msymbol): Change
9475 return type.
9476 (has_ravenscar_runtime, get_running_thread_id): Update.
9477 * remote.c (remote_check_symbols): Update.
9478 * sol-thread.c (ps_pglobal_lookup): Update.
9479 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9480 * solib-dsbt.c (lm_base): Update.
9481 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9482 Update.
9483 * solib-irix.c (locate_base): Update.
9484 * solib-som.c (som_solib_create_inferior_hook)
9485 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9486 Update.
9487 * solib-spu.c (spu_enable_break): Update.
9488 * solib-svr4.c (elf_locate_base, enable_break): Update.
9489 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9490 (flush_ea_cache): Update.
9491 * stabsread.c (define_symbol): Update.
9492 * symfile.c (simple_read_overlay_table): Update.
9493 * symtab.c (find_pc_sect_line): Update.
9494 * tracepoint.c (scope_info): Update.
9495 * tui-disasm.c (tui_get_begin_asm_address): Update.
9496 * value.c (value_static_field): Update.
9497
40c1a007
TT
94982014-02-26 Tom Tromey <tromey@redhat.com>
9499
9500 * minsyms.c (prim_record_minimal_symbol_full): Use
9501 SET_MSYMBOL_VALUE_ADDRESS.
9502 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9503 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9504 SET_MSYMBOL_VALUE_ADDRESS.
9505 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9506 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9507
efd66ac6
TT
95082014-02-26 Tom Tromey <tromey@redhat.com>
9509
9510 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9511 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9512 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9513 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9514 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9515 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9516 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9517 * ada-lang.c (ada_main_name): Update.
9518 (ada_lookup_simple_minsym): Update.
9519 (ada_make_symbol_completion_list): Update.
9520 (ada_add_standard_exceptions): Update.
9521 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9522 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9523 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9524 * arm-tdep.c (skip_prologue_function): Update.
9525 (arm_skip_stack_protector, arm_skip_stub): Update.
9526 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9527 (arm_wince_skip_main_prologue): Update.
9528 * auxv.c (ld_so_xfer_auxv): Update.
9529 * avr-tdep.c (avr_scan_prologue): Update.
9530 * ax-gdb.c (gen_var_ref): Update.
9531 * block.c (call_site_for_pc): Update.
9532 * blockframe.c (get_pc_function_start): Update.
9533 (find_pc_partial_function_gnu_ifunc): Update.
9534 * breakpoint.c (create_overlay_event_breakpoint): Update.
9535 (create_longjmp_master_breakpoint): Update.
9536 (create_std_terminate_master_breakpoint): Update.
9537 (create_exception_master_breakpoint): Update.
9538 (resolve_sal_pc): Update.
9539 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9540 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9541 Update.
9542 * c-valprint.c (c_val_print): Update.
9543 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9544 * coffread.c (coff_symfile_read): Update.
9545 * common/agent.c (agent_look_up_symbols): Update.
9546 * dbxread.c (find_stab_function_addr): Update.
9547 (end_psymtab): Update.
9548 * dwarf2loc.c (call_site_to_target_addr): Update.
9549 (func_verify_no_selftailcall): Update.
9550 (tailcall_dump): Update.
9551 (call_site_find_chain_1): Update.
9552 (dwarf_expr_reg_to_entry_parameter): Update.
9553 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9554 (elf_gnu_ifunc_resolve_by_got): Update.
9555 * f-valprint.c (info_common_command): Update.
9556 * findvar.c (read_var_value): Update.
9557 * frame.c (get_prev_frame_1): Update.
9558 (inside_main_func): Update.
9559 * frv-tdep.c (frv_skip_main_prologue): Update.
9560 (frv_frame_this_id): Update.
9561 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9562 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9563 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9564 (gnuv3_skip_trampoline): Update.
9565 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9566 (hppa64_hpux_in_solib_call_trampoline): Update.
9567 (hppa_hpux_skip_trampoline_code): Update.
9568 (hppa64_hpux_search_dummy_call_sequence): Update.
9569 (hppa_hpux_find_import_stub_for_addr): Update.
9570 (hppa_hpux_find_dummy_bpaddr): Update.
9571 * hppa-tdep.c (hppa_symbol_address)
9572 (hppa_lookup_stub_minimal_symbol): Update.
9573 * i386-tdep.c (i386_skip_main_prologue): Update.
9574 (i386_pe_skip_trampoline_code): Update.
9575 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9576 * infcall.c (get_function_name): Update.
9577 * infcmd.c (until_next_command): Update.
9578 * jit.c (jit_breakpoint_re_set_internal): Update.
9579 (jit_inferior_init): Update.
9580 * linespec.c (minsym_found): Update.
9581 (add_minsym): Update.
9582 * linux-fork.c (info_checkpoints_command): Update.
9583 * linux-nat.c (get_signo): Update.
9584 * linux-thread-db.c (inferior_has_bug): Update.
9585 * m32c-tdep.c (m32c_return_value): Update.
9586 (m32c_m16c_address_to_pointer): Update.
9587 (m32c_m16c_pointer_to_address): Update.
9588 * m32r-tdep.c (m32r_frame_this_id): Update.
9589 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9590 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9591 * maint.c (maintenance_translate_address): Update.
9592 * minsyms.c (add_minsym_to_hash_table): Update.
9593 (add_minsym_to_demangled_hash_table): Update.
9594 (msymbol_objfile): Update.
9595 (lookup_minimal_symbol): Update.
9596 (iterate_over_minimal_symbols): Update.
9597 (lookup_minimal_symbol_text): Update.
9598 (lookup_minimal_symbol_by_pc_name): Update.
9599 (lookup_minimal_symbol_solib_trampoline): Update.
9600 (lookup_minimal_symbol_by_pc_section_1): Update.
9601 (lookup_minimal_symbol_and_objfile): Update.
9602 (prim_record_minimal_symbol_full): Update.
9603 (compare_minimal_symbols): Update.
9604 (compact_minimal_symbols): Update.
9605 (build_minimal_symbol_hash_tables): Update.
9606 (install_minimal_symbols): Update.
9607 (terminate_minimal_symbol_table): Update.
9608 (find_solib_trampoline_target): Update.
9609 (minimal_symbol_upper_bound): Update.
9610 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9611 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9612 (mips_skip_pic_trampoline_code): Update.
9613 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9614 * objc-lang.c (selectors_info): Update.
9615 (classes_info): Update.
9616 (find_methods): Update.
9617 (find_imps): Update.
9618 (find_objc_msgsend): Update.
9619 * objfiles.c (objfile_relocate1): Update.
9620 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9621 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9622 * p-valprint.c (pascal_val_print): Update.
9623 * parse.c (write_exp_msymbol): Update.
9624 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9625 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9626 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9627 * printcmd.c (build_address_symbolic): Update.
9628 (sym_info): Update.
9629 (address_info): Update.
9630 * proc-service.c (ps_pglobal_lookup): Update.
9631 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9632 (find_pc_sect_psymtab): Update.
9633 * python/py-framefilter.c (py_print_frame): Update.
9634 * ravenscar-thread.c (get_running_thread_id): Update.
9635 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9636 Update.
9637 * remote.c (remote_check_symbols): Update.
9638 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9639 (rs6000_skip_trampoline_code): Update.
9640 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9641 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9642 * solib-dsbt.c (lm_base): Update.
9643 * solib-frv.c (lm_base): Update.
9644 (main_got): Update.
9645 * solib-irix.c (locate_base): Update.
9646 * solib-som.c (som_solib_create_inferior_hook): Update.
9647 (som_solib_desire_dynamic_linker_symbols): Update.
9648 (link_map_start): Update.
9649 * solib-spu.c (spu_enable_break): Update.
9650 (ocl_enable_break): Update.
9651 * solib-svr4.c (elf_locate_base): Update.
9652 (enable_break): Update.
9653 * spu-tdep.c (spu_get_overlay_table): Update.
9654 (spu_catch_start): Update.
9655 (flush_ea_cache): Update.
9656 * stabsread.c (define_symbol): Update.
9657 (scan_file_globals): Update.
9658 * stack.c (find_frame_funname): Update.
9659 (frame_info): Update.
9660 * symfile.c (simple_read_overlay_table): Update.
9661 (simple_overlay_update): Update.
9662 * symmisc.c (dump_msymbols): Update.
9663 * symtab.c (fixup_section): Update.
9664 (find_pc_sect_line): Update.
9665 (skip_prologue_sal): Update.
9666 (search_symbols): Update.
9667 (print_msymbol_info): Update.
9668 (rbreak_command): Update.
9669 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9670 (completion_list_objc_symbol): Update.
9671 (default_make_symbol_completion_list_break_on): Update.
9672 * tracepoint.c (scope_info): Update.
9673 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9674 (tui_get_begin_asm_address): Update.
9675 * valops.c (find_function_in_inferior): Update.
9676 * value.c (value_static_field): Update.
9677 (value_fn_field): Update.
9678
50e65b17
TT
96792014-02-26 Tom Tromey <tromey@redhat.com>
9680
9681 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9682 bound minimal symbols. Move code that knows about minsym
9683 table layout...
9684 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9685 function.
9686 * minsyms.h (minimal_symbol_upper_bound): Declare.
9687 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9688 minimal_symbol_upper_bound.
9689
1b588015
JB
96902014-02-27 Joel Brobecker <brobecker@adacore.com>
9691
9692 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9693 Use the type's name if its basic type does not have a tag.
9694
dbb9c2b1
JB
96952014-02-27 Joel Brobecker <brobecker@adacore.com>
9696
9697 * dwarf2read.c (read_subrange_type): Add comment.
9698
55426c9d
JB
96992014-02-27 Joel Brobecker <brobecker@adacore.com>
9700
9701 * dwarf2read.c (update_enumeration_type_from_children): New
9702 function, mostly extracted from process_structure_scope.
9703 (read_enumeration_type): Call update_enumeration_type_from_children.
9704 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9705 and flag_flag_enum fields.
9706
f2fce0ca
PA
97072014-02-26 Pedro Alves <palves@redhat.com>
9708
9709 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9710 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9711 to_xfer_partial method.
9712
7a44e40e
PA
97132014-02-26 Pedro Alves <palves@redhat.com>
9714
9715 * target.c (complete_target_initialization): Don't install
9716 default_xfer_partial as to_xfer_partial hook.
9717 (nomemory): Delete.
9718 (update_current_target): Don't INHERIT nor de_fault
9719 deprecated_xfer_memory. Delete de_fault macro.
9720 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9721 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9722 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9723 field.
9724
bd265cd0
PA
97252014-02-26 Pedro Alves <palves@redhat.com>
9726
9727 * go32-nat.c (my_write_child): New function.
9728 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9729 (go32_xfer_partial): New function.
9730 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9731 Instead install a to_xfer_partial hook.
9732
9d46c4e5
PA
97332014-02-26 Pedro Alves <palves@redhat.com>
9734
9735 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9736 to_xfer_partial helper. Rewrite.
9737 (procfs_xfer_partial): New function.
9738 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9739 Install a to_xfer_partial hook.
9740
a1583b1f
PA
97412014-02-26 Pedro Alves <palves@redhat.com>
9742
9743 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9744 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9745 (m32r_xfer_partial): New function.
9746 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9747 Install a to_xfer_partial hook.
9748
6df1b29f
PA
97492014-02-26 Pedro Alves <palves@redhat.com>
9750
9751 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9752 helper.
9753 (mips_xfer_partial): New function.
9754 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9755 hook. Install a to_xfer_partial hook.
9756
dc53a7ad
JB
97572014-02-26 Joel Brobecker <brobecker@adacore.com>
9758
9759 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9760 * gdbtypes.c (create_array_type_with_stride): New function,
9761 renaming create_array_type, but with an added parameter
9762 called "bit_stride".
9763 (create_array_type): Re-implement using
9764 create_array_type_with_stride.
9765 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9766 and DW_AT_bit_stride attributes.
9767
12ab52e9
PA
97682014-02-26 Pedro Alves <palves@redhat.com>
9769
9770 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9771 task-specific breakpoints.
9772
d16461ae
PA
97732014-02-25 Pedro Alves <palves@redhat.com>
9774
9775 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9776 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9777
a8b16220
SS
97782014-02-25 Stan Shebs <stan@codesourcery.com>
9779
9780 * defs.h: Annotate comments for Doxygen.
9781
b9e795ee
TT
97822014-02-25 Tom Tromey <tromey@redhat.com>
9783
9784 * target.h (target_ignore): Don't declare.
9785 * target.c (target_ignore): Remove.
9786
849c862e
JK
97872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9788
9789 PR gdb/16626
9790 * auto-load.c (auto_load_objfile_script_1): Change filename to
9791 debugfile.
9792
475109d8
JB
97932014-02-25 Joel Brobecker <brobecker@adacore.com>
9794
9795 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9796 documentation. Adjust prototype to match the target_ops
9797 to_xfer_partial method. Adjust implementation accordingly.
9798
e186c3bd
HZ
97992014-02-25 Hui Zhu <hui@codesourcery.com>
9800
9801 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9802 to_traceframe_info.
9803
6d451942
KB
98042014-02-25 Kevin Buettner <kevinb@redhat.com>
9805
041ab8b4 9806 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
9807 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9808 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9809 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9810 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9811 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9812 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9813 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9814 New constants.
9815 (rl78_register_type): Use a data pointer type for SP and
9816 new pseudo registers mentioned above. Use a 16 bit integer
9817 type for all other register pairs.
9818 (rl78_register_name, rl78_g10_register_name): Update for
9819 new pseudo registers.
9820 (rl78_pseudo_register_read): Likewise.
9821 (rl78_pseudo_register_write): Likewise.
9822 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9823 to the newly added pseudo registers.
9824
eddf0bae
DE
98252014-02-24 Doug Evans <dje@google.com>
9826
9827 * value.c (record_latest_value): Fix comment.
9828 * printcmd.c (print_command_1): Remove code to handle -1 return from
9829 record_latest_value.
9830
e96027e0
PA
98312014-02-24 Pedro Alves <palves@redhat.com>
9832
9833 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9834 deprecated_xfer_memory hook.
9835 (procfs_xfer_partial): Call procfs_xfer_memory instead
9836 of the deprecated_xfer_memory target hook.
9837 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9838 helper.
9839
0837c976
YZ
98402014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9841
9842 * windows-nat.c (windows_xfer_shared_libraries): Return
9843 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9844 requested object is TARGET_OBJECT_LIBRARIES.
9845
bc113b4e
YQ
98462014-02-24 Yao Qi <yao@codesourcery.com>
9847
9848 * target.h (enum target_xfer_status)
9849 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9850 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9851 explicitly. New.
9852 * corefile.c (memory_error_message): User updated.
9853 * exec.c (section_table_read_available_memory): Likewise.
9854 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9855 * target.c (target_xfer_status_to_string): Likewise.
9856 (raw_memory_xfer_partial): Likewise.
9857 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9858 * valops.c (read_value_memory): Likewise.
9859 * exec.h: Update comments.
9860
01cb8804
YQ
98612014-02-24 Yao Qi <yao@codesourcery.com>
9862
9863 * target.c (target_xfer_status_to_string): Rename argument err
9864 to status.
9865 * target.h (target_xfer_status_to_string): Update declaration.
9866 Replace target_xfer_error_to_string with
9867 target_xfer_status_to_string in comment.
9868
93063aa6
YQ
98692014-02-24 Yao Qi <yao@codesourcery.com>
9870
9871 * mips-linux-nat.c (super_close): Update its type.
9872 (mips_linux_close): Pass 'self' to super_close.
9873
5c328c05
YQ
98742014-02-24 Yao Qi <yao@codesourcery.com>
9875
9876 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9877 * corefile.c (read_memory): Adjusted.
9878 * target.c (target_write_with_progress): Adjusted.
9879
f73023dd
YQ
98802014-02-23 Yao Qi <yao@codesourcery.com>
9881
9882 Revert two patches:
9883
9884 2013-10-25 Yao Qi <yao@codesourcery.com>
9885
9886 * remote.c (remote_traceframe_info): Return early if
9887 traceframe is not selected.
9888
9889 2013-07-19 Yao Qi <yao@codesourcery.com>
9890
9891 * target.c (update_current_target): Change the default action
9892 of 'to_traceframe_info' from tcomplain to return_zero.
9893 * target.h (struct target_ops) <to_traceframe_info>: Add more
9894 comments.
9895
5a2eb0ef
YQ
98962014-02-23 Yao Qi <yao@codesourcery.com>
9897
9898 * valops.c (read_value_memory): Rewrite it. Call
9899 target_xfer_partial in a loop.
9900 * exec.h (section_table_available_memory): Remove declaration.
9901 Move comments to ...
9902 * exec.c (section_table_available_memory): ... here. Make it
9903 static.
9904
1ee79381
YQ
99052014-02-23 Yao Qi <yao@codesourcery.com>
9906
9907 * exec.c (section_table_read_available_memory): New function.
9908 * exec.h (section_table_read_available_memory): Declare.
9909 * ctf.c (ctf_xfer_partial): Call
9910 section_table_read_available_memory.
9911 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9912
1ca49d37
YQ
99132014-02-23 Yao Qi <yao@codesourcery.com>
9914
9915 * ctf.c (ctf_xfer_partial): Move code to ...
9916 * exec.c (exec_read_partial_read_only): ... it. New function.
9917 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9918 * tracefile.c: Include "exec.h".
9919 * exec.h (exec_read_partial_read_only): Declare.
9920
a283690e
YQ
99212014-02-23 Yao Qi <yao@codesourcery.com>
9922
9923 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9924 (tfile_has_memory): Remove.
9925 (init_tfile_ops): Don't set fields to_has_all_memory and
9926 to_has_memory of tfile_ops.
9927 * tracefile.c (tracefile_has_all_memory): New function.
9928 (tracefile_has_memory): New function.
9929 (init_tracefile_ops): Initialize fields to_has_all_memory and
9930 to_has_memory of 'ops'.
9931
12e03cd0
YQ
99322014-02-23 Yao Qi <yao@codesourcery.com>
9933
9934 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9935 (ctf_thread_alive, ctf_get_trace_status): Remove.
9936 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9937 init_tracefile_ops.
9938 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9939 (tfile_has_stack, tfile_has_registers): Remove.
9940 (tfile_thread_alive): Remove.
9941 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9942 init_tracefile_ops.
9943 * tracefile.c (tracefile_has_stack): New function.
9944 (tracefile_has_registers): New function.
9945 (tracefile_thread_alive): New function.
9946 (tracefile_get_trace_status): New function.
9947 (init_tracefile_ops): New function.
9948 * tracefile.h (init_tracefile_ops): Declare.
9949
11395323
YQ
99502014-02-23 Yao Qi <yao@codesourcery.com>
9951
9952 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9953 (O_LARGEFILE): Likewise.
9954 (tfile_ops): Likewise.
9955 (TRACE_HEADER_SIZE): Likewise.
9956 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9957 (cur_data_size): Likewise.
9958 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9959 (tfile_close, tfile_files_info): Likewise.
9960 (tfile_get_trace_status): Likewise.
9961 (tfile_get_tracepoint_status): Likewise.
9962 (tfile_get_traceframe_address): Likewise.
9963 (tfile_trace_find, match_blocktype): Likewise.
9964 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9965 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9966 (tfile_get_trace_state_variable_value): Likewise.
9967 (tfile_has_all_memory, tfile_has_memory): Likewise.
9968 (tfile_has_stack, tfile_has_registers): Likewise.
9969 (tfile_thread_alive, build_traceframe_info): Likewise.
9970 (tfile_traceframe_info, init_tfile_ops): Likewise.
9971 (_initialize_tracepoint): Don't call init_tfile_ops
9972 and add_target_with_completer.
9973 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9974 exec.h, completer.h and filenames.h.
9975 (_initialize_tracefile_tfile): New function.
9976
7951c4eb
YQ
99772014-02-23 Yao Qi <yao@codesourcery.com>
9978
9979 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9980 tracefile-tfile.o.
9981 (HFILES_NO_SRCDIR): Add tracefile.h.
9982 * ctf.c: Include "tracefile.h".
9983 * tracefile.h: New file.
9984 * tracefile.c: New file
9985 * tracefile-tfile.c: New file.
9986 * tracepoint.c: Include "tracefile.h".
9987 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9988 (stop_reason_names): Add const.
9989 (trace_file_writer_xfree): Move it to tracefile.c.
9990 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9991 (trace_save_ctf): Likewise.
9992 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9993 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9994 (tfile_write_header, tfile_write_regblock_type): Likewise.
9995 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9996 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9997 (tfile_write_raw_data, tfile_end): Likewise.
9998 (tfile_trace_file_writer_new): Likewise.
9999 (free_uploaded_tp): Make it extern.
10000 (free_uploaded_tsv): Make it extern.
10001 (_initialize_tracepoint): Move code to register command 'tsave'
10002 to tracefile.c.
10003 * tracepoint.h (stop_reason_names): Declare.
10004 (struct trace_frame_write_ops): Move it to tracefile.h.
10005 (struct trace_file_write_ops): Likewise.
10006 (struct trace_file_writer): Likewise.
10007 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10008
184cd072
JK
100092014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10010
10011 PR gdb/16594
10012 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10013 process name.
10014 (get_cores_used_by_process): New parameter num_cores, use it.
10015 (linux_xfer_osdata_processes): Pass num_cores to it.
10016 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10017 process name.
10018
c63528fc
AK
100192014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10020
10021 * target.c (memory_xfer_partial): Fix length arg in call to
10022 breakpoint_xfer_memory.
10023
d7b30f67
SDJ
100242014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10025
10026 PR tdep/16397
10027 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10028 number comes after the + or - signs. Adjust length of register
10029 name to be extracted.
10030
8838afaf
TT
100312014-02-20 Tom Tromey <tromey@redhat.com>
10032
10033 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10034 (ada_varobj_ops): Mark "extern".
10035
05227d14
TT
100362014-02-20 Tom Tromey <tromey@redhat.com>
10037
10038 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10039
1254eefc
DE
100402014-02-20 Doug Evans <xdje42@gmail.com>
10041
10042 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10043 All callers updated.
10044 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10045 All callers updated.
10046 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10047 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10048
adde2bff
DE
100492014-02-20 lin zuojian <manjian2006@gmail.com>
10050 Joel Brobecker <brobecker@adacore.com>
10051 Doug Evans <xdje42@gmail.com>
10052
10053 PR symtab/16581
10054 * dwarf2read.c (struct die_info): New member in_process.
10055 (reset_die_in_process): New function.
10056 (process_die): Set it at the start, reset when returning.
10057 (inherit_abstract_dies): Only call process_die if origin_child_die
10058 not already being processed.
10059
3be75f87
JB
100602014-02-20 Joel Brobecker <brobecker@adacore.com>
10061
10062 * windows-nat.c (handle_unload_dll): Add function documentation.
10063 (do_initial_windows_stuff): Add comment explaining why we wait
10064 until after inferior initialization has finished before
10065 processing all DLLs.
10066
47f7ffdb
JB
100672014-02-20 Joel Brobecker <brobecker@adacore.com>
10068
10069 * windows-nat.c (get_module_name): Delete.
10070 (windows_get_exec_module_filename): New function, mostly
10071 inspired from get_module_name.
10072 (windows_pid_to_exec_file): Replace call to get_module_name
10073 by call to windows_get_exec_module_filename.
10074
1cd9feab
JB
100752014-02-20 Joel Brobecker <brobecker@adacore.com>
10076
10077 * windows-nat.c (handle_load_dll): Rewrite this function's
10078 introductory comment. Remove code using get_module_name
10079 to get the DLL's name.
10080
ea39ad35
JB
100812014-02-20 Joel Brobecker <brobecker@adacore.com>
10082
10083 * windows-nat.c (get_windows_debug_event): Ignore
10084 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10085 if windows_initialization_done == 0.
10086 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10087 Adjust implementation to always load all DLLs.
10088 (do_initial_windows_stuff): Replace call to
10089 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10090
95060284
JB
100912014-02-20 Joel Brobecker <brobecker@adacore.com>
10092
10093 * windows-nat.c (_initialize_windows_nat): Deprecate the
10094 "dll-symbols" command. Turn the "add-shared-symbol-files"
10095 and "assf" aliases into commands, and deprecate them as well.
10096 * NEWS: Add entry explaining that "dll-symbols" and its two
10097 aliases are now deprecated.
10098
8d4fdb12
JB
100992014-02-20 Joel Brobecker <brobecker@adacore.com>
10100
10101 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10102 new-line in debug string. Remove trailing spaces.
10103
1b281443
SS
101042014-02-19 Stan Shebs <stan@codesourcery.com>
10105
10106 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10107
f7bd0f78
SC
101082014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10109
10110 * NEWS: Add entry for the new feature
10111 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10112 and class values.
10113
399ebc3d
SS
101142014-02-19 Stan Shebs <stan@codesourcery.com>
10115
10116 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10117
c658158d
PA
101182014-02-19 Pedro Alves <palves@redhat.com>
10119
10120 * common/ptid.h (struct ptid): Mention that process_stratum
10121 targets should prefer ptid.lwp.
10122
ba348170
PA
101232014-02-19 Pedro Alves <palves@redhat.com>
10124
10125 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10126 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10127 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10128 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10129 store remote thread ids rather than ptid.tid.
10130 (_initialize_remote): Adjust.
10131
ac01945b
TT
101322014-02-19 Tom Tromey <tromey@redhat.com>
10133
10134 * target.c (target_get_unwinder): Rewrite.
10135 (target_get_tailcall_unwinder): Rewrite.
10136 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10137 (record_btrace_to_get_tailcall_unwinder): New function.
10138 (init_record_btrace_ops): Update.
10139 * target.h (struct target_ops) <to_get_unwinder,
10140 to_get_tailcall_unwinder>: Now function pointers. Use
10141 TARGET_DEFAULT_RETURN.
10142
8476dc92
TT
101432014-02-19 Tom Tromey <tromey@redhat.com>
10144
10145 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10146 argument.
10147 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10148
c0eca49f
TT
101492014-02-19 Tom Tromey <tromey@redhat.com>
10150
10151 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10152 directly.
10153 * target-delegates.c: Rebuild.
10154 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10155 TARGET_DEFAULT_FUNC.
10156 * target.c (default_target_decr_pc_after_break): Rename from
10157 forward_target_decr_pc_after_break. Simplify.
10158 (target_decr_pc_after_break): Rely on delegation.
10159
596b6b39
TT
101602014-02-19 Tom Tromey <tromey@redhat.com>
10161
10162 * target.c (update_current_target): Do not INHERIT to_doc or
10163 to_magic. Do not de_fault to_open or to_close.
10164
b427c1bc
TT
101652014-02-19 Tom Tromey <tromey@redhat.com>
10166
10167 * gcore.h (objfile_find_memory_regions): Declare.
10168 * gcore.c (objfile_find_memory_regions): No longer static. Add
10169 "self" argument.
10170 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10171 * exec.c: Include gcore.h.
10172 (exec_set_find_memory_regions): Remove.
10173 (exec_find_memory_regions): Remove.
10174 (exec_do_find_memory_regions): Remove.
10175 (init_exec_ops): Update.
10176 * defs.h (exec_set_find_memory_regions): Remove.
10177
9b144037
TT
101782014-02-19 Tom Tromey <tromey@redhat.com>
10179
10180 * target-delegates.c: Rebuild.
10181 * target.h (struct target_ops) <to_extra_thread_info,
10182 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10183 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10184 not 0, in TARGET_DEFAULT_RETURN.
10185
555bbdeb
TT
101862014-02-19 Tom Tromey <tromey@redhat.com>
10187
10188 * target.c (complete_target_initialization): Remove casts. Use
10189 return_zero_has_execution.
10190 (return_zero): Add "ignore" argument.
10191 (return_zero_has_execution): New function.
10192 (init_dummy_target): Remove casts. Use
10193 return_zero_has_execution.
10194
be4ddd36
TT
101952014-02-19 Tom Tromey <tromey@redhat.com>
10196
10197 * target.c (update_current_target): Update comments. Do not
10198 INHERIT to_stratum.
10199
2117c711
TT
102002014-02-19 Tom Tromey <tromey@redhat.com>
10201
10202 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10203 needed.
10204 * corelow.c (core_read_description): Delegate when needed.
10205 * remote.c (remote_read_description): Delegate when needed.
10206 * target-delegates.c: Rebuild.
10207 * target.c (target_read_description): Rewrite.
10208 * target.h (struct target_ops) <to_read_description>: Update
10209 comment. Use TARGET_DEFAULT_RETURN.
10210
e88ef65c
TT
102112014-02-19 Tom Tromey <tromey@redhat.com>
10212
10213 * target-delegates.c: Rebuild.
10214 * target.c (update_current_target): Don't inherit or default
10215 to_can_run.
10216 (find_default_run_target): Check against delegate_can_run.
10217 * target.h (struct target_ops) <to_can_run>: Use
10218 TARGET_DEFAULT_RETURN.
10219
86a0854a
TT
102202014-02-19 Tom Tromey <tromey@redhat.com>
10221
10222 * target-delegates.c: Rebuild.
10223 * target.c (target_disconnect): Unconditionally delegate.
10224 * target.h (struct target_ops) <to_disconnect>: Use
10225 TARGET_DEFAULT_NORETURN.
10226
ee97f592
TT
102272014-02-19 Tom Tromey <tromey@redhat.com>
10228
10229 * record.c (record_stop): Unconditionally delegate.
10230 * target-delegates.c: Rebuild.
10231 * target.c (target_stop_recording): Unconditionally delegate.
10232 * target.h (struct target_ops) <to_stop_recording>: Use
10233 TARGET_DEFAULT_IGNORE.
10234
6dc7fcf4
TT
102352014-02-19 Tom Tromey <tromey@redhat.com>
10236
10237 * target-delegates.c: Rebuild.
10238 * target.c (target_enable_btrace): Unconditionally delegate.
10239 * target.h (struct target_ops) <to_enable_btrace>: Use
10240 TARGET_DEFAULT_NORETURN.
10241
eb5b20d4
TT
102422014-02-19 Tom Tromey <tromey@redhat.com>
10243
10244 * target-delegates.c: Rebuild.
10245 * target.c (target_read_btrace): Unconditionally delegate.
10246 * target.h (struct target_ops) <to_read_btrace>: Use
10247 TARGET_DEFAULT_NORETURN.
10248
9ace480d
TT
102492014-02-19 Tom Tromey <tromey@redhat.com>
10250
10251 * target-delegates.c: Rebuild.
10252 * target.c (target_teardown_btrace): Unconditionally delegate.
10253 * target.h (struct target_ops) <to_teardown_btrace>: Use
10254 TARGET_DEFAULT_NORETURN.
10255
8dc292d3
TT
102562014-02-19 Tom Tromey <tromey@redhat.com>
10257
10258 * target-delegates.c: Rebuild.
10259 * target.c (target_disable_btrace): Unconditionally delegate.
10260 * target.h (struct target_ops) <to_disable_btrace>: Use
10261 TARGET_DEFAULT_NORETURN.
10262
58a5184e
TT
102632014-02-19 Tom Tromey <tromey@redhat.com>
10264
10265 * target-delegates.c: Rebuild.
10266 * target.c (default_search_memory): New function.
10267 (simple_search_memory): Update comment.
10268 (target_search_memory): Unconditionally delegate.
10269 * target.h (struct target_ops) <to_search_memory>: Use
10270 TARGET_DEFAULT_FUNC.
10271
8de71aab
TT
102722014-02-19 Tom Tromey <tromey@redhat.com>
10273
10274 * auxv.c (default_auxv_parse): No longer static.
10275 (target_auxv_parse): Unconditionally delegate.
10276 * auxv.h (default_auxv_parse): Declare.
10277 * target-delegates.c: Rebuild.
10278 * target.c: Include auxv.h.
10279 * target.h (struct target_ops) <to_auxv_parse>: Use
10280 TARGET_DEFAULT_FUNC.
10281
6b2c5a57
TT
102822014-02-19 Tom Tromey <tromey@redhat.com>
10283
10284 * target-delegates.c: Rebuild.
10285 * target.c (target_memory_map): Unconditionally delegate.
10286 * target.h (struct target_ops) <to_memory_map>: Use
10287 TARGET_DEFAULT_RETURN.
10288
cbffc065
TT
102892014-02-19 Tom Tromey <tromey@redhat.com>
10290
10291 * target-delegates.c: Rebuild.
10292 * target.c (target_thread_alive): Unconditionally delegate.
10293 * target.h (struct target_ops) <to_thread_alive>: Use
10294 TARGET_DEFAULT_RETURN.
10295
f09e2107
TT
102962014-02-19 Tom Tromey <tromey@redhat.com>
10297
10298 * target-delegates.c: Rebuild.
10299 * target.c (target_save_record): Unconditionally delegate.
10300 * target.h (struct target_ops) <to_save_record>: Use
10301 TARGET_DEFAULT_NORETURN.
10302
07366925
TT
103032014-02-19 Tom Tromey <tromey@redhat.com>
10304
10305 * target-delegates.c: Rebuild.
10306 * target.c (target_delete_record): Unconditionally delegate.
10307 * target.h (struct target_ops) <to_delete_record>: Use
10308 TARGET_DEFAULT_NORETURN.
10309
dd2e9d25
TT
103102014-02-19 Tom Tromey <tromey@redhat.com>
10311
10312 * target-delegates.c: Rebuild.
10313 * target.c (target_record_is_replaying): Unconditionally
10314 delegate.
10315 * target.h (struct target_ops) <to_record_is_replaying>: Use
10316 TARGET_DEFAULT_RETURN.
10317
671e76cc
TT
103182014-02-19 Tom Tromey <tromey@redhat.com>
10319
10320 * target-delegates.c: Rebuild.
10321 * target.c (target_goto_record_begin): Unconditionally delegate.
10322 * target.h (struct target_ops) <to_goto_record_begin>: Use
10323 TARGET_DEFAULT_NORETURN.
10324
e9179bb3
TT
103252014-02-19 Tom Tromey <tromey@redhat.com>
10326
10327 * target-delegates.c: Rebuild.
10328 * target.c (target_goto_record_end): Unconditionally delegate.
10329 * target.h (struct target_ops) <to_goto_record_end>: Use
10330 TARGET_DEFAULT_NORETURN.
10331
05969c84
TT
103322014-02-19 Tom Tromey <tromey@redhat.com>
10333
10334 * target-delegates.c: Rebuild.
10335 * target.c (target_goto_record): Unconditionally delegate.
10336 * target.h (struct target_ops) <to_goto_record>: Use
10337 TARGET_DEFAULT_NORETURN.
10338
3679abfa
TT
103392014-02-19 Tom Tromey <tromey@redhat.com>
10340
10341 * target-delegates.c: Rebuild.
10342 * target.c (target_insn_history): Unconditionally delegate.
10343 * target.h (struct target_ops) <to_insn_history>: Use
10344 TARGET_DEFAULT_NORETURN.
10345
8444ab58
TT
103462014-02-19 Tom Tromey <tromey@redhat.com>
10347
10348 * target-delegates.c: Rebuild.
10349 * target.c (target_insn_history_from): Unconditionally delegate.
10350 * target.h (struct target_ops) <to_insn_history_from>: Use
10351 TARGET_DEFAULT_NORETURN.
10352
c29302cc
TT
103532014-02-19 Tom Tromey <tromey@redhat.com>
10354
10355 * target-delegates.c: Rebuild.
10356 * target.c (target_insn_history_range): Unconditionally delegate.
10357 * target.h (struct target_ops) <to_insn_history_range>: Use
10358 TARGET_DEFAULT_NORETURN.
10359
170049d4
TT
103602014-02-19 Tom Tromey <tromey@redhat.com>
10361
10362 * target-delegates.c: Rebuild.
10363 * target.c (target_call_history): Unconditionally delegate.
10364 * target.h (struct target_ops) <to_call_history>: Use
10365 TARGET_DEFAULT_NORETURN.
10366
16fc27d6
TT
103672014-02-19 Tom Tromey <tromey@redhat.com>
10368
10369 * target-delegates.c: Rebuild.
10370 * target.c (target_call_history_from): Unconditionally delegate.
10371 * target.h (struct target_ops) <to_call_history_from>: Use
10372 TARGET_DEFAULT_NORETURN.
10373
115d9817
TT
103742014-02-19 Tom Tromey <tromey@redhat.com>
10375
10376 * target-delegates.c: Rebuild.
10377 * target.c (target_call_history_range): Unconditionally delegate.
10378 * target.h (struct target_ops) <to_call_history_range>: Use
10379 TARGET_DEFAULT_NORETURN.
10380
eb276a6b
TT
103812014-02-19 Tom Tromey <tromey@redhat.com>
10382
10383 * target-delegates.c: Rebuild.
10384 * target.c (target_verify_memory): Unconditionally delegate.
10385 * target.h (struct target_ops) <to_verify_memory>: Use
10386 TARGET_DEFAULT_NORETURN.
10387
9e538d0d
TT
103882014-02-19 Tom Tromey <tromey@redhat.com>
10389
10390 * target-delegates.c: Rebuild.
10391 * target.c (target_core_of_thread): Unconditionally delegate.
10392 * target.h (struct target_ops) <to_core_of_thread>: Use
10393 TARGET_DEFAULT_RETURN.
10394
f6fb2925
TT
103952014-02-19 Tom Tromey <tromey@redhat.com>
10396
10397 * target-delegates.c: Rebuild.
10398 * target.c (target_flash_done): Unconditionally delegate.
10399 * target.h (struct target_ops) <to_flash_done>: Use
10400 TARGET_DEFAULT_NORETURN.
10401
e8a6c6ac
TT
104022014-02-19 Tom Tromey <tromey@redhat.com>
10403
10404 * target-delegates.c: Rebuild.
10405 * target.c (target_flash_erase): Unconditionally delegate.
10406 * target.h (struct target_ops) <to_flash_erase>: Use
10407 TARGET_DEFAULT_NORETURN.
10408
7e35c012
TT
104092014-02-19 Tom Tromey <tromey@redhat.com>
10410
10411 * target-delegates.c: Rebuild.
10412 * target.c (target_get_section_table): Unconditionally delegate.
10413 * target.h (struct target_ops) <to_get_section_table>: Use
10414 TARGET_DEFAULT_RETURN.
10415
770234d3
TT
104162014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * target-delegates.c: Rebuild.
10419 * target.c (target_pid_to_str): Unconditionally delegate.
10420 (init_dummy_target): Don't initialize to_pid_to_str.
10421 (default_pid_to_str): Rename from dummy_pid_to_str.
10422 * target.h (struct target_ops) <to_pid_to_str>: Use
10423 TARGET_DEFAULT_FUNC.
10424
09b0dc2b
TT
104252014-02-19 Tom Tromey <tromey@redhat.com>
10426
10427 * target-delegates.c: Rebuild.
10428 * target.c (target_find_new_threads): Unconditionally delegate.
10429 * target.h (struct target_ops) <to_find_new_threads>: Use
10430 TARGET_DEFAULT_RETURN.
10431
7d4f8efa
TT
104322014-02-19 Tom Tromey <tromey@redhat.com>
10433
10434 * target-delegates.c: Rebuild.
10435 * target.c (target_program_signals): Unconditionally delegate.
10436 * target.h (struct target_ops) <to_program_signals>: Use
10437 TARGET_DEFAULT_IGNORE.
10438
035cad7f
TT
104392014-02-19 Tom Tromey <tromey@redhat.com>
10440
10441 * target-delegates.c: Rebuild.
10442 * target.c (target_pass_signals): Unconditionally delegate.
10443 * target.h (struct target_ops) <to_pass_signals>: Use
10444 TARGET_DEFAULT_IGNORE.
10445
8d657035
TT
104462014-02-19 Tom Tromey <tromey@redhat.com>
10447
10448 * target-delegates.c: Rebuild.
10449 * target.c (default_mourn_inferior): New function.
10450 (target_mourn_inferior): Unconditionally delegate.
10451 * target.h (struct target_ops) <to_mourn_inferior>: Use
10452 TARGET_DEFAULT_FUNC.
10453
098dba18
TT
104542014-02-19 Tom Tromey <tromey@redhat.com>
10455
10456 * target-delegates.c: Rebuild.
10457 * target.c (default_follow_fork): New function.
10458 (target_follow_fork): Unconditionally delegate.
10459 * target.h (struct target_ops) <to_follow_fork>: Use
10460 TARGET_DEFAULT_FUNC.
10461
423a4807
TT
104622014-02-19 Tom Tromey <tromey@redhat.com>
10463
10464 * target-delegates.c: Rebuild.
10465 * target.c (target_kill): Unconditionally delegate.
10466 * target.h (struct target_ops) <to_kill>: Use
10467 TARGET_DEFAULT_NORETURN.
10468
6c7e5e5c
TT
104692014-02-19 Tom Tromey <tromey@redhat.com>
10470
10471 * target-delegates.c: Rebuild.
10472 * target.c (target_masked_watch_num_registers): Unconditionally
10473 delegate.
10474 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10475 Use TARGET_DEFAULT_RETURN.
10476
8b1c364c
TT
104772014-02-19 Tom Tromey <tromey@redhat.com>
10478
10479 * target-delegates.c: Rebuild.
10480 * target.c (target_remove_mask_watchpoint): Unconditionally
10481 delegate.
10482 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10483 TARGET_DEFAULT_RETURN.
10484
cd4ae029
TT
104852014-02-19 Tom Tromey <tromey@redhat.com>
10486
10487 * target-delegates.c: Rebuild.
10488 * target.c (target_insert_mask_watchpoint): Unconditionally
10489 delegate.
10490 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10491 TARGET_DEFAULT_RETURN.
10492
a134316b
TT
104932014-02-19 Tom Tromey <tromey@redhat.com>
10494
10495 * target-delegates.c: Rebuild.
10496 * target.c (target_ranged_break_num_registers): Unconditionally
10497 delegate.
10498 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10499 Use TARGET_DEFAULT_RETURN.
10500
ad5989bd
TT
105012014-02-19 Tom Tromey <tromey@redhat.com>
10502
10503 * target-delegates.c: Rebuild.
10504 * target.c (target_fetch_registers): Unconditionally delegate.
10505 * target.h (struct target_ops) <to_fetch_registers>: Use
10506 TARGET_DEFAULT_NORETURN.
10507
46ee7e8d
TT
105082014-02-19 Tom Tromey <tromey@redhat.com>
10509
10510 * target-delegates.c: Rebuild.
10511 * target.c (update_current_target): Don't inherit or default
10512 to_stop.
10513 * target.h (struct target_ops) <to_stop>: Use
10514 TARGET_DEFAULT_IGNORE.
10515
843f59ed
TT
105162014-02-19 Tom Tromey <tromey@redhat.com>
10517
10518 * target-delegates.c: Rebuild.
10519 * target.c (update_current_target): Don't inherit or default
10520 to_can_run_breakpoint_commands.
10521 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10522 Use TARGET_DEFAULT_RETURN.
10523
ccfde2a0
TT
105242014-02-19 Tom Tromey <tromey@redhat.com>
10525
10526 * target-delegates.c: Rebuild.
10527 * target.c (update_current_target): Don't inherit or default
10528 to_supports_evaluation_of_breakpoint_conditions.
10529 * target.h (struct target_ops)
10530 <to_supports_evaluation_of_breakpoint_conditions>: Use
10531 TARGET_DEFAULT_RETURN.
10532
0de91722
TT
105332014-02-19 Tom Tromey <tromey@redhat.com>
10534
10535 * target-delegates.c: Rebuild.
10536 * target.c (update_current_target): Don't inherit or default
10537 to_augmented_libraries_svr4_read.
10538 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10539 Use TARGET_DEFAULT_RETURN.
10540
9a7d8b48
TT
105412014-02-19 Tom Tromey <tromey@redhat.com>
10542
10543 * target-delegates.c: Rebuild.
10544 * target.c (update_current_target): Don't inherit or default
10545 to_can_use_agent.
10546 * target.h (struct target_ops) <to_can_use_agent>: Use
10547 TARGET_DEFAULT_RETURN.
10548
d9db5b21
TT
105492014-02-19 Tom Tromey <tromey@redhat.com>
10550
10551 * target-delegates.c: Rebuild.
10552 * target.c (update_current_target): Don't inherit or default
10553 to_use_agent.
10554 * target.h (struct target_ops) <to_use_agent>: Use
10555 TARGET_DEFAULT_NORETURN.
10556
92155eeb
TT
105572014-02-19 Tom Tromey <tromey@redhat.com>
10558
10559 * target-delegates.c: Rebuild.
10560 * target.c (update_current_target): Don't inherit or default
10561 to_traceframe_info.
10562 (return_null): Remove.
10563 * target.h (struct target_ops) <to_traceframe_info>: Use
10564 TARGET_DEFAULT_RETURN.
10565
d6522a22
TT
105662014-02-19 Tom Tromey <tromey@redhat.com>
10567
10568 * target-delegates.c: Rebuild.
10569 * target.c (update_current_target): Don't inherit or default
10570 to_static_tracepoint_markers_by_strid.
10571 * target.h (struct target_ops)
10572 <to_static_tracepoint_markers_by_strid>: Use
10573 TARGET_DEFAULT_NORETURN.
10574
4c3e4425
TT
105752014-02-19 Tom Tromey <tromey@redhat.com>
10576
10577 * target-delegates.c: Rebuild.
10578 * target.c (update_current_target): Don't inherit or default
10579 to_static_tracepoint_marker_at.
10580 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10581 Use TARGET_DEFAULT_RETURN.
10582
dcd6917f
TT
105832014-02-19 Tom Tromey <tromey@redhat.com>
10584
10585 * target-delegates.c: Rebuild.
10586 * target.c (update_current_target): Don't inherit or default
10587 to_set_permissions.
10588 * target.h (struct target_ops) <to_set_permissions>: Use
10589 TARGET_DEFAULT_IGNORE.
10590
22bcceee
TT
105912014-02-19 Tom Tromey <tromey@redhat.com>
10592
10593 * target-delegates.c: Rebuild.
10594 * target.c (update_current_target): Don't inherit or default
10595 to_get_tib_address.
10596 * target.h (struct target_ops) <to_get_tib_address>: Use
10597 TARGET_DEFAULT_NORETURN.
10598
8586ccaa
TT
105992014-02-19 Tom Tromey <tromey@redhat.com>
10600
10601 * target-delegates.c: Rebuild.
10602 * target.c (update_current_target): Don't inherit or default
10603 to_set_trace_notes.
10604 * target.h (struct target_ops) <to_set_trace_notes>: Use
10605 TARGET_DEFAULT_RETURN.
10606
91df8d1d
TT
106072014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * target-delegates.c: Rebuild.
10610 * target.c (update_current_target): Don't initialize
10611 to_set_trace_buffer_size.
10612 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10613 TARGET_DEFAULT_IGNORE.
10614
8d526939
TT
106152014-02-19 Tom Tromey <tromey@redhat.com>
10616
10617 * target-delegates.c: Rebuild.
10618 * target.c (update_current_target): Don't inherit or default
10619 to_set_circular_trace_buffer.
10620 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10621 TARGET_DEFAULT_IGNORE.
10622
0bcfeddf
TT
106232014-02-19 Tom Tromey <tromey@redhat.com>
10624
10625 * target-delegates.c: Rebuild.
10626 * target.c (update_current_target): Don't inherit or default
10627 to_set_disconnected_tracing.
10628 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10629 TARGET_DEFAULT_IGNORE.
10630
9249843f
TT
106312014-02-19 Tom Tromey <tromey@redhat.com>
10632
10633 * target-delegates.c: Rebuild.
10634 * target.c (update_current_target): Don't inherit or default
10635 to_get_min_fast_tracepoint_insn_len.
10636 (return_minus_one): Remove.
10637 * target.h (struct target_ops)
10638 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10639
ace92e7d
TT
106402014-02-19 Tom Tromey <tromey@redhat.com>
10641
10642 * target-delegates.c: Rebuild.
10643 * target.c (update_current_target): Don't inherit or default
10644 to_get_raw_trace_data.
10645 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10646 TARGET_DEFAULT_NORETURN.
10647
08120467
TT
106482014-02-19 Tom Tromey <tromey@redhat.com>
10649
10650 * target-delegates.c: Rebuild.
10651 * target.c (update_current_target): Don't inherit or default
10652 to_upload_trace_state_variables.
10653 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10654 Use TARGET_DEFAULT_RETURN.
10655
1e949b00
TT
106562014-02-19 Tom Tromey <tromey@redhat.com>
10657
10658 * target-delegates.c: Rebuild.
10659 * target.c (update_current_target): Don't inherit or default
10660 to_upload_tracepoints.
10661 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10662 TARGET_DEFAULT_RETURN.
10663
a2e6c147
TT
106642014-02-19 Tom Tromey <tromey@redhat.com>
10665
10666 * target-delegates.c: Rebuild.
10667 * target.c (update_current_target): Don't inherit or default
10668 to_save_trace_data.
10669 * target.h (struct target_ops) <to_save_trace_data>: Use
10670 TARGET_DEFAULT_NORETURN.
10671
959bcd0b
TT
106722014-02-19 Tom Tromey <tromey@redhat.com>
10673
10674 * target-delegates.c: Rebuild.
10675 * target.c (update_current_target): Don't inherit or default
10676 to_get_trace_state_variable_value.
10677 * target.h (struct target_ops)
10678 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10679
afc94e66
TT
106802014-02-19 Tom Tromey <tromey@redhat.com>
10681
10682 * target-delegates.c: Rebuild.
10683 * target.c (update_current_target): Don't inherit or default
10684 to_trace_find.
10685 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10686
e51c07ea
TT
106872014-02-19 Tom Tromey <tromey@redhat.com>
10688
10689 * target-delegates.c: Rebuild.
10690 * target.c (update_current_target): Don't inherit or default
10691 to_trace_stop.
10692 * target.h (struct target_ops) <to_trace_stop>: Use
10693 TARGET_DEFAULT_NORETURN.
10694
6fea14cd
TT
106952014-02-19 Tom Tromey <tromey@redhat.com>
10696
10697 * target-delegates.c: Rebuild.
10698 * target.c (update_current_target): Don't inherit or default
10699 to_get_tracepoint_status.
10700 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10701 TARGET_DEFAULT_NORETURN.
10702
4072d4ff
TT
107032014-02-19 Tom Tromey <tromey@redhat.com>
10704
10705 * target-delegates.c: Rebuild.
10706 * target.c (update_current_target): Don't inherit or default
10707 to_get_trace_status.
10708 * target.h (struct target_ops) <to_get_trace_status>: Use
10709 TARGET_DEFAULT_RETURN.
10710
25da2e80
TT
107112014-02-19 Tom Tromey <tromey@redhat.com>
10712
10713 * target-delegates.c: Rebuild.
10714 * target.c (update_current_target): Don't inherit or default
10715 to_trace_start.
10716 * target.h (struct target_ops) <to_trace_start>: Use
10717 TARGET_DEFAULT_NORETURN.
10718
86dd181d
TT
107192014-02-19 Tom Tromey <tromey@redhat.com>
10720
10721 * target-delegates.c: Rebuild.
10722 * target.c (update_current_target): Don't inherit or default
10723 to_trace_set_readonly_regions.
10724 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10725 Use TARGET_DEFAULT_NORETURN.
10726
05c41993
TT
107272014-02-19 Tom Tromey <tromey@redhat.com>
10728
10729 * target-delegates.c: Rebuild.
10730 * target.c (update_current_target): Don't inherit or default
10731 to_disable_tracepoint.
10732 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10733 TARGET_DEFAULT_NORETURN.
10734
151f70f1
TT
107352014-02-19 Tom Tromey <tromey@redhat.com>
10736
10737 * target-delegates.c: Rebuild.
10738 * target.c (update_current_target): Don't inherit or default
10739 to_enable_tracepoint.
10740 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10741 TARGET_DEFAULT_NORETURN.
10742
94eb98b9
TT
107432014-02-19 Tom Tromey <tromey@redhat.com>
10744
10745 * target-delegates.c: Rebuild.
10746 * target.c (update_current_target): Don't inherit or default
10747 to_download_trace_state_variable.
10748 * target.h (struct target_ops) <to_download_trace_state_variable>:
10749 Use TARGET_DEFAULT_NORETURN.
10750
719acc4a
TT
107512014-02-19 Tom Tromey <tromey@redhat.com>
10752
10753 * target-delegates.c: Rebuild.
10754 * target.c (update_current_target): Don't inherit or default
10755 to_can_download_tracepoint.
10756 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10757 TARGET_DEFAULT_RETURN.
10758
9a980a22
TT
107592014-02-19 Tom Tromey <tromey@redhat.com>
10760
10761 * target-delegates.c: Rebuild.
10762 * target.c (update_current_target): Don't inherit or default
10763 to_download_tracepoint.
10764 * target.h (struct target_ops) <to_download_tracepoint>: Use
10765 TARGET_DEFAULT_NORETURN.
10766
5536135b
TT
107672014-02-19 Tom Tromey <tromey@redhat.com>
10768
10769 * target-delegates.c: Rebuild.
10770 * target.c (update_current_target): Don't inherit or default
10771 to_trace_init.
10772 * target.h (struct target_ops) <to_trace_init>: Use
10773 TARGET_DEFAULT_RETURN.
10774
9409d39e
TT
107752014-02-19 Tom Tromey <tromey@redhat.com>
10776
10777 * target-delegates.c: Rebuild.
10778 * target.c (update_current_target): Don't inherit or default
10779 to_supports_string_tracing.
10780 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10781 TARGET_DEFAULT_RETURN.
10782
aab1b22d
TT
107832014-02-19 Tom Tromey <tromey@redhat.com>
10784
10785 * target-delegates.c: Rebuild.
10786 * target.c (update_current_target): Don't inherit or default
10787 to_supports_enable_disable_tracepoint.
10788 * target.h (struct target_ops)
10789 <to_supports_enable_disable_tracepoint>: Use
10790 TARGET_DEFAULT_RETURN.
10791
a7304748
TT
107922014-02-19 Tom Tromey <tromey@redhat.com>
10793
10794 * target-delegates.c: Rebuild.
10795 * target.c (update_current_target): Don't inherit or default
10796 to_supports_multi_process.
10797 * target.h (struct target_ops) <to_supports_multi_process>: Use
10798 TARGET_DEFAULT_RETURN.
10799
4229b31d
TT
108002014-02-19 Tom Tromey <tromey@redhat.com>
10801
10802 * target-delegates.c: Rebuild.
10803 * target.c (update_current_target): Don't inherit or default
10804 to_get_ada_task_ptid.
10805 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10806 TARGET_DEFAULT_FUNC.
10807
43eba180
TT
108082014-02-19 Tom Tromey <tromey@redhat.com>
10809
10810 * target-delegates.c: Rebuild.
10811 * target.c (update_current_target): Don't inherit or default
10812 to_thread_architecture.
10813 * target.h (struct target_ops) <to_thread_architecture>: Use
10814 TARGET_DEFAULT_FUNC.
10815
fe31bf5b
TT
108162014-02-19 Tom Tromey <tromey@redhat.com>
10817
10818 * target-delegates.c: Rebuild.
10819 * target.c (update_current_target): Don't inherit or default
10820 to_execution_direction.
10821 * target.h (struct target_ops) <to_execution_direction>: Use
10822 TARGET_DEFAULT_FUNC.
10823
53e1cfc7
TT
108242014-02-19 Tom Tromey <tromey@redhat.com>
10825
10826 * target-delegates.c: Rebuild.
10827 * target.c (update_current_target): Don't inherit or default
10828 to_can_execute_reverse.
10829 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10830 TARGET_DEFAULT_RETURN.
10831 (target_can_execute_reverse): Unconditionally delegate.
10832
9bb9d61d
TT
108332014-02-19 Tom Tromey <tromey@redhat.com>
10834
10835 * target-delegates.c: Rebuild.
10836 * target.c (update_current_target): Don't inherit or default
10837 to_goto_bookmark.
10838 (dummy_goto_bookmark): Remove.
10839 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10840 * target.h (struct target_ops) <to_goto_bookmark>: Use
10841 TARGET_DEFAULT_NORETURN.
10842
3dbafbbb
TT
108432014-02-19 Tom Tromey <tromey@redhat.com>
10844
10845 * target-delegates.c: Rebuild.
10846 * target.c (update_current_target): Don't inherit or default
10847 to_get_bookmark.
10848 (dummy_get_bookmark): Remove.
10849 (init_dummy_target): Don't inherit or default to_get_bookmark.
10850 * target.h (struct target_ops) <to_get_bookmark>: Use
10851 TARGET_DEFAULT_NORETURN
10852
16f796b1
TT
108532014-02-19 Tom Tromey <tromey@redhat.com>
10854
10855 * target-delegates.c: Rebuild.
10856 * target.c (update_current_target): Don't inherit or default
10857 to_make_corefile_notes.
10858 (init_dummy_target): Don't initialize to_make_corefile_notes.
10859 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10860 TARGET_DEFAULT_FUNC.
10861
0b5a2719
TT
108622014-02-19 Tom Tromey <tromey@redhat.com>
10863
10864 * target-delegates.c: Rebuild.
10865 * target.c (update_current_target): Don't inherit or default
10866 to_find_memory_regions.
10867 (init_dummy_target): Don't initialize to_find_memory_regions.
10868 * target.h (struct target_ops) <to_find_memory_regions>: Use
10869 TARGET_DEFAULT_FUNC.
10870
d9cb0195
TT
108712014-02-19 Tom Tromey <tromey@redhat.com>
10872
10873 * target-delegates.c: Rebuild.
10874 * target.c (update_current_target): Don't inherit or default
10875 to_log_command.
10876 * target.h (struct target_ops) <to_log_command>: Use
10877 TARGET_DEFAULT_IGNORE.
10878 (target_log_command): Unconditionally delegate.
10879
830ca330
TT
108802014-02-19 Tom Tromey <tromey@redhat.com>
10881
10882 * target-delegates.c: Rebuild.
10883 * target.c (update_current_target): Don't inherit or default
10884 to_pid_to_exec_file.
10885 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10886 TARGET_DEFAULT_RETURN.
10887
825828fc
TT
108882014-02-19 Tom Tromey <tromey@redhat.com>
10889
10890 * target-delegates.c: Rebuild.
10891 * target.c (update_current_target): Don't inherit or default
10892 to_thread_name.
10893 (target_thread_name): Unconditionally delegate.
10894 * target.h (struct target_ops) <to_thread_name>: Use
10895 TARGET_DEFAULT_RETURN.
10896
4a7e6dda
TT
108972014-02-19 Tom Tromey <tromey@redhat.com>
10898
10899 * target-delegates.c: Rebuild.
10900 * target.c (update_current_target): Don't inherit or default
10901 to_extra_thread_info.
10902 * target.h (struct target_ops) <to_extra_thread_info>: Use
10903 TARGET_DEFAULT_RETURN.
10904
0db88c1d
TT
109052014-02-19 Tom Tromey <tromey@redhat.com>
10906
10907 * target-delegates.c: Rebuild.
10908 * target.c (update_current_target): Don't inherit or default
10909 to_has_exited.
10910 * target.h (struct target_ops) <to_has_exited>: Use
10911 TARGET_DEFAULT_RETURN..
10912
6a9fa051
TT
109132014-02-19 Tom Tromey <tromey@redhat.com>
10914
10915 * target-delegates.c: Rebuild.
10916 * target.c (update_current_target): Don't inherit or default
10917 to_set_syscall_catchpoint.
10918 (return_one): Remove.
10919 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10920 TARGET_DEFAULT_RETURN.
10921
62f64d7a
TT
109222014-02-19 Tom Tromey <tromey@redhat.com>
10923
10924 * target-delegates.c: Rebuild.
10925 * target.c (update_current_target): Don't inherit or default
10926 to_insert_exec_catchpoint.
10927 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10928 TARGET_DEFAULT_RETURN.
10929
cda0f38c
TT
109302014-01-08 Tom Tromey <tromey@redhat.com>
10931
10932 * target-delegates.c: Rebuild.
10933 * target.c (update_current_target): Don't inherit or default
10934 to_insert_exec_catchpoint.
10935 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10936 TARGET_DEFAULT_RETURN.
10937
95c3375e
TT
109382014-02-19 Tom Tromey <tromey@redhat.com>
10939
10940 * target-delegates.c: Rebuild.
10941 * target.c (update_current_target): Don't inherit or default
10942 to_remove_vfork_catchpoint.
10943 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10944 TARGET_DEFAULT_RETURN.
10945
7e18a8dc
TT
109462014-02-19 Tom Tromey <tromey@redhat.com>
10947
10948 * target-delegates.c: Rebuild.
10949 * target.c (update_current_target): Don't inherit or default
10950 to_insert_vfork_catchpoint.
10951 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10952 TARGET_DEFAULT_RETURN.
10953
e1a21fb7
TT
109542014-02-19 Tom Tromey <tromey@redhat.com>
10955
10956 * target-delegates.c: Rebuild.
10957 * target.c (update_current_target): Don't inherit or default
10958 to_remove_fork_catchpoint.
10959 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10960 TARGET_DEFAULT_RETURN.
10961
5958ebeb
TT
109622014-02-19 Tom Tromey <tromey@redhat.com>
10963
10964 * target-delegates.c: Rebuild.
10965 * target.c (update_current_target): Don't inherit or default
10966 to_insert_fork_catchpoint.
10967 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10968 TARGET_DEFAULT_RETURN.
10969
340ba4bf
TT
109702014-02-19 Tom Tromey <tromey@redhat.com>
10971
10972 * target-delegates.c: Rebuild.
10973 * target.c (update_current_target): Don't inherit or default
10974 to_post_startup_inferior.
10975 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10976 TARGET_DEFAULT_IGNORE.
10977
7634da87
TT
109782014-02-19 Tom Tromey <tromey@redhat.com>
10979
10980 * target-delegates.c: Rebuild.
10981 * target.c (update_current_target): Don't inherit or default
10982 to_load.
10983 * target.h (struct target_ops) <to_load>: Use
10984 TARGET_DEFAULT_NORETURN.
10985
e19e919f
TT
109862014-02-19 Tom Tromey <tromey@redhat.com>
10987
10988 * target-delegates.c: Rebuild.
10989 * target.c (update_current_target): Don't inherit or default
10990 to_terminal_info.
10991 * target.h (struct target_ops) <to_terminal_info>: Use
10992 TARGET_DEFAULT_FUNC.
10993
c6ea8f79
TT
109942014-02-19 Tom Tromey <tromey@redhat.com>
10995
10996 * target-delegates.c: Rebuild.
10997 * target.c (update_current_target): Don't inherit or default
10998 to_terminal_save_ours.
10999 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11000 TARGET_DEFAULT_IGNORE.
11001
e4a733f1
TT
110022014-02-19 Tom Tromey <tromey@redhat.com>
11003
11004 * target-delegates.c: Rebuild.
11005 * target.c (update_current_target): Don't inherit or default
11006 to_terminal_ours.
11007 * target.h (struct target_ops) <to_terminal_ours>: Use
11008 TARGET_DEFAULT_IGNORE.
11009
74fcbef9
TT
110102014-02-19 Tom Tromey <tromey@redhat.com>
11011
11012 * target-delegates.c: Rebuild.
11013 * target.c (update_current_target): Don't inherit or default
11014 to_terminal_ours_for_output.
11015 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11016 TARGET_DEFAULT_IGNORE.
11017
ddeaacc9
TT
110182014-02-19 Tom Tromey <tromey@redhat.com>
11019
11020 * target-delegates.c: Rebuild.
11021 * target.c (update_current_target): Don't inherit or default
11022 to_terminal_inferior.
11023 * target.h (struct target_ops) <to_terminal_inferior>: Use
11024 TARGET_DEFAULT_IGNORE.
11025
0343661d
TT
110262014-02-19 Tom Tromey <tromey@redhat.com>
11027
11028 * target-delegates.c: Rebuild.
11029 * target.c (update_current_target): Don't inherit or default
11030 to_terminal_init.
11031 * target.h (struct target_ops) <to_terminal_init>: Use
11032 TARGET_DEFAULT_IGNORE.
11033
77cdffe9
TT
110342014-02-19 Tom Tromey <tromey@redhat.com>
11035
11036 * target-delegates.c: Rebuild.
11037 * target.c (update_current_target): Don't inherit or default
11038 to_can_accel_watchpoint_condition.
11039 * target.h (struct target_ops)
11040 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11041
d03655e4
TT
110422014-02-19 Tom Tromey <tromey@redhat.com>
11043
11044 * target-delegates.c: Rebuild.
11045 * target.c (update_current_target): Don't inherit or default
11046 to_region_ok_for_hw_watchpoint.
11047 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11048 Use TARGET_DEFAULT_FUNC.
11049
65f160a9
TT
110502014-02-19 Tom Tromey <tromey@redhat.com>
11051
11052 * target-delegates.c: Rebuild.
11053 * target.c (update_current_target): Don't inherit or default
11054 to_watchpoint_addr_within_range.
11055 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11056 Use TARGET_DEFAULT_FUNC.
11057
61dd109f
TT
110582014-02-19 Tom Tromey <tromey@redhat.com>
11059
11060 * target-delegates.c: Rebuild.
11061 * target.c (update_current_target): Don't inherit or default
11062 to_remove_watchpoint.
11063 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11064 TARGET_DEFAULT_NORETURN.
11065
016facd4
TT
110662014-02-19 Tom Tromey <tromey@redhat.com>
11067
11068 * target-delegates.c: Rebuild.
11069 * target.c (update_current_target): Don't inherit or default
11070 to_insert_watchpoint.
11071 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11072 TARGET_DEFAULT_RETURN.
11073
418dabac
TT
110742014-02-19 Tom Tromey <tromey@redhat.com>
11075
11076 * target-delegates.c: Rebuild.
11077 * target.c (update_current_target): Don't inherit or default
11078 to_remove_hw_breakpoint.
11079 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11080 TARGET_DEFAULT_RETURN.
11081
61b371f9
TT
110822014-02-19 Tom Tromey <tromey@redhat.com>
11083
11084 * target-delegates.c: Rebuild.
11085 * target.c (update_current_target): Don't inherit or default
11086 to_insert_hw_breakpoint.
11087 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11088 TARGET_DEFAULT_RETURN.
11089
52b51d06
TT
110902014-02-19 Tom Tromey <tromey@redhat.com>
11091
11092 * target-delegates.c: Rebuild.
11093 * target.c (update_current_target): Don't inherit or default
11094 to_can_use_hw_breakpoint.
11095 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11096 TARGET_DEFAULT_RETURN.
11097
f86e59b2
TT
110982014-02-19 Tom Tromey <tromey@redhat.com>
11099
11100 * target-delegates.c: Rebuild.
11101 * target.c (update_current_target): Don't inherit or default
11102 to_files_info.
11103 * target.h (struct target_ops) <to_files_info>: Use
11104 TARGET_DEFAULT_IGNORE.
11105
6c628163
TT
111062014-02-19 Tom Tromey <tromey@redhat.com>
11107
11108 * target-delegates.c: Rebuild.
11109 * target.c (update_current_target): Don't inherit or default
11110 to_store.
11111 * target.h (struct target_ops) <to_store>: Use
11112 TARGET_DEFAULT_NORETURN.
11113
bebd3233
TT
111142014-02-19 Tom Tromey <tromey@redhat.com>
11115
11116 * target-delegates.c: Rebuild.
11117 * target.c (update_current_target): Don't inherit or default
11118 to_post_attach.
11119 * target.h (struct target_ops) <to_post_attach>: Use
11120 TARGET_DEFAULT_IGNORE.
11121
a53f3625
TT
111222014-02-19 Tom Tromey <tromey@redhat.com>
11123
11124 * target-delegates.c: Rebuild.
11125 * target.c (update_current_target): Don't inherit or default
11126 to_rcmd.
11127 (default_rcmd): New function.
11128 (do_monitor_command): Unconditionally delegate.
11129 * target.h (struct target_ops) <to_rmcd>: Use
11130 TARGET_DEFAULT_FUNC.
11131
e9a29200
TT
111322014-02-19 Tom Tromey <tromey@redhat.com>
11133
11134 * target-delegates.c: Rebuild.
11135 * target.c (init_dummy_target): Don't initialize to_attach.
11136 (target_attach): Unconditionally delegate.
11137 * target.h (struct target_ops) <to_attach>: Use
11138 TARGET_DEFAULT_FUNC.
11139
09da0d0a
TT
111402014-02-19 Tom Tromey <tromey@redhat.com>
11141
11142 * target-delegates.c: Rebuild.
11143 * target.c (target_detach): Unconditionally delegate.
11144 (init_dummy_target): Don't initialize to_detach.
11145 * target.h (struct target_ops) <to_detach>: Use
11146 TARGET_DEFAULT_IGNORE.
11147
5436ff03
TT
111482014-02-19 Tom Tromey <tromey@redhat.com>
11149
11150 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11151 Add argument.
11152 (target_augmented_libraries_svr4_read): Add argument.
11153 * target.c (update_current_target): Update.
11154 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11155 argument.
11156
f0d960ea
TT
111572014-02-19 Tom Tromey <tromey@redhat.com>
11158
11159 * target.h (struct target_ops) <to_call_history_range>: Add
11160 argument.
11161 * target.c (target_call_history_range): Add argument.
11162 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11163 argument.
11164 (record_btrace_call_history_from): Update.
11165
ec0aea04
TT
111662014-02-19 Tom Tromey <tromey@redhat.com>
11167
11168 * target.h (struct target_ops) <to_call_history_from>: Add
11169 argument.
11170 * target.c (target_call_history_from): Add argument.
11171 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11172 argument.
11173
5df2fcba
TT
111742014-02-19 Tom Tromey <tromey@redhat.com>
11175
11176 * target.h (struct target_ops) <to_call_history>: Add argument.
11177 * target.c (target_call_history): Add argument.
11178 * record-btrace.c (record_btrace_call_history): Add 'self'
11179 argument.
11180
4e99c6b7
TT
111812014-02-19 Tom Tromey <tromey@redhat.com>
11182
11183 * target.h (struct target_ops) <to_insn_history_range>: Add
11184 argument.
11185 * target.c (target_insn_history_range): Add argument.
11186 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11187 argument.
11188 (record_btrace_insn_history_from): Update.
11189
9abc3ff3
TT
111902014-02-19 Tom Tromey <tromey@redhat.com>
11191
11192 * target.h (struct target_ops) <to_insn_history_from>: Add
11193 argument.
11194 * target.c (target_insn_history_from): Add argument.
11195 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11196 argument.
11197
7a6c5609
TT
111982014-02-19 Tom Tromey <tromey@redhat.com>
11199
11200 * target.h (struct target_ops) <to_insn_history>: Add argument.
11201 * target.c (target_insn_history): Add argument.
11202 * record-btrace.c (record_btrace_insn_history): Add 'self'
11203 argument.
11204
606183ac
TT
112052014-02-19 Tom Tromey <tromey@redhat.com>
11206
11207 * target.h (struct target_ops) <to_goto_record>: Add argument.
11208 * target.c (target_goto_record): Add argument.
11209 * record-full.c (record_full_goto): Add 'self' argument.
11210 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11211
307a1b91
TT
112122014-02-19 Tom Tromey <tromey@redhat.com>
11213
11214 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11215 * target.c (target_goto_record_end): Add argument.
11216 * record-full.c (record_full_goto_end): Add 'self' argument.
11217 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11218
08475817
TT
112192014-02-19 Tom Tromey <tromey@redhat.com>
11220
11221 * target.h (struct target_ops) <to_goto_record_begin>: Add
11222 argument.
11223 * target.c (target_goto_record_begin): Add argument.
11224 * record-full.c (record_full_goto_begin): Add 'self' argument.
11225 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11226 argument.
11227
1c63c994
TT
112282014-02-19 Tom Tromey <tromey@redhat.com>
11229
11230 * target.h (struct target_ops) <to_record_is_replaying>: Add
11231 argument.
11232 * target.c (target_record_is_replaying): Add argument.
11233 * record-full.c (record_full_is_replaying): Add 'self' argument.
11234 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11235 argument.
11236 (record_btrace_xfer_partial, record_btrace_store_registers)
11237 (record_btrace_prepare_to_store, record_btrace_resume)
11238 (record_btrace_wait, record_btrace_decr_pc_after_break)
11239 (record_btrace_find_new_threads, record_btrace_thread_alive):
11240 Update.
11241
d1b55219
TT
112422014-02-19 Tom Tromey <tromey@redhat.com>
11243
11244 * target.h (struct target_ops) <to_delete_record>: Add argument.
11245 * target.c (target_delete_record): Add argument.
11246 * record-full.c (record_full_delete): Add 'self' argument.
11247
1390f529
TT
112482014-02-19 Tom Tromey <tromey@redhat.com>
11249
11250 * target.h (struct target_ops) <to_save_record>: Add argument.
11251 * target.c (target_save_record): Add argument.
11252 * record-full.c (record_full_save): Add 'self' argument.
11253 (record_full_save): Add 'self' argument.
11254
630d6a4a
TT
112552014-02-19 Tom Tromey <tromey@redhat.com>
11256
11257 * target.h (struct target_ops) <to_info_record>: Add argument.
11258 * target.c (target_info_record): Add argument.
11259 * record.c (info_record_command): Add argument.
11260 * record-full.c (record_full_info): Add 'self' argument.
11261 * record-btrace.c (record_btrace_info): Add 'self' argument.
11262
c6cd7c02
TT
112632014-02-19 Tom Tromey <tromey@redhat.com>
11264
11265 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11266 * target.c (target_stop_recording): Add argument.
11267 * record.c (record_stop): Add argument.
11268 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11269 argument.
11270
39c49f83
TT
112712014-02-19 Tom Tromey <tromey@redhat.com>
11272
11273 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11274 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11275 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11276 argument.
11277 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11278 (_initialize_amd64_linux_nat): Use it.
11279 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11280 (_initialize_i386_linux_nat): Use it.
11281
1777056d
TT
112822014-02-19 Tom Tromey <tromey@redhat.com>
11283
11284 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11285 * target.c (target_teardown_btrace): Add argument.
11286 * remote.c (remote_teardown_btrace): Add 'self' argument.
11287 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11288 argument.
11289 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11290 argument.
11291
25e95349
TT
112922014-02-19 Tom Tromey <tromey@redhat.com>
11293
11294 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11295 * target.c (target_disable_btrace): Add argument.
11296 * remote.c (remote_disable_btrace): Add 'self' argument.
11297 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11298 argument.
11299 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11300 argument.
11301
e3c49f88
TT
113022014-02-19 Tom Tromey <tromey@redhat.com>
11303
11304 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11305 * target.c (target_enable_btrace): Add argument.
11306 * remote.c (remote_enable_btrace): Add 'self' argument.
11307 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11308 argument.
11309 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11310 argument.
11311
fe38f897
TT
113122014-02-19 Tom Tromey <tromey@redhat.com>
11313
11314 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11315 (target_can_use_agent): Add argument.
11316 * target.c (update_current_target): Update.
11317 * remote.c (remote_can_use_agent): Add 'self' argument.
11318 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11319
2c152180
TT
113202014-02-19 Tom Tromey <tromey@redhat.com>
11321
11322 * target.h (struct target_ops) <to_use_agent>: Add argument.
11323 (target_use_agent): Add argument.
11324 * target.c (update_current_target): Update.
11325 * remote.c (remote_use_agent): Add 'self' argument.
11326 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11327
a893e81f
TT
113282014-02-19 Tom Tromey <tromey@redhat.com>
11329
11330 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11331 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11332 (target_traceframe_info): Add argument.
11333 * target.c (update_current_target): Update.
11334 * remote.c (remote_traceframe_info): Add 'self' argument.
11335 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11336
c686c57f
TT
113372014-02-19 Tom Tromey <tromey@redhat.com>
11338
11339 * target.h (target_static_tracepoint_markers_by_strid): Add
11340 argument.
11341 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11342 'self' argument.
11343 * target.c (update_current_target): Update.
11344 * remote.c (struct target_ops)
11345 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11346 * linux-nat.c (struct target_ops)
11347 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11348
61fc905d
TT
113492014-02-19 Tom Tromey <tromey@redhat.com>
11350
11351 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11352 Add argument.
11353 (target_static_tracepoint_marker_at): Add argument.
11354 * target.c (update_current_target): Update.
11355 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11356 argument.
11357
c378d69d
TT
113582014-02-19 Tom Tromey <tromey@redhat.com>
11359
11360 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11361 (target_set_permissions): Add argument.
11362 * target.c (update_current_target): Update.
11363 * remote.c (remote_set_permissions): Add 'self' argument.
11364 (remote_start_remote): Update.
11365
bd7ae0f5
TT
113662014-02-19 Tom Tromey <tromey@redhat.com>
11367
11368 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11369 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11370 (target_get_tib_address): Add argument.
11371 * target.c (update_current_target): Update.
11372 * remote.c (remote_get_tib_address): Add 'self' argument.
11373
d9e68a2c
TT
113742014-02-19 Tom Tromey <tromey@redhat.com>
11375
11376 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11377 (target_set_trace_notes): Add argument.
11378 * target.c (update_current_target): Update.
11379 * remote.c (remote_set_trace_notes): Add 'self' argument.
11380
4da384be
TT
113812014-02-19 Tom Tromey <tromey@redhat.com>
11382
11383 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11384 argument.
11385 (target_set_trace_buffer_size): Add argument.
11386 * target.c (update_current_target): Update.
11387 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11388
736d5b1f
TT
113892014-02-19 Tom Tromey <tromey@redhat.com>
11390
11391 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11392 argument.
11393 (target_set_circular_trace_buffer): Add argument.
11394 * target.c (update_current_target): Update.
11395 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11396 argument.
11397
37b25738
TT
113982014-02-19 Tom Tromey <tromey@redhat.com>
11399
11400 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11401 argument.
11402 (target_set_disconnected_tracing): Add argument.
11403 * target.c (update_current_target): Update.
11404 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11405
0e67620a
TT
114062014-02-19 Tom Tromey <tromey@redhat.com>
11407
11408 * target.h (struct target_ops)
11409 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11410 (target_get_min_fast_tracepoint_insn_len): Add argument.
11411 * target.c (update_current_target): Update.
11412 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11413 argument.
11414
88ee6f45
TT
114152014-02-19 Tom Tromey <tromey@redhat.com>
11416
11417 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11418 argument.
11419 (target_get_raw_trace_data): Add argument.
11420 * target.c (update_current_target): Update.
11421 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11422
181e3713
TT
114232014-02-19 Tom Tromey <tromey@redhat.com>
11424
11425 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11426 Add argument.
11427 (target_upload_trace_state_variables): Add argument.
11428 * target.c (update_current_target): Update.
11429 * remote.c (remote_upload_trace_state_variables): Add 'self'
11430 argument.
11431 (remote_start_remote): Update.
11432
ab6617cc
TT
114332014-02-19 Tom Tromey <tromey@redhat.com>
11434
11435 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11436 argument.
11437 (target_upload_tracepoints): Add argument.
11438 * target.c (update_current_target): Update.
11439 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11440 (remote_start_remote): Update.
11441
dc3decaf
TT
114422014-02-19 Tom Tromey <tromey@redhat.com>
11443
11444 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11445 (target_save_trace_data): Add argument.
11446 * target.c (update_current_target): Update.
11447 * remote.c (remote_save_trace_data): Add 'self' argument.
11448
4011015b
TT
114492014-02-19 Tom Tromey <tromey@redhat.com>
11450
11451 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11452 argument.
11453 * target.h (struct target_ops)
11454 <to_get_trace_state_variable_value>: Add argument.
11455 (target_get_trace_state_variable_value): Add argument.
11456 * target.c (update_current_target): Update.
11457 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11458 argument.
11459 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11460
bd4c6793
TT
114612014-02-19 Tom Tromey <tromey@redhat.com>
11462
11463 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11464 * target.h (struct target_ops) <to_trace_find>: Add argument.
11465 (target_trace_find): Add argument.
11466 * target.c (update_current_target): Update.
11467 * remote.c (remote_trace_find): Add 'self' argument.
11468 * ctf.c (ctf_trace_find): Add 'self' argument.
11469
74499f1b
TT
114702014-02-19 Tom Tromey <tromey@redhat.com>
11471
11472 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11473 (target_trace_stop): Add argument.
11474 * target.c (update_current_target): Update.
11475 * remote.c (remote_trace_stop): Add 'self' argument.
11476
db90e85c
TT
114772014-02-19 Tom Tromey <tromey@redhat.com>
11478
11479 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11480 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11481 argument.
11482 (target_get_tracepoint_status): Add argument.
11483 * target.c (update_current_target): Update.
11484 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11485
8bd200f1
TT
114862014-02-19 Tom Tromey <tromey@redhat.com>
11487
11488 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11489 * target.h (struct target_ops) <to_get_trace_status>: Add
11490 argument.
11491 (target_get_trace_status): Add argument.
11492 * target.c (update_current_target): Update.
11493 * remote.c (remote_get_trace_status): Add 'self' argument.
11494 (remote_start_remote, remote_can_download_tracepoint): Update.
11495 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11496
e2d1aae3
TT
114972014-02-19 Tom Tromey <tromey@redhat.com>
11498
11499 * target.h (struct target_ops) <to_trace_start>: Add argument.
11500 (target_trace_start): Add argument.
11501 * target.c (update_current_target): Update.
11502 * remote.c (remote_trace_start): Add 'self' argument.
11503
583f9a86
TT
115042014-02-19 Tom Tromey <tromey@redhat.com>
11505
11506 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11507 Add argument.
11508 (target_trace_set_readonly_regions): Add argument.
11509 * target.c (update_current_target): Update.
11510 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11511 argument.
11512
780b049c
TT
115132014-02-19 Tom Tromey <tromey@redhat.com>
11514
11515 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11516 argument.
11517 (target_disable_tracepoint): Add argument.
11518 * target.c (update_current_target): Update.
11519 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11520
46670d57
TT
115212014-02-19 Tom Tromey <tromey@redhat.com>
11522
11523 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11524 argument.
11525 (target_enable_tracepoint): Add argument.
11526 * target.c (update_current_target): Update.
11527 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11528
559d2b81
TT
115292014-02-19 Tom Tromey <tromey@redhat.com>
11530
11531 * target.h (struct target_ops) <to_download_trace_state_variable>:
11532 Add argument.
11533 (target_download_trace_state_variable): Add argument.
11534 * target.c (update_current_target): Update.
11535 * remote.c (remote_download_trace_state_variable): Add 'self'
11536 argument.
11537
a52a8357
TT
115382014-02-19 Tom Tromey <tromey@redhat.com>
11539
11540 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11541 argument.
11542 (target_can_download_tracepoint): Add argument.
11543 * target.c (update_current_target): Update.
11544 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11545
548f7808
TT
115462014-02-19 Tom Tromey <tromey@redhat.com>
11547
11548 * target.h (struct target_ops) <to_download_tracepoint>: Add
11549 argument.
11550 (target_download_tracepoint): Add argument.
11551 * target.c (update_current_target): Update.
11552 * remote.c (remote_download_tracepoint): Add 'self' argument.
11553
ecae04e1
TT
115542014-02-19 Tom Tromey <tromey@redhat.com>
11555
11556 * target.h (struct target_ops) <to_trace_init>: Add argument.
11557 (target_trace_init): Add argument.
11558 * target.c (update_current_target): Update.
11559 * remote.c (remote_trace_init): Add 'self' argument.
11560
fab5aa7c
TT
115612014-02-19 Tom Tromey <tromey@redhat.com>
11562
11563 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11564 * target.c (target_fileio_readlink): Add argument.
11565 * remote.c (remote_hostio_readlink): Add 'self' argument.
11566 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11567
dbbca37d
TT
115682014-02-19 Tom Tromey <tromey@redhat.com>
11569
11570 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11571 * target.c (target_fileio_unlink): Add argument.
11572 * remote.c (remote_hostio_unlink): Add 'self' argument.
11573 (remote_file_delete): Update.
11574 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11575
df39ea25
TT
115762014-02-19 Tom Tromey <tromey@redhat.com>
11577
11578 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11579 * target.c (target_fileio_close): Add argument.
11580 * remote.c (remote_hostio_close): Add 'self' argument.
11581 (remote_hostio_close_cleanup): Update.
11582 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11583 Update.
11584 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11585
a3be983c
TT
115862014-02-19 Tom Tromey <tromey@redhat.com>
11587
11588 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11589 * target.c (target_fileio_pread): Add argument.
11590 * remote.c (remote_hostio_pread): Add 'self' argument.
11591 (remote_bfd_iovec_pread, remote_file_get): Update.
11592 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11593
0d866f62
TT
115942014-02-19 Tom Tromey <tromey@redhat.com>
11595
11596 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11597 * target.c (target_fileio_pwrite): Add argument.
11598 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11599 (remote_file_put): Update.
11600 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11601
cd897586
TT
116022014-02-19 Tom Tromey <tromey@redhat.com>
11603
11604 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11605 * target.c (target_fileio_open): Add argument.
11606 * remote.c (remote_hostio_open): Add 'self' argument.
11607 (remote_bfd_iovec_open): Add 'self' argument.
11608 (remote_file_put): Add 'self' argument.
11609 (remote_file_get): Add 'self' argument.
11610 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11611
78eff0ec
TT
116122014-02-19 Tom Tromey <tromey@redhat.com>
11613
11614 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11615 Add argument.
11616 (target_can_run_breakpoint_commands): Add argument.
11617 * target.c (update_current_target): Update.
11618 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11619 argument.
11620 (remote_insert_breakpoint): Add 'self' argument.
11621 (remote_insert_hw_breakpoint): Add 'self' argument.
11622 (remote_can_run_breakpoint_commands): Add 'self' argument.
11623
efcc2da7
TT
116242014-02-19 Tom Tromey <tromey@redhat.com>
11625
11626 * target.h (struct target_ops)
11627 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11628 (target_supports_evaluation_of_breakpoint_conditions): Add
11629 argument.
11630 * target.c (update_current_target): Update.
11631 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11632 argument.
11633 (remote_insert_breakpoint): Add 'self' argument.
11634 (remote_insert_hw_breakpoint): Add 'self' argument.
11635 (remote_supports_cond_breakpoints): Add 'self' argument.
11636
6de37a3a
TT
116372014-02-19 Tom Tromey <tromey@redhat.com>
11638
11639 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11640 argument.
11641 (target_supports_string_tracing): Add argument.
11642 * target.c (update_current_target): Update.
11643 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11644
2bfc0540
TT
116452014-02-19 Tom Tromey <tromey@redhat.com>
11646
11647 * target.h (struct target_ops)
11648 <to_supports_disable_randomization>: Add argument.
11649 * target.c (find_default_supports_disable_randomization): Add
11650 argument.
11651 (target_supports_disable_randomization): Add argument.
11652 (find_default_supports_disable_randomization): Add 'self'
11653 argument.
11654 * remote.c (extended_remote_supports_disable_randomization): Add
11655 'self' argument.
11656 (remote_supports_disable_randomization): Add 'self' argument.
11657 (extended_remote_create_inferior): Update.
11658 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11659 'self' argument.
11660
7d178d6a
TT
116612014-02-19 Tom Tromey <tromey@redhat.com>
11662
11663 * target.h (struct target_ops)
11664 <to_supports_enable_disable_tracepoint>: Add argument.
11665 (target_supports_enable_disable_tracepoint): Add argument.
11666 * target.c (update_current_target): Update.
11667 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11668 argument.
11669
86ce2668
TT
116702014-02-19 Tom Tromey <tromey@redhat.com>
11671
11672 * target.h (struct target_ops) <to_supports_multi_process>: Add
11673 argument.
11674 (target_supports_multi_process): Add argument.
11675 * target.c (update_current_target): Update.
11676 * remote.c (remote_supports_multi_process): Add 'self' argument.
11677 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11678 argument.
11679 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11680 argument.
11681
4c612759
TT
116822014-02-19 Tom Tromey <tromey@redhat.com>
11683
11684 * target.h (struct target_ops) <to_execution_direction>: Add
11685 argument.
11686 (target_execution_direction): Add argument.
11687 * target.c (default_execution_direction): Add 'self' argument.
11688 * record-full.c (record_full_execution_direction): Add 'self'
11689 argument.
11690
19db3e69
TT
116912014-02-19 Tom Tromey <tromey@redhat.com>
11692
11693 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11694 argument.
11695 (target_can_execute_reverse): Add argument.
11696 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11697 * record-full.c (record_full_can_execute_reverse): Add 'self'
11698 argument.
11699 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11700 argument.
11701
1e6b91a4
TT
117022014-02-19 Tom Tromey <tromey@redhat.com>
11703
11704 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11705 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11706 argument.
11707 (target_get_ada_task_ptid): Add argument.
11708 * target.c (update_current_target): Update.
11709 (default_get_ada_task_ptid): Add 'self' argument.
11710 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11711 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11712 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11713 argument.
11714 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11715 argument.
11716 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11717 argument.
11718 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11719 argument.
11720 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11721 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11722 argument.
11723
3c80fb48
TT
117242014-02-19 Tom Tromey <tromey@redhat.com>
11725
11726 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11727 (target_goto_bookmark): Add argument.
11728 * target.c (dummy_goto_bookmark): Add 'self' argument.
11729 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11730
dd0e2830
TT
117312014-02-19 Tom Tromey <tromey@redhat.com>
11732
11733 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11734 (target_get_bookmark): Add argument.
11735 * target.c (dummy_get_bookmark): Add 'self' argument.
11736 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11737
fc6691b2
TT
117382014-02-19 Tom Tromey <tromey@redhat.com>
11739
11740 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11741 argument.
11742 (target_make_corefile_notes): Add argument.
11743 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11744 * procfs.c (procfs_make_note_section): Add 'self' argument.
11745 (procfs_make_note_section): Add 'self' argument.
11746 (procfs_make_note_section): Add 'self' argument.
11747 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11748 argument.
11749 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11750 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11751 * exec.c (exec_make_note_section): Add 'self' argument.
11752 (exec_make_note_section): Add 'self' argument.
11753
2e73927c
TT
117542014-02-19 Tom Tromey <tromey@redhat.com>
11755
11756 * target.h (struct target_ops) <to_find_memory_regions>: Add
11757 argument.
11758 (target_find_memory_regions): Add argument.
11759 * target.c (dummy_find_memory_regions): Add 'self' argument.
11760 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11761 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11762 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11763 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11764 * exec. (exec_do_find_memory_regions): New global.
11765 (exec_set_find_memory_regions): Rewrite.
11766 (exec_find_memory_regions): New function.
11767 (init_exec_ops): Use exec_find_memory_regions.
11768
2a9a2795
TT
117692014-02-19 Tom Tromey <tromey@redhat.com>
11770
11771 * target.h (struct target_ops) <to_supports_non_stop>: Add
11772 argument.
11773 * target.c (find_default_supports_non_stop): Add argument.
11774 (target_supports_non_stop): Add argument.
11775 (find_default_supports_non_stop): Add 'self' argument.
11776 * remote.c (remote_supports_non_stop): Add 'self' argument.
11777 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11778
4ab76ea3
TT
117792014-02-19 Tom Tromey <tromey@redhat.com>
11780
11781 * target.h (struct target_ops) <to_log_command>: Add argument.
11782 (target_log_command): Add argument.
11783 * serial.h (serial_log_command): Add 'self' argument.
11784 * serial.c (serial_log_command): Add 'self' argument.
11785
8dd27370
TT
117862014-02-19 Tom Tromey <tromey@redhat.com>
11787
11788 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11789 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11790 argument.
11791 (target_pid_to_exec_file): Add argument.
11792 * target.c (debug_to_pid_to_exec_file): Add argument.
11793 (update_current_target): Update.
11794 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11795 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11796 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11797 (linux_handle_extended_wait): Update.
11798 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11799 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11800 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11801 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11802
1aac633b
TT
118032014-02-19 Tom Tromey <tromey@redhat.com>
11804
11805 * target.h (struct target_ops) <to_rcmd>: Add argument.
11806 (target_rcmd): Add argument.
11807 * target.c (debug_to_rcmd): Add argument.
11808 (update_current_target, do_monitor_command): Update.
11809 * remote.c (remote_rcmd): Add 'self' argument.
11810 * monitor.c (monitor_rcmd): Add 'self' argument.
11811
1eab8a48
TT
118122014-02-19 Tom Tromey <tromey@redhat.com>
11813
11814 * windows-nat.c (windows_stop): Add 'self' argument.
11815 * target.h (struct target_ops) <to_stop>: Add argument.
11816 * target.c (target_stop): Add argument.
11817 (debug_to_stop): Add argument.
11818 (update_current_target): Update.
11819 * remote.c (remote_stop): Add 'self' argument.
11820 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11821 (gdbsim_cntrl_c): Update.
11822 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11823 * procfs.c (procfs_stop): Add 'self' argument.
11824 * nto-procfs.c (procfs_stop): Add 'self' argument.
11825 * monitor.c (monitor_stop): Add 'self' argument.
11826 (monitor_open): Update.
11827 * linux-nat.c (linux_nat_stop): Add argument.
11828 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11829 * gnu-nat.c (gnu_stop): Add 'self' argument.
11830 * darwin-nat.c (darwin_stop): Add 'self' argument.
11831
503a628d
TT
118322014-02-19 Tom Tromey <tromey@redhat.com>
11833
11834 * target.h (struct target_ops) <to_thread_name>: Add argument.
11835 * target.c (target_thread_name): Add argument.
11836 (update_current_target): Update.
11837 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11838
c15906d8
TT
118392014-02-19 Tom Tromey <tromey@redhat.com>
11840
11841 * target.h (struct target_ops) <to_extra_thread_info>: Add
11842 argument.
11843 (target_extra_thread_info): Add argument.
11844 * target.c (update_current_target): Update.
11845 * remote.c (remote_threads_extra_info): Add 'self' argument.
11846 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11847 argument.
11848 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11849 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11850 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11851 argument.
11852 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11853 argument.
11854 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11855 argument.
11856 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11857 argument.
11858
daf5e9b6
TT
118592014-02-19 Tom Tromey <tromey@redhat.com>
11860
11861 * target.h (struct target_ops) <to_program_signals>: Add argument.
11862 * target.c (target_program_signals): Add argument.
11863 * remote.c (remote_program_signals): Add 'self' argument.
11864
94bedb42
TT
118652014-02-19 Tom Tromey <tromey@redhat.com>
11866
11867 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11868 * target.c (target_pass_signals): Add argument.
11869 * remote.c (remote_pass_signals): Add 'self' argument.
11870 (remote_start_remote): Update.
11871 * procfs.c (procfs_pass_signals): Add 'self' argument.
11872 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11873 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11874 (linux_nat_create_inferior, linux_nat_attach): Update.
11875
da82bd6b
TT
118762014-02-19 Tom Tromey <tromey@redhat.com>
11877
11878 * windows-nat.c (windows_can_run): Add 'self' argument.
11879 * target.h (struct target_ops) <to_can_run>: Add argument.
11880 (target_can_run): Add argument.
11881 * target.c (debug_to_can_run): Add argument.
11882 (update_current_target): Update.
11883 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11884 * inf-child.c (inf_child_can_run): Add 'self' argument.
11885 * go32-nat.c (go32_can_run): Add 'self' argument.
11886
d796e1d6
TT
118872014-02-19 Tom Tromey <tromey@redhat.com>
11888
11889 * target.h (struct target_ops) <to_has_exited>: Add argument.
11890 (target_has_exited): Add argument.
11891 * target.c (debug_to_has_exited): Add argument.
11892 (update_current_target): Update.
11893
ff214e67
TT
118942014-02-19 Tom Tromey <tromey@redhat.com>
11895
11896 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11897 argument.
11898 (target_set_syscall_catchpoint): Add argument.
11899 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11900 argument.
11901 * target.c (update_current_target): Update.
11902
758e29d2
TT
119032014-02-19 Tom Tromey <tromey@redhat.com>
11904
11905 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11906 argument.
11907 (target_remove_exec_catchpoint): Add argument.
11908 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11909 (update_current_target): Update.
11910 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11911 argument.
11912
ba025e51
TT
119132014-02-19 Tom Tromey <tromey@redhat.com>
11914
11915 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11916 argument.
11917 (target_insert_exec_catchpoint): Add argument.
11918 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11919 (update_current_target): Update.
11920 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11921 argument.
11922
e98cf0cd
TT
119232014-02-19 Tom Tromey <tromey@redhat.com>
11924
11925 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11926 argument.
11927 (target_remove_vfork_catchpoint): Add argument.
11928 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11929 (update_current_target): Update.
11930 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11931 argument.
11932
3ecc7da0
TT
119332014-02-19 Tom Tromey <tromey@redhat.com>
11934
11935 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11936 argument.
11937 (target_insert_vfork_catchpoint): Add argument.
11938 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11939 (update_current_target): Update.
11940 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11941 argument.
11942
973fc227
TT
119432014-02-19 Tom Tromey <tromey@redhat.com>
11944
11945 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11946 argument.
11947 (target_remove_fork_catchpoint): Add argument.
11948 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11949 (update_current_target): Update.
11950 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11951 argument.
11952
a863b201
TT
119532014-02-19 Tom Tromey <tromey@redhat.com>
11954
11955 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11956 argument.
11957 (target_insert_fork_catchpoint): Add argument.
11958 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11959 (update_current_target): Update.
11960 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11961 argument.
11962
2e97a79e
TT
119632014-02-19 Tom Tromey <tromey@redhat.com>
11964
11965 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11966 argument.
11967 (target_post_startup_inferior): Add argument.
11968 * target.c (debug_to_post_startup_inferior): Add argument.
11969 (update_current_target): Update.
11970 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11971 argument.
11972 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11973 argument.
11974 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11975 argument.
11976 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11977 argument.
11978 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11979 'self' argument.
11980 (super_post_startup_inferior): Likewise.
11981 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11982 'self' argument.
11983 (super_post_startup_inferior): Likewise.
11984 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11985 Add 'self' argument.
11986 (super_post_startup_inferior): Likewise.
11987
71a9f134
TT
119882014-02-19 Tom Tromey <tromey@redhat.com>
11989
11990 * target.h (struct target_ops) <to_load>: Add argument.
11991 * target.c (target_load): Add argument.
11992 (debug_to_load): Add argument.
11993 (update_current_target): Update.
11994 * remote.c (remote_load): Add 'self' argument.
11995 * remote-sim.c (gdbsim_load): Add 'self' argument.
11996 * remote-mips.c (mips_load): Add 'self' argument.
11997 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11998 * monitor.c (monitor_load): Add 'self' argument.
11999 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12000
0a4f40a2
TT
120012014-02-19 Tom Tromey <tromey@redhat.com>
12002
12003 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12004 (target_terminal_info): Add argument.
12005 * target.c (debug_to_terminal_info): Add argument.
12006 (default_terminal_info): Likewise.
12007 * inflow.c (child_terminal_info): Add 'self' argument.
12008 * inferior.h (child_terminal_info): Add 'self' argument.
12009 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12010
ae3bd431
TT
120112014-02-19 Tom Tromey <tromey@redhat.com>
12012
12013 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12014 argument.
12015 (target_terminal_save_ours): Add argument.
12016 * target.c (debug_to_terminal_save_ours): Add argument.
12017 (update_current_target): Update.
12018 * inflow.c (terminal_save_ours): Add 'self' argument.
12019 * inferior.h (terminal_save_ours): Add 'self' argument.
12020
e3594fd1
TT
120212014-02-19 Tom Tromey <tromey@redhat.com>
12022
12023 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12024 (target_terminal_ours): Add argument.
12025 * target.c (debug_to_terminal_ours): Add argument.
12026 (update_current_target): Update.
12027 * remote.c (remote_terminal_ours): Add 'self' argument.
12028 (remote_close): Update.
12029 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12030 * inflow.c (terminal_ours): Add 'self' argument.
12031 * inferior.h (terminal_ours): Add 'self' argument.
12032 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12033
2e1e1a19
TT
120342014-02-19 Pedro Alves <palves@redhat.com>
12035 Tom Tromey <tromey@redhat.com>
12036
12037 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12038 argument.
12039 (target_terminal_ours_for_output): Add argument.
12040 * target.c (debug_to_terminal_ours_for_output): Add argument.
12041 (update_current_target): Update.
12042 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12043 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12044 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12045
d2f640d4
TT
120462014-02-19 Tom Tromey <tromey@redhat.com>
12047
12048 * target.h (struct target_ops) <to_terminal_inferior>: Add
12049 argument.
12050 * target.c (target_terminal_inferior): Add argument.
12051 (update_current_target): Update.
12052 * remote.c (remote_terminal_inferior): Add 'self' argument.
12053 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12054 * inflow.c (terminal_inferior): Add 'self' argument.
12055 * inferior.h (terminal_inferior): Add 'self' argument.
12056 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12057 (go32_terminal_inferior): Add 'self' argument.
12058
c42bf286
TT
120592014-02-19 Tom Tromey <tromey@redhat.com>
12060
12061 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12062 (target_terminal_init): Add argument.
12063 * target.c (debug_to_terminal_init): Add argument.
12064 (update_current_target): Update.
12065 * inflow.c (terminal_init_inferior): Add 'self' argument.
12066 * inferior.h (terminal_init_inferior): Add 'self' argument.
12067 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12068 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12069
c3a5ff89
TT
120702014-02-19 Tom Tromey <tromey@redhat.com>
12071
12072 * target.h (struct target_ops)
12073 <to_can_accel_watchpoint_condition>: Add argument.
12074 (target_can_accel_watchpoint_condition): Add argument.
12075 * target.c (debug_to_can_accel_watchpoint_condition): Add
12076 argument.
12077 (update_current_target): Update.
12078 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12079 'self' argument.
12080
31568a15
TT
120812014-02-19 Tom Tromey <tromey@redhat.com>
12082
12083 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12084 Add argument.
12085 (target_region_ok_for_hw_watchpoint): Add argument.
12086 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12087 (default_region_ok_for_hw_watchpoint): Add argument.
12088 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12089 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12090 argument.
12091 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12092 argument.
12093 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12094 argument.
12095 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12096 'self' argument.
12097 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12098 'self' argument.
12099 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12100 'self' argument.
12101 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12102 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12103 'self' argument.
12104 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12105 Add 'self' argument.
12106
7bb99c53
TT
121072014-02-19 Tom Tromey <tromey@redhat.com>
12108
12109 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12110 argument.
12111 (target_insert_watchpoint): Add argument.
12112 * target.c (debug_to_insert_watchpoint): Add argument.
12113 (update_current_target): Update.
12114 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12115 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12116 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12117 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12118 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12119 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12120 argument.
12121 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12122 (procfs_insert_hw_watchpoint): Add 'self' argument.
12123 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12124 argument.
12125 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12126 argument.
12127 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12128 argument.
12129 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12130 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12131 argument.
12132 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12133 'self' argument.
12134
11b5219a
TT
121352014-02-19 Tom Tromey <tromey@redhat.com>
12136
12137 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12138 argument.
12139 (target_remove_watchpoint): Add argument.
12140 * target.c (debug_to_remove_watchpoint): Add argument.
12141 (update_current_target): Update.
12142 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12143 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12144 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12145 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12146 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12147 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12148 argument.
12149 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12150 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12151 argument.
12152 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12153 argument.
12154 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12155 argument.
12156 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12157 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12158 argument.
12159 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12160 'self' argument.
12161
a64dc96c
TT
121622014-02-19 Tom Tromey <tromey@redhat.com>
12163
12164 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12165 argument.
12166 (target_remove_hw_breakpoint): Add argument.
12167 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12168 (update_current_target): Update.
12169 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12170 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12171 argument.
12172 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12173 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12174 argument.
12175 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12176 'self' argument.
12177
23a26771
TT
121782014-02-19 Tom Tromey <tromey@redhat.com>
12179
12180 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12181 argument.
12182 (target_insert_hw_breakpoint): Add argument.
12183 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12184 (update_current_target): Update.
12185 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12186 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12187 argument.
12188 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12189 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12190 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12191 argument.
12192 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12193 'self' argument.
12194
5461485a
TT
121952014-02-19 Tom Tromey <tromey@redhat.com>
12196
12197 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12198 argument.
12199 (target_can_use_hardware_watchpoint): Add argument.
12200 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12201 (update_current_target): Update.
12202 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12203 argument.
12204 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12205 argument.
12206 * remote.c (remote_check_watch_resources): Add 'self' argument.
12207 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12208 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12209 argument.
12210 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12211 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12212 argument.
12213 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12214 argument.
12215 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12216 argument.
12217 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12218 argument.
12219 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12220 argument.
12221 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12222 argument.
12223 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12224 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12225 argument.
12226 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12227 'self' argument.
12228
f045800c
TT
122292014-02-19 Tom Tromey <tromey@redhat.com>
12230
12231 * target.h (struct target_ops) <to_post_attach>: Add argument.
12232 (target_post_attach): Add argument.
12233 * target.c (debug_to_post_attach): Add argument.
12234 (update_current_target): Update.
12235 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12236 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12237 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12238 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12239 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12240
de90e03d
TT
122412014-02-19 Tom Tromey <tromey@redhat.com>
12242
12243 * windows-nat.c (windows_close): Add 'self' argument.
12244 * tracepoint.c (tfile_close): Add 'self' argument.
12245 * target.h (struct target_ops) <to_close>: Add argument.
12246 * target.c (target_close): Add argument.
12247 (update_current_target): Update.
12248 * remote.c (remote_close): Add 'self' argument.
12249 * remote-sim.c (gdbsim_close): Add 'self' argument.
12250 * remote-mips.c (mips_close): Add 'self' argument.
12251 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12252 * record-full.c (record_full_close): Add 'self' argument.
12253 * record-btrace.c (record_btrace_close): Add 'self' argument.
12254 * monitor.h (monitor_close): Add 'self' argument.
12255 * monitor.c (monitor_close): Add 'self' argument.
12256 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12257 * linux-nat.c (linux_nat_close): Add argument.
12258 * go32-nat.c (go32_close): Add 'self' argument.
12259 * exec.c (exec_close_1): Add 'self' argument.
12260 * ctf.c (ctf_close): Add 'self' argument.
12261 * corelow.c (core_close): Add 'self' argument.
12262 (core_close_cleanup): Update.
12263 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12264 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12265
9dd130a0
TT
122662014-02-19 Tom Tromey <tromey@redhat.com>
12267
12268 * remote.c (remote_load): New function.
12269 (init_remote_ops): Use it.
12270
46917d26
TT
122712014-02-19 Tom Tromey <tromey@redhat.com>
12272
12273 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12274 argument.
12275 * common/linux-btrace.h (linux_supports_btrace): Update.
12276 * remote.c (remote_supports_btrace): Add "self" argument.
12277 * target-delegates.c: Rebuild.
12278 * target.c (target_supports_btrace): Remove.
12279 * target.h (struct target_ops) <to_supports_btrace>: Add
12280 target_ops argument.
12281 (target_supports_btrace): New define.
12282
6b84065d
TT
122832014-02-19 Tom Tromey <tromey@redhat.com>
12284
12285 * record-full.c (record_full_beneath_to_resume_ops)
12286 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12287 (record_full_beneath_to_wait)
12288 (record_full_beneath_to_store_registers_ops)
12289 (record_full_beneath_to_store_registers)
12290 (record_full_beneath_to_xfer_partial_ops)
12291 (record_full_beneath_to_xfer_partial)
12292 (record_full_beneath_to_insert_breakpoint_ops)
12293 (record_full_beneath_to_insert_breakpoint)
12294 (record_full_beneath_to_remove_breakpoint_ops)
12295 (record_full_beneath_to_remove_breakpoint)
12296 (record_full_beneath_to_stopped_by_watchpoint)
12297 (record_full_beneath_to_stopped_data_address)
12298 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12299 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12300 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12301 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12302 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12303 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12304 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12305 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12306 (record_full_resume, record_full_wait_1)
12307 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12308 (record_full_store_registers, record_full_xfer_partial)
12309 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12310 (record_full_async, record_full_core_xfer_partial): Use target
12311 delegation.
12312 * target-delegates.c: Rebuild.
12313 * target.c (current_xfer_partial): Remove.
12314 (update_current_target): Do not INHERIT or de_fault
12315 to_insert_breakpoint, to_remove_breakpoint,
12316 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12317 to_is_async_p, to_async. Do not set to_xfer_partial field.
12318 (default_xfer_partial): Simplify.
12319 (current_xfer_partial): Remove.
12320 (target_wait, target_resume): Simplify.
12321 (find_default_can_async_p, find_default_is_async_p): Update.
12322 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12323 to_xfer_partial, to_stopped_by_watchpoint,
12324 to_stopped_data_address.
12325 (target_store_registers): Simplify.
12326 (forward_target_remove_breakpoint)
12327 (forward_target_insert_breakpoint): Remove.
12328 (target_remove_breakpoint, target_insert_breakpoint)
12329 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12330 * target.h (struct target_ops) <to_resume, to_wait,
12331 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12332 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12333 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12334 markup.
12335 (forward_target_remove_breakpoint)
12336 (forward_target_insert_breakpoint): Remove.
12337 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12338 directly.
12339 (record_btrace_insert_breakpoint): Delegate directly.
12340
1101cb7b
TT
123412014-02-19 Tom Tromey <tromey@redhat.com>
12342
12343 PR build/7701:
12344 * target-delegates.c: New file.
12345 * target.c: Include target-delegates.c.
12346 (init_dummy_target): Call install_dummy_methods.
12347 (complete_target_initialization): Call install_delegators.
12348 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12349 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12350 * make-target-delegates: New file.
12351
8b06beed
TT
123522014-02-19 Tom Tromey <tromey@redhat.com>
12353
12354 * record.c (find_record_target): Use find_target_at.
12355 * target.c (find_target_at): New function.
12356 * target.h (find_target_at): Declare.
12357
6a109b6b
TT
123582014-02-19 Tom Tromey <tromey@redhat.com>
12359
12360 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12361 Add 'ops' argument.
12362 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12363 'ops' argument.
12364 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12365 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12366 'ops' argument.
12367 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12368 argument.
12369 * linux-nat.c (save_sigtrap): Update.
12370 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12371 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12372 (linux_nat_close): Update.
12373 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12374 argument.
12375 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12376 argument.
12377 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12378 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12379 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12380 (tmp_to_async): Add 'ops' argument.
12381 (record_full_stopped_by_watchpoint, record_full_async)
12382 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12383 argument.
12384 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12385 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12386 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12387 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12388 (remote_is_async_p, remote_async): Add 'ops' argument.
12389 (remote_stopped_data_address): Update.
12390 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12391 * target.c (update_current_target)
12392 (find_default_can_async_p, find_default_is_async_p): Update.
12393 (init_dummy_target): Update.
12394 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12395 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12396 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12397 (target_can_async_p, target_is_async_p, target_async)
12398 (target_stopped_by_watchpoint): Update.
12399
e095146b
YQ
124002014-02-19 Yao Qi <yao@codesourcery.com>
12401
12402 PR gdb/16220
12403 * gdbarch.sh: Remove startup_gdbarch.
12404 * gdbarch.c: Regenerated.
12405 * gdbarch.h: Likewise.
12406
bc3c6b36
KB
124072014-02-17 Kevin Buettner <kevinb@redhat.com>
12408
12409 * rl78-tdep.c (rl78_g10_register_name): New function.
12410 (rl78_return_value): Add g10 support.
12411 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12412 g10.
12413
98dc0167 124142014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
12415
12416 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12417 (SUBDIR_GUILE_SRCS): Ditto.
12418 (scm-gsmob.o): Ditto.
12419
842c05cd
YQ
124202014-02-17 Yao Qi <yao@codesourcery.com>
12421
12422 * gnu-nat.c (ILL_RPC): Declare defined function.
12423
25c0bd04
YQ
124242014-02-17 Yao Qi <yao@codesourcery.com>
12425
12426 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12427 mach_msg_type_number_t.
12428 (gnu_write_inferior): Likewise.
12429
a9a758e3
YQ
124302014-02-17 Yao Qi <yao@codesourcery.com>
12431
12432 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12433 in format string.
12434 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12435 (inf_validate_procs, inf_signal): Likewise.
12436 (S_exception_raise_request): Likewise.
12437 (do_mach_notify_dead_name): Likewise.
12438 (steal_exc_port): Likewise.
12439 (gnu_read_inferior): Change 'copy_count''s type to
12440 mach_msg_type_number_t.
12441 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12442 format string.
12443
bae8023e
TS
124442014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12445
c82f56d9
TS
12446 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12447 flag. Adjust all users; in particular...
12448 (gnu_wait): ..., don't decrement its value in here...
12449 (gnu_create_inferior): ..., and instead set the flag in here,
12450 around the startup_inferior call, and call that one with
12451 START_INFERIOR_TRAPS_EXPECTED.
12452
3398af6a
TS
12453 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12454 (ILL_RPC): ... new macro.
12455 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12456 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12457 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12458 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12459 functions with ILL_RPC macro.
12460 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12461 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12462 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12463 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12464 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12465 (S_proc_getlogin_reply, S_proc_getsid_reply)
12466 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12467 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12468 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12469 (S_proc_getnports_reply, S_proc_is_important_reply)
12470 (S_proc_get_code_reply): New stub functions, generated with
12471 ILL_RPC macro.
12472
d47642c9
TS
12473 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12474 collected the type check structures.
12475
bae8023e
TS
12476 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12477
8a55ffb0
DE
124782014-02-14 Doug Evans <dje@google.com>
12479
12480 * target.c (target_write_partial): Fix result type.
12481
c2853f3d
JM
124822014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12483
12484 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12485 the proper offsets to access fpregset_t.
12486
ac61d2db
SA
124872014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12488
12489 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12490 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12491 * h8300-tdep.c (setmachinelist): Remove global.
12492 * hppa-tdep.c (hppa_sigtramp): Remove global.
12493 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12494 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12495 * ravenscar-thread.c (update_target_observer): Remove global.
12496 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12497
9d2d0b8b
TT
124982014-02-12 Tom Tromey <tromey@redhat.com>
12499
12500 * common/rsp-low.c: Update comments.
12501 * common/rsp-low.h: Update comments.
12502
a7191e8b
TT
125032014-02-12 Tom Tromey <tromey@redhat.com>
12504
12505 * common/rsp-low.c (convert_ascii_to_int): Remove.
12506 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12507
ff0e980e
TT
125082014-02-12 Tom Tromey <tromey@redhat.com>
12509
12510 * common/rsp-low.h (unhexify): Don't declare.
12511 * common/rsp-low.c (unhexify): Remove.
12512
e9371aff
TT
125132014-02-12 Tom Tromey <tromey@redhat.com>
12514
12515 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12516 * common/rsp-low.c (convert_int_to_ascii): Remove.
12517
971dc0b8
TT
125182014-02-12 Tom Tromey <tromey@redhat.com>
12519
12520 * common/rsp-low.h (hexify): Don't declare.
12521 * common/rsp-low.c (hexify): Remove.
12522
0a822afb
TT
125232014-02-12 Tom Tromey <tromey@redhat.com>
12524
12525 * common/rsp-low.c (hexify): Never take strlen of argument.
12526
9f1b45b0
TT
125272014-02-12 Tom Tromey <tromey@redhat.com>
12528
12529 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12530 * remote.c (extended_remote_run, remote_rcmd)
12531 (remote_download_trace_state_variable, remote_save_trace_data)
12532 (remote_set_trace_notes): Update.
12533 * tracepoint.c (encode_source_string, tfile_write_status)
12534 (tfile_write_uploaded_tsv): Update.
12535
9c3d6531
TT
125362014-02-12 Tom Tromey <tromey@redhat.com>
12537
12538 * tracepoint.c: Include rsp-low.h.
12539 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12540 * remote.c: Include rsp-low.h.
12541 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12542 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12543 (remote_unescape_input): Move to common/rsp-low.c.
12544 * common/rsp-low.h: New file.
12545 * common/rsp-low.c: New file.
12546 * Makefile.in (SFILES): Add common/rsp-low.c.
12547 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12548 (COMMON_OBS): Add rsp-low.o.
12549 (rsp-low.o): New target.
12550
01fd3ea5
TT
125512014-02-12 Tom Tromey <tromey@redhat.com>
12552
12553 * utils.h: Include print-utils.h.
12554 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12555 (int_string, core_addr_to_string, core_addr_to_string_nz)
12556 (hex_string, hex_string_custom): Don't declare.
12557 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12558 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12559 (hex_string_custom, int_string, core_addr_to_string)
12560 (core_addr_to_string_nz, host_address_to_string): Move to
12561 common/print-utils.c.
12562 * common/print-utils.h: New file.
12563 * common/print-utils.c: New file
12564 * Makefile.in (SFILES): Add common/print-utils.c.
12565 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12566 (COMMON_OBS): Add print-utils.o.
12567 (print-utils.o): New target.
12568
9fb50108
TT
125692014-02-12 Tom Tromey <tromey@redhat.com>
12570
12571 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12572
0548b5db
MK
125732014-02-12 Mark Kettenis <kettenis@gnu.org>
12574
12575 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12576
493443a4
MK
125772014-02-12 Mark Kettenis <kettenis@gnu.org>
12578
12579 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12580 if a PT_IO ptrace request returns sucessfully but indicates that 0
12581 bytes were transferred.
12582
706d0883
PA
125832014-02-12 Pedro Alves <palves@redhat.com>
12584 Kevin Buettner <kevinb@redhat.com>
12585
12586 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12587 TYPE_INSTANCE_FLAG_CODE_SPACE.
12588
5caa2f0b
PA
125892014-02-12 Pedro Alves <palves@redhat.com>
12590
12591 * h8300-tdep.c (pseudo_from_raw_register)
12592 (raw_from_pseudo_register): New functions.
12593 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12594 them.
12595
76fd5f74
PA
125962014-02-12 Pedro Alves <palves@redhat.com>
12597
12598 * h8300-tdep.c (h8300_register_sim_regno): New function.
12599 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12600 gdbarch_register_sim_regno hook.
12601
8f008406
SA
126022014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12603
12604 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12605
195abc10
SA
126062014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12607
12608 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12609
93ffa5b9
MK
126102014-02-12 Mark Kettenis <kettenis@gnu.org>
12611
12612 * obsd-tdep.h (obsd_init_abi): New prototype.
12613 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12614 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12615 (obsd_init_abi): New functions.
12616 * i386obsd-tdep.c: Include "obsd-tdep.h".
12617 (i386obsd_init_abi): Call obsd_init_abi.
12618 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12619 (amd64obsd_init_abi): Call obsd_init_abi.
12620 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12621 obsd-tdep.c to gdb_target_obs.
12622
49caec94
JM
126232014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12624
12625 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12626 double float arguments to 16-byte in the argument slots.
12627
e1402065
DE
126282014-02-11 Doug Evans <xdje42@gmail.com>
12629
12630 * configure.ac: Don't crash if pkg-config is not found and guile
12631 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12632 in guile checks.
12633 * configure: Regenerate.
12634
edcc890f
YQ
126352014-02-11 Yao Qi <yao@codesourcery.com>
12636
12637 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12638 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12639 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12640 * gnu-nat.c (gnu_xfer_memory): Likewise.
12641 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12642 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12643 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12644 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12645
9b409511
YQ
126462014-02-11 Yao Qi <yao@codesourcery.com>
12647
12648 * target.h (enum target_xfer_error): Rename to ...
12649 (enum target_xfer_status): ... it. New. All users updated.
12650 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12651 New.
12652 (TARGET_XFER_STATUS_ERROR_P): New macro.
12653 (target_xfer_error_to_string): Remove declaration.
12654 (target_xfer_status_to_string): Declare.
12655 (target_xfer_partial_ftype): Adjust it.
12656 (struct target_ops) <to_xfer_partial>: Return
12657 target_xfer_status. Add argument xfered_len. Update
12658 comments.
12659 * target.c (target_xfer_error_to_string): Rename to ...
12660 (target_xfer_status_to_string): ... it. New. All callers
12661 updated.
12662 (target_read_live_memory): Likewise. Call target_xfer_partial
12663 instead of target_read.
12664 (memory_xfer_live_readonly_partial): Return
12665 target_xfer_status. Add argument xfered_len.
12666 (raw_memory_xfer_partial): Likewise.
12667 (memory_xfer_partial_1): Likewise.
12668 (memory_xfer_partial): Likewise.
12669 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12670 properly. Update debug message.
12671 (default_xfer_partial, current_xfer_partial): Likewise.
12672 (target_write_partial): Likewise.
12673 (target_read_partial): Likewise. All callers updated.
12674 (read_whatever_is_readable): Likewise.
12675 (target_write_with_progress): Likewise.
12676 (target_read_alloc_1): Likewise.
12677
12678 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12679 * auxv.c (procfs_xfer_auxv): Likewise.
12680 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12681 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12682 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12683 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12684 * corefile.c (read_memory): Adjust.
12685 * corelow.c (core_xfer_partial): Likewise.
12686 * ctf.c (ctf_xfer_partial): Likewise.
12687 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12688 updated.
12689 (darwin_xfer_partial): Likewise.
12690 * exec.c (section_table_xfer_memory_partial): Likewise. All
12691 callers updated.
12692 (exec_xfer_partial): Likewise.
12693 * exec.h (section_table_xfer_memory_partial): Update
12694 declaration.
12695 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12696 negative.
12697 (gnu_xfer_partial): Likewise.
12698 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12699 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12700 (ia64_hpux_xfer_solib_got): Likewise.
12701 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12702 type of 'partial_len' to ULONGEST.
12703 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12704 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12705 (linux_nat_xfer_partial): Likewise.
12706 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12707 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12708 * monitor.c (monitor_xfer_memory): Likewise.
12709 (monitor_xfer_partial): Likewise.
12710 * procfs.c (procfs_xfer_partial): Likewise.
12711 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12712 * record-full.c (record_full_xfer_partial): Likewise.
12713 (record_full_core_xfer_partial): Likewise.
12714 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12715 (gdbsim_xfer_partial): Likewise.
12716 * remote.c (remote_write_bytes_aux): Likewise. All callers
12717 updated.
12718 (remote_write_bytes, remote_read_bytes): Likewise. All
12719 callers updated.
12720 (remote_flash_erase): Likewise. All callers updated.
12721 (remote_write_qxfer): Likewise. All callers updated.
12722 (remote_read_qxfer): Likewise. All callers updated.
12723 (remote_xfer_partial): Likewise.
12724 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12725 (rs6000_xfer_shared_libraries): Likewise.
12726 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12727 (sol_thread_xfer_partial): Likewise.
12728 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12729 (sparc_xfer_partial): Likewise.
12730 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12731 updated.
12732 (spu_xfer_partial): Likewise.
12733 * spu-multiarch.c (spu_xfer_partial): Likewise.
12734 * tracepoint.c (tfile_xfer_partial): Likewise.
12735 * windows-nat.c (windows_xfer_memory): Likewise.
12736 (windows_xfer_shared_libraries): Likewise.
12737 (windows_xfer_partial): Likewise.
12738 * valprint.c: Replace 'target_xfer_error' with
12739 'target_xfer_status' in comments.
12740
a8e63083
JB
127412014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12742
12743 Checked in by Joel Brobecker <brobecker@adacore.com>.
12744 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12745
e86b67d3
JB
127462014-02-11 Joel Brobecker <brobecker@adacore.com>
12747
12748 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12749 function parameters.
12750
4b7d1f7f
WN
127512014-02-10 Will Newton <will.newton@linaro.org>
12752
12753 * elfread.c (elf_rel_plt_read): Look for a .got section if
12754 looking up .got.plt fails.
12755 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12756 on address passed to elf_gnu_ifunc_record_cache.
12757 (elf_gnu_ifunc_resolve_addr): Likewise.
12758 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12759
961842b2
JM
127602014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12761
12762 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12763 (X_RETTURN): New macro.
12764 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12765
12766 * sparc64-tdep.c (sparc64_init_abi): Hook
12767 sparc_in_function_epilogue_p.
12768
3f03e7b1
GB
127692014-02-10 Gary Benson <gbenson@redhat.com>
12770
12771 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12772 Rename name_matcher to symbol_matcher.
12773
96f861ef
GB
127742014-02-10 Gary Benson <gbenson@redhat.com>
12775
12776 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12777 Use expand_symtabs_file_matcher_ftype and
12778 expand_symtabs_symbol_matcher_ftype.
12779
ee01b665
JB
127802014-02-10 Joel Brobecker <brobecker@adacore.com>
12781
12782 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12783 (struct ada_symbol_cache): New.
12784 (ada_free_symbol_cache): Forward declare.
12785 (struct ada_pspace_data): New.
12786 (ada_pspace_data_handle): New static global.
12787 (get_ada_pspace_data, ada_pspace_data_cleanup)
12788 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12789 (cache_space, cache): Delete, now folded inside struct
12790 ada_pspace_data.
12791 (ada_get_symbol_cache): New function.
12792 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12793 implementation.
12794 (_initialize_ada_language): Remove initialization of cache_space.
12795 Move call to observer_attach_inferior_exit up, grouping it
12796 with the other observer registrations inside this function.
12797 Rename command to be more general. Add call to
12798 register_program_space_data_with_cleanup.
12799
143adbbf
JB
128002014-02-10 Joel Brobecker <brobecker@adacore.com>
12801
12802 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12803 ada_new_objfile_observer.
12804 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12805 (_initialize_tasks): Update uses of ada_new_objfile_observer
12806 and ada_tasks_normal_stop_observer.
12807
aa4fb036
JB
128082014-02-10 Joel Brobecker <brobecker@adacore.com>
12809
12810 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12811 returned by the 'Length attribute to integer.
12812
9dee8cc6
JB
128132014-02-10 Joel Brobecker <brobecker@adacore.com>
12814
12815 * ada-lang.c (_initialize_ada_language): Initialize
12816 cache_space obstack.
12817
3d9434b5
JB
128182014-02-10 Joel Brobecker <brobecker@adacore.com>
12819
12820 * ada-lang.c (HASH_SIZE): New macro.
12821 (struct cache_entry): New type.
12822 (cache_space, cache): New static globals.
12823 (ada_clear_symbol_cache, find_entry): New functions.
12824 (lookup_cached_symbol, cache_symbol): Implement.
12825 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12826 (_initialize_ada_language): Attach ada_new_objfile_observer
12827 and ada_free_objfile_observer.
12828
f0c5f9b2
JB
128292014-02-10 Joel Brobecker <brobecker@adacore.com>
12830
12831 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12832 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12833 struct block * parameter.
12834 (ada_lookup_symbol_list_worker): Constify local variable "block".
12835 Remove cast which is no longer necessary.
12836
ed3ef339
DE
128372014-02-10 Doug Evans <xdje42@gmail.com>
12838
12839 Add Guile as an extension language.
12840 * NEWS: Mention Guile scripting.
12841 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12842 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12843 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12844 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12845 (CLIBS): Add GUILE_LIBS.
12846 (install-guile): New rule.
12847 (guile.o): New rule.
12848 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12849 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12850 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12851 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12852 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12853 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12854 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12855 * configure.ac: New option --with-guile.
12856 * configure: Regenerate.
12857 * config.in: Regenerate.
12858 * auto-load.c: Remove #include "python/python.h". Add #include
12859 "gdb/section-scripts.h".
12860 (source_section_scripts): Handle Guile scripts.
12861 (_initialize_auto_load): Add name of Guile objfile script to
12862 scripts-directory help text.
12863 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12864 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12865 (struct breakpoint): New member scm_bp_object.
12866 * defs.h (enum command_control_type): New value guile_control.
12867 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12868 "extension.h".
12869 (show_user): Update comment.
12870 (_initialize_cli_cmds): Update help text for "show user". Update help
12871 text for max-user-call-depth.
12872 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12873 "extension.h".
12874 (multi_line_command_p): Add guile_control.
12875 (print_command_lines): Handle guile_control.
12876 (execute_control_command, recurse_read_control_structure): Ditto.
12877 (process_next_line): Recognize "guile" commands.
12878 * disasm.c (gdb_disassemble_info): Make non-static.
12879 * disasm.h: #include "dis-asm.h".
12880 (struct gdbarch): Add forward decl.
12881 (gdb_disassemble_info): Declare.
12882 * extension.c: #include "guile/guile.h".
12883 (extension_languages): Add guile.
12884 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12885 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12886 * gdbtypes.c (get_unsigned_type_max): New function.
12887 (get_signed_type_minmax): New function.
12888 * gdbtypes.h (get_unsigned_type_max): Declare.
12889 (get_signed_type_minmax): Declare.
12890 * guile/README: New file.
12891 * guile/guile-internal.h: New file.
12892 * guile/guile.c: New file.
12893 * guile/guile.h: New file.
12894 * guile/scm-arch.c: New file.
12895 * guile/scm-auto-load.c: New file.
12896 * guile/scm-block.c: New file.
12897 * guile/scm-breakpoint.c: New file.
12898 * guile/scm-disasm.c: New file.
12899 * guile/scm-exception.c: New file.
12900 * guile/scm-frame.c: New file.
12901 * guile/scm-gsmob.c: New file.
12902 * guile/scm-iterator.c: New file.
12903 * guile/scm-lazy-string.c: New file.
12904 * guile/scm-math.c: New file.
12905 * guile/scm-objfile.c: New file.
12906 * guile/scm-ports.c: New file.
12907 * guile/scm-pretty-print.c: New file.
12908 * guile/scm-safe-call.c: New file.
12909 * guile/scm-string.c: New file.
12910 * guile/scm-symbol.c: New file.
12911 * guile/scm-symtab.c: New file.
12912 * guile/scm-type.c: New file.
12913 * guile/scm-utils.c: New file.
12914 * guile/scm-value.c: New file.
12915 * guile/lib/gdb.scm: New file.
12916 * guile/lib/gdb/boot.scm: New file.
12917 * guile/lib/gdb/experimental.scm: New file.
12918 * guile/lib/gdb/init.scm: New file.
12919 * guile/lib/gdb/iterator.scm: New file.
12920 * guile/lib/gdb/printing.scm: New file.
12921 * guile/lib/gdb/types.scm: New file.
12922 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12923 (VPATH): Add $(GUILE_SRCDIR).
12924 (GUILE_DIR): New variable.
12925 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12926 (all): Add stamp-guile dependency.
12927 (stamp-guile): New rule.
12928 (clean-guile, install-guile, uninstall-guile): New rules.
12929 (install-only): Add install-guile dependency.
12930 (uninstall): Add uninstall-guile dependency.
12931 (clean): Add clean-guile dependency.
12932
ac020ec5
DE
129332014-02-09 Doug Evans <xdje42@gmail.com>
12934
12935 Revert this patch (which I approved, mea culpa).
12936
12937 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12938
12939 * Makefile.in (all-lib): Remove.
12940 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12941
2a081c59
JK
129422014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12943
12944 Fix Python stack corruption.
12945 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12946 gdb_py_longest.
12947
0a6bd22d
MK
129482014-02-08 Mark Kettenis <kettenis@gnu.org>
12949
12950 * Makefile.in (all-lib): Remove.
12951 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12952
1a860409
DE
129532014-02-07 Doug Evans <dje@google.com>
12954
12955 * extension-priv.h (extension_language_script_ops): Add comment.
12956 (extension_language_ops): Add comment.
caf5a491 12957 (active_ext_lang_state): Fix typo in comment.
1a860409 12958
d137e6dc
PA
129592014-02-07 Pedro Alves <palves@redhat.com>
12960
0dcb32c3 12961 PR breakpoints/16292
d137e6dc
PA
12962 * infrun.c (handle_signal_stop) <signal arrives while stepping
12963 over a breakpoint>: Switch back to the stepping thread.
12964
ce6d0892
YQ
129652014-02-07 Yao Qi <yao@codesourcery.com>
12966
12967 * target.c (target_xfer_partial): Return zero if LEN is zero.
12968
2ed4b548
YQ
129692014-02-07 Yao Qi <yao@codesourcery.com>
12970
12971 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12972 (ld_so_xfer_auxv): Likewise.
12973 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12974 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12975 * corelow.c (core_xfer_partial): Likewise.
12976 * ctf.c (ctf_xfer_partial): Likewise.
12977 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12978 (darwin_xfer_partial): Likewise.
12979 * exec.c (exec_xfer_partial): Likewise.
12980 * gnu-nat.c (gnu_xfer_partial): Likewise.
12981 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12982 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12983 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12984 * linux-nat.c (linux_xfer_siginfo): Likewise.
12985 (linux_proc_xfer_spu): Likewise.
12986 * procfs.c (procfs_xfer_partial): Likewise.
12987 * record-full.c (record_full_xfer_partial): Likewise.
12988 (record_full_core_xfer_partial): Likewise.
12989 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12990 * remote.c (remote_write_qxfer): Likewise.
12991 (remote_write_qxfer, remote_read_qxfer): Likewise.
12992 (remote_xfer_partial): Likewise.
12993 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12994 (rs6000_xfer_shared_libraries): Likewise.
12995 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12996 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12997 (spu_xfer_partial): Likewise.
12998 * target.c (memory_xfer_partial_1): Likewise.
12999 * tracepoint.c (tfile_xfer_partial): Likewise.
13000 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13001 (windows_xfer_partial): Likewise.
13002
c09f20e4
YQ
130032014-02-07 Yao Qi <yao@codesourcery.com>
13004
13005 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13006 comments.
13007 (core_xfer_shared_libraries_aix): Likewise.
13008 * gdbarch.c, gdbarch.h: Regenerated.
13009 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13010 ULONGEST. Change 'len_avail' type to ULONGEST.
13011 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13012 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13013 declaration.
13014 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13015
8635b3bf
YQ
130162014-02-07 Yao Qi <yao@codesourcery.com>
13017
13018 * corefile.c (memory_error): Get 'exception' from ERR and pass
13019 'exception' to throw_error.
13020
6dddc817
DE
130212014-02-06 Doug Evans <xdje42@gmail.com>
13022
13023 * configure.ac (libpython checking): Remove all but python.o from
13024 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13025 * configure: Regenerate.
13026
13027 * Makefile.in (SFILES): Add extension.c.
13028 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13029 (COMMON_OBS): Add extension.o.
13030 * extension.h: New file.
13031 * extension-priv.h: New file.
13032 * extension.c: New file.
13033
13034 * python/python-internal.h: #include "extension.h".
13035 (gdbpy_auto_load_enabled): Declare.
13036 (gdbpy_apply_val_pretty_printer): Declare.
13037 (gdbpy_apply_frame_filter): Declare.
13038 (gdbpy_preserve_values): Declare.
13039 (gdbpy_breakpoint_cond_says_stop): Declare.
13040 (gdbpy_breakpoint_has_cond): Declare.
13041 (void source_python_script_for_objfile): Delete.
13042 * python/python.c: #include "extension-priv.h".
13043 Delete inclusion of "observer.h".
13044 (extension_language_python): Moved here and renamed from
13045 script_language_python in py-auto-load.c.
13046 Redefined to be of type extension_language_defn.
13047 (python_extension_script_ops): New global.
13048 (python_extension_ops): New global.
13049 (struct python_env): New member previous_active.
13050 (restore_python_env): Call restore_active_ext_lang.
13051 (ensure_python_env): Call set_active_ext_lang.
13052 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13053 New arg extlang.
13054 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13055 New arg extlang.
13056 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13057 New arg extlang.
13058 (gdbpy_eval_from_control_command): Renamed from
13059 eval_python_from_control_command, made static. New arg extlang.
13060 (gdbpy_source_script) Renamed from source_python_script, made static.
13061 New arg extlang.
13062 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13063 result to int. New arg extlang.
13064 (gdbpy_source_objfile_script): Renamed from
13065 source_python_script_for_objfile, made static. New arg extlang.
13066 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13067 static. New args extlang, extlang_printers. Change result type to
13068 "void".
13069 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13070 static. New arg extlang. Rename arg printers to extlang_printers
13071 and change type to ext_lang_type_printers *.
13072 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13073 static. Replace argument arg with extlang, extlang_printers.
13074 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13075 (!HAVE_PYTHON, source_python_script): Delete.
13076 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13077 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13078 (!HAVE_PYTHON, start_type_printers): Delete.
13079 (!HAVE_PYTHON, apply_type_printers): Delete.
13080 (!HAVE_PYTHON, free_type_printers): Delete.
13081 (_initialize_python): Delete call to observer_attach_before_prompt.
13082 (finalize_python): Set/restore active extension language.
13083 (gdbpy_finish_initialization) Renamed from
13084 finish_python_initialization, made static. New arg extlang.
13085 (gdbpy_initialized): New function.
13086 * python/python.h: #include "extension.h". Delete #include
13087 "value.h", "mi/mi-cmds.h".
13088 (extension_language_python): Declare.
13089 (GDBPY_AUTO_FILE_NAME): Delete.
13090 (enum py_bt_status): Moved to extension.h and renamed to
13091 ext_lang_bt_status.
13092 (enum frame_filter_flags): Moved to extension.h.
13093 (enum py_frame_args): Moved to extension.h and renamed to
13094 ext_lang_frame_args.
13095 (finish_python_initialization): Delete.
13096 (eval_python_from_control_command): Delete.
13097 (source_python_script): Delete.
13098 (apply_val_pretty_printer): Delete.
13099 (apply_frame_filter): Delete.
13100 (preserve_python_values): Delete.
13101 (gdbpy_script_language_defn): Delete.
13102 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13103 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13104
13105 * auto-load.c: #include "extension.h".
13106 (GDB_AUTO_FILE_NAME): Delete.
13107 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13108 (script_language_gdb): Delete, moved to extension.c and renamed to
13109 extension_language_gdb.
13110 (source_gdb_script_for_objfile): Delete.
13111 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13112 (loaded_script): Change type of language member to
13113 struct extension_language_defn *.
13114 (init_loaded_scripts_info): Initialize
13115 unsupported_script_warning_printed.
13116 (maybe_add_script): Make static. Change type of language arg to
13117 struct extension_language_defn *.
13118 (clear_section_scripts): Reset unsupported_script_warning_printed.
13119 (auto_load_objfile_script_1): Rewrite to use extension language API.
13120 (auto_load_objfile_script): Make public. Remove support-compiled-in
13121 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13122 (source_section_scripts): Rewrite to use extension language API.
13123 (load_auto_scripts_for_objfile): Rewrite to use
13124 auto_load_scripts_for_objfile.
13125 (collect_matching_scripts_data): Change type of language member to
13126 struct extension_language_defn *.
13127 (auto_load_info_scripts): Change type of language arg to
13128 struct extension_language_defn *.
13129 (unsupported_script_warning_print): New function.
13130 (script_not_found_warning_print): Make static.
13131 (_initialize_auto_load): Rewrite construction of scripts-directory
13132 help.
13133 * auto-load.h (struct objfile): Add forward decl.
13134 (struct script_language): Delete.
13135 (struct auto_load_pspace_info): Add forward decl.
13136 (struct extension_language_defn): Add forward decl.
13137 (maybe_add_script): Delete.
13138 (auto_load_objfile_script): Declare.
13139 (script_not_found_warning_print): Delete.
13140 (auto_load_info_scripts): Update prototype.
13141 (auto_load_gdb_scripts_enabled): Declare.
13142 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13143 auto_load_python_scripts_enabled and made public.
13144 (script_language_python): Delete, moved to python.c.
13145 (gdbpy_script_language_defn): Delete.
13146 (info_auto_load_python_scripts): Update to use
13147 extension_language_python.
13148
13149 * breakpoint.c (condition_command): Replace call to
13150 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13151 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13152 with call to breakpoint_ext_lang_cond_says_stop.
13153 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13154 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13155 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13156 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13157 New arg slang.
13158 (local_setattro): Print name of extension language with existing
13159 stop condition.
13160
13161 * valprint.c (val_print, value_print): Update to call
13162 apply_ext_lang_val_pretty_printer.
13163 * cp-valprint.c (cp_print_value): Update call to
13164 apply_ext_lang_val_pretty_printer.
13165 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13166 (gdbpy_apply_val_pretty_printer): Renamed from
13167 apply_val_pretty_printer. New arg extlang.
13168 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13169
13170 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13171 extension language API.
13172 * cli/cli-script.c (execute_control_command): Update to call
13173 eval_ext_lang_from_control_command.
13174
13175 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13176 enum ext_lang_bt_status values. Update call to
13177 apply_ext_lang_frame_filter.
13178 (mi_cmd_stack_list_locals): Ditto.
13179 (mi_cmd_stack_list_args): Ditto.
13180 (mi_cmd_stack_list_variables): Ditto.
13181 * mi/mi-main.c: Delete #include "python/python-internal.h".
13182 Add #include "extension.h".
13183 (mi_cmd_list_features): Replace reference to python internal variable
13184 gdb_python_initialized with call to ext_lang_initialized_p.
13185
13186 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13187 Update to use enum ext_lang_frame_args. Update to call
13188 apply_ext_lang_frame_filter.
13189 * python/py-framefilter.c (extract_sym): Update to use enum
13190 ext_lang_bt_status.
13191 (extract_value, py_print_type, py_print_value): Ditto.
13192 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13193 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13194 (py_print_frame): Ditto.
13195 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13196 New arg extlang. Update to use enum ext_lang_bt_status.
13197
13198 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13199 finish_python_initialization. Replace with call to
13200 finish_ext_lang_initialization.
13201
13202 * typeprint.c (do_free_global_table): Update to call
13203 free_ext_lang_type_printers.
13204 (create_global_typedef_table): Update to call
13205 start_ext_lang_type_printers.
13206 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13207 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13208 (type_print_options): Change type of global_printers from "void *"
13209 to "struct ext_lang_type_printers *".
13210
13211 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13212 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13213 (gdbpy_preserve_values): Renamed from preserve_python_values.
13214 New arg extlang.
13215 (!HAVE_PYTHON, preserve_python_values): Delete.
13216
13217 * utils.c (quit_flag): Delete, moved to extension.c.
13218 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13219 extension.c.
13220
13221 * eval.c: Delete #include "python/python.h".
13222 * main.c: Delete #include "python/python.h".
13223
13224 * defs.h: Update comment.
13225
6af79985
JB
132262014-02-06 Joel Brobecker <brobecker@adacore.com>
13227
13228 GDB 7.7 released.
13229
12c5175d
MK
132302014-02-05 Mark Kettenis <kettenis@gnu.org>
13231
13232 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13233 defined.
13234
8dc5b319
YQ
132352014-02-05 Yao Qi <yao@codesourcery.com>
13236
13237 * remote.c (remote_pass_signals): Remove local 'buf' and use
13238 rs->buf.
13239 (remote_program_signals): Likewise.
13240
de7b2893
YQ
132412014-02-05 Yao Qi <yao@codesourcery.com>
13242
13243 * ctf.c: Include "inferior.h" and "gdbthread.h".
13244 (CTF_PID): A new macro.
13245 (ctf_open): Call inferior_appeared and add_thread_silent.
13246 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13247 (ctf_thread_alive): New function.
13248 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13249
66d032ac
YQ
132502014-02-05 Yao Qi <yao@codesourcery.com>
13251
13252 Revert this patch:
13253
13254 2013-05-24 Yao Qi <yao@codesourcery.com>
13255
13256 * tracepoint.c (TFILE_PID): Remove.
13257 (tfile_open): Don't add thread and inferior.
13258 (tfile_close): Don't set 'inferior_ptid'. Don't call
13259 exit_inferior_silent.
13260 (tfile_thread_alive): Remove.
13261 (init_tfile_ops): Don't set field 'to_thread_alive' of
13262 tfile_ops.
13263
f4ccffad
CE
132642014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13265
13266 * remote.c (remote_start_remote): Call remote_check_symbols even
13267 if only symbol-file (not file) has been given.
13268
591a12a1
UW
132692014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13270
13271 * gdbarch.sh (skip_entrypoint): New callback.
13272 * gdbarch.c, gdbarch.h: Regenerate.
13273 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13274 * infrun.c (fill_in_stop_func): Likewise.
13275 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13276 (ppc_elfv2_elf_make_msymbol_special): New function.
13277 (ppc_elfv2_skip_entrypoint): Likewise.
13278 (ppc_linux_init_abi): Install them for ELFv2.
13279
cc0e89c5
UW
132802014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13281
13282 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13283 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13284 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13285 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13286 structures returned in GPRs.
13287
52f548e4
UW
132882014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13289
13290 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13291 offset to the stack parameter list for the ELFv2 ABI.
13292
d4094b6a
UW
132932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13294
13295 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13296 set_gdbarch_convert_from_func_ptr_addr and
13297 set_gdbarch_elf_make_msymbol_special for ELFv1.
13298 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13299 function descriptors on ELFv1.
13300 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13301 set up r12 at function entry.
13302
cd453cd0
UW
133032014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13304
13305 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13306 (struct gdbarch_tdep): New member elf_abi.
13307
13308 * rs6000-tdep.c: Include "elf/ppc64.h".
13309 (rs6000_gdbarch_init): Detect ELF ABI version.
13310
0ff3e01f
UW
133112014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13312
13313 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13314 within a register pair holding a DFP 128-bit value on little-endian.
13315 (ppc64_sysv_abi_return_value_base): Likewise.
13316 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13317 (dfp_pseudo_register_write): Likewise.
13318
5b757e5d
UW
133192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13320
13321 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13322 offset on little-endian when passing _Decimal32.
13323 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13324
084ee545
UW
133252014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13326
13327 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13328 of the overlapped FP register within the VSX register on little-
13329 endian platforms.
13330 (efpr_pseudo_register_write): Likewise.
13331
d63167af
UW
133322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13333
13334 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13335 offset on little-endian when passing small structures.
13336
e765b44c
UW
133372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13338
13339 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13340 (struct ppc64_sysv_argpos): New data structure.
13341 (ppc64_sysv_abi_push_float): Remove.
13342 (ppc64_sysv_abi_push_val): New function.
13343 (ppc64_sysv_abi_push_integer): Likewise.
13344 (ppc64_sysv_abi_push_freg): Likewise.
13345 (ppc64_sysv_abi_push_vreg): Likewise.
13346 (ppc64_sysv_abi_push_param): Likewise.
13347 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13348 (ppc64_sysv_abi_return_value_base): New function.
13349 (ppc64_sysv_abi_return_value): Refactor to use it.
13350
36c24d95
UW
133512014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13352
13353 * NEWS: Document new target powerpc64le-*-linux*.
13354
26fd9228
MK
133552014-02-04 Mark Kettenis <kettenis@gnu.org>
13356
13357 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13358 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13359 core dumps.
13360 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13361 register set used in ELF core dumps. Add floating-point register set.
13362
c5bb7362
KB
133632014-02-03 Kevin Buettner <kevinb@redhat.com>
13364
74228e77 13365 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
13366 dwarf2_to_gdb[] table using symbolic constants. Adjust
13367 penultimate entry from number representing the PC register
13368 to symbolic constant representing the MDR register. Add
13369 constant for the PC register to the end of the table.
13370
af09351e
MK
133712014-02-03 Mark Kettenis <kettenis@gnu.org>
13372
13373 * bsd-kvm.c: Include <sys/param.h>
13374
8507e05d
MK
133752014-02-03 Mark Kettenis <kettenis@gnu.org>
13376
13377 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13378
ae56bfb8
JB
133792014-01-31 Joel Brobecker <brobecker@adacore.com>
13380
13381 * ada-lang.h (clear_ada_sym_cache): Delete.
13382
718ee4dc
UW
133832014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13384
13385 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13386
401e27fd
JM
133872014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13388
13389 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13390 the sigreturn register save area only if the syscall is
13391 sigreturn.
13392
a7c88acd
JB
133932014-01-29 Joel Brobecker <brobecker@adacore.com>
13394
13395 * valops.c (value_slice): Minor reformatting.
13396
fa0079ea
UW
133972014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13398
13399 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13400
c6044dd1
JB
134012014-01-28 Joel Brobecker <brobecker@adacore.com>
13402
13403 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13404 New static globals.
13405 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13406 (ada_ignore_descriptive_types_p): New static global.
13407 (find_parallel_type_by_descriptive_type): Return immediately
13408 if ada_ignore_descriptive_types_p is set.
13409 (_initialize_ada_language): Register new commands "maintenance
13410 set ada", "maintenance show ada", "maintenance set ada
13411 ignore-descriptive-types" and "maintenance show ada
13412 ignore-descriptive-types".
13413 * NEWS: Add entry for new "maint ada set/show
13414 ignore-descriptive-types" commands.
13415
568e808b
MM
134162014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13417
13418 * record-btrace.c (record_btrace_close): Call btrace_teardown
13419 for all threads.
13420
467d141b
JB
134212014-01-27 Joel Brobecker <brobecker@adacore.com>
13422
13423 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13424 "ui-out.h".
13425
fb151210
JB
134262014-01-27 Joel Brobecker <brobecker@adacore.com>
13427
13428 * ada-typeprint (type_is_full_subrange_of_target_type):
13429 New function.
13430 (print_range): Add parameter bounds_prefered_p. If not set,
13431 try printing range types using the name of their base type.
13432 (print_range_type): Add parameter bounds_prefered_p.
13433 Use it in call to print_range.
13434 (print_array_type, ada_print_type): Update calls to print_range
13435 and print_range_type.
13436
aba02109
JB
134372014-01-27 Joel Brobecker <brobecker@adacore.com>
13438
13439 * ada-typeprint.c (print_array_type, print_choices, print_range)
13440 (print_range_bound, print_dynamic_range_bound, print_range_type):
13441 Remove declaration.
13442
e62e21fd
JB
134432014-01-27 Joel Brobecker <brobecker@adacore.com>
13444
13445 * ada-typeprint.c (print_range): Add missing empty line
13446 after local declaration.
13447
859cf5d1
JB
134482014-01-27 Joel Brobecker <brobecker@adacore.com>
13449
13450 * ada-valprint.c (print_optional_low_bound): Get index_type's
13451 target type for as long as it is a TYPE_CODE_RANGE.
13452
25790f6f
JB
134532014-01-27 Joel Brobecker <brobecker@adacore.com>
13454
13455 * procfs.c (procfs_make_note_section): Remove assertion and
13456 associated comment.
13457
6b6aa828
YQ
134582014-01-24 Yao Qi <yao@codesourcery.com>
13459
13460 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13461 * corelow.c (get_core_siginfo): Likewise.
13462
5d6df423
YQ
134632014-01-24 Yao Qi <yao@codesourcery.com>
13464
13465 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13466 ULONGEST. Don't check 'len' is negative.
13467 (remote_write_bytes): Change type of 'len' to ULONGEST.
13468
83b645b8
TT
134692014-01-23 Tom Tromey <tromey@redhat.com>
13470
13471 PR python/16485:
13472 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13473 Handle exception from frame.block.
13474 (FrameVars.fetch_frame_locals): Likewise.
13475
0740f8d8
TT
134762014-01-23 Tom Tromey <tromey@redhat.com>
13477
13478 PR python/16487:
13479 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13480 on a NULL pointer. Move "goto error" to correct place.
13481
21909fa1
TT
134822014-01-23 Tom Tromey <tromey@redhat.com>
13483
13484 PR python/16491:
13485 * python/py-framefilter.c (apply_frame_filter): Call
13486 ensure_python_env after computing gdbarch.
13487
17fde6d0
YQ
134882014-01-23 Yao Qi <yao@codesourcery.com>
13489
13490 * target.c (raw_memory_xfer_partial): Change argument type
13491 from void * to gdb_byte *.
13492 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13493
87ce2a04
DE
134942014-01-22 Doug Evans <dje@google.com>
13495
13496 New gdbserver option --debug-format=timestamp.
13497 * NEWS: Mention it.
13498
237b092b
AA
134992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13500
13501 * syscalls/s390x-linux.xml: New file.
13502 * syscalls/s390-linux.xml: New file.
13503 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13504 (XML_SYSCALL_FILENAME_S390X): Likewise.
13505 (op_svc): New enum value for SVC opcode.
13506 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13507 (s390_linux_get_syscall_number): New function.
13508 (s390_gdbarch_init): Register '*get_syscall_number' and the
13509 syscall xml file name.
13510 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13511 "s390-linux.xml" and "s390x-linux.xml".
13512 * NEWS: Announce new feature.
13513
54bff650
BS
135142014-01-22 Baruch Siach <baruch@tkos.co.il>
13515
13516 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13517
14e361d7
PA
135182014-01-22 Pedro Alves <palves@redhat.com>
13519
13520 * xtensa-config.c: Include defs.h.
13521
46bbb3ed
JB
135222014-01-22 Joel Brobecker <brobecker@adacore.com>
13523
13524 * common/common-utils.h: Add "ARI:" comment beside __func__
13525 reference.
13526
3a80edfc
JB
135272014-01-22 Joel Brobecker <brobecker@adacore.com>
13528
13529 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13530 documentation a bit.
13531
4869db5e
RM
135322014-01-21 Roland McGrath <mcgrathr@google.com>
13533
13534 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13535 * configure: Regenerate.
13536 * aclocal.m4: Regenerate.
13537 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13538 New substituted variables.
13539 (install-strip): New target.
13540 (INSTALL_SCRIPT): New substituted variable.
13541 (FLAGS_TO_PASS): Add it.
13542 (install-only): Use $(INSTALL_SCRIPT) rather than
13543 $(INSTALL_PROGRAM) for gcore.
13544
9ea4267d
TT
135452014-01-20 Tom Tromey <tromey@redhat.com>
13546
13547 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13548 together.
13549
1f2bdf09
TT
135502014-01-20 Tom Tromey <tromey@redhat.com>
13551
13552 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13553 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13554 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13555 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13556 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13557 (struct cmd_list_element) <flags>: Remove.
13558 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13559 doc_allocated>: New fields.
13560 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13561 bitfields.
13562 * maint.c (maintenance_do_deprecate): Update.
13563 * top.c (execute_command): Update.
13564
e671835b
BS
135652014-01-20 Baruch Siach <baruch@tkos.co.il>
13566
13567 * xtensa-linux-nat.c: Include asm/ptrace.h.
13568
50367cd2
IB
135692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13570
13571 * Makefile.in (SFILES): Add d-support.c.
13572 (COMMON_OBS): Add d-support.o.
13573 * d-lang.h (d_parse_symbol): Add comment, now defined in
13574 d-support.c.
13575 * d-lang.c (parse_call_convention)
13576 (parse_attributes, parse_function_types)
13577 (parse_function_args, parse_type, parse_identifier)
13578 (call_convention_p, d_parse_symbol): Move functions to ...
13579 * d-support.c: ... New file.
13580
ec9f644a
IB
135812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13582
13583 * d-lang.h (d_parse_symbol): Add declaration.
13584 * d-lang.c (extract_identifiers)
13585 (extract_type_info): Remove functions.
13586 (parse_call_convention, parse_attributes)
13587 (parse_function_types, parse_function_args)
13588 (parse_type, parse_identifier, call_convention_p)
13589 (d_parse_symbol): New functions.
13590 (d_demangle): Use d_parse_symbol to demangle D symbols.
13591
94b1b47e
IB
135922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13593
13594 * d-lang.h (struct builtin_d_type): New data type.
13595 (builtin_d_type): Add declaration.
13596 * d-lang.c (d_language_arch_info, build_d_types)
13597 (builtin_d_type): New functions.
13598 (enum d_primitive_types): New data type.
13599 (d_language_defn): Change c_language_arch_info to
13600 d_language_arch_info.
13601 (d_type_data): New static variable.
13602 (_initialize_d_language): Initialize d_type_data.
13603
63778547
IB
136042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13605
13606 * d-lang.h (d_main_name): Add declaration.
13607 * d-lang.c (d_main_name): New function.
13608 * symtab.c (find_main_name): Add call to d_main_name.
13609
3271ba66
IB
136102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13611
13612 * d-lang.c (d_language_defn): Change macro_expansion_c to
13613 macro_expansion_no.
13614
d36b3012
IB
136152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13616
13617 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13618
c90a6fb7
SDJ
136192014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13620
13621 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13622 gdb_exception" declaration.
13623 * remote.c (getpkt_or_notif_sane): Likewise.
13624
749234e5
DE
136252014-01-17 Doug Evans <dje@google.com>
13626
13627 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13628 function, contents of dirnames_to_char_ptr_vec_append moved here.
13629 (delim_string_to_char_ptr_vec): New function.
13630 (dirnames_to_char_ptr_vec_append): Rewrite.
13631 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13632
df049a58
DE
136332014-01-17 Doug Evans <dje@google.com>
13634
13635 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13636 and moved here ...
13637 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13638 #include "common-utils.h".
13639 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13640 * common/vec.h (VEC_ASSERT_PASS): Update.
13641 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13642 (MACH_CHECK_ERROR): Update.
13643
69f97648
SM
136442014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13645
13646 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13647 comments.
13648 * gdbarch.h: Regenerate.
13649
98b1cfdc
TT
136502014-01-16 Tom Tromey <tromey@redhat.com>
13651
13652 * value.c (struct value) <regnum>: Move earlier.
13653
77a19445
TT
136542014-01-16 Tom Tromey <tromey@redhat.com>
13655
13656 * remote.c (extended_remote_create_inferior): Rename from
13657 extended_remote_create_inferior_1. Add "ops" argument. Remove
13658 old implementation.
13659
62261490
PA
136602014-01-16 Pedro Alves <palves@redhat.com>
13661
13662 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13663 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13664 the backchain.
13665
4d65956b
DE
136662014-01-16 Doug Evans <dje@google.com>
13667
13668 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13669
52834460
MM
136702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13671
13672 * btrace.h (btrace_thread_flag): New.
13673 (struct btrace_thread_info) <flags>: New.
13674 * record-btrace.c (record_btrace_resume_thread)
13675 (record_btrace_find_thread_to_move, btrace_step_no_history)
13676 (btrace_step_stopped, record_btrace_start_replaying)
13677 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13678 (record_btrace_find_resume_thread): New.
13679 (record_btrace_resume, record_btrace_wait): Extend.
13680 (record_btrace_can_execute_reverse): New.
13681 (record_btrace_open): Fail in non-stop mode.
13682 (record_btrace_set_replay): Split into this, ...
13683 (record_btrace_stop_replaying): ... this, ...
13684 (record_btrace_clear_histories): ... and this.
13685 (init_record_btrace_ops): Init to_can_execute_reverse.
13686 * NEWS: Announce it.
13687
118e6252
MM
136882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13689
13690 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13691 (forward_target_decr_pc_after_break)
13692 (target_decr_pc_after_break): New.
13693 * target.c (forward_target_decr_pc_after_break)
13694 (target_decr_pc_after_break): New.
13695 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13696 instead of gdbarch_decr_pc_after_break.
13697 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13698 instead of gdbarch_decr_pc_after_break.
13699 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13700 instead of gdbarch_decr_pc_after_break.
13701 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13702 instead of gdbarch_decr_pc_after_break.
13703 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13704 instead of gdbarch_decr_pc_after_break.
13705 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13706 instead of gdbarch_decr_pc_after_break.
13707
6e07b1d2
MM
137082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13709
13710 * btrace.c: Include regcache.h.
13711 (btrace_add_pc): New.
13712 (btrace_enable): Call btrace_add_pc.
13713 (btrace_is_empty): New.
13714 * btrace.h (btrace_is_empty): New.
13715 * record-btrace.c (require_btrace, record_btrace_info): Call
13716 btrace_is_empty.
13717
969c39fb
MM
137182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13719
13720 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13721 Support delta reads.
13722 (linux_disable_btrace): Change return type.
13723 * common/linux-btrace.h (linux_read_btrace): Change parameters
13724 and return type to allow error reporting. Update users.
13725 (linux_disable_btrace): Change return type. Update users.
13726 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13727 New.
13728 (btrace_error): New.
13729 (btrace_block) <begin>: Comment on BEGIN == 0.
13730 * btrace.c (btrace_compute_ftrace): Start from the end of
13731 the current trace.
13732 (btrace_stitch_trace, btrace_clear_history): New.
13733 (btrace_fetch): Read delta trace, return if replaying.
13734 (btrace_clear): Move clear history code to btrace_clear_history.
13735 (parse_xml_btrace): Throw an error if parsing failed.
13736 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13737 and return type to allow error reporting.
13738 (target_read_btrace): Change parameters and return type to allow
13739 error reporting.
13740 * target.c (target_read_btrace): Update.
13741 * remote.c (remote_read_btrace): Support delta reads. Pass
13742 errors on.
13743 * NEWS: Announce it.
13744
0b722aec
MM
137452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13746
13747 * record.h (record_btrace_frame_unwind)
13748 (record_btrace_tailcall_frame_unwind): New declarations.
13749 * dwarf2-frame: Include record.h
13750 (dwarf2_frame_cfa): Throw an error for btrace frames.
13751 * record-btrace.c: Include hashtab.h.
13752 (btrace_get_bfun_name): New.
13753 (btrace_call_history): Call btrace_get_bfun_name.
13754 (struct btrace_frame_cache): New.
13755 (bfcache): New.
13756 (bfcache_hash, bfcache_eq, bfcache_new): New.
13757 (btrace_get_frame_function): New.
13758 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13759 (record_btrace_frame_this_id): Compute own id.
13760 (record_btrace_frame_prev_register): Provide PC, throw_error
13761 for all other registers.
13762 (record_btrace_frame_sniffer): Detect btrace frames.
13763 (record_btrace_tailcall_frame_sniffer): New.
13764 (record_btrace_frame_dealloc_cache): New.
13765 (record_btrace_frame_unwind): Add new functions.
13766 (record_btrace_tailcall_frame_unwind): New.
13767 (_initialize_record_btrace): Allocate cache.
13768 * btrace.c (btrace_clear): Call reinit_frame_cache.
13769 * NEWS: Announce it.
13770
066ce621
MM
137712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13772
13773 * record-btrace.c (record_btrace_set_replay)
13774 (record_btrace_goto_begin, record_btrace_goto_end)
13775 (record_btrace_goto): New.
13776 (init_record_btrace_ops): Initialize them.
13777 * NEWS: Announce it.
13778
e2887aa3
MM
137792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13780
13781 * record-btrace.c (record_btrace_find_new_threads)
13782 (record_btrace_thread_alive): New.
13783 (init_record_btrace_ops): Initialize to_find_new_threads and
13784 to_thread_alive.
13785
b2f4cfde
MM
137862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13787
13788 * record-btrace.c (record_btrace_resume): New.
13789 (record_btrace_wait): New.
13790 (init_record_btrace_ops): Initialize to_wait and to_resume.
13791
633785ff
MM
137922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13793
13794 * record-btrace.c (record_btrace_xfer_partial)
13795 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13796 (record_btrace_allow_memory_access): New.
13797 (init_record_btrace_ops): Initialize new methods.
13798 * target.c (raw_memory_xfer_partial): Bail out if target reports
13799 that this memory is not available.
13800
3db08215
MM
138012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13802
13803 * target.h (target_ops) <to_insert_breakpoint>
13804 <to_remove_breakpoint>: Add target_ops parameter.
13805 (forward_target_insert_breakpoint): New.
13806 (forward_target_remove_breakpoint): New.
13807 (memory_remove_breakpoint, memory_insert_breakpoint):
13808 Add target_ops parameter.
13809 * target.c (target_insert_breakpoint): Split into this and ...
13810 (forward_target_insert_breakpoint): ... this.
13811 (target_remove_breakpoint): Split into this and ...
13812 (forward_target_remove_breakpoint): ... this.
13813 (debug_to_insert_breakpoint): Add target_ops parameter.
13814 Call forward_target_insert_breakpoint.
13815 (debug_to_remove_breakpoint): Add target_ops parameter.
13816 Call forward_target_remove_breakpoint.
13817 (update_current_target): Do not inherit or default to_insert_breakpoint
13818 and to_remove_breakpoint.
13819 * corelow.c (ignore): Add target_ops parameter.
13820 * exec.c (ignore): Add target_ops parameter.
13821 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13822 Add target_ops parameter.
13823 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13824 Add target_ops parameter.
13825 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13826 Add target_ops parameter.
13827 * record-full.c (record_full_beneath_to_insert_breakpoint)
13828 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13829 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13830 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13831 (record_full_core_remove_breakpoint): Add target_ops parameter.
13832 Update users.
13833 (record_full_beneath_to_insert_breakpoint_ops)
13834 (record_full_beneath_to_remove_breakpoint_ops)
13835 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13836 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13837 tmp_to_remove_breakpoint_ops,
13838 record_full_beneath_to_insert_breakpoint_ops, and
13839 record_full_beneath_to_remove_breakpoint_ops.
13840 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13841 (m32r_remove_breakpoint): Add target_ops parameter.
13842 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13843 Add target_ops parameter.
13844 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13845 Add target_ops parameter.
13846
cecac1ab
MM
138472014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13848 Markus Metzger <markus.t.metzger@intel.com>
13849
13850 * record-btrace.c: Include frame-unwind.h.
13851 (record_btrace_frame_unwind_stop_reason)
13852 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13853 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13854 New.
13855 (init_record_btrace_ops): Install it.
13856
824344ca
MM
138572014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13858
13859 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13860 get_prev_frame_1.
13861
32261e52
MM
138622014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13863
13864 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13865 earlier.
13866
ea001bdc
MM
138672014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13868
13869 * frame-unwind.c: Include target.h.
13870 (frame_unwind_try_unwinder): New function with code from ...
13871 (frame_unwind_find_by_frame): ... here. New variable
13872 unwinder_from_target, call also target_get_unwinder)
13873 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13874 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13875 * target.h (struct target_ops): New fields to_get_unwinder and
13876 to_get_tailcall_unwinder.
13877 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13878
1f3ef581
MM
138792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13880
13881 * record-btrace.c (record_btrace_fetch_registers)
13882 (record_btrace_store_registers)
13883 (record_btrace_to_prepare_to_store): New.
13884 (init_record_btrace_ops): Add the above.
13885
f32dbf8c
MM
138862014-01-16 Tom Tromey <tromey@redhat.com>
13887
13888 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13889 * target.h (struct target_ops) <to_prepare_to_store>: Add
13890 argument.
13891 (target_prepare_to_store): Add argument.
13892 * target.c (debug_to_prepare_to_store): Add argument.
13893 (update_current_target): Update.
13894 * remote.c (remote_prepare_to_store): Add 'self' argument.
13895 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13896 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13897 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13898 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13899 argument.
13900 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13901 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13902 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13903 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13904 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13905
07bbe694
MM
139062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13907
13908 * btrace.h (replay) <replay>: New.
13909 (btrace_is_replaying): New.
13910 * btrace.c (btrace_clear): Free replay iterator.
13911 (btrace_is_replaying): New.
13912 * record-btrace.c (record_btrace_is_replaying): New.
13913 (record_btrace_info): Print insn number if replaying.
13914 (record_btrace_insn_history): Start at replay position.
13915 (record_btrace_call_history): Start at replay position.
13916 (init_record_btrace_ops): Init to_record_is_replaying.
13917
0688d04e
MM
139182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13919
13920 * record-btrace.c (record_btrace_insn_history_range): Include
13921 end.
13922 (record_btrace_insn_history_from): Adjust range.
13923 (record_btrace_call_history_range): Include
13924 end.
13925 (record_btrace_call_history_from): Adjust range.
13926 * NEWS: Announce changes.
13927
8710b709
MM
139282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13929
13930 * record.h (enum record_print_flag)
13931 <record_print_indent_calls>: New.
13932 * record.c (get_call_history_modifiers): Recognize /c modifier.
13933 (_initialize_record): Document /c modifier.
13934 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13935 Reorder fields. Optionally indent the function name. Update
13936 all users.
13937 * NEWS: Announce changes.
13938
d0fa7535
MM
139392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13940
13941 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13942
5de9129b
MM
139432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13944
13945 * btrace.c (ftrace_new_function): Start counting at one.
13946 * record-btrace.c (record_btrace_info): Adjust number of calls
13947 and insns.
13948 * NEWS: Announce it.
13949
7acbe133
MM
139502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13951
13952 * record-btrace.c (btrace_call_history_insn_range): Print
13953 insn range as [begin, end].
13954
23a7fe75
MM
139552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13956
13957 * btrace.h (struct btrace_func_link): New.
13958 (enum btrace_function_flag): New.
13959 (struct btrace_inst): Rename to ...
13960 (struct btrace_insn): ...this. Update all users.
13961 (struct btrace_func) <ibegin, iend>: Remove.
13962 (struct btrace_func_link): New.
13963 (struct btrace_func): Rename to ...
13964 (struct btrace_function): ...this. Update all users.
13965 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13966 (number, level, flags>: New.
13967 (struct btrace_insn_iterator): Rename to ...
13968 (struct btrace_insn_history): ...this.
13969 Update all users.
13970 (struct btrace_insn_iterator, btrace_call_iterator): New.
13971 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13972 (struct btrace_target_info) <begin, end, level>
13973 <insn_history, call_history>: New.
13974 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13975 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13976 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13977 (btrace_call_number, btrace_call_begin, btrace_call_end)
13978 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13979 (btrace_find_function_by_number, btrace_set_insn_history)
13980 (btrace_set_call_history): New.
13981 * btrace.c (btrace_init_insn_iterator)
13982 (btrace_init_func_iterator, compute_itrace): Remove.
13983 (ftrace_print_function_name, ftrace_print_filename)
13984 (ftrace_skip_file): Change
13985 parameter to const.
13986 (ftrace_init_func): Remove.
13987 (ftrace_debug): Use new btrace_function fields.
13988 (ftrace_function_switched): Also consider gaining and
13989 losing symbol information).
13990 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13991 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13992 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13993 New.
13994 (ftrace_new_function): Move. Remove debug print.
13995 (ftrace_update_lines, ftrace_update_insns): New.
13996 (ftrace_update_function): Check for call, ret, and jump.
13997 (compute_ftrace): Renamed to ...
13998 (btrace_compute_ftrace): ...this. Rewritten to compute call
13999 stack.
14000 (btrace_fetch, btrace_clear): Updated.
14001 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14002 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14003 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14004 (btrace_call_number, btrace_call_begin, btrace_call_end)
14005 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14006 (btrace_find_function_by_number, btrace_set_insn_history)
14007 (btrace_set_call_history): New.
14008 * record-btrace.c (require_btrace): Use new btrace thread
14009 info fields.
14010 (record_btrace_info, btrace_insn_history)
14011 (record_btrace_insn_history, record_btrace_insn_history_range):
14012 Use new btrace thread info fields and new iterator.
14013 (btrace_func_history_src_line): Rename to ...
14014 (btrace_call_history_src_line): ...this. Use new btrace
14015 thread info fields.
14016 (btrace_func_history): Rename to ...
14017 (btrace_call_history): ...this. Use new btrace thread info
14018 fields and new iterator.
14019 (record_btrace_call_history, record_btrace_call_history_range):
14020 Use new btrace thread info fields and new iterator.
14021
8372a7cb
MM
140222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14023
14024 * frame.h (frame_id_build_unavailable_stack_special): New.
14025 * frame.c (frame_id_build_unavailable_stack_special): New.
14026
c2170eef
MM
140272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14028
14029 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14030 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14031 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14032 to gdbarch.
14033 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14034 (i386_insn_is_jump, i386_jmp_p): New.
14035 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14036 insn_is_jump to gdbarch.
14037 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14038 * gdbarch.h: Regenerated.
14039 * gdbarch.c: Regenerated.
14040 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14041 (default_insn_is_jump): New.
14042 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14043 (default_insn_is_jump): New.
14044
864089d2
MM
140452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14046
14047 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14048 Change to ...
14049 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14050 (btrace_read_type) <btrace_read_new>: Change to ...
14051 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14052
ed9edfb5
MM
140532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14054
14055 * common/linux-btrace.c (linux_read_btrace): Free trace from
14056 previous iteration.
14057
fbcbc3fd
DE
140582014-01-15 Doug Evans <dje@google.com>
14059
14060 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14061 uint32_t.
14062
3d548a53
TT
140632014-01-15 Tom Tromey <tromey@redhat.com>
14064
14065 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14066 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14067 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14068 (set_objfile_main_name): New function.
14069 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14070 language_of_main>: New fields.
14071 (set_objfile_main_name): Declare.
14072 * symtab.c (find_main_name): Loop over objfiles to find the main
14073 name and language.
14074 (set_main_name): Now static.
14075 (get_main_info): Add comment.
14076 * symtab.h (set_main_name): Don't declare.
14077
32ac0d11
TT
140782014-01-15 Tom Tromey <tromey@redhat.com>
14079
14080 * symtab.c (main_progspace_key): New global.
14081 (struct main_info): New.
14082 (name_of_main, language_of_main): Remove.
14083 (get_main_info, main_info_cleanup): New function.
14084 (set_main_name, main_name, main_language): Use get_main_info.
14085 (_initialize_symtab): Initialize main_progspace_key.
14086
9e6c82ad
TT
140872014-01-15 Tom Tromey <tromey@redhat.com>
14088
14089 * dbxread.c (process_one_symbol): Update.
14090 * dwarf2read.c (read_partial_die): Update.
14091 * symfile.c (set_initial_language): Call main_language.
14092 * symtab.c (language_of_main): Now static.
14093 (set_main_name): Add 'lang' parameter.
14094 (find_main_name): Update.
14095 (main_language): New function.
14096 (symtab_observer_executable_changed): Update.
14097 * symtab.h (set_main_name): Update.
14098 (language_of_main): Remove.
14099 (main_language): Declare.
14100
6ef55de7
TT
141012014-01-15 Tom Tromey <tromey@redhat.com>
14102
14103 * symfile.c (init_entry_point_info): Use new "initialized" field.
14104 Update.
14105 * objfiles.h (struct entry_point) <initialized>: New field.
14106 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14107 (struct objfile) <ei>: ...here. Remove.
14108 * objfiles.c (entry_point_address_query): Update.
14109
53eddfa6
TT
141102014-01-15 Tom Tromey <tromey@redhat.com>
14111
14112 * objfiles.c (entry_point_address_query): Relocate entry point
14113 address.
14114 (objfile_relocate1): Do not relocate entry point address.
14115 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14116 <the_bfd_section_index>: New field.
14117 * symfile.c (init_entry_point_info): Find the entry point's
14118 section.
14119
d56e56aa
TT
141202014-01-15 Tom Tromey <tromey@redhat.com>
14121
14122 * solib-frv.c (enable_break): Use entry_point_address_query.
14123
33a97bbe
OJ
141242014-01-15 Omair Javaid <omair.javaid@linaro.org>
14125
14126 * NEWS: Add note on improved process record-replay on
14127 arm*-linux* targets.
14128
c6ec2b30
OJ
141292014-01-15 Omair Javaid <omair.javaid@linaro.org>
14130
14131 * arm-tdep.c (enum arm_record_result): New enum.
14132 (arm_record_unsupported_insn): New function.
14133 (arm_record_coproc_data_proc): Removed.
14134 (thumb2_record_ld_st_multiple): New function.
14135 (thumb2_record_ld_st_dual_ex_tbb): New function.
14136 (thumb2_record_data_proc_sreg_mimm): New function.
14137 (thumb2_record_ps_dest_generic): New function.
14138 (thumb2_record_branch_misc_cntrl): New function.
14139 (thumb2_record_str_single_data): New function.
14140 (thumb2_record_ld_mem_hints): New function.
14141 (thumb2_record_ld_word): New function.
14142 (thumb2_record_lmul_lmla_div): New function.
14143 (thumb2_record_decode_insn_handler): New function.
14144 (decode_insn): Add thumb32 instruction handlers.
14145
97dfe206
OJ
141462014-01-15 Omair Javaid <omair.javaid@linaro.org>
14147
14148 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14149 (struct arm_linux_record_tdep): Declare.
14150 (arm_canonicalize_syscall): New function.
14151 (arm_all_but_pc_registers_record): New function.
14152 (arm_linux_syscall_record): New function.
14153 (arm_linux_init_abi): Add syscall recording constructs.
14154 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14155 decoding. (arm_record_coproc_data_proc): Update arm syscall
14156 decoding.
14157 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14158 <arm_syscall_record>: New field.
14159 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14160 gdb_target_obs.
14161
9904a494
OJ
141622014-01-15 Omair Javaid <omair.javaid@linaro.org>
14163
14164 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14165 register for push instruction recording.
14166
f969241e
OJ
141672014-01-15 Omair Javaid <omair.javaid@linaro.org>
14168
14169 * arm-tdep.c (thumb_record_misc): Update to correct logical
14170 error while recording ldm, ldmia and pop instructions.
14171
bfbbec00
OJ
141722014-01-15 Omair Javaid <omair.javaid@linaro.org>
14173
14174 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14175
e40adcc9
PA
141762014-01-15 Pedro Alves <palves@redhat.com>
14177
14178 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14179 (go32_resume, go32_fetch_registers, store_register)
14180 (go32_store_registers, go32_prepare_to_store)
14181 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14182 (go32_create_inferior, go32_can_run, go32_terminal_init)
14183 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14184 declarations.
14185
b0a16e66
TT
141862014-01-15 Tom Tromey <tromey@redhat.com>
14187
14188 * target.h (async_callback_ftype): New typedef.
14189 (struct target_ops) <to_async>: Use it.
14190
bf7105a4
JB
141912014-01-15 Joel Brobecker <brobecker@adacore.com>
14192
14193 * python/py-value.c (get_field_type): Remove unnecessary curly
14194 braces for single-statement if block.
14195
a8f35c2e
JB
141962014-01-15 Joel Brobecker <brobecker@adacore.com>
14197
14198 * python/py-type.c (convert_field): Add missing empty line
14199 after declarations.
14200
bb4142cf
DE
142012014-01-14 Doug Evans <dje@google.com>
14202
14203 * symfile.h (expand_symtabs_matching): Renamed from
14204 expand_partial_symbol_names. Update prototype.
14205 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14206 * symfile.c (expand_symtabs_matching): Renamed from
14207 expand_partial_symbol_names. New args file_matcher, kind.
14208 Rename arg fun to symbol_matcher.
14209 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14210 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14211 ada_expand_partial_symbol_name.
14212 (ada_make_symbol_completion_list): Update to call
14213 expand_symtabs_matching.
14214 (ada_add_global_exceptions): Call expand_symtabs_matching.
14215 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14216 call map_symbol_filenames.
14217 * symtab.c (sources_info): Update to call map_symbol_filenames.
14218 (search_symbols): Call expand_symtabs_matching.
14219 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14220 (default_make_symbol_completion_list_break_on): Update to call
14221 expand_symtabs_matching.
14222 (make_source_files_completion_list): Update to call
14223 map_symbol_filenames.
14224
206f2a57
DE
142252014-01-14 Doug Evans <dje@google.com>
14226
14227 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14228 (expand_symtabs_symbol_matcher_ftype): New typedef.
14229 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14230 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14231 * symfile.c (expand_partial_symbol_names): Update to use
14232 expand_symtabs_symbol_matcher_ftype.
14233 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14234 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14235 Arg name_matcher renamed to symbol_matcher.
14236 * psymtab.c (recursively_search_psymtabs): Update to use
14237 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14238 sym_matcher.
14239 (expand_symtabs_matching_via_partial): Update to use
14240 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14241 Arg name_matcher renamed to symbol_matcher.
14242
540c2971
DE
142432014-01-14 Doug Evans <dje@google.com>
14244
14245 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14246 (map_partial_symbol_filenames): Ditto.
14247 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14248 (map_partial_symbol_filenames): Ditto.
14249 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14250 (map_partial_symbol_filenames): Ditto.
14251 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14252 (map_partial_symbol_filenames): Ditto.
14253 * symtab.c: Delete #include "psymtab.h".
14254
8213266a
PA
142552014-01-14 Pedro Alves <palves@redhat.com>
14256 Tom Tromey <tromey@redhat.com>
14257
14258 * infrun.c (use_displaced_stepping): Use find_record_target
14259 instead of RECORD_IS_USED.
14260 (adjust_pc_after_break): Use record_full_is_used instead of
14261 RECORD_IS_USED.
14262 * record-btrace.c (record_btrace_open): Call record_preopen
14263 instead of checking RECORD_IS_USED.
14264 * record-full.c (record_full_shortname)
14265 (record_full_core_shortname): New globals.
14266 (record_full_is_used): New function.
14267 (find_full_open): Call record_preopen instead of checking
14268 RECORD_IS_USED.
14269 (init_record_full_ops): Set the target's shortname to
14270 record_full_shortname.
14271 (init_record_full_core_ops): Set the target's shortname to
14272 record_full_core_shortname.
14273 * record-full.h (record_full_is_used): Declare.
14274 * record.c (find_record_target): Make extern.
14275 (record_preopen): New function.
14276 * record.h (RECORD_IS_USED): Delete macro.
14277 (find_record_target, record_preopen): Declare functions.
14278
7ec1862d
YQ
142792014-01-14 Yao Qi <yao@codesourcery.com>
14280
14281 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14282 'len''s type to ULONGEST.
14283 (core_xfer_shared_libraries_aix): Likewise.
14284 * gdbarch.c, gdbarch.h: Regenerated.
14285 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14286 Change type of 'len' to ULONGEST.
14287 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14288 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14289
dea80a27
YQ
142902014-01-14 Yao Qi <yao@codesourcery.com>
14291
14292 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14293 type of 'len' to ULONGEST.
14294 (linux_xfer_osdata_processgroups): Likewise.
14295 (linux_xfer_osdata_threads): Likewise.
14296 (linux_xfer_osdata_fds): Likewise.
14297 (linux_xfer_osdata_isockets): Likewise.
14298 (linux_xfer_osdata_shm): Likewise.
14299 (linux_xfer_osdata_sem): Likewise.
14300 (linux_xfer_osdata_msg): Likewise.
14301 (linux_common_xfer_osdata): Likewise.
14302 (struct osdata_type) <getter>: Likewise.
14303 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14304 the declaration.
14305
b55e14c7
YQ
143062014-01-14 Yao Qi <yao@codesourcery.com>
14307
14308 * target.h (target_xfer_partial_ftype): Update.
14309 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14310 ULONGEST.
14311 * aix-thread.c (aix_thread_xfer_partial): Change type of
14312 argument 'len' to ULONGEST.
14313 * auxv.c (procfs_xfer_auxv): Likewise.
14314 (ld_so_xfer_auxv): Likewise.
14315 (memory_xfer_auxv): Likewise.
14316 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14317 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14318 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14319 * corelow.c (core_xfer_partial): Likewise.
14320 * ctf.c (ctf_xfer_partial): Likewise.
14321 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14322 '%u'.
14323 (darwin_read_dyld_info): Likewise.
14324 (darwin_xfer_partial): Likewise.
14325 * exec.c (section_table_xfer_memory_partial): Likewise.
14326 (exec_xfer_partial): Likewise.
14327 * exec.h (section_table_xfer_memory_partial): Update
14328 declaration.
14329 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14330 instead of plongest.
14331 (gnu_xfer_partial): Likewise.
14332 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14333 (ia64_hpux_xfer_solib_got): Likewise.
14334 (ia64_hpux_xfer_partial): Likewise.
14335 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14336 * inf-ptrace.c (inf_ptrace_xfer_partial):
14337 * inf-ttrace.c (inf_ttrace_xfer_partial):
14338 * linux-nat.c (linux_xfer_siginfo): Likewise.
14339 (linux_nat_xfer_partial): Likewise.
14340 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14341 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14342 * monitor.c (monitor_xfer_memory): Likewise.
14343 (monitor_xfer_partial): Likewise.
14344 * procfs.c (procfs_xfer_partial): Likewise.
14345 * record-full.c (record_full_xfer_partial): Likewise.
14346 (record_full_core_xfer_partial): Likewise.
14347 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14348 instead of plongest.
14349 (gdbsim_xfer_partial): Likewise.
14350 * remote.c (remote_xfer_partial): Likewise.
14351 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14352 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14353 declaration.
14354 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14355 (rs6000_xfer_shared_libraries): Likewise.
14356 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14357 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14358 (sparc_xfer_partial): Likewise.
14359 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14360 (spu_xfer_partial): Likewise.
14361 * spu-multiarch.c (spu_xfer_partial): Likewise.
14362 * target.c (target_read_live_memory): Likewise.
14363 (memory_xfer_live_readonly_partial): Likewise.
14364 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14365 (target_xfer_partial, default_xfer_partial): Likewise.
14366 (current_xfer_partial): Likewise.
14367 * tracepoint.c (tfile_xfer_partial): Likewise.
14368 * windows-nat.c (windows_xfer_memory): Likewise. Call
14369 pulongest instead of plongest.
14370 (windows_xfer_partial): Likewise.
14371 (windows_xfer_shared_libraries): Likewise.
14372
05804640
YQ
143732014-01-14 Yao Qi <yao@codesourcery.com>
14374
14375 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14376 target_xfer_partial_ftype.
14377
b5b08fb4
SC
143782014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14379
14380 PR python/15464
14381 PR python/16113
14382 * valops.c (value_struct_elt_bitpos): New function
14383 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14384 object to 'None' if the field name is an empty string ("").
14385 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14386 attribute to look for a field when 'name' is 'None'.
14387 (get_field_type): New function
14388
13aaf454
DE
143892014-01-13 Doug Evans <dje@google.com>
14390
14391 PR symtab/16426
14392 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14393 (try_open_dwop_file): Ditto.
14394 * gdb_bfd.c: #include "vec.h".
14395 (bfdp): New typedef.
14396 (struct gdb_bfd_data): New member included_bfds.
14397 (gdb_bfd_unref): Unref all included bfds.
14398 (gdb_bfd_record_inclusion): New function.
14399 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14400
c2cec97c
TT
144012014-01-13 Tom Tromey <tromey@redhat.com>
14402
14403 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14404
78e5999d
TT
144052014-01-13 Tom Tromey <tromey@redhat.com>
14406
14407 * defs.h (use_windows): Remove.
14408 * gdb.c (main): Update.
14409 * main.c (captured_main, gdb_main): Update.
14410 * main.h (struct captured_main_args) <use_windows>: Remove.
14411 * top.c (use_windows): Remove.
14412
f2052bbe
TT
144132014-01-13 Tom Tromey <tromey@redhat.com>
14414
14415 * defs.h (deprecated_flush_hook): Remove.
14416
fde4f8ed
JK
144172014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14418
14419 PR threads/16216
14420 * linux-thread-db.c (try_thread_db_load): Add parameter
14421 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14422 (try_thread_db_load_from_pdir_1): Move it there from here.
14423 (try_thread_db_load_from_sdir): Update caller.
14424 (try_thread_db_load_from_dir): Move it there from here.
14425
bdf61915
PP
144262014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14427
14428 * regformats/regdat.sh: Always rewrite the register file.
14429
f71e1a8d
PA
144302014-01-13 Pedro Alves <palves@redhat.com>
14431
14432 * Makefile.in (CHECK_HEADERS): New variable.
14433 (check-headers:): New rule.
14434
42c85435
TT
144352014-01-13 Tom Tromey <tromey@redhat.com>
14436
14437 * cli/cli-setshow.c (do_set_command): Update.
14438 * defs.h (deprecated_set_hook): Remove.
14439 * top.c (deprecated_set_hook): Remove.
14440
f8de5129
PA
144412014-01-13 Pedro Alves <palves@redhat.com>
14442
14443 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14444 the tracepoint if the PC is a pseudo-register.
14445
fc270c35
TT
144462014-01-13 Tom Tromey <tromey@redhat.com>
14447
14448 * defs.h (XCALLOC): Remove.
14449 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14450 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14451 * dwarf2loc.c (allocate_piece_closure): Likewise.
14452 * elfread.c (elf_symfile_segments): Likewise.
14453 (elf_symfile_segments): Likewise.
14454 * gdbtypes.c (copy_type_recursive): Likewise.
14455 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14456 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14457 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14458 XCALLOC.
14459 * mt-tdep.c (mt_gdbarch_init): Likewise.
14460 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14461 XCALLOC.
14462 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14463 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14464 * registry.c (registry_alloc_data): Likewise.
14465 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14466 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14467 * serial.c (serial_fdopen_ops): Likewise.
14468 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14469 XCALLOC.
14470 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14471 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14472 not XCALLOC.
14473
70ba0933
TT
144742014-01-13 Tom Tromey <tromey@redhat.com>
14475
14476 * defs.h (XMALLOC): Remove.
14477 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14478 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14479 * cli-out.c (struct ui_out *): Likewise.
14480 * cli/cli-dump.c (add_dump_command): Likewise.
14481 (add_dump_command): Likewise.
14482 * complaints.c (get_complaints): Likewise.
14483 (find_complaint): Likewise.
14484 * dwarf2-frame.c (execute_cfa_program): Likewise.
14485 * dwarf2read.c (abbrev_table_read_table): Likewise.
14486 * gdbarch.sh: Likewise.
14487 * gdbarch.c: Rebuild.
14488 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14489 * interps.c (interp_new): Likewise.
14490 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14491 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14492 * mi/mi-console.c (mi_console_file_new): Likewise.
14493 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14494 * mi/mi-out.c (mi_out_new): Likewise.
14495 * mi/mi-parse.c (mi_parse): Likewise.
14496 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14497 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14498 * observer.c (xalloc_observer_list_node): Likewise.
14499 * regcache.c (regcache_xmalloc_1): Likewise.
14500 * reggroups.c (reggroup_new): Likewise.
14501 (_initialize_reggroup): Likewise.
14502 * registry.c (register_data_with_cleanup): Likewise.
14503 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14504 * ser-base.c (serial_ttystate): Likewise.
14505 * ser-mingw.c (make_pipe_state): Likewise.
14506 * ser-pipe.c (pipe_open): Likewise.
14507 * serial.c (serial_open): Likewise.
14508 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14509 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14510 (tui_alloc_win_info): Likewise.
14511 (tui_add_content_elements): Likewise.
14512 * tui/tui-file.c (tui_file_new): Likewise.
14513 * tui/tui-out.c (tui_out_new): Likewise.
14514 * ui-file.c (mem_file_new): Likewise.
14515 * ui-out.c (push_level): Likewise.
14516 (make_cleanup_ui_out_end): Likewise.
14517 (append_header_to_list): Likewise.
14518 (ui_out_new): Likewise.
14519 * user-regs.c (user_reg_add_builtin): Likewise.
14520
41bf6aca
TT
145212014-01-13 Tom Tromey <tromey@redhat.com>
14522
14523 * defs.h (XZALLOC): Remove.
14524 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14525 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14526 (get_ada_tasks_inferior_data): Likewise.
14527 * auto-load.c (get_auto_load_pspace_data): Likewise.
14528 * auxv.c (get_auxv_inferior_data): Likewise.
14529 * bfd-target.c (target_bfd_reopen): Likewise.
14530 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14531 (deprecated_insert_raw_breakpoint): Likewise.
14532 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14533 * corelow.c (core_open): Likewise.
14534 * darwin-nat.c (darwin_check_new_threads): Likewise.
14535 (darwin_attach_pid): Likewise.
14536 * dummy-frame.c (dummy_frame_push): Likewise.
14537 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14538 * dwarf2loc.c (allocate_piece_closure): Likewise.
14539 * elfread.c (elf_symfile_segments): Likewise.
14540 * eval.c (ptrmath_type_p): Likewise.
14541 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14542 * gdbtypes.c (alloc_type_arch): Likewise.
14543 (alloc_type_instance): Likewise.
14544 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14545 * inf-child.c (inf_child_can_use_agent): Likewise.
14546 * inflow.c (get_inflow_inferior_data): Likewise.
14547 * infrun.c (save_infcall_suspend_state): Likewise.
14548 * jit.c (jit_reader_load): Likewise.
14549 (get_jit_objfile_data): Likewise.
14550 (get_jit_program_space_data): Likewise.
14551 (jit_object_open_impl): Likewise.
14552 (jit_symtab_open_impl): Likewise.
14553 (jit_block_open_impl): Likewise.
14554 (jit_frame_sniffer): Likewise.
14555 * linux-fork.c (add_fork): Likewise.
14556 * maint.c (make_command_stats_cleanup): Likewise.
14557 * objfiles.c (get_objfile_pspace_data): Likewise.
14558 * opencl-lang.c (struct lval_closure): Likewise.
14559 * osdata.c (osdata_start_osdata): Likewise.
14560 * progspace.c (new_address_space): Likewise.
14561 (add_program_space): Likewise.
14562 * remote-sim.c (get_sim_inferior_data): Likewise.
14563 * sh-tdep.c (sh_gdbarch_init): Likewise.
14564 * skip.c (Ignore): Likewise.
14565 (skip_delete_command): Likewise.
14566 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14567 (library_list_start_library): Likewise.
14568 (solib_aix_current_sos): Likewise.
14569 * solib-darwin.c (get_darwin_info): Likewise.
14570 (darwin_current_sos): Likewise.
14571 * solib-dsbt.c (get_dsbt_info): Likewise.
14572 * solib-ia64-hpux.c (new_so_list): Likewise.
14573 (ia64_hpux_get_solib_linkage_addr): Likewise.
14574 * solib-spu.c (append_ocl_sos): Likewise.
14575 (spu_current_sos): Likewise.
14576 * solib-svr4.c (get_svr4_info): Likewise.
14577 (svr4_keep_data_in_core): Likewise.
14578 (library_list_start_library): Likewise.
14579 (svr4_default_sos): Likewise.
14580 (svr4_read_so_list): Likewise.
14581 * solib-target.c (library_list_start_library): Likewise.
14582 (solib_target_current_sos): Likewise.
14583 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14584 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14585 * symfile.c (default_symfile_segments): Likewise.
14586 * target-descriptions.c (tdesc_data_init): Likewise.
14587 (tdesc_create_reg): Likewise.
14588 (struct tdesc_type *): Likewise.
14589 (tdesc_create_vector): Likewise.
14590 (tdesc_set_struct_size): Likewise.
14591 (struct tdesc_type *): Likewise.
14592 (tdesc_free_feature): Likewise.
14593 (tdesc_create_feature): Likewise.
14594 * windows-nat.c (windows_add_thread): Likewise.
14595 (windows_make_so): Likewise.
14596 * xml-support.c (gdb_xml_body_text): Likewise.
14597 (gdb_xml_create_parser_and_cleanup): Likewise.
14598 (xml_process_xincludes): Likewise.
14599 * xml-syscall.c (allocate_syscalls_info): Likewise.
14600 (syscall_create_syscall_desc): Likewise.
14601
5acfdbae
SDJ
146022014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14603
14604 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14605 function, with code from i386_stap_parse_special_token.
14606 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14607 (i386_stap_parse_special_token): Move code to the two functions
14608 above; simplify it.
14609
0000e5cc
PA
146102014-01-09 Pedro Alves <palves@redhat.com>
14611 Hui Zhu <hui@codesourcery.com>
14612
14613 PR gdb/16101
14614 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14615 bp_err_string. Don't mark the location shlib_disabled if the
14616 error thrown wasn't a generic or memory error. Catch errors
14617 thrown while inserting breakpoints in overlayed code. Output
14618 error message of software breakpoints.
14619 * remote.c (remote_insert_breakpoint): If this breakpoint has
14620 target-side commands but this stub doesn't support Z0 packets,
14621 throw NOT_SUPPORTED_ERROR error.
14622 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14623 * target.h (target_insert_breakpoint): Extend comment.
14624 (target_insert_hw_breakpoint): Add comment.
14625
b7ea362b
PA
146262014-01-08 Pedro Alves <palves@redhat.com>
14627
14628 * remote.c (remote_add_thread): Add threads silently if starting
14629 up.
14630 (remote_notice_new_inferior): If in all-stop, and starting up,
14631 don't call notice_new_inferior.
14632 (get_current_thread): New function, factored out from ...
14633 (add_current_inferior_and_thread): ... this. Adjust.
14634 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14635 found any thread, then select the remote's current thread as GDB's
14636 current thread too.
14637
b7bba001
JB
146382014-01-08 Joel Brobecker <brobecker@adacore.com>
14639
14640 * NEWS: Create a new section for the next release branch.
14641 Rename the section of the current branch, now that it has
14642 been cut.
14643
16dfbded
JB
146442014-01-08 Joel Brobecker <brobecker@adacore.com>
14645
14646 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14647 * version.in: Bump version to 7.7.50.DATE-cvs.
14648
22c90ac1
YQ
146492014-01-08 Yao Qi <yao@codesourcery.com>
14650
14651 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14652 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14653 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14654
d64ad97c
YQ
146552014-01-08 Yao Qi <yao@codesourcery.com>
14656
14657 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14658 return value of bfd_get_filename to symbol_file_add_from_bfd.
14659
f93ba80c
PM
146602014-01-08 Pierre Muller <muller@sourceware.org>
14661
14662 Fix PR16201.
14663 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14664 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14665 to prim_record_mininal_symbol_and_info.
14666 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14667 in call to prim_record_minimal_symbol_and_info.
14668 (read_pe_exported_syms): Set index field of section_data.
14669
a4d9ba85
AP
146702014-01-07 Andrew Pinski <apinski@cavium.com>
14671
14672 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14673 * features/aarch64.c: Regenerate.
14674
1b67eb02
AS
146752014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14676
14677 * target.c (return_null): Define.
14678 (update_current_target): Use it instead of return_zero for
14679 functions that return a pointer.
14680
5e3f4fab
EBM
146812014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14682
14683 * source.c (add_path): Fix check for duplicated paths in the previously
14684 included paths.
14685
e2616788
HK
146862014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14687
14688 * ada-lang.c: Remove duplicated include statements.
14689 * alphabsd-nat.c: Ditto.
14690 * amd64-darwin-tdep.c: Ditto.
14691 * amd64fbsd-nat.c: Ditto.
14692 * auto-load.c: Ditto.
14693 * ax-gdb.c: Ditto.
14694 * breakpoint.c: Ditto.
14695 * dbxread.c: Ditto.
14696 * fork-child.c: Ditto.
14697 * gdb_usleep.c: Ditto.
14698 * i386-darwin-tdep.c: Ditto.
14699 * i386fbsd-nat.c: Ditto.
14700 * infcmd.c: Ditto.
14701 * inferior.c: Ditto.
14702 * jv-lang.c: Ditto.
14703 * linux-nat.c: Ditto.
14704 * linux-tdep.c: Ditto.
14705 * m68kbsd-nat.c: Ditto.
14706 * m68klinux-nat.c: Ditto.
14707 * microblaze-tdep.c: Ditto.
14708 * mips-linux-tdep.c: Ditto.
14709 * mn10300-tdep.c: Ditto.
14710 * nto-tdep.c: Ditto.
14711 * opencl-lang.c: Ditto.
14712 * osdata.c: Ditto.
14713 * printcmd.c: Ditto.
14714 * regcache.c: Ditto.
14715 * remote-m32r-sdi.c: Ditto.
14716 * remote.c: Ditto.
14717 * symfile.c: Ditto.
14718 * symtab.c: Ditto.
14719 * tilegx-linux-nat.c: Ditto.
14720 * tilegx-tdep.c: Ditto.
14721 * tracepoint.c: Ditto.
14722 * valops.c: Ditto.
14723 * vaxbsd-nat.c: Ditto.
14724 * windows-nat.c: Ditto.
14725 * xtensa-tdep.c: Ditto.
14726
bd1f7788
YQ
147272014-01-07 Yao Qi <yao@codesourcery.com>
14728
14729 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14730
79301218
JB
147312014-01-07 Yao Qi <yao@codesourcery.com>
14732 Joel Brobecker <brobecker@adacore.com>
14733
14734 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14735 (pdc_write_regs): Likewise.
14736 (fetch_regs_kernel_thread): Likewise.
14737 (store_regs_kernel_thread): Likewise.
14738
147392014-01-07 Joel Brobecker <brobecker@adacore.com>
14740
14741 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14742 tagged type objects to their actual type.
14743
8e355c5d
JB
147442014-01-07 Joel Brobecker <brobecker@adacore.com>
14745
14746 * ada-valprint.c (print_field_values): Add "language" parameter.
14747 Update calls to print_field_values and print_variant_part.
14748 Pass new parameter "language" in call to val_print instead
14749 of "current_language". Replace call to ada_val_print by call
14750 to val_print.
14751 (print_variant_part): Add "language" parameter.
14752 (ada_val_print_struct_union): Update call to print_field_values.
14753
4fbf5aa5
JB
147542014-01-07 Joel Brobecker <brobecker@adacore.com>
14755
14756 * ada-valprint.c (ui_memcpy): Delete.
14757 (ada_print_floating): Update documentation. Add empty line
14758 between between function documentation and implementation.
14759 Delete variable "buffer". Use ui_file_xstrdup in place of
14760 ui_file_put. Minor adjustments following this change.
14761
71855601
JB
147622014-01-07 Joel Brobecker <brobecker@adacore.com>
14763
14764 * ada-valprint.c (ada_val_print_string): New function,
14765 extracted from ada_val_print_array.
14766 (ada_val_print_array): Replace extracted code by call
14767 to ada_val_print_string followed by a return. Move
14768 "else" branch to the function's top block.
14769
4eb27a30
JB
147702014-01-07 Joel Brobecker <brobecker@adacore.com>
14771
14772 * ada-valprint.c (ada_val_print_array): Move implementation
14773 down. Rename parameter "offset" and "val" into "offset_aligned"
14774 and "original_value" respectively. Add parameter "offset".
14775
34b27950
JB
147762014-01-07 Joel Brobecker <brobecker@adacore.com>
14777
14778 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14779 re-organizing the code. Change the "???" message printed
14780 when target type is a TYPE_CODE_UNDEF into
14781 "<ref to undefined type>".
14782
079e4591
JB
147832014-01-07 Joel Brobecker <brobecker@adacore.com>
14784
14785 * ada-valprint.c (print_record): Delete, implementation inlined...
14786 (ada_val_print_struct_union): ... here. Remove call to
14787 ada_check_typedef in inlined implementation.
14788
8004dfd1
JB
147892014-01-07 Joel Brobecker <brobecker@adacore.com>
14790
14791 * ada-valprint.c (ada_val_print_gnat_array): New function,
14792 extracted from ada_val_print_1;
14793 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14794 (ada_val_print_flt, ada_val_print_struct_union)
14795 (ada_val_print_ref): Likewise.
14796 (ada_val_print_1): Delete variables i and elttype.
14797 Replace extracted-out code by call to corresponding
14798 new functions.
14799
760a2db0
JB
148002014-01-07 Joel Brobecker <brobecker@adacore.com>
14801
14802 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14803
3a92c861
JB
148042014-01-07 Joel Brobecker <brobecker@adacore.com>
14805
14806 * ada-valprint.c (ada_val_print_1): Replace calls to
14807 ada_val_print_1 by calls to val_print.
14808
cd1630f9
JB
148092014-01-07 Joel Brobecker <brobecker@adacore.com>
14810
14811 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14812 Update calls to self accordingly. Replace calls to c_val_print
14813 by calls to val_print.
14814
bdf779a0
JB
148152014-01-07 Joel Brobecker <brobecker@adacore.com>
14816
14817 * ada-valprint.c (print_record): Delete declaration.
14818 (adjust_type_signedness, ada_val_print_1): Likewise.
14819 (ada_val_print): Move function implementation down.
14820 (print_variant_part, print_field_values, print_record):
14821 Move function implementation up.
14822
c0d48811
JB
148232014-01-07 Joel Brobecker <brobecker@adacore.com>
14824
14825 * python/py-type.c (typy_get_name): New function.
14826 (type_object_getset): Add entry for attribute "name".
14827 * NEWS: Add entry mentioning this new attribute.
14828
c26e9cbb
YQ
148292014-01-07 Yao Qi <yao@codesourcery.com>
14830
14831 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14832 statement.
14833
0cc6f43d
YQ
148342014-01-07 Yao Qi <yao@codesourcery.com>
14835
14836 * gnu-nat.c (info_port_rights): Add qualifier const to
14837 argument args.
14838
eec03155
YQ
148392014-01-07 Yao Qi <yao@codesourcery.com>
14840
14841 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14842
f04a82ef
YQ
148432014-01-07 Yao Qi <yao@codesourcery.com>
14844
14845 * gnu-nat.c (make_inf) Update declaration.
14846 (make_inf): Make it static.
14847 (inf_set_traced): Likewise.
14848 (inf_port_to_thread, inf_task_died_status): Likewise.
14849
d57dda0a
YQ
148502014-01-07 Yao Qi <yao@codesourcery.com>
14851
14852 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14853
3aa8c969
YQ
148542014-01-07 Yao Qi <yao@codesourcery.com>
14855
14856 * gnu-nat.c (_initialize_gnu_nat): Declare.
14857
94123b4f
YQ
148582014-01-07 Yao Qi <yao@codesourcery.com>
14859
14860 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14861 'enum bfd_endian'.
14862 (struct gdbarch_info) <byte_order>: Change type to
14863 'enum bfd_endian'.
14864 <byte_order_for_code>: Likewise.
14865 * gdbarch.c, gdbarch.h: Regenerated.
14866
dc81d70a
TT
148672014-01-06 Sasha Smundak <asmundak@google.com>
14868
14869 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14870
cc2f3c35
TT
148712014-01-06 Tom Tromey <tromey@redhat.com>
14872
14873 * doublest.c (convert_doublest_to_floatformat): Use const, not
14874 CONST.
14875 * somread.c (som_symtab_read): Likewise.
14876
adcf2eed
HZ
148772014-01-07 Hui Zhu <hui@codesourcery.com>
14878
14879 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14880 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14881 (gdb_bfd_fopen): Ditto.
14882 (gdb_bfd_openr): Ditto.
14883 (gdb_bfd_openw): Ditto.
14884 (gdb_bfd_openr_iovec): Ditto.
14885 (gdb_bfd_fdopenr): Ditto.
14886 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14887 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14888 with xstrdup.
14889 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14890 with xstrdup.
14891 * symfile-mem.c (symbol_file_add_from_memory): Removed
14892 gdb_bfd_stash_filename.
14893
50722198
DE
148942014-01-03 Doug Evans <dje@google.com>
14895
14896 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14897 output.
14898
2fa4b862
JB
148992014-01-01 Joel Brobecker <brobecker@adacore.com>
14900
14901 Update year range in copyright notice of all files.
14902
28498c42
JB
149032014-01-01 Joel Brobecker <brobecker@adacore.com>
14904
14905 * top.c (print_gdb_version): Set copyright year to 2014.
14906
7b6e1046
JB
149072014-01-01 Joel Brobecker <brobecker@adacore.com>
14908
14909 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14910
df96af55 14911For older changes see ChangeLog-2013.
c906108c
SS
14912\f
14913Local Variables:
14914mode: change-log
14915left-margin: 8
14916fill-column: 74
14917version-control: never
57da7796 14918coding: utf-8
c906108c 14919End:
This page took 2.292088 seconds and 4 git commands to generate.