Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-09-22 Pedro Alves <palves@redhat.com>
2
3 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
4 and "auto" merged.
5 * breakpoint.c (enum ugll_insert_mode): New enum.
6 (always_inserted_mode): Now a plain boolean.
7 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
8 (breakpoints_always_inserted_mode): Delete.
9 (breakpoints_should_be_inserted_now): New function.
10 (insert_breakpoints): Pass UGLL_INSERT to
11 update_global_location_list instead of calling
12 insert_breakpoint_locations manually.
13 (create_solib_event_breakpoint_1): New, factored out from ...
14 (create_solib_event_breakpoint): ... this.
15 (create_and_insert_solib_event_breakpoint): Use
16 create_solib_event_breakpoint_1 instead of calling
17 insert_breakpoint_locations manually.
18 (update_global_location_list): Change parameter type from boolean
19 to enum ugll_insert_mode. All callers adjusted. Adjust to use
20 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
21 (update_global_location_list_nothrow): Change parameter type from
22 boolean to enum ugll_insert_mode.
23 (_initialize_breakpoint): "breakpoint always-inserted" option is
24 now a boolean command. Update help text.
25 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
26 (breakpoints_should_be_inserted_now): New declaration.
27 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
28 Remove breakpoints_always_inserted_mode check.
29 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
30 * remote.c (remote_start_remote): Likewise.
31
32 2014-09-22 Pedro Alves <palves@redhat.com>
33
34 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
35 (insert_breakpoints): Don't call insert_breakpoint_locations here.
36 Instead, pass UGLL_INSERT to update_global_location_list.
37 (update_global_location_list): Change parameter type from boolean
38 to enum ugll_insert_mode. All callers adjusted. Adjust to use
39 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
40 (create_solib_event_breakpoint_1): New, factored out from ...
41 (create_solib_event_breakpoint): ... this.
42 (create_and_insert_solib_event_breakpoint): Use
43 create_solib_event_breakpoint_1 instead of calling
44 insert_breakpoint_locations manually.
45 (update_global_location_list): Handle UGLL_INSERT.
46
47 2014-09-22 Pedro Alves <palves@redhat.com>
48
49 * breakpoint.c (enum ugll_insert_mode): New enum.
50 (update_global_location_list)
51 (update_global_location_list_nothrow): Change parameter type from
52 boolean to enum ugll_insert_mode. All callers adjusted.
53
54 2014-09-19 Joel Brobecker <brobecker@adacore.com>
55
56 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
57 SystemTap support in GDB.
58
59 2014-09-19 Don Breazeal <donb@codesourcery.com>
60
61 * linux-nat.c (linux_handle_extended_wait): Call
62 linux_ptrace_get_extended_event.
63 (wait_lwp): Call linux_is_extended_waitstatus.
64 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
65 and linux_is_extended_waitstatus.
66 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
67 linux_ptrace_get_extended_event.
68 (linux_ptrace_get_extended_event): New function.
69 (linux_is_extended_waitstatus): New function.
70 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
71 (linux_is_extended_waitstatus): New declarations.
72
73 2014-09-19 Yao Qi <yao@codesourcery.com>
74
75 * dwarf2read.c (dwarf_decode_lines): Update declaration.
76 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
77 comments. Callers update.
78 (dwarf_decode_lines): Likewise.
79 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
80 comments. Skip the line table if 'lowpc' is greater than
81 'address'. Don't check
82 dwarf2_per_objfile->has_section_at_zero.
83
84 2014-09-18 Doug Evans <dje@google.com>
85
86 * NEWS: Mention new "producer" attribute of gdb.Symtab.
87 * python/py-symtab.c (stpy_get_producer): New function.
88 (symtab_object_getset): Add "producer" attribute.
89
90 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
91
92 PR gdb/17384
93 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
94 (do_captured_read_memory_integer): Remove.
95 (safe_read_memory_integer): Use target_read_memory directly instead
96 of catching errors in do_captured_read_memory_integer.
97
98 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
99
100 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
101 not gdb/doc.
102
103 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
104
105 * objc-lang.c (find_implementation_from_class): Remove dead code.
106
107 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
108
109 PR cli/7233
110 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
111 "fprintf_unfiltered (gdb_stdlog...)".
112
113 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
114
115 PR breakpoints/12526
116 * breakpoint.h (struct watchpoint): New fields val_bitpos and
117 val_bitsize.
118 * breakpoint.c (watch_command_1): Use these fields to retain
119 bitfield information.
120 (extract_bitfield_from_watchpoint_value): New function.
121 (watchpoint_check): Use it.
122 (update_watchpoint): Use it. Optimize the address and length of a
123 HW watchpoint pointing to a bitfield.
124 * value.h (unpack_value_bitfield): New prototype.
125 * value.c (unpack_value_bitfield): Make extern.
126
127 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
128
129 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
130 x86-dregs.o.
131 * gnu-nat.c (inf_threads): New function.
132 * gnu-nat.h (inf_threads_ftype): New typedef.
133 (inf_threads): New declaration.
134 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
135 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
136 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
137 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
138 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
139 (i386_gnu_dr_get_control): New functions.
140 (reg_addr): New structure.
141 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
142 i386 debugging register hooks.
143 * NEWS: Mention this.
144
145 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
146
147 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
148 vector data transfer instructions.
149 (arm_record_coproc_data_proc): Updated.
150
151 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
152
153 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
154 arm_record_exreg_ld_st_insn.
155 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
156 load/store insns.
157
158 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
159
160 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
161 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
162 processing instructions.
163
164 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
165
166 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
167 for advance SIMD struct ld/st insn.
168 (thumb2_record_decode_insn_handler): Replace stub handler with
169 thumb2_record_asimd_struct_ld_st.
170
171 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
172
173 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
174 for asimd, vfp and coprocessor insns.
175 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
176 and coprocessor insns.
177 (thumb2_record_coproc_insn): New function.
178 (thumb2_record_decode_insn_handler): Update coprocessor insns record
179 handlers.
180 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
181 opcode 110 insns.
182
183 2014-09-13 Doug Evans <xdje42@gmail.com>
184
185 * NEWS: Mention new "queue-signal" command.
186 * infcmd.c (queue_signal_command): New function.
187 (_initialize_infcmd): Add new queue-signal command.
188
189 2014-09-13 Doug Evans <xdje42@gmail.com>
190
191 * linux-nat.c (wait_lwp): Add debugging printf.
192 (linux_nat_wait_1): Ditto.
193
194 2014-09-12 Pedro Alves <palves@redhat.com>
195
196 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
197 (create_and_insert_solib_event_breakpoint): New functions.
198 * breakpoint.h (create_and_insert_solib_event_breakpoint)
199 (remove_solib_event_breakpoints_at_next_stop): New declarations.
200 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
201 (remove_dbx_link_breakpoint): Delete function.
202 (insert_dbx_link_bpt_in_file): Use
203 create_and_insert_solib_event_breakpoint instead of
204 deprecated_insert_raw_breakpoint.
205 (procfs_wait): Don't check whether we hit __dbx_link here.
206 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
207 here.
208 * solib-irix.c (base_breakpoint): Delete global.
209 (disable_break): Delete function.
210 (enable_break): Use create_solib_event_breakpoint
211 instead of deprecated_insert_raw_breakpoint.
212 (irix_solib_handle_event): New function.
213 (irix_solib_create_inferior_hook): Don't run the target or disable
214 the mapping-complete breakpoint here.
215 (_initialize_irix_solib): Install irix_solib_handle_event as
216 so_ops->handle_event hook.
217
218 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
219 Ulrich Weigand  <uweigand@de.ibm.com>
220
221 PR tdep/17379
222 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
223 instead of read_memory_unsigned_integer.
224
225 2014-09-12 Gary Benson <gbenson@redhat.com>
226
227 * nat/linux-waitpid.c: Include common-defs.h.
228 [GDBSERVER]: Add FIXME comment.
229 [!GDBSERVER]: Don't include defs.h or signal.h.
230 (linux_debug) [!GDBSERVER]: Remove empty block.
231
232 2014-09-12 Gary Benson <gbenson@redhat.com>
233
234 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
235 Don't include defs.h or server.h.
236
237 2014-09-12 Gary Benson <gbenson@redhat.com>
238
239 * nat/linux-btrace.c: Include common-defs.h.
240 Don't include defs.h, server.h or gdbthread.h.
241 * nat/linux-btrace.h (struct target_ops): New forward declaration.
242
243 2014-09-12 Gary Benson <gbenson@redhat.com>
244
245 * common/agent.c: Include common-defs.h.
246 Don't include defs.h or server.h.
247 * common/buffer.c: Likewise.
248 * common/common-debug.c: Likewise.
249 * common/common-utils.c: Likewise.
250 * common/errors.c: Likewise.
251 * common/filestuff.c: Likewise.
252 * common/format.c: Likewise.
253 * common/gdb_vecs.c: Likewise.
254 * common/print-utils.c: Likewise.
255 * common/ptid.c: Likewise.
256 * common/rsp-low.c: Likewise.
257 * common/signals.c: Likewise.
258 * common/vec.c: Likewise.
259 * common/xml-utils.c: Likewise.
260 * nat/linux-osdata.c: Likewise.
261 * nat/linux-procfs.c: Likewise.
262 * nat/linux-ptrace.c: Likewise.
263 * nat/mips-linux-watch.c: Likewise.
264 * target/waitstatus.c: Likewise.
265
266 2014-09-12 Tom Tromey <tromey@redhat.com>
267 Gary Benson <gbenson@redhat.com>
268
269 * common/common-regcache.h: New file.
270 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
271 * regcache.h: Include common-regcache.h.
272 (regcache_read_pc): Don't declare.
273 * regcache.c (get_thread_regcache_for_ptid): New function.
274 * nat/linux-btrace.c: Don't include regcache.h.
275 Include common-regcache.h.
276 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
277
278 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
279
280 * regcache.h (struct regset): Declare.
281
282 2014-09-11 Pedro Alves <palves@redhat.com>
283
284 PR gdb/17347
285 * main.c: Include "infrun.h".
286 (catch_command_errors, catch_command_errors_const): Wait for the
287 foreground command to complete.
288 * top.c (maybe_wait_sync_command_done): New function, factored out
289 from ...
290 (maybe_wait_sync_command_done): ... here.
291 * top.h (maybe_wait_sync_command_done): New declaration.
292
293 2014-09-11 Tom Tromey <tromey@redhat.com>
294 Gary Benson <gbenson@redhat.com>
295
296 * common/symbol.h: New file.
297 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
298 * minsyms.c (find_minimal_symbol_address): New function.
299 * common/agent.c: Include common/symbol.h.
300 [!GDBSERVER]: Don't include objfiles.h.
301 (agent_look_up_symbols): Use find_minimal_symbol_address.
302
303 2014-09-11 Gary Benson <gbenson@redhat.com>
304
305 * target/target.h (target_stop_ptid, target_continue_ptid):
306 Declare.
307 * target.c (target_stop_ptid, target_continue_ptid): New
308 functions.
309 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
310 (agent_run_command): Always use target_stop_ptid and
311 target_continue_ptid.
312
313 2014-09-11 Tom Tromey <tromey@redhat.com>
314 Gary Benson <gbenson@redhat.com>
315
316 * target/target.h: New file.
317 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
318 * target.h: Include target/target.h.
319 (target_read_memory, target_write_memory): Don't declare.
320 * target.c (target_read_uint32): New function.
321 * common/agent.c: Include target/target.h.
322 [!GDBSERVER]: Don't include target.h.
323 (helper_thread_id): Type changed to uint32_t.
324 (agent_get_helper_thread_id): Use target_read_uint32.
325 (agent_run_command): Always use target_read_memory and
326 target_write_memory.
327 (agent_capability): Type changed to uint32_t.
328 (agent_capability_check): Use target_read_uint32.
329
330 2014-09-11 Gary Benson <gbenson@redhat.com>
331
332 * common/common-debug.h (show_debug_regs): Declare.
333 * common/common-debug.c (show_debug_regs): Define.
334 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
335 all uses with show_debug_regs. Replace all uses that considered
336 debug_hw_points as a multi-value integer with straight boolean
337 uses.
338 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
339 with show_debug_regs.
340 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
341 all uses with show_debug_regs.
342 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
343 uses with show_debug_regs.
344
345 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
346
347 * findvar.c (address_from_register): Handle targets requiring
348 a special conversion routine even for plain pointer types.
349
350 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
351
352 * rs6000-nat.c (exec_one_dummy_insn): Remove.
353 (store_register): Do not call exec_one_dummy_insn.
354
355 2014-09-10 Joel Brobecker <brobecker@adacore.com>
356
357 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
358 dereference it first. Use value_enclosing_type instead of
359 value_type.
360 (ada_array_length): Likewise.
361
362 2014-09-10 Joel Brobecker <brobecker@adacore.com>
363
364 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
365 Adjust function implementation and documentation accordingly.
366 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
367 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
368 Update call to ada_value_ptr_subscript.
369
370 2014-09-10 Joel Brobecker <brobecker@adacore.com>
371
372 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
373 instead of VAL's type.
374
375 2014-09-10 Joel Brobecker <brobecker@adacore.com>
376
377 * amd64-linux-nat.c: Add <sys/uio.h> #include.
378
379 2014-09-09 Doug Evans <xdje42@gmail.com>
380
381 PR guile/17367
382 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
383 last parameter to pkg-config, not first.
384 * configure.ac: Pass --with-guile provided pkg-config path to
385 GDB_GUILE_PROGRAM_NAMES.
386 * configure: Regenerate.
387
388 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
389
390 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
391 Bertazi".
392
393 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
394
395 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
396 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
397 the list of sections determining GDB_OSABI_IRIX.
398
399 2014-09-09 James Hogan <james.hogan@imgtec.com>
400
401 * MAINTAINERS (Write After Approval): Add "James Hogan".
402
403 2014-09-09 James Hogan <james.hogan@imgtec.com>
404
405 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
406
407 2014-09-09 Joel Brobecker <brobecker@adacore.com>
408
409 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
410
411 2014-09-08 Doug Evans <xdje42@gmail.com>
412
413 PR 17247
414 * guile.c: #include <signal.h>.
415 (_initialize_guile): Block SIGCHLD while initializing Guile.
416
417 Replaces the following, which is reverted.
418
419 2014-07-26 Doug Evans <xdje42@gmail.com>
420
421 PR 17185
422 * configure.ac: Add check for header gc/gc.h.
423 Add check for function setenv.
424 * configure: Regenerate.
425 * config.in: Regenerate.
426 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
427
428 2014-09-08 Doug Evans <xdje42@gmail.com>
429
430 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
431 with named constant. Fix style of pointer comparison.
432 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
433
434 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
435
436 PR gdb/17035
437 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
438 decide whether we display the command on "show user".
439 * cli/cli-script.c (show_user_1): Only verify cmdlines after
440 printing command name.
441 * cli/cli-decode.h (cli_user_command_p): Declare new function.
442 * cli/cli-decode.c (cli_user_command_p): Create helper function
443 to verify whether cmd_list_element is a user-defined command.
444
445 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 PR python/17355
448 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
449 Fix goto out of TRY_CATCH.
450
451 2014-09-06 Doug Evans <xdje42@gmail.com>
452 Tom Tromey <tromey@redhat.com>
453
454 PR 15276
455 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
456 $_any_caller_matches.
457 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
458 * python/lib/gdb/function/caller_is.py: New file.
459
460 2014-09-06 Doug Evans <xdje42@gmail.com>
461
462 * infcmd.c (program_info): Fix typo.
463
464 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
465
466 PR gdb/17235
467 * stap-probe.c (stap_parse_single_operand): Delete unused variable
468 'number'. New variable 'has_digit'. Rewrite code to deal with
469 subexpressions on SDT probes.
470
471 2014-09-04 Pedro Alves <palves@redhat.com>
472
473 * c-exp.y (parse_number): Skip handling base-switching prefixes if
474 the input is only one character long.
475
476 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
477
478 PR fortran/17237
479 * f-valprint.c (f_val_print): Specify the correct print option to
480 use when printing integer values.
481
482 2014-09-04 Gary Benson <gbenson@redhat.com>
483
484 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
485 Remove code to cope with LWPs wrapped as PIDs.
486 Add assertions to ensure no wrapped LWPs are passed.
487
488 2014-09-04 Pedro Alves <palves@redhat.com>
489
490 * value.c (value_ranges_copy_adjusted): New function, factored out
491 from ...
492 (value_contents_copy_raw): ... here.
493 (unpack_value_bits_as_long_1): Rename back to ...
494 (unpack_bits_as_long): ... this. Remove 'original_value' and
495 'result' parameters. Change return type to LONGEST.
496 (unpack_value_bits_as_long): Delete.
497 (unpack_value_field_as_long_1): Delete.
498 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
499 (unpack_value_bitfield): New function.
500 (value_field_bitfield): Reimplement using unpack_value_bitfield.
501 (value_fetch_lazy): Use unpack_value_bitfield.
502 * value.h (unpack_value_bits_as_long): Delete declaration.
503
504 2014-09-03 Sasha Smundak <asmundak@google.com>
505
506 * python/py-frame.c (frapy_read_register): New function.
507
508 2014-09-03 James Hogan <james.hogan@imgtec.com>
509
510 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
511 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
512
513 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
514
515 PR python/16699
516 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
517 function.
518 (add_cmd): Set "completer_handle_brkchars" to NULL.
519 * cli/cli-decode.h (struct cmd_list_element)
520 <completer_handle_brkchars>: New field.
521 * command.h (completer_ftype_void): New typedef.
522 (set_cmd_completer_handle_brkchars): New prototype.
523 * completer.c (set_gdb_completion_word_break_characters): New
524 function.
525 (complete_line_internal): Call "completer_handle_brkchars"
526 callback from command.
527 * completer.h: Include "command.h".
528 (set_gdb_completion_word_break_characters): New prototype.
529 * python/py-cmd.c (cmdpy_completer_helper): New function.
530 (cmdpy_completer_handle_brkchars): New function.
531 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
532 (cmdpy_init): Set completer_handle_brkchars to
533 cmdpy_completer_handle_brkchars.
534
535 2014-09-03 Gary Benson <gbenson@redhat.com>
536
537 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
538 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
539 Loop conditions changed to equivalent form.
540 (struct x86_debug_reg_state): Updated dr_ref_count comment.
541 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
542 ALL_DEBUG_ADDRESS_REGISTERS.
543
544 2014-09-03 Joel Brobecker <brobecker@adacore.com>
545
546 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
547 description fix.
548
549 2014-09-02 Doug Evans <dje@google.com>
550
551 * typeprint.c (find_global_typedef): Fix comment.
552
553 2014-09-02 Gary Benson <gbenson@redhat.com>
554
555 * i386-nat.h: Renamed as...
556 * x86-nat.h: New file. All type, function and variable name
557 prefixes changed from "i386_" to "x86_". All references updated.
558 * i386-nat.c: Renamed as...
559 * x86-nat.c: New file. All type, function and variable name
560 prefixes changed from "i386_" to "x86_". All references updated.
561 * common/i386-xstate.h: Renamed as...
562 * common/x86-xstate.h: New file. All type, function and variable
563 name prefixes changed from "i386_" to "x86_". All references
564 updated.
565 * nat/i386-cpuid.h: Renamed as...
566 * nat/x86-cpuid.h: New file. All type, function and variable name
567 prefixes changed from "i386_" to "x86_". All references updated.
568 * nat/i386-gcc-cpuid.h: Renamed as...
569 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
570 name prefixes changed from "i386_" to "x86_". All references
571 updated.
572 * nat/i386-dregs.h: Renamed as...
573 * nat/x86-dregs.h: New file. All type, function and variable name
574 prefixes changed from "i386_" to "x86_". All references updated.
575 * nat/i386-dregs.c: Renamed as...
576 * nat/x86-dregs.c: New file. All type, function and variable name
577 prefixes changed from "i386_" to "x86_". All references updated.
578
579 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
580
581 * varobj.c (_initialize_varobj): Move to the end of file.
582
583 2014-08-29 Gary Benson <gbenson@redhat.com>
584
585 * common/common-exceptions.h: New file.
586 * common/common-exceptions.c: Likewise.
587 * Makefile.in (SFILES): Add common/common-exceptions.c.
588 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
589 (COMMON_OBS): Add common-exceptions.o.
590 (common-exceptions.o): New rule.
591 * exceptions.h (common-exceptions.h): Include.
592 (gdb_setjmp.h): Do not include.
593 (return_reason): Moved to common-exceptions.h.
594 (enum return_reason): Likewise.
595 (RETURN_MASK): Likewise.
596 (typedef return_mask): Likewise.
597 (enum errors): Likewise.
598 (struct gdb_exception): Likewise.
599 (exceptions_state_mc_init): Likewise.
600 (exceptions_state_mc_action_iter): Likewise.
601 (exceptions_state_mc_action_iter_1): Likewise.
602 (TRY_CATCH): Likewise.
603 (throw_exception): Likewise.
604 (throw_verror): Likewise.
605 (throw_vquit): Likewise.
606 (throw_error): Likewise.
607 (throw_quit): Likewise.
608 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
609 (enum catcher_action): Likewise.
610 (struct catcher): Likewise.
611 (current_catcher): Likewise.
612 (catcher_list_size): Likewise.
613 (exceptions_state_mc_init): Likewise.
614 (catcher_pop): Likewise.
615 (exceptions_state_mc): Likewise.
616 (exceptions_state_mc_action_iter): Likewise.
617 (exceptions_state_mc_action_iter_1): Likewise.
618 (throw_exception): Likewise.
619 (exception_messages): Likewise.
620 (exception_messages_size): Likewise.
621 (throw_it): Likewise.
622 (throw_verror): Likewise.
623 (throw_vquit): Likewise.
624 (throw_error): Likewise.
625 (throw_quit): Likewise.
626 (prepare_to_throw_exception): New function.
627
628 2014-08-29 Gary Benson <gbenson@redhat.com>
629
630 * common/gdb_setjmp.h: New file.
631 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
632 * configure.ac: Move sigsetjmp check...
633 * common/common.m4: ...here.
634 * configure: Regenerate.
635 * cp-support.c (SIGJMP_BUF): Delete.
636 (SIGSETJMP): Likewise.
637 (SIGLONGJMP): Likewise.
638 * exceptions.h (gdb_setjmp.h): Include.
639 (setjmp.h): Do not include.
640 (EXCEPTIONS_SIGJMP_BUF): Delete.
641 (EXCEPTIONS_SIGSETJMP): Likewise.
642 (EXCEPTIONS_SIGLONGJMP): Likewise.
643 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
644 from gdb_setjmp.h.
645 * exceptions.c: Likewise.
646
647 2014-08-29 Gary Benson <gbenson@redhat.com>
648
649 * cleanups.h: Moved to...
650 * common/cleanups.h: New file.
651 * cleanups.c: Moved to...
652 * common/cleanups.c: New file. Include common-defs.h and
653 cleanups.h. Do not include defs.h.
654 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
655 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
656 (cleanups.o): New rule.
657
658 2014-08-29 Gary Benson <gbenson@redhat.com>
659
660 * common/errors.h (internal_warning): New declaration.
661 (internal_vwarning): Likewise.
662 * common/errors.c (internal_warning): New function.
663 * utils.h (internal_warning): Don't declare.
664 (internal_vwarning): Likewise.
665 * utils.c (internal_warning): Removed.
666
667 2014-08-29 Gary Benson <gbenson@redhat.com>
668
669 * main.c (captured_main): Use warning during startup.
670 Prefix startup warning messages with command name.
671
672 2014-08-29 Gary Benson <gbenson@redhat.com>
673
674 * main.c (captured_main): Handle usage errors with error.
675
676 2014-08-29 Gary Benson <gbenson@redhat.com>
677
678 * go32-nat.c (go32_create_inferior): Replace a fprintf/
679 exit pair with a call to error. Wrap the message with _().
680
681 2014-08-29 Gary Benson <gbenson@redhat.com>
682
683 * main.c (captured_main): Replace a fprintf/exit
684 pair with a call to error. Wrap the message with _().
685
686 2014-08-29 Gary Benson <gbenson@redhat.com>
687
688 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
689 pairs with calls to error. Wrap the message with _().
690
691 2014-08-29 Gary Benson <gbenson@redhat.com>
692
693 * utils.c (vwarning): Protect calls to target_terminal_ours
694 and wrap_here.
695
696 2014-08-29 Gary Benson <gbenson@redhat.com>
697
698 * exceptions.c (print_flush): Protect calls to
699 target_terminal_ours and wrap_here.
700
701 2014-08-29 Gary Benson <gbenson@redhat.com>
702
703 * utils.h (filtered_printing_initialized): New declaration.
704 * utils.c (abort_with_message): New function.
705 (internal_vproblem): Use abort_with_message for first level
706 recursive internal problems, and if gdb_stderr is not set up.
707 Protect calls to target_terminal_ours, begin_line and query.
708
709 2014-08-28 Doug Evans <dje@google.com>
710
711 * symtab.c (in_prologue): Move definition to better spot.
712 (skip_prologue_using_sal): Ditto.
713
714 2014-08-28 Doug Evans <dje@google.com>
715
716 * symtab.c (find_function_start_sal): Move definition to better spot.
717
718 2014-08-28 Yao Qi <yao@codesourcery.com>
719
720 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
721 found_stack_adjust in forward scan. Remove condition check
722 on found_stack_adjust which is always true. Indent the code.
723
724 2014-08-28 Yao Qi <yao@codesourcery.com>
725
726 * dwarf2read.c (dwarf_decode_lines): Update declaration.
727 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
728 (dwarf_decode_lines): Remove argument
729 want_line_info. Remove condition check on want_line_info.
730 Callers update.
731
732 2014-08-27 Doug Evans <dje@google.com>
733
734 * dwarf2read.c (dwarf_record_line): Fix typo.
735
736 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
737
738 * target.h (struct target_ops::to_terminal_save_ours): Remove
739 declaration.
740 (target_terminal_save_ours): Remove macro.
741 * target-delegates.c: Regenerate.
742 * inf-child.c (inf_child_target): Don't set the nonexistent
743 field to_terminal_save_ours.
744 * inferior.h (child_terminal_save_ours): Remove declaration.
745 * terminal.h (gdb_save_tty_state): New declaration.
746 * inflow.c (child_terminal_save_ours): Rename to ...
747 (gdb_save_tty_state): ... this.
748 * tui/tui.c: Include terminal.h.
749 (tui_enable): Use gdb_save_tty_state instead of
750 target_terminal_save_ours.
751 (tui_disable): Likewise.
752
753 2014-08-25 Doug Evans <dje@google.com>
754
755 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
756 Pass NULL instead of 0 for context pointer.
757
758 2014-08-25 Yao Qi <yao@codesourcery.com>
759
760 * dwarf2read.c: Fix grammatical error.
761
762 2014-08-24 Yao Qi <yao@codesourcery.com>
763
764 * dwarf2read.c (scan_partial_symbols): Update comments.
765 Rename argument 'need_pc' with 'set_addrmap'.
766 (add_partial_namespace): Rename argument 'need_pc' with
767 'set_addrmap'.
768 (add_partial_module): Likewise.
769 (add_partial_subprogram): Likewise. Update comments.
770 (dwarf2_name): Fix typo.
771
772 2014-08-22 Doug Evans <dje@google.com>
773
774 PR 17276
775 * dwarf2read.c (dwarf_record_line_p): New function.
776 (dwarf_decode_lines_1): Ignore subsequent line number entries
777 for the same line if any entry had a non-zero discriminator.
778
779 2014-08-22 Doug Evans <dje@google.com>
780
781 * buildsym.h (record_line_ftype): New typedef.
782 (record_line): Use it.
783 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
784 (dwarf_decode_lines_1): Call them.
785
786 2014-08-22 Yao Qi <yao@codesourcery.com>
787
788 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
789 (ctf_end): Remove code.
790
791 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
792
793 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
794 (linux_make_corefile_notes): call update_thread_list, protected against
795 exceptions.
796
797 2014-08-21 Pedro Alves <palves@redhat.com>
798
799 * infcmd.c (attach_command): Remove comment.
800
801 2014-08-21 Bin Cheng <bin.cheng@arm.com>
802
803 * aarch64-linux-nat.c (dr_changed_t): Change the type from
804 unsigned LONGEST to ULONGEST.
805
806 2014-08-20 Pedro Alves <palves@redhat.com>
807
808 * Makefile.in (check-read1): New rule.
809
810 2014-08-20 Joel Brobecker <brobecker@adacore.com>
811
812 * value.c (value_from_contents_and_address): Strip resolved_type's
813 typedef layers before checking its TYPE_DATA_LOCATION.
814
815 2014-08-20 Pedro Alves <palves@redhat.com>
816
817 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
818
819 2014-08-20 Yao Qi <yao@codesourcery.com>
820
821 * amd64-tdep.c (amd64_classify): Add a blank line after the
822 example. Move "*/" to a new line.
823 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
824 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
825 * dwarf2read.c (psymtab_include_file_name): Likewise.
826
827 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
828 Pedro Alves <palves@redhat.com>
829
830 PR symtab/14604
831 PR symtab/14605
832 * ada-lang.c (coerce_unspec_val_to_type): Use
833 value_contents_copy_raw.
834 * ada-valprint.c (val_print_packed_array_elements): Adjust.
835 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
836 * cp-valprint.c (cp_print_value_fields): Let the common printing
837 code handle optimized out values.
838 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
839 * d-valprint.c (dynamic_array_type): Use
840 value_bits_any_optimized_out.
841 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
842 check_any_valid fields.
843 (check_pieced_value_bits): Delete and inline ...
844 (check_pieced_synthetic_pointer): ... here.
845 (check_pieced_value_validity): Delete.
846 (check_pieced_value_invalid): Delete.
847 (pieced_value_funcs): Remove check_validity and check_any_valid
848 fields.
849 (read_pieced_value): Use mark_value_bits_optimized_out.
850 (write_pieced_value): Switch to use
851 mark_value_bytes_optimized_out.
852 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
853 of assuming the whole value is optimized out.
854 * findvar.c (read_frame_register_value): Remove special handling
855 of optimized out registers.
856 (value_from_register): Use mark_value_bytes_optimized_out.
857 * frame-unwind.c (frame_unwind_got_optimized): Use
858 mark_value_bytes_optimized_out.
859 * jv-valprint.c (java_value_print): Adjust.
860 (java_print_value_fields): Let the common printing code handle
861 optimized out values.
862 * mips-tdep.c (mips_print_register): Remove special handling of
863 optimized out registers.
864 * opencl-lang.c (lval_func_check_validity): Delete.
865 (lval_func_check_any_valid): Delete.
866 (opencl_value_funcs): Remove check_validity and check_any_valid
867 fields.
868 * p-valprint.c (pascal_object_print_value_fields): Let the common
869 printing code handle optimized out values.
870 * stack.c (read_frame_arg): Remove special handling of optimized
871 out values. Fetch both VAL and ENTRYVAL before comparing
872 contents. Adjust to value_available_contents_eq rename.
873 * valprint.c (valprint_check_validity)
874 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
875 (val_print_array_elements): Adjust.
876 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
877 (value_bits_any_optimized_out): New function.
878 (value_entirely_covered_by_range_vector): New function, factored
879 out from value_entirely_unavailable.
880 (value_entirely_unavailable): Reimplement.
881 (value_entirely_optimized_out): New function.
882 (insert_into_bit_range_vector): New function, factored out from
883 mark_value_bits_unavailable.
884 (mark_value_bits_unavailable): Reimplement.
885 (struct ranges_and_idx): New struct.
886 (find_first_range_overlap_and_match): New function, factored out
887 from value_available_contents_bits_eq.
888 (value_available_contents_bits_eq): Rename to ...
889 (value_contents_bits_eq): ... this. Check both unavailable
890 contents and optimized out contents.
891 (value_available_contents_eq): Rename to ...
892 (value_contents_eq): ... this.
893 (allocate_value_lazy): Remove reference to the old optimized_out
894 boolean.
895 (allocate_optimized_out_value): Use
896 mark_value_bytes_optimized_out.
897 (require_not_optimized_out): Adjust to check whether the
898 optimized_out vec is empty.
899 (ranges_copy_adjusted): New function, factored out from
900 value_contents_copy_raw.
901 (value_contents_copy_raw): Also copy the optimized out ranges.
902 Assert the destination ranges aren't optimized out.
903 (value_contents_copy): Update comment, remove call to
904 require_not_optimized_out.
905 (value_contents_equal): Adjust to check whether the optimized_out
906 vec is empty.
907 (set_value_optimized_out, value_optimized_out_const): Delete.
908 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
909 New functions.
910 (value_entirely_optimized_out, value_bits_valid): Delete.
911 (value_copy): Take a VEC copy of the 'optimized_out' field.
912 (value_primitive_field): Remove special handling of optimized out.
913 (value_fetch_lazy): Assert that lazy values have no unavailable
914 regions. Use value_bits_any_optimized_out. Remove some special
915 handling for optimized out values.
916 * value.h: Add intro comment about <optimized out> and
917 <unavailable>.
918 (struct lval_funcs): Remove check_validity and check_any_valid
919 fields.
920 (set_value_optimized_out, value_optimized_out_const): Remove.
921 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
922 New declarations.
923 (value_bits_any_optimized_out): New declaration.
924 (value_bits_valid): Delete declaration.
925 (value_available_contents_eq): Rename to ...
926 (value_contents_eq): ... this, and extend comments.
927
928 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
929
930 Fix -fsanitize=address on unreadable inferior strings.
931 * valprint.c (val_print_string): Fix access before BUFFER.
932
933 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
934
935 * target.c (target_struct_size): Remove.
936 (target_struct_allocsize): Remove.
937 (DEFAULT_ALLOCSIZE): Remove.
938 (target_ops_p): New typedef.
939 (DEF_VEC_P (target_ops_p)): New vector type.
940 (target_structs): Change type to VEC (target_ops_p).
941 (add_target_with_completer): Replace "push" code by VEC_safe_push.
942 (find_default_run_target): Rewrite for loop following changes to
943 target_structs.
944
945 2014-08-19 Joel Brobecker <brobecker@adacore.com>
946
947 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
948 Adjust code accordingly. Adjust function description comment.
949
950 2014-08-19 Yao Qi <yao@codesourcery.com>
951
952 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
953 types.
954
955 2014-08-19 Alan Modra <amodra@gmail.com>
956
957 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
958 * config.in: Regenerate.
959 * configure: Regenerate.
960
961 2014-08-19 Tom Tromey <tromey@redhat.com>
962 Gary Benson <gbenson@redhat.com>
963
964 * common/common-debug.h: New file.
965 * common/common-debug.c: Likewise.
966 * debug.c: Likewise.
967 * Makefile.in (SFILES): Add common/common-debug.c.
968 (HFILES_NO_SRCDIR): Add common/common-debug.h.
969 (COMMON_OBS): Add common-debug.o and debug.o.
970 (common-debug.o): New rule.
971 * common/common-defs.h: Include common-debug.h.
972 * common/agent.c (debug_agent_printf): New function.
973 (DEBUG_AGENT): Redefine.
974 * nat/i386-dregs.c (debug_printf): Undefine.
975
976 2014-08-19 Gary Benson <gbenson@redhat.com>
977
978 * common/common-defs.h: Include print-utils.h.
979 * utils.h: Do not include print-utils.h.
980
981 2014-08-19 Tom Tromey <tromey@redhat.com>
982 Gary Benson <gbenson@redhat.com>
983
984 * common/common-types.h: New file.
985 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
986 * common/common-defs.h: Include common-types.h.
987 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
988 (ULONGEST): Remove.
989
990 2014-08-19 Tom Tromey <tromey@redhat.com>
991 Gary Benson <gbenson@redhat.com>
992
993 * common/errors.h: New file.
994 * common/errors.c: Likewise.
995 * Makefile.in (SFILES): Add common/errors.c.
996 (HFILES_NO_SRCDIR): Add common/errors.h.
997 (COMMON_OBS): Add errors.o.
998 (errors.o): New rule.
999 * common/common-defs.h: Include errors.h.
1000 * utils.h (perror_with_name, error, verror, warning, vwarning):
1001 Don't declare.
1002 * common/common-utils.h: (malloc_failure, internal_error):
1003 Likewise.
1004
1005 2014-08-19 Gary Benson <gbenson@redhat.com>
1006
1007 * utils.c (internal_vproblem): Always print the message.
1008
1009 2014-08-18 Doug Evans <dje@google.com>
1010
1011 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1012
1013 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1014
1015 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1016 Return 0 if TYPE is dynamic.
1017 (print_range): Add handling of dynamic ranges.
1018
1019 2014-08-18 Keven Boell <keven.boell@intel.com>
1020 Joel Brobecker <brobecker@adacore.com>
1021
1022 * gdbtypes.h (struct main_type): Add field "data_location".
1023 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1024 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1025 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1026 a dynamic data location.
1027 (resolve_dynamic_type): Add DW_AT_data_location handling.
1028 (copy_recursive, copy_type): Copy the data_location information
1029 when present.
1030 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1031 * value.c (value_from_contents_and_address): Add
1032 DW_AT_data_location handling.
1033
1034 2014-08-18 Keven Boell <keven.boell@intel.com>
1035 Joel Brobecker <brobecker@adacore.com>
1036
1037 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1038 field "get_object_address".
1039 * dwarf2expr.c (execute_stack_op): Add handling for
1040 DW_OP_push_object_address.
1041 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1042 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1043 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1044 (dwarf_expr_get_obj_addr): New function.
1045 (dwarf_expr_ctx_funcs): Add get_object_address field.
1046 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1047 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1048 (dwarf2_evaluate_property): Add parameter "address". Use it.
1049 (needs_get_obj_addr): New function.
1050 (needs_frame_ctx_funcs): Add get_object_address field.
1051 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1052 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1053 (resolve_dynamic_array): Likewise.
1054
1055 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1056
1057 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1058 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1059 fixed value for records and unions for which some GNAT encodings
1060 are present.
1061
1062 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1063
1064 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1065 rewrite to avoid "else if" and "else" constructs. Should be
1066 a no-op in practice.
1067
1068 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1069
1070 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1071 of lexical block.
1072
1073 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1074
1075 PR c++/17132
1076 * eval.c: Update all calls to find_overload_match.
1077 * valarith.c: Likewise.
1078 (value_user_defined_cpp_op, value_user_defined_op): New
1079 argument NOSIDE. Update all callers.
1080 * valops.c (find_overload_match): New argument NOSIDE.
1081 * value.h (find_overload_match): Update signature.
1082
1083 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1084
1085 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1086 'items' methods instead of 'iteritems' method on dictionaries.
1087
1088 2014-08-15 Doug Evans <dje@google.com>
1089
1090 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1091 closer to use.
1092
1093 2014-08-15 Doug Evans <dje@google.com>
1094
1095 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1096
1097 2014-08-15 Doug Evans <dje@google.com>
1098
1099 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1100
1101 2014-08-15 Doug Evans <dje@google.com>
1102
1103 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1104 unused.
1105
1106 2014-08-15 Eli Zaretskii <eliz@gnu.org>
1107
1108 * dcache.h: Include target.h, to avoid compile time warnings.
1109
1110 2014-08-15 Joel Brobecker <brobecker@adacore.com>
1111
1112 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1113 frame_info" partial declaration.
1114 * gdbarch.h: Regenerate.
1115
1116 2014-08-15 Yao Qi <yao@codesourcery.com>
1117
1118 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1119 Add parameter 'decode_for_pst_p'. Callers update.
1120
1121 2014-08-13 Yao Qi <yao@codesourcery.com>
1122
1123 PR build/17104
1124 * configure.ac: Use local variable 'pos'.
1125 * configure: Regenerated.
1126
1127 2014-08-11 Doug Evans <dje@google.com>
1128
1129 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1130 message, it is redundant with "Reading symbols from ..." message.
1131
1132 2014-08-10 Doug Evans <xdje42@gmail.com>
1133
1134 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1135
1136 2014-08-09 Yao Qi <yao@codesourcery.com>
1137
1138 PR remote/9053
1139 * remote.c (remote_xfer_partial): Remove dead code.
1140
1141 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1142
1143 * ia64-linux-tdep.c: Include "regset.h".
1144 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1145 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1146 (ia64_linux_supply_fpregset): New function.
1147 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1148 (ia64_linux_regset_from_core_section): New function.
1149 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1150 method.
1151
1152 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1153
1154 * m68klinux-tdep.c: Include "regset.h".
1155 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1156 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1157 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1158 (m68k_linux_regset_from_core_section): New function.
1159 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1160 method.
1161
1162 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1163
1164 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1165 function. Move logic to...
1166 (tilegx_linux_regmap): ... this new register map.
1167 (tilegx_linux_regset): Refer to register map, replace supply
1168 method by regcache_supply_regset, and add collect method.
1169 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1170 TILEGX_FIRST_EASY_REGNUM.
1171
1172 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1173
1174 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1175 that calls regcache_supply_regset and handles the EPC register
1176 separately. Move main logic to...
1177 (score7_linux_gregmap): ... this new register map.
1178 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1179 (score7_linux_gregset): Refer to register map. Add collect method.
1180 (score7_linux_regset_from_core_section): Replace
1181 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1182 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1183 (struct regset): Delete unused forward declaraction.
1184 (struct pt_regs): Delete structure definition.
1185 (elf_gregset_t): Delete typedef.
1186
1187 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1188
1189 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1190 (nios2_core_regset): Add collect method.
1191
1192 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1193
1194 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1195 platform-independent and don't write to read-only input buffer.
1196 (m32r_linux_collect_gregset): New function.
1197 (m32r_linux_gregset): Add collect method.
1198
1199 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1200
1201 * hppa-linux-tdep.c (greg_map): Rename to...
1202 (hppa_linux_gregmap): ... this. Also convert to
1203 regcache_map_entry format.
1204 (hppa_linux_supply_regset): Delete function.
1205 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1206 (hppa_linux_fpregmap): ... this new register map.
1207 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1208 register map, replace supply method by regcache_supply_regset, and
1209 add collect method regcache_collect_regset.
1210
1211 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1212
1213 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1214 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1215 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1216 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1217 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1218 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1219 (frv_linux_supply_gregset): Replace main logic by call to
1220 regcache_supply_regset, but keep clearing gr32-gr63.
1221 (frv_linux_supply_fpregset): Delete function.
1222 (frv_linux_gregset): Refer to appropriate register map and add
1223 regcache_collect_regset as the collect method.
1224 (frv_linux_fpregset): Likewise. Also exchange the supply method
1225 by regcache_supply_regset.
1226
1227 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1228
1229 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1230 by call to alpha_supply_int_regs.
1231 (alpha_linux_collect_gregset): New function.
1232 (alpha_linux_supply_fpregset): Replace logic by call to
1233 alpha_supply_fp_regs.
1234 (alpha_linux_collect_fpregset): New function.
1235 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1236
1237 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1238
1239 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1240 by call to regcache_collect_regset.
1241 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1242 instead of aarch64_linux_supply_gregset/_fpregset.
1243 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1244 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1245 header file instead.
1246 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1247 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1248 functions. Move logic to ...
1249 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1250 register maps.
1251 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1252 refer to new register maps, replace *_regset_from_core by
1253 regcache_supply_regset, and also use regcache_collect_regset.
1254 * aarch64-linux-tdep.h: Include "regset.h".
1255 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1256 Delete prototypes.
1257 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1258 macros, moved from C source file.
1259 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1260 variable declarations.
1261
1262 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1263
1264 * s390-linux-nat.c: Include "regset.h".
1265 (regmap_gregset): Delete macro.
1266 (s390_64_regmap_gregset): New register map for
1267 regcache_supply/_collect_regset.
1268 (s390_64_gregset): New regset.
1269 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1270 (regmap_fpregset): Delete macro.
1271 (s390_native_supply, s390_native_collect): Delete functions.
1272 (supply_gregset, fill_gregset): Replace s390-specific regmap
1273 handling by a call to regcache_supply/_collect_regset.
1274 (supply_fpregset, fill_fpregset): Call regcache_supply/
1275 _collect_regset instead of s390_native_supply/_collect.
1276 (fetch_regset, store_regset): Likewise. Also change the last
1277 parameter to a regset instead of a regmap.
1278 (s390_linux_fetch_inferior_registers)
1279 (390_linux_store_inferior_registers): Adjust last parameter in
1280 calls to fetch_regset and store_regset.
1281 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1282 (s390_gregmap): ... this. Also make static const and convert to
1283 regcache_map_entry format.
1284 (s390x_regmap_gregset): Delete.
1285 (s390_regmap_fpregset): Rename to...
1286 (s390_fpregmap): ... this. Make static const and convert to
1287 regcache_map_entry format.
1288 (s390_regmap_upper, s390_regmap_last_break)
1289 (s390x_regmap_last_break, s390_regmap_system_call)
1290 (s390_regmap_tdb): Likewise.
1291 (s390_supply_regset, s390_collect_regset): Remove functions.
1292 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1293 s390_supply_regset.
1294 (s390_gregset, s390_fpregset, s390_upper_regset)
1295 (s390_last_break_regset, s390x_last_break_regset)
1296 (s390_system_call_regset, s390_tdb_regset): Make global and
1297 replace s390_supply/_collect_regset by regcache_supply/
1298 _collect_regset.
1299 (s390x_gregset): Delete.
1300 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1301 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1302 (s390_regmap_fpregset, s390_regmap_last_break)
1303 (s390x_regmap_last_break, s390_regmap_system_call)
1304 (s390_regmap_tdb): Delete global variable declarations.
1305 (s390_gregset, s390_fpregset, s390_last_break_regset)
1306 (s390x_last_break_regset, s390_system_call_regset)
1307 (s390_tdb_regset): New global variable declarations.
1308
1309 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1310
1311 * regcache.c: Include "regset.h".
1312 (regcache_transfer_regset): New local function.
1313 (regcache_supply_regset, regcache_collect_regset): New functions.
1314 * regcache.h (struct regcache_map_entry): New structure.
1315 (REGCACHE_MAP_SKIP): New enum value.
1316 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1317
1318 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1319
1320 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1321 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1322 (ppc_linux_collect_gregset ): Likewise.
1323 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1324 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1325 (ppc_collect_vrregset): Likewise.
1326 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1327 Likewise.
1328
1329 2014-08-07 Yao Qi <yao@codesourcery.com>
1330
1331 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1332 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1333 * remote.c (remote_read_bytes): Likewise.
1334
1335 2014-08-07 Yao Qi <yao@codesourcery.com>
1336
1337 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1338
1339 2014-08-07 Yao Qi <yao@codesourcery.com>
1340
1341 PR remote/17230
1342 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1343 TARGET_XFER_OK instead of 0.
1344
1345 2014-08-07 Gary Benson <gbenson@redhat.com>
1346
1347 * common/common-defs.h: Include errno.h.
1348 * defs.h: Do not include errno.h.
1349 * ada-typeprint.c: Likewise.
1350 * c-typeprint.c: Likewise.
1351 * core-regset.c: Likewise.
1352 * corefile.c: Likewise.
1353 * corelow.c: Likewise.
1354 * event-loop.c: Likewise.
1355 * f-typeprint.c: Likewise.
1356 * gnu-nat.c: Likewise.
1357 * go32-nat.c: Likewise.
1358 * i386gnu-nat.c: Likewise.
1359 * m2-typeprint.c: Likewise.
1360 * nat/linux-btrace.c: Likewise.
1361 * p-typeprint.c: Likewise.
1362 * procfs.c: Likewise.
1363 * remote-sim.c: Likewise.
1364 * rs6000-nat.c: Likewise.
1365 * target.c: Likewise.
1366 * typeprint.c: Likewise.
1367 * ui-file.c: Likewise.
1368 * valops.c: Likewise.
1369 * valprint.c: Likewise.
1370
1371 2014-08-07 Gary Benson <gbenson@redhat.com>
1372
1373 * common/common-defs.h: Include string.h.
1374 * aarch64-tdep.c: Do not include string.h.
1375 * ada-exp.y: Likewise.
1376 * ada-lang.c: Likewise.
1377 * ada-lex.l: Likewise.
1378 * ada-typeprint.c: Likewise.
1379 * ada-valprint.c: Likewise.
1380 * aix-thread.c: Likewise.
1381 * alpha-linux-tdep.c: Likewise.
1382 * alpha-mdebug-tdep.c: Likewise.
1383 * alpha-nat.c: Likewise.
1384 * alpha-osf1-tdep.c: Likewise.
1385 * alpha-tdep.c: Likewise.
1386 * alphanbsd-tdep.c: Likewise.
1387 * amd64-dicos-tdep.c: Likewise.
1388 * amd64-linux-tdep.c: Likewise.
1389 * amd64-nat.c: Likewise.
1390 * amd64-sol2-tdep.c: Likewise.
1391 * amd64fbsd-tdep.c: Likewise.
1392 * amd64obsd-tdep.c: Likewise.
1393 * arch-utils.c: Likewise.
1394 * arm-linux-nat.c: Likewise.
1395 * arm-linux-tdep.c: Likewise.
1396 * arm-tdep.c: Likewise.
1397 * arm-wince-tdep.c: Likewise.
1398 * armbsd-tdep.c: Likewise.
1399 * armnbsd-nat.c: Likewise.
1400 * armnbsd-tdep.c: Likewise.
1401 * armobsd-tdep.c: Likewise.
1402 * avr-tdep.c: Likewise.
1403 * ax-gdb.c: Likewise.
1404 * ax-general.c: Likewise.
1405 * bcache.c: Likewise.
1406 * bfin-tdep.c: Likewise.
1407 * breakpoint.c: Likewise.
1408 * build-id.c: Likewise.
1409 * buildsym.c: Likewise.
1410 * c-exp.y: Likewise.
1411 * c-lang.c: Likewise.
1412 * c-typeprint.c: Likewise.
1413 * c-valprint.c: Likewise.
1414 * charset.c: Likewise.
1415 * cli-out.c: Likewise.
1416 * cli/cli-cmds.c: Likewise.
1417 * cli/cli-decode.c: Likewise.
1418 * cli/cli-dump.c: Likewise.
1419 * cli/cli-interp.c: Likewise.
1420 * cli/cli-logging.c: Likewise.
1421 * cli/cli-script.c: Likewise.
1422 * cli/cli-setshow.c: Likewise.
1423 * cli/cli-utils.c: Likewise.
1424 * coffread.c: Likewise.
1425 * common/agent.c: Likewise.
1426 * common/buffer.c: Likewise.
1427 * common/buffer.h: Likewise.
1428 * common/common-utils.c: Likewise.
1429 * common/filestuff.c: Likewise.
1430 * common/filestuff.c: Likewise.
1431 * common/format.c: Likewise.
1432 * common/print-utils.c: Likewise.
1433 * common/rsp-low.c: Likewise.
1434 * common/signals.c: Likewise.
1435 * common/vec.h: Likewise.
1436 * common/xml-utils.c: Likewise.
1437 * core-regset.c: Likewise.
1438 * corefile.c: Likewise.
1439 * corelow.c: Likewise.
1440 * cp-abi.c: Likewise.
1441 * cp-name-parser.y: Likewise.
1442 * cp-support.c: Likewise.
1443 * cp-valprint.c: Likewise.
1444 * cris-tdep.c: Likewise.
1445 * d-exp.y: Likewise.
1446 * darwin-nat.c: Likewise.
1447 * dbxread.c: Likewise.
1448 * dcache.c: Likewise.
1449 * demangle.c: Likewise.
1450 * dicos-tdep.c: Likewise.
1451 * disasm.c: Likewise.
1452 * doublest.c: Likewise.
1453 * dsrec.c: Likewise.
1454 * dummy-frame.c: Likewise.
1455 * dwarf2-frame.c: Likewise.
1456 * dwarf2loc.c: Likewise.
1457 * dwarf2read.c: Likewise.
1458 * elfread.c: Likewise.
1459 * environ.c: Likewise.
1460 * eval.c: Likewise.
1461 * event-loop.c: Likewise.
1462 * exceptions.c: Likewise.
1463 * exec.c: Likewise.
1464 * expprint.c: Likewise.
1465 * f-exp.y: Likewise.
1466 * f-lang.c: Likewise.
1467 * f-typeprint.c: Likewise.
1468 * f-valprint.c: Likewise.
1469 * fbsd-nat.c: Likewise.
1470 * findcmd.c: Likewise.
1471 * findvar.c: Likewise.
1472 * fork-child.c: Likewise.
1473 * frame.c: Likewise.
1474 * frv-linux-tdep.c: Likewise.
1475 * frv-tdep.c: Likewise.
1476 * gdb.c: Likewise.
1477 * gdb_bfd.c: Likewise.
1478 * gdbarch.c: Likewise.
1479 * gdbarch.sh: Likewise.
1480 * gdbtypes.c: Likewise.
1481 * gnu-nat.c: Likewise.
1482 * gnu-v2-abi.c: Likewise.
1483 * gnu-v3-abi.c: Likewise.
1484 * go-exp.y: Likewise.
1485 * go-lang.c: Likewise.
1486 * go32-nat.c: Likewise.
1487 * guile/guile.c: Likewise.
1488 * guile/scm-auto-load.c: Likewise.
1489 * hppa-hpux-tdep.c: Likewise.
1490 * hppa-linux-nat.c: Likewise.
1491 * hppanbsd-tdep.c: Likewise.
1492 * hppaobsd-tdep.c: Likewise.
1493 * i386-cygwin-tdep.c: Likewise.
1494 * i386-dicos-tdep.c: Likewise.
1495 * i386-linux-tdep.c: Likewise.
1496 * i386-nto-tdep.c: Likewise.
1497 * i386-sol2-tdep.c: Likewise.
1498 * i386-tdep.c: Likewise.
1499 * i386bsd-tdep.c: Likewise.
1500 * i386gnu-nat.c: Likewise.
1501 * i386nbsd-tdep.c: Likewise.
1502 * i386obsd-tdep.c: Likewise.
1503 * i387-tdep.c: Likewise.
1504 * ia64-libunwind-tdep.c: Likewise.
1505 * ia64-linux-nat.c: Likewise.
1506 * inf-child.c: Likewise.
1507 * inf-ptrace.c: Likewise.
1508 * inf-ttrace.c: Likewise.
1509 * infcall.c: Likewise.
1510 * infcmd.c: Likewise.
1511 * inflow.c: Likewise.
1512 * infrun.c: Likewise.
1513 * interps.c: Likewise.
1514 * iq2000-tdep.c: Likewise.
1515 * irix5-nat.c: Likewise.
1516 * jv-exp.y: Likewise.
1517 * jv-lang.c: Likewise.
1518 * jv-typeprint.c: Likewise.
1519 * jv-valprint.c: Likewise.
1520 * language.c: Likewise.
1521 * linux-fork.c: Likewise.
1522 * linux-nat.c: Likewise.
1523 * lm32-tdep.c: Likewise.
1524 * m2-exp.y: Likewise.
1525 * m2-typeprint.c: Likewise.
1526 * m32c-tdep.c: Likewise.
1527 * m32r-linux-nat.c: Likewise.
1528 * m32r-linux-tdep.c: Likewise.
1529 * m32r-rom.c: Likewise.
1530 * m32r-tdep.c: Likewise.
1531 * m68hc11-tdep.c: Likewise.
1532 * m68k-tdep.c: Likewise.
1533 * m68kbsd-tdep.c: Likewise.
1534 * m68klinux-nat.c: Likewise.
1535 * m68klinux-tdep.c: Likewise.
1536 * m88k-tdep.c: Likewise.
1537 * machoread.c: Likewise.
1538 * macrocmd.c: Likewise.
1539 * main.c: Likewise.
1540 * mdebugread.c: Likewise.
1541 * mem-break.c: Likewise.
1542 * memattr.c: Likewise.
1543 * memory-map.c: Likewise.
1544 * mep-tdep.c: Likewise.
1545 * mi/mi-cmd-break.c: Likewise.
1546 * mi/mi-cmd-disas.c: Likewise.
1547 * mi/mi-cmd-env.c: Likewise.
1548 * mi/mi-cmd-stack.c: Likewise.
1549 * mi/mi-cmd-var.c: Likewise.
1550 * mi/mi-cmds.c: Likewise.
1551 * mi/mi-console.c: Likewise.
1552 * mi/mi-getopt.c: Likewise.
1553 * mi/mi-interp.c: Likewise.
1554 * mi/mi-main.c: Likewise.
1555 * mi/mi-parse.c: Likewise.
1556 * microblaze-rom.c: Likewise.
1557 * microblaze-tdep.c: Likewise.
1558 * mingw-hdep.c: Likewise.
1559 * minidebug.c: Likewise.
1560 * minsyms.c: Likewise.
1561 * mips-irix-tdep.c: Likewise.
1562 * mips-linux-tdep.c: Likewise.
1563 * mips-tdep.c: Likewise.
1564 * mips64obsd-tdep.c: Likewise.
1565 * mipsnbsd-tdep.c: Likewise.
1566 * mipsread.c: Likewise.
1567 * mn10300-linux-tdep.c: Likewise.
1568 * mn10300-tdep.c: Likewise.
1569 * monitor.c: Likewise.
1570 * moxie-tdep.c: Likewise.
1571 * mt-tdep.c: Likewise.
1572 * nat/linux-btrace.c: Likewise.
1573 * nat/linux-osdata.c: Likewise.
1574 * nat/linux-procfs.c: Likewise.
1575 * nat/linux-ptrace.c: Likewise.
1576 * nat/linux-waitpid.c: Likewise.
1577 * nbsd-tdep.c: Likewise.
1578 * nios2-linux-tdep.c: Likewise.
1579 * nto-procfs.c: Likewise.
1580 * nto-tdep.c: Likewise.
1581 * objc-lang.c: Likewise.
1582 * objfiles.c: Likewise.
1583 * opencl-lang.c: Likewise.
1584 * osabi.c: Likewise.
1585 * osdata.c: Likewise.
1586 * p-exp.y: Likewise.
1587 * p-lang.c: Likewise.
1588 * p-typeprint.c: Likewise.
1589 * parse.c: Likewise.
1590 * posix-hdep.c: Likewise.
1591 * ppc-linux-nat.c: Likewise.
1592 * ppc-sysv-tdep.c: Likewise.
1593 * ppcfbsd-tdep.c: Likewise.
1594 * ppcnbsd-tdep.c: Likewise.
1595 * ppcobsd-tdep.c: Likewise.
1596 * printcmd.c: Likewise.
1597 * procfs.c: Likewise.
1598 * prologue-value.c: Likewise.
1599 * python/py-auto-load.c: Likewise.
1600 * python/py-gdb-readline.c: Likewise.
1601 * ravenscar-thread.c: Likewise.
1602 * regcache.c: Likewise.
1603 * registry.c: Likewise.
1604 * remote-fileio.c: Likewise.
1605 * remote-m32r-sdi.c: Likewise.
1606 * remote-mips.c: Likewise.
1607 * remote-notif.c: Likewise.
1608 * remote-sim.c: Likewise.
1609 * remote.c: Likewise.
1610 * reverse.c: Likewise.
1611 * rs6000-aix-tdep.c: Likewise.
1612 * ser-base.c: Likewise.
1613 * ser-go32.c: Likewise.
1614 * ser-mingw.c: Likewise.
1615 * ser-pipe.c: Likewise.
1616 * ser-tcp.c: Likewise.
1617 * ser-unix.c: Likewise.
1618 * serial.c: Likewise.
1619 * sh-tdep.c: Likewise.
1620 * sh64-tdep.c: Likewise.
1621 * shnbsd-tdep.c: Likewise.
1622 * skip.c: Likewise.
1623 * sol-thread.c: Likewise.
1624 * solib-dsbt.c: Likewise.
1625 * solib-frv.c: Likewise.
1626 * solib-osf.c: Likewise.
1627 * solib-som.c: Likewise.
1628 * solib-spu.c: Likewise.
1629 * solib-target.c: Likewise.
1630 * solib.c: Likewise.
1631 * somread.c: Likewise.
1632 * source.c: Likewise.
1633 * sparc-nat.c: Likewise.
1634 * sparc-sol2-tdep.c: Likewise.
1635 * sparc-tdep.c: Likewise.
1636 * sparc64-tdep.c: Likewise.
1637 * sparc64fbsd-tdep.c: Likewise.
1638 * sparc64nbsd-tdep.c: Likewise.
1639 * sparcnbsd-tdep.c: Likewise.
1640 * spu-linux-nat.c: Likewise.
1641 * spu-multiarch.c: Likewise.
1642 * spu-tdep.c: Likewise.
1643 * stabsread.c: Likewise.
1644 * stack.c: Likewise.
1645 * std-regs.c: Likewise.
1646 * symfile.c: Likewise.
1647 * symmisc.c: Likewise.
1648 * symtab.c: Likewise.
1649 * target.c: Likewise.
1650 * thread.c: Likewise.
1651 * tilegx-linux-nat.c: Likewise.
1652 * tilegx-tdep.c: Likewise.
1653 * top.c: Likewise.
1654 * tracepoint.c: Likewise.
1655 * tui/tui-command.c: Likewise.
1656 * tui/tui-data.c: Likewise.
1657 * tui/tui-disasm.c: Likewise.
1658 * tui/tui-file.c: Likewise.
1659 * tui/tui-layout.c: Likewise.
1660 * tui/tui-out.c: Likewise.
1661 * tui/tui-regs.c: Likewise.
1662 * tui/tui-source.c: Likewise.
1663 * tui/tui-stack.c: Likewise.
1664 * tui/tui-win.c: Likewise.
1665 * tui/tui-windata.c: Likewise.
1666 * tui/tui-winsource.c: Likewise.
1667 * typeprint.c: Likewise.
1668 * ui-file.c: Likewise.
1669 * ui-out.c: Likewise.
1670 * user-regs.c: Likewise.
1671 * utils.c: Likewise.
1672 * v850-tdep.c: Likewise.
1673 * valarith.c: Likewise.
1674 * valops.c: Likewise.
1675 * valprint.c: Likewise.
1676 * value.c: Likewise.
1677 * varobj.c: Likewise.
1678 * vax-tdep.c: Likewise.
1679 * vaxnbsd-tdep.c: Likewise.
1680 * vaxobsd-tdep.c: Likewise.
1681 * windows-nat.c: Likewise.
1682 * xcoffread.c: Likewise.
1683 * xml-support.c: Likewise.
1684 * xstormy16-tdep.c: Likewise.
1685 * xtensa-linux-nat.c: Likewise.
1686
1687 2014-08-07 Gary Benson <gbenson@redhat.com>
1688
1689 * common/common-defs.h: Include gdb_assert.h.
1690 * aarch64-tdep.c: Do not include gdb_assert.h.
1691 * addrmap.c: Likewise.
1692 * aix-thread.c: Likewise.
1693 * alpha-linux-tdep.c: Likewise.
1694 * alpha-mdebug-tdep.c: Likewise.
1695 * alphanbsd-tdep.c: Likewise.
1696 * amd64-nat.c: Likewise.
1697 * amd64-tdep.c: Likewise.
1698 * amd64bsd-nat.c: Likewise.
1699 * amd64fbsd-nat.c: Likewise.
1700 * amd64fbsd-tdep.c: Likewise.
1701 * amd64nbsd-nat.c: Likewise.
1702 * amd64nbsd-tdep.c: Likewise.
1703 * amd64obsd-nat.c: Likewise.
1704 * amd64obsd-tdep.c: Likewise.
1705 * arch-utils.c: Likewise.
1706 * arm-tdep.c: Likewise.
1707 * armbsd-tdep.c: Likewise.
1708 * auxv.c: Likewise.
1709 * bcache.c: Likewise.
1710 * bfin-tdep.c: Likewise.
1711 * blockframe.c: Likewise.
1712 * breakpoint.c: Likewise.
1713 * bsd-kvm.c: Likewise.
1714 * bsd-uthread.c: Likewise.
1715 * buildsym.c: Likewise.
1716 * c-exp.y: Likewise.
1717 * c-lang.c: Likewise.
1718 * charset.c: Likewise.
1719 * cleanups.c: Likewise.
1720 * cli-out.c: Likewise.
1721 * cli/cli-decode.c: Likewise.
1722 * cli/cli-dump.c: Likewise.
1723 * cli/cli-logging.c: Likewise.
1724 * cli/cli-script.c: Likewise.
1725 * cli/cli-utils.c: Likewise.
1726 * coffread.c: Likewise.
1727 * common/common-utils.c: Likewise.
1728 * common/queue.h: Likewise.
1729 * common/signals.c: Likewise.
1730 * common/vec.h: Likewise.
1731 * complaints.c: Likewise.
1732 * completer.c: Likewise.
1733 * corelow.c: Likewise.
1734 * cp-abi.c: Likewise.
1735 * cp-name-parser.y: Likewise.
1736 * cp-namespace.c: Likewise.
1737 * cp-support.c: Likewise.
1738 * cris-tdep.c: Likewise.
1739 * dbxread.c: Likewise.
1740 * dictionary.c: Likewise.
1741 * doublest.c: Likewise.
1742 * dsrec.c: Likewise.
1743 * dummy-frame.c: Likewise.
1744 * dwarf2-frame-tailcall.c: Likewise.
1745 * dwarf2-frame.c: Likewise.
1746 * dwarf2expr.c: Likewise.
1747 * dwarf2loc.c: Likewise.
1748 * dwarf2read.c: Likewise.
1749 * eval.c: Likewise.
1750 * event-loop.c: Likewise.
1751 * exceptions.c: Likewise.
1752 * expprint.c: Likewise.
1753 * f-valprint.c: Likewise.
1754 * fbsd-nat.c: Likewise.
1755 * findvar.c: Likewise.
1756 * frame-unwind.c: Likewise.
1757 * frame.c: Likewise.
1758 * frv-tdep.c: Likewise.
1759 * gcore.c: Likewise.
1760 * gdb-dlfcn.c: Likewise.
1761 * gdb_bfd.c: Likewise.
1762 * gdbarch.c: Likewise.
1763 * gdbarch.sh: Likewise.
1764 * gdbtypes.c: Likewise.
1765 * gnu-nat.c: Likewise.
1766 * gnu-v3-abi.c: Likewise.
1767 * go-lang.c: Likewise.
1768 * guile/scm-exception.c: Likewise.
1769 * guile/scm-gsmob.c: Likewise.
1770 * guile/scm-lazy-string.c: Likewise.
1771 * guile/scm-math.c: Likewise.
1772 * guile/scm-pretty-print.c: Likewise.
1773 * guile/scm-safe-call.c: Likewise.
1774 * guile/scm-utils.c: Likewise.
1775 * guile/scm-value.c: Likewise.
1776 * h8300-tdep.c: Likewise.
1777 * hppa-hpux-nat.c: Likewise.
1778 * hppa-tdep.c: Likewise.
1779 * hppanbsd-tdep.c: Likewise.
1780 * hppaobsd-tdep.c: Likewise.
1781 * i386-darwin-nat.c: Likewise.
1782 * i386-darwin-tdep.c: Likewise.
1783 * i386-nto-tdep.c: Likewise.
1784 * i386-tdep.c: Likewise.
1785 * i386bsd-nat.c: Likewise.
1786 * i386fbsd-tdep.c: Likewise.
1787 * i386gnu-nat.c: Likewise.
1788 * i386nbsd-tdep.c: Likewise.
1789 * i386obsd-tdep.c: Likewise.
1790 * i387-tdep.c: Likewise.
1791 * ia64-libunwind-tdep.c: Likewise.
1792 * ia64-tdep.c: Likewise.
1793 * inf-ptrace.c: Likewise.
1794 * inf-ttrace.c: Likewise.
1795 * infcall.c: Likewise.
1796 * infcmd.c: Likewise.
1797 * infrun.c: Likewise.
1798 * inline-frame.c: Likewise.
1799 * interps.c: Likewise.
1800 * jv-lang.c: Likewise.
1801 * jv-typeprint.c: Likewise.
1802 * linux-fork.c: Likewise.
1803 * linux-nat.c: Likewise.
1804 * linux-thread-db.c: Likewise.
1805 * m32c-tdep.c: Likewise.
1806 * m32r-linux-nat.c: Likewise.
1807 * m32r-tdep.c: Likewise.
1808 * m68k-tdep.c: Likewise.
1809 * m68kbsd-nat.c: Likewise.
1810 * m68kbsd-tdep.c: Likewise.
1811 * m88k-tdep.c: Likewise.
1812 * machoread.c: Likewise.
1813 * macroexp.c: Likewise.
1814 * macrotab.c: Likewise.
1815 * maint.c: Likewise.
1816 * mdebugread.c: Likewise.
1817 * memory-map.c: Likewise.
1818 * mep-tdep.c: Likewise.
1819 * mi/mi-common.c: Likewise.
1820 * microblaze-tdep.c: Likewise.
1821 * mingw-hdep.c: Likewise.
1822 * mips-linux-nat.c: Likewise.
1823 * mips-linux-tdep.c: Likewise.
1824 * mips-tdep.c: Likewise.
1825 * mips64obsd-tdep.c: Likewise.
1826 * mipsnbsd-tdep.c: Likewise.
1827 * mn10300-linux-tdep.c: Likewise.
1828 * mn10300-tdep.c: Likewise.
1829 * moxie-tdep.c: Likewise.
1830 * mt-tdep.c: Likewise.
1831 * nat/linux-btrace.c: Likewise.
1832 * nat/linux-osdata.c: Likewise.
1833 * nat/linux-ptrace.c: Likewise.
1834 * nat/mips-linux-watch.c: Likewise.
1835 * nios2-linux-tdep.c: Likewise.
1836 * nios2-tdep.c: Likewise.
1837 * objc-lang.c: Likewise.
1838 * objfiles.c: Likewise.
1839 * obsd-nat.c: Likewise.
1840 * opencl-lang.c: Likewise.
1841 * osabi.c: Likewise.
1842 * parse.c: Likewise.
1843 * ppc-linux-nat.c: Likewise.
1844 * ppc-sysv-tdep.c: Likewise.
1845 * ppcfbsd-nat.c: Likewise.
1846 * ppcfbsd-tdep.c: Likewise.
1847 * ppcnbsd-nat.c: Likewise.
1848 * ppcnbsd-tdep.c: Likewise.
1849 * ppcobsd-nat.c: Likewise.
1850 * ppcobsd-tdep.c: Likewise.
1851 * printcmd.c: Likewise.
1852 * procfs.c: Likewise.
1853 * prologue-value.c: Likewise.
1854 * psymtab.c: Likewise.
1855 * python/py-lazy-string.c: Likewise.
1856 * python/py-value.c: Likewise.
1857 * regcache.c: Likewise.
1858 * reggroups.c: Likewise.
1859 * registry.c: Likewise.
1860 * remote-sim.c: Likewise.
1861 * remote.c: Likewise.
1862 * rs6000-aix-tdep.c: Likewise.
1863 * rs6000-tdep.c: Likewise.
1864 * s390-linux-tdep.c: Likewise.
1865 * score-tdep.c: Likewise.
1866 * ser-base.c: Likewise.
1867 * ser-mingw.c: Likewise.
1868 * sh-tdep.c: Likewise.
1869 * sh64-tdep.c: Likewise.
1870 * solib-darwin.c: Likewise.
1871 * solib-spu.c: Likewise.
1872 * solib-svr4.c: Likewise.
1873 * source.c: Likewise.
1874 * sparc-nat.c: Likewise.
1875 * sparc-sol2-tdep.c: Likewise.
1876 * sparc-tdep.c: Likewise.
1877 * sparc64-sol2-tdep.c: Likewise.
1878 * sparc64-tdep.c: Likewise.
1879 * sparc64fbsd-tdep.c: Likewise.
1880 * sparc64nbsd-tdep.c: Likewise.
1881 * sparc64obsd-tdep.c: Likewise.
1882 * sparcnbsd-tdep.c: Likewise.
1883 * sparcobsd-tdep.c: Likewise.
1884 * spu-multiarch.c: Likewise.
1885 * spu-tdep.c: Likewise.
1886 * stabsread.c: Likewise.
1887 * stack.c: Likewise.
1888 * symfile.c: Likewise.
1889 * symtab.c: Likewise.
1890 * target-descriptions.c: Likewise.
1891 * target-memory.c: Likewise.
1892 * target.c: Likewise.
1893 * tic6x-linux-tdep.c: Likewise.
1894 * tic6x-tdep.c: Likewise.
1895 * tilegx-linux-nat.c: Likewise.
1896 * tilegx-tdep.c: Likewise.
1897 * top.c: Likewise.
1898 * tramp-frame.c: Likewise.
1899 * tui/tui-out.c: Likewise.
1900 * tui/tui-winsource.c: Likewise.
1901 * ui-out.c: Likewise.
1902 * user-regs.c: Likewise.
1903 * utils.c: Likewise.
1904 * v850-tdep.c: Likewise.
1905 * valops.c: Likewise.
1906 * value.c: Likewise.
1907 * varobj.c: Likewise.
1908 * vax-nat.c: Likewise.
1909 * xml-syscall.c: Likewise.
1910 * xml-tdesc.c: Likewise.
1911 * xstormy16-tdep.c: Likewise.
1912 * xtensa-linux-nat.c: Likewise.
1913 * xtensa-tdep.c: Likewise.
1914
1915 2014-08-07 Gary Benson <gbenson@redhat.com>
1916
1917 * common/common-defs.h: Include common-utils.h.
1918 * defs.h: Do not include common-utils.h.
1919 * common/gdb_assert.h: Likewise.
1920 * darwin-nat.h: Likewise.
1921 * nat/linux-btrace.c: Likewise.
1922 * target/waitstatus.h: Likewise.
1923
1924 2014-08-07 Gary Benson <gbenson@redhat.com>
1925
1926 * common/common-defs.h: Include ptid.h.
1927 * defs.h: Do not include ptid.h.
1928 * inferior.h: Likewise.
1929 * infrun.h: Likewise.
1930 * nat/linux-btrace.h: Likewise.
1931 * nat/linux-osdata.h: Likewise.
1932 * target/waitstatus.h: Likewise.
1933
1934 2014-08-07 Gary Benson <gbenson@redhat.com>
1935
1936 * common/common-defs.h: Include gdb_locale.h.
1937 * defs.h: Do not include gdb_locale.h.
1938
1939 2014-08-07 Gary Benson <gbenson@redhat.com>
1940
1941 * common/common-defs.h: Include gdb/signals.h.
1942 * defs.h: Do not include gdb/signals.h.
1943
1944 2014-08-07 Gary Benson <gbenson@redhat.com>
1945
1946 * common/common-defs.h: Include pathmax.h.
1947 * defs.h: Do not include pathmax.h.
1948
1949 2014-08-07 Gary Benson <gbenson@redhat.com>
1950
1951 * common/common-defs.h: Include libiberty.h.
1952 * defs.h: Do not include libiberty.h.
1953 * common/queue.h: Likewise.
1954 * cp-name-parser.y: Likewise.
1955 * mi/mi-cmd-catch.c: Likewise.
1956 * python/python.c: Likewise.
1957
1958 2014-08-07 Gary Benson <gbenson@redhat.com>
1959
1960 * common/common-defs.h: Include ansidecl.h.
1961 * defs.h: Do not include ansidecl.h.
1962 * common/buffer.h: Likewise.
1963 * common/common-utils.h: Likewise.
1964
1965 2014-08-07 Gary Benson <gbenson@redhat.com>
1966
1967 * common/common-defs.h: Include stddef.h.
1968 * defs.h: Do not include stddef.h.
1969 * common/common-utils.h: Likewise.
1970 * amd64fbsd-nat.c: Likewise.
1971 * bcache.c: Likewise.
1972 * charset.c: Likewise.
1973 * common/buffer.h: Likewise.
1974 * common/vec.h: Likewise.
1975 * i386bsd-nat.c: Likewise.
1976 * nat/linux-btrace.h: Likewise.
1977 * ppcfbsd-nat.c: Likewise.
1978 * ppcnbsd-tdep.h: Likewise.
1979 * ppcobsd-nat.c: Likewise.
1980 * ppcobsd-tdep.h: Likewise.
1981 * python/py-gdb-readline.c: Likewise.
1982
1983 2014-08-07 Gary Benson <gbenson@redhat.com>
1984
1985 * common/common-defs.h: Include stdarg.h.
1986 * defs.h: Do not include stdarg.h.
1987 * ada-lang.c: Likewise.
1988 * common/common-utils.h: Likewise.
1989 * guile/scm-string.c: Likewise.
1990 * guile/scm-utils.c: Likewise.
1991 * m32c-tdep.c: Likewise.
1992
1993 2014-08-07 Gary Benson <gbenson@redhat.com>
1994
1995 * common/common-defs.h: Include stdlib.h.
1996 * defs.h: Do not include stdlib.h.
1997 * addrmap.c: Likewise.
1998 * bcache.c: Likewise.
1999 * common/buffer.c: Likewise.
2000 * common/common-utils.c: Likewise.
2001 * cp-name-parser.y: Likewise.
2002 * go32-nat.c: Likewise.
2003 * mn10300-linux-tdep.c: Likewise.
2004 * nat/linux-osdata.c: Likewise.
2005 * tui/tui.c: Likewise.
2006 * windows-nat.c: Likewise.
2007
2008 2014-08-07 Gary Benson <gbenson@redhat.com>
2009
2010 * common/common-defs.h: Include stdio.h.
2011 * defs.h: Do not include stdio.h.
2012 * ada-lang.c: Likewise.
2013 * common/buffer.c: Likewise.
2014 * common/common-utils.c: Likewise.
2015 * cp-name-parser.y: Likewise.
2016 * gnu-nat.c: Likewise.
2017 * go32-nat.c: Likewise.
2018 * i386gnu-nat.c: Likewise.
2019 * proc-api.c: Likewise.
2020 * proc-events.c: Likewise.
2021 * proc-flags.c: Likewise.
2022 * proc-why.c: Likewise.
2023 * python/python-internal.h: Likewise.
2024 * target-memory.c: Likewise.
2025 * tui/tui-io.c: Likewise.
2026 * tui/tui.c: Likewise.
2027
2028 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2029
2030 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2031 (scan_dyntag_auxv): Same.
2032
2033 2014-08-06 Yao Qi <yao@codesourcery.com>
2034
2035 * amd64-linux-nat.c: Remove duplicated include
2036 "x86-linux-nat.h".
2037 * i386-linux-nat.c: Likewise.
2038
2039 2014-08-06 Yao Qi <yao@codesourcery.com>
2040
2041 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2042 operand" with "Special opcode" in comments.
2043
2044 2014-08-05 Gary Benson <gbenson@redhat.com>
2045
2046 * interps.c (initialize_interps): Remove prototype.
2047 (interpreter_initialized): Remove static global.
2048 (interp_add): Do not call initialize_interps.
2049 (initialize_interps): Remove function.
2050
2051 2014-08-05 Gary Benson <gbenson@redhat.com>
2052
2053 * utils.c (vwarning): Remove spurious va_end.
2054
2055 2014-08-05 Alan Modra <amodra@gmail.com>
2056
2057 * charset.c (convert_between_encodings): Cast result of obstack_base.
2058 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2059 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2060 (read_unwind_info): Use size_t for some locals.
2061 * jit.c (finalize_symtab): Likewise.
2062 * utils.c (hashtab_obstack_allocate): Likewise.
2063 * symmisc.c (print_objfile_statistics): Update format strings.
2064
2065 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2066
2067 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2068 (Changes in GDB 7.8): ... here.
2069
2070 2014-08-04 Tom Tromey <tromey@redhat.com>
2071
2072 * target.c (set_targetdebug): New function.
2073 (initialize_targets): Pass set_targetdebug when creating "set
2074 debug target".
2075
2076 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2077
2078 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2079 if detecting a variable-sized field that is not the last field.
2080 Fix struct type length computation.
2081
2082 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2083
2084 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2085 Add debug trace.
2086
2087 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2088
2089 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2090 Remove "+ 8" offset in computation of CHAIN_VMA.
2091
2092 2014-07-31 Doug Evans <dje@google.com>
2093
2094 * inflow.c (child_terminal_inferior): Add comment.
2095 (child_terminal_ours_for_output): Add comment.
2096 (child_terminal_ours): Add comment.
2097 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2098 (linux_nat_terminal_ours): Add comment.
2099
2100 2014-07-31 Gary Benson <gbenson@redhat.com>
2101
2102 * common/btrace-common.h: Do not include defs.h or server.h.
2103 * nat/mips-linux-watch.h: Likewise.
2104 * gdb-dlfcn.h: Do not include defs.h.
2105 * tracefile.h: Likewise.
2106
2107 2014-07-30 Roland McGrath <mcgrathr@google.com>
2108
2109 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2110
2111 2014-07-30 Tom Tromey <tromey@redhat.com>
2112
2113 * bsd-kvm.c (bsd_kvm_open): Constify.
2114 * corelow.c (core_open): Constify.
2115 * ctf.c (ctf_open): Constify.
2116 * dbug-rom.c (dbug_open): Constify.
2117 * exec.c (exec_open): Constify.
2118 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2119 * microblaze-rom.c (picobug_open): Constify.
2120 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2121 Constify.
2122 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2123 * record-btrace.c (record_btrace_open): Constify.
2124 * record-full.c (record_full_core_open_1, record_full_open_1)
2125 (record_full_open): Constify.
2126 * remote-m32r-sdi.c (m32r_open): Constify.
2127 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2128 (rockhopper_open, lsi_open): Constify.
2129 * remote-sim.c (gdbsim_open): Constify.
2130 * remote.c (remote_open, extended_remote_open, remote_open_1):
2131 Constify.
2132 * target.h (struct target_ops) <to_open>: Make "arg" const.
2133 * tracefile-tfile.c (tfile_open): Constify.
2134
2135 2014-07-30 Tom Tromey <tromey@redhat.com>
2136
2137 * breakpoint.c (map_breakpoint_numbers): Update.
2138 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2139 (get_number_const): New function.
2140 (get_number): Rewrite using get_number_const.
2141 (init_number_or_range): Make "string" const.
2142 (number_is_in_list): Make "list" const.
2143 * cli/cli-utils.h (get_number_const): Declare.
2144 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2145 (init_number_or_range, number_is_in_list): Update.
2146 * printcmd.c (map_display_numbers): Update.
2147 * value.c (value_from_history_ref): Constify.
2148 * value.h (value_from_history_ref): Update.
2149
2150 2014-07-30 Tom Tromey <tromey@redhat.com>
2151
2152 * corefile.c (hook_type, call_extra_exec_file_hooks)
2153 (specify_exec_file_hook): Constify.
2154 * exec.c (exec_file_attach): Make "filename" const.
2155 * gdbcore.h (deprecated_exec_file_display_hook)
2156 (specify_exec_file_hook, exec_file_attach): Constify.
2157 * main.c (captured_main): Use catch_command_errors_const.
2158
2159 2014-07-30 Tom Tromey <tromey@redhat.com>
2160
2161 * target.c (open_target): New function.
2162 (add_target_with_completer, add_deprecated_target_alias): Use
2163 set_cmd_sfunc, set_cmd_context.
2164 (debug_to_open): Remove.
2165 (setup_target_debug): Update.
2166
2167 2014-07-30 Yao Qi <yao@codesourcery.com>
2168
2169 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2170 comments.
2171 * parse.c (exp_iterate): Update comments.
2172
2173 2014-07-30 Gary Benson <gbenson@redhat.com>
2174
2175 * common/common-defs.h: New file.
2176 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2177 * defs.h: Include common-defs.h.
2178 Do not include config.h or build-gnulib/config.h.
2179
2180 2014-07-30 Gary Benson <gbenson@redhat.com>
2181
2182 * common/common-utils.h: Do not include config.h.
2183 * nat/linux-btrace.h: Likewise.
2184
2185 2014-07-30 Gary Benson <gbenson@redhat.com>
2186
2187 * btrace.c: Include defs.h.
2188 * common/ptid.c: Include defs.h or server.h as appropriate.
2189 * nat/mips-linux-watch.c: Likewise.
2190
2191 2014-07-29 Tom Tromey <tromey@redhat.com>
2192
2193 * target.c (target_is_pushed): Simplify.
2194
2195 2014-07-29 Joel Brobecker <brobecker@adacore.com>
2196
2197 GDB 7.8 released.
2198
2199 2014-07-29 Yao Qi <yao@codesourcery.com>
2200
2201 PR gdb/17206
2202 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2203
2204 2014-07-28 Doug Evans <xdje42@gmail.com>
2205
2206 PR guile/17203
2207 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2208 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2209 parameters.
2210
2211 2014-07-28 Will Newton <will.newton@linaro.org>
2212
2213 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2214 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2215 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2216 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2217 (THUMB2_EABI_SYSCALL): Likewise.
2218 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2219 struct tramp_frame.
2220 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2221 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2222
2223 2014-07-27 Doug Evans <xdje42@gmail.com>
2224
2225 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2226
2227 2014-07-27 Doug Evans <xdje42@gmail.com>
2228
2229 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2230
2231 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2232 Doug Evans <xdje42@gmail.com>
2233
2234 PR guile/17146
2235 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2236 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2237 * configure.ac: Try to use guild to compile an scm file, if it fails
2238 then disable guile support.
2239 * configure: Regenerate.
2240 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2241 GUILE_FILE_LIST.
2242 (GUILE_COMPILED_FILES): New variable.
2243 (GUILE_FILES) Update.
2244 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2245 (stamp-guile): Compile scm files.
2246 * guile/guile.c (boot_guile_support): New function.
2247 (standard_throw_args_p): New function.
2248 (print_standard_throw_error, print_throw_error): New functions.
2249 (handle_boot_error): New function.
2250 (initialize_scheme_side): Rewrite to call boot_guile_support.
2251 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2252 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2253
2254 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2255 Doug Evans <xdje42@gmail.com>
2256
2257 PR guile/17146
2258 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2259 * guile/lib/gdb/support.scm: New file.
2260 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2261 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2262 All uses updated.
2263 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2264 All uses updated.
2265 (%assert-type): Ditto, and renamed to assert-type.
2266 (%exception-print-style): Delete.
2267
2268 2014-07-26 Doug Evans <xdje42@gmail.com>
2269
2270 PR build/17105
2271 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2272 * configure: Regenerate.
2273 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2274 PYTHON_FILES.
2275 (PYTHON_FILES): New variable.
2276 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2277 (GUILE_FILES): New variable.
2278 (stamp-python, install-python, uninstall-python): Handle empty
2279 file list.
2280 (stamp-guile, install-guile, uninstall-guile): Ditto.
2281
2282 2014-07-26 Doug Evans <xdje42@gmail.com>
2283
2284 PR guile/17177
2285 * guile/lib/gdb.scm (pretty-printers): Export.
2286 (set-pretty-printers!): Export.
2287 * guile/lib/gdb/printing.scm (gdb module): Update.
2288 (prepend-pretty-printer!, append-pretty-printer!): Update.
2289 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2290 (pretty_printer_list_var): Delete.
2291 (pretty_printer_list): New static global.
2292 (gdbscm_pretty_printers): New function.
2293 (gdbscm_set_pretty_printers_x): New function.
2294 (ppscm_find_pretty_printer_from_gdb): Update.
2295 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2296 (gdbscm_initialize_pretty_printers): Update.
2297
2298 2014-07-26 Doug Evans <xdje42@gmail.com>
2299
2300 PR 17185
2301 * configure.ac: Add check for header gc/gc.h.
2302 Add check for function setenv.
2303 * configure: Regenerate.
2304 * config.in: Regenerate.
2305 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2306
2307 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2308
2309 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2310 variation in gdbarch matching.
2311
2312 2014-07-25 Tom Tromey <tromey@redhat.com>
2313
2314 * exec.c (using_exec_ops): Remove.
2315 (exec_close_1): Update. Remove extraneous block, reindent.
2316 (add_target_sections): Use target_is_pushed.
2317
2318 2014-07-25 Pedro Alves <palves@redhat.com>
2319
2320 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2321 * monitor.c (monitor_create_inferior): Likewise.
2322 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2323 * remote-sim.c (gdbsim_create_inferior): Likewise.
2324 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2325 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2326 * windows-nat.c (do_initial_windows_stuff): Likewise.
2327
2328 2014-07-25 Pedro Alves <palves@redhat.com>
2329
2330 * NEWS: Mention signal passing and "signal" command changes.
2331 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2332 comment.
2333 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2334 call.
2335 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2336 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2337 (jump_command): Adjust clear_proceed_status call.
2338 (signal_command): Warn if other thread that are resumed have
2339 signals that will be delivered. Adjust clear_proceed_status call.
2340 (until_next_command, finish_command)
2341 (proceed_after_attach_callback, attach_command_post_wait)
2342 (attach_command): Adjust clear_proceed_status call.
2343 * infrun.c (proceed_after_vfork_done): Likewise.
2344 (proceed_after_attach_callback): Adjust comment.
2345 (clear_proceed_status_thread): Clear stop_signal if not in pass
2346 state.
2347 (clear_proceed_status_callback): Delete.
2348 (clear_proceed_status): New 'step' parameter. Only clear the
2349 proceed status of threads the command being prepared is about to
2350 resume.
2351 (proceed): If passed in an explicit signal, override stop_signal
2352 with it. Don't pass the last stop signal to the thread we're
2353 resuming.
2354 (init_wait_for_inferior): Adjust clear_proceed_status call.
2355 (switch_back_to_stepped_thread): Clear the signal if it should not
2356 be passed.
2357 * infrun.h (clear_proceed_status): New 'step' parameter.
2358 (user_visible_resume_ptid): Add comment.
2359 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2360 signal is in pass state.
2361 * remote.c (append_pending_thread_resumptions): Likewise.
2362 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2363
2364 2014-07-25 Tom Tromey <tromey@redhat.com>
2365
2366 * target.h (target_stopped_data_address)
2367 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2368 parentheses.
2369
2370 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2371
2372 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2373 comments.
2374 (avr_pointer_to_address): Likewise.
2375
2376 2014-07-24 Tom Tromey <tromey@redhat.com>
2377
2378 * monitor.c (compile_pattern): Update.
2379 * target.h (struct target_ops) <to_shortname, to_longname,
2380 to_doc>: Now const.
2381
2382 2014-07-24 Tom Tromey <tromey@redhat.com>
2383
2384 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2385 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2386 (add_info_alias, add_com): Make "doc" const.
2387 (print_doc_line): Make "str" const.
2388 (delete_cmd): Update.
2389 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2390 (print_doc_line): Update.
2391 * cli/cli-script.c (document_command): Update.
2392 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2393 (add_com, add_info, add_info_alias): Update.
2394 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2395 * python/py-cmd.c (cmdpy_destroyer): Update.
2396
2397 2014-07-24 Tom Tromey <tromey@redhat.com>
2398
2399 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2400 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2401 (help_cmd_list): Constify.
2402 (lookup_cmd): Update.
2403 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2404 const.
2405 (help_cmd_list, apropos_cmd): Update.
2406 * cli/cli-script.c (show_user): Update.
2407 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2408 * cli/cli-setshow.h (cmd_show_list): Update.
2409 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2410 (cmd_show_list): Update.
2411 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2412 * python/py-cmd.c (cmdpy_destroyer): Update.
2413
2414 2014-07-24 Tom Tromey <tromey@redhat.com>
2415
2416 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2417 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2418 const.
2419 * command.h (deprecate_cmd): Update.
2420 * maint.c (maintenance_do_deprecate): Add casts.
2421
2422 2014-07-24 Tom Tromey <tromey@redhat.com>
2423
2424 * cli/cli-decode.c (help_cmd): Make parameter "const".
2425 * cli/cli-decode.h (help_cmd): Update.
2426
2427 2014-07-24 Tom Tromey <tromey@redhat.com>
2428
2429 * stack.c (up_silently_base, down_silently_base): Make argument
2430 const.
2431
2432 2014-07-24 Tom Tromey <tromey@redhat.com>
2433
2434 * solib.c (solib_add): Make "pattern" const.
2435 * solib.h (solib_add): Update.
2436
2437 2014-07-24 Tom Tromey <tromey@redhat.com>
2438
2439 * remote.c (remote_serial_open, print_packet, putpkt)
2440 (putpkt_binary): Constify.
2441 * remote.h (putpkt): Update.
2442
2443 2014-07-24 Tom Tromey <tromey@redhat.com>
2444
2445 * monitor.c (monitor_open): Make "args" const.
2446 * monitor.h (monitor_open): Update.
2447
2448 2014-07-24 Tom Tromey <tromey@redhat.com>
2449
2450 * maint.c (match_bfd_flags): Make "string" const.
2451 (print_bfd_section_info): Remove casts.
2452 (print_objfile_section_info): Make "string" const.
2453
2454 2014-07-24 Tom Tromey <tromey@redhat.com>
2455
2456 * inf-child.c (inf_child_open_target): Make "arg" const.
2457 * inf-child.h (inf_child_open_target): Update.
2458
2459 2014-07-24 Tom Tromey <tromey@redhat.com>
2460
2461 * environ.c (unset_in_environ): Make "var" const.
2462 * environ.h (unset_in_environ): Update.
2463
2464 2014-07-24 Tom Tromey <tromey@redhat.com>
2465
2466 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2467 Make "cmd" const.
2468 (scan_filename_with_cleanup): Likewise.
2469 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2470 Make arguments const.
2471 (restore_command): Update.
2472
2473 2014-07-24 Pedro Alves <palves@redhat.com>
2474
2475 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2476
2477 2014-07-24 Tom Tromey <tromey@redhat.com>
2478 Gary Benson <gbenson@redhat.com>
2479
2480 * nat/linux-ptrace.c (additional_flags): New global.
2481 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2482 additional_flags; don't check GDBSERVER.
2483 (linux_ptrace_set_additional_flags): New function.
2484 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2485 Declare.
2486 * linux-nat.c (_initialize_linux_nat): Call
2487 linux_ptrace_set_additional_flags.
2488
2489 2014-07-24 Tom Tromey <tromey@redhat.com>
2490
2491 * make-target-delegates (munge_type, write_debugmethod): New
2492 functions.
2493 (debug_names): New global.
2494 ($TARGET_DEBUG_PRINTER): New global.
2495 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2496 name.
2497 Write debug methods. Generate init_debug_target.
2498 * target-debug.h: New file.
2499 * target-delegates.c: Rebuild.
2500 * target.c: Include target-debug.h.
2501 (debug_target): Hoist definition.
2502 (target_kill, target_get_section_table, target_memory_map)
2503 (target_flash_erase, target_flash_done, target_detach)
2504 (target_disconnect, target_wait, target_resume)
2505 (target_pass_signals, target_program_signals, target_follow_fork)
2506 (target_mourn_inferior, target_search_memory)
2507 (target_thread_address_space, target_close)
2508 (target_find_new_threads, target_core_of_thread)
2509 (target_verify_memory, target_insert_mask_watchpoint)
2510 (target_remove_mask_watchpoint): Remove targetdebug code.
2511 (debug_to_post_attach, debug_to_prepare_to_store)
2512 (debug_to_files_info, debug_to_insert_breakpoint)
2513 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2514 (debug_to_region_ok_for_hw_watchpoint)
2515 (debug_to_can_accel_watchpoint_condition)
2516 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2517 (debug_to_watchpoint_addr_within_range)
2518 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2519 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2520 (debug_to_terminal_init, debug_to_terminal_inferior)
2521 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2522 (debug_to_terminal_save_ours, debug_to_terminal_info)
2523 (debug_to_load, debug_to_post_startup_inferior)
2524 (debug_to_insert_fork_catchpoint)
2525 (debug_to_remove_fork_catchpoint)
2526 (debug_to_insert_vfork_catchpoint)
2527 (debug_to_remove_vfork_catchpoint)
2528 (debug_to_insert_exec_catchpoint)
2529 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2530 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2531 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2532 (setup_target_debug): Call init_debug_target.
2533 * target.h (TARGET_DEBUG_PRINTER): New macro.
2534 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2535 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2536
2537 2014-07-24 Gary Benson <gbenson@redhat.com>
2538
2539 * exceptions.h (throw_vfatal): Renamed to...
2540 (throw_vquit): New declaration.
2541 (throw_quit): Likewise.
2542 * exceptions.c (throw_vfatal): Renamed to...
2543 (throw_vquit): New function.
2544 (throw_quit): Likewise.
2545 (throw_error): Call throw_verror rather than throw_it.
2546 * utils.h (vfatal): Removed.
2547 (fatal): Likewise.
2548 * utils.c (vfatal): Removed.
2549 (fatal): Likewise.
2550 (internal_verror): Replaced call to fatal with call to throw_quit.
2551 (quit): Replaced calls to fatal with calls to throw_quit.
2552
2553 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2554
2555 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2556 target_read_code.
2557
2558 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2559
2560 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2561 less than zero in conditional expression.
2562
2563 2014-07-23 Tom Tromey <tromey@redhat.com>
2564
2565 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2566 ($INTRO_PART): Don't match whitespace.
2567 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2568 argument matching.
2569 ($METHOD): Add $METHOD_TRAILER.
2570 (trim): Rewrite.
2571 (scan_target_h): New sub.
2572 Change main loop not to collect state.
2573 * target-delegates.c: Rebuild.
2574
2575 2014-07-23 Gary Benson <gbenson@redhat.com>
2576
2577 * cp-support.c (gdb_demangle): Fix build on systems without
2578 sigaltstack.
2579
2580 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2581
2582 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2583 for reference entry value target data value.
2584
2585 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2588 value_available_contents_eq.
2589
2590 2014-07-22 Pedro Alves <palves@redhat.com>
2591
2592 * value.c (allocate_optimized_out_value): Don't mark value as
2593 non-lazy.
2594
2595 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2596
2597 * MAINTAINERS (Write After Approval): Update my email address.
2598
2599 2014-07-20 Doug Evans <dje@google.com>
2600
2601 PR server/17147
2602 * remote.c (putpkt_binary): Add text to error message.
2603
2604 2014-07-20 Yao Qi <yao@codesourcery.com>
2605
2606 * eval.c: Remove "Chill" from comments.
2607 * gdbtypes.h: Likewise.
2608 * symtab.h: Likewise.
2609
2610 2014-07-20 Yao Qi <yao@codesourcery.com>
2611
2612 * std-operator.def: Update comments to TERNOP_SLICE.
2613
2614 2014-07-20 Yao Qi <yao@codesourcery.com>
2615
2616 * std-operator.def: Remove BINOP_RANGE.
2617 * breakpoint.c (watchpoint_exp_is_const): Update.
2618 * expprint.c (dump_subexp_body_standard): Likewise.
2619 * eval.c (init_array_element): Remove dead code.
2620 (evaluate_subexp_standard): Likewise.
2621
2622 2014-07-20 Yao Qi <yao@codesourcery.com>
2623
2624 * std-operator.def: Remove BINOP_IN.
2625 * breakpoint.c (watchpoint_exp_is_const): Update.
2626 * eval.c (evaluate_subexp_standard): Likewise.
2627 * expprint.c (dump_subexp_body_standard): Likewise.
2628
2629 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2630
2631 * microblaze-tdep.c (microblaze_register_names): Add
2632 the rshr and rslr register names.
2633 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2634 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2635 Use of tdesc_numbered_register. Use of
2636 microblaze_register_g_packet_guesses. Use of
2637 tdesc_use_registers. Use of set_gdbarch_register_type.
2638 (microblaze_register_g_packet_guesses): New.
2639 * microblaze-tdep.h (microblaze_reg_num): Add
2640 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2641 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2642 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2643 * features/microblaze-core.xml: New file.
2644 * features/microblaze-stack-protect.xml: New file.
2645 * features/microblaze-with-stack-protect.c: New file.
2646 * features/microblaze-with-stack-protect.xml: New file.
2647 * features/microblaze.xml: New file.
2648 * features/microblaze.c: New file.
2649 * features/Makefile (microblaze-with-stack-protect): Add
2650 microblaze-with-stack-protect microblaze and microblaze-expedite.
2651 * regformats/microblaze-with-stack-protect.dat: New file.
2652 * regformats/microblaze.dat: New file.
2653 * doc/gdb.texinfo (MicroBlaze Features): Added.
2654
2655 2014-07-18 Tom Tromey <tromey@redhat.com>
2656
2657 * exec.c (exec_ops): Now static.
2658 * exec.h (exec_ops): Don't declare.
2659
2660 2014-07-18 Tom Tromey <tromey@redhat.com>
2661
2662 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2663 to find_target_beneath.
2664 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2665 find_target_beneath.
2666 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2667
2668 2014-07-18 Tom Tromey <tromey@redhat.com>
2669
2670 PR gdb/17130:
2671 * utils.c (quit): Use target_supports_terminal_ours.
2672 * target.h (target_supports_terminal_ours): Declare.
2673 * target.c (target_supports_delete_record): Don't check
2674 to_delete_record against NULL.
2675 (target_supports_terminal_ours): New function.
2676
2677 2014-07-18 Tom Tromey <tromey@redhat.com>
2678
2679 PR gdb/17130:
2680 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2681 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2682 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2683 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2684 * windows-nat.c (windows_xfer_partial): Always delegate.
2685 * record-btrace.c (record_btrace_xfer_partial): Simplify
2686 delegation.
2687 (record_btrace_fetch_registers, record_btrace_store_registers)
2688 (record_btrace_prepare_to_store, record_btrace_resume)
2689 (record_btrace_wait, record_btrace_find_new_threads)
2690 (record_btrace_thread_alive): Likewise.
2691 * procfs.c (procfs_xfer_partial): Always delegate.
2692 * corelow.c (core_xfer_partial): Always delegate.
2693 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2694
2695 2014-07-18 Tom Tromey <tromey@redhat.com>
2696
2697 * exec.c (exec_make_note_section): Move earlier.
2698
2699 2014-07-17 Doug Evans <dje@google.com>
2700
2701 PR gdb/17170
2702 * maint.c (count_symtabs_and_blocks): Handle NULL
2703 current_program_space.
2704 (report_command_stats): Check global enabled flag in addition to
2705 recorded enabled flag.
2706 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2707
2708 2014-07-16 Pedro Alves <palves@redhat.com>
2709
2710 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2711
2712 2014-07-16 Tom Tromey <tromey@redhat.com>
2713
2714 * target.h (struct target_ops) <to_delete_record>: Reformat
2715 comment.
2716
2717 2014-07-16 Tom Tromey <tromey@redhat.com>
2718
2719 * target-delegates.c: Rebuild.
2720
2721 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2722
2723 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2724 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2725 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2726 (avr_pointer_to_address): Likewise.
2727 (avr_address_class_type_flags): New function.
2728 (avr_address_class_type_flags_to_name): Likewise.
2729 (avr_address_class_name_to_type_flags): Likewise.
2730 (avr_gdbarch_init): Set address_class_type_flags,
2731 address_class_type_flags_to_name and
2732 address_class_name_to_type_flags.
2733
2734 2014-07-15 Pedro Alves <palves@redhat.com>
2735
2736 * linux-nat.c (kill_callback): Save errno and work with saved
2737 copy.
2738
2739 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2740
2741 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2742
2743 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2744
2745 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2746 breakpoint support correctly.
2747
2748 2014-07-14 Pedro Alves <palves@redhat.com>
2749
2750 * utils.c (prompt_for_continue): Call target_terminal_ours.
2751
2752 2014-07-14 Pedro Alves <palves@redhat.com>
2753
2754 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2755 catch_errors. Don't re-enable stdin or notify observers where,
2756 and rethrow error.
2757 (fetch_inferior_event_wrapper): Delete.
2758
2759 2014-07-14 Pedro Alves <palves@redhat.com>
2760
2761 PR gdb/17072
2762 * top.c: Include "inf-loop.h".
2763 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2764 field.
2765 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2766 was async before.
2767 (gdb_readline_wrapper): Store whether the target is async, and
2768 make it sync.
2769
2770 2014-07-14 Pedro Alves <palves@redhat.com>
2771
2772 PR gdb/17072
2773 * top.c (gdb_readline_wrapper_line): Tweak comment.
2774 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2775 the input handler callback.
2776
2777 2014-07-14 Pedro Alves <palves@redhat.com>
2778
2779 PR gdb/17072
2780 * main.c: Include event-top.h.
2781 (handle_command_errors): New function.
2782 (catch_command_errors, catch_command_errors_const): Use it.
2783
2784 2014-07-14 Pedro Alves <palves@redhat.com>
2785
2786 * exceptions.c (catch_command_errors, catch_command_errors_const):
2787 Moved to main.c.
2788 * exceptions.h (catch_command_errors_ftype)
2789 (catch_command_errors_const_ftype): Moved to main.c.
2790 (catch_command_errors, catch_command_errors_const): Delete
2791 declarations.
2792 * main.c (catch_command_errors_ftype)
2793 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2794 (catch_command_errors, catch_command_errors_const)): Moved here
2795 from exceptions.c and make static.
2796
2797 2014-07-14 Pedro Alves <palves@redhat.com>
2798
2799 * exceptions.c (print_any_exception): Delete.
2800 (catch_exceptions_with_msg): Use exception_print instead of
2801 print_any_exception.
2802 (catch_errors): Use exception_fprintf instead of
2803 print_any_exception.
2804 (catch_command_errors, catch_command_errors_const): Use
2805 exception_print instead of print_any_exception.
2806
2807 2014-07-14 Pedro Alves <palves@redhat.com>
2808
2809 * infcall.c (run_inferior_call): Set 'sync_execution' while
2810 running the inferior call.
2811
2812 2014-07-14 Pedro Alves <palves@redhat.com>
2813
2814 * value.c (value_contents_equal): Delete function.
2815 * value.h (value_contents_equal): Delete declaration.
2816
2817 2014-07-14 Tom Tromey <tromey@redhat.com>
2818
2819 PR exp/17106:
2820 * gdbtypes.c (is_dynamic_type_internal): New function, from
2821 is_dynamic_type.
2822 (is_dynamic_type): Rewrite.
2823 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2824 (resolve_dynamic_struct): Likewise.
2825 (resolve_dynamic_type_internal): New function, from
2826 resolve_dynamic_type.
2827 (resolve_dynamic_type): Rewrite.
2828
2829 2014-07-14 Tom Tromey <tromey@redhat.com>
2830
2831 * target.c (target_require_runnable): Also check record_stratum.
2832 Update comment.
2833
2834 2014-07-11 Yao Qi <yao@codesourcery.com>
2835
2836 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2837 thumb_instruction_restores_sp return true.
2838
2839 2014-07-11 Yao Qi <yao@codesourcery.com>
2840
2841 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2842 (thumb_in_function_epilogue_p): Call
2843 thumb_instruction_restores_sp.
2844
2845 2014-07-11 Yao Qi <yao@codesourcery.com>
2846
2847 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2848 'add sp, #imm'.
2849 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2850
2851 2014-07-11 Gary Benson <gbenson@redhat.com>
2852
2853 * amd64-linux-nat.c (gdbcore.h): Remove include.
2854 (regset.h): Likewise.
2855 (nat/linux-btrace.h): Likewise.
2856 (btrace.h): Likewise.
2857 (gdb_assert.h): Likewise.
2858 (string.h): Likewise.
2859 (sys/uio.h): Likewise.
2860 (sys/debugreg.h): Likewise.
2861 (sys/syscall.h): Likewise.
2862 (sys/procfs.h): Likewise.
2863 (sys/user.h): Likewise.
2864 (asm/ptrace.h): Likewise.
2865 (i386-nat.h): Likewise.
2866 * i386-linux-nat.c (i386-nat.h): Likewise.
2867 (regset.h): Likewise.
2868 (target.h): Likewise.
2869 (linux-nat.h): Likewise.
2870 (nat/linux-btrace.h): Likewise.
2871 (btrace.h): Likewise.
2872 (gdb_assert.h): Likewise.
2873 (string.h): Likewise.
2874 (sys/uio.h): Likewise.
2875 (sys/user.h): Likewise.
2876 (sys/procfs.h): Likewise.
2877 (sys/reg.h): Likewise.
2878 (sys/debugreg.h): Likewise.
2879 (ORIG_EAX): Remove definition.
2880
2881 2014-07-11 Gary Benson <gbenson@redhat.com>
2882
2883 * i386-linux-nat.h: New file.
2884 * x86-linux-nat.h: Likewise.
2885 * x86-linux-nat.c: Likewise.
2886 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2887 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2888 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2889 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2890 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2891 (PTRACE_SETREGSET): Likewise.
2892 (arch_lwp_info): Now in x86-linux-nat.c.
2893 (have_ptrace_getregset): Now in x86-linux-nat.h.
2894 (x86_linux_dr_get): Now in x86-linux-nat.c.
2895 (x86_linux_dr_set): Likewise.
2896 (x86_linux_dr_get_addr): Likewise.
2897 (x86_linux_dr_get_control): Likewise.
2898 (x86_linux_dr_get_status): Likewise.
2899 (update_debug_registers_callback): Likewise.
2900 (x86_linux_dr_set_control): Likewise.
2901 (x86_linux_dr_set_addr): Likewise.
2902 (x86_linux_prepare_to_resume): Likewise.
2903 (x86_linux_new_thread): Likewise.
2904 (x86_linux_new_fork): Likewise.
2905 (x86_linux_get_thread_area): Likewise.
2906 (super_post_startup_inferior): Likewise.
2907 (x86_linux_child_post_startup_inferior): Likewise.
2908 (AMD64_LINUX_USER64_CS): Likewise.
2909 (AMD64_LINUX_X32_DS): Likewise.
2910 (x86_linux_read_description): Likewise.
2911 (x86_linux_enable_btrace): Likewise.
2912 (x86_linux_disable_btrace): Likewise.
2913 (x86_linux_teardown_btrace): Likewise.
2914 (x86_linux_read_btrace): Likewise.
2915 (x86_linux_create_target): Likewise.
2916 (x86_linux_add_target): Likewise.
2917 * i386-linux-nat.c (x86-linux-nat.h): New include.
2918 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2919 (PTRACE_SETREGSET): Likewise.
2920 (arch_lwp_info): Now in x86-linux-nat.c.
2921 (have_ptrace_getregset): Now in x86-linux-nat.h.
2922 (x86_linux_dr_get): Now in x86-linux-nat.c.
2923 (x86_linux_dr_set): Likewise.
2924 (x86_linux_dr_get_addr): Likewise.
2925 (x86_linux_dr_get_control): Likewise.
2926 (x86_linux_dr_get_status): Likewise.
2927 (update_debug_registers_callback): Likewise.
2928 (x86_linux_dr_set_control): Likewise.
2929 (x86_linux_dr_set_addr): Likewise.
2930 (x86_linux_prepare_to_resume): Likewise.
2931 (x86_linux_new_thread): Likewise.
2932 (x86_linux_new_fork): Likewise.
2933 (x86_linux_get_thread_area): Likewise.
2934 (super_post_startup_inferior): Likewise.
2935 (x86_linux_child_post_startup_inferior): Likewise.
2936 (AMD64_LINUX_USER64_CS): Likewise.
2937 (AMD64_LINUX_X32_DS): Likewise.
2938 (x86_linux_read_description): Likewise.
2939 (x86_linux_enable_btrace): Likewise.
2940 (x86_linux_disable_btrace): Likewise.
2941 (x86_linux_teardown_btrace): Likewise.
2942 (x86_linux_read_btrace): Likewise.
2943 (x86_linux_create_target): Likewise.
2944 (x86_linux_add_target): Likewise.
2945
2946 2014-07-11 Gary Benson <gbenson@redhat.com>
2947
2948 * amd64-linux-nat.c: Comment and whitespace changes.
2949 * i386-linux-nat.c: Comment and whitespace changes.
2950
2951 2014-07-11 Gary Benson <gbenson@redhat.com>
2952
2953 * amd64-linux-nat.c (x86_linux_create_target): New function.
2954 (x86_linux_add_target): Likewise.
2955 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2956 * i386-linux-nat.c (x86_linux_create_target): New function.
2957 (x86_linux_add_target): Likewise.
2958 (_initialize_i386_linux_nat): Delegate to the above new functions.
2959
2960 2014-07-11 Gary Benson <gbenson@redhat.com>
2961
2962 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2963 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2964 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2965 (ps_get_thread_area): Delegate to the above.
2966
2967 2014-07-11 Gary Benson <gbenson@redhat.com>
2968
2969 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2970 x86_linux_read_description. All uses updated. amd64-specific
2971 code conditionalized. Conditionalized i386-specific code added.
2972 Redundant cast removed.
2973 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2974 x86_linux_read_description. All uses updated. i386-specific
2975 code conditionalized. Conditionalized amd64-specific code added.
2976 One sizeof replaced with the actual type it is describing.
2977
2978 2014-07-11 Gary Benson <gbenson@redhat.com>
2979
2980 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2981 x86_linux_dr_get. All uses updated.
2982 (amd64_linux_dr_set): Renamed to
2983 x86_linux_dr_set. All uses updated.
2984 (amd64_linux_dr_get_addr): Renamed to
2985 x86_linux_dr_get_addr. All uses updated.
2986 (amd64_linux_dr_get_control): Renamed to
2987 x86_linux_dr_get_control. All uses updated.
2988 (amd64_linux_dr_get_status): Renamed to
2989 x86_linux_dr_get_status. All uses updated.
2990 (amd64_linux_dr_set_control): Renamed to
2991 x86_linux_dr_set_control. All uses updated.
2992 (amd64_linux_dr_set_addr): Renamed to
2993 x86_linux_dr_set_addr. All uses updated.
2994 (amd64_linux_prepare_to_resume): Renamed to
2995 x86_linux_prepare_to_resume. All uses updated.
2996 (amd64_linux_new_thread): Renamed to
2997 x86_linux_new_thread. All uses updated.
2998 (amd64_linux_new_fork): Renamed to
2999 x86_linux_new_fork. All uses updated.
3000 (amd64_linux_child_post_startup_inferior): Renamed to
3001 x86_linux_child_post_startup_inferior. All uses updated.
3002 (amd64_linux_enable_btrace): Renamed to
3003 x86_linux_enable_btrace. All uses updated.
3004 (amd64_linux_disable_btrace): Renamed to
3005 x86_linux_disable_btrace. All uses updated.
3006 (amd64_linux_teardown_btrace): Renamed to
3007 x86_linux_teardown_btrace. All uses updated.
3008 (amd64_linux_read_btrace): Renamed to
3009 x86_linux_read_btrace. All uses updated.
3010 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3011 x86_linux_dr_get. All uses updated.
3012 (i386_linux_dr_set): Renamed to
3013 x86_linux_dr_set. All uses updated.
3014 (i386_linux_dr_get_addr): Renamed to
3015 x86_linux_dr_get_addr. All uses updated.
3016 (i386_linux_dr_get_control): Renamed to
3017 x86_linux_dr_get_control. All uses updated.
3018 (i386_linux_dr_get_status): Renamed to
3019 x86_linux_dr_get_status. All uses updated.
3020 (i386_linux_dr_set_control): Renamed to
3021 x86_linux_dr_set_control. All uses updated.
3022 (i386_linux_dr_set_addr): Renamed to
3023 x86_linux_dr_set_addr. All uses updated.
3024 (i386_linux_prepare_to_resume): Renamed to
3025 x86_linux_prepare_to_resume. All uses updated.
3026 (i386_linux_new_thread): Renamed to
3027 x86_linux_new_thread. All uses updated.
3028 (i386_linux_new_fork): Renamed to
3029 x86_linux_new_fork. All uses updated.
3030 (i386_linux_child_post_startup_inferior): Renamed to
3031 x86_linux_child_post_startup_inferior. All uses updated.
3032 (i386_linux_enable_btrace): Renamed to
3033 x86_linux_enable_btrace. All uses updated.
3034 (i386_linux_disable_btrace): Renamed to
3035 x86_linux_disable_btrace. All uses updated.
3036 (i386_linux_teardown_btrace): Renamed to
3037 x86_linux_teardown_btrace. All uses updated.
3038 (i386_linux_read_btrace): Renamed to
3039 x86_linux_read_btrace. All uses updated.
3040
3041 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3042
3043 * remote.c (extended_remote_post_attach): New function.
3044 (init_extended_remote_ops): Install it as to_post_attach method.
3045
3046 2014-07-09 Pedro Alves <palves@redhat.com>
3047
3048 * infcmd.c (attach_command_post_wait): Don't call
3049 target_terminal_inferior here.
3050 (attach_command): Call it here instead.
3051
3052 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3053
3054 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3055 field.
3056 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3057 from varobj.c, with additional checks.
3058 (c_varobj_ops): Fill in is_path_expr_parent field.
3059 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3060 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3061 field.
3062 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3063 ops method.
3064 (varobj_default_is_path_expr_parent): New function.
3065 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3066 (varobj_default_is_path_expr_parent): Declare new function.
3067
3068 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3069
3070 * infcmd.c (finish_backward): Turn internal error into normal error.
3071
3072 2014-07-07 Pedro Alves <palves@redhat.com>
3073
3074 PR gdb/17096
3075 * remote.c (async_handle_remote_sigint)
3076 (async_handle_remote_sigint_twice): Call
3077 gdb_call_async_signal_handler instead of
3078 mark_async_signal_handler.
3079
3080 2014-07-07 Tom Tromey <tromey@redhat.com>
3081
3082 * target-delegates.c: Rebuild.
3083 * target.c (target_info_record): Remove.
3084 * record.c (info_record_command): Unconditionally call
3085 to_info_record.
3086 * target.h (struct target_ops) <to_info_record>: Use
3087 TARGET_DEFAULT_IGNORE.
3088 (target_info_record): Remove.
3089
3090 2014-07-07 Tom Tromey <tromey@redhat.com>
3091
3092 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3093 TARGET_DEFAULT_NORETURN.
3094 * target.c (generic_tls_error): New function.
3095 (target_translate_tls_address): Don't search target stack.
3096 * target-delegates.c: Rebuild.
3097 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3098 stack.
3099 * linux-thread-db.c (thread_db_get_thread_local_address):
3100 Unconditionally call beneath target.
3101
3102 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3103
3104 * cli/cli-logging.c (pop_output_files): Assign targerr to
3105 gdb_stdtargerr.
3106
3107 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3108
3109 * MAINTAINERS (Write After Approval): Update my email address.
3110
3111 2014-07-02 Gary Benson <gbenson@redhat.com>
3112
3113 * proc-service.c (ps_xfer_memory): Update comment.
3114 (ps_pstop): Remove unused function.
3115 (ps_pcontinue): Likewise.
3116 (ps_lstop): Likewise.
3117 (ps_lcontinue): Likewise.
3118 (ps_lgetxregsize): Likewise.
3119 (ps_lgetxregs): Likewise.
3120 (ps_lsetxregs): Likewise.
3121 (ps_plog): Likewise.
3122 (ps_ptread): Likewise.
3123 (ps_ptwrite): Likewise.
3124
3125 2014-07-01 Mark Wielaard <mjw@redhat.com>
3126
3127 * dwarf2read.c (add_array_cv_type): New function.
3128 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3129 (read_tag_volatile_type): Likewise.
3130
3131 2014-07-01 Tom Tromey <tromey@redhat.com>
3132
3133 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3134 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3135 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3136 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3137 * command.h (cmd_cfunc_ftype): Move earlier.
3138 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3139 (add_com, add_info): Use cmd_cfunc_ftype.
3140
3141 2014-06-30 Tom Tromey <tromey@redhat.com>
3142
3143 * symtab.c (operator_chars): Make parameters and return type
3144 const.
3145 (file_matches): Make "files" const.
3146 (struct search_symbols_data) <files>: Now const.
3147 (search_symbols): Make "regexp" and "files" parameters const.
3148 Update.
3149 (symtab_symbol_info): Remove cast.
3150 (rbreak_command): Update.
3151 * symtab.h (search_symbols): Update.
3152
3153 2014-06-27 Yao Qi <yao@codesourcery.com>
3154
3155 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3156 Change parameter type to 'struct thread_info *'. Caller
3157 updated.
3158 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3159 Update declaration.
3160 * dummy-frame.c (struct dummy_frame_id): New.
3161 (dummy_frame_id_eq): New function.
3162 (struct dummy_frame) <id>: Change its type to 'struct
3163 dummy_frame_id'.
3164 (dummy_frame_push): Add parameter ptid and save it in
3165 dummy_frame_id.
3166 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3167 inferior_ptid.
3168 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3169 to inferior_ptid.
3170 (lookup_dummy_frame): Change parameter type to 'struct
3171 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3172 instead of frame_id_eq.
3173 (dummy_frame_pop): Add parameter ptid. Callers updated.
3174 Update comments. Compose dummy_frame_id and pass it to
3175 lookup_dummy_frame.
3176 (dummy_frame_discard): Add parameter ptid.
3177 (dummy_frame_sniffer): Compose dummy_frame_id and call
3178 dummy_frame_id_eq instead of frame_id_eq.
3179 (fprint_dummy_frames): Print ptid.
3180 * dummy-frame.h: Remove comments.
3181 (dummy_frame_push): Add ptid in declaration.
3182 (dummy_frame_pop, dummy_frame_discard): Likewise.
3183
3184 2014-06-26 Tom Tromey <tromey@redhat.com>
3185
3186 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3187 * command.h (error_no_arg): Update.
3188
3189 2014-06-26 Tom Tromey <tromey@redhat.com>
3190
3191 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3192 (do_show_command): Make "arg" const.
3193 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3194
3195 2014-06-26 Tom Tromey <tromey@redhat.com>
3196
3197 * record-full.c (record_full_get_bookmark): Make "args" const.
3198 (record_full_goto_bookmark): Make "raw_bookmark" const.
3199 * record.c (record_goto): New function.
3200 (cmd_record_goto): Use it. Now static.
3201 * record.h (record_goto): Declare.
3202 (cmd_record_goto): Remove declaration.
3203 * target-delegates.c: Rebuild.
3204 * target.h (struct target_ops) <to_get_bookmark,
3205 to_goto_bookmark>: Make parameter const.
3206
3207 2014-06-26 Tom Tromey <tromey@redhat.com>
3208
3209 * defs.h (generic_load): Update.
3210 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3211 * monitor.c (monitor_load): Make "args" const.
3212 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3213 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3214 const.
3215 (mips_load): Make "file" const.
3216 * remote-sim.c (gdbsim_load): Make "args" const.
3217 * remote.c (remote_load): Make "name" const.
3218 * symfile.c (generic_load): Make "args" const.
3219 * target-delegates.c: Rebuild.
3220 * target.c (target_load): Make "arg" const.
3221 (debug_to_load): Make "args" const.
3222 * target.h (struct target_ops) <to_load>: Make parameter const.
3223 (target_load): Update.
3224
3225 2014-06-26 Tom Tromey <tromey@redhat.com>
3226
3227 PR symtab/16902:
3228 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3229 (dwarf2_physname, read_partial_die)
3230 (guess_partial_die_structure_name, fixup_partial_die)
3231 (guess_full_die_structure_name, anonymous_struct_prefix)
3232 (dwarf2_name): Use per-BFD obstack.
3233
3234 2014-06-26 Yao Qi <yao@codesourcery.com>
3235
3236 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3237 dummyframe and this_id into inner block below.
3238
3239 2014-06-26 Yao Qi <yao@codesourcery.com>
3240
3241 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3242 with "signal_pass[0]" in the initialization of signal_pass.
3243
3244 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3245
3246 * record-btrace.c (record_btrace_generating_corefile)
3247 (record_btrace_prepare_to_generate_core)
3248 (record_btrace_done_generating_core): New.
3249 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3250 (record_btrace_store_registers, record_btrace_prepare_to_store):
3251 Forward request when generating a core file.
3252 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3253 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3254 to_done_generating_core.
3255
3256 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3257
3258 * target.h (target_ops) <to_prepare_to_generate_core>
3259 <to_done_generating_core>: New.
3260 (target_prepare_to_generate_core, target_done_generating_core): New.
3261 * target.c (target_prepare_to_generate_core)
3262 (target_done_generating_core): New.
3263 * target-delegates.c: Regenerate.
3264 * gcore.c: (write_gcore_file): Rename to ...
3265 (write_gcore_file_1): ...this.
3266 (write_gcore_file): Call target_prepare_to_generate_core
3267 and target_done_generating_core.
3268
3269 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3270
3271 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3272 * gcore.c (write_gcore_file): Free memory returned from
3273 make_corefile_notes.
3274 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3275 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3276
3277 2014-06-24 Yao Qi <yao@codesourcery.com>
3278
3279 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3280 (arm_linux_init_abi): Set skip_trampoline_code with
3281 gdbarch_skip_trampoline_code instead of
3282 find_solib_trampoline_target.
3283
3284 2014-06-24 Yao Qi <yao@codesourcery.com>
3285
3286 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3287 arm_skip_bx_reg returns non-zero.
3288
3289 2014-06-24 Yao Qi <yao@codesourcery.com>
3290
3291 * arm-tdep.c (arm_skip_bx_reg): New function.
3292 (arm_skip_stub): Call arm_skip_bx_reg.
3293
3294 2014-06-23 Don Breazeal <donb@codesourcery.com>
3295
3296 * MAINTAINERS: Add myself as write-after-approval maintainer.
3297
3298 2014-06-23 Pedro Alves <palves@redhat.com>
3299
3300 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3301 DR_CONTROL before setting DR0..DR3.
3302 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3303 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3304 bits of DR_CONTROL related to the debug register slot being
3305 disabled. If all slots are vacant, clear local slowdown as well,
3306 and assert DR_CONTROL is 0.
3307
3308 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3309
3310 * python/lib/gdb/command/xmethods.py
3311 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3312 current progspace only if the string "progspace" matches LOCUS_RE.
3313
3314 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3315
3316 Fix --with-system-readline with readline-6.3 patch 5.
3317 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3318 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3319 types.
3320
3321 2014-06-20 Tom Tromey <tromey@redhat.com>
3322
3323 * dwarf2read.c (dw2_get_real_path): Use correct type in
3324 OBSTACK_CALLOC.
3325 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3326
3327 2014-06-20 Gary Benson <gbenson@redhat.com>
3328
3329 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3330 * common/glibc_thread_db.h: Likewise.
3331 * common/i386-cpuid.h: Likewise.
3332 * common/i386-gcc-cpuid.h: Likewise.
3333 * common/linux-btrace.h: Likewise.
3334 * common/linux-osdata.h: Likewise.
3335 * common/linux-procfs.h: Likewise.
3336 * common/linux-ptrace.h: Likewise.
3337 * common/mips-linux-watch.h: Likewise.
3338 * common/linux-btrace.c: Moved to nat.
3339 * common/linux-osdata.c: Likewise.
3340 * common/linux-procfs.c: Likewise.
3341 * common/linux-ptrace.c: Likewise.
3342 * common/mips-linux-watch.c: Likewise.
3343 * nat/gdb_thread_db.h: Moved from common.
3344 * nat/glibc_thread_db.h: Likewise.
3345 * nat/i386-cpuid.h: Likewise.
3346 * nat/i386-gcc-cpuid.h: Likewise.
3347 * nat/linux-btrace.c: Likewise.
3348 * nat/linux-btrace.h: Likewise.
3349 * nat/linux-osdata.c: Likewise.
3350 * nat/linux-osdata.h: Likewise.
3351 * nat/linux-procfs.c: Likewise.
3352 * nat/linux-procfs.h: Likewise.
3353 * nat/linux-ptrace.c: Likewise.
3354 * nat/linux-ptrace.h: Likewise.
3355 * nat/mips-linux-watch.c: Likewise.
3356 * nat/mips-linux-watch.h: Likewise.
3357 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3358 (object file files): Reordered.
3359 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3360 of glibc_thread_db.h.
3361
3362 2014-06-20 Gary Benson <gbenson@redhat.com>
3363
3364 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3365 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3366 (i386_dr_low): Likewise.
3367 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3368 (i386_dr_low_set_addr): Likewise.
3369 (i386_dr_low_get_addr): Likewise.
3370 (i386_dr_low_can_set_control): Likewise.
3371 (i386_dr_low_set_control): Likewise.
3372 (i386_dr_low_get_control): Likewise.
3373 (i386_dr_low_get_status): Likewise.
3374 (i386_get_debug_register_length): Likewise.
3375 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3376 (i386_dr_low): Likewise.
3377 * nat/i386-dregs.c (i386-low.h): Remove include.
3378 (i386-nat.h): Likewise.
3379 (nat/i386-dregs.h): New include.
3380 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3381 (i386_dr_low_set_addr): Likewise.
3382 (i386_dr_low_get_addr): Likewise.
3383 (i386_dr_low_can_set_control): Likewise.
3384 (i386_dr_low_set_control): Likewise.
3385 (i386_dr_low_get_control): Likewise.
3386 (i386_dr_low_get_status): Likewise.
3387 (i386_get_debug_register_length): Likewise.
3388 (debug_hw_points): Likewise.
3389
3390 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3391
3392 * Makefile.in (SFILES): Add d-exp.y.
3393 (YYFILES): Add d-exp.c.
3394 (YYOBJ): Add d-exp.o.
3395 (local-maintainer-clean): Delete d-exp.c.
3396 * d-exp.y: New file.
3397 * d-lang.h (d_parse): New declaration.
3398 (d_error): New declaration.
3399 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3400 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3401 PREC_ORDER operators.
3402 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3403
3404 2014-06-19 Yao Qi <yao@codesourcery.com>
3405
3406 * gdbthread.h (any_running): Remove the declaration.
3407 * thread.c (any_running): Remove.
3408
3409 2014-06-19 Yao Qi <yao@codesourcery.com>
3410
3411 * gdbthread.h (struct thread_info) <state>: Change its type to
3412 'enum thread_state'. Update comments.
3413
3414 2014-06-19 Pedro Alves <palves@redhat.com>
3415
3416 * gdbthread.h (ALL_THREADS): Delete.
3417 (ALL_NON_EXITED_THREADS): New macro.
3418 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3419 instead of ALL_THREADS.
3420 * infrun.c (find_thread_needs_step_over)
3421 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3422 instead of ALL_THREADS.
3423 * record-btrace.c (record_btrace_open)
3424 (record_btrace_stop_recording, record_btrace_close)
3425 (record_btrace_is_replaying, record_btrace_resume)
3426 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3427 * remote.c (append_pending_thread_resumptions): Likewise.
3428 * thread.c (thread_apply_all_command): Likewise.
3429
3430 2014-06-19 Gary Benson <gbenson@redhat.com>
3431
3432 * i386-nat.c (i386_stopped_by_watchpoint):
3433 Use i386_dr_stopped_by_watchpoint.
3434 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3435 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3436
3437 2014-06-19 Gary Benson <gbenson@redhat.com>
3438
3439 * nat/i386-dregs.c: New file.
3440 * Makefile.in (i386-dregs.o): New rule.
3441 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3442 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3443 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3444 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3445 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3446 * config/i386/go32.mh (NATDEPFILES): Likewise.
3447 * config/i386/linux.mh (NATDEPFILES): Likewise.
3448 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3449 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3450 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3451 * i386-nat.h (debug_hw_points): New declaration.
3452 * i386-nat.c (breakpoint.h): Remove include.
3453 (command.h): Likewise.
3454 (target.h): Likewise.
3455 (gdb_assert.h): Likewise.
3456 (debug_hw_points): Made nonstatic.
3457 (debug_printf): Now in i386-dregs.c.
3458 (TARGET_HAS_DR_LEN_8): Likewise.
3459 (DR_CONTROL_SHIFT): Likewise.
3460 (DR_CONTROL_SIZE): Likewise.
3461 (DR_RW_EXECUTE): Likewise.
3462 (DR_RW_WRITE): Likewise.
3463 (DR_RW_READ): Likewise.
3464 (DR_RW_IORW): Likewise.
3465 (DR_LEN_1): Likewise.
3466 (DR_LEN_2): Likewise.
3467 (DR_LEN_4): Likewise.
3468 (DR_LEN_8): Likewise.
3469 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3470 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3471 (DR_ENABLE_SIZE): Likewise.
3472 (DR_LOCAL_SLOWDOWN): Likewise.
3473 (DR_GLOBAL_SLOWDOWN): Likewise.
3474 (DR_CONTROL_RESERVED): Likewise.
3475 (I386_DR_CONTROL_MASK): Likewise.
3476 (I386_DR_VACANT): Likewise.
3477 (I386_DR_LOCAL_ENABLE): Likewise.
3478 (I386_DR_GLOBAL_ENABLE): Likewise.
3479 (I386_DR_DISABLE): Likewise.
3480 (I386_DR_SET_RW_LEN): Likewise.
3481 (I386_DR_GET_RW_LEN): Likewise.
3482 (I386_DR_WATCH_HIT): Likewise.
3483 (i386_wp_op_t): Likewise.
3484 (i386_show_dr): Likewise.
3485 (i386_length_and_rw_bits): Likewise.
3486 (i386_insert_aligned_watchpoint): Likewise.
3487 (i386_remove_aligned_watchpoint): Likewise.
3488 (i386_handle_nonaligned_watchpoint): Likewise.
3489 (i386_update_inferior_debug_regs): Likewise.
3490 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3491 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3492 (i386_region_ok_for_watchpoint):
3493 Use i386_dr_region_ok_for_watchpoint.
3494 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3495
3496 2014-06-19 Gary Benson <gbenson@redhat.com>
3497
3498 * i386-nat.c (i386_insert_hw_breakpoint): Use
3499 i386_insert_watchpoint.
3500 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3501
3502 2014-06-19 Gary Benson <gbenson@redhat.com>
3503
3504 * i386-nat.c (i386_dr_show): Renamed to
3505 i386_show_dr and made static. All uses updated.
3506 (i386_dr_length_and_rw_bits): Renamed to
3507 i386_length_and_rw_bits and made static.
3508 All uses updated.
3509 (i386_dr_insert_aligned_watchpoint): Renamed to
3510 i386_insert_aligned_watchpoint and made static.
3511 All uses updated.
3512 (i386_dr_remove_aligned_watchpoint): Renamed to
3513 i386_remove_aligned_watchpoint and made static.
3514 All uses updated.
3515 (i386_dr_update_inferior_debug_regs): Renamed to
3516 i386_update_inferior_debug_regs and made static.
3517 All uses updated.
3518 * nat/i386-dregs.h (i386_dr_show): Removed.
3519 (i386_dr_length_and_rw_bits): Likewise.
3520 (i386_dr_insert_aligned_watchpoint): Likewise.
3521 (i386_dr_remove_aligned_watchpoint): Likewise.
3522 (i386_dr_update_inferior_debug_regs): Likewise.
3523
3524 2014-06-19 Gary Benson <gbenson@redhat.com>
3525
3526 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3527 * configure: Regenerate.
3528 * config.in: Likewise.
3529 * main.c (signal.h): New include.
3530 (setup_alternate_signal_stack): New function.
3531 (captured_main): Call the above.
3532 * cp-support.c (signal.h): New include.
3533 (catch_demangler_crashes): New flag.
3534 (SIGJMP_BUF): New define.
3535 (SIGSETJMP): Likewise.
3536 (SIGLONGJMP): Likewise.
3537 (gdb_demangle_jmp_buf): New static global.
3538 (gdb_demangle_attempt_core_dump): Likewise.
3539 (gdb_demangle_signal_handler): New function.
3540 (gdb_demangle): If catch_demangler_crashes is set, install the
3541 above signal handler before calling bfd_demangle, and restore
3542 the original signal handler afterwards. Display the offending
3543 symbol and call demangler_warning the first time a segmentation
3544 fault is caught.
3545 (_initialize_cp_support): New maint set/show command.
3546
3547 2014-06-19 Gary Benson <gbenson@redhat.com>
3548
3549 * utils.h (resource_limit_kind): New enum.
3550 (can_dump_core): New declaration.
3551 (warn_cant_dump_core): Likewise.
3552 (dump_core): Likewise.
3553 * utils.c (dump_core): Made nonstatic. Added new
3554 parameter "limit_kind".
3555 (can_dump_core): Made nonstatic. Moved printing code to...
3556 (warn_cant_dump_core): New function.
3557 (can_dump_core_warn): Likewise.
3558 (internal_vproblem): Replace calls to can_dump_core with
3559 calls to can_dump_core_warn. Supply new argument to each.
3560
3561 2014-06-19 Gary Benson <gbenson@redhat.com>
3562
3563 * utils.h (demangler_vwarning): New declaration.
3564 (demangler_warning): Likewise.
3565 * utils.c (struct internal_problem)
3566 <user_settable_should_quit>: New field.
3567 <user_settable_should_dump_core>: Likewise
3568 (internal_error_problem): Add values for above new fields.
3569 (internal_warning_problem): Likewise.
3570 (demangler_warning_problem): New static global.
3571 (demangler_vwarning): New function.
3572 (demangler_warning): Likewise.
3573 (add_internal_problem_command): Selectively add commands.
3574 (_initialize_utils): New internal problem command.
3575 * maint.c (maintenance_demangler_warning): New function.
3576 (_initialize_maint_cmds): New command.
3577
3578 2014-06-18 Tom Tromey <tromey@redhat.com>
3579
3580 * f-valprint.c (info_common_command_for_block): Update.
3581 * symtab.h (struct general_symbol_info) <common_block>: Now
3582 const.
3583
3584 2014-06-18 Tom Tromey <tromey@redhat.com>
3585
3586 * symtab.h (struct symtab) <blockvector>: Now const.
3587 * ada-lang.c (ada_add_global_exceptions): Update.
3588 * buildsym.c (augment_type_symtab): Update.
3589 * dwarf2read.c (dw2_lookup_symbol): Update.
3590 * jit.c (finalize_symtab): Update.
3591 * jv-lang.c (add_class_symtab_symbol): Update.
3592 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3593 Update.
3594 * objfiles.c (objfile_relocate1): Update.
3595 * psymtab.c (lookup_symbol_aux_psymtabs)
3596 (maintenance_check_psymtabs): Update.
3597 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3598 Update.
3599 * spu-tdep.c (spu_catch_start): Update.
3600 * symmisc.c (dump_symtab_1): Update.
3601 * symtab.c (lookup_global_symbol_from_objfile)
3602 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3603 (basic_lookup_transparent_type_quick)
3604 (basic_lookup_transparent_type, find_pc_sect_symtab)
3605 (find_pc_sect_line, search_symbols): Update.
3606 * block.c (find_block_in_blockvector): Make "bl" const.
3607 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3608 const.
3609 (blockvector_contains_pc): Make "bv" const.
3610 (block_for_pc_sect): Update.
3611 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3612 (blockvector_contains_pc): Update.
3613 * breakpoint.c (resolve_sal_pc): Update.
3614 * inline-frame.c (block_starting_point_at): Update.
3615
3616 2014-06-18 Tom Tromey <tromey@redhat.com>
3617
3618 * completer.c (complete_line): Make "line_buffer" const.
3619 * completer.h (complete_line): Update.
3620
3621 2014-06-18 Tom Tromey <tromey@redhat.com>
3622
3623 * symtab.c (add_macro_name): Remove unneeded cast.
3624
3625 2014-06-18 Tom Tromey <tromey@redhat.com>
3626
3627 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3628 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3629
3630 2014-06-18 Tom Tromey <tromey@redhat.com>
3631
3632 * probe.c (info_probes_for_ops): Make "arg" const.
3633 * probe.h (info_probes_for_ops): Update.
3634
3635 2014-06-18 Tom Tromey <tromey@redhat.com>
3636
3637 * varobj.c (varobj_create): Update.
3638 * valops.c (value_of_this): Update.
3639 * tracepoint.c (add_local_symbols, scope_info): Update.
3640 * symtab.h (struct general_symbol_info) <block>: Now const.
3641 * symtab.c (skip_prologue_sal)
3642 (default_make_symbol_completion_list_break_on)
3643 (skip_prologue_using_sal): Update.
3644 * stack.h (iterate_over_block_locals)
3645 (iterate_over_block_local_vars): Update.
3646 * stack.c (print_frame_args): Update.
3647 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3648 parameter const.
3649 (get_selected_block): Make return type const.
3650 * python/py-frame.c (frapy_block): Update.
3651 * python/py-block.c (gdbpy_block_for_pc): Update.
3652 * p-exp.y (%union) <bval>: Now const.
3653 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3654 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3655 * m2-exp.y (%union) <bval>: Now const.
3656 * linespec.c (get_current_search_block): Make return type const.
3657 (create_sals_line_offset, find_label_symbols): Update.
3658 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3659 Update.
3660 (block_starting_point_at): Make "block" const.
3661 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3662 (check_exception_resume): Update.
3663 * guile/scm-frame.c (gdbscm_frame_block): Update.
3664 * guile/scm-block.c (gdbscm_lookup_block): Update.
3665 * frame.h (get_frame_block): Update.
3666 (get_selected_block): Make return type const.
3667 * frame.c (frame_id_inner): Update.
3668 * f-valprint.c (info_common_command_for_block)
3669 (info_common_command): Update.
3670 * dwarf2loc.c (dwarf2_find_location_expression)
3671 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3672 (locexpr_describe_location_piece): Update.
3673 * c-exp.y (%union) <bval>: Now const.
3674 * breakpoint.c (resolve_sal_pc): Update.
3675 * blockframe.c (get_frame_block):Make return type const.
3676 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3677 (block_innermost_frame): Update.
3678 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3679 (block_for_pc, block_for_pc_sect): Update.
3680 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3681 'pblock' const.
3682 (block_for_pc_sect, block_for_pc): Make return type const.
3683 * ax-gdb.c (gen_expr): Update.
3684 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3685 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3686 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3687 (ada_read_var_value): Update.
3688 * ada-exp.y (struct name_info) <block>: Now const.
3689 (%union): Likewise.
3690 (block_lookup): Constify.
3691
3692 2014-06-18 Gary Benson <gbenson@redhat.com>
3693
3694 * nat/i386-dregs.h: New file.
3695 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3696 * i386-nat.h (i386-dregs.h): New include.
3697 (DR_FIRSTADDR): Now in i386-dregs.h.
3698 (DR_LASTADDR): Likewise.
3699 (DR_NADDR): Likewise.
3700 (DR_STATUS): Likewise.
3701 (DR_CONTROL): Likewise.
3702 (i386_debug_reg_state): Likewise.
3703 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3704
3705 2014-06-18 Don Breazeal <donb@codesourcery.com>
3706
3707 * breakpoint.c (set_longjmp_breakpoint): Call
3708 momentary_breakpoint_from_master with additional argument.
3709 (set_longjmp_breakpoint_for_call_dummy): Call
3710 momentary_breakpoint_from_master with additional argument.
3711 (set_std_terminate_breakpoint): Call
3712 momentary_breakpoint_from_master with additional argument.
3713 (momentary_breakpoint_from_master): Add argument to function
3714 definition and use it to initialize structure member flag.
3715 (clone_momentary_breakpoint): Call
3716 momentary_breakpoint_from_master with additional argument.
3717 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3718 member flags set in momentary_breakpoint_from_master.
3719
3720 2014-06-18 Gary Benson <gbenson@redhat.com>
3721
3722 * i386-nat.c (i386_show_dr): Renamed to
3723 i386_dr_show and made nonstatic. All uses updated.
3724 (i386_length_and_rw_bits): Renamed to
3725 i386_dr_length_and_rw_bits and made nonstatic.
3726 All uses updated.
3727 (i386_insert_aligned_watchpoint): Renamed to
3728 i386_dr_insert_aligned_watchpoint and made nonstatic.
3729 All uses updated.
3730 (i386_remove_aligned_watchpoint): Renamed to
3731 i386_dr_remove_aligned_watchpoint and made nonstatic.
3732 All uses updated.
3733 (i386_update_inferior_debug_regs): Renamed to
3734 i386_dr_update_inferior_debug_regs and made nonstatic.
3735 All uses updated.
3736
3737 2014-06-18 Gary Benson <gbenson@redhat.com>
3738
3739 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3740 (i386_dr_low_can_set_control): Likewise.
3741 (i386_dr_low_set_addr): Likewise.
3742 (i386_dr_low_set_control): Likewise.
3743 (i386_dr_low_get_addr): Likewise.
3744 (i386_dr_low_get_status): Likewise.
3745 (i386_dr_low_get_control): Likewise.
3746 (i386_insert_aligned_watchpoint): Use new macros.
3747 (i386_update_inferior_debug_regs): Likewise.
3748 (i386_stopped_data_address): Likewise.
3749
3750 2014-06-18 Gary Benson <gbenson@redhat.com>
3751
3752 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3753 New parameter. All uses updated.
3754
3755 2014-06-18 Gary Benson <gbenson@redhat.com>
3756
3757 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3758 All uses updated.
3759
3760 2014-06-18 Gary Benson <gbenson@redhat.com>
3761
3762 * i386-nat.c (debug_printf): New macro.
3763 (i386_get_debug_register_length): Likewise.
3764 (TARGET_HAS_DR_LEN_8): Use above macro.
3765 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3766 and printf_unfiltered. Use phex to format values.
3767
3768 2014-06-18 Gary Benson <gbenson@redhat.com>
3769
3770 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3771 Make const.
3772
3773 2014-06-18 Gary Benson <gbenson@redhat.com>
3774
3775 * i386-nat.c: Comment changes.
3776
3777 2014-06-18 Gary Benson <gbenson@redhat.com>
3778
3779 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3780
3781 2014-06-18 Gary Benson <gbenson@redhat.com>
3782
3783 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3784 (i386_insert_aligned_watchpoint): Likewise.
3785 (i386_remove_aligned_watchpoint): Likewise.
3786 (i386_handle_nonaligned_watchpoint): Likewise.
3787
3788 2014-06-18 Gary Benson <gbenson@redhat.com>
3789
3790 * i386-nat.c: Whitespace changes.
3791
3792 2014-06-17 Samuel Bronson <naesten@gmail.com>
3793
3794 * MAINTAINERS: Update Roland McGrath's email address.
3795 Thanks to Sergio Durigan Junior for pointing out that he left
3796 Red Hat a while ago, and giving me a current address.
3797
3798 2014-06-17 Tom Tromey <tromey@redhat.com>
3799
3800 * utils.h (savestring): Remove declaration.
3801
3802 2014-06-17 Tom Tromey <tromey@redhat.com>
3803
3804 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3805
3806 2014-06-16 Keith Seitz <keiths@redhat.com>
3807
3808 PR mi/15863
3809 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3810 to update the varobj if inferior_ptid is null_ptid.
3811
3812 2014-06-16 Tom Tromey <tromey@redhat.com>
3813
3814 * target.h (struct target_ops) <to_info_proc>: Make parameter
3815 const.
3816 (target_info_proc): Update.
3817 * target.c (target_info_proc): Make "args" const.
3818 * procfs.c (procfs_info_proc): Update.
3819 * linux-tdep.c (linux_info_proc): Update.
3820 (linux_core_info_proc_mappings): Make "args" const.
3821 (linux_core_info_proc): Update.
3822 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3823 * gdbarch.c: Rebuild.
3824 * gdbarch.h: Rebuild.
3825 * corelow.c (core_info_proc): Update.
3826
3827 2014-06-16 Tom Tromey <tromey@redhat.com>
3828
3829 * target.h (struct target_ops) <to_disconnect>: Make parameter
3830 const.
3831 (target_disconnect): Update.
3832 * target.c (target_disconnect): Make "args" const.
3833 * target-delegates.c: Rebuild.
3834 * remote.c (remote_disconnect): Update.
3835 * record.h (record_disconnect): Update.
3836 * record.c (record_disconnect): Update.
3837 * inf-child.c (inf_child_disconnect): Update.
3838
3839 2014-06-16 Tom Tromey <tromey@redhat.com>
3840
3841 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3842 * target.c (debug_to_rcmd, default_rcmd): Update.
3843 * target-delegates.c: Rebuild.
3844 * remote.c (remote_rcmd): Update.
3845 * monitor.c (monitor_rcmd): Update.
3846
3847 2014-06-16 Pedro Alves <palves@redhat.com>
3848
3849 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3850 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3851 have OBJF_SHARED set.
3852 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3853 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3854 instead of OBJF_USERLOADED.
3855 * objfiles.h (OBJF_SHARED): Update comment.
3856 (userloaded_objfile_contains_address_p): Rename to ...
3857 (shared_objfile_contains_address_p): ... this, and update
3858 comments.
3859 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3860 new objfile.
3861 (remove_symbol_file_command): Skip objfiles that don't have
3862 OBJF_SHARED set.
3863
3864 2014-06-16 Tom Tromey <tromey@redhat.com>
3865
3866 * minsyms.h (prim_record_minimal_symbol)
3867 (prim_record_minimal_symbol_and_info): Update comments.
3868
3869 2014-06-14 Eli Zaretskii <eliz@gnu.org>
3870
3871 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3872 or --without-guile, according to how GDB was built.
3873
3874 2014-06-13 Tom Tromey <tromey@redhat.com>
3875
3876 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3877 to help_list.
3878 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3879 to help_list.
3880 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3881 help_list.
3882 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3883 help_list.Pass all_commands, not -1, to help_list.
3884 * cli/cli-dump.c (dump_command, append_command)
3885 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3886 (binary_dump_command, binary_append_command): Pass all_commands,
3887 not -1, to help_list.
3888 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3889 -1, to help_list.
3890 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3891 -1, to help_list.
3892 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3893 help_list.
3894 * top.c (set_history): Pass all_commands, not -1, to help_list.
3895 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3896 all_commands, not -1, to help_list.
3897 * symfile.c (overlay_command): Pass all_commands, not -1, to
3898 help_list.
3899 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3900 help_list.
3901 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3902 help_list.
3903 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3904 -1, to help_list.
3905 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3906 not -1, to help_list.
3907 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3908 not -1, to help_list.
3909 * maint.c (maintenance_command, maintenance_info_command)
3910 (maintenance_print_command, maintenance_set_cmd): Pass
3911 all_commands, not -1, to help_list.
3912 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3913 help_list.
3914 * language.c (set_check): Pass all_commands, not -1, to help_list.
3915 * infcmd.c (unset_command): Pass all_commands, not -1, to
3916 help_list.
3917 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3918 help_list.
3919 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3920 help_list.
3921 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3922 help_list.
3923 * breakpoint.c (save_command): Pass all_commands, not -1, to
3924 help_list.
3925 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3926 all_commands, not -1, to help_list.
3927
3928 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3929
3930 * regcache.c (struct register_to_invalidate): New structure.
3931 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3932 functions.
3933 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3934
3935 2014-06-12 Yao Qi <yao@codesourcery.com>
3936
3937 * varobj.c (varobj_get_num_children): Call
3938 varobj_is_dynamic_p.
3939 (varobj_list_children): Likewise.
3940 (varobj_update): Likewise. Update comments.
3941
3942 2014-06-12 Yao Qi <yao@codesourcery.com>
3943
3944 * varobj.c (varobj_pretty_printed_p): Rename to ...
3945 (varobj_is_dynamic_p): ... this. New function.
3946 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3947 (varobj_is_dynamic_p): Declare.
3948 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3949 (mi_print_value_p, varobj_update_one): Likewise.
3950
3951 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3952 Yao Qi <yao@codesourcery.com>
3953
3954 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3955 (varobj_get_iterator): Wrap up code for pretty-printer by
3956 "#if HAVE_PYTHON" and "#endif".
3957 (update_dynamic_varobj_children): Likewise.
3958
3959 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3960 Yao Qi <yao@codesourcery.com>
3961
3962 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3963 gdb_python_initialized is false. Move some code from varobj.c.
3964 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3965 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3966 (struct varobj_item): Moved to varobj-iter.h".
3967 (varobj_clear_saved_item): New function.
3968 (update_dynamic_varobj_children): Move python-related code to
3969 py-varobj.c.
3970 (free_variable): Call varobj_clear_saved_item and
3971 varobj_iter_delete.
3972
3973 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3974 Yao Qi <yao@codesourcery.com>
3975
3976 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3977 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3978 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3979 (py-varobj.o): New rule.
3980 * python/py-varobj.c: New file.
3981 * python/python-internal.h (py_varobj_get_iterator): Declare.
3982 * varobj-iter.h: New file.
3983 * varobj.c: Include "varobj-iter.h"
3984 (struct varobj) <child_iter>: Change its type from "PyObject *"
3985 to "struct varobj_iter *".
3986 <saved_item>: Likewise.
3987 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3988 [HAVE_PYTHON] (varobj_get_iterator): New function.
3989 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3990 python-specific code to python/py-varobj.c.
3991 (install_visualizer): Call varobj_iter_delete instead of
3992 Py_XDECREF.
3993 * varobj.h (varobj_ensure_python_env): Declare.
3994
3995 2014-06-12 Yao Qi <yao@codesourcery.com>
3996
3997 * varobj.c (struct varobj_item): New structure.
3998 (create_child_with_value): Update declaration.
3999 (varobj_add_child): Replace arguments 'name' and 'value' with
4000 'item'. All callers updated.
4001 (install_dynamic_child): Likewise.
4002 (update_dynamic_varobj_children): Likewise.
4003 (varobj_add_child): Likewise.
4004 (create_child_with_value): Likewise.
4005
4006 2014-06-11 Joel Brobecker <brobecker@adacore.com>
4007
4008 * NEWS: Create a new section for the next release branch.
4009 Rename the section of the current branch, now that it has
4010 been cut.
4011
4012 2014-06-11 Joel Brobecker <brobecker@adacore.com>
4013
4014 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4015 * version.in: Bump version to 7.8.50.DATE-cvs.
4016
4017 2014-06-11 Pedro Alves <palves@redhat.com>
4018
4019 PR remote/17028
4020 * ser-mingw.c (net_windows_socket_check_pending): New function.
4021 (net_windows_select_thread): Ignore spurious wakeups. Use
4022 net_windows_socket_check_pending.
4023 (net_windows_wait_handle): Check for pending events with
4024 ioctlsocket, through net_windows_socket_check_pending, instead of
4025 checking the socket's event.
4026
4027 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4028
4029 * python/python-internal.h (gdb_PyObject_GetAttrString)
4030 (gdb_PyObject_HasAttrString): New inline function definitions.
4031 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4032 char * of the second argument to PyObject_GetAttrString.
4033
4034 2014-06-10 Joel Brobecker <brobecker@adacore.com>
4035
4036 * serial.c (serial_write): Fix index of character to be printed
4037 in call to serial_logchar when serial debug traces are enabled.
4038
4039 2014-06-10 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdbtypes (resolve_dynamic_range): Add function description.
4042
4043 2014-06-09 Pedro Alves <palves@redhat.com>
4044
4045 * linux-nat.c (linux_child_follow_fork): Initialize status with
4046 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4047 inner block. Only pass the signal to PTRACE_DETACH if in pass
4048 state.
4049
4050 2014-06-09 Gary Benson <gbenson@redhat.com>
4051
4052 * common/signals.c (gdb_signal_from_host): Reorder to separate
4053 the always-available ANSI-standard signals from the signals that
4054 require checking.
4055 (do_gdb_signal_to_host): Likewise.
4056 * proc-events.c (signal_table): Likewise.
4057
4058 2014-06-08 Hui Zhu <hui@codesourcery.com>
4059
4060 * common/linux-ptrace.c (linux_disable_event_reporting): New
4061 function.
4062 * common/linux-ptrace.h (linux_disable_event_reporting): New
4063 declaration.
4064 * linux-nat.c (linux_child_follow_fork): Do a single step before
4065 detach.
4066
4067 2014-06-07 Keith Seitz <keiths@redhat.com>
4068
4069 Revert:
4070 PR c++/16253
4071 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4072 from symbol_matches_domain in symtab.c. All local callers
4073 of symbol_matches_domain updated.
4074 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4075 search STRUCT_DOMAIN.
4076 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4077 independently. standard_lookup will do that automatically.
4078 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4079 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4080 (cp_lookup_symbol_in_namespace): Likewise.
4081 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4082 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4083 may return a STRUCT_DOMAIN match.
4084 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4085 * cp-support.c: Include language.h.
4086 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4087 VAR_DOMAIN.
4088 * psymtab.c (match_partial_symbol): Compare the requested
4089 domain with the symbol's domain directly.
4090 (lookup_partial_symbol): Likewise.
4091 * symtab.c (lookup_symbol_in_language): Explain when/why
4092 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4093 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4094 appropriate languages.
4095 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4096 and moved to ada-lang.c
4097 (lookup_block_symbol): Explain that this function only returns
4098 symbol matching the requested DOMAIN.
4099 Compare the requested domain with the symbol's domain directly.
4100 (iterate_over_symbols): Compare the requested domain with the
4101 symbol's domain directly.
4102 * symtab.h (symbol_matches_domain): Remove.
4103
4104 2014-06-06 Doug Evans <xdje42@gmail.com>
4105
4106 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4107 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4108 (gdbscm_guile_version_is_at_least): Declare.
4109 (gdbscm_scm_string_to_int): Declare.
4110 * guile/guile.c (gdbscm_guile_major_version): New global.
4111 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4112 (guile_datadir): New static global.
4113 (gdbscm_guile_data_directory): New function.
4114 (initialize_scheme_side): Update.
4115 (misc_guile_functions): Add guile-data-directory.
4116 (initialize_gdb_module): Fetch guile version number.
4117 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4118 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4119 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4120 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4121 comments.
4122 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4123 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4124 * guile/scm-value.c (gdbscm_value_to_string): Only call
4125 scm_port_conversion_strategy if Guile version >= 2.0.6.
4126
4127 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4128
4129 * main.c (print_gdb_help): Add -q and --silent.
4130
4131 2014-06-06 Gary Benson <gbenson@redhat.com>
4132
4133 * common/signals.c: Remove preprocessor conditionals for
4134 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4135 SIGSEGV and SIGTERM.
4136 * proc-events.c: Likewise.
4137
4138 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4139
4140 * symfile.c (symfile_free_objfile): Remove restriction to
4141 OBJF_USERLOADED.
4142 * symfile-mem.c (symbol_file_add_from_memory): Call
4143 add_target_sections_of_objfile.
4144
4145 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4146
4147 * guile/scm-value.c (gdbscm_history_append_x): Use
4148 'vlscm_get_value_smob_arg_unsafe' instead of
4149 'vlscm_scm_to_value'.
4150
4151 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4152
4153 PR mi/15806
4154 * utils.c (printchar): Don't escape at all if quoter is NUL.
4155 Update function documentation to clarify effect of parameter
4156 QUOTER.
4157 * remote.c (escape_buffer): Pass '\\' as the quoter to
4158 fputstrn_unfiltered.
4159 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4160 generate the output.
4161 (mi_solib_unloaded): Same.
4162
4163 2014-06-05 Joel Brobecker <brobecker@adacore.com>
4164
4165 * development.sh: Delete.
4166 * Makefile.in (config.status): Adjust dependency on development.sh.
4167 * configure.ac: Adjust development.sh source call.
4168 * configure: Regenerate.
4169
4170 2014-06-04 Doug Evans <xdje42@gmail.com>
4171
4172 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4173 is_scheme_bkpt, spec.
4174 (bpscm_make_breakpoint_smob): Initialize new members.
4175 (gdbscm_create_breakpoint_x): Split into two ...
4176 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4177 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4178 (scheme_function breakpoint_functions): Update.
4179 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4180 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4181 register-breakpoint!.
4182
4183 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
4184
4185 PR server/17023
4186 * mem-break.c (z_type_supported): Return zero if
4187 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4188
4189 2014-06-04 Tom Tromey <tromey@redhat.com>
4190
4191 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4192 value_from_contents_and_address_unresolved.
4193 (ada_template_to_fixed_record_type_1): Likewise.
4194 (ada_which_variant_applies): Likewise.
4195 * value.h (value_from_contents_and_address_unresolved): Declare.
4196 * value.c (value_from_contents_and_address_unresolved): New
4197 function.
4198 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4199 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4200 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4201
4202 2014-06-04 Tom Tromey <tromey@redhat.com>
4203
4204 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4205
4206 2014-06-04 Tom Tromey <tromey@redhat.com>
4207
4208 * procfs.c (procfs_attach): Make "args" const.
4209 * windows-nat.c (windows_attach): Make "args" const.
4210 * nto-procfs.c (procfs_attach): Make "args" const.
4211 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4212 * go32-nat.c (go32_attach): Make "args" const.
4213 * gnu-nat.c (gnu_attach): Make "args" const.
4214 * darwin-nat.c (darwin_attach): Make "args" const.
4215 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4216 * linux-nat.c (linux_nat_attach): Make "args" const.
4217 * remote.c (extended_remote_attach_1, extended_remote_attach):
4218 Make "args" const.
4219 * target.h (struct target_ops) <to_attach>: Make "args" const.
4220 (find_default_attach): Likewise.
4221 * utils.c (parse_pid_to_attach): Make "args" const.
4222 * utils.h (parse_pid_to_attach): Update.
4223
4224 2014-06-04 Tom Tromey <tromey@redhat.com>
4225
4226 * target-delegates.c: Rebuild.
4227 * target.c (default_thread_address_space): New function.
4228 (target_thread_address_space): Simplify.
4229 * target.h (struct target_ops) <to_thread_address_space>: Add
4230 TARGET_DEFAULT_FUNC.
4231
4232 2014-06-04 Doug Evans <xdje42@gmail.com>
4233
4234 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4235
4236 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4237
4238 * record-btrace.c: Include event-loop.h and inf-loop.h.
4239 (record_btrace_resume_exec_dir)
4240 (record_btrace_async_inferior_event_handler)
4241 (record_btrace_handle_async_inferior_event): New.
4242 (record_btrace_open): Create async event handler.
4243 (record_btrace_close): Delete async event handler.
4244 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4245 Mark async event handler.
4246 (record_btrace_execution_direction): New.
4247 (init_record_btrace_ops): Initialize to_execution_direction.
4248
4249 2014-06-03 Doug Evans <xdje42@gmail.com>
4250
4251 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4252 (gdbscm_make_parameter): Ditto.
4253
4254 2014-06-03 Doug Evans <dje@google.com>
4255
4256 * exec.c (exec_close_1): Call clear_section_table instead of
4257 resize_section_table.
4258 (clear_section_table): New function.
4259 (resize_section_table): Make static. Rename arg num_added to
4260 adjustment.
4261 * exec.h (clear_section_table): Declare.
4262 (resize_section_table): Delete.
4263 * progspace.c (release_program_space): Call clear_section_table
4264 instead of resize_section_table.
4265
4266 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4267
4268 * NEWS (Python Scripting): Add entry about the new xmethods
4269 feature.
4270
4271 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4272
4273 * python/py-xmethods.c: New file.
4274 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4275 (objfpy_dealloc): XDECREF on the new xmethods field.
4276 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4277 field.
4278 (objfpy_get_xmethods): New function.
4279 (objfile_getset): New entry 'xmethods'.
4280 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4281 (pspy_dealloc): XDECREF on the new xmethods field.
4282 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4283 field.
4284 (pspy_get_xmethods): New function.
4285 (pspace_getset): New entry 'xmethods'.
4286 * python/python-internal.h: Add declarations for new functions.
4287 * python/python.c (_initialize_python): Invoke
4288 gdbpy_initialize_xmethods.
4289 * python/lib/gdb/__init__.py (xmethods): New
4290 attribute.
4291 * python/lib/gdb/xmethod.py: New file.
4292 * python/lib/gdb/command/xmethods.py: New file.
4293
4294 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4295
4296 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4297 best match method returned by find_overload_match is an xmethod.
4298 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4299 the best matching operator returned by find_overload_match is an
4300 xmethod.
4301 * valops.c: #include "extension.h".
4302 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4303 Return void. The list of matching source methods is returned in
4304 "fn_list" and a vector of matching debug method workers is
4305 returned in "xm_worker_vec". Update all callers.
4306 (value_find_oload_method_list): Likewise.
4307 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4308 non-NULL, then the index of the best matching method in this
4309 vector is returned. Update all callers.
4310 (find_overload_match): Include xmethods while performing overload
4311 resolution.
4312
4313 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4314
4315 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4316 * extension-priv.h (struct extension_language_ops): Add the
4317 xmethod interface.
4318 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4319 get_matching_xmethod_workers, get_xmethod_argtypes,
4320 invoke_xmethod, free_xmethod_worker,
4321 free_xmethod_worker_vec): New functions.
4322 * extension.h: #include "common/vec.h".
4323 New function declarations.
4324 (struct xmethod_worker): New struct.
4325 (VEC (xmethod_worker_ptr)): New vector type.
4326 (xmethod_worker_ptr): New typedef.
4327 (xmethod_worker_vec): Likewise.
4328 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4329 builtin_type.
4330 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4331 (struct builtin_type): New field "xmethod".
4332 * valarith.c (value_ptradd): Assert that the value argument is not
4333 lval_xcallable.
4334 * valops.c (value_must_coerce_to_target): Return 0 for
4335 lval_xcallable values.
4336 * value.c (struct value): New field XM_WORKER in the field
4337 LOCATION.
4338 (value_address, value_raw_address): Return 0 for lval_xcallable
4339 values.
4340 (set_value_address): Assert that the value is not an
4341 lval_xcallable.
4342 (value_free): Free the associated xmethod worker when freeing
4343 lval_xcallable values.
4344 (set_value_component_location): Assert that the WHOLE value is not
4345 lval_xcallable.
4346 (value_of_xmethod, call_xmethod): New functions.
4347 * value.h: Declare "struct xmethod_worker".
4348 Declare new functions value_of_xmethod, call_xmethod.
4349
4350 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4351 Pedro Alves <palves@redhat.com>
4352
4353 PR breakpoints/17000
4354 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4355 New function, extracted from software_breakpoint_inserted_here_p.
4356 (software_breakpoint_inserted_here_p): Replace factored out code
4357 by call to find_non_raw_software_breakpoint_inserted_here.
4358 (bp_target_info_copy_insertion_state): New function.
4359 (bkpt_insert_location): Handle the case of a single-step
4360 breakpoint already inserted at the same address.
4361 (bkpt_remove_location): Handle the case of a single-step
4362 breakpoint still inserted at the same address.
4363 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4364 breakpoint already inserted at the same address.
4365 (deprecated_remove_raw_breakpoint): Handle the case of a
4366 non-raw breakpoint still inserted at the same address.
4367 (find_single_step_breakpoint): New function, extracted from
4368 single_step_breakpoint_inserted_here_p.
4369 (find_single_step_breakpoint): New function,
4370 factored out from single_step_breakpoint_inserted_here_p.
4371 (single_step_breakpoint_inserted_here_p): Reimplement.
4372
4373 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4374
4375 Pushed by Joel Brobecker <brobecker@adacore.com>
4376 * source.c (show_substitute_path_command): Fix display of matching
4377 substitution rules.
4378
4379 2014-06-03 Gary Benson <gbenson@redhat.com>
4380
4381 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4382
4383 2014-06-02 Doug Evans <xdje42@gmail.com>
4384
4385 Add parameter support for Guile.
4386 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4387 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4388 (scm-param.o): New rule.
4389 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4390 (gdbscm_misc_error): Declare.
4391 (gdbscm_canonicalize_command_name): Declare.
4392 (gdbscm_scm_to_host_string): Declare.
4393 (gdbscm_scm_from_host_string): Declare.
4394 (gdbscm_initialize_parameters): Declare.
4395 * guile/guile.c (initialize_gdb_module): Call
4396 gdbscm_initialize_parameters.
4397 * guile/lib/gdb.scm: Export parameter symbols.
4398 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4399 cmdscm_canonicalize_name and made public. All callers updated.
4400 * guile/scm-exception.c (gdbscm_misc_error): New function.
4401 * guile/scm-param.c: New file.
4402 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4403 (gdbscm_scm_to_host_string): New function.
4404 (gdbscm_scm_from_host_string): New function.
4405 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4406
4407 2014-06-02 Doug Evans <xdje42@gmail.com>
4408
4409 Add command support for Guile.
4410 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4411 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4412 (scm-cmd.o): New rule.
4413 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4414 (gdbscm_user_error_p): Declare.
4415 (gdbscm_parse_command_name): Declare.
4416 (gdbscm_valid_command_class_p): Declare.
4417 (gdbscm_initialize_commands): Declare.
4418 * guile/guile.c (initialize_gdb_module): Call
4419 gdbscm_initialize_commands.
4420 * guile/lib/gdb.scm: Export command symbols.
4421 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4422 (throw-user-error): New function.
4423 * guile/scm-cmd.c: New file.
4424 * guile/scm-exception.c (user_error_symbol): New static global.
4425 (gdbscm_user_error_p): New function.
4426 (gdbscm_initialize_exceptions): Set user_error_symbol.
4427 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4428
4429 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4430
4431 * top.c (command_loop): Handle comments here...
4432 (command_line_input): ... not here.
4433
4434 2014-06-02 Doug Evans <xdje42@gmail.com>
4435
4436 Add progspace support for Guile.
4437 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4438 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4439 (scm-progspace.o): New rule.
4440 * guile/guile-internal.h (pspace_smob): New typedef.
4441 (psscm_pspace_smob_pretty_printers): Declare.
4442 (psscm_pspace_smob_from_pspace): Declare.
4443 (psscm_scm_from_pspace): Declare.
4444 * guile/guile.c (initialize_gdb_module): Call
4445 gdbscm_initialize_pspaces.
4446 * guile/lib/gdb.scm: Export progspace symbols.
4447 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4448 support.
4449 (append-pretty-printer!): Ditto.
4450 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4451 Implement.
4452 * guile/scm-progspace.c: New file.
4453
4454 2014-06-03 Alan Modra <amodra@gmail.com>
4455
4456 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4457 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4458
4459 2014-06-02 Doug Evans <dje@google.com>
4460
4461 Add support for skeletonless type units.
4462 * dwarf2read.c (struct dwarf2_per_objfile): New member
4463 n_allocated_type_units.
4464 (struct dwarf2_per_objfile) <tu_stats>: New member
4465 nr_all_type_units_reallocs.
4466 (create_signatured_type_table_from_index): Initialize
4467 n_allocated_type_units
4468 (create_all_type_units): Ditto.
4469 (add_type_unit): Move up in file. New arg slot.
4470 All callers updated. Increase space for all_type_units more
4471 efficiently.
4472 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4473 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4474 (lookup_dwp_signatured_type): Ditto.
4475 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4476 All callers updated.
4477 (build_type_psymtabs_1): Leave type_unit_groups as
4478 NULL if no TUs present.
4479 (print_tu_stats): New function.
4480 (process_skeletonless_type_unit): New function.
4481 (process_dwo_file_for_skeletonless_type_units): New
4482 function.
4483 (process_skeletonless_type_units): New function.
4484 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4485 Call print tu_stats if debugging enabled.
4486
4487 2014-06-02 Pedro Alves <palves@redhat.com>
4488
4489 * breakpoint.c (build_target_command_list): Don't build a command
4490 list if we have any duplicate location that isn't a dprintf.
4491
4492 2014-06-02 Pedro Alves <palves@redhat.com>
4493
4494 * breakpoint.c (dprintf_breakpoint_hit): New function.
4495 (initialize_breakpoint_ops): Install it as dprintf's
4496 breakpoint_hit method.
4497
4498 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4499
4500 * source.c (substitute_path_rule_matches): Simplify using
4501 filename_ncmp instead of FILENAME_CMP.
4502
4503 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4504
4505 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4506
4507 2014-06-01 Ludovic Courtès <ludo@gnu.org>
4508
4509 * configure.ac: When Guile is available, check for the
4510 availability of 'scm_new_smob'.
4511 * configure, config.h.in: Regenerate.
4512 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4513 function.
4514
4515 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4516
4517 * frame.c (struct frame_info): Add stop_string field.
4518 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4519 (get_prev_frame_always): Old content moved into
4520 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4521 TRY_CATCH, handle MEMORY_ERROR exceptions.
4522 (frame_stop_reason_string): New function definition.
4523 * frame.h (unwind_stop_reason_to_string): Extend comment to
4524 mention frame_stop_reason_string.
4525 (frame_stop_reason_string): New function declaration.
4526 * stack.c (frame_info): Switch to frame_stop_reason_string.
4527 (backtrace_command_1): Switch to frame_stop_reason_string.
4528 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4529 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4530 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4531
4532 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4533
4534 * frame.c (frame_stop_reason_string): Rename to ...
4535 (unwind_stop_reason_to_string): this.
4536 * frame.h (frame_stop_reason_string): Rename to ...
4537 (unwind_stop_reason_to_string): this.
4538 * stack.c (frame_info): Update call to frame_stop_reason_string.
4539 (backtrace_command_1): Likewise.
4540 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4541 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4542
4543 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4544
4545 * frame.c (remove_prev_frame): New function.
4546 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4547 remove_prev_frame.
4548
4549 2014-05-29 Pedro Alves <palves@redhat.com>
4550
4551 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4552 and make it const. When a single-step decays to a continue,
4553 clear 'step', not 'hw_step'. Pass whether the caller wanted
4554 to step to user_visible_resume_ptid, not what we ask the
4555 target to do.
4556
4557 2014-05-29 Pedro Alves <palves@redhat.com>
4558
4559 * infrun.c (process_event_stop_test, handle_step_into_function)
4560 (handle_step_into_function_backward): Adjust.
4561 Don't set the even thread's stop_step and call stop_waiting before
4562 calling end_stepping_range. Instead do that ...
4563 (end_stepping_range): ... here. Take an ecs pointer parameter.
4564
4565 2014-05-29 Pedro Alves <palves@redhat.com>
4566
4567 * infrun.c (stop_stepping): Rename to ...
4568 (stop_waiting): ... this.
4569 (proceed): Update comment.
4570 (process_event_stop_test, handle_inferior_event)
4571 (handle_signal_stop, handle_step_into_function)
4572 (handle_step_into_function_backward): Update.
4573
4574 2014-05-29 Pedro Alves <palves@redhat.com>
4575
4576 * infcall.c (run_inferior_call): Don't check whether the current
4577 thread is running after the proceed call.
4578
4579 2014-05-29 Pedro Alves <palves@redhat.com>
4580 Tom Tromey <tromey@redhat.com>
4581
4582 * NEWS: Mention "maint set target-async", "set mi-async", and that
4583 background execution commands are now always available.
4584 * target.h (target_async_permitted): Update comment.
4585 * target.c (target_async_permitted, target_async_permitted_1):
4586 Default to 1.
4587 (set_target_async_command): Rename to ...
4588 (maint_set_target_async_command): ... this.
4589 (show_target_async_command): Rename to ...
4590 (maint_show_target_async_command): ... this.
4591 (_initialize_target): Adjust.
4592 * infcmd.c (prepare_execution_command): Make extern.
4593 * inferior.h (prepare_execution_command): Declare.
4594 * infrun.c (set_observer_mode): Leave target async alone.
4595 * mi/mi-interp.c (mi_interpreter_init): Install
4596 mi_on_sync_execution_done as sync_execution_done observer.
4597 (mi_on_sync_execution_done): New function.
4598 (mi_execute_command_input_handler): Don't print the prompt if we
4599 just started a synchronous command with an async target.
4600 (mi_on_resume): Check sync_execution before printing prompt.
4601 * mi/mi-main.h (mi_async_p): Declare.
4602 * mi/mi-main.c: Include gdbcmd.h.
4603 (mi_async_p): New function.
4604 (mi_async, mi_async_1): New globals.
4605 (set_mi_async_command, show_mi_async_command, mi_async): New
4606 functions.
4607 (exec_continue): Call prepare_execution_command.
4608 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4609 (mi_execute_async_cli_command): Use mi_async_p.
4610 (_initialize_mi_main): Install "set mi-async". Make
4611 "target-async" a deprecated alias.
4612
4613 2014-05-29 Pedro Alves <palves@redhat.com>
4614
4615 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4616 (_initialize_cli_interp): Adjust.
4617 * event-loop.c: Include "observer.h".
4618 (start_event_loop): Notify 'command_error' observers instead of
4619 calling display_gdb_prompt. Remove FIXME comment.
4620 * event-top.c (display_gdb_prompt): Remove call into the
4621 interpreters.
4622 * inf-loop.c: Include "observer.h".
4623 (inferior_event_handler): Notify 'command_error' observers instead
4624 of calling display_gdb_prompt.
4625 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4626 observers instead of calling display_gdb_prompt.
4627 * interps.c (interp_set): Don't call display_gdb_prompt.
4628 (current_interp_display_prompt_p): Delete.
4629 * interps.h (interp_prompt_p): Delete declaration.
4630 (interp_prompt_p_ftype): Delete.
4631 (struct interp_procs) <prompt_proc_p>: Delete field.
4632 (current_interp_display_prompt_p): Delete declaration.
4633 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4634 (_initialize_mi_interp): Adjust.
4635 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4636 'command_error' observers.
4637 (tui_on_sync_execution_done, tui_on_command_error): New
4638 functions.
4639 (tui_display_prompt_p): Delete.
4640 (_initialize_tui_interp): Adjust.
4641
4642 2014-05-29 Pedro Alves <palves@redhat.com>
4643
4644 PR gdb/13860
4645 * cli/cli-interp.c: Include infrun.h and observer.h.
4646 (cli_uiout, cli_interp): New globals.
4647 (cli_on_signal_received, cli_on_end_stepping_range)
4648 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4649 functions.
4650 (cli_interpreter_init): Install them as 'end_stepping_range',
4651 'signal_received' 'signal_exited', 'exited' and 'no_history'
4652 observers.
4653 (_initialize_cli_interp): Remove cli_interp local.
4654 * infrun.c (handle_inferior_event): Call the several stop reason
4655 observers instead of printing the stop reason directly.
4656 (end_stepping_range): New function.
4657 (print_end_stepping_range_reason, print_signal_exited_reason)
4658 (print_exited_reason, print_signal_received_reason)
4659 (print_no_history_reason): Make static, and add an uiout
4660 parameter. Print to that instead of to CURRENT_UIOUT.
4661 * infrun.h (print_end_stepping_range_reason)
4662 (print_signal_exited_reason, print_exited_reason)
4663 (print_signal_received_reason print_no_history_reason): New
4664 declarations.
4665 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4666 'mi_uiout'.
4667 <cli_uiout>: New field.
4668 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4669 uiout for CLI output. Install 'signal_received',
4670 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4671 observers.
4672 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4673 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4674 (mi_on_no_history): New functions.
4675 (ui_out_free_cleanup): Delete function.
4676 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4677 instead use the one already stored in the MI interpreter data.
4678 (mi_ui_out): Adjust.
4679 * tui/tui-interp.c: Include infrun.h and observer.h.
4680 (tui_interp): New global.
4681 (tui_on_signal_received, tui_on_end_stepping_range)
4682 (tui_on_signal_exited, tui_on_exited)
4683 (tui_on_no_history): New functions.
4684 (tui_init): Install them as 'end_stepping_range',
4685 'signal_received' 'signal_exited', 'exited' and 'no_history'
4686 observers.
4687 (_initialize_tui_interp): Delete tui_interp local.
4688
4689 2014-05-29 Pedro Alves <palves@redhat.com>
4690
4691 PR gdb/15713
4692 * linux-nat.c (linux_nat_resume_callback): Rename the second
4693 parameter to 'except'. Skip LP if it points to EXCEPT.
4694 (linux_nat_resume): Don't mark the event lwp as not stopped
4695 before resuming sibling lwps. Instead ask
4696 linux_nat_resume_callback to skip the event lwp. Mark it as not
4697 stopped after actually resuming it.
4698 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4699 resuming it.
4700 (wait_lwp): Mark the lwp as stopped here.
4701 (stop_wait_callback): Mark the lwp as not stopped right after
4702 resuming it. Don't mark lwps as stopped here.
4703 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4704 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4705
4706 2014-05-29 Pedro Alves <palves@redhat.com>
4707
4708 PR PR15693
4709 * infrun.c (resume): Determine how much to resume depending on
4710 whether the caller wanted a step, not whether we can hardware step
4711 the target. Mark all threads that we intend to run as running,
4712 unless we're calling an inferior function.
4713 (normal_stop): If the thread is running an infcall, don't finish
4714 thread state.
4715 * target.c (target_resume): Don't mark threads as running here.
4716
4717 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4718
4719 * serial.c (_initialize_serial): Remove support for
4720 the "set remotebaud" and "show remotebaud" commands.
4721 * NEWS: Add entry documenting the removal of that command.
4722
4723 2014-05-28 Yao Qi <yao@codesourcery.com>
4724
4725 * charset.c: Fix typo in comments.
4726
4727 2014-05-27 Gary Benson <gbenson@redhat.com>
4728
4729 * utils.c (internal_vproblem): Prompt for a bug report.
4730
4731 2014-05-26 Andy Wingo <wingo@igalia.com>
4732
4733 * guile/scm-arch.c (arscm_mark_arch_smob):
4734 * guile/scm-block.c (bkscm_mark_block_smob)
4735 (bkscm_mark_block_syms_progress_smob):
4736 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4737 * guile/scm-exception.c (exscm_mark_exception_smob):
4738 * guile/scm-frame.c (frscm_mark_frame_smob):
4739 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4740 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4741 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4742 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4743 (ppscm_mark_pretty_printer_worker_smob):
4744 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4745 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4746 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4747 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4748 mark functions.
4749 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4750 function.
4751
4752 2014-05-26 Andy Wingo <wingo@igalia.com>
4753 Doug Evans <xdje42@gmail.com>
4754
4755 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4756 empty_base_class. All uses updated.
4757 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4758 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4759 Adapt all callers.
4760 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4761 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4762 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4763 (gdbscm_gsmob_has_property_p, add_property_name)
4764 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4765 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4766 (gdb-object-has-property?, gdb-object-properties): Remove.
4767 (gdb-object-kind): Renamed from gsmob-kind.
4768
4769 2014-05-26 Andy Wingo <wingo@igalia.com>
4770
4771 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4772 * configure: Regenerate.
4773
4774 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4775
4776 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4777
4778 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4779
4780 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4781 (replay_memory_access_read_only, replay_memory_access_read_write)
4782 (replay_memory_access_types, replay_memory_access)
4783 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4784 (cmd_set_record_btrace, cmd_show_record_btrace)
4785 (cmd_show_replay_memory_access): New.
4786 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4787 (record_btrace_remove_breakpoint): Replace
4788 record_btrace_allow_memory_access with replay_memory_access.
4789 (_initialize_record_btrace): Add commands.
4790 * NEWS: Announce it.
4791
4792 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4793
4794 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4795
4796 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4797
4798 * MAINTAINERS (Write After Approval): Move self back from
4799 paper trail.
4800
4801 2014-05-22 Pedro Alves <palves@redhat.com>
4802
4803 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4804 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4805 (disable_randomization, enum exec_direction_kind)
4806 (execution_direction, stop_registers, start_remote)
4807 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4808 (wait_for_inferior, normal_stop, get_last_target_status)
4809 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4810 (insert_step_resume_breakpoint_at_sal)
4811 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4812 (set_step_info, print_stop_event, signal_stop_state)
4813 (signal_print_state, signal_pass_state, signal_stop_update)
4814 (signal_print_update, signal_pass_update)
4815 (update_signals_program_target, clear_exit_convenience_vars)
4816 (displaced_step_dump_bytes, update_observer_mode)
4817 (signal_catch_update, gdb_signal_from_command): Move
4818 declarations ...
4819 * infrun.h: ... to this new file.
4820 * amd64-tdep.c: Include infrun.h.
4821 * annotate.c: Include infrun.h.
4822 * arch-utils.c: Include infrun.h.
4823 * arm-linux-tdep.c: Include infrun.h.
4824 * arm-tdep.c: Include infrun.h.
4825 * break-catch-sig.c: Include infrun.h.
4826 * breakpoint.c: Include infrun.h.
4827 * common/agent.c: Include infrun.h instead of inferior.h.
4828 * corelow.c: Include infrun.h.
4829 * event-top.c: Include infrun.h.
4830 * go32-nat.c: Include infrun.h.
4831 * i386-tdep.c: Include infrun.h.
4832 * inf-loop.c: Include infrun.h.
4833 * infcall.c: Include infrun.h.
4834 * infcmd.c: Include infrun.h.
4835 * infrun.c: Include infrun.h.
4836 * linux-fork.c: Include infrun.h.
4837 * linux-nat.c: Include infrun.h.
4838 * linux-thread-db.c: Include infrun.h.
4839 * monitor.c: Include infrun.h.
4840 * nto-tdep.c: Include infrun.h.
4841 * procfs.c: Include infrun.h.
4842 * record-btrace.c: Include infrun.h.
4843 * record-full.c: Include infrun.h.
4844 * remote-m32r-sdi.c: Include infrun.h.
4845 * remote-mips.c: Include infrun.h.
4846 * remote-notif.c: Include infrun.h.
4847 * remote-sim.c: Include infrun.h.
4848 * remote.c: Include infrun.h.
4849 * reverse.c: Include infrun.h.
4850 * rs6000-tdep.c: Include infrun.h.
4851 * s390-linux-tdep.c: Include infrun.h.
4852 * solib-irix.c: Include infrun.h.
4853 * solib-osf.c: Include infrun.h.
4854 * solib-svr4.c: Include infrun.h.
4855 * target.c: Include infrun.h.
4856 * top.c: Include infrun.h.
4857 * windows-nat.c: Include infrun.h.
4858 * mi/mi-interp.c: Include infrun.h.
4859 * mi/mi-main.c: Include infrun.h.
4860 * python/py-threadevent.c: Include infrun.h.
4861
4862 2014-05-22 Pedro Alves <palves@redhat.com>
4863
4864 * infrun.c (handle_inferior_event): Store the exit code for
4865 --return-child-result here, instead of ...
4866 (print_exited_reason): ... here.
4867
4868 2014-05-21 Pedro Alves <palves@redhat.com>
4869
4870 PR gdb/13860
4871 * gdbthread.h (struct thread_control_state): New field
4872 `command_interp'.
4873 * infrun.c (follow_fork): Copy the new thread control field to the
4874 child fork thread.
4875 (clear_proceed_status_thread): Clear the new thread control field.
4876 (proceed): Set the new thread control field.
4877 * interps.h (command_interp): Declare.
4878 * interps.c (command_interpreter): New global.
4879 (command_interp): New function.
4880 (interp_exec): Set `command_interpreter' while here.
4881 * cli-out.c (cli_uiout_dtor): New function.
4882 (cli_ui_out_impl): Install it.
4883 * mi/mi-interp.c: Include cli-out.h.
4884 (mi_cmd_interpreter_exec): Add comment.
4885 (restore_current_uiout_cleanup): New function.
4886 (ui_out_free_cleanup): New function.
4887 (mi_on_normal_stop): If finishing an execution command started by
4888 a CLI command, or any kind of breakpoint-like event triggered,
4889 print the stop event to the output (CLI) stream.
4890 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4891
4892 2014-05-21 Pedro Alves <palves@redhat.com>
4893
4894 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4895 current source line having changed.
4896 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4897 * infrun.c (normal_stop): Adjust call to
4898 set_current_sal_from_frame.
4899 * source.c (clear_lines_listed_range): New function.
4900 (set_current_source_symtab_and_line, identify_source_line): Clear
4901 the lines listed range.
4902 (line_info): Handle the first "info line" after the current source
4903 line having changed.
4904 * stack.c (print_stack_frame): Remove center handling.
4905 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4906 center sal.line.
4907
4908 2014-05-21 Pedro Alves <palves@redhat.com>
4909
4910 * inf-child.c (inf_child_mourn_inferior): New function.
4911 * inf-child.h (inf_child_mourn_inferior): New declaration.
4912 * darwin-nat.c (darwin_mourn_inferior): Use
4913 inf_child_mourn_inferior.
4914 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4915 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4916 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4917 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4918 * windows-nat.c (windows_mourn_inferior): Likewise.
4919
4920 2014-05-21 Doug Evans <xdje42@gmail.com>
4921
4922 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4923
4924 2014-05-21 Doug Evans <xdje42@gmail.com>
4925
4926 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4927 (gdbscm_out_of_range_error): Ditto.
4928 (gdbscm_memory_error): Ditto.
4929 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4930 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4931 (gdbscm_out_of_range_error): Update.
4932 (gdbscm_memory_error): Update.
4933 (gdbscm_scm_to_target_string_unsafe): Delete.
4934
4935 2014-05-21 Pedro Alves <palves@redhat.com>
4936
4937 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4938 globals.
4939 (inf_child_open_target): New function.
4940 (inf_child_open): Use inf_child_open_target to push the target
4941 instead of erroring out.
4942 (inf_child_disconnect, inf_child_close)
4943 (inf_child_maybe_unpush_target): New functions.
4944 (inf_child_target): Install inf_child_disconnect and
4945 inf_child_close. Store a pointer to the returned object.
4946 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4947 declarations.
4948 * target.c (auto_connect_native_target): New global.
4949 (show_default_run_target): New function.
4950 (find_default_run_target): Return NULL if automatically connecting
4951 to the native target is disabled.
4952 (_initialize_target): Install set/show auto-connect-native-target.
4953 * NEWS: Mention "set auto-connect-native-target", and "target
4954 native".
4955 * linux-nat.c (super_close): New global.
4956 (linux_nat_close): Call super_close.
4957 (linux_nat_add_target): Store a pointer to the base class's
4958 to_close method.
4959 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4960 inf_child_maybe_unpush.
4961 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4962 already pushed.
4963 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4964 the inferior. Use inf_child_maybe_unpush_target.
4965 (inf_ttrace_attach): Don't push the target if it is already
4966 pushed.
4967 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4968 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4969 after mourning the inferior. Use inf_child_maybe_unpush_target.
4970 (darwin_attach_pid): Don't push the target if it is already
4971 pushed.
4972 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4973 mourning the inferior. Use inf_child_maybe_unpush_target.
4974 (gnu_detach): Use inf_child_maybe_unpush_target.
4975 * go32-nat.c (go32_create_inferior): Don't push the target if it
4976 is already pushed.
4977 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4978 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4979 (procfs_open): Rename to ...
4980 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4981 comments. Can target_preopen before changing node. Call
4982 inf_child_open_target to push the target explicitly.
4983 (procfs_attach): Don't push the target if it is already pushed.
4984 (procfs_detach): Use inf_child_maybe_unpush_target.
4985 (procfs_create_inferior): Don't push the target if it is already
4986 pushed.
4987 (nto_native_ops): New global.
4988 (procfs_open): Reimplement.
4989 (procfs_native_open): New function.
4990 (init_procfs_targets): Install procfs_native_open as to_open of
4991 "target native". Store a pointer to the "native" target in
4992 nto_native_ops.
4993 * procfs.c (procfs_attach): Don't push the target if it is already
4994 pushed.
4995 (procfs_detach): Use inf_child_maybe_unpush_target.
4996 (procfs_mourn_inferior): Only unpush the target after mourning the
4997 inferior. Use inf_child_maybe_unpush_target.
4998 (procfs_init_inferior): Don't push the target if it is already
4999 pushed.
5000 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5001 if it is already pushed.
5002
5003 2014-05-21 Pedro Alves <palves@redhat.com>
5004
5005 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5006 and "procfs" targets are now called "native" instead.
5007
5008 2014-05-21 Pedro Alves <palves@redhat.com>
5009
5010 * go32-nat.c (go32_open): Delete.
5011 (go32_target): Don't override the to_open method.
5012
5013 2014-05-21 Pedro Alves <palves@redhat.com>
5014
5015 * nto-procfs.c (procfs_can_run): New function.
5016 (nto_procfs_ops): New global.
5017 (init_procfs_targets): New, based on procfs_target. Install
5018 "target native" in addition to "target procfs".
5019 (_initialize_procfs): Call init_procfs_targets instead of adding
5020 the target here.
5021
5022 2014-05-21 Pedro Alves <palves@redhat.com>
5023
5024 * windows-nat.c (windows_target): Don't override to_shortname,
5025 to_longname or to_doc.
5026
5027 2014-05-21 Pedro Alves <palves@redhat.com>
5028
5029 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5030 to_doc.
5031
5032 2014-05-21 Pedro Alves <palves@redhat.com>
5033
5034 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5035 to_shortname, to_longname or to_doc.
5036
5037 2014-05-21 Pedro Alves <palves@redhat.com>
5038
5039 * go32-nat.c (go32_target): Don't override to_shortname,
5040 to_longname or to_doc.
5041
5042 2014-05-21 Pedro Alves <palves@redhat.com>
5043
5044 * inf-child.c (inf_child_open): Remove mention of "child".
5045 (inf_child_target): Rename target to "native" instead of "child".
5046
5047 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5048
5049 * Makefile.in (SFILES): Delete "regset.c".
5050 (COMMON_OBS): Delete "regset.o".
5051 * regset.c: Remove.
5052 * regset.h (regset_alloc): Delete prototype.
5053
5054 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5055
5056 * sparc-linux-tdep.c (sparc32_linux_gregset)
5057 (sparc32_linux_fpregset): New static regset structures.
5058 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5059 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5060 'fpregset' fields.
5061 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5062 (sparc64_linux_fpregset): New static regset structures.
5063 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5064 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5065 New static regset structures.
5066 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5067 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5068 New static regset structures.
5069 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5070 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5071 New static regset structures.
5072 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5073 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5074 New static regset structures.
5075 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5076
5077 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5078
5079 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5080 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5081 register maps ("regmaps") from "*regset" to "*regmap". Do this
5082 for all regmap types and variables.
5083 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5084 (sparc32_linux_supply_core_gregset)
5085 (sparc32_linux_collect_core_gregset)
5086 (sparc32_linux_supply_core_fpregset)
5087 (sparc32_linux_collect_core_fpregset): Likewise.
5088 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5089 (sparc_gregmap, sparc_fpregmap): ... these.
5090 (sparc_supply_gregset, sparc_collect_gregset)
5091 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5092 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5093 (_initialize_sparc_nat): Rename regmaps.
5094 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5095 (sparc_gregmap, sparc_fpregmap): ... these.
5096 (sparc_supply_gregset, sparc_collect_gregset)
5097 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5098 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5099 Rename macros to...
5100 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5101 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5102 Likewise.
5103 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5104 Rename to...
5105 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5106 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5107 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5108 regmaps.
5109 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5110 (sparc32_bsd_fpregset): Rename to...
5111 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5112 (sparc32_bsd_fpregmap): ... these.
5113 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5114 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5115 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5116 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5117 (struct sparc_gregmap, struct sparc_fpregmap)
5118 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5119 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5120 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5121 (sparc32_supply_regset, sparc32_collect_gregset)
5122 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5123 prototypes.
5124 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5125 (sparc64_linux_ptrace_gregmap): ... this.
5126 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5127 (_initialize_sparc64_linux_nat): Rename regmaps.
5128 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5129 (sparc64_linux_core_gregmap): ... this.
5130 (sparc64_linux_supply_core_gregset)
5131 (sparc64_linux_collect_core_gregset)
5132 (sparc64_linux_supply_core_fpregset)
5133 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5134 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5135 (sparc64_sol2_fpregset): Rename to...
5136 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5137 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5138 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5139 regmaps.
5140 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5141 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5142 (sparc64_bsd_fpregset): Rename to...
5143 (struct sparc_gregmap, sparc64_sol2_gregmap)
5144 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5145 (sparc64_bsd_fpregmap): ... these.
5146 (sparc64_supply_gregset, sparc64_collect_gregset)
5147 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5148 prototypes.
5149 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5150 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5151 (sparc64fbsd_gregmap): ... this.
5152 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5153 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5154 Rename regmaps.
5155 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5156 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5157 (sparc64nbsd_collect_fpregset): Likewise.
5158 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5159 (sparc64nbsd_gregmap): ... this.
5160 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5161 regmaps.
5162 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5163 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5164 (sparc64obsd_gregmap): ... this.
5165 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5166 regmaps.
5167 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5168 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5169 (sparc32nbsd_gregmap): ... this.
5170 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5171 regmaps.
5172
5173 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5174
5175 * score-tdep.c (score7_linux_gregset): New static regset
5176 structure.
5177 (score7_linux_regset_from_core_section): Remove dynamic regset
5178 allocation.
5179 (score_gdbarch_init): Drop allocation of tdep structure.
5180 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5181
5182 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5183
5184 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5185 regset structures.
5186 (am33_regset_from_core_section): Remove dynamic regset
5187 allocations.
5188
5189 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5190
5191 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5192 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5193 structures.
5194 (mips_linux_regset_from_core_section): Remove dynamic regset
5195 allocations.
5196 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5197 'gregset64', 'fpregset', and 'fpregset64'.
5198 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5199 deleted tdep fields.
5200
5201 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5202
5203 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5204 regset structures.
5205 (amd64_regset_from_core_section): Remove dynamic regset
5206 allocations.
5207 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5208 structure.
5209 (amd64obsd_regset_from_core_section): Remove dynamic regset
5210 allocation.
5211 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5212 Likewise.
5213 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5214 x86-common regset supply function.
5215 * i386-tdep.c (i386_collect_gregset): Make static.
5216 (i386_gregset): New global regset structure.
5217 (i386_fpregset, i386_xstateregset): New static regset structures.
5218 (i386_regset_from_core_section): Remove dynamic regset
5219 allocations.
5220 (i386_gdbarch_init): Remove initialization of tdep fields
5221 'gregset', 'fpregset', and 'xstateregset'.
5222 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5223 'fpregset', and 'xstateregset'.
5224 (i386_collect_gregset): Remove prototype.
5225 (i386_gregset): New declaration.
5226 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5227 structure.
5228 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5229 allocation.
5230
5231 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232
5233 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5234 (arm_linux_vfpregset): New static regset structures.
5235 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5236 regset structures.
5237 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5238 and 'vfpregset' fields.
5239
5240 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5241
5242 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5243 (aarch64_linux_fpregset): New static regset structures.
5244 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5245 of regset structures.
5246 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5247 'fpregset' fields.
5248
5249 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5250
5251 * regset.h (struct regset): Remove gdbarch field.
5252 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5253 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5254 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5255 Likewise.
5256 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5257 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5258 (ppc32_linux_vsxregset): Likewise.
5259 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5260 via the regcache instead of the regset.
5261 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5262 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5263 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5264 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5265 Likewise.
5266
5267 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5268
5269 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5270 Constify structures.
5271 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5272 (alphanbsd_aout_gregset): Likewise.
5273 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5274 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5275 Likewise.
5276 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5277 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5278 Likewise.
5279 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5280 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5281 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5282 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5283 * m88k-tdep.c (m88k_gregset): Likewise.
5284 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5285 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5286 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5287 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5288 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5289 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5290 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5291 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5292 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5293 Likewise.
5294 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5295 * sh-tdep.h (sh_corefile_gregset): Likewise.
5296 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5297 * vax-tdep.c (vax_gregset): Likewise.
5298
5299 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5300
5301 Fix TLS access for -static -pthread.
5302 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5303 (try_thread_db_load_1): Initialize it.
5304 (thread_db_get_thread_local_address): Call it if LM is zero.
5305 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5306 * target.h (struct target_ops) (to_get_thread_local_address): Add
5307 load_module_addr comment.
5308
5309 2014-05-21 Pedro Alves <palves@redhat.com>
5310
5311 * dcache.c (dcache_read_memory_partial): If reading the cache line
5312 fails, fallback to reading just the memory the caller wanted.
5313
5314 2014-05-20 Doug Evans <dje@google.com>
5315
5316 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5317 instead of get_current_arch.
5318
5319 2014-05-20 Pedro Alves <palves@redhat.com>
5320
5321 * NEWS: Mention that compare-sections now works with all targets.
5322
5323 * remote.c (PACKET_qCRC): New enum value.
5324 (remote_verify_memory): Don't send qCRC if the target has no
5325 execution. Use packet_support/packet_ok. If the target doesn't
5326 support the qCRC packet, fallback to a deep memory copy.
5327 (compare_sections_command): Say "target image" instead of "remote
5328 executable".
5329 (_initialize_remote): Add PACKET_qCRC to the list of config
5330 packets that have no associated command. Extend comment.
5331 * target.c (simple_verify_memory, default_verify_memory): New
5332 function.
5333 * target.h (struct target_ops) <to_verify_memory>: Default to
5334 default_verify_memory.
5335 (simple_verify_memory): New declaration.
5336 * target-delegates.c: Regenerate.
5337
5338 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5339
5340 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5341
5342 2014-05-20 Hui Zhu <hui@codesourcery.com>
5343 Yao Qi <yao@codesourcery.com>
5344
5345 PR backtrace/16558
5346 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5347 and change address of sp and pc.
5348
5349 2014-05-19 Tom Tromey <tromey@redhat.com>
5350
5351 * gdbtypes.c (rank_function): Use XNEWVEC.
5352 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5353
5354 2014-05-19 Doug Evans <dje@google.com>
5355
5356 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5357 build_type_unit_groups and moved closer to only caller. Remove
5358 arguments. All references updated. Remove outdated .gdb_index
5359 comment.
5360 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5361 build_type_psymtabs_1.
5362
5363 2014-05-19 Doug Evans <dje@google.com>
5364
5365 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5366 n_type_unit_groups, all_type_unit_groups. All uses removed.
5367 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5368 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5369 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5370 (add_type_unit_group_to_table): Delete.
5371
5372 2014-05-19 Doug Evans <dje@google.com>
5373
5374 * eval.c (evaluate_subexp_standard): Add some comments.
5375
5376 2014-05-17 Doug Evans <xdje42@gmail.com>
5377
5378 * progspace.c (remove_program_space): Delete, unused.
5379 * progspace.h (remove_program_space): Ditto.
5380
5381 2014-05-17 Doug Evans <xdje42@gmail.com>
5382
5383 * inferior.c (prune_inferiors): Fix comment.
5384 (remove_inferior_command): Call prune_program_spaces.
5385
5386 2014-05-16 Doug Evans <dje@google.com>
5387
5388 New command line option -D.
5389 * NEWS: Mention it.
5390 * main.c (set_gdb_data_directory): New function.
5391 (captured_main): Recognize -D. Flag error for --data-directory "".
5392 Call set_gdb_data_directory.
5393 (print_gdb_help): Print --data-directory, -D.
5394 * main.h (set_gdb_data_directory): Declare.
5395 * top.c (staged_gdb_datadir): New static global.
5396 (set_gdb_datadir): Call set_gdb_data_directory
5397 (show_gdb_datadir): New function.
5398 (init_main): Update init of data-directory parameter.
5399
5400 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5401
5402 Import the "dirfd" gnulib module.
5403 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5404 * gnulib/aclocal.m4: Update.
5405 * gnulib/config.in: Update.
5406 * gnulib/configure: Update.
5407 * gnulib/import/Makefile.am: Update.
5408 * gnulib/import/Makefile.in: Update.
5409 * gnulib/import/dirfd.c: New.
5410 * gnulib/import/m4/dirfd.m4: New.
5411 * gnulib/import/m4/gnulib-cache.m4: Update.
5412 * gnulib/import/m4/gnulib-comp.m4: Update.
5413
5414 2014-05-16 Pierre Muller <muller@sourceware.org>
5415 Yao Qi <yao@codesourcery.com>
5416
5417 * valprint.c (print_wchar): Move the code on checking whether
5418 W is a printable wide char to the default branch of switch
5419 statement below. Call wchar_printable instead of gdb_iswprint.
5420
5421 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5422
5423 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5424 ldr.w and ldrd instructions.
5425
5426 2014-05-15 Doug Evans <dje@google.com>
5427
5428 * dwarf2read.c (read_structure_type): Delete outdated comments.
5429
5430 2014-05-14 Tom Tromey <tromey@redhat.com>
5431
5432 * macrocmd.c (print_macro_definition): Reindent.
5433
5434 2014-05-13 Doug Evans <xdje42@gmail.com>
5435
5436 * python/py-cmd.c (cmdpy_completer): Add comment.
5437 (completers): Make const.
5438
5439 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5440
5441 * infrun.c (resume): Remove should_resume (unused). Move up
5442 declaration of resume_ptid.
5443
5444 2014-05-13 Tom Tromey <tromey@redhat.com>
5445
5446 * language.h (unop_type_check): Remove.
5447 (binop_type_check): Don't declare.
5448
5449 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5450
5451 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5452 call to regcache_raw_collect.
5453
5454 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5455
5456 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5457 mi_console->quote as the quoting character.
5458
5459 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5460
5461 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5462
5463 2014-04-29 Tom Tromey <tromey@redhat.com>
5464
5465 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5466 "show debug varobj".
5467
5468 2014-05-07 Kyle McMartin <kyle@redhat.com>
5469
5470 Pushed by Joel Brobecker <brobecker@adacore.com>.
5471 * aarch64-tdep.c (aarch64_software_single_step): New function.
5472 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5473 with aarch64_software_single_step.
5474
5475 2014-05-05 Joel Brobecker <brobecker@adacore.com>
5476
5477 GDB 7.7.1 released.
5478
5479 2014-05-05 Keith Seitz <keiths@redhat.com>
5480
5481 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5482 variable or history value is successfully parsed.
5483
5484 2014-05-05 Yao Qi <yao@codesourcery.com>
5485 Pedro Alves <palves@redhat.com>
5486
5487 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5488 address of blocks that intersects the requested range. Trim
5489 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5490 sections.
5491 * ctf.c (ctf_xfer_partial): Likewise.
5492
5493 2014-05-05 Yao Qi <yao@codesourcery.com>
5494
5495 * printcmd.c (display_command): Remove the check to
5496 target_has_execution.
5497
5498 2014-05-03 Mark Kettenis <kettenis@gnu.org>
5499
5500 * ppcobsd-nat.c: Include "obsd-nat.h".
5501 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5502 add_target.
5503 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5504
5505 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5506
5507 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5508 and 16-bit signed and unsigned arguments. Update comment.
5509 (stap_parse_probe_arguments): Extend code to handle such
5510 arguments. Use warning instead of complaint to notify about
5511 unrecognized bitness.
5512
5513 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5514
5515 PR breakpoints/16889
5516 * stap-probe.c (stap_parse_probe_arguments): Simplify
5517 check for non-prefixed probes (i.e., probes whose
5518 arguments do not start with "N@"). Always set the
5519 argument type to a sane value.
5520
5521 2014-05-01 David Taylor <dtaylor@emc.com>
5522
5523 * remote.c (compare_sections_command): Add -r option to compare
5524 all loadable read-only sections.
5525
5526 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5527
5528 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5529 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5530 Update all callers.
5531 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5532 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5533 Remove unused CORE_ADDR argument. Update all callers.
5534
5535 2014-04-29 Pedro Alves <palves@redhat.com>
5536
5537 * remote.c (struct packet_config) <detect>: Extend comment.
5538 (add_packet_config_cmd): Don't set the config's detect or support
5539 fields here.
5540 (init_all_packet_configs): Also initialize the config's 'detect'
5541 field.
5542 (reset_all_packet_configs_support): New function.
5543 (remote_open_1): Call reset_all_packet_configs_support instead of
5544 init_all_packet_configs.
5545 (_initialize_remote): Initialize all packet configs. Assert that
5546 all packets have an associated command, except a few known
5547 outliers.
5548
5549 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5550
5551 * dwarf2read.c (read_subrange_type): Handle dynamic
5552 DW_AT_lower_bound attributes.
5553
5554 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5555
5556 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5557 dynamic bounds before computing its upper bound.
5558 (ada_discrete_type_low_bound): Same as above with the lower bound.
5559
5560 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5561
5562 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5563 range types. Adjust the array handling implementation to
5564 take advantage of this change.
5565 (resolve_dynamic_range): New function, mostly extracted from
5566 resolve_dynamic_bounds.
5567 (resolve_dynamic_array): New function, mostly extracted from
5568 resolve_dynamic_bounds.
5569 (resolve_dynamic_bounds): Delete.
5570 (resolve_dynamic_type): Reimplement. Add handling of
5571 TYPE_CODE_RANGE types.
5572
5573 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5574
5575 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5576 handling of parallel ___XA types.
5577
5578 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5579
5580 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5581 unnecessary second call to static_unwrap_type.
5582
5583 2014-04-27 Hui Zhu <hui@codesourcery.com>
5584
5585 * stack.c (print_frame_info): Call do_gdb_disassembly with
5586 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5587
5588 2014-04-26 Doug Evans <xdje42@gmail.com>
5589
5590 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5591
5592 2014-04-25 Pedro Alves <palves@redhat.com>
5593
5594 PR server/16255
5595 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5596 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5597 and newline from built string.
5598 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5599 (linux_ptrace_attach_fail_reason): ... this.
5600 * linux-nat.c (linux_nat_attach): Adjust to use
5601 linux_ptrace_attach_fail_reason.
5602
5603 2014-04-25 Pedro Alves <palves@redhat.com>
5604
5605 * remote.c (struct remote_state): Remove multi_process_aware,
5606 non_stop_aware, cond_tracepoints, cond_breakpoints,
5607 breakpoint_commands, fast_tracepoints, static_tracepoints,
5608 install_in_trace, disconnected_tracing,
5609 enable_disable_tracepoints, string_tracing, and
5610 augmented_libraries_svr4_read fields.
5611 (remote_multi_process_p): Move further below in the file.
5612 (struct packet_config): Add comments.
5613 (update_packet_config): Delete function.
5614 (show_packet_config_cmd): Use packet_config_support.
5615 (add_packet_config_cmd): Use NULL as set callback.
5616 (packet_ok): "set remote foo-packet"-style commands no longer
5617 change config->supported -- adjust.
5618 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5619 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5620 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5621 (PACKET_QNonStop, PACKET_multiprocess_feature)
5622 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5623 (PACKET_DisconnectedTracing_feature)
5624 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5625 (set_remote_protocol_packet_cmd): Delete function.
5626 (packet_config_support, packet_support): New functions.
5627 (set_remote_protocol_Z_packet_cmd): Don't call
5628 update_packet_config.
5629 (remote_query_attached, remote_pass_signals)
5630 (remote_program_signals, remote_threads_info)
5631 (remote_threads_extra_info, remote_start_remote): Use
5632 packet_support.
5633 (remote_start_remote): Use packet_config_support and
5634 packet_support.
5635 (init_all_packet_configs): Set all packets to unknown support,
5636 instead of calling update_packet_config.
5637 (remote_check_symbols): Use packet_support.
5638 (remote_supported_packet): Unconditionally set the packet config's
5639 support status.
5640 (remote_multi_process_feature, remote_non_stop_feature)
5641 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5642 (remote_breakpoint_commands_feature)
5643 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5644 (remote_install_in_trace_feature)
5645 (remote_disconnected_tracing_feature)
5646 (remote_enable_disable_tracepoint_feature)
5647 (remote_string_tracing_feature)
5648 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5649 (remote_protocol_features): Adjust to use remote_supported_packet
5650 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5651 "ConditionalTracepoints", "ConditionalBreakpoints",
5652 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5653 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5654 "EnableDisableTracepoints", and "tracenz".
5655 (remote_query_supported): Use packet_support.
5656 (remote_open_1): Adjust.
5657 (extended_remote_attach_1): Use packet_support. Switch on the
5658 result of packet_ok instead of checking whether the packet ended
5659 up disabled.
5660 (remote_vcont_resume): Use packet_support.
5661 (remote_resume, remote_stop_ns, fetch_register_using_p)
5662 (remote_prepare_to_store, store_register_using_P)
5663 (check_binary_download, remote_write_bytes): Use packet_support.
5664 (remote_vkill): Use packet_support. Switch on the result of
5665 packet_ok instead of checking whether the packet ended up
5666 disabled.
5667 (extended_remote_supports_disable_randomization): Use
5668 packet_support.
5669 (extended_remote_run): Switch on the result of packet_ok instead
5670 of checking whether the packet ended up disabled.
5671 (remote_insert_breakpoint, remote_remove_breakpoint)
5672 (remote_insert_watchpoint, remote_remove_watchpoint)
5673 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5674 packet_support.
5675 (remote_search_memory): Use packet_config_support.
5676 (remote_get_thread_local_address, remote_get_tib_address)
5677 (remote_hostio_send_command, remote_can_execute_reverse): Use
5678 packet_support.
5679 (remote_supports_cond_tracepoints)
5680 (remote_supports_cond_breakpoints)
5681 (remote_supports_fast_tracepoints)
5682 (remote_supports_static_tracepoints)
5683 (remote_supports_install_in_trace)
5684 (remote_supports_enable_disable_tracepoint)
5685 (remote_supports_string_tracing)
5686 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5687 the packet config says the feature is enabled or disabled.
5688 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5689 (remote_get_trace_status): Use packet_support.
5690 (remote_set_disconnected_tracing): Adjust to check whether the
5691 feature is enabled with packet_support.
5692 (remote_set_trace_buffer_size, remote_use_agent)
5693 (remote_can_use_agent, remote_supports_btrace): Use
5694 packet_support.
5695 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5696 Use packet_config_support.
5697 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5698 the packet config says the feature is enabled or disabled.
5699 (set_range_stepping): Use packet_support.
5700
5701 2014-04-25 Tom Tromey <tromey@redhat.com>
5702
5703 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5704 argument.
5705
5706 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5707
5708 * NEWS: Mention support for C99 variable length arrays.
5709
5710 2014-04-24 Joel Brobecker <brobecker@adacore.com>
5711
5712 * ada-lang.c (standard_exc): Expand introductory comment.
5713
5714 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5715 Walfred Tedeschi <walfred.tedeschi@intel.com>
5716
5717 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5718 AVX512 registers.
5719 (amd64_linux_read_description): Add code to handle AVX512 xstate
5720 mask and return respective tdesc.
5721 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5722 and features/i386/x32-avx512-linux.c.
5723 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5724 (amd64_linux_core_read_description): Add code to handle AVX512
5725 xstate mask and return respective tdesc.
5726 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5727 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5728 calculation.
5729 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5730 (tdesc_amd64_avx512_linux): New prototype.
5731 (tdesc_x32_avx512_linux): Likewise.
5732 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5733 features/i386/x32-avx512.c.
5734 (amd64_ymm_avx512_names): New register names for pseudo
5735 registers YMM16-31.
5736 (amd64_ymmh_avx512_names): New register names for raw registers
5737 YMMH16-31.
5738 (amd64_k_names): New register names for K registers.
5739 (amd64_zmmh_names): New register names for ZMM raw registers.
5740 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5741 (amd64_xmm_avx512_names): New register names for XMM16-31
5742 registers.
5743 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5744 registers.
5745 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5746 if feature is present.
5747 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5748 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5749 (AMD64_NUM_REGS): Adjust to new number of registers.
5750 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5751 registers supplied via XSTATE by AVX512 registers.
5752 (i386_linux_read_description): Add case for AVX512.
5753 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5754 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5755 (i386_linux_core_read_description): Add case for AVX512.
5756 (i386_linux_init_abi): Install supported register note section
5757 for AVX512.
5758 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5759 AVX512.
5760 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5761 registers to be number of zmm7h + 1.
5762 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5763 * i386-tdep.c: Include features/i386/i386-avx512.c.
5764 (i386_zmm_names): Add ZMM pseudo register names array.
5765 (i386_zmmh_names): Add ZMM raw register names array.
5766 (i386_k_names): Add K raw register names array.
5767 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5768 registers. AVX512 has 16 more ZMM registers than there are YMM
5769 registers.
5770 (i386_zmmh_regnum_p): Add function to look up register number of
5771 ZMM raw registers.
5772 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5773 (i386_k_regnum_p): Likewise for K raw registers.
5774 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5775 registers added by AVX512.
5776 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5777 registers added by AVX512.
5778 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5779 added by AVX512.
5780 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5781 (i386_pseudo_register_name): Add ZMM pseudo registers.
5782 (i386_zmm_type): Construct and return vector registers type for ZMM
5783 registers.
5784 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5785 ZMM0-31 pseudo registers and K registers.
5786 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5787 and YMM16-31 registers from register cache.
5788 (i386_pseudo_register_write): Add code to write K, ZMM and
5789 YMM16-31 registers.
5790 (i386_register_reggroup_p): Add code to include/exclude AVX512
5791 registers in/from respective register groups.
5792 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5793 registers if feature is present in xcr0.
5794 (i386_gdbarch_init): Add code to initialize AVX512 feature
5795 variables in tdep structure, wire in pseudo registers and call
5796 initialize_tdesc_i386_avx512.
5797 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5798 variables.
5799 (i386_regnum): Add AVX512 registers.
5800 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5801 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5802 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5803 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5804 512 bits wide.
5805 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5806 (i386_ymm_avx512_regnum_p): Likewise.
5807 (i386_k_regnum_p): Likewise.
5808 (i386_zmm_regnum_p): Likewise.
5809 (i386_zmmh_regnum_p): Likewise.
5810 * i387-tdep.c : Update year in copyright notice.
5811 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5812 XSAVE buffer.
5813 (XSAVE_YMM_AVX512_ADDR): New macro.
5814 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5815 XSAVE buffer.
5816 (XSAVE_XMM_AVX512_ADDR): New macro.
5817 (xsave_avx512_k_offset): New table for K register offsets in
5818 XSAVE buffer.
5819 (XSAVE_AVX512_K_ADDR): New macro.
5820 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5821 in XSAVE buffer.
5822 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5823 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5824 buffer.
5825 (i387_collect_xsave): Add code to collect AVX512 registers from
5826 XSAVE buffer.
5827 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5828 of XMM16-31 registers.
5829 (I387_NUM_K_REGS): New define for number of K registers.
5830 (I387_K0_REGNUM): New define for K0 register number.
5831 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5832 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5833 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5834 registers.
5835 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5836 (I387_XMM16_REGNUM): New define for XMM16 register number.
5837 (I387_YMM0_REGNUM): New define for YMM0 register number.
5838 (I387_KEND_REGNUM): New define for last K register number.
5839 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5840 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5841 number.
5842 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5843 number.
5844 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5845 size.
5846 * features/Makefile: Add AVX512 related files.
5847 * features/i386/32bit-avx512.xml: New file.
5848 * features/i386/64bit-avx512.xml: Likewise.
5849 * features/i386/amd64-avx512-linux.c: Likewise.
5850 * features/i386/amd64-avx512-linux.xml: Likewise.
5851 * features/i386/amd64-avx512.c: Likewise.
5852 * features/i386/amd64-avx512.xml: Likewise.
5853 * features/i386/i386-avx512-linux.c: Likewise.
5854 * features/i386/i386-avx512-linux.xml: Likewise.
5855 * features/i386/i386-avx512.c: Likewise.
5856 * features/i386/i386-avx512.xml: Likewise.
5857 * features/i386/x32-avx512-linux.c: Likewise.
5858 * features/i386/x32-avx512-linux.xml: Likewise.
5859 * features/i386/x32-avx512.c: Likewise.
5860 * features/i386/x32-avx512.xml: Likewise.
5861 * regformats/i386/amd64-avx512-linux.dat: New file.
5862 * regformats/i386/amd64-avx512.dat: Likewise.
5863 * regformats/i386/i386-avx512-linux.dat: Likewise.
5864 * regformats/i386/i386-avx512.dat: Likewise.
5865 * regformats/i386/x32-avx512-linux.dat: Likewise.
5866 * regformats/i386/x32-avx512.dat: Likewise.
5867 * NEWS: Add note about new support for AVX512.
5868
5869
5870 2014-04-23 Pedro Alves <palves@redhat.com>
5871
5872 * breakpoint.c (insert_bp_location): Tolerate errors if the
5873 breakpoint is set in a user-loaded objfile.
5874 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5875 location is marked shlib_disabled. If the breakpoint is set in a
5876 user-loaded objfile is a GDB-side memory breakpoint, validate it
5877 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5878 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5879 flag.
5880 * mem-break.c (memory_validate_breakpoint): New function.
5881 * objfiles.c (userloaded_objfile_contains_address_p): New
5882 function.
5883 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5884 * target.h (memory_validate_breakpoint): New declaration.
5885
5886 2014-04-23 Pedro Alves <palves@redhat.com>
5887
5888 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5889 the breakpoint is set in a shared library, only suppress
5890 errors for software breakpoints, not hardware breakpoints.
5891
5892 2014-04-22 Pedro Alves <palves@redhat.com>
5893
5894 * infrun.c (schedlock_applies): New function, factored out from
5895 find_thread_needs_step_over.
5896 (find_thread_needs_step_over): Use it.
5897 (switch_back_to_stepped_thread): Always clear trap_expected if the
5898 step over is finished. Return early if scheduler locking applies.
5899 Look for the stepping thread and a potential step-over thread with
5900 a single loop.
5901 (currently_stepping_or_nexting_callback): Delete.
5902
5903 2014-04-22 Nick Clifton <nickc@redhat.com>
5904
5905 * NEWS: Mention that ARM sim now supports tracing.
5906
5907 2014-04-22 Yao Qi <yao@codesourcery.com>
5908
5909 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5910 to ...
5911 * tracefile.c (tracefile_fetch_registers): ... it. New
5912 function.
5913 * tracefile.h (tracefile_fetch_registers): Declare.
5914 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5915 tracefile_fetch_registers.
5916
5917 2014-04-19 Eli Zaretskii <eliz@gnu.org>
5918
5919 PR gdb/14018
5920 * windows-nat.c (thread_rec): Don't display a warning when
5921 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5922 fails for any reason, set th->suspended to -1, so that we don't
5923 try to resume such a thread. Also, don't return NULL in these
5924 cases, to avoid completely ruin the session due to "PC register is
5925 not available" error.
5926 (do_windows_fetch_inferior_registers): Check errors in
5927 GetThreadContext call.
5928 (windows_continue): Accept an additional argument KILLED; if not
5929 zero, ignore errors in the SetThreadContext call, since the
5930 inferior was killed and is shutting down.
5931 (windows_resume, get_windows_debug_event)
5932 (windows_create_inferior, windows_mourn_inferior)
5933 (windows_kill_inferior): All callers of windows_continue changed
5934 to adjust to its new calling sequence.
5935
5936 2014-04-19 Yao Qi <yao@codesourcery.com>
5937
5938 * ctf.c (ctf_open): Call post_create_inferior.
5939
5940 2014-04-19 Yao Qi <yao@codesourcery.com>
5941
5942 * ctf.c (handle_id): New static variable.
5943 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5944 value. Get the declaration of event "register" and get length
5945 of field "contents".
5946
5947 2014-04-19 Yao Qi <yao@codesourcery.com>
5948
5949 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5950
5951 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5952
5953 * valops.c (oload_method_static): Remove unnecessary argument
5954 METHOD. Update all callers.
5955
5956 2014-04-18 Pedro alves <palves@redhat.com>
5957 Tom Tromey <tromey@redhat.com>
5958
5959 PR backtrace/15558
5960 * frame.c (get_prev_frame_1): Rename to ...
5961 (get_prev_frame_always): ... this, and make extern. Adjust.
5962 (skip_artificial_frames): Use get_prev_frame_always.
5963 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5964 (get_frame_unwind_stop_reason): Adjust to rename.
5965 * frame.h (get_prev_frame_always): Declare.
5966 * inline-frame.c: Include frame.h.
5967 (inline_frame_this_id): Use get_prev_frame_always.
5968
5969 2014-04-18 Tristan Gingold <gingold@adacore.com>
5970
5971 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5972 code by using bfd_mach_o_get_base_address.
5973
5974 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5975
5976 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5977 (spu_ax_pseudo_register_collect): New function.
5978 (spu_ax_pseudo_register_push_stack): Likewise.
5979 (spu_dwarf_reg_to_regnum): Likewise.
5980 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5981
5982 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5983
5984 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5985 Replace FRAME argument with FRAME_ID.
5986 * gdbarch.c, gdbarch.h: Regenerate.
5987 * findvar.c (default_value_from_register): Add GDBARCH argument;
5988 replace FRAME by FRAME_ID. No longer call get_frame_id.
5989 (value_from_register): Update call to gdbarch_value_from_register.
5990 * value.h (default_value_from_register): Update prototype.
5991 * s390-linux-tdep.c (s390_value_from_register): Update interface
5992 and call to default_value_from_register.
5993 * spu-tdep.c (spu_value_from_register): Likewise.
5994
5995 * findvar.c (address_from_register): Remove TYPE argument.
5996 Do not call value_from_register; use gdbarch_value_from_register
5997 with null_frame_id instead.
5998 * value.h (address_from_register): Update prototype.
5999 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6000 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6001 address_from_register interface change.
6002
6003 2014-04-17 Yao Qi <yao@codesourcery.com>
6004
6005 * gdbtypes.h: Update comments to link to types and macros'
6006 definitions.
6007
6008 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6009
6010 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6011
6012 2014-04-16 Keith Seitz <keiths@redhat.com>
6013
6014 PR gdb/15827
6015 * dwarf2read.c (skip_one_die): Check that all relative-offset
6016 sibling DIEs fall within range of the current reader's buffer.
6017 (read_partial_die): Likewise.
6018
6019 2014-04-16 Keith Seitz <keiths@redhat.com>
6020
6021 PR c++/16597
6022 * cp-namespace.c (lookup_symbol_file): If the type name of
6023 `this' is NULL, return immediately.
6024
6025 2014-04-14 Keith Seitz <keiths@redhat.com>
6026
6027 PR c++/16253
6028 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6029 from symbol_matches_domain in symtab.c. All local callers
6030 of symbol_matches_domain updated.
6031 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6032 search STRUCT_DOMAIN.
6033 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6034 independently. standard_lookup will do that automatically.
6035 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6036 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6037 (cp_lookup_symbol_in_namespace): Likewise.
6038 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6039 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6040 may return a STRUCT_DOMAIN match.
6041 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6042 * cp-support.c: Include language.h.
6043 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6044 VAR_DOMAIN.
6045 * psymtab.c (match_partial_symbol): Compare the requested
6046 domain with the symbol's domain directly.
6047 (lookup_partial_symbol): Likewise.
6048 * symtab.c (lookup_symbol_in_language): Explain when/why
6049 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6050 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6051 appropriate languages.
6052 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6053 and moved to ada-lang.c
6054 (lookup_block_symbol): Explain that this function only returns
6055 symbol matching the requested DOMAIN.
6056 Compare the requested domain with the symbol's domain directly.
6057 (iterate_over_symbols): Compare the requested domain with the
6058 symbol's domain directly.
6059 * symtab.h (symbol_matches_domain): Remove.
6060
6061 2014-04-14 Tom Tromey <tromey@redhat.com>
6062
6063 PR c++/15246:
6064 * c-exp.y (type_aggregate_p): New function.
6065 (qualified_name, classify_inner_name): Use it.
6066 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6067 and TYPE_TARGET_TYPE of an enum type.
6068 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6069 an enum type.
6070 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6071 handle TYPE_DECLARED_CLASS.
6072 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6073 types.
6074 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6075 * valops.c (enum_constant_from_type): New function.
6076 (value_aggregate_elt): Use it.
6077 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6078 TYPE_CODE_ENUM.
6079
6080 2014-04-14 Tom Tromey <tromey@redhat.com>
6081
6082 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6083 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6084 const.
6085 * value.h (value_aggregate_elt): Update.
6086
6087 2014-04-14 Tom Tromey <tromey@redhat.com>
6088
6089 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6090
6091 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6092
6093 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6094 (evaluate_subexp_standard): Pass noside argument.
6095 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6096 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6097 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6098 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6099 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6100
6101 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6102
6103 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6104 points to a constant blob.
6105
6106 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6107
6108 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6109 property and store it as the high bound and flag the range accordingly.
6110 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6111 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6112 * gdbtypes.h (enum range_flags): New enum.
6113 (struct range_bounds): Add flags member.
6114
6115 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6116
6117 * c-typeprint.c (c_type_print_varspec_suffix): Added
6118 check for not yet resolved high bound. If unresolved, print
6119 "variable length" string to the console instead of random
6120 length.
6121
6122 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6123
6124 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6125 value.
6126 (ada_template_to_fixed_record_type_1): Likewise.
6127 (ada_to_fixed_type_1): Likewise.
6128 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6129 (cp_print_value): Likewise.
6130 * d-valprint.c (dynamic_array_type): Likewise.
6131 * findvar.c (address_of_variable): Likewise.
6132 * jv-valprint.c (java_value_print): Likewise.
6133 * valops.c (value_ind): Likewise.
6134 * value.c (coerce_ref): Likewise.
6135
6136 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6137
6138 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6139 value and retrieve the dynamic type size.
6140
6141 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6142
6143 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6144 passed to sizeof is dynamic evaluate the argument to compute the length.
6145
6146 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6147 Joel Brobecker <brobecker@adacore.com>
6148
6149 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6150 (dwarf2_evaluate_property): New function.
6151 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6152 * dwarf2read.c (attr_to_dynamic_prop): New function.
6153 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6154 attribute.
6155 * gdbtypes.c: Include dwarf2loc.h.
6156 (is_dynamic_type): New function.
6157 (resolve_dynamic_type): New function.
6158 (resolve_dynamic_bounds): New function.
6159 (get_type_length): New function.
6160 (check_typedef): Use get_type_length to compute type length.
6161 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6162 (TYPE_LOW_BOUND_KIND): New macro.
6163 (is_dynamic_type): New function prototype.
6164 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6165 to resolve dynamic properties of the type. Update comment.
6166 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6167
6168 2014-04-14 Richard Henderson <rth@redhat.com>
6169
6170 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6171
6172 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6173 Doug Evans <xdje42@gmail.com>
6174
6175 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6176 dereference TYPE_CODE_REF values.
6177
6178 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6179
6180 Revert the following changes due to regressions:
6181
6182 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6183 (dwarf2_evaluate_property): New function.
6184 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6185 * dwarf2read.c (attr_to_dynamic_prop): New function.
6186 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6187 attribute.
6188 * gdbtypes.c: Include dwarf2loc.h.
6189 (is_dynamic_type): New function.
6190 (resolve_dynamic_type): New function.
6191 (resolve_dynamic_bounds): New function.
6192 (get_type_length): New function.
6193 (check_typedef): Use get_type_length to compute type length.
6194 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6195 (TYPE_LOW_BOUND_KIND): New macro.
6196 (is_dynamic_type): New function prototype.
6197 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6198 to resolve dynamic properties of the type. Update comment.
6199 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6200
6201 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6202 passed to sizeof is dynamic evaluate the argument to compute the length.
6203
6204 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6205 value and retrieve the dynamic type size.
6206
6207 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6208 (ada_template_to_fixed_record_type_1): Likewise.
6209 (ada_to_fixed_type_1): Likewise.
6210 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6211 (cp_print_value): Likewise.
6212 * d-valprint.c (dynamic_array_type): Likewise.
6213 * eval.c (evaluate_subexp_with_coercion): Likewise.
6214 * findvar.c (address_of_variable): Likewise.
6215 * jv-valprint.c (java_value_print): Likewise.
6216 * valops.c (value_ind): Likewise.
6217 * value.c (coerce_ref): Likewise.
6218
6219 * c-typeprint.c (c_type_print_varspec_suffix): Added
6220 check for not yet resolved high bound. If unresolved, print
6221 "variable length" string to the console instead of random
6222 length.
6223
6224 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6225 property and store it as the high bound and flag the range accordingly.
6226 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6227 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6228 * gdbtypes.h (enum range_flags): New enum.
6229 (struct range_bounds): Add flags member.
6230
6231 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6232 points to a constant blob.
6233
6234 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6235 (evaluate_subexp_standard): Pass noside argument.
6236 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6237 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6238 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6239 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6240 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6241
6242 2014-04-11 Keith Seitz <keiths@redhat.com>
6243
6244 PR c++/16675
6245 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6246 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6247 reference types.
6248
6249 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6250
6251 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6252 (evaluate_subexp_standard): Pass noside argument.
6253 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6254 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6255 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6256 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6257 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6258
6259 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6260
6261 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6262 points to a constant blob.
6263
6264 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6265
6266 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6267 property and store it as the high bound and flag the range accordingly.
6268 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6269 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6270 * gdbtypes.h (enum range_flags): New enum.
6271 (struct range_bounds): Add flags member.
6272
6273 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6274
6275 * c-typeprint.c (c_type_print_varspec_suffix): Added
6276 check for not yet resolved high bound. If unresolved, print
6277 "variable length" string to the console instead of random
6278 length.
6279
6280 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6281
6282 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6283 (ada_template_to_fixed_record_type_1): Likewise.
6284 (ada_to_fixed_type_1): Likewise.
6285 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6286 (cp_print_value): Likewise.
6287 * d-valprint.c (dynamic_array_type): Likewise.
6288 * eval.c (evaluate_subexp_with_coercion): Likewise.
6289 * findvar.c (address_of_variable): Likewise.
6290 * jv-valprint.c (java_value_print): Likewise.
6291 * valops.c (value_ind): Likewise.
6292 * value.c (coerce_ref): Likewise.
6293
6294 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6295
6296 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6297 value and retrieve the dynamic type size.
6298
6299 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6300
6301 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6302 passed to sizeof is dynamic evaluate the argument to compute the length.
6303
6304 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6305
6306 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6307 (dwarf2_evaluate_property): New function.
6308 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6309 * dwarf2read.c (attr_to_dynamic_prop): New function.
6310 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6311 attribute.
6312 * gdbtypes.c: Include dwarf2loc.h.
6313 (is_dynamic_type): New function.
6314 (resolve_dynamic_type): New function.
6315 (resolve_dynamic_bounds): New function.
6316 (get_type_length): New function.
6317 (check_typedef): Use get_type_length to compute type length.
6318 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6319 (TYPE_LOW_BOUND_KIND): New macro.
6320 (is_dynamic_type): New function prototype.
6321 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6322 to resolve dynamic properties of the type. Update comment.
6323 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6324
6325 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6326
6327 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6328 declaring high/low bounds and change uses accordingly. Call
6329 create_range_type instead of create_static_range_type.
6330 * gdbtypes.c (create_range_type): New function.
6331 (create_range_type): Convert bounds into struct bound_prop and pass
6332 them to create_range_type.
6333 * gdbtypes.h (struct bound_prop): New struct.
6334 (create_range_type): New function prototype.
6335 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6336 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6337 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6338 part of the bound.
6339 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6340
6341 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6342
6343 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6344 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6345 * ada-lang.c: All uses of create_range_type updated.
6346 * coffread.c: All uses of create_range_type updated.
6347 * dwarf2read.c: All uses of create_range_type updated.
6348 * f-exp.y: All uses of create_range_type updated.
6349 * m2-valprint.c: All uses of create_range_type updated.
6350 * mdebugread.c: All uses of create_range_type updated.
6351 * stabsread.c: All uses of create_range_type updated.
6352 * valops.c: All uses of create_range_type updated.
6353 * valprint.c: All uses of create_range_type updated.
6354
6355 2014-04-10 Pedro Alves <palves@redhat.com>
6356
6357 * breakpoint.c (single_step_breakpoints)
6358 (single_step_gdbarch): Move up in the file.
6359 (one_breakpoint_xfer_memory): New function, factored out from ...
6360 (breakpoint_xfer_memory): ... here. Also process single-step
6361 breakpoints.
6362
6363 2014-04-09 Tristan Gingold <gingold@adacore.com>
6364
6365 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6366 comments.
6367 (darwin_decode_exception_message): Free port only after use.
6368
6369 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6370
6371 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6372 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6373 when setting the size of call_length.
6374
6375 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6376
6377 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6378 dereference TYPE_CODE_REF values.
6379
6380 2014-04-07 Joel Brobecker <brobecker@adacore.com>
6381
6382 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6383 end of warning message.
6384
6385 2014-04-03 Doug Evans <dje@google.com>
6386
6387 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6388 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6389
6390 2014-04-02 Alan Modra <amodra@gmail.com>
6391
6392 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6393 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6394 (struct symbol_file_add_from_memory_args): Add size field.
6395 (find_vdso_size): New function.
6396 (add_vsyscall_page): Attempt to find vdso size.
6397
6398 2014-04-01 Doug Evans <dje@google.com>
6399
6400 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6401
6402 2014-04-01 Tristan Gingold <gingold@adacore.com>
6403
6404 * darwin-nat.c (darwin_encode_reply): Add prototype.
6405 (darwin_decode_exception_message): Reply to unknown inferiors.
6406 (darwin_decode_message): Handle message by id. Ignore message
6407 to unknown inferior.
6408 (darwin_wait): Discard unknown messages, add debug trace.
6409
6410 2014-03-31 Doug Evans <dje@google.com>
6411
6412 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6413 comp_dir_string.
6414
6415 2014-03-31 Doug Evans <dje@google.com>
6416
6417 New option "set print symbol-loading".
6418 * NEWS: Mention it.
6419 * solib.c (solib_read_symbols): Only print symbol loading messages
6420 if requested.
6421 (solib_add): If symbol loading is in "brief" mode, notify user
6422 symbols are being loaded.
6423 (reload_shared_libraries_1): Ditto.
6424 * symfile.c (print_symbol_loading_off): New static global.
6425 (print_symbol_loading_brief): New static global.
6426 (print_symbol_loading_full): New static global.
6427 (print_symbol_loading_enums): New static global.
6428 (print_symbol_loading): New static global.
6429 (print_symbol_loading_p): New function.
6430 (symbol_file_add_with_addrs): Only print symbol loading messages
6431 if requested.
6432 (_initialize_symfile): Register "print symbol-loading" set/show
6433 command.
6434 * symfile.h (print_symbol_loading_p): Declare.
6435
6436 2014-03-30 Doug Evans <xdje42@gmail.com>
6437
6438 * infrun.c (set_last_target_status): New function.
6439 (handle_inferior_event): Call it.
6440
6441 2014-03-30 Doug Evans <xdje42@gmail.com>
6442
6443 * inferior.h (enum stop_kind): Improve comment.
6444
6445 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6446
6447 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6448 a reference, strip the reference layer before calling
6449 the lang_ops value_has_mutated callback.
6450
6451 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6452
6453 Remove some globals from our parser.
6454 * language.c (unk_lang_parser): Add "struct parser_state"
6455 argument.
6456 * language.h (struct language_defn) <la_parser>: Likewise.
6457 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6458 (initialize_expout): Add "struct parser_state" argument.
6459 Rewrite function to use the parser state.
6460 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6461 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6462 write_exp_elt_longcst, write_exp_elt_dblcst,
6463 write_exp_elt_decfloatcst, write_exp_elt_type,
6464 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6465 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6466 write_dollar_variable): Likewise.
6467 (parse_exp_in_context_1): Use parser state.
6468 (insert_type_address_space): Add "struct parser_state" argument.
6469 Use parser state.
6470 (increase_expout_size): New function.
6471 * parser-defs.h: Forward declare "struct language_defn" and
6472 "struct parser_state".
6473 (expout, expout_size, expout_ptr): Remove extern declarations.
6474 (parse_gdbarch, parse_language): Rewrite macro declarations to
6475 accept the parser state.
6476 (struct parser_state): New struct.
6477 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6478 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6479 write_exp_elt_decfloatcst, write_exp_elt_type,
6480 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6481 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6482 write_exp_msymbol, write_dollar_variable,
6483 mark_struct_expression, insert_type_address_space): Add "struct
6484 parser_state" argument.
6485 (increase_expout_size): New function.
6486 * utils.c (do_clear_parser_state): New function.
6487 (make_cleanup_clear_parser_state): Likewise.
6488 * utils.h (make_cleanup_clear_parser_state): New function
6489 prototype.
6490 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6491 Update calls to write_exp* in order to pass the parser state.
6492 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6493 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6494 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6495 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6496 * stap-probe.c (stap_parse_register_operand): Likewise.
6497 (stap_parse_single_operand): Likewise.
6498 (stap_parse_argument_1): Likewise.
6499 (stap_parse_argument): Use parser state.
6500 * stap-probe.h: Include "parser-defs.h".
6501 (struct stap_parse_info) <pstate>: New field.
6502 * c-exp.y (parse_type): Rewrite to use parser state.
6503 (yyparse): Redefine to c_parse_internal.
6504 (pstate): New global variable.
6505 (parse_number): Add "struct parser_state" argument.
6506 (write_destructor_name): Likewise.
6507 (type_exp): Update calls to write_exp* and similars in order to
6508 use parser state.
6509 (exp1, exp, variable, qualified_name, space_identifier,
6510 typename, typebase): Likewise.
6511 (write_destructor_name, parse_number, lex_one_token,
6512 classify_name, classify_inner_name, c_parse): Add "struct
6513 parser_state" argument. Update function to use parser state.
6514 * c-lang.h: Forward declare "struct parser_state".
6515 (c_parse): Add "struct parser_state" argument.
6516 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6517 (yyparse): Redefine macro to ada_parse_internal.
6518 (pstate): New variable.
6519 (write_int, write_object_renaming, write_var_or_type,
6520 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6521 type_int, type_long, type_long_long, type_float, type_double,
6522 type_long_double, type_char, type_boolean, type_system_address):
6523 Add "struct parser_state" argument.
6524 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6525 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6526 var_or_type, aggregate, aggregate_component_list,
6527 positional_list, others, component_group,
6528 component_associations): Update calls to write_exp* and similar
6529 functions in order to use parser state.
6530 (ada_parse, write_var_from_sym, write_int,
6531 write_exp_op_with_string, write_object_renaming,
6532 find_primitive_type, write_selectors, write_ambiguous_var,
6533 write_var_or_type, write_name_assoc, type_int, type_long,
6534 type_long_long, type_float, type_double, type_long_double,
6535 type_char, type_boolean, type_system_address): Add "struct
6536 parser_state" argument. Adjust function to use parser state.
6537 * ada-lang.c (parse): Likewise.
6538 * ada-lang.h: Forward declare "struct parser_state".
6539 (ada_parse): Add "struct parser_state" argument.
6540 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6541 calls to both functions.
6542 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6543 parser state.
6544 (yyparse): Redefine macro to f_parse_internal.
6545 (pstate): New variable.
6546 (parse_number): Add "struct parser_state" argument.
6547 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6548 and similars in order to use parser state.
6549 (parse_number): Adjust code to use parser state.
6550 (yylex): Likewise.
6551 (f_parse): New function.
6552 * f-lang.h: Forward declare "struct parser_state".
6553 (f_parse): Add "struct parser_state" argument.
6554 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6555 parser state.
6556 (yyparse): Redefine macro for java_parse_internal.
6557 (pstate): New variable.
6558 (push_expression_name, push_expression_name, insert_exp): Add
6559 "struct parser_state" argument.
6560 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6561 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6562 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6563 PostIncrementExpression, PostDecrementExpression,
6564 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6565 UnaryExpressionNotPlusMinus, CastExpression,
6566 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6567 RelationalExpression, EqualityExpression, AndExpression,
6568 ExclusiveOrExpression, InclusiveOrExpression,
6569 ConditionalAndExpression, ConditionalOrExpression,
6570 ConditionalExpression, Assignment, LeftHandSide): Update
6571 calls to write_exp* and similars in order to use parser state.
6572 (parse_number): Ajust code to use parser state.
6573 (yylex): Likewise.
6574 (java_parse): New function.
6575 (push_variable): Add "struct parser_state" argument. Adjust
6576 code to user parser state.
6577 (push_fieldnames, push_qualified_expression_name,
6578 push_expression_name, insert_exp): Likewise.
6579 * jv-lang.h: Forward declare "struct parser_state".
6580 (java_parse): Add "struct parser_state" argument.
6581 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6582 parser state.
6583 (yyparse): Redefine macro to m2_parse_internal.
6584 (pstate): New variable.
6585 (type_exp, exp, fblock, variable, type): Update calls to
6586 write_exp* and similars to use parser state.
6587 (yylex): Likewise.
6588 (m2_parse): New function.
6589 * m2-lang.h: Forward declare "struct parser_state".
6590 (m2_parse): Add "struct parser_state" argument.
6591 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6592 * objc-lang.h: Forward declare "struct parser_state".
6593 (end_msglist): Add "struct parser_state" argument.
6594 * p-exp.y (parse_type): Rewrite macro to use parser state.
6595 (yyparse): Redefine macro to pascal_parse_internal.
6596 (pstate): New variable.
6597 (parse_number): Add "struct parser_state" argument.
6598 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6599 write_exp* and similars in order to use parser state.
6600 (parse_number, yylex): Adjust code to use parser state.
6601 (pascal_parse): New function.
6602 * p-lang.h: Forward declare "struct parser_state".
6603 (pascal_parse): Add "struct parser_state" argument.
6604 * go-exp.y (parse_type): Rewrite macro to use parser state.
6605 (yyparse): Redefine macro to go_parse_internal.
6606 (pstate): New variable.
6607 (parse_number): Add "struct parser_state" argument.
6608 (type_exp, exp1, exp, variable, type): Update calls to
6609 write_exp* and similars in order to use parser state.
6610 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6611 to use parser state.
6612 (go_parse): Likewise.
6613 * go-lang.h: Forward declare "struct parser_state".
6614 (go_parse): Add "struct parser_state" argument.
6615
6616 2014-03-27 Doug Evans <dje@google.com>
6617
6618 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6619
6620 2014-03-27 Doug Evans <dje@google.com>
6621
6622 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6623 Remove argument abbrev_section. All callers updated.
6624
6625 2014-03-27 Doug Evans <dje@google.com>
6626
6627 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6628 addr_base, ranges_base.
6629
6630 2014-03-26 Keith Seitz <keiths@redhat.com>
6631
6632 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6633 types, not VAR_DOMAIN.
6634
6635 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6636
6637 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6638 "ra" registers.
6639 * features/nios2-linux.c: Regenerated.
6640 * features/nios2.c: Regenerated.
6641
6642 2014-03-25 Pedro Alves <palves@redhat.com>
6643
6644 * cli/cli-script.c (script_from_file): Force the interpreter to
6645 sync mode.
6646
6647 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6648
6649 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6650 small stack allocation.
6651
6652 2014-03-24 Tristan Gingold <gingold@adacore.com>
6653
6654 * darwin-nat.c (exc_server): Remove unused prototype.
6655 (darwin_dump_message): Correctly display data on x86_64.
6656 (darwin_encode_reply): Fix style.
6657 Add comments and fix indentation.
6658
6659 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6660
6661 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6662
6663 2014-03-22 Doug Evans <xdje42@gmail.com>
6664
6665 * infcmd.c: Whitespace fixes.
6666 (interrupt_command): Merge two function comments into one.
6667
6668 2014-03-22 Doug Evans <xdje42@gmail.com>
6669
6670 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6671 All uses updated.
6672
6673 2014-03-22 Yao Qi <yao@codesourcery.com>
6674
6675 * remote.c (target_read_live_memory): Remove.
6676 (memory_xfer_live_readonly_partial): Rename it to
6677 remote_xfer_live_readonly_partial. Remove argument 'object'.
6678 All callers updated. Call remote_read_bytes_1
6679 instead of target_read_live_memory.
6680 * tracepoint.c (set_traceframe_number): Remove.
6681 (make_cleanup_restore_traceframe_number): Likewise .
6682 * tracepoint.h (set_traceframe_number): Remove declaration.
6683 (make_cleanup_restore_traceframe_number): Likewise.
6684
6685 2014-03-22 Yao Qi <yao@codesourcery.com>
6686
6687 * remote.c (remote_read_bytes): Move code on reading from the
6688 remote stub to ...
6689 (remote_read_bytes_1): ... here. New function.
6690
6691 2014-03-22 Yao Qi <yao@codesourcery.com>
6692
6693 * ctf.c (ctf_xfer_partial): Check the return value of
6694 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6695 return TARGET_XFER_UNAVAILABLE.
6696 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6697 * target.c (target_read_live_memory): Move it to remote.c.
6698 (memory_xfer_live_readonly_partial): Likewise.
6699 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6700 * remote.c (target_read_live_memory): Moved from target.c.
6701 (memory_xfer_live_readonly_partial): Likewise.
6702 (remote_read_bytes): Factored out from
6703 memory_xfer_partial_1.
6704
6705 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6706
6707 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6708 NULL pointer.
6709
6710 2014-03-21 Pedro Alves <palves@redhat.com>
6711
6712 * infrun.c (normal_stop): Extend comment.
6713
6714 2014-03-21 Hui Zhu <hui@codesourcery.com>
6715 Pedro Alves <palves@redhat.com>
6716
6717 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6718 static buffer.
6719 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6720 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6721 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6722
6723 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6724
6725 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6726 `z' formatted output modifier.
6727
6728 2014-03-20 Tom Tromey <tromey@redhat.com>
6729 Sergio Durigan Junior <sergiodj@redhat.com>
6730
6731 * probe.c (parse_probes): Turn assert into an ordinary error.
6732 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6733 exceptions when parsing probes. Rearrange the code for clarity.
6734
6735 2014-03-20 Tom Tromey <tromey@redhat.com>
6736
6737 PR gdb/14135
6738 * top.c (execute_command): Only dispatch events if the command
6739 started the target.
6740
6741 2014-03-20 Tom Tromey <tromey@redhat.com>
6742
6743 PR cli/15718
6744 * infcall.c: Include event-top.h.
6745 (run_inferior_call): Call async_disable_stdin if needed.
6746
6747 2014-03-20 Pedro Alves <palves@redhat.com>
6748
6749 * infrun.c (prepare_to_proceed): Delete.
6750 (thread_still_needs_step_over): New function.
6751 (find_thread_needs_step_over): New function.
6752 (proceed): If the current thread needs a step-over, set its
6753 steping_over_breakpoint flag. Adjust to use
6754 find_thread_needs_step_over instead of prepare_to_proceed.
6755 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6756 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6757 breakpoint.
6758 (switch_back_to_stepped_thread): Step over breakpoints of all
6759 threads not the stepping thread, before switching back to the
6760 stepping thread.
6761
6762 2014-03-20 Pedro Alves <palves@redhat.com>
6763
6764 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6765 extern.
6766 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6767 * infrun.c (saved_singlestep_ptid)
6768 (stepping_past_singlestep_breakpoint): Delete.
6769 (resume): Remove stepping_past_singlestep_breakpoint handling.
6770 (proceed): Store the prev_pc of the stepping thread too.
6771 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6772 singlestep_pc.
6773 (enum infwait_states): Delete infwait_thread_hop_state.
6774 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6775 field.
6776 (handle_inferior_event): Adjust.
6777 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6778 handling and the thread-hop code. Before removing single-step
6779 breakpoints, check whether the thread hit a single-step breakpoint
6780 of another thread. If it did, the trap is not a random signal.
6781 (switch_back_to_stepped_thread): If the event thread hit a
6782 single-step breakpoint, unblock it before switching to the
6783 stepping thread. Handle the case of the stepped thread having
6784 advanced already.
6785 (keep_going): Handle the case of the current thread moving past a
6786 single-step breakpoint.
6787
6788 2014-03-20 Pedro Alves <palves@redhat.com>
6789
6790 PR breakpoints/7143
6791 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6792 are being stepped over.
6793 (breakpoint_address_match): Make extern.
6794 * breakpoint.h (breakpoint_address_match): New declaration.
6795 * inferior.h (stepping_past_instruction_at): New declaration.
6796 * infrun.c (struct step_over_info): New type.
6797 (step_over_info): New global.
6798 (set_step_over_info, clear_step_over_info)
6799 (stepping_past_instruction_at): New functions.
6800 (handle_inferior_event): Clear the step-over info when
6801 trap_expected is cleared.
6802 (resume): Remove now stale comment.
6803 (clear_proceed_status): Clear step-over info.
6804 (proceed): Adjust step-over handling to set or clear the step-over
6805 info instead of removing all breakpoints.
6806 (handle_signal_stop): When setting up a thread-hop, don't remove
6807 breakpoints here.
6808 (stop_stepping): Clear step-over info.
6809 (keep_going): Adjust step-over handling to set or clear step-over
6810 info and then always inserting breakpoints, instead of removing
6811 all breakpoints when stepping over one.
6812
6813 2014-03-20 Pedro Alves <palves@redhat.com>
6814
6815 * infrun.c (previous_inferior_ptid): Adjust comment.
6816 (deferred_step_ptid): Delete.
6817 (infrun_thread_ptid_changed, prepare_to_proceed)
6818 (init_wait_for_inferior): Adjust.
6819 (handle_signal_stop): Delete deferred_step_ptid handling.
6820
6821 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 PR gdb/15358
6824 * defs.h (sync_quit_force_run): New declaration.
6825 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6826 * event-top.c (async_sigterm_handler): New declaration.
6827 (async_sigterm_token): New variable.
6828 (async_init_signals): Create also async_sigterm_token.
6829 (async_sigterm_handler): New function.
6830 (sync_quit_force_run): New variable.
6831 (handle_sigterm): Replace quit_force call by other calls.
6832 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6833
6834 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6835
6836 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6837 offset into SPE pseudo registers.
6838
6839 2014-03-18 Pedro Alves <palves@redhat.com>
6840
6841 PR gdb/13860
6842 * inferior.h (print_stop_event): Declare.
6843 * infrun.c (print_stop_event): New, factored out from ...
6844 (normal_stop): ... this.
6845 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6846 of bpstat_print/print_stack_frame.
6847
6848 2014-03-17 Tom Tromey <tromey@redhat.com>
6849
6850 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6851
6852 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6853
6854 * ada-lang.c (decode_constrained_packed_array): Perform a
6855 minimal coercion for reference with coerce_ref instead of
6856 ada_coerce_ref.
6857
6858 2014-03-17 Tristan Gingold <gingold@adacore.com>
6859
6860 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6861 (darwin_solib_create_inferior_hook): Emit a warning if version
6862 is unhandled.
6863
6864 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6865
6866 * python/py-value.c (get_field_flag): Cast flag_name argument to
6867 PyObject_GetAttrString to support Python 2.4.
6868
6869 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6870
6871 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6872 (Global Maintainers): Remove Jan Kratochvil.
6873
6874 2014-03-14 Pedro Alves <palves@redhat.com>
6875
6876 * inferior.h (terminal_ours_for_output): Rename to ...
6877 (child_terminal_ours_for_output): ... this.
6878 (terminal_save_ours): Rename to ...
6879 (child_terminal_save_ours): ... this.
6880 (terminal_ours): Rename to ...
6881 (child_terminal_ours): ... this.
6882 (terminal_inferior): Rename to ...
6883 (child_terminal_inferior): ... this.
6884 (terminal_init_inferior): Rename to ...
6885 (child_terminal_init_inferior): ... this.
6886 (terminal_init_inferior_with_pgrp): Rename to ...
6887 (child_terminal_init_inferior_with_pgrp): ... this.
6888 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6889 (child_terminal_init_with_pgrp): ... this.
6890 (terminal_save_ours): Rename to ...
6891 (child_terminal_save_ours): ... this.
6892 (terminal_init_inferior): Rename to ...
6893 (child_terminal_init): ... this. Adjust.
6894 (terminal_inferior): Rename to ...
6895 (child_terminal_inferior): ... this.
6896 (terminal_ours_for_output): Rename to ...
6897 (child_terminal_ours_for_output): ... this. Adjust.
6898 (terminal_ours): Rename to ...
6899 (child_terminal_ours): ... this.
6900 (terminal_ours_1): Rename to ...
6901 (child_terminal_ours_1): ... this. Adjust.
6902 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6903 * windows-nat.c (do_initial_windows_stuff): Adjust.
6904 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6905 (gnu_terminal_init): ... this. Adjust.
6906 (gnu_target): Adjust.
6907 * inf-child.c (inf_child_target): Adjust.
6908
6909 2014-03-13 Doug Evans <xdje42@gmail.com>
6910
6911 PR guile/16612
6912 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6913 new eq?-hashtab.
6914
6915 2014-03-13 Doug Evans <xdje42@gmail.com>
6916
6917 * value.c (record_latest_value): Call release_value_or_incref
6918 instead of release_value.
6919
6920 2014-03-13 Pedro Alves <palves@redhat.com>
6921
6922 * procfs.c (procfs_target): Don't override to_shortname,
6923 to_longname or to_doc.
6924
6925 2014-03-13 Pedro Alves <palves@redhat.com>
6926
6927 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6928 Unix in user visible strings.
6929
6930 2014-03-12 Stan Shebs <stan@codesourcery.com>
6931
6932 * gdbtypes.h: Annotate comments for Doxygen, add a page
6933 block comment with some general info.
6934
6935 2014-03-12 Pedro Alves <palves@redhat.com>
6936
6937 * infcmd.c (prepare_execution_command): New function, factored out
6938 from several execution commands.
6939 (run_command_1, continue_command, step_1, jump_command)
6940 (signal_command, until_command, advance_command, finish_command)
6941 (attach_command): Use prepare_execution_command.
6942
6943 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
6944
6945 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6946 (MAX_BPTS): Define.
6947 (MAX_WPTS): Define.
6948 (struct arm_linux_thread_points): Removed.
6949 (struct arm_linux_process_info): New.
6950 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6951 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6952 (arm_linux_find_breakpoints_by_tid): Removed.
6953 (struct arch_lwp_info): New.
6954 (arm_linux_find_process_pid): New functions.
6955 (arm_linux_add_process): New functions.
6956 (arm_linux_process_info_get): New functions.
6957 (arm_linux_forget_process): New function.
6958 (arm_linux_get_debug_reg_state): New function.
6959 (struct update_registers_data): New.
6960 (update_registers_callback): New function.
6961 (arm_linux_insert_hw_breakpoint1): Updated.
6962 (arm_linux_remove_hw_breakpoint1): Updated.
6963 (arm_linux_insert_hw_breakpoint): Updated.
6964 (arm_linux_remove_hw_breakpoint): Updated.
6965 (arm_linux_insert_watchpoint): Updated.
6966 (arm_linux_remove_watchpoint): Updated.
6967 (arm_linux_new_thread): Updated.
6968 (arm_linux_prepare_to_resume): New function.
6969 (arm_linux_new_fork): New function.
6970 (_initialize_arm_linux_nat): Updated.
6971
6972 2014-03-12 Pedro Alves <palves@redhat.com>
6973
6974 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6975
6976 2014-03-12 Tom Tromey <tromey@redhat.com>
6977
6978 * inf-child.c (return_zero): New function.
6979 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6980 * aix-thread.c (aix_thread_inferior_created): New function.
6981 (aix_thread_attach): Remove.
6982 (init_aix_thread_ops): Don't set to_attach.
6983 (_initialize_aix_thread): Register inferior_created observer.
6984 * corelow.c (init_core_ops): Don't set to_attach or
6985 to_create_inferior.
6986 * exec.c (init_exec_ops): Don't set to_attach or
6987 to_create_inferior.
6988 * infcmd.c (run_command_1): Use find_run_target. Make direct
6989 target calls.
6990 (attach_command): Use find_attach_target. Make direct target
6991 calls.
6992 * record-btrace.c (init_record_btrace_ops): Don't set
6993 to_create_inferior.
6994 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6995 Remove.
6996 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6997 set to_create_inferior.
6998 * target.c (complete_target_initialization): Add assertion.
6999 (target_create_inferior): Remove.
7000 (find_default_attach, find_default_create_inferior): Remove.
7001 (find_attach_target, find_run_target): New functions.
7002 (find_default_is_async_p, find_default_can_async_p)
7003 (target_supports_non_stop, target_attach): Remove.
7004 (init_dummy_target): Don't set to_create_inferior or
7005 to_supports_non_stop.
7006 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7007 TARGET_DEFAULT_FUNC.
7008 <to_create_inferior>: Add comment.
7009 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7010 TARGET_DEFAULT_RETURN.
7011 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7012 (find_attach_target, find_run_target): Declare.
7013 (target_create_inferior): Remove.
7014 (target_has_execution_1): Update comment.
7015 (target_supports_non_stop): Remove.
7016 * target-delegates.c: Rebuild.
7017
7018 2014-03-12 Pedro Alves <palves@redhat.com>
7019
7020 * inf-child.h: Update comment to not mention Unix.
7021
7022 2014-03-12 Pedro Alves <palves@redhat.com>
7023
7024 * inf-child.c: Update top comment to not mention Unix. Add
7025 generic comment describing how this target is meant to be used.
7026 (inf_child_post_attach, inf_child_post_startup_inferior)
7027 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7028 Unix in comment.
7029
7030 2014-03-12 Pedro Alves <palves@redhat.com>
7031
7032 * nto-procfs.c: Include inf-child.h.
7033 (procfs_ops): Delete global.
7034 (procfs_can_run): Delete method.
7035 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7036 target pointer instead of referencing procfs_ops.
7037 (procfs_prepare_to_store): Delete.
7038 (init_procfs_ops): Delete function.
7039 (procfs_target): New function, based on init_procfs_ops, but
7040 inherit inf_child_target.
7041 (_initialize_procfs): Use procfs_target.
7042
7043 2014-03-12 Pedro Alves <palves@redhat.com>
7044
7045 * windows-nat.c: Include inf-child.h.
7046 (windows_ops): Delete global.
7047 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7048 methods.
7049 (init_windows_ops): Delete function.
7050 (windows_target): New function, based on init_windows_ops, but
7051 inherit inf_child_target.
7052 (_initialize_windows_nat): Use windows_target. Install x86
7053 specific target methods here.
7054
7055 2014-03-10 Doug Evans <xdje42@gmail.com>
7056
7057 * guile/guile.c (call_initialize_gdb_module): New function.
7058 (initialize_guile): Replace call to scm_init_guile with call to
7059 scm_with_guile.
7060
7061 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7062
7063 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7064 in call to TYPE_CODE macro.
7065
7066 2014-03-10 Jerome Guitton <guitton@adacore.com>
7067
7068 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7069 Resolve tagged types to full view.
7070
7071 2014-03-10 Hui Zhu <hui@codesourcery.com>
7072
7073 * target.h (target_insert_breakpoint): Remove "hardware" from its
7074 comments.
7075
7076 2014-03-07 Doug Evans <dje@google.com>
7077
7078 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7079
7080 2014-03-07 Doug Evans <dje@google.com>
7081
7082 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7083 Remove unused local comp_dir_attr. Assert exactly one of
7084 stub_comp_unit_die, stub_comp_dir is non-NULL.
7085
7086 2014-03-07 Joel Brobecker <brobecker@adacore.com>
7087
7088 * target.h (complete_target_initialization, add_target):
7089 Add comment.
7090
7091 2014-03-07 Pedro Alves <palves@redhat.com>
7092
7093 * go32-nat.c: Include inf-child.h.
7094 (go32_ops): Delete global.
7095 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7096 Delete methods.
7097 (go32_create_inferior): Push the passed in target pointer instead
7098 of referencing go32_ops.
7099 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7100 (go32_target): New function, based on init_go32_ops, but inherit
7101 inf_child_target.
7102 (_initialize_go32_nat): Use go32_target. Move parts of
7103 init_go32_ops here.
7104
7105 2014-03-06 Joel Brobecker <brobecker@adacore.com>
7106
7107 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7108 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7109 SYMBOL_VALUE_ADDRESS.
7110 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7111
7112 2014-03-06 Yao Qi <yao@codesourcery.com>
7113
7114 * breakpoint.c (get_tracepoint_by_number): Remove argument
7115 optional_p. All callers updated. Adjust comments. Update
7116 output message.
7117 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7118
7119 2014-03-06 Yao Qi <yao@codesourcery.com>
7120
7121 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7122 early if get_number returns zero. Use 'p' instead of 'args'.
7123
7124 2014-03-06 Yao Qi <yao@codesourcery.com>
7125
7126 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7127 message.
7128
7129 2014-03-06 Yao Qi <yao@codesourcery.com>
7130
7131 PR breakpoints/16508
7132 * tracepoint.c (check_trace_running): New function.
7133 (trace_find_command): Move code to check_trace_running and
7134 call check_trace_running.
7135 (trace_find_pc_command): Likewise.
7136 (trace_find_tracepoint_command): Likewise.
7137 (trace_find_line_command): Likewise.
7138 (trace_find_range_command): Likewise.
7139 * tracepoint.h (check_trace_running): Likewise.
7140 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7141
7142 2014-03-06 Yao Qi <yao@codesourcery.com>
7143
7144 * target.h (struct target_ops) <to_traceframe_info>: Use
7145 TARGET_DEFAULT_NORETURN (tcomplain ()).
7146 * target-delegates.c: Regenerated.
7147
7148 2014-03-05 Pedro Alves <palves@redhat.com>
7149
7150 PR gdb/16575
7151 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7152 void. Update comment.
7153 (dcache_xfer_memory): Delete.
7154 (dcache_read_memory_partial): New, based on the read bits of
7155 dcache_xfer_memory.
7156 (dcache_update): Add status parameter. Use ULONGEST for len, and
7157 adjust. Discard cache lines if the reason for the update was
7158 error.
7159 * dcache.h (dcache_xfer_memory): Delete declaration.
7160 (dcache_read_memory_partial): New declaration.
7161 (dcache_update): Update prototype.
7162 * target.c (raw_memory_xfer_partial): Update the dcache here.
7163 (memory_xfer_partial_1): Don't handle dcache writes here.
7164
7165 2014-03-05 Mike Frysinger <vapier@gentoo.org>
7166
7167 * remote-sim.c (gdbsim_load): Add const to prog.
7168
7169 2014-03-03 Tom Tromey <tromey@redhat.com>
7170
7171 * elfread.c (probe_key): Change to bfd_data.
7172 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7173 now per-BFD, not per-objfile.
7174 * stap-probe.c (stap_probe_destroy): Update comment.
7175 (handle_stap_probe): Allocate on the per-BFD obstack.
7176
7177 2014-03-03 Tom Tromey <tromey@redhat.com>
7178
7179 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7180 * breakpoint.c (create_longjmp_master_breakpoint): Use
7181 get_probe_address.
7182 (add_location_to_breakpoint, bkpt_probe_insert_location)
7183 (bkpt_probe_remove_location): Update.
7184 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7185 * elfread.c (elf_symfile_relocate_probe): Remove.
7186 (elf_probe_fns): Update.
7187 (insert_exception_resume_breakpoint): Change type of "probe"
7188 parameter to bound_probe.
7189 (check_exception_resume): Update.
7190 * objfiles.c (objfile_relocate1): Don't relocate probes.
7191 * probe.c (bound_probe_s): New typedef.
7192 (parse_probes): Use get_probe_address. Set sal's objfile.
7193 (find_probe_by_pc): Return a bound_probe.
7194 (collect_probes): Return a VEC(bound_probe_s).
7195 (compare_probes): Update.
7196 (gen_ui_out_table_header_info): Change type of "probes"
7197 parameter. Update.
7198 (info_probes_for_ops): Update.
7199 (get_probe_address): New function.
7200 (probe_safe_evaluate_at_pc): Update.
7201 * probe.h (struct probe_ops) <get_probe_address>: New field.
7202 <set_semaphore, clear_semaphore>: Add objfile parameter.
7203 (struct probe) <objfile>: Remove field.
7204 <arch>: New field.
7205 <address>: Update comment.
7206 (struct bound_probe): New.
7207 (find_probe_by_pc): Return a bound_probe.
7208 (get_probe_address): Declare.
7209 * solib-svr4.c (struct probe_and_action) <address>: New field.
7210 (hash_probe_and_action, equal_probe_and_action): Update.
7211 (register_solib_event_probe): Add address parameter.
7212 (solib_event_probe_at): Update.
7213 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7214 get_probe_address.
7215 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7216 (stap_get_probe_address): New function.
7217 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7218 (compile_probe_arg): Update.
7219 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7220 address.
7221 (handle_stap_probe): Don't relocate the probe.
7222 (stap_relocate): Remove.
7223 (stap_gen_info_probes_table_values): Update.
7224 (stap_probe_ops): Remove stap_relocate.
7225 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7226 (debug_sym_probe_fns): Update.
7227 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7228 * symtab.c (init_sal): Use memset.
7229 * symtab.h (struct symtab_and_line) <objfile>: New field.
7230 * tracepoint.c (start_tracing, stop_tracing): Update.
7231
7232 2014-03-03 Tom Tromey <tromey@redhat.com>
7233
7234 * probe.h (parse_probes, find_probe_by_pc)
7235 (find_probes_in_objfile): Fix comments.
7236
7237 2014-03-02 Doug Evans <xdje42@gmail.com>
7238
7239 * infrun.c (handle_signal_stop): Replace test for
7240 TARGET_WAITKIND_STOPPED with an assert.
7241
7242 2014-03-02 Doug Evans <xdje42@gmail.com>
7243
7244 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7245
7246 2014-03-02 Doug Evans <xdje42@gmail.com>
7247
7248 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7249
7250 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7251
7252 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7253
7254 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7255
7256 * i386obsd-nat.c: Include "obsd-nat.h".
7257 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7258 add_target.
7259 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7260
7261 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7262
7263 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7264
7265 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7266
7267 * mips64obsd-nat.c: Include "obsd-nath".
7268 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7269 add_target
7270 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7271
7272 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7273
7274 * amd64obsd-nat.c: Include "obsd-nat,h.
7275 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7276 add_target.
7277 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7278
7279 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7280
7281 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7282 (find_overload_match): Update call to find_oload_champ.
7283 (find_oload_champ_namespace_loop): Likewise
7284
7285 2014-02-28 Mark Kettenis <kettenis@gnu.org>
7286
7287 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7288
7289 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7290 * config/sparc/obsd64.mh: New file.
7291 * sparc64obsd-nat.c: New file.
7292
7293 * obsd-nat.h: New file.
7294 * obsd-nat.c: New file.
7295 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7296 (ALLDEPFILES): Add obsd-nat.c.
7297
7298 2014-02-28 Tom Tromey <tromey@redhat.com>
7299
7300 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7301 * cli-out.h (cli_ui_out_impl): Now const.
7302 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7303 * ui-out.c (struct ui_out) <impl>: Now const.
7304 (default_ui_out_impl): Now const.
7305 (ui_out_new): Make 'impl' parameter const.
7306 * ui-out.h (ui_out_new): Update.
7307
7308 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7309
7310 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7311
7312 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7313
7314 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7315
7316 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7317
7318 Additional PR 8882 fix.
7319 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7320
7321 2014-02-27 Pedro Alves <palves@redhat.com>
7322
7323 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7324 isn't set.
7325
7326 2014-02-27 Pedro Alves <palves@redhat.com>
7327
7328 PR 12702
7329 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7330 * nat/linux-waitpid.c: Include string.h.
7331 (status_to_str): Moved here and made extern.
7332 * nat/linux-waitpid.h (status_to_str): New declaration.
7333
7334 2014-02-27 Hui Zhu <hui@codesourcery.com>
7335
7336 PR 12702
7337 * infrun.c (ptid_match): Move ...
7338 * common/ptid.c (ptid_match): ... here.
7339 * inferior.h (ptid_match): Move ...
7340 * common/ptid.h (ptid_match): ... here.
7341
7342 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7343
7344 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7345 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7346 gdb_target_obs.
7347
7348 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7349
7350 * obsd-tdep.c (obsd_auxv_parse): New function.
7351 (obsd_init_abi): Set auxv_parse.
7352
7353 * gdbarch.sh (auxv_parse): New.
7354 * gdbarch.h: Regenerated.
7355 * gdbarch.c: Regenerated.
7356 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7357
7358 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7359
7360 * guile/scm-value.c (gdbscm_history_append_x): New function.
7361 (value_functions): Add it.
7362
7363 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7364
7365 * dwarf2read.c (attr_value_as_address): New function.
7366 (dwarf2_find_base_address, read_call_site_scope): Use
7367 attr_value_as_address in place of DW_ADDR.
7368 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7369 the low and high addresses. Slight rework of the handling
7370 of the high pc being a constant form, and limit it to
7371 DWARF verson 4 or higher.
7372 (dwarf2_record_block_ranges): Likewise.
7373 (read_partial_die): Likewise.
7374 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7375
7376 2014-02-26 Tom Tromey <tromey@redhat.com>
7377
7378 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7379
7380 2014-02-26 Tom Tromey <tromey@redhat.com>
7381
7382 * elfread.c (elf_read_minimal_symbols): Return early if
7383 minimal symbols have already been read. Add "ei" parameter.
7384 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7385 * minsyms.c (prim_record_minimal_symbol_full): Update.
7386 * objfiles.h (struct objstats) <n_minsyms>: Move...
7387 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7388 * symmisc.c (print_objfile_statistics): Update.
7389
7390 2014-02-26 Tom Tromey <tromey@redhat.com>
7391
7392 * elfread.c (elf_read_minimal_symbols): New function, from
7393 elf_symfile_read.
7394 (elf_symfile_read): Call it.
7395
7396 2014-02-26 Tom Tromey <tromey@redhat.com>
7397
7398 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7399 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7400 (lookup_minimal_symbol_solib_trampoline)
7401 (lookup_minimal_symbol_by_pc_section_1)
7402 (lookup_minimal_symbol_and_objfile): Update.
7403 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7404 Don't allocate a minimal symbol if minsyms have already been read.
7405 (build_minimal_symbol_hash_tables): Update.
7406 (install_minimal_symbols): Do nothing if minsyms already read.
7407 Use the per-BFD obstack.
7408 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7409 * objfiles.c (allocate_objfile): Call
7410 terminate_minimal_symbol_table later.
7411 (have_minimal_symbols): Update.
7412 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7413 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7414 Move from struct objfile.
7415 <minsyms_read>: New field.
7416 (struct objfile) <msymbols, minimal_symbol_count,
7417 msymbol_hash, msymbol_demangled_hash>: Move.
7418 (ALL_OBJFILE_MSYMBOLS): Update.
7419 * symfile.c (read_symbols): Set minsyms_read.
7420 (reread_symbols): Update.
7421 * symmisc.c (dump_objfile, dump_msymbols): Update.
7422
7423 2014-02-26 Tom Tromey <tromey@redhat.com>
7424
7425 * minsyms.c (msymbols_sort): Remove.
7426 * minsyms.h (msymbols_sort): Remove.
7427 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7428 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7429 * elfread.c (elf_symtab_read): Don't add section offsets.
7430 * xcoffread.c (record_minimal_symbol): Don't add section offset
7431 to minimal symbol address.
7432 * somread.c (text_offset, data_offset): Remove.
7433 (som_symtab_read): Don't add section offsets to minimal symbol
7434 addresses.
7435 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7436 Don't add section offsets to minimal symbols.
7437 * coffread.c (coff_symtab_read): Don't add section offsets
7438 to minimal symbol addresses.
7439 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7440 to minimal symbol addresses.
7441 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7442 section offset to minimal symbol addresses.
7443 * mdebugread.c (parse_partial_symbols): Don't add section
7444 offset to minimal symbol addresses.
7445 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7446 offset to minimal symbol addresses.
7447
7448 2014-02-26 Tom Tromey <tromey@redhat.com>
7449
7450 * ada-lang.c (ada_main_name): Update.
7451 (ada_add_standard_exceptions): Update.
7452 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7453 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7454 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7455 * auxv.c (ld_so_xfer_auxv): Update.
7456 * avr-tdep.c (avr_scan_prologue): Update.
7457 * ax-gdb.c (gen_var_ref): Update.
7458 * blockframe.c (get_pc_function_start)
7459 (find_pc_partial_function_gnu_ifunc): Update.
7460 * breakpoint.c (create_overlay_event_breakpoint)
7461 (create_longjmp_master_breakpoint)
7462 (create_std_terminate_master_breakpoint)
7463 (create_exception_master_breakpoint): Update.
7464 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7465 * c-valprint.c (c_val_print): Update.
7466 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7467 * common/agent.c (agent_look_up_symbols): Update.
7468 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7469 * dwarf2loc.c (call_site_to_target_addr): Update.
7470 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7471 * elfread.c (elf_gnu_ifunc_record_cache)
7472 (elf_gnu_ifunc_resolve_by_got): Update.
7473 * findvar.c (default_read_var_value): Update.
7474 * frame.c (inside_main_func): Update.
7475 * frv-tdep.c (frv_frame_this_id): Update.
7476 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7477 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7478 Update.
7479 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7480 (hppa_hpux_find_dummy_bpaddr): Update.
7481 * hppa-tdep.c (hppa_symbol_address): Update.
7482 * infcmd.c (until_next_command): Update.
7483 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7484 Update.
7485 * linespec.c (minsym_found, add_minsym): Update.
7486 * linux-nat.c (get_signo): Update.
7487 * linux-thread-db.c (inferior_has_bug): Update.
7488 * m32c-tdep.c (m32c_return_value)
7489 (m32c_m16c_address_to_pointer): Update.
7490 * m32r-tdep.c (m32r_frame_this_id): Update.
7491 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7492 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7493 * maint.c (maintenance_translate_address): Update.
7494 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7495 (frob_address): New function.
7496 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7497 frob_address. Rename parameter to "pc_in".
7498 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7499 addresses.
7500 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7501 Update.
7502 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7503 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7504 * objc-lang.c (find_objc_msgsend): Update.
7505 * objfiles.c (objfile_relocate1): Update.
7506 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7507 * p-valprint.c (pascal_val_print): Update.
7508 * parse.c (write_exp_msymbol): Update.
7509 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7510 (ppc_elfv2_skip_entrypoint): Update.
7511 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7512 * printcmd.c (build_address_symbolic, msym_info)
7513 (address_info): Update.
7514 * proc-service.c (ps_pglobal_lookup): Update.
7515 * psymtab.c (find_pc_sect_psymtab_closer)
7516 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7517 Change msymbol parameter to bound_minimal_symbol.
7518 * ravenscar-thread.c (get_running_thread_id): Update.
7519 * remote.c (remote_check_symbols): Update.
7520 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7521 address.
7522 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7523 * solib-dsbt.c (lm_base): Update.
7524 * solib-frv.c (lm_base, main_got): Update.
7525 * solib-irix.c (locate_base): Update.
7526 * solib-som.c (som_solib_create_inferior_hook)
7527 (link_map_start): Update.
7528 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7529 * solib-svr4.c (elf_locate_base, enable_break): Update.
7530 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7531 (flush_ea_cache): Update.
7532 * stabsread.c (define_symbol, scan_file_globals): Update.
7533 * stack.c (find_frame_funname): Update.
7534 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7535 (debug_qf_find_pc_sect_symtab): Update.
7536 * symfile.c (simple_read_overlay_table)
7537 (simple_overlay_update): Update.
7538 * symfile.h (struct quick_symbol_functions)
7539 <find_pc_sect_symtab>: Change type of msymbol to
7540 bound_minimal_symbol.
7541 * symmisc.c (dump_msymbols): Update.
7542 * symtab.c (find_pc_sect_symtab_via_partial)
7543 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7544 (search_symbols, print_msymbol_info): Update.
7545 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7546 (MSYMBOL_VALUE_ADDRESS): Redefine.
7547 (BMSYMBOL_VALUE_ADDRESS): New macro.
7548 * tracepoint.c (scope_info): Update.
7549 * tui/tui-disasm.c (tui_find_disassembly_address)
7550 (tui_get_begin_asm_address): Update.
7551 * valops.c (find_function_in_inferior): Update.
7552 * value.c (value_static_field, value_fn_field): Update.
7553
7554 2014-02-26 Tom Tromey <tromey@redhat.com>
7555
7556 * ada-lang.c (ada_update_initial_language): Update.
7557 (ada_main_name, ada_has_this_exception_support): Update.
7558 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7559 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7560 * arm-tdep.c (arm_skip_stub): Update.
7561 * auxv.c (ld_so_xfer_auxv): Update.
7562 * avr-tdep.c (avr_scan_prologue): Update.
7563 * ax-gdb.c (gen_var_ref): Update.
7564 * breakpoint.c (struct breakpoint_objfile_data)
7565 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7566 type to bound_minimal_symbol.
7567 (create_overlay_event_breakpoint)
7568 (create_longjmp_master_breakpoint)
7569 (create_std_terminate_master_breakpoint)
7570 (create_exception_master_breakpoint): Update.
7571 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7572 * c-exp.y (classify_name): Update.
7573 * coffread.c (coff_symfile_read): Update.
7574 * common/agent.c (agent_look_up_symbols): Update.
7575 * d-lang.c (d_main_name): Update.
7576 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7577 * dec-thread.c (enable_dec_thread): Update.
7578 * dwarf2loc.c (call_site_to_target_addr): Update.
7579 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7580 * eval.c (evaluate_subexp_standard): Update.
7581 * findvar.c (struct minsym_lookup_data) <result>: Change type
7582 to bound_minimal_symbol.
7583 <objfile>: Remove.
7584 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7585 * frame.c (inside_main_func): Update.
7586 * frv-tdep.c (frv_frame_this_id): Update.
7587 * gcore.c (call_target_sbrk): Update.
7588 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7589 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7590 Update.
7591 * go-lang.c (go_main_name): Update.
7592 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7593 (hppa_hpux_find_import_stub_for_addr): Update.
7594 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7595 Update. Change return type.
7596 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7597 type.
7598 * jit.c (jit_breakpoint_re_set_internal): Update.
7599 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7600 Update.
7601 * linux-nat.c (get_signo): Update.
7602 * linux-thread-db.c (inferior_has_bug): Update
7603 * m32c-tdep.c (m32c_return_value)
7604 (m32c_m16c_address_to_pointer): Update.
7605 * m32r-tdep.c (m32r_frame_this_id): Update.
7606 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7607 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7608 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7609 lookup_minimal_symbol. Change return type.
7610 (lookup_minimal_symbol): Remove.
7611 (lookup_bound_minimal_symbol): Update.
7612 (lookup_minimal_symbol_text): Change return type.
7613 (lookup_minimal_symbol_solib_trampoline): Change return type.
7614 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7615 (lookup_minimal_symbol_solib_trampoline): Change return type.
7616 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7617 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7618 (value_nsstring, find_imps): Update.
7619 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7620 * p-lang.c (pascal_main_name): Update.
7621 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7622 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7623 * proc-service.c (ps_pglobal_lookup): Update.
7624 * ravenscar-thread.c (get_running_thread_msymbol): Change
7625 return type.
7626 (has_ravenscar_runtime, get_running_thread_id): Update.
7627 * remote.c (remote_check_symbols): Update.
7628 * sol-thread.c (ps_pglobal_lookup): Update.
7629 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7630 * solib-dsbt.c (lm_base): Update.
7631 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7632 Update.
7633 * solib-irix.c (locate_base): Update.
7634 * solib-som.c (som_solib_create_inferior_hook)
7635 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7636 Update.
7637 * solib-spu.c (spu_enable_break): Update.
7638 * solib-svr4.c (elf_locate_base, enable_break): Update.
7639 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7640 (flush_ea_cache): Update.
7641 * stabsread.c (define_symbol): Update.
7642 * symfile.c (simple_read_overlay_table): Update.
7643 * symtab.c (find_pc_sect_line): Update.
7644 * tracepoint.c (scope_info): Update.
7645 * tui-disasm.c (tui_get_begin_asm_address): Update.
7646 * value.c (value_static_field): Update.
7647
7648 2014-02-26 Tom Tromey <tromey@redhat.com>
7649
7650 * minsyms.c (prim_record_minimal_symbol_full): Use
7651 SET_MSYMBOL_VALUE_ADDRESS.
7652 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7653 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7654 SET_MSYMBOL_VALUE_ADDRESS.
7655 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7656 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7657
7658 2014-02-26 Tom Tromey <tromey@redhat.com>
7659
7660 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7661 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7662 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7663 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7664 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7665 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7666 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7667 * ada-lang.c (ada_main_name): Update.
7668 (ada_lookup_simple_minsym): Update.
7669 (ada_make_symbol_completion_list): Update.
7670 (ada_add_standard_exceptions): Update.
7671 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7672 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7673 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7674 * arm-tdep.c (skip_prologue_function): Update.
7675 (arm_skip_stack_protector, arm_skip_stub): Update.
7676 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7677 (arm_wince_skip_main_prologue): Update.
7678 * auxv.c (ld_so_xfer_auxv): Update.
7679 * avr-tdep.c (avr_scan_prologue): Update.
7680 * ax-gdb.c (gen_var_ref): Update.
7681 * block.c (call_site_for_pc): Update.
7682 * blockframe.c (get_pc_function_start): Update.
7683 (find_pc_partial_function_gnu_ifunc): Update.
7684 * breakpoint.c (create_overlay_event_breakpoint): Update.
7685 (create_longjmp_master_breakpoint): Update.
7686 (create_std_terminate_master_breakpoint): Update.
7687 (create_exception_master_breakpoint): Update.
7688 (resolve_sal_pc): Update.
7689 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7690 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7691 Update.
7692 * c-valprint.c (c_val_print): Update.
7693 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7694 * coffread.c (coff_symfile_read): Update.
7695 * common/agent.c (agent_look_up_symbols): Update.
7696 * dbxread.c (find_stab_function_addr): Update.
7697 (end_psymtab): Update.
7698 * dwarf2loc.c (call_site_to_target_addr): Update.
7699 (func_verify_no_selftailcall): Update.
7700 (tailcall_dump): Update.
7701 (call_site_find_chain_1): Update.
7702 (dwarf_expr_reg_to_entry_parameter): Update.
7703 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7704 (elf_gnu_ifunc_resolve_by_got): Update.
7705 * f-valprint.c (info_common_command): Update.
7706 * findvar.c (read_var_value): Update.
7707 * frame.c (get_prev_frame_1): Update.
7708 (inside_main_func): Update.
7709 * frv-tdep.c (frv_skip_main_prologue): Update.
7710 (frv_frame_this_id): Update.
7711 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7712 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7713 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7714 (gnuv3_skip_trampoline): Update.
7715 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7716 (hppa64_hpux_in_solib_call_trampoline): Update.
7717 (hppa_hpux_skip_trampoline_code): Update.
7718 (hppa64_hpux_search_dummy_call_sequence): Update.
7719 (hppa_hpux_find_import_stub_for_addr): Update.
7720 (hppa_hpux_find_dummy_bpaddr): Update.
7721 * hppa-tdep.c (hppa_symbol_address)
7722 (hppa_lookup_stub_minimal_symbol): Update.
7723 * i386-tdep.c (i386_skip_main_prologue): Update.
7724 (i386_pe_skip_trampoline_code): Update.
7725 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7726 * infcall.c (get_function_name): Update.
7727 * infcmd.c (until_next_command): Update.
7728 * jit.c (jit_breakpoint_re_set_internal): Update.
7729 (jit_inferior_init): Update.
7730 * linespec.c (minsym_found): Update.
7731 (add_minsym): Update.
7732 * linux-fork.c (info_checkpoints_command): Update.
7733 * linux-nat.c (get_signo): Update.
7734 * linux-thread-db.c (inferior_has_bug): Update.
7735 * m32c-tdep.c (m32c_return_value): Update.
7736 (m32c_m16c_address_to_pointer): Update.
7737 (m32c_m16c_pointer_to_address): Update.
7738 * m32r-tdep.c (m32r_frame_this_id): Update.
7739 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7740 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7741 * maint.c (maintenance_translate_address): Update.
7742 * minsyms.c (add_minsym_to_hash_table): Update.
7743 (add_minsym_to_demangled_hash_table): Update.
7744 (msymbol_objfile): Update.
7745 (lookup_minimal_symbol): Update.
7746 (iterate_over_minimal_symbols): Update.
7747 (lookup_minimal_symbol_text): Update.
7748 (lookup_minimal_symbol_by_pc_name): Update.
7749 (lookup_minimal_symbol_solib_trampoline): Update.
7750 (lookup_minimal_symbol_by_pc_section_1): Update.
7751 (lookup_minimal_symbol_and_objfile): Update.
7752 (prim_record_minimal_symbol_full): Update.
7753 (compare_minimal_symbols): Update.
7754 (compact_minimal_symbols): Update.
7755 (build_minimal_symbol_hash_tables): Update.
7756 (install_minimal_symbols): Update.
7757 (terminate_minimal_symbol_table): Update.
7758 (find_solib_trampoline_target): Update.
7759 (minimal_symbol_upper_bound): Update.
7760 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7761 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7762 (mips_skip_pic_trampoline_code): Update.
7763 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7764 * objc-lang.c (selectors_info): Update.
7765 (classes_info): Update.
7766 (find_methods): Update.
7767 (find_imps): Update.
7768 (find_objc_msgsend): Update.
7769 * objfiles.c (objfile_relocate1): Update.
7770 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7771 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7772 * p-valprint.c (pascal_val_print): Update.
7773 * parse.c (write_exp_msymbol): Update.
7774 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7775 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7776 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7777 * printcmd.c (build_address_symbolic): Update.
7778 (sym_info): Update.
7779 (address_info): Update.
7780 * proc-service.c (ps_pglobal_lookup): Update.
7781 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7782 (find_pc_sect_psymtab): Update.
7783 * python/py-framefilter.c (py_print_frame): Update.
7784 * ravenscar-thread.c (get_running_thread_id): Update.
7785 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7786 Update.
7787 * remote.c (remote_check_symbols): Update.
7788 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7789 (rs6000_skip_trampoline_code): Update.
7790 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7791 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7792 * solib-dsbt.c (lm_base): Update.
7793 * solib-frv.c (lm_base): Update.
7794 (main_got): Update.
7795 * solib-irix.c (locate_base): Update.
7796 * solib-som.c (som_solib_create_inferior_hook): Update.
7797 (som_solib_desire_dynamic_linker_symbols): Update.
7798 (link_map_start): Update.
7799 * solib-spu.c (spu_enable_break): Update.
7800 (ocl_enable_break): Update.
7801 * solib-svr4.c (elf_locate_base): Update.
7802 (enable_break): Update.
7803 * spu-tdep.c (spu_get_overlay_table): Update.
7804 (spu_catch_start): Update.
7805 (flush_ea_cache): Update.
7806 * stabsread.c (define_symbol): Update.
7807 (scan_file_globals): Update.
7808 * stack.c (find_frame_funname): Update.
7809 (frame_info): Update.
7810 * symfile.c (simple_read_overlay_table): Update.
7811 (simple_overlay_update): Update.
7812 * symmisc.c (dump_msymbols): Update.
7813 * symtab.c (fixup_section): Update.
7814 (find_pc_sect_line): Update.
7815 (skip_prologue_sal): Update.
7816 (search_symbols): Update.
7817 (print_msymbol_info): Update.
7818 (rbreak_command): Update.
7819 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7820 (completion_list_objc_symbol): Update.
7821 (default_make_symbol_completion_list_break_on): Update.
7822 * tracepoint.c (scope_info): Update.
7823 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7824 (tui_get_begin_asm_address): Update.
7825 * valops.c (find_function_in_inferior): Update.
7826 * value.c (value_static_field): Update.
7827 (value_fn_field): Update.
7828
7829 2014-02-26 Tom Tromey <tromey@redhat.com>
7830
7831 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7832 bound minimal symbols. Move code that knows about minsym
7833 table layout...
7834 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7835 function.
7836 * minsyms.h (minimal_symbol_upper_bound): Declare.
7837 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7838 minimal_symbol_upper_bound.
7839
7840 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7841
7842 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7843 Use the type's name if its basic type does not have a tag.
7844
7845 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7846
7847 * dwarf2read.c (read_subrange_type): Add comment.
7848
7849 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7850
7851 * dwarf2read.c (update_enumeration_type_from_children): New
7852 function, mostly extracted from process_structure_scope.
7853 (read_enumeration_type): Call update_enumeration_type_from_children.
7854 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7855 and flag_flag_enum fields.
7856
7857 2014-02-26 Pedro Alves <palves@redhat.com>
7858
7859 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7860 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7861 to_xfer_partial method.
7862
7863 2014-02-26 Pedro Alves <palves@redhat.com>
7864
7865 * target.c (complete_target_initialization): Don't install
7866 default_xfer_partial as to_xfer_partial hook.
7867 (nomemory): Delete.
7868 (update_current_target): Don't INHERIT nor de_fault
7869 deprecated_xfer_memory. Delete de_fault macro.
7870 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7871 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7872 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7873 field.
7874
7875 2014-02-26 Pedro Alves <palves@redhat.com>
7876
7877 * go32-nat.c (my_write_child): New function.
7878 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7879 (go32_xfer_partial): New function.
7880 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7881 Instead install a to_xfer_partial hook.
7882
7883 2014-02-26 Pedro Alves <palves@redhat.com>
7884
7885 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7886 to_xfer_partial helper. Rewrite.
7887 (procfs_xfer_partial): New function.
7888 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7889 Install a to_xfer_partial hook.
7890
7891 2014-02-26 Pedro Alves <palves@redhat.com>
7892
7893 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7894 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7895 (m32r_xfer_partial): New function.
7896 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7897 Install a to_xfer_partial hook.
7898
7899 2014-02-26 Pedro Alves <palves@redhat.com>
7900
7901 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7902 helper.
7903 (mips_xfer_partial): New function.
7904 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7905 hook. Install a to_xfer_partial hook.
7906
7907 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7908
7909 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7910 * gdbtypes.c (create_array_type_with_stride): New function,
7911 renaming create_array_type, but with an added parameter
7912 called "bit_stride".
7913 (create_array_type): Re-implement using
7914 create_array_type_with_stride.
7915 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7916 and DW_AT_bit_stride attributes.
7917
7918 2014-02-26 Pedro Alves <palves@redhat.com>
7919
7920 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7921 task-specific breakpoints.
7922
7923 2014-02-25 Pedro Alves <palves@redhat.com>
7924
7925 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7926 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7927
7928 2014-02-25 Stan Shebs <stan@codesourcery.com>
7929
7930 * defs.h: Annotate comments for Doxygen.
7931
7932 2014-02-25 Tom Tromey <tromey@redhat.com>
7933
7934 * target.h (target_ignore): Don't declare.
7935 * target.c (target_ignore): Remove.
7936
7937 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7938
7939 PR gdb/16626
7940 * auto-load.c (auto_load_objfile_script_1): Change filename to
7941 debugfile.
7942
7943 2014-02-25 Joel Brobecker <brobecker@adacore.com>
7944
7945 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7946 documentation. Adjust prototype to match the target_ops
7947 to_xfer_partial method. Adjust implementation accordingly.
7948
7949 2014-02-25 Hui Zhu <hui@codesourcery.com>
7950
7951 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7952 to_traceframe_info.
7953
7954 2014-02-25 Kevin Buettner <kevinb@redhat.com>
7955
7956 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7957 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7958 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7959 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7960 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7961 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7962 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7963 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7964 New constants.
7965 (rl78_register_type): Use a data pointer type for SP and
7966 new pseudo registers mentioned above. Use a 16 bit integer
7967 type for all other register pairs.
7968 (rl78_register_name, rl78_g10_register_name): Update for
7969 new pseudo registers.
7970 (rl78_pseudo_register_read): Likewise.
7971 (rl78_pseudo_register_write): Likewise.
7972 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7973 to the newly added pseudo registers.
7974
7975 2014-02-24 Doug Evans <dje@google.com>
7976
7977 * value.c (record_latest_value): Fix comment.
7978 * printcmd.c (print_command_1): Remove code to handle -1 return from
7979 record_latest_value.
7980
7981 2014-02-24 Pedro Alves <palves@redhat.com>
7982
7983 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7984 deprecated_xfer_memory hook.
7985 (procfs_xfer_partial): Call procfs_xfer_memory instead
7986 of the deprecated_xfer_memory target hook.
7987 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7988 helper.
7989
7990 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7991
7992 * windows-nat.c (windows_xfer_shared_libraries): Return
7993 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7994 requested object is TARGET_OBJECT_LIBRARIES.
7995
7996 2014-02-24 Yao Qi <yao@codesourcery.com>
7997
7998 * target.h (enum target_xfer_status)
7999 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8000 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8001 explicitly. New.
8002 * corefile.c (memory_error_message): User updated.
8003 * exec.c (section_table_read_available_memory): Likewise.
8004 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8005 * target.c (target_xfer_status_to_string): Likewise.
8006 (raw_memory_xfer_partial): Likewise.
8007 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8008 * valops.c (read_value_memory): Likewise.
8009 * exec.h: Update comments.
8010
8011 2014-02-24 Yao Qi <yao@codesourcery.com>
8012
8013 * target.c (target_xfer_status_to_string): Rename argument err
8014 to status.
8015 * target.h (target_xfer_status_to_string): Update declaration.
8016 Replace target_xfer_error_to_string with
8017 target_xfer_status_to_string in comment.
8018
8019 2014-02-24 Yao Qi <yao@codesourcery.com>
8020
8021 * mips-linux-nat.c (super_close): Update its type.
8022 (mips_linux_close): Pass 'self' to super_close.
8023
8024 2014-02-24 Yao Qi <yao@codesourcery.com>
8025
8026 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8027 * corefile.c (read_memory): Adjusted.
8028 * target.c (target_write_with_progress): Adjusted.
8029
8030 2014-02-23 Yao Qi <yao@codesourcery.com>
8031
8032 Revert two patches:
8033
8034 2013-10-25 Yao Qi <yao@codesourcery.com>
8035
8036 * remote.c (remote_traceframe_info): Return early if
8037 traceframe is not selected.
8038
8039 2013-07-19 Yao Qi <yao@codesourcery.com>
8040
8041 * target.c (update_current_target): Change the default action
8042 of 'to_traceframe_info' from tcomplain to return_zero.
8043 * target.h (struct target_ops) <to_traceframe_info>: Add more
8044 comments.
8045
8046 2014-02-23 Yao Qi <yao@codesourcery.com>
8047
8048 * valops.c (read_value_memory): Rewrite it. Call
8049 target_xfer_partial in a loop.
8050 * exec.h (section_table_available_memory): Remove declaration.
8051 Move comments to ...
8052 * exec.c (section_table_available_memory): ... here. Make it
8053 static.
8054
8055 2014-02-23 Yao Qi <yao@codesourcery.com>
8056
8057 * exec.c (section_table_read_available_memory): New function.
8058 * exec.h (section_table_read_available_memory): Declare.
8059 * ctf.c (ctf_xfer_partial): Call
8060 section_table_read_available_memory.
8061 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8062
8063 2014-02-23 Yao Qi <yao@codesourcery.com>
8064
8065 * ctf.c (ctf_xfer_partial): Move code to ...
8066 * exec.c (exec_read_partial_read_only): ... it. New function.
8067 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8068 * tracefile.c: Include "exec.h".
8069 * exec.h (exec_read_partial_read_only): Declare.
8070
8071 2014-02-23 Yao Qi <yao@codesourcery.com>
8072
8073 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8074 (tfile_has_memory): Remove.
8075 (init_tfile_ops): Don't set fields to_has_all_memory and
8076 to_has_memory of tfile_ops.
8077 * tracefile.c (tracefile_has_all_memory): New function.
8078 (tracefile_has_memory): New function.
8079 (init_tracefile_ops): Initialize fields to_has_all_memory and
8080 to_has_memory of 'ops'.
8081
8082 2014-02-23 Yao Qi <yao@codesourcery.com>
8083
8084 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8085 (ctf_thread_alive, ctf_get_trace_status): Remove.
8086 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8087 init_tracefile_ops.
8088 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8089 (tfile_has_stack, tfile_has_registers): Remove.
8090 (tfile_thread_alive): Remove.
8091 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8092 init_tracefile_ops.
8093 * tracefile.c (tracefile_has_stack): New function.
8094 (tracefile_has_registers): New function.
8095 (tracefile_thread_alive): New function.
8096 (tracefile_get_trace_status): New function.
8097 (init_tracefile_ops): New function.
8098 * tracefile.h (init_tracefile_ops): Declare.
8099
8100 2014-02-23 Yao Qi <yao@codesourcery.com>
8101
8102 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8103 (O_LARGEFILE): Likewise.
8104 (tfile_ops): Likewise.
8105 (TRACE_HEADER_SIZE): Likewise.
8106 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8107 (cur_data_size): Likewise.
8108 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8109 (tfile_close, tfile_files_info): Likewise.
8110 (tfile_get_trace_status): Likewise.
8111 (tfile_get_tracepoint_status): Likewise.
8112 (tfile_get_traceframe_address): Likewise.
8113 (tfile_trace_find, match_blocktype): Likewise.
8114 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8115 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8116 (tfile_get_trace_state_variable_value): Likewise.
8117 (tfile_has_all_memory, tfile_has_memory): Likewise.
8118 (tfile_has_stack, tfile_has_registers): Likewise.
8119 (tfile_thread_alive, build_traceframe_info): Likewise.
8120 (tfile_traceframe_info, init_tfile_ops): Likewise.
8121 (_initialize_tracepoint): Don't call init_tfile_ops
8122 and add_target_with_completer.
8123 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8124 exec.h, completer.h and filenames.h.
8125 (_initialize_tracefile_tfile): New function.
8126
8127 2014-02-23 Yao Qi <yao@codesourcery.com>
8128
8129 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8130 tracefile-tfile.o.
8131 (HFILES_NO_SRCDIR): Add tracefile.h.
8132 * ctf.c: Include "tracefile.h".
8133 * tracefile.h: New file.
8134 * tracefile.c: New file
8135 * tracefile-tfile.c: New file.
8136 * tracepoint.c: Include "tracefile.h".
8137 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8138 (stop_reason_names): Add const.
8139 (trace_file_writer_xfree): Move it to tracefile.c.
8140 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8141 (trace_save_ctf): Likewise.
8142 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8143 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8144 (tfile_write_header, tfile_write_regblock_type): Likewise.
8145 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8146 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8147 (tfile_write_raw_data, tfile_end): Likewise.
8148 (tfile_trace_file_writer_new): Likewise.
8149 (free_uploaded_tp): Make it extern.
8150 (free_uploaded_tsv): Make it extern.
8151 (_initialize_tracepoint): Move code to register command 'tsave'
8152 to tracefile.c.
8153 * tracepoint.h (stop_reason_names): Declare.
8154 (struct trace_frame_write_ops): Move it to tracefile.h.
8155 (struct trace_file_write_ops): Likewise.
8156 (struct trace_file_writer): Likewise.
8157 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8158
8159 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8160
8161 PR gdb/16594
8162 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8163 process name.
8164 (get_cores_used_by_process): New parameter num_cores, use it.
8165 (linux_xfer_osdata_processes): Pass num_cores to it.
8166 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8167 process name.
8168
8169 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8170
8171 * target.c (memory_xfer_partial): Fix length arg in call to
8172 breakpoint_xfer_memory.
8173
8174 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8175
8176 PR tdep/16397
8177 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8178 number comes after the + or - signs. Adjust length of register
8179 name to be extracted.
8180
8181 2014-02-20 Tom Tromey <tromey@redhat.com>
8182
8183 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8184 (ada_varobj_ops): Mark "extern".
8185
8186 2014-02-20 Tom Tromey <tromey@redhat.com>
8187
8188 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8189
8190 2014-02-20 Doug Evans <xdje42@gmail.com>
8191
8192 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8193 All callers updated.
8194 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8195 All callers updated.
8196 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8197 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8198
8199 2014-02-20 lin zuojian <manjian2006@gmail.com>
8200 Joel Brobecker <brobecker@adacore.com>
8201 Doug Evans <xdje42@gmail.com>
8202
8203 PR symtab/16581
8204 * dwarf2read.c (struct die_info): New member in_process.
8205 (reset_die_in_process): New function.
8206 (process_die): Set it at the start, reset when returning.
8207 (inherit_abstract_dies): Only call process_die if origin_child_die
8208 not already being processed.
8209
8210 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8211
8212 * windows-nat.c (handle_unload_dll): Add function documentation.
8213 (do_initial_windows_stuff): Add comment explaining why we wait
8214 until after inferior initialization has finished before
8215 processing all DLLs.
8216
8217 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8218
8219 * windows-nat.c (get_module_name): Delete.
8220 (windows_get_exec_module_filename): New function, mostly
8221 inspired from get_module_name.
8222 (windows_pid_to_exec_file): Replace call to get_module_name
8223 by call to windows_get_exec_module_filename.
8224
8225 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8226
8227 * windows-nat.c (handle_load_dll): Rewrite this function's
8228 introductory comment. Remove code using get_module_name
8229 to get the DLL's name.
8230
8231 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8232
8233 * windows-nat.c (get_windows_debug_event): Ignore
8234 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8235 if windows_initialization_done == 0.
8236 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8237 Adjust implementation to always load all DLLs.
8238 (do_initial_windows_stuff): Replace call to
8239 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8240
8241 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8242
8243 * windows-nat.c (_initialize_windows_nat): Deprecate the
8244 "dll-symbols" command. Turn the "add-shared-symbol-files"
8245 and "assf" aliases into commands, and deprecate them as well.
8246 * NEWS: Add entry explaining that "dll-symbols" and its two
8247 aliases are now deprecated.
8248
8249 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8250
8251 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8252 new-line in debug string. Remove trailing spaces.
8253
8254 2014-02-19 Stan Shebs <stan@codesourcery.com>
8255
8256 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8257
8258 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8259
8260 * NEWS: Add entry for the new feature
8261 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8262 and class values.
8263
8264 2014-02-19 Stan Shebs <stan@codesourcery.com>
8265
8266 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8267
8268 2014-02-19 Pedro Alves <palves@redhat.com>
8269
8270 * common/ptid.h (struct ptid): Mention that process_stratum
8271 targets should prefer ptid.lwp.
8272
8273 2014-02-19 Pedro Alves <palves@redhat.com>
8274
8275 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8276 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8277 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8278 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8279 store remote thread ids rather than ptid.tid.
8280 (_initialize_remote): Adjust.
8281
8282 2014-02-19 Tom Tromey <tromey@redhat.com>
8283
8284 * target.c (target_get_unwinder): Rewrite.
8285 (target_get_tailcall_unwinder): Rewrite.
8286 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8287 (record_btrace_to_get_tailcall_unwinder): New function.
8288 (init_record_btrace_ops): Update.
8289 * target.h (struct target_ops) <to_get_unwinder,
8290 to_get_tailcall_unwinder>: Now function pointers. Use
8291 TARGET_DEFAULT_RETURN.
8292
8293 2014-02-19 Tom Tromey <tromey@redhat.com>
8294
8295 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8296 argument.
8297 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8298
8299 2014-02-19 Tom Tromey <tromey@redhat.com>
8300
8301 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8302 directly.
8303 * target-delegates.c: Rebuild.
8304 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8305 TARGET_DEFAULT_FUNC.
8306 * target.c (default_target_decr_pc_after_break): Rename from
8307 forward_target_decr_pc_after_break. Simplify.
8308 (target_decr_pc_after_break): Rely on delegation.
8309
8310 2014-02-19 Tom Tromey <tromey@redhat.com>
8311
8312 * target.c (update_current_target): Do not INHERIT to_doc or
8313 to_magic. Do not de_fault to_open or to_close.
8314
8315 2014-02-19 Tom Tromey <tromey@redhat.com>
8316
8317 * gcore.h (objfile_find_memory_regions): Declare.
8318 * gcore.c (objfile_find_memory_regions): No longer static. Add
8319 "self" argument.
8320 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8321 * exec.c: Include gcore.h.
8322 (exec_set_find_memory_regions): Remove.
8323 (exec_find_memory_regions): Remove.
8324 (exec_do_find_memory_regions): Remove.
8325 (init_exec_ops): Update.
8326 * defs.h (exec_set_find_memory_regions): Remove.
8327
8328 2014-02-19 Tom Tromey <tromey@redhat.com>
8329
8330 * target-delegates.c: Rebuild.
8331 * target.h (struct target_ops) <to_extra_thread_info,
8332 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8333 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8334 not 0, in TARGET_DEFAULT_RETURN.
8335
8336 2014-02-19 Tom Tromey <tromey@redhat.com>
8337
8338 * target.c (complete_target_initialization): Remove casts. Use
8339 return_zero_has_execution.
8340 (return_zero): Add "ignore" argument.
8341 (return_zero_has_execution): New function.
8342 (init_dummy_target): Remove casts. Use
8343 return_zero_has_execution.
8344
8345 2014-02-19 Tom Tromey <tromey@redhat.com>
8346
8347 * target.c (update_current_target): Update comments. Do not
8348 INHERIT to_stratum.
8349
8350 2014-02-19 Tom Tromey <tromey@redhat.com>
8351
8352 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8353 needed.
8354 * corelow.c (core_read_description): Delegate when needed.
8355 * remote.c (remote_read_description): Delegate when needed.
8356 * target-delegates.c: Rebuild.
8357 * target.c (target_read_description): Rewrite.
8358 * target.h (struct target_ops) <to_read_description>: Update
8359 comment. Use TARGET_DEFAULT_RETURN.
8360
8361 2014-02-19 Tom Tromey <tromey@redhat.com>
8362
8363 * target-delegates.c: Rebuild.
8364 * target.c (update_current_target): Don't inherit or default
8365 to_can_run.
8366 (find_default_run_target): Check against delegate_can_run.
8367 * target.h (struct target_ops) <to_can_run>: Use
8368 TARGET_DEFAULT_RETURN.
8369
8370 2014-02-19 Tom Tromey <tromey@redhat.com>
8371
8372 * target-delegates.c: Rebuild.
8373 * target.c (target_disconnect): Unconditionally delegate.
8374 * target.h (struct target_ops) <to_disconnect>: Use
8375 TARGET_DEFAULT_NORETURN.
8376
8377 2014-02-19 Tom Tromey <tromey@redhat.com>
8378
8379 * record.c (record_stop): Unconditionally delegate.
8380 * target-delegates.c: Rebuild.
8381 * target.c (target_stop_recording): Unconditionally delegate.
8382 * target.h (struct target_ops) <to_stop_recording>: Use
8383 TARGET_DEFAULT_IGNORE.
8384
8385 2014-02-19 Tom Tromey <tromey@redhat.com>
8386
8387 * target-delegates.c: Rebuild.
8388 * target.c (target_enable_btrace): Unconditionally delegate.
8389 * target.h (struct target_ops) <to_enable_btrace>: Use
8390 TARGET_DEFAULT_NORETURN.
8391
8392 2014-02-19 Tom Tromey <tromey@redhat.com>
8393
8394 * target-delegates.c: Rebuild.
8395 * target.c (target_read_btrace): Unconditionally delegate.
8396 * target.h (struct target_ops) <to_read_btrace>: Use
8397 TARGET_DEFAULT_NORETURN.
8398
8399 2014-02-19 Tom Tromey <tromey@redhat.com>
8400
8401 * target-delegates.c: Rebuild.
8402 * target.c (target_teardown_btrace): Unconditionally delegate.
8403 * target.h (struct target_ops) <to_teardown_btrace>: Use
8404 TARGET_DEFAULT_NORETURN.
8405
8406 2014-02-19 Tom Tromey <tromey@redhat.com>
8407
8408 * target-delegates.c: Rebuild.
8409 * target.c (target_disable_btrace): Unconditionally delegate.
8410 * target.h (struct target_ops) <to_disable_btrace>: Use
8411 TARGET_DEFAULT_NORETURN.
8412
8413 2014-02-19 Tom Tromey <tromey@redhat.com>
8414
8415 * target-delegates.c: Rebuild.
8416 * target.c (default_search_memory): New function.
8417 (simple_search_memory): Update comment.
8418 (target_search_memory): Unconditionally delegate.
8419 * target.h (struct target_ops) <to_search_memory>: Use
8420 TARGET_DEFAULT_FUNC.
8421
8422 2014-02-19 Tom Tromey <tromey@redhat.com>
8423
8424 * auxv.c (default_auxv_parse): No longer static.
8425 (target_auxv_parse): Unconditionally delegate.
8426 * auxv.h (default_auxv_parse): Declare.
8427 * target-delegates.c: Rebuild.
8428 * target.c: Include auxv.h.
8429 * target.h (struct target_ops) <to_auxv_parse>: Use
8430 TARGET_DEFAULT_FUNC.
8431
8432 2014-02-19 Tom Tromey <tromey@redhat.com>
8433
8434 * target-delegates.c: Rebuild.
8435 * target.c (target_memory_map): Unconditionally delegate.
8436 * target.h (struct target_ops) <to_memory_map>: Use
8437 TARGET_DEFAULT_RETURN.
8438
8439 2014-02-19 Tom Tromey <tromey@redhat.com>
8440
8441 * target-delegates.c: Rebuild.
8442 * target.c (target_thread_alive): Unconditionally delegate.
8443 * target.h (struct target_ops) <to_thread_alive>: Use
8444 TARGET_DEFAULT_RETURN.
8445
8446 2014-02-19 Tom Tromey <tromey@redhat.com>
8447
8448 * target-delegates.c: Rebuild.
8449 * target.c (target_save_record): Unconditionally delegate.
8450 * target.h (struct target_ops) <to_save_record>: Use
8451 TARGET_DEFAULT_NORETURN.
8452
8453 2014-02-19 Tom Tromey <tromey@redhat.com>
8454
8455 * target-delegates.c: Rebuild.
8456 * target.c (target_delete_record): Unconditionally delegate.
8457 * target.h (struct target_ops) <to_delete_record>: Use
8458 TARGET_DEFAULT_NORETURN.
8459
8460 2014-02-19 Tom Tromey <tromey@redhat.com>
8461
8462 * target-delegates.c: Rebuild.
8463 * target.c (target_record_is_replaying): Unconditionally
8464 delegate.
8465 * target.h (struct target_ops) <to_record_is_replaying>: Use
8466 TARGET_DEFAULT_RETURN.
8467
8468 2014-02-19 Tom Tromey <tromey@redhat.com>
8469
8470 * target-delegates.c: Rebuild.
8471 * target.c (target_goto_record_begin): Unconditionally delegate.
8472 * target.h (struct target_ops) <to_goto_record_begin>: Use
8473 TARGET_DEFAULT_NORETURN.
8474
8475 2014-02-19 Tom Tromey <tromey@redhat.com>
8476
8477 * target-delegates.c: Rebuild.
8478 * target.c (target_goto_record_end): Unconditionally delegate.
8479 * target.h (struct target_ops) <to_goto_record_end>: Use
8480 TARGET_DEFAULT_NORETURN.
8481
8482 2014-02-19 Tom Tromey <tromey@redhat.com>
8483
8484 * target-delegates.c: Rebuild.
8485 * target.c (target_goto_record): Unconditionally delegate.
8486 * target.h (struct target_ops) <to_goto_record>: Use
8487 TARGET_DEFAULT_NORETURN.
8488
8489 2014-02-19 Tom Tromey <tromey@redhat.com>
8490
8491 * target-delegates.c: Rebuild.
8492 * target.c (target_insn_history): Unconditionally delegate.
8493 * target.h (struct target_ops) <to_insn_history>: Use
8494 TARGET_DEFAULT_NORETURN.
8495
8496 2014-02-19 Tom Tromey <tromey@redhat.com>
8497
8498 * target-delegates.c: Rebuild.
8499 * target.c (target_insn_history_from): Unconditionally delegate.
8500 * target.h (struct target_ops) <to_insn_history_from>: Use
8501 TARGET_DEFAULT_NORETURN.
8502
8503 2014-02-19 Tom Tromey <tromey@redhat.com>
8504
8505 * target-delegates.c: Rebuild.
8506 * target.c (target_insn_history_range): Unconditionally delegate.
8507 * target.h (struct target_ops) <to_insn_history_range>: Use
8508 TARGET_DEFAULT_NORETURN.
8509
8510 2014-02-19 Tom Tromey <tromey@redhat.com>
8511
8512 * target-delegates.c: Rebuild.
8513 * target.c (target_call_history): Unconditionally delegate.
8514 * target.h (struct target_ops) <to_call_history>: Use
8515 TARGET_DEFAULT_NORETURN.
8516
8517 2014-02-19 Tom Tromey <tromey@redhat.com>
8518
8519 * target-delegates.c: Rebuild.
8520 * target.c (target_call_history_from): Unconditionally delegate.
8521 * target.h (struct target_ops) <to_call_history_from>: Use
8522 TARGET_DEFAULT_NORETURN.
8523
8524 2014-02-19 Tom Tromey <tromey@redhat.com>
8525
8526 * target-delegates.c: Rebuild.
8527 * target.c (target_call_history_range): Unconditionally delegate.
8528 * target.h (struct target_ops) <to_call_history_range>: Use
8529 TARGET_DEFAULT_NORETURN.
8530
8531 2014-02-19 Tom Tromey <tromey@redhat.com>
8532
8533 * target-delegates.c: Rebuild.
8534 * target.c (target_verify_memory): Unconditionally delegate.
8535 * target.h (struct target_ops) <to_verify_memory>: Use
8536 TARGET_DEFAULT_NORETURN.
8537
8538 2014-02-19 Tom Tromey <tromey@redhat.com>
8539
8540 * target-delegates.c: Rebuild.
8541 * target.c (target_core_of_thread): Unconditionally delegate.
8542 * target.h (struct target_ops) <to_core_of_thread>: Use
8543 TARGET_DEFAULT_RETURN.
8544
8545 2014-02-19 Tom Tromey <tromey@redhat.com>
8546
8547 * target-delegates.c: Rebuild.
8548 * target.c (target_flash_done): Unconditionally delegate.
8549 * target.h (struct target_ops) <to_flash_done>: Use
8550 TARGET_DEFAULT_NORETURN.
8551
8552 2014-02-19 Tom Tromey <tromey@redhat.com>
8553
8554 * target-delegates.c: Rebuild.
8555 * target.c (target_flash_erase): Unconditionally delegate.
8556 * target.h (struct target_ops) <to_flash_erase>: Use
8557 TARGET_DEFAULT_NORETURN.
8558
8559 2014-02-19 Tom Tromey <tromey@redhat.com>
8560
8561 * target-delegates.c: Rebuild.
8562 * target.c (target_get_section_table): Unconditionally delegate.
8563 * target.h (struct target_ops) <to_get_section_table>: Use
8564 TARGET_DEFAULT_RETURN.
8565
8566 2014-02-19 Tom Tromey <tromey@redhat.com>
8567
8568 * target-delegates.c: Rebuild.
8569 * target.c (target_pid_to_str): Unconditionally delegate.
8570 (init_dummy_target): Don't initialize to_pid_to_str.
8571 (default_pid_to_str): Rename from dummy_pid_to_str.
8572 * target.h (struct target_ops) <to_pid_to_str>: Use
8573 TARGET_DEFAULT_FUNC.
8574
8575 2014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target-delegates.c: Rebuild.
8578 * target.c (target_find_new_threads): Unconditionally delegate.
8579 * target.h (struct target_ops) <to_find_new_threads>: Use
8580 TARGET_DEFAULT_RETURN.
8581
8582 2014-02-19 Tom Tromey <tromey@redhat.com>
8583
8584 * target-delegates.c: Rebuild.
8585 * target.c (target_program_signals): Unconditionally delegate.
8586 * target.h (struct target_ops) <to_program_signals>: Use
8587 TARGET_DEFAULT_IGNORE.
8588
8589 2014-02-19 Tom Tromey <tromey@redhat.com>
8590
8591 * target-delegates.c: Rebuild.
8592 * target.c (target_pass_signals): Unconditionally delegate.
8593 * target.h (struct target_ops) <to_pass_signals>: Use
8594 TARGET_DEFAULT_IGNORE.
8595
8596 2014-02-19 Tom Tromey <tromey@redhat.com>
8597
8598 * target-delegates.c: Rebuild.
8599 * target.c (default_mourn_inferior): New function.
8600 (target_mourn_inferior): Unconditionally delegate.
8601 * target.h (struct target_ops) <to_mourn_inferior>: Use
8602 TARGET_DEFAULT_FUNC.
8603
8604 2014-02-19 Tom Tromey <tromey@redhat.com>
8605
8606 * target-delegates.c: Rebuild.
8607 * target.c (default_follow_fork): New function.
8608 (target_follow_fork): Unconditionally delegate.
8609 * target.h (struct target_ops) <to_follow_fork>: Use
8610 TARGET_DEFAULT_FUNC.
8611
8612 2014-02-19 Tom Tromey <tromey@redhat.com>
8613
8614 * target-delegates.c: Rebuild.
8615 * target.c (target_kill): Unconditionally delegate.
8616 * target.h (struct target_ops) <to_kill>: Use
8617 TARGET_DEFAULT_NORETURN.
8618
8619 2014-02-19 Tom Tromey <tromey@redhat.com>
8620
8621 * target-delegates.c: Rebuild.
8622 * target.c (target_masked_watch_num_registers): Unconditionally
8623 delegate.
8624 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8625 Use TARGET_DEFAULT_RETURN.
8626
8627 2014-02-19 Tom Tromey <tromey@redhat.com>
8628
8629 * target-delegates.c: Rebuild.
8630 * target.c (target_remove_mask_watchpoint): Unconditionally
8631 delegate.
8632 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8633 TARGET_DEFAULT_RETURN.
8634
8635 2014-02-19 Tom Tromey <tromey@redhat.com>
8636
8637 * target-delegates.c: Rebuild.
8638 * target.c (target_insert_mask_watchpoint): Unconditionally
8639 delegate.
8640 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8641 TARGET_DEFAULT_RETURN.
8642
8643 2014-02-19 Tom Tromey <tromey@redhat.com>
8644
8645 * target-delegates.c: Rebuild.
8646 * target.c (target_ranged_break_num_registers): Unconditionally
8647 delegate.
8648 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8649 Use TARGET_DEFAULT_RETURN.
8650
8651 2014-02-19 Tom Tromey <tromey@redhat.com>
8652
8653 * target-delegates.c: Rebuild.
8654 * target.c (target_fetch_registers): Unconditionally delegate.
8655 * target.h (struct target_ops) <to_fetch_registers>: Use
8656 TARGET_DEFAULT_NORETURN.
8657
8658 2014-02-19 Tom Tromey <tromey@redhat.com>
8659
8660 * target-delegates.c: Rebuild.
8661 * target.c (update_current_target): Don't inherit or default
8662 to_stop.
8663 * target.h (struct target_ops) <to_stop>: Use
8664 TARGET_DEFAULT_IGNORE.
8665
8666 2014-02-19 Tom Tromey <tromey@redhat.com>
8667
8668 * target-delegates.c: Rebuild.
8669 * target.c (update_current_target): Don't inherit or default
8670 to_can_run_breakpoint_commands.
8671 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8672 Use TARGET_DEFAULT_RETURN.
8673
8674 2014-02-19 Tom Tromey <tromey@redhat.com>
8675
8676 * target-delegates.c: Rebuild.
8677 * target.c (update_current_target): Don't inherit or default
8678 to_supports_evaluation_of_breakpoint_conditions.
8679 * target.h (struct target_ops)
8680 <to_supports_evaluation_of_breakpoint_conditions>: Use
8681 TARGET_DEFAULT_RETURN.
8682
8683 2014-02-19 Tom Tromey <tromey@redhat.com>
8684
8685 * target-delegates.c: Rebuild.
8686 * target.c (update_current_target): Don't inherit or default
8687 to_augmented_libraries_svr4_read.
8688 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8689 Use TARGET_DEFAULT_RETURN.
8690
8691 2014-02-19 Tom Tromey <tromey@redhat.com>
8692
8693 * target-delegates.c: Rebuild.
8694 * target.c (update_current_target): Don't inherit or default
8695 to_can_use_agent.
8696 * target.h (struct target_ops) <to_can_use_agent>: Use
8697 TARGET_DEFAULT_RETURN.
8698
8699 2014-02-19 Tom Tromey <tromey@redhat.com>
8700
8701 * target-delegates.c: Rebuild.
8702 * target.c (update_current_target): Don't inherit or default
8703 to_use_agent.
8704 * target.h (struct target_ops) <to_use_agent>: Use
8705 TARGET_DEFAULT_NORETURN.
8706
8707 2014-02-19 Tom Tromey <tromey@redhat.com>
8708
8709 * target-delegates.c: Rebuild.
8710 * target.c (update_current_target): Don't inherit or default
8711 to_traceframe_info.
8712 (return_null): Remove.
8713 * target.h (struct target_ops) <to_traceframe_info>: Use
8714 TARGET_DEFAULT_RETURN.
8715
8716 2014-02-19 Tom Tromey <tromey@redhat.com>
8717
8718 * target-delegates.c: Rebuild.
8719 * target.c (update_current_target): Don't inherit or default
8720 to_static_tracepoint_markers_by_strid.
8721 * target.h (struct target_ops)
8722 <to_static_tracepoint_markers_by_strid>: Use
8723 TARGET_DEFAULT_NORETURN.
8724
8725 2014-02-19 Tom Tromey <tromey@redhat.com>
8726
8727 * target-delegates.c: Rebuild.
8728 * target.c (update_current_target): Don't inherit or default
8729 to_static_tracepoint_marker_at.
8730 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8731 Use TARGET_DEFAULT_RETURN.
8732
8733 2014-02-19 Tom Tromey <tromey@redhat.com>
8734
8735 * target-delegates.c: Rebuild.
8736 * target.c (update_current_target): Don't inherit or default
8737 to_set_permissions.
8738 * target.h (struct target_ops) <to_set_permissions>: Use
8739 TARGET_DEFAULT_IGNORE.
8740
8741 2014-02-19 Tom Tromey <tromey@redhat.com>
8742
8743 * target-delegates.c: Rebuild.
8744 * target.c (update_current_target): Don't inherit or default
8745 to_get_tib_address.
8746 * target.h (struct target_ops) <to_get_tib_address>: Use
8747 TARGET_DEFAULT_NORETURN.
8748
8749 2014-02-19 Tom Tromey <tromey@redhat.com>
8750
8751 * target-delegates.c: Rebuild.
8752 * target.c (update_current_target): Don't inherit or default
8753 to_set_trace_notes.
8754 * target.h (struct target_ops) <to_set_trace_notes>: Use
8755 TARGET_DEFAULT_RETURN.
8756
8757 2014-02-19 Tom Tromey <tromey@redhat.com>
8758
8759 * target-delegates.c: Rebuild.
8760 * target.c (update_current_target): Don't initialize
8761 to_set_trace_buffer_size.
8762 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8763 TARGET_DEFAULT_IGNORE.
8764
8765 2014-02-19 Tom Tromey <tromey@redhat.com>
8766
8767 * target-delegates.c: Rebuild.
8768 * target.c (update_current_target): Don't inherit or default
8769 to_set_circular_trace_buffer.
8770 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8771 TARGET_DEFAULT_IGNORE.
8772
8773 2014-02-19 Tom Tromey <tromey@redhat.com>
8774
8775 * target-delegates.c: Rebuild.
8776 * target.c (update_current_target): Don't inherit or default
8777 to_set_disconnected_tracing.
8778 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8779 TARGET_DEFAULT_IGNORE.
8780
8781 2014-02-19 Tom Tromey <tromey@redhat.com>
8782
8783 * target-delegates.c: Rebuild.
8784 * target.c (update_current_target): Don't inherit or default
8785 to_get_min_fast_tracepoint_insn_len.
8786 (return_minus_one): Remove.
8787 * target.h (struct target_ops)
8788 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8789
8790 2014-02-19 Tom Tromey <tromey@redhat.com>
8791
8792 * target-delegates.c: Rebuild.
8793 * target.c (update_current_target): Don't inherit or default
8794 to_get_raw_trace_data.
8795 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8796 TARGET_DEFAULT_NORETURN.
8797
8798 2014-02-19 Tom Tromey <tromey@redhat.com>
8799
8800 * target-delegates.c: Rebuild.
8801 * target.c (update_current_target): Don't inherit or default
8802 to_upload_trace_state_variables.
8803 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8804 Use TARGET_DEFAULT_RETURN.
8805
8806 2014-02-19 Tom Tromey <tromey@redhat.com>
8807
8808 * target-delegates.c: Rebuild.
8809 * target.c (update_current_target): Don't inherit or default
8810 to_upload_tracepoints.
8811 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8812 TARGET_DEFAULT_RETURN.
8813
8814 2014-02-19 Tom Tromey <tromey@redhat.com>
8815
8816 * target-delegates.c: Rebuild.
8817 * target.c (update_current_target): Don't inherit or default
8818 to_save_trace_data.
8819 * target.h (struct target_ops) <to_save_trace_data>: Use
8820 TARGET_DEFAULT_NORETURN.
8821
8822 2014-02-19 Tom Tromey <tromey@redhat.com>
8823
8824 * target-delegates.c: Rebuild.
8825 * target.c (update_current_target): Don't inherit or default
8826 to_get_trace_state_variable_value.
8827 * target.h (struct target_ops)
8828 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8829
8830 2014-02-19 Tom Tromey <tromey@redhat.com>
8831
8832 * target-delegates.c: Rebuild.
8833 * target.c (update_current_target): Don't inherit or default
8834 to_trace_find.
8835 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8836
8837 2014-02-19 Tom Tromey <tromey@redhat.com>
8838
8839 * target-delegates.c: Rebuild.
8840 * target.c (update_current_target): Don't inherit or default
8841 to_trace_stop.
8842 * target.h (struct target_ops) <to_trace_stop>: Use
8843 TARGET_DEFAULT_NORETURN.
8844
8845 2014-02-19 Tom Tromey <tromey@redhat.com>
8846
8847 * target-delegates.c: Rebuild.
8848 * target.c (update_current_target): Don't inherit or default
8849 to_get_tracepoint_status.
8850 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8851 TARGET_DEFAULT_NORETURN.
8852
8853 2014-02-19 Tom Tromey <tromey@redhat.com>
8854
8855 * target-delegates.c: Rebuild.
8856 * target.c (update_current_target): Don't inherit or default
8857 to_get_trace_status.
8858 * target.h (struct target_ops) <to_get_trace_status>: Use
8859 TARGET_DEFAULT_RETURN.
8860
8861 2014-02-19 Tom Tromey <tromey@redhat.com>
8862
8863 * target-delegates.c: Rebuild.
8864 * target.c (update_current_target): Don't inherit or default
8865 to_trace_start.
8866 * target.h (struct target_ops) <to_trace_start>: Use
8867 TARGET_DEFAULT_NORETURN.
8868
8869 2014-02-19 Tom Tromey <tromey@redhat.com>
8870
8871 * target-delegates.c: Rebuild.
8872 * target.c (update_current_target): Don't inherit or default
8873 to_trace_set_readonly_regions.
8874 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8875 Use TARGET_DEFAULT_NORETURN.
8876
8877 2014-02-19 Tom Tromey <tromey@redhat.com>
8878
8879 * target-delegates.c: Rebuild.
8880 * target.c (update_current_target): Don't inherit or default
8881 to_disable_tracepoint.
8882 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8883 TARGET_DEFAULT_NORETURN.
8884
8885 2014-02-19 Tom Tromey <tromey@redhat.com>
8886
8887 * target-delegates.c: Rebuild.
8888 * target.c (update_current_target): Don't inherit or default
8889 to_enable_tracepoint.
8890 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8891 TARGET_DEFAULT_NORETURN.
8892
8893 2014-02-19 Tom Tromey <tromey@redhat.com>
8894
8895 * target-delegates.c: Rebuild.
8896 * target.c (update_current_target): Don't inherit or default
8897 to_download_trace_state_variable.
8898 * target.h (struct target_ops) <to_download_trace_state_variable>:
8899 Use TARGET_DEFAULT_NORETURN.
8900
8901 2014-02-19 Tom Tromey <tromey@redhat.com>
8902
8903 * target-delegates.c: Rebuild.
8904 * target.c (update_current_target): Don't inherit or default
8905 to_can_download_tracepoint.
8906 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8907 TARGET_DEFAULT_RETURN.
8908
8909 2014-02-19 Tom Tromey <tromey@redhat.com>
8910
8911 * target-delegates.c: Rebuild.
8912 * target.c (update_current_target): Don't inherit or default
8913 to_download_tracepoint.
8914 * target.h (struct target_ops) <to_download_tracepoint>: Use
8915 TARGET_DEFAULT_NORETURN.
8916
8917 2014-02-19 Tom Tromey <tromey@redhat.com>
8918
8919 * target-delegates.c: Rebuild.
8920 * target.c (update_current_target): Don't inherit or default
8921 to_trace_init.
8922 * target.h (struct target_ops) <to_trace_init>: Use
8923 TARGET_DEFAULT_RETURN.
8924
8925 2014-02-19 Tom Tromey <tromey@redhat.com>
8926
8927 * target-delegates.c: Rebuild.
8928 * target.c (update_current_target): Don't inherit or default
8929 to_supports_string_tracing.
8930 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8931 TARGET_DEFAULT_RETURN.
8932
8933 2014-02-19 Tom Tromey <tromey@redhat.com>
8934
8935 * target-delegates.c: Rebuild.
8936 * target.c (update_current_target): Don't inherit or default
8937 to_supports_enable_disable_tracepoint.
8938 * target.h (struct target_ops)
8939 <to_supports_enable_disable_tracepoint>: Use
8940 TARGET_DEFAULT_RETURN.
8941
8942 2014-02-19 Tom Tromey <tromey@redhat.com>
8943
8944 * target-delegates.c: Rebuild.
8945 * target.c (update_current_target): Don't inherit or default
8946 to_supports_multi_process.
8947 * target.h (struct target_ops) <to_supports_multi_process>: Use
8948 TARGET_DEFAULT_RETURN.
8949
8950 2014-02-19 Tom Tromey <tromey@redhat.com>
8951
8952 * target-delegates.c: Rebuild.
8953 * target.c (update_current_target): Don't inherit or default
8954 to_get_ada_task_ptid.
8955 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8956 TARGET_DEFAULT_FUNC.
8957
8958 2014-02-19 Tom Tromey <tromey@redhat.com>
8959
8960 * target-delegates.c: Rebuild.
8961 * target.c (update_current_target): Don't inherit or default
8962 to_thread_architecture.
8963 * target.h (struct target_ops) <to_thread_architecture>: Use
8964 TARGET_DEFAULT_FUNC.
8965
8966 2014-02-19 Tom Tromey <tromey@redhat.com>
8967
8968 * target-delegates.c: Rebuild.
8969 * target.c (update_current_target): Don't inherit or default
8970 to_execution_direction.
8971 * target.h (struct target_ops) <to_execution_direction>: Use
8972 TARGET_DEFAULT_FUNC.
8973
8974 2014-02-19 Tom Tromey <tromey@redhat.com>
8975
8976 * target-delegates.c: Rebuild.
8977 * target.c (update_current_target): Don't inherit or default
8978 to_can_execute_reverse.
8979 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8980 TARGET_DEFAULT_RETURN.
8981 (target_can_execute_reverse): Unconditionally delegate.
8982
8983 2014-02-19 Tom Tromey <tromey@redhat.com>
8984
8985 * target-delegates.c: Rebuild.
8986 * target.c (update_current_target): Don't inherit or default
8987 to_goto_bookmark.
8988 (dummy_goto_bookmark): Remove.
8989 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8990 * target.h (struct target_ops) <to_goto_bookmark>: Use
8991 TARGET_DEFAULT_NORETURN.
8992
8993 2014-02-19 Tom Tromey <tromey@redhat.com>
8994
8995 * target-delegates.c: Rebuild.
8996 * target.c (update_current_target): Don't inherit or default
8997 to_get_bookmark.
8998 (dummy_get_bookmark): Remove.
8999 (init_dummy_target): Don't inherit or default to_get_bookmark.
9000 * target.h (struct target_ops) <to_get_bookmark>: Use
9001 TARGET_DEFAULT_NORETURN
9002
9003 2014-02-19 Tom Tromey <tromey@redhat.com>
9004
9005 * target-delegates.c: Rebuild.
9006 * target.c (update_current_target): Don't inherit or default
9007 to_make_corefile_notes.
9008 (init_dummy_target): Don't initialize to_make_corefile_notes.
9009 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9010 TARGET_DEFAULT_FUNC.
9011
9012 2014-02-19 Tom Tromey <tromey@redhat.com>
9013
9014 * target-delegates.c: Rebuild.
9015 * target.c (update_current_target): Don't inherit or default
9016 to_find_memory_regions.
9017 (init_dummy_target): Don't initialize to_find_memory_regions.
9018 * target.h (struct target_ops) <to_find_memory_regions>: Use
9019 TARGET_DEFAULT_FUNC.
9020
9021 2014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target-delegates.c: Rebuild.
9024 * target.c (update_current_target): Don't inherit or default
9025 to_log_command.
9026 * target.h (struct target_ops) <to_log_command>: Use
9027 TARGET_DEFAULT_IGNORE.
9028 (target_log_command): Unconditionally delegate.
9029
9030 2014-02-19 Tom Tromey <tromey@redhat.com>
9031
9032 * target-delegates.c: Rebuild.
9033 * target.c (update_current_target): Don't inherit or default
9034 to_pid_to_exec_file.
9035 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9036 TARGET_DEFAULT_RETURN.
9037
9038 2014-02-19 Tom Tromey <tromey@redhat.com>
9039
9040 * target-delegates.c: Rebuild.
9041 * target.c (update_current_target): Don't inherit or default
9042 to_thread_name.
9043 (target_thread_name): Unconditionally delegate.
9044 * target.h (struct target_ops) <to_thread_name>: Use
9045 TARGET_DEFAULT_RETURN.
9046
9047 2014-02-19 Tom Tromey <tromey@redhat.com>
9048
9049 * target-delegates.c: Rebuild.
9050 * target.c (update_current_target): Don't inherit or default
9051 to_extra_thread_info.
9052 * target.h (struct target_ops) <to_extra_thread_info>: Use
9053 TARGET_DEFAULT_RETURN.
9054
9055 2014-02-19 Tom Tromey <tromey@redhat.com>
9056
9057 * target-delegates.c: Rebuild.
9058 * target.c (update_current_target): Don't inherit or default
9059 to_has_exited.
9060 * target.h (struct target_ops) <to_has_exited>: Use
9061 TARGET_DEFAULT_RETURN..
9062
9063 2014-02-19 Tom Tromey <tromey@redhat.com>
9064
9065 * target-delegates.c: Rebuild.
9066 * target.c (update_current_target): Don't inherit or default
9067 to_set_syscall_catchpoint.
9068 (return_one): Remove.
9069 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9070 TARGET_DEFAULT_RETURN.
9071
9072 2014-02-19 Tom Tromey <tromey@redhat.com>
9073
9074 * target-delegates.c: Rebuild.
9075 * target.c (update_current_target): Don't inherit or default
9076 to_insert_exec_catchpoint.
9077 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9078 TARGET_DEFAULT_RETURN.
9079
9080 2014-01-08 Tom Tromey <tromey@redhat.com>
9081
9082 * target-delegates.c: Rebuild.
9083 * target.c (update_current_target): Don't inherit or default
9084 to_insert_exec_catchpoint.
9085 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9086 TARGET_DEFAULT_RETURN.
9087
9088 2014-02-19 Tom Tromey <tromey@redhat.com>
9089
9090 * target-delegates.c: Rebuild.
9091 * target.c (update_current_target): Don't inherit or default
9092 to_remove_vfork_catchpoint.
9093 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9094 TARGET_DEFAULT_RETURN.
9095
9096 2014-02-19 Tom Tromey <tromey@redhat.com>
9097
9098 * target-delegates.c: Rebuild.
9099 * target.c (update_current_target): Don't inherit or default
9100 to_insert_vfork_catchpoint.
9101 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9102 TARGET_DEFAULT_RETURN.
9103
9104 2014-02-19 Tom Tromey <tromey@redhat.com>
9105
9106 * target-delegates.c: Rebuild.
9107 * target.c (update_current_target): Don't inherit or default
9108 to_remove_fork_catchpoint.
9109 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9110 TARGET_DEFAULT_RETURN.
9111
9112 2014-02-19 Tom Tromey <tromey@redhat.com>
9113
9114 * target-delegates.c: Rebuild.
9115 * target.c (update_current_target): Don't inherit or default
9116 to_insert_fork_catchpoint.
9117 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9118 TARGET_DEFAULT_RETURN.
9119
9120 2014-02-19 Tom Tromey <tromey@redhat.com>
9121
9122 * target-delegates.c: Rebuild.
9123 * target.c (update_current_target): Don't inherit or default
9124 to_post_startup_inferior.
9125 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9126 TARGET_DEFAULT_IGNORE.
9127
9128 2014-02-19 Tom Tromey <tromey@redhat.com>
9129
9130 * target-delegates.c: Rebuild.
9131 * target.c (update_current_target): Don't inherit or default
9132 to_load.
9133 * target.h (struct target_ops) <to_load>: Use
9134 TARGET_DEFAULT_NORETURN.
9135
9136 2014-02-19 Tom Tromey <tromey@redhat.com>
9137
9138 * target-delegates.c: Rebuild.
9139 * target.c (update_current_target): Don't inherit or default
9140 to_terminal_info.
9141 * target.h (struct target_ops) <to_terminal_info>: Use
9142 TARGET_DEFAULT_FUNC.
9143
9144 2014-02-19 Tom Tromey <tromey@redhat.com>
9145
9146 * target-delegates.c: Rebuild.
9147 * target.c (update_current_target): Don't inherit or default
9148 to_terminal_save_ours.
9149 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9150 TARGET_DEFAULT_IGNORE.
9151
9152 2014-02-19 Tom Tromey <tromey@redhat.com>
9153
9154 * target-delegates.c: Rebuild.
9155 * target.c (update_current_target): Don't inherit or default
9156 to_terminal_ours.
9157 * target.h (struct target_ops) <to_terminal_ours>: Use
9158 TARGET_DEFAULT_IGNORE.
9159
9160 2014-02-19 Tom Tromey <tromey@redhat.com>
9161
9162 * target-delegates.c: Rebuild.
9163 * target.c (update_current_target): Don't inherit or default
9164 to_terminal_ours_for_output.
9165 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9166 TARGET_DEFAULT_IGNORE.
9167
9168 2014-02-19 Tom Tromey <tromey@redhat.com>
9169
9170 * target-delegates.c: Rebuild.
9171 * target.c (update_current_target): Don't inherit or default
9172 to_terminal_inferior.
9173 * target.h (struct target_ops) <to_terminal_inferior>: Use
9174 TARGET_DEFAULT_IGNORE.
9175
9176 2014-02-19 Tom Tromey <tromey@redhat.com>
9177
9178 * target-delegates.c: Rebuild.
9179 * target.c (update_current_target): Don't inherit or default
9180 to_terminal_init.
9181 * target.h (struct target_ops) <to_terminal_init>: Use
9182 TARGET_DEFAULT_IGNORE.
9183
9184 2014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target-delegates.c: Rebuild.
9187 * target.c (update_current_target): Don't inherit or default
9188 to_can_accel_watchpoint_condition.
9189 * target.h (struct target_ops)
9190 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9191
9192 2014-02-19 Tom Tromey <tromey@redhat.com>
9193
9194 * target-delegates.c: Rebuild.
9195 * target.c (update_current_target): Don't inherit or default
9196 to_region_ok_for_hw_watchpoint.
9197 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9198 Use TARGET_DEFAULT_FUNC.
9199
9200 2014-02-19 Tom Tromey <tromey@redhat.com>
9201
9202 * target-delegates.c: Rebuild.
9203 * target.c (update_current_target): Don't inherit or default
9204 to_watchpoint_addr_within_range.
9205 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9206 Use TARGET_DEFAULT_FUNC.
9207
9208 2014-02-19 Tom Tromey <tromey@redhat.com>
9209
9210 * target-delegates.c: Rebuild.
9211 * target.c (update_current_target): Don't inherit or default
9212 to_remove_watchpoint.
9213 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9214 TARGET_DEFAULT_NORETURN.
9215
9216 2014-02-19 Tom Tromey <tromey@redhat.com>
9217
9218 * target-delegates.c: Rebuild.
9219 * target.c (update_current_target): Don't inherit or default
9220 to_insert_watchpoint.
9221 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9222 TARGET_DEFAULT_RETURN.
9223
9224 2014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target-delegates.c: Rebuild.
9227 * target.c (update_current_target): Don't inherit or default
9228 to_remove_hw_breakpoint.
9229 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9230 TARGET_DEFAULT_RETURN.
9231
9232 2014-02-19 Tom Tromey <tromey@redhat.com>
9233
9234 * target-delegates.c: Rebuild.
9235 * target.c (update_current_target): Don't inherit or default
9236 to_insert_hw_breakpoint.
9237 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9238 TARGET_DEFAULT_RETURN.
9239
9240 2014-02-19 Tom Tromey <tromey@redhat.com>
9241
9242 * target-delegates.c: Rebuild.
9243 * target.c (update_current_target): Don't inherit or default
9244 to_can_use_hw_breakpoint.
9245 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9246 TARGET_DEFAULT_RETURN.
9247
9248 2014-02-19 Tom Tromey <tromey@redhat.com>
9249
9250 * target-delegates.c: Rebuild.
9251 * target.c (update_current_target): Don't inherit or default
9252 to_files_info.
9253 * target.h (struct target_ops) <to_files_info>: Use
9254 TARGET_DEFAULT_IGNORE.
9255
9256 2014-02-19 Tom Tromey <tromey@redhat.com>
9257
9258 * target-delegates.c: Rebuild.
9259 * target.c (update_current_target): Don't inherit or default
9260 to_store.
9261 * target.h (struct target_ops) <to_store>: Use
9262 TARGET_DEFAULT_NORETURN.
9263
9264 2014-02-19 Tom Tromey <tromey@redhat.com>
9265
9266 * target-delegates.c: Rebuild.
9267 * target.c (update_current_target): Don't inherit or default
9268 to_post_attach.
9269 * target.h (struct target_ops) <to_post_attach>: Use
9270 TARGET_DEFAULT_IGNORE.
9271
9272 2014-02-19 Tom Tromey <tromey@redhat.com>
9273
9274 * target-delegates.c: Rebuild.
9275 * target.c (update_current_target): Don't inherit or default
9276 to_rcmd.
9277 (default_rcmd): New function.
9278 (do_monitor_command): Unconditionally delegate.
9279 * target.h (struct target_ops) <to_rmcd>: Use
9280 TARGET_DEFAULT_FUNC.
9281
9282 2014-02-19 Tom Tromey <tromey@redhat.com>
9283
9284 * target-delegates.c: Rebuild.
9285 * target.c (init_dummy_target): Don't initialize to_attach.
9286 (target_attach): Unconditionally delegate.
9287 * target.h (struct target_ops) <to_attach>: Use
9288 TARGET_DEFAULT_FUNC.
9289
9290 2014-02-19 Tom Tromey <tromey@redhat.com>
9291
9292 * target-delegates.c: Rebuild.
9293 * target.c (target_detach): Unconditionally delegate.
9294 (init_dummy_target): Don't initialize to_detach.
9295 * target.h (struct target_ops) <to_detach>: Use
9296 TARGET_DEFAULT_IGNORE.
9297
9298 2014-02-19 Tom Tromey <tromey@redhat.com>
9299
9300 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9301 Add argument.
9302 (target_augmented_libraries_svr4_read): Add argument.
9303 * target.c (update_current_target): Update.
9304 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9305 argument.
9306
9307 2014-02-19 Tom Tromey <tromey@redhat.com>
9308
9309 * target.h (struct target_ops) <to_call_history_range>: Add
9310 argument.
9311 * target.c (target_call_history_range): Add argument.
9312 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9313 argument.
9314 (record_btrace_call_history_from): Update.
9315
9316 2014-02-19 Tom Tromey <tromey@redhat.com>
9317
9318 * target.h (struct target_ops) <to_call_history_from>: Add
9319 argument.
9320 * target.c (target_call_history_from): Add argument.
9321 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9322 argument.
9323
9324 2014-02-19 Tom Tromey <tromey@redhat.com>
9325
9326 * target.h (struct target_ops) <to_call_history>: Add argument.
9327 * target.c (target_call_history): Add argument.
9328 * record-btrace.c (record_btrace_call_history): Add 'self'
9329 argument.
9330
9331 2014-02-19 Tom Tromey <tromey@redhat.com>
9332
9333 * target.h (struct target_ops) <to_insn_history_range>: Add
9334 argument.
9335 * target.c (target_insn_history_range): Add argument.
9336 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9337 argument.
9338 (record_btrace_insn_history_from): Update.
9339
9340 2014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * target.h (struct target_ops) <to_insn_history_from>: Add
9343 argument.
9344 * target.c (target_insn_history_from): Add argument.
9345 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9346 argument.
9347
9348 2014-02-19 Tom Tromey <tromey@redhat.com>
9349
9350 * target.h (struct target_ops) <to_insn_history>: Add argument.
9351 * target.c (target_insn_history): Add argument.
9352 * record-btrace.c (record_btrace_insn_history): Add 'self'
9353 argument.
9354
9355 2014-02-19 Tom Tromey <tromey@redhat.com>
9356
9357 * target.h (struct target_ops) <to_goto_record>: Add argument.
9358 * target.c (target_goto_record): Add argument.
9359 * record-full.c (record_full_goto): Add 'self' argument.
9360 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9361
9362 2014-02-19 Tom Tromey <tromey@redhat.com>
9363
9364 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9365 * target.c (target_goto_record_end): Add argument.
9366 * record-full.c (record_full_goto_end): Add 'self' argument.
9367 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9368
9369 2014-02-19 Tom Tromey <tromey@redhat.com>
9370
9371 * target.h (struct target_ops) <to_goto_record_begin>: Add
9372 argument.
9373 * target.c (target_goto_record_begin): Add argument.
9374 * record-full.c (record_full_goto_begin): Add 'self' argument.
9375 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9376 argument.
9377
9378 2014-02-19 Tom Tromey <tromey@redhat.com>
9379
9380 * target.h (struct target_ops) <to_record_is_replaying>: Add
9381 argument.
9382 * target.c (target_record_is_replaying): Add argument.
9383 * record-full.c (record_full_is_replaying): Add 'self' argument.
9384 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9385 argument.
9386 (record_btrace_xfer_partial, record_btrace_store_registers)
9387 (record_btrace_prepare_to_store, record_btrace_resume)
9388 (record_btrace_wait, record_btrace_decr_pc_after_break)
9389 (record_btrace_find_new_threads, record_btrace_thread_alive):
9390 Update.
9391
9392 2014-02-19 Tom Tromey <tromey@redhat.com>
9393
9394 * target.h (struct target_ops) <to_delete_record>: Add argument.
9395 * target.c (target_delete_record): Add argument.
9396 * record-full.c (record_full_delete): Add 'self' argument.
9397
9398 2014-02-19 Tom Tromey <tromey@redhat.com>
9399
9400 * target.h (struct target_ops) <to_save_record>: Add argument.
9401 * target.c (target_save_record): Add argument.
9402 * record-full.c (record_full_save): Add 'self' argument.
9403 (record_full_save): Add 'self' argument.
9404
9405 2014-02-19 Tom Tromey <tromey@redhat.com>
9406
9407 * target.h (struct target_ops) <to_info_record>: Add argument.
9408 * target.c (target_info_record): Add argument.
9409 * record.c (info_record_command): Add argument.
9410 * record-full.c (record_full_info): Add 'self' argument.
9411 * record-btrace.c (record_btrace_info): Add 'self' argument.
9412
9413 2014-02-19 Tom Tromey <tromey@redhat.com>
9414
9415 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9416 * target.c (target_stop_recording): Add argument.
9417 * record.c (record_stop): Add argument.
9418 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9419 argument.
9420
9421 2014-02-19 Tom Tromey <tromey@redhat.com>
9422
9423 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9424 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9425 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9426 argument.
9427 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9428 (_initialize_amd64_linux_nat): Use it.
9429 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9430 (_initialize_i386_linux_nat): Use it.
9431
9432 2014-02-19 Tom Tromey <tromey@redhat.com>
9433
9434 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9435 * target.c (target_teardown_btrace): Add argument.
9436 * remote.c (remote_teardown_btrace): Add 'self' argument.
9437 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9438 argument.
9439 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9440 argument.
9441
9442 2014-02-19 Tom Tromey <tromey@redhat.com>
9443
9444 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9445 * target.c (target_disable_btrace): Add argument.
9446 * remote.c (remote_disable_btrace): Add 'self' argument.
9447 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9448 argument.
9449 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9450 argument.
9451
9452 2014-02-19 Tom Tromey <tromey@redhat.com>
9453
9454 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9455 * target.c (target_enable_btrace): Add argument.
9456 * remote.c (remote_enable_btrace): Add 'self' argument.
9457 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9458 argument.
9459 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9460 argument.
9461
9462 2014-02-19 Tom Tromey <tromey@redhat.com>
9463
9464 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9465 (target_can_use_agent): Add argument.
9466 * target.c (update_current_target): Update.
9467 * remote.c (remote_can_use_agent): Add 'self' argument.
9468 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9469
9470 2014-02-19 Tom Tromey <tromey@redhat.com>
9471
9472 * target.h (struct target_ops) <to_use_agent>: Add argument.
9473 (target_use_agent): Add argument.
9474 * target.c (update_current_target): Update.
9475 * remote.c (remote_use_agent): Add 'self' argument.
9476 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9477
9478 2014-02-19 Tom Tromey <tromey@redhat.com>
9479
9480 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9481 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9482 (target_traceframe_info): Add argument.
9483 * target.c (update_current_target): Update.
9484 * remote.c (remote_traceframe_info): Add 'self' argument.
9485 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9486
9487 2014-02-19 Tom Tromey <tromey@redhat.com>
9488
9489 * target.h (target_static_tracepoint_markers_by_strid): Add
9490 argument.
9491 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9492 'self' argument.
9493 * target.c (update_current_target): Update.
9494 * remote.c (struct target_ops)
9495 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9496 * linux-nat.c (struct target_ops)
9497 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9498
9499 2014-02-19 Tom Tromey <tromey@redhat.com>
9500
9501 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9502 Add argument.
9503 (target_static_tracepoint_marker_at): Add argument.
9504 * target.c (update_current_target): Update.
9505 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9506 argument.
9507
9508 2014-02-19 Tom Tromey <tromey@redhat.com>
9509
9510 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9511 (target_set_permissions): Add argument.
9512 * target.c (update_current_target): Update.
9513 * remote.c (remote_set_permissions): Add 'self' argument.
9514 (remote_start_remote): Update.
9515
9516 2014-02-19 Tom Tromey <tromey@redhat.com>
9517
9518 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9519 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9520 (target_get_tib_address): Add argument.
9521 * target.c (update_current_target): Update.
9522 * remote.c (remote_get_tib_address): Add 'self' argument.
9523
9524 2014-02-19 Tom Tromey <tromey@redhat.com>
9525
9526 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9527 (target_set_trace_notes): Add argument.
9528 * target.c (update_current_target): Update.
9529 * remote.c (remote_set_trace_notes): Add 'self' argument.
9530
9531 2014-02-19 Tom Tromey <tromey@redhat.com>
9532
9533 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9534 argument.
9535 (target_set_trace_buffer_size): Add argument.
9536 * target.c (update_current_target): Update.
9537 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9538
9539 2014-02-19 Tom Tromey <tromey@redhat.com>
9540
9541 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9542 argument.
9543 (target_set_circular_trace_buffer): Add argument.
9544 * target.c (update_current_target): Update.
9545 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9546 argument.
9547
9548 2014-02-19 Tom Tromey <tromey@redhat.com>
9549
9550 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9551 argument.
9552 (target_set_disconnected_tracing): Add argument.
9553 * target.c (update_current_target): Update.
9554 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9555
9556 2014-02-19 Tom Tromey <tromey@redhat.com>
9557
9558 * target.h (struct target_ops)
9559 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9560 (target_get_min_fast_tracepoint_insn_len): Add argument.
9561 * target.c (update_current_target): Update.
9562 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9563 argument.
9564
9565 2014-02-19 Tom Tromey <tromey@redhat.com>
9566
9567 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9568 argument.
9569 (target_get_raw_trace_data): Add argument.
9570 * target.c (update_current_target): Update.
9571 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9572
9573 2014-02-19 Tom Tromey <tromey@redhat.com>
9574
9575 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9576 Add argument.
9577 (target_upload_trace_state_variables): Add argument.
9578 * target.c (update_current_target): Update.
9579 * remote.c (remote_upload_trace_state_variables): Add 'self'
9580 argument.
9581 (remote_start_remote): Update.
9582
9583 2014-02-19 Tom Tromey <tromey@redhat.com>
9584
9585 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9586 argument.
9587 (target_upload_tracepoints): Add argument.
9588 * target.c (update_current_target): Update.
9589 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9590 (remote_start_remote): Update.
9591
9592 2014-02-19 Tom Tromey <tromey@redhat.com>
9593
9594 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9595 (target_save_trace_data): Add argument.
9596 * target.c (update_current_target): Update.
9597 * remote.c (remote_save_trace_data): Add 'self' argument.
9598
9599 2014-02-19 Tom Tromey <tromey@redhat.com>
9600
9601 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9602 argument.
9603 * target.h (struct target_ops)
9604 <to_get_trace_state_variable_value>: Add argument.
9605 (target_get_trace_state_variable_value): Add argument.
9606 * target.c (update_current_target): Update.
9607 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9608 argument.
9609 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9610
9611 2014-02-19 Tom Tromey <tromey@redhat.com>
9612
9613 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9614 * target.h (struct target_ops) <to_trace_find>: Add argument.
9615 (target_trace_find): Add argument.
9616 * target.c (update_current_target): Update.
9617 * remote.c (remote_trace_find): Add 'self' argument.
9618 * ctf.c (ctf_trace_find): Add 'self' argument.
9619
9620 2014-02-19 Tom Tromey <tromey@redhat.com>
9621
9622 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9623 (target_trace_stop): Add argument.
9624 * target.c (update_current_target): Update.
9625 * remote.c (remote_trace_stop): Add 'self' argument.
9626
9627 2014-02-19 Tom Tromey <tromey@redhat.com>
9628
9629 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9630 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9631 argument.
9632 (target_get_tracepoint_status): Add argument.
9633 * target.c (update_current_target): Update.
9634 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9635
9636 2014-02-19 Tom Tromey <tromey@redhat.com>
9637
9638 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9639 * target.h (struct target_ops) <to_get_trace_status>: Add
9640 argument.
9641 (target_get_trace_status): Add argument.
9642 * target.c (update_current_target): Update.
9643 * remote.c (remote_get_trace_status): Add 'self' argument.
9644 (remote_start_remote, remote_can_download_tracepoint): Update.
9645 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9646
9647 2014-02-19 Tom Tromey <tromey@redhat.com>
9648
9649 * target.h (struct target_ops) <to_trace_start>: Add argument.
9650 (target_trace_start): Add argument.
9651 * target.c (update_current_target): Update.
9652 * remote.c (remote_trace_start): Add 'self' argument.
9653
9654 2014-02-19 Tom Tromey <tromey@redhat.com>
9655
9656 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9657 Add argument.
9658 (target_trace_set_readonly_regions): Add argument.
9659 * target.c (update_current_target): Update.
9660 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9661 argument.
9662
9663 2014-02-19 Tom Tromey <tromey@redhat.com>
9664
9665 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9666 argument.
9667 (target_disable_tracepoint): Add argument.
9668 * target.c (update_current_target): Update.
9669 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9670
9671 2014-02-19 Tom Tromey <tromey@redhat.com>
9672
9673 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9674 argument.
9675 (target_enable_tracepoint): Add argument.
9676 * target.c (update_current_target): Update.
9677 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9678
9679 2014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target.h (struct target_ops) <to_download_trace_state_variable>:
9682 Add argument.
9683 (target_download_trace_state_variable): Add argument.
9684 * target.c (update_current_target): Update.
9685 * remote.c (remote_download_trace_state_variable): Add 'self'
9686 argument.
9687
9688 2014-02-19 Tom Tromey <tromey@redhat.com>
9689
9690 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9691 argument.
9692 (target_can_download_tracepoint): Add argument.
9693 * target.c (update_current_target): Update.
9694 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9695
9696 2014-02-19 Tom Tromey <tromey@redhat.com>
9697
9698 * target.h (struct target_ops) <to_download_tracepoint>: Add
9699 argument.
9700 (target_download_tracepoint): Add argument.
9701 * target.c (update_current_target): Update.
9702 * remote.c (remote_download_tracepoint): Add 'self' argument.
9703
9704 2014-02-19 Tom Tromey <tromey@redhat.com>
9705
9706 * target.h (struct target_ops) <to_trace_init>: Add argument.
9707 (target_trace_init): Add argument.
9708 * target.c (update_current_target): Update.
9709 * remote.c (remote_trace_init): Add 'self' argument.
9710
9711 2014-02-19 Tom Tromey <tromey@redhat.com>
9712
9713 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9714 * target.c (target_fileio_readlink): Add argument.
9715 * remote.c (remote_hostio_readlink): Add 'self' argument.
9716 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9717
9718 2014-02-19 Tom Tromey <tromey@redhat.com>
9719
9720 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9721 * target.c (target_fileio_unlink): Add argument.
9722 * remote.c (remote_hostio_unlink): Add 'self' argument.
9723 (remote_file_delete): Update.
9724 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9725
9726 2014-02-19 Tom Tromey <tromey@redhat.com>
9727
9728 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9729 * target.c (target_fileio_close): Add argument.
9730 * remote.c (remote_hostio_close): Add 'self' argument.
9731 (remote_hostio_close_cleanup): Update.
9732 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9733 Update.
9734 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9735
9736 2014-02-19 Tom Tromey <tromey@redhat.com>
9737
9738 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9739 * target.c (target_fileio_pread): Add argument.
9740 * remote.c (remote_hostio_pread): Add 'self' argument.
9741 (remote_bfd_iovec_pread, remote_file_get): Update.
9742 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9743
9744 2014-02-19 Tom Tromey <tromey@redhat.com>
9745
9746 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9747 * target.c (target_fileio_pwrite): Add argument.
9748 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9749 (remote_file_put): Update.
9750 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9751
9752 2014-02-19 Tom Tromey <tromey@redhat.com>
9753
9754 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9755 * target.c (target_fileio_open): Add argument.
9756 * remote.c (remote_hostio_open): Add 'self' argument.
9757 (remote_bfd_iovec_open): Add 'self' argument.
9758 (remote_file_put): Add 'self' argument.
9759 (remote_file_get): Add 'self' argument.
9760 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9761
9762 2014-02-19 Tom Tromey <tromey@redhat.com>
9763
9764 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9765 Add argument.
9766 (target_can_run_breakpoint_commands): Add argument.
9767 * target.c (update_current_target): Update.
9768 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9769 argument.
9770 (remote_insert_breakpoint): Add 'self' argument.
9771 (remote_insert_hw_breakpoint): Add 'self' argument.
9772 (remote_can_run_breakpoint_commands): Add 'self' argument.
9773
9774 2014-02-19 Tom Tromey <tromey@redhat.com>
9775
9776 * target.h (struct target_ops)
9777 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9778 (target_supports_evaluation_of_breakpoint_conditions): Add
9779 argument.
9780 * target.c (update_current_target): Update.
9781 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9782 argument.
9783 (remote_insert_breakpoint): Add 'self' argument.
9784 (remote_insert_hw_breakpoint): Add 'self' argument.
9785 (remote_supports_cond_breakpoints): Add 'self' argument.
9786
9787 2014-02-19 Tom Tromey <tromey@redhat.com>
9788
9789 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9790 argument.
9791 (target_supports_string_tracing): Add argument.
9792 * target.c (update_current_target): Update.
9793 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9794
9795 2014-02-19 Tom Tromey <tromey@redhat.com>
9796
9797 * target.h (struct target_ops)
9798 <to_supports_disable_randomization>: Add argument.
9799 * target.c (find_default_supports_disable_randomization): Add
9800 argument.
9801 (target_supports_disable_randomization): Add argument.
9802 (find_default_supports_disable_randomization): Add 'self'
9803 argument.
9804 * remote.c (extended_remote_supports_disable_randomization): Add
9805 'self' argument.
9806 (remote_supports_disable_randomization): Add 'self' argument.
9807 (extended_remote_create_inferior): Update.
9808 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9809 'self' argument.
9810
9811 2014-02-19 Tom Tromey <tromey@redhat.com>
9812
9813 * target.h (struct target_ops)
9814 <to_supports_enable_disable_tracepoint>: Add argument.
9815 (target_supports_enable_disable_tracepoint): Add argument.
9816 * target.c (update_current_target): Update.
9817 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9818 argument.
9819
9820 2014-02-19 Tom Tromey <tromey@redhat.com>
9821
9822 * target.h (struct target_ops) <to_supports_multi_process>: Add
9823 argument.
9824 (target_supports_multi_process): Add argument.
9825 * target.c (update_current_target): Update.
9826 * remote.c (remote_supports_multi_process): Add 'self' argument.
9827 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9828 argument.
9829 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9830 argument.
9831
9832 2014-02-19 Tom Tromey <tromey@redhat.com>
9833
9834 * target.h (struct target_ops) <to_execution_direction>: Add
9835 argument.
9836 (target_execution_direction): Add argument.
9837 * target.c (default_execution_direction): Add 'self' argument.
9838 * record-full.c (record_full_execution_direction): Add 'self'
9839 argument.
9840
9841 2014-02-19 Tom Tromey <tromey@redhat.com>
9842
9843 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9844 argument.
9845 (target_can_execute_reverse): Add argument.
9846 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9847 * record-full.c (record_full_can_execute_reverse): Add 'self'
9848 argument.
9849 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9850 argument.
9851
9852 2014-02-19 Tom Tromey <tromey@redhat.com>
9853
9854 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9855 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9856 argument.
9857 (target_get_ada_task_ptid): Add argument.
9858 * target.c (update_current_target): Update.
9859 (default_get_ada_task_ptid): Add 'self' argument.
9860 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9861 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9862 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9863 argument.
9864 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9865 argument.
9866 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9867 argument.
9868 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9869 argument.
9870 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9871 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9872 argument.
9873
9874 2014-02-19 Tom Tromey <tromey@redhat.com>
9875
9876 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9877 (target_goto_bookmark): Add argument.
9878 * target.c (dummy_goto_bookmark): Add 'self' argument.
9879 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9880
9881 2014-02-19 Tom Tromey <tromey@redhat.com>
9882
9883 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9884 (target_get_bookmark): Add argument.
9885 * target.c (dummy_get_bookmark): Add 'self' argument.
9886 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9887
9888 2014-02-19 Tom Tromey <tromey@redhat.com>
9889
9890 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9891 argument.
9892 (target_make_corefile_notes): Add argument.
9893 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9894 * procfs.c (procfs_make_note_section): Add 'self' argument.
9895 (procfs_make_note_section): Add 'self' argument.
9896 (procfs_make_note_section): Add 'self' argument.
9897 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9898 argument.
9899 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9900 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9901 * exec.c (exec_make_note_section): Add 'self' argument.
9902 (exec_make_note_section): Add 'self' argument.
9903
9904 2014-02-19 Tom Tromey <tromey@redhat.com>
9905
9906 * target.h (struct target_ops) <to_find_memory_regions>: Add
9907 argument.
9908 (target_find_memory_regions): Add argument.
9909 * target.c (dummy_find_memory_regions): Add 'self' argument.
9910 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9911 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9912 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9913 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9914 * exec. (exec_do_find_memory_regions): New global.
9915 (exec_set_find_memory_regions): Rewrite.
9916 (exec_find_memory_regions): New function.
9917 (init_exec_ops): Use exec_find_memory_regions.
9918
9919 2014-02-19 Tom Tromey <tromey@redhat.com>
9920
9921 * target.h (struct target_ops) <to_supports_non_stop>: Add
9922 argument.
9923 * target.c (find_default_supports_non_stop): Add argument.
9924 (target_supports_non_stop): Add argument.
9925 (find_default_supports_non_stop): Add 'self' argument.
9926 * remote.c (remote_supports_non_stop): Add 'self' argument.
9927 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9928
9929 2014-02-19 Tom Tromey <tromey@redhat.com>
9930
9931 * target.h (struct target_ops) <to_log_command>: Add argument.
9932 (target_log_command): Add argument.
9933 * serial.h (serial_log_command): Add 'self' argument.
9934 * serial.c (serial_log_command): Add 'self' argument.
9935
9936 2014-02-19 Tom Tromey <tromey@redhat.com>
9937
9938 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9939 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9940 argument.
9941 (target_pid_to_exec_file): Add argument.
9942 * target.c (debug_to_pid_to_exec_file): Add argument.
9943 (update_current_target): Update.
9944 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9945 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9946 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9947 (linux_handle_extended_wait): Update.
9948 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9949 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9950 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9951 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9952
9953 2014-02-19 Tom Tromey <tromey@redhat.com>
9954
9955 * target.h (struct target_ops) <to_rcmd>: Add argument.
9956 (target_rcmd): Add argument.
9957 * target.c (debug_to_rcmd): Add argument.
9958 (update_current_target, do_monitor_command): Update.
9959 * remote.c (remote_rcmd): Add 'self' argument.
9960 * monitor.c (monitor_rcmd): Add 'self' argument.
9961
9962 2014-02-19 Tom Tromey <tromey@redhat.com>
9963
9964 * windows-nat.c (windows_stop): Add 'self' argument.
9965 * target.h (struct target_ops) <to_stop>: Add argument.
9966 * target.c (target_stop): Add argument.
9967 (debug_to_stop): Add argument.
9968 (update_current_target): Update.
9969 * remote.c (remote_stop): Add 'self' argument.
9970 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9971 (gdbsim_cntrl_c): Update.
9972 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9973 * procfs.c (procfs_stop): Add 'self' argument.
9974 * nto-procfs.c (procfs_stop): Add 'self' argument.
9975 * monitor.c (monitor_stop): Add 'self' argument.
9976 (monitor_open): Update.
9977 * linux-nat.c (linux_nat_stop): Add argument.
9978 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9979 * gnu-nat.c (gnu_stop): Add 'self' argument.
9980 * darwin-nat.c (darwin_stop): Add 'self' argument.
9981
9982 2014-02-19 Tom Tromey <tromey@redhat.com>
9983
9984 * target.h (struct target_ops) <to_thread_name>: Add argument.
9985 * target.c (target_thread_name): Add argument.
9986 (update_current_target): Update.
9987 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9988
9989 2014-02-19 Tom Tromey <tromey@redhat.com>
9990
9991 * target.h (struct target_ops) <to_extra_thread_info>: Add
9992 argument.
9993 (target_extra_thread_info): Add argument.
9994 * target.c (update_current_target): Update.
9995 * remote.c (remote_threads_extra_info): Add 'self' argument.
9996 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9997 argument.
9998 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9999 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10000 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10001 argument.
10002 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10003 argument.
10004 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10005 argument.
10006 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10007 argument.
10008
10009 2014-02-19 Tom Tromey <tromey@redhat.com>
10010
10011 * target.h (struct target_ops) <to_program_signals>: Add argument.
10012 * target.c (target_program_signals): Add argument.
10013 * remote.c (remote_program_signals): Add 'self' argument.
10014
10015 2014-02-19 Tom Tromey <tromey@redhat.com>
10016
10017 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10018 * target.c (target_pass_signals): Add argument.
10019 * remote.c (remote_pass_signals): Add 'self' argument.
10020 (remote_start_remote): Update.
10021 * procfs.c (procfs_pass_signals): Add 'self' argument.
10022 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10023 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10024 (linux_nat_create_inferior, linux_nat_attach): Update.
10025
10026 2014-02-19 Tom Tromey <tromey@redhat.com>
10027
10028 * windows-nat.c (windows_can_run): Add 'self' argument.
10029 * target.h (struct target_ops) <to_can_run>: Add argument.
10030 (target_can_run): Add argument.
10031 * target.c (debug_to_can_run): Add argument.
10032 (update_current_target): Update.
10033 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10034 * inf-child.c (inf_child_can_run): Add 'self' argument.
10035 * go32-nat.c (go32_can_run): Add 'self' argument.
10036
10037 2014-02-19 Tom Tromey <tromey@redhat.com>
10038
10039 * target.h (struct target_ops) <to_has_exited>: Add argument.
10040 (target_has_exited): Add argument.
10041 * target.c (debug_to_has_exited): Add argument.
10042 (update_current_target): Update.
10043
10044 2014-02-19 Tom Tromey <tromey@redhat.com>
10045
10046 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10047 argument.
10048 (target_set_syscall_catchpoint): Add argument.
10049 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10050 argument.
10051 * target.c (update_current_target): Update.
10052
10053 2014-02-19 Tom Tromey <tromey@redhat.com>
10054
10055 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10056 argument.
10057 (target_remove_exec_catchpoint): Add argument.
10058 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10059 (update_current_target): Update.
10060 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10061 argument.
10062
10063 2014-02-19 Tom Tromey <tromey@redhat.com>
10064
10065 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10066 argument.
10067 (target_insert_exec_catchpoint): Add argument.
10068 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10069 (update_current_target): Update.
10070 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10071 argument.
10072
10073 2014-02-19 Tom Tromey <tromey@redhat.com>
10074
10075 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10076 argument.
10077 (target_remove_vfork_catchpoint): Add argument.
10078 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10079 (update_current_target): Update.
10080 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10081 argument.
10082
10083 2014-02-19 Tom Tromey <tromey@redhat.com>
10084
10085 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10086 argument.
10087 (target_insert_vfork_catchpoint): Add argument.
10088 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10089 (update_current_target): Update.
10090 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10091 argument.
10092
10093 2014-02-19 Tom Tromey <tromey@redhat.com>
10094
10095 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10096 argument.
10097 (target_remove_fork_catchpoint): Add argument.
10098 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10099 (update_current_target): Update.
10100 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10101 argument.
10102
10103 2014-02-19 Tom Tromey <tromey@redhat.com>
10104
10105 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10106 argument.
10107 (target_insert_fork_catchpoint): Add argument.
10108 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10109 (update_current_target): Update.
10110 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10111 argument.
10112
10113 2014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10116 argument.
10117 (target_post_startup_inferior): Add argument.
10118 * target.c (debug_to_post_startup_inferior): Add argument.
10119 (update_current_target): Update.
10120 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10121 argument.
10122 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10123 argument.
10124 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10125 argument.
10126 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10127 argument.
10128 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10129 'self' argument.
10130 (super_post_startup_inferior): Likewise.
10131 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10132 'self' argument.
10133 (super_post_startup_inferior): Likewise.
10134 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10135 Add 'self' argument.
10136 (super_post_startup_inferior): Likewise.
10137
10138 2014-02-19 Tom Tromey <tromey@redhat.com>
10139
10140 * target.h (struct target_ops) <to_load>: Add argument.
10141 * target.c (target_load): Add argument.
10142 (debug_to_load): Add argument.
10143 (update_current_target): Update.
10144 * remote.c (remote_load): Add 'self' argument.
10145 * remote-sim.c (gdbsim_load): Add 'self' argument.
10146 * remote-mips.c (mips_load): Add 'self' argument.
10147 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10148 * monitor.c (monitor_load): Add 'self' argument.
10149 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10150
10151 2014-02-19 Tom Tromey <tromey@redhat.com>
10152
10153 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10154 (target_terminal_info): Add argument.
10155 * target.c (debug_to_terminal_info): Add argument.
10156 (default_terminal_info): Likewise.
10157 * inflow.c (child_terminal_info): Add 'self' argument.
10158 * inferior.h (child_terminal_info): Add 'self' argument.
10159 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10160
10161 2014-02-19 Tom Tromey <tromey@redhat.com>
10162
10163 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10164 argument.
10165 (target_terminal_save_ours): Add argument.
10166 * target.c (debug_to_terminal_save_ours): Add argument.
10167 (update_current_target): Update.
10168 * inflow.c (terminal_save_ours): Add 'self' argument.
10169 * inferior.h (terminal_save_ours): Add 'self' argument.
10170
10171 2014-02-19 Tom Tromey <tromey@redhat.com>
10172
10173 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10174 (target_terminal_ours): Add argument.
10175 * target.c (debug_to_terminal_ours): Add argument.
10176 (update_current_target): Update.
10177 * remote.c (remote_terminal_ours): Add 'self' argument.
10178 (remote_close): Update.
10179 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10180 * inflow.c (terminal_ours): Add 'self' argument.
10181 * inferior.h (terminal_ours): Add 'self' argument.
10182 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10183
10184 2014-02-19 Pedro Alves <palves@redhat.com>
10185 Tom Tromey <tromey@redhat.com>
10186
10187 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10188 argument.
10189 (target_terminal_ours_for_output): Add argument.
10190 * target.c (debug_to_terminal_ours_for_output): Add argument.
10191 (update_current_target): Update.
10192 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10193 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10194 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10195
10196 2014-02-19 Tom Tromey <tromey@redhat.com>
10197
10198 * target.h (struct target_ops) <to_terminal_inferior>: Add
10199 argument.
10200 * target.c (target_terminal_inferior): Add argument.
10201 (update_current_target): Update.
10202 * remote.c (remote_terminal_inferior): Add 'self' argument.
10203 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10204 * inflow.c (terminal_inferior): Add 'self' argument.
10205 * inferior.h (terminal_inferior): Add 'self' argument.
10206 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10207 (go32_terminal_inferior): Add 'self' argument.
10208
10209 2014-02-19 Tom Tromey <tromey@redhat.com>
10210
10211 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10212 (target_terminal_init): Add argument.
10213 * target.c (debug_to_terminal_init): Add argument.
10214 (update_current_target): Update.
10215 * inflow.c (terminal_init_inferior): Add 'self' argument.
10216 * inferior.h (terminal_init_inferior): Add 'self' argument.
10217 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10218 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10219
10220 2014-02-19 Tom Tromey <tromey@redhat.com>
10221
10222 * target.h (struct target_ops)
10223 <to_can_accel_watchpoint_condition>: Add argument.
10224 (target_can_accel_watchpoint_condition): Add argument.
10225 * target.c (debug_to_can_accel_watchpoint_condition): Add
10226 argument.
10227 (update_current_target): Update.
10228 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10229 'self' argument.
10230
10231 2014-02-19 Tom Tromey <tromey@redhat.com>
10232
10233 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10234 Add argument.
10235 (target_region_ok_for_hw_watchpoint): Add argument.
10236 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10237 (default_region_ok_for_hw_watchpoint): Add argument.
10238 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10239 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10240 argument.
10241 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10242 argument.
10243 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10244 argument.
10245 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10246 'self' argument.
10247 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10248 'self' argument.
10249 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10250 'self' argument.
10251 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10252 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10253 'self' argument.
10254 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10255 Add 'self' argument.
10256
10257 2014-02-19 Tom Tromey <tromey@redhat.com>
10258
10259 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10260 argument.
10261 (target_insert_watchpoint): Add argument.
10262 * target.c (debug_to_insert_watchpoint): Add argument.
10263 (update_current_target): Update.
10264 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10265 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10266 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10267 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10268 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10269 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10270 argument.
10271 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10272 (procfs_insert_hw_watchpoint): Add 'self' argument.
10273 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10274 argument.
10275 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10276 argument.
10277 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10278 argument.
10279 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10280 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10281 argument.
10282 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10283 'self' argument.
10284
10285 2014-02-19 Tom Tromey <tromey@redhat.com>
10286
10287 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10288 argument.
10289 (target_remove_watchpoint): Add argument.
10290 * target.c (debug_to_remove_watchpoint): Add argument.
10291 (update_current_target): Update.
10292 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10293 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10294 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10295 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10296 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10297 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10298 argument.
10299 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10300 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10301 argument.
10302 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10303 argument.
10304 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10305 argument.
10306 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10307 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10308 argument.
10309 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10310 'self' argument.
10311
10312 2014-02-19 Tom Tromey <tromey@redhat.com>
10313
10314 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10315 argument.
10316 (target_remove_hw_breakpoint): Add argument.
10317 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10318 (update_current_target): Update.
10319 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10320 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10321 argument.
10322 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10323 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10324 argument.
10325 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10326 'self' argument.
10327
10328 2014-02-19 Tom Tromey <tromey@redhat.com>
10329
10330 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10331 argument.
10332 (target_insert_hw_breakpoint): Add argument.
10333 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10334 (update_current_target): Update.
10335 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10336 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10337 argument.
10338 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10339 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10340 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10341 argument.
10342 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10343 'self' argument.
10344
10345 2014-02-19 Tom Tromey <tromey@redhat.com>
10346
10347 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10348 argument.
10349 (target_can_use_hardware_watchpoint): Add argument.
10350 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10351 (update_current_target): Update.
10352 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10353 argument.
10354 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10355 argument.
10356 * remote.c (remote_check_watch_resources): Add 'self' argument.
10357 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10358 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10359 argument.
10360 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10361 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10362 argument.
10363 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10364 argument.
10365 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10366 argument.
10367 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10368 argument.
10369 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10370 argument.
10371 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10372 argument.
10373 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10374 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10375 argument.
10376 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10377 'self' argument.
10378
10379 2014-02-19 Tom Tromey <tromey@redhat.com>
10380
10381 * target.h (struct target_ops) <to_post_attach>: Add argument.
10382 (target_post_attach): Add argument.
10383 * target.c (debug_to_post_attach): Add argument.
10384 (update_current_target): Update.
10385 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10386 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10387 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10388 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10389 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10390
10391 2014-02-19 Tom Tromey <tromey@redhat.com>
10392
10393 * windows-nat.c (windows_close): Add 'self' argument.
10394 * tracepoint.c (tfile_close): Add 'self' argument.
10395 * target.h (struct target_ops) <to_close>: Add argument.
10396 * target.c (target_close): Add argument.
10397 (update_current_target): Update.
10398 * remote.c (remote_close): Add 'self' argument.
10399 * remote-sim.c (gdbsim_close): Add 'self' argument.
10400 * remote-mips.c (mips_close): Add 'self' argument.
10401 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10402 * record-full.c (record_full_close): Add 'self' argument.
10403 * record-btrace.c (record_btrace_close): Add 'self' argument.
10404 * monitor.h (monitor_close): Add 'self' argument.
10405 * monitor.c (monitor_close): Add 'self' argument.
10406 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10407 * linux-nat.c (linux_nat_close): Add argument.
10408 * go32-nat.c (go32_close): Add 'self' argument.
10409 * exec.c (exec_close_1): Add 'self' argument.
10410 * ctf.c (ctf_close): Add 'self' argument.
10411 * corelow.c (core_close): Add 'self' argument.
10412 (core_close_cleanup): Update.
10413 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10414 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10415
10416 2014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * remote.c (remote_load): New function.
10419 (init_remote_ops): Use it.
10420
10421 2014-02-19 Tom Tromey <tromey@redhat.com>
10422
10423 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10424 argument.
10425 * common/linux-btrace.h (linux_supports_btrace): Update.
10426 * remote.c (remote_supports_btrace): Add "self" argument.
10427 * target-delegates.c: Rebuild.
10428 * target.c (target_supports_btrace): Remove.
10429 * target.h (struct target_ops) <to_supports_btrace>: Add
10430 target_ops argument.
10431 (target_supports_btrace): New define.
10432
10433 2014-02-19 Tom Tromey <tromey@redhat.com>
10434
10435 * record-full.c (record_full_beneath_to_resume_ops)
10436 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10437 (record_full_beneath_to_wait)
10438 (record_full_beneath_to_store_registers_ops)
10439 (record_full_beneath_to_store_registers)
10440 (record_full_beneath_to_xfer_partial_ops)
10441 (record_full_beneath_to_xfer_partial)
10442 (record_full_beneath_to_insert_breakpoint_ops)
10443 (record_full_beneath_to_insert_breakpoint)
10444 (record_full_beneath_to_remove_breakpoint_ops)
10445 (record_full_beneath_to_remove_breakpoint)
10446 (record_full_beneath_to_stopped_by_watchpoint)
10447 (record_full_beneath_to_stopped_data_address)
10448 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10449 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10450 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10451 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10452 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10453 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10454 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10455 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10456 (record_full_resume, record_full_wait_1)
10457 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10458 (record_full_store_registers, record_full_xfer_partial)
10459 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10460 (record_full_async, record_full_core_xfer_partial): Use target
10461 delegation.
10462 * target-delegates.c: Rebuild.
10463 * target.c (current_xfer_partial): Remove.
10464 (update_current_target): Do not INHERIT or de_fault
10465 to_insert_breakpoint, to_remove_breakpoint,
10466 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10467 to_is_async_p, to_async. Do not set to_xfer_partial field.
10468 (default_xfer_partial): Simplify.
10469 (current_xfer_partial): Remove.
10470 (target_wait, target_resume): Simplify.
10471 (find_default_can_async_p, find_default_is_async_p): Update.
10472 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10473 to_xfer_partial, to_stopped_by_watchpoint,
10474 to_stopped_data_address.
10475 (target_store_registers): Simplify.
10476 (forward_target_remove_breakpoint)
10477 (forward_target_insert_breakpoint): Remove.
10478 (target_remove_breakpoint, target_insert_breakpoint)
10479 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10480 * target.h (struct target_ops) <to_resume, to_wait,
10481 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10482 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10483 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10484 markup.
10485 (forward_target_remove_breakpoint)
10486 (forward_target_insert_breakpoint): Remove.
10487 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10488 directly.
10489 (record_btrace_insert_breakpoint): Delegate directly.
10490
10491 2014-02-19 Tom Tromey <tromey@redhat.com>
10492
10493 PR build/7701:
10494 * target-delegates.c: New file.
10495 * target.c: Include target-delegates.c.
10496 (init_dummy_target): Call install_dummy_methods.
10497 (complete_target_initialization): Call install_delegators.
10498 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10499 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10500 * make-target-delegates: New file.
10501
10502 2014-02-19 Tom Tromey <tromey@redhat.com>
10503
10504 * record.c (find_record_target): Use find_target_at.
10505 * target.c (find_target_at): New function.
10506 * target.h (find_target_at): Declare.
10507
10508 2014-02-19 Tom Tromey <tromey@redhat.com>
10509
10510 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10511 Add 'ops' argument.
10512 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10513 'ops' argument.
10514 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10515 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10516 'ops' argument.
10517 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10518 argument.
10519 * linux-nat.c (save_sigtrap): Update.
10520 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10521 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10522 (linux_nat_close): Update.
10523 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10524 argument.
10525 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10526 argument.
10527 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10528 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10529 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10530 (tmp_to_async): Add 'ops' argument.
10531 (record_full_stopped_by_watchpoint, record_full_async)
10532 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10533 argument.
10534 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10535 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10536 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10537 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10538 (remote_is_async_p, remote_async): Add 'ops' argument.
10539 (remote_stopped_data_address): Update.
10540 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10541 * target.c (update_current_target)
10542 (find_default_can_async_p, find_default_is_async_p): Update.
10543 (init_dummy_target): Update.
10544 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10545 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10546 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10547 (target_can_async_p, target_is_async_p, target_async)
10548 (target_stopped_by_watchpoint): Update.
10549
10550 2014-02-19 Yao Qi <yao@codesourcery.com>
10551
10552 PR gdb/16220
10553 * gdbarch.sh: Remove startup_gdbarch.
10554 * gdbarch.c: Regenerated.
10555 * gdbarch.h: Likewise.
10556
10557 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10558
10559 * rl78-tdep.c (rl78_g10_register_name): New function.
10560 (rl78_return_value): Add g10 support.
10561 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10562 g10.
10563
10564 2014-02-17 Doug Evans <xdje42@gmail.com>
10565
10566 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10567 (SUBDIR_GUILE_SRCS): Ditto.
10568 (scm-gsmob.o): Ditto.
10569
10570 2014-02-17 Yao Qi <yao@codesourcery.com>
10571
10572 * gnu-nat.c (ILL_RPC): Declare defined function.
10573
10574 2014-02-17 Yao Qi <yao@codesourcery.com>
10575
10576 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10577 mach_msg_type_number_t.
10578 (gnu_write_inferior): Likewise.
10579
10580 2014-02-17 Yao Qi <yao@codesourcery.com>
10581
10582 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10583 in format string.
10584 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10585 (inf_validate_procs, inf_signal): Likewise.
10586 (S_exception_raise_request): Likewise.
10587 (do_mach_notify_dead_name): Likewise.
10588 (steal_exc_port): Likewise.
10589 (gnu_read_inferior): Change 'copy_count''s type to
10590 mach_msg_type_number_t.
10591 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10592 format string.
10593
10594 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10595
10596 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10597 flag. Adjust all users; in particular...
10598 (gnu_wait): ..., don't decrement its value in here...
10599 (gnu_create_inferior): ..., and instead set the flag in here,
10600 around the startup_inferior call, and call that one with
10601 START_INFERIOR_TRAPS_EXPECTED.
10602
10603 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10604 (ILL_RPC): ... new macro.
10605 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10606 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10607 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10608 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10609 functions with ILL_RPC macro.
10610 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10611 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10612 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10613 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10614 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10615 (S_proc_getlogin_reply, S_proc_getsid_reply)
10616 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10617 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10618 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10619 (S_proc_getnports_reply, S_proc_is_important_reply)
10620 (S_proc_get_code_reply): New stub functions, generated with
10621 ILL_RPC macro.
10622
10623 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10624 collected the type check structures.
10625
10626 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10627
10628 2014-02-14 Doug Evans <dje@google.com>
10629
10630 * target.c (target_write_partial): Fix result type.
10631
10632 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10633
10634 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10635 the proper offsets to access fpregset_t.
10636
10637 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10638
10639 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10640 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10641 * h8300-tdep.c (setmachinelist): Remove global.
10642 * hppa-tdep.c (hppa_sigtramp): Remove global.
10643 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10644 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10645 * ravenscar-thread.c (update_target_observer): Remove global.
10646 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10647
10648 2014-02-12 Tom Tromey <tromey@redhat.com>
10649
10650 * common/rsp-low.c: Update comments.
10651 * common/rsp-low.h: Update comments.
10652
10653 2014-02-12 Tom Tromey <tromey@redhat.com>
10654
10655 * common/rsp-low.c (convert_ascii_to_int): Remove.
10656 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10657
10658 2014-02-12 Tom Tromey <tromey@redhat.com>
10659
10660 * common/rsp-low.h (unhexify): Don't declare.
10661 * common/rsp-low.c (unhexify): Remove.
10662
10663 2014-02-12 Tom Tromey <tromey@redhat.com>
10664
10665 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10666 * common/rsp-low.c (convert_int_to_ascii): Remove.
10667
10668 2014-02-12 Tom Tromey <tromey@redhat.com>
10669
10670 * common/rsp-low.h (hexify): Don't declare.
10671 * common/rsp-low.c (hexify): Remove.
10672
10673 2014-02-12 Tom Tromey <tromey@redhat.com>
10674
10675 * common/rsp-low.c (hexify): Never take strlen of argument.
10676
10677 2014-02-12 Tom Tromey <tromey@redhat.com>
10678
10679 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10680 * remote.c (extended_remote_run, remote_rcmd)
10681 (remote_download_trace_state_variable, remote_save_trace_data)
10682 (remote_set_trace_notes): Update.
10683 * tracepoint.c (encode_source_string, tfile_write_status)
10684 (tfile_write_uploaded_tsv): Update.
10685
10686 2014-02-12 Tom Tromey <tromey@redhat.com>
10687
10688 * tracepoint.c: Include rsp-low.h.
10689 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10690 * remote.c: Include rsp-low.h.
10691 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10692 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10693 (remote_unescape_input): Move to common/rsp-low.c.
10694 * common/rsp-low.h: New file.
10695 * common/rsp-low.c: New file.
10696 * Makefile.in (SFILES): Add common/rsp-low.c.
10697 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10698 (COMMON_OBS): Add rsp-low.o.
10699 (rsp-low.o): New target.
10700
10701 2014-02-12 Tom Tromey <tromey@redhat.com>
10702
10703 * utils.h: Include print-utils.h.
10704 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10705 (int_string, core_addr_to_string, core_addr_to_string_nz)
10706 (hex_string, hex_string_custom): Don't declare.
10707 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10708 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10709 (hex_string_custom, int_string, core_addr_to_string)
10710 (core_addr_to_string_nz, host_address_to_string): Move to
10711 common/print-utils.c.
10712 * common/print-utils.h: New file.
10713 * common/print-utils.c: New file
10714 * Makefile.in (SFILES): Add common/print-utils.c.
10715 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10716 (COMMON_OBS): Add print-utils.o.
10717 (print-utils.o): New target.
10718
10719 2014-02-12 Tom Tromey <tromey@redhat.com>
10720
10721 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10722
10723 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10724
10725 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10726
10727 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10728
10729 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10730 if a PT_IO ptrace request returns sucessfully but indicates that 0
10731 bytes were transferred.
10732
10733 2014-02-12 Pedro Alves <palves@redhat.com>
10734 Kevin Buettner <kevinb@redhat.com>
10735
10736 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10737 TYPE_INSTANCE_FLAG_CODE_SPACE.
10738
10739 2014-02-12 Pedro Alves <palves@redhat.com>
10740
10741 * h8300-tdep.c (pseudo_from_raw_register)
10742 (raw_from_pseudo_register): New functions.
10743 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10744 them.
10745
10746 2014-02-12 Pedro Alves <palves@redhat.com>
10747
10748 * h8300-tdep.c (h8300_register_sim_regno): New function.
10749 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10750 gdbarch_register_sim_regno hook.
10751
10752 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10753
10754 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10755
10756 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10757
10758 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10759
10760 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10761
10762 * obsd-tdep.h (obsd_init_abi): New prototype.
10763 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10764 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10765 (obsd_init_abi): New functions.
10766 * i386obsd-tdep.c: Include "obsd-tdep.h".
10767 (i386obsd_init_abi): Call obsd_init_abi.
10768 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10769 (amd64obsd_init_abi): Call obsd_init_abi.
10770 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10771 obsd-tdep.c to gdb_target_obs.
10772
10773 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10774
10775 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10776 double float arguments to 16-byte in the argument slots.
10777
10778 2014-02-11 Doug Evans <xdje42@gmail.com>
10779
10780 * configure.ac: Don't crash if pkg-config is not found and guile
10781 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10782 in guile checks.
10783 * configure: Regenerate.
10784
10785 2014-02-11 Yao Qi <yao@codesourcery.com>
10786
10787 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10788 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10789 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10790 * gnu-nat.c (gnu_xfer_memory): Likewise.
10791 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10792 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10793 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10794 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10795
10796 2014-02-11 Yao Qi <yao@codesourcery.com>
10797
10798 * target.h (enum target_xfer_error): Rename to ...
10799 (enum target_xfer_status): ... it. New. All users updated.
10800 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10801 New.
10802 (TARGET_XFER_STATUS_ERROR_P): New macro.
10803 (target_xfer_error_to_string): Remove declaration.
10804 (target_xfer_status_to_string): Declare.
10805 (target_xfer_partial_ftype): Adjust it.
10806 (struct target_ops) <to_xfer_partial>: Return
10807 target_xfer_status. Add argument xfered_len. Update
10808 comments.
10809 * target.c (target_xfer_error_to_string): Rename to ...
10810 (target_xfer_status_to_string): ... it. New. All callers
10811 updated.
10812 (target_read_live_memory): Likewise. Call target_xfer_partial
10813 instead of target_read.
10814 (memory_xfer_live_readonly_partial): Return
10815 target_xfer_status. Add argument xfered_len.
10816 (raw_memory_xfer_partial): Likewise.
10817 (memory_xfer_partial_1): Likewise.
10818 (memory_xfer_partial): Likewise.
10819 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10820 properly. Update debug message.
10821 (default_xfer_partial, current_xfer_partial): Likewise.
10822 (target_write_partial): Likewise.
10823 (target_read_partial): Likewise. All callers updated.
10824 (read_whatever_is_readable): Likewise.
10825 (target_write_with_progress): Likewise.
10826 (target_read_alloc_1): Likewise.
10827
10828 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10829 * auxv.c (procfs_xfer_auxv): Likewise.
10830 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10831 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10832 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10833 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10834 * corefile.c (read_memory): Adjust.
10835 * corelow.c (core_xfer_partial): Likewise.
10836 * ctf.c (ctf_xfer_partial): Likewise.
10837 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10838 updated.
10839 (darwin_xfer_partial): Likewise.
10840 * exec.c (section_table_xfer_memory_partial): Likewise. All
10841 callers updated.
10842 (exec_xfer_partial): Likewise.
10843 * exec.h (section_table_xfer_memory_partial): Update
10844 declaration.
10845 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10846 negative.
10847 (gnu_xfer_partial): Likewise.
10848 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10849 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10850 (ia64_hpux_xfer_solib_got): Likewise.
10851 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10852 type of 'partial_len' to ULONGEST.
10853 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10854 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10855 (linux_nat_xfer_partial): Likewise.
10856 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10857 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10858 * monitor.c (monitor_xfer_memory): Likewise.
10859 (monitor_xfer_partial): Likewise.
10860 * procfs.c (procfs_xfer_partial): Likewise.
10861 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10862 * record-full.c (record_full_xfer_partial): Likewise.
10863 (record_full_core_xfer_partial): Likewise.
10864 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10865 (gdbsim_xfer_partial): Likewise.
10866 * remote.c (remote_write_bytes_aux): Likewise. All callers
10867 updated.
10868 (remote_write_bytes, remote_read_bytes): Likewise. All
10869 callers updated.
10870 (remote_flash_erase): Likewise. All callers updated.
10871 (remote_write_qxfer): Likewise. All callers updated.
10872 (remote_read_qxfer): Likewise. All callers updated.
10873 (remote_xfer_partial): Likewise.
10874 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10875 (rs6000_xfer_shared_libraries): Likewise.
10876 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10877 (sol_thread_xfer_partial): Likewise.
10878 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10879 (sparc_xfer_partial): Likewise.
10880 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10881 updated.
10882 (spu_xfer_partial): Likewise.
10883 * spu-multiarch.c (spu_xfer_partial): Likewise.
10884 * tracepoint.c (tfile_xfer_partial): Likewise.
10885 * windows-nat.c (windows_xfer_memory): Likewise.
10886 (windows_xfer_shared_libraries): Likewise.
10887 (windows_xfer_partial): Likewise.
10888 * valprint.c: Replace 'target_xfer_error' with
10889 'target_xfer_status' in comments.
10890
10891 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10892
10893 Checked in by Joel Brobecker <brobecker@adacore.com>.
10894 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10895
10896 2014-02-11 Joel Brobecker <brobecker@adacore.com>
10897
10898 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10899 function parameters.
10900
10901 2014-02-10 Will Newton <will.newton@linaro.org>
10902
10903 * elfread.c (elf_rel_plt_read): Look for a .got section if
10904 looking up .got.plt fails.
10905 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10906 on address passed to elf_gnu_ifunc_record_cache.
10907 (elf_gnu_ifunc_resolve_addr): Likewise.
10908 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10909
10910 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10911
10912 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10913 (X_RETTURN): New macro.
10914 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10915
10916 * sparc64-tdep.c (sparc64_init_abi): Hook
10917 sparc_in_function_epilogue_p.
10918
10919 2014-02-10 Gary Benson <gbenson@redhat.com>
10920
10921 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10922 Rename name_matcher to symbol_matcher.
10923
10924 2014-02-10 Gary Benson <gbenson@redhat.com>
10925
10926 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10927 Use expand_symtabs_file_matcher_ftype and
10928 expand_symtabs_symbol_matcher_ftype.
10929
10930 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10931
10932 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10933 (struct ada_symbol_cache): New.
10934 (ada_free_symbol_cache): Forward declare.
10935 (struct ada_pspace_data): New.
10936 (ada_pspace_data_handle): New static global.
10937 (get_ada_pspace_data, ada_pspace_data_cleanup)
10938 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10939 (cache_space, cache): Delete, now folded inside struct
10940 ada_pspace_data.
10941 (ada_get_symbol_cache): New function.
10942 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10943 implementation.
10944 (_initialize_ada_language): Remove initialization of cache_space.
10945 Move call to observer_attach_inferior_exit up, grouping it
10946 with the other observer registrations inside this function.
10947 Rename command to be more general. Add call to
10948 register_program_space_data_with_cleanup.
10949
10950 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10951
10952 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10953 ada_new_objfile_observer.
10954 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10955 (_initialize_tasks): Update uses of ada_new_objfile_observer
10956 and ada_tasks_normal_stop_observer.
10957
10958 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10959
10960 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10961 returned by the 'Length attribute to integer.
10962
10963 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10964
10965 * ada-lang.c (_initialize_ada_language): Initialize
10966 cache_space obstack.
10967
10968 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10969
10970 * ada-lang.c (HASH_SIZE): New macro.
10971 (struct cache_entry): New type.
10972 (cache_space, cache): New static globals.
10973 (ada_clear_symbol_cache, find_entry): New functions.
10974 (lookup_cached_symbol, cache_symbol): Implement.
10975 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10976 (_initialize_ada_language): Attach ada_new_objfile_observer
10977 and ada_free_objfile_observer.
10978
10979 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10980
10981 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10982 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10983 struct block * parameter.
10984 (ada_lookup_symbol_list_worker): Constify local variable "block".
10985 Remove cast which is no longer necessary.
10986
10987 2014-02-10 Doug Evans <xdje42@gmail.com>
10988
10989 Add Guile as an extension language.
10990 * NEWS: Mention Guile scripting.
10991 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10992 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10993 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10994 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10995 (CLIBS): Add GUILE_LIBS.
10996 (install-guile): New rule.
10997 (guile.o): New rule.
10998 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10999 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11000 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11001 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11002 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11003 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11004 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11005 * configure.ac: New option --with-guile.
11006 * configure: Regenerate.
11007 * config.in: Regenerate.
11008 * auto-load.c: Remove #include "python/python.h". Add #include
11009 "gdb/section-scripts.h".
11010 (source_section_scripts): Handle Guile scripts.
11011 (_initialize_auto_load): Add name of Guile objfile script to
11012 scripts-directory help text.
11013 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11014 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11015 (struct breakpoint): New member scm_bp_object.
11016 * defs.h (enum command_control_type): New value guile_control.
11017 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11018 "extension.h".
11019 (show_user): Update comment.
11020 (_initialize_cli_cmds): Update help text for "show user". Update help
11021 text for max-user-call-depth.
11022 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11023 "extension.h".
11024 (multi_line_command_p): Add guile_control.
11025 (print_command_lines): Handle guile_control.
11026 (execute_control_command, recurse_read_control_structure): Ditto.
11027 (process_next_line): Recognize "guile" commands.
11028 * disasm.c (gdb_disassemble_info): Make non-static.
11029 * disasm.h: #include "dis-asm.h".
11030 (struct gdbarch): Add forward decl.
11031 (gdb_disassemble_info): Declare.
11032 * extension.c: #include "guile/guile.h".
11033 (extension_languages): Add guile.
11034 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11035 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11036 * gdbtypes.c (get_unsigned_type_max): New function.
11037 (get_signed_type_minmax): New function.
11038 * gdbtypes.h (get_unsigned_type_max): Declare.
11039 (get_signed_type_minmax): Declare.
11040 * guile/README: New file.
11041 * guile/guile-internal.h: New file.
11042 * guile/guile.c: New file.
11043 * guile/guile.h: New file.
11044 * guile/scm-arch.c: New file.
11045 * guile/scm-auto-load.c: New file.
11046 * guile/scm-block.c: New file.
11047 * guile/scm-breakpoint.c: New file.
11048 * guile/scm-disasm.c: New file.
11049 * guile/scm-exception.c: New file.
11050 * guile/scm-frame.c: New file.
11051 * guile/scm-gsmob.c: New file.
11052 * guile/scm-iterator.c: New file.
11053 * guile/scm-lazy-string.c: New file.
11054 * guile/scm-math.c: New file.
11055 * guile/scm-objfile.c: New file.
11056 * guile/scm-ports.c: New file.
11057 * guile/scm-pretty-print.c: New file.
11058 * guile/scm-safe-call.c: New file.
11059 * guile/scm-string.c: New file.
11060 * guile/scm-symbol.c: New file.
11061 * guile/scm-symtab.c: New file.
11062 * guile/scm-type.c: New file.
11063 * guile/scm-utils.c: New file.
11064 * guile/scm-value.c: New file.
11065 * guile/lib/gdb.scm: New file.
11066 * guile/lib/gdb/boot.scm: New file.
11067 * guile/lib/gdb/experimental.scm: New file.
11068 * guile/lib/gdb/init.scm: New file.
11069 * guile/lib/gdb/iterator.scm: New file.
11070 * guile/lib/gdb/printing.scm: New file.
11071 * guile/lib/gdb/types.scm: New file.
11072 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11073 (VPATH): Add $(GUILE_SRCDIR).
11074 (GUILE_DIR): New variable.
11075 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11076 (all): Add stamp-guile dependency.
11077 (stamp-guile): New rule.
11078 (clean-guile, install-guile, uninstall-guile): New rules.
11079 (install-only): Add install-guile dependency.
11080 (uninstall): Add uninstall-guile dependency.
11081 (clean): Add clean-guile dependency.
11082
11083 2014-02-09 Doug Evans <xdje42@gmail.com>
11084
11085 Revert this patch (which I approved, mea culpa).
11086
11087 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11088
11089 * Makefile.in (all-lib): Remove.
11090 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11091
11092 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11093
11094 Fix Python stack corruption.
11095 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11096 gdb_py_longest.
11097
11098 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11099
11100 * Makefile.in (all-lib): Remove.
11101 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11102
11103 2014-02-07 Doug Evans <dje@google.com>
11104
11105 * extension-priv.h (extension_language_script_ops): Add comment.
11106 (extension_language_ops): Add comment.
11107 (active_ext_lang_state): Fix typo in comment.
11108
11109 2014-02-07 Pedro Alves <palves@redhat.com>
11110
11111 PR breakpoints/16292
11112 * infrun.c (handle_signal_stop) <signal arrives while stepping
11113 over a breakpoint>: Switch back to the stepping thread.
11114
11115 2014-02-07 Yao Qi <yao@codesourcery.com>
11116
11117 * target.c (target_xfer_partial): Return zero if LEN is zero.
11118
11119 2014-02-07 Yao Qi <yao@codesourcery.com>
11120
11121 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11122 (ld_so_xfer_auxv): Likewise.
11123 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11124 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11125 * corelow.c (core_xfer_partial): Likewise.
11126 * ctf.c (ctf_xfer_partial): Likewise.
11127 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11128 (darwin_xfer_partial): Likewise.
11129 * exec.c (exec_xfer_partial): Likewise.
11130 * gnu-nat.c (gnu_xfer_partial): Likewise.
11131 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11132 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11133 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11134 * linux-nat.c (linux_xfer_siginfo): Likewise.
11135 (linux_proc_xfer_spu): Likewise.
11136 * procfs.c (procfs_xfer_partial): Likewise.
11137 * record-full.c (record_full_xfer_partial): Likewise.
11138 (record_full_core_xfer_partial): Likewise.
11139 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11140 * remote.c (remote_write_qxfer): Likewise.
11141 (remote_write_qxfer, remote_read_qxfer): Likewise.
11142 (remote_xfer_partial): Likewise.
11143 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11144 (rs6000_xfer_shared_libraries): Likewise.
11145 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11146 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11147 (spu_xfer_partial): Likewise.
11148 * target.c (memory_xfer_partial_1): Likewise.
11149 * tracepoint.c (tfile_xfer_partial): Likewise.
11150 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11151 (windows_xfer_partial): Likewise.
11152
11153 2014-02-07 Yao Qi <yao@codesourcery.com>
11154
11155 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11156 comments.
11157 (core_xfer_shared_libraries_aix): Likewise.
11158 * gdbarch.c, gdbarch.h: Regenerated.
11159 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11160 ULONGEST. Change 'len_avail' type to ULONGEST.
11161 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11162 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11163 declaration.
11164 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11165
11166 2014-02-07 Yao Qi <yao@codesourcery.com>
11167
11168 * corefile.c (memory_error): Get 'exception' from ERR and pass
11169 'exception' to throw_error.
11170
11171 2014-02-06 Doug Evans <xdje42@gmail.com>
11172
11173 * configure.ac (libpython checking): Remove all but python.o from
11174 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11175 * configure: Regenerate.
11176
11177 * Makefile.in (SFILES): Add extension.c.
11178 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11179 (COMMON_OBS): Add extension.o.
11180 * extension.h: New file.
11181 * extension-priv.h: New file.
11182 * extension.c: New file.
11183
11184 * python/python-internal.h: #include "extension.h".
11185 (gdbpy_auto_load_enabled): Declare.
11186 (gdbpy_apply_val_pretty_printer): Declare.
11187 (gdbpy_apply_frame_filter): Declare.
11188 (gdbpy_preserve_values): Declare.
11189 (gdbpy_breakpoint_cond_says_stop): Declare.
11190 (gdbpy_breakpoint_has_cond): Declare.
11191 (void source_python_script_for_objfile): Delete.
11192 * python/python.c: #include "extension-priv.h".
11193 Delete inclusion of "observer.h".
11194 (extension_language_python): Moved here and renamed from
11195 script_language_python in py-auto-load.c.
11196 Redefined to be of type extension_language_defn.
11197 (python_extension_script_ops): New global.
11198 (python_extension_ops): New global.
11199 (struct python_env): New member previous_active.
11200 (restore_python_env): Call restore_active_ext_lang.
11201 (ensure_python_env): Call set_active_ext_lang.
11202 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11203 New arg extlang.
11204 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11205 New arg extlang.
11206 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11207 New arg extlang.
11208 (gdbpy_eval_from_control_command): Renamed from
11209 eval_python_from_control_command, made static. New arg extlang.
11210 (gdbpy_source_script) Renamed from source_python_script, made static.
11211 New arg extlang.
11212 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11213 result to int. New arg extlang.
11214 (gdbpy_source_objfile_script): Renamed from
11215 source_python_script_for_objfile, made static. New arg extlang.
11216 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11217 static. New args extlang, extlang_printers. Change result type to
11218 "void".
11219 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11220 static. New arg extlang. Rename arg printers to extlang_printers
11221 and change type to ext_lang_type_printers *.
11222 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11223 static. Replace argument arg with extlang, extlang_printers.
11224 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11225 (!HAVE_PYTHON, source_python_script): Delete.
11226 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11227 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11228 (!HAVE_PYTHON, start_type_printers): Delete.
11229 (!HAVE_PYTHON, apply_type_printers): Delete.
11230 (!HAVE_PYTHON, free_type_printers): Delete.
11231 (_initialize_python): Delete call to observer_attach_before_prompt.
11232 (finalize_python): Set/restore active extension language.
11233 (gdbpy_finish_initialization) Renamed from
11234 finish_python_initialization, made static. New arg extlang.
11235 (gdbpy_initialized): New function.
11236 * python/python.h: #include "extension.h". Delete #include
11237 "value.h", "mi/mi-cmds.h".
11238 (extension_language_python): Declare.
11239 (GDBPY_AUTO_FILE_NAME): Delete.
11240 (enum py_bt_status): Moved to extension.h and renamed to
11241 ext_lang_bt_status.
11242 (enum frame_filter_flags): Moved to extension.h.
11243 (enum py_frame_args): Moved to extension.h and renamed to
11244 ext_lang_frame_args.
11245 (finish_python_initialization): Delete.
11246 (eval_python_from_control_command): Delete.
11247 (source_python_script): Delete.
11248 (apply_val_pretty_printer): Delete.
11249 (apply_frame_filter): Delete.
11250 (preserve_python_values): Delete.
11251 (gdbpy_script_language_defn): Delete.
11252 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11253 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11254
11255 * auto-load.c: #include "extension.h".
11256 (GDB_AUTO_FILE_NAME): Delete.
11257 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11258 (script_language_gdb): Delete, moved to extension.c and renamed to
11259 extension_language_gdb.
11260 (source_gdb_script_for_objfile): Delete.
11261 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11262 (loaded_script): Change type of language member to
11263 struct extension_language_defn *.
11264 (init_loaded_scripts_info): Initialize
11265 unsupported_script_warning_printed.
11266 (maybe_add_script): Make static. Change type of language arg to
11267 struct extension_language_defn *.
11268 (clear_section_scripts): Reset unsupported_script_warning_printed.
11269 (auto_load_objfile_script_1): Rewrite to use extension language API.
11270 (auto_load_objfile_script): Make public. Remove support-compiled-in
11271 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11272 (source_section_scripts): Rewrite to use extension language API.
11273 (load_auto_scripts_for_objfile): Rewrite to use
11274 auto_load_scripts_for_objfile.
11275 (collect_matching_scripts_data): Change type of language member to
11276 struct extension_language_defn *.
11277 (auto_load_info_scripts): Change type of language arg to
11278 struct extension_language_defn *.
11279 (unsupported_script_warning_print): New function.
11280 (script_not_found_warning_print): Make static.
11281 (_initialize_auto_load): Rewrite construction of scripts-directory
11282 help.
11283 * auto-load.h (struct objfile): Add forward decl.
11284 (struct script_language): Delete.
11285 (struct auto_load_pspace_info): Add forward decl.
11286 (struct extension_language_defn): Add forward decl.
11287 (maybe_add_script): Delete.
11288 (auto_load_objfile_script): Declare.
11289 (script_not_found_warning_print): Delete.
11290 (auto_load_info_scripts): Update prototype.
11291 (auto_load_gdb_scripts_enabled): Declare.
11292 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11293 auto_load_python_scripts_enabled and made public.
11294 (script_language_python): Delete, moved to python.c.
11295 (gdbpy_script_language_defn): Delete.
11296 (info_auto_load_python_scripts): Update to use
11297 extension_language_python.
11298
11299 * breakpoint.c (condition_command): Replace call to
11300 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11301 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11302 with call to breakpoint_ext_lang_cond_says_stop.
11303 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11304 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11305 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11306 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11307 New arg slang.
11308 (local_setattro): Print name of extension language with existing
11309 stop condition.
11310
11311 * valprint.c (val_print, value_print): Update to call
11312 apply_ext_lang_val_pretty_printer.
11313 * cp-valprint.c (cp_print_value): Update call to
11314 apply_ext_lang_val_pretty_printer.
11315 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11316 (gdbpy_apply_val_pretty_printer): Renamed from
11317 apply_val_pretty_printer. New arg extlang.
11318 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11319
11320 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11321 extension language API.
11322 * cli/cli-script.c (execute_control_command): Update to call
11323 eval_ext_lang_from_control_command.
11324
11325 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11326 enum ext_lang_bt_status values. Update call to
11327 apply_ext_lang_frame_filter.
11328 (mi_cmd_stack_list_locals): Ditto.
11329 (mi_cmd_stack_list_args): Ditto.
11330 (mi_cmd_stack_list_variables): Ditto.
11331 * mi/mi-main.c: Delete #include "python/python-internal.h".
11332 Add #include "extension.h".
11333 (mi_cmd_list_features): Replace reference to python internal variable
11334 gdb_python_initialized with call to ext_lang_initialized_p.
11335
11336 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11337 Update to use enum ext_lang_frame_args. Update to call
11338 apply_ext_lang_frame_filter.
11339 * python/py-framefilter.c (extract_sym): Update to use enum
11340 ext_lang_bt_status.
11341 (extract_value, py_print_type, py_print_value): Ditto.
11342 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11343 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11344 (py_print_frame): Ditto.
11345 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11346 New arg extlang. Update to use enum ext_lang_bt_status.
11347
11348 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11349 finish_python_initialization. Replace with call to
11350 finish_ext_lang_initialization.
11351
11352 * typeprint.c (do_free_global_table): Update to call
11353 free_ext_lang_type_printers.
11354 (create_global_typedef_table): Update to call
11355 start_ext_lang_type_printers.
11356 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11357 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11358 (type_print_options): Change type of global_printers from "void *"
11359 to "struct ext_lang_type_printers *".
11360
11361 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11362 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11363 (gdbpy_preserve_values): Renamed from preserve_python_values.
11364 New arg extlang.
11365 (!HAVE_PYTHON, preserve_python_values): Delete.
11366
11367 * utils.c (quit_flag): Delete, moved to extension.c.
11368 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11369 extension.c.
11370
11371 * eval.c: Delete #include "python/python.h".
11372 * main.c: Delete #include "python/python.h".
11373
11374 * defs.h: Update comment.
11375
11376 2014-02-06 Joel Brobecker <brobecker@adacore.com>
11377
11378 GDB 7.7 released.
11379
11380 2014-02-05 Mark Kettenis <kettenis@gnu.org>
11381
11382 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11383 defined.
11384
11385 2014-02-05 Yao Qi <yao@codesourcery.com>
11386
11387 * remote.c (remote_pass_signals): Remove local 'buf' and use
11388 rs->buf.
11389 (remote_program_signals): Likewise.
11390
11391 2014-02-05 Yao Qi <yao@codesourcery.com>
11392
11393 * ctf.c: Include "inferior.h" and "gdbthread.h".
11394 (CTF_PID): A new macro.
11395 (ctf_open): Call inferior_appeared and add_thread_silent.
11396 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11397 (ctf_thread_alive): New function.
11398 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11399
11400 2014-02-05 Yao Qi <yao@codesourcery.com>
11401
11402 Revert this patch:
11403
11404 2013-05-24 Yao Qi <yao@codesourcery.com>
11405
11406 * tracepoint.c (TFILE_PID): Remove.
11407 (tfile_open): Don't add thread and inferior.
11408 (tfile_close): Don't set 'inferior_ptid'. Don't call
11409 exit_inferior_silent.
11410 (tfile_thread_alive): Remove.
11411 (init_tfile_ops): Don't set field 'to_thread_alive' of
11412 tfile_ops.
11413
11414 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11415
11416 * remote.c (remote_start_remote): Call remote_check_symbols even
11417 if only symbol-file (not file) has been given.
11418
11419 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11420
11421 * gdbarch.sh (skip_entrypoint): New callback.
11422 * gdbarch.c, gdbarch.h: Regenerate.
11423 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11424 * infrun.c (fill_in_stop_func): Likewise.
11425 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11426 (ppc_elfv2_elf_make_msymbol_special): New function.
11427 (ppc_elfv2_skip_entrypoint): Likewise.
11428 (ppc_linux_init_abi): Install them for ELFv2.
11429
11430 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11431
11432 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11433 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11434 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11435 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11436 structures returned in GPRs.
11437
11438 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11439
11440 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11441 offset to the stack parameter list for the ELFv2 ABI.
11442
11443 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11444
11445 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11446 set_gdbarch_convert_from_func_ptr_addr and
11447 set_gdbarch_elf_make_msymbol_special for ELFv1.
11448 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11449 function descriptors on ELFv1.
11450 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11451 set up r12 at function entry.
11452
11453 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11454
11455 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11456 (struct gdbarch_tdep): New member elf_abi.
11457
11458 * rs6000-tdep.c: Include "elf/ppc64.h".
11459 (rs6000_gdbarch_init): Detect ELF ABI version.
11460
11461 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11462
11463 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11464 within a register pair holding a DFP 128-bit value on little-endian.
11465 (ppc64_sysv_abi_return_value_base): Likewise.
11466 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11467 (dfp_pseudo_register_write): Likewise.
11468
11469 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11470
11471 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11472 offset on little-endian when passing _Decimal32.
11473 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11474
11475 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11476
11477 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11478 of the overlapped FP register within the VSX register on little-
11479 endian platforms.
11480 (efpr_pseudo_register_write): Likewise.
11481
11482 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11483
11484 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11485 offset on little-endian when passing small structures.
11486
11487 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11488
11489 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11490 (struct ppc64_sysv_argpos): New data structure.
11491 (ppc64_sysv_abi_push_float): Remove.
11492 (ppc64_sysv_abi_push_val): New function.
11493 (ppc64_sysv_abi_push_integer): Likewise.
11494 (ppc64_sysv_abi_push_freg): Likewise.
11495 (ppc64_sysv_abi_push_vreg): Likewise.
11496 (ppc64_sysv_abi_push_param): Likewise.
11497 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11498 (ppc64_sysv_abi_return_value_base): New function.
11499 (ppc64_sysv_abi_return_value): Refactor to use it.
11500
11501 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11502
11503 * NEWS: Document new target powerpc64le-*-linux*.
11504
11505 2014-02-04 Mark Kettenis <kettenis@gnu.org>
11506
11507 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11508 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11509 core dumps.
11510 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11511 register set used in ELF core dumps. Add floating-point register set.
11512
11513 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11514
11515 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11516 dwarf2_to_gdb[] table using symbolic constants. Adjust
11517 penultimate entry from number representing the PC register
11518 to symbolic constant representing the MDR register. Add
11519 constant for the PC register to the end of the table.
11520
11521 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11522
11523 * bsd-kvm.c: Include <sys/param.h>
11524
11525 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11526
11527 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11528
11529 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11530
11531 * ada-lang.h (clear_ada_sym_cache): Delete.
11532
11533 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11534
11535 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11536
11537 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11538
11539 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11540 the sigreturn register save area only if the syscall is
11541 sigreturn.
11542
11543 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11544
11545 * valops.c (value_slice): Minor reformatting.
11546
11547 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11548
11549 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11550
11551 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11552
11553 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11554 New static globals.
11555 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11556 (ada_ignore_descriptive_types_p): New static global.
11557 (find_parallel_type_by_descriptive_type): Return immediately
11558 if ada_ignore_descriptive_types_p is set.
11559 (_initialize_ada_language): Register new commands "maintenance
11560 set ada", "maintenance show ada", "maintenance set ada
11561 ignore-descriptive-types" and "maintenance show ada
11562 ignore-descriptive-types".
11563 * NEWS: Add entry for new "maint ada set/show
11564 ignore-descriptive-types" commands.
11565
11566 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11567
11568 * record-btrace.c (record_btrace_close): Call btrace_teardown
11569 for all threads.
11570
11571 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11572
11573 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11574 "ui-out.h".
11575
11576 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11577
11578 * ada-typeprint (type_is_full_subrange_of_target_type):
11579 New function.
11580 (print_range): Add parameter bounds_prefered_p. If not set,
11581 try printing range types using the name of their base type.
11582 (print_range_type): Add parameter bounds_prefered_p.
11583 Use it in call to print_range.
11584 (print_array_type, ada_print_type): Update calls to print_range
11585 and print_range_type.
11586
11587 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11588
11589 * ada-typeprint.c (print_array_type, print_choices, print_range)
11590 (print_range_bound, print_dynamic_range_bound, print_range_type):
11591 Remove declaration.
11592
11593 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11594
11595 * ada-typeprint.c (print_range): Add missing empty line
11596 after local declaration.
11597
11598 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11599
11600 * ada-valprint.c (print_optional_low_bound): Get index_type's
11601 target type for as long as it is a TYPE_CODE_RANGE.
11602
11603 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11604
11605 * procfs.c (procfs_make_note_section): Remove assertion and
11606 associated comment.
11607
11608 2014-01-24 Yao Qi <yao@codesourcery.com>
11609
11610 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11611 * corelow.c (get_core_siginfo): Likewise.
11612
11613 2014-01-24 Yao Qi <yao@codesourcery.com>
11614
11615 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11616 ULONGEST. Don't check 'len' is negative.
11617 (remote_write_bytes): Change type of 'len' to ULONGEST.
11618
11619 2014-01-23 Tom Tromey <tromey@redhat.com>
11620
11621 PR python/16485:
11622 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11623 Handle exception from frame.block.
11624 (FrameVars.fetch_frame_locals): Likewise.
11625
11626 2014-01-23 Tom Tromey <tromey@redhat.com>
11627
11628 PR python/16487:
11629 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11630 on a NULL pointer. Move "goto error" to correct place.
11631
11632 2014-01-23 Tom Tromey <tromey@redhat.com>
11633
11634 PR python/16491:
11635 * python/py-framefilter.c (apply_frame_filter): Call
11636 ensure_python_env after computing gdbarch.
11637
11638 2014-01-23 Yao Qi <yao@codesourcery.com>
11639
11640 * target.c (raw_memory_xfer_partial): Change argument type
11641 from void * to gdb_byte *.
11642 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11643
11644 2014-01-22 Doug Evans <dje@google.com>
11645
11646 New gdbserver option --debug-format=timestamp.
11647 * NEWS: Mention it.
11648
11649 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11650
11651 * syscalls/s390x-linux.xml: New file.
11652 * syscalls/s390-linux.xml: New file.
11653 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11654 (XML_SYSCALL_FILENAME_S390X): Likewise.
11655 (op_svc): New enum value for SVC opcode.
11656 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11657 (s390_linux_get_syscall_number): New function.
11658 (s390_gdbarch_init): Register '*get_syscall_number' and the
11659 syscall xml file name.
11660 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11661 "s390-linux.xml" and "s390x-linux.xml".
11662 * NEWS: Announce new feature.
11663
11664 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11665
11666 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11667
11668 2014-01-22 Pedro Alves <palves@redhat.com>
11669
11670 * xtensa-config.c: Include defs.h.
11671
11672 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11673
11674 * common/common-utils.h: Add "ARI:" comment beside __func__
11675 reference.
11676
11677 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11678
11679 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11680 documentation a bit.
11681
11682 2014-01-21 Roland McGrath <mcgrathr@google.com>
11683
11684 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11685 * configure: Regenerate.
11686 * aclocal.m4: Regenerate.
11687 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11688 New substituted variables.
11689 (install-strip): New target.
11690 (INSTALL_SCRIPT): New substituted variable.
11691 (FLAGS_TO_PASS): Add it.
11692 (install-only): Use $(INSTALL_SCRIPT) rather than
11693 $(INSTALL_PROGRAM) for gcore.
11694
11695 2014-01-20 Tom Tromey <tromey@redhat.com>
11696
11697 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11698 together.
11699
11700 2014-01-20 Tom Tromey <tromey@redhat.com>
11701
11702 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11703 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11704 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11705 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11706 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11707 (struct cmd_list_element) <flags>: Remove.
11708 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11709 doc_allocated>: New fields.
11710 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11711 bitfields.
11712 * maint.c (maintenance_do_deprecate): Update.
11713 * top.c (execute_command): Update.
11714
11715 2014-01-20 Baruch Siach <baruch@tkos.co.il>
11716
11717 * xtensa-linux-nat.c: Include asm/ptrace.h.
11718
11719 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11720
11721 * Makefile.in (SFILES): Add d-support.c.
11722 (COMMON_OBS): Add d-support.o.
11723 * d-lang.h (d_parse_symbol): Add comment, now defined in
11724 d-support.c.
11725 * d-lang.c (parse_call_convention)
11726 (parse_attributes, parse_function_types)
11727 (parse_function_args, parse_type, parse_identifier)
11728 (call_convention_p, d_parse_symbol): Move functions to ...
11729 * d-support.c: ... New file.
11730
11731 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11732
11733 * d-lang.h (d_parse_symbol): Add declaration.
11734 * d-lang.c (extract_identifiers)
11735 (extract_type_info): Remove functions.
11736 (parse_call_convention, parse_attributes)
11737 (parse_function_types, parse_function_args)
11738 (parse_type, parse_identifier, call_convention_p)
11739 (d_parse_symbol): New functions.
11740 (d_demangle): Use d_parse_symbol to demangle D symbols.
11741
11742 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11743
11744 * d-lang.h (struct builtin_d_type): New data type.
11745 (builtin_d_type): Add declaration.
11746 * d-lang.c (d_language_arch_info, build_d_types)
11747 (builtin_d_type): New functions.
11748 (enum d_primitive_types): New data type.
11749 (d_language_defn): Change c_language_arch_info to
11750 d_language_arch_info.
11751 (d_type_data): New static variable.
11752 (_initialize_d_language): Initialize d_type_data.
11753
11754 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11755
11756 * d-lang.h (d_main_name): Add declaration.
11757 * d-lang.c (d_main_name): New function.
11758 * symtab.c (find_main_name): Add call to d_main_name.
11759
11760 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11761
11762 * d-lang.c (d_language_defn): Change macro_expansion_c to
11763 macro_expansion_no.
11764
11765 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11766
11767 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11768
11769 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11770
11771 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11772 gdb_exception" declaration.
11773 * remote.c (getpkt_or_notif_sane): Likewise.
11774
11775 2014-01-17 Doug Evans <dje@google.com>
11776
11777 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11778 function, contents of dirnames_to_char_ptr_vec_append moved here.
11779 (delim_string_to_char_ptr_vec): New function.
11780 (dirnames_to_char_ptr_vec_append): Rewrite.
11781 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11782
11783 2014-01-17 Doug Evans <dje@google.com>
11784
11785 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11786 and moved here ...
11787 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11788 #include "common-utils.h".
11789 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11790 * common/vec.h (VEC_ASSERT_PASS): Update.
11791 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11792 (MACH_CHECK_ERROR): Update.
11793
11794 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11795
11796 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11797 comments.
11798 * gdbarch.h: Regenerate.
11799
11800 2014-01-16 Tom Tromey <tromey@redhat.com>
11801
11802 * value.c (struct value) <regnum>: Move earlier.
11803
11804 2014-01-16 Tom Tromey <tromey@redhat.com>
11805
11806 * remote.c (extended_remote_create_inferior): Rename from
11807 extended_remote_create_inferior_1. Add "ops" argument. Remove
11808 old implementation.
11809
11810 2014-01-16 Pedro Alves <palves@redhat.com>
11811
11812 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11813 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11814 the backchain.
11815
11816 2014-01-16 Doug Evans <dje@google.com>
11817
11818 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11819
11820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11821
11822 * btrace.h (btrace_thread_flag): New.
11823 (struct btrace_thread_info) <flags>: New.
11824 * record-btrace.c (record_btrace_resume_thread)
11825 (record_btrace_find_thread_to_move, btrace_step_no_history)
11826 (btrace_step_stopped, record_btrace_start_replaying)
11827 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11828 (record_btrace_find_resume_thread): New.
11829 (record_btrace_resume, record_btrace_wait): Extend.
11830 (record_btrace_can_execute_reverse): New.
11831 (record_btrace_open): Fail in non-stop mode.
11832 (record_btrace_set_replay): Split into this, ...
11833 (record_btrace_stop_replaying): ... this, ...
11834 (record_btrace_clear_histories): ... and this.
11835 (init_record_btrace_ops): Init to_can_execute_reverse.
11836 * NEWS: Announce it.
11837
11838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11839
11840 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11841 (forward_target_decr_pc_after_break)
11842 (target_decr_pc_after_break): New.
11843 * target.c (forward_target_decr_pc_after_break)
11844 (target_decr_pc_after_break): New.
11845 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11846 instead of gdbarch_decr_pc_after_break.
11847 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11848 instead of gdbarch_decr_pc_after_break.
11849 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11850 instead of gdbarch_decr_pc_after_break.
11851 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11852 instead of gdbarch_decr_pc_after_break.
11853 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11854 instead of gdbarch_decr_pc_after_break.
11855 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11856 instead of gdbarch_decr_pc_after_break.
11857
11858 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11859
11860 * btrace.c: Include regcache.h.
11861 (btrace_add_pc): New.
11862 (btrace_enable): Call btrace_add_pc.
11863 (btrace_is_empty): New.
11864 * btrace.h (btrace_is_empty): New.
11865 * record-btrace.c (require_btrace, record_btrace_info): Call
11866 btrace_is_empty.
11867
11868 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11869
11870 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11871 Support delta reads.
11872 (linux_disable_btrace): Change return type.
11873 * common/linux-btrace.h (linux_read_btrace): Change parameters
11874 and return type to allow error reporting. Update users.
11875 (linux_disable_btrace): Change return type. Update users.
11876 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11877 New.
11878 (btrace_error): New.
11879 (btrace_block) <begin>: Comment on BEGIN == 0.
11880 * btrace.c (btrace_compute_ftrace): Start from the end of
11881 the current trace.
11882 (btrace_stitch_trace, btrace_clear_history): New.
11883 (btrace_fetch): Read delta trace, return if replaying.
11884 (btrace_clear): Move clear history code to btrace_clear_history.
11885 (parse_xml_btrace): Throw an error if parsing failed.
11886 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11887 and return type to allow error reporting.
11888 (target_read_btrace): Change parameters and return type to allow
11889 error reporting.
11890 * target.c (target_read_btrace): Update.
11891 * remote.c (remote_read_btrace): Support delta reads. Pass
11892 errors on.
11893 * NEWS: Announce it.
11894
11895 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11896
11897 * record.h (record_btrace_frame_unwind)
11898 (record_btrace_tailcall_frame_unwind): New declarations.
11899 * dwarf2-frame: Include record.h
11900 (dwarf2_frame_cfa): Throw an error for btrace frames.
11901 * record-btrace.c: Include hashtab.h.
11902 (btrace_get_bfun_name): New.
11903 (btrace_call_history): Call btrace_get_bfun_name.
11904 (struct btrace_frame_cache): New.
11905 (bfcache): New.
11906 (bfcache_hash, bfcache_eq, bfcache_new): New.
11907 (btrace_get_frame_function): New.
11908 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11909 (record_btrace_frame_this_id): Compute own id.
11910 (record_btrace_frame_prev_register): Provide PC, throw_error
11911 for all other registers.
11912 (record_btrace_frame_sniffer): Detect btrace frames.
11913 (record_btrace_tailcall_frame_sniffer): New.
11914 (record_btrace_frame_dealloc_cache): New.
11915 (record_btrace_frame_unwind): Add new functions.
11916 (record_btrace_tailcall_frame_unwind): New.
11917 (_initialize_record_btrace): Allocate cache.
11918 * btrace.c (btrace_clear): Call reinit_frame_cache.
11919 * NEWS: Announce it.
11920
11921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11922
11923 * record-btrace.c (record_btrace_set_replay)
11924 (record_btrace_goto_begin, record_btrace_goto_end)
11925 (record_btrace_goto): New.
11926 (init_record_btrace_ops): Initialize them.
11927 * NEWS: Announce it.
11928
11929 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11930
11931 * record-btrace.c (record_btrace_find_new_threads)
11932 (record_btrace_thread_alive): New.
11933 (init_record_btrace_ops): Initialize to_find_new_threads and
11934 to_thread_alive.
11935
11936 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11937
11938 * record-btrace.c (record_btrace_resume): New.
11939 (record_btrace_wait): New.
11940 (init_record_btrace_ops): Initialize to_wait and to_resume.
11941
11942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11943
11944 * record-btrace.c (record_btrace_xfer_partial)
11945 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11946 (record_btrace_allow_memory_access): New.
11947 (init_record_btrace_ops): Initialize new methods.
11948 * target.c (raw_memory_xfer_partial): Bail out if target reports
11949 that this memory is not available.
11950
11951 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11952
11953 * target.h (target_ops) <to_insert_breakpoint>
11954 <to_remove_breakpoint>: Add target_ops parameter.
11955 (forward_target_insert_breakpoint): New.
11956 (forward_target_remove_breakpoint): New.
11957 (memory_remove_breakpoint, memory_insert_breakpoint):
11958 Add target_ops parameter.
11959 * target.c (target_insert_breakpoint): Split into this and ...
11960 (forward_target_insert_breakpoint): ... this.
11961 (target_remove_breakpoint): Split into this and ...
11962 (forward_target_remove_breakpoint): ... this.
11963 (debug_to_insert_breakpoint): Add target_ops parameter.
11964 Call forward_target_insert_breakpoint.
11965 (debug_to_remove_breakpoint): Add target_ops parameter.
11966 Call forward_target_remove_breakpoint.
11967 (update_current_target): Do not inherit or default to_insert_breakpoint
11968 and to_remove_breakpoint.
11969 * corelow.c (ignore): Add target_ops parameter.
11970 * exec.c (ignore): Add target_ops parameter.
11971 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11972 Add target_ops parameter.
11973 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11974 Add target_ops parameter.
11975 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11976 Add target_ops parameter.
11977 * record-full.c (record_full_beneath_to_insert_breakpoint)
11978 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11979 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11980 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11981 (record_full_core_remove_breakpoint): Add target_ops parameter.
11982 Update users.
11983 (record_full_beneath_to_insert_breakpoint_ops)
11984 (record_full_beneath_to_remove_breakpoint_ops)
11985 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11986 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11987 tmp_to_remove_breakpoint_ops,
11988 record_full_beneath_to_insert_breakpoint_ops, and
11989 record_full_beneath_to_remove_breakpoint_ops.
11990 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11991 (m32r_remove_breakpoint): Add target_ops parameter.
11992 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11993 Add target_ops parameter.
11994 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11995 Add target_ops parameter.
11996
11997 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11998 Markus Metzger <markus.t.metzger@intel.com>
11999
12000 * record-btrace.c: Include frame-unwind.h.
12001 (record_btrace_frame_unwind_stop_reason)
12002 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12003 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12004 New.
12005 (init_record_btrace_ops): Install it.
12006
12007 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12008
12009 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12010 get_prev_frame_1.
12011
12012 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12013
12014 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12015 earlier.
12016
12017 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12018
12019 * frame-unwind.c: Include target.h.
12020 (frame_unwind_try_unwinder): New function with code from ...
12021 (frame_unwind_find_by_frame): ... here. New variable
12022 unwinder_from_target, call also target_get_unwinder)
12023 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12024 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12025 * target.h (struct target_ops): New fields to_get_unwinder and
12026 to_get_tailcall_unwinder.
12027 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12028
12029 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12030
12031 * record-btrace.c (record_btrace_fetch_registers)
12032 (record_btrace_store_registers)
12033 (record_btrace_to_prepare_to_store): New.
12034 (init_record_btrace_ops): Add the above.
12035
12036 2014-01-16 Tom Tromey <tromey@redhat.com>
12037
12038 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12039 * target.h (struct target_ops) <to_prepare_to_store>: Add
12040 argument.
12041 (target_prepare_to_store): Add argument.
12042 * target.c (debug_to_prepare_to_store): Add argument.
12043 (update_current_target): Update.
12044 * remote.c (remote_prepare_to_store): Add 'self' argument.
12045 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12046 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12047 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12048 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12049 argument.
12050 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12051 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12052 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12053 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12054 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12055
12056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12057
12058 * btrace.h (replay) <replay>: New.
12059 (btrace_is_replaying): New.
12060 * btrace.c (btrace_clear): Free replay iterator.
12061 (btrace_is_replaying): New.
12062 * record-btrace.c (record_btrace_is_replaying): New.
12063 (record_btrace_info): Print insn number if replaying.
12064 (record_btrace_insn_history): Start at replay position.
12065 (record_btrace_call_history): Start at replay position.
12066 (init_record_btrace_ops): Init to_record_is_replaying.
12067
12068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12069
12070 * record-btrace.c (record_btrace_insn_history_range): Include
12071 end.
12072 (record_btrace_insn_history_from): Adjust range.
12073 (record_btrace_call_history_range): Include
12074 end.
12075 (record_btrace_call_history_from): Adjust range.
12076 * NEWS: Announce changes.
12077
12078 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12079
12080 * record.h (enum record_print_flag)
12081 <record_print_indent_calls>: New.
12082 * record.c (get_call_history_modifiers): Recognize /c modifier.
12083 (_initialize_record): Document /c modifier.
12084 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12085 Reorder fields. Optionally indent the function name. Update
12086 all users.
12087 * NEWS: Announce changes.
12088
12089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12090
12091 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12092
12093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12094
12095 * btrace.c (ftrace_new_function): Start counting at one.
12096 * record-btrace.c (record_btrace_info): Adjust number of calls
12097 and insns.
12098 * NEWS: Announce it.
12099
12100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12101
12102 * record-btrace.c (btrace_call_history_insn_range): Print
12103 insn range as [begin, end].
12104
12105 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12106
12107 * btrace.h (struct btrace_func_link): New.
12108 (enum btrace_function_flag): New.
12109 (struct btrace_inst): Rename to ...
12110 (struct btrace_insn): ...this. Update all users.
12111 (struct btrace_func) <ibegin, iend>: Remove.
12112 (struct btrace_func_link): New.
12113 (struct btrace_func): Rename to ...
12114 (struct btrace_function): ...this. Update all users.
12115 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12116 (number, level, flags>: New.
12117 (struct btrace_insn_iterator): Rename to ...
12118 (struct btrace_insn_history): ...this.
12119 Update all users.
12120 (struct btrace_insn_iterator, btrace_call_iterator): New.
12121 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12122 (struct btrace_target_info) <begin, end, level>
12123 <insn_history, call_history>: New.
12124 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12125 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12126 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12127 (btrace_call_number, btrace_call_begin, btrace_call_end)
12128 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12129 (btrace_find_function_by_number, btrace_set_insn_history)
12130 (btrace_set_call_history): New.
12131 * btrace.c (btrace_init_insn_iterator)
12132 (btrace_init_func_iterator, compute_itrace): Remove.
12133 (ftrace_print_function_name, ftrace_print_filename)
12134 (ftrace_skip_file): Change
12135 parameter to const.
12136 (ftrace_init_func): Remove.
12137 (ftrace_debug): Use new btrace_function fields.
12138 (ftrace_function_switched): Also consider gaining and
12139 losing symbol information).
12140 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12141 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12142 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12143 New.
12144 (ftrace_new_function): Move. Remove debug print.
12145 (ftrace_update_lines, ftrace_update_insns): New.
12146 (ftrace_update_function): Check for call, ret, and jump.
12147 (compute_ftrace): Renamed to ...
12148 (btrace_compute_ftrace): ...this. Rewritten to compute call
12149 stack.
12150 (btrace_fetch, btrace_clear): Updated.
12151 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12152 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12153 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12154 (btrace_call_number, btrace_call_begin, btrace_call_end)
12155 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12156 (btrace_find_function_by_number, btrace_set_insn_history)
12157 (btrace_set_call_history): New.
12158 * record-btrace.c (require_btrace): Use new btrace thread
12159 info fields.
12160 (record_btrace_info, btrace_insn_history)
12161 (record_btrace_insn_history, record_btrace_insn_history_range):
12162 Use new btrace thread info fields and new iterator.
12163 (btrace_func_history_src_line): Rename to ...
12164 (btrace_call_history_src_line): ...this. Use new btrace
12165 thread info fields.
12166 (btrace_func_history): Rename to ...
12167 (btrace_call_history): ...this. Use new btrace thread info
12168 fields and new iterator.
12169 (record_btrace_call_history, record_btrace_call_history_range):
12170 Use new btrace thread info fields and new iterator.
12171
12172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12173
12174 * frame.h (frame_id_build_unavailable_stack_special): New.
12175 * frame.c (frame_id_build_unavailable_stack_special): New.
12176
12177 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12178
12179 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12180 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12181 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12182 to gdbarch.
12183 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12184 (i386_insn_is_jump, i386_jmp_p): New.
12185 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12186 insn_is_jump to gdbarch.
12187 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12188 * gdbarch.h: Regenerated.
12189 * gdbarch.c: Regenerated.
12190 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12191 (default_insn_is_jump): New.
12192 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12193 (default_insn_is_jump): New.
12194
12195 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12196
12197 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12198 Change to ...
12199 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12200 (btrace_read_type) <btrace_read_new>: Change to ...
12201 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12202
12203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12204
12205 * common/linux-btrace.c (linux_read_btrace): Free trace from
12206 previous iteration.
12207
12208 2014-01-15 Doug Evans <dje@google.com>
12209
12210 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12211 uint32_t.
12212
12213 2014-01-15 Tom Tromey <tromey@redhat.com>
12214
12215 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12216 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12217 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12218 (set_objfile_main_name): New function.
12219 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12220 language_of_main>: New fields.
12221 (set_objfile_main_name): Declare.
12222 * symtab.c (find_main_name): Loop over objfiles to find the main
12223 name and language.
12224 (set_main_name): Now static.
12225 (get_main_info): Add comment.
12226 * symtab.h (set_main_name): Don't declare.
12227
12228 2014-01-15 Tom Tromey <tromey@redhat.com>
12229
12230 * symtab.c (main_progspace_key): New global.
12231 (struct main_info): New.
12232 (name_of_main, language_of_main): Remove.
12233 (get_main_info, main_info_cleanup): New function.
12234 (set_main_name, main_name, main_language): Use get_main_info.
12235 (_initialize_symtab): Initialize main_progspace_key.
12236
12237 2014-01-15 Tom Tromey <tromey@redhat.com>
12238
12239 * dbxread.c (process_one_symbol): Update.
12240 * dwarf2read.c (read_partial_die): Update.
12241 * symfile.c (set_initial_language): Call main_language.
12242 * symtab.c (language_of_main): Now static.
12243 (set_main_name): Add 'lang' parameter.
12244 (find_main_name): Update.
12245 (main_language): New function.
12246 (symtab_observer_executable_changed): Update.
12247 * symtab.h (set_main_name): Update.
12248 (language_of_main): Remove.
12249 (main_language): Declare.
12250
12251 2014-01-15 Tom Tromey <tromey@redhat.com>
12252
12253 * symfile.c (init_entry_point_info): Use new "initialized" field.
12254 Update.
12255 * objfiles.h (struct entry_point) <initialized>: New field.
12256 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12257 (struct objfile) <ei>: ...here. Remove.
12258 * objfiles.c (entry_point_address_query): Update.
12259
12260 2014-01-15 Tom Tromey <tromey@redhat.com>
12261
12262 * objfiles.c (entry_point_address_query): Relocate entry point
12263 address.
12264 (objfile_relocate1): Do not relocate entry point address.
12265 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12266 <the_bfd_section_index>: New field.
12267 * symfile.c (init_entry_point_info): Find the entry point's
12268 section.
12269
12270 2014-01-15 Tom Tromey <tromey@redhat.com>
12271
12272 * solib-frv.c (enable_break): Use entry_point_address_query.
12273
12274 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12275
12276 * NEWS: Add note on improved process record-replay on
12277 arm*-linux* targets.
12278
12279 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12280
12281 * arm-tdep.c (enum arm_record_result): New enum.
12282 (arm_record_unsupported_insn): New function.
12283 (arm_record_coproc_data_proc): Removed.
12284 (thumb2_record_ld_st_multiple): New function.
12285 (thumb2_record_ld_st_dual_ex_tbb): New function.
12286 (thumb2_record_data_proc_sreg_mimm): New function.
12287 (thumb2_record_ps_dest_generic): New function.
12288 (thumb2_record_branch_misc_cntrl): New function.
12289 (thumb2_record_str_single_data): New function.
12290 (thumb2_record_ld_mem_hints): New function.
12291 (thumb2_record_ld_word): New function.
12292 (thumb2_record_lmul_lmla_div): New function.
12293 (thumb2_record_decode_insn_handler): New function.
12294 (decode_insn): Add thumb32 instruction handlers.
12295
12296 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12297
12298 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12299 (struct arm_linux_record_tdep): Declare.
12300 (arm_canonicalize_syscall): New function.
12301 (arm_all_but_pc_registers_record): New function.
12302 (arm_linux_syscall_record): New function.
12303 (arm_linux_init_abi): Add syscall recording constructs.
12304 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12305 decoding. (arm_record_coproc_data_proc): Update arm syscall
12306 decoding.
12307 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12308 <arm_syscall_record>: New field.
12309 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12310 gdb_target_obs.
12311
12312 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12313
12314 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12315 register for push instruction recording.
12316
12317 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12318
12319 * arm-tdep.c (thumb_record_misc): Update to correct logical
12320 error while recording ldm, ldmia and pop instructions.
12321
12322 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12323
12324 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12325
12326 2014-01-15 Pedro Alves <palves@redhat.com>
12327
12328 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12329 (go32_resume, go32_fetch_registers, store_register)
12330 (go32_store_registers, go32_prepare_to_store)
12331 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12332 (go32_create_inferior, go32_can_run, go32_terminal_init)
12333 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12334 declarations.
12335
12336 2014-01-15 Tom Tromey <tromey@redhat.com>
12337
12338 * target.h (async_callback_ftype): New typedef.
12339 (struct target_ops) <to_async>: Use it.
12340
12341 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12342
12343 * python/py-value.c (get_field_type): Remove unnecessary curly
12344 braces for single-statement if block.
12345
12346 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12347
12348 * python/py-type.c (convert_field): Add missing empty line
12349 after declarations.
12350
12351 2014-01-14 Doug Evans <dje@google.com>
12352
12353 * symfile.h (expand_symtabs_matching): Renamed from
12354 expand_partial_symbol_names. Update prototype.
12355 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12356 * symfile.c (expand_symtabs_matching): Renamed from
12357 expand_partial_symbol_names. New args file_matcher, kind.
12358 Rename arg fun to symbol_matcher.
12359 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12360 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12361 ada_expand_partial_symbol_name.
12362 (ada_make_symbol_completion_list): Update to call
12363 expand_symtabs_matching.
12364 (ada_add_global_exceptions): Call expand_symtabs_matching.
12365 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12366 call map_symbol_filenames.
12367 * symtab.c (sources_info): Update to call map_symbol_filenames.
12368 (search_symbols): Call expand_symtabs_matching.
12369 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12370 (default_make_symbol_completion_list_break_on): Update to call
12371 expand_symtabs_matching.
12372 (make_source_files_completion_list): Update to call
12373 map_symbol_filenames.
12374
12375 2014-01-14 Doug Evans <dje@google.com>
12376
12377 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12378 (expand_symtabs_symbol_matcher_ftype): New typedef.
12379 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12380 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12381 * symfile.c (expand_partial_symbol_names): Update to use
12382 expand_symtabs_symbol_matcher_ftype.
12383 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12384 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12385 Arg name_matcher renamed to symbol_matcher.
12386 * psymtab.c (recursively_search_psymtabs): Update to use
12387 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12388 sym_matcher.
12389 (expand_symtabs_matching_via_partial): Update to use
12390 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12391 Arg name_matcher renamed to symbol_matcher.
12392
12393 2014-01-14 Doug Evans <dje@google.com>
12394
12395 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12396 (map_partial_symbol_filenames): Ditto.
12397 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12398 (map_partial_symbol_filenames): Ditto.
12399 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12400 (map_partial_symbol_filenames): Ditto.
12401 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12402 (map_partial_symbol_filenames): Ditto.
12403 * symtab.c: Delete #include "psymtab.h".
12404
12405 2014-01-14 Pedro Alves <palves@redhat.com>
12406 Tom Tromey <tromey@redhat.com>
12407
12408 * infrun.c (use_displaced_stepping): Use find_record_target
12409 instead of RECORD_IS_USED.
12410 (adjust_pc_after_break): Use record_full_is_used instead of
12411 RECORD_IS_USED.
12412 * record-btrace.c (record_btrace_open): Call record_preopen
12413 instead of checking RECORD_IS_USED.
12414 * record-full.c (record_full_shortname)
12415 (record_full_core_shortname): New globals.
12416 (record_full_is_used): New function.
12417 (find_full_open): Call record_preopen instead of checking
12418 RECORD_IS_USED.
12419 (init_record_full_ops): Set the target's shortname to
12420 record_full_shortname.
12421 (init_record_full_core_ops): Set the target's shortname to
12422 record_full_core_shortname.
12423 * record-full.h (record_full_is_used): Declare.
12424 * record.c (find_record_target): Make extern.
12425 (record_preopen): New function.
12426 * record.h (RECORD_IS_USED): Delete macro.
12427 (find_record_target, record_preopen): Declare functions.
12428
12429 2014-01-14 Yao Qi <yao@codesourcery.com>
12430
12431 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12432 'len''s type to ULONGEST.
12433 (core_xfer_shared_libraries_aix): Likewise.
12434 * gdbarch.c, gdbarch.h: Regenerated.
12435 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12436 Change type of 'len' to ULONGEST.
12437 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12438 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12439
12440 2014-01-14 Yao Qi <yao@codesourcery.com>
12441
12442 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12443 type of 'len' to ULONGEST.
12444 (linux_xfer_osdata_processgroups): Likewise.
12445 (linux_xfer_osdata_threads): Likewise.
12446 (linux_xfer_osdata_fds): Likewise.
12447 (linux_xfer_osdata_isockets): Likewise.
12448 (linux_xfer_osdata_shm): Likewise.
12449 (linux_xfer_osdata_sem): Likewise.
12450 (linux_xfer_osdata_msg): Likewise.
12451 (linux_common_xfer_osdata): Likewise.
12452 (struct osdata_type) <getter>: Likewise.
12453 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12454 the declaration.
12455
12456 2014-01-14 Yao Qi <yao@codesourcery.com>
12457
12458 * target.h (target_xfer_partial_ftype): Update.
12459 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12460 ULONGEST.
12461 * aix-thread.c (aix_thread_xfer_partial): Change type of
12462 argument 'len' to ULONGEST.
12463 * auxv.c (procfs_xfer_auxv): Likewise.
12464 (ld_so_xfer_auxv): Likewise.
12465 (memory_xfer_auxv): Likewise.
12466 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12467 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12468 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12469 * corelow.c (core_xfer_partial): Likewise.
12470 * ctf.c (ctf_xfer_partial): Likewise.
12471 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12472 '%u'.
12473 (darwin_read_dyld_info): Likewise.
12474 (darwin_xfer_partial): Likewise.
12475 * exec.c (section_table_xfer_memory_partial): Likewise.
12476 (exec_xfer_partial): Likewise.
12477 * exec.h (section_table_xfer_memory_partial): Update
12478 declaration.
12479 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12480 instead of plongest.
12481 (gnu_xfer_partial): Likewise.
12482 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12483 (ia64_hpux_xfer_solib_got): Likewise.
12484 (ia64_hpux_xfer_partial): Likewise.
12485 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12486 * inf-ptrace.c (inf_ptrace_xfer_partial):
12487 * inf-ttrace.c (inf_ttrace_xfer_partial):
12488 * linux-nat.c (linux_xfer_siginfo): Likewise.
12489 (linux_nat_xfer_partial): Likewise.
12490 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12491 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12492 * monitor.c (monitor_xfer_memory): Likewise.
12493 (monitor_xfer_partial): Likewise.
12494 * procfs.c (procfs_xfer_partial): Likewise.
12495 * record-full.c (record_full_xfer_partial): Likewise.
12496 (record_full_core_xfer_partial): Likewise.
12497 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12498 instead of plongest.
12499 (gdbsim_xfer_partial): Likewise.
12500 * remote.c (remote_xfer_partial): Likewise.
12501 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12502 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12503 declaration.
12504 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12505 (rs6000_xfer_shared_libraries): Likewise.
12506 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12507 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12508 (sparc_xfer_partial): Likewise.
12509 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12510 (spu_xfer_partial): Likewise.
12511 * spu-multiarch.c (spu_xfer_partial): Likewise.
12512 * target.c (target_read_live_memory): Likewise.
12513 (memory_xfer_live_readonly_partial): Likewise.
12514 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12515 (target_xfer_partial, default_xfer_partial): Likewise.
12516 (current_xfer_partial): Likewise.
12517 * tracepoint.c (tfile_xfer_partial): Likewise.
12518 * windows-nat.c (windows_xfer_memory): Likewise. Call
12519 pulongest instead of plongest.
12520 (windows_xfer_partial): Likewise.
12521 (windows_xfer_shared_libraries): Likewise.
12522
12523 2014-01-14 Yao Qi <yao@codesourcery.com>
12524
12525 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12526 target_xfer_partial_ftype.
12527
12528 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12529
12530 PR python/15464
12531 PR python/16113
12532 * valops.c (value_struct_elt_bitpos): New function
12533 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12534 object to 'None' if the field name is an empty string ("").
12535 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12536 attribute to look for a field when 'name' is 'None'.
12537 (get_field_type): New function
12538
12539 2014-01-13 Doug Evans <dje@google.com>
12540
12541 PR symtab/16426
12542 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12543 (try_open_dwop_file): Ditto.
12544 * gdb_bfd.c: #include "vec.h".
12545 (bfdp): New typedef.
12546 (struct gdb_bfd_data): New member included_bfds.
12547 (gdb_bfd_unref): Unref all included bfds.
12548 (gdb_bfd_record_inclusion): New function.
12549 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12550
12551 2014-01-13 Tom Tromey <tromey@redhat.com>
12552
12553 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12554
12555 2014-01-13 Tom Tromey <tromey@redhat.com>
12556
12557 * defs.h (use_windows): Remove.
12558 * gdb.c (main): Update.
12559 * main.c (captured_main, gdb_main): Update.
12560 * main.h (struct captured_main_args) <use_windows>: Remove.
12561 * top.c (use_windows): Remove.
12562
12563 2014-01-13 Tom Tromey <tromey@redhat.com>
12564
12565 * defs.h (deprecated_flush_hook): Remove.
12566
12567 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12568
12569 PR threads/16216
12570 * linux-thread-db.c (try_thread_db_load): Add parameter
12571 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12572 (try_thread_db_load_from_pdir_1): Move it there from here.
12573 (try_thread_db_load_from_sdir): Update caller.
12574 (try_thread_db_load_from_dir): Move it there from here.
12575
12576 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12577
12578 * regformats/regdat.sh: Always rewrite the register file.
12579
12580 2014-01-13 Pedro Alves <palves@redhat.com>
12581
12582 * Makefile.in (CHECK_HEADERS): New variable.
12583 (check-headers:): New rule.
12584
12585 2014-01-13 Tom Tromey <tromey@redhat.com>
12586
12587 * cli/cli-setshow.c (do_set_command): Update.
12588 * defs.h (deprecated_set_hook): Remove.
12589 * top.c (deprecated_set_hook): Remove.
12590
12591 2014-01-13 Pedro Alves <palves@redhat.com>
12592
12593 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12594 the tracepoint if the PC is a pseudo-register.
12595
12596 2014-01-13 Tom Tromey <tromey@redhat.com>
12597
12598 * defs.h (XCALLOC): Remove.
12599 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12600 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12601 * dwarf2loc.c (allocate_piece_closure): Likewise.
12602 * elfread.c (elf_symfile_segments): Likewise.
12603 (elf_symfile_segments): Likewise.
12604 * gdbtypes.c (copy_type_recursive): Likewise.
12605 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12606 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12607 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12608 XCALLOC.
12609 * mt-tdep.c (mt_gdbarch_init): Likewise.
12610 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12611 XCALLOC.
12612 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12613 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12614 * registry.c (registry_alloc_data): Likewise.
12615 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12616 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12617 * serial.c (serial_fdopen_ops): Likewise.
12618 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12619 XCALLOC.
12620 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12621 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12622 not XCALLOC.
12623
12624 2014-01-13 Tom Tromey <tromey@redhat.com>
12625
12626 * defs.h (XMALLOC): Remove.
12627 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12628 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12629 * cli-out.c (struct ui_out *): Likewise.
12630 * cli/cli-dump.c (add_dump_command): Likewise.
12631 (add_dump_command): Likewise.
12632 * complaints.c (get_complaints): Likewise.
12633 (find_complaint): Likewise.
12634 * dwarf2-frame.c (execute_cfa_program): Likewise.
12635 * dwarf2read.c (abbrev_table_read_table): Likewise.
12636 * gdbarch.sh: Likewise.
12637 * gdbarch.c: Rebuild.
12638 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12639 * interps.c (interp_new): Likewise.
12640 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12641 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12642 * mi/mi-console.c (mi_console_file_new): Likewise.
12643 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12644 * mi/mi-out.c (mi_out_new): Likewise.
12645 * mi/mi-parse.c (mi_parse): Likewise.
12646 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12647 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12648 * observer.c (xalloc_observer_list_node): Likewise.
12649 * regcache.c (regcache_xmalloc_1): Likewise.
12650 * reggroups.c (reggroup_new): Likewise.
12651 (_initialize_reggroup): Likewise.
12652 * registry.c (register_data_with_cleanup): Likewise.
12653 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12654 * ser-base.c (serial_ttystate): Likewise.
12655 * ser-mingw.c (make_pipe_state): Likewise.
12656 * ser-pipe.c (pipe_open): Likewise.
12657 * serial.c (serial_open): Likewise.
12658 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12659 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12660 (tui_alloc_win_info): Likewise.
12661 (tui_add_content_elements): Likewise.
12662 * tui/tui-file.c (tui_file_new): Likewise.
12663 * tui/tui-out.c (tui_out_new): Likewise.
12664 * ui-file.c (mem_file_new): Likewise.
12665 * ui-out.c (push_level): Likewise.
12666 (make_cleanup_ui_out_end): Likewise.
12667 (append_header_to_list): Likewise.
12668 (ui_out_new): Likewise.
12669 * user-regs.c (user_reg_add_builtin): Likewise.
12670
12671 2014-01-13 Tom Tromey <tromey@redhat.com>
12672
12673 * defs.h (XZALLOC): Remove.
12674 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12675 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12676 (get_ada_tasks_inferior_data): Likewise.
12677 * auto-load.c (get_auto_load_pspace_data): Likewise.
12678 * auxv.c (get_auxv_inferior_data): Likewise.
12679 * bfd-target.c (target_bfd_reopen): Likewise.
12680 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12681 (deprecated_insert_raw_breakpoint): Likewise.
12682 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12683 * corelow.c (core_open): Likewise.
12684 * darwin-nat.c (darwin_check_new_threads): Likewise.
12685 (darwin_attach_pid): Likewise.
12686 * dummy-frame.c (dummy_frame_push): Likewise.
12687 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12688 * dwarf2loc.c (allocate_piece_closure): Likewise.
12689 * elfread.c (elf_symfile_segments): Likewise.
12690 * eval.c (ptrmath_type_p): Likewise.
12691 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12692 * gdbtypes.c (alloc_type_arch): Likewise.
12693 (alloc_type_instance): Likewise.
12694 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12695 * inf-child.c (inf_child_can_use_agent): Likewise.
12696 * inflow.c (get_inflow_inferior_data): Likewise.
12697 * infrun.c (save_infcall_suspend_state): Likewise.
12698 * jit.c (jit_reader_load): Likewise.
12699 (get_jit_objfile_data): Likewise.
12700 (get_jit_program_space_data): Likewise.
12701 (jit_object_open_impl): Likewise.
12702 (jit_symtab_open_impl): Likewise.
12703 (jit_block_open_impl): Likewise.
12704 (jit_frame_sniffer): Likewise.
12705 * linux-fork.c (add_fork): Likewise.
12706 * maint.c (make_command_stats_cleanup): Likewise.
12707 * objfiles.c (get_objfile_pspace_data): Likewise.
12708 * opencl-lang.c (struct lval_closure): Likewise.
12709 * osdata.c (osdata_start_osdata): Likewise.
12710 * progspace.c (new_address_space): Likewise.
12711 (add_program_space): Likewise.
12712 * remote-sim.c (get_sim_inferior_data): Likewise.
12713 * sh-tdep.c (sh_gdbarch_init): Likewise.
12714 * skip.c (Ignore): Likewise.
12715 (skip_delete_command): Likewise.
12716 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12717 (library_list_start_library): Likewise.
12718 (solib_aix_current_sos): Likewise.
12719 * solib-darwin.c (get_darwin_info): Likewise.
12720 (darwin_current_sos): Likewise.
12721 * solib-dsbt.c (get_dsbt_info): Likewise.
12722 * solib-ia64-hpux.c (new_so_list): Likewise.
12723 (ia64_hpux_get_solib_linkage_addr): Likewise.
12724 * solib-spu.c (append_ocl_sos): Likewise.
12725 (spu_current_sos): Likewise.
12726 * solib-svr4.c (get_svr4_info): Likewise.
12727 (svr4_keep_data_in_core): Likewise.
12728 (library_list_start_library): Likewise.
12729 (svr4_default_sos): Likewise.
12730 (svr4_read_so_list): Likewise.
12731 * solib-target.c (library_list_start_library): Likewise.
12732 (solib_target_current_sos): Likewise.
12733 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12734 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12735 * symfile.c (default_symfile_segments): Likewise.
12736 * target-descriptions.c (tdesc_data_init): Likewise.
12737 (tdesc_create_reg): Likewise.
12738 (struct tdesc_type *): Likewise.
12739 (tdesc_create_vector): Likewise.
12740 (tdesc_set_struct_size): Likewise.
12741 (struct tdesc_type *): Likewise.
12742 (tdesc_free_feature): Likewise.
12743 (tdesc_create_feature): Likewise.
12744 * windows-nat.c (windows_add_thread): Likewise.
12745 (windows_make_so): Likewise.
12746 * xml-support.c (gdb_xml_body_text): Likewise.
12747 (gdb_xml_create_parser_and_cleanup): Likewise.
12748 (xml_process_xincludes): Likewise.
12749 * xml-syscall.c (allocate_syscalls_info): Likewise.
12750 (syscall_create_syscall_desc): Likewise.
12751
12752 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12753
12754 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12755 function, with code from i386_stap_parse_special_token.
12756 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12757 (i386_stap_parse_special_token): Move code to the two functions
12758 above; simplify it.
12759
12760 2014-01-09 Pedro Alves <palves@redhat.com>
12761 Hui Zhu <hui@codesourcery.com>
12762
12763 PR gdb/16101
12764 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12765 bp_err_string. Don't mark the location shlib_disabled if the
12766 error thrown wasn't a generic or memory error. Catch errors
12767 thrown while inserting breakpoints in overlayed code. Output
12768 error message of software breakpoints.
12769 * remote.c (remote_insert_breakpoint): If this breakpoint has
12770 target-side commands but this stub doesn't support Z0 packets,
12771 throw NOT_SUPPORTED_ERROR error.
12772 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12773 * target.h (target_insert_breakpoint): Extend comment.
12774 (target_insert_hw_breakpoint): Add comment.
12775
12776 2014-01-08 Pedro Alves <palves@redhat.com>
12777
12778 * remote.c (remote_add_thread): Add threads silently if starting
12779 up.
12780 (remote_notice_new_inferior): If in all-stop, and starting up,
12781 don't call notice_new_inferior.
12782 (get_current_thread): New function, factored out from ...
12783 (add_current_inferior_and_thread): ... this. Adjust.
12784 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12785 found any thread, then select the remote's current thread as GDB's
12786 current thread too.
12787
12788 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12789
12790 * NEWS: Create a new section for the next release branch.
12791 Rename the section of the current branch, now that it has
12792 been cut.
12793
12794 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12795
12796 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12797 * version.in: Bump version to 7.7.50.DATE-cvs.
12798
12799 2014-01-08 Yao Qi <yao@codesourcery.com>
12800
12801 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12802 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12803 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12804
12805 2014-01-08 Yao Qi <yao@codesourcery.com>
12806
12807 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12808 return value of bfd_get_filename to symbol_file_add_from_bfd.
12809
12810 2014-01-08 Pierre Muller <muller@sourceware.org>
12811
12812 Fix PR16201.
12813 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12814 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12815 to prim_record_mininal_symbol_and_info.
12816 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12817 in call to prim_record_minimal_symbol_and_info.
12818 (read_pe_exported_syms): Set index field of section_data.
12819
12820 2014-01-07 Andrew Pinski <apinski@cavium.com>
12821
12822 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12823 * features/aarch64.c: Regenerate.
12824
12825 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12826
12827 * target.c (return_null): Define.
12828 (update_current_target): Use it instead of return_zero for
12829 functions that return a pointer.
12830
12831 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12832
12833 * source.c (add_path): Fix check for duplicated paths in the previously
12834 included paths.
12835
12836 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12837
12838 * ada-lang.c: Remove duplicated include statements.
12839 * alphabsd-nat.c: Ditto.
12840 * amd64-darwin-tdep.c: Ditto.
12841 * amd64fbsd-nat.c: Ditto.
12842 * auto-load.c: Ditto.
12843 * ax-gdb.c: Ditto.
12844 * breakpoint.c: Ditto.
12845 * dbxread.c: Ditto.
12846 * fork-child.c: Ditto.
12847 * gdb_usleep.c: Ditto.
12848 * i386-darwin-tdep.c: Ditto.
12849 * i386fbsd-nat.c: Ditto.
12850 * infcmd.c: Ditto.
12851 * inferior.c: Ditto.
12852 * jv-lang.c: Ditto.
12853 * linux-nat.c: Ditto.
12854 * linux-tdep.c: Ditto.
12855 * m68kbsd-nat.c: Ditto.
12856 * m68klinux-nat.c: Ditto.
12857 * microblaze-tdep.c: Ditto.
12858 * mips-linux-tdep.c: Ditto.
12859 * mn10300-tdep.c: Ditto.
12860 * nto-tdep.c: Ditto.
12861 * opencl-lang.c: Ditto.
12862 * osdata.c: Ditto.
12863 * printcmd.c: Ditto.
12864 * regcache.c: Ditto.
12865 * remote-m32r-sdi.c: Ditto.
12866 * remote.c: Ditto.
12867 * symfile.c: Ditto.
12868 * symtab.c: Ditto.
12869 * tilegx-linux-nat.c: Ditto.
12870 * tilegx-tdep.c: Ditto.
12871 * tracepoint.c: Ditto.
12872 * valops.c: Ditto.
12873 * vaxbsd-nat.c: Ditto.
12874 * windows-nat.c: Ditto.
12875 * xtensa-tdep.c: Ditto.
12876
12877 2014-01-07 Yao Qi <yao@codesourcery.com>
12878
12879 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12880
12881 2014-01-07 Yao Qi <yao@codesourcery.com>
12882 Joel Brobecker <brobecker@adacore.com>
12883
12884 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12885 (pdc_write_regs): Likewise.
12886 (fetch_regs_kernel_thread): Likewise.
12887 (store_regs_kernel_thread): Likewise.
12888
12889 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12890
12891 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12892 tagged type objects to their actual type.
12893
12894 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12895
12896 * ada-valprint.c (print_field_values): Add "language" parameter.
12897 Update calls to print_field_values and print_variant_part.
12898 Pass new parameter "language" in call to val_print instead
12899 of "current_language". Replace call to ada_val_print by call
12900 to val_print.
12901 (print_variant_part): Add "language" parameter.
12902 (ada_val_print_struct_union): Update call to print_field_values.
12903
12904 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12905
12906 * ada-valprint.c (ui_memcpy): Delete.
12907 (ada_print_floating): Update documentation. Add empty line
12908 between between function documentation and implementation.
12909 Delete variable "buffer". Use ui_file_xstrdup in place of
12910 ui_file_put. Minor adjustments following this change.
12911
12912 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12913
12914 * ada-valprint.c (ada_val_print_string): New function,
12915 extracted from ada_val_print_array.
12916 (ada_val_print_array): Replace extracted code by call
12917 to ada_val_print_string followed by a return. Move
12918 "else" branch to the function's top block.
12919
12920 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12921
12922 * ada-valprint.c (ada_val_print_array): Move implementation
12923 down. Rename parameter "offset" and "val" into "offset_aligned"
12924 and "original_value" respectively. Add parameter "offset".
12925
12926 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12927
12928 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12929 re-organizing the code. Change the "???" message printed
12930 when target type is a TYPE_CODE_UNDEF into
12931 "<ref to undefined type>".
12932
12933 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12934
12935 * ada-valprint.c (print_record): Delete, implementation inlined...
12936 (ada_val_print_struct_union): ... here. Remove call to
12937 ada_check_typedef in inlined implementation.
12938
12939 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12940
12941 * ada-valprint.c (ada_val_print_gnat_array): New function,
12942 extracted from ada_val_print_1;
12943 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12944 (ada_val_print_flt, ada_val_print_struct_union)
12945 (ada_val_print_ref): Likewise.
12946 (ada_val_print_1): Delete variables i and elttype.
12947 Replace extracted-out code by call to corresponding
12948 new functions.
12949
12950 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12951
12952 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12953
12954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12955
12956 * ada-valprint.c (ada_val_print_1): Replace calls to
12957 ada_val_print_1 by calls to val_print.
12958
12959 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12960
12961 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12962 Update calls to self accordingly. Replace calls to c_val_print
12963 by calls to val_print.
12964
12965 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12966
12967 * ada-valprint.c (print_record): Delete declaration.
12968 (adjust_type_signedness, ada_val_print_1): Likewise.
12969 (ada_val_print): Move function implementation down.
12970 (print_variant_part, print_field_values, print_record):
12971 Move function implementation up.
12972
12973 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12974
12975 * python/py-type.c (typy_get_name): New function.
12976 (type_object_getset): Add entry for attribute "name".
12977 * NEWS: Add entry mentioning this new attribute.
12978
12979 2014-01-07 Yao Qi <yao@codesourcery.com>
12980
12981 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12982 statement.
12983
12984 2014-01-07 Yao Qi <yao@codesourcery.com>
12985
12986 * gnu-nat.c (info_port_rights): Add qualifier const to
12987 argument args.
12988
12989 2014-01-07 Yao Qi <yao@codesourcery.com>
12990
12991 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12992
12993 2014-01-07 Yao Qi <yao@codesourcery.com>
12994
12995 * gnu-nat.c (make_inf) Update declaration.
12996 (make_inf): Make it static.
12997 (inf_set_traced): Likewise.
12998 (inf_port_to_thread, inf_task_died_status): Likewise.
12999
13000 2014-01-07 Yao Qi <yao@codesourcery.com>
13001
13002 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13003
13004 2014-01-07 Yao Qi <yao@codesourcery.com>
13005
13006 * gnu-nat.c (_initialize_gnu_nat): Declare.
13007
13008 2014-01-07 Yao Qi <yao@codesourcery.com>
13009
13010 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13011 'enum bfd_endian'.
13012 (struct gdbarch_info) <byte_order>: Change type to
13013 'enum bfd_endian'.
13014 <byte_order_for_code>: Likewise.
13015 * gdbarch.c, gdbarch.h: Regenerated.
13016
13017 2014-01-06 Sasha Smundak <asmundak@google.com>
13018
13019 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13020
13021 2014-01-06 Tom Tromey <tromey@redhat.com>
13022
13023 * doublest.c (convert_doublest_to_floatformat): Use const, not
13024 CONST.
13025 * somread.c (som_symtab_read): Likewise.
13026
13027 2014-01-07 Hui Zhu <hui@codesourcery.com>
13028
13029 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13030 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13031 (gdb_bfd_fopen): Ditto.
13032 (gdb_bfd_openr): Ditto.
13033 (gdb_bfd_openw): Ditto.
13034 (gdb_bfd_openr_iovec): Ditto.
13035 (gdb_bfd_fdopenr): Ditto.
13036 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13037 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13038 with xstrdup.
13039 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13040 with xstrdup.
13041 * symfile-mem.c (symbol_file_add_from_memory): Removed
13042 gdb_bfd_stash_filename.
13043
13044 2014-01-03 Doug Evans <dje@google.com>
13045
13046 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13047 output.
13048
13049 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13050
13051 Update year range in copyright notice of all files.
13052
13053 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13054
13055 * top.c (print_gdb_version): Set copyright year to 2014.
13056
13057 2014-01-01 Joel Brobecker <brobecker@adacore.com>
13058
13059 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13060
13061 For older changes see ChangeLog-2013.
13062 \f
13063 Local Variables:
13064 mode: change-log
13065 left-margin: 8
13066 fill-column: 74
13067 version-control: never
13068 coding: utf-8
13069 End:
This page took 0.409653 seconds and 4 git commands to generate.