source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
712a2e6d
DE
12014-11-10 Doug Evans <xdje42@gmail.com>
2
3 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
4
af3768e9
DE
52014-11-10 Doug Evans <xdje42@gmail.com>
6
7 PR symtab/17564
8 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
9 (lookup_static_symbol): Move definition to new location and rewrite.
10 (lookup_symbol_in_objfile): New function.
11 (lookup_symbol_global_iterator_cb): Call it.
12
b1f28d99
UW
132014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
14
15 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
16
b7a084be
PA
172014-11-07 Pedro Alves <palves@redhat.com>
18
19 * infrun.c (process_event_stop_test) <subroutine check>: Don't
20 check if we did a "nexti" inside a prologue.
21 * symtab.c (in_prologue): Delete function.
22 * symtab.h (in_prologue): Delete declaration.
23
67be31e5
DE
242014-11-06 Doug Evans <xdje42@gmail.com>
25
26 * symtab.h (lookup_global_symbol): Improve function comment.
27
08724ab7
DE
282014-11-06 Doug Evans <xdje42@gmail.com>
29
30 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
31 All callers updated.
32 * symtab.h (lookup_global_symbol): Update decl.
33 (lookup_static_symbol): Move decl to better location.
34
d9060ba6
DE
352014-11-06 Doug Evans <xdje42@gmail.com>
36
37 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
38
74016e12
DE
392014-11-06 Doug Evans <xdje42@gmail.com>
40
41 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
42 All callers updated.
43 (lookup_symbol_in_all_objfiles): Renamed from
44 lookup_symbol_aux_symtabs. All callers updated.
45 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
46 All callers updated.
47 (lookup_symbol_in_objfile_symtabs): Renamed from
48 lookup_symbol_aux_objfile. All callers updated.
49
d1a2d36d
DE
502014-11-06 Doug Evans <xdje42@gmail.com>
51
52 * symtab.c (lookup_symbol_in_block): Renamed from
53 lookup_symbol_aux_block. All callers updated.
54
24d864bb
DE
552014-11-06 Doug Evans <xdje42@gmail.com>
56
57 * symtab.c (lookup_static_symbol): Renamed from
58 lookup_static_symbol_aux. All callers updated.
59 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
60 All callers updated.
61
358d6ab3
DE
622014-11-06 Doug Evans <xdje42@gmail.com>
63
64 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
65 * block.c (block_lookup_symbol): Use it.
66 * cp-support.c (make_symbol_overload_list_block): Use it.
67 * symtab.c (iterate_over_symbols): Use it.
68
16b2eaa1
DE
692014-11-06 Doug Evans <xdje42@gmail.com>
70
71 * symtab.c (lookup_block_symbol): Moved to ...
72 * block.c (block_lookup_symbol): ... here and renamed.
73 All callers updated.
74 * block.h (block_lookup_symbol): Declare.
75 * symtab.h (lookup_block_symbol): Delete.
76
2dd2cd1c
DE
772014-11-06 Doug Evans <xdje42@gmail.com>
78
79 * ada-lang.c (ada_make_symbol_completion_list): Use
80 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
81 * symtab.c (lookup_objfile_from_block): Ditto.
82
d4c58915
DE
832014-11-06 Doug Evans <xdje42@gmail.com>
84
85 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
86 TYPE_CODE_STRUCT.
87
9c1877ea
DE
882014-11-06 Doug Evans <xdje42@gmail.com>
89
90 * objfiles.c (get_objfile_arch): Constify.
91 * objfiles.h (get_objfile_arch): Update prototype.
92 * solib.c (solib_global_lookup): Fetch arch from objfile,
93 not target_gdbarch.
94
426a4079
SL
952014-11-06 Sandra Loosemore <sandra@codesourcery.com>
96
97 * nios2-tdep.c (wild_insn): Delete.
98 (profiler_insn, irqentry_insn): Delete.
99 (nios2_match_sequence): Delete.
100 (nios2_analyze_prologue): Update comments. Remove matching
101 of obsolete profiler_insn and irqentry_insn sequences.
102
ee11262d
AM
1032014-11-05 Alan Modra <amodra@gmail.com>
104
105 * charset.c (convert_between_encodings): Shrink obstack using
106 obstack_blank_fast.
107 * minsyms.c (install_minimal_symbols): Likewise.
1ae1b8cc
AM
108 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
109 to char* before doing pointer arithmetic.
ee11262d 110
c87e6d00
SM
1112014-11-04 Simon Marchi <simon.marchi@ericsson.com>
112
113 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
114
441ef17f
PA
1152014-11-04 Pedro Alves <palves@redhat.com>
116
117 * breakpoint.c (breakpoint_thread_match): Delete function.
118 * breakpoint.h (breakpoint_thread_match): Delete declaration.
119
e0f52461
SC
1202014-11-03 Siva Chandra Reddy <sivachandra@google.com>
121
122 PR c++/17494
123 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
124 the method args also under EVAL_SKIP when evaluating method
125 calls under EVAL_SKIP.
126
a0b4d890
YQ
1272014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
128
129 * dwarf2loc.c (read_pieced_value): Do big endian
130 processing only if gdb_regnum is not -1.
131 (write_pieced_value): Ditto.
132
1332014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
134
135 * arm-linux-tdep.c (arm_linux_init_abi): Use
136 info.byte_order_for_code to choose endianity of breakpoint
137 instructions snippets.
138
1392014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
140
141 * arm-tdep.c (extract_arm_insn): Use
142 gdbarch_byte_order_for_code to read arm instruction.
143
e82149ff
DE
1442014-11-02 Doug Evans <xdje42@gmail.com>
145
146 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
147
d7ee84f1
DE
1482014-11-02 Doug Evans <xdje42@gmail.com>
149
150 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
151 main_subfile before returning.
152
4f072d17
DE
1532014-10-31 Doug Evans <xdje42@gmail.com>
154
155 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
156 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
157
8301c89e
DE
1582014-10-31 Doug Evans <xdje42@gmail.com>
159
160 * valops.c (value_cast_pointers): Fix whitespace.
161 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
162 Ditto.
163
02be9a71
DE
1642014-10-30 Doug Evans <dje@google.com>
165
166 * NEWS: Mention ability add attributes to gdb.Objfile and
167 gdb.Progspace objects.
168 * python/py-objfile.c (objfile_object): New member dict.
169 (objfpy_dealloc): Py_XDECREF dict.
170 (objfpy_initialize): Initialize dict.
171 (objfile_getset): Add __dict__.
172 (objfile_object_type): Set tp_dictoffset member.
173 * python/py-progspace.c (progspace_object): New member dict.
174 (pspy_dealloc): Py_XDECREF dict.
175 (pspy_initialize): Initialize dict.
176 (pspace_getset): Add __dict__.
177 (pspace_object_type): Set tp_dictoffset member.
178
6427bef6
YQ
1792014-10-30 Yao Qi <yao@codesourcery.com>
180
181 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
182 replace '\\' with '\\\\'.
183
f60325be
JB
1842014-10-29 Joel Brobecker <brobecker@adacore.com>
185
186 GDB 7.8.1 released.
187
ab917dfb
PA
1882014-10-29 Pedro Alves <palves@redhat.com>
189
190 PR gdb/17408
191 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
192 instead of assuming a thread with a stepping range is always
193 stepping.
194
d3d4baed
PA
1952014-10-29 Pedro Alves <palves@redhat.com>
196
197 PR python/17372
198 * event-top.c (change_line_handler): Call
199 gdb_rl_callback_handler_remove instead of
200 rl_callback_handler_remove.
201 (callback_handler_installed): New global.
202 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
203 (gdb_rl_callback_handler_reinstall): New functions.
204 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
205 gdb_rl_callback_handler_install instead of
206 rl_callback_handler_remove and rl_callback_handler_install.
207 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
208 instead of rl_callback_handler_remove.
209 * event-top.h (gdb_rl_callback_handler_remove)
210 (gdb_rl_callback_handler_install)
211 (gdb_rl_callback_handler_reinstall): New declarations.
212 * infrun.c (reinstall_readline_callback_handler_cleanup): New
213 cleanup function.
214 (fetch_inferior_event): Install it.
215 * top.c (gdb_readline_wrapper_line) Call
216 gdb_rl_callback_handler_remove instead of
217 rl_callback_handler_remove.
218 (gdb_readline_wrapper_cleanup): Don't call
219 rl_callback_handler_install.
220
6e5d7f39
PA
2212014-10-29 Pedro Alves <palves@redhat.com>
222
223 * event-top.c (command_line_handler): Clear the first byte of
224 linebuffer, when it is first allocated.
225
551cb6a5
PA
2262014-10-29 Pedro Alves <palves@redhat.com>
227
228 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
229 TRY_CATCH.
230
1e1e619b
PA
2312014-10-29 Pedro Alves <palves@redhat.com>
232
233 PR tui/16138
234 PR tui/17519
235 * tui/tui-interp.c (tui_is_toplevel): Delete global.
236 (tui_allowed_p): Delete function.
237 * tui/tui.c: Include "interps.h".
238 (tui_enable): Don't use tui_allowed_p. Error out here with
239 detailed error messages if the TUI is the top level interpreter,
240 or if output is not a terminal. Use newterm instead of initscr,
241 and error out if initializing the terminal fails. Also error out if
242 the terminal doesn't support cursor addressing.
243 * tui/tui.h (tui_allowed_p): Delete declaration.
244
6041179a
JB
2452014-10-29 Joel Brobecker <brobecker@adacore.com>
246
247 * arm-tdep.c (arm_skip_stack_protector): Return early if
248 address loaded by first "ldr" instruction does not have
249 a corresponding minimal symbol. Update comment.
250
6ae274b7
YQ
2512014-10-29 Yao Qi <yao@codesourcery.com>
252
253 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
254 loaded address correctly of ldr instruction.
255
7f5ef605
PA
2562014-10-28 Pedro Alves <palves@redhat.com>
257
258 PR gdb/12623
259 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
260 field.
261 * infrun.c (resume) <stepping breakpoint instruction>: Set the
262 thread's stepped_breakpoint field. Skip if reverse debugging.
263 Add comment.
264 (init_thread_stepping_state, handle_signal_stop): Clear the
265 thread's stepped_breakpoint field.
266
7d1a114c
PA
2672014-10-27 Pedro Alves <palves@redhat.com>
268
269 * remote.c (remote_thread_alive): New, factored out from ...
270 (remote_thread_alive): ... this.
271 (remote_update_thread_list): Bail out before deleting threads if
272 the target returned an empty list, and, the current thread has a
273 magic/fake ptid.
274
e5f8a7cc
PA
2752014-10-27 Pedro Alves <palves@redhat.com>
276
277 * infrun.c (handle_signal_stop): Also skip handlers when a random
278 signal arrives while handling a "stepi" or a "nexti". Set the
279 thread's 'step_after_step_resume_breakpoint' flag.
280
71e396f9
LM
2812014-10-27 Luis Machado <lgustavo@codesourcery.com>
282
283 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
284 (arm_record_ld_st_imm_offset): Reimplement to cover all
285 load/store cases for ARM opcode 010.
286 (arm_record_ld_st_multiple): Reimplement to cover all
287 load/store cases for ARM opcode 100.
288
3aee438b
DE
2892014-10-26 Doug Evans <xdje42@gmail.com>
290
291 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
292
f88cb4b6
DE
2932014-10-26 Doug Evans <xdje42@gmail.com>
294
295 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
296 parameter "kind" to "block_index".
297 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
298 "block_index".
299 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
300
a023a30f
DE
3012014-10-26 Doug Evans <xdje42@gmail.com>
302
303 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
304
4c35218e
DE
3052014-10-26 Doug Evans <xdje42@gmail.com>
306
307 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
308 obstack_alloc.
309
f08e8df3
DE
3102014-10-26 Doug Evans <xdje42@gmail.com>
311
312 * parser-defs.h (block_found): Move decl from here ...
313 * symtab.h (block_found): ... to here.
314
cf901d3b
DE
3152014-10-26 Doug Evans <xdje42@gmail.com>
316
317 * symtab.h (struct field_of_this_result): Fix typo in comment.
318 (lookup_symbol_in_language): Move function comment here.
319 (lookup_symbol): Improve function comment.
320 (basic_lookup_symbol_nonlocal): Ditto.
321 (lookup_symbol_static, lookup_symbol_global): Ditto.
322 (lookup_symbol_aux_block): Ditto.
323 (lookup_language_this): Add function comment.
324 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
325 function comment.
326 (lookup_block_symbol): Improve function comment.
327 (lookup_struct): Fix capitalization in function comment.
328 (lookup_transparent_type): Add function comment.
329 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
330 Improve function comment.
331 (lookup_objfile_from_block): Add function comment.
332 * symtab.c (lookup_symbol_in_language): Update function comment.
333 (lookup_symbol, lookup_language_this): Ditto.
334 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
335 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
336 (basic_lookup_symbol_nonlocal): Ditto.
337 (lookup_symbol_static, lookup_symbol_global): Ditto.
338 (lookup_transparent_type, lookup_block_symbol): Ditto.
339
ff6c39cf
DE
3402014-10-25 Doug Evans <xdje42@gmail.com>
341
342 * symtab.c (types_info): Delete forward decl.
343 (functions_info, variables_info, sources_info): Ditto.
344 (_initialize_symtab): Rewrite forward decl to use
345 initialize_file_ftype.
346
ec201f0c
DE
3472014-10-25 Doug Evans <xdje42@gmail.com>
348
349 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
350
ca040673
DE
3512014-10-25 Doug Evans <xdje42@gmail.com>
352
353 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
354 of local var child_die.
355
6f259a23
DB
3562014-10-24 Don Breazeal <donb@codesourcery.com>
357
358 * infrun.c (follow_fork_inferior): Update fork message printing
359 to use target_terminal_ours_for_output instead of
360 target_terminal_ours, to use _() for all format strings, to print
361 "vfork" instead of "fork" for vforks, and to add a detach message.
362 (handle_vfork_child_exec_or_exit): Update message printing to use
363 target_terminal_ours_for_output instead of target_terminal_ours, to
364 use _() for all format strings, and to fix some formatting.
365
09dd9a69
PA
3662014-10-24 Pedro Alves <palves@redhat.com>
367
368 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
369 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
370 * config/vax/vax.mh: Delete.
371 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
372 obsolete configurations section.
373 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
374 * vax-nat.c: Delete file.
375
5ab806de
PA
3762014-10-24 Pedro Alves <palves@redhat.com>
377
378 * NEWS (Removed targets): Add OS/arch column.
379
3433cfa5
SC
3802014-10-24 Siva Chandra Reddy <sivachandra@google.com>
381
382 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
383 on the arg type of a constructor only if it is of reference type.
384
96ba4233
SL
3852014-10-23 Sandra Loosemore <sandra@codesourcery.com>
386
387 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
388 accessors and constants from nios2 opcodes update.
389 (nios2_get_next_pc): Likewise.
390
28153fd3
DE
3912014-10-19 Doug Evans <xdje42@gmail.com>
392
393 * gdbthread.h (set_running): Fix comment.
394 (set_executing, finish_thread_state): Fix comment.
395
fc9b8e47
DE
3962014-10-18 Doug Evans <xdje42@gmail.com>
397
398 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
399
4ffbba72
DE
4002014-10-17 Doug Evans <dje@google.com>
401
402 * NEWS: Mention new event gdb.clear_objfiles.
403 * python/py-event.h (emit_clear_objfiles_event): Clear
404 * python/py-events.h (events_object): New member clear_objfiles.
405 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
406 event.
407 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
408 emit clear_objfiles event.
409 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
410 function.
411 (emit_clear_objfiles_event): New function.
412 (clear_objfiles): New event.
413 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
414 Declare.
415 * python/python.c (_initialize_python): Call
416 gdbpy_initialize_clear_objfiles_event.
417
d096d8c1
DE
4182014-10-17 Doug Evans <dje@google.com>
419
420 * NEWS: Mention new gdb.Objfile.progspace attribute.
421 * python/py-objfile.c (objfpy_get_progspace): New function.
422 (objfile_getset): New entry for "progspace".
423
6c4486e6
PA
4242014-10-17 Pedro Alves <palves@redhat.com>
425
426 PR gdb/17471
427 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
428 returns a copy of the input.
429 (run_command_1, continue_command, step_1, jump_command)
430 (signal_command, until_command, advance_command, finish_command)
431 (attach_command): Adjust and install a cleanup to free the
432 stripped args.
433
0ff33695
PA
4342014-10-17 Pedro Alves <palves@redhat.com>
435
436 PR gdb/17300
437 * infcmd.c (continue_1): If continuing all threads in the
438 foreground, make sure the inferior's terminal settings are put in
439 effect.
440
6fdebc3d
PA
4412014-10-17 Pedro Alves <palves@redhat.com>
442
443 PR gdb/17472
444 * annotate.c (annotate_breakpoints_invalid): Use
445 target_terminal_our_for_output instead of target_terminal_ours.
446 Give back the terminal to the target.
447 (annotate_frames_invalid): Likewise.
448
5842f62a
PA
4492014-10-17 Pedro Alves <palves@redhat.com>
450
451 * target.c (enum terminal_state): New enum.
452 (terminal_state): New global.
453 (target_terminal_init): New function.
454 (target_terminal_inferior): Skip if inferior already owns the
455 terminal.
456 (target_terminal_ours, target_terminal_ours_for_output): New
457 functions.
458 * target.h (target_terminal_init): Convert to function prototype.
459 (target_terminal_ours_for_output): Convert to function prototype
460 and tweak comment.
461 (target_terminal_ours): Convert to function prototype and tweak
462 comment.
463 * windows-nat.c (do_initial_windows_stuff): Call
464 target_terminal_init instead of child_terminal_init_with_pgrp.
465
32a8097b
PA
4662014-10-17 Pedro Alves <palves@redhat.com>
467
468 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
469 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
470 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
471 solib-osf.c.
472 * NEWS: Mention that support for alpha*-*-osf* has been removed.
473 * ada-lang.h [__alpha__ && __osf__]
474 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
475 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
476 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
477 GDB_OSABI_OSF1.
478 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
479 files.
480 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
481 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
482 * configure: Regenerate.
483 * configure.ac: Remove references to osf.
484 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
485 section. Remove all other references to osf.
486 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
487 Remove all other references to osf.
488 * dec-thread.c: Delete file.
489 * defs.h (GDB_OSABI_OSF1): Delete.
490 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
491 defined.
492 * osabi.c (gdb_osabi_names): Delete "OSF/1".
493 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
494 Delete code.
495 (unconditionally_kill_inferior)
496 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
497 * solib-osf.c: Delete file.
498
80134cf5
PA
4992014-10-17 Pedro Alves <palves@redhat.com>
500
501 * remote.c (clear_threads_listing_context): Move higher up, out of
502 the HAVE_LIBEXPAT guard.
503
89c7137f
TG
5042014-10-16 Tristan Gingold <gingold@adacore.com>
505
506 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
507 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
508 on amd64.
509
44ee4a52
PA
5102014-10-15 Pedro Alves <palves@redhat.com>
511
512 * dec-thread.c (dec_thread_count_gdb_threads)
513 (dec_thread_add_gdb_thread): Delete.
514 (dec_thread_update_thread_list): Delete.
515 (dec_thread_find_new_threads): Rename to ...
516 (dec_thread_update_thread_list): ... this. Delete GDB-size
517 threads that are no longer found in dec_thread_list.
518 (resync_thread_list): Delete.
519 (dec_thread_wait): Call dec_thread_update_thread_list instead of
520 resync_thread_list.
521
ab970af1
PA
5222014-10-15 Pedro Alves <palves@redhat.com>
523
524 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
525 * remote.c (remote_update_thread_list): Skip calling prune_threads
526 if any thread listing method is supported, and instead walk over
527 the set of remote threads listed, deleting those that are not
528 found in GDB's thread list.
529
e8032dde
PA
5302014-10-15 Pedro Alves <palves@redhat.com>
531
532 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
533 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
534 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
535 (bsd_uthread_target): Adjust.
536 * corelow.c (core_open): Adjust.
537 * dec-thread.c (dec_thread_find_new_threads): Update comment.
538 (dec_thread_update_thread_list): New function.
539 (init_dec_thread_ops): Adjust.
540 * gdbthread.h (prune_threads): New declaration.
541 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
542 (thread_db_update_thread_list): ... this. Call prune_threads.
543 (init_thread_db_ops): Adjust.
544 * nto-procfs.c (procfs_find_new_threads): Rename to ...
545 (procfs_update_thread_list): ... this. Call prune_threads.
546 (procfs_attach, procfs_create_inferior, init_procfs_targets):
547 Adjust.
548 * obsd-nat.c (obsd_find_new_threads): Rename to ...
549 (obsd_update_thread_list): ... this. Call prune_threads.
550 (obsd_add_target): Adjust.
551 * procfs.c (procfs_target): Adjust.
552 (procfs_notice_thread): Update comment.
553 (procfs_find_new_threads): Rename to ...
554 (procfs_update_thread_list): ... this. Call prune_threads.
555 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
556 comment.
557 (ravenscar_wait): Adjust.
558 (ravenscar_find_new_threads): Rename to ...
559 (ravenscar_update_thread_list): ... this. Call prune_threads.
560 (init_ravenscar_thread_ops): Adjust.
561 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
562 (record_btrace_update_thread_list): ... this. Adjust comment.
563 (init_record_btrace_ops): Adjust.
564 * remote.c (remote_threads_info): Rename to ...
565 (remote_update_thread_list): ... this. Call prune_threads.
566 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
567 Adjust.
568 * sol-thread.c (check_for_thread_db): Adjust.
569 (sol_find_new_threads_callback): Rename to ...
570 (sol_update_thread_list_callback): ... this.
571 (sol_find_new_threads): Rename to ...
572 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
573 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
574 * target-delegates.c: Regenerate.
575 * target.c (target_find_new_threads): Rename to ...
576 (target_update_thread_list): ... this.
577 * target.h (struct target_ops): Rename to_find_new_threads field
578 to to_update_thread_list.
579 (target_find_new_threads): Rename to ...
580 (target_update_thread_list): ... this.
581 * thread.c (prune_threads): Make extern.
582 (update_thread_list): Adjust.
583
6dc54d91
PA
5842014-10-15 Pedro Alves <palves@redhat.com>
585
586 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
587 Add describing comment. Return -1 if the qL packet is not
588 supported.
589 (struct thread_item, thread_item_t): Move higher up in
590 the file. Add comments.
591 (struct threads_parsing_context): Move higher up in
592 the file, add comments, and remote to ...
593 (struct threads_listing_context): ... this.
594 (remote_newthread_step): Don't add the thread to GDB's thread
595 database here. Instead push it to the thread_listing_context
596 list.
597 (remote_find_new_threads): Rename to ...
598 (remote_get_threads_with_ql): ... this. Add target_ops and
599 targets_listing_context parameters. Pass down context.
600 (start_thread): Adjust.
601 (clear_threads_parsing_context): Rename to ...
602 (clear_threads_listing_context): ... this.
603 (remote_get_threads_with_qxfer): New, with parts salvaged from old
604 remote_threads_info.
605 (remote_get_threads_with_qthreadinfo): Ditto.
606 (remote_threads_info): Reimplement.
607
36728e82
PA
6082014-10-15 Pedro Alves <palves@redhat.com>
609
610 * infrun.c (resume): Don't force displaced-stepping for all
611 single-steps on software single-stepping archs.
612
34b7e8a6
PA
6132014-10-15 Pedro Alves <palves@redhat.com>
614
615 * breakpoint.c (single_step_breakpoints): Delete global.
616 (insert_single_step_breakpoint): Adjust to store the breakpoint
617 pointer in the current thread.
618 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
619 (cancel_single_step_breakpoints): Delete functions.
620 (breakpoint_has_location_inserted_here): Make extern.
621 (single_step_breakpoint_inserted_here_p): Adjust to walk the
622 breakpoint list.
623 * breakpoint.h (breakpoint_has_location_inserted_here): New
624 declaration.
625 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
626 (cancel_single_step_breakpoints): Remove declarations.
627 * gdbthread.h (struct thread_control_state)
628 <single_step_breakpoints>: New field.
629 (delete_single_step_breakpoints)
630 (thread_has_single_step_breakpoints_set)
631 (thread_has_single_step_breakpoint_here): New declarations.
632 * infrun.c (follow_exec): Also clear the single-step breakpoints.
633 (singlestep_breakpoints_inserted_p, singlestep_ptid)
634 (singlestep_pc): Delete globals.
635 (infrun_thread_ptid_changed): Remove references to removed
636 globals.
637 (resume_cleanups): Delete the current thread's single-step
638 breakpoints.
639 (maybe_software_singlestep): Remove references to removed globals.
640 (resume): Adjust to use thread_has_single_step_breakpoints_set and
641 delete_single_step_breakpoints.
642 (init_wait_for_inferior): Remove references to removed globals.
643 (delete_thread_infrun_breakpoints): Delete the thread's
644 single-step breakpoints too.
645 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
646 single-step breakpoints here.
647 (delete_stopped_threads_single_step_breakpoints): New function.
648 (adjust_pc_after_break): Adjust to use
649 thread_has_single_step_breakpoints_set.
650 (handle_inferior_event): Remove references to removed globals.
651 Use delete_stopped_threads_single_step_breakpoints.
652 (handle_signal_stop): Adjust to per-thread single-step
653 breakpoints. Swap test order to do cheaper tests first.
654 (switch_back_to_stepped_thread): Extend debug output. Remove
655 references to removed globals.
656 * record-full.c (record_full_wait_1): Adjust to per-thread
657 single-step breakpoints.
658 * thread.c (delete_single_step_breakpoints)
659 (thread_has_single_step_breakpoints_set)
660 (thread_has_single_step_breakpoint_here): New functions.
661 (clear_thread_inferior_resources): Also delete the thread's
662 single-step breakpoints.
663
5b834a0a
PA
6642014-10-15 Pedro Alves <palves@redhat.com>
665
666 * thread.c (delete_thread_breakpoint): New function.
667 (delete_step_resume_breakpoint)
668 (delete_exception_resume_breakpoint): Use it.
669 (delete_at_next_stop): New function.
670 (clear_thread_inferior_resources): Use delete_at_next_stop.
671
a1fd2fa5
PA
6722014-10-15 Pedro Alves <palves@redhat.com>
673
674 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
675 (breakpoint_inserted_here_p): ... here. Remove special case for
676 software single-step breakpoints.
677 (find_non_raw_software_breakpoint_inserted_here): Inline ...
678 (software_breakpoint_inserted_here_p): ... here. Remove special
679 case for software single-step breakpoints.
680 (bp_target_info_copy_insertion_state)
681 (deprecated_insert_raw_breakpoint)
682 (deprecated_remove_raw_breakpoint): Delete functions.
683 * breakpoint.h (deprecated_insert_raw_breakpoint)
684 (deprecated_remove_raw_breakpoint): Remove declarations.
685
7c16b83e
PA
6862014-10-15 Pedro Alves <palves@redhat.com>
687
688 PR breakpoints/9649
689 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
690 Delete array globals.
691 (single_step_breakpoints): New global.
692 (breakpoint_xfer_memory): Remove special handling for single-step
693 breakpoints.
694 (update_breakpoints_after_exec): Delete bp_single_step
695 breakpoints.
696 (detach_breakpoints): Remove special handling for single-step
697 breakpoints.
698 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
699 (bpstat_stop_status): Add comment.
700 (bpstat_what, bptype_string, print_one_breakpoint_location)
701 (adjust_breakpoint_address, init_bp_location): Handle
702 bp_single_step.
703 (new_single_step_breakpoint): New function.
704 (set_momentary_breakpoint, bkpt_remove_location): Remove special
705 handling for single-step breakpoints.
706 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
707 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
708 Rewrite.
709 (detach_single_step_breakpoints, find_single_step_breakpoint):
710 Delete functions.
711 (breakpoint_has_location_inserted_here): New function.
712 (single_step_breakpoint_inserted_here_p): Rewrite.
713 * breakpoint.h: Remove FIXME.
714 (enum bptype) <bp_single_step>: New enum value.
715 (insert_single_step_breakpoint): Update comment.
716 * infrun.c (resume_cleanups)
717 (delete_step_thread_step_resume_breakpoint): Remove single-step
718 breakpoints.
719 (fetch_inferior_event): Install a cleanup that removes infrun
720 breakpoints.
721 (switch_back_to_stepped_thread) <expect thread advanced also>:
722 Clear step-over info.
723
0cbcdb96
PA
7242014-10-15 Pedro Alves <palves@redhat.com>
725
726 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
727 (delete_thread_infrun_breakpoints): New function, with parts
728 salvaged from delete_step_resume_breakpoint_callback.
729 (delete_step_thread_step_resume_breakpoint): Delete.
730 (for_each_just_stopped_thread_callback_func): New typedef.
731 (for_each_just_stopped_thread): New function.
732 (delete_just_stopped_threads_infrun_breakpoints): New function.
733 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
734 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
735 ... this. Adjust.
736 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
737
963f9c80
PA
7382014-10-15 Pedro Alves <palves@redhat.com>
739
740 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
741 trying to step past a non-steppable watchpoint.
742 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
743 field.
744 * infrun.c (struct step_over_info): Add new field
745 'nonsteppable_watchpoint_p' and adjust comments.
746 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
747 Adjust.
748 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
749 (stepping_past_nonsteppable_watchpoint): New function.
750 (step_over_info_valid_p): Also return true if stepping past a
751 nonsteppable watchpoint.
752 (proceed): Adjust call to set_step_over_info. Remove reference to
753 init_infwait_state.
754 (init_wait_for_inferior): Remove reference to init_infwait_state.
755 (waiton_ptid): Delete global.
756 (struct execution_control_state)
757 <stepped_after_stopped_by_watchpoint>: Delete field.
758 (wait_for_inferior, fetch_inferior_event): Always pass
759 minus_one_ptid to target_wait.
760 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
761 field.
762 (init_infwait_state): Delete function.
763 (handle_inferior_event): Remove infwait_state handling.
764 (handle_signal_stop) <watchpoints handling>: Adjust after
765 stepped_after_stopped_by_watchpoint removal. Don't remove
766 breakpoints here nor set infwait_state. Set the thread's
767 stepping_over_watchpoint flag, and call keep_going instead.
768 (keep_going): Handle stepping_over_watchpoint. Adjust
769 set_step_over_info calls.
770 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
771 function.
772
6cc83d2a
PA
7732014-10-15 Pedro Alves <palves@redhat.com>
774
775 * infrun.c (step_over_info_valid_p): New function.
776 (resume): Use step_over_info_valid_p instead of checking the
777 threads's trap_expected flag.
778
6979730b
DE
7792014-10-15 Doug Evans <dje@google.com>
780 Walfred Tedeschi <walfred.tedeschi@intel.com>
781
782 PR python/17364
783 * python/lib/gdb/__init__.py (packages): Add "printer".
784 * python/lib/gdb/command/bound_registers.py: Moved to ...
785 * python/lib/gdb/printer/bound_registers.py: ... here.
786 Add printer to global set of builtin printers. Rename printer from
787 "bound" to "mpx_bound128".
788 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
789 registered as global "builtin" printer.
790 (add_builtin_pretty_printer): New function.
791 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
792 gdb/printer/__init__.py.
793
35a49624
IB
7942014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
795
796 * Makefile.in (SFILES): Remove d-support.c.
797 (COMMON_OBS): Remove d-support.o.
798 * d-lang.h (d_parse_symbol): Remove declaration.
799 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
800 * d-support.c: Remove file.
801
8fa0c4f8
AA
8022014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
803
804 * gdb/infrun.c (process_event_stop_test): Apply
805 gdbarch_addr_bits_remove to longjmp resume address.
806
3666da81
PA
8072014-10-15 Pedro Alves <palves@redhat.com>
808
809 * regformats/microblaze.dat: Delete file.
810
449aa9df
AKA
8112014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
812
813 * features/Makefile (microblaze-expedite): Replace pc with rpc.
814 * regformats/microblaze-with-stack-protect.dat: Regenerate.
815
ebb8ece2
SC
8162014-10-15 Siva Chandra Reddy <sivachandra@google.com>
817
818 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
819 as non-trivial.
820
82c48ac7
SC
8212014-10-15 Siva Chandra Reddy <sivachandra@google.com>
822
823 PR c++/13403
824 PR c++/15154
825 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
826 with qualified args.
827
c40cc657
JB
8282014-10-14 Joel Brobecker <brobecker@adacore.com>
829
830 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
831 of the case where the second operand is a pointer.
832 <BINOP_SUB>: Likewise.
833
0ea5cda8
SDJ
8342014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
835
836 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
837 only if it is not NULL.
838 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
839 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
840 (struct probe_ops) <clear_semaphore>: Likewise.
841 * tracepoint.c (start_tracing): Call set_semaphore only if it is
842 not NULL.
843 (stop_tracing): Likewise, for clear_semaphore.
844
f7088df3
SDJ
8452014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
846
847 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
848 using language_c, instead of current_language.
849
4e1bbde0
DE
8502014-10-13 Doug Evans <dje@google.com>
851
6ff5a0f6 852 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 853 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 854 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
855 (pspy_new, pspace_to_pspace_object): Call it.
856
c780cc2f
JK
8572014-10-13 Miroslav Franc <mfranc@redhat.com>
858 Jan Kratochvil <jan.kratochvil@redhat.com>
859
860 Fix "save breakpoints" for "catch" command.
861 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
862 newline.
863
99894e11
JK
8642014-10-12 Miroslav Franc <mfranc@redhat.com>
865
866 Fix "save breakpoints" for "disable $bpnum" command.
867 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
868
3831839c
PA
8692014-10-10 Pedro Alves <palves@redhat.com>
870
871 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
872 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
873 (HFILES_NO_SRCDIR): Remove solib-irix.h.
874 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
875 and been removed.
876 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
877 * configure.ac: Remove references to IRIX.
878 * configure.host: Add *-*-irix* to the obsolete hosts section.
879 Remove all other references to irix.
880 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
881 Delete files.
882
cc3afae2
AKA
8832014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
884
885 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
886 isn't valid, release the tdesc arch data and return NULL.
887
cdfa0b0a
PA
8882014-10-10 Pedro Alves <palves@redhat.com>
889
890 * linux-tdep.c: Include observer.h.
891 (linux_inferior_data): New global.
892 (struct linux_info): New structure.
893 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
894 (get_linux_inferior_data): New functions.
895 (linux_vsyscall_range): Rename to ...
896 (linux_vsyscall_range_raw): ... this.
897 (linux_vsyscall_range): New function; handles caching.
898 (_initialize_linux_tdep): Register linux_inferior_data. Install
899 inferior_exit and inferior_appeared observers.
900
8b9a549d
PA
9012014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
902 Pedro Alves <palves@redhat.com>
903
904 PR symtab/14466
905 * solib-svr4.c (svr4_read_so_list): Rename to ...
906 (svr4_current_sos_1): ... this and change the function comment.
907 (svr4_current_sos): New function.
908
3437254d
PA
9092014-10-10 Pedro Alves <palves@redhat.com>
910
911 * arch-utils.c (default_vsyscall_range): New function.
912 * arch-utils.h (default_vsyscall_range): New declaration.
913 * gdbarch.sh (vsyscall_range): New hook.
914 * gdbarch.h, gdbarch.c: Regenerate.
915 * linux-tdep.c (linux_vsyscall_range): New function.
916 (linux_init_abi): Install linux_vsyscall_range as
917 vsyscall_range gdbarch hook.
918 * memrange.c (address_in_mem_range): New function.
919 * memrange.h (address_in_mem_range): New declaration.
920 * symfile-mem.c (find_vdso_size): Delete function.
921 (add_vsyscall_page): Use gdbarch_vsyscall_range.
922
31cc0b80
PA
9232014-10-10 Pedro Alves <palves@redhat.com>
924
925 * infrun.c (normal_stop): Fix typo in comment.
926
3e3286a2
SDJ
9272014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
928
929 PR tdep/9390
930 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
931 typo when using logical AND to determine instruction type.
932
fcbdedf8
YQ
9332014-10-09 Yao Qi <yao@codesourcery.com>
934
935 * infrun.c (handle_signal_stop): Remove local variable
936 'printed'.
937
db984616
SS
9382014-10-08 Stan Shebs <stan@codesourcery.com>
939
940 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
941
3ba37e6c
GB
9422014-10-08 Gary Benson <gbenson@redhat.com>
943
944 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
945
a442d071
GB
9462014-10-08 Gary Benson <gbenson@redhat.com>
947
948 * common/common-defs.h: Include common-exceptions.h.
949 * exceptions.h: Do not include common-exceptions.h.
950
6f1947e8
GB
9512014-10-08 Gary Benson <gbenson@redhat.com>
952
953 * common/common-defs.h: Include cleanups.h.
954 * common/common-exceptions.c: Do not include cleanups.h.
955 * utils.h: Likewise.
956
c765fdb9
GB
9572014-10-08 Gary Benson <gbenson@redhat.com>
958
959 * ada-lang.c: Do not include exceptions.h.
960 * ada-valprint.c: Likewise.
961 * amd64-tdep.c: Likewise.
962 * auto-load.c: Likewise.
963 * block.c: Likewise.
964 * break-catch-throw.c: Likewise.
965 * breakpoint.c: Likewise.
966 * btrace.c: Likewise.
967 * c-lang.c: Likewise.
968 * cli/cli-cmds.c: Likewise.
969 * cli/cli-interp.c: Likewise.
970 * cli/cli-script.c: Likewise.
971 * completer.c: Likewise.
972 * corefile.c: Likewise.
973 * corelow.c: Likewise.
974 * cp-abi.c: Likewise.
975 * cp-support.c: Likewise.
976 * cp-valprint.c: Likewise.
977 * darwin-nat.c: Likewise.
978 * dwarf2-frame-tailcall.c: Likewise.
979 * dwarf2-frame.c: Likewise.
980 * dwarf2loc.c: Likewise.
981 * dwarf2read.c: Likewise.
982 * eval.c: Likewise.
983 * event-loop.c: Likewise.
984 * event-top.c: Likewise.
985 * f-valprint.c: Likewise.
986 * frame-unwind.c: Likewise.
987 * frame.c: Likewise.
988 * gdbtypes.c: Likewise.
989 * gnu-v2-abi.c: Likewise.
990 * gnu-v3-abi.c: Likewise.
991 * guile/scm-auto-load.c: Likewise.
992 * guile/scm-breakpoint.c: Likewise.
993 * guile/scm-cmd.c: Likewise.
994 * guile/scm-frame.c: Likewise.
995 * guile/scm-lazy-string.c: Likewise.
996 * guile/scm-param.c: Likewise.
997 * guile/scm-symbol.c: Likewise.
998 * guile/scm-type.c: Likewise.
999 * hppa-hpux-tdep.c: Likewise.
1000 * i386-tdep.c: Likewise.
1001 * inf-loop.c: Likewise.
1002 * infcall.c: Likewise.
1003 * infcmd.c: Likewise.
1004 * infrun.c: Likewise.
1005 * interps.c: Likewise.
1006 * interps.h: Likewise.
1007 * jit.c: Likewise.
1008 * linespec.c: Likewise.
1009 * linux-nat.c: Likewise.
1010 * linux-thread-db.c: Likewise.
1011 * m32r-rom.c: Likewise.
1012 * main.c: Likewise.
1013 * memory-map.c: Likewise.
1014 * mi/mi-cmd-break.c: Likewise.
1015 * mi/mi-cmd-stack.c: Likewise.
1016 * mi/mi-interp.c: Likewise.
1017 * mi/mi-main.c: Likewise.
1018 * monitor.c: Likewise.
1019 * nto-procfs.c: Likewise.
1020 * objc-lang.c: Likewise.
1021 * p-valprint.c: Likewise.
1022 * parse.c: Likewise.
1023 * ppc-linux-tdep.c: Likewise.
1024 * printcmd.c: Likewise.
1025 * probe.c: Likewise.
1026 * python/py-auto-load.c: Likewise.
1027 * python/py-breakpoint.c: Likewise.
1028 * python/py-cmd.c: Likewise.
1029 * python/py-finishbreakpoint.c: Likewise.
1030 * python/py-frame.c: Likewise.
1031 * python/py-framefilter.c: Likewise.
1032 * python/py-function.c: Likewise.
1033 * python/py-gdb-readline.c: Likewise.
1034 * python/py-inferior.c: Likewise.
1035 * python/py-infthread.c: Likewise.
1036 * python/py-lazy-string.c: Likewise.
1037 * python/py-linetable.c: Likewise.
1038 * python/py-param.c: Likewise.
1039 * python/py-prettyprint.c: Likewise.
1040 * python/py-symbol.c: Likewise.
1041 * python/py-type.c: Likewise.
1042 * python/py-value.c: Likewise.
1043 * python/python-internal.h: Likewise.
1044 * python/python.c: Likewise.
1045 * record-btrace.c: Likewise.
1046 * record-full.c: Likewise.
1047 * regcache.c: Likewise.
1048 * remote-fileio.c: Likewise.
1049 * remote-mips.c: Likewise.
1050 * remote.c: Likewise.
1051 * rs6000-aix-tdep.c: Likewise.
1052 * rs6000-nat.c: Likewise.
1053 * skip.c: Likewise.
1054 * solib-darwin.c: Likewise.
1055 * solib-dsbt.c: Likewise.
1056 * solib-frv.c: Likewise.
1057 * solib-ia64-hpux.c: Likewise.
1058 * solib-spu.c: Likewise.
1059 * solib-svr4.c: Likewise.
1060 * solib.c: Likewise.
1061 * spu-tdep.c: Likewise.
1062 * stack.c: Likewise.
1063 * stap-probe.c: Likewise.
1064 * symfile-mem.c: Likewise.
1065 * symmisc.c: Likewise.
1066 * target.c: Likewise.
1067 * thread.c: Likewise.
1068 * top.c: Likewise.
1069 * tracepoint.c: Likewise.
1070 * tui/tui-interp.c: Likewise.
1071 * typeprint.c: Likewise.
1072 * utils.c: Likewise.
1073 * valarith.c: Likewise.
1074 * valops.c: Likewise.
1075 * valprint.c: Likewise.
1076 * value.c: Likewise.
1077 * varobj.c: Likewise.
1078 * windows-nat.c: Likewise.
1079 * xml-support.c: Likewise.
1080
484933d1
MR
10812014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1082
1083 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1084 name implies.
1085 (extended_mips16_next_pc): Update accordingly.
1086
ab50adb6
MR
10872014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1088
1089 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1090 function.
1091 (micromips_instruction_is_compact_branch): Likewise.
1092 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1093 or a compact jump, reaching a jump delay slot, or seeing a
1094 second non-prologue instruction.
1095 (micromips_scan_prologue): Also terminate scanning upon seeing a
1096 compact branch or jump, or reaching a branch or jump delay slot.
1097 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1098 or jump delay slot, or seeing a second non-prologue instruction.
1099 (mips32_instruction_has_delay_slot): Retain instruction
1100 examination code only, update arguments accordingly and move
1101 instruction fetch pieces to...
1102 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1103 (micromips_instruction_has_delay_slot): Likewise and to...
1104 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1105 (mips16_instruction_has_delay_slot): Likewise and to...
1106 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1107 (mips_single_step_through_delay): Update accordingly.
1108 (mips_adjust_breakpoint_address): Likewise.
1109
ae790652
MR
11102014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1111
1112 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1113 !mustbe32 also return 1 for 32-bit instructions.
1114 (mips16_instruction_has_delay_slot): Likewise. Add an
1115 explanatory comment.
1116
9b807e7b
MR
11172014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1118
1119 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1120 symbols special.
1121
0d5ed153
MR
11222014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1123
1124 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1125 update comments.
1126 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1127 for the breakpoint's address. Don't preinitialize `placed_size'.
1128 (insert_bp_location): Set `reqstd_address' rather than
1129 `placed_address'.
1130 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1131 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1132 address.
1133 (bkpt_remove_location): Likewise.
1134 (deprecated_insert_raw_breakpoint): Likewise.
1135 (deprecated_remove_raw_breakpoint): Likewise.
1136 (find_single_step_breakpoint): Likewise.
1137 * mem-break.c (default_memory_insert_breakpoint): Use
1138 `reqstd_address' for the breakpoint's address. Don't set
1139 `placed_address' or `placed_size' if breakpoint contents couldn't
1140 have been determined.
1141 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1142 the breakpoint's address.
1143 (remote_insert_hw_breakpoint): Likewise. Don't set
1144 `placed_address' or `placed_size' if breakpoint couldn't have been
1145 set.
1146 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1147 `reqstd_address' for the breakpoint's address.
1148 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1149 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1150 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1151 * microblaze-linux-tdep.c
1152 (microblaze_linux_memory_remove_breakpoint): Likewise.
1153 * monitor.c (monitor_insert_breakpoint): Likewise.
1154 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1155 (procfs_insert_hw_breakpoint): Likewise.
1156 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1157 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1158 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1159 * remote-mips.c (mips_insert_breakpoint): Likewise.
1160 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1161
3e871532
LM
11622014-10-03 Luis Machado <lgustavo@codesourcery.com>
1163
1164 * valops.c (value_assign): Check for bit field assignments
1165 before calling architecture-specific register value
1166 conversion functions.
1167
ec48dc8b
PM
11682014-10-03 Pierre Muller <muller@sourceware.org>
1169
1170 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1171
b57bacec
PA
11722014-10-02 Pedro Alves <palves@redhat.com>
1173
1174 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1175 threads_are_executing.
1176 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1177 describing comment.
1178 * gdbthread.h (threads_are_executing): Declare.
1179 (handle_signal_stop) <random signals>: Don't print about the
1180 signal here if stopping.
1181 (end_stepping_range): Don't notify observers here.
1182 (normal_stop): Update the thread list. If stopped by a random
1183 signal or a stepping range ended, notify observers.
1184 * thread.c (threads_executing): New global.
1185 (init_thread_list): Clear 'threads_executing'.
1186 (set_executing): Set or clear 'threads_executing'.
1187 (threads_are_executing): New function.
1188 (update_threads_executing): New function.
1189 (update_thread_list): Use it.
1190
13fd3ff3
PA
11912014-10-02 Pedro Alves <palves@redhat.com>
1192
1193 PR breakpoints/17431
1194 * breakpoint.c (update_breakpoints_after_exec): Don't create
1195 overlay, longjmp, std terminate nor exception breakpoints here.
1196
32990ada
PA
11972014-10-02 Pedro Alves <palves@redhat.com>
1198
1199 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1200 Adjust comments.
1201 * inferior.c (find_inferior_for_program_space): Give preference to
1202 the current inferior.
1203 * inferior.h (find_inferior_for_program_space): Update comment.
1204 * progspace.c (switch_to_program_space_and_thread): Prefer the
1205 current inferior if it's bound to the program space requested. If
1206 the inferior found doesn't have a PID yet, don't bother looking up
1207 a thread.
1208 * progspace.h (switch_to_program_space_and_thread): Adjust
1209 comment.
1210 * thread.c (any_thread_of_process, any_live_thread_of_process):
1211 Give preference to the current thread.
1212
0fec99e8
PA
12132014-10-01 Pedro Alves <palves@redhat.com>
1214
1215 * breakpoint.c (insert_bp_location): Error out if inserting a
1216 software breakpoint at a read-only address.
1217 * target.c (memory_xfer_check_region): New function, factored out
1218 from ...
1219 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1220 ULONGEST.
1221 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1222 against the memory region attributes.
1223
2ddf4301
SM
12242014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1225
1226 * NEWS: Announce new exit-code field in -list-thread-groups
1227 output.
1228 * inferior.c (exit_inferior_1): Don't clear exit code.
1229 (inferior_appeared): Clear exit code.
1230 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1231 code.
1232
5fdeec1d
PA
12332014-10-01 Pedro Alves <palves@redhat.com>
1234
1235 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1236 GENERATED" along with emacs/vi read-only markers.
1237 * regformats/aarch64.dat: Regenerate.
1238 * regformats/arm-with-iwmmxt.dat: Regenerate.
1239 * regformats/arm-with-neon.dat: Regenerate.
1240 * regformats/arm-with-vfpv2.dat: Regenerate.
1241 * regformats/arm-with-vfpv3.dat: Regenerate.
1242 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1243 * regformats/i386/amd64-avx.dat: Regenerate.
1244 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1245 * regformats/i386/amd64-avx512.dat: Regenerate.
1246 * regformats/i386/amd64-linux.dat: Regenerate.
1247 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1248 * regformats/i386/amd64-mpx.dat: Regenerate.
1249 * regformats/i386/amd64.dat: Regenerate.
1250 * regformats/i386/i386-avx-linux.dat: Regenerate.
1251 * regformats/i386/i386-avx.dat: Regenerate.
1252 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1253 * regformats/i386/i386-avx512.dat: Regenerate.
1254 * regformats/i386/i386-linux.dat: Regenerate.
1255 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1256 * regformats/i386/i386-mmx.dat: Regenerate.
1257 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1258 * regformats/i386/i386-mpx.dat: Regenerate.
1259 * regformats/i386/i386.dat: Regenerate.
1260 * regformats/i386/x32-avx-linux.dat: Regenerate.
1261 * regformats/i386/x32-avx.dat: Regenerate.
1262 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1263 * regformats/i386/x32-avx512.dat: Regenerate.
1264 * regformats/i386/x32-linux.dat: Regenerate.
1265 * regformats/i386/x32.dat: Regenerate.
1266 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1267 * regformats/mips-dsp-linux.dat: Regenerate.
1268 * regformats/mips-linux.dat: Regenerate.
1269 * regformats/mips64-dsp-linux.dat: Regenerate.
1270 * regformats/mips64-linux.dat: Regenerate.
1271 * regformats/nios2-linux.dat: Regenerate.
1272 * regformats/rs6000/powerpc-32.dat: Regenerate.
1273 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1274 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1275 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1276 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1277 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1278 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1279 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1280 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1281 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1282 * regformats/s390-linux32.dat: Regenerate.
1283 * regformats/s390-linux32v1.dat: Regenerate.
1284 * regformats/s390-linux32v2.dat: Regenerate.
1285 * regformats/s390-linux64.dat: Regenerate.
1286 * regformats/s390-linux64v1.dat: Regenerate.
1287 * regformats/s390-linux64v2.dat: Regenerate.
1288 * regformats/s390-te-linux64.dat: Regenerate.
1289 * regformats/s390x-linux64.dat: Regenerate.
1290 * regformats/s390x-linux64v1.dat: Regenerate.
1291 * regformats/s390x-linux64v2.dat: Regenerate.
1292 * regformats/s390x-te-linux64.dat: Regenerate.
1293 * regformats/tic6x-c62x-linux.dat: Regenerate.
1294 * regformats/tic6x-c62x.dat: Regenerate.
1295 * regformats/tic6x-c64x-linux.dat: Regenerate.
1296 * regformats/tic6x-c64x.dat: Regenerate.
1297 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1298 * regformats/tic6x-c64xp.dat: Regenerate.
1299
db74e4ba
PA
13002014-10-01 Pedro Alves <palves@redhat.com>
1301
1302 * features/Makefile: Update comments.
1303 (XMLTOC): List all xml files we build C files from.
1304 (clean-cfiles): New rule.
1305
d63f2f84
PA
13062014-10-01 Pedro Alves <palves@redhat.com>
1307
1308 * features/i386/amd64-avx512-linux.c: Regenerate.
1309 * features/i386/amd64-avx512.c: Regenerate.
1310 * features/i386/x32-avx512-linux.c: Regenerate.
1311 * features/i386/x32-avx512.c: Regenerate.
1312
20ad026d
PA
13132014-10-01 Pedro Alves <palves@redhat.com>
1314
1315 * features/Makefile (WHICH): Remove arm-with-m,
1316 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1317
acc9fe45
PA
13182014-10-01 Pedro Alves <palves@redhat.com>
1319
1320 * features/Makefile (clean): New rule.
1321
e001e535
PA
13222014-10-01 Pedro Alves <palves@redhat.com>
1323
1324 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1325 (zmm14h): Add missing end quotes.
1326
bdc14417
PA
13272014-10-01 Pedro Alves <palves@redhat.com>
1328
1329 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1330 * features/aarch64.c: Regenerate.
1331
d83ad864
DB
13322014-09-30 Don Breazeal <donb@codesourcery.com>
1333
1334 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1335 code so as to work with follow_fork_inferior.
1336 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1337 (inf_ttrace_create_inferior): Remove reference to
1338 inf_ttrace_vfork_ppid.
1339 (inf_ttrace_attach): Ditto.
1340 (inf_ttrace_detach): Ditto.
1341 (inf_ttrace_kill): Use current_inferior instead of
1342 inf_ttrace_vfork_ppid.
1343 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1344 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1345 inferior away from the parent.
1346 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1347 target_follow_fork.
1348 (follow_fork_inferior): New function.
1349 (follow_inferior_reset_breakpoints): Make function static.
1350 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1351 * linux-nat.c (linux_child_follow_fork): Move target-independent
1352 code to infrun.c:follow_fork_inferior.
1353
29082443
AA
13542014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1355
1356 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1357 * gdbarch.c: Regenerate.
1358 * gdbarch.h: Likewise.
1359 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1360 gdbarch method 'regset_from_core_section'.
1361 (get_core_register_section): Remove handling for the case that
1362 regset == NULL and regset_from_core_section is defined.
1363 (get_core_registers): Drop check for deleted method.
1364 * procfs.c (procfs_do_thread_registers): Adjust comment.
1365
f968fe80
AA
13662014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1367
1368 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1369 (linux_nat_make_corefile_notes): Remove.
1370 (linux_target_install_ops): Do not set target method
1371 'make_corefile_notes'.
1372 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1373 Remove field.
1374 (linux_corefile_thread_callback): Instead of args->collect, call
1375 linux_collect_thread_registers.
1376 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1377 NULL unless there is a regset iterator.
1378 (linux_make_corefile_notes_1): Remove.
1379 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1380 by linux_make_corefile_notes.
1381 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1382
174ad59a
AA
13832014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1384
1385 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1386 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1387 Remove.
1388 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1389
97094034
AA
13902014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1391
1392 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1393 (xtensa_iterate_over_regset_sections): New.
1394 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1395
f73d3ce7
AA
13962014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1397
1398 * vax-tdep.c (vax_regset_from_core_section): Remove.
1399 (vax_iterate_over_regset_sections): New.
1400 (vax_gdbarch_init): Adjust gdbarch initialization.
1401
cb24567a
AA
14022014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1403
1404 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1405 (tilegx_regset_from_core_section): Remove.
1406 (tilegx_iterate_over_regset_sections): New.
1407 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1408
e5139de8
AA
14092014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1410
1411 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1412 (sparc_iterate_over_regset_sections): New.
1413 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1414 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1415 targets.
1416 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1417 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1418 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1419 target method 'make_corefile_notes'.
1420
c6d41a6f
AA
14212014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1422
1423 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1424 'sizeof_gregset' and 'sizeof_fpregset'.
1425 * sh-tdep.c (sh_regset_from_core_section): Remove.
1426 (sh_iterate_over_regset_sections): New.
1427 (sh_gdbarch_init): Adjust gdbarch initialization.
1428 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1429 sizeof_fpregset.
1430 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1431 'sizeof_gregset'.
1432
9845a0b5
AA
14332014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1434
1435 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1436 (score7_linux_iterate_over_regset_sections): New.
1437 (score_gdbarch_init): Adjust gdbarch initialization.
1438
23ea9aeb
AA
14392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1440
1441 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1442 FreeBSD targets.
1443 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1444 method 'make_corefile_notes'.
1445 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1446 (ppcfbsd_regset_from_core_section): Remove.
1447 (ppcfbsd_iterate_over_regset_sections): New.
1448 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1449 initialization.
1450 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1451 (ppcnbsd_iterate_over_regset_sections): New.
1452 (ppcnbsd_init_abi): Adjust.
1453 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1454 (ppcobsd_iterate_over_regset_sections): New.
1455 (ppcobsd_init_abi): Adjust.
1456 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1457 (rs6000_aix_iterate_over_regset_sections): New.
1458 (rs6000_aix_init_osabi): Adjust.
1459
c5b8d704
AA
14602014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1461
1462 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1463 (nios2_regset_from_core_section): Remove.
1464 (nios2_iterate_over_regset_sections): New.
1465 (nios2_linux_init_abi): Adjust gdbarch initialization.
1466
3636e608
AA
14672014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1468
1469 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1470 (am33_iterate_over_regset_sections): New.
1471 (am33_linux_init_osabi): Adjust gdbarch initialization.
1472
d4036235
AA
14732014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474
1475 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1476 (mips_linux_iterate_over_regset_sections): New.
1477 (mips_linux_init_abi): Adjust gdbarch initialization.
1478 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1479 (mips64obsd_iterate_over_regset_sections): New.
1480 (mips64obsd_init_abi): Adjust.
1481 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1482 (mipsnbsd_iterate_over_regset_sections): New.
1483 (mipsnbsd_init_abi): Adjust.
1484
b61ddd6e
AA
14852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1486
1487 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1488 (m88k_iterate_over_regset_sections): New.
1489 (m88k_gdbarch_init): Adjust gdbarch initialization.
1490
55a2906a
AA
14912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1492
1493 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1494 (ia64_linux_iterate_over_regset_sections): New.
1495 (ia64_linux_init_abi): Adjust gdbarch initialization.
1496
022c98ab
AA
14972014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1498
1499 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1500 (m68kbsd_iterate_over_regset_sections): New.
1501 (m68kbsd_init_abi): Adjust gdbarch initialization.
1502 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1503 (m68k_linux_iterate_over_regset_sections): New.
1504 (m68k_linux_init_abi): Adjust gdbarch initialization.
1505
5fac247f
AA
15062014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1507
1508 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1509 (m32r_linux_regset_from_core_section): Remove.
1510 (m32r_linux_iterate_over_regset_sections): New.
1511 (m32r_linux_init_abi): Adjust gdbarch initialization.
1512
490496c3
AA
15132014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1514
1515 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1516 (amd64obsd_iterate_over_regset_sections): New.
1517 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1518 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1519 Remove.
1520 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1521 regset_from_core_section initialization.
1522 * i386-tdep.c (i386_regset_from_core_section): Remove.
1523 (i386_iterate_over_regset_sections): New.
1524 (i386_gdbarch_init): Adjust gdbarch initialization.
1525 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1526 (i386_iterate_over_regset_sections): New prototype.
1527 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1528 Remove.
1529 (i386obsd_aout_iterate_over_regset_sections): New.
1530 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1531 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1532 targets.
1533 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1534 (amd64fbsd_init_abi): Call fbsd_init_abi.
1535 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1536 (i386fbsd4_init_abi): Call fbsd_init_abi.
1537 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1538 target method 'make_corefile_notes'.
1539 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1540
50c5eb53
AA
15412014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1542
1543 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1544 (hppa_hpux_iterate_over_regset_sections): New.
1545 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1546 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1547 (hppa_linux_iterate_over_regset_sections): New.
1548 (hppa_linux_init_abi): Adjust.
1549 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1550 (hppanbsd_iterate_over_regset_sections): New.
1551 (hppanbsd_init_abi): Adjust.
1552 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1553 (hppaobsd_iterate_over_regset_sections): New.
1554 (hppaobsd_init_abi): Adjust.
1555
66afae4f
AA
15562014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1557
1558 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1559 (frv_linux_iterate_over_regset_sections): New.
1560 (frv_linux_init_abi): Adjust gdbarch initialization.
1561
ed09174e
AA
15622014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563
1564 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1565 (armbsd_iterate_over_regset_sections): New prototype.
1566 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1567 (armbsd_iterate_over_regset_sections): New.
1568 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1569 initialization.
1570
dff2166e
AA
15712014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572
1573 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1574 (alpha_linux_iterate_over_regset_sections): New.
1575 (alpha_linux_init_abi): Adjust gdbarch initialization.
1576 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1577 prototype.
1578 (alphanbsd_iterate_over_regset_sections): New prototype.
1579
4108500a
AA
15802014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1581
1582 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1583 Remove.
1584 (aarch64_linux_iterate_over_regset_sections): New.
1585 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1586
a904c024
AA
15872014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1588
1589 * fbsd-tdep.c: New file.
1590 * fbsd-tdep.h: New file.
1591 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1592 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1593 (ALLDEPFILES): Add fbsd-tdep.c.
1594
8f0435f7
AA
15952014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1596
1597 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1598 parameter.
1599 * gdbarch.h: Regenerate.
1600 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1601 iterator.
1602 (get_core_register_section): Add parameter 'regset' and use it, if
1603 set. Add parameter 'min_size' and verify the bfd section size
1604 against it.
1605 (get_core_registers_cb): Add parameter 'regset' and pass it to
1606 get_core_register section. For the "standard" register sections
1607 ".reg" and ".reg2", set an appropriate default for human_name.
1608 (get_core_registers): Don't abort when the gdbarch has an iterator
1609 but no regset_from_core_section. Add NULL/0 for parameters
1610 'regset'/'min_size' in calls to get_core_register_section.
1611 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1612 'regset' and use it instead of calling the
1613 regset_from_core_section gdbarch method.
1614 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1615 * i386-tdep.c (i386_supply_xstateregset)
1616 (i386_collect_xstateregset, i386_xstateregset): Moved to
1617 i386-linux-tdep.c.
1618 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1619 .reg-xstate.
1620 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1621 core file support only if the regset iterator hasn't been set.
1622 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1623 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1624 Moved from i386-tdep.c and renamed to *_linux*.
1625 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1626 each callback invocation. Allow any .reg-xstate size when reading
1627 from a core file.
1628 * amd64-tdep.c (amd64_supply_xstateregset)
1629 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1630 amd64-linux-tdep.c.
1631 (amd64_regset_from_core_section): Remove.
1632 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1633 install an amd64-specific regset_from_core_section gdbarch method.
1634 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1635 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1636 Moved from amd64-tdep.c and renamed to *_linux*.
1637 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1638 to each callback invocation. Allow any .reg-xstate size when
1639 reading from a core file.
1640 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1641 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1642 each callback invocation.
1643 (arm_linux_init_abi): No longer set the regset_from_core_section
1644 gdbarch method.
1645 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1646 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1647 each callback invocation.
1648 (ppc_linux_init_abi): No longer set the regset_from_core_section
1649 gdbarch method.
1650 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1651 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1652 (s390_regset_from_core_section): Remove.
1653 (s390_iterate_over_regset_sections): Add regset parameter to each
1654 callback invocation.
1655 (s390_gdbarch_init): No longer set the regset_from_core_section
1656 gdbarch method. Drop initialization of deleted tdep fields.
1657
5aa82d05
AA
16582014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1659
1660 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1661 (amd64_linux_iterate_over_regset_sections): New.
1662 (amd64_linux_init_abi_common): Don't install the regset section
1663 list, but the new iterator in gdbarch.
1664 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1665 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1666 (arm_linux_iterate_over_regset_sections): ...here. New function.
1667 (arm_linux_init_abi): Set iterator instead of section list.
1668 * corelow.c (get_core_registers_cb): New function, logic moved
1669 from...
1670 (get_core_registers): ...loop body here. Use new iterator method
1671 instead of walking through the regset section list.
1672 * gdbarch.sh: Remove 'core_regset_sections'. New method
1673 'iterate_over_regset_sections'. New typedef
1674 'iterate_over_regset_sections_cb'.
1675 * gdbarch.c: Regenerate.
1676 * gdbarch.h: Likewise.
1677 * i386-linux-tdep.c (i386_linux_regset_sections)
1678 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1679 Remove.
1680 (i386_linux_iterate_over_regset_sections): New.
1681 (i386_linux_init_abi): Don't choose a regset section list, but
1682 install new iterator in gdbarch.
1683 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1684 (linux_collect_regset_section_cb): New function, logic moved
1685 from...
1686 (linux_collect_thread_registers): ...loop body here. Use iterator
1687 method instead of walking through list.
1688 (linux_make_corefile_notes_1): Check for presence of iterator
1689 method instead of regset section list.
1690 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1691 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1692 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1693 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1694 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1695 (ppc_linux_init_abi): Don't choose from above regset section
1696 lists, but install new iterator in gdbarch.
1697 * regset.h (struct core_regset_section): Remove.
1698 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1699 have_linux_v1, have_linux_v2, and have_tdb.
1700 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1701 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1702 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1703 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1704 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1705 (s390_iterate_over_regset_sections): ...here. New function. Use
1706 new tdep fields.
1707 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1708 regset section lists, but install new iterator.
1709
2eca4a8d
JK
17102014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1711
1712 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1713
a73c2b56
SM
17142014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1715
1716 * progspace.c (print_program_space): Don't prune program spaces
1717 before printing them.
1718
03d46957
PA
17192014-09-25 Pedro Alves <palves@redhat.com>
1720
1721 * infrun.c (user_visible_resume_ptid): Don't check
1722 singlestep_breakpoints_inserted_p.
1723
e558d7c1
PA
17242014-09-25 Pedro Alves <palves@redhat.com>
1725
1726 * breakpoint.c (should_be_inserted): Add debug output.
1727
7f89fd65
PA
17282014-09-25 Pedro Alves <palves@redhat.com>
1729
1730 * infrun.c (stepping_past_instruction_at)
1731 (clear_exit_convenience_vars): Point at infrun.h instead of
1732 inferior.h.
1733 (handle_signal_stop): Fix typo.
1734
b7576e5c
YQ
17352014-09-24 Yao Qi <yao@codesourcery.com>
1736
1737 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1738 bitmask.
1739
9a6cf368
GB
17402014-09-22 Gary Benson <gbenson@redhat.com>
1741
1742 * target.c (target_stop): Updated comment.
1743
03f4463b
GB
17442014-09-22 Gary Benson <gbenson@redhat.com>
1745
1746 * target/target.h (target_stop_ptid): Renamed as...
1747 (target_stop_and_wait): New function. Updated comment.
1748 All uses updated.
1749 (target_continue_ptid): Renamed as...
1750 (target_continue_no_signal): New function. Updated comment.
1751 All uses updated.
1752
a25a5a45
PA
17532014-09-22 Pedro Alves <palves@redhat.com>
1754
1755 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1756 and "auto" merged.
1757 * breakpoint.c (enum ugll_insert_mode): New enum.
1758 (always_inserted_mode): Now a plain boolean.
1759 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1760 (breakpoints_always_inserted_mode): Delete.
1761 (breakpoints_should_be_inserted_now): New function.
1762 (insert_breakpoints): Pass UGLL_INSERT to
1763 update_global_location_list instead of calling
1764 insert_breakpoint_locations manually.
1765 (create_solib_event_breakpoint_1): New, factored out from ...
1766 (create_solib_event_breakpoint): ... this.
1767 (create_and_insert_solib_event_breakpoint): Use
1768 create_solib_event_breakpoint_1 instead of calling
1769 insert_breakpoint_locations manually.
1770 (update_global_location_list): Change parameter type from boolean
1771 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1772 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1773 (update_global_location_list_nothrow): Change parameter type from
1774 boolean to enum ugll_insert_mode.
1775 (_initialize_breakpoint): "breakpoint always-inserted" option is
1776 now a boolean command. Update help text.
1777 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1778 (breakpoints_should_be_inserted_now): New declaration.
1779 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1780 Remove breakpoints_always_inserted_mode check.
1781 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1782 * remote.c (remote_start_remote): Likewise.
1783
04086b45
PA
17842014-09-22 Pedro Alves <palves@redhat.com>
1785
1786 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1787 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1788 Instead, pass UGLL_INSERT to update_global_location_list.
1789 (update_global_location_list): Change parameter type from boolean
1790 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1791 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1792 (create_solib_event_breakpoint_1): New, factored out from ...
1793 (create_solib_event_breakpoint): ... this.
1794 (create_and_insert_solib_event_breakpoint): Use
1795 create_solib_event_breakpoint_1 instead of calling
1796 insert_breakpoint_locations manually.
1797 (update_global_location_list): Handle UGLL_INSERT.
1798
44702360
PA
17992014-09-22 Pedro Alves <palves@redhat.com>
1800
1801 * breakpoint.c (enum ugll_insert_mode): New enum.
1802 (update_global_location_list)
1803 (update_global_location_list_nothrow): Change parameter type from
1804 boolean to enum ugll_insert_mode. All callers adjusted.
1805
93c6145a
JB
18062014-09-19 Joel Brobecker <brobecker@adacore.com>
1807
1808 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1809 SystemTap support in GDB.
1810
89a5711c
DB
18112014-09-19 Don Breazeal <donb@codesourcery.com>
1812
1813 * linux-nat.c (linux_handle_extended_wait): Call
1814 linux_ptrace_get_extended_event.
1815 (wait_lwp): Call linux_is_extended_waitstatus.
1816 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1817 and linux_is_extended_waitstatus.
1818 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1819 linux_ptrace_get_extended_event.
1820 (linux_ptrace_get_extended_event): New function.
1821 (linux_is_extended_waitstatus): New function.
1822 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1823 (linux_is_extended_waitstatus): New declarations.
1824
c3b7b696
YQ
18252014-09-19 Yao Qi <yao@codesourcery.com>
1826
1827 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1828 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1829 comments. Callers update.
1830 (dwarf_decode_lines): Likewise.
1831 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1832 comments. Skip the line table if 'lowpc' is greater than
1833 'address'. Don't check
1834 dwarf2_per_objfile->has_section_at_zero.
1835
2b4fd423
DE
18362014-09-18 Doug Evans <dje@google.com>
1837
1838 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1839 * python/py-symtab.c (stpy_get_producer): New function.
1840 (symtab_object_getset): Add "producer" attribute.
1841
5e43d467
UW
18422014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1843
1844 PR gdb/17384
1845 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1846 (do_captured_read_memory_integer): Remove.
1847 (safe_read_memory_integer): Use target_read_memory directly instead
1848 of catching errors in do_captured_read_memory_integer.
1849
04e79979
MR
18502014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1851
1852 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1853 not gdb/doc.
1854
76aeec5b
SDJ
18552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1856
1857 * objc-lang.c (find_implementation_from_class): Remove dead code.
1858
2f693f9d
SDJ
18592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1860
1861 PR cli/7233
1862 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1863 "fprintf_unfiltered (gdb_stdlog...)".
1864
bb9d5f81
PP
18652014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1866
1867 PR breakpoints/12526
1868 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1869 val_bitsize.
1870 * breakpoint.c (watch_command_1): Use these fields to retain
1871 bitfield information.
1872 (extract_bitfield_from_watchpoint_value): New function.
1873 (watchpoint_check): Use it.
1874 (update_watchpoint): Use it. Optimize the address and length of a
1875 HW watchpoint pointing to a bitfield.
1876 * value.h (unpack_value_bitfield): New prototype.
1877 * value.c (unpack_value_bitfield): Make extern.
1878
05db5edd
ST
18792014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1880
1881 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1882 x86-dregs.o.
1883 * gnu-nat.c (inf_threads): New function.
1884 * gnu-nat.h (inf_threads_ftype): New typedef.
1885 (inf_threads): New declaration.
1886 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1887 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1888 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1889 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1890 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1891 (i386_gnu_dr_get_control): New functions.
1892 (reg_addr): New structure.
1893 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1894 i386 debugging register hooks.
1895 * NEWS: Mention this.
1896
5a578da5
OJ
18972014-08-13 Omair Javaid <omair.javaid@linaro.org>
1898
1899 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1900 vector data transfer instructions.
1901 (arm_record_coproc_data_proc): Updated.
1902
f20f80dd
OJ
19032014-08-13 Omair Javaid <omair.javaid@linaro.org>
1904
1905 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1906 arm_record_exreg_ld_st_insn.
1907 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1908 load/store insns.
1909
851f26ae
OJ
19102014-08-13 Omair Javaid <omair.javaid@linaro.org>
1911
1912 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1913 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1914 processing instructions.
1915
1e1b6563
OJ
19162014-08-13 Omair Javaid <omair.javaid@linaro.org>
1917
1918 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1919 for advance SIMD struct ld/st insn.
1920 (thumb2_record_decode_insn_handler): Replace stub handler with
1921 thumb2_record_asimd_struct_ld_st.
1922
60cc5e93
OJ
19232014-08-13 Omair Javaid <omair.javaid@linaro.org>
1924
1925 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1926 for asimd, vfp and coprocessor insns.
1927 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1928 and coprocessor insns.
1929 (thumb2_record_coproc_insn): New function.
1930 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1931 handlers.
1932 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1933 opcode 110 insns.
1934
81219e53
DE
19352014-09-13 Doug Evans <xdje42@gmail.com>
1936
1937 * NEWS: Mention new "queue-signal" command.
1938 * infcmd.c (queue_signal_command): New function.
1939 (_initialize_infcmd): Add new queue-signal command.
1940
d36bf488
DE
19412014-09-13 Doug Evans <xdje42@gmail.com>
1942
1943 * linux-nat.c (wait_lwp): Add debugging printf.
1944 (linux_nat_wait_1): Ditto.
1945
f37f681c
PA
19462014-09-12 Pedro Alves <palves@redhat.com>
1947
1948 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1949 (create_and_insert_solib_event_breakpoint): New functions.
1950 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1951 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1952 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1953 (remove_dbx_link_breakpoint): Delete function.
1954 (insert_dbx_link_bpt_in_file): Use
1955 create_and_insert_solib_event_breakpoint instead of
1956 deprecated_insert_raw_breakpoint.
1957 (procfs_wait): Don't check whether we hit __dbx_link here.
1958 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1959 here.
1960 * solib-irix.c (base_breakpoint): Delete global.
1961 (disable_break): Delete function.
1962 (enable_break): Use create_solib_event_breakpoint
1963 instead of deprecated_insert_raw_breakpoint.
1964 (irix_solib_handle_event): New function.
1965 (irix_solib_create_inferior_hook): Don't run the target or disable
1966 the mapping-complete breakpoint here.
1967 (_initialize_irix_solib): Install irix_solib_handle_event as
1968 so_ops->handle_event hook.
1969
9d9bf2df
EBM
19702014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1971 Ulrich Weigand  <uweigand@de.ibm.com>
1972
1973 PR tdep/17379
1974 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1975 instead of read_memory_unsigned_integer.
1976
b006a80e
GB
19772014-09-12 Gary Benson <gbenson@redhat.com>
1978
1979 * nat/linux-waitpid.c: Include common-defs.h.
1980 [GDBSERVER]: Add FIXME comment.
1981 [!GDBSERVER]: Don't include defs.h or signal.h.
1982 (linux_debug) [!GDBSERVER]: Remove empty block.
1983
296b1496
GB
19842014-09-12 Gary Benson <gbenson@redhat.com>
1985
1986 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1987 Don't include defs.h or server.h.
1988
53f81362
GB
19892014-09-12 Gary Benson <gbenson@redhat.com>
1990
1991 * nat/linux-btrace.c: Include common-defs.h.
1992 Don't include defs.h, server.h or gdbthread.h.
1993 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1994
727605ca
GB
19952014-09-12 Gary Benson <gbenson@redhat.com>
1996
1997 * common/agent.c: Include common-defs.h.
1998 Don't include defs.h or server.h.
1999 * common/buffer.c: Likewise.
2000 * common/common-debug.c: Likewise.
2001 * common/common-utils.c: Likewise.
2002 * common/errors.c: Likewise.
2003 * common/filestuff.c: Likewise.
2004 * common/format.c: Likewise.
2005 * common/gdb_vecs.c: Likewise.
2006 * common/print-utils.c: Likewise.
2007 * common/ptid.c: Likewise.
2008 * common/rsp-low.c: Likewise.
2009 * common/signals.c: Likewise.
2010 * common/vec.c: Likewise.
2011 * common/xml-utils.c: Likewise.
2012 * nat/linux-osdata.c: Likewise.
2013 * nat/linux-procfs.c: Likewise.
2014 * nat/linux-ptrace.c: Likewise.
2015 * nat/mips-linux-watch.c: Likewise.
2016 * target/waitstatus.c: Likewise.
2017
361c8ade
GB
20182014-09-12 Tom Tromey <tromey@redhat.com>
2019 Gary Benson <gbenson@redhat.com>
2020
2021 * common/common-regcache.h: New file.
2022 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2023 * regcache.h: Include common-regcache.h.
2024 (regcache_read_pc): Don't declare.
2025 * regcache.c (get_thread_regcache_for_ptid): New function.
2026 * nat/linux-btrace.c: Don't include regcache.h.
2027 Include common-regcache.h.
2028 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2029
a01cbb49
TS
20302014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2031
2032 * regcache.h (struct regset): Declare.
2033
98880d46
PA
20342014-09-11 Pedro Alves <palves@redhat.com>
2035
2036 PR gdb/17347
2037 * main.c: Include "infrun.h".
2038 (catch_command_errors, catch_command_errors_const): Wait for the
2039 foreground command to complete.
2040 * top.c (maybe_wait_sync_command_done): New function, factored out
2041 from ...
2042 (maybe_wait_sync_command_done): ... here.
2043 * top.h (maybe_wait_sync_command_done): New declaration.
2044
bd9269f7
GB
20452014-09-11 Tom Tromey <tromey@redhat.com>
2046 Gary Benson <gbenson@redhat.com>
2047
2048 * common/symbol.h: New file.
2049 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2050 * minsyms.c (find_minimal_symbol_address): New function.
2051 * common/agent.c: Include common/symbol.h.
2052 [!GDBSERVER]: Don't include objfiles.h.
2053 (agent_look_up_symbols): Use find_minimal_symbol_address.
2054
f8c1d06b
GB
20552014-09-11 Gary Benson <gbenson@redhat.com>
2056
2057 * target/target.h (target_stop_ptid, target_continue_ptid):
2058 Declare.
2059 * target.c (target_stop_ptid, target_continue_ptid): New
2060 functions.
2061 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2062 (agent_run_command): Always use target_stop_ptid and
2063 target_continue_ptid.
2064
721ec300
GB
20652014-09-11 Tom Tromey <tromey@redhat.com>
2066 Gary Benson <gbenson@redhat.com>
2067
2068 * target/target.h: New file.
2069 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2070 * target.h: Include target/target.h.
2071 (target_read_memory, target_write_memory): Don't declare.
2072 * target.c (target_read_uint32): New function.
2073 * common/agent.c: Include target/target.h.
2074 [!GDBSERVER]: Don't include target.h.
2075 (helper_thread_id): Type changed to uint32_t.
2076 (agent_get_helper_thread_id): Use target_read_uint32.
2077 (agent_run_command): Always use target_read_memory and
2078 target_write_memory.
2079 (agent_capability): Type changed to uint32_t.
2080 (agent_capability_check): Use target_read_uint32.
2081
c5e92cca
GB
20822014-09-11 Gary Benson <gbenson@redhat.com>
2083
2084 * common/common-debug.h (show_debug_regs): Declare.
2085 * common/common-debug.c (show_debug_regs): Define.
2086 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2087 all uses with show_debug_regs. Replace all uses that considered
2088 debug_hw_points as a multi-value integer with straight boolean
2089 uses.
2090 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2091 with show_debug_regs.
2092 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2093 all uses with show_debug_regs.
2094 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2095 uses with show_debug_regs.
2096
eeef931a
UW
20972014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2098
2099 * findvar.c (address_from_register): Handle targets requiring
2100 a special conversion routine even for plain pointer types.
2101
8efa9855
UW
21022014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2103
2104 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2105 (store_register): Do not call exec_one_dummy_insn.
2106
eb479039
JB
21072014-09-10 Joel Brobecker <brobecker@adacore.com>
2108
2109 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2110 dereference it first. Use value_enclosing_type instead of
2111 value_type.
2112 (ada_array_length): Likewise.
2113
deede10c
JB
21142014-09-10 Joel Brobecker <brobecker@adacore.com>
2115
2116 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2117 Adjust function implementation and documentation accordingly.
2118 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2119 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2120 Update call to ada_value_ptr_subscript.
2121
7828a5f5
JB
21222014-09-10 Joel Brobecker <brobecker@adacore.com>
2123
2124 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2125 instead of VAL's type.
2126
35782f14
JB
21272014-09-10 Joel Brobecker <brobecker@adacore.com>
2128
2129 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2130
d342a0da
DE
21312014-09-09 Doug Evans <xdje42@gmail.com>
2132
2133 PR guile/17367
2134 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2135 last parameter to pkg-config, not first.
2136 * configure.ac: Pass --with-guile provided pkg-config path to
2137 GDB_GUILE_PROGRAM_NAMES.
2138 * configure: Regenerate.
2139
b4a3d263
GKB
21402014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2141
2142 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2143 Bertazi".
2144
6e466374
MR
21452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2146
2147 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2148 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2149 the list of sections determining GDB_OSABI_IRIX.
2150
a1ada89a
JH
21512014-09-09 James Hogan <james.hogan@imgtec.com>
2152
2153 * MAINTAINERS (Write After Approval): Add "James Hogan".
2154
86db008d
JH
21552014-09-09 James Hogan <james.hogan@imgtec.com>
2156
2157 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2158
72fde3df
JB
21592014-09-09 Joel Brobecker <brobecker@adacore.com>
2160
2161 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2162
92d8d229
DE
21632014-09-08 Doug Evans <xdje42@gmail.com>
2164
2165 PR 17247
2166 * guile.c: #include <signal.h>.
2167 (_initialize_guile): Block SIGCHLD while initializing Guile.
2168
2169 Replaces the following, which is reverted.
2170
2171 2014-07-26 Doug Evans <xdje42@gmail.com>
2172
2173 PR 17185
2174 * configure.ac: Add check for header gc/gc.h.
2175 Add check for function setenv.
2176 * configure: Regenerate.
2177 * config.in: Regenerate.
2178 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2179
d81412aa
DE
21802014-09-08 Doug Evans <xdje42@gmail.com>
2181
2182 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2183 with named constant. Fix style of pointer comparison.
2184 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2185
a9f116cb
GKB
21862014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2187
2188 PR gdb/17035
2189 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2190 decide whether we display the command on "show user".
2191 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2192 printing command name.
2193 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2194 * cli/cli-decode.c (cli_user_command_p): Create helper function
2195 to verify whether cmd_list_element is a user-defined command.
2196
c75bd3a2
JK
21972014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 PR python/17355
2200 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2201 Fix goto out of TRY_CATCH.
2202
faa42425 22032014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 2204 Tom Tromey <tromey@redhat.com>
faa42425
DE
2205
2206 PR 15276
2207 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2208 $_any_caller_matches.
2209 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2210 * python/lib/gdb/function/caller_is.py: New file.
2211
0d41ba00
DE
22122014-09-06 Doug Evans <xdje42@gmail.com>
2213
2214 * infcmd.c (program_info): Fix typo.
2215
474ca4f6
SDJ
22162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2217
2218 PR gdb/17235
2219 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2220 'number'. New variable 'has_digit'. Rewrite code to deal with
2221 subexpressions on SDT probes.
2222
ebf13736
PA
22232014-09-04 Pedro Alves <palves@redhat.com>
2224
2225 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2226 the input is only one character long.
2227
eb0b0463
SDJ
22282014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2229
2230 PR fortran/17237
2231 * f-valprint.c (f_val_print): Specify the correct print option to
2232 use when printing integer values.
2233
5ee44bfa
GB
22342014-09-04 Gary Benson <gbenson@redhat.com>
2235
2236 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2237 Remove code to cope with LWPs wrapped as PIDs.
2238 Add assertions to ensure no wrapped LWPs are passed.
2239
4875ffdb
PA
22402014-09-04 Pedro Alves <palves@redhat.com>
2241
2242 * value.c (value_ranges_copy_adjusted): New function, factored out
2243 from ...
2244 (value_contents_copy_raw): ... here.
2245 (unpack_value_bits_as_long_1): Rename back to ...
2246 (unpack_bits_as_long): ... this. Remove 'original_value' and
2247 'result' parameters. Change return type to LONGEST.
2248 (unpack_value_bits_as_long): Delete.
2249 (unpack_value_field_as_long_1): Delete.
2250 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2251 (unpack_value_bitfield): New function.
2252 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2253 (value_fetch_lazy): Use unpack_value_bitfield.
2254 * value.h (unpack_value_bits_as_long): Delete declaration.
2255
5f3b99cf
SS
22562014-09-03 Sasha Smundak <asmundak@google.com>
2257
2258 * python/py-frame.c (frapy_read_register): New function.
2259
ac740bc7
JH
22602014-09-03 James Hogan <james.hogan@imgtec.com>
2261
2262 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2263 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2264
7d793aa9
SDJ
22652014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2266
2267 PR python/16699
2268 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2269 function.
2270 (add_cmd): Set "completer_handle_brkchars" to NULL.
2271 * cli/cli-decode.h (struct cmd_list_element)
2272 <completer_handle_brkchars>: New field.
2273 * command.h (completer_ftype_void): New typedef.
2274 (set_cmd_completer_handle_brkchars): New prototype.
2275 * completer.c (set_gdb_completion_word_break_characters): New
2276 function.
2277 (complete_line_internal): Call "completer_handle_brkchars"
2278 callback from command.
2279 * completer.h: Include "command.h".
2280 (set_gdb_completion_word_break_characters): New prototype.
2281 * python/py-cmd.c (cmdpy_completer_helper): New function.
2282 (cmdpy_completer_handle_brkchars): New function.
2283 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2284 (cmdpy_init): Set completer_handle_brkchars to
2285 cmdpy_completer_handle_brkchars.
2286
97ea6506
GB
22872014-09-03 Gary Benson <gbenson@redhat.com>
2288
2289 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2290 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2291 Loop conditions changed to equivalent form.
2292 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2293 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2294 ALL_DEBUG_ADDRESS_REGISTERS.
2295
d1437815
JB
22962014-09-03 Joel Brobecker <brobecker@adacore.com>
2297
2298 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2299 description fix.
2300
9b94fcf1
DE
23012014-09-02 Doug Evans <dje@google.com>
2302
2303 * typeprint.c (find_global_typedef): Fix comment.
2304
df7e5265
GB
23052014-09-02 Gary Benson <gbenson@redhat.com>
2306
2307 * i386-nat.h: Renamed as...
2308 * x86-nat.h: New file. All type, function and variable name
2309 prefixes changed from "i386_" to "x86_". All references updated.
2310 * i386-nat.c: Renamed as...
2311 * x86-nat.c: New file. All type, function and variable name
2312 prefixes changed from "i386_" to "x86_". All references updated.
2313 * common/i386-xstate.h: Renamed as...
2314 * common/x86-xstate.h: New file. All type, function and variable
2315 name prefixes changed from "i386_" to "x86_". All references
2316 updated.
2317 * nat/i386-cpuid.h: Renamed as...
2318 * nat/x86-cpuid.h: New file. All type, function and variable name
2319 prefixes changed from "i386_" to "x86_". All references updated.
2320 * nat/i386-gcc-cpuid.h: Renamed as...
2321 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2322 name prefixes changed from "i386_" to "x86_". All references
2323 updated.
2324 * nat/i386-dregs.h: Renamed as...
2325 * nat/x86-dregs.h: New file. All type, function and variable name
2326 prefixes changed from "i386_" to "x86_". All references updated.
2327 * nat/i386-dregs.c: Renamed as...
2328 * nat/x86-dregs.c: New file. All type, function and variable name
2329 prefixes changed from "i386_" to "x86_". All references updated.
2330
1c3569d4
MR
23312014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2332
2333 * varobj.c (_initialize_varobj): Move to the end of file.
2334
ff55e1b5
GB
23352014-08-29 Gary Benson <gbenson@redhat.com>
2336
2337 * common/common-exceptions.h: New file.
2338 * common/common-exceptions.c: Likewise.
2339 * Makefile.in (SFILES): Add common/common-exceptions.c.
2340 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2341 (COMMON_OBS): Add common-exceptions.o.
2342 (common-exceptions.o): New rule.
2343 * exceptions.h (common-exceptions.h): Include.
2344 (gdb_setjmp.h): Do not include.
2345 (return_reason): Moved to common-exceptions.h.
2346 (enum return_reason): Likewise.
2347 (RETURN_MASK): Likewise.
2348 (typedef return_mask): Likewise.
2349 (enum errors): Likewise.
2350 (struct gdb_exception): Likewise.
2351 (exceptions_state_mc_init): Likewise.
2352 (exceptions_state_mc_action_iter): Likewise.
2353 (exceptions_state_mc_action_iter_1): Likewise.
2354 (TRY_CATCH): Likewise.
2355 (throw_exception): Likewise.
2356 (throw_verror): Likewise.
2357 (throw_vquit): Likewise.
2358 (throw_error): Likewise.
2359 (throw_quit): Likewise.
2360 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2361 (enum catcher_action): Likewise.
2362 (struct catcher): Likewise.
2363 (current_catcher): Likewise.
2364 (catcher_list_size): Likewise.
2365 (exceptions_state_mc_init): Likewise.
2366 (catcher_pop): Likewise.
2367 (exceptions_state_mc): Likewise.
2368 (exceptions_state_mc_action_iter): Likewise.
2369 (exceptions_state_mc_action_iter_1): Likewise.
2370 (throw_exception): Likewise.
2371 (exception_messages): Likewise.
2372 (exception_messages_size): Likewise.
2373 (throw_it): Likewise.
2374 (throw_verror): Likewise.
2375 (throw_vquit): Likewise.
2376 (throw_error): Likewise.
2377 (throw_quit): Likewise.
2378 (prepare_to_throw_exception): New function.
2379
e9bcb658
GB
23802014-08-29 Gary Benson <gbenson@redhat.com>
2381
2382 * common/gdb_setjmp.h: New file.
2383 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2384 * configure.ac: Move sigsetjmp check...
2385 * common/common.m4: ...here.
2386 * configure: Regenerate.
2387 * cp-support.c (SIGJMP_BUF): Delete.
2388 (SIGSETJMP): Likewise.
2389 (SIGLONGJMP): Likewise.
2390 * exceptions.h (gdb_setjmp.h): Include.
2391 (setjmp.h): Do not include.
2392 (EXCEPTIONS_SIGJMP_BUF): Delete.
2393 (EXCEPTIONS_SIGSETJMP): Likewise.
2394 (EXCEPTIONS_SIGLONGJMP): Likewise.
2395 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2396 from gdb_setjmp.h.
2397 * exceptions.c: Likewise.
2398
e3180625
GB
23992014-08-29 Gary Benson <gbenson@redhat.com>
2400
2401 * cleanups.h: Moved to...
2402 * common/cleanups.h: New file.
2403 * cleanups.c: Moved to...
2404 * common/cleanups.c: New file. Include common-defs.h and
2405 cleanups.h. Do not include defs.h.
2406 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2407 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2408 (cleanups.o): New rule.
2409
e3d6ba5d
GB
24102014-08-29 Gary Benson <gbenson@redhat.com>
2411
2412 * common/errors.h (internal_warning): New declaration.
2413 (internal_vwarning): Likewise.
2414 * common/errors.c (internal_warning): New function.
2415 * utils.h (internal_warning): Don't declare.
2416 (internal_vwarning): Likewise.
2417 * utils.c (internal_warning): Removed.
2418
075c7033
GB
24192014-08-29 Gary Benson <gbenson@redhat.com>
2420
2421 * main.c (captured_main): Use warning during startup.
2422 Prefix startup warning messages with command name.
2423
91b35fd0
GB
24242014-08-29 Gary Benson <gbenson@redhat.com>
2425
2426 * main.c (captured_main): Handle usage errors with error.
2427
b1ec390e
GB
24282014-08-29 Gary Benson <gbenson@redhat.com>
2429
2430 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2431 exit pair with a call to error. Wrap the message with _().
2432
fd0ef3dd
GB
24332014-08-29 Gary Benson <gbenson@redhat.com>
2434
2435 * main.c (captured_main): Replace a fprintf/exit
2436 pair with a call to error. Wrap the message with _().
2437
e0e6bcab
GB
24382014-08-29 Gary Benson <gbenson@redhat.com>
2439
2440 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2441 pairs with calls to error. Wrap the message with _().
2442
0d2f5c07
GB
24432014-08-29 Gary Benson <gbenson@redhat.com>
2444
2445 * utils.c (vwarning): Protect calls to target_terminal_ours
2446 and wrap_here.
2447
5df43998
GB
24482014-08-29 Gary Benson <gbenson@redhat.com>
2449
2450 * exceptions.c (print_flush): Protect calls to
2451 target_terminal_ours and wrap_here.
2452
2437fd32
GB
24532014-08-29 Gary Benson <gbenson@redhat.com>
2454
2455 * utils.h (filtered_printing_initialized): New declaration.
2456 * utils.c (abort_with_message): New function.
2457 (internal_vproblem): Use abort_with_message for first level
2458 recursive internal problems, and if gdb_stderr is not set up.
2459 Protect calls to target_terminal_ours, begin_line and query.
2460
f1f58506
DE
24612014-08-28 Doug Evans <dje@google.com>
2462
2463 * symtab.c (in_prologue): Move definition to better spot.
2464 (skip_prologue_using_sal): Ditto.
2465
aab2f208
DE
24662014-08-28 Doug Evans <dje@google.com>
2467
2468 * symtab.c (find_function_start_sal): Move definition to better spot.
2469
6b65d1b6
YQ
24702014-08-28 Yao Qi <yao@codesourcery.com>
2471
2472 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2473 found_stack_adjust in forward scan. Remove condition check
2474 on found_stack_adjust which is always true. Indent the code.
2475
a1b34d15
YQ
24762014-08-28 Yao Qi <yao@codesourcery.com>
2477
2478 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2479 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2480 (dwarf_decode_lines): Remove argument
2481 want_line_info. Remove condition check on want_line_info.
2482 Callers update.
2483
d5962de5
DE
24842014-08-27 Doug Evans <dje@google.com>
2485
2486 * dwarf2read.c (dwarf_record_line): Fix typo.
2487
9b139002
SDJ
24882014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2489
2490 * target.h (struct target_ops::to_terminal_save_ours): Remove
2491 declaration.
2492 (target_terminal_save_ours): Remove macro.
2493 * target-delegates.c: Regenerate.
2494 * inf-child.c (inf_child_target): Don't set the nonexistent
2495 field to_terminal_save_ours.
2496 * inferior.h (child_terminal_save_ours): Remove declaration.
2497 * terminal.h (gdb_save_tty_state): New declaration.
2498 * inflow.c (child_terminal_save_ours): Rename to ...
2499 (gdb_save_tty_state): ... this.
2500 * tui/tui.c: Include terminal.h.
2501 (tui_enable): Use gdb_save_tty_state instead of
2502 target_terminal_save_ours.
2503 (tui_disable): Likewise.
2504
9debeba0
DE
25052014-08-25 Doug Evans <dje@google.com>
2506
2507 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2508 Pass NULL instead of 0 for context pointer.
2509
428fc5fc
YQ
25102014-08-25 Yao Qi <yao@codesourcery.com>
2511
2512 * dwarf2read.c: Fix grammatical error.
2513
cdc07690
YQ
25142014-08-24 Yao Qi <yao@codesourcery.com>
2515
2516 * dwarf2read.c (scan_partial_symbols): Update comments.
2517 Rename argument 'need_pc' with 'set_addrmap'.
2518 (add_partial_namespace): Rename argument 'need_pc' with
2519 'set_addrmap'.
2520 (add_partial_module): Likewise.
2521 (add_partial_subprogram): Likewise. Update comments.
2522 (dwarf2_name): Fix typo.
2523
a05a36a5
DE
25242014-08-22 Doug Evans <dje@google.com>
2525
2526 PR 17276
2527 * dwarf2read.c (dwarf_record_line_p): New function.
2528 (dwarf_decode_lines_1): Ignore subsequent line number entries
2529 for the same line if any entry had a non-zero discriminator.
2530
252a6764
DE
25312014-08-22 Doug Evans <dje@google.com>
2532
2533 * buildsym.h (record_line_ftype): New typedef.
2534 (record_line): Use it.
2535 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2536 (dwarf_decode_lines_1): Call them.
2537
510db052
YQ
25382014-08-22 Yao Qi <yao@codesourcery.com>
2539
2540 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2541 (ctf_end): Remove code.
2542
22fd09ae
JK
25432014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2544
2545 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2546 (linux_make_corefile_notes): call update_thread_list, protected against
2547 exceptions.
2548
656e8868
PA
25492014-08-21 Pedro Alves <palves@redhat.com>
2550
2551 * infcmd.c (attach_command): Remove comment.
2552
de589d04
WN
25532014-08-21 Bin Cheng <bin.cheng@arm.com>
2554
2555 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2556 unsigned LONGEST to ULONGEST.
2557
2a31c623
PA
25582014-08-20 Pedro Alves <palves@redhat.com>
2559
2560 * Makefile.in (check-read1): New rule.
2561
d36430db
JB
25622014-08-20 Joel Brobecker <brobecker@adacore.com>
2563
2564 * value.c (value_from_contents_and_address): Strip resolved_type's
2565 typedef layers before checking its TYPE_DATA_LOCATION.
2566
000339af
PA
25672014-08-20 Pedro Alves <palves@redhat.com>
2568
2569 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2570
5f52445b
YQ
25712014-08-20 Yao Qi <yao@codesourcery.com>
2572
2573 * amd64-tdep.c (amd64_classify): Add a blank line after the
2574 example. Move "*/" to a new line.
2575 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2576 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2577 * dwarf2read.c (psymtab_include_file_name): Likewise.
2578
9a0dc9e3
PA
25792014-08-19 Andrew Burgess <aburgess@broadcom.com>
2580 Pedro Alves <palves@redhat.com>
2581
2582 PR symtab/14604
2583 PR symtab/14605
2584 * ada-lang.c (coerce_unspec_val_to_type): Use
2585 value_contents_copy_raw.
2586 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2587 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2588 * cp-valprint.c (cp_print_value_fields): Let the common printing
2589 code handle optimized out values.
2590 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2591 * d-valprint.c (dynamic_array_type): Use
2592 value_bits_any_optimized_out.
2593 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2594 check_any_valid fields.
2595 (check_pieced_value_bits): Delete and inline ...
2596 (check_pieced_synthetic_pointer): ... here.
2597 (check_pieced_value_validity): Delete.
2598 (check_pieced_value_invalid): Delete.
2599 (pieced_value_funcs): Remove check_validity and check_any_valid
2600 fields.
2601 (read_pieced_value): Use mark_value_bits_optimized_out.
2602 (write_pieced_value): Switch to use
2603 mark_value_bytes_optimized_out.
2604 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2605 of assuming the whole value is optimized out.
2606 * findvar.c (read_frame_register_value): Remove special handling
2607 of optimized out registers.
2608 (value_from_register): Use mark_value_bytes_optimized_out.
2609 * frame-unwind.c (frame_unwind_got_optimized): Use
2610 mark_value_bytes_optimized_out.
2611 * jv-valprint.c (java_value_print): Adjust.
2612 (java_print_value_fields): Let the common printing code handle
2613 optimized out values.
2614 * mips-tdep.c (mips_print_register): Remove special handling of
2615 optimized out registers.
2616 * opencl-lang.c (lval_func_check_validity): Delete.
2617 (lval_func_check_any_valid): Delete.
2618 (opencl_value_funcs): Remove check_validity and check_any_valid
2619 fields.
2620 * p-valprint.c (pascal_object_print_value_fields): Let the common
2621 printing code handle optimized out values.
2622 * stack.c (read_frame_arg): Remove special handling of optimized
2623 out values. Fetch both VAL and ENTRYVAL before comparing
2624 contents. Adjust to value_available_contents_eq rename.
2625 * valprint.c (valprint_check_validity)
2626 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2627 (val_print_array_elements): Adjust.
2628 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2629 (value_bits_any_optimized_out): New function.
2630 (value_entirely_covered_by_range_vector): New function, factored
2631 out from value_entirely_unavailable.
2632 (value_entirely_unavailable): Reimplement.
2633 (value_entirely_optimized_out): New function.
2634 (insert_into_bit_range_vector): New function, factored out from
2635 mark_value_bits_unavailable.
2636 (mark_value_bits_unavailable): Reimplement.
2637 (struct ranges_and_idx): New struct.
2638 (find_first_range_overlap_and_match): New function, factored out
2639 from value_available_contents_bits_eq.
2640 (value_available_contents_bits_eq): Rename to ...
2641 (value_contents_bits_eq): ... this. Check both unavailable
2642 contents and optimized out contents.
2643 (value_available_contents_eq): Rename to ...
2644 (value_contents_eq): ... this.
2645 (allocate_value_lazy): Remove reference to the old optimized_out
2646 boolean.
2647 (allocate_optimized_out_value): Use
2648 mark_value_bytes_optimized_out.
2649 (require_not_optimized_out): Adjust to check whether the
2650 optimized_out vec is empty.
2651 (ranges_copy_adjusted): New function, factored out from
2652 value_contents_copy_raw.
2653 (value_contents_copy_raw): Also copy the optimized out ranges.
2654 Assert the destination ranges aren't optimized out.
2655 (value_contents_copy): Update comment, remove call to
2656 require_not_optimized_out.
2657 (value_contents_equal): Adjust to check whether the optimized_out
2658 vec is empty.
2659 (set_value_optimized_out, value_optimized_out_const): Delete.
2660 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2661 New functions.
2662 (value_entirely_optimized_out, value_bits_valid): Delete.
2663 (value_copy): Take a VEC copy of the 'optimized_out' field.
2664 (value_primitive_field): Remove special handling of optimized out.
2665 (value_fetch_lazy): Assert that lazy values have no unavailable
2666 regions. Use value_bits_any_optimized_out. Remove some special
2667 handling for optimized out values.
2668 * value.h: Add intro comment about <optimized out> and
2669 <unavailable>.
2670 (struct lval_funcs): Remove check_validity and check_any_valid
2671 fields.
2672 (set_value_optimized_out, value_optimized_out_const): Remove.
2673 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2674 New declarations.
2675 (value_bits_any_optimized_out): New declaration.
2676 (value_bits_valid): Delete declaration.
2677 (value_available_contents_eq): Rename to ...
2678 (value_contents_eq): ... this, and extend comments.
2679
6694c411
JK
26802014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2681
2682 Fix -fsanitize=address on unreadable inferior strings.
2683 * valprint.c (val_print_string): Fix access before BUFFER.
2684
89a1c21a
SM
26852014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2686
2687 * target.c (target_struct_size): Remove.
2688 (target_struct_allocsize): Remove.
2689 (DEFAULT_ALLOCSIZE): Remove.
2690 (target_ops_p): New typedef.
2691 (DEF_VEC_P (target_ops_p)): New vector type.
2692 (target_structs): Change type to VEC (target_ops_p).
2693 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2694 (find_default_run_target): Rewrite for loop following changes to
2695 target_structs.
2696
cb417230
JB
26972014-08-19 Joel Brobecker <brobecker@adacore.com>
2698
2699 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2700 Adjust code accordingly. Adjust function description comment.
2701
817e0957
YQ
27022014-08-19 Yao Qi <yao@codesourcery.com>
2703
2704 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2705 types.
2706
2974be62
AM
27072014-08-19 Alan Modra <amodra@gmail.com>
2708
2709 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2710 * config.in: Regenerate.
2711 * configure: Regenerate.
2712
34abf635
GB
27132014-08-19 Tom Tromey <tromey@redhat.com>
2714 Gary Benson <gbenson@redhat.com>
2715
2716 * common/common-debug.h: New file.
2717 * common/common-debug.c: Likewise.
2718 * debug.c: Likewise.
2719 * Makefile.in (SFILES): Add common/common-debug.c.
2720 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2721 (COMMON_OBS): Add common-debug.o and debug.o.
2722 (common-debug.o): New rule.
2723 * common/common-defs.h: Include common-debug.h.
2724 * common/agent.c (debug_agent_printf): New function.
2725 (DEBUG_AGENT): Redefine.
2726 * nat/i386-dregs.c (debug_printf): Undefine.
2727
f6e94d78
GB
27282014-08-19 Gary Benson <gbenson@redhat.com>
2729
2730 * common/common-defs.h: Include print-utils.h.
2731 * utils.h: Do not include print-utils.h.
2732
9239eeab
GB
27332014-08-19 Tom Tromey <tromey@redhat.com>
2734 Gary Benson <gbenson@redhat.com>
2735
2736 * common/common-types.h: New file.
2737 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2738 * common/common-defs.h: Include common-types.h.
2739 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2740 (ULONGEST): Remove.
2741
ef87c8bb
GB
27422014-08-19 Tom Tromey <tromey@redhat.com>
2743 Gary Benson <gbenson@redhat.com>
2744
2745 * common/errors.h: New file.
2746 * common/errors.c: Likewise.
2747 * Makefile.in (SFILES): Add common/errors.c.
2748 (HFILES_NO_SRCDIR): Add common/errors.h.
2749 (COMMON_OBS): Add errors.o.
2750 (errors.o): New rule.
2751 * common/common-defs.h: Include errors.h.
2752 * utils.h (perror_with_name, error, verror, warning, vwarning):
2753 Don't declare.
2754 * common/common-utils.h: (malloc_failure, internal_error):
2755 Likewise.
2756
196a707b
GB
27572014-08-19 Gary Benson <gbenson@redhat.com>
2758
2759 * utils.c (internal_vproblem): Always print the message.
2760
ded4fc8f
DE
27612014-08-18 Doug Evans <dje@google.com>
2762
2763 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2764
950c97d8
JB
27652014-08-18 Joel Brobecker <brobecker@adacore.com>
2766
2767 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2768 Return 0 if TYPE is dynamic.
2769 (print_range): Add handling of dynamic ranges.
2770
3cdcd0ce
JB
27712014-08-18 Keven Boell <keven.boell@intel.com>
2772 Joel Brobecker <brobecker@adacore.com>
2773
2774 * gdbtypes.h (struct main_type): Add field "data_location".
2775 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2776 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2777 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2778 a dynamic data location.
2779 (resolve_dynamic_type): Add DW_AT_data_location handling.
2780 (copy_recursive, copy_type): Copy the data_location information
2781 when present.
2782 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2783 * value.c (value_from_contents_and_address): Add
2784 DW_AT_data_location handling.
2785
08412b07
JB
27862014-08-18 Keven Boell <keven.boell@intel.com>
2787 Joel Brobecker <brobecker@adacore.com>
2788
2789 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2790 field "get_object_address".
2791 * dwarf2expr.c (execute_stack_op): Add handling for
2792 DW_OP_push_object_address.
2793 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2794 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2795 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2796 (dwarf_expr_get_obj_addr): New function.
2797 (dwarf_expr_ctx_funcs): Add get_object_address field.
2798 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2799 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2800 (dwarf2_evaluate_property): Add parameter "address". Use it.
2801 (needs_get_obj_addr): New function.
2802 (needs_frame_ctx_funcs): Add get_object_address field.
2803 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2804 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2805 (resolve_dynamic_array): Likewise.
2806
84754697
JB
28072014-08-18 Joel Brobecker <brobecker@adacore.com>
2808
2809 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2810 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2811 fixed value for records and unions for which some GNAT encodings
2812 are present.
2813
da5c522f
JB
28142014-08-18 Joel Brobecker <brobecker@adacore.com>
2815
2816 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2817 rewrite to avoid "else if" and "else" constructs. Should be
2818 a no-op in practice.
2819
0d72a7c3
JB
28202014-08-18 Joel Brobecker <brobecker@adacore.com>
2821
2822 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2823 of lexical block.
2824
e66d4446
SC
28252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2826
2827 PR c++/17132
2828 * eval.c: Update all calls to find_overload_match.
2829 * valarith.c: Likewise.
2830 (value_user_defined_cpp_op, value_user_defined_op): New
2831 argument NOSIDE. Update all callers.
2832 * valops.c (find_overload_match): New argument NOSIDE.
2833 * value.h (find_overload_match): Update signature.
2834
940df408
SC
28352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2836
2837 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2838 'items' methods instead of 'iteritems' method on dictionaries.
2839
699ca60a
DE
28402014-08-15 Doug Evans <dje@google.com>
2841
2842 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2843 closer to use.
2844
37780ee5
DE
28452014-08-15 Doug Evans <dje@google.com>
2846
2847 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2848
0ad93d4f
DE
28492014-08-15 Doug Evans <dje@google.com>
2850
2851 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2852
20d8c372
DE
28532014-08-15 Doug Evans <dje@google.com>
2854
2855 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2856 unused.
2857
cb039ba4
EZ
28582014-08-15 Eli Zaretskii <eliz@gnu.org>
2859
2860 * dcache.h: Include target.h, to avoid compile time warnings.
2861
eb7a547a
JB
28622014-08-15 Joel Brobecker <brobecker@adacore.com>
2863
2864 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2865 frame_info" partial declaration.
2866 * gdbarch.h: Regenerate.
2867
783cecc8
YQ
28682014-08-15 Yao Qi <yao@codesourcery.com>
2869
2870 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2871 Add parameter 'decode_for_pst_p'. Callers update.
2872
65c749e7
YQ
28732014-08-13 Yao Qi <yao@codesourcery.com>
2874
2875 PR build/17104
2876 * configure.ac: Use local variable 'pos'.
2877 * configure: Regenerated.
2878
d769e349
DE
28792014-08-11 Doug Evans <dje@google.com>
2880
2881 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2882 message, it is redundant with "Reading symbols from ..." message.
2883
24f1235e
DE
28842014-08-10 Doug Evans <xdje42@gmail.com>
2885
2886 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2887
dcd2e6ef
YQ
28882014-08-09 Yao Qi <yao@codesourcery.com>
2889
2890 PR remote/9053
2891 * remote.c (remote_xfer_partial): Remove dead code.
2892
070bdf0b
AA
28932014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2894
2895 * ia64-linux-tdep.c: Include "regset.h".
2896 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2897 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2898 (ia64_linux_supply_fpregset): New function.
2899 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2900 (ia64_linux_regset_from_core_section): New function.
2901 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2902 method.
2903
08f9f542
AA
29042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2905
2906 * m68klinux-tdep.c: Include "regset.h".
2907 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2908 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2909 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2910 (m68k_linux_regset_from_core_section): New function.
2911 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2912 method.
2913
8f1cee41
AA
29142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2915
2916 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2917 function. Move logic to...
2918 (tilegx_linux_regmap): ... this new register map.
2919 (tilegx_linux_regset): Refer to register map, replace supply
2920 method by regcache_supply_regset, and add collect method.
2921 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2922 TILEGX_FIRST_EASY_REGNUM.
2923
c5741217
AA
29242014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2925
2926 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2927 that calls regcache_supply_regset and handles the EPC register
2928 separately. Move main logic to...
2929 (score7_linux_gregmap): ... this new register map.
2930 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2931 (score7_linux_gregset): Refer to register map. Add collect method.
2932 (score7_linux_regset_from_core_section): Replace
2933 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2934 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2935 (struct regset): Delete unused forward declaraction.
2936 (struct pt_regs): Delete structure definition.
2937 (elf_gregset_t): Delete typedef.
2938
81580573
AA
29392014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2940
2941 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2942 (nios2_core_regset): Add collect method.
2943
ba199d7d
AA
29442014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2945
2946 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2947 platform-independent and don't write to read-only input buffer.
2948 (m32r_linux_collect_gregset): New function.
2949 (m32r_linux_gregset): Add collect method.
2950
0006a9da
AA
29512014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2952
2953 * hppa-linux-tdep.c (greg_map): Rename to...
2954 (hppa_linux_gregmap): ... this. Also convert to
2955 regcache_map_entry format.
2956 (hppa_linux_supply_regset): Delete function.
2957 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2958 (hppa_linux_fpregmap): ... this new register map.
2959 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2960 register map, replace supply method by regcache_supply_regset, and
2961 add collect method regcache_collect_regset.
2962
901e1b23
AA
29632014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2964
2965 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2966 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2967 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2968 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2969 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2970 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2971 (frv_linux_supply_gregset): Replace main logic by call to
2972 regcache_supply_regset, but keep clearing gr32-gr63.
2973 (frv_linux_supply_fpregset): Delete function.
2974 (frv_linux_gregset): Refer to appropriate register map and add
2975 regcache_collect_regset as the collect method.
2976 (frv_linux_fpregset): Likewise. Also exchange the supply method
2977 by regcache_supply_regset.
2978
1d6e7555
AA
29792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2980
2981 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2982 by call to alpha_supply_int_regs.
2983 (alpha_linux_collect_gregset): New function.
2984 (alpha_linux_supply_fpregset): Replace logic by call to
2985 alpha_supply_fp_regs.
2986 (alpha_linux_collect_fpregset): New function.
2987 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2988
d4d793bf
AA
29892014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2990
2991 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2992 by call to regcache_collect_regset.
2993 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2994 instead of aarch64_linux_supply_gregset/_fpregset.
2995 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2996 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2997 header file instead.
2998 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2999 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3000 functions. Move logic to ...
3001 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3002 register maps.
3003 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3004 refer to new register maps, replace *_regset_from_core by
3005 regcache_supply_regset, and also use regcache_collect_regset.
3006 * aarch64-linux-tdep.h: Include "regset.h".
3007 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3008 Delete prototypes.
3009 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3010 macros, moved from C source file.
3011 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3012 variable declarations.
3013
99b7da5d
AA
30142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3015
3016 * s390-linux-nat.c: Include "regset.h".
3017 (regmap_gregset): Delete macro.
3018 (s390_64_regmap_gregset): New register map for
3019 regcache_supply/_collect_regset.
3020 (s390_64_gregset): New regset.
3021 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3022 (regmap_fpregset): Delete macro.
3023 (s390_native_supply, s390_native_collect): Delete functions.
3024 (supply_gregset, fill_gregset): Replace s390-specific regmap
3025 handling by a call to regcache_supply/_collect_regset.
3026 (supply_fpregset, fill_fpregset): Call regcache_supply/
3027 _collect_regset instead of s390_native_supply/_collect.
3028 (fetch_regset, store_regset): Likewise. Also change the last
3029 parameter to a regset instead of a regmap.
3030 (s390_linux_fetch_inferior_registers)
3031 (390_linux_store_inferior_registers): Adjust last parameter in
3032 calls to fetch_regset and store_regset.
3033 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3034 (s390_gregmap): ... this. Also make static const and convert to
3035 regcache_map_entry format.
3036 (s390x_regmap_gregset): Delete.
3037 (s390_regmap_fpregset): Rename to...
3038 (s390_fpregmap): ... this. Make static const and convert to
3039 regcache_map_entry format.
3040 (s390_regmap_upper, s390_regmap_last_break)
3041 (s390x_regmap_last_break, s390_regmap_system_call)
3042 (s390_regmap_tdb): Likewise.
3043 (s390_supply_regset, s390_collect_regset): Remove functions.
3044 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3045 s390_supply_regset.
3046 (s390_gregset, s390_fpregset, s390_upper_regset)
3047 (s390_last_break_regset, s390x_last_break_regset)
3048 (s390_system_call_regset, s390_tdb_regset): Make global and
3049 replace s390_supply/_collect_regset by regcache_supply/
3050 _collect_regset.
3051 (s390x_gregset): Delete.
3052 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3053 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3054 (s390_regmap_fpregset, s390_regmap_last_break)
3055 (s390x_regmap_last_break, s390_regmap_system_call)
3056 (s390_regmap_tdb): Delete global variable declarations.
3057 (s390_gregset, s390_fpregset, s390_last_break_regset)
3058 (s390x_last_break_regset, s390_system_call_regset)
3059 (s390_tdb_regset): New global variable declarations.
3060
0b309272
AA
30612014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3062
3063 * regcache.c: Include "regset.h".
3064 (regcache_transfer_regset): New local function.
3065 (regcache_supply_regset, regcache_collect_regset): New functions.
3066 * regcache.h (struct regcache_map_entry): New structure.
3067 (REGCACHE_MAP_SKIP): New enum value.
3068 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3069
7fefa8d7
AA
30702014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3071
3072 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3073 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3074 (ppc_linux_collect_gregset ): Likewise.
3075 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3076 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3077 (ppc_collect_vrregset): Likewise.
3078 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3079 Likewise.
3080
96c4f946
YQ
30812014-08-07 Yao Qi <yao@codesourcery.com>
3082
3083 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3084 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3085 * remote.c (remote_read_bytes): Likewise.
3086
fffbe6a8
YQ
30872014-08-07 Yao Qi <yao@codesourcery.com>
3088
3089 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3090
5ee8a82c
YQ
30912014-08-07 Yao Qi <yao@codesourcery.com>
3092
3093 PR remote/17230
3094 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3095 TARGET_XFER_OK instead of 0.
3096
bb974a24
GB
30972014-08-07 Gary Benson <gbenson@redhat.com>
3098
3099 * common/common-defs.h: Include errno.h.
3100 * defs.h: Do not include errno.h.
3101 * ada-typeprint.c: Likewise.
3102 * c-typeprint.c: Likewise.
3103 * core-regset.c: Likewise.
3104 * corefile.c: Likewise.
3105 * corelow.c: Likewise.
3106 * event-loop.c: Likewise.
3107 * f-typeprint.c: Likewise.
3108 * gnu-nat.c: Likewise.
3109 * go32-nat.c: Likewise.
3110 * i386gnu-nat.c: Likewise.
3111 * m2-typeprint.c: Likewise.
3112 * nat/linux-btrace.c: Likewise.
3113 * p-typeprint.c: Likewise.
3114 * procfs.c: Likewise.
3115 * remote-sim.c: Likewise.
3116 * rs6000-nat.c: Likewise.
3117 * target.c: Likewise.
3118 * typeprint.c: Likewise.
3119 * ui-file.c: Likewise.
3120 * valops.c: Likewise.
3121 * valprint.c: Likewise.
3122
6d3d12eb
GB
31232014-08-07 Gary Benson <gbenson@redhat.com>
3124
3125 * common/common-defs.h: Include string.h.
3126 * aarch64-tdep.c: Do not include string.h.
3127 * ada-exp.y: Likewise.
3128 * ada-lang.c: Likewise.
3129 * ada-lex.l: Likewise.
3130 * ada-typeprint.c: Likewise.
3131 * ada-valprint.c: Likewise.
3132 * aix-thread.c: Likewise.
3133 * alpha-linux-tdep.c: Likewise.
3134 * alpha-mdebug-tdep.c: Likewise.
3135 * alpha-nat.c: Likewise.
3136 * alpha-osf1-tdep.c: Likewise.
3137 * alpha-tdep.c: Likewise.
3138 * alphanbsd-tdep.c: Likewise.
3139 * amd64-dicos-tdep.c: Likewise.
3140 * amd64-linux-tdep.c: Likewise.
3141 * amd64-nat.c: Likewise.
3142 * amd64-sol2-tdep.c: Likewise.
3143 * amd64fbsd-tdep.c: Likewise.
3144 * amd64obsd-tdep.c: Likewise.
3145 * arch-utils.c: Likewise.
3146 * arm-linux-nat.c: Likewise.
3147 * arm-linux-tdep.c: Likewise.
3148 * arm-tdep.c: Likewise.
3149 * arm-wince-tdep.c: Likewise.
3150 * armbsd-tdep.c: Likewise.
3151 * armnbsd-nat.c: Likewise.
3152 * armnbsd-tdep.c: Likewise.
3153 * armobsd-tdep.c: Likewise.
3154 * avr-tdep.c: Likewise.
3155 * ax-gdb.c: Likewise.
3156 * ax-general.c: Likewise.
3157 * bcache.c: Likewise.
3158 * bfin-tdep.c: Likewise.
3159 * breakpoint.c: Likewise.
3160 * build-id.c: Likewise.
3161 * buildsym.c: Likewise.
3162 * c-exp.y: Likewise.
3163 * c-lang.c: Likewise.
3164 * c-typeprint.c: Likewise.
3165 * c-valprint.c: Likewise.
3166 * charset.c: Likewise.
3167 * cli-out.c: Likewise.
3168 * cli/cli-cmds.c: Likewise.
3169 * cli/cli-decode.c: Likewise.
3170 * cli/cli-dump.c: Likewise.
3171 * cli/cli-interp.c: Likewise.
3172 * cli/cli-logging.c: Likewise.
3173 * cli/cli-script.c: Likewise.
3174 * cli/cli-setshow.c: Likewise.
3175 * cli/cli-utils.c: Likewise.
3176 * coffread.c: Likewise.
3177 * common/agent.c: Likewise.
3178 * common/buffer.c: Likewise.
3179 * common/buffer.h: Likewise.
3180 * common/common-utils.c: Likewise.
3181 * common/filestuff.c: Likewise.
3182 * common/filestuff.c: Likewise.
3183 * common/format.c: Likewise.
3184 * common/print-utils.c: Likewise.
3185 * common/rsp-low.c: Likewise.
3186 * common/signals.c: Likewise.
3187 * common/vec.h: Likewise.
3188 * common/xml-utils.c: Likewise.
3189 * core-regset.c: Likewise.
3190 * corefile.c: Likewise.
3191 * corelow.c: Likewise.
3192 * cp-abi.c: Likewise.
3193 * cp-name-parser.y: Likewise.
3194 * cp-support.c: Likewise.
3195 * cp-valprint.c: Likewise.
3196 * cris-tdep.c: Likewise.
3197 * d-exp.y: Likewise.
3198 * darwin-nat.c: Likewise.
3199 * dbxread.c: Likewise.
3200 * dcache.c: Likewise.
3201 * demangle.c: Likewise.
3202 * dicos-tdep.c: Likewise.
3203 * disasm.c: Likewise.
3204 * doublest.c: Likewise.
3205 * dsrec.c: Likewise.
3206 * dummy-frame.c: Likewise.
3207 * dwarf2-frame.c: Likewise.
3208 * dwarf2loc.c: Likewise.
3209 * dwarf2read.c: Likewise.
3210 * elfread.c: Likewise.
3211 * environ.c: Likewise.
3212 * eval.c: Likewise.
3213 * event-loop.c: Likewise.
3214 * exceptions.c: Likewise.
3215 * exec.c: Likewise.
3216 * expprint.c: Likewise.
3217 * f-exp.y: Likewise.
3218 * f-lang.c: Likewise.
3219 * f-typeprint.c: Likewise.
3220 * f-valprint.c: Likewise.
3221 * fbsd-nat.c: Likewise.
3222 * findcmd.c: Likewise.
3223 * findvar.c: Likewise.
3224 * fork-child.c: Likewise.
3225 * frame.c: Likewise.
3226 * frv-linux-tdep.c: Likewise.
3227 * frv-tdep.c: Likewise.
3228 * gdb.c: Likewise.
3229 * gdb_bfd.c: Likewise.
3230 * gdbarch.c: Likewise.
3231 * gdbarch.sh: Likewise.
3232 * gdbtypes.c: Likewise.
3233 * gnu-nat.c: Likewise.
3234 * gnu-v2-abi.c: Likewise.
3235 * gnu-v3-abi.c: Likewise.
3236 * go-exp.y: Likewise.
3237 * go-lang.c: Likewise.
3238 * go32-nat.c: Likewise.
3239 * guile/guile.c: Likewise.
3240 * guile/scm-auto-load.c: Likewise.
3241 * hppa-hpux-tdep.c: Likewise.
3242 * hppa-linux-nat.c: Likewise.
3243 * hppanbsd-tdep.c: Likewise.
3244 * hppaobsd-tdep.c: Likewise.
3245 * i386-cygwin-tdep.c: Likewise.
3246 * i386-dicos-tdep.c: Likewise.
3247 * i386-linux-tdep.c: Likewise.
3248 * i386-nto-tdep.c: Likewise.
3249 * i386-sol2-tdep.c: Likewise.
3250 * i386-tdep.c: Likewise.
3251 * i386bsd-tdep.c: Likewise.
3252 * i386gnu-nat.c: Likewise.
3253 * i386nbsd-tdep.c: Likewise.
3254 * i386obsd-tdep.c: Likewise.
3255 * i387-tdep.c: Likewise.
3256 * ia64-libunwind-tdep.c: Likewise.
3257 * ia64-linux-nat.c: Likewise.
3258 * inf-child.c: Likewise.
3259 * inf-ptrace.c: Likewise.
3260 * inf-ttrace.c: Likewise.
3261 * infcall.c: Likewise.
3262 * infcmd.c: Likewise.
3263 * inflow.c: Likewise.
3264 * infrun.c: Likewise.
3265 * interps.c: Likewise.
3266 * iq2000-tdep.c: Likewise.
3267 * irix5-nat.c: Likewise.
3268 * jv-exp.y: Likewise.
3269 * jv-lang.c: Likewise.
3270 * jv-typeprint.c: Likewise.
3271 * jv-valprint.c: Likewise.
3272 * language.c: Likewise.
3273 * linux-fork.c: Likewise.
3274 * linux-nat.c: Likewise.
3275 * lm32-tdep.c: Likewise.
3276 * m2-exp.y: Likewise.
3277 * m2-typeprint.c: Likewise.
3278 * m32c-tdep.c: Likewise.
3279 * m32r-linux-nat.c: Likewise.
3280 * m32r-linux-tdep.c: Likewise.
3281 * m32r-rom.c: Likewise.
3282 * m32r-tdep.c: Likewise.
3283 * m68hc11-tdep.c: Likewise.
3284 * m68k-tdep.c: Likewise.
3285 * m68kbsd-tdep.c: Likewise.
3286 * m68klinux-nat.c: Likewise.
3287 * m68klinux-tdep.c: Likewise.
3288 * m88k-tdep.c: Likewise.
3289 * machoread.c: Likewise.
3290 * macrocmd.c: Likewise.
3291 * main.c: Likewise.
3292 * mdebugread.c: Likewise.
3293 * mem-break.c: Likewise.
3294 * memattr.c: Likewise.
3295 * memory-map.c: Likewise.
3296 * mep-tdep.c: Likewise.
3297 * mi/mi-cmd-break.c: Likewise.
3298 * mi/mi-cmd-disas.c: Likewise.
3299 * mi/mi-cmd-env.c: Likewise.
3300 * mi/mi-cmd-stack.c: Likewise.
3301 * mi/mi-cmd-var.c: Likewise.
3302 * mi/mi-cmds.c: Likewise.
3303 * mi/mi-console.c: Likewise.
3304 * mi/mi-getopt.c: Likewise.
3305 * mi/mi-interp.c: Likewise.
3306 * mi/mi-main.c: Likewise.
3307 * mi/mi-parse.c: Likewise.
3308 * microblaze-rom.c: Likewise.
3309 * microblaze-tdep.c: Likewise.
3310 * mingw-hdep.c: Likewise.
3311 * minidebug.c: Likewise.
3312 * minsyms.c: Likewise.
3313 * mips-irix-tdep.c: Likewise.
3314 * mips-linux-tdep.c: Likewise.
3315 * mips-tdep.c: Likewise.
3316 * mips64obsd-tdep.c: Likewise.
3317 * mipsnbsd-tdep.c: Likewise.
3318 * mipsread.c: Likewise.
3319 * mn10300-linux-tdep.c: Likewise.
3320 * mn10300-tdep.c: Likewise.
3321 * monitor.c: Likewise.
3322 * moxie-tdep.c: Likewise.
3323 * mt-tdep.c: Likewise.
3324 * nat/linux-btrace.c: Likewise.
3325 * nat/linux-osdata.c: Likewise.
3326 * nat/linux-procfs.c: Likewise.
3327 * nat/linux-ptrace.c: Likewise.
3328 * nat/linux-waitpid.c: Likewise.
3329 * nbsd-tdep.c: Likewise.
3330 * nios2-linux-tdep.c: Likewise.
3331 * nto-procfs.c: Likewise.
3332 * nto-tdep.c: Likewise.
3333 * objc-lang.c: Likewise.
3334 * objfiles.c: Likewise.
3335 * opencl-lang.c: Likewise.
3336 * osabi.c: Likewise.
3337 * osdata.c: Likewise.
3338 * p-exp.y: Likewise.
3339 * p-lang.c: Likewise.
3340 * p-typeprint.c: Likewise.
3341 * parse.c: Likewise.
3342 * posix-hdep.c: Likewise.
3343 * ppc-linux-nat.c: Likewise.
3344 * ppc-sysv-tdep.c: Likewise.
3345 * ppcfbsd-tdep.c: Likewise.
3346 * ppcnbsd-tdep.c: Likewise.
3347 * ppcobsd-tdep.c: Likewise.
3348 * printcmd.c: Likewise.
3349 * procfs.c: Likewise.
3350 * prologue-value.c: Likewise.
3351 * python/py-auto-load.c: Likewise.
3352 * python/py-gdb-readline.c: Likewise.
3353 * ravenscar-thread.c: Likewise.
3354 * regcache.c: Likewise.
3355 * registry.c: Likewise.
3356 * remote-fileio.c: Likewise.
3357 * remote-m32r-sdi.c: Likewise.
3358 * remote-mips.c: Likewise.
3359 * remote-notif.c: Likewise.
3360 * remote-sim.c: Likewise.
3361 * remote.c: Likewise.
3362 * reverse.c: Likewise.
3363 * rs6000-aix-tdep.c: Likewise.
3364 * ser-base.c: Likewise.
3365 * ser-go32.c: Likewise.
3366 * ser-mingw.c: Likewise.
3367 * ser-pipe.c: Likewise.
3368 * ser-tcp.c: Likewise.
3369 * ser-unix.c: Likewise.
3370 * serial.c: Likewise.
3371 * sh-tdep.c: Likewise.
3372 * sh64-tdep.c: Likewise.
3373 * shnbsd-tdep.c: Likewise.
3374 * skip.c: Likewise.
3375 * sol-thread.c: Likewise.
3376 * solib-dsbt.c: Likewise.
3377 * solib-frv.c: Likewise.
3378 * solib-osf.c: Likewise.
3379 * solib-som.c: Likewise.
3380 * solib-spu.c: Likewise.
3381 * solib-target.c: Likewise.
3382 * solib.c: Likewise.
3383 * somread.c: Likewise.
3384 * source.c: Likewise.
3385 * sparc-nat.c: Likewise.
3386 * sparc-sol2-tdep.c: Likewise.
3387 * sparc-tdep.c: Likewise.
3388 * sparc64-tdep.c: Likewise.
3389 * sparc64fbsd-tdep.c: Likewise.
3390 * sparc64nbsd-tdep.c: Likewise.
3391 * sparcnbsd-tdep.c: Likewise.
3392 * spu-linux-nat.c: Likewise.
3393 * spu-multiarch.c: Likewise.
3394 * spu-tdep.c: Likewise.
3395 * stabsread.c: Likewise.
3396 * stack.c: Likewise.
3397 * std-regs.c: Likewise.
3398 * symfile.c: Likewise.
3399 * symmisc.c: Likewise.
3400 * symtab.c: Likewise.
3401 * target.c: Likewise.
3402 * thread.c: Likewise.
3403 * tilegx-linux-nat.c: Likewise.
3404 * tilegx-tdep.c: Likewise.
3405 * top.c: Likewise.
3406 * tracepoint.c: Likewise.
3407 * tui/tui-command.c: Likewise.
3408 * tui/tui-data.c: Likewise.
3409 * tui/tui-disasm.c: Likewise.
3410 * tui/tui-file.c: Likewise.
3411 * tui/tui-layout.c: Likewise.
3412 * tui/tui-out.c: Likewise.
3413 * tui/tui-regs.c: Likewise.
3414 * tui/tui-source.c: Likewise.
3415 * tui/tui-stack.c: Likewise.
3416 * tui/tui-win.c: Likewise.
3417 * tui/tui-windata.c: Likewise.
3418 * tui/tui-winsource.c: Likewise.
3419 * typeprint.c: Likewise.
3420 * ui-file.c: Likewise.
3421 * ui-out.c: Likewise.
3422 * user-regs.c: Likewise.
3423 * utils.c: Likewise.
3424 * v850-tdep.c: Likewise.
3425 * valarith.c: Likewise.
3426 * valops.c: Likewise.
3427 * valprint.c: Likewise.
3428 * value.c: Likewise.
3429 * varobj.c: Likewise.
3430 * vax-tdep.c: Likewise.
3431 * vaxnbsd-tdep.c: Likewise.
3432 * vaxobsd-tdep.c: Likewise.
3433 * windows-nat.c: Likewise.
3434 * xcoffread.c: Likewise.
3435 * xml-support.c: Likewise.
3436 * xstormy16-tdep.c: Likewise.
3437 * xtensa-linux-nat.c: Likewise.
3438
dccbb609
GB
34392014-08-07 Gary Benson <gbenson@redhat.com>
3440
3441 * common/common-defs.h: Include gdb_assert.h.
3442 * aarch64-tdep.c: Do not include gdb_assert.h.
3443 * addrmap.c: Likewise.
3444 * aix-thread.c: Likewise.
3445 * alpha-linux-tdep.c: Likewise.
3446 * alpha-mdebug-tdep.c: Likewise.
3447 * alphanbsd-tdep.c: Likewise.
3448 * amd64-nat.c: Likewise.
3449 * amd64-tdep.c: Likewise.
3450 * amd64bsd-nat.c: Likewise.
3451 * amd64fbsd-nat.c: Likewise.
3452 * amd64fbsd-tdep.c: Likewise.
3453 * amd64nbsd-nat.c: Likewise.
3454 * amd64nbsd-tdep.c: Likewise.
3455 * amd64obsd-nat.c: Likewise.
3456 * amd64obsd-tdep.c: Likewise.
3457 * arch-utils.c: Likewise.
3458 * arm-tdep.c: Likewise.
3459 * armbsd-tdep.c: Likewise.
3460 * auxv.c: Likewise.
3461 * bcache.c: Likewise.
3462 * bfin-tdep.c: Likewise.
3463 * blockframe.c: Likewise.
3464 * breakpoint.c: Likewise.
3465 * bsd-kvm.c: Likewise.
3466 * bsd-uthread.c: Likewise.
3467 * buildsym.c: Likewise.
3468 * c-exp.y: Likewise.
3469 * c-lang.c: Likewise.
3470 * charset.c: Likewise.
3471 * cleanups.c: Likewise.
3472 * cli-out.c: Likewise.
3473 * cli/cli-decode.c: Likewise.
3474 * cli/cli-dump.c: Likewise.
3475 * cli/cli-logging.c: Likewise.
3476 * cli/cli-script.c: Likewise.
3477 * cli/cli-utils.c: Likewise.
3478 * coffread.c: Likewise.
3479 * common/common-utils.c: Likewise.
3480 * common/queue.h: Likewise.
3481 * common/signals.c: Likewise.
3482 * common/vec.h: Likewise.
3483 * complaints.c: Likewise.
3484 * completer.c: Likewise.
3485 * corelow.c: Likewise.
3486 * cp-abi.c: Likewise.
3487 * cp-name-parser.y: Likewise.
3488 * cp-namespace.c: Likewise.
3489 * cp-support.c: Likewise.
3490 * cris-tdep.c: Likewise.
3491 * dbxread.c: Likewise.
3492 * dictionary.c: Likewise.
3493 * doublest.c: Likewise.
3494 * dsrec.c: Likewise.
3495 * dummy-frame.c: Likewise.
3496 * dwarf2-frame-tailcall.c: Likewise.
3497 * dwarf2-frame.c: Likewise.
3498 * dwarf2expr.c: Likewise.
3499 * dwarf2loc.c: Likewise.
3500 * dwarf2read.c: Likewise.
3501 * eval.c: Likewise.
3502 * event-loop.c: Likewise.
3503 * exceptions.c: Likewise.
3504 * expprint.c: Likewise.
3505 * f-valprint.c: Likewise.
3506 * fbsd-nat.c: Likewise.
3507 * findvar.c: Likewise.
3508 * frame-unwind.c: Likewise.
3509 * frame.c: Likewise.
3510 * frv-tdep.c: Likewise.
3511 * gcore.c: Likewise.
3512 * gdb-dlfcn.c: Likewise.
3513 * gdb_bfd.c: Likewise.
3514 * gdbarch.c: Likewise.
3515 * gdbarch.sh: Likewise.
3516 * gdbtypes.c: Likewise.
3517 * gnu-nat.c: Likewise.
3518 * gnu-v3-abi.c: Likewise.
3519 * go-lang.c: Likewise.
3520 * guile/scm-exception.c: Likewise.
3521 * guile/scm-gsmob.c: Likewise.
3522 * guile/scm-lazy-string.c: Likewise.
3523 * guile/scm-math.c: Likewise.
3524 * guile/scm-pretty-print.c: Likewise.
3525 * guile/scm-safe-call.c: Likewise.
3526 * guile/scm-utils.c: Likewise.
3527 * guile/scm-value.c: Likewise.
3528 * h8300-tdep.c: Likewise.
3529 * hppa-hpux-nat.c: Likewise.
3530 * hppa-tdep.c: Likewise.
3531 * hppanbsd-tdep.c: Likewise.
3532 * hppaobsd-tdep.c: Likewise.
3533 * i386-darwin-nat.c: Likewise.
3534 * i386-darwin-tdep.c: Likewise.
3535 * i386-nto-tdep.c: Likewise.
3536 * i386-tdep.c: Likewise.
3537 * i386bsd-nat.c: Likewise.
3538 * i386fbsd-tdep.c: Likewise.
3539 * i386gnu-nat.c: Likewise.
3540 * i386nbsd-tdep.c: Likewise.
3541 * i386obsd-tdep.c: Likewise.
3542 * i387-tdep.c: Likewise.
3543 * ia64-libunwind-tdep.c: Likewise.
3544 * ia64-tdep.c: Likewise.
3545 * inf-ptrace.c: Likewise.
3546 * inf-ttrace.c: Likewise.
3547 * infcall.c: Likewise.
3548 * infcmd.c: Likewise.
3549 * infrun.c: Likewise.
3550 * inline-frame.c: Likewise.
3551 * interps.c: Likewise.
3552 * jv-lang.c: Likewise.
3553 * jv-typeprint.c: Likewise.
3554 * linux-fork.c: Likewise.
3555 * linux-nat.c: Likewise.
3556 * linux-thread-db.c: Likewise.
3557 * m32c-tdep.c: Likewise.
3558 * m32r-linux-nat.c: Likewise.
3559 * m32r-tdep.c: Likewise.
3560 * m68k-tdep.c: Likewise.
3561 * m68kbsd-nat.c: Likewise.
3562 * m68kbsd-tdep.c: Likewise.
3563 * m88k-tdep.c: Likewise.
3564 * machoread.c: Likewise.
3565 * macroexp.c: Likewise.
3566 * macrotab.c: Likewise.
3567 * maint.c: Likewise.
3568 * mdebugread.c: Likewise.
3569 * memory-map.c: Likewise.
3570 * mep-tdep.c: Likewise.
3571 * mi/mi-common.c: Likewise.
3572 * microblaze-tdep.c: Likewise.
3573 * mingw-hdep.c: Likewise.
3574 * mips-linux-nat.c: Likewise.
3575 * mips-linux-tdep.c: Likewise.
3576 * mips-tdep.c: Likewise.
3577 * mips64obsd-tdep.c: Likewise.
3578 * mipsnbsd-tdep.c: Likewise.
3579 * mn10300-linux-tdep.c: Likewise.
3580 * mn10300-tdep.c: Likewise.
3581 * moxie-tdep.c: Likewise.
3582 * mt-tdep.c: Likewise.
3583 * nat/linux-btrace.c: Likewise.
3584 * nat/linux-osdata.c: Likewise.
3585 * nat/linux-ptrace.c: Likewise.
3586 * nat/mips-linux-watch.c: Likewise.
3587 * nios2-linux-tdep.c: Likewise.
3588 * nios2-tdep.c: Likewise.
3589 * objc-lang.c: Likewise.
3590 * objfiles.c: Likewise.
3591 * obsd-nat.c: Likewise.
3592 * opencl-lang.c: Likewise.
3593 * osabi.c: Likewise.
3594 * parse.c: Likewise.
3595 * ppc-linux-nat.c: Likewise.
3596 * ppc-sysv-tdep.c: Likewise.
3597 * ppcfbsd-nat.c: Likewise.
3598 * ppcfbsd-tdep.c: Likewise.
3599 * ppcnbsd-nat.c: Likewise.
3600 * ppcnbsd-tdep.c: Likewise.
3601 * ppcobsd-nat.c: Likewise.
3602 * ppcobsd-tdep.c: Likewise.
3603 * printcmd.c: Likewise.
3604 * procfs.c: Likewise.
3605 * prologue-value.c: Likewise.
3606 * psymtab.c: Likewise.
3607 * python/py-lazy-string.c: Likewise.
3608 * python/py-value.c: Likewise.
3609 * regcache.c: Likewise.
3610 * reggroups.c: Likewise.
3611 * registry.c: Likewise.
3612 * remote-sim.c: Likewise.
3613 * remote.c: Likewise.
3614 * rs6000-aix-tdep.c: Likewise.
3615 * rs6000-tdep.c: Likewise.
3616 * s390-linux-tdep.c: Likewise.
3617 * score-tdep.c: Likewise.
3618 * ser-base.c: Likewise.
3619 * ser-mingw.c: Likewise.
3620 * sh-tdep.c: Likewise.
3621 * sh64-tdep.c: Likewise.
3622 * solib-darwin.c: Likewise.
3623 * solib-spu.c: Likewise.
3624 * solib-svr4.c: Likewise.
3625 * source.c: Likewise.
3626 * sparc-nat.c: Likewise.
3627 * sparc-sol2-tdep.c: Likewise.
3628 * sparc-tdep.c: Likewise.
3629 * sparc64-sol2-tdep.c: Likewise.
3630 * sparc64-tdep.c: Likewise.
3631 * sparc64fbsd-tdep.c: Likewise.
3632 * sparc64nbsd-tdep.c: Likewise.
3633 * sparc64obsd-tdep.c: Likewise.
3634 * sparcnbsd-tdep.c: Likewise.
3635 * sparcobsd-tdep.c: Likewise.
3636 * spu-multiarch.c: Likewise.
3637 * spu-tdep.c: Likewise.
3638 * stabsread.c: Likewise.
3639 * stack.c: Likewise.
3640 * symfile.c: Likewise.
3641 * symtab.c: Likewise.
3642 * target-descriptions.c: Likewise.
3643 * target-memory.c: Likewise.
3644 * target.c: Likewise.
3645 * tic6x-linux-tdep.c: Likewise.
3646 * tic6x-tdep.c: Likewise.
3647 * tilegx-linux-nat.c: Likewise.
3648 * tilegx-tdep.c: Likewise.
3649 * top.c: Likewise.
3650 * tramp-frame.c: Likewise.
3651 * tui/tui-out.c: Likewise.
3652 * tui/tui-winsource.c: Likewise.
3653 * ui-out.c: Likewise.
3654 * user-regs.c: Likewise.
3655 * utils.c: Likewise.
3656 * v850-tdep.c: Likewise.
3657 * valops.c: Likewise.
3658 * value.c: Likewise.
3659 * varobj.c: Likewise.
3660 * vax-nat.c: Likewise.
3661 * xml-syscall.c: Likewise.
3662 * xml-tdesc.c: Likewise.
3663 * xstormy16-tdep.c: Likewise.
3664 * xtensa-linux-nat.c: Likewise.
3665 * xtensa-tdep.c: Likewise.
3666
e76df0d0
GB
36672014-08-07 Gary Benson <gbenson@redhat.com>
3668
3669 * common/common-defs.h: Include common-utils.h.
3670 * defs.h: Do not include common-utils.h.
3671 * common/gdb_assert.h: Likewise.
3672 * darwin-nat.h: Likewise.
3673 * nat/linux-btrace.c: Likewise.
3674 * target/waitstatus.h: Likewise.
3675
4cb9c816
GB
36762014-08-07 Gary Benson <gbenson@redhat.com>
3677
3678 * common/common-defs.h: Include ptid.h.
3679 * defs.h: Do not include ptid.h.
3680 * inferior.h: Likewise.
3681 * infrun.h: Likewise.
3682 * nat/linux-btrace.h: Likewise.
3683 * nat/linux-osdata.h: Likewise.
3684 * target/waitstatus.h: Likewise.
3685
3995eeee
GB
36862014-08-07 Gary Benson <gbenson@redhat.com>
3687
3688 * common/common-defs.h: Include gdb_locale.h.
3689 * defs.h: Do not include gdb_locale.h.
3690
cb9f1a9b
GB
36912014-08-07 Gary Benson <gbenson@redhat.com>
3692
3693 * common/common-defs.h: Include gdb/signals.h.
3694 * defs.h: Do not include gdb/signals.h.
3695
a5fceff8
GB
36962014-08-07 Gary Benson <gbenson@redhat.com>
3697
3698 * common/common-defs.h: Include pathmax.h.
3699 * defs.h: Do not include pathmax.h.
3700
b9391142
GB
37012014-08-07 Gary Benson <gbenson@redhat.com>
3702
3703 * common/common-defs.h: Include libiberty.h.
3704 * defs.h: Do not include libiberty.h.
3705 * common/queue.h: Likewise.
3706 * cp-name-parser.y: Likewise.
3707 * mi/mi-cmd-catch.c: Likewise.
3708 * python/python.c: Likewise.
3709
0e443c87
GB
37102014-08-07 Gary Benson <gbenson@redhat.com>
3711
3712 * common/common-defs.h: Include ansidecl.h.
3713 * defs.h: Do not include ansidecl.h.
3714 * common/buffer.h: Likewise.
3715 * common/common-utils.h: Likewise.
3716
8ebb3f56
GB
37172014-08-07 Gary Benson <gbenson@redhat.com>
3718
3719 * common/common-defs.h: Include stddef.h.
3720 * defs.h: Do not include stddef.h.
3721 * common/common-utils.h: Likewise.
3722 * amd64fbsd-nat.c: Likewise.
3723 * bcache.c: Likewise.
3724 * charset.c: Likewise.
3725 * common/buffer.h: Likewise.
3726 * common/vec.h: Likewise.
3727 * i386bsd-nat.c: Likewise.
3728 * nat/linux-btrace.h: Likewise.
3729 * ppcfbsd-nat.c: Likewise.
3730 * ppcnbsd-tdep.h: Likewise.
3731 * ppcobsd-nat.c: Likewise.
3732 * ppcobsd-tdep.h: Likewise.
3733 * python/py-gdb-readline.c: Likewise.
3734
8980bdf6
GB
37352014-08-07 Gary Benson <gbenson@redhat.com>
3736
3737 * common/common-defs.h: Include stdarg.h.
3738 * defs.h: Do not include stdarg.h.
3739 * ada-lang.c: Likewise.
3740 * common/common-utils.h: Likewise.
3741 * guile/scm-string.c: Likewise.
3742 * guile/scm-utils.c: Likewise.
3743 * m32c-tdep.c: Likewise.
3744
d7096f71
GB
37452014-08-07 Gary Benson <gbenson@redhat.com>
3746
3747 * common/common-defs.h: Include stdlib.h.
3748 * defs.h: Do not include stdlib.h.
3749 * addrmap.c: Likewise.
3750 * bcache.c: Likewise.
3751 * common/buffer.c: Likewise.
3752 * common/common-utils.c: Likewise.
3753 * cp-name-parser.y: Likewise.
3754 * go32-nat.c: Likewise.
3755 * mn10300-linux-tdep.c: Likewise.
3756 * nat/linux-osdata.c: Likewise.
3757 * tui/tui.c: Likewise.
3758 * windows-nat.c: Likewise.
3759
d02f550d
GB
37602014-08-07 Gary Benson <gbenson@redhat.com>
3761
3762 * common/common-defs.h: Include stdio.h.
3763 * defs.h: Do not include stdio.h.
3764 * ada-lang.c: Likewise.
3765 * common/buffer.c: Likewise.
3766 * common/common-utils.c: Likewise.
3767 * cp-name-parser.y: Likewise.
3768 * gnu-nat.c: Likewise.
3769 * go32-nat.c: Likewise.
3770 * i386gnu-nat.c: Likewise.
3771 * proc-api.c: Likewise.
3772 * proc-events.c: Likewise.
3773 * proc-flags.c: Likewise.
3774 * proc-why.c: Likewise.
3775 * python/python-internal.h: Likewise.
3776 * target-memory.c: Likewise.
3777 * tui/tui-io.c: Likewise.
3778 * tui/tui.c: Likewise.
3779
b6d7a4bf
SM
37802014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3781
3782 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3783 (scan_dyntag_auxv): Same.
3784
af19829b
YQ
37852014-08-06 Yao Qi <yao@codesourcery.com>
3786
3787 * amd64-linux-nat.c: Remove duplicated include
3788 "x86-linux-nat.h".
3789 * i386-linux-nat.c: Likewise.
3790
8e07a239
YQ
37912014-08-06 Yao Qi <yao@codesourcery.com>
3792
3793 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3794 operand" with "Special opcode" in comments.
3795
7bfe8241
GB
37962014-08-05 Gary Benson <gbenson@redhat.com>
3797
3798 * interps.c (initialize_interps): Remove prototype.
3799 (interpreter_initialized): Remove static global.
3800 (interp_add): Do not call initialize_interps.
3801 (initialize_interps): Remove function.
3802
d6c95504
GB
38032014-08-05 Gary Benson <gbenson@redhat.com>
3804
3805 * utils.c (vwarning): Remove spurious va_end.
3806
241fd515
AM
38072014-08-05 Alan Modra <amodra@gmail.com>
3808
3809 * charset.c (convert_between_encodings): Cast result of obstack_base.
3810 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3811 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3812 (read_unwind_info): Use size_t for some locals.
3813 * jit.c (finalize_symtab): Likewise.
3814 * utils.c (hashtab_obstack_allocate): Likewise.
3815 * symmisc.c (print_objfile_statistics): Update format strings.
3816
dc304a94
JK
38172014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3818
3819 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3820 (Changes in GDB 7.8): ... here.
3821
3cecbbbe
TT
38222014-08-04 Tom Tromey <tromey@redhat.com>
3823
3824 * target.c (set_targetdebug): New function.
3825 (initialize_targets): Pass set_targetdebug when creating "set
3826 debug target".
3827
6908c509
JB
38282014-08-01 Joel Brobecker <brobecker@adacore.com>
3829
3830 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3831 if detecting a variable-sized field that is not the last field.
3832 Fix struct type length computation.
3833
53e8f97d
JB
38342014-08-01 Joel Brobecker <brobecker@adacore.com>
3835
3836 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3837 Add debug trace.
3838
e068c55d
JB
38392014-08-01 Joel Brobecker <brobecker@adacore.com>
3840
3841 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3842 Remove "+ 8" offset in computation of CHAIN_VMA.
3843
4d4ca2a1
DE
38442014-07-31 Doug Evans <dje@google.com>
3845
3846 * inflow.c (child_terminal_inferior): Add comment.
3847 (child_terminal_ours_for_output): Add comment.
3848 (child_terminal_ours): Add comment.
3849 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3850 (linux_nat_terminal_ours): Add comment.
3851
462f517e
GB
38522014-07-31 Gary Benson <gbenson@redhat.com>
3853
3854 * common/btrace-common.h: Do not include defs.h or server.h.
3855 * nat/mips-linux-watch.h: Likewise.
3856 * gdb-dlfcn.h: Do not include defs.h.
3857 * tracefile.h: Likewise.
3858
74228e77
RM
38592014-07-30 Roland McGrath <mcgrathr@google.com>
3860
3861 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3862
014f9477
TT
38632014-07-30 Tom Tromey <tromey@redhat.com>
3864
3865 * bsd-kvm.c (bsd_kvm_open): Constify.
3866 * corelow.c (core_open): Constify.
3867 * ctf.c (ctf_open): Constify.
3868 * dbug-rom.c (dbug_open): Constify.
3869 * exec.c (exec_open): Constify.
3870 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3871 * microblaze-rom.c (picobug_open): Constify.
3872 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3873 Constify.
3874 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3875 * record-btrace.c (record_btrace_open): Constify.
3876 * record-full.c (record_full_core_open_1, record_full_open_1)
3877 (record_full_open): Constify.
3878 * remote-m32r-sdi.c (m32r_open): Constify.
3879 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3880 (rockhopper_open, lsi_open): Constify.
3881 * remote-sim.c (gdbsim_open): Constify.
3882 * remote.c (remote_open, extended_remote_open, remote_open_1):
3883 Constify.
3884 * target.h (struct target_ops) <to_open>: Make "arg" const.
3885 * tracefile-tfile.c (tfile_open): Constify.
3886
e799154c
TT
38872014-07-30 Tom Tromey <tromey@redhat.com>
3888
3889 * breakpoint.c (map_breakpoint_numbers): Update.
3890 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3891 (get_number_const): New function.
3892 (get_number): Rewrite using get_number_const.
3893 (init_number_or_range): Make "string" const.
3894 (number_is_in_list): Make "list" const.
3895 * cli/cli-utils.h (get_number_const): Declare.
3896 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3897 (init_number_or_range, number_is_in_list): Update.
3898 * printcmd.c (map_display_numbers): Update.
3899 * value.c (value_from_history_ref): Constify.
3900 * value.h (value_from_history_ref): Update.
3901
5f08566b
TT
39022014-07-30 Tom Tromey <tromey@redhat.com>
3903
3904 * corefile.c (hook_type, call_extra_exec_file_hooks)
3905 (specify_exec_file_hook): Constify.
3906 * exec.c (exec_file_attach): Make "filename" const.
3907 * gdbcore.h (deprecated_exec_file_display_hook)
3908 (specify_exec_file_hook, exec_file_attach): Constify.
3909 * main.c (captured_main): Use catch_command_errors_const.
3910
8981c758
TT
39112014-07-30 Tom Tromey <tromey@redhat.com>
3912
3913 * target.c (open_target): New function.
3914 (add_target_with_completer, add_deprecated_target_alias): Use
3915 set_cmd_sfunc, set_cmd_context.
3916 (debug_to_open): Remove.
3917 (setup_target_debug): Update.
3918
a1c7835a
YQ
39192014-07-30 Yao Qi <yao@codesourcery.com>
3920
3921 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3922 comments.
3923 * parse.c (exp_iterate): Update comments.
3924
976411d6
GB
39252014-07-30 Gary Benson <gbenson@redhat.com>
3926
3927 * common/common-defs.h: New file.
3928 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3929 * defs.h: Include common-defs.h.
3930 Do not include config.h or build-gnulib/config.h.
3931
5d4848a4
GB
39322014-07-30 Gary Benson <gbenson@redhat.com>
3933
3934 * common/common-utils.h: Do not include config.h.
3935 * nat/linux-btrace.h: Likewise.
3936
d41f6d8e
GB
39372014-07-30 Gary Benson <gbenson@redhat.com>
3938
3939 * btrace.c: Include defs.h.
3940 * common/ptid.c: Include defs.h or server.h as appropriate.
3941 * nat/mips-linux-watch.c: Likewise.
3942
84202f9c
TT
39432014-07-29 Tom Tromey <tromey@redhat.com>
3944
3945 * target.c (target_is_pushed): Simplify.
3946
2530441c
JB
39472014-07-29 Joel Brobecker <brobecker@adacore.com>
3948
3949 GDB 7.8 released.
3950
7e09a223
YQ
39512014-07-29 Yao Qi <yao@codesourcery.com>
3952
3953 PR gdb/17206
3954 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3955
7ebdbe92
DE
39562014-07-28 Doug Evans <xdje42@gmail.com>
3957
3958 PR guile/17203
3959 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3960 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3961 parameters.
3962
f347ffc9
WN
39632014-07-28 Will Newton <will.newton@linaro.org>
3964
3965 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3966 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3967 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3968 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3969 (THUMB2_EABI_SYSCALL): Likewise.
3970 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3971 struct tramp_frame.
3972 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3973 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3974
37c5f1f7
DE
39752014-07-27 Doug Evans <xdje42@gmail.com>
3976
3977 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3978
0c3abbc7
DE
39792014-07-27 Doug Evans <xdje42@gmail.com>
3980
3981 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3982
e76c5d17
DE
39832014-07-26 Ludovic Courtès <ludo@gnu.org>
3984 Doug Evans <xdje42@gmail.com>
3985
3986 PR guile/17146
3987 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3988 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3989 * configure.ac: Try to use guild to compile an scm file, if it fails
3990 then disable guile support.
3991 * configure: Regenerate.
3992 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3993 GUILE_FILE_LIST.
3994 (GUILE_COMPILED_FILES): New variable.
3995 (GUILE_FILES) Update.
3996 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3997 (stamp-guile): Compile scm files.
3998 * guile/guile.c (boot_guile_support): New function.
3999 (standard_throw_args_p): New function.
4000 (print_standard_throw_error, print_throw_error): New functions.
4001 (handle_boot_error): New function.
4002 (initialize_scheme_side): Rewrite to call boot_guile_support.
4003 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4004 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4005
186fcde0
DE
40062014-07-26 Ludovic Courtès <ludo@gnu.org>
4007 Doug Evans <xdje42@gmail.com>
4008
4009 PR guile/17146
4010 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4011 * guile/lib/gdb/support.scm: New file.
4012 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4013 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4014 All uses updated.
4015 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4016 All uses updated.
4017 (%assert-type): Ditto, and renamed to assert-type.
4018 (%exception-print-style): Delete.
4019
4df42755
DE
40202014-07-26 Doug Evans <xdje42@gmail.com>
4021
4022 PR build/17105
4023 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4024 * configure: Regenerate.
4025 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4026 PYTHON_FILES.
4027 (PYTHON_FILES): New variable.
4028 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4029 (GUILE_FILES): New variable.
4030 (stamp-python, install-python, uninstall-python): Handle empty
4031 file list.
4032 (stamp-guile, install-guile, uninstall-guile): Ditto.
4033
ee7333ae
DE
40342014-07-26 Doug Evans <xdje42@gmail.com>
4035
4036 PR guile/17177
4037 * guile/lib/gdb.scm (pretty-printers): Export.
4038 (set-pretty-printers!): Export.
4039 * guile/lib/gdb/printing.scm (gdb module): Update.
4040 (prepend-pretty-printer!, append-pretty-printer!): Update.
4041 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4042 (pretty_printer_list_var): Delete.
4043 (pretty_printer_list): New static global.
4044 (gdbscm_pretty_printers): New function.
4045 (gdbscm_set_pretty_printers_x): New function.
4046 (ppscm_find_pretty_printer_from_gdb): Update.
4047 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4048 (gdbscm_initialize_pretty_printers): Update.
4049
74edf516
DE
40502014-07-26 Doug Evans <xdje42@gmail.com>
4051
4052 PR 17185
4053 * configure.ac: Add check for header gc/gc.h.
4054 Add check for function setenv.
4055 * configure: Regenerate.
4056 * config.in: Regenerate.
4057 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4058
d54398a7
MR
40592014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4060
4061 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4062 variation in gdbarch matching.
4063
ab16fce8
TT
40642014-07-25 Tom Tromey <tromey@redhat.com>
4065
4066 * exec.c (using_exec_ops): Remove.
4067 (exec_close_1): Update. Remove extraneous block, reindent.
4068 (add_target_sections): Use target_is_pushed.
4069
88056fbb
PA
40702014-07-25 Pedro Alves <palves@redhat.com>
4071
4072 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4073 * monitor.c (monitor_create_inferior): Likewise.
4074 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4075 * remote-sim.c (gdbsim_create_inferior): Likewise.
4076 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4077 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4078 * windows-nat.c (do_initial_windows_stuff): Likewise.
4079
70509625
PA
40802014-07-25 Pedro Alves <palves@redhat.com>
4081
4082 * NEWS: Mention signal passing and "signal" command changes.
4083 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4084 comment.
4085 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4086 call.
4087 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4088 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4089 (jump_command): Adjust clear_proceed_status call.
4090 (signal_command): Warn if other thread that are resumed have
4091 signals that will be delivered. Adjust clear_proceed_status call.
4092 (until_next_command, finish_command)
4093 (proceed_after_attach_callback, attach_command_post_wait)
4094 (attach_command): Adjust clear_proceed_status call.
4095 * infrun.c (proceed_after_vfork_done): Likewise.
4096 (proceed_after_attach_callback): Adjust comment.
4097 (clear_proceed_status_thread): Clear stop_signal if not in pass
4098 state.
4099 (clear_proceed_status_callback): Delete.
4100 (clear_proceed_status): New 'step' parameter. Only clear the
4101 proceed status of threads the command being prepared is about to
4102 resume.
4103 (proceed): If passed in an explicit signal, override stop_signal
4104 with it. Don't pass the last stop signal to the thread we're
4105 resuming.
4106 (init_wait_for_inferior): Adjust clear_proceed_status call.
4107 (switch_back_to_stepped_thread): Clear the signal if it should not
4108 be passed.
4109 * infrun.h (clear_proceed_status): New 'step' parameter.
4110 (user_visible_resume_ptid): Add comment.
4111 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4112 signal is in pass state.
4113 * remote.c (append_pending_thread_resumptions): Likewise.
4114 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4115
d8be2939
TT
41162014-07-25 Tom Tromey <tromey@redhat.com>
4117
4118 * target.h (target_stopped_data_address)
4119 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4120 parentheses.
4121
7d0d9d2b
PL
41222014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4123
4124 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4125 comments.
4126 (avr_pointer_to_address): Likewise.
4127
e9e7f724
TT
41282014-07-24 Tom Tromey <tromey@redhat.com>
4129
4130 * monitor.c (compile_pattern): Update.
4131 * target.h (struct target_ops) <to_shortname, to_longname,
4132 to_doc>: Now const.
4133
1947513d
TT
41342014-07-24 Tom Tromey <tromey@redhat.com>
4135
4136 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4137 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4138 (add_info_alias, add_com): Make "doc" const.
4139 (print_doc_line): Make "str" const.
4140 (delete_cmd): Update.
4141 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4142 (print_doc_line): Update.
4143 * cli/cli-script.c (document_command): Update.
4144 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4145 (add_com, add_info, add_info_alias): Update.
4146 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4147 * python/py-cmd.c (cmdpy_destroyer): Update.
4148
64e61d29
TT
41492014-07-24 Tom Tromey <tromey@redhat.com>
4150
4151 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4152 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4153 (help_cmd_list): Constify.
4154 (lookup_cmd): Update.
4155 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4156 const.
4157 (help_cmd_list, apropos_cmd): Update.
4158 * cli/cli-script.c (show_user): Update.
4159 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4160 * cli/cli-setshow.h (cmd_show_list): Update.
4161 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4162 (cmd_show_list): Update.
4163 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4164 * python/py-cmd.c (cmdpy_destroyer): Update.
4165
429e55ea
TT
41662014-07-24 Tom Tromey <tromey@redhat.com>
4167
4168 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4169 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4170 const.
4171 * command.h (deprecate_cmd): Update.
4172 * maint.c (maintenance_do_deprecate): Add casts.
4173
64669f3b
TT
41742014-07-24 Tom Tromey <tromey@redhat.com>
4175
4176 * cli/cli-decode.c (help_cmd): Make parameter "const".
4177 * cli/cli-decode.h (help_cmd): Update.
4178
d3d3328b
TT
41792014-07-24 Tom Tromey <tromey@redhat.com>
4180
4181 * stack.c (up_silently_base, down_silently_base): Make argument
4182 const.
4183
414842dc
TT
41842014-07-24 Tom Tromey <tromey@redhat.com>
4185
4186 * solib.c (solib_add): Make "pattern" const.
4187 * solib.h (solib_add): Update.
4188
baa336ce
TT
41892014-07-24 Tom Tromey <tromey@redhat.com>
4190
4191 * remote.c (remote_serial_open, print_packet, putpkt)
4192 (putpkt_binary): Constify.
4193 * remote.h (putpkt): Update.
4194
5a19e2d0
TT
41952014-07-24 Tom Tromey <tromey@redhat.com>
4196
4197 * monitor.c (monitor_open): Make "args" const.
4198 * monitor.h (monitor_open): Update.
4199
fc4baa5e
TT
42002014-07-24 Tom Tromey <tromey@redhat.com>
4201
4202 * maint.c (match_bfd_flags): Make "string" const.
4203 (print_bfd_section_info): Remove casts.
4204 (print_objfile_section_info): Make "string" const.
4205
0d5f0dbe
TT
42062014-07-24 Tom Tromey <tromey@redhat.com>
4207
4208 * inf-child.c (inf_child_open_target): Make "arg" const.
4209 * inf-child.h (inf_child_open_target): Update.
4210
41c77899
TT
42112014-07-24 Tom Tromey <tromey@redhat.com>
4212
4213 * environ.c (unset_in_environ): Make "var" const.
4214 * environ.h (unset_in_environ): Update.
4215
93db0d79
TT
42162014-07-24 Tom Tromey <tromey@redhat.com>
4217
4218 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4219 Make "cmd" const.
4220 (scan_filename_with_cleanup): Likewise.
4221 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4222 Make arguments const.
4223 (restore_command): Update.
4224
36d6eb95
PA
42252014-07-24 Pedro Alves <palves@redhat.com>
4226
4227 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4228
8009206a
TT
42292014-07-24 Tom Tromey <tromey@redhat.com>
4230 Gary Benson <gbenson@redhat.com>
4231
4232 * nat/linux-ptrace.c (additional_flags): New global.
4233 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4234 additional_flags; don't check GDBSERVER.
4235 (linux_ptrace_set_additional_flags): New function.
4236 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4237 Declare.
4238 * linux-nat.c (_initialize_linux_nat): Call
4239 linux_ptrace_set_additional_flags.
4240
a7068b60
TT
42412014-07-24 Tom Tromey <tromey@redhat.com>
4242
4243 * make-target-delegates (munge_type, write_debugmethod): New
4244 functions.
4245 (debug_names): New global.
4246 ($TARGET_DEBUG_PRINTER): New global.
4247 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4248 name.
4249 Write debug methods. Generate init_debug_target.
4250 * target-debug.h: New file.
4251 * target-delegates.c: Rebuild.
4252 * target.c: Include target-debug.h.
4253 (debug_target): Hoist definition.
4254 (target_kill, target_get_section_table, target_memory_map)
4255 (target_flash_erase, target_flash_done, target_detach)
4256 (target_disconnect, target_wait, target_resume)
4257 (target_pass_signals, target_program_signals, target_follow_fork)
4258 (target_mourn_inferior, target_search_memory)
4259 (target_thread_address_space, target_close)
4260 (target_find_new_threads, target_core_of_thread)
4261 (target_verify_memory, target_insert_mask_watchpoint)
4262 (target_remove_mask_watchpoint): Remove targetdebug code.
4263 (debug_to_post_attach, debug_to_prepare_to_store)
4264 (debug_to_files_info, debug_to_insert_breakpoint)
4265 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4266 (debug_to_region_ok_for_hw_watchpoint)
4267 (debug_to_can_accel_watchpoint_condition)
4268 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4269 (debug_to_watchpoint_addr_within_range)
4270 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4271 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4272 (debug_to_terminal_init, debug_to_terminal_inferior)
4273 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4274 (debug_to_terminal_save_ours, debug_to_terminal_info)
4275 (debug_to_load, debug_to_post_startup_inferior)
4276 (debug_to_insert_fork_catchpoint)
4277 (debug_to_remove_fork_catchpoint)
4278 (debug_to_insert_vfork_catchpoint)
4279 (debug_to_remove_vfork_catchpoint)
4280 (debug_to_insert_exec_catchpoint)
4281 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4282 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4283 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4284 (setup_target_debug): Call init_debug_target.
4285 * target.h (TARGET_DEBUG_PRINTER): New macro.
4286 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4287 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4288
2c51604d
GB
42892014-07-24 Gary Benson <gbenson@redhat.com>
4290
4291 * exceptions.h (throw_vfatal): Renamed to...
4292 (throw_vquit): New declaration.
4293 (throw_quit): Likewise.
4294 * exceptions.c (throw_vfatal): Renamed to...
4295 (throw_vquit): New function.
4296 (throw_quit): Likewise.
4297 (throw_error): Call throw_verror rather than throw_it.
4298 * utils.h (vfatal): Removed.
4299 (fatal): Likewise.
4300 * utils.c (vfatal): Removed.
4301 (fatal): Likewise.
4302 (internal_verror): Replaced call to fatal with call to throw_quit.
4303 (quit): Replaced calls to fatal with calls to throw_quit.
4304
34211963
ME
43052014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4306
4307 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4308 target_read_code.
4309
a52b4d3e
ME
43102014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4311
4312 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4313 less than zero in conditional expression.
4314
a8bdc56b
TT
43152014-07-23 Tom Tromey <tromey@redhat.com>
4316
4317 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4318 ($INTRO_PART): Don't match whitespace.
4319 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4320 argument matching.
4321 ($METHOD): Add $METHOD_TRAILER.
4322 (trim): Rewrite.
4323 (scan_target_h): New sub.
4324 Change main loop not to collect state.
4325 * target-delegates.c: Rebuild.
4326
91b52240
GB
43272014-07-23 Gary Benson <gbenson@redhat.com>
4328
4329 * cp-support.c (gdb_demangle): Fix build on systems without
4330 sigaltstack.
4331
45326f6f
JK
43322014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4333
4334 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4335 for reference entry value target data value.
4336
e214cf6c
JK
43372014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4338
4339 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4340 value_available_contents_eq.
4341
bddbbedd
PA
43422014-07-22 Pedro Alves <palves@redhat.com>
4343
4344 * value.c (allocate_optimized_out_value): Don't mark value as
4345 non-lazy.
4346
45c71484
JW
43472014-07-22 Jiong Wang <jiong.wang@arm.com>
4348
4349 * MAINTAINERS (Write After Approval): Update my email address.
4350
9597b22a
DE
43512014-07-20 Doug Evans <dje@google.com>
4352
4353 PR server/17147
4354 * remote.c (putpkt_binary): Add text to error message.
4355
91101fe5
YQ
43562014-07-20 Yao Qi <yao@codesourcery.com>
4357
4358 * eval.c: Remove "Chill" from comments.
4359 * gdbtypes.h: Likewise.
4360 * symtab.h: Likewise.
4361
c9402c95
YQ
43622014-07-20 Yao Qi <yao@codesourcery.com>
4363
4364 * std-operator.def: Update comments to TERNOP_SLICE.
4365
ae8fddda
YQ
43662014-07-20 Yao Qi <yao@codesourcery.com>
4367
4368 * std-operator.def: Remove BINOP_RANGE.
4369 * breakpoint.c (watchpoint_exp_is_const): Update.
4370 * expprint.c (dump_subexp_body_standard): Likewise.
4371 * eval.c (init_array_element): Remove dead code.
4372 (evaluate_subexp_standard): Likewise.
4373
9c816640
YQ
43742014-07-20 Yao Qi <yao@codesourcery.com>
4375
4376 * std-operator.def: Remove BINOP_IN.
4377 * breakpoint.c (watchpoint_exp_is_const): Update.
4378 * eval.c (evaluate_subexp_standard): Likewise.
4379 * expprint.c (dump_subexp_body_standard): Likewise.
4380
164224e9
ME
43812014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4382
4383 * microblaze-tdep.c (microblaze_register_names): Add
4384 the rshr and rslr register names.
4385 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4386 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4387 Use of tdesc_numbered_register. Use of
4388 microblaze_register_g_packet_guesses. Use of
4389 tdesc_use_registers. Use of set_gdbarch_register_type.
4390 (microblaze_register_g_packet_guesses): New.
4391 * microblaze-tdep.h (microblaze_reg_num): Add
4392 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4393 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4394 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4395 * features/microblaze-core.xml: New file.
4396 * features/microblaze-stack-protect.xml: New file.
4397 * features/microblaze-with-stack-protect.c: New file.
4398 * features/microblaze-with-stack-protect.xml: New file.
4399 * features/microblaze.xml: New file.
4400 * features/microblaze.c: New file.
4401 * features/Makefile (microblaze-with-stack-protect): Add
4402 microblaze-with-stack-protect microblaze and microblaze-expedite.
4403 * regformats/microblaze-with-stack-protect.dat: New file.
4404 * regformats/microblaze.dat: New file.
4405 * doc/gdb.texinfo (MicroBlaze Features): Added.
4406
e8b2341c
TT
44072014-07-18 Tom Tromey <tromey@redhat.com>
4408
4409 * exec.c (exec_ops): Now static.
4410 * exec.h (exec_ops): Don't declare.
4411
44e89118
TT
44122014-07-18 Tom Tromey <tromey@redhat.com>
4413
4414 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4415 to find_target_beneath.
4416 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4417 find_target_beneath.
4418 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4419
b0ed115f
TT
44202014-07-18 Tom Tromey <tromey@redhat.com>
4421
4422 PR gdb/17130:
4423 * utils.c (quit): Use target_supports_terminal_ours.
4424 * target.h (target_supports_terminal_ours): Declare.
4425 * target.c (target_supports_delete_record): Don't check
4426 to_delete_record against NULL.
4427 (target_supports_terminal_ours): New function.
4428
e75fdfca
TT
44292014-07-18 Tom Tromey <tromey@redhat.com>
4430
4431 PR gdb/17130:
4432 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4433 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4434 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4435 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4436 * windows-nat.c (windows_xfer_partial): Always delegate.
4437 * record-btrace.c (record_btrace_xfer_partial): Simplify
4438 delegation.
4439 (record_btrace_fetch_registers, record_btrace_store_registers)
4440 (record_btrace_prepare_to_store, record_btrace_resume)
4441 (record_btrace_wait, record_btrace_find_new_threads)
4442 (record_btrace_thread_alive): Likewise.
4443 * procfs.c (procfs_xfer_partial): Always delegate.
4444 * corelow.c (core_xfer_partial): Always delegate.
4445 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4446
83814951
TT
44472014-07-18 Tom Tromey <tromey@redhat.com>
4448
4449 * exec.c (exec_make_note_section): Move earlier.
4450
b8b8facf
DE
44512014-07-17 Doug Evans <dje@google.com>
4452
74b49205 4453 PR gdb/17170
b8b8facf
DE
4454 * maint.c (count_symtabs_and_blocks): Handle NULL
4455 current_program_space.
4456 (report_command_stats): Check global enabled flag in addition to
4457 recorded enabled flag.
4458 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4459
69ff6be5
PA
44602014-07-16 Pedro Alves <palves@redhat.com>
4461
4462 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4463
252db1b5
TT
44642014-07-16 Tom Tromey <tromey@redhat.com>
4465
4466 * target.h (struct target_ops) <to_delete_record>: Reformat
4467 comment.
4468
a432721e
TT
44692014-07-16 Tom Tromey <tromey@redhat.com>
4470
4471 * target-delegates.c: Rebuild.
4472
487d9753
PL
44732014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4474
4475 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4476 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4477 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4478 (avr_pointer_to_address): Likewise.
4479 (avr_address_class_type_flags): New function.
4480 (avr_address_class_type_flags_to_name): Likewise.
4481 (avr_address_class_name_to_type_flags): Likewise.
4482 (avr_gdbarch_init): Set address_class_type_flags,
4483 address_class_type_flags_to_name and
4484 address_class_name_to_type_flags.
4485
57745c90
PA
44862014-07-15 Pedro Alves <palves@redhat.com>
4487
4488 * linux-nat.c (kill_callback): Save errno and work with saved
4489 copy.
4490
2d40be18
SM
44912014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4492
4493 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4494
572f6555
EBM
44952014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4496
4497 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4498 breakpoint support correctly.
4499
cc1c52ad
PA
45002014-07-14 Pedro Alves <palves@redhat.com>
4501
4502 * utils.c (prompt_for_continue): Call target_terminal_ours.
4503
1e973570
PA
45042014-07-14 Pedro Alves <palves@redhat.com>
4505
4506 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4507 catch_errors. Don't re-enable stdin or notify observers where,
4508 and rethrow error.
4509 (fetch_inferior_event_wrapper): Delete.
4510
93d6eb10
PA
45112014-07-14 Pedro Alves <palves@redhat.com>
4512
4513 PR gdb/17072
4514 * top.c: Include "inf-loop.h".
4515 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4516 field.
4517 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4518 was async before.
4519 (gdb_readline_wrapper): Store whether the target is async, and
4520 make it sync.
4521
0017922d
PA
45222014-07-14 Pedro Alves <palves@redhat.com>
4523
4524 PR gdb/17072
4525 * top.c (gdb_readline_wrapper_line): Tweak comment.
4526 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4527 the input handler callback.
4528
94696ad3
PA
45292014-07-14 Pedro Alves <palves@redhat.com>
4530
4531 PR gdb/17072
4532 * main.c: Include event-top.h.
4533 (handle_command_errors): New function.
4534 (catch_command_errors, catch_command_errors_const): Use it.
4535
9d1e69a2
PA
45362014-07-14 Pedro Alves <palves@redhat.com>
4537
4538 * exceptions.c (catch_command_errors, catch_command_errors_const):
4539 Moved to main.c.
4540 * exceptions.h (catch_command_errors_ftype)
4541 (catch_command_errors_const_ftype): Moved to main.c.
4542 (catch_command_errors, catch_command_errors_const): Delete
4543 declarations.
4544 * main.c (catch_command_errors_ftype)
4545 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4546 (catch_command_errors, catch_command_errors_const)): Moved here
4547 from exceptions.c and make static.
4548
feefc97b
PA
45492014-07-14 Pedro Alves <palves@redhat.com>
4550
4551 * exceptions.c (print_any_exception): Delete.
4552 (catch_exceptions_with_msg): Use exception_print instead of
4553 print_any_exception.
4554 (catch_errors): Use exception_fprintf instead of
4555 print_any_exception.
4556 (catch_command_errors, catch_command_errors_const): Use
4557 exception_print instead of print_any_exception.
4558
c933f875
PA
45592014-07-14 Pedro Alves <palves@redhat.com>
4560
4561 * infcall.c (run_inferior_call): Set 'sync_execution' while
4562 running the inferior call.
4563
feb6f816
PA
45642014-07-14 Pedro Alves <palves@redhat.com>
4565
4566 * value.c (value_contents_equal): Delete function.
4567 * value.h (value_contents_equal): Delete declaration.
4568
d98b7a16
TT
45692014-07-14 Tom Tromey <tromey@redhat.com>
4570
4571 PR exp/17106:
4572 * gdbtypes.c (is_dynamic_type_internal): New function, from
4573 is_dynamic_type.
4574 (is_dynamic_type): Rewrite.
4575 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4576 (resolve_dynamic_struct): Likewise.
4577 (resolve_dynamic_type_internal): New function, from
4578 resolve_dynamic_type.
4579 (resolve_dynamic_type): Rewrite.
4580
548740d6
TT
45812014-07-14 Tom Tromey <tromey@redhat.com>
4582
4583 * target.c (target_require_runnable): Also check record_stratum.
4584 Update comment.
4585
808f7ab1
YQ
45862014-07-11 Yao Qi <yao@codesourcery.com>
4587
4588 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4589 thumb_instruction_restores_sp return true.
4590
540314bd
YQ
45912014-07-11 Yao Qi <yao@codesourcery.com>
4592
4593 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4594 (thumb_in_function_epilogue_p): Call
4595 thumb_instruction_restores_sp.
4596
1db01f22
YQ
45972014-07-11 Yao Qi <yao@codesourcery.com>
4598
4599 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4600 'add sp, #imm'.
4601 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4602
3116063b
GB
46032014-07-11 Gary Benson <gbenson@redhat.com>
4604
4605 * amd64-linux-nat.c (gdbcore.h): Remove include.
4606 (regset.h): Likewise.
4607 (nat/linux-btrace.h): Likewise.
4608 (btrace.h): Likewise.
4609 (gdb_assert.h): Likewise.
4610 (string.h): Likewise.
4611 (sys/uio.h): Likewise.
4612 (sys/debugreg.h): Likewise.
4613 (sys/syscall.h): Likewise.
4614 (sys/procfs.h): Likewise.
4615 (sys/user.h): Likewise.
4616 (asm/ptrace.h): Likewise.
4617 (i386-nat.h): Likewise.
4618 * i386-linux-nat.c (i386-nat.h): Likewise.
4619 (regset.h): Likewise.
4620 (target.h): Likewise.
4621 (linux-nat.h): Likewise.
4622 (nat/linux-btrace.h): Likewise.
4623 (btrace.h): Likewise.
4624 (gdb_assert.h): Likewise.
4625 (string.h): Likewise.
4626 (sys/uio.h): Likewise.
4627 (sys/user.h): Likewise.
4628 (sys/procfs.h): Likewise.
4629 (sys/reg.h): Likewise.
4630 (sys/debugreg.h): Likewise.
4631 (ORIG_EAX): Remove definition.
4632
040baaf6
GB
46332014-07-11 Gary Benson <gbenson@redhat.com>
4634
4635 * i386-linux-nat.h: New file.
4636 * x86-linux-nat.h: Likewise.
4637 * x86-linux-nat.c: Likewise.
4638 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4639 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4640 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4641 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4642 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4643 (PTRACE_SETREGSET): Likewise.
4644 (arch_lwp_info): Now in x86-linux-nat.c.
4645 (have_ptrace_getregset): Now in x86-linux-nat.h.
4646 (x86_linux_dr_get): Now in x86-linux-nat.c.
4647 (x86_linux_dr_set): Likewise.
4648 (x86_linux_dr_get_addr): Likewise.
4649 (x86_linux_dr_get_control): Likewise.
4650 (x86_linux_dr_get_status): Likewise.
4651 (update_debug_registers_callback): Likewise.
4652 (x86_linux_dr_set_control): Likewise.
4653 (x86_linux_dr_set_addr): Likewise.
4654 (x86_linux_prepare_to_resume): Likewise.
4655 (x86_linux_new_thread): Likewise.
4656 (x86_linux_new_fork): Likewise.
4657 (x86_linux_get_thread_area): Likewise.
4658 (super_post_startup_inferior): Likewise.
4659 (x86_linux_child_post_startup_inferior): Likewise.
4660 (AMD64_LINUX_USER64_CS): Likewise.
4661 (AMD64_LINUX_X32_DS): Likewise.
4662 (x86_linux_read_description): Likewise.
4663 (x86_linux_enable_btrace): Likewise.
4664 (x86_linux_disable_btrace): Likewise.
4665 (x86_linux_teardown_btrace): Likewise.
4666 (x86_linux_read_btrace): Likewise.
4667 (x86_linux_create_target): Likewise.
4668 (x86_linux_add_target): Likewise.
4669 * i386-linux-nat.c (x86-linux-nat.h): New include.
4670 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4671 (PTRACE_SETREGSET): Likewise.
4672 (arch_lwp_info): Now in x86-linux-nat.c.
4673 (have_ptrace_getregset): Now in x86-linux-nat.h.
4674 (x86_linux_dr_get): Now in x86-linux-nat.c.
4675 (x86_linux_dr_set): Likewise.
4676 (x86_linux_dr_get_addr): Likewise.
4677 (x86_linux_dr_get_control): Likewise.
4678 (x86_linux_dr_get_status): Likewise.
4679 (update_debug_registers_callback): Likewise.
4680 (x86_linux_dr_set_control): Likewise.
4681 (x86_linux_dr_set_addr): Likewise.
4682 (x86_linux_prepare_to_resume): Likewise.
4683 (x86_linux_new_thread): Likewise.
4684 (x86_linux_new_fork): Likewise.
4685 (x86_linux_get_thread_area): Likewise.
4686 (super_post_startup_inferior): Likewise.
4687 (x86_linux_child_post_startup_inferior): Likewise.
4688 (AMD64_LINUX_USER64_CS): Likewise.
4689 (AMD64_LINUX_X32_DS): Likewise.
4690 (x86_linux_read_description): Likewise.
4691 (x86_linux_enable_btrace): Likewise.
4692 (x86_linux_disable_btrace): Likewise.
4693 (x86_linux_teardown_btrace): Likewise.
4694 (x86_linux_read_btrace): Likewise.
4695 (x86_linux_create_target): Likewise.
4696 (x86_linux_add_target): Likewise.
4697
1aa7e42c
GB
46982014-07-11 Gary Benson <gbenson@redhat.com>
4699
4700 * amd64-linux-nat.c: Comment and whitespace changes.
4701 * i386-linux-nat.c: Comment and whitespace changes.
4702
c1e246a0
GB
47032014-07-11 Gary Benson <gbenson@redhat.com>
4704
4705 * amd64-linux-nat.c (x86_linux_create_target): New function.
4706 (x86_linux_add_target): Likewise.
4707 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4708 * i386-linux-nat.c (x86_linux_create_target): New function.
4709 (x86_linux_add_target): Likewise.
4710 (_initialize_i386_linux_nat): Delegate to the above new functions.
4711
8c420b8d
GB
47122014-07-11 Gary Benson <gbenson@redhat.com>
4713
4714 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4715 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4716 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4717 (ps_get_thread_area): Delegate to the above.
4718
cb1da100
GB
47192014-07-11 Gary Benson <gbenson@redhat.com>
4720
4721 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4722 x86_linux_read_description. All uses updated. amd64-specific
4723 code conditionalized. Conditionalized i386-specific code added.
4724 Redundant cast removed.
4725 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4726 x86_linux_read_description. All uses updated. i386-specific
4727 code conditionalized. Conditionalized amd64-specific code added.
4728 One sizeof replaced with the actual type it is describing.
4729
2acf3cd0
GB
47302014-07-11 Gary Benson <gbenson@redhat.com>
4731
4732 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4733 x86_linux_dr_get. All uses updated.
4734 (amd64_linux_dr_set): Renamed to
4735 x86_linux_dr_set. All uses updated.
4736 (amd64_linux_dr_get_addr): Renamed to
4737 x86_linux_dr_get_addr. All uses updated.
4738 (amd64_linux_dr_get_control): Renamed to
4739 x86_linux_dr_get_control. All uses updated.
4740 (amd64_linux_dr_get_status): Renamed to
4741 x86_linux_dr_get_status. All uses updated.
4742 (amd64_linux_dr_set_control): Renamed to
4743 x86_linux_dr_set_control. All uses updated.
4744 (amd64_linux_dr_set_addr): Renamed to
4745 x86_linux_dr_set_addr. All uses updated.
4746 (amd64_linux_prepare_to_resume): Renamed to
4747 x86_linux_prepare_to_resume. All uses updated.
4748 (amd64_linux_new_thread): Renamed to
4749 x86_linux_new_thread. All uses updated.
4750 (amd64_linux_new_fork): Renamed to
4751 x86_linux_new_fork. All uses updated.
4752 (amd64_linux_child_post_startup_inferior): Renamed to
4753 x86_linux_child_post_startup_inferior. All uses updated.
4754 (amd64_linux_enable_btrace): Renamed to
4755 x86_linux_enable_btrace. All uses updated.
4756 (amd64_linux_disable_btrace): Renamed to
4757 x86_linux_disable_btrace. All uses updated.
4758 (amd64_linux_teardown_btrace): Renamed to
4759 x86_linux_teardown_btrace. All uses updated.
4760 (amd64_linux_read_btrace): Renamed to
4761 x86_linux_read_btrace. All uses updated.
4762 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4763 x86_linux_dr_get. All uses updated.
4764 (i386_linux_dr_set): Renamed to
4765 x86_linux_dr_set. All uses updated.
4766 (i386_linux_dr_get_addr): Renamed to
4767 x86_linux_dr_get_addr. All uses updated.
4768 (i386_linux_dr_get_control): Renamed to
4769 x86_linux_dr_get_control. All uses updated.
4770 (i386_linux_dr_get_status): Renamed to
4771 x86_linux_dr_get_status. All uses updated.
4772 (i386_linux_dr_set_control): Renamed to
4773 x86_linux_dr_set_control. All uses updated.
4774 (i386_linux_dr_set_addr): Renamed to
4775 x86_linux_dr_set_addr. All uses updated.
4776 (i386_linux_prepare_to_resume): Renamed to
4777 x86_linux_prepare_to_resume. All uses updated.
4778 (i386_linux_new_thread): Renamed to
4779 x86_linux_new_thread. All uses updated.
4780 (i386_linux_new_fork): Renamed to
4781 x86_linux_new_fork. All uses updated.
4782 (i386_linux_child_post_startup_inferior): Renamed to
4783 x86_linux_child_post_startup_inferior. All uses updated.
4784 (i386_linux_enable_btrace): Renamed to
4785 x86_linux_enable_btrace. All uses updated.
4786 (i386_linux_disable_btrace): Renamed to
4787 x86_linux_disable_btrace. All uses updated.
4788 (i386_linux_teardown_btrace): Renamed to
4789 x86_linux_teardown_btrace. All uses updated.
4790 (i386_linux_read_btrace): Renamed to
4791 x86_linux_read_btrace. All uses updated.
4792
b9c1d481
AS
47932014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4794
4795 * remote.c (extended_remote_post_attach): New function.
4796 (init_extended_remote_ops): Install it as to_post_attach method.
4797
7180e04a
PA
47982014-07-09 Pedro Alves <palves@redhat.com>
4799
4800 * infcmd.c (attach_command_post_wait): Don't call
4801 target_terminal_inferior here.
4802 (attach_command): Call it here instead.
4803
9a9a7608
AB
48042014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4805
4806 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4807 field.
4808 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4809 from varobj.c, with additional checks.
4810 (c_varobj_ops): Fill in is_path_expr_parent field.
4811 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4812 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4813 field.
4814 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4815 ops method.
4816 (varobj_default_is_path_expr_parent): New function.
4817 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4818 (varobj_default_is_path_expr_parent): Declare new function.
4819
1f267ae3
MM
48202014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4821
4822 * infcmd.c (finish_backward): Turn internal error into normal error.
4823
b2ee242b
PA
48242014-07-07 Pedro Alves <palves@redhat.com>
4825
8a869bca 4826 PR gdb/17096
b2ee242b
PA
4827 * remote.c (async_handle_remote_sigint)
4828 (async_handle_remote_sigint_twice): Call
4829 gdb_call_async_signal_handler instead of
4830 mark_async_signal_handler.
4831
38e229b2
TT
48322014-07-07 Tom Tromey <tromey@redhat.com>
4833
4834 * target-delegates.c: Rebuild.
4835 * target.c (target_info_record): Remove.
4836 * record.c (info_record_command): Unconditionally call
4837 to_info_record.
4838 * target.h (struct target_ops) <to_info_record>: Use
4839 TARGET_DEFAULT_IGNORE.
4840 (target_info_record): Remove.
4841
f0f9ff95
TT
48422014-07-07 Tom Tromey <tromey@redhat.com>
4843
4844 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4845 TARGET_DEFAULT_NORETURN.
4846 * target.c (generic_tls_error): New function.
4847 (target_translate_tls_address): Don't search target stack.
4848 * target-delegates.c: Rebuild.
4849 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4850 stack.
4851 * linux-thread-db.c (thread_db_get_thread_local_address):
4852 Unconditionally call beneath target.
4853
4a5be5ee
MK
48542014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4855
4856 * cli/cli-logging.c (pop_output_files): Assign targerr to
4857 gdb_stdtargerr.
4858
92c3b204
AB
48592014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4860
4861 * MAINTAINERS (Write After Approval): Update my email address.
4862
9b11e3a7
GB
48632014-07-02 Gary Benson <gbenson@redhat.com>
4864
4865 * proc-service.c (ps_xfer_memory): Update comment.
4866 (ps_pstop): Remove unused function.
4867 (ps_pcontinue): Likewise.
4868 (ps_lstop): Likewise.
4869 (ps_lcontinue): Likewise.
4870 (ps_lgetxregsize): Likewise.
4871 (ps_lgetxregs): Likewise.
4872 (ps_lsetxregs): Likewise.
4873 (ps_plog): Likewise.
4874 (ps_ptread): Likewise.
4875 (ps_ptwrite): Likewise.
4876
cf363f18
MW
48772014-07-01 Mark Wielaard <mjw@redhat.com>
4878
4879 * dwarf2read.c (add_array_cv_type): New function.
4880 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4881 (read_tag_volatile_type): Likewise.
4882
82ae6c8d
TT
48832014-07-01 Tom Tromey <tromey@redhat.com>
4884
4885 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4886 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4887 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4888 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4889 * command.h (cmd_cfunc_ftype): Move earlier.
4890 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4891 (add_com, add_info): Use cmd_cfunc_ftype.
4892
96142726
TT
48932014-06-30 Tom Tromey <tromey@redhat.com>
4894
4895 * symtab.c (operator_chars): Make parameters and return type
4896 const.
4897 (file_matches): Make "files" const.
4898 (struct search_symbols_data) <files>: Now const.
4899 (search_symbols): Make "regexp" and "files" parameters const.
4900 Update.
4901 (symtab_symbol_info): Remove cast.
4902 (rbreak_command): Update.
4903 * symtab.h (search_symbols): Update.
4904
b67a2c6f
YQ
49052014-06-27 Yao Qi <yao@codesourcery.com>
4906
4907 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4908 Change parameter type to 'struct thread_info *'. Caller
4909 updated.
4910 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4911 Update declaration.
4912 * dummy-frame.c (struct dummy_frame_id): New.
4913 (dummy_frame_id_eq): New function.
4914 (struct dummy_frame) <id>: Change its type to 'struct
4915 dummy_frame_id'.
4916 (dummy_frame_push): Add parameter ptid and save it in
4917 dummy_frame_id.
4918 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4919 inferior_ptid.
4920 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4921 to inferior_ptid.
4922 (lookup_dummy_frame): Change parameter type to 'struct
4923 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4924 instead of frame_id_eq.
4925 (dummy_frame_pop): Add parameter ptid. Callers updated.
4926 Update comments. Compose dummy_frame_id and pass it to
4927 lookup_dummy_frame.
4928 (dummy_frame_discard): Add parameter ptid.
4929 (dummy_frame_sniffer): Compose dummy_frame_id and call
4930 dummy_frame_id_eq instead of frame_id_eq.
4931 (fprint_dummy_frames): Print ptid.
4932 * dummy-frame.h: Remove comments.
4933 (dummy_frame_push): Add ptid in declaration.
4934 (dummy_frame_pop, dummy_frame_discard): Likewise.
4935
5b10184c
TT
49362014-06-26 Tom Tromey <tromey@redhat.com>
4937
4938 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4939 * command.h (error_no_arg): Update.
4940
06900326
TT
49412014-06-26 Tom Tromey <tromey@redhat.com>
4942
4943 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4944 (do_show_command): Make "arg" const.
4945 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4946
c2bcbb1d
TT
49472014-06-26 Tom Tromey <tromey@redhat.com>
4948
4949 * record-full.c (record_full_get_bookmark): Make "args" const.
4950 (record_full_goto_bookmark): Make "raw_bookmark" const.
4951 * record.c (record_goto): New function.
4952 (cmd_record_goto): Use it. Now static.
4953 * record.h (record_goto): Declare.
4954 (cmd_record_goto): Remove declaration.
4955 * target-delegates.c: Rebuild.
4956 * target.h (struct target_ops) <to_get_bookmark,
4957 to_goto_bookmark>: Make parameter const.
4958
9cbe5fff
TT
49592014-06-26 Tom Tromey <tromey@redhat.com>
4960
4961 * defs.h (generic_load): Update.
4962 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4963 * monitor.c (monitor_load): Make "args" const.
4964 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4965 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4966 const.
4967 (mips_load): Make "file" const.
4968 * remote-sim.c (gdbsim_load): Make "args" const.
4969 * remote.c (remote_load): Make "name" const.
4970 * symfile.c (generic_load): Make "args" const.
4971 * target-delegates.c: Rebuild.
4972 * target.c (target_load): Make "arg" const.
4973 (debug_to_load): Make "args" const.
4974 * target.h (struct target_ops) <to_load>: Make parameter const.
4975 (target_load): Update.
4976
34a68019
TT
49772014-06-26 Tom Tromey <tromey@redhat.com>
4978
4979 PR symtab/16902:
4980 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4981 (dwarf2_physname, read_partial_die)
4982 (guess_partial_die_structure_name, fixup_partial_die)
4983 (guess_full_die_structure_name, anonymous_struct_prefix)
4984 (dwarf2_name): Use per-BFD obstack.
4985
efc889c1
YQ
49862014-06-26 Yao Qi <yao@codesourcery.com>
4987
4988 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4989 dummyframe and this_id into inner block below.
4990
4395285e
YQ
49912014-06-26 Yao Qi <yao@codesourcery.com>
4992
4993 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4994 with "signal_pass[0]" in the initialization of signal_pass.
4995
aef92902
MM
49962014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4997
4998 * record-btrace.c (record_btrace_generating_corefile)
4999 (record_btrace_prepare_to_generate_core)
5000 (record_btrace_done_generating_core): New.
5001 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5002 (record_btrace_store_registers, record_btrace_prepare_to_store):
5003 Forward request when generating a core file.
5004 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5005 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5006 to_done_generating_core.
5007
5fff78c4
MM
50082014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5009
5010 * target.h (target_ops) <to_prepare_to_generate_core>
5011 <to_done_generating_core>: New.
5012 (target_prepare_to_generate_core, target_done_generating_core): New.
5013 * target.c (target_prepare_to_generate_core)
5014 (target_done_generating_core): New.
5015 * target-delegates.c: Regenerate.
5016 * gcore.c: (write_gcore_file): Rename to ...
5017 (write_gcore_file_1): ...this.
5018 (write_gcore_file): Call target_prepare_to_generate_core
5019 and target_done_generating_core.
5020
1d1f1ccb
MM
50212014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5022
5023 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5024 * gcore.c (write_gcore_file): Free memory returned from
5025 make_corefile_notes.
5026 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5027 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5028
3343ef86
YQ
50292014-06-24 Yao Qi <yao@codesourcery.com>
5030
5031 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5032 (arm_linux_init_abi): Set skip_trampoline_code with
5033 gdbarch_skip_trampoline_code instead of
5034 find_solib_trampoline_target.
5035
18d18ac8
YQ
50362014-06-24 Yao Qi <yao@codesourcery.com>
5037
5038 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5039 arm_skip_bx_reg returns non-zero.
5040
80d8d390
YQ
50412014-06-24 Yao Qi <yao@codesourcery.com>
5042
5043 * arm-tdep.c (arm_skip_bx_reg): New function.
5044 (arm_skip_stub): Call arm_skip_bx_reg.
5045
6a18a01c
DB
50462014-06-23 Don Breazeal <donb@codesourcery.com>
5047
5048 * MAINTAINERS: Add myself as write-after-approval maintainer.
5049
8e9db26e
PA
50502014-06-23 Pedro Alves <palves@redhat.com>
5051
5052 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5053 DR_CONTROL before setting DR0..DR3.
5054 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5055 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5056 bits of DR_CONTROL related to the debug register slot being
5057 disabled. If all slots are vacant, clear local slowdown as well,
5058 and assert DR_CONTROL is 0.
5059
70afc5b7
SC
50602014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5061
5062 * python/lib/gdb/command/xmethods.py
5063 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5064 current progspace only if the string "progspace" matches LOCUS_RE.
5065
840ed64d
JK
50662014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5067
5068 Fix --with-system-readline with readline-6.3 patch 5.
5069 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5070 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5071 types.
5072
26f2dc30
TT
50732014-06-20 Tom Tromey <tromey@redhat.com>
5074
5075 * dwarf2read.c (dw2_get_real_path): Use correct type in
5076 OBSTACK_CALLOC.
5077 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5078
125f8a3d
GB
50792014-06-20 Gary Benson <gbenson@redhat.com>
5080
5081 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5082 * common/glibc_thread_db.h: Likewise.
5083 * common/i386-cpuid.h: Likewise.
5084 * common/i386-gcc-cpuid.h: Likewise.
5085 * common/linux-btrace.h: Likewise.
5086 * common/linux-osdata.h: Likewise.
5087 * common/linux-procfs.h: Likewise.
5088 * common/linux-ptrace.h: Likewise.
5089 * common/mips-linux-watch.h: Likewise.
5090 * common/linux-btrace.c: Moved to nat.
5091 * common/linux-osdata.c: Likewise.
5092 * common/linux-procfs.c: Likewise.
5093 * common/linux-ptrace.c: Likewise.
5094 * common/mips-linux-watch.c: Likewise.
5095 * nat/gdb_thread_db.h: Moved from common.
5096 * nat/glibc_thread_db.h: Likewise.
5097 * nat/i386-cpuid.h: Likewise.
5098 * nat/i386-gcc-cpuid.h: Likewise.
5099 * nat/linux-btrace.c: Likewise.
5100 * nat/linux-btrace.h: Likewise.
5101 * nat/linux-osdata.c: Likewise.
5102 * nat/linux-osdata.h: Likewise.
5103 * nat/linux-procfs.c: Likewise.
5104 * nat/linux-procfs.h: Likewise.
5105 * nat/linux-ptrace.c: Likewise.
5106 * nat/linux-ptrace.h: Likewise.
5107 * nat/mips-linux-watch.c: Likewise.
5108 * nat/mips-linux-watch.h: Likewise.
5109 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5110 (object file files): Reordered.
5111 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5112 of glibc_thread_db.h.
5113
42995dbd
GB
51142014-06-20 Gary Benson <gbenson@redhat.com>
5115
5116 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5117 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5118 (i386_dr_low): Likewise.
5119 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5120 (i386_dr_low_set_addr): Likewise.
5121 (i386_dr_low_get_addr): Likewise.
5122 (i386_dr_low_can_set_control): Likewise.
5123 (i386_dr_low_set_control): Likewise.
5124 (i386_dr_low_get_control): Likewise.
5125 (i386_dr_low_get_status): Likewise.
5126 (i386_get_debug_register_length): Likewise.
5127 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5128 (i386_dr_low): Likewise.
5129 * nat/i386-dregs.c (i386-low.h): Remove include.
5130 (i386-nat.h): Likewise.
5131 (nat/i386-dregs.h): New include.
5132 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5133 (i386_dr_low_set_addr): Likewise.
5134 (i386_dr_low_get_addr): Likewise.
5135 (i386_dr_low_can_set_control): Likewise.
5136 (i386_dr_low_set_control): Likewise.
5137 (i386_dr_low_get_control): Likewise.
5138 (i386_dr_low_get_status): Likewise.
5139 (i386_get_debug_register_length): Likewise.
5140 (debug_hw_points): Likewise.
5141
3ed9baed
IB
51422014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5143
5144 * Makefile.in (SFILES): Add d-exp.y.
5145 (YYFILES): Add d-exp.c.
5146 (YYOBJ): Add d-exp.o.
5147 (local-maintainer-clean): Delete d-exp.c.
5148 * d-exp.y: New file.
5149 * d-lang.h (d_parse): New declaration.
5150 (d_error): New declaration.
5151 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5152 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5153 PREC_ORDER operators.
5154 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5155
78c164b0
YQ
51562014-06-19 Yao Qi <yao@codesourcery.com>
5157
5158 * gdbthread.h (any_running): Remove the declaration.
5159 * thread.c (any_running): Remove.
5160
f6e29b6e
YQ
51612014-06-19 Yao Qi <yao@codesourcery.com>
5162
5163 * gdbthread.h (struct thread_info) <state>: Change its type to
5164 'enum thread_state'. Update comments.
5165
034f788c
PA
51662014-06-19 Pedro Alves <palves@redhat.com>
5167
5168 * gdbthread.h (ALL_THREADS): Delete.
5169 (ALL_NON_EXITED_THREADS): New macro.
5170 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5171 instead of ALL_THREADS.
5172 * infrun.c (find_thread_needs_step_over)
5173 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5174 instead of ALL_THREADS.
5175 * record-btrace.c (record_btrace_open)
5176 (record_btrace_stop_recording, record_btrace_close)
5177 (record_btrace_is_replaying, record_btrace_resume)
5178 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5179 * remote.c (append_pending_thread_resumptions): Likewise.
5180 * thread.c (thread_apply_all_command): Likewise.
5181
46e33252
GB
51822014-06-19 Gary Benson <gbenson@redhat.com>
5183
5184 * i386-nat.c (i386_stopped_by_watchpoint):
5185 Use i386_dr_stopped_by_watchpoint.
5186 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5187 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5188
3a8ee006
GB
51892014-06-19 Gary Benson <gbenson@redhat.com>
5190
5191 * nat/i386-dregs.c: New file.
5192 * Makefile.in (i386-dregs.o): New rule.
5193 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5194 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5195 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5196 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5197 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5198 * config/i386/go32.mh (NATDEPFILES): Likewise.
5199 * config/i386/linux.mh (NATDEPFILES): Likewise.
5200 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5201 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5202 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5203 * i386-nat.h (debug_hw_points): New declaration.
5204 * i386-nat.c (breakpoint.h): Remove include.
5205 (command.h): Likewise.
5206 (target.h): Likewise.
5207 (gdb_assert.h): Likewise.
5208 (debug_hw_points): Made nonstatic.
5209 (debug_printf): Now in i386-dregs.c.
5210 (TARGET_HAS_DR_LEN_8): Likewise.
5211 (DR_CONTROL_SHIFT): Likewise.
5212 (DR_CONTROL_SIZE): Likewise.
5213 (DR_RW_EXECUTE): Likewise.
5214 (DR_RW_WRITE): Likewise.
5215 (DR_RW_READ): Likewise.
5216 (DR_RW_IORW): Likewise.
5217 (DR_LEN_1): Likewise.
5218 (DR_LEN_2): Likewise.
5219 (DR_LEN_4): Likewise.
5220 (DR_LEN_8): Likewise.
5221 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5222 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5223 (DR_ENABLE_SIZE): Likewise.
5224 (DR_LOCAL_SLOWDOWN): Likewise.
5225 (DR_GLOBAL_SLOWDOWN): Likewise.
5226 (DR_CONTROL_RESERVED): Likewise.
5227 (I386_DR_CONTROL_MASK): Likewise.
5228 (I386_DR_VACANT): Likewise.
5229 (I386_DR_LOCAL_ENABLE): Likewise.
5230 (I386_DR_GLOBAL_ENABLE): Likewise.
5231 (I386_DR_DISABLE): Likewise.
5232 (I386_DR_SET_RW_LEN): Likewise.
5233 (I386_DR_GET_RW_LEN): Likewise.
5234 (I386_DR_WATCH_HIT): Likewise.
5235 (i386_wp_op_t): Likewise.
5236 (i386_show_dr): Likewise.
5237 (i386_length_and_rw_bits): Likewise.
5238 (i386_insert_aligned_watchpoint): Likewise.
5239 (i386_remove_aligned_watchpoint): Likewise.
5240 (i386_handle_nonaligned_watchpoint): Likewise.
5241 (i386_update_inferior_debug_regs): Likewise.
5242 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5243 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5244 (i386_region_ok_for_watchpoint):
5245 Use i386_dr_region_ok_for_watchpoint.
5246 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5247
322a8e06
GB
52482014-06-19 Gary Benson <gbenson@redhat.com>
5249
5250 * i386-nat.c (i386_insert_hw_breakpoint): Use
5251 i386_insert_watchpoint.
5252 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5253
8f26655c
GB
52542014-06-19 Gary Benson <gbenson@redhat.com>
5255
5256 * i386-nat.c (i386_dr_show): Renamed to
5257 i386_show_dr and made static. All uses updated.
5258 (i386_dr_length_and_rw_bits): Renamed to
5259 i386_length_and_rw_bits and made static.
5260 All uses updated.
5261 (i386_dr_insert_aligned_watchpoint): Renamed to
5262 i386_insert_aligned_watchpoint and made static.
5263 All uses updated.
5264 (i386_dr_remove_aligned_watchpoint): Renamed to
5265 i386_remove_aligned_watchpoint and made static.
5266 All uses updated.
5267 (i386_dr_update_inferior_debug_regs): Renamed to
5268 i386_update_inferior_debug_regs and made static.
5269 All uses updated.
5270 * nat/i386-dregs.h (i386_dr_show): Removed.
5271 (i386_dr_length_and_rw_bits): Likewise.
5272 (i386_dr_insert_aligned_watchpoint): Likewise.
5273 (i386_dr_remove_aligned_watchpoint): Likewise.
5274 (i386_dr_update_inferior_debug_regs): Likewise.
5275
992c7d70
GB
52762014-06-19 Gary Benson <gbenson@redhat.com>
5277
5278 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5279 * configure: Regenerate.
5280 * config.in: Likewise.
5281 * main.c (signal.h): New include.
5282 (setup_alternate_signal_stack): New function.
5283 (captured_main): Call the above.
5284 * cp-support.c (signal.h): New include.
5285 (catch_demangler_crashes): New flag.
5286 (SIGJMP_BUF): New define.
5287 (SIGSETJMP): Likewise.
5288 (SIGLONGJMP): Likewise.
5289 (gdb_demangle_jmp_buf): New static global.
5290 (gdb_demangle_attempt_core_dump): Likewise.
5291 (gdb_demangle_signal_handler): New function.
5292 (gdb_demangle): If catch_demangler_crashes is set, install the
5293 above signal handler before calling bfd_demangle, and restore
5294 the original signal handler afterwards. Display the offending
5295 symbol and call demangler_warning the first time a segmentation
5296 fault is caught.
5297 (_initialize_cp_support): New maint set/show command.
5298
eae7090b
GB
52992014-06-19 Gary Benson <gbenson@redhat.com>
5300
5301 * utils.h (resource_limit_kind): New enum.
5302 (can_dump_core): New declaration.
5303 (warn_cant_dump_core): Likewise.
5304 (dump_core): Likewise.
5305 * utils.c (dump_core): Made nonstatic. Added new
5306 parameter "limit_kind".
5307 (can_dump_core): Made nonstatic. Moved printing code to...
5308 (warn_cant_dump_core): New function.
5309 (can_dump_core_warn): Likewise.
5310 (internal_vproblem): Replace calls to can_dump_core with
5311 calls to can_dump_core_warn. Supply new argument to each.
5312
57fcfb1b
GB
53132014-06-19 Gary Benson <gbenson@redhat.com>
5314
5315 * utils.h (demangler_vwarning): New declaration.
5316 (demangler_warning): Likewise.
5317 * utils.c (struct internal_problem)
5318 <user_settable_should_quit>: New field.
5319 <user_settable_should_dump_core>: Likewise
5320 (internal_error_problem): Add values for above new fields.
5321 (internal_warning_problem): Likewise.
5322 (demangler_warning_problem): New static global.
5323 (demangler_vwarning): New function.
5324 (demangler_warning): Likewise.
5325 (add_internal_problem_command): Selectively add commands.
5326 (_initialize_utils): New internal problem command.
5327 * maint.c (maintenance_demangler_warning): New function.
5328 (_initialize_maint_cmds): New command.
5329
17a40b44
TT
53302014-06-18 Tom Tromey <tromey@redhat.com>
5331
5332 * f-valprint.c (info_common_command_for_block): Update.
5333 * symtab.h (struct general_symbol_info) <common_block>: Now
5334 const.
5335
346d1dfe
TT
53362014-06-18 Tom Tromey <tromey@redhat.com>
5337
5338 * symtab.h (struct symtab) <blockvector>: Now const.
5339 * ada-lang.c (ada_add_global_exceptions): Update.
5340 * buildsym.c (augment_type_symtab): Update.
5341 * dwarf2read.c (dw2_lookup_symbol): Update.
5342 * jit.c (finalize_symtab): Update.
5343 * jv-lang.c (add_class_symtab_symbol): Update.
5344 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5345 Update.
5346 * objfiles.c (objfile_relocate1): Update.
5347 * psymtab.c (lookup_symbol_aux_psymtabs)
5348 (maintenance_check_psymtabs): Update.
5349 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5350 Update.
5351 * spu-tdep.c (spu_catch_start): Update.
5352 * symmisc.c (dump_symtab_1): Update.
5353 * symtab.c (lookup_global_symbol_from_objfile)
5354 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5355 (basic_lookup_transparent_type_quick)
5356 (basic_lookup_transparent_type, find_pc_sect_symtab)
5357 (find_pc_sect_line, search_symbols): Update.
5358 * block.c (find_block_in_blockvector): Make "bl" const.
5359 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5360 const.
5361 (blockvector_contains_pc): Make "bv" const.
5362 (block_for_pc_sect): Update.
5363 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5364 (blockvector_contains_pc): Update.
5365 * breakpoint.c (resolve_sal_pc): Update.
5366 * inline-frame.c (block_starting_point_at): Update.
5367
1834676b
TT
53682014-06-18 Tom Tromey <tromey@redhat.com>
5369
5370 * completer.c (complete_line): Make "line_buffer" const.
5371 * completer.h (complete_line): Update.
5372
ac1a991b
TT
53732014-06-18 Tom Tromey <tromey@redhat.com>
5374
5375 * symtab.c (add_macro_name): Remove unneeded cast.
5376
5bc98e52
TT
53772014-06-18 Tom Tromey <tromey@redhat.com>
5378
5379 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5380 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5381
8236def8
TT
53822014-06-18 Tom Tromey <tromey@redhat.com>
5383
5384 * probe.c (info_probes_for_ops): Make "arg" const.
5385 * probe.h (info_probes_for_ops): Update.
5386
3977b71f
TT
53872014-06-18 Tom Tromey <tromey@redhat.com>
5388
5389 * varobj.c (varobj_create): Update.
5390 * valops.c (value_of_this): Update.
5391 * tracepoint.c (add_local_symbols, scope_info): Update.
5392 * symtab.h (struct general_symbol_info) <block>: Now const.
5393 * symtab.c (skip_prologue_sal)
5394 (default_make_symbol_completion_list_break_on)
5395 (skip_prologue_using_sal): Update.
5396 * stack.h (iterate_over_block_locals)
5397 (iterate_over_block_local_vars): Update.
5398 * stack.c (print_frame_args): Update.
5399 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5400 parameter const.
5401 (get_selected_block): Make return type const.
5402 * python/py-frame.c (frapy_block): Update.
5403 * python/py-block.c (gdbpy_block_for_pc): Update.
5404 * p-exp.y (%union) <bval>: Now const.
5405 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5406 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5407 * m2-exp.y (%union) <bval>: Now const.
5408 * linespec.c (get_current_search_block): Make return type const.
5409 (create_sals_line_offset, find_label_symbols): Update.
5410 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5411 Update.
5412 (block_starting_point_at): Make "block" const.
5413 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5414 (check_exception_resume): Update.
5415 * guile/scm-frame.c (gdbscm_frame_block): Update.
5416 * guile/scm-block.c (gdbscm_lookup_block): Update.
5417 * frame.h (get_frame_block): Update.
5418 (get_selected_block): Make return type const.
5419 * frame.c (frame_id_inner): Update.
5420 * f-valprint.c (info_common_command_for_block)
5421 (info_common_command): Update.
5422 * dwarf2loc.c (dwarf2_find_location_expression)
5423 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5424 (locexpr_describe_location_piece): Update.
5425 * c-exp.y (%union) <bval>: Now const.
5426 * breakpoint.c (resolve_sal_pc): Update.
5427 * blockframe.c (get_frame_block):Make return type const.
5428 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5429 (block_innermost_frame): Update.
5430 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5431 (block_for_pc, block_for_pc_sect): Update.
5432 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5433 'pblock' const.
5434 (block_for_pc_sect, block_for_pc): Make return type const.
5435 * ax-gdb.c (gen_expr): Update.
5436 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5437 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5438 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5439 (ada_read_var_value): Update.
5440 * ada-exp.y (struct name_info) <block>: Now const.
5441 (%union): Likewise.
5442 (block_lookup): Constify.
5443
b9228891
GB
54442014-06-18 Gary Benson <gbenson@redhat.com>
5445
5446 * nat/i386-dregs.h: New file.
5447 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5448 * i386-nat.h (i386-dregs.h): New include.
5449 (DR_FIRSTADDR): Now in i386-dregs.h.
5450 (DR_LASTADDR): Likewise.
5451 (DR_NADDR): Likewise.
5452 (DR_STATUS): Likewise.
5453 (DR_CONTROL): Likewise.
5454 (i386_debug_reg_state): Likewise.
5455 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5456
a1aa2221
LM
54572014-06-18 Don Breazeal <donb@codesourcery.com>
5458
5459 * breakpoint.c (set_longjmp_breakpoint): Call
5460 momentary_breakpoint_from_master with additional argument.
5461 (set_longjmp_breakpoint_for_call_dummy): Call
5462 momentary_breakpoint_from_master with additional argument.
5463 (set_std_terminate_breakpoint): Call
5464 momentary_breakpoint_from_master with additional argument.
5465 (momentary_breakpoint_from_master): Add argument to function
5466 definition and use it to initialize structure member flag.
74228e77 5467 (clone_momentary_breakpoint): Call
a1aa2221
LM
5468 momentary_breakpoint_from_master with additional argument.
5469 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5470 member flags set in momentary_breakpoint_from_master.
5471
4be83cc2
GB
54722014-06-18 Gary Benson <gbenson@redhat.com>
5473
5474 * i386-nat.c (i386_show_dr): Renamed to
5475 i386_dr_show and made nonstatic. All uses updated.
5476 (i386_length_and_rw_bits): Renamed to
5477 i386_dr_length_and_rw_bits and made nonstatic.
5478 All uses updated.
5479 (i386_insert_aligned_watchpoint): Renamed to
5480 i386_dr_insert_aligned_watchpoint and made nonstatic.
5481 All uses updated.
5482 (i386_remove_aligned_watchpoint): Renamed to
5483 i386_dr_remove_aligned_watchpoint and made nonstatic.
5484 All uses updated.
5485 (i386_update_inferior_debug_regs): Renamed to
5486 i386_dr_update_inferior_debug_regs and made nonstatic.
5487 All uses updated.
5488
131aa0d4
GB
54892014-06-18 Gary Benson <gbenson@redhat.com>
5490
5491 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5492 (i386_dr_low_can_set_control): Likewise.
5493 (i386_dr_low_set_addr): Likewise.
5494 (i386_dr_low_set_control): Likewise.
5495 (i386_dr_low_get_addr): Likewise.
5496 (i386_dr_low_get_status): Likewise.
5497 (i386_dr_low_get_control): Likewise.
5498 (i386_insert_aligned_watchpoint): Use new macros.
5499 (i386_update_inferior_debug_regs): Likewise.
5500 (i386_stopped_data_address): Likewise.
5501
d9305f7f
GB
55022014-06-18 Gary Benson <gbenson@redhat.com>
5503
5504 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5505 New parameter. All uses updated.
5506
ea008da4
GB
55072014-06-18 Gary Benson <gbenson@redhat.com>
5508
5509 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5510 All uses updated.
5511
1b6d4134
GB
55122014-06-18 Gary Benson <gbenson@redhat.com>
5513
5514 * i386-nat.c (debug_printf): New macro.
5515 (i386_get_debug_register_length): Likewise.
5516 (TARGET_HAS_DR_LEN_8): Use above macro.
5517 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5518 and printf_unfiltered. Use phex to format values.
5519
9b4550ef
GB
55202014-06-18 Gary Benson <gbenson@redhat.com>
5521
5522 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5523 Make const.
5524
6e62758f
GB
55252014-06-18 Gary Benson <gbenson@redhat.com>
5526
5527 * i386-nat.c: Comment changes.
5528
51c79e94
GB
55292014-06-18 Gary Benson <gbenson@redhat.com>
5530
5531 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5532
3e11889a
GB
55332014-06-18 Gary Benson <gbenson@redhat.com>
5534
5535 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5536 (i386_insert_aligned_watchpoint): Likewise.
5537 (i386_remove_aligned_watchpoint): Likewise.
5538 (i386_handle_nonaligned_watchpoint): Likewise.
5539
fc6e2f03
GB
55402014-06-18 Gary Benson <gbenson@redhat.com>
5541
5542 * i386-nat.c: Whitespace changes.
5543
2afe7d50
SB
55442014-06-17 Samuel Bronson <naesten@gmail.com>
5545
5546 * MAINTAINERS: Update Roland McGrath's email address.
5547 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5548 Red Hat a while ago, and giving me a current address.
2afe7d50 5549
3bca49ee
TT
55502014-06-17 Tom Tromey <tromey@redhat.com>
5551
5552 * utils.h (savestring): Remove declaration.
5553
6e366df1
TT
55542014-06-17 Tom Tromey <tromey@redhat.com>
5555
5556 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5557
6be47f0c
KS
55582014-06-16 Keith Seitz <keiths@redhat.com>
5559
5560 PR mi/15863
5561 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5562 to update the varobj if inferior_ptid is null_ptid.
5563
7bc112c1
TT
55642014-06-16 Tom Tromey <tromey@redhat.com>
5565
5566 * target.h (struct target_ops) <to_info_proc>: Make parameter
5567 const.
5568 (target_info_proc): Update.
5569 * target.c (target_info_proc): Make "args" const.
5570 * procfs.c (procfs_info_proc): Update.
5571 * linux-tdep.c (linux_info_proc): Update.
5572 (linux_core_info_proc_mappings): Make "args" const.
5573 (linux_core_info_proc): Update.
5574 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5575 * gdbarch.c: Rebuild.
5576 * gdbarch.h: Rebuild.
5577 * corelow.c (core_info_proc): Update.
5578
fee354ee
TT
55792014-06-16 Tom Tromey <tromey@redhat.com>
5580
5581 * target.h (struct target_ops) <to_disconnect>: Make parameter
5582 const.
5583 (target_disconnect): Update.
5584 * target.c (target_disconnect): Make "args" const.
5585 * target-delegates.c: Rebuild.
5586 * remote.c (remote_disconnect): Update.
5587 * record.h (record_disconnect): Update.
5588 * record.c (record_disconnect): Update.
5589 * inf-child.c (inf_child_disconnect): Update.
5590
a30bf1f1
TT
55912014-06-16 Tom Tromey <tromey@redhat.com>
5592
5593 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5594 * target.c (debug_to_rcmd, default_rcmd): Update.
5595 * target-delegates.c: Rebuild.
5596 * remote.c (remote_rcmd): Update.
5597 * monitor.c (monitor_rcmd): Update.
5598
d03de421
PA
55992014-06-16 Pedro Alves <palves@redhat.com>
5600
5601 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5602 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5603 have OBJF_SHARED set.
5604 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5605 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5606 instead of OBJF_USERLOADED.
5607 * objfiles.h (OBJF_SHARED): Update comment.
5608 (userloaded_objfile_contains_address_p): Rename to ...
5609 (shared_objfile_contains_address_p): ... this, and update
5610 comments.
5611 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5612 new objfile.
5613 (remove_symbol_file_command): Skip objfiles that don't have
5614 OBJF_SHARED set.
5615
99f4262f
TT
56162014-06-16 Tom Tromey <tromey@redhat.com>
5617
5618 * minsyms.h (prim_record_minimal_symbol)
5619 (prim_record_minimal_symbol_and_info): Update comments.
5620
97d66cc6
EZ
56212014-06-14 Eli Zaretskii <eliz@gnu.org>
5622
5623 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5624 or --without-guile, according to how GDB was built.
5625
635c7e8a
TT
56262014-06-13 Tom Tromey <tromey@redhat.com>
5627
5628 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5629 to help_list.
5630 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5631 to help_list.
5632 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5633 help_list.
5634 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5635 help_list.Pass all_commands, not -1, to help_list.
5636 * cli/cli-dump.c (dump_command, append_command)
5637 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5638 (binary_dump_command, binary_append_command): Pass all_commands,
5639 not -1, to help_list.
5640 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5641 -1, to help_list.
5642 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5643 -1, to help_list.
5644 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5645 help_list.
5646 * top.c (set_history): Pass all_commands, not -1, to help_list.
5647 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5648 all_commands, not -1, to help_list.
5649 * symfile.c (overlay_command): Pass all_commands, not -1, to
5650 help_list.
5651 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5652 help_list.
5653 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5654 help_list.
5655 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5656 -1, to help_list.
5657 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5658 not -1, to help_list.
5659 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5660 not -1, to help_list.
5661 * maint.c (maintenance_command, maintenance_info_command)
5662 (maintenance_print_command, maintenance_set_cmd): Pass
5663 all_commands, not -1, to help_list.
5664 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5665 help_list.
5666 * language.c (set_check): Pass all_commands, not -1, to help_list.
5667 * infcmd.c (unset_command): Pass all_commands, not -1, to
5668 help_list.
5669 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5670 help_list.
5671 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5672 help_list.
5673 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5674 help_list.
5675 * breakpoint.c (save_command): Pass all_commands, not -1, to
5676 help_list.
5677 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5678 all_commands, not -1, to help_list.
5679
b94ade42
PL
56802014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5681
5682 * regcache.c (struct register_to_invalidate): New structure.
5683 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5684 functions.
5685 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5686
31f628ae
YQ
56872014-06-12 Yao Qi <yao@codesourcery.com>
5688
5689 * varobj.c (varobj_get_num_children): Call
5690 varobj_is_dynamic_p.
5691 (varobj_list_children): Likewise.
5692 (varobj_update): Likewise. Update comments.
5693
cde5ef40
YQ
56942014-06-12 Yao Qi <yao@codesourcery.com>
5695
5696 * varobj.c (varobj_pretty_printed_p): Rename to ...
5697 (varobj_is_dynamic_p): ... this. New function.
5698 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5699 (varobj_is_dynamic_p): Declare.
5700 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5701 (mi_print_value_p, varobj_update_one): Likewise.
5702
576ea091
YQ
57032014-06-12 Pedro Alves <pedro@codesourcery.com>
5704 Yao Qi <yao@codesourcery.com>
5705
5706 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5707 (varobj_get_iterator): Wrap up code for pretty-printer by
5708 "#if HAVE_PYTHON" and "#endif".
5709 (update_dynamic_varobj_children): Likewise.
5710
827f100c
YQ
57112014-06-12 Pedro Alves <pedro@codesourcery.com>
5712 Yao Qi <yao@codesourcery.com>
5713
5714 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5715 gdb_python_initialized is false. Move some code from varobj.c.
5716 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5717 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5718 (struct varobj_item): Moved to varobj-iter.h".
5719 (varobj_clear_saved_item): New function.
5720 (update_dynamic_varobj_children): Move python-related code to
5721 py-varobj.c.
5722 (free_variable): Call varobj_clear_saved_item and
5723 varobj_iter_delete.
5724
e5250216
YQ
57252014-06-12 Pedro Alves <pedro@codesourcery.com>
5726 Yao Qi <yao@codesourcery.com>
5727
5728 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5729 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5730 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5731 (py-varobj.o): New rule.
5732 * python/py-varobj.c: New file.
5733 * python/python-internal.h (py_varobj_get_iterator): Declare.
5734 * varobj-iter.h: New file.
5735 * varobj.c: Include "varobj-iter.h"
5736 (struct varobj) <child_iter>: Change its type from "PyObject *"
5737 to "struct varobj_iter *".
5738 <saved_item>: Likewise.
5739 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5740 [HAVE_PYTHON] (varobj_get_iterator): New function.
5741 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5742 python-specific code to python/py-varobj.c.
5743 (install_visualizer): Call varobj_iter_delete instead of
5744 Py_XDECREF.
5745 * varobj.h (varobj_ensure_python_env): Declare.
5746
5a2e0d6e
YQ
57472014-06-12 Yao Qi <yao@codesourcery.com>
5748
5749 * varobj.c (struct varobj_item): New structure.
5750 (create_child_with_value): Update declaration.
5751 (varobj_add_child): Replace arguments 'name' and 'value' with
5752 'item'. All callers updated.
5753 (install_dynamic_child): Likewise.
5754 (update_dynamic_varobj_children): Likewise.
5755 (varobj_add_child): Likewise.
5756 (create_child_with_value): Likewise.
5757
919b9a93
JB
57582014-06-11 Joel Brobecker <brobecker@adacore.com>
5759
5760 * NEWS: Create a new section for the next release branch.
5761 Rename the section of the current branch, now that it has
5762 been cut.
5763
71a55bdf
JB
57642014-06-11 Joel Brobecker <brobecker@adacore.com>
5765
5766 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5767 * version.in: Bump version to 7.8.50.DATE-cvs.
5768
364fe1f7
PA
57692014-06-11 Pedro Alves <palves@redhat.com>
5770
5771 PR remote/17028
5772 * ser-mingw.c (net_windows_socket_check_pending): New function.
5773 (net_windows_select_thread): Ignore spurious wakeups. Use
5774 net_windows_socket_check_pending.
5775 (net_windows_wait_handle): Check for pending events with
5776 ioctlsocket, through net_windows_socket_check_pending, instead of
5777 checking the socket's event.
5778
5a6c7709
SC
57792014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5780
5781 * python/python-internal.h (gdb_PyObject_GetAttrString)
5782 (gdb_PyObject_HasAttrString): New inline function definitions.
5783 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5784 char * of the second argument to PyObject_GetAttrString.
74228e77 5785
0e58ee40
JB
57862014-06-10 Joel Brobecker <brobecker@adacore.com>
5787
5788 * serial.c (serial_write): Fix index of character to be printed
5789 in call to serial_logchar when serial debug traces are enabled.
5790
d190df30
JB
57912014-06-10 Joel Brobecker <brobecker@adacore.com>
5792
5793 * gdbtypes (resolve_dynamic_range): Add function description.
5794
b4b01d36
PA
57952014-06-09 Pedro Alves <palves@redhat.com>
5796
5797 * linux-nat.c (linux_child_follow_fork): Initialize status with
5798 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5799 inner block. Only pass the signal to PTRACE_DETACH if in pass
5800 state.
5801
3657956b
GB
58022014-06-09 Gary Benson <gbenson@redhat.com>
5803
5804 * common/signals.c (gdb_signal_from_host): Reorder to separate
5805 the always-available ANSI-standard signals from the signals that
5806 require checking.
5807 (do_gdb_signal_to_host): Likewise.
5808 * proc-events.c (signal_table): Likewise.
5809
c077881a
HZ
58102014-06-08 Hui Zhu <hui@codesourcery.com>
5811
5812 * common/linux-ptrace.c (linux_disable_event_reporting): New
5813 function.
5814 * common/linux-ptrace.h (linux_disable_event_reporting): New
5815 declaration.
5816 * linux-nat.c (linux_child_follow_fork): Do a single step before
5817 detach.
5818
4186eb54
KS
58192014-06-07 Keith Seitz <keiths@redhat.com>
5820
5821 Revert:
5822 PR c++/16253
5823 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5824 from symbol_matches_domain in symtab.c. All local callers
5825 of symbol_matches_domain updated.
5826 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5827 search STRUCT_DOMAIN.
5828 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5829 independently. standard_lookup will do that automatically.
5830 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5831 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5832 (cp_lookup_symbol_in_namespace): Likewise.
5833 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5834 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5835 may return a STRUCT_DOMAIN match.
5836 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5837 * cp-support.c: Include language.h.
5838 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5839 VAR_DOMAIN.
5840 * psymtab.c (match_partial_symbol): Compare the requested
5841 domain with the symbol's domain directly.
5842 (lookup_partial_symbol): Likewise.
5843 * symtab.c (lookup_symbol_in_language): Explain when/why
5844 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5845 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5846 appropriate languages.
5847 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5848 and moved to ada-lang.c
5849 (lookup_block_symbol): Explain that this function only returns
5850 symbol matching the requested DOMAIN.
5851 Compare the requested domain with the symbol's domain directly.
5852 (iterate_over_symbols): Compare the requested domain with the
5853 symbol's domain directly.
5854 * symtab.h (symbol_matches_domain): Remove.
5855
25326a28 58562014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
5857
5858 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5859 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5860 (gdbscm_guile_version_is_at_least): Declare.
5861 (gdbscm_scm_string_to_int): Declare.
5862 * guile/guile.c (gdbscm_guile_major_version): New global.
5863 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5864 (guile_datadir): New static global.
5865 (gdbscm_guile_data_directory): New function.
5866 (initialize_scheme_side): Update.
5867 (misc_guile_functions): Add guile-data-directory.
5868 (initialize_gdb_module): Fetch guile version number.
5869 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5870 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5871 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5872 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5873 comments.
5874 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5875 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5876 * guile/scm-value.c (gdbscm_value_to_string): Only call
5877 scm_port_conversion_strategy if Guile version >= 2.0.6.
5878
0a770bb2 58792014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5880
5881 * main.c (print_gdb_help): Add -q and --silent.
5882
73ba372c
GB
58832014-06-06 Gary Benson <gbenson@redhat.com>
5884
5885 * common/signals.c: Remove preprocessor conditionals for
5886 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5887 SIGSEGV and SIGTERM.
5888 * proc-events.c: Likewise.
5889
c33b2f12
MM
58902014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5891
5892 * symfile.c (symfile_free_objfile): Remove restriction to
5893 OBJF_USERLOADED.
5894 * symfile-mem.c (symbol_file_add_from_memory): Call
5895 add_target_sections_of_objfile.
5896
fb934770
LC
58972014-06-05 Ludovic Courtès <ludo@gnu.org>
5898
5899 * guile/scm-value.c (gdbscm_history_append_x): Use
5900 'vlscm_get_value_smob_arg_unsafe' instead of
5901 'vlscm_scm_to_value'.
5902
6ef284bd
SM
59032014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5904
5905 PR mi/15806
5906 * utils.c (printchar): Don't escape at all if quoter is NUL.
5907 Update function documentation to clarify effect of parameter
5908 QUOTER.
5909 * remote.c (escape_buffer): Pass '\\' as the quoter to
5910 fputstrn_unfiltered.
5911 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5912 generate the output.
5913 (mi_solib_unloaded): Same.
5914
270c9937
JB
59152014-06-05 Joel Brobecker <brobecker@adacore.com>
5916
5917 * development.sh: Delete.
5918 * Makefile.in (config.status): Adjust dependency on development.sh.
5919 * configure.ac: Adjust development.sh source call.
5920 * configure: Regenerate.
5921
16f691fb
DE
59222014-06-04 Doug Evans <xdje42@gmail.com>
5923
5924 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5925 is_scheme_bkpt, spec.
5926 (bpscm_make_breakpoint_smob): Initialize new members.
5927 (gdbscm_create_breakpoint_x): Split into two ...
5928 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5929 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5930 (scheme_function breakpoint_functions): Update.
5931 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5932 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5933 register-breakpoint!.
5934
ef7cab6b
JB
59352014-06-04 Joel Brobecker <brobecker@adacorer.com>
5936
5937 PR server/17023
5938 * mem-break.c (z_type_supported): Return zero if
5939 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5940
012370f6
TT
59412014-06-04 Tom Tromey <tromey@redhat.com>
5942
5943 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5944 value_from_contents_and_address_unresolved.
5945 (ada_template_to_fixed_record_type_1): Likewise.
5946 (ada_which_variant_applies): Likewise.
5947 * value.h (value_from_contents_and_address_unresolved): Declare.
5948 * value.c (value_from_contents_and_address_unresolved): New
5949 function.
5950 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5951 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5952 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5953
92e2a17f
TT
59542014-06-04 Tom Tromey <tromey@redhat.com>
5955
5956 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5957
c0939df1
TT
59582014-06-04 Tom Tromey <tromey@redhat.com>
5959
5960 * procfs.c (procfs_attach): Make "args" const.
5961 * windows-nat.c (windows_attach): Make "args" const.
5962 * nto-procfs.c (procfs_attach): Make "args" const.
5963 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5964 * go32-nat.c (go32_attach): Make "args" const.
5965 * gnu-nat.c (gnu_attach): Make "args" const.
5966 * darwin-nat.c (darwin_attach): Make "args" const.
5967 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5968 * linux-nat.c (linux_nat_attach): Make "args" const.
5969 * remote.c (extended_remote_attach_1, extended_remote_attach):
5970 Make "args" const.
5971 * target.h (struct target_ops) <to_attach>: Make "args" const.
5972 (find_default_attach): Likewise.
5973 * utils.c (parse_pid_to_attach): Make "args" const.
5974 * utils.h (parse_pid_to_attach): Update.
5975
8eaff7cd
TT
59762014-06-04 Tom Tromey <tromey@redhat.com>
5977
5978 * target-delegates.c: Rebuild.
5979 * target.c (default_thread_address_space): New function.
5980 (target_thread_address_space): Simplify.
5981 * target.h (struct target_ops) <to_thread_address_space>: Add
5982 TARGET_DEFAULT_FUNC.
5983
1913f160
DE
59842014-06-04 Doug Evans <xdje42@gmail.com>
5985
5986 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5987
70ad5bff
MM
59882014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5989
5990 * record-btrace.c: Include event-loop.h and inf-loop.h.
5991 (record_btrace_resume_exec_dir)
5992 (record_btrace_async_inferior_event_handler)
5993 (record_btrace_handle_async_inferior_event): New.
5994 (record_btrace_open): Create async event handler.
5995 (record_btrace_close): Delete async event handler.
5996 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5997 Mark async event handler.
5998 (record_btrace_execution_direction): New.
5999 (init_record_btrace_ops): Initialize to_execution_direction.
6000
b6210538
DE
60012014-06-03 Doug Evans <xdje42@gmail.com>
6002
6003 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6004 (gdbscm_make_parameter): Ditto.
6005
a5b1fd27
DE
60062014-06-03 Doug Evans <dje@google.com>
6007
6008 * exec.c (exec_close_1): Call clear_section_table instead of
6009 resize_section_table.
6010 (clear_section_table): New function.
6011 (resize_section_table): Make static. Rename arg num_added to
6012 adjustment.
6013 * exec.h (clear_section_table): Declare.
6014 (resize_section_table): Delete.
6015 * progspace.c (release_program_space): Call clear_section_table
6016 instead of resize_section_table.
6017
0c6e92a5
SC
60182014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6019
6020 * NEWS (Python Scripting): Add entry about the new xmethods
6021 feature.
6022
883964a7
SC
60232014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6024
6025 * python/py-xmethods.c: New file.
6026 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6027 (objfpy_dealloc): XDECREF on the new xmethods field.
6028 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6029 field.
6030 (objfpy_get_xmethods): New function.
6031 (objfile_getset): New entry 'xmethods'.
6032 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6033 (pspy_dealloc): XDECREF on the new xmethods field.
6034 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6035 field.
6036 (pspy_get_xmethods): New function.
6037 (pspace_getset): New entry 'xmethods'.
6038 * python/python-internal.h: Add declarations for new functions.
6039 * python/python.c (_initialize_python): Invoke
6040 gdbpy_initialize_xmethods.
6041 * python/lib/gdb/__init__.py (xmethods): New
6042 attribute.
6043 * python/lib/gdb/xmethod.py: New file.
6044 * python/lib/gdb/command/xmethods.py: New file.
6045
58992dc5
SC
60462014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6047
6048 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6049 best match method returned by find_overload_match is an xmethod.
6050 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6051 the best matching operator returned by find_overload_match is an
6052 xmethod.
6053 * valops.c: #include "extension.h".
6054 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6055 Return void. The list of matching source methods is returned in
6056 "fn_list" and a vector of matching debug method workers is
6057 returned in "xm_worker_vec". Update all callers.
6058 (value_find_oload_method_list): Likewise.
6059 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6060 non-NULL, then the index of the best matching method in this
6061 vector is returned. Update all callers.
6062 (find_overload_match): Include xmethods while performing overload
6063 resolution.
6064
e81e7f5e
SC
60652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6066
6067 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6068 * extension-priv.h (struct extension_language_ops): Add the
6069 xmethod interface.
6070 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6071 get_matching_xmethod_workers, get_xmethod_argtypes,
6072 invoke_xmethod, free_xmethod_worker,
6073 free_xmethod_worker_vec): New functions.
6074 * extension.h: #include "common/vec.h".
6075 New function declarations.
6076 (struct xmethod_worker): New struct.
6077 (VEC (xmethod_worker_ptr)): New vector type.
6078 (xmethod_worker_ptr): New typedef.
6079 (xmethod_worker_vec): Likewise.
6080 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6081 builtin_type.
6082 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6083 (struct builtin_type): New field "xmethod".
6084 * valarith.c (value_ptradd): Assert that the value argument is not
6085 lval_xcallable.
6086 * valops.c (value_must_coerce_to_target): Return 0 for
6087 lval_xcallable values.
6088 * value.c (struct value): New field XM_WORKER in the field
6089 LOCATION.
6090 (value_address, value_raw_address): Return 0 for lval_xcallable
6091 values.
6092 (set_value_address): Assert that the value is not an
6093 lval_xcallable.
6094 (value_free): Free the associated xmethod worker when freeing
6095 lval_xcallable values.
6096 (set_value_component_location): Assert that the WHOLE value is not
6097 lval_xcallable.
6098 (value_of_xmethod, call_xmethod): New functions.
6099 * value.h: Declare "struct xmethod_worker".
6100 Declare new functions value_of_xmethod, call_xmethod.
6101
ef370185
JB
61022014-06-03 Joel Brobecker <brobecker@adacore.com>
6103 Pedro Alves <palves@redhat.com>
6104
6105 PR breakpoints/17000
6106 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6107 New function, extracted from software_breakpoint_inserted_here_p.
6108 (software_breakpoint_inserted_here_p): Replace factored out code
6109 by call to find_non_raw_software_breakpoint_inserted_here.
6110 (bp_target_info_copy_insertion_state): New function.
6111 (bkpt_insert_location): Handle the case of a single-step
6112 breakpoint already inserted at the same address.
6113 (bkpt_remove_location): Handle the case of a single-step
6114 breakpoint still inserted at the same address.
6115 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6116 breakpoint already inserted at the same address.
6117 (deprecated_remove_raw_breakpoint): Handle the case of a
6118 non-raw breakpoint still inserted at the same address.
6119 (find_single_step_breakpoint): New function, extracted from
6120 single_step_breakpoint_inserted_here_p.
6121 (find_single_step_breakpoint): New function,
6122 factored out from single_step_breakpoint_inserted_here_p.
6123 (single_step_breakpoint_inserted_here_p): Reimplement.
6124
1e2ccb61
BM
61252014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6126
6127 Pushed by Joel Brobecker <brobecker@adacore.com>
6128 * source.c (show_substitute_path_command): Fix display of matching
6129 substitution rules.
6130
d3448d85
GB
61312014-06-03 Gary Benson <gbenson@redhat.com>
6132
6133 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6134
06eb1586
DE
61352014-06-02 Doug Evans <xdje42@gmail.com>
6136
6137 Add parameter support for Guile.
6138 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6139 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6140 (scm-param.o): New rule.
6141 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6142 (gdbscm_misc_error): Declare.
6143 (gdbscm_canonicalize_command_name): Declare.
6144 (gdbscm_scm_to_host_string): Declare.
6145 (gdbscm_scm_from_host_string): Declare.
6146 (gdbscm_initialize_parameters): Declare.
6147 * guile/guile.c (initialize_gdb_module): Call
6148 gdbscm_initialize_parameters.
6149 * guile/lib/gdb.scm: Export parameter symbols.
6150 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6151 cmdscm_canonicalize_name and made public. All callers updated.
6152 * guile/scm-exception.c (gdbscm_misc_error): New function.
6153 * guile/scm-param.c: New file.
6154 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6155 (gdbscm_scm_to_host_string): New function.
6156 (gdbscm_scm_from_host_string): New function.
6157 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6158
e698b8c4
DE
61592014-06-02 Doug Evans <xdje42@gmail.com>
6160
6161 Add command support for Guile.
6162 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6163 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6164 (scm-cmd.o): New rule.
6165 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6166 (gdbscm_user_error_p): Declare.
6167 (gdbscm_parse_command_name): Declare.
6168 (gdbscm_valid_command_class_p): Declare.
6169 (gdbscm_initialize_commands): Declare.
6170 * guile/guile.c (initialize_gdb_module): Call
6171 gdbscm_initialize_commands.
6172 * guile/lib/gdb.scm: Export command symbols.
6173 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6174 (throw-user-error): New function.
6175 * guile/scm-cmd.c: New file.
6176 * guile/scm-exception.c (user_error_symbol): New static global.
6177 (gdbscm_user_error_p): New function.
6178 (gdbscm_initialize_exceptions): Set user_error_symbol.
6179 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6180
fb1f94b0
PM
61812014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6182
6183 * top.c (command_loop): Handle comments here...
6184 (command_line_input): ... not here.
6185
ded03782
DE
61862014-06-02 Doug Evans <xdje42@gmail.com>
6187
6188 Add progspace support for Guile.
6189 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6190 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6191 (scm-progspace.o): New rule.
6192 * guile/guile-internal.h (pspace_smob): New typedef.
6193 (psscm_pspace_smob_pretty_printers): Declare.
6194 (psscm_pspace_smob_from_pspace): Declare.
6195 (psscm_scm_from_pspace): Declare.
6196 * guile/guile.c (initialize_gdb_module): Call
6197 gdbscm_initialize_pspaces.
6198 * guile/lib/gdb.scm: Export progspace symbols.
6199 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6200 support.
6201 (append-pretty-printer!): Ditto.
6202 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6203 Implement.
6204 * guile/scm-progspace.c: New file.
6205
397998fc
AM
62062014-06-03 Alan Modra <amodra@gmail.com>
6207
6208 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6209 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6210
6aa5f3a6
DE
62112014-06-02 Doug Evans <dje@google.com>
6212
6213 Add support for skeletonless type units.
6214 * dwarf2read.c (struct dwarf2_per_objfile): New member
6215 n_allocated_type_units.
6216 (struct dwarf2_per_objfile) <tu_stats>: New member
6217 nr_all_type_units_reallocs.
6218 (create_signatured_type_table_from_index): Initialize
6219 n_allocated_type_units
6220 (create_all_type_units): Ditto.
6221 (add_type_unit): Move up in file. New arg slot.
6222 All callers updated. Increase space for all_type_units more
6223 efficiently.
6224 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6225 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6226 (lookup_dwp_signatured_type): Ditto.
6227 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6228 All callers updated.
6229 (build_type_psymtabs_1): Leave type_unit_groups as
6230 NULL if no TUs present.
6231 (print_tu_stats): New function.
6232 (process_skeletonless_type_unit): New function.
6233 (process_dwo_file_for_skeletonless_type_units): New
6234 function.
6235 (process_skeletonless_type_units): New function.
6236 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6237 Call print tu_stats if debugging enabled.
6238
41fac0cf
PA
62392014-06-02 Pedro Alves <palves@redhat.com>
6240
6241 * breakpoint.c (build_target_command_list): Don't build a command
6242 list if we have any duplicate location that isn't a dprintf.
6243
cd1608cc
PA
62442014-06-02 Pedro Alves <palves@redhat.com>
6245
6246 * breakpoint.c (dprintf_breakpoint_hit): New function.
6247 (initialize_breakpoint_ops): Install it as dprintf's
6248 breakpoint_hit method.
6249
486ef3b9
JB
62502014-06-02 Joel Brobecker <brobecker@adacore.com>
6251
6252 * source.c (substitute_path_rule_matches): Simplify using
6253 filename_ncmp instead of FILENAME_CMP.
6254
230cd560
JB
62552014-06-02 Joel Brobecker <brobecker@adacore.com>
6256
6257 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6258
16954d5d
LC
62592014-06-01 Ludovic Courtès <ludo@gnu.org>
6260
6261 * configure.ac: When Guile is available, check for the
6262 availability of 'scm_new_smob'.
6263 * configure, config.h.in: Regenerate.
6264 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6265 function.
6266
53e8a631
AB
62672014-05-30 Andrew Burgess <aburgess@broadcom.com>
6268
6269 * frame.c (struct frame_info): Add stop_string field.
6270 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6271 (get_prev_frame_always): Old content moved into
6272 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6273 TRY_CATCH, handle MEMORY_ERROR exceptions.
6274 (frame_stop_reason_string): New function definition.
6275 * frame.h (unwind_stop_reason_to_string): Extend comment to
6276 mention frame_stop_reason_string.
6277 (frame_stop_reason_string): New function declaration.
6278 * stack.c (frame_info): Switch to frame_stop_reason_string.
6279 (backtrace_command_1): Switch to frame_stop_reason_string.
6280 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6281 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6282 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6283
70e38b8e
AB
62842014-05-30 Andrew Burgess <aburgess@broadcom.com>
6285
6286 * frame.c (frame_stop_reason_string): Rename to ...
6287 (unwind_stop_reason_to_string): this.
6288 * frame.h (frame_stop_reason_string): Rename to ...
6289 (unwind_stop_reason_to_string): this.
6290 * stack.c (frame_info): Update call to frame_stop_reason_string.
6291 (backtrace_command_1): Likewise.
6292 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6293 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6294
938f0e2f
AB
62952014-05-30 Andrew Burgess <aburgess@broadcom.com>
6296
6297 * frame.c (remove_prev_frame): New function.
6298 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6299 remove_prev_frame.
6300
a09dd441
PA
63012014-05-29 Pedro Alves <palves@redhat.com>
6302
6303 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6304 and make it const. When a single-step decays to a continue,
6305 clear 'step', not 'hw_step'. Pass whether the caller wanted
6306 to step to user_visible_resume_ptid, not what we ask the
6307 target to do.
6308
bdc36728
PA
63092014-05-29 Pedro Alves <palves@redhat.com>
6310
6311 * infrun.c (process_event_stop_test, handle_step_into_function)
6312 (handle_step_into_function_backward): Adjust.
6313 Don't set the even thread's stop_step and call stop_waiting before
6314 calling end_stepping_range. Instead do that ...
6315 (end_stepping_range): ... here. Take an ecs pointer parameter.
6316
22bcd14b
PA
63172014-05-29 Pedro Alves <palves@redhat.com>
6318
6319 * infrun.c (stop_stepping): Rename to ...
6320 (stop_waiting): ... this.
6321 (proceed): Update comment.
6322 (process_event_stop_test, handle_inferior_event)
6323 (handle_signal_stop, handle_step_into_function)
6324 (handle_step_into_function_backward): Update.
6325
4ae57c05
PA
63262014-05-29 Pedro Alves <palves@redhat.com>
6327
6328 * infcall.c (run_inferior_call): Don't check whether the current
6329 thread is running after the proceed call.
6330
329ea579
PA
63312014-05-29 Pedro Alves <palves@redhat.com>
6332 Tom Tromey <tromey@redhat.com>
6333
6334 * NEWS: Mention "maint set target-async", "set mi-async", and that
6335 background execution commands are now always available.
6336 * target.h (target_async_permitted): Update comment.
6337 * target.c (target_async_permitted, target_async_permitted_1):
6338 Default to 1.
6339 (set_target_async_command): Rename to ...
6340 (maint_set_target_async_command): ... this.
6341 (show_target_async_command): Rename to ...
6342 (maint_show_target_async_command): ... this.
6343 (_initialize_target): Adjust.
6344 * infcmd.c (prepare_execution_command): Make extern.
6345 * inferior.h (prepare_execution_command): Declare.
6346 * infrun.c (set_observer_mode): Leave target async alone.
6347 * mi/mi-interp.c (mi_interpreter_init): Install
6348 mi_on_sync_execution_done as sync_execution_done observer.
6349 (mi_on_sync_execution_done): New function.
6350 (mi_execute_command_input_handler): Don't print the prompt if we
6351 just started a synchronous command with an async target.
6352 (mi_on_resume): Check sync_execution before printing prompt.
6353 * mi/mi-main.h (mi_async_p): Declare.
6354 * mi/mi-main.c: Include gdbcmd.h.
6355 (mi_async_p): New function.
6356 (mi_async, mi_async_1): New globals.
6357 (set_mi_async_command, show_mi_async_command, mi_async): New
6358 functions.
6359 (exec_continue): Call prepare_execution_command.
6360 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6361 (mi_execute_async_cli_command): Use mi_async_p.
6362 (_initialize_mi_main): Install "set mi-async". Make
6363 "target-async" a deprecated alias.
6364
92bcb5f9
PA
63652014-05-29 Pedro Alves <palves@redhat.com>
6366
6367 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6368 (_initialize_cli_interp): Adjust.
6369 * event-loop.c: Include "observer.h".
6370 (start_event_loop): Notify 'command_error' observers instead of
6371 calling display_gdb_prompt. Remove FIXME comment.
6372 * event-top.c (display_gdb_prompt): Remove call into the
6373 interpreters.
6374 * inf-loop.c: Include "observer.h".
6375 (inferior_event_handler): Notify 'command_error' observers instead
6376 of calling display_gdb_prompt.
6377 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6378 observers instead of calling display_gdb_prompt.
6379 * interps.c (interp_set): Don't call display_gdb_prompt.
6380 (current_interp_display_prompt_p): Delete.
6381 * interps.h (interp_prompt_p): Delete declaration.
6382 (interp_prompt_p_ftype): Delete.
6383 (struct interp_procs) <prompt_proc_p>: Delete field.
6384 (current_interp_display_prompt_p): Delete declaration.
6385 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6386 (_initialize_mi_interp): Adjust.
6387 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6388 'command_error' observers.
6389 (tui_on_sync_execution_done, tui_on_command_error): New
6390 functions.
6391 (tui_display_prompt_p): Delete.
6392 (_initialize_tui_interp): Adjust.
6393
fd664c91
PA
63942014-05-29 Pedro Alves <palves@redhat.com>
6395
6396 PR gdb/13860
6397 * cli/cli-interp.c: Include infrun.h and observer.h.
6398 (cli_uiout, cli_interp): New globals.
6399 (cli_on_signal_received, cli_on_end_stepping_range)
6400 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6401 functions.
6402 (cli_interpreter_init): Install them as 'end_stepping_range',
6403 'signal_received' 'signal_exited', 'exited' and 'no_history'
6404 observers.
6405 (_initialize_cli_interp): Remove cli_interp local.
6406 * infrun.c (handle_inferior_event): Call the several stop reason
6407 observers instead of printing the stop reason directly.
6408 (end_stepping_range): New function.
6409 (print_end_stepping_range_reason, print_signal_exited_reason)
6410 (print_exited_reason, print_signal_received_reason)
6411 (print_no_history_reason): Make static, and add an uiout
6412 parameter. Print to that instead of to CURRENT_UIOUT.
6413 * infrun.h (print_end_stepping_range_reason)
6414 (print_signal_exited_reason, print_exited_reason)
6415 (print_signal_received_reason print_no_history_reason): New
6416 declarations.
6417 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6418 'mi_uiout'.
6419 <cli_uiout>: New field.
6420 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6421 uiout for CLI output. Install 'signal_received',
6422 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6423 observers.
6424 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6425 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6426 (mi_on_no_history): New functions.
6427 (ui_out_free_cleanup): Delete function.
6428 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6429 instead use the one already stored in the MI interpreter data.
6430 (mi_ui_out): Adjust.
6431 * tui/tui-interp.c: Include infrun.h and observer.h.
6432 (tui_interp): New global.
6433 (tui_on_signal_received, tui_on_end_stepping_range)
6434 (tui_on_signal_exited, tui_on_exited)
6435 (tui_on_no_history): New functions.
6436 (tui_init): Install them as 'end_stepping_range',
6437 'signal_received' 'signal_exited', 'exited' and 'no_history'
6438 observers.
6439 (_initialize_tui_interp): Delete tui_interp local.
6440
8817a6f2
PA
64412014-05-29 Pedro Alves <palves@redhat.com>
6442
6443 PR gdb/15713
6444 * linux-nat.c (linux_nat_resume_callback): Rename the second
6445 parameter to 'except'. Skip LP if it points to EXCEPT.
6446 (linux_nat_resume): Don't mark the event lwp as not stopped
6447 before resuming sibling lwps. Instead ask
6448 linux_nat_resume_callback to skip the event lwp. Mark it as not
6449 stopped after actually resuming it.
6450 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6451 resuming it.
6452 (wait_lwp): Mark the lwp as stopped here.
6453 (stop_wait_callback): Mark the lwp as not stopped right after
6454 resuming it. Don't mark lwps as stopped here.
6455 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6456 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6457
251bde03
PA
64582014-05-29 Pedro Alves <palves@redhat.com>
6459
6460 PR PR15693
6461 * infrun.c (resume): Determine how much to resume depending on
6462 whether the caller wanted a step, not whether we can hardware step
6463 the target. Mark all threads that we intend to run as running,
6464 unless we're calling an inferior function.
6465 (normal_stop): If the thread is running an infcall, don't finish
6466 thread state.
6467 * target.c (target_resume): Don't mark threads as running here.
6468
7f3c0343
JB
64692014-05-28 Joel Brobecker <brobecker@adacore.com>
6470
6471 * serial.c (_initialize_serial): Remove support for
6472 the "set remotebaud" and "show remotebaud" commands.
6473 * NEWS: Add entry documenting the removal of that command.
6474
ee34b3f9
YQ
64752014-05-28 Yao Qi <yao@codesourcery.com>
6476
6477 * charset.c: Fix typo in comments.
6478
add6c04d
GB
64792014-05-27 Gary Benson <gbenson@redhat.com>
6480
6481 * utils.c (internal_vproblem): Prompt for a bug report.
6482
92c48fc5
AW
64832014-05-26 Andy Wingo <wingo@igalia.com>
6484
6485 * guile/scm-arch.c (arscm_mark_arch_smob):
6486 * guile/scm-block.c (bkscm_mark_block_smob)
6487 (bkscm_mark_block_syms_progress_smob):
6488 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6489 * guile/scm-exception.c (exscm_mark_exception_smob):
6490 * guile/scm-frame.c (frscm_mark_frame_smob):
6491 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6492 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6493 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6494 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6495 (ppscm_mark_pretty_printer_worker_smob):
6496 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6497 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6498 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6499 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6500 mark functions.
6501 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6502 function.
6503
b2715b27
AW
65042014-05-26 Andy Wingo <wingo@igalia.com>
6505 Doug Evans <xdje42@gmail.com>
6506
6507 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6508 empty_base_class. All uses updated.
6509 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6510 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6511 Adapt all callers.
6512 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6513 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6514 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6515 (gdbscm_gsmob_has_property_p, add_property_name)
6516 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6517 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6518 (gdb-object-has-property?, gdb-object-properties): Remove.
6519 (gdb-object-kind): Renamed from gsmob-kind.
6520
214ab2da
AW
65212014-05-26 Andy Wingo <wingo@igalia.com>
6522
6523 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6524 * configure: Regenerate.
6525
589fdceb
MM
65262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6527
6528 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6529
67b5c0c1
MM
65302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6531
6532 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6533 (replay_memory_access_read_only, replay_memory_access_read_write)
6534 (replay_memory_access_types, replay_memory_access)
6535 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6536 (cmd_set_record_btrace, cmd_show_record_btrace)
6537 (cmd_show_replay_memory_access): New.
6538 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6539 (record_btrace_remove_breakpoint): Replace
6540 record_btrace_allow_memory_access with replay_memory_access.
6541 (_initialize_record_btrace): Add commands.
6542 * NEWS: Announce it.
6543
036cd381
RR
65442014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6545
6546 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6547
c77c1e42
RR
65482014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6549
6550 * MAINTAINERS (Write After Approval): Move self back from
6551 paper trail.
6552
45741a9c
PA
65532014-05-22 Pedro Alves <palves@redhat.com>
6554
6555 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6556 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6557 (disable_randomization, enum exec_direction_kind)
6558 (execution_direction, stop_registers, start_remote)
6559 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6560 (wait_for_inferior, normal_stop, get_last_target_status)
6561 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6562 (insert_step_resume_breakpoint_at_sal)
6563 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6564 (set_step_info, print_stop_event, signal_stop_state)
6565 (signal_print_state, signal_pass_state, signal_stop_update)
6566 (signal_print_update, signal_pass_update)
6567 (update_signals_program_target, clear_exit_convenience_vars)
6568 (displaced_step_dump_bytes, update_observer_mode)
6569 (signal_catch_update, gdb_signal_from_command): Move
6570 declarations ...
6571 * infrun.h: ... to this new file.
6572 * amd64-tdep.c: Include infrun.h.
6573 * annotate.c: Include infrun.h.
6574 * arch-utils.c: Include infrun.h.
6575 * arm-linux-tdep.c: Include infrun.h.
6576 * arm-tdep.c: Include infrun.h.
6577 * break-catch-sig.c: Include infrun.h.
6578 * breakpoint.c: Include infrun.h.
6579 * common/agent.c: Include infrun.h instead of inferior.h.
6580 * corelow.c: Include infrun.h.
6581 * event-top.c: Include infrun.h.
6582 * go32-nat.c: Include infrun.h.
6583 * i386-tdep.c: Include infrun.h.
6584 * inf-loop.c: Include infrun.h.
6585 * infcall.c: Include infrun.h.
6586 * infcmd.c: Include infrun.h.
6587 * infrun.c: Include infrun.h.
6588 * linux-fork.c: Include infrun.h.
6589 * linux-nat.c: Include infrun.h.
6590 * linux-thread-db.c: Include infrun.h.
6591 * monitor.c: Include infrun.h.
6592 * nto-tdep.c: Include infrun.h.
6593 * procfs.c: Include infrun.h.
6594 * record-btrace.c: Include infrun.h.
6595 * record-full.c: Include infrun.h.
6596 * remote-m32r-sdi.c: Include infrun.h.
6597 * remote-mips.c: Include infrun.h.
6598 * remote-notif.c: Include infrun.h.
6599 * remote-sim.c: Include infrun.h.
6600 * remote.c: Include infrun.h.
6601 * reverse.c: Include infrun.h.
6602 * rs6000-tdep.c: Include infrun.h.
6603 * s390-linux-tdep.c: Include infrun.h.
6604 * solib-irix.c: Include infrun.h.
6605 * solib-osf.c: Include infrun.h.
6606 * solib-svr4.c: Include infrun.h.
6607 * target.c: Include infrun.h.
6608 * top.c: Include infrun.h.
6609 * windows-nat.c: Include infrun.h.
6610 * mi/mi-interp.c: Include infrun.h.
6611 * mi/mi-main.c: Include infrun.h.
6612 * python/py-threadevent.c: Include infrun.h.
6613
98eb56a4
PA
66142014-05-22 Pedro Alves <palves@redhat.com>
6615
6616 * infrun.c (handle_inferior_event): Store the exit code for
6617 --return-child-result here, instead of ...
6618 (print_exited_reason): ... here.
6619
17b2616c
PA
66202014-05-21 Pedro Alves <palves@redhat.com>
6621
6622 PR gdb/13860
6623 * gdbthread.h (struct thread_control_state): New field
6624 `command_interp'.
6625 * infrun.c (follow_fork): Copy the new thread control field to the
6626 child fork thread.
6627 (clear_proceed_status_thread): Clear the new thread control field.
6628 (proceed): Set the new thread control field.
6629 * interps.h (command_interp): Declare.
6630 * interps.c (command_interpreter): New global.
6631 (command_interp): New function.
6632 (interp_exec): Set `command_interpreter' while here.
6633 * cli-out.c (cli_uiout_dtor): New function.
6634 (cli_ui_out_impl): Install it.
6635 * mi/mi-interp.c: Include cli-out.h.
6636 (mi_cmd_interpreter_exec): Add comment.
6637 (restore_current_uiout_cleanup): New function.
6638 (ui_out_free_cleanup): New function.
6639 (mi_on_normal_stop): If finishing an execution command started by
6640 a CLI command, or any kind of breakpoint-like event triggered,
6641 print the stop event to the output (CLI) stream.
6642 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6643
5166082f
PA
66442014-05-21 Pedro Alves <palves@redhat.com>
6645
6646 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6647 current source line having changed.
6648 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6649 * infrun.c (normal_stop): Adjust call to
6650 set_current_sal_from_frame.
6651 * source.c (clear_lines_listed_range): New function.
6652 (set_current_source_symtab_and_line, identify_source_line): Clear
6653 the lines listed range.
6654 (line_info): Handle the first "info line" after the current source
6655 line having changed.
6656 * stack.c (print_stack_frame): Remove center handling.
6657 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6658 center sal.line.
6659
c1ee2fb3
PA
66602014-05-21 Pedro Alves <palves@redhat.com>
6661
6662 * inf-child.c (inf_child_mourn_inferior): New function.
6663 * inf-child.h (inf_child_mourn_inferior): New declaration.
6664 * darwin-nat.c (darwin_mourn_inferior): Use
6665 inf_child_mourn_inferior.
6666 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6667 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6668 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6669 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6670 * windows-nat.c (windows_mourn_inferior): Likewise.
6671
5c6d4fb2
DE
66722014-05-21 Doug Evans <xdje42@gmail.com>
6673
250748cb 6674 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 6675
4a2722c5
DE
66762014-05-21 Doug Evans <xdje42@gmail.com>
6677
17292b30 6678 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
6679 (gdbscm_out_of_range_error): Ditto.
6680 (gdbscm_memory_error): Ditto.
250748cb
DE
6681 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6682 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
6683 (gdbscm_out_of_range_error): Update.
6684 (gdbscm_memory_error): Update.
6685 (gdbscm_scm_to_target_string_unsafe): Delete.
6686
6a3cb8e8
PA
66872014-05-21 Pedro Alves <palves@redhat.com>
6688
6689 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6690 globals.
6691 (inf_child_open_target): New function.
6692 (inf_child_open): Use inf_child_open_target to push the target
6693 instead of erroring out.
6694 (inf_child_disconnect, inf_child_close)
6695 (inf_child_maybe_unpush_target): New functions.
6696 (inf_child_target): Install inf_child_disconnect and
6697 inf_child_close. Store a pointer to the returned object.
6698 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6699 declarations.
6700 * target.c (auto_connect_native_target): New global.
6701 (show_default_run_target): New function.
6702 (find_default_run_target): Return NULL if automatically connecting
6703 to the native target is disabled.
6704 (_initialize_target): Install set/show auto-connect-native-target.
6705 * NEWS: Mention "set auto-connect-native-target", and "target
6706 native".
6707 * linux-nat.c (super_close): New global.
6708 (linux_nat_close): Call super_close.
6709 (linux_nat_add_target): Store a pointer to the base class's
6710 to_close method.
6711 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6712 inf_child_maybe_unpush.
6713 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6714 already pushed.
6715 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6716 the inferior. Use inf_child_maybe_unpush_target.
6717 (inf_ttrace_attach): Don't push the target if it is already
6718 pushed.
6719 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6720 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6721 after mourning the inferior. Use inf_child_maybe_unpush_target.
6722 (darwin_attach_pid): Don't push the target if it is already
6723 pushed.
6724 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6725 mourning the inferior. Use inf_child_maybe_unpush_target.
6726 (gnu_detach): Use inf_child_maybe_unpush_target.
6727 * go32-nat.c (go32_create_inferior): Don't push the target if it
6728 is already pushed.
6729 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6730 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6731 (procfs_open): Rename to ...
6732 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6733 comments. Can target_preopen before changing node. Call
6734 inf_child_open_target to push the target explicitly.
6735 (procfs_attach): Don't push the target if it is already pushed.
6736 (procfs_detach): Use inf_child_maybe_unpush_target.
6737 (procfs_create_inferior): Don't push the target if it is already
6738 pushed.
6739 (nto_native_ops): New global.
6740 (procfs_open): Reimplement.
6741 (procfs_native_open): New function.
6742 (init_procfs_targets): Install procfs_native_open as to_open of
6743 "target native". Store a pointer to the "native" target in
6744 nto_native_ops.
6745 * procfs.c (procfs_attach): Don't push the target if it is already
6746 pushed.
6747 (procfs_detach): Use inf_child_maybe_unpush_target.
6748 (procfs_mourn_inferior): Only unpush the target after mourning the
6749 inferior. Use inf_child_maybe_unpush_target.
6750 (procfs_init_inferior): Don't push the target if it is already
6751 pushed.
6752 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6753 if it is already pushed.
6754
930ee1b1
PA
67552014-05-21 Pedro Alves <palves@redhat.com>
6756
6757 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6758 and "procfs" targets are now called "native" instead.
6759
1f5d1b13
PA
67602014-05-21 Pedro Alves <palves@redhat.com>
6761
6762 * go32-nat.c (go32_open): Delete.
6763 (go32_target): Don't override the to_open method.
6764
132f8e03
PA
67652014-05-21 Pedro Alves <palves@redhat.com>
6766
6767 * nto-procfs.c (procfs_can_run): New function.
6768 (nto_procfs_ops): New global.
6769 (init_procfs_targets): New, based on procfs_target. Install
6770 "target native" in addition to "target procfs".
6771 (_initialize_procfs): Call init_procfs_targets instead of adding
6772 the target here.
6773
03c136c3
PA
67742014-05-21 Pedro Alves <palves@redhat.com>
6775
6776 * windows-nat.c (windows_target): Don't override to_shortname,
6777 to_longname or to_doc.
6778
a635d0f3
PA
67792014-05-21 Pedro Alves <palves@redhat.com>
6780
6781 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6782 to_doc.
6783
4f9b5133
PA
67842014-05-21 Pedro Alves <palves@redhat.com>
6785
6786 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6787 to_shortname, to_longname or to_doc.
6788
bc85afde
PA
67892014-05-21 Pedro Alves <palves@redhat.com>
6790
6791 * go32-nat.c (go32_target): Don't override to_shortname,
6792 to_longname or to_doc.
6793
4ebfc96e
PA
67942014-05-21 Pedro Alves <palves@redhat.com>
6795
6796 * inf-child.c (inf_child_open): Remove mention of "child".
6797 (inf_child_target): Rename target to "native" instead of "child".
6798
2648dfed
AA
67992014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6800
6801 * Makefile.in (SFILES): Delete "regset.c".
6802 (COMMON_OBS): Delete "regset.o".
6803 * regset.c: Remove.
6804 * regset.h (regset_alloc): Delete prototype.
6805
b13feb94
AA
68062014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6807
6808 * sparc-linux-tdep.c (sparc32_linux_gregset)
6809 (sparc32_linux_fpregset): New static regset structures.
6810 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6811 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6812 'fpregset' fields.
6813 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6814 (sparc64_linux_fpregset): New static regset structures.
6815 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6816 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6817 New static regset structures.
6818 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6819 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6820 New static regset structures.
6821 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6822 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6823 New static regset structures.
6824 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6825 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6826 New static regset structures.
6827 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6828
b4fd25c9
AA
68292014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6830
6831 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6832 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6833 register maps ("regmaps") from "*regset" to "*regmap". Do this
6834 for all regmap types and variables.
6835 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6836 (sparc32_linux_supply_core_gregset)
6837 (sparc32_linux_collect_core_gregset)
6838 (sparc32_linux_supply_core_fpregset)
6839 (sparc32_linux_collect_core_fpregset): Likewise.
6840 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6841 (sparc_gregmap, sparc_fpregmap): ... these.
6842 (sparc_supply_gregset, sparc_collect_gregset)
6843 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6844 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6845 (_initialize_sparc_nat): Rename regmaps.
6846 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6847 (sparc_gregmap, sparc_fpregmap): ... these.
6848 (sparc_supply_gregset, sparc_collect_gregset)
6849 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6850 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6851 Rename macros to...
6852 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6853 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6854 Likewise.
6855 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6856 Rename to...
6857 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6858 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6859 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6860 regmaps.
6861 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6862 (sparc32_bsd_fpregset): Rename to...
6863 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6864 (sparc32_bsd_fpregmap): ... these.
6865 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6866 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6867 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6868 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6869 (struct sparc_gregmap, struct sparc_fpregmap)
6870 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6871 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6872 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6873 (sparc32_supply_regset, sparc32_collect_gregset)
6874 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6875 prototypes.
6876 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6877 (sparc64_linux_ptrace_gregmap): ... this.
6878 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6879 (_initialize_sparc64_linux_nat): Rename regmaps.
6880 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6881 (sparc64_linux_core_gregmap): ... this.
6882 (sparc64_linux_supply_core_gregset)
6883 (sparc64_linux_collect_core_gregset)
6884 (sparc64_linux_supply_core_fpregset)
6885 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6886 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6887 (sparc64_sol2_fpregset): Rename to...
6888 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6889 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6890 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6891 regmaps.
6892 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6893 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6894 (sparc64_bsd_fpregset): Rename to...
6895 (struct sparc_gregmap, sparc64_sol2_gregmap)
6896 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6897 (sparc64_bsd_fpregmap): ... these.
6898 (sparc64_supply_gregset, sparc64_collect_gregset)
6899 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6900 prototypes.
6901 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6902 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6903 (sparc64fbsd_gregmap): ... this.
6904 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6905 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6906 Rename regmaps.
6907 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6908 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6909 (sparc64nbsd_collect_fpregset): Likewise.
6910 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6911 (sparc64nbsd_gregmap): ... this.
6912 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6913 regmaps.
6914 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6915 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6916 (sparc64obsd_gregmap): ... this.
6917 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6918 regmaps.
6919 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6920 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6921 (sparc32nbsd_gregmap): ... this.
6922 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6923 regmaps.
6924
8fea3224
AA
69252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6926
6927 * score-tdep.c (score7_linux_gregset): New static regset
6928 structure.
6929 (score7_linux_regset_from_core_section): Remove dynamic regset
6930 allocation.
6931 (score_gdbarch_init): Drop allocation of tdep structure.
6932 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6933
24534243
AA
69342014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6935
6936 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6937 regset structures.
6938 (am33_regset_from_core_section): Remove dynamic regset
6939 allocations.
6940
b7195f27
AA
69412014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6942
6943 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6944 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6945 structures.
6946 (mips_linux_regset_from_core_section): Remove dynamic regset
6947 allocations.
6948 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6949 'gregset64', 'fpregset', and 'fpregset64'.
6950 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6951 deleted tdep fields.
6952
ecc37a5a
AA
69532014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6954
6955 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6956 regset structures.
6957 (amd64_regset_from_core_section): Remove dynamic regset
6958 allocations.
6959 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6960 structure.
6961 (amd64obsd_regset_from_core_section): Remove dynamic regset
6962 allocation.
6963 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6964 Likewise.
6965 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6966 x86-common regset supply function.
6967 * i386-tdep.c (i386_collect_gregset): Make static.
6968 (i386_gregset): New global regset structure.
6969 (i386_fpregset, i386_xstateregset): New static regset structures.
6970 (i386_regset_from_core_section): Remove dynamic regset
6971 allocations.
6972 (i386_gdbarch_init): Remove initialization of tdep fields
6973 'gregset', 'fpregset', and 'xstateregset'.
6974 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6975 'fpregset', and 'xstateregset'.
6976 (i386_collect_gregset): Remove prototype.
6977 (i386_gregset): New declaration.
6978 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6979 structure.
6980 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6981 allocation.
6982
b7611c43
AA
69832014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6984
6985 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6986 (arm_linux_vfpregset): New static regset structures.
6987 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6988 regset structures.
6989 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6990 and 'vfpregset' fields.
6991
a069a2bd
AA
69922014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6993
6994 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6995 (aarch64_linux_fpregset): New static regset structures.
6996 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6997 of regset structures.
6998 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6999 'fpregset' fields.
7000
09424cff
AA
70012014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7002
7003 * regset.h (struct regset): Remove gdbarch field.
7004 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7005 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7006 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7007 Likewise.
7008 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7009 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7010 (ppc32_linux_vsxregset): Likewise.
7011 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7012 via the regcache instead of the regset.
7013 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7014 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7015 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7016 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7017 Likewise.
7018
3ca7dae4
AA
70192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7020
7021 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7022 Constify structures.
7023 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7024 (alphanbsd_aout_gregset): Likewise.
7025 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7026 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7027 Likewise.
7028 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7029 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7030 Likewise.
7031 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7032 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7033 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7034 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7035 * m88k-tdep.c (m88k_gregset): Likewise.
7036 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7037 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7038 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7039 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7040 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7041 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7042 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7043 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7044 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7045 Likewise.
7046 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7047 * sh-tdep.h (sh_corefile_gregset): Likewise.
7048 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7049 * vax-tdep.c (vax_gregset): Likewise.
7050
5876f503
JK
70512014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7052
7053 Fix TLS access for -static -pthread.
7054 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7055 (try_thread_db_load_1): Initialize it.
7056 (thread_db_get_thread_local_address): Call it if LM is zero.
7057 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7058 * target.h (struct target_ops) (to_get_thread_local_address): Add
7059 load_module_addr comment.
7060
0256a6ac
PA
70612014-05-21 Pedro Alves <palves@redhat.com>
7062
7063 * dcache.c (dcache_read_memory_partial): If reading the cache line
7064 fails, fallback to reading just the memory the caller wanted.
7065
227533ac
DE
70662014-05-20 Doug Evans <dje@google.com>
7067
7068 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7069 instead of get_current_arch.
7070
936d2992
PA
70712014-05-20 Pedro Alves <palves@redhat.com>
7072
7073 * NEWS: Mention that compare-sections now works with all targets.
7074
7075 * remote.c (PACKET_qCRC): New enum value.
7076 (remote_verify_memory): Don't send qCRC if the target has no
7077 execution. Use packet_support/packet_ok. If the target doesn't
7078 support the qCRC packet, fallback to a deep memory copy.
7079 (compare_sections_command): Say "target image" instead of "remote
7080 executable".
7081 (_initialize_remote): Add PACKET_qCRC to the list of config
7082 packets that have no associated command. Extend comment.
7083 * target.c (simple_verify_memory, default_verify_memory): New
7084 function.
7085 * target.h (struct target_ops) <to_verify_memory>: Default to
7086 default_verify_memory.
7087 (simple_verify_memory): New declaration.
7088 * target-delegates.c: Regenerate.
7089
e59fa00f
MM
70902014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7091
7092 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7093
f2205de0
HZ
70942014-05-20 Hui Zhu <hui@codesourcery.com>
7095 Yao Qi <yao@codesourcery.com>
7096
7097 PR backtrace/16558
7098 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7099 and change address of sp and pc.
7100
c4e54771
TT
71012014-05-19 Tom Tromey <tromey@redhat.com>
7102
7103 * gdbtypes.c (rank_function): Use XNEWVEC.
7104 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7105
73051182
DE
71062014-05-19 Doug Evans <dje@google.com>
7107
7108 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7109 build_type_unit_groups and moved closer to only caller. Remove
7110 arguments. All references updated. Remove outdated .gdb_index
7111 comment.
7112 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7113 build_type_psymtabs_1.
7114
8832e7e3
DE
71152014-05-19 Doug Evans <dje@google.com>
7116
7117 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7118 n_type_unit_groups, all_type_unit_groups. All uses removed.
7119 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7120 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7121 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7122 (add_type_unit_group_to_table): Delete.
7123
cd8ae15e
DE
71242014-05-19 Doug Evans <dje@google.com>
7125
7126 * eval.c (evaluate_subexp_standard): Add some comments.
7127
08f4850b
DE
71282014-05-17 Doug Evans <xdje42@gmail.com>
7129
7130 * progspace.c (remove_program_space): Delete, unused.
7131 * progspace.h (remove_program_space): Ditto.
7132
bed8455c
DE
71332014-05-17 Doug Evans <xdje42@gmail.com>
7134
7135 * inferior.c (prune_inferiors): Fix comment.
7136 (remove_inferior_command): Call prune_program_spaces.
7137
8d551b02
DE
71382014-05-16 Doug Evans <dje@google.com>
7139
7140 New command line option -D.
7141 * NEWS: Mention it.
7142 * main.c (set_gdb_data_directory): New function.
7143 (captured_main): Recognize -D. Flag error for --data-directory "".
7144 Call set_gdb_data_directory.
7145 (print_gdb_help): Print --data-directory, -D.
7146 * main.h (set_gdb_data_directory): Declare.
7147 * top.c (staged_gdb_datadir): New static global.
7148 (set_gdb_datadir): Call set_gdb_data_directory
7149 (show_gdb_datadir): New function.
7150 (init_main): Update init of data-directory parameter.
7151
18848e28
GF
71522014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7153
7154 Import the "dirfd" gnulib module.
7155 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7156 * gnulib/aclocal.m4: Update.
7157 * gnulib/config.in: Update.
7158 * gnulib/configure: Update.
7159 * gnulib/import/Makefile.am: Update.
7160 * gnulib/import/Makefile.in: Update.
7161 * gnulib/import/dirfd.c: New.
7162 * gnulib/import/m4/dirfd.m4: New.
7163 * gnulib/import/m4/gnulib-cache.m4: Update.
7164 * gnulib/import/m4/gnulib-comp.m4: Update.
7165
95c64f92
YQ
71662014-05-16 Pierre Muller <muller@sourceware.org>
7167 Yao Qi <yao@codesourcery.com>
7168
7169 * valprint.c (print_wchar): Move the code on checking whether
7170 W is a printable wide char to the default branch of switch
7171 statement below. Call wchar_printable instead of gdb_iswprint.
7172
cac395ea
TM
71732014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7174
19679eca 7175 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
7176 ldr.w and ldrd instructions.
7177
83655187
DE
71782014-05-15 Doug Evans <dje@google.com>
7179
7180 * dwarf2read.c (read_structure_type): Delete outdated comments.
7181
dd756689
TT
71822014-05-14 Tom Tromey <tromey@redhat.com>
7183
7184 * macrocmd.c (print_macro_definition): Reindent.
7185
75ddda77
DE
71862014-05-13 Doug Evans <xdje42@gmail.com>
7187
7188 * python/py-cmd.c (cmdpy_completer): Add comment.
7189 (completers): Make const.
7190
b0f16a3e
SM
71912014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7192
7193 * infrun.c (resume): Remove should_resume (unused). Move up
7194 declaration of resume_ptid.
7195
033c3379
TT
71962014-05-13 Tom Tromey <tromey@redhat.com>
7197
7198 * language.h (unop_type_check): Remove.
7199 (binop_type_check): Don't declare.
7200
9b44a3a5
AA
72012014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7202
7203 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7204 call to regcache_raw_collect.
7205
303a33fa
SM
72062014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7207
7208 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7209 mi_console->quote as the quoting character.
7210
196100a0
SM
72112014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7212
7213 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7214
f989a1c8
TT
72152014-04-29 Tom Tromey <tromey@redhat.com>
7216
7217 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7218 "show debug varobj".
7219
9404b58f
KM
72202014-05-07 Kyle McMartin <kyle@redhat.com>
7221
7222 Pushed by Joel Brobecker <brobecker@adacore.com>.
7223 * aarch64-tdep.c (aarch64_software_single_step): New function.
7224 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7225 with aarch64_software_single_step.
7226
5e49ba57
JB
72272014-05-05 Joel Brobecker <brobecker@adacore.com>
7228
7229 GDB 7.7.1 released.
7230
c888a17d
KS
72312014-05-05 Keith Seitz <keiths@redhat.com>
7232
7233 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7234 variable or history value is successfully parsed.
7235
290a839c
YQ
72362014-05-05 Yao Qi <yao@codesourcery.com>
7237 Pedro Alves <palves@redhat.com>
7238
7239 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7240 address of blocks that intersects the requested range. Trim
7241 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7242 sections.
7243 * ctf.c (ctf_xfer_partial): Likewise.
7244
91256dc2
YQ
72452014-05-05 Yao Qi <yao@codesourcery.com>
7246
7247 * printcmd.c (display_command): Remove the check to
7248 target_has_execution.
7249
07284463
MK
72502014-05-03 Mark Kettenis <kettenis@gnu.org>
7251
7252 * ppcobsd-nat.c: Include "obsd-nat.h".
7253 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7254 add_target.
7255 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7256
30a1e6cc
SDJ
72572014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7258
7259 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7260 and 16-bit signed and unsigned arguments. Update comment.
7261 (stap_parse_probe_arguments): Extend code to handle such
7262 arguments. Use warning instead of complaint to notify about
7263 unrecognized bitness.
7264
f33da99a
SDJ
72652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7266
7267 PR breakpoints/16889
7268 * stap-probe.c (stap_parse_probe_arguments): Simplify
7269 check for non-prefixed probes (i.e., probes whose
7270 arguments do not start with "N@"). Always set the
7271 argument type to a sane value.
7272
95cf3b38
DT
72732014-05-01 David Taylor <dtaylor@emc.com>
7274
7275 * remote.c (compare_sections_command): Add -r option to compare
7276 all loadable read-only sections.
7277
1cfdf534
SC
72782014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7279
7280 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7281 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7282 Update all callers.
7283 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7284 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7285 Remove unused CORE_ADDR argument. Update all callers.
7286
ca4f7f8b
PA
72872014-04-29 Pedro Alves <palves@redhat.com>
7288
7289 * remote.c (struct packet_config) <detect>: Extend comment.
7290 (add_packet_config_cmd): Don't set the config's detect or support
7291 fields here.
7292 (init_all_packet_configs): Also initialize the config's 'detect'
7293 field.
7294 (reset_all_packet_configs_support): New function.
7295 (remote_open_1): Call reset_all_packet_configs_support instead of
7296 init_all_packet_configs.
7297 (_initialize_remote): Initialize all packet configs. Assert that
7298 all packets have an associated command, except a few known
7299 outliers.
7300
11c1ba78
JB
73012014-04-28 Joel Brobecker <brobecker@adacore.com>
7302
7303 * dwarf2read.c (read_subrange_type): Handle dynamic
7304 DW_AT_lower_bound attributes.
7305
8739bc53
JB
73062014-04-28 Joel Brobecker <brobecker@adacore.com>
7307
7308 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7309 dynamic bounds before computing its upper bound.
7310 (ada_discrete_type_low_bound): Same as above with the lower bound.
7311
6f8a3220
JB
73122014-04-28 Joel Brobecker <brobecker@adacore.com>
7313
7314 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7315 range types. Adjust the array handling implementation to
7316 take advantage of this change.
7317 (resolve_dynamic_range): New function, mostly extracted from
7318 resolve_dynamic_bounds.
7319 (resolve_dynamic_array): New function, mostly extracted from
7320 resolve_dynamic_bounds.
7321 (resolve_dynamic_bounds): Delete.
7322 (resolve_dynamic_type): Reimplement. Add handling of
7323 TYPE_CODE_RANGE types.
7324
4d072ce4
JB
73252014-04-28 Joel Brobecker <brobecker@adacore.com>
7326
7327 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7328 handling of parallel ___XA types.
7329
52865325
JB
73302014-04-28 Joel Brobecker <brobecker@adacore.com>
7331
7332 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7333 unnecessary second call to static_unwrap_type.
7334
433e77fa
HZ
73352014-04-27 Hui Zhu <hui@codesourcery.com>
7336
7337 * stack.c (print_frame_info): Call do_gdb_disassembly with
7338 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7339
b51a69ee
DE
73402014-04-26 Doug Evans <xdje42@gmail.com>
7341
7342 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7343
7ae1a6a6
PA
73442014-04-25 Pedro Alves <palves@redhat.com>
7345
7346 PR server/16255
7347 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7348 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7349 and newline from built string.
7350 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7351 (linux_ptrace_attach_fail_reason): ... this.
7352 * linux-nat.c (linux_nat_attach): Adjust to use
7353 linux_ptrace_attach_fail_reason.
7354
4082afcc
PA
73552014-04-25 Pedro Alves <palves@redhat.com>
7356
7357 * remote.c (struct remote_state): Remove multi_process_aware,
7358 non_stop_aware, cond_tracepoints, cond_breakpoints,
7359 breakpoint_commands, fast_tracepoints, static_tracepoints,
7360 install_in_trace, disconnected_tracing,
7361 enable_disable_tracepoints, string_tracing, and
7362 augmented_libraries_svr4_read fields.
7363 (remote_multi_process_p): Move further below in the file.
7364 (struct packet_config): Add comments.
7365 (update_packet_config): Delete function.
7366 (show_packet_config_cmd): Use packet_config_support.
7367 (add_packet_config_cmd): Use NULL as set callback.
7368 (packet_ok): "set remote foo-packet"-style commands no longer
7369 change config->supported -- adjust.
7370 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7371 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7372 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7373 (PACKET_QNonStop, PACKET_multiprocess_feature)
7374 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7375 (PACKET_DisconnectedTracing_feature)
7376 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7377 (set_remote_protocol_packet_cmd): Delete function.
7378 (packet_config_support, packet_support): New functions.
7379 (set_remote_protocol_Z_packet_cmd): Don't call
7380 update_packet_config.
7381 (remote_query_attached, remote_pass_signals)
7382 (remote_program_signals, remote_threads_info)
7383 (remote_threads_extra_info, remote_start_remote): Use
7384 packet_support.
7385 (remote_start_remote): Use packet_config_support and
7386 packet_support.
7387 (init_all_packet_configs): Set all packets to unknown support,
7388 instead of calling update_packet_config.
7389 (remote_check_symbols): Use packet_support.
7390 (remote_supported_packet): Unconditionally set the packet config's
7391 support status.
7392 (remote_multi_process_feature, remote_non_stop_feature)
7393 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7394 (remote_breakpoint_commands_feature)
7395 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7396 (remote_install_in_trace_feature)
7397 (remote_disconnected_tracing_feature)
7398 (remote_enable_disable_tracepoint_feature)
7399 (remote_string_tracing_feature)
7400 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7401 (remote_protocol_features): Adjust to use remote_supported_packet
7402 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7403 "ConditionalTracepoints", "ConditionalBreakpoints",
7404 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7405 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7406 "EnableDisableTracepoints", and "tracenz".
7407 (remote_query_supported): Use packet_support.
7408 (remote_open_1): Adjust.
7409 (extended_remote_attach_1): Use packet_support. Switch on the
7410 result of packet_ok instead of checking whether the packet ended
7411 up disabled.
7412 (remote_vcont_resume): Use packet_support.
7413 (remote_resume, remote_stop_ns, fetch_register_using_p)
7414 (remote_prepare_to_store, store_register_using_P)
7415 (check_binary_download, remote_write_bytes): Use packet_support.
7416 (remote_vkill): Use packet_support. Switch on the result of
7417 packet_ok instead of checking whether the packet ended up
7418 disabled.
7419 (extended_remote_supports_disable_randomization): Use
7420 packet_support.
7421 (extended_remote_run): Switch on the result of packet_ok instead
7422 of checking whether the packet ended up disabled.
7423 (remote_insert_breakpoint, remote_remove_breakpoint)
7424 (remote_insert_watchpoint, remote_remove_watchpoint)
7425 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7426 packet_support.
7427 (remote_search_memory): Use packet_config_support.
7428 (remote_get_thread_local_address, remote_get_tib_address)
7429 (remote_hostio_send_command, remote_can_execute_reverse): Use
7430 packet_support.
7431 (remote_supports_cond_tracepoints)
7432 (remote_supports_cond_breakpoints)
7433 (remote_supports_fast_tracepoints)
7434 (remote_supports_static_tracepoints)
7435 (remote_supports_install_in_trace)
7436 (remote_supports_enable_disable_tracepoint)
7437 (remote_supports_string_tracing)
7438 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7439 the packet config says the feature is enabled or disabled.
7440 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7441 (remote_get_trace_status): Use packet_support.
7442 (remote_set_disconnected_tracing): Adjust to check whether the
7443 feature is enabled with packet_support.
7444 (remote_set_trace_buffer_size, remote_use_agent)
7445 (remote_can_use_agent, remote_supports_btrace): Use
7446 packet_support.
7447 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7448 Use packet_config_support.
7449 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7450 the packet config says the feature is enabled or disabled.
7451 (set_range_stepping): Use packet_support.
7452
bdb52a22
TT
74532014-04-25 Tom Tromey <tromey@redhat.com>
7454
7455 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7456 argument.
7457
e9475ead
SA
74582014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7459
7460 * NEWS: Mention support for C99 variable length arrays.
7461
82eacd52
JB
74622014-04-24 Joel Brobecker <brobecker@adacore.com>
7463
7464 * ada-lang.c (standard_exc): Expand introductory comment.
7465
01f9f808
MS
74662014-04-24 Michael Sturm <michael.sturm@mintel.com>
7467 Walfred Tedeschi <walfred.tedeschi@intel.com>
7468
7469 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7470 AVX512 registers.
7471 (amd64_linux_read_description): Add code to handle AVX512 xstate
7472 mask and return respective tdesc.
7473 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7474 and features/i386/x32-avx512-linux.c.
7475 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7476 (amd64_linux_core_read_description): Add code to handle AVX512
7477 xstate mask and return respective tdesc.
7478 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7479 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7480 calculation.
7481 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7482 (tdesc_amd64_avx512_linux): New prototype.
7483 (tdesc_x32_avx512_linux): Likewise.
7484 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7485 features/i386/x32-avx512.c.
7486 (amd64_ymm_avx512_names): New register names for pseudo
7487 registers YMM16-31.
7488 (amd64_ymmh_avx512_names): New register names for raw registers
7489 YMMH16-31.
7490 (amd64_k_names): New register names for K registers.
7491 (amd64_zmmh_names): New register names for ZMM raw registers.
7492 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7493 (amd64_xmm_avx512_names): New register names for XMM16-31
7494 registers.
7495 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7496 registers.
7497 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7498 if feature is present.
7499 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7500 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7501 (AMD64_NUM_REGS): Adjust to new number of registers.
7502 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7503 registers supplied via XSTATE by AVX512 registers.
7504 (i386_linux_read_description): Add case for AVX512.
7505 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7506 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7507 (i386_linux_core_read_description): Add case for AVX512.
7508 (i386_linux_init_abi): Install supported register note section
7509 for AVX512.
7510 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7511 AVX512.
7512 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7513 registers to be number of zmm7h + 1.
7514 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7515 * i386-tdep.c: Include features/i386/i386-avx512.c.
7516 (i386_zmm_names): Add ZMM pseudo register names array.
7517 (i386_zmmh_names): Add ZMM raw register names array.
7518 (i386_k_names): Add K raw register names array.
7519 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7520 registers. AVX512 has 16 more ZMM registers than there are YMM
7521 registers.
7522 (i386_zmmh_regnum_p): Add function to look up register number of
7523 ZMM raw registers.
7524 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7525 (i386_k_regnum_p): Likewise for K raw registers.
7526 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7527 registers added by AVX512.
7528 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7529 registers added by AVX512.
7530 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7531 added by AVX512.
7532 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7533 (i386_pseudo_register_name): Add ZMM pseudo registers.
7534 (i386_zmm_type): Construct and return vector registers type for ZMM
7535 registers.
7536 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7537 ZMM0-31 pseudo registers and K registers.
7538 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7539 and YMM16-31 registers from register cache.
7540 (i386_pseudo_register_write): Add code to write K, ZMM and
7541 YMM16-31 registers.
7542 (i386_register_reggroup_p): Add code to include/exclude AVX512
7543 registers in/from respective register groups.
7544 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7545 registers if feature is present in xcr0.
7546 (i386_gdbarch_init): Add code to initialize AVX512 feature
7547 variables in tdep structure, wire in pseudo registers and call
7548 initialize_tdesc_i386_avx512.
7549 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7550 variables.
7551 (i386_regnum): Add AVX512 registers.
7552 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7553 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7554 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7555 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7556 512 bits wide.
7557 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7558 (i386_ymm_avx512_regnum_p): Likewise.
7559 (i386_k_regnum_p): Likewise.
7560 (i386_zmm_regnum_p): Likewise.
7561 (i386_zmmh_regnum_p): Likewise.
7562 * i387-tdep.c : Update year in copyright notice.
7563 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7564 XSAVE buffer.
7565 (XSAVE_YMM_AVX512_ADDR): New macro.
7566 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7567 XSAVE buffer.
7568 (XSAVE_XMM_AVX512_ADDR): New macro.
7569 (xsave_avx512_k_offset): New table for K register offsets in
7570 XSAVE buffer.
7571 (XSAVE_AVX512_K_ADDR): New macro.
7572 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7573 in XSAVE buffer.
7574 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7575 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7576 buffer.
7577 (i387_collect_xsave): Add code to collect AVX512 registers from
7578 XSAVE buffer.
7579 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7580 of XMM16-31 registers.
7581 (I387_NUM_K_REGS): New define for number of K registers.
7582 (I387_K0_REGNUM): New define for K0 register number.
7583 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7584 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7585 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7586 registers.
7587 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7588 (I387_XMM16_REGNUM): New define for XMM16 register number.
7589 (I387_YMM0_REGNUM): New define for YMM0 register number.
7590 (I387_KEND_REGNUM): New define for last K register number.
7591 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7592 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7593 number.
7594 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7595 number.
7596 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7597 size.
7598 * features/Makefile: Add AVX512 related files.
7599 * features/i386/32bit-avx512.xml: New file.
7600 * features/i386/64bit-avx512.xml: Likewise.
7601 * features/i386/amd64-avx512-linux.c: Likewise.
7602 * features/i386/amd64-avx512-linux.xml: Likewise.
7603 * features/i386/amd64-avx512.c: Likewise.
7604 * features/i386/amd64-avx512.xml: Likewise.
7605 * features/i386/i386-avx512-linux.c: Likewise.
7606 * features/i386/i386-avx512-linux.xml: Likewise.
7607 * features/i386/i386-avx512.c: Likewise.
7608 * features/i386/i386-avx512.xml: Likewise.
7609 * features/i386/x32-avx512-linux.c: Likewise.
7610 * features/i386/x32-avx512-linux.xml: Likewise.
7611 * features/i386/x32-avx512.c: Likewise.
7612 * features/i386/x32-avx512.xml: Likewise.
7613 * regformats/i386/amd64-avx512-linux.dat: New file.
7614 * regformats/i386/amd64-avx512.dat: Likewise.
7615 * regformats/i386/i386-avx512-linux.dat: Likewise.
7616 * regformats/i386/i386-avx512.dat: Likewise.
7617 * regformats/i386/x32-avx512-linux.dat: Likewise.
7618 * regformats/i386/x32-avx512.dat: Likewise.
7619 * NEWS: Add note about new support for AVX512.
7620
7621
08351840
PA
76222014-04-23 Pedro Alves <palves@redhat.com>
7623
7624 * breakpoint.c (insert_bp_location): Tolerate errors if the
7625 breakpoint is set in a user-loaded objfile.
7626 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7627 location is marked shlib_disabled. If the breakpoint is set in a
7628 user-loaded objfile is a GDB-side memory breakpoint, validate it
7629 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7630 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7631 flag.
7632 * mem-break.c (memory_validate_breakpoint): New function.
7633 * objfiles.c (userloaded_objfile_contains_address_p): New
7634 function.
7635 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7636 * target.h (memory_validate_breakpoint): New declaration.
7637
076855f9
PA
76382014-04-23 Pedro Alves <palves@redhat.com>
7639
7640 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7641 the breakpoint is set in a shared library, only suppress
7642 errors for software breakpoints, not hardware breakpoints.
7643
483805cf
PA
76442014-04-22 Pedro Alves <palves@redhat.com>
7645
7646 * infrun.c (schedlock_applies): New function, factored out from
7647 find_thread_needs_step_over.
7648 (find_thread_needs_step_over): Use it.
7649 (switch_back_to_stepped_thread): Always clear trap_expected if the
7650 step over is finished. Return early if scheduler locking applies.
7651 Look for the stepping thread and a potential step-over thread with
7652 a single loop.
7653 (currently_stepping_or_nexting_callback): Delete.
7654
a75fef0e
NC
76552014-04-22 Nick Clifton <nickc@redhat.com>
7656
7657 * NEWS: Mention that ARM sim now supports tracing.
7658
48b6e87e
YQ
76592014-04-22 Yao Qi <yao@codesourcery.com>
7660
7661 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7662 to ...
7663 * tracefile.c (tracefile_fetch_registers): ... it. New
7664 function.
7665 * tracefile.h (tracefile_fetch_registers): Declare.
7666 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7667 tracefile_fetch_registers.
7668
17617f2d
EZ
76692014-04-19 Eli Zaretskii <eliz@gnu.org>
7670
7671 PR gdb/14018
7672 * windows-nat.c (thread_rec): Don't display a warning when
7673 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7674 fails for any reason, set th->suspended to -1, so that we don't
7675 try to resume such a thread. Also, don't return NULL in these
7676 cases, to avoid completely ruin the session due to "PC register is
7677 not available" error.
7678 (do_windows_fetch_inferior_registers): Check errors in
7679 GetThreadContext call.
7680 (windows_continue): Accept an additional argument KILLED; if not
7681 zero, ignore errors in the SetThreadContext call, since the
7682 inferior was killed and is shutting down.
7683 (windows_resume, get_windows_debug_event)
7684 (windows_create_inferior, windows_mourn_inferior)
7685 (windows_kill_inferior): All callers of windows_continue changed
7686 to adjust to its new calling sequence.
7687
5723a6fd
YQ
76882014-04-19 Yao Qi <yao@codesourcery.com>
7689
7690 * ctf.c (ctf_open): Call post_create_inferior.
7691
614d5099
YQ
76922014-04-19 Yao Qi <yao@codesourcery.com>
7693
7694 * ctf.c (handle_id): New static variable.
7695 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7696 value. Get the declaration of event "register" and get length
7697 of field "contents".
7698
dac3e710
YQ
76992014-04-19 Yao Qi <yao@codesourcery.com>
7700
7701 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7702
2bca57ba
SC
77032014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7704
7705 * valops.c (oload_method_static): Remove unnecessary argument
7706 METHOD. Update all callers.
7707
51d48146
PA
77082014-04-18 Pedro alves <palves@redhat.com>
7709 Tom Tromey <tromey@redhat.com>
7710
7711 PR backtrace/15558
7712 * frame.c (get_prev_frame_1): Rename to ...
7713 (get_prev_frame_always): ... this, and make extern. Adjust.
7714 (skip_artificial_frames): Use get_prev_frame_always.
7715 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7716 (get_frame_unwind_stop_reason): Adjust to rename.
7717 * frame.h (get_prev_frame_always): Declare.
7718 * inline-frame.c: Include frame.h.
7719 (inline_frame_this_id): Use get_prev_frame_always.
7720
1bdad2e0
TG
77212014-04-18 Tristan Gingold <gingold@adacore.com>
7722
7723 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7724 code by using bfd_mach_o_get_base_address.
7725
7ce16bd4
UW
77262014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7727
7728 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7729 (spu_ax_pseudo_register_collect): New function.
7730 (spu_ax_pseudo_register_push_stack): Likewise.
7731 (spu_dwarf_reg_to_regnum): Likewise.
7732 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7733
2ed3c037
UW
77342014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7735
7736 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7737 Replace FRAME argument with FRAME_ID.
7738 * gdbarch.c, gdbarch.h: Regenerate.
7739 * findvar.c (default_value_from_register): Add GDBARCH argument;
7740 replace FRAME by FRAME_ID. No longer call get_frame_id.
7741 (value_from_register): Update call to gdbarch_value_from_register.
7742 * value.h (default_value_from_register): Update prototype.
7743 * s390-linux-tdep.c (s390_value_from_register): Update interface
7744 and call to default_value_from_register.
7745 * spu-tdep.c (spu_value_from_register): Likewise.
7746
7747 * findvar.c (address_from_register): Remove TYPE argument.
7748 Do not call value_from_register; use gdbarch_value_from_register
7749 with null_frame_id instead.
7750 * value.h (address_from_register): Update prototype.
7751 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7752 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7753 address_from_register interface change.
7754
71e50e83
YQ
77552014-04-17 Yao Qi <yao@codesourcery.com>
7756
7757 * gdbtypes.h: Update comments to link to types and macros'
7758 definitions.
7759
7a23c549
SC
77602014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7761
7762 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7763
22869d73
KS
77642014-04-16 Keith Seitz <keiths@redhat.com>
7765
7766 PR gdb/15827
7767 * dwarf2read.c (skip_one_die): Check that all relative-offset
7768 sibling DIEs fall within range of the current reader's buffer.
7769 (read_partial_die): Likewise.
7770
c4f87ca6
KS
77712014-04-16 Keith Seitz <keiths@redhat.com>
7772
7773 PR c++/16597
7774 * cp-namespace.c (lookup_symbol_file): If the type name of
7775 `this' is NULL, return immediately.
7776
b50c8614
KS
77772014-04-14 Keith Seitz <keiths@redhat.com>
7778
7779 PR c++/16253
7780 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7781 from symbol_matches_domain in symtab.c. All local callers
7782 of symbol_matches_domain updated.
7783 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7784 search STRUCT_DOMAIN.
7785 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7786 independently. standard_lookup will do that automatically.
7787 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7788 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7789 (cp_lookup_symbol_in_namespace): Likewise.
7790 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7791 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7792 may return a STRUCT_DOMAIN match.
7793 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7794 * cp-support.c: Include language.h.
7795 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7796 VAR_DOMAIN.
7797 * psymtab.c (match_partial_symbol): Compare the requested
7798 domain with the symbol's domain directly.
7799 (lookup_partial_symbol): Likewise.
7800 * symtab.c (lookup_symbol_in_language): Explain when/why
7801 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7802 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7803 appropriate languages.
7804 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7805 and moved to ada-lang.c
7806 (lookup_block_symbol): Explain that this function only returns
7807 symbol matching the requested DOMAIN.
7808 Compare the requested domain with the symbol's domain directly.
7809 (iterate_over_symbols): Compare the requested domain with the
7810 symbol's domain directly.
7811 * symtab.h (symbol_matches_domain): Remove.
7812
3d567982
TT
78132014-04-14 Tom Tromey <tromey@redhat.com>
7814
7815 PR c++/15246:
7816 * c-exp.y (type_aggregate_p): New function.
7817 (qualified_name, classify_inner_name): Use it.
7818 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7819 and TYPE_TARGET_TYPE of an enum type.
7820 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7821 an enum type.
7822 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7823 handle TYPE_DECLARED_CLASS.
7824 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7825 types.
7826 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7827 * valops.c (enum_constant_from_type): New function.
7828 (value_aggregate_elt): Use it.
7829 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7830 TYPE_CODE_ENUM.
7831
c848d642
TT
78322014-04-14 Tom Tromey <tromey@redhat.com>
7833
7834 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7835 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7836 const.
7837 * value.h (value_aggregate_elt): Update.
7838
0626fc76
TT
78392014-04-14 Tom Tromey <tromey@redhat.com>
7840
7841 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7842
5ecaaa66
SA
78432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7844
7845 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7846 (evaluate_subexp_standard): Pass noside argument.
7847 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7848 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7849 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7850 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7851 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7852
1612e0c0
SA
78532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7854
7855 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7856 points to a constant blob.
7857
c451ebe5
SA
78582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7859
7860 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7861 property and store it as the high bound and flag the range accordingly.
7862 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7863 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7864 * gdbtypes.h (enum range_flags): New enum.
7865 (struct range_bounds): Add flags member.
7866
1d42e4c4
SA
78672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7868
7869 * c-typeprint.c (c_type_print_varspec_suffix): Added
7870 check for not yet resolved high bound. If unresolved, print
7871 "variable length" string to the console instead of random
7872 length.
7873
9f1f738a
SA
78742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7875
7876 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7877 value.
7878 (ada_template_to_fixed_record_type_1): Likewise.
7879 (ada_to_fixed_type_1): Likewise.
7880 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7881 (cp_print_value): Likewise.
7882 * d-valprint.c (dynamic_array_type): Likewise.
7883 * findvar.c (address_of_variable): Likewise.
7884 * jv-valprint.c (java_value_print): Likewise.
7885 * valops.c (value_ind): Likewise.
7886 * value.c (coerce_ref): Likewise.
7887
3c8452d4
SA
78882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7889
7890 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7891 value and retrieve the dynamic type size.
7892
4ad88275
SA
78932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7894
7895 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7896 passed to sizeof is dynamic evaluate the argument to compute the length.
7897
80180f79
SA
78982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7899 Joel Brobecker <brobecker@adacore.com>
7900
7901 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7902 (dwarf2_evaluate_property): New function.
7903 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7904 * dwarf2read.c (attr_to_dynamic_prop): New function.
7905 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7906 attribute.
7907 * gdbtypes.c: Include dwarf2loc.h.
7908 (is_dynamic_type): New function.
7909 (resolve_dynamic_type): New function.
7910 (resolve_dynamic_bounds): New function.
7911 (get_type_length): New function.
7912 (check_typedef): Use get_type_length to compute type length.
7913 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7914 (TYPE_LOW_BOUND_KIND): New macro.
7915 (is_dynamic_type): New function prototype.
7916 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7917 to resolve dynamic properties of the type. Update comment.
7918 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7919
a1556843
RH
79202014-04-14 Richard Henderson <rth@redhat.com>
7921
7922 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7923
0be03e84
DE
79242014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7925 Doug Evans <xdje42@gmail.com>
7926
7927 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7928 dereference TYPE_CODE_REF values.
7929
6b662e19
JB
79302014-04-11 Joel Brobecker <brobecker@adacore.com>
7931
7932 Revert the following changes due to regressions:
7933
7934 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7935 (dwarf2_evaluate_property): New function.
7936 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7937 * dwarf2read.c (attr_to_dynamic_prop): New function.
7938 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7939 attribute.
7940 * gdbtypes.c: Include dwarf2loc.h.
7941 (is_dynamic_type): New function.
7942 (resolve_dynamic_type): New function.
7943 (resolve_dynamic_bounds): New function.
7944 (get_type_length): New function.
7945 (check_typedef): Use get_type_length to compute type length.
7946 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7947 (TYPE_LOW_BOUND_KIND): New macro.
7948 (is_dynamic_type): New function prototype.
7949 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7950 to resolve dynamic properties of the type. Update comment.
7951 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7952
7953 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7954 passed to sizeof is dynamic evaluate the argument to compute the length.
7955
7956 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7957 value and retrieve the dynamic type size.
7958
7959 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7960 (ada_template_to_fixed_record_type_1): Likewise.
7961 (ada_to_fixed_type_1): Likewise.
7962 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7963 (cp_print_value): Likewise.
7964 * d-valprint.c (dynamic_array_type): Likewise.
7965 * eval.c (evaluate_subexp_with_coercion): Likewise.
7966 * findvar.c (address_of_variable): Likewise.
7967 * jv-valprint.c (java_value_print): Likewise.
7968 * valops.c (value_ind): Likewise.
7969 * value.c (coerce_ref): Likewise.
7970
7971 * c-typeprint.c (c_type_print_varspec_suffix): Added
7972 check for not yet resolved high bound. If unresolved, print
7973 "variable length" string to the console instead of random
7974 length.
7975
7976 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7977 property and store it as the high bound and flag the range accordingly.
7978 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7979 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7980 * gdbtypes.h (enum range_flags): New enum.
7981 (struct range_bounds): Add flags member.
7982
7983 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7984 points to a constant blob.
7985
7986 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7987 (evaluate_subexp_standard): Pass noside argument.
7988 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7989 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7990 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7991 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7992 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7993
245a5f0b
KS
79942014-04-11 Keith Seitz <keiths@redhat.com>
7995
7996 PR c++/16675
7997 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7998 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7999 reference types.
8000
3bce8237
SA
80012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8002
8003 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8004 (evaluate_subexp_standard): Pass noside argument.
8005 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8006 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8007 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8008 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8009 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8010
92b09522
SA
80112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8012
8013 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8014 points to a constant blob.
8015
e1969afb
SA
80162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8017
8018 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8019 property and store it as the high bound and flag the range accordingly.
8020 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8021 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8022 * gdbtypes.h (enum range_flags): New enum.
8023 (struct range_bounds): Add flags member.
8024
b86138fb
SA
80252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8026
8027 * c-typeprint.c (c_type_print_varspec_suffix): Added
8028 check for not yet resolved high bound. If unresolved, print
8029 "variable length" string to the console instead of random
8030 length.
8031
bcd629a4
SA
80322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8033
8034 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8035 (ada_template_to_fixed_record_type_1): Likewise.
8036 (ada_to_fixed_type_1): Likewise.
8037 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8038 (cp_print_value): Likewise.
8039 * d-valprint.c (dynamic_array_type): Likewise.
8040 * eval.c (evaluate_subexp_with_coercion): Likewise.
8041 * findvar.c (address_of_variable): Likewise.
8042 * jv-valprint.c (java_value_print): Likewise.
8043 * valops.c (value_ind): Likewise.
8044 * value.c (coerce_ref): Likewise.
8045
04b19544
SA
80462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8047
8048 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8049 value and retrieve the dynamic type size.
8050
26cb189f
SA
80512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8052
8053 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8054 passed to sizeof is dynamic evaluate the argument to compute the length.
8055
37c1ab67
SA
80562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8057
8058 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8059 (dwarf2_evaluate_property): New function.
8060 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8061 * dwarf2read.c (attr_to_dynamic_prop): New function.
8062 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8063 attribute.
8064 * gdbtypes.c: Include dwarf2loc.h.
8065 (is_dynamic_type): New function.
8066 (resolve_dynamic_type): New function.
8067 (resolve_dynamic_bounds): New function.
8068 (get_type_length): New function.
8069 (check_typedef): Use get_type_length to compute type length.
8070 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8071 (TYPE_LOW_BOUND_KIND): New macro.
8072 (is_dynamic_type): New function prototype.
8073 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8074 to resolve dynamic properties of the type. Update comment.
8075 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8076
729efb13
SA
80772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8078
8079 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8080 declaring high/low bounds and change uses accordingly. Call
8081 create_range_type instead of create_static_range_type.
8082 * gdbtypes.c (create_range_type): New function.
8083 (create_range_type): Convert bounds into struct bound_prop and pass
8084 them to create_range_type.
8085 * gdbtypes.h (struct bound_prop): New struct.
8086 (create_range_type): New function prototype.
8087 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8088 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8089 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8090 part of the bound.
8091 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8092
0c9c3474
SA
80932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8094
8095 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8096 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8097 * ada-lang.c: All uses of create_range_type updated.
8098 * coffread.c: All uses of create_range_type updated.
8099 * dwarf2read.c: All uses of create_range_type updated.
8100 * f-exp.y: All uses of create_range_type updated.
8101 * m2-valprint.c: All uses of create_range_type updated.
8102 * mdebugread.c: All uses of create_range_type updated.
8103 * stabsread.c: All uses of create_range_type updated.
8104 * valops.c: All uses of create_range_type updated.
8105 * valprint.c: All uses of create_range_type updated.
8106
9d497a19
PA
81072014-04-10 Pedro Alves <palves@redhat.com>
8108
8109 * breakpoint.c (single_step_breakpoints)
8110 (single_step_gdbarch): Move up in the file.
8111 (one_breakpoint_xfer_memory): New function, factored out from ...
8112 (breakpoint_xfer_memory): ... here. Also process single-step
8113 breakpoints.
8114
15a9128a
TG
81152014-04-09 Tristan Gingold <gingold@adacore.com>
8116
8117 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8118 comments.
8119 (darwin_decode_exception_message): Free port only after use.
8120
9c97a070
PL
81212014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8122
8123 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8124 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8125 when setting the size of call_length.
8126
7af389b8
SC
81272014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8128
8129 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8130 dereference TYPE_CODE_REF values.
8131
86ad98c3
JB
81322014-04-07 Joel Brobecker <brobecker@adacore.com>
8133
8134 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8135 end of warning message.
8136
b0aeadb3
DE
81372014-04-03 Doug Evans <dje@google.com>
8138
8139 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8140 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8141
5979d6b6
AM
81422014-04-02 Alan Modra <amodra@gmail.com>
8143
8144 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8145 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8146 (struct symbol_file_add_from_memory_args): Add size field.
8147 (find_vdso_size): New function.
8148 (add_vsyscall_page): Attempt to find vdso size.
8149
0d60c288
DE
81502014-04-01 Doug Evans <dje@google.com>
8151
8152 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8153
a41f2563
TG
81542014-04-01 Tristan Gingold <gingold@adacore.com>
8155
8156 * darwin-nat.c (darwin_encode_reply): Add prototype.
8157 (darwin_decode_exception_message): Reply to unknown inferiors.
8158 (darwin_decode_message): Handle message by id. Ignore message
8159 to unknown inferior.
8160 (darwin_wait): Discard unknown messages, add debug trace.
8161
11a865c8
DE
81622014-03-31 Doug Evans <dje@google.com>
8163
8164 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8165 comp_dir_string.
8166
770e7fc7
DE
81672014-03-31 Doug Evans <dje@google.com>
8168
8169 New option "set print symbol-loading".
8170 * NEWS: Mention it.
8171 * solib.c (solib_read_symbols): Only print symbol loading messages
8172 if requested.
8173 (solib_add): If symbol loading is in "brief" mode, notify user
8174 symbols are being loaded.
8175 (reload_shared_libraries_1): Ditto.
8176 * symfile.c (print_symbol_loading_off): New static global.
8177 (print_symbol_loading_brief): New static global.
8178 (print_symbol_loading_full): New static global.
8179 (print_symbol_loading_enums): New static global.
8180 (print_symbol_loading): New static global.
8181 (print_symbol_loading_p): New function.
8182 (symbol_file_add_with_addrs): Only print symbol loading messages
8183 if requested.
8184 (_initialize_symfile): Register "print symbol-loading" set/show
8185 command.
8186 * symfile.h (print_symbol_loading_p): Declare.
8187
c32c64b7
DE
81882014-03-30 Doug Evans <xdje42@gmail.com>
8189
8190 * infrun.c (set_last_target_status): New function.
8191 (handle_inferior_event): Call it.
8192
7c0bc051
DE
81932014-03-30 Doug Evans <xdje42@gmail.com>
8194
8195 * inferior.h (enum stop_kind): Improve comment.
8196
8776cfe9
JB
81972014-03-28 Joel Brobecker <brobecker@adacore.com>
8198
8199 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8200 a reference, strip the reference layer before calling
8201 the lang_ops value_has_mutated callback.
8202
410a0ff2
SDJ
82032014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8204
8205 Remove some globals from our parser.
8206 * language.c (unk_lang_parser): Add "struct parser_state"
8207 argument.
8208 * language.h (struct language_defn) <la_parser>: Likewise.
8209 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8210 (initialize_expout): Add "struct parser_state" argument.
8211 Rewrite function to use the parser state.
8212 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8213 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8214 write_exp_elt_longcst, write_exp_elt_dblcst,
8215 write_exp_elt_decfloatcst, write_exp_elt_type,
8216 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8217 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8218 write_dollar_variable): Likewise.
8219 (parse_exp_in_context_1): Use parser state.
8220 (insert_type_address_space): Add "struct parser_state" argument.
8221 Use parser state.
8222 (increase_expout_size): New function.
8223 * parser-defs.h: Forward declare "struct language_defn" and
8224 "struct parser_state".
8225 (expout, expout_size, expout_ptr): Remove extern declarations.
8226 (parse_gdbarch, parse_language): Rewrite macro declarations to
8227 accept the parser state.
8228 (struct parser_state): New struct.
8229 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8230 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8231 write_exp_elt_decfloatcst, write_exp_elt_type,
8232 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8233 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8234 write_exp_msymbol, write_dollar_variable,
8235 mark_struct_expression, insert_type_address_space): Add "struct
8236 parser_state" argument.
8237 (increase_expout_size): New function.
8238 * utils.c (do_clear_parser_state): New function.
8239 (make_cleanup_clear_parser_state): Likewise.
8240 * utils.h (make_cleanup_clear_parser_state): New function
8241 prototype.
8242 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8243 Update calls to write_exp* in order to pass the parser state.
8244 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8245 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8246 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8247 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8248 * stap-probe.c (stap_parse_register_operand): Likewise.
8249 (stap_parse_single_operand): Likewise.
8250 (stap_parse_argument_1): Likewise.
8251 (stap_parse_argument): Use parser state.
8252 * stap-probe.h: Include "parser-defs.h".
8253 (struct stap_parse_info) <pstate>: New field.
8254 * c-exp.y (parse_type): Rewrite to use parser state.
8255 (yyparse): Redefine to c_parse_internal.
8256 (pstate): New global variable.
8257 (parse_number): Add "struct parser_state" argument.
8258 (write_destructor_name): Likewise.
8259 (type_exp): Update calls to write_exp* and similars in order to
8260 use parser state.
8261 (exp1, exp, variable, qualified_name, space_identifier,
8262 typename, typebase): Likewise.
8263 (write_destructor_name, parse_number, lex_one_token,
8264 classify_name, classify_inner_name, c_parse): Add "struct
8265 parser_state" argument. Update function to use parser state.
8266 * c-lang.h: Forward declare "struct parser_state".
8267 (c_parse): Add "struct parser_state" argument.
8268 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8269 (yyparse): Redefine macro to ada_parse_internal.
8270 (pstate): New variable.
8271 (write_int, write_object_renaming, write_var_or_type,
8272 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8273 type_int, type_long, type_long_long, type_float, type_double,
8274 type_long_double, type_char, type_boolean, type_system_address):
8275 Add "struct parser_state" argument.
8276 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8277 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8278 var_or_type, aggregate, aggregate_component_list,
8279 positional_list, others, component_group,
8280 component_associations): Update calls to write_exp* and similar
8281 functions in order to use parser state.
8282 (ada_parse, write_var_from_sym, write_int,
8283 write_exp_op_with_string, write_object_renaming,
8284 find_primitive_type, write_selectors, write_ambiguous_var,
8285 write_var_or_type, write_name_assoc, type_int, type_long,
8286 type_long_long, type_float, type_double, type_long_double,
8287 type_char, type_boolean, type_system_address): Add "struct
8288 parser_state" argument. Adjust function to use parser state.
8289 * ada-lang.c (parse): Likewise.
8290 * ada-lang.h: Forward declare "struct parser_state".
8291 (ada_parse): Add "struct parser_state" argument.
8292 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8293 calls to both functions.
8294 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8295 parser state.
8296 (yyparse): Redefine macro to f_parse_internal.
8297 (pstate): New variable.
8298 (parse_number): Add "struct parser_state" argument.
8299 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8300 and similars in order to use parser state.
8301 (parse_number): Adjust code to use parser state.
8302 (yylex): Likewise.
8303 (f_parse): New function.
8304 * f-lang.h: Forward declare "struct parser_state".
8305 (f_parse): Add "struct parser_state" argument.
8306 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8307 parser state.
8308 (yyparse): Redefine macro for java_parse_internal.
8309 (pstate): New variable.
8310 (push_expression_name, push_expression_name, insert_exp): Add
8311 "struct parser_state" argument.
8312 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8313 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8314 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8315 PostIncrementExpression, PostDecrementExpression,
8316 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8317 UnaryExpressionNotPlusMinus, CastExpression,
8318 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8319 RelationalExpression, EqualityExpression, AndExpression,
8320 ExclusiveOrExpression, InclusiveOrExpression,
8321 ConditionalAndExpression, ConditionalOrExpression,
8322 ConditionalExpression, Assignment, LeftHandSide): Update
8323 calls to write_exp* and similars in order to use parser state.
8324 (parse_number): Ajust code to use parser state.
8325 (yylex): Likewise.
8326 (java_parse): New function.
8327 (push_variable): Add "struct parser_state" argument. Adjust
8328 code to user parser state.
8329 (push_fieldnames, push_qualified_expression_name,
8330 push_expression_name, insert_exp): Likewise.
8331 * jv-lang.h: Forward declare "struct parser_state".
8332 (java_parse): Add "struct parser_state" argument.
8333 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8334 parser state.
8335 (yyparse): Redefine macro to m2_parse_internal.
8336 (pstate): New variable.
8337 (type_exp, exp, fblock, variable, type): Update calls to
8338 write_exp* and similars to use parser state.
8339 (yylex): Likewise.
8340 (m2_parse): New function.
8341 * m2-lang.h: Forward declare "struct parser_state".
8342 (m2_parse): Add "struct parser_state" argument.
8343 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8344 * objc-lang.h: Forward declare "struct parser_state".
8345 (end_msglist): Add "struct parser_state" argument.
8346 * p-exp.y (parse_type): Rewrite macro to use parser state.
8347 (yyparse): Redefine macro to pascal_parse_internal.
8348 (pstate): New variable.
8349 (parse_number): Add "struct parser_state" argument.
8350 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8351 write_exp* and similars in order to use parser state.
8352 (parse_number, yylex): Adjust code to use parser state.
8353 (pascal_parse): New function.
8354 * p-lang.h: Forward declare "struct parser_state".
8355 (pascal_parse): Add "struct parser_state" argument.
8356 * go-exp.y (parse_type): Rewrite macro to use parser state.
8357 (yyparse): Redefine macro to go_parse_internal.
8358 (pstate): New variable.
8359 (parse_number): Add "struct parser_state" argument.
8360 (type_exp, exp1, exp, variable, type): Update calls to
8361 write_exp* and similars in order to use parser state.
8362 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8363 to use parser state.
8364 (go_parse): Likewise.
8365 * go-lang.h: Forward declare "struct parser_state".
8366 (go_parse): Add "struct parser_state" argument.
8367
342587c4
DE
83682014-03-27 Doug Evans <dje@google.com>
8369
8370 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8371
33e80786
DE
83722014-03-27 Doug Evans <dje@google.com>
8373
8374 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8375 Remove argument abbrev_section. All callers updated.
8376
1dbab08b
DE
83772014-03-27 Doug Evans <dje@google.com>
8378
8379 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8380 addr_base, ranges_base.
8381
318d3177
KS
83822014-03-26 Keith Seitz <keiths@redhat.com>
8383
8384 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8385 types, not VAR_DOMAIN.
8386
1e54db15
SL
83872014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8388
8389 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8390 "ra" registers.
8391 * features/nios2-linux.c: Regenerated.
8392 * features/nios2.c: Regenerated.
8393
d3839ede
PA
83942014-03-25 Pedro Alves <palves@redhat.com>
8395
8396 * cli/cli-script.c (script_from_file): Force the interpreter to
8397 sync mode.
8398
7588d2ec
PL
83992014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8400
8401 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8402 small stack allocation.
8403
a6290449
TG
84042014-03-24 Tristan Gingold <gingold@adacore.com>
8405
8406 * darwin-nat.c (exc_server): Remove unused prototype.
8407 (darwin_dump_message): Correctly display data on x86_64.
8408 (darwin_encode_reply): Fix style.
8409 Add comments and fix indentation.
8410
31ae9d24 84112014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
8412
8413 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8414
6339bfc4
DE
84152014-03-22 Doug Evans <xdje42@gmail.com>
8416
8417 * infcmd.c: Whitespace fixes.
8418 (interrupt_command): Merge two function comments into one.
8419
0a07590b
DE
84202014-03-22 Doug Evans <xdje42@gmail.com>
8421
8422 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8423 All uses updated.
8424
b55fbac4
YQ
84252014-03-22 Yao Qi <yao@codesourcery.com>
8426
8427 * remote.c (target_read_live_memory): Remove.
8428 (memory_xfer_live_readonly_partial): Rename it to
8429 remote_xfer_live_readonly_partial. Remove argument 'object'.
8430 All callers updated. Call remote_read_bytes_1
8431 instead of target_read_live_memory.
8432 * tracepoint.c (set_traceframe_number): Remove.
8433 (make_cleanup_restore_traceframe_number): Likewise .
8434 * tracepoint.h (set_traceframe_number): Remove declaration.
8435 (make_cleanup_restore_traceframe_number): Likewise.
8436
9217e74e
YQ
84372014-03-22 Yao Qi <yao@codesourcery.com>
8438
8439 * remote.c (remote_read_bytes): Move code on reading from the
8440 remote stub to ...
8441 (remote_read_bytes_1): ... here. New function.
8442
8acf9577
YQ
84432014-03-22 Yao Qi <yao@codesourcery.com>
8444
8445 * ctf.c (ctf_xfer_partial): Check the return value of
8446 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8447 return TARGET_XFER_UNAVAILABLE.
8448 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8449 * target.c (target_read_live_memory): Move it to remote.c.
8450 (memory_xfer_live_readonly_partial): Likewise.
8451 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8452 * remote.c (target_read_live_memory): Moved from target.c.
8453 (memory_xfer_live_readonly_partial): Likewise.
8454 (remote_read_bytes): Factored out from
8455 memory_xfer_partial_1.
8456
feef67ab
DE
84572014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8458
8459 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8460 NULL pointer.
8461
b65dc60b
PA
84622014-03-21 Pedro Alves <palves@redhat.com>
8463
8464 * infrun.c (normal_stop): Extend comment.
8465
b4ab256d
HZ
84662014-03-21 Hui Zhu <hui@codesourcery.com>
8467 Pedro Alves <palves@redhat.com>
8468
8469 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8470 static buffer.
8471 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8472 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8473 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8474
deba7593
MR
84752014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8476
8477 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8478 `z' formatted output modifier.
8479
1bff71c3
SDJ
84802014-03-20 Tom Tromey <tromey@redhat.com>
8481 Sergio Durigan Junior <sergiodj@redhat.com>
8482
8483 * probe.c (parse_probes): Turn assert into an ordinary error.
8484 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8485 exceptions when parsing probes. Rearrange the code for clarity.
8486
90e28950
TT
84872014-03-20 Tom Tromey <tromey@redhat.com>
8488
8489 PR gdb/14135
8490 * top.c (execute_command): Only dispatch events if the command
8491 started the target.
8492
beb460e8
PA
84932014-03-20 Tom Tromey <tromey@redhat.com>
8494
8495 PR cli/15718
8496 * infcall.c: Include event-top.h.
8497 (run_inferior_call): Call async_disable_stdin if needed.
8498
99619bea
PA
84992014-03-20 Pedro Alves <palves@redhat.com>
8500
8501 * infrun.c (prepare_to_proceed): Delete.
8502 (thread_still_needs_step_over): New function.
8503 (find_thread_needs_step_over): New function.
8504 (proceed): If the current thread needs a step-over, set its
8505 steping_over_breakpoint flag. Adjust to use
8506 find_thread_needs_step_over instead of prepare_to_proceed.
8507 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8508 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8509 breakpoint.
8510 (switch_back_to_stepped_thread): Step over breakpoints of all
8511 threads not the stepping thread, before switching back to the
8512 stepping thread.
8513
2adfaa28
PA
85142014-03-20 Pedro Alves <palves@redhat.com>
8515
8516 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8517 extern.
8518 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8519 * infrun.c (saved_singlestep_ptid)
8520 (stepping_past_singlestep_breakpoint): Delete.
8521 (resume): Remove stepping_past_singlestep_breakpoint handling.
8522 (proceed): Store the prev_pc of the stepping thread too.
8523 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8524 singlestep_pc.
8525 (enum infwait_states): Delete infwait_thread_hop_state.
8526 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8527 field.
8528 (handle_inferior_event): Adjust.
8529 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8530 handling and the thread-hop code. Before removing single-step
8531 breakpoints, check whether the thread hit a single-step breakpoint
8532 of another thread. If it did, the trap is not a random signal.
8533 (switch_back_to_stepped_thread): If the event thread hit a
8534 single-step breakpoint, unblock it before switching to the
8535 stepping thread. Handle the case of the stepped thread having
8536 advanced already.
8537 (keep_going): Handle the case of the current thread moving past a
8538 single-step breakpoint.
8539
31e77af2
PA
85402014-03-20 Pedro Alves <palves@redhat.com>
8541
8542 PR breakpoints/7143
8543 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8544 are being stepped over.
8545 (breakpoint_address_match): Make extern.
8546 * breakpoint.h (breakpoint_address_match): New declaration.
8547 * inferior.h (stepping_past_instruction_at): New declaration.
8548 * infrun.c (struct step_over_info): New type.
8549 (step_over_info): New global.
8550 (set_step_over_info, clear_step_over_info)
8551 (stepping_past_instruction_at): New functions.
8552 (handle_inferior_event): Clear the step-over info when
8553 trap_expected is cleared.
8554 (resume): Remove now stale comment.
8555 (clear_proceed_status): Clear step-over info.
8556 (proceed): Adjust step-over handling to set or clear the step-over
8557 info instead of removing all breakpoints.
8558 (handle_signal_stop): When setting up a thread-hop, don't remove
8559 breakpoints here.
8560 (stop_stepping): Clear step-over info.
8561 (keep_going): Adjust step-over handling to set or clear step-over
8562 info and then always inserting breakpoints, instead of removing
8563 all breakpoints when stepping over one.
8564
b9f437de
PA
85652014-03-20 Pedro Alves <palves@redhat.com>
8566
8567 * infrun.c (previous_inferior_ptid): Adjust comment.
8568 (deferred_step_ptid): Delete.
8569 (infrun_thread_ptid_changed, prepare_to_proceed)
8570 (init_wait_for_inferior): Adjust.
8571 (handle_signal_stop): Delete deferred_step_ptid handling.
8572
06c868a8
JK
85732014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8574
8575 PR gdb/15358
8576 * defs.h (sync_quit_force_run): New declaration.
8577 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8578 * event-top.c (async_sigterm_handler): New declaration.
8579 (async_sigterm_token): New variable.
8580 (async_init_signals): Create also async_sigterm_token.
8581 (async_sigterm_handler): New function.
8582 (sync_quit_force_run): New variable.
8583 (handle_sigterm): Replace quit_force call by other calls.
8584 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8585
dea80df0
MR
85862014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8587
8588 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8589 offset into SPE pseudo registers.
8590
0c7e1a46
PA
85912014-03-18 Pedro Alves <palves@redhat.com>
8592
8593 PR gdb/13860
8594 * inferior.h (print_stop_event): Declare.
8595 * infrun.c (print_stop_event): New, factored out from ...
8596 (normal_stop): ... this.
8597 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8598 of bpstat_print/print_stack_frame.
8599
9c1fcd01
TT
86002014-03-17 Tom Tromey <tromey@redhat.com>
8601
8602 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8603
11aa919a
PMR
86042014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8605
8606 * ada-lang.c (decode_constrained_packed_array): Perform a
8607 minimal coercion for reference with coerce_ref instead of
8608 ada_coerce_ref.
8609
d4ccb5e0
TG
86102014-03-17 Tristan Gingold <gingold@adacore.com>
8611
8612 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8613 (darwin_solib_create_inferior_hook): Emit a warning if version
8614 is unhandled.
8615
49840f2a
UW
86162014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8617
8618 * python/py-value.c (get_field_flag): Cast flag_name argument to
8619 PyObject_GetAttrString to support Python 2.4.
8620
ed4123e5
JK
86212014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8622
8623 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8624 (Global Maintainers): Remove Jan Kratochvil.
8625
d6b64346
PA
86262014-03-14 Pedro Alves <palves@redhat.com>
8627
8628 * inferior.h (terminal_ours_for_output): Rename to ...
8629 (child_terminal_ours_for_output): ... this.
8630 (terminal_save_ours): Rename to ...
8631 (child_terminal_save_ours): ... this.
8632 (terminal_ours): Rename to ...
8633 (child_terminal_ours): ... this.
8634 (terminal_inferior): Rename to ...
8635 (child_terminal_inferior): ... this.
8636 (terminal_init_inferior): Rename to ...
8637 (child_terminal_init_inferior): ... this.
8638 (terminal_init_inferior_with_pgrp): Rename to ...
8639 (child_terminal_init_inferior_with_pgrp): ... this.
8640 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8641 (child_terminal_init_with_pgrp): ... this.
8642 (terminal_save_ours): Rename to ...
8643 (child_terminal_save_ours): ... this.
8644 (terminal_init_inferior): Rename to ...
8645 (child_terminal_init): ... this. Adjust.
8646 (terminal_inferior): Rename to ...
8647 (child_terminal_inferior): ... this.
8648 (terminal_ours_for_output): Rename to ...
8649 (child_terminal_ours_for_output): ... this. Adjust.
8650 (terminal_ours): Rename to ...
8651 (child_terminal_ours): ... this.
8652 (terminal_ours_1): Rename to ...
8653 (child_terminal_ours_1): ... this. Adjust.
8654 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8655 * windows-nat.c (do_initial_windows_stuff): Adjust.
8656 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8657 (gnu_terminal_init): ... this. Adjust.
8658 (gnu_target): Adjust.
8659 * inf-child.c (inf_child_target): Adjust.
8660
5a1e8c7a
DE
86612014-03-13 Doug Evans <xdje42@gmail.com>
8662
8663 PR guile/16612
8664 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8665 new eq?-hashtab.
8666
350e1a76
DE
86672014-03-13 Doug Evans <xdje42@gmail.com>
8668
8669 * value.c (record_latest_value): Call release_value_or_incref
8670 instead of release_value.
8671
a69900ae
PA
86722014-03-13 Pedro Alves <palves@redhat.com>
8673
8674 * procfs.c (procfs_target): Don't override to_shortname,
8675 to_longname or to_doc.
8676
5db9f0bd
PA
86772014-03-13 Pedro Alves <palves@redhat.com>
8678
8679 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8680 Unix in user visible strings.
8681
5e3a2c38
SS
86822014-03-12 Stan Shebs <stan@codesourcery.com>
8683
8684 * gdbtypes.h: Annotate comments for Doxygen, add a page
8685 block comment with some general info.
8686
8bc2fe48
PA
86872014-03-12 Pedro Alves <palves@redhat.com>
8688
8689 * infcmd.c (prepare_execution_command): New function, factored out
8690 from several execution commands.
8691 (run_command_1, continue_command, step_1, jump_command)
8692 (signal_command, until_command, advance_command, finish_command)
8693 (attach_command): Use prepare_execution_command.
8694
638c5f49
OJ
86952014-03-12 Omair Javaid <omair.javaid@linaro.org>
8696
8697 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8698 (MAX_BPTS): Define.
8699 (MAX_WPTS): Define.
8700 (struct arm_linux_thread_points): Removed.
8701 (struct arm_linux_process_info): New.
8702 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8703 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8704 (arm_linux_find_breakpoints_by_tid): Removed.
8705 (struct arch_lwp_info): New.
8706 (arm_linux_find_process_pid): New functions.
8707 (arm_linux_add_process): New functions.
8708 (arm_linux_process_info_get): New functions.
8709 (arm_linux_forget_process): New function.
8710 (arm_linux_get_debug_reg_state): New function.
8711 (struct update_registers_data): New.
8712 (update_registers_callback): New function.
8713 (arm_linux_insert_hw_breakpoint1): Updated.
8714 (arm_linux_remove_hw_breakpoint1): Updated.
8715 (arm_linux_insert_hw_breakpoint): Updated.
8716 (arm_linux_remove_hw_breakpoint): Updated.
8717 (arm_linux_insert_watchpoint): Updated.
8718 (arm_linux_remove_watchpoint): Updated.
8719 (arm_linux_new_thread): Updated.
8720 (arm_linux_prepare_to_resume): New function.
8721 (arm_linux_new_fork): New function.
8722 (_initialize_arm_linux_nat): Updated.
8723
6d03af93
PA
87242014-03-12 Pedro Alves <palves@redhat.com>
8725
8726 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8727
b3ccfe11
TT
87282014-03-12 Tom Tromey <tromey@redhat.com>
8729
8730 * inf-child.c (return_zero): New function.
8731 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8732 * aix-thread.c (aix_thread_inferior_created): New function.
8733 (aix_thread_attach): Remove.
8734 (init_aix_thread_ops): Don't set to_attach.
8735 (_initialize_aix_thread): Register inferior_created observer.
8736 * corelow.c (init_core_ops): Don't set to_attach or
8737 to_create_inferior.
8738 * exec.c (init_exec_ops): Don't set to_attach or
8739 to_create_inferior.
8740 * infcmd.c (run_command_1): Use find_run_target. Make direct
8741 target calls.
8742 (attach_command): Use find_attach_target. Make direct target
8743 calls.
8744 * record-btrace.c (init_record_btrace_ops): Don't set
8745 to_create_inferior.
8746 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8747 Remove.
8748 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8749 set to_create_inferior.
8750 * target.c (complete_target_initialization): Add assertion.
8751 (target_create_inferior): Remove.
8752 (find_default_attach, find_default_create_inferior): Remove.
8753 (find_attach_target, find_run_target): New functions.
8754 (find_default_is_async_p, find_default_can_async_p)
8755 (target_supports_non_stop, target_attach): Remove.
8756 (init_dummy_target): Don't set to_create_inferior or
8757 to_supports_non_stop.
8758 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8759 TARGET_DEFAULT_FUNC.
8760 <to_create_inferior>: Add comment.
8761 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8762 TARGET_DEFAULT_RETURN.
8763 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8764 (find_attach_target, find_run_target): Declare.
8765 (target_create_inferior): Remove.
8766 (target_has_execution_1): Update comment.
8767 (target_supports_non_stop): Remove.
8768 * target-delegates.c: Rebuild.
8769
91f83b02
PA
87702014-03-12 Pedro Alves <palves@redhat.com>
8771
8772 * inf-child.h: Update comment to not mention Unix.
8773
f1aea813
PA
87742014-03-12 Pedro Alves <palves@redhat.com>
8775
8776 * inf-child.c: Update top comment to not mention Unix. Add
8777 generic comment describing how this target is meant to be used.
8778 (inf_child_post_attach, inf_child_post_startup_inferior)
8779 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8780 Unix in comment.
8781
ee8e9165
PA
87822014-03-12 Pedro Alves <palves@redhat.com>
8783
8784 * nto-procfs.c: Include inf-child.h.
8785 (procfs_ops): Delete global.
8786 (procfs_can_run): Delete method.
8787 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8788 target pointer instead of referencing procfs_ops.
8789 (procfs_prepare_to_store): Delete.
8790 (init_procfs_ops): Delete function.
8791 (procfs_target): New function, based on init_procfs_ops, but
8792 inherit inf_child_target.
8793 (_initialize_procfs): Use procfs_target.
8794
51a9c8c5
PA
87952014-03-12 Pedro Alves <palves@redhat.com>
8796
8797 * windows-nat.c: Include inf-child.h.
8798 (windows_ops): Delete global.
8799 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8800 methods.
8801 (init_windows_ops): Delete function.
8802 (windows_target): New function, based on init_windows_ops, but
8803 inherit inf_child_target.
8804 (_initialize_windows_nat): Use windows_target. Install x86
8805 specific target methods here.
8806
c1966e26
DE
88072014-03-10 Doug Evans <xdje42@gmail.com>
8808
8809 * guile/guile.c (call_initialize_gdb_module): New function.
8810 (initialize_guile): Replace call to scm_init_guile with call to
8811 scm_with_guile.
8812
023db19c
JB
88132014-03-10 Joel Brobecker <brobecker@adacore.com>
8814
8815 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8816 in call to TYPE_CODE macro.
8817
5ec18f2b
JG
88182014-03-10 Jerome Guitton <guitton@adacore.com>
8819
8668be63
JB
8820 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8821 Resolve tagged types to full view.
5ec18f2b 8822
7d03f2eb
HZ
88232014-03-10 Hui Zhu <hui@codesourcery.com>
8824
8825 * target.h (target_insert_breakpoint): Remove "hardware" from its
8826 comments.
8827
c5164cbc
DE
88282014-03-07 Doug Evans <dje@google.com>
8829
8830 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8831
c4a3fee2
DE
88322014-03-07 Doug Evans <dje@google.com>
8833
8834 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8835 Remove unused local comp_dir_attr. Assert exactly one of
8836 stub_comp_unit_die, stub_comp_dir is non-NULL.
8837
3156469c
JB
88382014-03-07 Joel Brobecker <brobecker@adacore.com>
8839
8840 * target.h (complete_target_initialization, add_target):
8841 Add comment.
8842
c1a7b7c6
PA
88432014-03-07 Pedro Alves <palves@redhat.com>
8844
8845 * go32-nat.c: Include inf-child.h.
8846 (go32_ops): Delete global.
8847 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8848 Delete methods.
8849 (go32_create_inferior): Push the passed in target pointer instead
8850 of referencing go32_ops.
8851 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8852 (go32_target): New function, based on init_go32_ops, but inherit
8853 inf_child_target.
8854 (_initialize_go32_nat): Use go32_target. Move parts of
8855 init_go32_ops here.
8856
d3c1a85f
JB
88572014-03-06 Joel Brobecker <brobecker@adacore.com>
8858
8859 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8860 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8861 SYMBOL_VALUE_ADDRESS.
8862 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8863
5fa1d40e
YQ
88642014-03-06 Yao Qi <yao@codesourcery.com>
8865
8866 * breakpoint.c (get_tracepoint_by_number): Remove argument
8867 optional_p. All callers updated. Adjust comments. Update
8868 output message.
8869 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8870
0c13193f
YQ
88712014-03-06 Yao Qi <yao@codesourcery.com>
8872
8873 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8874 early if get_number returns zero. Use 'p' instead of 'args'.
8875
2217da06
YQ
88762014-03-06 Yao Qi <yao@codesourcery.com>
8877
8878 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8879 message.
8880
cc3da688
YQ
88812014-03-06 Yao Qi <yao@codesourcery.com>
8882
8883 PR breakpoints/16508
8884 * tracepoint.c (check_trace_running): New function.
8885 (trace_find_command): Move code to check_trace_running and
8886 call check_trace_running.
8887 (trace_find_pc_command): Likewise.
8888 (trace_find_tracepoint_command): Likewise.
8889 (trace_find_line_command): Likewise.
8890 (trace_find_range_command): Likewise.
8891 * tracepoint.h (check_trace_running): Likewise.
8892 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8893
6a5f844b
YQ
88942014-03-06 Yao Qi <yao@codesourcery.com>
8895
8896 * target.h (struct target_ops) <to_traceframe_info>: Use
8897 TARGET_DEFAULT_NORETURN (tcomplain ()).
8898 * target-delegates.c: Regenerated.
8899
0f26cec1
PA
89002014-03-05 Pedro Alves <palves@redhat.com>
8901
8902 PR gdb/16575
8903 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8904 void. Update comment.
8905 (dcache_xfer_memory): Delete.
8906 (dcache_read_memory_partial): New, based on the read bits of
8907 dcache_xfer_memory.
8908 (dcache_update): Add status parameter. Use ULONGEST for len, and
8909 adjust. Discard cache lines if the reason for the update was
8910 error.
8911 * dcache.h (dcache_xfer_memory): Delete declaration.
8912 (dcache_read_memory_partial): New declaration.
8913 (dcache_update): Update prototype.
8914 * target.c (raw_memory_xfer_partial): Update the dcache here.
8915 (memory_xfer_partial_1): Don't handle dcache writes here.
8916
b2b255bd
MF
89172014-03-05 Mike Frysinger <vapier@gentoo.org>
8918
8919 * remote-sim.c (gdbsim_load): Add const to prog.
8920
5d9cf8a4
TT
89212014-03-03 Tom Tromey <tromey@redhat.com>
8922
8923 * elfread.c (probe_key): Change to bfd_data.
8924 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8925 now per-BFD, not per-objfile.
8926 * stap-probe.c (stap_probe_destroy): Update comment.
8927 (handle_stap_probe): Allocate on the per-BFD obstack.
8928
729662a5
TT
89292014-03-03 Tom Tromey <tromey@redhat.com>
8930
8931 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8932 * breakpoint.c (create_longjmp_master_breakpoint): Use
8933 get_probe_address.
8934 (add_location_to_breakpoint, bkpt_probe_insert_location)
8935 (bkpt_probe_remove_location): Update.
8936 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8937 * elfread.c (elf_symfile_relocate_probe): Remove.
8938 (elf_probe_fns): Update.
8939 (insert_exception_resume_breakpoint): Change type of "probe"
8940 parameter to bound_probe.
8941 (check_exception_resume): Update.
8942 * objfiles.c (objfile_relocate1): Don't relocate probes.
8943 * probe.c (bound_probe_s): New typedef.
8944 (parse_probes): Use get_probe_address. Set sal's objfile.
8945 (find_probe_by_pc): Return a bound_probe.
8946 (collect_probes): Return a VEC(bound_probe_s).
8947 (compare_probes): Update.
8948 (gen_ui_out_table_header_info): Change type of "probes"
8949 parameter. Update.
8950 (info_probes_for_ops): Update.
8951 (get_probe_address): New function.
8952 (probe_safe_evaluate_at_pc): Update.
8953 * probe.h (struct probe_ops) <get_probe_address>: New field.
8954 <set_semaphore, clear_semaphore>: Add objfile parameter.
8955 (struct probe) <objfile>: Remove field.
8956 <arch>: New field.
8957 <address>: Update comment.
8958 (struct bound_probe): New.
8959 (find_probe_by_pc): Return a bound_probe.
8960 (get_probe_address): Declare.
8961 * solib-svr4.c (struct probe_and_action) <address>: New field.
8962 (hash_probe_and_action, equal_probe_and_action): Update.
8963 (register_solib_event_probe): Add address parameter.
8964 (solib_event_probe_at): Update.
8965 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8966 get_probe_address.
8967 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8968 (stap_get_probe_address): New function.
8969 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8970 (compile_probe_arg): Update.
8971 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8972 address.
8973 (handle_stap_probe): Don't relocate the probe.
8974 (stap_relocate): Remove.
8975 (stap_gen_info_probes_table_values): Update.
8976 (stap_probe_ops): Remove stap_relocate.
8977 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8978 (debug_sym_probe_fns): Update.
8979 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8980 * symtab.c (init_sal): Use memset.
8981 * symtab.h (struct symtab_and_line) <objfile>: New field.
8982 * tracepoint.c (start_tracing, stop_tracing): Update.
8983
ff887920
TT
89842014-03-03 Tom Tromey <tromey@redhat.com>
8985
8986 * probe.h (parse_probes, find_probe_by_pc)
8987 (find_probes_in_objfile): Fix comments.
8988
f0407826
DE
89892014-03-02 Doug Evans <xdje42@gmail.com>
8990
8991 * infrun.c (handle_signal_stop): Replace test for
8992 TARGET_WAITKIND_STOPPED with an assert.
8993
35e6a711
DE
89942014-03-02 Doug Evans <xdje42@gmail.com>
8995
8996 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8997
667f9d0b
DE
89982014-03-02 Doug Evans <xdje42@gmail.com>
8999
9000 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9001
dc92ace0
MK
90022014-03-01 Mark Kettenis <kettenis@gnu.org>
9003
9004 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9005
a900370f
MK
90062014-03-01 Mark Kettenis <kettenis@gnu.org>
9007
9008 * i386obsd-nat.c: Include "obsd-nat.h".
9009 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9010 add_target.
9011 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9012
b72a7981
MK
90132014-03-01 Mark Kettenis <kettenis@gnu.org>
9014
9015 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9016
96c70aba
MK
90172014-03-01 Mark Kettenis <kettenis@gnu.org>
9018
9019 * mips64obsd-nat.c: Include "obsd-nath".
9020 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9021 add_target
9022 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9023
874a80af
MK
90242014-03-01 Mark Kettenis <kettenis@gnu.org>
9025
8fd408f1
MK
9026 * amd64obsd-nat.c: Include "obsd-nat,h.
9027 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9028 add_target.
874a80af
MK
9029 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9030
9cf95373
SC
90312014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9032
9033 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9034 (find_overload_match): Update call to find_oload_champ.
9035 (find_oload_champ_namespace_loop): Likewise
9036
863e4da4
MK
90372014-02-28 Mark Kettenis <kettenis@gnu.org>
9038
025cac40
MK
9039 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9040
1ed586ce
MK
9041 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9042 * config/sparc/obsd64.mh: New file.
9043 * sparc64obsd-nat.c: New file.
9044
863e4da4
MK
9045 * obsd-nat.h: New file.
9046 * obsd-nat.c: New file.
9047 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9048 (ALLDEPFILES): Add obsd-nat.c.
9049
89de4da4
TT
90502014-02-28 Tom Tromey <tromey@redhat.com>
9051
9052 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9053 * cli-out.h (cli_ui_out_impl): Now const.
9054 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9055 * ui-out.c (struct ui_out) <impl>: Now const.
9056 (default_ui_out_impl): Now const.
9057 (ui_out_new): Make 'impl' parameter const.
9058 * ui-out.h (ui_out_new): Update.
9059
c725e7b6
MK
90602014-02-27 Mark Kettenis <kettenis@gnu.org>
9061
9062 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9063
670b46b3
MK
90642014-02-27 Mark Kettenis <kettenis@gnu.org>
9065
9066 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9067
c91550fc
JK
90682014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9069
9070 Additional PR 8882 fix.
9071 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9072
2fa0369e
PA
90732014-02-27 Pedro Alves <palves@redhat.com>
9074
9075 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9076 isn't set.
9077
d632a097
PA
90782014-02-27 Pedro Alves <palves@redhat.com>
9079
9080 PR 12702
9081 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9082 * nat/linux-waitpid.c: Include string.h.
9083 (status_to_str): Moved here and made extern.
9084 * nat/linux-waitpid.h (status_to_str): New declaration.
9085
2ebd5a35
HZ
90862014-02-27 Hui Zhu <hui@codesourcery.com>
9087
9088 PR 12702
9089 * infrun.c (ptid_match): Move ...
9090 * common/ptid.c (ptid_match): ... here.
9091 * inferior.h (ptid_match): Move ...
9092 * common/ptid.h (ptid_match): ... here.
9093
3cdd631f
MK
90942014-02-27 Mark Kettenis <kettenis@gnu.org>
9095
9096 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9097 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9098 gdb_target_obs.
9099
bee30a64
MK
91002014-02-27 Mark Kettenis <kettenis@gnu.org>
9101
9102 * obsd-tdep.c (obsd_auxv_parse): New function.
9103 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
9104
9105 * gdbarch.sh (auxv_parse): New.
9106 * gdbarch.h: Regenerated.
9107 * gdbarch.c: Regenerated.
9108 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9109
7a5a839f
LC
91102014-02-26 Ludovic Courtès <ludo@gnu.org>
9111
9112 * guile/scm-value.c (gdbscm_history_append_x): New function.
9113 (value_functions): Add it.
9114
31aa7e4e
JB
91152014-02-27 Joel Brobecker <brobecker@adacore.com>
9116
9117 * dwarf2read.c (attr_value_as_address): New function.
9118 (dwarf2_find_base_address, read_call_site_scope): Use
9119 attr_value_as_address in place of DW_ADDR.
9120 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9121 the low and high addresses. Slight rework of the handling
9122 of the high pc being a constant form, and limit it to
9123 DWARF verson 4 or higher.
9124 (dwarf2_record_block_ranges): Likewise.
9125 (read_partial_die): Likewise.
9126 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9127
9b333ba3
TT
91282014-02-26 Tom Tromey <tromey@redhat.com>
9129
9130 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9131
5f6cac40
TT
91322014-02-26 Tom Tromey <tromey@redhat.com>
9133
9134 * elfread.c (elf_read_minimal_symbols): Return early if
9135 minimal symbols have already been read. Add "ei" parameter.
9136 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9137 * minsyms.c (prim_record_minimal_symbol_full): Update.
9138 * objfiles.h (struct objstats) <n_minsyms>: Move...
9139 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9140 * symmisc.c (print_objfile_statistics): Update.
9141
2750ef27
TT
91422014-02-26 Tom Tromey <tromey@redhat.com>
9143
9144 * elfread.c (elf_read_minimal_symbols): New function, from
9145 elf_symfile_read.
9146 (elf_symfile_read): Call it.
9147
34643a32
TT
91482014-02-26 Tom Tromey <tromey@redhat.com>
9149
9150 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9151 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9152 (lookup_minimal_symbol_solib_trampoline)
9153 (lookup_minimal_symbol_by_pc_section_1)
9154 (lookup_minimal_symbol_and_objfile): Update.
9155 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9156 Don't allocate a minimal symbol if minsyms have already been read.
9157 (build_minimal_symbol_hash_tables): Update.
9158 (install_minimal_symbols): Do nothing if minsyms already read.
9159 Use the per-BFD obstack.
9160 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9161 * objfiles.c (allocate_objfile): Call
9162 terminate_minimal_symbol_table later.
9163 (have_minimal_symbols): Update.
9164 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9165 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9166 Move from struct objfile.
9167 <minsyms_read>: New field.
9168 (struct objfile) <msymbols, minimal_symbol_count,
9169 msymbol_hash, msymbol_demangled_hash>: Move.
9170 (ALL_OBJFILE_MSYMBOLS): Update.
9171 * symfile.c (read_symbols): Set minsyms_read.
9172 (reread_symbols): Update.
9173 * symmisc.c (dump_objfile, dump_msymbols): Update.
9174
2273f0ac
TT
91752014-02-26 Tom Tromey <tromey@redhat.com>
9176
9177 * minsyms.c (msymbols_sort): Remove.
9178 * minsyms.h (msymbols_sort): Remove.
9179 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9180 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9181 * elfread.c (elf_symtab_read): Don't add section offsets.
9182 * xcoffread.c (record_minimal_symbol): Don't add section offset
9183 to minimal symbol address.
9184 * somread.c (text_offset, data_offset): Remove.
9185 (som_symtab_read): Don't add section offsets to minimal symbol
9186 addresses.
9187 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9188 Don't add section offsets to minimal symbols.
9189 * coffread.c (coff_symtab_read): Don't add section offsets
9190 to minimal symbol addresses.
9191 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9192 to minimal symbol addresses.
9193 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9194 section offset to minimal symbol addresses.
9195 * mdebugread.c (parse_partial_symbols): Don't add section
9196 offset to minimal symbol addresses.
9197 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9198 offset to minimal symbol addresses.
9199
77e371c0
TT
92002014-02-26 Tom Tromey <tromey@redhat.com>
9201
9202 * ada-lang.c (ada_main_name): Update.
9203 (ada_add_standard_exceptions): Update.
9204 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9205 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9206 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9207 * auxv.c (ld_so_xfer_auxv): Update.
9208 * avr-tdep.c (avr_scan_prologue): Update.
9209 * ax-gdb.c (gen_var_ref): Update.
9210 * blockframe.c (get_pc_function_start)
9211 (find_pc_partial_function_gnu_ifunc): Update.
9212 * breakpoint.c (create_overlay_event_breakpoint)
9213 (create_longjmp_master_breakpoint)
9214 (create_std_terminate_master_breakpoint)
9215 (create_exception_master_breakpoint): Update.
9216 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9217 * c-valprint.c (c_val_print): Update.
9218 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9219 * common/agent.c (agent_look_up_symbols): Update.
9220 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9221 * dwarf2loc.c (call_site_to_target_addr): Update.
9222 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9223 * elfread.c (elf_gnu_ifunc_record_cache)
9224 (elf_gnu_ifunc_resolve_by_got): Update.
9225 * findvar.c (default_read_var_value): Update.
9226 * frame.c (inside_main_func): Update.
9227 * frv-tdep.c (frv_frame_this_id): Update.
9228 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9229 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9230 Update.
9231 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9232 (hppa_hpux_find_dummy_bpaddr): Update.
9233 * hppa-tdep.c (hppa_symbol_address): Update.
9234 * infcmd.c (until_next_command): Update.
9235 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9236 Update.
9237 * linespec.c (minsym_found, add_minsym): Update.
9238 * linux-nat.c (get_signo): Update.
9239 * linux-thread-db.c (inferior_has_bug): Update.
9240 * m32c-tdep.c (m32c_return_value)
9241 (m32c_m16c_address_to_pointer): Update.
9242 * m32r-tdep.c (m32r_frame_this_id): Update.
9243 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9244 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9245 * maint.c (maintenance_translate_address): Update.
9246 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9247 (frob_address): New function.
9248 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9249 frob_address. Rename parameter to "pc_in".
9250 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9251 addresses.
9252 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9253 Update.
9254 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9255 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9256 * objc-lang.c (find_objc_msgsend): Update.
9257 * objfiles.c (objfile_relocate1): Update.
9258 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9259 * p-valprint.c (pascal_val_print): Update.
9260 * parse.c (write_exp_msymbol): Update.
9261 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9262 (ppc_elfv2_skip_entrypoint): Update.
9263 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9264 * printcmd.c (build_address_symbolic, msym_info)
9265 (address_info): Update.
9266 * proc-service.c (ps_pglobal_lookup): Update.
9267 * psymtab.c (find_pc_sect_psymtab_closer)
9268 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9269 Change msymbol parameter to bound_minimal_symbol.
9270 * ravenscar-thread.c (get_running_thread_id): Update.
9271 * remote.c (remote_check_symbols): Update.
9272 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9273 address.
9274 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9275 * solib-dsbt.c (lm_base): Update.
9276 * solib-frv.c (lm_base, main_got): Update.
9277 * solib-irix.c (locate_base): Update.
9278 * solib-som.c (som_solib_create_inferior_hook)
9279 (link_map_start): Update.
9280 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9281 * solib-svr4.c (elf_locate_base, enable_break): Update.
9282 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9283 (flush_ea_cache): Update.
9284 * stabsread.c (define_symbol, scan_file_globals): Update.
9285 * stack.c (find_frame_funname): Update.
9286 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9287 (debug_qf_find_pc_sect_symtab): Update.
9288 * symfile.c (simple_read_overlay_table)
9289 (simple_overlay_update): Update.
9290 * symfile.h (struct quick_symbol_functions)
9291 <find_pc_sect_symtab>: Change type of msymbol to
9292 bound_minimal_symbol.
9293 * symmisc.c (dump_msymbols): Update.
9294 * symtab.c (find_pc_sect_symtab_via_partial)
9295 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9296 (search_symbols, print_msymbol_info): Update.
9297 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9298 (MSYMBOL_VALUE_ADDRESS): Redefine.
9299 (BMSYMBOL_VALUE_ADDRESS): New macro.
9300 * tracepoint.c (scope_info): Update.
9301 * tui/tui-disasm.c (tui_find_disassembly_address)
9302 (tui_get_begin_asm_address): Update.
9303 * valops.c (find_function_in_inferior): Update.
9304 * value.c (value_static_field, value_fn_field): Update.
9305
3b7344d5
TT
93062014-02-26 Tom Tromey <tromey@redhat.com>
9307
9308 * ada-lang.c (ada_update_initial_language): Update.
9309 (ada_main_name, ada_has_this_exception_support): Update.
9310 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9311 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9312 * arm-tdep.c (arm_skip_stub): Update.
9313 * auxv.c (ld_so_xfer_auxv): Update.
9314 * avr-tdep.c (avr_scan_prologue): Update.
9315 * ax-gdb.c (gen_var_ref): Update.
9316 * breakpoint.c (struct breakpoint_objfile_data)
9317 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9318 type to bound_minimal_symbol.
9319 (create_overlay_event_breakpoint)
9320 (create_longjmp_master_breakpoint)
9321 (create_std_terminate_master_breakpoint)
9322 (create_exception_master_breakpoint): Update.
9323 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9324 * c-exp.y (classify_name): Update.
9325 * coffread.c (coff_symfile_read): Update.
9326 * common/agent.c (agent_look_up_symbols): Update.
9327 * d-lang.c (d_main_name): Update.
9328 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9329 * dec-thread.c (enable_dec_thread): Update.
9330 * dwarf2loc.c (call_site_to_target_addr): Update.
9331 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9332 * eval.c (evaluate_subexp_standard): Update.
9333 * findvar.c (struct minsym_lookup_data) <result>: Change type
9334 to bound_minimal_symbol.
9335 <objfile>: Remove.
9336 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9337 * frame.c (inside_main_func): Update.
9338 * frv-tdep.c (frv_frame_this_id): Update.
9339 * gcore.c (call_target_sbrk): Update.
9340 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9341 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9342 Update.
9343 * go-lang.c (go_main_name): Update.
9344 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9345 (hppa_hpux_find_import_stub_for_addr): Update.
9346 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9347 Update. Change return type.
9348 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9349 type.
9350 * jit.c (jit_breakpoint_re_set_internal): Update.
9351 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9352 Update.
9353 * linux-nat.c (get_signo): Update.
9354 * linux-thread-db.c (inferior_has_bug): Update
9355 * m32c-tdep.c (m32c_return_value)
9356 (m32c_m16c_address_to_pointer): Update.
9357 * m32r-tdep.c (m32r_frame_this_id): Update.
9358 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9359 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9360 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9361 lookup_minimal_symbol. Change return type.
9362 (lookup_minimal_symbol): Remove.
9363 (lookup_bound_minimal_symbol): Update.
9364 (lookup_minimal_symbol_text): Change return type.
9365 (lookup_minimal_symbol_solib_trampoline): Change return type.
9366 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9367 (lookup_minimal_symbol_solib_trampoline): Change return type.
9368 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9369 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9370 (value_nsstring, find_imps): Update.
9371 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9372 * p-lang.c (pascal_main_name): Update.
9373 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9374 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9375 * proc-service.c (ps_pglobal_lookup): Update.
9376 * ravenscar-thread.c (get_running_thread_msymbol): Change
9377 return type.
9378 (has_ravenscar_runtime, get_running_thread_id): Update.
9379 * remote.c (remote_check_symbols): Update.
9380 * sol-thread.c (ps_pglobal_lookup): Update.
9381 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9382 * solib-dsbt.c (lm_base): Update.
9383 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9384 Update.
9385 * solib-irix.c (locate_base): Update.
9386 * solib-som.c (som_solib_create_inferior_hook)
9387 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9388 Update.
9389 * solib-spu.c (spu_enable_break): Update.
9390 * solib-svr4.c (elf_locate_base, enable_break): Update.
9391 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9392 (flush_ea_cache): Update.
9393 * stabsread.c (define_symbol): Update.
9394 * symfile.c (simple_read_overlay_table): Update.
9395 * symtab.c (find_pc_sect_line): Update.
9396 * tracepoint.c (scope_info): Update.
9397 * tui-disasm.c (tui_get_begin_asm_address): Update.
9398 * value.c (value_static_field): Update.
9399
40c1a007
TT
94002014-02-26 Tom Tromey <tromey@redhat.com>
9401
9402 * minsyms.c (prim_record_minimal_symbol_full): Use
9403 SET_MSYMBOL_VALUE_ADDRESS.
9404 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9405 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9406 SET_MSYMBOL_VALUE_ADDRESS.
9407 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9408 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9409
efd66ac6
TT
94102014-02-26 Tom Tromey <tromey@redhat.com>
9411
9412 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9413 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9414 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9415 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9416 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9417 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9418 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9419 * ada-lang.c (ada_main_name): Update.
9420 (ada_lookup_simple_minsym): Update.
9421 (ada_make_symbol_completion_list): Update.
9422 (ada_add_standard_exceptions): Update.
9423 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9424 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9425 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9426 * arm-tdep.c (skip_prologue_function): Update.
9427 (arm_skip_stack_protector, arm_skip_stub): Update.
9428 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9429 (arm_wince_skip_main_prologue): Update.
9430 * auxv.c (ld_so_xfer_auxv): Update.
9431 * avr-tdep.c (avr_scan_prologue): Update.
9432 * ax-gdb.c (gen_var_ref): Update.
9433 * block.c (call_site_for_pc): Update.
9434 * blockframe.c (get_pc_function_start): Update.
9435 (find_pc_partial_function_gnu_ifunc): Update.
9436 * breakpoint.c (create_overlay_event_breakpoint): Update.
9437 (create_longjmp_master_breakpoint): Update.
9438 (create_std_terminate_master_breakpoint): Update.
9439 (create_exception_master_breakpoint): Update.
9440 (resolve_sal_pc): Update.
9441 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9442 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9443 Update.
9444 * c-valprint.c (c_val_print): Update.
9445 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9446 * coffread.c (coff_symfile_read): Update.
9447 * common/agent.c (agent_look_up_symbols): Update.
9448 * dbxread.c (find_stab_function_addr): Update.
9449 (end_psymtab): Update.
9450 * dwarf2loc.c (call_site_to_target_addr): Update.
9451 (func_verify_no_selftailcall): Update.
9452 (tailcall_dump): Update.
9453 (call_site_find_chain_1): Update.
9454 (dwarf_expr_reg_to_entry_parameter): Update.
9455 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9456 (elf_gnu_ifunc_resolve_by_got): Update.
9457 * f-valprint.c (info_common_command): Update.
9458 * findvar.c (read_var_value): Update.
9459 * frame.c (get_prev_frame_1): Update.
9460 (inside_main_func): Update.
9461 * frv-tdep.c (frv_skip_main_prologue): Update.
9462 (frv_frame_this_id): Update.
9463 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9464 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9465 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9466 (gnuv3_skip_trampoline): Update.
9467 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9468 (hppa64_hpux_in_solib_call_trampoline): Update.
9469 (hppa_hpux_skip_trampoline_code): Update.
9470 (hppa64_hpux_search_dummy_call_sequence): Update.
9471 (hppa_hpux_find_import_stub_for_addr): Update.
9472 (hppa_hpux_find_dummy_bpaddr): Update.
9473 * hppa-tdep.c (hppa_symbol_address)
9474 (hppa_lookup_stub_minimal_symbol): Update.
9475 * i386-tdep.c (i386_skip_main_prologue): Update.
9476 (i386_pe_skip_trampoline_code): Update.
9477 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9478 * infcall.c (get_function_name): Update.
9479 * infcmd.c (until_next_command): Update.
9480 * jit.c (jit_breakpoint_re_set_internal): Update.
9481 (jit_inferior_init): Update.
9482 * linespec.c (minsym_found): Update.
9483 (add_minsym): Update.
9484 * linux-fork.c (info_checkpoints_command): Update.
9485 * linux-nat.c (get_signo): Update.
9486 * linux-thread-db.c (inferior_has_bug): Update.
9487 * m32c-tdep.c (m32c_return_value): Update.
9488 (m32c_m16c_address_to_pointer): Update.
9489 (m32c_m16c_pointer_to_address): Update.
9490 * m32r-tdep.c (m32r_frame_this_id): Update.
9491 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9492 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9493 * maint.c (maintenance_translate_address): Update.
9494 * minsyms.c (add_minsym_to_hash_table): Update.
9495 (add_minsym_to_demangled_hash_table): Update.
9496 (msymbol_objfile): Update.
9497 (lookup_minimal_symbol): Update.
9498 (iterate_over_minimal_symbols): Update.
9499 (lookup_minimal_symbol_text): Update.
9500 (lookup_minimal_symbol_by_pc_name): Update.
9501 (lookup_minimal_symbol_solib_trampoline): Update.
9502 (lookup_minimal_symbol_by_pc_section_1): Update.
9503 (lookup_minimal_symbol_and_objfile): Update.
9504 (prim_record_minimal_symbol_full): Update.
9505 (compare_minimal_symbols): Update.
9506 (compact_minimal_symbols): Update.
9507 (build_minimal_symbol_hash_tables): Update.
9508 (install_minimal_symbols): Update.
9509 (terminate_minimal_symbol_table): Update.
9510 (find_solib_trampoline_target): Update.
9511 (minimal_symbol_upper_bound): Update.
9512 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9513 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9514 (mips_skip_pic_trampoline_code): Update.
9515 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9516 * objc-lang.c (selectors_info): Update.
9517 (classes_info): Update.
9518 (find_methods): Update.
9519 (find_imps): Update.
9520 (find_objc_msgsend): Update.
9521 * objfiles.c (objfile_relocate1): Update.
9522 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9523 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9524 * p-valprint.c (pascal_val_print): Update.
9525 * parse.c (write_exp_msymbol): Update.
9526 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9527 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9528 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9529 * printcmd.c (build_address_symbolic): Update.
9530 (sym_info): Update.
9531 (address_info): Update.
9532 * proc-service.c (ps_pglobal_lookup): Update.
9533 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9534 (find_pc_sect_psymtab): Update.
9535 * python/py-framefilter.c (py_print_frame): Update.
9536 * ravenscar-thread.c (get_running_thread_id): Update.
9537 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9538 Update.
9539 * remote.c (remote_check_symbols): Update.
9540 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9541 (rs6000_skip_trampoline_code): Update.
9542 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9543 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9544 * solib-dsbt.c (lm_base): Update.
9545 * solib-frv.c (lm_base): Update.
9546 (main_got): Update.
9547 * solib-irix.c (locate_base): Update.
9548 * solib-som.c (som_solib_create_inferior_hook): Update.
9549 (som_solib_desire_dynamic_linker_symbols): Update.
9550 (link_map_start): Update.
9551 * solib-spu.c (spu_enable_break): Update.
9552 (ocl_enable_break): Update.
9553 * solib-svr4.c (elf_locate_base): Update.
9554 (enable_break): Update.
9555 * spu-tdep.c (spu_get_overlay_table): Update.
9556 (spu_catch_start): Update.
9557 (flush_ea_cache): Update.
9558 * stabsread.c (define_symbol): Update.
9559 (scan_file_globals): Update.
9560 * stack.c (find_frame_funname): Update.
9561 (frame_info): Update.
9562 * symfile.c (simple_read_overlay_table): Update.
9563 (simple_overlay_update): Update.
9564 * symmisc.c (dump_msymbols): Update.
9565 * symtab.c (fixup_section): Update.
9566 (find_pc_sect_line): Update.
9567 (skip_prologue_sal): Update.
9568 (search_symbols): Update.
9569 (print_msymbol_info): Update.
9570 (rbreak_command): Update.
9571 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9572 (completion_list_objc_symbol): Update.
9573 (default_make_symbol_completion_list_break_on): Update.
9574 * tracepoint.c (scope_info): Update.
9575 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9576 (tui_get_begin_asm_address): Update.
9577 * valops.c (find_function_in_inferior): Update.
9578 * value.c (value_static_field): Update.
9579 (value_fn_field): Update.
9580
50e65b17
TT
95812014-02-26 Tom Tromey <tromey@redhat.com>
9582
9583 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9584 bound minimal symbols. Move code that knows about minsym
9585 table layout...
9586 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9587 function.
9588 * minsyms.h (minimal_symbol_upper_bound): Declare.
9589 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9590 minimal_symbol_upper_bound.
9591
1b588015
JB
95922014-02-27 Joel Brobecker <brobecker@adacore.com>
9593
9594 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9595 Use the type's name if its basic type does not have a tag.
9596
dbb9c2b1
JB
95972014-02-27 Joel Brobecker <brobecker@adacore.com>
9598
9599 * dwarf2read.c (read_subrange_type): Add comment.
9600
55426c9d
JB
96012014-02-27 Joel Brobecker <brobecker@adacore.com>
9602
9603 * dwarf2read.c (update_enumeration_type_from_children): New
9604 function, mostly extracted from process_structure_scope.
9605 (read_enumeration_type): Call update_enumeration_type_from_children.
9606 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9607 and flag_flag_enum fields.
9608
f2fce0ca
PA
96092014-02-26 Pedro Alves <palves@redhat.com>
9610
9611 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9612 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9613 to_xfer_partial method.
9614
7a44e40e
PA
96152014-02-26 Pedro Alves <palves@redhat.com>
9616
9617 * target.c (complete_target_initialization): Don't install
9618 default_xfer_partial as to_xfer_partial hook.
9619 (nomemory): Delete.
9620 (update_current_target): Don't INHERIT nor de_fault
9621 deprecated_xfer_memory. Delete de_fault macro.
9622 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9623 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9624 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9625 field.
9626
bd265cd0
PA
96272014-02-26 Pedro Alves <palves@redhat.com>
9628
9629 * go32-nat.c (my_write_child): New function.
9630 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9631 (go32_xfer_partial): New function.
9632 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9633 Instead install a to_xfer_partial hook.
9634
9d46c4e5
PA
96352014-02-26 Pedro Alves <palves@redhat.com>
9636
9637 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9638 to_xfer_partial helper. Rewrite.
9639 (procfs_xfer_partial): New function.
9640 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9641 Install a to_xfer_partial hook.
9642
a1583b1f
PA
96432014-02-26 Pedro Alves <palves@redhat.com>
9644
9645 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9646 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9647 (m32r_xfer_partial): New function.
9648 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9649 Install a to_xfer_partial hook.
9650
6df1b29f
PA
96512014-02-26 Pedro Alves <palves@redhat.com>
9652
9653 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9654 helper.
9655 (mips_xfer_partial): New function.
9656 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9657 hook. Install a to_xfer_partial hook.
9658
dc53a7ad
JB
96592014-02-26 Joel Brobecker <brobecker@adacore.com>
9660
9661 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9662 * gdbtypes.c (create_array_type_with_stride): New function,
9663 renaming create_array_type, but with an added parameter
9664 called "bit_stride".
9665 (create_array_type): Re-implement using
9666 create_array_type_with_stride.
9667 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9668 and DW_AT_bit_stride attributes.
9669
12ab52e9
PA
96702014-02-26 Pedro Alves <palves@redhat.com>
9671
9672 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9673 task-specific breakpoints.
9674
d16461ae
PA
96752014-02-25 Pedro Alves <palves@redhat.com>
9676
9677 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9678 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9679
a8b16220
SS
96802014-02-25 Stan Shebs <stan@codesourcery.com>
9681
9682 * defs.h: Annotate comments for Doxygen.
9683
b9e795ee
TT
96842014-02-25 Tom Tromey <tromey@redhat.com>
9685
9686 * target.h (target_ignore): Don't declare.
9687 * target.c (target_ignore): Remove.
9688
849c862e
JK
96892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9690
9691 PR gdb/16626
9692 * auto-load.c (auto_load_objfile_script_1): Change filename to
9693 debugfile.
9694
475109d8
JB
96952014-02-25 Joel Brobecker <brobecker@adacore.com>
9696
9697 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9698 documentation. Adjust prototype to match the target_ops
9699 to_xfer_partial method. Adjust implementation accordingly.
9700
e186c3bd
HZ
97012014-02-25 Hui Zhu <hui@codesourcery.com>
9702
9703 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9704 to_traceframe_info.
9705
6d451942
KB
97062014-02-25 Kevin Buettner <kevinb@redhat.com>
9707
041ab8b4 9708 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
9709 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9710 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9711 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9712 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9713 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9714 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9715 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9716 New constants.
9717 (rl78_register_type): Use a data pointer type for SP and
9718 new pseudo registers mentioned above. Use a 16 bit integer
9719 type for all other register pairs.
9720 (rl78_register_name, rl78_g10_register_name): Update for
9721 new pseudo registers.
9722 (rl78_pseudo_register_read): Likewise.
9723 (rl78_pseudo_register_write): Likewise.
9724 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9725 to the newly added pseudo registers.
9726
eddf0bae
DE
97272014-02-24 Doug Evans <dje@google.com>
9728
9729 * value.c (record_latest_value): Fix comment.
9730 * printcmd.c (print_command_1): Remove code to handle -1 return from
9731 record_latest_value.
9732
e96027e0
PA
97332014-02-24 Pedro Alves <palves@redhat.com>
9734
9735 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9736 deprecated_xfer_memory hook.
9737 (procfs_xfer_partial): Call procfs_xfer_memory instead
9738 of the deprecated_xfer_memory target hook.
9739 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9740 helper.
9741
0837c976
YZ
97422014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9743
9744 * windows-nat.c (windows_xfer_shared_libraries): Return
9745 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9746 requested object is TARGET_OBJECT_LIBRARIES.
9747
bc113b4e
YQ
97482014-02-24 Yao Qi <yao@codesourcery.com>
9749
9750 * target.h (enum target_xfer_status)
9751 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9752 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9753 explicitly. New.
9754 * corefile.c (memory_error_message): User updated.
9755 * exec.c (section_table_read_available_memory): Likewise.
9756 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9757 * target.c (target_xfer_status_to_string): Likewise.
9758 (raw_memory_xfer_partial): Likewise.
9759 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9760 * valops.c (read_value_memory): Likewise.
9761 * exec.h: Update comments.
9762
01cb8804
YQ
97632014-02-24 Yao Qi <yao@codesourcery.com>
9764
9765 * target.c (target_xfer_status_to_string): Rename argument err
9766 to status.
9767 * target.h (target_xfer_status_to_string): Update declaration.
9768 Replace target_xfer_error_to_string with
9769 target_xfer_status_to_string in comment.
9770
93063aa6
YQ
97712014-02-24 Yao Qi <yao@codesourcery.com>
9772
9773 * mips-linux-nat.c (super_close): Update its type.
9774 (mips_linux_close): Pass 'self' to super_close.
9775
5c328c05
YQ
97762014-02-24 Yao Qi <yao@codesourcery.com>
9777
9778 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9779 * corefile.c (read_memory): Adjusted.
9780 * target.c (target_write_with_progress): Adjusted.
9781
f73023dd
YQ
97822014-02-23 Yao Qi <yao@codesourcery.com>
9783
9784 Revert two patches:
9785
9786 2013-10-25 Yao Qi <yao@codesourcery.com>
9787
9788 * remote.c (remote_traceframe_info): Return early if
9789 traceframe is not selected.
9790
9791 2013-07-19 Yao Qi <yao@codesourcery.com>
9792
9793 * target.c (update_current_target): Change the default action
9794 of 'to_traceframe_info' from tcomplain to return_zero.
9795 * target.h (struct target_ops) <to_traceframe_info>: Add more
9796 comments.
9797
5a2eb0ef
YQ
97982014-02-23 Yao Qi <yao@codesourcery.com>
9799
9800 * valops.c (read_value_memory): Rewrite it. Call
9801 target_xfer_partial in a loop.
9802 * exec.h (section_table_available_memory): Remove declaration.
9803 Move comments to ...
9804 * exec.c (section_table_available_memory): ... here. Make it
9805 static.
9806
1ee79381
YQ
98072014-02-23 Yao Qi <yao@codesourcery.com>
9808
9809 * exec.c (section_table_read_available_memory): New function.
9810 * exec.h (section_table_read_available_memory): Declare.
9811 * ctf.c (ctf_xfer_partial): Call
9812 section_table_read_available_memory.
9813 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9814
1ca49d37
YQ
98152014-02-23 Yao Qi <yao@codesourcery.com>
9816
9817 * ctf.c (ctf_xfer_partial): Move code to ...
9818 * exec.c (exec_read_partial_read_only): ... it. New function.
9819 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9820 * tracefile.c: Include "exec.h".
9821 * exec.h (exec_read_partial_read_only): Declare.
9822
a283690e
YQ
98232014-02-23 Yao Qi <yao@codesourcery.com>
9824
9825 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9826 (tfile_has_memory): Remove.
9827 (init_tfile_ops): Don't set fields to_has_all_memory and
9828 to_has_memory of tfile_ops.
9829 * tracefile.c (tracefile_has_all_memory): New function.
9830 (tracefile_has_memory): New function.
9831 (init_tracefile_ops): Initialize fields to_has_all_memory and
9832 to_has_memory of 'ops'.
9833
12e03cd0
YQ
98342014-02-23 Yao Qi <yao@codesourcery.com>
9835
9836 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9837 (ctf_thread_alive, ctf_get_trace_status): Remove.
9838 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9839 init_tracefile_ops.
9840 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9841 (tfile_has_stack, tfile_has_registers): Remove.
9842 (tfile_thread_alive): Remove.
9843 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9844 init_tracefile_ops.
9845 * tracefile.c (tracefile_has_stack): New function.
9846 (tracefile_has_registers): New function.
9847 (tracefile_thread_alive): New function.
9848 (tracefile_get_trace_status): New function.
9849 (init_tracefile_ops): New function.
9850 * tracefile.h (init_tracefile_ops): Declare.
9851
11395323
YQ
98522014-02-23 Yao Qi <yao@codesourcery.com>
9853
9854 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9855 (O_LARGEFILE): Likewise.
9856 (tfile_ops): Likewise.
9857 (TRACE_HEADER_SIZE): Likewise.
9858 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9859 (cur_data_size): Likewise.
9860 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9861 (tfile_close, tfile_files_info): Likewise.
9862 (tfile_get_trace_status): Likewise.
9863 (tfile_get_tracepoint_status): Likewise.
9864 (tfile_get_traceframe_address): Likewise.
9865 (tfile_trace_find, match_blocktype): Likewise.
9866 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9867 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9868 (tfile_get_trace_state_variable_value): Likewise.
9869 (tfile_has_all_memory, tfile_has_memory): Likewise.
9870 (tfile_has_stack, tfile_has_registers): Likewise.
9871 (tfile_thread_alive, build_traceframe_info): Likewise.
9872 (tfile_traceframe_info, init_tfile_ops): Likewise.
9873 (_initialize_tracepoint): Don't call init_tfile_ops
9874 and add_target_with_completer.
9875 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9876 exec.h, completer.h and filenames.h.
9877 (_initialize_tracefile_tfile): New function.
9878
7951c4eb
YQ
98792014-02-23 Yao Qi <yao@codesourcery.com>
9880
9881 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9882 tracefile-tfile.o.
9883 (HFILES_NO_SRCDIR): Add tracefile.h.
9884 * ctf.c: Include "tracefile.h".
9885 * tracefile.h: New file.
9886 * tracefile.c: New file
9887 * tracefile-tfile.c: New file.
9888 * tracepoint.c: Include "tracefile.h".
9889 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9890 (stop_reason_names): Add const.
9891 (trace_file_writer_xfree): Move it to tracefile.c.
9892 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9893 (trace_save_ctf): Likewise.
9894 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9895 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9896 (tfile_write_header, tfile_write_regblock_type): Likewise.
9897 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9898 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9899 (tfile_write_raw_data, tfile_end): Likewise.
9900 (tfile_trace_file_writer_new): Likewise.
9901 (free_uploaded_tp): Make it extern.
9902 (free_uploaded_tsv): Make it extern.
9903 (_initialize_tracepoint): Move code to register command 'tsave'
9904 to tracefile.c.
9905 * tracepoint.h (stop_reason_names): Declare.
9906 (struct trace_frame_write_ops): Move it to tracefile.h.
9907 (struct trace_file_write_ops): Likewise.
9908 (struct trace_file_writer): Likewise.
9909 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9910
184cd072
JK
99112014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 PR gdb/16594
9914 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9915 process name.
9916 (get_cores_used_by_process): New parameter num_cores, use it.
9917 (linux_xfer_osdata_processes): Pass num_cores to it.
9918 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9919 process name.
9920
c63528fc
AK
99212014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9922
9923 * target.c (memory_xfer_partial): Fix length arg in call to
9924 breakpoint_xfer_memory.
9925
d7b30f67
SDJ
99262014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9927
9928 PR tdep/16397
9929 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9930 number comes after the + or - signs. Adjust length of register
9931 name to be extracted.
9932
8838afaf
TT
99332014-02-20 Tom Tromey <tromey@redhat.com>
9934
9935 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9936 (ada_varobj_ops): Mark "extern".
9937
05227d14
TT
99382014-02-20 Tom Tromey <tromey@redhat.com>
9939
9940 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9941
1254eefc
DE
99422014-02-20 Doug Evans <xdje42@gmail.com>
9943
9944 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9945 All callers updated.
9946 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9947 All callers updated.
9948 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9949 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9950
adde2bff
DE
99512014-02-20 lin zuojian <manjian2006@gmail.com>
9952 Joel Brobecker <brobecker@adacore.com>
9953 Doug Evans <xdje42@gmail.com>
9954
9955 PR symtab/16581
9956 * dwarf2read.c (struct die_info): New member in_process.
9957 (reset_die_in_process): New function.
9958 (process_die): Set it at the start, reset when returning.
9959 (inherit_abstract_dies): Only call process_die if origin_child_die
9960 not already being processed.
9961
3be75f87
JB
99622014-02-20 Joel Brobecker <brobecker@adacore.com>
9963
9964 * windows-nat.c (handle_unload_dll): Add function documentation.
9965 (do_initial_windows_stuff): Add comment explaining why we wait
9966 until after inferior initialization has finished before
9967 processing all DLLs.
9968
47f7ffdb
JB
99692014-02-20 Joel Brobecker <brobecker@adacore.com>
9970
9971 * windows-nat.c (get_module_name): Delete.
9972 (windows_get_exec_module_filename): New function, mostly
9973 inspired from get_module_name.
9974 (windows_pid_to_exec_file): Replace call to get_module_name
9975 by call to windows_get_exec_module_filename.
9976
1cd9feab
JB
99772014-02-20 Joel Brobecker <brobecker@adacore.com>
9978
9979 * windows-nat.c (handle_load_dll): Rewrite this function's
9980 introductory comment. Remove code using get_module_name
9981 to get the DLL's name.
9982
ea39ad35
JB
99832014-02-20 Joel Brobecker <brobecker@adacore.com>
9984
9985 * windows-nat.c (get_windows_debug_event): Ignore
9986 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9987 if windows_initialization_done == 0.
9988 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9989 Adjust implementation to always load all DLLs.
9990 (do_initial_windows_stuff): Replace call to
9991 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9992
95060284
JB
99932014-02-20 Joel Brobecker <brobecker@adacore.com>
9994
9995 * windows-nat.c (_initialize_windows_nat): Deprecate the
9996 "dll-symbols" command. Turn the "add-shared-symbol-files"
9997 and "assf" aliases into commands, and deprecate them as well.
9998 * NEWS: Add entry explaining that "dll-symbols" and its two
9999 aliases are now deprecated.
10000
8d4fdb12
JB
100012014-02-20 Joel Brobecker <brobecker@adacore.com>
10002
10003 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10004 new-line in debug string. Remove trailing spaces.
10005
1b281443
SS
100062014-02-19 Stan Shebs <stan@codesourcery.com>
10007
10008 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10009
f7bd0f78
SC
100102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10011
10012 * NEWS: Add entry for the new feature
10013 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10014 and class values.
10015
399ebc3d
SS
100162014-02-19 Stan Shebs <stan@codesourcery.com>
10017
10018 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10019
c658158d
PA
100202014-02-19 Pedro Alves <palves@redhat.com>
10021
10022 * common/ptid.h (struct ptid): Mention that process_stratum
10023 targets should prefer ptid.lwp.
10024
ba348170
PA
100252014-02-19 Pedro Alves <palves@redhat.com>
10026
10027 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10028 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10029 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10030 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10031 store remote thread ids rather than ptid.tid.
10032 (_initialize_remote): Adjust.
10033
ac01945b
TT
100342014-02-19 Tom Tromey <tromey@redhat.com>
10035
10036 * target.c (target_get_unwinder): Rewrite.
10037 (target_get_tailcall_unwinder): Rewrite.
10038 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10039 (record_btrace_to_get_tailcall_unwinder): New function.
10040 (init_record_btrace_ops): Update.
10041 * target.h (struct target_ops) <to_get_unwinder,
10042 to_get_tailcall_unwinder>: Now function pointers. Use
10043 TARGET_DEFAULT_RETURN.
10044
8476dc92
TT
100452014-02-19 Tom Tromey <tromey@redhat.com>
10046
10047 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10048 argument.
10049 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10050
c0eca49f
TT
100512014-02-19 Tom Tromey <tromey@redhat.com>
10052
10053 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10054 directly.
10055 * target-delegates.c: Rebuild.
10056 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10057 TARGET_DEFAULT_FUNC.
10058 * target.c (default_target_decr_pc_after_break): Rename from
10059 forward_target_decr_pc_after_break. Simplify.
10060 (target_decr_pc_after_break): Rely on delegation.
10061
596b6b39
TT
100622014-02-19 Tom Tromey <tromey@redhat.com>
10063
10064 * target.c (update_current_target): Do not INHERIT to_doc or
10065 to_magic. Do not de_fault to_open or to_close.
10066
b427c1bc
TT
100672014-02-19 Tom Tromey <tromey@redhat.com>
10068
10069 * gcore.h (objfile_find_memory_regions): Declare.
10070 * gcore.c (objfile_find_memory_regions): No longer static. Add
10071 "self" argument.
10072 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10073 * exec.c: Include gcore.h.
10074 (exec_set_find_memory_regions): Remove.
10075 (exec_find_memory_regions): Remove.
10076 (exec_do_find_memory_regions): Remove.
10077 (init_exec_ops): Update.
10078 * defs.h (exec_set_find_memory_regions): Remove.
10079
9b144037
TT
100802014-02-19 Tom Tromey <tromey@redhat.com>
10081
10082 * target-delegates.c: Rebuild.
10083 * target.h (struct target_ops) <to_extra_thread_info,
10084 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10085 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10086 not 0, in TARGET_DEFAULT_RETURN.
10087
555bbdeb
TT
100882014-02-19 Tom Tromey <tromey@redhat.com>
10089
10090 * target.c (complete_target_initialization): Remove casts. Use
10091 return_zero_has_execution.
10092 (return_zero): Add "ignore" argument.
10093 (return_zero_has_execution): New function.
10094 (init_dummy_target): Remove casts. Use
10095 return_zero_has_execution.
10096
be4ddd36
TT
100972014-02-19 Tom Tromey <tromey@redhat.com>
10098
10099 * target.c (update_current_target): Update comments. Do not
10100 INHERIT to_stratum.
10101
2117c711
TT
101022014-02-19 Tom Tromey <tromey@redhat.com>
10103
10104 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10105 needed.
10106 * corelow.c (core_read_description): Delegate when needed.
10107 * remote.c (remote_read_description): Delegate when needed.
10108 * target-delegates.c: Rebuild.
10109 * target.c (target_read_description): Rewrite.
10110 * target.h (struct target_ops) <to_read_description>: Update
10111 comment. Use TARGET_DEFAULT_RETURN.
10112
e88ef65c
TT
101132014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target-delegates.c: Rebuild.
10116 * target.c (update_current_target): Don't inherit or default
10117 to_can_run.
10118 (find_default_run_target): Check against delegate_can_run.
10119 * target.h (struct target_ops) <to_can_run>: Use
10120 TARGET_DEFAULT_RETURN.
10121
86a0854a
TT
101222014-02-19 Tom Tromey <tromey@redhat.com>
10123
10124 * target-delegates.c: Rebuild.
10125 * target.c (target_disconnect): Unconditionally delegate.
10126 * target.h (struct target_ops) <to_disconnect>: Use
10127 TARGET_DEFAULT_NORETURN.
10128
ee97f592
TT
101292014-02-19 Tom Tromey <tromey@redhat.com>
10130
10131 * record.c (record_stop): Unconditionally delegate.
10132 * target-delegates.c: Rebuild.
10133 * target.c (target_stop_recording): Unconditionally delegate.
10134 * target.h (struct target_ops) <to_stop_recording>: Use
10135 TARGET_DEFAULT_IGNORE.
10136
6dc7fcf4
TT
101372014-02-19 Tom Tromey <tromey@redhat.com>
10138
10139 * target-delegates.c: Rebuild.
10140 * target.c (target_enable_btrace): Unconditionally delegate.
10141 * target.h (struct target_ops) <to_enable_btrace>: Use
10142 TARGET_DEFAULT_NORETURN.
10143
eb5b20d4
TT
101442014-02-19 Tom Tromey <tromey@redhat.com>
10145
10146 * target-delegates.c: Rebuild.
10147 * target.c (target_read_btrace): Unconditionally delegate.
10148 * target.h (struct target_ops) <to_read_btrace>: Use
10149 TARGET_DEFAULT_NORETURN.
10150
9ace480d
TT
101512014-02-19 Tom Tromey <tromey@redhat.com>
10152
10153 * target-delegates.c: Rebuild.
10154 * target.c (target_teardown_btrace): Unconditionally delegate.
10155 * target.h (struct target_ops) <to_teardown_btrace>: Use
10156 TARGET_DEFAULT_NORETURN.
10157
8dc292d3
TT
101582014-02-19 Tom Tromey <tromey@redhat.com>
10159
10160 * target-delegates.c: Rebuild.
10161 * target.c (target_disable_btrace): Unconditionally delegate.
10162 * target.h (struct target_ops) <to_disable_btrace>: Use
10163 TARGET_DEFAULT_NORETURN.
10164
58a5184e
TT
101652014-02-19 Tom Tromey <tromey@redhat.com>
10166
10167 * target-delegates.c: Rebuild.
10168 * target.c (default_search_memory): New function.
10169 (simple_search_memory): Update comment.
10170 (target_search_memory): Unconditionally delegate.
10171 * target.h (struct target_ops) <to_search_memory>: Use
10172 TARGET_DEFAULT_FUNC.
10173
8de71aab
TT
101742014-02-19 Tom Tromey <tromey@redhat.com>
10175
10176 * auxv.c (default_auxv_parse): No longer static.
10177 (target_auxv_parse): Unconditionally delegate.
10178 * auxv.h (default_auxv_parse): Declare.
10179 * target-delegates.c: Rebuild.
10180 * target.c: Include auxv.h.
10181 * target.h (struct target_ops) <to_auxv_parse>: Use
10182 TARGET_DEFAULT_FUNC.
10183
6b2c5a57
TT
101842014-02-19 Tom Tromey <tromey@redhat.com>
10185
10186 * target-delegates.c: Rebuild.
10187 * target.c (target_memory_map): Unconditionally delegate.
10188 * target.h (struct target_ops) <to_memory_map>: Use
10189 TARGET_DEFAULT_RETURN.
10190
cbffc065
TT
101912014-02-19 Tom Tromey <tromey@redhat.com>
10192
10193 * target-delegates.c: Rebuild.
10194 * target.c (target_thread_alive): Unconditionally delegate.
10195 * target.h (struct target_ops) <to_thread_alive>: Use
10196 TARGET_DEFAULT_RETURN.
10197
f09e2107
TT
101982014-02-19 Tom Tromey <tromey@redhat.com>
10199
10200 * target-delegates.c: Rebuild.
10201 * target.c (target_save_record): Unconditionally delegate.
10202 * target.h (struct target_ops) <to_save_record>: Use
10203 TARGET_DEFAULT_NORETURN.
10204
07366925
TT
102052014-02-19 Tom Tromey <tromey@redhat.com>
10206
10207 * target-delegates.c: Rebuild.
10208 * target.c (target_delete_record): Unconditionally delegate.
10209 * target.h (struct target_ops) <to_delete_record>: Use
10210 TARGET_DEFAULT_NORETURN.
10211
dd2e9d25
TT
102122014-02-19 Tom Tromey <tromey@redhat.com>
10213
10214 * target-delegates.c: Rebuild.
10215 * target.c (target_record_is_replaying): Unconditionally
10216 delegate.
10217 * target.h (struct target_ops) <to_record_is_replaying>: Use
10218 TARGET_DEFAULT_RETURN.
10219
671e76cc
TT
102202014-02-19 Tom Tromey <tromey@redhat.com>
10221
10222 * target-delegates.c: Rebuild.
10223 * target.c (target_goto_record_begin): Unconditionally delegate.
10224 * target.h (struct target_ops) <to_goto_record_begin>: Use
10225 TARGET_DEFAULT_NORETURN.
10226
e9179bb3
TT
102272014-02-19 Tom Tromey <tromey@redhat.com>
10228
10229 * target-delegates.c: Rebuild.
10230 * target.c (target_goto_record_end): Unconditionally delegate.
10231 * target.h (struct target_ops) <to_goto_record_end>: Use
10232 TARGET_DEFAULT_NORETURN.
10233
05969c84
TT
102342014-02-19 Tom Tromey <tromey@redhat.com>
10235
10236 * target-delegates.c: Rebuild.
10237 * target.c (target_goto_record): Unconditionally delegate.
10238 * target.h (struct target_ops) <to_goto_record>: Use
10239 TARGET_DEFAULT_NORETURN.
10240
3679abfa
TT
102412014-02-19 Tom Tromey <tromey@redhat.com>
10242
10243 * target-delegates.c: Rebuild.
10244 * target.c (target_insn_history): Unconditionally delegate.
10245 * target.h (struct target_ops) <to_insn_history>: Use
10246 TARGET_DEFAULT_NORETURN.
10247
8444ab58
TT
102482014-02-19 Tom Tromey <tromey@redhat.com>
10249
10250 * target-delegates.c: Rebuild.
10251 * target.c (target_insn_history_from): Unconditionally delegate.
10252 * target.h (struct target_ops) <to_insn_history_from>: Use
10253 TARGET_DEFAULT_NORETURN.
10254
c29302cc
TT
102552014-02-19 Tom Tromey <tromey@redhat.com>
10256
10257 * target-delegates.c: Rebuild.
10258 * target.c (target_insn_history_range): Unconditionally delegate.
10259 * target.h (struct target_ops) <to_insn_history_range>: Use
10260 TARGET_DEFAULT_NORETURN.
10261
170049d4
TT
102622014-02-19 Tom Tromey <tromey@redhat.com>
10263
10264 * target-delegates.c: Rebuild.
10265 * target.c (target_call_history): Unconditionally delegate.
10266 * target.h (struct target_ops) <to_call_history>: Use
10267 TARGET_DEFAULT_NORETURN.
10268
16fc27d6
TT
102692014-02-19 Tom Tromey <tromey@redhat.com>
10270
10271 * target-delegates.c: Rebuild.
10272 * target.c (target_call_history_from): Unconditionally delegate.
10273 * target.h (struct target_ops) <to_call_history_from>: Use
10274 TARGET_DEFAULT_NORETURN.
10275
115d9817
TT
102762014-02-19 Tom Tromey <tromey@redhat.com>
10277
10278 * target-delegates.c: Rebuild.
10279 * target.c (target_call_history_range): Unconditionally delegate.
10280 * target.h (struct target_ops) <to_call_history_range>: Use
10281 TARGET_DEFAULT_NORETURN.
10282
eb276a6b
TT
102832014-02-19 Tom Tromey <tromey@redhat.com>
10284
10285 * target-delegates.c: Rebuild.
10286 * target.c (target_verify_memory): Unconditionally delegate.
10287 * target.h (struct target_ops) <to_verify_memory>: Use
10288 TARGET_DEFAULT_NORETURN.
10289
9e538d0d
TT
102902014-02-19 Tom Tromey <tromey@redhat.com>
10291
10292 * target-delegates.c: Rebuild.
10293 * target.c (target_core_of_thread): Unconditionally delegate.
10294 * target.h (struct target_ops) <to_core_of_thread>: Use
10295 TARGET_DEFAULT_RETURN.
10296
f6fb2925
TT
102972014-02-19 Tom Tromey <tromey@redhat.com>
10298
10299 * target-delegates.c: Rebuild.
10300 * target.c (target_flash_done): Unconditionally delegate.
10301 * target.h (struct target_ops) <to_flash_done>: Use
10302 TARGET_DEFAULT_NORETURN.
10303
e8a6c6ac
TT
103042014-02-19 Tom Tromey <tromey@redhat.com>
10305
10306 * target-delegates.c: Rebuild.
10307 * target.c (target_flash_erase): Unconditionally delegate.
10308 * target.h (struct target_ops) <to_flash_erase>: Use
10309 TARGET_DEFAULT_NORETURN.
10310
7e35c012
TT
103112014-02-19 Tom Tromey <tromey@redhat.com>
10312
10313 * target-delegates.c: Rebuild.
10314 * target.c (target_get_section_table): Unconditionally delegate.
10315 * target.h (struct target_ops) <to_get_section_table>: Use
10316 TARGET_DEFAULT_RETURN.
10317
770234d3
TT
103182014-02-19 Tom Tromey <tromey@redhat.com>
10319
10320 * target-delegates.c: Rebuild.
10321 * target.c (target_pid_to_str): Unconditionally delegate.
10322 (init_dummy_target): Don't initialize to_pid_to_str.
10323 (default_pid_to_str): Rename from dummy_pid_to_str.
10324 * target.h (struct target_ops) <to_pid_to_str>: Use
10325 TARGET_DEFAULT_FUNC.
10326
09b0dc2b
TT
103272014-02-19 Tom Tromey <tromey@redhat.com>
10328
10329 * target-delegates.c: Rebuild.
10330 * target.c (target_find_new_threads): Unconditionally delegate.
10331 * target.h (struct target_ops) <to_find_new_threads>: Use
10332 TARGET_DEFAULT_RETURN.
10333
7d4f8efa
TT
103342014-02-19 Tom Tromey <tromey@redhat.com>
10335
10336 * target-delegates.c: Rebuild.
10337 * target.c (target_program_signals): Unconditionally delegate.
10338 * target.h (struct target_ops) <to_program_signals>: Use
10339 TARGET_DEFAULT_IGNORE.
10340
035cad7f
TT
103412014-02-19 Tom Tromey <tromey@redhat.com>
10342
10343 * target-delegates.c: Rebuild.
10344 * target.c (target_pass_signals): Unconditionally delegate.
10345 * target.h (struct target_ops) <to_pass_signals>: Use
10346 TARGET_DEFAULT_IGNORE.
10347
8d657035
TT
103482014-02-19 Tom Tromey <tromey@redhat.com>
10349
10350 * target-delegates.c: Rebuild.
10351 * target.c (default_mourn_inferior): New function.
10352 (target_mourn_inferior): Unconditionally delegate.
10353 * target.h (struct target_ops) <to_mourn_inferior>: Use
10354 TARGET_DEFAULT_FUNC.
10355
098dba18
TT
103562014-02-19 Tom Tromey <tromey@redhat.com>
10357
10358 * target-delegates.c: Rebuild.
10359 * target.c (default_follow_fork): New function.
10360 (target_follow_fork): Unconditionally delegate.
10361 * target.h (struct target_ops) <to_follow_fork>: Use
10362 TARGET_DEFAULT_FUNC.
10363
423a4807
TT
103642014-02-19 Tom Tromey <tromey@redhat.com>
10365
10366 * target-delegates.c: Rebuild.
10367 * target.c (target_kill): Unconditionally delegate.
10368 * target.h (struct target_ops) <to_kill>: Use
10369 TARGET_DEFAULT_NORETURN.
10370
6c7e5e5c
TT
103712014-02-19 Tom Tromey <tromey@redhat.com>
10372
10373 * target-delegates.c: Rebuild.
10374 * target.c (target_masked_watch_num_registers): Unconditionally
10375 delegate.
10376 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10377 Use TARGET_DEFAULT_RETURN.
10378
8b1c364c
TT
103792014-02-19 Tom Tromey <tromey@redhat.com>
10380
10381 * target-delegates.c: Rebuild.
10382 * target.c (target_remove_mask_watchpoint): Unconditionally
10383 delegate.
10384 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10385 TARGET_DEFAULT_RETURN.
10386
cd4ae029
TT
103872014-02-19 Tom Tromey <tromey@redhat.com>
10388
10389 * target-delegates.c: Rebuild.
10390 * target.c (target_insert_mask_watchpoint): Unconditionally
10391 delegate.
10392 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10393 TARGET_DEFAULT_RETURN.
10394
a134316b
TT
103952014-02-19 Tom Tromey <tromey@redhat.com>
10396
10397 * target-delegates.c: Rebuild.
10398 * target.c (target_ranged_break_num_registers): Unconditionally
10399 delegate.
10400 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10401 Use TARGET_DEFAULT_RETURN.
10402
ad5989bd
TT
104032014-02-19 Tom Tromey <tromey@redhat.com>
10404
10405 * target-delegates.c: Rebuild.
10406 * target.c (target_fetch_registers): Unconditionally delegate.
10407 * target.h (struct target_ops) <to_fetch_registers>: Use
10408 TARGET_DEFAULT_NORETURN.
10409
46ee7e8d
TT
104102014-02-19 Tom Tromey <tromey@redhat.com>
10411
10412 * target-delegates.c: Rebuild.
10413 * target.c (update_current_target): Don't inherit or default
10414 to_stop.
10415 * target.h (struct target_ops) <to_stop>: Use
10416 TARGET_DEFAULT_IGNORE.
10417
843f59ed
TT
104182014-02-19 Tom Tromey <tromey@redhat.com>
10419
10420 * target-delegates.c: Rebuild.
10421 * target.c (update_current_target): Don't inherit or default
10422 to_can_run_breakpoint_commands.
10423 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10424 Use TARGET_DEFAULT_RETURN.
10425
ccfde2a0
TT
104262014-02-19 Tom Tromey <tromey@redhat.com>
10427
10428 * target-delegates.c: Rebuild.
10429 * target.c (update_current_target): Don't inherit or default
10430 to_supports_evaluation_of_breakpoint_conditions.
10431 * target.h (struct target_ops)
10432 <to_supports_evaluation_of_breakpoint_conditions>: Use
10433 TARGET_DEFAULT_RETURN.
10434
0de91722
TT
104352014-02-19 Tom Tromey <tromey@redhat.com>
10436
10437 * target-delegates.c: Rebuild.
10438 * target.c (update_current_target): Don't inherit or default
10439 to_augmented_libraries_svr4_read.
10440 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10441 Use TARGET_DEFAULT_RETURN.
10442
9a7d8b48
TT
104432014-02-19 Tom Tromey <tromey@redhat.com>
10444
10445 * target-delegates.c: Rebuild.
10446 * target.c (update_current_target): Don't inherit or default
10447 to_can_use_agent.
10448 * target.h (struct target_ops) <to_can_use_agent>: Use
10449 TARGET_DEFAULT_RETURN.
10450
d9db5b21
TT
104512014-02-19 Tom Tromey <tromey@redhat.com>
10452
10453 * target-delegates.c: Rebuild.
10454 * target.c (update_current_target): Don't inherit or default
10455 to_use_agent.
10456 * target.h (struct target_ops) <to_use_agent>: Use
10457 TARGET_DEFAULT_NORETURN.
10458
92155eeb
TT
104592014-02-19 Tom Tromey <tromey@redhat.com>
10460
10461 * target-delegates.c: Rebuild.
10462 * target.c (update_current_target): Don't inherit or default
10463 to_traceframe_info.
10464 (return_null): Remove.
10465 * target.h (struct target_ops) <to_traceframe_info>: Use
10466 TARGET_DEFAULT_RETURN.
10467
d6522a22
TT
104682014-02-19 Tom Tromey <tromey@redhat.com>
10469
10470 * target-delegates.c: Rebuild.
10471 * target.c (update_current_target): Don't inherit or default
10472 to_static_tracepoint_markers_by_strid.
10473 * target.h (struct target_ops)
10474 <to_static_tracepoint_markers_by_strid>: Use
10475 TARGET_DEFAULT_NORETURN.
10476
4c3e4425
TT
104772014-02-19 Tom Tromey <tromey@redhat.com>
10478
10479 * target-delegates.c: Rebuild.
10480 * target.c (update_current_target): Don't inherit or default
10481 to_static_tracepoint_marker_at.
10482 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10483 Use TARGET_DEFAULT_RETURN.
10484
dcd6917f
TT
104852014-02-19 Tom Tromey <tromey@redhat.com>
10486
10487 * target-delegates.c: Rebuild.
10488 * target.c (update_current_target): Don't inherit or default
10489 to_set_permissions.
10490 * target.h (struct target_ops) <to_set_permissions>: Use
10491 TARGET_DEFAULT_IGNORE.
10492
22bcceee
TT
104932014-02-19 Tom Tromey <tromey@redhat.com>
10494
10495 * target-delegates.c: Rebuild.
10496 * target.c (update_current_target): Don't inherit or default
10497 to_get_tib_address.
10498 * target.h (struct target_ops) <to_get_tib_address>: Use
10499 TARGET_DEFAULT_NORETURN.
10500
8586ccaa
TT
105012014-02-19 Tom Tromey <tromey@redhat.com>
10502
10503 * target-delegates.c: Rebuild.
10504 * target.c (update_current_target): Don't inherit or default
10505 to_set_trace_notes.
10506 * target.h (struct target_ops) <to_set_trace_notes>: Use
10507 TARGET_DEFAULT_RETURN.
10508
91df8d1d
TT
105092014-02-19 Tom Tromey <tromey@redhat.com>
10510
10511 * target-delegates.c: Rebuild.
10512 * target.c (update_current_target): Don't initialize
10513 to_set_trace_buffer_size.
10514 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10515 TARGET_DEFAULT_IGNORE.
10516
8d526939
TT
105172014-02-19 Tom Tromey <tromey@redhat.com>
10518
10519 * target-delegates.c: Rebuild.
10520 * target.c (update_current_target): Don't inherit or default
10521 to_set_circular_trace_buffer.
10522 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10523 TARGET_DEFAULT_IGNORE.
10524
0bcfeddf
TT
105252014-02-19 Tom Tromey <tromey@redhat.com>
10526
10527 * target-delegates.c: Rebuild.
10528 * target.c (update_current_target): Don't inherit or default
10529 to_set_disconnected_tracing.
10530 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10531 TARGET_DEFAULT_IGNORE.
10532
9249843f
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_get_min_fast_tracepoint_insn_len.
10538 (return_minus_one): Remove.
10539 * target.h (struct target_ops)
10540 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10541
ace92e7d
TT
105422014-02-19 Tom Tromey <tromey@redhat.com>
10543
10544 * target-delegates.c: Rebuild.
10545 * target.c (update_current_target): Don't inherit or default
10546 to_get_raw_trace_data.
10547 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10548 TARGET_DEFAULT_NORETURN.
10549
08120467
TT
105502014-02-19 Tom Tromey <tromey@redhat.com>
10551
10552 * target-delegates.c: Rebuild.
10553 * target.c (update_current_target): Don't inherit or default
10554 to_upload_trace_state_variables.
10555 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10556 Use TARGET_DEFAULT_RETURN.
10557
1e949b00
TT
105582014-02-19 Tom Tromey <tromey@redhat.com>
10559
10560 * target-delegates.c: Rebuild.
10561 * target.c (update_current_target): Don't inherit or default
10562 to_upload_tracepoints.
10563 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10564 TARGET_DEFAULT_RETURN.
10565
a2e6c147
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_save_trace_data.
10571 * target.h (struct target_ops) <to_save_trace_data>: Use
10572 TARGET_DEFAULT_NORETURN.
10573
959bcd0b
TT
105742014-02-19 Tom Tromey <tromey@redhat.com>
10575
10576 * target-delegates.c: Rebuild.
10577 * target.c (update_current_target): Don't inherit or default
10578 to_get_trace_state_variable_value.
10579 * target.h (struct target_ops)
10580 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10581
afc94e66
TT
105822014-02-19 Tom Tromey <tromey@redhat.com>
10583
10584 * target-delegates.c: Rebuild.
10585 * target.c (update_current_target): Don't inherit or default
10586 to_trace_find.
10587 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10588
e51c07ea
TT
105892014-02-19 Tom Tromey <tromey@redhat.com>
10590
10591 * target-delegates.c: Rebuild.
10592 * target.c (update_current_target): Don't inherit or default
10593 to_trace_stop.
10594 * target.h (struct target_ops) <to_trace_stop>: Use
10595 TARGET_DEFAULT_NORETURN.
10596
6fea14cd
TT
105972014-02-19 Tom Tromey <tromey@redhat.com>
10598
10599 * target-delegates.c: Rebuild.
10600 * target.c (update_current_target): Don't inherit or default
10601 to_get_tracepoint_status.
10602 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10603 TARGET_DEFAULT_NORETURN.
10604
4072d4ff
TT
106052014-02-19 Tom Tromey <tromey@redhat.com>
10606
10607 * target-delegates.c: Rebuild.
10608 * target.c (update_current_target): Don't inherit or default
10609 to_get_trace_status.
10610 * target.h (struct target_ops) <to_get_trace_status>: Use
10611 TARGET_DEFAULT_RETURN.
10612
25da2e80
TT
106132014-02-19 Tom Tromey <tromey@redhat.com>
10614
10615 * target-delegates.c: Rebuild.
10616 * target.c (update_current_target): Don't inherit or default
10617 to_trace_start.
10618 * target.h (struct target_ops) <to_trace_start>: Use
10619 TARGET_DEFAULT_NORETURN.
10620
86dd181d
TT
106212014-02-19 Tom Tromey <tromey@redhat.com>
10622
10623 * target-delegates.c: Rebuild.
10624 * target.c (update_current_target): Don't inherit or default
10625 to_trace_set_readonly_regions.
10626 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10627 Use TARGET_DEFAULT_NORETURN.
10628
05c41993
TT
106292014-02-19 Tom Tromey <tromey@redhat.com>
10630
10631 * target-delegates.c: Rebuild.
10632 * target.c (update_current_target): Don't inherit or default
10633 to_disable_tracepoint.
10634 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10635 TARGET_DEFAULT_NORETURN.
10636
151f70f1
TT
106372014-02-19 Tom Tromey <tromey@redhat.com>
10638
10639 * target-delegates.c: Rebuild.
10640 * target.c (update_current_target): Don't inherit or default
10641 to_enable_tracepoint.
10642 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10643 TARGET_DEFAULT_NORETURN.
10644
94eb98b9
TT
106452014-02-19 Tom Tromey <tromey@redhat.com>
10646
10647 * target-delegates.c: Rebuild.
10648 * target.c (update_current_target): Don't inherit or default
10649 to_download_trace_state_variable.
10650 * target.h (struct target_ops) <to_download_trace_state_variable>:
10651 Use TARGET_DEFAULT_NORETURN.
10652
719acc4a
TT
106532014-02-19 Tom Tromey <tromey@redhat.com>
10654
10655 * target-delegates.c: Rebuild.
10656 * target.c (update_current_target): Don't inherit or default
10657 to_can_download_tracepoint.
10658 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10659 TARGET_DEFAULT_RETURN.
10660
9a980a22
TT
106612014-02-19 Tom Tromey <tromey@redhat.com>
10662
10663 * target-delegates.c: Rebuild.
10664 * target.c (update_current_target): Don't inherit or default
10665 to_download_tracepoint.
10666 * target.h (struct target_ops) <to_download_tracepoint>: Use
10667 TARGET_DEFAULT_NORETURN.
10668
5536135b
TT
106692014-02-19 Tom Tromey <tromey@redhat.com>
10670
10671 * target-delegates.c: Rebuild.
10672 * target.c (update_current_target): Don't inherit or default
10673 to_trace_init.
10674 * target.h (struct target_ops) <to_trace_init>: Use
10675 TARGET_DEFAULT_RETURN.
10676
9409d39e
TT
106772014-02-19 Tom Tromey <tromey@redhat.com>
10678
10679 * target-delegates.c: Rebuild.
10680 * target.c (update_current_target): Don't inherit or default
10681 to_supports_string_tracing.
10682 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10683 TARGET_DEFAULT_RETURN.
10684
aab1b22d
TT
106852014-02-19 Tom Tromey <tromey@redhat.com>
10686
10687 * target-delegates.c: Rebuild.
10688 * target.c (update_current_target): Don't inherit or default
10689 to_supports_enable_disable_tracepoint.
10690 * target.h (struct target_ops)
10691 <to_supports_enable_disable_tracepoint>: Use
10692 TARGET_DEFAULT_RETURN.
10693
a7304748
TT
106942014-02-19 Tom Tromey <tromey@redhat.com>
10695
10696 * target-delegates.c: Rebuild.
10697 * target.c (update_current_target): Don't inherit or default
10698 to_supports_multi_process.
10699 * target.h (struct target_ops) <to_supports_multi_process>: Use
10700 TARGET_DEFAULT_RETURN.
10701
4229b31d
TT
107022014-02-19 Tom Tromey <tromey@redhat.com>
10703
10704 * target-delegates.c: Rebuild.
10705 * target.c (update_current_target): Don't inherit or default
10706 to_get_ada_task_ptid.
10707 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10708 TARGET_DEFAULT_FUNC.
10709
43eba180
TT
107102014-02-19 Tom Tromey <tromey@redhat.com>
10711
10712 * target-delegates.c: Rebuild.
10713 * target.c (update_current_target): Don't inherit or default
10714 to_thread_architecture.
10715 * target.h (struct target_ops) <to_thread_architecture>: Use
10716 TARGET_DEFAULT_FUNC.
10717
fe31bf5b
TT
107182014-02-19 Tom Tromey <tromey@redhat.com>
10719
10720 * target-delegates.c: Rebuild.
10721 * target.c (update_current_target): Don't inherit or default
10722 to_execution_direction.
10723 * target.h (struct target_ops) <to_execution_direction>: Use
10724 TARGET_DEFAULT_FUNC.
10725
53e1cfc7
TT
107262014-02-19 Tom Tromey <tromey@redhat.com>
10727
10728 * target-delegates.c: Rebuild.
10729 * target.c (update_current_target): Don't inherit or default
10730 to_can_execute_reverse.
10731 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10732 TARGET_DEFAULT_RETURN.
10733 (target_can_execute_reverse): Unconditionally delegate.
10734
9bb9d61d
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_goto_bookmark.
10740 (dummy_goto_bookmark): Remove.
10741 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10742 * target.h (struct target_ops) <to_goto_bookmark>: Use
10743 TARGET_DEFAULT_NORETURN.
10744
3dbafbbb
TT
107452014-02-19 Tom Tromey <tromey@redhat.com>
10746
10747 * target-delegates.c: Rebuild.
10748 * target.c (update_current_target): Don't inherit or default
10749 to_get_bookmark.
10750 (dummy_get_bookmark): Remove.
10751 (init_dummy_target): Don't inherit or default to_get_bookmark.
10752 * target.h (struct target_ops) <to_get_bookmark>: Use
10753 TARGET_DEFAULT_NORETURN
10754
16f796b1
TT
107552014-02-19 Tom Tromey <tromey@redhat.com>
10756
10757 * target-delegates.c: Rebuild.
10758 * target.c (update_current_target): Don't inherit or default
10759 to_make_corefile_notes.
10760 (init_dummy_target): Don't initialize to_make_corefile_notes.
10761 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10762 TARGET_DEFAULT_FUNC.
10763
0b5a2719
TT
107642014-02-19 Tom Tromey <tromey@redhat.com>
10765
10766 * target-delegates.c: Rebuild.
10767 * target.c (update_current_target): Don't inherit or default
10768 to_find_memory_regions.
10769 (init_dummy_target): Don't initialize to_find_memory_regions.
10770 * target.h (struct target_ops) <to_find_memory_regions>: Use
10771 TARGET_DEFAULT_FUNC.
10772
d9cb0195
TT
107732014-02-19 Tom Tromey <tromey@redhat.com>
10774
10775 * target-delegates.c: Rebuild.
10776 * target.c (update_current_target): Don't inherit or default
10777 to_log_command.
10778 * target.h (struct target_ops) <to_log_command>: Use
10779 TARGET_DEFAULT_IGNORE.
10780 (target_log_command): Unconditionally delegate.
10781
830ca330
TT
107822014-02-19 Tom Tromey <tromey@redhat.com>
10783
10784 * target-delegates.c: Rebuild.
10785 * target.c (update_current_target): Don't inherit or default
10786 to_pid_to_exec_file.
10787 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10788 TARGET_DEFAULT_RETURN.
10789
825828fc
TT
107902014-02-19 Tom Tromey <tromey@redhat.com>
10791
10792 * target-delegates.c: Rebuild.
10793 * target.c (update_current_target): Don't inherit or default
10794 to_thread_name.
10795 (target_thread_name): Unconditionally delegate.
10796 * target.h (struct target_ops) <to_thread_name>: Use
10797 TARGET_DEFAULT_RETURN.
10798
4a7e6dda
TT
107992014-02-19 Tom Tromey <tromey@redhat.com>
10800
10801 * target-delegates.c: Rebuild.
10802 * target.c (update_current_target): Don't inherit or default
10803 to_extra_thread_info.
10804 * target.h (struct target_ops) <to_extra_thread_info>: Use
10805 TARGET_DEFAULT_RETURN.
10806
0db88c1d
TT
108072014-02-19 Tom Tromey <tromey@redhat.com>
10808
10809 * target-delegates.c: Rebuild.
10810 * target.c (update_current_target): Don't inherit or default
10811 to_has_exited.
10812 * target.h (struct target_ops) <to_has_exited>: Use
10813 TARGET_DEFAULT_RETURN..
10814
6a9fa051
TT
108152014-02-19 Tom Tromey <tromey@redhat.com>
10816
10817 * target-delegates.c: Rebuild.
10818 * target.c (update_current_target): Don't inherit or default
10819 to_set_syscall_catchpoint.
10820 (return_one): Remove.
10821 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10822 TARGET_DEFAULT_RETURN.
10823
62f64d7a
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_insert_exec_catchpoint.
10829 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10830 TARGET_DEFAULT_RETURN.
10831
cda0f38c
TT
108322014-01-08 Tom Tromey <tromey@redhat.com>
10833
10834 * target-delegates.c: Rebuild.
10835 * target.c (update_current_target): Don't inherit or default
10836 to_insert_exec_catchpoint.
10837 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10838 TARGET_DEFAULT_RETURN.
10839
95c3375e
TT
108402014-02-19 Tom Tromey <tromey@redhat.com>
10841
10842 * target-delegates.c: Rebuild.
10843 * target.c (update_current_target): Don't inherit or default
10844 to_remove_vfork_catchpoint.
10845 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10846 TARGET_DEFAULT_RETURN.
10847
7e18a8dc
TT
108482014-02-19 Tom Tromey <tromey@redhat.com>
10849
10850 * target-delegates.c: Rebuild.
10851 * target.c (update_current_target): Don't inherit or default
10852 to_insert_vfork_catchpoint.
10853 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10854 TARGET_DEFAULT_RETURN.
10855
e1a21fb7
TT
108562014-02-19 Tom Tromey <tromey@redhat.com>
10857
10858 * target-delegates.c: Rebuild.
10859 * target.c (update_current_target): Don't inherit or default
10860 to_remove_fork_catchpoint.
10861 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10862 TARGET_DEFAULT_RETURN.
10863
5958ebeb
TT
108642014-02-19 Tom Tromey <tromey@redhat.com>
10865
10866 * target-delegates.c: Rebuild.
10867 * target.c (update_current_target): Don't inherit or default
10868 to_insert_fork_catchpoint.
10869 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10870 TARGET_DEFAULT_RETURN.
10871
340ba4bf
TT
108722014-02-19 Tom Tromey <tromey@redhat.com>
10873
10874 * target-delegates.c: Rebuild.
10875 * target.c (update_current_target): Don't inherit or default
10876 to_post_startup_inferior.
10877 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10878 TARGET_DEFAULT_IGNORE.
10879
7634da87
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_load.
10885 * target.h (struct target_ops) <to_load>: Use
10886 TARGET_DEFAULT_NORETURN.
10887
e19e919f
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_terminal_info.
10893 * target.h (struct target_ops) <to_terminal_info>: Use
10894 TARGET_DEFAULT_FUNC.
10895
c6ea8f79
TT
108962014-02-19 Tom Tromey <tromey@redhat.com>
10897
10898 * target-delegates.c: Rebuild.
10899 * target.c (update_current_target): Don't inherit or default
10900 to_terminal_save_ours.
10901 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10902 TARGET_DEFAULT_IGNORE.
10903
e4a733f1
TT
109042014-02-19 Tom Tromey <tromey@redhat.com>
10905
10906 * target-delegates.c: Rebuild.
10907 * target.c (update_current_target): Don't inherit or default
10908 to_terminal_ours.
10909 * target.h (struct target_ops) <to_terminal_ours>: Use
10910 TARGET_DEFAULT_IGNORE.
10911
74fcbef9
TT
109122014-02-19 Tom Tromey <tromey@redhat.com>
10913
10914 * target-delegates.c: Rebuild.
10915 * target.c (update_current_target): Don't inherit or default
10916 to_terminal_ours_for_output.
10917 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10918 TARGET_DEFAULT_IGNORE.
10919
ddeaacc9
TT
109202014-02-19 Tom Tromey <tromey@redhat.com>
10921
10922 * target-delegates.c: Rebuild.
10923 * target.c (update_current_target): Don't inherit or default
10924 to_terminal_inferior.
10925 * target.h (struct target_ops) <to_terminal_inferior>: Use
10926 TARGET_DEFAULT_IGNORE.
10927
0343661d
TT
109282014-02-19 Tom Tromey <tromey@redhat.com>
10929
10930 * target-delegates.c: Rebuild.
10931 * target.c (update_current_target): Don't inherit or default
10932 to_terminal_init.
10933 * target.h (struct target_ops) <to_terminal_init>: Use
10934 TARGET_DEFAULT_IGNORE.
10935
77cdffe9
TT
109362014-02-19 Tom Tromey <tromey@redhat.com>
10937
10938 * target-delegates.c: Rebuild.
10939 * target.c (update_current_target): Don't inherit or default
10940 to_can_accel_watchpoint_condition.
10941 * target.h (struct target_ops)
10942 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10943
d03655e4
TT
109442014-02-19 Tom Tromey <tromey@redhat.com>
10945
10946 * target-delegates.c: Rebuild.
10947 * target.c (update_current_target): Don't inherit or default
10948 to_region_ok_for_hw_watchpoint.
10949 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10950 Use TARGET_DEFAULT_FUNC.
10951
65f160a9
TT
109522014-02-19 Tom Tromey <tromey@redhat.com>
10953
10954 * target-delegates.c: Rebuild.
10955 * target.c (update_current_target): Don't inherit or default
10956 to_watchpoint_addr_within_range.
10957 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10958 Use TARGET_DEFAULT_FUNC.
10959
61dd109f
TT
109602014-02-19 Tom Tromey <tromey@redhat.com>
10961
10962 * target-delegates.c: Rebuild.
10963 * target.c (update_current_target): Don't inherit or default
10964 to_remove_watchpoint.
10965 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10966 TARGET_DEFAULT_NORETURN.
10967
016facd4
TT
109682014-02-19 Tom Tromey <tromey@redhat.com>
10969
10970 * target-delegates.c: Rebuild.
10971 * target.c (update_current_target): Don't inherit or default
10972 to_insert_watchpoint.
10973 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10974 TARGET_DEFAULT_RETURN.
10975
418dabac
TT
109762014-02-19 Tom Tromey <tromey@redhat.com>
10977
10978 * target-delegates.c: Rebuild.
10979 * target.c (update_current_target): Don't inherit or default
10980 to_remove_hw_breakpoint.
10981 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10982 TARGET_DEFAULT_RETURN.
10983
61b371f9
TT
109842014-02-19 Tom Tromey <tromey@redhat.com>
10985
10986 * target-delegates.c: Rebuild.
10987 * target.c (update_current_target): Don't inherit or default
10988 to_insert_hw_breakpoint.
10989 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10990 TARGET_DEFAULT_RETURN.
10991
52b51d06
TT
109922014-02-19 Tom Tromey <tromey@redhat.com>
10993
10994 * target-delegates.c: Rebuild.
10995 * target.c (update_current_target): Don't inherit or default
10996 to_can_use_hw_breakpoint.
10997 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10998 TARGET_DEFAULT_RETURN.
10999
f86e59b2
TT
110002014-02-19 Tom Tromey <tromey@redhat.com>
11001
11002 * target-delegates.c: Rebuild.
11003 * target.c (update_current_target): Don't inherit or default
11004 to_files_info.
11005 * target.h (struct target_ops) <to_files_info>: Use
11006 TARGET_DEFAULT_IGNORE.
11007
6c628163
TT
110082014-02-19 Tom Tromey <tromey@redhat.com>
11009
11010 * target-delegates.c: Rebuild.
11011 * target.c (update_current_target): Don't inherit or default
11012 to_store.
11013 * target.h (struct target_ops) <to_store>: Use
11014 TARGET_DEFAULT_NORETURN.
11015
bebd3233
TT
110162014-02-19 Tom Tromey <tromey@redhat.com>
11017
11018 * target-delegates.c: Rebuild.
11019 * target.c (update_current_target): Don't inherit or default
11020 to_post_attach.
11021 * target.h (struct target_ops) <to_post_attach>: Use
11022 TARGET_DEFAULT_IGNORE.
11023
a53f3625
TT
110242014-02-19 Tom Tromey <tromey@redhat.com>
11025
11026 * target-delegates.c: Rebuild.
11027 * target.c (update_current_target): Don't inherit or default
11028 to_rcmd.
11029 (default_rcmd): New function.
11030 (do_monitor_command): Unconditionally delegate.
11031 * target.h (struct target_ops) <to_rmcd>: Use
11032 TARGET_DEFAULT_FUNC.
11033
e9a29200
TT
110342014-02-19 Tom Tromey <tromey@redhat.com>
11035
11036 * target-delegates.c: Rebuild.
11037 * target.c (init_dummy_target): Don't initialize to_attach.
11038 (target_attach): Unconditionally delegate.
11039 * target.h (struct target_ops) <to_attach>: Use
11040 TARGET_DEFAULT_FUNC.
11041
09da0d0a
TT
110422014-02-19 Tom Tromey <tromey@redhat.com>
11043
11044 * target-delegates.c: Rebuild.
11045 * target.c (target_detach): Unconditionally delegate.
11046 (init_dummy_target): Don't initialize to_detach.
11047 * target.h (struct target_ops) <to_detach>: Use
11048 TARGET_DEFAULT_IGNORE.
11049
5436ff03
TT
110502014-02-19 Tom Tromey <tromey@redhat.com>
11051
11052 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11053 Add argument.
11054 (target_augmented_libraries_svr4_read): Add argument.
11055 * target.c (update_current_target): Update.
11056 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11057 argument.
11058
f0d960ea
TT
110592014-02-19 Tom Tromey <tromey@redhat.com>
11060
11061 * target.h (struct target_ops) <to_call_history_range>: Add
11062 argument.
11063 * target.c (target_call_history_range): Add argument.
11064 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11065 argument.
11066 (record_btrace_call_history_from): Update.
11067
ec0aea04
TT
110682014-02-19 Tom Tromey <tromey@redhat.com>
11069
11070 * target.h (struct target_ops) <to_call_history_from>: Add
11071 argument.
11072 * target.c (target_call_history_from): Add argument.
11073 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11074 argument.
11075
5df2fcba
TT
110762014-02-19 Tom Tromey <tromey@redhat.com>
11077
11078 * target.h (struct target_ops) <to_call_history>: Add argument.
11079 * target.c (target_call_history): Add argument.
11080 * record-btrace.c (record_btrace_call_history): Add 'self'
11081 argument.
11082
4e99c6b7
TT
110832014-02-19 Tom Tromey <tromey@redhat.com>
11084
11085 * target.h (struct target_ops) <to_insn_history_range>: Add
11086 argument.
11087 * target.c (target_insn_history_range): Add argument.
11088 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11089 argument.
11090 (record_btrace_insn_history_from): Update.
11091
9abc3ff3
TT
110922014-02-19 Tom Tromey <tromey@redhat.com>
11093
11094 * target.h (struct target_ops) <to_insn_history_from>: Add
11095 argument.
11096 * target.c (target_insn_history_from): Add argument.
11097 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11098 argument.
11099
7a6c5609
TT
111002014-02-19 Tom Tromey <tromey@redhat.com>
11101
11102 * target.h (struct target_ops) <to_insn_history>: Add argument.
11103 * target.c (target_insn_history): Add argument.
11104 * record-btrace.c (record_btrace_insn_history): Add 'self'
11105 argument.
11106
606183ac
TT
111072014-02-19 Tom Tromey <tromey@redhat.com>
11108
11109 * target.h (struct target_ops) <to_goto_record>: Add argument.
11110 * target.c (target_goto_record): Add argument.
11111 * record-full.c (record_full_goto): Add 'self' argument.
11112 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11113
307a1b91
TT
111142014-02-19 Tom Tromey <tromey@redhat.com>
11115
11116 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11117 * target.c (target_goto_record_end): Add argument.
11118 * record-full.c (record_full_goto_end): Add 'self' argument.
11119 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11120
08475817
TT
111212014-02-19 Tom Tromey <tromey@redhat.com>
11122
11123 * target.h (struct target_ops) <to_goto_record_begin>: Add
11124 argument.
11125 * target.c (target_goto_record_begin): Add argument.
11126 * record-full.c (record_full_goto_begin): Add 'self' argument.
11127 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11128 argument.
11129
1c63c994
TT
111302014-02-19 Tom Tromey <tromey@redhat.com>
11131
11132 * target.h (struct target_ops) <to_record_is_replaying>: Add
11133 argument.
11134 * target.c (target_record_is_replaying): Add argument.
11135 * record-full.c (record_full_is_replaying): Add 'self' argument.
11136 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11137 argument.
11138 (record_btrace_xfer_partial, record_btrace_store_registers)
11139 (record_btrace_prepare_to_store, record_btrace_resume)
11140 (record_btrace_wait, record_btrace_decr_pc_after_break)
11141 (record_btrace_find_new_threads, record_btrace_thread_alive):
11142 Update.
11143
d1b55219
TT
111442014-02-19 Tom Tromey <tromey@redhat.com>
11145
11146 * target.h (struct target_ops) <to_delete_record>: Add argument.
11147 * target.c (target_delete_record): Add argument.
11148 * record-full.c (record_full_delete): Add 'self' argument.
11149
1390f529
TT
111502014-02-19 Tom Tromey <tromey@redhat.com>
11151
11152 * target.h (struct target_ops) <to_save_record>: Add argument.
11153 * target.c (target_save_record): Add argument.
11154 * record-full.c (record_full_save): Add 'self' argument.
11155 (record_full_save): Add 'self' argument.
11156
630d6a4a
TT
111572014-02-19 Tom Tromey <tromey@redhat.com>
11158
11159 * target.h (struct target_ops) <to_info_record>: Add argument.
11160 * target.c (target_info_record): Add argument.
11161 * record.c (info_record_command): Add argument.
11162 * record-full.c (record_full_info): Add 'self' argument.
11163 * record-btrace.c (record_btrace_info): Add 'self' argument.
11164
c6cd7c02
TT
111652014-02-19 Tom Tromey <tromey@redhat.com>
11166
11167 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11168 * target.c (target_stop_recording): Add argument.
11169 * record.c (record_stop): Add argument.
11170 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11171 argument.
11172
39c49f83
TT
111732014-02-19 Tom Tromey <tromey@redhat.com>
11174
11175 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11176 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11177 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11178 argument.
11179 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11180 (_initialize_amd64_linux_nat): Use it.
11181 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11182 (_initialize_i386_linux_nat): Use it.
11183
1777056d
TT
111842014-02-19 Tom Tromey <tromey@redhat.com>
11185
11186 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11187 * target.c (target_teardown_btrace): Add argument.
11188 * remote.c (remote_teardown_btrace): Add 'self' argument.
11189 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11190 argument.
11191 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11192 argument.
11193
25e95349
TT
111942014-02-19 Tom Tromey <tromey@redhat.com>
11195
11196 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11197 * target.c (target_disable_btrace): Add argument.
11198 * remote.c (remote_disable_btrace): Add 'self' argument.
11199 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11200 argument.
11201 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11202 argument.
11203
e3c49f88
TT
112042014-02-19 Tom Tromey <tromey@redhat.com>
11205
11206 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11207 * target.c (target_enable_btrace): Add argument.
11208 * remote.c (remote_enable_btrace): Add 'self' argument.
11209 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11210 argument.
11211 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11212 argument.
11213
fe38f897
TT
112142014-02-19 Tom Tromey <tromey@redhat.com>
11215
11216 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11217 (target_can_use_agent): Add argument.
11218 * target.c (update_current_target): Update.
11219 * remote.c (remote_can_use_agent): Add 'self' argument.
11220 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11221
2c152180
TT
112222014-02-19 Tom Tromey <tromey@redhat.com>
11223
11224 * target.h (struct target_ops) <to_use_agent>: Add argument.
11225 (target_use_agent): Add argument.
11226 * target.c (update_current_target): Update.
11227 * remote.c (remote_use_agent): Add 'self' argument.
11228 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11229
a893e81f
TT
112302014-02-19 Tom Tromey <tromey@redhat.com>
11231
11232 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11233 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11234 (target_traceframe_info): Add argument.
11235 * target.c (update_current_target): Update.
11236 * remote.c (remote_traceframe_info): Add 'self' argument.
11237 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11238
c686c57f
TT
112392014-02-19 Tom Tromey <tromey@redhat.com>
11240
11241 * target.h (target_static_tracepoint_markers_by_strid): Add
11242 argument.
11243 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11244 'self' argument.
11245 * target.c (update_current_target): Update.
11246 * remote.c (struct target_ops)
11247 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11248 * linux-nat.c (struct target_ops)
11249 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11250
61fc905d
TT
112512014-02-19 Tom Tromey <tromey@redhat.com>
11252
11253 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11254 Add argument.
11255 (target_static_tracepoint_marker_at): Add argument.
11256 * target.c (update_current_target): Update.
11257 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11258 argument.
11259
c378d69d
TT
112602014-02-19 Tom Tromey <tromey@redhat.com>
11261
11262 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11263 (target_set_permissions): Add argument.
11264 * target.c (update_current_target): Update.
11265 * remote.c (remote_set_permissions): Add 'self' argument.
11266 (remote_start_remote): Update.
11267
bd7ae0f5
TT
112682014-02-19 Tom Tromey <tromey@redhat.com>
11269
11270 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11271 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11272 (target_get_tib_address): Add argument.
11273 * target.c (update_current_target): Update.
11274 * remote.c (remote_get_tib_address): Add 'self' argument.
11275
d9e68a2c
TT
112762014-02-19 Tom Tromey <tromey@redhat.com>
11277
11278 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11279 (target_set_trace_notes): Add argument.
11280 * target.c (update_current_target): Update.
11281 * remote.c (remote_set_trace_notes): Add 'self' argument.
11282
4da384be
TT
112832014-02-19 Tom Tromey <tromey@redhat.com>
11284
11285 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11286 argument.
11287 (target_set_trace_buffer_size): Add argument.
11288 * target.c (update_current_target): Update.
11289 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11290
736d5b1f
TT
112912014-02-19 Tom Tromey <tromey@redhat.com>
11292
11293 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11294 argument.
11295 (target_set_circular_trace_buffer): Add argument.
11296 * target.c (update_current_target): Update.
11297 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11298 argument.
11299
37b25738
TT
113002014-02-19 Tom Tromey <tromey@redhat.com>
11301
11302 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11303 argument.
11304 (target_set_disconnected_tracing): Add argument.
11305 * target.c (update_current_target): Update.
11306 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11307
0e67620a
TT
113082014-02-19 Tom Tromey <tromey@redhat.com>
11309
11310 * target.h (struct target_ops)
11311 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11312 (target_get_min_fast_tracepoint_insn_len): Add argument.
11313 * target.c (update_current_target): Update.
11314 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11315 argument.
11316
88ee6f45
TT
113172014-02-19 Tom Tromey <tromey@redhat.com>
11318
11319 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11320 argument.
11321 (target_get_raw_trace_data): Add argument.
11322 * target.c (update_current_target): Update.
11323 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11324
181e3713
TT
113252014-02-19 Tom Tromey <tromey@redhat.com>
11326
11327 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11328 Add argument.
11329 (target_upload_trace_state_variables): Add argument.
11330 * target.c (update_current_target): Update.
11331 * remote.c (remote_upload_trace_state_variables): Add 'self'
11332 argument.
11333 (remote_start_remote): Update.
11334
ab6617cc
TT
113352014-02-19 Tom Tromey <tromey@redhat.com>
11336
11337 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11338 argument.
11339 (target_upload_tracepoints): Add argument.
11340 * target.c (update_current_target): Update.
11341 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11342 (remote_start_remote): Update.
11343
dc3decaf
TT
113442014-02-19 Tom Tromey <tromey@redhat.com>
11345
11346 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11347 (target_save_trace_data): Add argument.
11348 * target.c (update_current_target): Update.
11349 * remote.c (remote_save_trace_data): Add 'self' argument.
11350
4011015b
TT
113512014-02-19 Tom Tromey <tromey@redhat.com>
11352
11353 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11354 argument.
11355 * target.h (struct target_ops)
11356 <to_get_trace_state_variable_value>: Add argument.
11357 (target_get_trace_state_variable_value): Add argument.
11358 * target.c (update_current_target): Update.
11359 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11360 argument.
11361 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11362
bd4c6793
TT
113632014-02-19 Tom Tromey <tromey@redhat.com>
11364
11365 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11366 * target.h (struct target_ops) <to_trace_find>: Add argument.
11367 (target_trace_find): Add argument.
11368 * target.c (update_current_target): Update.
11369 * remote.c (remote_trace_find): Add 'self' argument.
11370 * ctf.c (ctf_trace_find): Add 'self' argument.
11371
74499f1b
TT
113722014-02-19 Tom Tromey <tromey@redhat.com>
11373
11374 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11375 (target_trace_stop): Add argument.
11376 * target.c (update_current_target): Update.
11377 * remote.c (remote_trace_stop): Add 'self' argument.
11378
db90e85c
TT
113792014-02-19 Tom Tromey <tromey@redhat.com>
11380
11381 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11382 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11383 argument.
11384 (target_get_tracepoint_status): Add argument.
11385 * target.c (update_current_target): Update.
11386 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11387
8bd200f1
TT
113882014-02-19 Tom Tromey <tromey@redhat.com>
11389
11390 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11391 * target.h (struct target_ops) <to_get_trace_status>: Add
11392 argument.
11393 (target_get_trace_status): Add argument.
11394 * target.c (update_current_target): Update.
11395 * remote.c (remote_get_trace_status): Add 'self' argument.
11396 (remote_start_remote, remote_can_download_tracepoint): Update.
11397 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11398
e2d1aae3
TT
113992014-02-19 Tom Tromey <tromey@redhat.com>
11400
11401 * target.h (struct target_ops) <to_trace_start>: Add argument.
11402 (target_trace_start): Add argument.
11403 * target.c (update_current_target): Update.
11404 * remote.c (remote_trace_start): Add 'self' argument.
11405
583f9a86
TT
114062014-02-19 Tom Tromey <tromey@redhat.com>
11407
11408 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11409 Add argument.
11410 (target_trace_set_readonly_regions): Add argument.
11411 * target.c (update_current_target): Update.
11412 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11413 argument.
11414
780b049c
TT
114152014-02-19 Tom Tromey <tromey@redhat.com>
11416
11417 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11418 argument.
11419 (target_disable_tracepoint): Add argument.
11420 * target.c (update_current_target): Update.
11421 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11422
46670d57
TT
114232014-02-19 Tom Tromey <tromey@redhat.com>
11424
11425 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11426 argument.
11427 (target_enable_tracepoint): Add argument.
11428 * target.c (update_current_target): Update.
11429 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11430
559d2b81
TT
114312014-02-19 Tom Tromey <tromey@redhat.com>
11432
11433 * target.h (struct target_ops) <to_download_trace_state_variable>:
11434 Add argument.
11435 (target_download_trace_state_variable): Add argument.
11436 * target.c (update_current_target): Update.
11437 * remote.c (remote_download_trace_state_variable): Add 'self'
11438 argument.
11439
a52a8357
TT
114402014-02-19 Tom Tromey <tromey@redhat.com>
11441
11442 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11443 argument.
11444 (target_can_download_tracepoint): Add argument.
11445 * target.c (update_current_target): Update.
11446 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11447
548f7808
TT
114482014-02-19 Tom Tromey <tromey@redhat.com>
11449
11450 * target.h (struct target_ops) <to_download_tracepoint>: Add
11451 argument.
11452 (target_download_tracepoint): Add argument.
11453 * target.c (update_current_target): Update.
11454 * remote.c (remote_download_tracepoint): Add 'self' argument.
11455
ecae04e1
TT
114562014-02-19 Tom Tromey <tromey@redhat.com>
11457
11458 * target.h (struct target_ops) <to_trace_init>: Add argument.
11459 (target_trace_init): Add argument.
11460 * target.c (update_current_target): Update.
11461 * remote.c (remote_trace_init): Add 'self' argument.
11462
fab5aa7c
TT
114632014-02-19 Tom Tromey <tromey@redhat.com>
11464
11465 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11466 * target.c (target_fileio_readlink): Add argument.
11467 * remote.c (remote_hostio_readlink): Add 'self' argument.
11468 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11469
dbbca37d
TT
114702014-02-19 Tom Tromey <tromey@redhat.com>
11471
11472 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11473 * target.c (target_fileio_unlink): Add argument.
11474 * remote.c (remote_hostio_unlink): Add 'self' argument.
11475 (remote_file_delete): Update.
11476 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11477
df39ea25
TT
114782014-02-19 Tom Tromey <tromey@redhat.com>
11479
11480 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11481 * target.c (target_fileio_close): Add argument.
11482 * remote.c (remote_hostio_close): Add 'self' argument.
11483 (remote_hostio_close_cleanup): Update.
11484 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11485 Update.
11486 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11487
a3be983c
TT
114882014-02-19 Tom Tromey <tromey@redhat.com>
11489
11490 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11491 * target.c (target_fileio_pread): Add argument.
11492 * remote.c (remote_hostio_pread): Add 'self' argument.
11493 (remote_bfd_iovec_pread, remote_file_get): Update.
11494 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11495
0d866f62
TT
114962014-02-19 Tom Tromey <tromey@redhat.com>
11497
11498 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11499 * target.c (target_fileio_pwrite): Add argument.
11500 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11501 (remote_file_put): Update.
11502 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11503
cd897586
TT
115042014-02-19 Tom Tromey <tromey@redhat.com>
11505
11506 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11507 * target.c (target_fileio_open): Add argument.
11508 * remote.c (remote_hostio_open): Add 'self' argument.
11509 (remote_bfd_iovec_open): Add 'self' argument.
11510 (remote_file_put): Add 'self' argument.
11511 (remote_file_get): Add 'self' argument.
11512 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11513
78eff0ec
TT
115142014-02-19 Tom Tromey <tromey@redhat.com>
11515
11516 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11517 Add argument.
11518 (target_can_run_breakpoint_commands): Add argument.
11519 * target.c (update_current_target): Update.
11520 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11521 argument.
11522 (remote_insert_breakpoint): Add 'self' argument.
11523 (remote_insert_hw_breakpoint): Add 'self' argument.
11524 (remote_can_run_breakpoint_commands): Add 'self' argument.
11525
efcc2da7
TT
115262014-02-19 Tom Tromey <tromey@redhat.com>
11527
11528 * target.h (struct target_ops)
11529 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11530 (target_supports_evaluation_of_breakpoint_conditions): Add
11531 argument.
11532 * target.c (update_current_target): Update.
11533 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11534 argument.
11535 (remote_insert_breakpoint): Add 'self' argument.
11536 (remote_insert_hw_breakpoint): Add 'self' argument.
11537 (remote_supports_cond_breakpoints): Add 'self' argument.
11538
6de37a3a
TT
115392014-02-19 Tom Tromey <tromey@redhat.com>
11540
11541 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11542 argument.
11543 (target_supports_string_tracing): Add argument.
11544 * target.c (update_current_target): Update.
11545 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11546
2bfc0540
TT
115472014-02-19 Tom Tromey <tromey@redhat.com>
11548
11549 * target.h (struct target_ops)
11550 <to_supports_disable_randomization>: Add argument.
11551 * target.c (find_default_supports_disable_randomization): Add
11552 argument.
11553 (target_supports_disable_randomization): Add argument.
11554 (find_default_supports_disable_randomization): Add 'self'
11555 argument.
11556 * remote.c (extended_remote_supports_disable_randomization): Add
11557 'self' argument.
11558 (remote_supports_disable_randomization): Add 'self' argument.
11559 (extended_remote_create_inferior): Update.
11560 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11561 'self' argument.
11562
7d178d6a
TT
115632014-02-19 Tom Tromey <tromey@redhat.com>
11564
11565 * target.h (struct target_ops)
11566 <to_supports_enable_disable_tracepoint>: Add argument.
11567 (target_supports_enable_disable_tracepoint): Add argument.
11568 * target.c (update_current_target): Update.
11569 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11570 argument.
11571
86ce2668
TT
115722014-02-19 Tom Tromey <tromey@redhat.com>
11573
11574 * target.h (struct target_ops) <to_supports_multi_process>: Add
11575 argument.
11576 (target_supports_multi_process): Add argument.
11577 * target.c (update_current_target): Update.
11578 * remote.c (remote_supports_multi_process): Add 'self' argument.
11579 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11580 argument.
11581 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11582 argument.
11583
4c612759
TT
115842014-02-19 Tom Tromey <tromey@redhat.com>
11585
11586 * target.h (struct target_ops) <to_execution_direction>: Add
11587 argument.
11588 (target_execution_direction): Add argument.
11589 * target.c (default_execution_direction): Add 'self' argument.
11590 * record-full.c (record_full_execution_direction): Add 'self'
11591 argument.
11592
19db3e69
TT
115932014-02-19 Tom Tromey <tromey@redhat.com>
11594
11595 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11596 argument.
11597 (target_can_execute_reverse): Add argument.
11598 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11599 * record-full.c (record_full_can_execute_reverse): Add 'self'
11600 argument.
11601 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11602 argument.
11603
1e6b91a4
TT
116042014-02-19 Tom Tromey <tromey@redhat.com>
11605
11606 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11607 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11608 argument.
11609 (target_get_ada_task_ptid): Add argument.
11610 * target.c (update_current_target): Update.
11611 (default_get_ada_task_ptid): Add 'self' argument.
11612 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11613 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11614 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11615 argument.
11616 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11617 argument.
11618 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11619 argument.
11620 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11621 argument.
11622 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11623 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11624 argument.
11625
3c80fb48
TT
116262014-02-19 Tom Tromey <tromey@redhat.com>
11627
11628 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11629 (target_goto_bookmark): Add argument.
11630 * target.c (dummy_goto_bookmark): Add 'self' argument.
11631 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11632
dd0e2830
TT
116332014-02-19 Tom Tromey <tromey@redhat.com>
11634
11635 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11636 (target_get_bookmark): Add argument.
11637 * target.c (dummy_get_bookmark): Add 'self' argument.
11638 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11639
fc6691b2
TT
116402014-02-19 Tom Tromey <tromey@redhat.com>
11641
11642 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11643 argument.
11644 (target_make_corefile_notes): Add argument.
11645 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11646 * procfs.c (procfs_make_note_section): Add 'self' argument.
11647 (procfs_make_note_section): Add 'self' argument.
11648 (procfs_make_note_section): Add 'self' argument.
11649 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11650 argument.
11651 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11652 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11653 * exec.c (exec_make_note_section): Add 'self' argument.
11654 (exec_make_note_section): Add 'self' argument.
11655
2e73927c
TT
116562014-02-19 Tom Tromey <tromey@redhat.com>
11657
11658 * target.h (struct target_ops) <to_find_memory_regions>: Add
11659 argument.
11660 (target_find_memory_regions): Add argument.
11661 * target.c (dummy_find_memory_regions): Add 'self' argument.
11662 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11663 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11664 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11665 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11666 * exec. (exec_do_find_memory_regions): New global.
11667 (exec_set_find_memory_regions): Rewrite.
11668 (exec_find_memory_regions): New function.
11669 (init_exec_ops): Use exec_find_memory_regions.
11670
2a9a2795
TT
116712014-02-19 Tom Tromey <tromey@redhat.com>
11672
11673 * target.h (struct target_ops) <to_supports_non_stop>: Add
11674 argument.
11675 * target.c (find_default_supports_non_stop): Add argument.
11676 (target_supports_non_stop): Add argument.
11677 (find_default_supports_non_stop): Add 'self' argument.
11678 * remote.c (remote_supports_non_stop): Add 'self' argument.
11679 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11680
4ab76ea3
TT
116812014-02-19 Tom Tromey <tromey@redhat.com>
11682
11683 * target.h (struct target_ops) <to_log_command>: Add argument.
11684 (target_log_command): Add argument.
11685 * serial.h (serial_log_command): Add 'self' argument.
11686 * serial.c (serial_log_command): Add 'self' argument.
11687
8dd27370
TT
116882014-02-19 Tom Tromey <tromey@redhat.com>
11689
11690 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11691 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11692 argument.
11693 (target_pid_to_exec_file): Add argument.
11694 * target.c (debug_to_pid_to_exec_file): Add argument.
11695 (update_current_target): Update.
11696 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11697 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11698 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11699 (linux_handle_extended_wait): Update.
11700 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11701 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11702 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11703 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11704
1aac633b
TT
117052014-02-19 Tom Tromey <tromey@redhat.com>
11706
11707 * target.h (struct target_ops) <to_rcmd>: Add argument.
11708 (target_rcmd): Add argument.
11709 * target.c (debug_to_rcmd): Add argument.
11710 (update_current_target, do_monitor_command): Update.
11711 * remote.c (remote_rcmd): Add 'self' argument.
11712 * monitor.c (monitor_rcmd): Add 'self' argument.
11713
1eab8a48
TT
117142014-02-19 Tom Tromey <tromey@redhat.com>
11715
11716 * windows-nat.c (windows_stop): Add 'self' argument.
11717 * target.h (struct target_ops) <to_stop>: Add argument.
11718 * target.c (target_stop): Add argument.
11719 (debug_to_stop): Add argument.
11720 (update_current_target): Update.
11721 * remote.c (remote_stop): Add 'self' argument.
11722 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11723 (gdbsim_cntrl_c): Update.
11724 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11725 * procfs.c (procfs_stop): Add 'self' argument.
11726 * nto-procfs.c (procfs_stop): Add 'self' argument.
11727 * monitor.c (monitor_stop): Add 'self' argument.
11728 (monitor_open): Update.
11729 * linux-nat.c (linux_nat_stop): Add argument.
11730 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11731 * gnu-nat.c (gnu_stop): Add 'self' argument.
11732 * darwin-nat.c (darwin_stop): Add 'self' argument.
11733
503a628d
TT
117342014-02-19 Tom Tromey <tromey@redhat.com>
11735
11736 * target.h (struct target_ops) <to_thread_name>: Add argument.
11737 * target.c (target_thread_name): Add argument.
11738 (update_current_target): Update.
11739 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11740
c15906d8
TT
117412014-02-19 Tom Tromey <tromey@redhat.com>
11742
11743 * target.h (struct target_ops) <to_extra_thread_info>: Add
11744 argument.
11745 (target_extra_thread_info): Add argument.
11746 * target.c (update_current_target): Update.
11747 * remote.c (remote_threads_extra_info): Add 'self' argument.
11748 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11749 argument.
11750 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11751 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11752 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11753 argument.
11754 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11755 argument.
11756 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11757 argument.
11758 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11759 argument.
11760
daf5e9b6
TT
117612014-02-19 Tom Tromey <tromey@redhat.com>
11762
11763 * target.h (struct target_ops) <to_program_signals>: Add argument.
11764 * target.c (target_program_signals): Add argument.
11765 * remote.c (remote_program_signals): Add 'self' argument.
11766
94bedb42
TT
117672014-02-19 Tom Tromey <tromey@redhat.com>
11768
11769 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11770 * target.c (target_pass_signals): Add argument.
11771 * remote.c (remote_pass_signals): Add 'self' argument.
11772 (remote_start_remote): Update.
11773 * procfs.c (procfs_pass_signals): Add 'self' argument.
11774 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11775 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11776 (linux_nat_create_inferior, linux_nat_attach): Update.
11777
da82bd6b
TT
117782014-02-19 Tom Tromey <tromey@redhat.com>
11779
11780 * windows-nat.c (windows_can_run): Add 'self' argument.
11781 * target.h (struct target_ops) <to_can_run>: Add argument.
11782 (target_can_run): Add argument.
11783 * target.c (debug_to_can_run): Add argument.
11784 (update_current_target): Update.
11785 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11786 * inf-child.c (inf_child_can_run): Add 'self' argument.
11787 * go32-nat.c (go32_can_run): Add 'self' argument.
11788
d796e1d6
TT
117892014-02-19 Tom Tromey <tromey@redhat.com>
11790
11791 * target.h (struct target_ops) <to_has_exited>: Add argument.
11792 (target_has_exited): Add argument.
11793 * target.c (debug_to_has_exited): Add argument.
11794 (update_current_target): Update.
11795
ff214e67
TT
117962014-02-19 Tom Tromey <tromey@redhat.com>
11797
11798 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11799 argument.
11800 (target_set_syscall_catchpoint): Add argument.
11801 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11802 argument.
11803 * target.c (update_current_target): Update.
11804
758e29d2
TT
118052014-02-19 Tom Tromey <tromey@redhat.com>
11806
11807 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11808 argument.
11809 (target_remove_exec_catchpoint): Add argument.
11810 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11811 (update_current_target): Update.
11812 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11813 argument.
11814
ba025e51
TT
118152014-02-19 Tom Tromey <tromey@redhat.com>
11816
11817 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11818 argument.
11819 (target_insert_exec_catchpoint): Add argument.
11820 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11821 (update_current_target): Update.
11822 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11823 argument.
11824
e98cf0cd
TT
118252014-02-19 Tom Tromey <tromey@redhat.com>
11826
11827 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11828 argument.
11829 (target_remove_vfork_catchpoint): Add argument.
11830 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11831 (update_current_target): Update.
11832 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11833 argument.
11834
3ecc7da0
TT
118352014-02-19 Tom Tromey <tromey@redhat.com>
11836
11837 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11838 argument.
11839 (target_insert_vfork_catchpoint): Add argument.
11840 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11841 (update_current_target): Update.
11842 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11843 argument.
11844
973fc227
TT
118452014-02-19 Tom Tromey <tromey@redhat.com>
11846
11847 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11848 argument.
11849 (target_remove_fork_catchpoint): Add argument.
11850 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11851 (update_current_target): Update.
11852 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11853 argument.
11854
a863b201
TT
118552014-02-19 Tom Tromey <tromey@redhat.com>
11856
11857 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11858 argument.
11859 (target_insert_fork_catchpoint): Add argument.
11860 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11861 (update_current_target): Update.
11862 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11863 argument.
11864
2e97a79e
TT
118652014-02-19 Tom Tromey <tromey@redhat.com>
11866
11867 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11868 argument.
11869 (target_post_startup_inferior): Add argument.
11870 * target.c (debug_to_post_startup_inferior): Add argument.
11871 (update_current_target): Update.
11872 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11873 argument.
11874 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11875 argument.
11876 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11877 argument.
11878 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11879 argument.
11880 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11881 'self' argument.
11882 (super_post_startup_inferior): Likewise.
11883 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11884 'self' argument.
11885 (super_post_startup_inferior): Likewise.
11886 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11887 Add 'self' argument.
11888 (super_post_startup_inferior): Likewise.
11889
71a9f134
TT
118902014-02-19 Tom Tromey <tromey@redhat.com>
11891
11892 * target.h (struct target_ops) <to_load>: Add argument.
11893 * target.c (target_load): Add argument.
11894 (debug_to_load): Add argument.
11895 (update_current_target): Update.
11896 * remote.c (remote_load): Add 'self' argument.
11897 * remote-sim.c (gdbsim_load): Add 'self' argument.
11898 * remote-mips.c (mips_load): Add 'self' argument.
11899 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11900 * monitor.c (monitor_load): Add 'self' argument.
11901 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11902
0a4f40a2
TT
119032014-02-19 Tom Tromey <tromey@redhat.com>
11904
11905 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11906 (target_terminal_info): Add argument.
11907 * target.c (debug_to_terminal_info): Add argument.
11908 (default_terminal_info): Likewise.
11909 * inflow.c (child_terminal_info): Add 'self' argument.
11910 * inferior.h (child_terminal_info): Add 'self' argument.
11911 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11912
ae3bd431
TT
119132014-02-19 Tom Tromey <tromey@redhat.com>
11914
11915 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11916 argument.
11917 (target_terminal_save_ours): Add argument.
11918 * target.c (debug_to_terminal_save_ours): Add argument.
11919 (update_current_target): Update.
11920 * inflow.c (terminal_save_ours): Add 'self' argument.
11921 * inferior.h (terminal_save_ours): Add 'self' argument.
11922
e3594fd1
TT
119232014-02-19 Tom Tromey <tromey@redhat.com>
11924
11925 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11926 (target_terminal_ours): Add argument.
11927 * target.c (debug_to_terminal_ours): Add argument.
11928 (update_current_target): Update.
11929 * remote.c (remote_terminal_ours): Add 'self' argument.
11930 (remote_close): Update.
11931 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11932 * inflow.c (terminal_ours): Add 'self' argument.
11933 * inferior.h (terminal_ours): Add 'self' argument.
11934 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11935
2e1e1a19
TT
119362014-02-19 Pedro Alves <palves@redhat.com>
11937 Tom Tromey <tromey@redhat.com>
11938
11939 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11940 argument.
11941 (target_terminal_ours_for_output): Add argument.
11942 * target.c (debug_to_terminal_ours_for_output): Add argument.
11943 (update_current_target): Update.
11944 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11945 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11946 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11947
d2f640d4
TT
119482014-02-19 Tom Tromey <tromey@redhat.com>
11949
11950 * target.h (struct target_ops) <to_terminal_inferior>: Add
11951 argument.
11952 * target.c (target_terminal_inferior): Add argument.
11953 (update_current_target): Update.
11954 * remote.c (remote_terminal_inferior): Add 'self' argument.
11955 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11956 * inflow.c (terminal_inferior): Add 'self' argument.
11957 * inferior.h (terminal_inferior): Add 'self' argument.
11958 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11959 (go32_terminal_inferior): Add 'self' argument.
11960
c42bf286
TT
119612014-02-19 Tom Tromey <tromey@redhat.com>
11962
11963 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11964 (target_terminal_init): Add argument.
11965 * target.c (debug_to_terminal_init): Add argument.
11966 (update_current_target): Update.
11967 * inflow.c (terminal_init_inferior): Add 'self' argument.
11968 * inferior.h (terminal_init_inferior): Add 'self' argument.
11969 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11970 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11971
c3a5ff89
TT
119722014-02-19 Tom Tromey <tromey@redhat.com>
11973
11974 * target.h (struct target_ops)
11975 <to_can_accel_watchpoint_condition>: Add argument.
11976 (target_can_accel_watchpoint_condition): Add argument.
11977 * target.c (debug_to_can_accel_watchpoint_condition): Add
11978 argument.
11979 (update_current_target): Update.
11980 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11981 'self' argument.
11982
31568a15
TT
119832014-02-19 Tom Tromey <tromey@redhat.com>
11984
11985 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11986 Add argument.
11987 (target_region_ok_for_hw_watchpoint): Add argument.
11988 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11989 (default_region_ok_for_hw_watchpoint): Add argument.
11990 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11991 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11992 argument.
11993 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11994 argument.
11995 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11996 argument.
11997 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11998 'self' argument.
11999 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12000 'self' argument.
12001 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12002 'self' argument.
12003 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12004 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12005 'self' argument.
12006 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12007 Add 'self' argument.
12008
7bb99c53
TT
120092014-02-19 Tom Tromey <tromey@redhat.com>
12010
12011 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12012 argument.
12013 (target_insert_watchpoint): Add argument.
12014 * target.c (debug_to_insert_watchpoint): Add argument.
12015 (update_current_target): Update.
12016 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12017 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12018 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12019 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12020 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12021 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12022 argument.
12023 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12024 (procfs_insert_hw_watchpoint): Add 'self' argument.
12025 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12026 argument.
12027 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12028 argument.
12029 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12030 argument.
12031 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12032 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12033 argument.
12034 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12035 'self' argument.
12036
11b5219a
TT
120372014-02-19 Tom Tromey <tromey@redhat.com>
12038
12039 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12040 argument.
12041 (target_remove_watchpoint): Add argument.
12042 * target.c (debug_to_remove_watchpoint): Add argument.
12043 (update_current_target): Update.
12044 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12045 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12046 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12047 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12048 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12049 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12050 argument.
12051 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12052 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12053 argument.
12054 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12055 argument.
12056 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12057 argument.
12058 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12059 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12060 argument.
12061 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12062 'self' argument.
12063
a64dc96c
TT
120642014-02-19 Tom Tromey <tromey@redhat.com>
12065
12066 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12067 argument.
12068 (target_remove_hw_breakpoint): Add argument.
12069 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12070 (update_current_target): Update.
12071 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12072 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12073 argument.
12074 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12075 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12076 argument.
12077 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12078 'self' argument.
12079
23a26771
TT
120802014-02-19 Tom Tromey <tromey@redhat.com>
12081
12082 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12083 argument.
12084 (target_insert_hw_breakpoint): Add argument.
12085 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12086 (update_current_target): Update.
12087 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12088 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12089 argument.
12090 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12091 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12092 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12093 argument.
12094 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12095 'self' argument.
12096
5461485a
TT
120972014-02-19 Tom Tromey <tromey@redhat.com>
12098
12099 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12100 argument.
12101 (target_can_use_hardware_watchpoint): Add argument.
12102 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12103 (update_current_target): Update.
12104 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12105 argument.
12106 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12107 argument.
12108 * remote.c (remote_check_watch_resources): Add 'self' argument.
12109 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12110 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12111 argument.
12112 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12113 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12114 argument.
12115 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12116 argument.
12117 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12118 argument.
12119 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12120 argument.
12121 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12122 argument.
12123 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12124 argument.
12125 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12126 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12127 argument.
12128 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12129 'self' argument.
12130
f045800c
TT
121312014-02-19 Tom Tromey <tromey@redhat.com>
12132
12133 * target.h (struct target_ops) <to_post_attach>: Add argument.
12134 (target_post_attach): Add argument.
12135 * target.c (debug_to_post_attach): Add argument.
12136 (update_current_target): Update.
12137 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12138 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12139 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12140 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12141 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12142
de90e03d
TT
121432014-02-19 Tom Tromey <tromey@redhat.com>
12144
12145 * windows-nat.c (windows_close): Add 'self' argument.
12146 * tracepoint.c (tfile_close): Add 'self' argument.
12147 * target.h (struct target_ops) <to_close>: Add argument.
12148 * target.c (target_close): Add argument.
12149 (update_current_target): Update.
12150 * remote.c (remote_close): Add 'self' argument.
12151 * remote-sim.c (gdbsim_close): Add 'self' argument.
12152 * remote-mips.c (mips_close): Add 'self' argument.
12153 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12154 * record-full.c (record_full_close): Add 'self' argument.
12155 * record-btrace.c (record_btrace_close): Add 'self' argument.
12156 * monitor.h (monitor_close): Add 'self' argument.
12157 * monitor.c (monitor_close): Add 'self' argument.
12158 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12159 * linux-nat.c (linux_nat_close): Add argument.
12160 * go32-nat.c (go32_close): Add 'self' argument.
12161 * exec.c (exec_close_1): Add 'self' argument.
12162 * ctf.c (ctf_close): Add 'self' argument.
12163 * corelow.c (core_close): Add 'self' argument.
12164 (core_close_cleanup): Update.
12165 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12166 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12167
9dd130a0
TT
121682014-02-19 Tom Tromey <tromey@redhat.com>
12169
12170 * remote.c (remote_load): New function.
12171 (init_remote_ops): Use it.
12172
46917d26
TT
121732014-02-19 Tom Tromey <tromey@redhat.com>
12174
12175 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12176 argument.
12177 * common/linux-btrace.h (linux_supports_btrace): Update.
12178 * remote.c (remote_supports_btrace): Add "self" argument.
12179 * target-delegates.c: Rebuild.
12180 * target.c (target_supports_btrace): Remove.
12181 * target.h (struct target_ops) <to_supports_btrace>: Add
12182 target_ops argument.
12183 (target_supports_btrace): New define.
12184
6b84065d
TT
121852014-02-19 Tom Tromey <tromey@redhat.com>
12186
12187 * record-full.c (record_full_beneath_to_resume_ops)
12188 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12189 (record_full_beneath_to_wait)
12190 (record_full_beneath_to_store_registers_ops)
12191 (record_full_beneath_to_store_registers)
12192 (record_full_beneath_to_xfer_partial_ops)
12193 (record_full_beneath_to_xfer_partial)
12194 (record_full_beneath_to_insert_breakpoint_ops)
12195 (record_full_beneath_to_insert_breakpoint)
12196 (record_full_beneath_to_remove_breakpoint_ops)
12197 (record_full_beneath_to_remove_breakpoint)
12198 (record_full_beneath_to_stopped_by_watchpoint)
12199 (record_full_beneath_to_stopped_data_address)
12200 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12201 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12202 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12203 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12204 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12205 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12206 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12207 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12208 (record_full_resume, record_full_wait_1)
12209 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12210 (record_full_store_registers, record_full_xfer_partial)
12211 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12212 (record_full_async, record_full_core_xfer_partial): Use target
12213 delegation.
12214 * target-delegates.c: Rebuild.
12215 * target.c (current_xfer_partial): Remove.
12216 (update_current_target): Do not INHERIT or de_fault
12217 to_insert_breakpoint, to_remove_breakpoint,
12218 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12219 to_is_async_p, to_async. Do not set to_xfer_partial field.
12220 (default_xfer_partial): Simplify.
12221 (current_xfer_partial): Remove.
12222 (target_wait, target_resume): Simplify.
12223 (find_default_can_async_p, find_default_is_async_p): Update.
12224 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12225 to_xfer_partial, to_stopped_by_watchpoint,
12226 to_stopped_data_address.
12227 (target_store_registers): Simplify.
12228 (forward_target_remove_breakpoint)
12229 (forward_target_insert_breakpoint): Remove.
12230 (target_remove_breakpoint, target_insert_breakpoint)
12231 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12232 * target.h (struct target_ops) <to_resume, to_wait,
12233 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12234 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12235 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12236 markup.
12237 (forward_target_remove_breakpoint)
12238 (forward_target_insert_breakpoint): Remove.
12239 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12240 directly.
12241 (record_btrace_insert_breakpoint): Delegate directly.
12242
1101cb7b
TT
122432014-02-19 Tom Tromey <tromey@redhat.com>
12244
12245 PR build/7701:
12246 * target-delegates.c: New file.
12247 * target.c: Include target-delegates.c.
12248 (init_dummy_target): Call install_dummy_methods.
12249 (complete_target_initialization): Call install_delegators.
12250 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12251 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12252 * make-target-delegates: New file.
12253
8b06beed
TT
122542014-02-19 Tom Tromey <tromey@redhat.com>
12255
12256 * record.c (find_record_target): Use find_target_at.
12257 * target.c (find_target_at): New function.
12258 * target.h (find_target_at): Declare.
12259
6a109b6b
TT
122602014-02-19 Tom Tromey <tromey@redhat.com>
12261
12262 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12263 Add 'ops' argument.
12264 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12265 'ops' argument.
12266 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12267 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12268 'ops' argument.
12269 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12270 argument.
12271 * linux-nat.c (save_sigtrap): Update.
12272 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12273 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12274 (linux_nat_close): Update.
12275 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12276 argument.
12277 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12278 argument.
12279 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12280 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12281 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12282 (tmp_to_async): Add 'ops' argument.
12283 (record_full_stopped_by_watchpoint, record_full_async)
12284 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12285 argument.
12286 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12287 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12288 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12289 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12290 (remote_is_async_p, remote_async): Add 'ops' argument.
12291 (remote_stopped_data_address): Update.
12292 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12293 * target.c (update_current_target)
12294 (find_default_can_async_p, find_default_is_async_p): Update.
12295 (init_dummy_target): Update.
12296 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12297 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12298 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12299 (target_can_async_p, target_is_async_p, target_async)
12300 (target_stopped_by_watchpoint): Update.
12301
e095146b
YQ
123022014-02-19 Yao Qi <yao@codesourcery.com>
12303
12304 PR gdb/16220
12305 * gdbarch.sh: Remove startup_gdbarch.
12306 * gdbarch.c: Regenerated.
12307 * gdbarch.h: Likewise.
12308
bc3c6b36
KB
123092014-02-17 Kevin Buettner <kevinb@redhat.com>
12310
12311 * rl78-tdep.c (rl78_g10_register_name): New function.
12312 (rl78_return_value): Add g10 support.
12313 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12314 g10.
12315
98dc0167 123162014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
12317
12318 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12319 (SUBDIR_GUILE_SRCS): Ditto.
12320 (scm-gsmob.o): Ditto.
12321
842c05cd
YQ
123222014-02-17 Yao Qi <yao@codesourcery.com>
12323
12324 * gnu-nat.c (ILL_RPC): Declare defined function.
12325
25c0bd04
YQ
123262014-02-17 Yao Qi <yao@codesourcery.com>
12327
12328 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12329 mach_msg_type_number_t.
12330 (gnu_write_inferior): Likewise.
12331
a9a758e3
YQ
123322014-02-17 Yao Qi <yao@codesourcery.com>
12333
12334 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12335 in format string.
12336 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12337 (inf_validate_procs, inf_signal): Likewise.
12338 (S_exception_raise_request): Likewise.
12339 (do_mach_notify_dead_name): Likewise.
12340 (steal_exc_port): Likewise.
12341 (gnu_read_inferior): Change 'copy_count''s type to
12342 mach_msg_type_number_t.
12343 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12344 format string.
12345
bae8023e
TS
123462014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12347
c82f56d9
TS
12348 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12349 flag. Adjust all users; in particular...
12350 (gnu_wait): ..., don't decrement its value in here...
12351 (gnu_create_inferior): ..., and instead set the flag in here,
12352 around the startup_inferior call, and call that one with
12353 START_INFERIOR_TRAPS_EXPECTED.
12354
3398af6a
TS
12355 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12356 (ILL_RPC): ... new macro.
12357 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12358 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12359 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12360 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12361 functions with ILL_RPC macro.
12362 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12363 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12364 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12365 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12366 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12367 (S_proc_getlogin_reply, S_proc_getsid_reply)
12368 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12369 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12370 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12371 (S_proc_getnports_reply, S_proc_is_important_reply)
12372 (S_proc_get_code_reply): New stub functions, generated with
12373 ILL_RPC macro.
12374
d47642c9
TS
12375 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12376 collected the type check structures.
12377
bae8023e
TS
12378 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12379
8a55ffb0
DE
123802014-02-14 Doug Evans <dje@google.com>
12381
12382 * target.c (target_write_partial): Fix result type.
12383
c2853f3d
JM
123842014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12385
12386 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12387 the proper offsets to access fpregset_t.
12388
ac61d2db
SA
123892014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12390
12391 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12392 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12393 * h8300-tdep.c (setmachinelist): Remove global.
12394 * hppa-tdep.c (hppa_sigtramp): Remove global.
12395 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12396 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12397 * ravenscar-thread.c (update_target_observer): Remove global.
12398 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12399
9d2d0b8b
TT
124002014-02-12 Tom Tromey <tromey@redhat.com>
12401
12402 * common/rsp-low.c: Update comments.
12403 * common/rsp-low.h: Update comments.
12404
a7191e8b
TT
124052014-02-12 Tom Tromey <tromey@redhat.com>
12406
12407 * common/rsp-low.c (convert_ascii_to_int): Remove.
12408 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12409
ff0e980e
TT
124102014-02-12 Tom Tromey <tromey@redhat.com>
12411
12412 * common/rsp-low.h (unhexify): Don't declare.
12413 * common/rsp-low.c (unhexify): Remove.
12414
e9371aff
TT
124152014-02-12 Tom Tromey <tromey@redhat.com>
12416
12417 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12418 * common/rsp-low.c (convert_int_to_ascii): Remove.
12419
971dc0b8
TT
124202014-02-12 Tom Tromey <tromey@redhat.com>
12421
12422 * common/rsp-low.h (hexify): Don't declare.
12423 * common/rsp-low.c (hexify): Remove.
12424
0a822afb
TT
124252014-02-12 Tom Tromey <tromey@redhat.com>
12426
12427 * common/rsp-low.c (hexify): Never take strlen of argument.
12428
9f1b45b0
TT
124292014-02-12 Tom Tromey <tromey@redhat.com>
12430
12431 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12432 * remote.c (extended_remote_run, remote_rcmd)
12433 (remote_download_trace_state_variable, remote_save_trace_data)
12434 (remote_set_trace_notes): Update.
12435 * tracepoint.c (encode_source_string, tfile_write_status)
12436 (tfile_write_uploaded_tsv): Update.
12437
9c3d6531
TT
124382014-02-12 Tom Tromey <tromey@redhat.com>
12439
12440 * tracepoint.c: Include rsp-low.h.
12441 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12442 * remote.c: Include rsp-low.h.
12443 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12444 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12445 (remote_unescape_input): Move to common/rsp-low.c.
12446 * common/rsp-low.h: New file.
12447 * common/rsp-low.c: New file.
12448 * Makefile.in (SFILES): Add common/rsp-low.c.
12449 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12450 (COMMON_OBS): Add rsp-low.o.
12451 (rsp-low.o): New target.
12452
01fd3ea5
TT
124532014-02-12 Tom Tromey <tromey@redhat.com>
12454
12455 * utils.h: Include print-utils.h.
12456 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12457 (int_string, core_addr_to_string, core_addr_to_string_nz)
12458 (hex_string, hex_string_custom): Don't declare.
12459 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12460 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12461 (hex_string_custom, int_string, core_addr_to_string)
12462 (core_addr_to_string_nz, host_address_to_string): Move to
12463 common/print-utils.c.
12464 * common/print-utils.h: New file.
12465 * common/print-utils.c: New file
12466 * Makefile.in (SFILES): Add common/print-utils.c.
12467 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12468 (COMMON_OBS): Add print-utils.o.
12469 (print-utils.o): New target.
12470
9fb50108
TT
124712014-02-12 Tom Tromey <tromey@redhat.com>
12472
12473 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12474
0548b5db
MK
124752014-02-12 Mark Kettenis <kettenis@gnu.org>
12476
12477 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12478
493443a4
MK
124792014-02-12 Mark Kettenis <kettenis@gnu.org>
12480
12481 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12482 if a PT_IO ptrace request returns sucessfully but indicates that 0
12483 bytes were transferred.
12484
706d0883
PA
124852014-02-12 Pedro Alves <palves@redhat.com>
12486 Kevin Buettner <kevinb@redhat.com>
12487
12488 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12489 TYPE_INSTANCE_FLAG_CODE_SPACE.
12490
5caa2f0b
PA
124912014-02-12 Pedro Alves <palves@redhat.com>
12492
12493 * h8300-tdep.c (pseudo_from_raw_register)
12494 (raw_from_pseudo_register): New functions.
12495 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12496 them.
12497
76fd5f74
PA
124982014-02-12 Pedro Alves <palves@redhat.com>
12499
12500 * h8300-tdep.c (h8300_register_sim_regno): New function.
12501 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12502 gdbarch_register_sim_regno hook.
12503
8f008406
SA
125042014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12505
12506 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12507
195abc10
SA
125082014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12509
12510 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12511
93ffa5b9
MK
125122014-02-12 Mark Kettenis <kettenis@gnu.org>
12513
12514 * obsd-tdep.h (obsd_init_abi): New prototype.
12515 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12516 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12517 (obsd_init_abi): New functions.
12518 * i386obsd-tdep.c: Include "obsd-tdep.h".
12519 (i386obsd_init_abi): Call obsd_init_abi.
12520 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12521 (amd64obsd_init_abi): Call obsd_init_abi.
12522 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12523 obsd-tdep.c to gdb_target_obs.
12524
49caec94
JM
125252014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12526
12527 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12528 double float arguments to 16-byte in the argument slots.
12529
e1402065
DE
125302014-02-11 Doug Evans <xdje42@gmail.com>
12531
12532 * configure.ac: Don't crash if pkg-config is not found and guile
12533 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12534 in guile checks.
12535 * configure: Regenerate.
12536
edcc890f
YQ
125372014-02-11 Yao Qi <yao@codesourcery.com>
12538
12539 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12540 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12541 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12542 * gnu-nat.c (gnu_xfer_memory): Likewise.
12543 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12544 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12545 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12546 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12547
9b409511
YQ
125482014-02-11 Yao Qi <yao@codesourcery.com>
12549
12550 * target.h (enum target_xfer_error): Rename to ...
12551 (enum target_xfer_status): ... it. New. All users updated.
12552 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12553 New.
12554 (TARGET_XFER_STATUS_ERROR_P): New macro.
12555 (target_xfer_error_to_string): Remove declaration.
12556 (target_xfer_status_to_string): Declare.
12557 (target_xfer_partial_ftype): Adjust it.
12558 (struct target_ops) <to_xfer_partial>: Return
12559 target_xfer_status. Add argument xfered_len. Update
12560 comments.
12561 * target.c (target_xfer_error_to_string): Rename to ...
12562 (target_xfer_status_to_string): ... it. New. All callers
12563 updated.
12564 (target_read_live_memory): Likewise. Call target_xfer_partial
12565 instead of target_read.
12566 (memory_xfer_live_readonly_partial): Return
12567 target_xfer_status. Add argument xfered_len.
12568 (raw_memory_xfer_partial): Likewise.
12569 (memory_xfer_partial_1): Likewise.
12570 (memory_xfer_partial): Likewise.
12571 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12572 properly. Update debug message.
12573 (default_xfer_partial, current_xfer_partial): Likewise.
12574 (target_write_partial): Likewise.
12575 (target_read_partial): Likewise. All callers updated.
12576 (read_whatever_is_readable): Likewise.
12577 (target_write_with_progress): Likewise.
12578 (target_read_alloc_1): Likewise.
12579
12580 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12581 * auxv.c (procfs_xfer_auxv): Likewise.
12582 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12583 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12584 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12585 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12586 * corefile.c (read_memory): Adjust.
12587 * corelow.c (core_xfer_partial): Likewise.
12588 * ctf.c (ctf_xfer_partial): Likewise.
12589 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12590 updated.
12591 (darwin_xfer_partial): Likewise.
12592 * exec.c (section_table_xfer_memory_partial): Likewise. All
12593 callers updated.
12594 (exec_xfer_partial): Likewise.
12595 * exec.h (section_table_xfer_memory_partial): Update
12596 declaration.
12597 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12598 negative.
12599 (gnu_xfer_partial): Likewise.
12600 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12601 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12602 (ia64_hpux_xfer_solib_got): Likewise.
12603 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12604 type of 'partial_len' to ULONGEST.
12605 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12606 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12607 (linux_nat_xfer_partial): Likewise.
12608 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12609 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12610 * monitor.c (monitor_xfer_memory): Likewise.
12611 (monitor_xfer_partial): Likewise.
12612 * procfs.c (procfs_xfer_partial): Likewise.
12613 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12614 * record-full.c (record_full_xfer_partial): Likewise.
12615 (record_full_core_xfer_partial): Likewise.
12616 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12617 (gdbsim_xfer_partial): Likewise.
12618 * remote.c (remote_write_bytes_aux): Likewise. All callers
12619 updated.
12620 (remote_write_bytes, remote_read_bytes): Likewise. All
12621 callers updated.
12622 (remote_flash_erase): Likewise. All callers updated.
12623 (remote_write_qxfer): Likewise. All callers updated.
12624 (remote_read_qxfer): Likewise. All callers updated.
12625 (remote_xfer_partial): Likewise.
12626 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12627 (rs6000_xfer_shared_libraries): Likewise.
12628 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12629 (sol_thread_xfer_partial): Likewise.
12630 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12631 (sparc_xfer_partial): Likewise.
12632 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12633 updated.
12634 (spu_xfer_partial): Likewise.
12635 * spu-multiarch.c (spu_xfer_partial): Likewise.
12636 * tracepoint.c (tfile_xfer_partial): Likewise.
12637 * windows-nat.c (windows_xfer_memory): Likewise.
12638 (windows_xfer_shared_libraries): Likewise.
12639 (windows_xfer_partial): Likewise.
12640 * valprint.c: Replace 'target_xfer_error' with
12641 'target_xfer_status' in comments.
12642
a8e63083
JB
126432014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12644
12645 Checked in by Joel Brobecker <brobecker@adacore.com>.
12646 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12647
e86b67d3
JB
126482014-02-11 Joel Brobecker <brobecker@adacore.com>
12649
12650 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12651 function parameters.
12652
4b7d1f7f
WN
126532014-02-10 Will Newton <will.newton@linaro.org>
12654
12655 * elfread.c (elf_rel_plt_read): Look for a .got section if
12656 looking up .got.plt fails.
12657 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12658 on address passed to elf_gnu_ifunc_record_cache.
12659 (elf_gnu_ifunc_resolve_addr): Likewise.
12660 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12661
961842b2
JM
126622014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12663
12664 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12665 (X_RETTURN): New macro.
12666 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12667
12668 * sparc64-tdep.c (sparc64_init_abi): Hook
12669 sparc_in_function_epilogue_p.
12670
3f03e7b1
GB
126712014-02-10 Gary Benson <gbenson@redhat.com>
12672
12673 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12674 Rename name_matcher to symbol_matcher.
12675
96f861ef
GB
126762014-02-10 Gary Benson <gbenson@redhat.com>
12677
12678 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12679 Use expand_symtabs_file_matcher_ftype and
12680 expand_symtabs_symbol_matcher_ftype.
12681
ee01b665
JB
126822014-02-10 Joel Brobecker <brobecker@adacore.com>
12683
12684 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12685 (struct ada_symbol_cache): New.
12686 (ada_free_symbol_cache): Forward declare.
12687 (struct ada_pspace_data): New.
12688 (ada_pspace_data_handle): New static global.
12689 (get_ada_pspace_data, ada_pspace_data_cleanup)
12690 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12691 (cache_space, cache): Delete, now folded inside struct
12692 ada_pspace_data.
12693 (ada_get_symbol_cache): New function.
12694 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12695 implementation.
12696 (_initialize_ada_language): Remove initialization of cache_space.
12697 Move call to observer_attach_inferior_exit up, grouping it
12698 with the other observer registrations inside this function.
12699 Rename command to be more general. Add call to
12700 register_program_space_data_with_cleanup.
12701
143adbbf
JB
127022014-02-10 Joel Brobecker <brobecker@adacore.com>
12703
12704 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12705 ada_new_objfile_observer.
12706 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12707 (_initialize_tasks): Update uses of ada_new_objfile_observer
12708 and ada_tasks_normal_stop_observer.
12709
aa4fb036
JB
127102014-02-10 Joel Brobecker <brobecker@adacore.com>
12711
12712 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12713 returned by the 'Length attribute to integer.
12714
9dee8cc6
JB
127152014-02-10 Joel Brobecker <brobecker@adacore.com>
12716
12717 * ada-lang.c (_initialize_ada_language): Initialize
12718 cache_space obstack.
12719
3d9434b5
JB
127202014-02-10 Joel Brobecker <brobecker@adacore.com>
12721
12722 * ada-lang.c (HASH_SIZE): New macro.
12723 (struct cache_entry): New type.
12724 (cache_space, cache): New static globals.
12725 (ada_clear_symbol_cache, find_entry): New functions.
12726 (lookup_cached_symbol, cache_symbol): Implement.
12727 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12728 (_initialize_ada_language): Attach ada_new_objfile_observer
12729 and ada_free_objfile_observer.
12730
f0c5f9b2
JB
127312014-02-10 Joel Brobecker <brobecker@adacore.com>
12732
12733 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12734 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12735 struct block * parameter.
12736 (ada_lookup_symbol_list_worker): Constify local variable "block".
12737 Remove cast which is no longer necessary.
12738
ed3ef339
DE
127392014-02-10 Doug Evans <xdje42@gmail.com>
12740
12741 Add Guile as an extension language.
12742 * NEWS: Mention Guile scripting.
12743 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12744 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12745 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12746 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12747 (CLIBS): Add GUILE_LIBS.
12748 (install-guile): New rule.
12749 (guile.o): New rule.
12750 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12751 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12752 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12753 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12754 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12755 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12756 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12757 * configure.ac: New option --with-guile.
12758 * configure: Regenerate.
12759 * config.in: Regenerate.
12760 * auto-load.c: Remove #include "python/python.h". Add #include
12761 "gdb/section-scripts.h".
12762 (source_section_scripts): Handle Guile scripts.
12763 (_initialize_auto_load): Add name of Guile objfile script to
12764 scripts-directory help text.
12765 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12766 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12767 (struct breakpoint): New member scm_bp_object.
12768 * defs.h (enum command_control_type): New value guile_control.
12769 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12770 "extension.h".
12771 (show_user): Update comment.
12772 (_initialize_cli_cmds): Update help text for "show user". Update help
12773 text for max-user-call-depth.
12774 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12775 "extension.h".
12776 (multi_line_command_p): Add guile_control.
12777 (print_command_lines): Handle guile_control.
12778 (execute_control_command, recurse_read_control_structure): Ditto.
12779 (process_next_line): Recognize "guile" commands.
12780 * disasm.c (gdb_disassemble_info): Make non-static.
12781 * disasm.h: #include "dis-asm.h".
12782 (struct gdbarch): Add forward decl.
12783 (gdb_disassemble_info): Declare.
12784 * extension.c: #include "guile/guile.h".
12785 (extension_languages): Add guile.
12786 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12787 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12788 * gdbtypes.c (get_unsigned_type_max): New function.
12789 (get_signed_type_minmax): New function.
12790 * gdbtypes.h (get_unsigned_type_max): Declare.
12791 (get_signed_type_minmax): Declare.
12792 * guile/README: New file.
12793 * guile/guile-internal.h: New file.
12794 * guile/guile.c: New file.
12795 * guile/guile.h: New file.
12796 * guile/scm-arch.c: New file.
12797 * guile/scm-auto-load.c: New file.
12798 * guile/scm-block.c: New file.
12799 * guile/scm-breakpoint.c: New file.
12800 * guile/scm-disasm.c: New file.
12801 * guile/scm-exception.c: New file.
12802 * guile/scm-frame.c: New file.
12803 * guile/scm-gsmob.c: New file.
12804 * guile/scm-iterator.c: New file.
12805 * guile/scm-lazy-string.c: New file.
12806 * guile/scm-math.c: New file.
12807 * guile/scm-objfile.c: New file.
12808 * guile/scm-ports.c: New file.
12809 * guile/scm-pretty-print.c: New file.
12810 * guile/scm-safe-call.c: New file.
12811 * guile/scm-string.c: New file.
12812 * guile/scm-symbol.c: New file.
12813 * guile/scm-symtab.c: New file.
12814 * guile/scm-type.c: New file.
12815 * guile/scm-utils.c: New file.
12816 * guile/scm-value.c: New file.
12817 * guile/lib/gdb.scm: New file.
12818 * guile/lib/gdb/boot.scm: New file.
12819 * guile/lib/gdb/experimental.scm: New file.
12820 * guile/lib/gdb/init.scm: New file.
12821 * guile/lib/gdb/iterator.scm: New file.
12822 * guile/lib/gdb/printing.scm: New file.
12823 * guile/lib/gdb/types.scm: New file.
12824 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12825 (VPATH): Add $(GUILE_SRCDIR).
12826 (GUILE_DIR): New variable.
12827 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12828 (all): Add stamp-guile dependency.
12829 (stamp-guile): New rule.
12830 (clean-guile, install-guile, uninstall-guile): New rules.
12831 (install-only): Add install-guile dependency.
12832 (uninstall): Add uninstall-guile dependency.
12833 (clean): Add clean-guile dependency.
12834
ac020ec5
DE
128352014-02-09 Doug Evans <xdje42@gmail.com>
12836
12837 Revert this patch (which I approved, mea culpa).
12838
12839 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12840
12841 * Makefile.in (all-lib): Remove.
12842 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12843
2a081c59
JK
128442014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12845
12846 Fix Python stack corruption.
12847 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12848 gdb_py_longest.
12849
0a6bd22d
MK
128502014-02-08 Mark Kettenis <kettenis@gnu.org>
12851
12852 * Makefile.in (all-lib): Remove.
12853 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12854
1a860409
DE
128552014-02-07 Doug Evans <dje@google.com>
12856
12857 * extension-priv.h (extension_language_script_ops): Add comment.
12858 (extension_language_ops): Add comment.
caf5a491 12859 (active_ext_lang_state): Fix typo in comment.
1a860409 12860
d137e6dc
PA
128612014-02-07 Pedro Alves <palves@redhat.com>
12862
0dcb32c3 12863 PR breakpoints/16292
d137e6dc
PA
12864 * infrun.c (handle_signal_stop) <signal arrives while stepping
12865 over a breakpoint>: Switch back to the stepping thread.
12866
ce6d0892
YQ
128672014-02-07 Yao Qi <yao@codesourcery.com>
12868
12869 * target.c (target_xfer_partial): Return zero if LEN is zero.
12870
2ed4b548
YQ
128712014-02-07 Yao Qi <yao@codesourcery.com>
12872
12873 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12874 (ld_so_xfer_auxv): Likewise.
12875 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12876 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12877 * corelow.c (core_xfer_partial): Likewise.
12878 * ctf.c (ctf_xfer_partial): Likewise.
12879 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12880 (darwin_xfer_partial): Likewise.
12881 * exec.c (exec_xfer_partial): Likewise.
12882 * gnu-nat.c (gnu_xfer_partial): Likewise.
12883 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12884 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12885 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12886 * linux-nat.c (linux_xfer_siginfo): Likewise.
12887 (linux_proc_xfer_spu): Likewise.
12888 * procfs.c (procfs_xfer_partial): Likewise.
12889 * record-full.c (record_full_xfer_partial): Likewise.
12890 (record_full_core_xfer_partial): Likewise.
12891 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12892 * remote.c (remote_write_qxfer): Likewise.
12893 (remote_write_qxfer, remote_read_qxfer): Likewise.
12894 (remote_xfer_partial): Likewise.
12895 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12896 (rs6000_xfer_shared_libraries): Likewise.
12897 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12898 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12899 (spu_xfer_partial): Likewise.
12900 * target.c (memory_xfer_partial_1): Likewise.
12901 * tracepoint.c (tfile_xfer_partial): Likewise.
12902 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12903 (windows_xfer_partial): Likewise.
12904
c09f20e4
YQ
129052014-02-07 Yao Qi <yao@codesourcery.com>
12906
12907 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12908 comments.
12909 (core_xfer_shared_libraries_aix): Likewise.
12910 * gdbarch.c, gdbarch.h: Regenerated.
12911 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12912 ULONGEST. Change 'len_avail' type to ULONGEST.
12913 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12914 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12915 declaration.
12916 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12917
8635b3bf
YQ
129182014-02-07 Yao Qi <yao@codesourcery.com>
12919
12920 * corefile.c (memory_error): Get 'exception' from ERR and pass
12921 'exception' to throw_error.
12922
6dddc817
DE
129232014-02-06 Doug Evans <xdje42@gmail.com>
12924
12925 * configure.ac (libpython checking): Remove all but python.o from
12926 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12927 * configure: Regenerate.
12928
12929 * Makefile.in (SFILES): Add extension.c.
12930 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12931 (COMMON_OBS): Add extension.o.
12932 * extension.h: New file.
12933 * extension-priv.h: New file.
12934 * extension.c: New file.
12935
12936 * python/python-internal.h: #include "extension.h".
12937 (gdbpy_auto_load_enabled): Declare.
12938 (gdbpy_apply_val_pretty_printer): Declare.
12939 (gdbpy_apply_frame_filter): Declare.
12940 (gdbpy_preserve_values): Declare.
12941 (gdbpy_breakpoint_cond_says_stop): Declare.
12942 (gdbpy_breakpoint_has_cond): Declare.
12943 (void source_python_script_for_objfile): Delete.
12944 * python/python.c: #include "extension-priv.h".
12945 Delete inclusion of "observer.h".
12946 (extension_language_python): Moved here and renamed from
12947 script_language_python in py-auto-load.c.
12948 Redefined to be of type extension_language_defn.
12949 (python_extension_script_ops): New global.
12950 (python_extension_ops): New global.
12951 (struct python_env): New member previous_active.
12952 (restore_python_env): Call restore_active_ext_lang.
12953 (ensure_python_env): Call set_active_ext_lang.
12954 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12955 New arg extlang.
12956 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12957 New arg extlang.
12958 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12959 New arg extlang.
12960 (gdbpy_eval_from_control_command): Renamed from
12961 eval_python_from_control_command, made static. New arg extlang.
12962 (gdbpy_source_script) Renamed from source_python_script, made static.
12963 New arg extlang.
12964 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12965 result to int. New arg extlang.
12966 (gdbpy_source_objfile_script): Renamed from
12967 source_python_script_for_objfile, made static. New arg extlang.
12968 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12969 static. New args extlang, extlang_printers. Change result type to
12970 "void".
12971 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12972 static. New arg extlang. Rename arg printers to extlang_printers
12973 and change type to ext_lang_type_printers *.
12974 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12975 static. Replace argument arg with extlang, extlang_printers.
12976 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12977 (!HAVE_PYTHON, source_python_script): Delete.
12978 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12979 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12980 (!HAVE_PYTHON, start_type_printers): Delete.
12981 (!HAVE_PYTHON, apply_type_printers): Delete.
12982 (!HAVE_PYTHON, free_type_printers): Delete.
12983 (_initialize_python): Delete call to observer_attach_before_prompt.
12984 (finalize_python): Set/restore active extension language.
12985 (gdbpy_finish_initialization) Renamed from
12986 finish_python_initialization, made static. New arg extlang.
12987 (gdbpy_initialized): New function.
12988 * python/python.h: #include "extension.h". Delete #include
12989 "value.h", "mi/mi-cmds.h".
12990 (extension_language_python): Declare.
12991 (GDBPY_AUTO_FILE_NAME): Delete.
12992 (enum py_bt_status): Moved to extension.h and renamed to
12993 ext_lang_bt_status.
12994 (enum frame_filter_flags): Moved to extension.h.
12995 (enum py_frame_args): Moved to extension.h and renamed to
12996 ext_lang_frame_args.
12997 (finish_python_initialization): Delete.
12998 (eval_python_from_control_command): Delete.
12999 (source_python_script): Delete.
13000 (apply_val_pretty_printer): Delete.
13001 (apply_frame_filter): Delete.
13002 (preserve_python_values): Delete.
13003 (gdbpy_script_language_defn): Delete.
13004 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13005 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13006
13007 * auto-load.c: #include "extension.h".
13008 (GDB_AUTO_FILE_NAME): Delete.
13009 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13010 (script_language_gdb): Delete, moved to extension.c and renamed to
13011 extension_language_gdb.
13012 (source_gdb_script_for_objfile): Delete.
13013 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13014 (loaded_script): Change type of language member to
13015 struct extension_language_defn *.
13016 (init_loaded_scripts_info): Initialize
13017 unsupported_script_warning_printed.
13018 (maybe_add_script): Make static. Change type of language arg to
13019 struct extension_language_defn *.
13020 (clear_section_scripts): Reset unsupported_script_warning_printed.
13021 (auto_load_objfile_script_1): Rewrite to use extension language API.
13022 (auto_load_objfile_script): Make public. Remove support-compiled-in
13023 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13024 (source_section_scripts): Rewrite to use extension language API.
13025 (load_auto_scripts_for_objfile): Rewrite to use
13026 auto_load_scripts_for_objfile.
13027 (collect_matching_scripts_data): Change type of language member to
13028 struct extension_language_defn *.
13029 (auto_load_info_scripts): Change type of language arg to
13030 struct extension_language_defn *.
13031 (unsupported_script_warning_print): New function.
13032 (script_not_found_warning_print): Make static.
13033 (_initialize_auto_load): Rewrite construction of scripts-directory
13034 help.
13035 * auto-load.h (struct objfile): Add forward decl.
13036 (struct script_language): Delete.
13037 (struct auto_load_pspace_info): Add forward decl.
13038 (struct extension_language_defn): Add forward decl.
13039 (maybe_add_script): Delete.
13040 (auto_load_objfile_script): Declare.
13041 (script_not_found_warning_print): Delete.
13042 (auto_load_info_scripts): Update prototype.
13043 (auto_load_gdb_scripts_enabled): Declare.
13044 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13045 auto_load_python_scripts_enabled and made public.
13046 (script_language_python): Delete, moved to python.c.
13047 (gdbpy_script_language_defn): Delete.
13048 (info_auto_load_python_scripts): Update to use
13049 extension_language_python.
13050
13051 * breakpoint.c (condition_command): Replace call to
13052 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13053 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13054 with call to breakpoint_ext_lang_cond_says_stop.
13055 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13056 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13057 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13058 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13059 New arg slang.
13060 (local_setattro): Print name of extension language with existing
13061 stop condition.
13062
13063 * valprint.c (val_print, value_print): Update to call
13064 apply_ext_lang_val_pretty_printer.
13065 * cp-valprint.c (cp_print_value): Update call to
13066 apply_ext_lang_val_pretty_printer.
13067 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13068 (gdbpy_apply_val_pretty_printer): Renamed from
13069 apply_val_pretty_printer. New arg extlang.
13070 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13071
13072 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13073 extension language API.
13074 * cli/cli-script.c (execute_control_command): Update to call
13075 eval_ext_lang_from_control_command.
13076
13077 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13078 enum ext_lang_bt_status values. Update call to
13079 apply_ext_lang_frame_filter.
13080 (mi_cmd_stack_list_locals): Ditto.
13081 (mi_cmd_stack_list_args): Ditto.
13082 (mi_cmd_stack_list_variables): Ditto.
13083 * mi/mi-main.c: Delete #include "python/python-internal.h".
13084 Add #include "extension.h".
13085 (mi_cmd_list_features): Replace reference to python internal variable
13086 gdb_python_initialized with call to ext_lang_initialized_p.
13087
13088 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13089 Update to use enum ext_lang_frame_args. Update to call
13090 apply_ext_lang_frame_filter.
13091 * python/py-framefilter.c (extract_sym): Update to use enum
13092 ext_lang_bt_status.
13093 (extract_value, py_print_type, py_print_value): Ditto.
13094 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13095 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13096 (py_print_frame): Ditto.
13097 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13098 New arg extlang. Update to use enum ext_lang_bt_status.
13099
13100 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13101 finish_python_initialization. Replace with call to
13102 finish_ext_lang_initialization.
13103
13104 * typeprint.c (do_free_global_table): Update to call
13105 free_ext_lang_type_printers.
13106 (create_global_typedef_table): Update to call
13107 start_ext_lang_type_printers.
13108 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13109 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13110 (type_print_options): Change type of global_printers from "void *"
13111 to "struct ext_lang_type_printers *".
13112
13113 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13114 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13115 (gdbpy_preserve_values): Renamed from preserve_python_values.
13116 New arg extlang.
13117 (!HAVE_PYTHON, preserve_python_values): Delete.
13118
13119 * utils.c (quit_flag): Delete, moved to extension.c.
13120 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13121 extension.c.
13122
13123 * eval.c: Delete #include "python/python.h".
13124 * main.c: Delete #include "python/python.h".
13125
13126 * defs.h: Update comment.
13127
6af79985
JB
131282014-02-06 Joel Brobecker <brobecker@adacore.com>
13129
13130 GDB 7.7 released.
13131
12c5175d
MK
131322014-02-05 Mark Kettenis <kettenis@gnu.org>
13133
13134 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13135 defined.
13136
8dc5b319
YQ
131372014-02-05 Yao Qi <yao@codesourcery.com>
13138
13139 * remote.c (remote_pass_signals): Remove local 'buf' and use
13140 rs->buf.
13141 (remote_program_signals): Likewise.
13142
de7b2893
YQ
131432014-02-05 Yao Qi <yao@codesourcery.com>
13144
13145 * ctf.c: Include "inferior.h" and "gdbthread.h".
13146 (CTF_PID): A new macro.
13147 (ctf_open): Call inferior_appeared and add_thread_silent.
13148 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13149 (ctf_thread_alive): New function.
13150 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13151
66d032ac
YQ
131522014-02-05 Yao Qi <yao@codesourcery.com>
13153
13154 Revert this patch:
13155
13156 2013-05-24 Yao Qi <yao@codesourcery.com>
13157
13158 * tracepoint.c (TFILE_PID): Remove.
13159 (tfile_open): Don't add thread and inferior.
13160 (tfile_close): Don't set 'inferior_ptid'. Don't call
13161 exit_inferior_silent.
13162 (tfile_thread_alive): Remove.
13163 (init_tfile_ops): Don't set field 'to_thread_alive' of
13164 tfile_ops.
13165
f4ccffad
CE
131662014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13167
13168 * remote.c (remote_start_remote): Call remote_check_symbols even
13169 if only symbol-file (not file) has been given.
13170
591a12a1
UW
131712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13172
13173 * gdbarch.sh (skip_entrypoint): New callback.
13174 * gdbarch.c, gdbarch.h: Regenerate.
13175 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13176 * infrun.c (fill_in_stop_func): Likewise.
13177 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13178 (ppc_elfv2_elf_make_msymbol_special): New function.
13179 (ppc_elfv2_skip_entrypoint): Likewise.
13180 (ppc_linux_init_abi): Install them for ELFv2.
13181
cc0e89c5
UW
131822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13183
13184 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13185 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13186 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13187 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13188 structures returned in GPRs.
13189
52f548e4
UW
131902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13191
13192 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13193 offset to the stack parameter list for the ELFv2 ABI.
13194
d4094b6a
UW
131952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13196
13197 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13198 set_gdbarch_convert_from_func_ptr_addr and
13199 set_gdbarch_elf_make_msymbol_special for ELFv1.
13200 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13201 function descriptors on ELFv1.
13202 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13203 set up r12 at function entry.
13204
cd453cd0
UW
132052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13206
13207 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13208 (struct gdbarch_tdep): New member elf_abi.
13209
13210 * rs6000-tdep.c: Include "elf/ppc64.h".
13211 (rs6000_gdbarch_init): Detect ELF ABI version.
13212
0ff3e01f
UW
132132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13214
13215 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13216 within a register pair holding a DFP 128-bit value on little-endian.
13217 (ppc64_sysv_abi_return_value_base): Likewise.
13218 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13219 (dfp_pseudo_register_write): Likewise.
13220
5b757e5d
UW
132212014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13222
13223 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13224 offset on little-endian when passing _Decimal32.
13225 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13226
084ee545
UW
132272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13228
13229 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13230 of the overlapped FP register within the VSX register on little-
13231 endian platforms.
13232 (efpr_pseudo_register_write): Likewise.
13233
d63167af
UW
132342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13235
13236 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13237 offset on little-endian when passing small structures.
13238
e765b44c
UW
132392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13240
13241 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13242 (struct ppc64_sysv_argpos): New data structure.
13243 (ppc64_sysv_abi_push_float): Remove.
13244 (ppc64_sysv_abi_push_val): New function.
13245 (ppc64_sysv_abi_push_integer): Likewise.
13246 (ppc64_sysv_abi_push_freg): Likewise.
13247 (ppc64_sysv_abi_push_vreg): Likewise.
13248 (ppc64_sysv_abi_push_param): Likewise.
13249 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13250 (ppc64_sysv_abi_return_value_base): New function.
13251 (ppc64_sysv_abi_return_value): Refactor to use it.
13252
36c24d95
UW
132532014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13254
13255 * NEWS: Document new target powerpc64le-*-linux*.
13256
26fd9228
MK
132572014-02-04 Mark Kettenis <kettenis@gnu.org>
13258
13259 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13260 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13261 core dumps.
13262 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13263 register set used in ELF core dumps. Add floating-point register set.
13264
c5bb7362
KB
132652014-02-03 Kevin Buettner <kevinb@redhat.com>
13266
74228e77 13267 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
13268 dwarf2_to_gdb[] table using symbolic constants. Adjust
13269 penultimate entry from number representing the PC register
13270 to symbolic constant representing the MDR register. Add
13271 constant for the PC register to the end of the table.
13272
af09351e
MK
132732014-02-03 Mark Kettenis <kettenis@gnu.org>
13274
13275 * bsd-kvm.c: Include <sys/param.h>
13276
8507e05d
MK
132772014-02-03 Mark Kettenis <kettenis@gnu.org>
13278
13279 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13280
ae56bfb8
JB
132812014-01-31 Joel Brobecker <brobecker@adacore.com>
13282
13283 * ada-lang.h (clear_ada_sym_cache): Delete.
13284
718ee4dc
UW
132852014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13286
13287 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13288
401e27fd
JM
132892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13290
13291 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13292 the sigreturn register save area only if the syscall is
13293 sigreturn.
13294
a7c88acd
JB
132952014-01-29 Joel Brobecker <brobecker@adacore.com>
13296
13297 * valops.c (value_slice): Minor reformatting.
13298
fa0079ea
UW
132992014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13300
13301 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13302
c6044dd1
JB
133032014-01-28 Joel Brobecker <brobecker@adacore.com>
13304
13305 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13306 New static globals.
13307 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13308 (ada_ignore_descriptive_types_p): New static global.
13309 (find_parallel_type_by_descriptive_type): Return immediately
13310 if ada_ignore_descriptive_types_p is set.
13311 (_initialize_ada_language): Register new commands "maintenance
13312 set ada", "maintenance show ada", "maintenance set ada
13313 ignore-descriptive-types" and "maintenance show ada
13314 ignore-descriptive-types".
13315 * NEWS: Add entry for new "maint ada set/show
13316 ignore-descriptive-types" commands.
13317
568e808b
MM
133182014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13319
13320 * record-btrace.c (record_btrace_close): Call btrace_teardown
13321 for all threads.
13322
467d141b
JB
133232014-01-27 Joel Brobecker <brobecker@adacore.com>
13324
13325 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13326 "ui-out.h".
13327
fb151210
JB
133282014-01-27 Joel Brobecker <brobecker@adacore.com>
13329
13330 * ada-typeprint (type_is_full_subrange_of_target_type):
13331 New function.
13332 (print_range): Add parameter bounds_prefered_p. If not set,
13333 try printing range types using the name of their base type.
13334 (print_range_type): Add parameter bounds_prefered_p.
13335 Use it in call to print_range.
13336 (print_array_type, ada_print_type): Update calls to print_range
13337 and print_range_type.
13338
aba02109
JB
133392014-01-27 Joel Brobecker <brobecker@adacore.com>
13340
13341 * ada-typeprint.c (print_array_type, print_choices, print_range)
13342 (print_range_bound, print_dynamic_range_bound, print_range_type):
13343 Remove declaration.
13344
e62e21fd
JB
133452014-01-27 Joel Brobecker <brobecker@adacore.com>
13346
13347 * ada-typeprint.c (print_range): Add missing empty line
13348 after local declaration.
13349
859cf5d1
JB
133502014-01-27 Joel Brobecker <brobecker@adacore.com>
13351
13352 * ada-valprint.c (print_optional_low_bound): Get index_type's
13353 target type for as long as it is a TYPE_CODE_RANGE.
13354
25790f6f
JB
133552014-01-27 Joel Brobecker <brobecker@adacore.com>
13356
13357 * procfs.c (procfs_make_note_section): Remove assertion and
13358 associated comment.
13359
6b6aa828
YQ
133602014-01-24 Yao Qi <yao@codesourcery.com>
13361
13362 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13363 * corelow.c (get_core_siginfo): Likewise.
13364
5d6df423
YQ
133652014-01-24 Yao Qi <yao@codesourcery.com>
13366
13367 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13368 ULONGEST. Don't check 'len' is negative.
13369 (remote_write_bytes): Change type of 'len' to ULONGEST.
13370
83b645b8
TT
133712014-01-23 Tom Tromey <tromey@redhat.com>
13372
13373 PR python/16485:
13374 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13375 Handle exception from frame.block.
13376 (FrameVars.fetch_frame_locals): Likewise.
13377
0740f8d8
TT
133782014-01-23 Tom Tromey <tromey@redhat.com>
13379
13380 PR python/16487:
13381 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13382 on a NULL pointer. Move "goto error" to correct place.
13383
21909fa1
TT
133842014-01-23 Tom Tromey <tromey@redhat.com>
13385
13386 PR python/16491:
13387 * python/py-framefilter.c (apply_frame_filter): Call
13388 ensure_python_env after computing gdbarch.
13389
17fde6d0
YQ
133902014-01-23 Yao Qi <yao@codesourcery.com>
13391
13392 * target.c (raw_memory_xfer_partial): Change argument type
13393 from void * to gdb_byte *.
13394 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13395
87ce2a04
DE
133962014-01-22 Doug Evans <dje@google.com>
13397
13398 New gdbserver option --debug-format=timestamp.
13399 * NEWS: Mention it.
13400
237b092b
AA
134012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13402
13403 * syscalls/s390x-linux.xml: New file.
13404 * syscalls/s390-linux.xml: New file.
13405 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13406 (XML_SYSCALL_FILENAME_S390X): Likewise.
13407 (op_svc): New enum value for SVC opcode.
13408 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13409 (s390_linux_get_syscall_number): New function.
13410 (s390_gdbarch_init): Register '*get_syscall_number' and the
13411 syscall xml file name.
13412 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13413 "s390-linux.xml" and "s390x-linux.xml".
13414 * NEWS: Announce new feature.
13415
54bff650
BS
134162014-01-22 Baruch Siach <baruch@tkos.co.il>
13417
13418 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13419
14e361d7
PA
134202014-01-22 Pedro Alves <palves@redhat.com>
13421
13422 * xtensa-config.c: Include defs.h.
13423
46bbb3ed
JB
134242014-01-22 Joel Brobecker <brobecker@adacore.com>
13425
13426 * common/common-utils.h: Add "ARI:" comment beside __func__
13427 reference.
13428
3a80edfc
JB
134292014-01-22 Joel Brobecker <brobecker@adacore.com>
13430
13431 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13432 documentation a bit.
13433
4869db5e
RM
134342014-01-21 Roland McGrath <mcgrathr@google.com>
13435
13436 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13437 * configure: Regenerate.
13438 * aclocal.m4: Regenerate.
13439 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13440 New substituted variables.
13441 (install-strip): New target.
13442 (INSTALL_SCRIPT): New substituted variable.
13443 (FLAGS_TO_PASS): Add it.
13444 (install-only): Use $(INSTALL_SCRIPT) rather than
13445 $(INSTALL_PROGRAM) for gcore.
13446
9ea4267d
TT
134472014-01-20 Tom Tromey <tromey@redhat.com>
13448
13449 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13450 together.
13451
1f2bdf09
TT
134522014-01-20 Tom Tromey <tromey@redhat.com>
13453
13454 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13455 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13456 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13457 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13458 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13459 (struct cmd_list_element) <flags>: Remove.
13460 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13461 doc_allocated>: New fields.
13462 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13463 bitfields.
13464 * maint.c (maintenance_do_deprecate): Update.
13465 * top.c (execute_command): Update.
13466
e671835b
BS
134672014-01-20 Baruch Siach <baruch@tkos.co.il>
13468
13469 * xtensa-linux-nat.c: Include asm/ptrace.h.
13470
50367cd2
IB
134712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13472
13473 * Makefile.in (SFILES): Add d-support.c.
13474 (COMMON_OBS): Add d-support.o.
13475 * d-lang.h (d_parse_symbol): Add comment, now defined in
13476 d-support.c.
13477 * d-lang.c (parse_call_convention)
13478 (parse_attributes, parse_function_types)
13479 (parse_function_args, parse_type, parse_identifier)
13480 (call_convention_p, d_parse_symbol): Move functions to ...
13481 * d-support.c: ... New file.
13482
ec9f644a
IB
134832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13484
13485 * d-lang.h (d_parse_symbol): Add declaration.
13486 * d-lang.c (extract_identifiers)
13487 (extract_type_info): Remove functions.
13488 (parse_call_convention, parse_attributes)
13489 (parse_function_types, parse_function_args)
13490 (parse_type, parse_identifier, call_convention_p)
13491 (d_parse_symbol): New functions.
13492 (d_demangle): Use d_parse_symbol to demangle D symbols.
13493
94b1b47e
IB
134942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13495
13496 * d-lang.h (struct builtin_d_type): New data type.
13497 (builtin_d_type): Add declaration.
13498 * d-lang.c (d_language_arch_info, build_d_types)
13499 (builtin_d_type): New functions.
13500 (enum d_primitive_types): New data type.
13501 (d_language_defn): Change c_language_arch_info to
13502 d_language_arch_info.
13503 (d_type_data): New static variable.
13504 (_initialize_d_language): Initialize d_type_data.
13505
63778547
IB
135062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13507
13508 * d-lang.h (d_main_name): Add declaration.
13509 * d-lang.c (d_main_name): New function.
13510 * symtab.c (find_main_name): Add call to d_main_name.
13511
3271ba66
IB
135122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13513
13514 * d-lang.c (d_language_defn): Change macro_expansion_c to
13515 macro_expansion_no.
13516
d36b3012
IB
135172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13518
13519 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13520
c90a6fb7
SDJ
135212014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13522
13523 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13524 gdb_exception" declaration.
13525 * remote.c (getpkt_or_notif_sane): Likewise.
13526
749234e5
DE
135272014-01-17 Doug Evans <dje@google.com>
13528
13529 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13530 function, contents of dirnames_to_char_ptr_vec_append moved here.
13531 (delim_string_to_char_ptr_vec): New function.
13532 (dirnames_to_char_ptr_vec_append): Rewrite.
13533 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13534
df049a58
DE
135352014-01-17 Doug Evans <dje@google.com>
13536
13537 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13538 and moved here ...
13539 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13540 #include "common-utils.h".
13541 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13542 * common/vec.h (VEC_ASSERT_PASS): Update.
13543 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13544 (MACH_CHECK_ERROR): Update.
13545
69f97648
SM
135462014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13547
13548 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13549 comments.
13550 * gdbarch.h: Regenerate.
13551
98b1cfdc
TT
135522014-01-16 Tom Tromey <tromey@redhat.com>
13553
13554 * value.c (struct value) <regnum>: Move earlier.
13555
77a19445
TT
135562014-01-16 Tom Tromey <tromey@redhat.com>
13557
13558 * remote.c (extended_remote_create_inferior): Rename from
13559 extended_remote_create_inferior_1. Add "ops" argument. Remove
13560 old implementation.
13561
62261490
PA
135622014-01-16 Pedro Alves <palves@redhat.com>
13563
13564 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13565 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13566 the backchain.
13567
4d65956b
DE
135682014-01-16 Doug Evans <dje@google.com>
13569
13570 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13571
52834460
MM
135722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13573
13574 * btrace.h (btrace_thread_flag): New.
13575 (struct btrace_thread_info) <flags>: New.
13576 * record-btrace.c (record_btrace_resume_thread)
13577 (record_btrace_find_thread_to_move, btrace_step_no_history)
13578 (btrace_step_stopped, record_btrace_start_replaying)
13579 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13580 (record_btrace_find_resume_thread): New.
13581 (record_btrace_resume, record_btrace_wait): Extend.
13582 (record_btrace_can_execute_reverse): New.
13583 (record_btrace_open): Fail in non-stop mode.
13584 (record_btrace_set_replay): Split into this, ...
13585 (record_btrace_stop_replaying): ... this, ...
13586 (record_btrace_clear_histories): ... and this.
13587 (init_record_btrace_ops): Init to_can_execute_reverse.
13588 * NEWS: Announce it.
13589
118e6252
MM
135902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13591
13592 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13593 (forward_target_decr_pc_after_break)
13594 (target_decr_pc_after_break): New.
13595 * target.c (forward_target_decr_pc_after_break)
13596 (target_decr_pc_after_break): New.
13597 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13598 instead of gdbarch_decr_pc_after_break.
13599 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13600 instead of gdbarch_decr_pc_after_break.
13601 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13602 instead of gdbarch_decr_pc_after_break.
13603 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13604 instead of gdbarch_decr_pc_after_break.
13605 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13606 instead of gdbarch_decr_pc_after_break.
13607 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13608 instead of gdbarch_decr_pc_after_break.
13609
6e07b1d2
MM
136102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13611
13612 * btrace.c: Include regcache.h.
13613 (btrace_add_pc): New.
13614 (btrace_enable): Call btrace_add_pc.
13615 (btrace_is_empty): New.
13616 * btrace.h (btrace_is_empty): New.
13617 * record-btrace.c (require_btrace, record_btrace_info): Call
13618 btrace_is_empty.
13619
969c39fb
MM
136202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13621
13622 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13623 Support delta reads.
13624 (linux_disable_btrace): Change return type.
13625 * common/linux-btrace.h (linux_read_btrace): Change parameters
13626 and return type to allow error reporting. Update users.
13627 (linux_disable_btrace): Change return type. Update users.
13628 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13629 New.
13630 (btrace_error): New.
13631 (btrace_block) <begin>: Comment on BEGIN == 0.
13632 * btrace.c (btrace_compute_ftrace): Start from the end of
13633 the current trace.
13634 (btrace_stitch_trace, btrace_clear_history): New.
13635 (btrace_fetch): Read delta trace, return if replaying.
13636 (btrace_clear): Move clear history code to btrace_clear_history.
13637 (parse_xml_btrace): Throw an error if parsing failed.
13638 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13639 and return type to allow error reporting.
13640 (target_read_btrace): Change parameters and return type to allow
13641 error reporting.
13642 * target.c (target_read_btrace): Update.
13643 * remote.c (remote_read_btrace): Support delta reads. Pass
13644 errors on.
13645 * NEWS: Announce it.
13646
0b722aec
MM
136472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13648
13649 * record.h (record_btrace_frame_unwind)
13650 (record_btrace_tailcall_frame_unwind): New declarations.
13651 * dwarf2-frame: Include record.h
13652 (dwarf2_frame_cfa): Throw an error for btrace frames.
13653 * record-btrace.c: Include hashtab.h.
13654 (btrace_get_bfun_name): New.
13655 (btrace_call_history): Call btrace_get_bfun_name.
13656 (struct btrace_frame_cache): New.
13657 (bfcache): New.
13658 (bfcache_hash, bfcache_eq, bfcache_new): New.
13659 (btrace_get_frame_function): New.
13660 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13661 (record_btrace_frame_this_id): Compute own id.
13662 (record_btrace_frame_prev_register): Provide PC, throw_error
13663 for all other registers.
13664 (record_btrace_frame_sniffer): Detect btrace frames.
13665 (record_btrace_tailcall_frame_sniffer): New.
13666 (record_btrace_frame_dealloc_cache): New.
13667 (record_btrace_frame_unwind): Add new functions.
13668 (record_btrace_tailcall_frame_unwind): New.
13669 (_initialize_record_btrace): Allocate cache.
13670 * btrace.c (btrace_clear): Call reinit_frame_cache.
13671 * NEWS: Announce it.
13672
066ce621
MM
136732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13674
13675 * record-btrace.c (record_btrace_set_replay)
13676 (record_btrace_goto_begin, record_btrace_goto_end)
13677 (record_btrace_goto): New.
13678 (init_record_btrace_ops): Initialize them.
13679 * NEWS: Announce it.
13680
e2887aa3
MM
136812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13682
13683 * record-btrace.c (record_btrace_find_new_threads)
13684 (record_btrace_thread_alive): New.
13685 (init_record_btrace_ops): Initialize to_find_new_threads and
13686 to_thread_alive.
13687
b2f4cfde
MM
136882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13689
13690 * record-btrace.c (record_btrace_resume): New.
13691 (record_btrace_wait): New.
13692 (init_record_btrace_ops): Initialize to_wait and to_resume.
13693
633785ff
MM
136942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13695
13696 * record-btrace.c (record_btrace_xfer_partial)
13697 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13698 (record_btrace_allow_memory_access): New.
13699 (init_record_btrace_ops): Initialize new methods.
13700 * target.c (raw_memory_xfer_partial): Bail out if target reports
13701 that this memory is not available.
13702
3db08215
MM
137032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13704
13705 * target.h (target_ops) <to_insert_breakpoint>
13706 <to_remove_breakpoint>: Add target_ops parameter.
13707 (forward_target_insert_breakpoint): New.
13708 (forward_target_remove_breakpoint): New.
13709 (memory_remove_breakpoint, memory_insert_breakpoint):
13710 Add target_ops parameter.
13711 * target.c (target_insert_breakpoint): Split into this and ...
13712 (forward_target_insert_breakpoint): ... this.
13713 (target_remove_breakpoint): Split into this and ...
13714 (forward_target_remove_breakpoint): ... this.
13715 (debug_to_insert_breakpoint): Add target_ops parameter.
13716 Call forward_target_insert_breakpoint.
13717 (debug_to_remove_breakpoint): Add target_ops parameter.
13718 Call forward_target_remove_breakpoint.
13719 (update_current_target): Do not inherit or default to_insert_breakpoint
13720 and to_remove_breakpoint.
13721 * corelow.c (ignore): Add target_ops parameter.
13722 * exec.c (ignore): Add target_ops parameter.
13723 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13724 Add target_ops parameter.
13725 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13726 Add target_ops parameter.
13727 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13728 Add target_ops parameter.
13729 * record-full.c (record_full_beneath_to_insert_breakpoint)
13730 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13731 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13732 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13733 (record_full_core_remove_breakpoint): Add target_ops parameter.
13734 Update users.
13735 (record_full_beneath_to_insert_breakpoint_ops)
13736 (record_full_beneath_to_remove_breakpoint_ops)
13737 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13738 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13739 tmp_to_remove_breakpoint_ops,
13740 record_full_beneath_to_insert_breakpoint_ops, and
13741 record_full_beneath_to_remove_breakpoint_ops.
13742 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13743 (m32r_remove_breakpoint): Add target_ops parameter.
13744 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13745 Add target_ops parameter.
13746 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13747 Add target_ops parameter.
13748
cecac1ab
MM
137492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13750 Markus Metzger <markus.t.metzger@intel.com>
13751
13752 * record-btrace.c: Include frame-unwind.h.
13753 (record_btrace_frame_unwind_stop_reason)
13754 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13755 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13756 New.
13757 (init_record_btrace_ops): Install it.
13758
824344ca
MM
137592014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13760
13761 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13762 get_prev_frame_1.
13763
32261e52
MM
137642014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13765
13766 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13767 earlier.
13768
ea001bdc
MM
137692014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13770
13771 * frame-unwind.c: Include target.h.
13772 (frame_unwind_try_unwinder): New function with code from ...
13773 (frame_unwind_find_by_frame): ... here. New variable
13774 unwinder_from_target, call also target_get_unwinder)
13775 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13776 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13777 * target.h (struct target_ops): New fields to_get_unwinder and
13778 to_get_tailcall_unwinder.
13779 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13780
1f3ef581
MM
137812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13782
13783 * record-btrace.c (record_btrace_fetch_registers)
13784 (record_btrace_store_registers)
13785 (record_btrace_to_prepare_to_store): New.
13786 (init_record_btrace_ops): Add the above.
13787
f32dbf8c
MM
137882014-01-16 Tom Tromey <tromey@redhat.com>
13789
13790 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13791 * target.h (struct target_ops) <to_prepare_to_store>: Add
13792 argument.
13793 (target_prepare_to_store): Add argument.
13794 * target.c (debug_to_prepare_to_store): Add argument.
13795 (update_current_target): Update.
13796 * remote.c (remote_prepare_to_store): Add 'self' argument.
13797 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13798 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13799 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13800 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13801 argument.
13802 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13803 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13804 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13805 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13806 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13807
07bbe694
MM
138082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13809
13810 * btrace.h (replay) <replay>: New.
13811 (btrace_is_replaying): New.
13812 * btrace.c (btrace_clear): Free replay iterator.
13813 (btrace_is_replaying): New.
13814 * record-btrace.c (record_btrace_is_replaying): New.
13815 (record_btrace_info): Print insn number if replaying.
13816 (record_btrace_insn_history): Start at replay position.
13817 (record_btrace_call_history): Start at replay position.
13818 (init_record_btrace_ops): Init to_record_is_replaying.
13819
0688d04e
MM
138202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13821
13822 * record-btrace.c (record_btrace_insn_history_range): Include
13823 end.
13824 (record_btrace_insn_history_from): Adjust range.
13825 (record_btrace_call_history_range): Include
13826 end.
13827 (record_btrace_call_history_from): Adjust range.
13828 * NEWS: Announce changes.
13829
8710b709
MM
138302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13831
13832 * record.h (enum record_print_flag)
13833 <record_print_indent_calls>: New.
13834 * record.c (get_call_history_modifiers): Recognize /c modifier.
13835 (_initialize_record): Document /c modifier.
13836 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13837 Reorder fields. Optionally indent the function name. Update
13838 all users.
13839 * NEWS: Announce changes.
13840
d0fa7535
MM
138412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13842
13843 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13844
5de9129b
MM
138452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13846
13847 * btrace.c (ftrace_new_function): Start counting at one.
13848 * record-btrace.c (record_btrace_info): Adjust number of calls
13849 and insns.
13850 * NEWS: Announce it.
13851
7acbe133
MM
138522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13853
13854 * record-btrace.c (btrace_call_history_insn_range): Print
13855 insn range as [begin, end].
13856
23a7fe75
MM
138572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13858
13859 * btrace.h (struct btrace_func_link): New.
13860 (enum btrace_function_flag): New.
13861 (struct btrace_inst): Rename to ...
13862 (struct btrace_insn): ...this. Update all users.
13863 (struct btrace_func) <ibegin, iend>: Remove.
13864 (struct btrace_func_link): New.
13865 (struct btrace_func): Rename to ...
13866 (struct btrace_function): ...this. Update all users.
13867 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13868 (number, level, flags>: New.
13869 (struct btrace_insn_iterator): Rename to ...
13870 (struct btrace_insn_history): ...this.
13871 Update all users.
13872 (struct btrace_insn_iterator, btrace_call_iterator): New.
13873 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13874 (struct btrace_target_info) <begin, end, level>
13875 <insn_history, call_history>: New.
13876 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13877 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13878 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13879 (btrace_call_number, btrace_call_begin, btrace_call_end)
13880 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13881 (btrace_find_function_by_number, btrace_set_insn_history)
13882 (btrace_set_call_history): New.
13883 * btrace.c (btrace_init_insn_iterator)
13884 (btrace_init_func_iterator, compute_itrace): Remove.
13885 (ftrace_print_function_name, ftrace_print_filename)
13886 (ftrace_skip_file): Change
13887 parameter to const.
13888 (ftrace_init_func): Remove.
13889 (ftrace_debug): Use new btrace_function fields.
13890 (ftrace_function_switched): Also consider gaining and
13891 losing symbol information).
13892 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13893 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13894 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13895 New.
13896 (ftrace_new_function): Move. Remove debug print.
13897 (ftrace_update_lines, ftrace_update_insns): New.
13898 (ftrace_update_function): Check for call, ret, and jump.
13899 (compute_ftrace): Renamed to ...
13900 (btrace_compute_ftrace): ...this. Rewritten to compute call
13901 stack.
13902 (btrace_fetch, btrace_clear): Updated.
13903 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13904 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13905 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13906 (btrace_call_number, btrace_call_begin, btrace_call_end)
13907 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13908 (btrace_find_function_by_number, btrace_set_insn_history)
13909 (btrace_set_call_history): New.
13910 * record-btrace.c (require_btrace): Use new btrace thread
13911 info fields.
13912 (record_btrace_info, btrace_insn_history)
13913 (record_btrace_insn_history, record_btrace_insn_history_range):
13914 Use new btrace thread info fields and new iterator.
13915 (btrace_func_history_src_line): Rename to ...
13916 (btrace_call_history_src_line): ...this. Use new btrace
13917 thread info fields.
13918 (btrace_func_history): Rename to ...
13919 (btrace_call_history): ...this. Use new btrace thread info
13920 fields and new iterator.
13921 (record_btrace_call_history, record_btrace_call_history_range):
13922 Use new btrace thread info fields and new iterator.
13923
8372a7cb
MM
139242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13925
13926 * frame.h (frame_id_build_unavailable_stack_special): New.
13927 * frame.c (frame_id_build_unavailable_stack_special): New.
13928
c2170eef
MM
139292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13930
13931 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13932 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13933 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13934 to gdbarch.
13935 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13936 (i386_insn_is_jump, i386_jmp_p): New.
13937 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13938 insn_is_jump to gdbarch.
13939 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13940 * gdbarch.h: Regenerated.
13941 * gdbarch.c: Regenerated.
13942 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13943 (default_insn_is_jump): New.
13944 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13945 (default_insn_is_jump): New.
13946
864089d2
MM
139472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13948
13949 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13950 Change to ...
13951 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13952 (btrace_read_type) <btrace_read_new>: Change to ...
13953 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13954
ed9edfb5
MM
139552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13956
13957 * common/linux-btrace.c (linux_read_btrace): Free trace from
13958 previous iteration.
13959
fbcbc3fd
DE
139602014-01-15 Doug Evans <dje@google.com>
13961
13962 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13963 uint32_t.
13964
3d548a53
TT
139652014-01-15 Tom Tromey <tromey@redhat.com>
13966
13967 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13968 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13969 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13970 (set_objfile_main_name): New function.
13971 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13972 language_of_main>: New fields.
13973 (set_objfile_main_name): Declare.
13974 * symtab.c (find_main_name): Loop over objfiles to find the main
13975 name and language.
13976 (set_main_name): Now static.
13977 (get_main_info): Add comment.
13978 * symtab.h (set_main_name): Don't declare.
13979
32ac0d11
TT
139802014-01-15 Tom Tromey <tromey@redhat.com>
13981
13982 * symtab.c (main_progspace_key): New global.
13983 (struct main_info): New.
13984 (name_of_main, language_of_main): Remove.
13985 (get_main_info, main_info_cleanup): New function.
13986 (set_main_name, main_name, main_language): Use get_main_info.
13987 (_initialize_symtab): Initialize main_progspace_key.
13988
9e6c82ad
TT
139892014-01-15 Tom Tromey <tromey@redhat.com>
13990
13991 * dbxread.c (process_one_symbol): Update.
13992 * dwarf2read.c (read_partial_die): Update.
13993 * symfile.c (set_initial_language): Call main_language.
13994 * symtab.c (language_of_main): Now static.
13995 (set_main_name): Add 'lang' parameter.
13996 (find_main_name): Update.
13997 (main_language): New function.
13998 (symtab_observer_executable_changed): Update.
13999 * symtab.h (set_main_name): Update.
14000 (language_of_main): Remove.
14001 (main_language): Declare.
14002
6ef55de7
TT
140032014-01-15 Tom Tromey <tromey@redhat.com>
14004
14005 * symfile.c (init_entry_point_info): Use new "initialized" field.
14006 Update.
14007 * objfiles.h (struct entry_point) <initialized>: New field.
14008 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14009 (struct objfile) <ei>: ...here. Remove.
14010 * objfiles.c (entry_point_address_query): Update.
14011
53eddfa6
TT
140122014-01-15 Tom Tromey <tromey@redhat.com>
14013
14014 * objfiles.c (entry_point_address_query): Relocate entry point
14015 address.
14016 (objfile_relocate1): Do not relocate entry point address.
14017 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14018 <the_bfd_section_index>: New field.
14019 * symfile.c (init_entry_point_info): Find the entry point's
14020 section.
14021
d56e56aa
TT
140222014-01-15 Tom Tromey <tromey@redhat.com>
14023
14024 * solib-frv.c (enable_break): Use entry_point_address_query.
14025
33a97bbe
OJ
140262014-01-15 Omair Javaid <omair.javaid@linaro.org>
14027
14028 * NEWS: Add note on improved process record-replay on
14029 arm*-linux* targets.
14030
c6ec2b30
OJ
140312014-01-15 Omair Javaid <omair.javaid@linaro.org>
14032
14033 * arm-tdep.c (enum arm_record_result): New enum.
14034 (arm_record_unsupported_insn): New function.
14035 (arm_record_coproc_data_proc): Removed.
14036 (thumb2_record_ld_st_multiple): New function.
14037 (thumb2_record_ld_st_dual_ex_tbb): New function.
14038 (thumb2_record_data_proc_sreg_mimm): New function.
14039 (thumb2_record_ps_dest_generic): New function.
14040 (thumb2_record_branch_misc_cntrl): New function.
14041 (thumb2_record_str_single_data): New function.
14042 (thumb2_record_ld_mem_hints): New function.
14043 (thumb2_record_ld_word): New function.
14044 (thumb2_record_lmul_lmla_div): New function.
14045 (thumb2_record_decode_insn_handler): New function.
14046 (decode_insn): Add thumb32 instruction handlers.
14047
97dfe206
OJ
140482014-01-15 Omair Javaid <omair.javaid@linaro.org>
14049
14050 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14051 (struct arm_linux_record_tdep): Declare.
14052 (arm_canonicalize_syscall): New function.
14053 (arm_all_but_pc_registers_record): New function.
14054 (arm_linux_syscall_record): New function.
14055 (arm_linux_init_abi): Add syscall recording constructs.
14056 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14057 decoding. (arm_record_coproc_data_proc): Update arm syscall
14058 decoding.
14059 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14060 <arm_syscall_record>: New field.
14061 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14062 gdb_target_obs.
14063
9904a494
OJ
140642014-01-15 Omair Javaid <omair.javaid@linaro.org>
14065
14066 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14067 register for push instruction recording.
14068
f969241e
OJ
140692014-01-15 Omair Javaid <omair.javaid@linaro.org>
14070
14071 * arm-tdep.c (thumb_record_misc): Update to correct logical
14072 error while recording ldm, ldmia and pop instructions.
14073
bfbbec00
OJ
140742014-01-15 Omair Javaid <omair.javaid@linaro.org>
14075
14076 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14077
e40adcc9
PA
140782014-01-15 Pedro Alves <palves@redhat.com>
14079
14080 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14081 (go32_resume, go32_fetch_registers, store_register)
14082 (go32_store_registers, go32_prepare_to_store)
14083 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14084 (go32_create_inferior, go32_can_run, go32_terminal_init)
14085 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14086 declarations.
14087
b0a16e66
TT
140882014-01-15 Tom Tromey <tromey@redhat.com>
14089
14090 * target.h (async_callback_ftype): New typedef.
14091 (struct target_ops) <to_async>: Use it.
14092
bf7105a4
JB
140932014-01-15 Joel Brobecker <brobecker@adacore.com>
14094
14095 * python/py-value.c (get_field_type): Remove unnecessary curly
14096 braces for single-statement if block.
14097
a8f35c2e
JB
140982014-01-15 Joel Brobecker <brobecker@adacore.com>
14099
14100 * python/py-type.c (convert_field): Add missing empty line
14101 after declarations.
14102
bb4142cf
DE
141032014-01-14 Doug Evans <dje@google.com>
14104
14105 * symfile.h (expand_symtabs_matching): Renamed from
14106 expand_partial_symbol_names. Update prototype.
14107 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14108 * symfile.c (expand_symtabs_matching): Renamed from
14109 expand_partial_symbol_names. New args file_matcher, kind.
14110 Rename arg fun to symbol_matcher.
14111 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14112 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14113 ada_expand_partial_symbol_name.
14114 (ada_make_symbol_completion_list): Update to call
14115 expand_symtabs_matching.
14116 (ada_add_global_exceptions): Call expand_symtabs_matching.
14117 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14118 call map_symbol_filenames.
14119 * symtab.c (sources_info): Update to call map_symbol_filenames.
14120 (search_symbols): Call expand_symtabs_matching.
14121 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14122 (default_make_symbol_completion_list_break_on): Update to call
14123 expand_symtabs_matching.
14124 (make_source_files_completion_list): Update to call
14125 map_symbol_filenames.
14126
206f2a57
DE
141272014-01-14 Doug Evans <dje@google.com>
14128
14129 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14130 (expand_symtabs_symbol_matcher_ftype): New typedef.
14131 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14132 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14133 * symfile.c (expand_partial_symbol_names): Update to use
14134 expand_symtabs_symbol_matcher_ftype.
14135 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14136 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14137 Arg name_matcher renamed to symbol_matcher.
14138 * psymtab.c (recursively_search_psymtabs): Update to use
14139 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14140 sym_matcher.
14141 (expand_symtabs_matching_via_partial): Update to use
14142 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14143 Arg name_matcher renamed to symbol_matcher.
14144
540c2971
DE
141452014-01-14 Doug Evans <dje@google.com>
14146
14147 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14148 (map_partial_symbol_filenames): Ditto.
14149 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14150 (map_partial_symbol_filenames): Ditto.
14151 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14152 (map_partial_symbol_filenames): Ditto.
14153 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14154 (map_partial_symbol_filenames): Ditto.
14155 * symtab.c: Delete #include "psymtab.h".
14156
8213266a
PA
141572014-01-14 Pedro Alves <palves@redhat.com>
14158 Tom Tromey <tromey@redhat.com>
14159
14160 * infrun.c (use_displaced_stepping): Use find_record_target
14161 instead of RECORD_IS_USED.
14162 (adjust_pc_after_break): Use record_full_is_used instead of
14163 RECORD_IS_USED.
14164 * record-btrace.c (record_btrace_open): Call record_preopen
14165 instead of checking RECORD_IS_USED.
14166 * record-full.c (record_full_shortname)
14167 (record_full_core_shortname): New globals.
14168 (record_full_is_used): New function.
14169 (find_full_open): Call record_preopen instead of checking
14170 RECORD_IS_USED.
14171 (init_record_full_ops): Set the target's shortname to
14172 record_full_shortname.
14173 (init_record_full_core_ops): Set the target's shortname to
14174 record_full_core_shortname.
14175 * record-full.h (record_full_is_used): Declare.
14176 * record.c (find_record_target): Make extern.
14177 (record_preopen): New function.
14178 * record.h (RECORD_IS_USED): Delete macro.
14179 (find_record_target, record_preopen): Declare functions.
14180
7ec1862d
YQ
141812014-01-14 Yao Qi <yao@codesourcery.com>
14182
14183 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14184 'len''s type to ULONGEST.
14185 (core_xfer_shared_libraries_aix): Likewise.
14186 * gdbarch.c, gdbarch.h: Regenerated.
14187 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14188 Change type of 'len' to ULONGEST.
14189 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14190 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14191
dea80a27
YQ
141922014-01-14 Yao Qi <yao@codesourcery.com>
14193
14194 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14195 type of 'len' to ULONGEST.
14196 (linux_xfer_osdata_processgroups): Likewise.
14197 (linux_xfer_osdata_threads): Likewise.
14198 (linux_xfer_osdata_fds): Likewise.
14199 (linux_xfer_osdata_isockets): Likewise.
14200 (linux_xfer_osdata_shm): Likewise.
14201 (linux_xfer_osdata_sem): Likewise.
14202 (linux_xfer_osdata_msg): Likewise.
14203 (linux_common_xfer_osdata): Likewise.
14204 (struct osdata_type) <getter>: Likewise.
14205 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14206 the declaration.
14207
b55e14c7
YQ
142082014-01-14 Yao Qi <yao@codesourcery.com>
14209
14210 * target.h (target_xfer_partial_ftype): Update.
14211 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14212 ULONGEST.
14213 * aix-thread.c (aix_thread_xfer_partial): Change type of
14214 argument 'len' to ULONGEST.
14215 * auxv.c (procfs_xfer_auxv): Likewise.
14216 (ld_so_xfer_auxv): Likewise.
14217 (memory_xfer_auxv): Likewise.
14218 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14219 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14220 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14221 * corelow.c (core_xfer_partial): Likewise.
14222 * ctf.c (ctf_xfer_partial): Likewise.
14223 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14224 '%u'.
14225 (darwin_read_dyld_info): Likewise.
14226 (darwin_xfer_partial): Likewise.
14227 * exec.c (section_table_xfer_memory_partial): Likewise.
14228 (exec_xfer_partial): Likewise.
14229 * exec.h (section_table_xfer_memory_partial): Update
14230 declaration.
14231 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14232 instead of plongest.
14233 (gnu_xfer_partial): Likewise.
14234 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14235 (ia64_hpux_xfer_solib_got): Likewise.
14236 (ia64_hpux_xfer_partial): Likewise.
14237 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14238 * inf-ptrace.c (inf_ptrace_xfer_partial):
14239 * inf-ttrace.c (inf_ttrace_xfer_partial):
14240 * linux-nat.c (linux_xfer_siginfo): Likewise.
14241 (linux_nat_xfer_partial): Likewise.
14242 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14243 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14244 * monitor.c (monitor_xfer_memory): Likewise.
14245 (monitor_xfer_partial): Likewise.
14246 * procfs.c (procfs_xfer_partial): Likewise.
14247 * record-full.c (record_full_xfer_partial): Likewise.
14248 (record_full_core_xfer_partial): Likewise.
14249 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14250 instead of plongest.
14251 (gdbsim_xfer_partial): Likewise.
14252 * remote.c (remote_xfer_partial): Likewise.
14253 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14254 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14255 declaration.
14256 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14257 (rs6000_xfer_shared_libraries): Likewise.
14258 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14259 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14260 (sparc_xfer_partial): Likewise.
14261 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14262 (spu_xfer_partial): Likewise.
14263 * spu-multiarch.c (spu_xfer_partial): Likewise.
14264 * target.c (target_read_live_memory): Likewise.
14265 (memory_xfer_live_readonly_partial): Likewise.
14266 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14267 (target_xfer_partial, default_xfer_partial): Likewise.
14268 (current_xfer_partial): Likewise.
14269 * tracepoint.c (tfile_xfer_partial): Likewise.
14270 * windows-nat.c (windows_xfer_memory): Likewise. Call
14271 pulongest instead of plongest.
14272 (windows_xfer_partial): Likewise.
14273 (windows_xfer_shared_libraries): Likewise.
14274
05804640
YQ
142752014-01-14 Yao Qi <yao@codesourcery.com>
14276
14277 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14278 target_xfer_partial_ftype.
14279
b5b08fb4
SC
142802014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14281
14282 PR python/15464
14283 PR python/16113
14284 * valops.c (value_struct_elt_bitpos): New function
14285 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14286 object to 'None' if the field name is an empty string ("").
14287 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14288 attribute to look for a field when 'name' is 'None'.
14289 (get_field_type): New function
14290
13aaf454
DE
142912014-01-13 Doug Evans <dje@google.com>
14292
14293 PR symtab/16426
14294 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14295 (try_open_dwop_file): Ditto.
14296 * gdb_bfd.c: #include "vec.h".
14297 (bfdp): New typedef.
14298 (struct gdb_bfd_data): New member included_bfds.
14299 (gdb_bfd_unref): Unref all included bfds.
14300 (gdb_bfd_record_inclusion): New function.
14301 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14302
c2cec97c
TT
143032014-01-13 Tom Tromey <tromey@redhat.com>
14304
14305 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14306
78e5999d
TT
143072014-01-13 Tom Tromey <tromey@redhat.com>
14308
14309 * defs.h (use_windows): Remove.
14310 * gdb.c (main): Update.
14311 * main.c (captured_main, gdb_main): Update.
14312 * main.h (struct captured_main_args) <use_windows>: Remove.
14313 * top.c (use_windows): Remove.
14314
f2052bbe
TT
143152014-01-13 Tom Tromey <tromey@redhat.com>
14316
14317 * defs.h (deprecated_flush_hook): Remove.
14318
fde4f8ed
JK
143192014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14320
14321 PR threads/16216
14322 * linux-thread-db.c (try_thread_db_load): Add parameter
14323 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14324 (try_thread_db_load_from_pdir_1): Move it there from here.
14325 (try_thread_db_load_from_sdir): Update caller.
14326 (try_thread_db_load_from_dir): Move it there from here.
14327
bdf61915
PP
143282014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14329
14330 * regformats/regdat.sh: Always rewrite the register file.
14331
f71e1a8d
PA
143322014-01-13 Pedro Alves <palves@redhat.com>
14333
14334 * Makefile.in (CHECK_HEADERS): New variable.
14335 (check-headers:): New rule.
14336
42c85435
TT
143372014-01-13 Tom Tromey <tromey@redhat.com>
14338
14339 * cli/cli-setshow.c (do_set_command): Update.
14340 * defs.h (deprecated_set_hook): Remove.
14341 * top.c (deprecated_set_hook): Remove.
14342
f8de5129
PA
143432014-01-13 Pedro Alves <palves@redhat.com>
14344
14345 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14346 the tracepoint if the PC is a pseudo-register.
14347
fc270c35
TT
143482014-01-13 Tom Tromey <tromey@redhat.com>
14349
14350 * defs.h (XCALLOC): Remove.
14351 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14352 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14353 * dwarf2loc.c (allocate_piece_closure): Likewise.
14354 * elfread.c (elf_symfile_segments): Likewise.
14355 (elf_symfile_segments): Likewise.
14356 * gdbtypes.c (copy_type_recursive): Likewise.
14357 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14358 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14359 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14360 XCALLOC.
14361 * mt-tdep.c (mt_gdbarch_init): Likewise.
14362 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14363 XCALLOC.
14364 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14365 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14366 * registry.c (registry_alloc_data): Likewise.
14367 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14368 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14369 * serial.c (serial_fdopen_ops): Likewise.
14370 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14371 XCALLOC.
14372 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14373 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14374 not XCALLOC.
14375
70ba0933
TT
143762014-01-13 Tom Tromey <tromey@redhat.com>
14377
14378 * defs.h (XMALLOC): Remove.
14379 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14380 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14381 * cli-out.c (struct ui_out *): Likewise.
14382 * cli/cli-dump.c (add_dump_command): Likewise.
14383 (add_dump_command): Likewise.
14384 * complaints.c (get_complaints): Likewise.
14385 (find_complaint): Likewise.
14386 * dwarf2-frame.c (execute_cfa_program): Likewise.
14387 * dwarf2read.c (abbrev_table_read_table): Likewise.
14388 * gdbarch.sh: Likewise.
14389 * gdbarch.c: Rebuild.
14390 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14391 * interps.c (interp_new): Likewise.
14392 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14393 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14394 * mi/mi-console.c (mi_console_file_new): Likewise.
14395 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14396 * mi/mi-out.c (mi_out_new): Likewise.
14397 * mi/mi-parse.c (mi_parse): Likewise.
14398 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14399 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14400 * observer.c (xalloc_observer_list_node): Likewise.
14401 * regcache.c (regcache_xmalloc_1): Likewise.
14402 * reggroups.c (reggroup_new): Likewise.
14403 (_initialize_reggroup): Likewise.
14404 * registry.c (register_data_with_cleanup): Likewise.
14405 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14406 * ser-base.c (serial_ttystate): Likewise.
14407 * ser-mingw.c (make_pipe_state): Likewise.
14408 * ser-pipe.c (pipe_open): Likewise.
14409 * serial.c (serial_open): Likewise.
14410 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14411 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14412 (tui_alloc_win_info): Likewise.
14413 (tui_add_content_elements): Likewise.
14414 * tui/tui-file.c (tui_file_new): Likewise.
14415 * tui/tui-out.c (tui_out_new): Likewise.
14416 * ui-file.c (mem_file_new): Likewise.
14417 * ui-out.c (push_level): Likewise.
14418 (make_cleanup_ui_out_end): Likewise.
14419 (append_header_to_list): Likewise.
14420 (ui_out_new): Likewise.
14421 * user-regs.c (user_reg_add_builtin): Likewise.
14422
41bf6aca
TT
144232014-01-13 Tom Tromey <tromey@redhat.com>
14424
14425 * defs.h (XZALLOC): Remove.
14426 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14427 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14428 (get_ada_tasks_inferior_data): Likewise.
14429 * auto-load.c (get_auto_load_pspace_data): Likewise.
14430 * auxv.c (get_auxv_inferior_data): Likewise.
14431 * bfd-target.c (target_bfd_reopen): Likewise.
14432 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14433 (deprecated_insert_raw_breakpoint): Likewise.
14434 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14435 * corelow.c (core_open): Likewise.
14436 * darwin-nat.c (darwin_check_new_threads): Likewise.
14437 (darwin_attach_pid): Likewise.
14438 * dummy-frame.c (dummy_frame_push): Likewise.
14439 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14440 * dwarf2loc.c (allocate_piece_closure): Likewise.
14441 * elfread.c (elf_symfile_segments): Likewise.
14442 * eval.c (ptrmath_type_p): Likewise.
14443 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14444 * gdbtypes.c (alloc_type_arch): Likewise.
14445 (alloc_type_instance): Likewise.
14446 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14447 * inf-child.c (inf_child_can_use_agent): Likewise.
14448 * inflow.c (get_inflow_inferior_data): Likewise.
14449 * infrun.c (save_infcall_suspend_state): Likewise.
14450 * jit.c (jit_reader_load): Likewise.
14451 (get_jit_objfile_data): Likewise.
14452 (get_jit_program_space_data): Likewise.
14453 (jit_object_open_impl): Likewise.
14454 (jit_symtab_open_impl): Likewise.
14455 (jit_block_open_impl): Likewise.
14456 (jit_frame_sniffer): Likewise.
14457 * linux-fork.c (add_fork): Likewise.
14458 * maint.c (make_command_stats_cleanup): Likewise.
14459 * objfiles.c (get_objfile_pspace_data): Likewise.
14460 * opencl-lang.c (struct lval_closure): Likewise.
14461 * osdata.c (osdata_start_osdata): Likewise.
14462 * progspace.c (new_address_space): Likewise.
14463 (add_program_space): Likewise.
14464 * remote-sim.c (get_sim_inferior_data): Likewise.
14465 * sh-tdep.c (sh_gdbarch_init): Likewise.
14466 * skip.c (Ignore): Likewise.
14467 (skip_delete_command): Likewise.
14468 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14469 (library_list_start_library): Likewise.
14470 (solib_aix_current_sos): Likewise.
14471 * solib-darwin.c (get_darwin_info): Likewise.
14472 (darwin_current_sos): Likewise.
14473 * solib-dsbt.c (get_dsbt_info): Likewise.
14474 * solib-ia64-hpux.c (new_so_list): Likewise.
14475 (ia64_hpux_get_solib_linkage_addr): Likewise.
14476 * solib-spu.c (append_ocl_sos): Likewise.
14477 (spu_current_sos): Likewise.
14478 * solib-svr4.c (get_svr4_info): Likewise.
14479 (svr4_keep_data_in_core): Likewise.
14480 (library_list_start_library): Likewise.
14481 (svr4_default_sos): Likewise.
14482 (svr4_read_so_list): Likewise.
14483 * solib-target.c (library_list_start_library): Likewise.
14484 (solib_target_current_sos): Likewise.
14485 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14486 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14487 * symfile.c (default_symfile_segments): Likewise.
14488 * target-descriptions.c (tdesc_data_init): Likewise.
14489 (tdesc_create_reg): Likewise.
14490 (struct tdesc_type *): Likewise.
14491 (tdesc_create_vector): Likewise.
14492 (tdesc_set_struct_size): Likewise.
14493 (struct tdesc_type *): Likewise.
14494 (tdesc_free_feature): Likewise.
14495 (tdesc_create_feature): Likewise.
14496 * windows-nat.c (windows_add_thread): Likewise.
14497 (windows_make_so): Likewise.
14498 * xml-support.c (gdb_xml_body_text): Likewise.
14499 (gdb_xml_create_parser_and_cleanup): Likewise.
14500 (xml_process_xincludes): Likewise.
14501 * xml-syscall.c (allocate_syscalls_info): Likewise.
14502 (syscall_create_syscall_desc): Likewise.
14503
5acfdbae
SDJ
145042014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14505
14506 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14507 function, with code from i386_stap_parse_special_token.
14508 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14509 (i386_stap_parse_special_token): Move code to the two functions
14510 above; simplify it.
14511
0000e5cc
PA
145122014-01-09 Pedro Alves <palves@redhat.com>
14513 Hui Zhu <hui@codesourcery.com>
14514
14515 PR gdb/16101
14516 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14517 bp_err_string. Don't mark the location shlib_disabled if the
14518 error thrown wasn't a generic or memory error. Catch errors
14519 thrown while inserting breakpoints in overlayed code. Output
14520 error message of software breakpoints.
14521 * remote.c (remote_insert_breakpoint): If this breakpoint has
14522 target-side commands but this stub doesn't support Z0 packets,
14523 throw NOT_SUPPORTED_ERROR error.
14524 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14525 * target.h (target_insert_breakpoint): Extend comment.
14526 (target_insert_hw_breakpoint): Add comment.
14527
b7ea362b
PA
145282014-01-08 Pedro Alves <palves@redhat.com>
14529
14530 * remote.c (remote_add_thread): Add threads silently if starting
14531 up.
14532 (remote_notice_new_inferior): If in all-stop, and starting up,
14533 don't call notice_new_inferior.
14534 (get_current_thread): New function, factored out from ...
14535 (add_current_inferior_and_thread): ... this. Adjust.
14536 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14537 found any thread, then select the remote's current thread as GDB's
14538 current thread too.
14539
b7bba001
JB
145402014-01-08 Joel Brobecker <brobecker@adacore.com>
14541
14542 * NEWS: Create a new section for the next release branch.
14543 Rename the section of the current branch, now that it has
14544 been cut.
14545
16dfbded
JB
145462014-01-08 Joel Brobecker <brobecker@adacore.com>
14547
14548 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14549 * version.in: Bump version to 7.7.50.DATE-cvs.
14550
22c90ac1
YQ
145512014-01-08 Yao Qi <yao@codesourcery.com>
14552
14553 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14554 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14555 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14556
d64ad97c
YQ
145572014-01-08 Yao Qi <yao@codesourcery.com>
14558
14559 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14560 return value of bfd_get_filename to symbol_file_add_from_bfd.
14561
f93ba80c
PM
145622014-01-08 Pierre Muller <muller@sourceware.org>
14563
14564 Fix PR16201.
14565 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14566 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14567 to prim_record_mininal_symbol_and_info.
14568 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14569 in call to prim_record_minimal_symbol_and_info.
14570 (read_pe_exported_syms): Set index field of section_data.
14571
a4d9ba85
AP
145722014-01-07 Andrew Pinski <apinski@cavium.com>
14573
14574 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14575 * features/aarch64.c: Regenerate.
14576
1b67eb02
AS
145772014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14578
14579 * target.c (return_null): Define.
14580 (update_current_target): Use it instead of return_zero for
14581 functions that return a pointer.
14582
5e3f4fab
EBM
145832014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14584
14585 * source.c (add_path): Fix check for duplicated paths in the previously
14586 included paths.
14587
e2616788
HK
145882014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14589
14590 * ada-lang.c: Remove duplicated include statements.
14591 * alphabsd-nat.c: Ditto.
14592 * amd64-darwin-tdep.c: Ditto.
14593 * amd64fbsd-nat.c: Ditto.
14594 * auto-load.c: Ditto.
14595 * ax-gdb.c: Ditto.
14596 * breakpoint.c: Ditto.
14597 * dbxread.c: Ditto.
14598 * fork-child.c: Ditto.
14599 * gdb_usleep.c: Ditto.
14600 * i386-darwin-tdep.c: Ditto.
14601 * i386fbsd-nat.c: Ditto.
14602 * infcmd.c: Ditto.
14603 * inferior.c: Ditto.
14604 * jv-lang.c: Ditto.
14605 * linux-nat.c: Ditto.
14606 * linux-tdep.c: Ditto.
14607 * m68kbsd-nat.c: Ditto.
14608 * m68klinux-nat.c: Ditto.
14609 * microblaze-tdep.c: Ditto.
14610 * mips-linux-tdep.c: Ditto.
14611 * mn10300-tdep.c: Ditto.
14612 * nto-tdep.c: Ditto.
14613 * opencl-lang.c: Ditto.
14614 * osdata.c: Ditto.
14615 * printcmd.c: Ditto.
14616 * regcache.c: Ditto.
14617 * remote-m32r-sdi.c: Ditto.
14618 * remote.c: Ditto.
14619 * symfile.c: Ditto.
14620 * symtab.c: Ditto.
14621 * tilegx-linux-nat.c: Ditto.
14622 * tilegx-tdep.c: Ditto.
14623 * tracepoint.c: Ditto.
14624 * valops.c: Ditto.
14625 * vaxbsd-nat.c: Ditto.
14626 * windows-nat.c: Ditto.
14627 * xtensa-tdep.c: Ditto.
14628
bd1f7788
YQ
146292014-01-07 Yao Qi <yao@codesourcery.com>
14630
14631 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14632
79301218
JB
146332014-01-07 Yao Qi <yao@codesourcery.com>
14634 Joel Brobecker <brobecker@adacore.com>
14635
14636 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14637 (pdc_write_regs): Likewise.
14638 (fetch_regs_kernel_thread): Likewise.
14639 (store_regs_kernel_thread): Likewise.
14640
146412014-01-07 Joel Brobecker <brobecker@adacore.com>
14642
14643 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14644 tagged type objects to their actual type.
14645
8e355c5d
JB
146462014-01-07 Joel Brobecker <brobecker@adacore.com>
14647
14648 * ada-valprint.c (print_field_values): Add "language" parameter.
14649 Update calls to print_field_values and print_variant_part.
14650 Pass new parameter "language" in call to val_print instead
14651 of "current_language". Replace call to ada_val_print by call
14652 to val_print.
14653 (print_variant_part): Add "language" parameter.
14654 (ada_val_print_struct_union): Update call to print_field_values.
14655
4fbf5aa5
JB
146562014-01-07 Joel Brobecker <brobecker@adacore.com>
14657
14658 * ada-valprint.c (ui_memcpy): Delete.
14659 (ada_print_floating): Update documentation. Add empty line
14660 between between function documentation and implementation.
14661 Delete variable "buffer". Use ui_file_xstrdup in place of
14662 ui_file_put. Minor adjustments following this change.
14663
71855601
JB
146642014-01-07 Joel Brobecker <brobecker@adacore.com>
14665
14666 * ada-valprint.c (ada_val_print_string): New function,
14667 extracted from ada_val_print_array.
14668 (ada_val_print_array): Replace extracted code by call
14669 to ada_val_print_string followed by a return. Move
14670 "else" branch to the function's top block.
14671
4eb27a30
JB
146722014-01-07 Joel Brobecker <brobecker@adacore.com>
14673
14674 * ada-valprint.c (ada_val_print_array): Move implementation
14675 down. Rename parameter "offset" and "val" into "offset_aligned"
14676 and "original_value" respectively. Add parameter "offset".
14677
34b27950
JB
146782014-01-07 Joel Brobecker <brobecker@adacore.com>
14679
14680 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14681 re-organizing the code. Change the "???" message printed
14682 when target type is a TYPE_CODE_UNDEF into
14683 "<ref to undefined type>".
14684
079e4591
JB
146852014-01-07 Joel Brobecker <brobecker@adacore.com>
14686
14687 * ada-valprint.c (print_record): Delete, implementation inlined...
14688 (ada_val_print_struct_union): ... here. Remove call to
14689 ada_check_typedef in inlined implementation.
14690
8004dfd1
JB
146912014-01-07 Joel Brobecker <brobecker@adacore.com>
14692
14693 * ada-valprint.c (ada_val_print_gnat_array): New function,
14694 extracted from ada_val_print_1;
14695 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14696 (ada_val_print_flt, ada_val_print_struct_union)
14697 (ada_val_print_ref): Likewise.
14698 (ada_val_print_1): Delete variables i and elttype.
14699 Replace extracted-out code by call to corresponding
14700 new functions.
14701
760a2db0
JB
147022014-01-07 Joel Brobecker <brobecker@adacore.com>
14703
14704 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14705
3a92c861
JB
147062014-01-07 Joel Brobecker <brobecker@adacore.com>
14707
14708 * ada-valprint.c (ada_val_print_1): Replace calls to
14709 ada_val_print_1 by calls to val_print.
14710
cd1630f9
JB
147112014-01-07 Joel Brobecker <brobecker@adacore.com>
14712
14713 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14714 Update calls to self accordingly. Replace calls to c_val_print
14715 by calls to val_print.
14716
bdf779a0
JB
147172014-01-07 Joel Brobecker <brobecker@adacore.com>
14718
14719 * ada-valprint.c (print_record): Delete declaration.
14720 (adjust_type_signedness, ada_val_print_1): Likewise.
14721 (ada_val_print): Move function implementation down.
14722 (print_variant_part, print_field_values, print_record):
14723 Move function implementation up.
14724
c0d48811
JB
147252014-01-07 Joel Brobecker <brobecker@adacore.com>
14726
14727 * python/py-type.c (typy_get_name): New function.
14728 (type_object_getset): Add entry for attribute "name".
14729 * NEWS: Add entry mentioning this new attribute.
14730
c26e9cbb
YQ
147312014-01-07 Yao Qi <yao@codesourcery.com>
14732
14733 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14734 statement.
14735
0cc6f43d
YQ
147362014-01-07 Yao Qi <yao@codesourcery.com>
14737
14738 * gnu-nat.c (info_port_rights): Add qualifier const to
14739 argument args.
14740
eec03155
YQ
147412014-01-07 Yao Qi <yao@codesourcery.com>
14742
14743 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14744
f04a82ef
YQ
147452014-01-07 Yao Qi <yao@codesourcery.com>
14746
14747 * gnu-nat.c (make_inf) Update declaration.
14748 (make_inf): Make it static.
14749 (inf_set_traced): Likewise.
14750 (inf_port_to_thread, inf_task_died_status): Likewise.
14751
d57dda0a
YQ
147522014-01-07 Yao Qi <yao@codesourcery.com>
14753
14754 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14755
3aa8c969
YQ
147562014-01-07 Yao Qi <yao@codesourcery.com>
14757
14758 * gnu-nat.c (_initialize_gnu_nat): Declare.
14759
94123b4f
YQ
147602014-01-07 Yao Qi <yao@codesourcery.com>
14761
14762 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14763 'enum bfd_endian'.
14764 (struct gdbarch_info) <byte_order>: Change type to
14765 'enum bfd_endian'.
14766 <byte_order_for_code>: Likewise.
14767 * gdbarch.c, gdbarch.h: Regenerated.
14768
dc81d70a
TT
147692014-01-06 Sasha Smundak <asmundak@google.com>
14770
14771 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14772
cc2f3c35
TT
147732014-01-06 Tom Tromey <tromey@redhat.com>
14774
14775 * doublest.c (convert_doublest_to_floatformat): Use const, not
14776 CONST.
14777 * somread.c (som_symtab_read): Likewise.
14778
adcf2eed
HZ
147792014-01-07 Hui Zhu <hui@codesourcery.com>
14780
14781 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14782 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14783 (gdb_bfd_fopen): Ditto.
14784 (gdb_bfd_openr): Ditto.
14785 (gdb_bfd_openw): Ditto.
14786 (gdb_bfd_openr_iovec): Ditto.
14787 (gdb_bfd_fdopenr): Ditto.
14788 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14789 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14790 with xstrdup.
14791 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14792 with xstrdup.
14793 * symfile-mem.c (symbol_file_add_from_memory): Removed
14794 gdb_bfd_stash_filename.
14795
50722198
DE
147962014-01-03 Doug Evans <dje@google.com>
14797
14798 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14799 output.
14800
2fa4b862
JB
148012014-01-01 Joel Brobecker <brobecker@adacore.com>
14802
14803 Update year range in copyright notice of all files.
14804
28498c42
JB
148052014-01-01 Joel Brobecker <brobecker@adacore.com>
14806
14807 * top.c (print_gdb_version): Set copyright year to 2014.
14808
7b6e1046
JB
148092014-01-01 Joel Brobecker <brobecker@adacore.com>
14810
14811 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14812
df96af55 14813For older changes see ChangeLog-2013.
c906108c
SS
14814\f
14815Local Variables:
14816mode: change-log
14817left-margin: 8
14818fill-column: 74
14819version-control: never
57da7796 14820coding: utf-8
c906108c 14821End:
This page took 2.411302 seconds and 4 git commands to generate.