82162743ebf6c30d55749b02fa1b209073123335
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 * objc-lang.c (find_implementation_from_class): Remove dead code.
4
5 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6
7 PR cli/7233
8 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
9 "fprintf_unfiltered (gdb_stdlog...)".
10
11 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12
13 PR breakpoints/12526
14 * breakpoint.h (struct watchpoint): New fields val_bitpos and
15 val_bitsize.
16 * breakpoint.c (watch_command_1): Use these fields to retain
17 bitfield information.
18 (extract_bitfield_from_watchpoint_value): New function.
19 (watchpoint_check): Use it.
20 (update_watchpoint): Use it. Optimize the address and length of a
21 HW watchpoint pointing to a bitfield.
22 * value.h (unpack_value_bitfield): New prototype.
23 * value.c (unpack_value_bitfield): Make extern.
24
25 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26
27 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
28 x86-dregs.o.
29 * gnu-nat.c (inf_threads): New function.
30 * gnu-nat.h (inf_threads_ftype): New typedef.
31 (inf_threads): New declaration.
32 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
33 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
34 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
35 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
36 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
37 (i386_gnu_dr_get_control): New functions.
38 (reg_addr): New structure.
39 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
40 i386 debugging register hooks.
41 * NEWS: Mention this.
42
43 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
44
45 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
46 vector data transfer instructions.
47 (arm_record_coproc_data_proc): Updated.
48
49 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
50
51 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
52 arm_record_exreg_ld_st_insn.
53 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
54 load/store insns.
55
56 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
57
58 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
59 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
60 processing instructions.
61
62 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
63
64 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
65 for advance SIMD struct ld/st insn.
66 (thumb2_record_decode_insn_handler): Replace stub handler with
67 thumb2_record_asimd_struct_ld_st.
68
69 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
70
71 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
72 for asimd, vfp and coprocessor insns.
73 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
74 and coprocessor insns.
75 (thumb2_record_coproc_insn): New function.
76 (thumb2_record_decode_insn_handler): Update coprocessor insns record
77 handlers.
78 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
79 opcode 110 insns.
80
81 2014-09-13 Doug Evans <xdje42@gmail.com>
82
83 * NEWS: Mention new "queue-signal" command.
84 * infcmd.c (queue_signal_command): New function.
85 (_initialize_infcmd): Add new queue-signal command.
86
87 2014-09-13 Doug Evans <xdje42@gmail.com>
88
89 * linux-nat.c (wait_lwp): Add debugging printf.
90 (linux_nat_wait_1): Ditto.
91
92 2014-09-12 Pedro Alves <palves@redhat.com>
93
94 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
95 (create_and_insert_solib_event_breakpoint): New functions.
96 * breakpoint.h (create_and_insert_solib_event_breakpoint)
97 (remove_solib_event_breakpoints_at_next_stop): New declarations.
98 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
99 (remove_dbx_link_breakpoint): Delete function.
100 (insert_dbx_link_bpt_in_file): Use
101 create_and_insert_solib_event_breakpoint instead of
102 deprecated_insert_raw_breakpoint.
103 (procfs_wait): Don't check whether we hit __dbx_link here.
104 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
105 here.
106 * solib-irix.c (base_breakpoint): Delete global.
107 (disable_break): Delete function.
108 (enable_break): Use create_solib_event_breakpoint
109 instead of deprecated_insert_raw_breakpoint.
110 (irix_solib_handle_event): New function.
111 (irix_solib_create_inferior_hook): Don't run the target or disable
112 the mapping-complete breakpoint here.
113 (_initialize_irix_solib): Install irix_solib_handle_event as
114 so_ops->handle_event hook.
115
116 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
117 Ulrich Weigand  <uweigand@de.ibm.com>
118
119 PR tdep/17379
120 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
121 instead of read_memory_unsigned_integer.
122
123 2014-09-12 Gary Benson <gbenson@redhat.com>
124
125 * nat/linux-waitpid.c: Include common-defs.h.
126 [GDBSERVER]: Add FIXME comment.
127 [!GDBSERVER]: Don't include defs.h or signal.h.
128 (linux_debug) [!GDBSERVER]: Remove empty block.
129
130 2014-09-12 Gary Benson <gbenson@redhat.com>
131
132 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
133 Don't include defs.h or server.h.
134
135 2014-09-12 Gary Benson <gbenson@redhat.com>
136
137 * nat/linux-btrace.c: Include common-defs.h.
138 Don't include defs.h, server.h or gdbthread.h.
139 * nat/linux-btrace.h (struct target_ops): New forward declaration.
140
141 2014-09-12 Gary Benson <gbenson@redhat.com>
142
143 * common/agent.c: Include common-defs.h.
144 Don't include defs.h or server.h.
145 * common/buffer.c: Likewise.
146 * common/common-debug.c: Likewise.
147 * common/common-utils.c: Likewise.
148 * common/errors.c: Likewise.
149 * common/filestuff.c: Likewise.
150 * common/format.c: Likewise.
151 * common/gdb_vecs.c: Likewise.
152 * common/print-utils.c: Likewise.
153 * common/ptid.c: Likewise.
154 * common/rsp-low.c: Likewise.
155 * common/signals.c: Likewise.
156 * common/vec.c: Likewise.
157 * common/xml-utils.c: Likewise.
158 * nat/linux-osdata.c: Likewise.
159 * nat/linux-procfs.c: Likewise.
160 * nat/linux-ptrace.c: Likewise.
161 * nat/mips-linux-watch.c: Likewise.
162 * target/waitstatus.c: Likewise.
163
164 2014-09-12 Tom Tromey <tromey@redhat.com>
165 Gary Benson <gbenson@redhat.com>
166
167 * common/common-regcache.h: New file.
168 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
169 * regcache.h: Include common-regcache.h.
170 (regcache_read_pc): Don't declare.
171 * regcache.c (get_thread_regcache_for_ptid): New function.
172 * nat/linux-btrace.c: Don't include regcache.h.
173 Include common-regcache.h.
174 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
175
176 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
177
178 * regcache.h (struct regset): Declare.
179
180 2014-09-11 Pedro Alves <palves@redhat.com>
181
182 PR gdb/17347
183 * main.c: Include "infrun.h".
184 (catch_command_errors, catch_command_errors_const): Wait for the
185 foreground command to complete.
186 * top.c (maybe_wait_sync_command_done): New function, factored out
187 from ...
188 (maybe_wait_sync_command_done): ... here.
189 * top.h (maybe_wait_sync_command_done): New declaration.
190
191 2014-09-11 Tom Tromey <tromey@redhat.com>
192 Gary Benson <gbenson@redhat.com>
193
194 * common/symbol.h: New file.
195 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
196 * minsyms.c (find_minimal_symbol_address): New function.
197 * common/agent.c: Include common/symbol.h.
198 [!GDBSERVER]: Don't include objfiles.h.
199 (agent_look_up_symbols): Use find_minimal_symbol_address.
200
201 2014-09-11 Gary Benson <gbenson@redhat.com>
202
203 * target/target.h (target_stop_ptid, target_continue_ptid):
204 Declare.
205 * target.c (target_stop_ptid, target_continue_ptid): New
206 functions.
207 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
208 (agent_run_command): Always use target_stop_ptid and
209 target_continue_ptid.
210
211 2014-09-11 Tom Tromey <tromey@redhat.com>
212 Gary Benson <gbenson@redhat.com>
213
214 * target/target.h: New file.
215 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
216 * target.h: Include target/target.h.
217 (target_read_memory, target_write_memory): Don't declare.
218 * target.c (target_read_uint32): New function.
219 * common/agent.c: Include target/target.h.
220 [!GDBSERVER]: Don't include target.h.
221 (helper_thread_id): Type changed to uint32_t.
222 (agent_get_helper_thread_id): Use target_read_uint32.
223 (agent_run_command): Always use target_read_memory and
224 target_write_memory.
225 (agent_capability): Type changed to uint32_t.
226 (agent_capability_check): Use target_read_uint32.
227
228 2014-09-11 Gary Benson <gbenson@redhat.com>
229
230 * common/common-debug.h (show_debug_regs): Declare.
231 * common/common-debug.c (show_debug_regs): Define.
232 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
233 all uses with show_debug_regs. Replace all uses that considered
234 debug_hw_points as a multi-value integer with straight boolean
235 uses.
236 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
237 with show_debug_regs.
238 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
239 all uses with show_debug_regs.
240 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
241 uses with show_debug_regs.
242
243 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
244
245 * findvar.c (address_from_register): Handle targets requiring
246 a special conversion routine even for plain pointer types.
247
248 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
249
250 * rs6000-nat.c (exec_one_dummy_insn): Remove.
251 (store_register): Do not call exec_one_dummy_insn.
252
253 2014-09-10 Joel Brobecker <brobecker@adacore.com>
254
255 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
256 dereference it first. Use value_enclosing_type instead of
257 value_type.
258 (ada_array_length): Likewise.
259
260 2014-09-10 Joel Brobecker <brobecker@adacore.com>
261
262 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
263 Adjust function implementation and documentation accordingly.
264 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
265 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
266 Update call to ada_value_ptr_subscript.
267
268 2014-09-10 Joel Brobecker <brobecker@adacore.com>
269
270 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
271 instead of VAL's type.
272
273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
274
275 * amd64-linux-nat.c: Add <sys/uio.h> #include.
276
277 2014-09-09 Doug Evans <xdje42@gmail.com>
278
279 PR guile/17367
280 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
281 last parameter to pkg-config, not first.
282 * configure.ac: Pass --with-guile provided pkg-config path to
283 GDB_GUILE_PROGRAM_NAMES.
284 * configure: Regenerate.
285
286 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
287
288 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
289 Bertazi".
290
291 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
292
293 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
294 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
295 the list of sections determining GDB_OSABI_IRIX.
296
297 2014-09-09 James Hogan <james.hogan@imgtec.com>
298
299 * MAINTAINERS (Write After Approval): Add "James Hogan".
300
301 2014-09-09 James Hogan <james.hogan@imgtec.com>
302
303 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
304
305 2014-09-09 Joel Brobecker <brobecker@adacore.com>
306
307 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
308
309 2014-09-08 Doug Evans <xdje42@gmail.com>
310
311 PR 17247
312 * guile.c: #include <signal.h>.
313 (_initialize_guile): Block SIGCHLD while initializing Guile.
314
315 Replaces the following, which is reverted.
316
317 2014-07-26 Doug Evans <xdje42@gmail.com>
318
319 PR 17185
320 * configure.ac: Add check for header gc/gc.h.
321 Add check for function setenv.
322 * configure: Regenerate.
323 * config.in: Regenerate.
324 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
325
326 2014-09-08 Doug Evans <xdje42@gmail.com>
327
328 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
329 with named constant. Fix style of pointer comparison.
330 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
331
332 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
333
334 PR gdb/17035
335 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
336 decide whether we display the command on "show user".
337 * cli/cli-script.c (show_user_1): Only verify cmdlines after
338 printing command name.
339 * cli/cli-decode.h (cli_user_command_p): Declare new function.
340 * cli/cli-decode.c (cli_user_command_p): Create helper function
341 to verify whether cmd_list_element is a user-defined command.
342
343 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
344
345 PR python/17355
346 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
347 Fix goto out of TRY_CATCH.
348
349 2014-09-06 Doug Evans <xdje42@gmail.com>
350 Tom Tromey <tromey@redhat.com>
351
352 PR 15276
353 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
354 $_any_caller_matches.
355 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
356 * python/lib/gdb/function/caller_is.py: New file.
357
358 2014-09-06 Doug Evans <xdje42@gmail.com>
359
360 * infcmd.c (program_info): Fix typo.
361
362 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
363
364 PR gdb/17235
365 * stap-probe.c (stap_parse_single_operand): Delete unused variable
366 'number'. New variable 'has_digit'. Rewrite code to deal with
367 subexpressions on SDT probes.
368
369 2014-09-04 Pedro Alves <palves@redhat.com>
370
371 * c-exp.y (parse_number): Skip handling base-switching prefixes if
372 the input is only one character long.
373
374 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
375
376 PR fortran/17237
377 * f-valprint.c (f_val_print): Specify the correct print option to
378 use when printing integer values.
379
380 2014-09-04 Gary Benson <gbenson@redhat.com>
381
382 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
383 Remove code to cope with LWPs wrapped as PIDs.
384 Add assertions to ensure no wrapped LWPs are passed.
385
386 2014-09-04 Pedro Alves <palves@redhat.com>
387
388 * value.c (value_ranges_copy_adjusted): New function, factored out
389 from ...
390 (value_contents_copy_raw): ... here.
391 (unpack_value_bits_as_long_1): Rename back to ...
392 (unpack_bits_as_long): ... this. Remove 'original_value' and
393 'result' parameters. Change return type to LONGEST.
394 (unpack_value_bits_as_long): Delete.
395 (unpack_value_field_as_long_1): Delete.
396 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
397 (unpack_value_bitfield): New function.
398 (value_field_bitfield): Reimplement using unpack_value_bitfield.
399 (value_fetch_lazy): Use unpack_value_bitfield.
400 * value.h (unpack_value_bits_as_long): Delete declaration.
401
402 2014-09-03 Sasha Smundak <asmundak@google.com>
403
404 * python/py-frame.c (frapy_read_register): New function.
405
406 2014-09-03 James Hogan <james.hogan@imgtec.com>
407
408 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
409 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
410
411 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
412
413 PR python/16699
414 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
415 function.
416 (add_cmd): Set "completer_handle_brkchars" to NULL.
417 * cli/cli-decode.h (struct cmd_list_element)
418 <completer_handle_brkchars>: New field.
419 * command.h (completer_ftype_void): New typedef.
420 (set_cmd_completer_handle_brkchars): New prototype.
421 * completer.c (set_gdb_completion_word_break_characters): New
422 function.
423 (complete_line_internal): Call "completer_handle_brkchars"
424 callback from command.
425 * completer.h: Include "command.h".
426 (set_gdb_completion_word_break_characters): New prototype.
427 * python/py-cmd.c (cmdpy_completer_helper): New function.
428 (cmdpy_completer_handle_brkchars): New function.
429 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
430 (cmdpy_init): Set completer_handle_brkchars to
431 cmdpy_completer_handle_brkchars.
432
433 2014-09-03 Gary Benson <gbenson@redhat.com>
434
435 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
436 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
437 Loop conditions changed to equivalent form.
438 (struct x86_debug_reg_state): Updated dr_ref_count comment.
439 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
440 ALL_DEBUG_ADDRESS_REGISTERS.
441
442 2014-09-03 Joel Brobecker <brobecker@adacore.com>
443
444 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
445 description fix.
446
447 2014-09-02 Doug Evans <dje@google.com>
448
449 * typeprint.c (find_global_typedef): Fix comment.
450
451 2014-09-02 Gary Benson <gbenson@redhat.com>
452
453 * i386-nat.h: Renamed as...
454 * x86-nat.h: New file. All type, function and variable name
455 prefixes changed from "i386_" to "x86_". All references updated.
456 * i386-nat.c: Renamed as...
457 * x86-nat.c: New file. All type, function and variable name
458 prefixes changed from "i386_" to "x86_". All references updated.
459 * common/i386-xstate.h: Renamed as...
460 * common/x86-xstate.h: New file. All type, function and variable
461 name prefixes changed from "i386_" to "x86_". All references
462 updated.
463 * nat/i386-cpuid.h: Renamed as...
464 * nat/x86-cpuid.h: New file. All type, function and variable name
465 prefixes changed from "i386_" to "x86_". All references updated.
466 * nat/i386-gcc-cpuid.h: Renamed as...
467 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
468 name prefixes changed from "i386_" to "x86_". All references
469 updated.
470 * nat/i386-dregs.h: Renamed as...
471 * nat/x86-dregs.h: New file. All type, function and variable name
472 prefixes changed from "i386_" to "x86_". All references updated.
473 * nat/i386-dregs.c: Renamed as...
474 * nat/x86-dregs.c: New file. All type, function and variable name
475 prefixes changed from "i386_" to "x86_". All references updated.
476
477 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
478
479 * varobj.c (_initialize_varobj): Move to the end of file.
480
481 2014-08-29 Gary Benson <gbenson@redhat.com>
482
483 * common/common-exceptions.h: New file.
484 * common/common-exceptions.c: Likewise.
485 * Makefile.in (SFILES): Add common/common-exceptions.c.
486 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
487 (COMMON_OBS): Add common-exceptions.o.
488 (common-exceptions.o): New rule.
489 * exceptions.h (common-exceptions.h): Include.
490 (gdb_setjmp.h): Do not include.
491 (return_reason): Moved to common-exceptions.h.
492 (enum return_reason): Likewise.
493 (RETURN_MASK): Likewise.
494 (typedef return_mask): Likewise.
495 (enum errors): Likewise.
496 (struct gdb_exception): Likewise.
497 (exceptions_state_mc_init): Likewise.
498 (exceptions_state_mc_action_iter): Likewise.
499 (exceptions_state_mc_action_iter_1): Likewise.
500 (TRY_CATCH): Likewise.
501 (throw_exception): Likewise.
502 (throw_verror): Likewise.
503 (throw_vquit): Likewise.
504 (throw_error): Likewise.
505 (throw_quit): Likewise.
506 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
507 (enum catcher_action): Likewise.
508 (struct catcher): Likewise.
509 (current_catcher): Likewise.
510 (catcher_list_size): Likewise.
511 (exceptions_state_mc_init): Likewise.
512 (catcher_pop): Likewise.
513 (exceptions_state_mc): Likewise.
514 (exceptions_state_mc_action_iter): Likewise.
515 (exceptions_state_mc_action_iter_1): Likewise.
516 (throw_exception): Likewise.
517 (exception_messages): Likewise.
518 (exception_messages_size): Likewise.
519 (throw_it): Likewise.
520 (throw_verror): Likewise.
521 (throw_vquit): Likewise.
522 (throw_error): Likewise.
523 (throw_quit): Likewise.
524 (prepare_to_throw_exception): New function.
525
526 2014-08-29 Gary Benson <gbenson@redhat.com>
527
528 * common/gdb_setjmp.h: New file.
529 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
530 * configure.ac: Move sigsetjmp check...
531 * common/common.m4: ...here.
532 * configure: Regenerate.
533 * cp-support.c (SIGJMP_BUF): Delete.
534 (SIGSETJMP): Likewise.
535 (SIGLONGJMP): Likewise.
536 * exceptions.h (gdb_setjmp.h): Include.
537 (setjmp.h): Do not include.
538 (EXCEPTIONS_SIGJMP_BUF): Delete.
539 (EXCEPTIONS_SIGSETJMP): Likewise.
540 (EXCEPTIONS_SIGLONGJMP): Likewise.
541 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
542 from gdb_setjmp.h.
543 * exceptions.c: Likewise.
544
545 2014-08-29 Gary Benson <gbenson@redhat.com>
546
547 * cleanups.h: Moved to...
548 * common/cleanups.h: New file.
549 * cleanups.c: Moved to...
550 * common/cleanups.c: New file. Include common-defs.h and
551 cleanups.h. Do not include defs.h.
552 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
553 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
554 (cleanups.o): New rule.
555
556 2014-08-29 Gary Benson <gbenson@redhat.com>
557
558 * common/errors.h (internal_warning): New declaration.
559 (internal_vwarning): Likewise.
560 * common/errors.c (internal_warning): New function.
561 * utils.h (internal_warning): Don't declare.
562 (internal_vwarning): Likewise.
563 * utils.c (internal_warning): Removed.
564
565 2014-08-29 Gary Benson <gbenson@redhat.com>
566
567 * main.c (captured_main): Use warning during startup.
568 Prefix startup warning messages with command name.
569
570 2014-08-29 Gary Benson <gbenson@redhat.com>
571
572 * main.c (captured_main): Handle usage errors with error.
573
574 2014-08-29 Gary Benson <gbenson@redhat.com>
575
576 * go32-nat.c (go32_create_inferior): Replace a fprintf/
577 exit pair with a call to error. Wrap the message with _().
578
579 2014-08-29 Gary Benson <gbenson@redhat.com>
580
581 * main.c (captured_main): Replace a fprintf/exit
582 pair with a call to error. Wrap the message with _().
583
584 2014-08-29 Gary Benson <gbenson@redhat.com>
585
586 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
587 pairs with calls to error. Wrap the message with _().
588
589 2014-08-29 Gary Benson <gbenson@redhat.com>
590
591 * utils.c (vwarning): Protect calls to target_terminal_ours
592 and wrap_here.
593
594 2014-08-29 Gary Benson <gbenson@redhat.com>
595
596 * exceptions.c (print_flush): Protect calls to
597 target_terminal_ours and wrap_here.
598
599 2014-08-29 Gary Benson <gbenson@redhat.com>
600
601 * utils.h (filtered_printing_initialized): New declaration.
602 * utils.c (abort_with_message): New function.
603 (internal_vproblem): Use abort_with_message for first level
604 recursive internal problems, and if gdb_stderr is not set up.
605 Protect calls to target_terminal_ours, begin_line and query.
606
607 2014-08-28 Doug Evans <dje@google.com>
608
609 * symtab.c (in_prologue): Move definition to better spot.
610 (skip_prologue_using_sal): Ditto.
611
612 2014-08-28 Doug Evans <dje@google.com>
613
614 * symtab.c (find_function_start_sal): Move definition to better spot.
615
616 2014-08-28 Yao Qi <yao@codesourcery.com>
617
618 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
619 found_stack_adjust in forward scan. Remove condition check
620 on found_stack_adjust which is always true. Indent the code.
621
622 2014-08-28 Yao Qi <yao@codesourcery.com>
623
624 * dwarf2read.c (dwarf_decode_lines): Update declaration.
625 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
626 (dwarf_decode_lines): Remove argument
627 want_line_info. Remove condition check on want_line_info.
628 Callers update.
629
630 2014-08-27 Doug Evans <dje@google.com>
631
632 * dwarf2read.c (dwarf_record_line): Fix typo.
633
634 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
635
636 * target.h (struct target_ops::to_terminal_save_ours): Remove
637 declaration.
638 (target_terminal_save_ours): Remove macro.
639 * target-delegates.c: Regenerate.
640 * inf-child.c (inf_child_target): Don't set the nonexistent
641 field to_terminal_save_ours.
642 * inferior.h (child_terminal_save_ours): Remove declaration.
643 * terminal.h (gdb_save_tty_state): New declaration.
644 * inflow.c (child_terminal_save_ours): Rename to ...
645 (gdb_save_tty_state): ... this.
646 * tui/tui.c: Include terminal.h.
647 (tui_enable): Use gdb_save_tty_state instead of
648 target_terminal_save_ours.
649 (tui_disable): Likewise.
650
651 2014-08-25 Doug Evans <dje@google.com>
652
653 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
654 Pass NULL instead of 0 for context pointer.
655
656 2014-08-25 Yao Qi <yao@codesourcery.com>
657
658 * dwarf2read.c: Fix grammatical error.
659
660 2014-08-24 Yao Qi <yao@codesourcery.com>
661
662 * dwarf2read.c (scan_partial_symbols): Update comments.
663 Rename argument 'need_pc' with 'set_addrmap'.
664 (add_partial_namespace): Rename argument 'need_pc' with
665 'set_addrmap'.
666 (add_partial_module): Likewise.
667 (add_partial_subprogram): Likewise. Update comments.
668 (dwarf2_name): Fix typo.
669
670 2014-08-22 Doug Evans <dje@google.com>
671
672 PR 17276
673 * dwarf2read.c (dwarf_record_line_p): New function.
674 (dwarf_decode_lines_1): Ignore subsequent line number entries
675 for the same line if any entry had a non-zero discriminator.
676
677 2014-08-22 Doug Evans <dje@google.com>
678
679 * buildsym.h (record_line_ftype): New typedef.
680 (record_line): Use it.
681 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
682 (dwarf_decode_lines_1): Call them.
683
684 2014-08-22 Yao Qi <yao@codesourcery.com>
685
686 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
687 (ctf_end): Remove code.
688
689 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
692 (linux_make_corefile_notes): call update_thread_list, protected against
693 exceptions.
694
695 2014-08-21 Pedro Alves <palves@redhat.com>
696
697 * infcmd.c (attach_command): Remove comment.
698
699 2014-08-21 Bin Cheng <bin.cheng@arm.com>
700
701 * aarch64-linux-nat.c (dr_changed_t): Change the type from
702 unsigned LONGEST to ULONGEST.
703
704 2014-08-20 Pedro Alves <palves@redhat.com>
705
706 * Makefile.in (check-read1): New rule.
707
708 2014-08-20 Joel Brobecker <brobecker@adacore.com>
709
710 * value.c (value_from_contents_and_address): Strip resolved_type's
711 typedef layers before checking its TYPE_DATA_LOCATION.
712
713 2014-08-20 Pedro Alves <palves@redhat.com>
714
715 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
716
717 2014-08-20 Yao Qi <yao@codesourcery.com>
718
719 * amd64-tdep.c (amd64_classify): Add a blank line after the
720 example. Move "*/" to a new line.
721 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
722 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
723 * dwarf2read.c (psymtab_include_file_name): Likewise.
724
725 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
726 Pedro Alves <palves@redhat.com>
727
728 PR symtab/14604
729 PR symtab/14605
730 * ada-lang.c (coerce_unspec_val_to_type): Use
731 value_contents_copy_raw.
732 * ada-valprint.c (val_print_packed_array_elements): Adjust.
733 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
734 * cp-valprint.c (cp_print_value_fields): Let the common printing
735 code handle optimized out values.
736 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
737 * d-valprint.c (dynamic_array_type): Use
738 value_bits_any_optimized_out.
739 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
740 check_any_valid fields.
741 (check_pieced_value_bits): Delete and inline ...
742 (check_pieced_synthetic_pointer): ... here.
743 (check_pieced_value_validity): Delete.
744 (check_pieced_value_invalid): Delete.
745 (pieced_value_funcs): Remove check_validity and check_any_valid
746 fields.
747 (read_pieced_value): Use mark_value_bits_optimized_out.
748 (write_pieced_value): Switch to use
749 mark_value_bytes_optimized_out.
750 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
751 of assuming the whole value is optimized out.
752 * findvar.c (read_frame_register_value): Remove special handling
753 of optimized out registers.
754 (value_from_register): Use mark_value_bytes_optimized_out.
755 * frame-unwind.c (frame_unwind_got_optimized): Use
756 mark_value_bytes_optimized_out.
757 * jv-valprint.c (java_value_print): Adjust.
758 (java_print_value_fields): Let the common printing code handle
759 optimized out values.
760 * mips-tdep.c (mips_print_register): Remove special handling of
761 optimized out registers.
762 * opencl-lang.c (lval_func_check_validity): Delete.
763 (lval_func_check_any_valid): Delete.
764 (opencl_value_funcs): Remove check_validity and check_any_valid
765 fields.
766 * p-valprint.c (pascal_object_print_value_fields): Let the common
767 printing code handle optimized out values.
768 * stack.c (read_frame_arg): Remove special handling of optimized
769 out values. Fetch both VAL and ENTRYVAL before comparing
770 contents. Adjust to value_available_contents_eq rename.
771 * valprint.c (valprint_check_validity)
772 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
773 (val_print_array_elements): Adjust.
774 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
775 (value_bits_any_optimized_out): New function.
776 (value_entirely_covered_by_range_vector): New function, factored
777 out from value_entirely_unavailable.
778 (value_entirely_unavailable): Reimplement.
779 (value_entirely_optimized_out): New function.
780 (insert_into_bit_range_vector): New function, factored out from
781 mark_value_bits_unavailable.
782 (mark_value_bits_unavailable): Reimplement.
783 (struct ranges_and_idx): New struct.
784 (find_first_range_overlap_and_match): New function, factored out
785 from value_available_contents_bits_eq.
786 (value_available_contents_bits_eq): Rename to ...
787 (value_contents_bits_eq): ... this. Check both unavailable
788 contents and optimized out contents.
789 (value_available_contents_eq): Rename to ...
790 (value_contents_eq): ... this.
791 (allocate_value_lazy): Remove reference to the old optimized_out
792 boolean.
793 (allocate_optimized_out_value): Use
794 mark_value_bytes_optimized_out.
795 (require_not_optimized_out): Adjust to check whether the
796 optimized_out vec is empty.
797 (ranges_copy_adjusted): New function, factored out from
798 value_contents_copy_raw.
799 (value_contents_copy_raw): Also copy the optimized out ranges.
800 Assert the destination ranges aren't optimized out.
801 (value_contents_copy): Update comment, remove call to
802 require_not_optimized_out.
803 (value_contents_equal): Adjust to check whether the optimized_out
804 vec is empty.
805 (set_value_optimized_out, value_optimized_out_const): Delete.
806 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
807 New functions.
808 (value_entirely_optimized_out, value_bits_valid): Delete.
809 (value_copy): Take a VEC copy of the 'optimized_out' field.
810 (value_primitive_field): Remove special handling of optimized out.
811 (value_fetch_lazy): Assert that lazy values have no unavailable
812 regions. Use value_bits_any_optimized_out. Remove some special
813 handling for optimized out values.
814 * value.h: Add intro comment about <optimized out> and
815 <unavailable>.
816 (struct lval_funcs): Remove check_validity and check_any_valid
817 fields.
818 (set_value_optimized_out, value_optimized_out_const): Remove.
819 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
820 New declarations.
821 (value_bits_any_optimized_out): New declaration.
822 (value_bits_valid): Delete declaration.
823 (value_available_contents_eq): Rename to ...
824 (value_contents_eq): ... this, and extend comments.
825
826 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 Fix -fsanitize=address on unreadable inferior strings.
829 * valprint.c (val_print_string): Fix access before BUFFER.
830
831 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
832
833 * target.c (target_struct_size): Remove.
834 (target_struct_allocsize): Remove.
835 (DEFAULT_ALLOCSIZE): Remove.
836 (target_ops_p): New typedef.
837 (DEF_VEC_P (target_ops_p)): New vector type.
838 (target_structs): Change type to VEC (target_ops_p).
839 (add_target_with_completer): Replace "push" code by VEC_safe_push.
840 (find_default_run_target): Rewrite for loop following changes to
841 target_structs.
842
843 2014-08-19 Joel Brobecker <brobecker@adacore.com>
844
845 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
846 Adjust code accordingly. Adjust function description comment.
847
848 2014-08-19 Yao Qi <yao@codesourcery.com>
849
850 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
851 types.
852
853 2014-08-19 Alan Modra <amodra@gmail.com>
854
855 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
856 * config.in: Regenerate.
857 * configure: Regenerate.
858
859 2014-08-19 Tom Tromey <tromey@redhat.com>
860 Gary Benson <gbenson@redhat.com>
861
862 * common/common-debug.h: New file.
863 * common/common-debug.c: Likewise.
864 * debug.c: Likewise.
865 * Makefile.in (SFILES): Add common/common-debug.c.
866 (HFILES_NO_SRCDIR): Add common/common-debug.h.
867 (COMMON_OBS): Add common-debug.o and debug.o.
868 (common-debug.o): New rule.
869 * common/common-defs.h: Include common-debug.h.
870 * common/agent.c (debug_agent_printf): New function.
871 (DEBUG_AGENT): Redefine.
872 * nat/i386-dregs.c (debug_printf): Undefine.
873
874 2014-08-19 Gary Benson <gbenson@redhat.com>
875
876 * common/common-defs.h: Include print-utils.h.
877 * utils.h: Do not include print-utils.h.
878
879 2014-08-19 Tom Tromey <tromey@redhat.com>
880 Gary Benson <gbenson@redhat.com>
881
882 * common/common-types.h: New file.
883 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
884 * common/common-defs.h: Include common-types.h.
885 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
886 (ULONGEST): Remove.
887
888 2014-08-19 Tom Tromey <tromey@redhat.com>
889 Gary Benson <gbenson@redhat.com>
890
891 * common/errors.h: New file.
892 * common/errors.c: Likewise.
893 * Makefile.in (SFILES): Add common/errors.c.
894 (HFILES_NO_SRCDIR): Add common/errors.h.
895 (COMMON_OBS): Add errors.o.
896 (errors.o): New rule.
897 * common/common-defs.h: Include errors.h.
898 * utils.h (perror_with_name, error, verror, warning, vwarning):
899 Don't declare.
900 * common/common-utils.h: (malloc_failure, internal_error):
901 Likewise.
902
903 2014-08-19 Gary Benson <gbenson@redhat.com>
904
905 * utils.c (internal_vproblem): Always print the message.
906
907 2014-08-18 Doug Evans <dje@google.com>
908
909 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
910
911 2014-08-18 Joel Brobecker <brobecker@adacore.com>
912
913 * ada-typeprint.c (type_is_full_subrange_of_target_type):
914 Return 0 if TYPE is dynamic.
915 (print_range): Add handling of dynamic ranges.
916
917 2014-08-18 Keven Boell <keven.boell@intel.com>
918 Joel Brobecker <brobecker@adacore.com>
919
920 * gdbtypes.h (struct main_type): Add field "data_location".
921 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
922 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
923 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
924 a dynamic data location.
925 (resolve_dynamic_type): Add DW_AT_data_location handling.
926 (copy_recursive, copy_type): Copy the data_location information
927 when present.
928 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
929 * value.c (value_from_contents_and_address): Add
930 DW_AT_data_location handling.
931
932 2014-08-18 Keven Boell <keven.boell@intel.com>
933 Joel Brobecker <brobecker@adacore.com>
934
935 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
936 field "get_object_address".
937 * dwarf2expr.c (execute_stack_op): Add handling for
938 DW_OP_push_object_address.
939 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
940 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
941 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
942 (dwarf_expr_get_obj_addr): New function.
943 (dwarf_expr_ctx_funcs): Add get_object_address field.
944 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
945 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
946 (dwarf2_evaluate_property): Add parameter "address". Use it.
947 (needs_get_obj_addr): New function.
948 (needs_frame_ctx_funcs): Add get_object_address field.
949 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
950 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
951 (resolve_dynamic_array): Likewise.
952
953 2014-08-18 Joel Brobecker <brobecker@adacore.com>
954
955 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
956 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
957 fixed value for records and unions for which some GNAT encodings
958 are present.
959
960 2014-08-18 Joel Brobecker <brobecker@adacore.com>
961
962 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
963 rewrite to avoid "else if" and "else" constructs. Should be
964 a no-op in practice.
965
966 2014-08-18 Joel Brobecker <brobecker@adacore.com>
967
968 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
969 of lexical block.
970
971 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
972
973 PR c++/17132
974 * eval.c: Update all calls to find_overload_match.
975 * valarith.c: Likewise.
976 (value_user_defined_cpp_op, value_user_defined_op): New
977 argument NOSIDE. Update all callers.
978 * valops.c (find_overload_match): New argument NOSIDE.
979 * value.h (find_overload_match): Update signature.
980
981 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
982
983 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
984 'items' methods instead of 'iteritems' method on dictionaries.
985
986 2014-08-15 Doug Evans <dje@google.com>
987
988 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
989 closer to use.
990
991 2014-08-15 Doug Evans <dje@google.com>
992
993 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
994
995 2014-08-15 Doug Evans <dje@google.com>
996
997 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
998
999 2014-08-15 Doug Evans <dje@google.com>
1000
1001 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1002 unused.
1003
1004 2014-08-15 Eli Zaretskii <eliz@gnu.org>
1005
1006 * dcache.h: Include target.h, to avoid compile time warnings.
1007
1008 2014-08-15 Joel Brobecker <brobecker@adacore.com>
1009
1010 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1011 frame_info" partial declaration.
1012 * gdbarch.h: Regenerate.
1013
1014 2014-08-15 Yao Qi <yao@codesourcery.com>
1015
1016 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1017 Add parameter 'decode_for_pst_p'. Callers update.
1018
1019 2014-08-13 Yao Qi <yao@codesourcery.com>
1020
1021 PR build/17104
1022 * configure.ac: Use local variable 'pos'.
1023 * configure: Regenerated.
1024
1025 2014-08-11 Doug Evans <dje@google.com>
1026
1027 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1028 message, it is redundant with "Reading symbols from ..." message.
1029
1030 2014-08-10 Doug Evans <xdje42@gmail.com>
1031
1032 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1033
1034 2014-08-09 Yao Qi <yao@codesourcery.com>
1035
1036 PR remote/9053
1037 * remote.c (remote_xfer_partial): Remove dead code.
1038
1039 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1040
1041 * ia64-linux-tdep.c: Include "regset.h".
1042 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1043 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1044 (ia64_linux_supply_fpregset): New function.
1045 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1046 (ia64_linux_regset_from_core_section): New function.
1047 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1048 method.
1049
1050 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1051
1052 * m68klinux-tdep.c: Include "regset.h".
1053 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1054 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1055 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1056 (m68k_linux_regset_from_core_section): New function.
1057 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1058 method.
1059
1060 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1061
1062 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1063 function. Move logic to...
1064 (tilegx_linux_regmap): ... this new register map.
1065 (tilegx_linux_regset): Refer to register map, replace supply
1066 method by regcache_supply_regset, and add collect method.
1067 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1068 TILEGX_FIRST_EASY_REGNUM.
1069
1070 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1071
1072 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1073 that calls regcache_supply_regset and handles the EPC register
1074 separately. Move main logic to...
1075 (score7_linux_gregmap): ... this new register map.
1076 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1077 (score7_linux_gregset): Refer to register map. Add collect method.
1078 (score7_linux_regset_from_core_section): Replace
1079 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1080 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1081 (struct regset): Delete unused forward declaraction.
1082 (struct pt_regs): Delete structure definition.
1083 (elf_gregset_t): Delete typedef.
1084
1085 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1086
1087 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1088 (nios2_core_regset): Add collect method.
1089
1090 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1091
1092 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1093 platform-independent and don't write to read-only input buffer.
1094 (m32r_linux_collect_gregset): New function.
1095 (m32r_linux_gregset): Add collect method.
1096
1097 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1098
1099 * hppa-linux-tdep.c (greg_map): Rename to...
1100 (hppa_linux_gregmap): ... this. Also convert to
1101 regcache_map_entry format.
1102 (hppa_linux_supply_regset): Delete function.
1103 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1104 (hppa_linux_fpregmap): ... this new register map.
1105 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1106 register map, replace supply method by regcache_supply_regset, and
1107 add collect method regcache_collect_regset.
1108
1109 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110
1111 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1112 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1113 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1114 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1115 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1116 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1117 (frv_linux_supply_gregset): Replace main logic by call to
1118 regcache_supply_regset, but keep clearing gr32-gr63.
1119 (frv_linux_supply_fpregset): Delete function.
1120 (frv_linux_gregset): Refer to appropriate register map and add
1121 regcache_collect_regset as the collect method.
1122 (frv_linux_fpregset): Likewise. Also exchange the supply method
1123 by regcache_supply_regset.
1124
1125 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1126
1127 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1128 by call to alpha_supply_int_regs.
1129 (alpha_linux_collect_gregset): New function.
1130 (alpha_linux_supply_fpregset): Replace logic by call to
1131 alpha_supply_fp_regs.
1132 (alpha_linux_collect_fpregset): New function.
1133 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1134
1135 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1136
1137 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1138 by call to regcache_collect_regset.
1139 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1140 instead of aarch64_linux_supply_gregset/_fpregset.
1141 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1142 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1143 header file instead.
1144 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1145 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1146 functions. Move logic to ...
1147 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1148 register maps.
1149 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1150 refer to new register maps, replace *_regset_from_core by
1151 regcache_supply_regset, and also use regcache_collect_regset.
1152 * aarch64-linux-tdep.h: Include "regset.h".
1153 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1154 Delete prototypes.
1155 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1156 macros, moved from C source file.
1157 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1158 variable declarations.
1159
1160 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1161
1162 * s390-linux-nat.c: Include "regset.h".
1163 (regmap_gregset): Delete macro.
1164 (s390_64_regmap_gregset): New register map for
1165 regcache_supply/_collect_regset.
1166 (s390_64_gregset): New regset.
1167 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1168 (regmap_fpregset): Delete macro.
1169 (s390_native_supply, s390_native_collect): Delete functions.
1170 (supply_gregset, fill_gregset): Replace s390-specific regmap
1171 handling by a call to regcache_supply/_collect_regset.
1172 (supply_fpregset, fill_fpregset): Call regcache_supply/
1173 _collect_regset instead of s390_native_supply/_collect.
1174 (fetch_regset, store_regset): Likewise. Also change the last
1175 parameter to a regset instead of a regmap.
1176 (s390_linux_fetch_inferior_registers)
1177 (390_linux_store_inferior_registers): Adjust last parameter in
1178 calls to fetch_regset and store_regset.
1179 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1180 (s390_gregmap): ... this. Also make static const and convert to
1181 regcache_map_entry format.
1182 (s390x_regmap_gregset): Delete.
1183 (s390_regmap_fpregset): Rename to...
1184 (s390_fpregmap): ... this. Make static const and convert to
1185 regcache_map_entry format.
1186 (s390_regmap_upper, s390_regmap_last_break)
1187 (s390x_regmap_last_break, s390_regmap_system_call)
1188 (s390_regmap_tdb): Likewise.
1189 (s390_supply_regset, s390_collect_regset): Remove functions.
1190 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1191 s390_supply_regset.
1192 (s390_gregset, s390_fpregset, s390_upper_regset)
1193 (s390_last_break_regset, s390x_last_break_regset)
1194 (s390_system_call_regset, s390_tdb_regset): Make global and
1195 replace s390_supply/_collect_regset by regcache_supply/
1196 _collect_regset.
1197 (s390x_gregset): Delete.
1198 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1199 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1200 (s390_regmap_fpregset, s390_regmap_last_break)
1201 (s390x_regmap_last_break, s390_regmap_system_call)
1202 (s390_regmap_tdb): Delete global variable declarations.
1203 (s390_gregset, s390_fpregset, s390_last_break_regset)
1204 (s390x_last_break_regset, s390_system_call_regset)
1205 (s390_tdb_regset): New global variable declarations.
1206
1207 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1208
1209 * regcache.c: Include "regset.h".
1210 (regcache_transfer_regset): New local function.
1211 (regcache_supply_regset, regcache_collect_regset): New functions.
1212 * regcache.h (struct regcache_map_entry): New structure.
1213 (REGCACHE_MAP_SKIP): New enum value.
1214 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1215
1216 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1217
1218 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1219 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1220 (ppc_linux_collect_gregset ): Likewise.
1221 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1222 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1223 (ppc_collect_vrregset): Likewise.
1224 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1225 Likewise.
1226
1227 2014-08-07 Yao Qi <yao@codesourcery.com>
1228
1229 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1230 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1231 * remote.c (remote_read_bytes): Likewise.
1232
1233 2014-08-07 Yao Qi <yao@codesourcery.com>
1234
1235 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1236
1237 2014-08-07 Yao Qi <yao@codesourcery.com>
1238
1239 PR remote/17230
1240 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1241 TARGET_XFER_OK instead of 0.
1242
1243 2014-08-07 Gary Benson <gbenson@redhat.com>
1244
1245 * common/common-defs.h: Include errno.h.
1246 * defs.h: Do not include errno.h.
1247 * ada-typeprint.c: Likewise.
1248 * c-typeprint.c: Likewise.
1249 * core-regset.c: Likewise.
1250 * corefile.c: Likewise.
1251 * corelow.c: Likewise.
1252 * event-loop.c: Likewise.
1253 * f-typeprint.c: Likewise.
1254 * gnu-nat.c: Likewise.
1255 * go32-nat.c: Likewise.
1256 * i386gnu-nat.c: Likewise.
1257 * m2-typeprint.c: Likewise.
1258 * nat/linux-btrace.c: Likewise.
1259 * p-typeprint.c: Likewise.
1260 * procfs.c: Likewise.
1261 * remote-sim.c: Likewise.
1262 * rs6000-nat.c: Likewise.
1263 * target.c: Likewise.
1264 * typeprint.c: Likewise.
1265 * ui-file.c: Likewise.
1266 * valops.c: Likewise.
1267 * valprint.c: Likewise.
1268
1269 2014-08-07 Gary Benson <gbenson@redhat.com>
1270
1271 * common/common-defs.h: Include string.h.
1272 * aarch64-tdep.c: Do not include string.h.
1273 * ada-exp.y: Likewise.
1274 * ada-lang.c: Likewise.
1275 * ada-lex.l: Likewise.
1276 * ada-typeprint.c: Likewise.
1277 * ada-valprint.c: Likewise.
1278 * aix-thread.c: Likewise.
1279 * alpha-linux-tdep.c: Likewise.
1280 * alpha-mdebug-tdep.c: Likewise.
1281 * alpha-nat.c: Likewise.
1282 * alpha-osf1-tdep.c: Likewise.
1283 * alpha-tdep.c: Likewise.
1284 * alphanbsd-tdep.c: Likewise.
1285 * amd64-dicos-tdep.c: Likewise.
1286 * amd64-linux-tdep.c: Likewise.
1287 * amd64-nat.c: Likewise.
1288 * amd64-sol2-tdep.c: Likewise.
1289 * amd64fbsd-tdep.c: Likewise.
1290 * amd64obsd-tdep.c: Likewise.
1291 * arch-utils.c: Likewise.
1292 * arm-linux-nat.c: Likewise.
1293 * arm-linux-tdep.c: Likewise.
1294 * arm-tdep.c: Likewise.
1295 * arm-wince-tdep.c: Likewise.
1296 * armbsd-tdep.c: Likewise.
1297 * armnbsd-nat.c: Likewise.
1298 * armnbsd-tdep.c: Likewise.
1299 * armobsd-tdep.c: Likewise.
1300 * avr-tdep.c: Likewise.
1301 * ax-gdb.c: Likewise.
1302 * ax-general.c: Likewise.
1303 * bcache.c: Likewise.
1304 * bfin-tdep.c: Likewise.
1305 * breakpoint.c: Likewise.
1306 * build-id.c: Likewise.
1307 * buildsym.c: Likewise.
1308 * c-exp.y: Likewise.
1309 * c-lang.c: Likewise.
1310 * c-typeprint.c: Likewise.
1311 * c-valprint.c: Likewise.
1312 * charset.c: Likewise.
1313 * cli-out.c: Likewise.
1314 * cli/cli-cmds.c: Likewise.
1315 * cli/cli-decode.c: Likewise.
1316 * cli/cli-dump.c: Likewise.
1317 * cli/cli-interp.c: Likewise.
1318 * cli/cli-logging.c: Likewise.
1319 * cli/cli-script.c: Likewise.
1320 * cli/cli-setshow.c: Likewise.
1321 * cli/cli-utils.c: Likewise.
1322 * coffread.c: Likewise.
1323 * common/agent.c: Likewise.
1324 * common/buffer.c: Likewise.
1325 * common/buffer.h: Likewise.
1326 * common/common-utils.c: Likewise.
1327 * common/filestuff.c: Likewise.
1328 * common/filestuff.c: Likewise.
1329 * common/format.c: Likewise.
1330 * common/print-utils.c: Likewise.
1331 * common/rsp-low.c: Likewise.
1332 * common/signals.c: Likewise.
1333 * common/vec.h: Likewise.
1334 * common/xml-utils.c: Likewise.
1335 * core-regset.c: Likewise.
1336 * corefile.c: Likewise.
1337 * corelow.c: Likewise.
1338 * cp-abi.c: Likewise.
1339 * cp-name-parser.y: Likewise.
1340 * cp-support.c: Likewise.
1341 * cp-valprint.c: Likewise.
1342 * cris-tdep.c: Likewise.
1343 * d-exp.y: Likewise.
1344 * darwin-nat.c: Likewise.
1345 * dbxread.c: Likewise.
1346 * dcache.c: Likewise.
1347 * demangle.c: Likewise.
1348 * dicos-tdep.c: Likewise.
1349 * disasm.c: Likewise.
1350 * doublest.c: Likewise.
1351 * dsrec.c: Likewise.
1352 * dummy-frame.c: Likewise.
1353 * dwarf2-frame.c: Likewise.
1354 * dwarf2loc.c: Likewise.
1355 * dwarf2read.c: Likewise.
1356 * elfread.c: Likewise.
1357 * environ.c: Likewise.
1358 * eval.c: Likewise.
1359 * event-loop.c: Likewise.
1360 * exceptions.c: Likewise.
1361 * exec.c: Likewise.
1362 * expprint.c: Likewise.
1363 * f-exp.y: Likewise.
1364 * f-lang.c: Likewise.
1365 * f-typeprint.c: Likewise.
1366 * f-valprint.c: Likewise.
1367 * fbsd-nat.c: Likewise.
1368 * findcmd.c: Likewise.
1369 * findvar.c: Likewise.
1370 * fork-child.c: Likewise.
1371 * frame.c: Likewise.
1372 * frv-linux-tdep.c: Likewise.
1373 * frv-tdep.c: Likewise.
1374 * gdb.c: Likewise.
1375 * gdb_bfd.c: Likewise.
1376 * gdbarch.c: Likewise.
1377 * gdbarch.sh: Likewise.
1378 * gdbtypes.c: Likewise.
1379 * gnu-nat.c: Likewise.
1380 * gnu-v2-abi.c: Likewise.
1381 * gnu-v3-abi.c: Likewise.
1382 * go-exp.y: Likewise.
1383 * go-lang.c: Likewise.
1384 * go32-nat.c: Likewise.
1385 * guile/guile.c: Likewise.
1386 * guile/scm-auto-load.c: Likewise.
1387 * hppa-hpux-tdep.c: Likewise.
1388 * hppa-linux-nat.c: Likewise.
1389 * hppanbsd-tdep.c: Likewise.
1390 * hppaobsd-tdep.c: Likewise.
1391 * i386-cygwin-tdep.c: Likewise.
1392 * i386-dicos-tdep.c: Likewise.
1393 * i386-linux-tdep.c: Likewise.
1394 * i386-nto-tdep.c: Likewise.
1395 * i386-sol2-tdep.c: Likewise.
1396 * i386-tdep.c: Likewise.
1397 * i386bsd-tdep.c: Likewise.
1398 * i386gnu-nat.c: Likewise.
1399 * i386nbsd-tdep.c: Likewise.
1400 * i386obsd-tdep.c: Likewise.
1401 * i387-tdep.c: Likewise.
1402 * ia64-libunwind-tdep.c: Likewise.
1403 * ia64-linux-nat.c: Likewise.
1404 * inf-child.c: Likewise.
1405 * inf-ptrace.c: Likewise.
1406 * inf-ttrace.c: Likewise.
1407 * infcall.c: Likewise.
1408 * infcmd.c: Likewise.
1409 * inflow.c: Likewise.
1410 * infrun.c: Likewise.
1411 * interps.c: Likewise.
1412 * iq2000-tdep.c: Likewise.
1413 * irix5-nat.c: Likewise.
1414 * jv-exp.y: Likewise.
1415 * jv-lang.c: Likewise.
1416 * jv-typeprint.c: Likewise.
1417 * jv-valprint.c: Likewise.
1418 * language.c: Likewise.
1419 * linux-fork.c: Likewise.
1420 * linux-nat.c: Likewise.
1421 * lm32-tdep.c: Likewise.
1422 * m2-exp.y: Likewise.
1423 * m2-typeprint.c: Likewise.
1424 * m32c-tdep.c: Likewise.
1425 * m32r-linux-nat.c: Likewise.
1426 * m32r-linux-tdep.c: Likewise.
1427 * m32r-rom.c: Likewise.
1428 * m32r-tdep.c: Likewise.
1429 * m68hc11-tdep.c: Likewise.
1430 * m68k-tdep.c: Likewise.
1431 * m68kbsd-tdep.c: Likewise.
1432 * m68klinux-nat.c: Likewise.
1433 * m68klinux-tdep.c: Likewise.
1434 * m88k-tdep.c: Likewise.
1435 * machoread.c: Likewise.
1436 * macrocmd.c: Likewise.
1437 * main.c: Likewise.
1438 * mdebugread.c: Likewise.
1439 * mem-break.c: Likewise.
1440 * memattr.c: Likewise.
1441 * memory-map.c: Likewise.
1442 * mep-tdep.c: Likewise.
1443 * mi/mi-cmd-break.c: Likewise.
1444 * mi/mi-cmd-disas.c: Likewise.
1445 * mi/mi-cmd-env.c: Likewise.
1446 * mi/mi-cmd-stack.c: Likewise.
1447 * mi/mi-cmd-var.c: Likewise.
1448 * mi/mi-cmds.c: Likewise.
1449 * mi/mi-console.c: Likewise.
1450 * mi/mi-getopt.c: Likewise.
1451 * mi/mi-interp.c: Likewise.
1452 * mi/mi-main.c: Likewise.
1453 * mi/mi-parse.c: Likewise.
1454 * microblaze-rom.c: Likewise.
1455 * microblaze-tdep.c: Likewise.
1456 * mingw-hdep.c: Likewise.
1457 * minidebug.c: Likewise.
1458 * minsyms.c: Likewise.
1459 * mips-irix-tdep.c: Likewise.
1460 * mips-linux-tdep.c: Likewise.
1461 * mips-tdep.c: Likewise.
1462 * mips64obsd-tdep.c: Likewise.
1463 * mipsnbsd-tdep.c: Likewise.
1464 * mipsread.c: Likewise.
1465 * mn10300-linux-tdep.c: Likewise.
1466 * mn10300-tdep.c: Likewise.
1467 * monitor.c: Likewise.
1468 * moxie-tdep.c: Likewise.
1469 * mt-tdep.c: Likewise.
1470 * nat/linux-btrace.c: Likewise.
1471 * nat/linux-osdata.c: Likewise.
1472 * nat/linux-procfs.c: Likewise.
1473 * nat/linux-ptrace.c: Likewise.
1474 * nat/linux-waitpid.c: Likewise.
1475 * nbsd-tdep.c: Likewise.
1476 * nios2-linux-tdep.c: Likewise.
1477 * nto-procfs.c: Likewise.
1478 * nto-tdep.c: Likewise.
1479 * objc-lang.c: Likewise.
1480 * objfiles.c: Likewise.
1481 * opencl-lang.c: Likewise.
1482 * osabi.c: Likewise.
1483 * osdata.c: Likewise.
1484 * p-exp.y: Likewise.
1485 * p-lang.c: Likewise.
1486 * p-typeprint.c: Likewise.
1487 * parse.c: Likewise.
1488 * posix-hdep.c: Likewise.
1489 * ppc-linux-nat.c: Likewise.
1490 * ppc-sysv-tdep.c: Likewise.
1491 * ppcfbsd-tdep.c: Likewise.
1492 * ppcnbsd-tdep.c: Likewise.
1493 * ppcobsd-tdep.c: Likewise.
1494 * printcmd.c: Likewise.
1495 * procfs.c: Likewise.
1496 * prologue-value.c: Likewise.
1497 * python/py-auto-load.c: Likewise.
1498 * python/py-gdb-readline.c: Likewise.
1499 * ravenscar-thread.c: Likewise.
1500 * regcache.c: Likewise.
1501 * registry.c: Likewise.
1502 * remote-fileio.c: Likewise.
1503 * remote-m32r-sdi.c: Likewise.
1504 * remote-mips.c: Likewise.
1505 * remote-notif.c: Likewise.
1506 * remote-sim.c: Likewise.
1507 * remote.c: Likewise.
1508 * reverse.c: Likewise.
1509 * rs6000-aix-tdep.c: Likewise.
1510 * ser-base.c: Likewise.
1511 * ser-go32.c: Likewise.
1512 * ser-mingw.c: Likewise.
1513 * ser-pipe.c: Likewise.
1514 * ser-tcp.c: Likewise.
1515 * ser-unix.c: Likewise.
1516 * serial.c: Likewise.
1517 * sh-tdep.c: Likewise.
1518 * sh64-tdep.c: Likewise.
1519 * shnbsd-tdep.c: Likewise.
1520 * skip.c: Likewise.
1521 * sol-thread.c: Likewise.
1522 * solib-dsbt.c: Likewise.
1523 * solib-frv.c: Likewise.
1524 * solib-osf.c: Likewise.
1525 * solib-som.c: Likewise.
1526 * solib-spu.c: Likewise.
1527 * solib-target.c: Likewise.
1528 * solib.c: Likewise.
1529 * somread.c: Likewise.
1530 * source.c: Likewise.
1531 * sparc-nat.c: Likewise.
1532 * sparc-sol2-tdep.c: Likewise.
1533 * sparc-tdep.c: Likewise.
1534 * sparc64-tdep.c: Likewise.
1535 * sparc64fbsd-tdep.c: Likewise.
1536 * sparc64nbsd-tdep.c: Likewise.
1537 * sparcnbsd-tdep.c: Likewise.
1538 * spu-linux-nat.c: Likewise.
1539 * spu-multiarch.c: Likewise.
1540 * spu-tdep.c: Likewise.
1541 * stabsread.c: Likewise.
1542 * stack.c: Likewise.
1543 * std-regs.c: Likewise.
1544 * symfile.c: Likewise.
1545 * symmisc.c: Likewise.
1546 * symtab.c: Likewise.
1547 * target.c: Likewise.
1548 * thread.c: Likewise.
1549 * tilegx-linux-nat.c: Likewise.
1550 * tilegx-tdep.c: Likewise.
1551 * top.c: Likewise.
1552 * tracepoint.c: Likewise.
1553 * tui/tui-command.c: Likewise.
1554 * tui/tui-data.c: Likewise.
1555 * tui/tui-disasm.c: Likewise.
1556 * tui/tui-file.c: Likewise.
1557 * tui/tui-layout.c: Likewise.
1558 * tui/tui-out.c: Likewise.
1559 * tui/tui-regs.c: Likewise.
1560 * tui/tui-source.c: Likewise.
1561 * tui/tui-stack.c: Likewise.
1562 * tui/tui-win.c: Likewise.
1563 * tui/tui-windata.c: Likewise.
1564 * tui/tui-winsource.c: Likewise.
1565 * typeprint.c: Likewise.
1566 * ui-file.c: Likewise.
1567 * ui-out.c: Likewise.
1568 * user-regs.c: Likewise.
1569 * utils.c: Likewise.
1570 * v850-tdep.c: Likewise.
1571 * valarith.c: Likewise.
1572 * valops.c: Likewise.
1573 * valprint.c: Likewise.
1574 * value.c: Likewise.
1575 * varobj.c: Likewise.
1576 * vax-tdep.c: Likewise.
1577 * vaxnbsd-tdep.c: Likewise.
1578 * vaxobsd-tdep.c: Likewise.
1579 * windows-nat.c: Likewise.
1580 * xcoffread.c: Likewise.
1581 * xml-support.c: Likewise.
1582 * xstormy16-tdep.c: Likewise.
1583 * xtensa-linux-nat.c: Likewise.
1584
1585 2014-08-07 Gary Benson <gbenson@redhat.com>
1586
1587 * common/common-defs.h: Include gdb_assert.h.
1588 * aarch64-tdep.c: Do not include gdb_assert.h.
1589 * addrmap.c: Likewise.
1590 * aix-thread.c: Likewise.
1591 * alpha-linux-tdep.c: Likewise.
1592 * alpha-mdebug-tdep.c: Likewise.
1593 * alphanbsd-tdep.c: Likewise.
1594 * amd64-nat.c: Likewise.
1595 * amd64-tdep.c: Likewise.
1596 * amd64bsd-nat.c: Likewise.
1597 * amd64fbsd-nat.c: Likewise.
1598 * amd64fbsd-tdep.c: Likewise.
1599 * amd64nbsd-nat.c: Likewise.
1600 * amd64nbsd-tdep.c: Likewise.
1601 * amd64obsd-nat.c: Likewise.
1602 * amd64obsd-tdep.c: Likewise.
1603 * arch-utils.c: Likewise.
1604 * arm-tdep.c: Likewise.
1605 * armbsd-tdep.c: Likewise.
1606 * auxv.c: Likewise.
1607 * bcache.c: Likewise.
1608 * bfin-tdep.c: Likewise.
1609 * blockframe.c: Likewise.
1610 * breakpoint.c: Likewise.
1611 * bsd-kvm.c: Likewise.
1612 * bsd-uthread.c: Likewise.
1613 * buildsym.c: Likewise.
1614 * c-exp.y: Likewise.
1615 * c-lang.c: Likewise.
1616 * charset.c: Likewise.
1617 * cleanups.c: Likewise.
1618 * cli-out.c: Likewise.
1619 * cli/cli-decode.c: Likewise.
1620 * cli/cli-dump.c: Likewise.
1621 * cli/cli-logging.c: Likewise.
1622 * cli/cli-script.c: Likewise.
1623 * cli/cli-utils.c: Likewise.
1624 * coffread.c: Likewise.
1625 * common/common-utils.c: Likewise.
1626 * common/queue.h: Likewise.
1627 * common/signals.c: Likewise.
1628 * common/vec.h: Likewise.
1629 * complaints.c: Likewise.
1630 * completer.c: Likewise.
1631 * corelow.c: Likewise.
1632 * cp-abi.c: Likewise.
1633 * cp-name-parser.y: Likewise.
1634 * cp-namespace.c: Likewise.
1635 * cp-support.c: Likewise.
1636 * cris-tdep.c: Likewise.
1637 * dbxread.c: Likewise.
1638 * dictionary.c: Likewise.
1639 * doublest.c: Likewise.
1640 * dsrec.c: Likewise.
1641 * dummy-frame.c: Likewise.
1642 * dwarf2-frame-tailcall.c: Likewise.
1643 * dwarf2-frame.c: Likewise.
1644 * dwarf2expr.c: Likewise.
1645 * dwarf2loc.c: Likewise.
1646 * dwarf2read.c: Likewise.
1647 * eval.c: Likewise.
1648 * event-loop.c: Likewise.
1649 * exceptions.c: Likewise.
1650 * expprint.c: Likewise.
1651 * f-valprint.c: Likewise.
1652 * fbsd-nat.c: Likewise.
1653 * findvar.c: Likewise.
1654 * frame-unwind.c: Likewise.
1655 * frame.c: Likewise.
1656 * frv-tdep.c: Likewise.
1657 * gcore.c: Likewise.
1658 * gdb-dlfcn.c: Likewise.
1659 * gdb_bfd.c: Likewise.
1660 * gdbarch.c: Likewise.
1661 * gdbarch.sh: Likewise.
1662 * gdbtypes.c: Likewise.
1663 * gnu-nat.c: Likewise.
1664 * gnu-v3-abi.c: Likewise.
1665 * go-lang.c: Likewise.
1666 * guile/scm-exception.c: Likewise.
1667 * guile/scm-gsmob.c: Likewise.
1668 * guile/scm-lazy-string.c: Likewise.
1669 * guile/scm-math.c: Likewise.
1670 * guile/scm-pretty-print.c: Likewise.
1671 * guile/scm-safe-call.c: Likewise.
1672 * guile/scm-utils.c: Likewise.
1673 * guile/scm-value.c: Likewise.
1674 * h8300-tdep.c: Likewise.
1675 * hppa-hpux-nat.c: Likewise.
1676 * hppa-tdep.c: Likewise.
1677 * hppanbsd-tdep.c: Likewise.
1678 * hppaobsd-tdep.c: Likewise.
1679 * i386-darwin-nat.c: Likewise.
1680 * i386-darwin-tdep.c: Likewise.
1681 * i386-nto-tdep.c: Likewise.
1682 * i386-tdep.c: Likewise.
1683 * i386bsd-nat.c: Likewise.
1684 * i386fbsd-tdep.c: Likewise.
1685 * i386gnu-nat.c: Likewise.
1686 * i386nbsd-tdep.c: Likewise.
1687 * i386obsd-tdep.c: Likewise.
1688 * i387-tdep.c: Likewise.
1689 * ia64-libunwind-tdep.c: Likewise.
1690 * ia64-tdep.c: Likewise.
1691 * inf-ptrace.c: Likewise.
1692 * inf-ttrace.c: Likewise.
1693 * infcall.c: Likewise.
1694 * infcmd.c: Likewise.
1695 * infrun.c: Likewise.
1696 * inline-frame.c: Likewise.
1697 * interps.c: Likewise.
1698 * jv-lang.c: Likewise.
1699 * jv-typeprint.c: Likewise.
1700 * linux-fork.c: Likewise.
1701 * linux-nat.c: Likewise.
1702 * linux-thread-db.c: Likewise.
1703 * m32c-tdep.c: Likewise.
1704 * m32r-linux-nat.c: Likewise.
1705 * m32r-tdep.c: Likewise.
1706 * m68k-tdep.c: Likewise.
1707 * m68kbsd-nat.c: Likewise.
1708 * m68kbsd-tdep.c: Likewise.
1709 * m88k-tdep.c: Likewise.
1710 * machoread.c: Likewise.
1711 * macroexp.c: Likewise.
1712 * macrotab.c: Likewise.
1713 * maint.c: Likewise.
1714 * mdebugread.c: Likewise.
1715 * memory-map.c: Likewise.
1716 * mep-tdep.c: Likewise.
1717 * mi/mi-common.c: Likewise.
1718 * microblaze-tdep.c: Likewise.
1719 * mingw-hdep.c: Likewise.
1720 * mips-linux-nat.c: Likewise.
1721 * mips-linux-tdep.c: Likewise.
1722 * mips-tdep.c: Likewise.
1723 * mips64obsd-tdep.c: Likewise.
1724 * mipsnbsd-tdep.c: Likewise.
1725 * mn10300-linux-tdep.c: Likewise.
1726 * mn10300-tdep.c: Likewise.
1727 * moxie-tdep.c: Likewise.
1728 * mt-tdep.c: Likewise.
1729 * nat/linux-btrace.c: Likewise.
1730 * nat/linux-osdata.c: Likewise.
1731 * nat/linux-ptrace.c: Likewise.
1732 * nat/mips-linux-watch.c: Likewise.
1733 * nios2-linux-tdep.c: Likewise.
1734 * nios2-tdep.c: Likewise.
1735 * objc-lang.c: Likewise.
1736 * objfiles.c: Likewise.
1737 * obsd-nat.c: Likewise.
1738 * opencl-lang.c: Likewise.
1739 * osabi.c: Likewise.
1740 * parse.c: Likewise.
1741 * ppc-linux-nat.c: Likewise.
1742 * ppc-sysv-tdep.c: Likewise.
1743 * ppcfbsd-nat.c: Likewise.
1744 * ppcfbsd-tdep.c: Likewise.
1745 * ppcnbsd-nat.c: Likewise.
1746 * ppcnbsd-tdep.c: Likewise.
1747 * ppcobsd-nat.c: Likewise.
1748 * ppcobsd-tdep.c: Likewise.
1749 * printcmd.c: Likewise.
1750 * procfs.c: Likewise.
1751 * prologue-value.c: Likewise.
1752 * psymtab.c: Likewise.
1753 * python/py-lazy-string.c: Likewise.
1754 * python/py-value.c: Likewise.
1755 * regcache.c: Likewise.
1756 * reggroups.c: Likewise.
1757 * registry.c: Likewise.
1758 * remote-sim.c: Likewise.
1759 * remote.c: Likewise.
1760 * rs6000-aix-tdep.c: Likewise.
1761 * rs6000-tdep.c: Likewise.
1762 * s390-linux-tdep.c: Likewise.
1763 * score-tdep.c: Likewise.
1764 * ser-base.c: Likewise.
1765 * ser-mingw.c: Likewise.
1766 * sh-tdep.c: Likewise.
1767 * sh64-tdep.c: Likewise.
1768 * solib-darwin.c: Likewise.
1769 * solib-spu.c: Likewise.
1770 * solib-svr4.c: Likewise.
1771 * source.c: Likewise.
1772 * sparc-nat.c: Likewise.
1773 * sparc-sol2-tdep.c: Likewise.
1774 * sparc-tdep.c: Likewise.
1775 * sparc64-sol2-tdep.c: Likewise.
1776 * sparc64-tdep.c: Likewise.
1777 * sparc64fbsd-tdep.c: Likewise.
1778 * sparc64nbsd-tdep.c: Likewise.
1779 * sparc64obsd-tdep.c: Likewise.
1780 * sparcnbsd-tdep.c: Likewise.
1781 * sparcobsd-tdep.c: Likewise.
1782 * spu-multiarch.c: Likewise.
1783 * spu-tdep.c: Likewise.
1784 * stabsread.c: Likewise.
1785 * stack.c: Likewise.
1786 * symfile.c: Likewise.
1787 * symtab.c: Likewise.
1788 * target-descriptions.c: Likewise.
1789 * target-memory.c: Likewise.
1790 * target.c: Likewise.
1791 * tic6x-linux-tdep.c: Likewise.
1792 * tic6x-tdep.c: Likewise.
1793 * tilegx-linux-nat.c: Likewise.
1794 * tilegx-tdep.c: Likewise.
1795 * top.c: Likewise.
1796 * tramp-frame.c: Likewise.
1797 * tui/tui-out.c: Likewise.
1798 * tui/tui-winsource.c: Likewise.
1799 * ui-out.c: Likewise.
1800 * user-regs.c: Likewise.
1801 * utils.c: Likewise.
1802 * v850-tdep.c: Likewise.
1803 * valops.c: Likewise.
1804 * value.c: Likewise.
1805 * varobj.c: Likewise.
1806 * vax-nat.c: Likewise.
1807 * xml-syscall.c: Likewise.
1808 * xml-tdesc.c: Likewise.
1809 * xstormy16-tdep.c: Likewise.
1810 * xtensa-linux-nat.c: Likewise.
1811 * xtensa-tdep.c: Likewise.
1812
1813 2014-08-07 Gary Benson <gbenson@redhat.com>
1814
1815 * common/common-defs.h: Include common-utils.h.
1816 * defs.h: Do not include common-utils.h.
1817 * common/gdb_assert.h: Likewise.
1818 * darwin-nat.h: Likewise.
1819 * nat/linux-btrace.c: Likewise.
1820 * target/waitstatus.h: Likewise.
1821
1822 2014-08-07 Gary Benson <gbenson@redhat.com>
1823
1824 * common/common-defs.h: Include ptid.h.
1825 * defs.h: Do not include ptid.h.
1826 * inferior.h: Likewise.
1827 * infrun.h: Likewise.
1828 * nat/linux-btrace.h: Likewise.
1829 * nat/linux-osdata.h: Likewise.
1830 * target/waitstatus.h: Likewise.
1831
1832 2014-08-07 Gary Benson <gbenson@redhat.com>
1833
1834 * common/common-defs.h: Include gdb_locale.h.
1835 * defs.h: Do not include gdb_locale.h.
1836
1837 2014-08-07 Gary Benson <gbenson@redhat.com>
1838
1839 * common/common-defs.h: Include gdb/signals.h.
1840 * defs.h: Do not include gdb/signals.h.
1841
1842 2014-08-07 Gary Benson <gbenson@redhat.com>
1843
1844 * common/common-defs.h: Include pathmax.h.
1845 * defs.h: Do not include pathmax.h.
1846
1847 2014-08-07 Gary Benson <gbenson@redhat.com>
1848
1849 * common/common-defs.h: Include libiberty.h.
1850 * defs.h: Do not include libiberty.h.
1851 * common/queue.h: Likewise.
1852 * cp-name-parser.y: Likewise.
1853 * mi/mi-cmd-catch.c: Likewise.
1854 * python/python.c: Likewise.
1855
1856 2014-08-07 Gary Benson <gbenson@redhat.com>
1857
1858 * common/common-defs.h: Include ansidecl.h.
1859 * defs.h: Do not include ansidecl.h.
1860 * common/buffer.h: Likewise.
1861 * common/common-utils.h: Likewise.
1862
1863 2014-08-07 Gary Benson <gbenson@redhat.com>
1864
1865 * common/common-defs.h: Include stddef.h.
1866 * defs.h: Do not include stddef.h.
1867 * common/common-utils.h: Likewise.
1868 * amd64fbsd-nat.c: Likewise.
1869 * bcache.c: Likewise.
1870 * charset.c: Likewise.
1871 * common/buffer.h: Likewise.
1872 * common/vec.h: Likewise.
1873 * i386bsd-nat.c: Likewise.
1874 * nat/linux-btrace.h: Likewise.
1875 * ppcfbsd-nat.c: Likewise.
1876 * ppcnbsd-tdep.h: Likewise.
1877 * ppcobsd-nat.c: Likewise.
1878 * ppcobsd-tdep.h: Likewise.
1879 * python/py-gdb-readline.c: Likewise.
1880
1881 2014-08-07 Gary Benson <gbenson@redhat.com>
1882
1883 * common/common-defs.h: Include stdarg.h.
1884 * defs.h: Do not include stdarg.h.
1885 * ada-lang.c: Likewise.
1886 * common/common-utils.h: Likewise.
1887 * guile/scm-string.c: Likewise.
1888 * guile/scm-utils.c: Likewise.
1889 * m32c-tdep.c: Likewise.
1890
1891 2014-08-07 Gary Benson <gbenson@redhat.com>
1892
1893 * common/common-defs.h: Include stdlib.h.
1894 * defs.h: Do not include stdlib.h.
1895 * addrmap.c: Likewise.
1896 * bcache.c: Likewise.
1897 * common/buffer.c: Likewise.
1898 * common/common-utils.c: Likewise.
1899 * cp-name-parser.y: Likewise.
1900 * go32-nat.c: Likewise.
1901 * mn10300-linux-tdep.c: Likewise.
1902 * nat/linux-osdata.c: Likewise.
1903 * tui/tui.c: Likewise.
1904 * windows-nat.c: Likewise.
1905
1906 2014-08-07 Gary Benson <gbenson@redhat.com>
1907
1908 * common/common-defs.h: Include stdio.h.
1909 * defs.h: Do not include stdio.h.
1910 * ada-lang.c: Likewise.
1911 * common/buffer.c: Likewise.
1912 * common/common-utils.c: Likewise.
1913 * cp-name-parser.y: Likewise.
1914 * gnu-nat.c: Likewise.
1915 * go32-nat.c: Likewise.
1916 * i386gnu-nat.c: Likewise.
1917 * proc-api.c: Likewise.
1918 * proc-events.c: Likewise.
1919 * proc-flags.c: Likewise.
1920 * proc-why.c: Likewise.
1921 * python/python-internal.h: Likewise.
1922 * target-memory.c: Likewise.
1923 * tui/tui-io.c: Likewise.
1924 * tui/tui.c: Likewise.
1925
1926 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1927
1928 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1929 (scan_dyntag_auxv): Same.
1930
1931 2014-08-06 Yao Qi <yao@codesourcery.com>
1932
1933 * amd64-linux-nat.c: Remove duplicated include
1934 "x86-linux-nat.h".
1935 * i386-linux-nat.c: Likewise.
1936
1937 2014-08-06 Yao Qi <yao@codesourcery.com>
1938
1939 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1940 operand" with "Special opcode" in comments.
1941
1942 2014-08-05 Gary Benson <gbenson@redhat.com>
1943
1944 * interps.c (initialize_interps): Remove prototype.
1945 (interpreter_initialized): Remove static global.
1946 (interp_add): Do not call initialize_interps.
1947 (initialize_interps): Remove function.
1948
1949 2014-08-05 Gary Benson <gbenson@redhat.com>
1950
1951 * utils.c (vwarning): Remove spurious va_end.
1952
1953 2014-08-05 Alan Modra <amodra@gmail.com>
1954
1955 * charset.c (convert_between_encodings): Cast result of obstack_base.
1956 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1957 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1958 (read_unwind_info): Use size_t for some locals.
1959 * jit.c (finalize_symtab): Likewise.
1960 * utils.c (hashtab_obstack_allocate): Likewise.
1961 * symmisc.c (print_objfile_statistics): Update format strings.
1962
1963 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1966 (Changes in GDB 7.8): ... here.
1967
1968 2014-08-04 Tom Tromey <tromey@redhat.com>
1969
1970 * target.c (set_targetdebug): New function.
1971 (initialize_targets): Pass set_targetdebug when creating "set
1972 debug target".
1973
1974 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1975
1976 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1977 if detecting a variable-sized field that is not the last field.
1978 Fix struct type length computation.
1979
1980 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1981
1982 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1983 Add debug trace.
1984
1985 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1986
1987 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1988 Remove "+ 8" offset in computation of CHAIN_VMA.
1989
1990 2014-07-31 Doug Evans <dje@google.com>
1991
1992 * inflow.c (child_terminal_inferior): Add comment.
1993 (child_terminal_ours_for_output): Add comment.
1994 (child_terminal_ours): Add comment.
1995 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1996 (linux_nat_terminal_ours): Add comment.
1997
1998 2014-07-31 Gary Benson <gbenson@redhat.com>
1999
2000 * common/btrace-common.h: Do not include defs.h or server.h.
2001 * nat/mips-linux-watch.h: Likewise.
2002 * gdb-dlfcn.h: Do not include defs.h.
2003 * tracefile.h: Likewise.
2004
2005 2014-07-30 Roland McGrath <mcgrathr@google.com>
2006
2007 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2008
2009 2014-07-30 Tom Tromey <tromey@redhat.com>
2010
2011 * bsd-kvm.c (bsd_kvm_open): Constify.
2012 * corelow.c (core_open): Constify.
2013 * ctf.c (ctf_open): Constify.
2014 * dbug-rom.c (dbug_open): Constify.
2015 * exec.c (exec_open): Constify.
2016 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2017 * microblaze-rom.c (picobug_open): Constify.
2018 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2019 Constify.
2020 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2021 * record-btrace.c (record_btrace_open): Constify.
2022 * record-full.c (record_full_core_open_1, record_full_open_1)
2023 (record_full_open): Constify.
2024 * remote-m32r-sdi.c (m32r_open): Constify.
2025 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2026 (rockhopper_open, lsi_open): Constify.
2027 * remote-sim.c (gdbsim_open): Constify.
2028 * remote.c (remote_open, extended_remote_open, remote_open_1):
2029 Constify.
2030 * target.h (struct target_ops) <to_open>: Make "arg" const.
2031 * tracefile-tfile.c (tfile_open): Constify.
2032
2033 2014-07-30 Tom Tromey <tromey@redhat.com>
2034
2035 * breakpoint.c (map_breakpoint_numbers): Update.
2036 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2037 (get_number_const): New function.
2038 (get_number): Rewrite using get_number_const.
2039 (init_number_or_range): Make "string" const.
2040 (number_is_in_list): Make "list" const.
2041 * cli/cli-utils.h (get_number_const): Declare.
2042 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2043 (init_number_or_range, number_is_in_list): Update.
2044 * printcmd.c (map_display_numbers): Update.
2045 * value.c (value_from_history_ref): Constify.
2046 * value.h (value_from_history_ref): Update.
2047
2048 2014-07-30 Tom Tromey <tromey@redhat.com>
2049
2050 * corefile.c (hook_type, call_extra_exec_file_hooks)
2051 (specify_exec_file_hook): Constify.
2052 * exec.c (exec_file_attach): Make "filename" const.
2053 * gdbcore.h (deprecated_exec_file_display_hook)
2054 (specify_exec_file_hook, exec_file_attach): Constify.
2055 * main.c (captured_main): Use catch_command_errors_const.
2056
2057 2014-07-30 Tom Tromey <tromey@redhat.com>
2058
2059 * target.c (open_target): New function.
2060 (add_target_with_completer, add_deprecated_target_alias): Use
2061 set_cmd_sfunc, set_cmd_context.
2062 (debug_to_open): Remove.
2063 (setup_target_debug): Update.
2064
2065 2014-07-30 Yao Qi <yao@codesourcery.com>
2066
2067 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2068 comments.
2069 * parse.c (exp_iterate): Update comments.
2070
2071 2014-07-30 Gary Benson <gbenson@redhat.com>
2072
2073 * common/common-defs.h: New file.
2074 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2075 * defs.h: Include common-defs.h.
2076 Do not include config.h or build-gnulib/config.h.
2077
2078 2014-07-30 Gary Benson <gbenson@redhat.com>
2079
2080 * common/common-utils.h: Do not include config.h.
2081 * nat/linux-btrace.h: Likewise.
2082
2083 2014-07-30 Gary Benson <gbenson@redhat.com>
2084
2085 * btrace.c: Include defs.h.
2086 * common/ptid.c: Include defs.h or server.h as appropriate.
2087 * nat/mips-linux-watch.c: Likewise.
2088
2089 2014-07-29 Tom Tromey <tromey@redhat.com>
2090
2091 * target.c (target_is_pushed): Simplify.
2092
2093 2014-07-29 Joel Brobecker <brobecker@adacore.com>
2094
2095 GDB 7.8 released.
2096
2097 2014-07-29 Yao Qi <yao@codesourcery.com>
2098
2099 PR gdb/17206
2100 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2101
2102 2014-07-28 Doug Evans <xdje42@gmail.com>
2103
2104 PR guile/17203
2105 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2106 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2107 parameters.
2108
2109 2014-07-28 Will Newton <will.newton@linaro.org>
2110
2111 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2112 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2113 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2114 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2115 (THUMB2_EABI_SYSCALL): Likewise.
2116 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2117 struct tramp_frame.
2118 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2119 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2120
2121 2014-07-27 Doug Evans <xdje42@gmail.com>
2122
2123 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2124
2125 2014-07-27 Doug Evans <xdje42@gmail.com>
2126
2127 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2128
2129 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2130 Doug Evans <xdje42@gmail.com>
2131
2132 PR guile/17146
2133 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2134 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2135 * configure.ac: Try to use guild to compile an scm file, if it fails
2136 then disable guile support.
2137 * configure: Regenerate.
2138 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2139 GUILE_FILE_LIST.
2140 (GUILE_COMPILED_FILES): New variable.
2141 (GUILE_FILES) Update.
2142 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2143 (stamp-guile): Compile scm files.
2144 * guile/guile.c (boot_guile_support): New function.
2145 (standard_throw_args_p): New function.
2146 (print_standard_throw_error, print_throw_error): New functions.
2147 (handle_boot_error): New function.
2148 (initialize_scheme_side): Rewrite to call boot_guile_support.
2149 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2150 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2151
2152 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2153 Doug Evans <xdje42@gmail.com>
2154
2155 PR guile/17146
2156 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2157 * guile/lib/gdb/support.scm: New file.
2158 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2159 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2160 All uses updated.
2161 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2162 All uses updated.
2163 (%assert-type): Ditto, and renamed to assert-type.
2164 (%exception-print-style): Delete.
2165
2166 2014-07-26 Doug Evans <xdje42@gmail.com>
2167
2168 PR build/17105
2169 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2170 * configure: Regenerate.
2171 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2172 PYTHON_FILES.
2173 (PYTHON_FILES): New variable.
2174 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2175 (GUILE_FILES): New variable.
2176 (stamp-python, install-python, uninstall-python): Handle empty
2177 file list.
2178 (stamp-guile, install-guile, uninstall-guile): Ditto.
2179
2180 2014-07-26 Doug Evans <xdje42@gmail.com>
2181
2182 PR guile/17177
2183 * guile/lib/gdb.scm (pretty-printers): Export.
2184 (set-pretty-printers!): Export.
2185 * guile/lib/gdb/printing.scm (gdb module): Update.
2186 (prepend-pretty-printer!, append-pretty-printer!): Update.
2187 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2188 (pretty_printer_list_var): Delete.
2189 (pretty_printer_list): New static global.
2190 (gdbscm_pretty_printers): New function.
2191 (gdbscm_set_pretty_printers_x): New function.
2192 (ppscm_find_pretty_printer_from_gdb): Update.
2193 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2194 (gdbscm_initialize_pretty_printers): Update.
2195
2196 2014-07-26 Doug Evans <xdje42@gmail.com>
2197
2198 PR 17185
2199 * configure.ac: Add check for header gc/gc.h.
2200 Add check for function setenv.
2201 * configure: Regenerate.
2202 * config.in: Regenerate.
2203 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2204
2205 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2206
2207 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2208 variation in gdbarch matching.
2209
2210 2014-07-25 Tom Tromey <tromey@redhat.com>
2211
2212 * exec.c (using_exec_ops): Remove.
2213 (exec_close_1): Update. Remove extraneous block, reindent.
2214 (add_target_sections): Use target_is_pushed.
2215
2216 2014-07-25 Pedro Alves <palves@redhat.com>
2217
2218 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2219 * monitor.c (monitor_create_inferior): Likewise.
2220 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2221 * remote-sim.c (gdbsim_create_inferior): Likewise.
2222 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2223 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2224 * windows-nat.c (do_initial_windows_stuff): Likewise.
2225
2226 2014-07-25 Pedro Alves <palves@redhat.com>
2227
2228 * NEWS: Mention signal passing and "signal" command changes.
2229 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2230 comment.
2231 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2232 call.
2233 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2234 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2235 (jump_command): Adjust clear_proceed_status call.
2236 (signal_command): Warn if other thread that are resumed have
2237 signals that will be delivered. Adjust clear_proceed_status call.
2238 (until_next_command, finish_command)
2239 (proceed_after_attach_callback, attach_command_post_wait)
2240 (attach_command): Adjust clear_proceed_status call.
2241 * infrun.c (proceed_after_vfork_done): Likewise.
2242 (proceed_after_attach_callback): Adjust comment.
2243 (clear_proceed_status_thread): Clear stop_signal if not in pass
2244 state.
2245 (clear_proceed_status_callback): Delete.
2246 (clear_proceed_status): New 'step' parameter. Only clear the
2247 proceed status of threads the command being prepared is about to
2248 resume.
2249 (proceed): If passed in an explicit signal, override stop_signal
2250 with it. Don't pass the last stop signal to the thread we're
2251 resuming.
2252 (init_wait_for_inferior): Adjust clear_proceed_status call.
2253 (switch_back_to_stepped_thread): Clear the signal if it should not
2254 be passed.
2255 * infrun.h (clear_proceed_status): New 'step' parameter.
2256 (user_visible_resume_ptid): Add comment.
2257 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2258 signal is in pass state.
2259 * remote.c (append_pending_thread_resumptions): Likewise.
2260 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2261
2262 2014-07-25 Tom Tromey <tromey@redhat.com>
2263
2264 * target.h (target_stopped_data_address)
2265 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2266 parentheses.
2267
2268 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2269
2270 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2271 comments.
2272 (avr_pointer_to_address): Likewise.
2273
2274 2014-07-24 Tom Tromey <tromey@redhat.com>
2275
2276 * monitor.c (compile_pattern): Update.
2277 * target.h (struct target_ops) <to_shortname, to_longname,
2278 to_doc>: Now const.
2279
2280 2014-07-24 Tom Tromey <tromey@redhat.com>
2281
2282 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2283 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2284 (add_info_alias, add_com): Make "doc" const.
2285 (print_doc_line): Make "str" const.
2286 (delete_cmd): Update.
2287 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2288 (print_doc_line): Update.
2289 * cli/cli-script.c (document_command): Update.
2290 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2291 (add_com, add_info, add_info_alias): Update.
2292 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2293 * python/py-cmd.c (cmdpy_destroyer): Update.
2294
2295 2014-07-24 Tom Tromey <tromey@redhat.com>
2296
2297 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2298 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2299 (help_cmd_list): Constify.
2300 (lookup_cmd): Update.
2301 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2302 const.
2303 (help_cmd_list, apropos_cmd): Update.
2304 * cli/cli-script.c (show_user): Update.
2305 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2306 * cli/cli-setshow.h (cmd_show_list): Update.
2307 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2308 (cmd_show_list): Update.
2309 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2310 * python/py-cmd.c (cmdpy_destroyer): Update.
2311
2312 2014-07-24 Tom Tromey <tromey@redhat.com>
2313
2314 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2315 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2316 const.
2317 * command.h (deprecate_cmd): Update.
2318 * maint.c (maintenance_do_deprecate): Add casts.
2319
2320 2014-07-24 Tom Tromey <tromey@redhat.com>
2321
2322 * cli/cli-decode.c (help_cmd): Make parameter "const".
2323 * cli/cli-decode.h (help_cmd): Update.
2324
2325 2014-07-24 Tom Tromey <tromey@redhat.com>
2326
2327 * stack.c (up_silently_base, down_silently_base): Make argument
2328 const.
2329
2330 2014-07-24 Tom Tromey <tromey@redhat.com>
2331
2332 * solib.c (solib_add): Make "pattern" const.
2333 * solib.h (solib_add): Update.
2334
2335 2014-07-24 Tom Tromey <tromey@redhat.com>
2336
2337 * remote.c (remote_serial_open, print_packet, putpkt)
2338 (putpkt_binary): Constify.
2339 * remote.h (putpkt): Update.
2340
2341 2014-07-24 Tom Tromey <tromey@redhat.com>
2342
2343 * monitor.c (monitor_open): Make "args" const.
2344 * monitor.h (monitor_open): Update.
2345
2346 2014-07-24 Tom Tromey <tromey@redhat.com>
2347
2348 * maint.c (match_bfd_flags): Make "string" const.
2349 (print_bfd_section_info): Remove casts.
2350 (print_objfile_section_info): Make "string" const.
2351
2352 2014-07-24 Tom Tromey <tromey@redhat.com>
2353
2354 * inf-child.c (inf_child_open_target): Make "arg" const.
2355 * inf-child.h (inf_child_open_target): Update.
2356
2357 2014-07-24 Tom Tromey <tromey@redhat.com>
2358
2359 * environ.c (unset_in_environ): Make "var" const.
2360 * environ.h (unset_in_environ): Update.
2361
2362 2014-07-24 Tom Tromey <tromey@redhat.com>
2363
2364 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2365 Make "cmd" const.
2366 (scan_filename_with_cleanup): Likewise.
2367 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2368 Make arguments const.
2369 (restore_command): Update.
2370
2371 2014-07-24 Pedro Alves <palves@redhat.com>
2372
2373 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2374
2375 2014-07-24 Tom Tromey <tromey@redhat.com>
2376 Gary Benson <gbenson@redhat.com>
2377
2378 * nat/linux-ptrace.c (additional_flags): New global.
2379 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2380 additional_flags; don't check GDBSERVER.
2381 (linux_ptrace_set_additional_flags): New function.
2382 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2383 Declare.
2384 * linux-nat.c (_initialize_linux_nat): Call
2385 linux_ptrace_set_additional_flags.
2386
2387 2014-07-24 Tom Tromey <tromey@redhat.com>
2388
2389 * make-target-delegates (munge_type, write_debugmethod): New
2390 functions.
2391 (debug_names): New global.
2392 ($TARGET_DEBUG_PRINTER): New global.
2393 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2394 name.
2395 Write debug methods. Generate init_debug_target.
2396 * target-debug.h: New file.
2397 * target-delegates.c: Rebuild.
2398 * target.c: Include target-debug.h.
2399 (debug_target): Hoist definition.
2400 (target_kill, target_get_section_table, target_memory_map)
2401 (target_flash_erase, target_flash_done, target_detach)
2402 (target_disconnect, target_wait, target_resume)
2403 (target_pass_signals, target_program_signals, target_follow_fork)
2404 (target_mourn_inferior, target_search_memory)
2405 (target_thread_address_space, target_close)
2406 (target_find_new_threads, target_core_of_thread)
2407 (target_verify_memory, target_insert_mask_watchpoint)
2408 (target_remove_mask_watchpoint): Remove targetdebug code.
2409 (debug_to_post_attach, debug_to_prepare_to_store)
2410 (debug_to_files_info, debug_to_insert_breakpoint)
2411 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2412 (debug_to_region_ok_for_hw_watchpoint)
2413 (debug_to_can_accel_watchpoint_condition)
2414 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2415 (debug_to_watchpoint_addr_within_range)
2416 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2417 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2418 (debug_to_terminal_init, debug_to_terminal_inferior)
2419 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2420 (debug_to_terminal_save_ours, debug_to_terminal_info)
2421 (debug_to_load, debug_to_post_startup_inferior)
2422 (debug_to_insert_fork_catchpoint)
2423 (debug_to_remove_fork_catchpoint)
2424 (debug_to_insert_vfork_catchpoint)
2425 (debug_to_remove_vfork_catchpoint)
2426 (debug_to_insert_exec_catchpoint)
2427 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2428 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2429 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2430 (setup_target_debug): Call init_debug_target.
2431 * target.h (TARGET_DEBUG_PRINTER): New macro.
2432 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2433 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2434
2435 2014-07-24 Gary Benson <gbenson@redhat.com>
2436
2437 * exceptions.h (throw_vfatal): Renamed to...
2438 (throw_vquit): New declaration.
2439 (throw_quit): Likewise.
2440 * exceptions.c (throw_vfatal): Renamed to...
2441 (throw_vquit): New function.
2442 (throw_quit): Likewise.
2443 (throw_error): Call throw_verror rather than throw_it.
2444 * utils.h (vfatal): Removed.
2445 (fatal): Likewise.
2446 * utils.c (vfatal): Removed.
2447 (fatal): Likewise.
2448 (internal_verror): Replaced call to fatal with call to throw_quit.
2449 (quit): Replaced calls to fatal with calls to throw_quit.
2450
2451 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2452
2453 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2454 target_read_code.
2455
2456 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2457
2458 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2459 less than zero in conditional expression.
2460
2461 2014-07-23 Tom Tromey <tromey@redhat.com>
2462
2463 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2464 ($INTRO_PART): Don't match whitespace.
2465 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2466 argument matching.
2467 ($METHOD): Add $METHOD_TRAILER.
2468 (trim): Rewrite.
2469 (scan_target_h): New sub.
2470 Change main loop not to collect state.
2471 * target-delegates.c: Rebuild.
2472
2473 2014-07-23 Gary Benson <gbenson@redhat.com>
2474
2475 * cp-support.c (gdb_demangle): Fix build on systems without
2476 sigaltstack.
2477
2478 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2479
2480 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2481 for reference entry value target data value.
2482
2483 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2486 value_available_contents_eq.
2487
2488 2014-07-22 Pedro Alves <palves@redhat.com>
2489
2490 * value.c (allocate_optimized_out_value): Don't mark value as
2491 non-lazy.
2492
2493 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2494
2495 * MAINTAINERS (Write After Approval): Update my email address.
2496
2497 2014-07-20 Doug Evans <dje@google.com>
2498
2499 PR server/17147
2500 * remote.c (putpkt_binary): Add text to error message.
2501
2502 2014-07-20 Yao Qi <yao@codesourcery.com>
2503
2504 * eval.c: Remove "Chill" from comments.
2505 * gdbtypes.h: Likewise.
2506 * symtab.h: Likewise.
2507
2508 2014-07-20 Yao Qi <yao@codesourcery.com>
2509
2510 * std-operator.def: Update comments to TERNOP_SLICE.
2511
2512 2014-07-20 Yao Qi <yao@codesourcery.com>
2513
2514 * std-operator.def: Remove BINOP_RANGE.
2515 * breakpoint.c (watchpoint_exp_is_const): Update.
2516 * expprint.c (dump_subexp_body_standard): Likewise.
2517 * eval.c (init_array_element): Remove dead code.
2518 (evaluate_subexp_standard): Likewise.
2519
2520 2014-07-20 Yao Qi <yao@codesourcery.com>
2521
2522 * std-operator.def: Remove BINOP_IN.
2523 * breakpoint.c (watchpoint_exp_is_const): Update.
2524 * eval.c (evaluate_subexp_standard): Likewise.
2525 * expprint.c (dump_subexp_body_standard): Likewise.
2526
2527 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2528
2529 * microblaze-tdep.c (microblaze_register_names): Add
2530 the rshr and rslr register names.
2531 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2532 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2533 Use of tdesc_numbered_register. Use of
2534 microblaze_register_g_packet_guesses. Use of
2535 tdesc_use_registers. Use of set_gdbarch_register_type.
2536 (microblaze_register_g_packet_guesses): New.
2537 * microblaze-tdep.h (microblaze_reg_num): Add
2538 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2539 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2540 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2541 * features/microblaze-core.xml: New file.
2542 * features/microblaze-stack-protect.xml: New file.
2543 * features/microblaze-with-stack-protect.c: New file.
2544 * features/microblaze-with-stack-protect.xml: New file.
2545 * features/microblaze.xml: New file.
2546 * features/microblaze.c: New file.
2547 * features/Makefile (microblaze-with-stack-protect): Add
2548 microblaze-with-stack-protect microblaze and microblaze-expedite.
2549 * regformats/microblaze-with-stack-protect.dat: New file.
2550 * regformats/microblaze.dat: New file.
2551 * doc/gdb.texinfo (MicroBlaze Features): Added.
2552
2553 2014-07-18 Tom Tromey <tromey@redhat.com>
2554
2555 * exec.c (exec_ops): Now static.
2556 * exec.h (exec_ops): Don't declare.
2557
2558 2014-07-18 Tom Tromey <tromey@redhat.com>
2559
2560 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2561 to find_target_beneath.
2562 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2563 find_target_beneath.
2564 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2565
2566 2014-07-18 Tom Tromey <tromey@redhat.com>
2567
2568 PR gdb/17130:
2569 * utils.c (quit): Use target_supports_terminal_ours.
2570 * target.h (target_supports_terminal_ours): Declare.
2571 * target.c (target_supports_delete_record): Don't check
2572 to_delete_record against NULL.
2573 (target_supports_terminal_ours): New function.
2574
2575 2014-07-18 Tom Tromey <tromey@redhat.com>
2576
2577 PR gdb/17130:
2578 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2579 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2580 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2581 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2582 * windows-nat.c (windows_xfer_partial): Always delegate.
2583 * record-btrace.c (record_btrace_xfer_partial): Simplify
2584 delegation.
2585 (record_btrace_fetch_registers, record_btrace_store_registers)
2586 (record_btrace_prepare_to_store, record_btrace_resume)
2587 (record_btrace_wait, record_btrace_find_new_threads)
2588 (record_btrace_thread_alive): Likewise.
2589 * procfs.c (procfs_xfer_partial): Always delegate.
2590 * corelow.c (core_xfer_partial): Always delegate.
2591 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2592
2593 2014-07-18 Tom Tromey <tromey@redhat.com>
2594
2595 * exec.c (exec_make_note_section): Move earlier.
2596
2597 2014-07-17 Doug Evans <dje@google.com>
2598
2599 PR gdb/17170
2600 * maint.c (count_symtabs_and_blocks): Handle NULL
2601 current_program_space.
2602 (report_command_stats): Check global enabled flag in addition to
2603 recorded enabled flag.
2604 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2605
2606 2014-07-16 Pedro Alves <palves@redhat.com>
2607
2608 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2609
2610 2014-07-16 Tom Tromey <tromey@redhat.com>
2611
2612 * target.h (struct target_ops) <to_delete_record>: Reformat
2613 comment.
2614
2615 2014-07-16 Tom Tromey <tromey@redhat.com>
2616
2617 * target-delegates.c: Rebuild.
2618
2619 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2620
2621 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2622 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2623 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2624 (avr_pointer_to_address): Likewise.
2625 (avr_address_class_type_flags): New function.
2626 (avr_address_class_type_flags_to_name): Likewise.
2627 (avr_address_class_name_to_type_flags): Likewise.
2628 (avr_gdbarch_init): Set address_class_type_flags,
2629 address_class_type_flags_to_name and
2630 address_class_name_to_type_flags.
2631
2632 2014-07-15 Pedro Alves <palves@redhat.com>
2633
2634 * linux-nat.c (kill_callback): Save errno and work with saved
2635 copy.
2636
2637 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2638
2639 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2640
2641 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2642
2643 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2644 breakpoint support correctly.
2645
2646 2014-07-14 Pedro Alves <palves@redhat.com>
2647
2648 * utils.c (prompt_for_continue): Call target_terminal_ours.
2649
2650 2014-07-14 Pedro Alves <palves@redhat.com>
2651
2652 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2653 catch_errors. Don't re-enable stdin or notify observers where,
2654 and rethrow error.
2655 (fetch_inferior_event_wrapper): Delete.
2656
2657 2014-07-14 Pedro Alves <palves@redhat.com>
2658
2659 PR gdb/17072
2660 * top.c: Include "inf-loop.h".
2661 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2662 field.
2663 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2664 was async before.
2665 (gdb_readline_wrapper): Store whether the target is async, and
2666 make it sync.
2667
2668 2014-07-14 Pedro Alves <palves@redhat.com>
2669
2670 PR gdb/17072
2671 * top.c (gdb_readline_wrapper_line): Tweak comment.
2672 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2673 the input handler callback.
2674
2675 2014-07-14 Pedro Alves <palves@redhat.com>
2676
2677 PR gdb/17072
2678 * main.c: Include event-top.h.
2679 (handle_command_errors): New function.
2680 (catch_command_errors, catch_command_errors_const): Use it.
2681
2682 2014-07-14 Pedro Alves <palves@redhat.com>
2683
2684 * exceptions.c (catch_command_errors, catch_command_errors_const):
2685 Moved to main.c.
2686 * exceptions.h (catch_command_errors_ftype)
2687 (catch_command_errors_const_ftype): Moved to main.c.
2688 (catch_command_errors, catch_command_errors_const): Delete
2689 declarations.
2690 * main.c (catch_command_errors_ftype)
2691 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2692 (catch_command_errors, catch_command_errors_const)): Moved here
2693 from exceptions.c and make static.
2694
2695 2014-07-14 Pedro Alves <palves@redhat.com>
2696
2697 * exceptions.c (print_any_exception): Delete.
2698 (catch_exceptions_with_msg): Use exception_print instead of
2699 print_any_exception.
2700 (catch_errors): Use exception_fprintf instead of
2701 print_any_exception.
2702 (catch_command_errors, catch_command_errors_const): Use
2703 exception_print instead of print_any_exception.
2704
2705 2014-07-14 Pedro Alves <palves@redhat.com>
2706
2707 * infcall.c (run_inferior_call): Set 'sync_execution' while
2708 running the inferior call.
2709
2710 2014-07-14 Pedro Alves <palves@redhat.com>
2711
2712 * value.c (value_contents_equal): Delete function.
2713 * value.h (value_contents_equal): Delete declaration.
2714
2715 2014-07-14 Tom Tromey <tromey@redhat.com>
2716
2717 PR exp/17106:
2718 * gdbtypes.c (is_dynamic_type_internal): New function, from
2719 is_dynamic_type.
2720 (is_dynamic_type): Rewrite.
2721 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2722 (resolve_dynamic_struct): Likewise.
2723 (resolve_dynamic_type_internal): New function, from
2724 resolve_dynamic_type.
2725 (resolve_dynamic_type): Rewrite.
2726
2727 2014-07-14 Tom Tromey <tromey@redhat.com>
2728
2729 * target.c (target_require_runnable): Also check record_stratum.
2730 Update comment.
2731
2732 2014-07-11 Yao Qi <yao@codesourcery.com>
2733
2734 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2735 thumb_instruction_restores_sp return true.
2736
2737 2014-07-11 Yao Qi <yao@codesourcery.com>
2738
2739 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2740 (thumb_in_function_epilogue_p): Call
2741 thumb_instruction_restores_sp.
2742
2743 2014-07-11 Yao Qi <yao@codesourcery.com>
2744
2745 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2746 'add sp, #imm'.
2747 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2748
2749 2014-07-11 Gary Benson <gbenson@redhat.com>
2750
2751 * amd64-linux-nat.c (gdbcore.h): Remove include.
2752 (regset.h): Likewise.
2753 (nat/linux-btrace.h): Likewise.
2754 (btrace.h): Likewise.
2755 (gdb_assert.h): Likewise.
2756 (string.h): Likewise.
2757 (sys/uio.h): Likewise.
2758 (sys/debugreg.h): Likewise.
2759 (sys/syscall.h): Likewise.
2760 (sys/procfs.h): Likewise.
2761 (sys/user.h): Likewise.
2762 (asm/ptrace.h): Likewise.
2763 (i386-nat.h): Likewise.
2764 * i386-linux-nat.c (i386-nat.h): Likewise.
2765 (regset.h): Likewise.
2766 (target.h): Likewise.
2767 (linux-nat.h): Likewise.
2768 (nat/linux-btrace.h): Likewise.
2769 (btrace.h): Likewise.
2770 (gdb_assert.h): Likewise.
2771 (string.h): Likewise.
2772 (sys/uio.h): Likewise.
2773 (sys/user.h): Likewise.
2774 (sys/procfs.h): Likewise.
2775 (sys/reg.h): Likewise.
2776 (sys/debugreg.h): Likewise.
2777 (ORIG_EAX): Remove definition.
2778
2779 2014-07-11 Gary Benson <gbenson@redhat.com>
2780
2781 * i386-linux-nat.h: New file.
2782 * x86-linux-nat.h: Likewise.
2783 * x86-linux-nat.c: Likewise.
2784 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2785 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2786 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2787 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2788 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2789 (PTRACE_SETREGSET): Likewise.
2790 (arch_lwp_info): Now in x86-linux-nat.c.
2791 (have_ptrace_getregset): Now in x86-linux-nat.h.
2792 (x86_linux_dr_get): Now in x86-linux-nat.c.
2793 (x86_linux_dr_set): Likewise.
2794 (x86_linux_dr_get_addr): Likewise.
2795 (x86_linux_dr_get_control): Likewise.
2796 (x86_linux_dr_get_status): Likewise.
2797 (update_debug_registers_callback): Likewise.
2798 (x86_linux_dr_set_control): Likewise.
2799 (x86_linux_dr_set_addr): Likewise.
2800 (x86_linux_prepare_to_resume): Likewise.
2801 (x86_linux_new_thread): Likewise.
2802 (x86_linux_new_fork): Likewise.
2803 (x86_linux_get_thread_area): Likewise.
2804 (super_post_startup_inferior): Likewise.
2805 (x86_linux_child_post_startup_inferior): Likewise.
2806 (AMD64_LINUX_USER64_CS): Likewise.
2807 (AMD64_LINUX_X32_DS): Likewise.
2808 (x86_linux_read_description): Likewise.
2809 (x86_linux_enable_btrace): Likewise.
2810 (x86_linux_disable_btrace): Likewise.
2811 (x86_linux_teardown_btrace): Likewise.
2812 (x86_linux_read_btrace): Likewise.
2813 (x86_linux_create_target): Likewise.
2814 (x86_linux_add_target): Likewise.
2815 * i386-linux-nat.c (x86-linux-nat.h): New include.
2816 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2817 (PTRACE_SETREGSET): Likewise.
2818 (arch_lwp_info): Now in x86-linux-nat.c.
2819 (have_ptrace_getregset): Now in x86-linux-nat.h.
2820 (x86_linux_dr_get): Now in x86-linux-nat.c.
2821 (x86_linux_dr_set): Likewise.
2822 (x86_linux_dr_get_addr): Likewise.
2823 (x86_linux_dr_get_control): Likewise.
2824 (x86_linux_dr_get_status): Likewise.
2825 (update_debug_registers_callback): Likewise.
2826 (x86_linux_dr_set_control): Likewise.
2827 (x86_linux_dr_set_addr): Likewise.
2828 (x86_linux_prepare_to_resume): Likewise.
2829 (x86_linux_new_thread): Likewise.
2830 (x86_linux_new_fork): Likewise.
2831 (x86_linux_get_thread_area): Likewise.
2832 (super_post_startup_inferior): Likewise.
2833 (x86_linux_child_post_startup_inferior): Likewise.
2834 (AMD64_LINUX_USER64_CS): Likewise.
2835 (AMD64_LINUX_X32_DS): Likewise.
2836 (x86_linux_read_description): Likewise.
2837 (x86_linux_enable_btrace): Likewise.
2838 (x86_linux_disable_btrace): Likewise.
2839 (x86_linux_teardown_btrace): Likewise.
2840 (x86_linux_read_btrace): Likewise.
2841 (x86_linux_create_target): Likewise.
2842 (x86_linux_add_target): Likewise.
2843
2844 2014-07-11 Gary Benson <gbenson@redhat.com>
2845
2846 * amd64-linux-nat.c: Comment and whitespace changes.
2847 * i386-linux-nat.c: Comment and whitespace changes.
2848
2849 2014-07-11 Gary Benson <gbenson@redhat.com>
2850
2851 * amd64-linux-nat.c (x86_linux_create_target): New function.
2852 (x86_linux_add_target): Likewise.
2853 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2854 * i386-linux-nat.c (x86_linux_create_target): New function.
2855 (x86_linux_add_target): Likewise.
2856 (_initialize_i386_linux_nat): Delegate to the above new functions.
2857
2858 2014-07-11 Gary Benson <gbenson@redhat.com>
2859
2860 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2861 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2862 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2863 (ps_get_thread_area): Delegate to the above.
2864
2865 2014-07-11 Gary Benson <gbenson@redhat.com>
2866
2867 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2868 x86_linux_read_description. All uses updated. amd64-specific
2869 code conditionalized. Conditionalized i386-specific code added.
2870 Redundant cast removed.
2871 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2872 x86_linux_read_description. All uses updated. i386-specific
2873 code conditionalized. Conditionalized amd64-specific code added.
2874 One sizeof replaced with the actual type it is describing.
2875
2876 2014-07-11 Gary Benson <gbenson@redhat.com>
2877
2878 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2879 x86_linux_dr_get. All uses updated.
2880 (amd64_linux_dr_set): Renamed to
2881 x86_linux_dr_set. All uses updated.
2882 (amd64_linux_dr_get_addr): Renamed to
2883 x86_linux_dr_get_addr. All uses updated.
2884 (amd64_linux_dr_get_control): Renamed to
2885 x86_linux_dr_get_control. All uses updated.
2886 (amd64_linux_dr_get_status): Renamed to
2887 x86_linux_dr_get_status. All uses updated.
2888 (amd64_linux_dr_set_control): Renamed to
2889 x86_linux_dr_set_control. All uses updated.
2890 (amd64_linux_dr_set_addr): Renamed to
2891 x86_linux_dr_set_addr. All uses updated.
2892 (amd64_linux_prepare_to_resume): Renamed to
2893 x86_linux_prepare_to_resume. All uses updated.
2894 (amd64_linux_new_thread): Renamed to
2895 x86_linux_new_thread. All uses updated.
2896 (amd64_linux_new_fork): Renamed to
2897 x86_linux_new_fork. All uses updated.
2898 (amd64_linux_child_post_startup_inferior): Renamed to
2899 x86_linux_child_post_startup_inferior. All uses updated.
2900 (amd64_linux_enable_btrace): Renamed to
2901 x86_linux_enable_btrace. All uses updated.
2902 (amd64_linux_disable_btrace): Renamed to
2903 x86_linux_disable_btrace. All uses updated.
2904 (amd64_linux_teardown_btrace): Renamed to
2905 x86_linux_teardown_btrace. All uses updated.
2906 (amd64_linux_read_btrace): Renamed to
2907 x86_linux_read_btrace. All uses updated.
2908 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2909 x86_linux_dr_get. All uses updated.
2910 (i386_linux_dr_set): Renamed to
2911 x86_linux_dr_set. All uses updated.
2912 (i386_linux_dr_get_addr): Renamed to
2913 x86_linux_dr_get_addr. All uses updated.
2914 (i386_linux_dr_get_control): Renamed to
2915 x86_linux_dr_get_control. All uses updated.
2916 (i386_linux_dr_get_status): Renamed to
2917 x86_linux_dr_get_status. All uses updated.
2918 (i386_linux_dr_set_control): Renamed to
2919 x86_linux_dr_set_control. All uses updated.
2920 (i386_linux_dr_set_addr): Renamed to
2921 x86_linux_dr_set_addr. All uses updated.
2922 (i386_linux_prepare_to_resume): Renamed to
2923 x86_linux_prepare_to_resume. All uses updated.
2924 (i386_linux_new_thread): Renamed to
2925 x86_linux_new_thread. All uses updated.
2926 (i386_linux_new_fork): Renamed to
2927 x86_linux_new_fork. All uses updated.
2928 (i386_linux_child_post_startup_inferior): Renamed to
2929 x86_linux_child_post_startup_inferior. All uses updated.
2930 (i386_linux_enable_btrace): Renamed to
2931 x86_linux_enable_btrace. All uses updated.
2932 (i386_linux_disable_btrace): Renamed to
2933 x86_linux_disable_btrace. All uses updated.
2934 (i386_linux_teardown_btrace): Renamed to
2935 x86_linux_teardown_btrace. All uses updated.
2936 (i386_linux_read_btrace): Renamed to
2937 x86_linux_read_btrace. All uses updated.
2938
2939 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2940
2941 * remote.c (extended_remote_post_attach): New function.
2942 (init_extended_remote_ops): Install it as to_post_attach method.
2943
2944 2014-07-09 Pedro Alves <palves@redhat.com>
2945
2946 * infcmd.c (attach_command_post_wait): Don't call
2947 target_terminal_inferior here.
2948 (attach_command): Call it here instead.
2949
2950 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2951
2952 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2953 field.
2954 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2955 from varobj.c, with additional checks.
2956 (c_varobj_ops): Fill in is_path_expr_parent field.
2957 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2958 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2959 field.
2960 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2961 ops method.
2962 (varobj_default_is_path_expr_parent): New function.
2963 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2964 (varobj_default_is_path_expr_parent): Declare new function.
2965
2966 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2967
2968 * infcmd.c (finish_backward): Turn internal error into normal error.
2969
2970 2014-07-07 Pedro Alves <palves@redhat.com>
2971
2972 PR gdb/17096
2973 * remote.c (async_handle_remote_sigint)
2974 (async_handle_remote_sigint_twice): Call
2975 gdb_call_async_signal_handler instead of
2976 mark_async_signal_handler.
2977
2978 2014-07-07 Tom Tromey <tromey@redhat.com>
2979
2980 * target-delegates.c: Rebuild.
2981 * target.c (target_info_record): Remove.
2982 * record.c (info_record_command): Unconditionally call
2983 to_info_record.
2984 * target.h (struct target_ops) <to_info_record>: Use
2985 TARGET_DEFAULT_IGNORE.
2986 (target_info_record): Remove.
2987
2988 2014-07-07 Tom Tromey <tromey@redhat.com>
2989
2990 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2991 TARGET_DEFAULT_NORETURN.
2992 * target.c (generic_tls_error): New function.
2993 (target_translate_tls_address): Don't search target stack.
2994 * target-delegates.c: Rebuild.
2995 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2996 stack.
2997 * linux-thread-db.c (thread_db_get_thread_local_address):
2998 Unconditionally call beneath target.
2999
3000 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3001
3002 * cli/cli-logging.c (pop_output_files): Assign targerr to
3003 gdb_stdtargerr.
3004
3005 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3006
3007 * MAINTAINERS (Write After Approval): Update my email address.
3008
3009 2014-07-02 Gary Benson <gbenson@redhat.com>
3010
3011 * proc-service.c (ps_xfer_memory): Update comment.
3012 (ps_pstop): Remove unused function.
3013 (ps_pcontinue): Likewise.
3014 (ps_lstop): Likewise.
3015 (ps_lcontinue): Likewise.
3016 (ps_lgetxregsize): Likewise.
3017 (ps_lgetxregs): Likewise.
3018 (ps_lsetxregs): Likewise.
3019 (ps_plog): Likewise.
3020 (ps_ptread): Likewise.
3021 (ps_ptwrite): Likewise.
3022
3023 2014-07-01 Mark Wielaard <mjw@redhat.com>
3024
3025 * dwarf2read.c (add_array_cv_type): New function.
3026 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3027 (read_tag_volatile_type): Likewise.
3028
3029 2014-07-01 Tom Tromey <tromey@redhat.com>
3030
3031 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3032 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3033 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3034 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3035 * command.h (cmd_cfunc_ftype): Move earlier.
3036 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3037 (add_com, add_info): Use cmd_cfunc_ftype.
3038
3039 2014-06-30 Tom Tromey <tromey@redhat.com>
3040
3041 * symtab.c (operator_chars): Make parameters and return type
3042 const.
3043 (file_matches): Make "files" const.
3044 (struct search_symbols_data) <files>: Now const.
3045 (search_symbols): Make "regexp" and "files" parameters const.
3046 Update.
3047 (symtab_symbol_info): Remove cast.
3048 (rbreak_command): Update.
3049 * symtab.h (search_symbols): Update.
3050
3051 2014-06-27 Yao Qi <yao@codesourcery.com>
3052
3053 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3054 Change parameter type to 'struct thread_info *'. Caller
3055 updated.
3056 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3057 Update declaration.
3058 * dummy-frame.c (struct dummy_frame_id): New.
3059 (dummy_frame_id_eq): New function.
3060 (struct dummy_frame) <id>: Change its type to 'struct
3061 dummy_frame_id'.
3062 (dummy_frame_push): Add parameter ptid and save it in
3063 dummy_frame_id.
3064 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3065 inferior_ptid.
3066 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3067 to inferior_ptid.
3068 (lookup_dummy_frame): Change parameter type to 'struct
3069 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3070 instead of frame_id_eq.
3071 (dummy_frame_pop): Add parameter ptid. Callers updated.
3072 Update comments. Compose dummy_frame_id and pass it to
3073 lookup_dummy_frame.
3074 (dummy_frame_discard): Add parameter ptid.
3075 (dummy_frame_sniffer): Compose dummy_frame_id and call
3076 dummy_frame_id_eq instead of frame_id_eq.
3077 (fprint_dummy_frames): Print ptid.
3078 * dummy-frame.h: Remove comments.
3079 (dummy_frame_push): Add ptid in declaration.
3080 (dummy_frame_pop, dummy_frame_discard): Likewise.
3081
3082 2014-06-26 Tom Tromey <tromey@redhat.com>
3083
3084 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3085 * command.h (error_no_arg): Update.
3086
3087 2014-06-26 Tom Tromey <tromey@redhat.com>
3088
3089 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3090 (do_show_command): Make "arg" const.
3091 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3092
3093 2014-06-26 Tom Tromey <tromey@redhat.com>
3094
3095 * record-full.c (record_full_get_bookmark): Make "args" const.
3096 (record_full_goto_bookmark): Make "raw_bookmark" const.
3097 * record.c (record_goto): New function.
3098 (cmd_record_goto): Use it. Now static.
3099 * record.h (record_goto): Declare.
3100 (cmd_record_goto): Remove declaration.
3101 * target-delegates.c: Rebuild.
3102 * target.h (struct target_ops) <to_get_bookmark,
3103 to_goto_bookmark>: Make parameter const.
3104
3105 2014-06-26 Tom Tromey <tromey@redhat.com>
3106
3107 * defs.h (generic_load): Update.
3108 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3109 * monitor.c (monitor_load): Make "args" const.
3110 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3111 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3112 const.
3113 (mips_load): Make "file" const.
3114 * remote-sim.c (gdbsim_load): Make "args" const.
3115 * remote.c (remote_load): Make "name" const.
3116 * symfile.c (generic_load): Make "args" const.
3117 * target-delegates.c: Rebuild.
3118 * target.c (target_load): Make "arg" const.
3119 (debug_to_load): Make "args" const.
3120 * target.h (struct target_ops) <to_load>: Make parameter const.
3121 (target_load): Update.
3122
3123 2014-06-26 Tom Tromey <tromey@redhat.com>
3124
3125 PR symtab/16902:
3126 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3127 (dwarf2_physname, read_partial_die)
3128 (guess_partial_die_structure_name, fixup_partial_die)
3129 (guess_full_die_structure_name, anonymous_struct_prefix)
3130 (dwarf2_name): Use per-BFD obstack.
3131
3132 2014-06-26 Yao Qi <yao@codesourcery.com>
3133
3134 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3135 dummyframe and this_id into inner block below.
3136
3137 2014-06-26 Yao Qi <yao@codesourcery.com>
3138
3139 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3140 with "signal_pass[0]" in the initialization of signal_pass.
3141
3142 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3143
3144 * record-btrace.c (record_btrace_generating_corefile)
3145 (record_btrace_prepare_to_generate_core)
3146 (record_btrace_done_generating_core): New.
3147 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3148 (record_btrace_store_registers, record_btrace_prepare_to_store):
3149 Forward request when generating a core file.
3150 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3151 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3152 to_done_generating_core.
3153
3154 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3155
3156 * target.h (target_ops) <to_prepare_to_generate_core>
3157 <to_done_generating_core>: New.
3158 (target_prepare_to_generate_core, target_done_generating_core): New.
3159 * target.c (target_prepare_to_generate_core)
3160 (target_done_generating_core): New.
3161 * target-delegates.c: Regenerate.
3162 * gcore.c: (write_gcore_file): Rename to ...
3163 (write_gcore_file_1): ...this.
3164 (write_gcore_file): Call target_prepare_to_generate_core
3165 and target_done_generating_core.
3166
3167 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3168
3169 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3170 * gcore.c (write_gcore_file): Free memory returned from
3171 make_corefile_notes.
3172 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3173 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3174
3175 2014-06-24 Yao Qi <yao@codesourcery.com>
3176
3177 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3178 (arm_linux_init_abi): Set skip_trampoline_code with
3179 gdbarch_skip_trampoline_code instead of
3180 find_solib_trampoline_target.
3181
3182 2014-06-24 Yao Qi <yao@codesourcery.com>
3183
3184 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3185 arm_skip_bx_reg returns non-zero.
3186
3187 2014-06-24 Yao Qi <yao@codesourcery.com>
3188
3189 * arm-tdep.c (arm_skip_bx_reg): New function.
3190 (arm_skip_stub): Call arm_skip_bx_reg.
3191
3192 2014-06-23 Don Breazeal <donb@codesourcery.com>
3193
3194 * MAINTAINERS: Add myself as write-after-approval maintainer.
3195
3196 2014-06-23 Pedro Alves <palves@redhat.com>
3197
3198 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3199 DR_CONTROL before setting DR0..DR3.
3200 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3201 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3202 bits of DR_CONTROL related to the debug register slot being
3203 disabled. If all slots are vacant, clear local slowdown as well,
3204 and assert DR_CONTROL is 0.
3205
3206 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3207
3208 * python/lib/gdb/command/xmethods.py
3209 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3210 current progspace only if the string "progspace" matches LOCUS_RE.
3211
3212 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3213
3214 Fix --with-system-readline with readline-6.3 patch 5.
3215 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3216 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3217 types.
3218
3219 2014-06-20 Tom Tromey <tromey@redhat.com>
3220
3221 * dwarf2read.c (dw2_get_real_path): Use correct type in
3222 OBSTACK_CALLOC.
3223 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3224
3225 2014-06-20 Gary Benson <gbenson@redhat.com>
3226
3227 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3228 * common/glibc_thread_db.h: Likewise.
3229 * common/i386-cpuid.h: Likewise.
3230 * common/i386-gcc-cpuid.h: Likewise.
3231 * common/linux-btrace.h: Likewise.
3232 * common/linux-osdata.h: Likewise.
3233 * common/linux-procfs.h: Likewise.
3234 * common/linux-ptrace.h: Likewise.
3235 * common/mips-linux-watch.h: Likewise.
3236 * common/linux-btrace.c: Moved to nat.
3237 * common/linux-osdata.c: Likewise.
3238 * common/linux-procfs.c: Likewise.
3239 * common/linux-ptrace.c: Likewise.
3240 * common/mips-linux-watch.c: Likewise.
3241 * nat/gdb_thread_db.h: Moved from common.
3242 * nat/glibc_thread_db.h: Likewise.
3243 * nat/i386-cpuid.h: Likewise.
3244 * nat/i386-gcc-cpuid.h: Likewise.
3245 * nat/linux-btrace.c: Likewise.
3246 * nat/linux-btrace.h: Likewise.
3247 * nat/linux-osdata.c: Likewise.
3248 * nat/linux-osdata.h: Likewise.
3249 * nat/linux-procfs.c: Likewise.
3250 * nat/linux-procfs.h: Likewise.
3251 * nat/linux-ptrace.c: Likewise.
3252 * nat/linux-ptrace.h: Likewise.
3253 * nat/mips-linux-watch.c: Likewise.
3254 * nat/mips-linux-watch.h: Likewise.
3255 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3256 (object file files): Reordered.
3257 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3258 of glibc_thread_db.h.
3259
3260 2014-06-20 Gary Benson <gbenson@redhat.com>
3261
3262 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3263 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3264 (i386_dr_low): Likewise.
3265 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3266 (i386_dr_low_set_addr): Likewise.
3267 (i386_dr_low_get_addr): Likewise.
3268 (i386_dr_low_can_set_control): Likewise.
3269 (i386_dr_low_set_control): Likewise.
3270 (i386_dr_low_get_control): Likewise.
3271 (i386_dr_low_get_status): Likewise.
3272 (i386_get_debug_register_length): Likewise.
3273 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3274 (i386_dr_low): Likewise.
3275 * nat/i386-dregs.c (i386-low.h): Remove include.
3276 (i386-nat.h): Likewise.
3277 (nat/i386-dregs.h): New include.
3278 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3279 (i386_dr_low_set_addr): Likewise.
3280 (i386_dr_low_get_addr): Likewise.
3281 (i386_dr_low_can_set_control): Likewise.
3282 (i386_dr_low_set_control): Likewise.
3283 (i386_dr_low_get_control): Likewise.
3284 (i386_dr_low_get_status): Likewise.
3285 (i386_get_debug_register_length): Likewise.
3286 (debug_hw_points): Likewise.
3287
3288 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3289
3290 * Makefile.in (SFILES): Add d-exp.y.
3291 (YYFILES): Add d-exp.c.
3292 (YYOBJ): Add d-exp.o.
3293 (local-maintainer-clean): Delete d-exp.c.
3294 * d-exp.y: New file.
3295 * d-lang.h (d_parse): New declaration.
3296 (d_error): New declaration.
3297 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3298 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3299 PREC_ORDER operators.
3300 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3301
3302 2014-06-19 Yao Qi <yao@codesourcery.com>
3303
3304 * gdbthread.h (any_running): Remove the declaration.
3305 * thread.c (any_running): Remove.
3306
3307 2014-06-19 Yao Qi <yao@codesourcery.com>
3308
3309 * gdbthread.h (struct thread_info) <state>: Change its type to
3310 'enum thread_state'. Update comments.
3311
3312 2014-06-19 Pedro Alves <palves@redhat.com>
3313
3314 * gdbthread.h (ALL_THREADS): Delete.
3315 (ALL_NON_EXITED_THREADS): New macro.
3316 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3317 instead of ALL_THREADS.
3318 * infrun.c (find_thread_needs_step_over)
3319 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3320 instead of ALL_THREADS.
3321 * record-btrace.c (record_btrace_open)
3322 (record_btrace_stop_recording, record_btrace_close)
3323 (record_btrace_is_replaying, record_btrace_resume)
3324 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3325 * remote.c (append_pending_thread_resumptions): Likewise.
3326 * thread.c (thread_apply_all_command): Likewise.
3327
3328 2014-06-19 Gary Benson <gbenson@redhat.com>
3329
3330 * i386-nat.c (i386_stopped_by_watchpoint):
3331 Use i386_dr_stopped_by_watchpoint.
3332 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3333 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3334
3335 2014-06-19 Gary Benson <gbenson@redhat.com>
3336
3337 * nat/i386-dregs.c: New file.
3338 * Makefile.in (i386-dregs.o): New rule.
3339 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3340 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3341 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3342 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3343 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3344 * config/i386/go32.mh (NATDEPFILES): Likewise.
3345 * config/i386/linux.mh (NATDEPFILES): Likewise.
3346 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3347 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3348 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3349 * i386-nat.h (debug_hw_points): New declaration.
3350 * i386-nat.c (breakpoint.h): Remove include.
3351 (command.h): Likewise.
3352 (target.h): Likewise.
3353 (gdb_assert.h): Likewise.
3354 (debug_hw_points): Made nonstatic.
3355 (debug_printf): Now in i386-dregs.c.
3356 (TARGET_HAS_DR_LEN_8): Likewise.
3357 (DR_CONTROL_SHIFT): Likewise.
3358 (DR_CONTROL_SIZE): Likewise.
3359 (DR_RW_EXECUTE): Likewise.
3360 (DR_RW_WRITE): Likewise.
3361 (DR_RW_READ): Likewise.
3362 (DR_RW_IORW): Likewise.
3363 (DR_LEN_1): Likewise.
3364 (DR_LEN_2): Likewise.
3365 (DR_LEN_4): Likewise.
3366 (DR_LEN_8): Likewise.
3367 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3368 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3369 (DR_ENABLE_SIZE): Likewise.
3370 (DR_LOCAL_SLOWDOWN): Likewise.
3371 (DR_GLOBAL_SLOWDOWN): Likewise.
3372 (DR_CONTROL_RESERVED): Likewise.
3373 (I386_DR_CONTROL_MASK): Likewise.
3374 (I386_DR_VACANT): Likewise.
3375 (I386_DR_LOCAL_ENABLE): Likewise.
3376 (I386_DR_GLOBAL_ENABLE): Likewise.
3377 (I386_DR_DISABLE): Likewise.
3378 (I386_DR_SET_RW_LEN): Likewise.
3379 (I386_DR_GET_RW_LEN): Likewise.
3380 (I386_DR_WATCH_HIT): Likewise.
3381 (i386_wp_op_t): Likewise.
3382 (i386_show_dr): Likewise.
3383 (i386_length_and_rw_bits): Likewise.
3384 (i386_insert_aligned_watchpoint): Likewise.
3385 (i386_remove_aligned_watchpoint): Likewise.
3386 (i386_handle_nonaligned_watchpoint): Likewise.
3387 (i386_update_inferior_debug_regs): Likewise.
3388 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3389 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3390 (i386_region_ok_for_watchpoint):
3391 Use i386_dr_region_ok_for_watchpoint.
3392 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3393
3394 2014-06-19 Gary Benson <gbenson@redhat.com>
3395
3396 * i386-nat.c (i386_insert_hw_breakpoint): Use
3397 i386_insert_watchpoint.
3398 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3399
3400 2014-06-19 Gary Benson <gbenson@redhat.com>
3401
3402 * i386-nat.c (i386_dr_show): Renamed to
3403 i386_show_dr and made static. All uses updated.
3404 (i386_dr_length_and_rw_bits): Renamed to
3405 i386_length_and_rw_bits and made static.
3406 All uses updated.
3407 (i386_dr_insert_aligned_watchpoint): Renamed to
3408 i386_insert_aligned_watchpoint and made static.
3409 All uses updated.
3410 (i386_dr_remove_aligned_watchpoint): Renamed to
3411 i386_remove_aligned_watchpoint and made static.
3412 All uses updated.
3413 (i386_dr_update_inferior_debug_regs): Renamed to
3414 i386_update_inferior_debug_regs and made static.
3415 All uses updated.
3416 * nat/i386-dregs.h (i386_dr_show): Removed.
3417 (i386_dr_length_and_rw_bits): Likewise.
3418 (i386_dr_insert_aligned_watchpoint): Likewise.
3419 (i386_dr_remove_aligned_watchpoint): Likewise.
3420 (i386_dr_update_inferior_debug_regs): Likewise.
3421
3422 2014-06-19 Gary Benson <gbenson@redhat.com>
3423
3424 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3425 * configure: Regenerate.
3426 * config.in: Likewise.
3427 * main.c (signal.h): New include.
3428 (setup_alternate_signal_stack): New function.
3429 (captured_main): Call the above.
3430 * cp-support.c (signal.h): New include.
3431 (catch_demangler_crashes): New flag.
3432 (SIGJMP_BUF): New define.
3433 (SIGSETJMP): Likewise.
3434 (SIGLONGJMP): Likewise.
3435 (gdb_demangle_jmp_buf): New static global.
3436 (gdb_demangle_attempt_core_dump): Likewise.
3437 (gdb_demangle_signal_handler): New function.
3438 (gdb_demangle): If catch_demangler_crashes is set, install the
3439 above signal handler before calling bfd_demangle, and restore
3440 the original signal handler afterwards. Display the offending
3441 symbol and call demangler_warning the first time a segmentation
3442 fault is caught.
3443 (_initialize_cp_support): New maint set/show command.
3444
3445 2014-06-19 Gary Benson <gbenson@redhat.com>
3446
3447 * utils.h (resource_limit_kind): New enum.
3448 (can_dump_core): New declaration.
3449 (warn_cant_dump_core): Likewise.
3450 (dump_core): Likewise.
3451 * utils.c (dump_core): Made nonstatic. Added new
3452 parameter "limit_kind".
3453 (can_dump_core): Made nonstatic. Moved printing code to...
3454 (warn_cant_dump_core): New function.
3455 (can_dump_core_warn): Likewise.
3456 (internal_vproblem): Replace calls to can_dump_core with
3457 calls to can_dump_core_warn. Supply new argument to each.
3458
3459 2014-06-19 Gary Benson <gbenson@redhat.com>
3460
3461 * utils.h (demangler_vwarning): New declaration.
3462 (demangler_warning): Likewise.
3463 * utils.c (struct internal_problem)
3464 <user_settable_should_quit>: New field.
3465 <user_settable_should_dump_core>: Likewise
3466 (internal_error_problem): Add values for above new fields.
3467 (internal_warning_problem): Likewise.
3468 (demangler_warning_problem): New static global.
3469 (demangler_vwarning): New function.
3470 (demangler_warning): Likewise.
3471 (add_internal_problem_command): Selectively add commands.
3472 (_initialize_utils): New internal problem command.
3473 * maint.c (maintenance_demangler_warning): New function.
3474 (_initialize_maint_cmds): New command.
3475
3476 2014-06-18 Tom Tromey <tromey@redhat.com>
3477
3478 * f-valprint.c (info_common_command_for_block): Update.
3479 * symtab.h (struct general_symbol_info) <common_block>: Now
3480 const.
3481
3482 2014-06-18 Tom Tromey <tromey@redhat.com>
3483
3484 * symtab.h (struct symtab) <blockvector>: Now const.
3485 * ada-lang.c (ada_add_global_exceptions): Update.
3486 * buildsym.c (augment_type_symtab): Update.
3487 * dwarf2read.c (dw2_lookup_symbol): Update.
3488 * jit.c (finalize_symtab): Update.
3489 * jv-lang.c (add_class_symtab_symbol): Update.
3490 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3491 Update.
3492 * objfiles.c (objfile_relocate1): Update.
3493 * psymtab.c (lookup_symbol_aux_psymtabs)
3494 (maintenance_check_psymtabs): Update.
3495 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3496 Update.
3497 * spu-tdep.c (spu_catch_start): Update.
3498 * symmisc.c (dump_symtab_1): Update.
3499 * symtab.c (lookup_global_symbol_from_objfile)
3500 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3501 (basic_lookup_transparent_type_quick)
3502 (basic_lookup_transparent_type, find_pc_sect_symtab)
3503 (find_pc_sect_line, search_symbols): Update.
3504 * block.c (find_block_in_blockvector): Make "bl" const.
3505 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3506 const.
3507 (blockvector_contains_pc): Make "bv" const.
3508 (block_for_pc_sect): Update.
3509 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3510 (blockvector_contains_pc): Update.
3511 * breakpoint.c (resolve_sal_pc): Update.
3512 * inline-frame.c (block_starting_point_at): Update.
3513
3514 2014-06-18 Tom Tromey <tromey@redhat.com>
3515
3516 * completer.c (complete_line): Make "line_buffer" const.
3517 * completer.h (complete_line): Update.
3518
3519 2014-06-18 Tom Tromey <tromey@redhat.com>
3520
3521 * symtab.c (add_macro_name): Remove unneeded cast.
3522
3523 2014-06-18 Tom Tromey <tromey@redhat.com>
3524
3525 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3526 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3527
3528 2014-06-18 Tom Tromey <tromey@redhat.com>
3529
3530 * probe.c (info_probes_for_ops): Make "arg" const.
3531 * probe.h (info_probes_for_ops): Update.
3532
3533 2014-06-18 Tom Tromey <tromey@redhat.com>
3534
3535 * varobj.c (varobj_create): Update.
3536 * valops.c (value_of_this): Update.
3537 * tracepoint.c (add_local_symbols, scope_info): Update.
3538 * symtab.h (struct general_symbol_info) <block>: Now const.
3539 * symtab.c (skip_prologue_sal)
3540 (default_make_symbol_completion_list_break_on)
3541 (skip_prologue_using_sal): Update.
3542 * stack.h (iterate_over_block_locals)
3543 (iterate_over_block_local_vars): Update.
3544 * stack.c (print_frame_args): Update.
3545 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3546 parameter const.
3547 (get_selected_block): Make return type const.
3548 * python/py-frame.c (frapy_block): Update.
3549 * python/py-block.c (gdbpy_block_for_pc): Update.
3550 * p-exp.y (%union) <bval>: Now const.
3551 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3552 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3553 * m2-exp.y (%union) <bval>: Now const.
3554 * linespec.c (get_current_search_block): Make return type const.
3555 (create_sals_line_offset, find_label_symbols): Update.
3556 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3557 Update.
3558 (block_starting_point_at): Make "block" const.
3559 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3560 (check_exception_resume): Update.
3561 * guile/scm-frame.c (gdbscm_frame_block): Update.
3562 * guile/scm-block.c (gdbscm_lookup_block): Update.
3563 * frame.h (get_frame_block): Update.
3564 (get_selected_block): Make return type const.
3565 * frame.c (frame_id_inner): Update.
3566 * f-valprint.c (info_common_command_for_block)
3567 (info_common_command): Update.
3568 * dwarf2loc.c (dwarf2_find_location_expression)
3569 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3570 (locexpr_describe_location_piece): Update.
3571 * c-exp.y (%union) <bval>: Now const.
3572 * breakpoint.c (resolve_sal_pc): Update.
3573 * blockframe.c (get_frame_block):Make return type const.
3574 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3575 (block_innermost_frame): Update.
3576 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3577 (block_for_pc, block_for_pc_sect): Update.
3578 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3579 'pblock' const.
3580 (block_for_pc_sect, block_for_pc): Make return type const.
3581 * ax-gdb.c (gen_expr): Update.
3582 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3583 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3584 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3585 (ada_read_var_value): Update.
3586 * ada-exp.y (struct name_info) <block>: Now const.
3587 (%union): Likewise.
3588 (block_lookup): Constify.
3589
3590 2014-06-18 Gary Benson <gbenson@redhat.com>
3591
3592 * nat/i386-dregs.h: New file.
3593 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3594 * i386-nat.h (i386-dregs.h): New include.
3595 (DR_FIRSTADDR): Now in i386-dregs.h.
3596 (DR_LASTADDR): Likewise.
3597 (DR_NADDR): Likewise.
3598 (DR_STATUS): Likewise.
3599 (DR_CONTROL): Likewise.
3600 (i386_debug_reg_state): Likewise.
3601 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3602
3603 2014-06-18 Don Breazeal <donb@codesourcery.com>
3604
3605 * breakpoint.c (set_longjmp_breakpoint): Call
3606 momentary_breakpoint_from_master with additional argument.
3607 (set_longjmp_breakpoint_for_call_dummy): Call
3608 momentary_breakpoint_from_master with additional argument.
3609 (set_std_terminate_breakpoint): Call
3610 momentary_breakpoint_from_master with additional argument.
3611 (momentary_breakpoint_from_master): Add argument to function
3612 definition and use it to initialize structure member flag.
3613 (clone_momentary_breakpoint): Call
3614 momentary_breakpoint_from_master with additional argument.
3615 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3616 member flags set in momentary_breakpoint_from_master.
3617
3618 2014-06-18 Gary Benson <gbenson@redhat.com>
3619
3620 * i386-nat.c (i386_show_dr): Renamed to
3621 i386_dr_show and made nonstatic. All uses updated.
3622 (i386_length_and_rw_bits): Renamed to
3623 i386_dr_length_and_rw_bits and made nonstatic.
3624 All uses updated.
3625 (i386_insert_aligned_watchpoint): Renamed to
3626 i386_dr_insert_aligned_watchpoint and made nonstatic.
3627 All uses updated.
3628 (i386_remove_aligned_watchpoint): Renamed to
3629 i386_dr_remove_aligned_watchpoint and made nonstatic.
3630 All uses updated.
3631 (i386_update_inferior_debug_regs): Renamed to
3632 i386_dr_update_inferior_debug_regs and made nonstatic.
3633 All uses updated.
3634
3635 2014-06-18 Gary Benson <gbenson@redhat.com>
3636
3637 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3638 (i386_dr_low_can_set_control): Likewise.
3639 (i386_dr_low_set_addr): Likewise.
3640 (i386_dr_low_set_control): Likewise.
3641 (i386_dr_low_get_addr): Likewise.
3642 (i386_dr_low_get_status): Likewise.
3643 (i386_dr_low_get_control): Likewise.
3644 (i386_insert_aligned_watchpoint): Use new macros.
3645 (i386_update_inferior_debug_regs): Likewise.
3646 (i386_stopped_data_address): Likewise.
3647
3648 2014-06-18 Gary Benson <gbenson@redhat.com>
3649
3650 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3651 New parameter. All uses updated.
3652
3653 2014-06-18 Gary Benson <gbenson@redhat.com>
3654
3655 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3656 All uses updated.
3657
3658 2014-06-18 Gary Benson <gbenson@redhat.com>
3659
3660 * i386-nat.c (debug_printf): New macro.
3661 (i386_get_debug_register_length): Likewise.
3662 (TARGET_HAS_DR_LEN_8): Use above macro.
3663 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3664 and printf_unfiltered. Use phex to format values.
3665
3666 2014-06-18 Gary Benson <gbenson@redhat.com>
3667
3668 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3669 Make const.
3670
3671 2014-06-18 Gary Benson <gbenson@redhat.com>
3672
3673 * i386-nat.c: Comment changes.
3674
3675 2014-06-18 Gary Benson <gbenson@redhat.com>
3676
3677 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3678
3679 2014-06-18 Gary Benson <gbenson@redhat.com>
3680
3681 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3682 (i386_insert_aligned_watchpoint): Likewise.
3683 (i386_remove_aligned_watchpoint): Likewise.
3684 (i386_handle_nonaligned_watchpoint): Likewise.
3685
3686 2014-06-18 Gary Benson <gbenson@redhat.com>
3687
3688 * i386-nat.c: Whitespace changes.
3689
3690 2014-06-17 Samuel Bronson <naesten@gmail.com>
3691
3692 * MAINTAINERS: Update Roland McGrath's email address.
3693 Thanks to Sergio Durigan Junior for pointing out that he left
3694 Red Hat a while ago, and giving me a current address.
3695
3696 2014-06-17 Tom Tromey <tromey@redhat.com>
3697
3698 * utils.h (savestring): Remove declaration.
3699
3700 2014-06-17 Tom Tromey <tromey@redhat.com>
3701
3702 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3703
3704 2014-06-16 Keith Seitz <keiths@redhat.com>
3705
3706 PR mi/15863
3707 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3708 to update the varobj if inferior_ptid is null_ptid.
3709
3710 2014-06-16 Tom Tromey <tromey@redhat.com>
3711
3712 * target.h (struct target_ops) <to_info_proc>: Make parameter
3713 const.
3714 (target_info_proc): Update.
3715 * target.c (target_info_proc): Make "args" const.
3716 * procfs.c (procfs_info_proc): Update.
3717 * linux-tdep.c (linux_info_proc): Update.
3718 (linux_core_info_proc_mappings): Make "args" const.
3719 (linux_core_info_proc): Update.
3720 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3721 * gdbarch.c: Rebuild.
3722 * gdbarch.h: Rebuild.
3723 * corelow.c (core_info_proc): Update.
3724
3725 2014-06-16 Tom Tromey <tromey@redhat.com>
3726
3727 * target.h (struct target_ops) <to_disconnect>: Make parameter
3728 const.
3729 (target_disconnect): Update.
3730 * target.c (target_disconnect): Make "args" const.
3731 * target-delegates.c: Rebuild.
3732 * remote.c (remote_disconnect): Update.
3733 * record.h (record_disconnect): Update.
3734 * record.c (record_disconnect): Update.
3735 * inf-child.c (inf_child_disconnect): Update.
3736
3737 2014-06-16 Tom Tromey <tromey@redhat.com>
3738
3739 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3740 * target.c (debug_to_rcmd, default_rcmd): Update.
3741 * target-delegates.c: Rebuild.
3742 * remote.c (remote_rcmd): Update.
3743 * monitor.c (monitor_rcmd): Update.
3744
3745 2014-06-16 Pedro Alves <palves@redhat.com>
3746
3747 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3748 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3749 have OBJF_SHARED set.
3750 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3751 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3752 instead of OBJF_USERLOADED.
3753 * objfiles.h (OBJF_SHARED): Update comment.
3754 (userloaded_objfile_contains_address_p): Rename to ...
3755 (shared_objfile_contains_address_p): ... this, and update
3756 comments.
3757 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3758 new objfile.
3759 (remove_symbol_file_command): Skip objfiles that don't have
3760 OBJF_SHARED set.
3761
3762 2014-06-16 Tom Tromey <tromey@redhat.com>
3763
3764 * minsyms.h (prim_record_minimal_symbol)
3765 (prim_record_minimal_symbol_and_info): Update comments.
3766
3767 2014-06-14 Eli Zaretskii <eliz@gnu.org>
3768
3769 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3770 or --without-guile, according to how GDB was built.
3771
3772 2014-06-13 Tom Tromey <tromey@redhat.com>
3773
3774 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3775 to help_list.
3776 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3777 to help_list.
3778 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3779 help_list.
3780 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3781 help_list.Pass all_commands, not -1, to help_list.
3782 * cli/cli-dump.c (dump_command, append_command)
3783 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3784 (binary_dump_command, binary_append_command): Pass all_commands,
3785 not -1, to help_list.
3786 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3787 -1, to help_list.
3788 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3789 -1, to help_list.
3790 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3791 help_list.
3792 * top.c (set_history): Pass all_commands, not -1, to help_list.
3793 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3794 all_commands, not -1, to help_list.
3795 * symfile.c (overlay_command): Pass all_commands, not -1, to
3796 help_list.
3797 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3798 help_list.
3799 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3800 help_list.
3801 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3802 -1, to help_list.
3803 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3804 not -1, to help_list.
3805 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3806 not -1, to help_list.
3807 * maint.c (maintenance_command, maintenance_info_command)
3808 (maintenance_print_command, maintenance_set_cmd): Pass
3809 all_commands, not -1, to help_list.
3810 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3811 help_list.
3812 * language.c (set_check): Pass all_commands, not -1, to help_list.
3813 * infcmd.c (unset_command): Pass all_commands, not -1, to
3814 help_list.
3815 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3816 help_list.
3817 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3818 help_list.
3819 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3820 help_list.
3821 * breakpoint.c (save_command): Pass all_commands, not -1, to
3822 help_list.
3823 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3824 all_commands, not -1, to help_list.
3825
3826 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3827
3828 * regcache.c (struct register_to_invalidate): New structure.
3829 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3830 functions.
3831 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3832
3833 2014-06-12 Yao Qi <yao@codesourcery.com>
3834
3835 * varobj.c (varobj_get_num_children): Call
3836 varobj_is_dynamic_p.
3837 (varobj_list_children): Likewise.
3838 (varobj_update): Likewise. Update comments.
3839
3840 2014-06-12 Yao Qi <yao@codesourcery.com>
3841
3842 * varobj.c (varobj_pretty_printed_p): Rename to ...
3843 (varobj_is_dynamic_p): ... this. New function.
3844 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3845 (varobj_is_dynamic_p): Declare.
3846 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3847 (mi_print_value_p, varobj_update_one): Likewise.
3848
3849 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3850 Yao Qi <yao@codesourcery.com>
3851
3852 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3853 (varobj_get_iterator): Wrap up code for pretty-printer by
3854 "#if HAVE_PYTHON" and "#endif".
3855 (update_dynamic_varobj_children): Likewise.
3856
3857 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3858 Yao Qi <yao@codesourcery.com>
3859
3860 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3861 gdb_python_initialized is false. Move some code from varobj.c.
3862 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3863 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3864 (struct varobj_item): Moved to varobj-iter.h".
3865 (varobj_clear_saved_item): New function.
3866 (update_dynamic_varobj_children): Move python-related code to
3867 py-varobj.c.
3868 (free_variable): Call varobj_clear_saved_item and
3869 varobj_iter_delete.
3870
3871 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3872 Yao Qi <yao@codesourcery.com>
3873
3874 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3875 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3876 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3877 (py-varobj.o): New rule.
3878 * python/py-varobj.c: New file.
3879 * python/python-internal.h (py_varobj_get_iterator): Declare.
3880 * varobj-iter.h: New file.
3881 * varobj.c: Include "varobj-iter.h"
3882 (struct varobj) <child_iter>: Change its type from "PyObject *"
3883 to "struct varobj_iter *".
3884 <saved_item>: Likewise.
3885 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3886 [HAVE_PYTHON] (varobj_get_iterator): New function.
3887 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3888 python-specific code to python/py-varobj.c.
3889 (install_visualizer): Call varobj_iter_delete instead of
3890 Py_XDECREF.
3891 * varobj.h (varobj_ensure_python_env): Declare.
3892
3893 2014-06-12 Yao Qi <yao@codesourcery.com>
3894
3895 * varobj.c (struct varobj_item): New structure.
3896 (create_child_with_value): Update declaration.
3897 (varobj_add_child): Replace arguments 'name' and 'value' with
3898 'item'. All callers updated.
3899 (install_dynamic_child): Likewise.
3900 (update_dynamic_varobj_children): Likewise.
3901 (varobj_add_child): Likewise.
3902 (create_child_with_value): Likewise.
3903
3904 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3905
3906 * NEWS: Create a new section for the next release branch.
3907 Rename the section of the current branch, now that it has
3908 been cut.
3909
3910 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3911
3912 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3913 * version.in: Bump version to 7.8.50.DATE-cvs.
3914
3915 2014-06-11 Pedro Alves <palves@redhat.com>
3916
3917 PR remote/17028
3918 * ser-mingw.c (net_windows_socket_check_pending): New function.
3919 (net_windows_select_thread): Ignore spurious wakeups. Use
3920 net_windows_socket_check_pending.
3921 (net_windows_wait_handle): Check for pending events with
3922 ioctlsocket, through net_windows_socket_check_pending, instead of
3923 checking the socket's event.
3924
3925 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3926
3927 * python/python-internal.h (gdb_PyObject_GetAttrString)
3928 (gdb_PyObject_HasAttrString): New inline function definitions.
3929 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3930 char * of the second argument to PyObject_GetAttrString.
3931
3932 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3933
3934 * serial.c (serial_write): Fix index of character to be printed
3935 in call to serial_logchar when serial debug traces are enabled.
3936
3937 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3938
3939 * gdbtypes (resolve_dynamic_range): Add function description.
3940
3941 2014-06-09 Pedro Alves <palves@redhat.com>
3942
3943 * linux-nat.c (linux_child_follow_fork): Initialize status with
3944 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3945 inner block. Only pass the signal to PTRACE_DETACH if in pass
3946 state.
3947
3948 2014-06-09 Gary Benson <gbenson@redhat.com>
3949
3950 * common/signals.c (gdb_signal_from_host): Reorder to separate
3951 the always-available ANSI-standard signals from the signals that
3952 require checking.
3953 (do_gdb_signal_to_host): Likewise.
3954 * proc-events.c (signal_table): Likewise.
3955
3956 2014-06-08 Hui Zhu <hui@codesourcery.com>
3957
3958 * common/linux-ptrace.c (linux_disable_event_reporting): New
3959 function.
3960 * common/linux-ptrace.h (linux_disable_event_reporting): New
3961 declaration.
3962 * linux-nat.c (linux_child_follow_fork): Do a single step before
3963 detach.
3964
3965 2014-06-07 Keith Seitz <keiths@redhat.com>
3966
3967 Revert:
3968 PR c++/16253
3969 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3970 from symbol_matches_domain in symtab.c. All local callers
3971 of symbol_matches_domain updated.
3972 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3973 search STRUCT_DOMAIN.
3974 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3975 independently. standard_lookup will do that automatically.
3976 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3977 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3978 (cp_lookup_symbol_in_namespace): Likewise.
3979 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3980 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3981 may return a STRUCT_DOMAIN match.
3982 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3983 * cp-support.c: Include language.h.
3984 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3985 VAR_DOMAIN.
3986 * psymtab.c (match_partial_symbol): Compare the requested
3987 domain with the symbol's domain directly.
3988 (lookup_partial_symbol): Likewise.
3989 * symtab.c (lookup_symbol_in_language): Explain when/why
3990 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3991 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3992 appropriate languages.
3993 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3994 and moved to ada-lang.c
3995 (lookup_block_symbol): Explain that this function only returns
3996 symbol matching the requested DOMAIN.
3997 Compare the requested domain with the symbol's domain directly.
3998 (iterate_over_symbols): Compare the requested domain with the
3999 symbol's domain directly.
4000 * symtab.h (symbol_matches_domain): Remove.
4001
4002 2014-06-06 Doug Evans <xdje42@gmail.com>
4003
4004 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4005 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4006 (gdbscm_guile_version_is_at_least): Declare.
4007 (gdbscm_scm_string_to_int): Declare.
4008 * guile/guile.c (gdbscm_guile_major_version): New global.
4009 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4010 (guile_datadir): New static global.
4011 (gdbscm_guile_data_directory): New function.
4012 (initialize_scheme_side): Update.
4013 (misc_guile_functions): Add guile-data-directory.
4014 (initialize_gdb_module): Fetch guile version number.
4015 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4016 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4017 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4018 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4019 comments.
4020 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4021 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4022 * guile/scm-value.c (gdbscm_value_to_string): Only call
4023 scm_port_conversion_strategy if Guile version >= 2.0.6.
4024
4025 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4026
4027 * main.c (print_gdb_help): Add -q and --silent.
4028
4029 2014-06-06 Gary Benson <gbenson@redhat.com>
4030
4031 * common/signals.c: Remove preprocessor conditionals for
4032 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4033 SIGSEGV and SIGTERM.
4034 * proc-events.c: Likewise.
4035
4036 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4037
4038 * symfile.c (symfile_free_objfile): Remove restriction to
4039 OBJF_USERLOADED.
4040 * symfile-mem.c (symbol_file_add_from_memory): Call
4041 add_target_sections_of_objfile.
4042
4043 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4044
4045 * guile/scm-value.c (gdbscm_history_append_x): Use
4046 'vlscm_get_value_smob_arg_unsafe' instead of
4047 'vlscm_scm_to_value'.
4048
4049 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4050
4051 PR mi/15806
4052 * utils.c (printchar): Don't escape at all if quoter is NUL.
4053 Update function documentation to clarify effect of parameter
4054 QUOTER.
4055 * remote.c (escape_buffer): Pass '\\' as the quoter to
4056 fputstrn_unfiltered.
4057 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4058 generate the output.
4059 (mi_solib_unloaded): Same.
4060
4061 2014-06-05 Joel Brobecker <brobecker@adacore.com>
4062
4063 * development.sh: Delete.
4064 * Makefile.in (config.status): Adjust dependency on development.sh.
4065 * configure.ac: Adjust development.sh source call.
4066 * configure: Regenerate.
4067
4068 2014-06-04 Doug Evans <xdje42@gmail.com>
4069
4070 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4071 is_scheme_bkpt, spec.
4072 (bpscm_make_breakpoint_smob): Initialize new members.
4073 (gdbscm_create_breakpoint_x): Split into two ...
4074 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4075 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4076 (scheme_function breakpoint_functions): Update.
4077 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4078 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4079 register-breakpoint!.
4080
4081 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
4082
4083 PR server/17023
4084 * mem-break.c (z_type_supported): Return zero if
4085 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4086
4087 2014-06-04 Tom Tromey <tromey@redhat.com>
4088
4089 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4090 value_from_contents_and_address_unresolved.
4091 (ada_template_to_fixed_record_type_1): Likewise.
4092 (ada_which_variant_applies): Likewise.
4093 * value.h (value_from_contents_and_address_unresolved): Declare.
4094 * value.c (value_from_contents_and_address_unresolved): New
4095 function.
4096 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4097 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4098 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4099
4100 2014-06-04 Tom Tromey <tromey@redhat.com>
4101
4102 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4103
4104 2014-06-04 Tom Tromey <tromey@redhat.com>
4105
4106 * procfs.c (procfs_attach): Make "args" const.
4107 * windows-nat.c (windows_attach): Make "args" const.
4108 * nto-procfs.c (procfs_attach): Make "args" const.
4109 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4110 * go32-nat.c (go32_attach): Make "args" const.
4111 * gnu-nat.c (gnu_attach): Make "args" const.
4112 * darwin-nat.c (darwin_attach): Make "args" const.
4113 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4114 * linux-nat.c (linux_nat_attach): Make "args" const.
4115 * remote.c (extended_remote_attach_1, extended_remote_attach):
4116 Make "args" const.
4117 * target.h (struct target_ops) <to_attach>: Make "args" const.
4118 (find_default_attach): Likewise.
4119 * utils.c (parse_pid_to_attach): Make "args" const.
4120 * utils.h (parse_pid_to_attach): Update.
4121
4122 2014-06-04 Tom Tromey <tromey@redhat.com>
4123
4124 * target-delegates.c: Rebuild.
4125 * target.c (default_thread_address_space): New function.
4126 (target_thread_address_space): Simplify.
4127 * target.h (struct target_ops) <to_thread_address_space>: Add
4128 TARGET_DEFAULT_FUNC.
4129
4130 2014-06-04 Doug Evans <xdje42@gmail.com>
4131
4132 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4133
4134 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4135
4136 * record-btrace.c: Include event-loop.h and inf-loop.h.
4137 (record_btrace_resume_exec_dir)
4138 (record_btrace_async_inferior_event_handler)
4139 (record_btrace_handle_async_inferior_event): New.
4140 (record_btrace_open): Create async event handler.
4141 (record_btrace_close): Delete async event handler.
4142 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4143 Mark async event handler.
4144 (record_btrace_execution_direction): New.
4145 (init_record_btrace_ops): Initialize to_execution_direction.
4146
4147 2014-06-03 Doug Evans <xdje42@gmail.com>
4148
4149 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4150 (gdbscm_make_parameter): Ditto.
4151
4152 2014-06-03 Doug Evans <dje@google.com>
4153
4154 * exec.c (exec_close_1): Call clear_section_table instead of
4155 resize_section_table.
4156 (clear_section_table): New function.
4157 (resize_section_table): Make static. Rename arg num_added to
4158 adjustment.
4159 * exec.h (clear_section_table): Declare.
4160 (resize_section_table): Delete.
4161 * progspace.c (release_program_space): Call clear_section_table
4162 instead of resize_section_table.
4163
4164 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4165
4166 * NEWS (Python Scripting): Add entry about the new xmethods
4167 feature.
4168
4169 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4170
4171 * python/py-xmethods.c: New file.
4172 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4173 (objfpy_dealloc): XDECREF on the new xmethods field.
4174 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4175 field.
4176 (objfpy_get_xmethods): New function.
4177 (objfile_getset): New entry 'xmethods'.
4178 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4179 (pspy_dealloc): XDECREF on the new xmethods field.
4180 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4181 field.
4182 (pspy_get_xmethods): New function.
4183 (pspace_getset): New entry 'xmethods'.
4184 * python/python-internal.h: Add declarations for new functions.
4185 * python/python.c (_initialize_python): Invoke
4186 gdbpy_initialize_xmethods.
4187 * python/lib/gdb/__init__.py (xmethods): New
4188 attribute.
4189 * python/lib/gdb/xmethod.py: New file.
4190 * python/lib/gdb/command/xmethods.py: New file.
4191
4192 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4193
4194 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4195 best match method returned by find_overload_match is an xmethod.
4196 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4197 the best matching operator returned by find_overload_match is an
4198 xmethod.
4199 * valops.c: #include "extension.h".
4200 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4201 Return void. The list of matching source methods is returned in
4202 "fn_list" and a vector of matching debug method workers is
4203 returned in "xm_worker_vec". Update all callers.
4204 (value_find_oload_method_list): Likewise.
4205 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4206 non-NULL, then the index of the best matching method in this
4207 vector is returned. Update all callers.
4208 (find_overload_match): Include xmethods while performing overload
4209 resolution.
4210
4211 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4212
4213 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4214 * extension-priv.h (struct extension_language_ops): Add the
4215 xmethod interface.
4216 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4217 get_matching_xmethod_workers, get_xmethod_argtypes,
4218 invoke_xmethod, free_xmethod_worker,
4219 free_xmethod_worker_vec): New functions.
4220 * extension.h: #include "common/vec.h".
4221 New function declarations.
4222 (struct xmethod_worker): New struct.
4223 (VEC (xmethod_worker_ptr)): New vector type.
4224 (xmethod_worker_ptr): New typedef.
4225 (xmethod_worker_vec): Likewise.
4226 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4227 builtin_type.
4228 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4229 (struct builtin_type): New field "xmethod".
4230 * valarith.c (value_ptradd): Assert that the value argument is not
4231 lval_xcallable.
4232 * valops.c (value_must_coerce_to_target): Return 0 for
4233 lval_xcallable values.
4234 * value.c (struct value): New field XM_WORKER in the field
4235 LOCATION.
4236 (value_address, value_raw_address): Return 0 for lval_xcallable
4237 values.
4238 (set_value_address): Assert that the value is not an
4239 lval_xcallable.
4240 (value_free): Free the associated xmethod worker when freeing
4241 lval_xcallable values.
4242 (set_value_component_location): Assert that the WHOLE value is not
4243 lval_xcallable.
4244 (value_of_xmethod, call_xmethod): New functions.
4245 * value.h: Declare "struct xmethod_worker".
4246 Declare new functions value_of_xmethod, call_xmethod.
4247
4248 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4249 Pedro Alves <palves@redhat.com>
4250
4251 PR breakpoints/17000
4252 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4253 New function, extracted from software_breakpoint_inserted_here_p.
4254 (software_breakpoint_inserted_here_p): Replace factored out code
4255 by call to find_non_raw_software_breakpoint_inserted_here.
4256 (bp_target_info_copy_insertion_state): New function.
4257 (bkpt_insert_location): Handle the case of a single-step
4258 breakpoint already inserted at the same address.
4259 (bkpt_remove_location): Handle the case of a single-step
4260 breakpoint still inserted at the same address.
4261 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4262 breakpoint already inserted at the same address.
4263 (deprecated_remove_raw_breakpoint): Handle the case of a
4264 non-raw breakpoint still inserted at the same address.
4265 (find_single_step_breakpoint): New function, extracted from
4266 single_step_breakpoint_inserted_here_p.
4267 (find_single_step_breakpoint): New function,
4268 factored out from single_step_breakpoint_inserted_here_p.
4269 (single_step_breakpoint_inserted_here_p): Reimplement.
4270
4271 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4272
4273 Pushed by Joel Brobecker <brobecker@adacore.com>
4274 * source.c (show_substitute_path_command): Fix display of matching
4275 substitution rules.
4276
4277 2014-06-03 Gary Benson <gbenson@redhat.com>
4278
4279 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4280
4281 2014-06-02 Doug Evans <xdje42@gmail.com>
4282
4283 Add parameter support for Guile.
4284 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4285 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4286 (scm-param.o): New rule.
4287 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4288 (gdbscm_misc_error): Declare.
4289 (gdbscm_canonicalize_command_name): Declare.
4290 (gdbscm_scm_to_host_string): Declare.
4291 (gdbscm_scm_from_host_string): Declare.
4292 (gdbscm_initialize_parameters): Declare.
4293 * guile/guile.c (initialize_gdb_module): Call
4294 gdbscm_initialize_parameters.
4295 * guile/lib/gdb.scm: Export parameter symbols.
4296 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4297 cmdscm_canonicalize_name and made public. All callers updated.
4298 * guile/scm-exception.c (gdbscm_misc_error): New function.
4299 * guile/scm-param.c: New file.
4300 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4301 (gdbscm_scm_to_host_string): New function.
4302 (gdbscm_scm_from_host_string): New function.
4303 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4304
4305 2014-06-02 Doug Evans <xdje42@gmail.com>
4306
4307 Add command support for Guile.
4308 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4309 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4310 (scm-cmd.o): New rule.
4311 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4312 (gdbscm_user_error_p): Declare.
4313 (gdbscm_parse_command_name): Declare.
4314 (gdbscm_valid_command_class_p): Declare.
4315 (gdbscm_initialize_commands): Declare.
4316 * guile/guile.c (initialize_gdb_module): Call
4317 gdbscm_initialize_commands.
4318 * guile/lib/gdb.scm: Export command symbols.
4319 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4320 (throw-user-error): New function.
4321 * guile/scm-cmd.c: New file.
4322 * guile/scm-exception.c (user_error_symbol): New static global.
4323 (gdbscm_user_error_p): New function.
4324 (gdbscm_initialize_exceptions): Set user_error_symbol.
4325 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4326
4327 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4328
4329 * top.c (command_loop): Handle comments here...
4330 (command_line_input): ... not here.
4331
4332 2014-06-02 Doug Evans <xdje42@gmail.com>
4333
4334 Add progspace support for Guile.
4335 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4336 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4337 (scm-progspace.o): New rule.
4338 * guile/guile-internal.h (pspace_smob): New typedef.
4339 (psscm_pspace_smob_pretty_printers): Declare.
4340 (psscm_pspace_smob_from_pspace): Declare.
4341 (psscm_scm_from_pspace): Declare.
4342 * guile/guile.c (initialize_gdb_module): Call
4343 gdbscm_initialize_pspaces.
4344 * guile/lib/gdb.scm: Export progspace symbols.
4345 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4346 support.
4347 (append-pretty-printer!): Ditto.
4348 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4349 Implement.
4350 * guile/scm-progspace.c: New file.
4351
4352 2014-06-03 Alan Modra <amodra@gmail.com>
4353
4354 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4355 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4356
4357 2014-06-02 Doug Evans <dje@google.com>
4358
4359 Add support for skeletonless type units.
4360 * dwarf2read.c (struct dwarf2_per_objfile): New member
4361 n_allocated_type_units.
4362 (struct dwarf2_per_objfile) <tu_stats>: New member
4363 nr_all_type_units_reallocs.
4364 (create_signatured_type_table_from_index): Initialize
4365 n_allocated_type_units
4366 (create_all_type_units): Ditto.
4367 (add_type_unit): Move up in file. New arg slot.
4368 All callers updated. Increase space for all_type_units more
4369 efficiently.
4370 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4371 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4372 (lookup_dwp_signatured_type): Ditto.
4373 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4374 All callers updated.
4375 (build_type_psymtabs_1): Leave type_unit_groups as
4376 NULL if no TUs present.
4377 (print_tu_stats): New function.
4378 (process_skeletonless_type_unit): New function.
4379 (process_dwo_file_for_skeletonless_type_units): New
4380 function.
4381 (process_skeletonless_type_units): New function.
4382 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4383 Call print tu_stats if debugging enabled.
4384
4385 2014-06-02 Pedro Alves <palves@redhat.com>
4386
4387 * breakpoint.c (build_target_command_list): Don't build a command
4388 list if we have any duplicate location that isn't a dprintf.
4389
4390 2014-06-02 Pedro Alves <palves@redhat.com>
4391
4392 * breakpoint.c (dprintf_breakpoint_hit): New function.
4393 (initialize_breakpoint_ops): Install it as dprintf's
4394 breakpoint_hit method.
4395
4396 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4397
4398 * source.c (substitute_path_rule_matches): Simplify using
4399 filename_ncmp instead of FILENAME_CMP.
4400
4401 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4402
4403 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4404
4405 2014-06-01 Ludovic Courtès <ludo@gnu.org>
4406
4407 * configure.ac: When Guile is available, check for the
4408 availability of 'scm_new_smob'.
4409 * configure, config.h.in: Regenerate.
4410 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4411 function.
4412
4413 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4414
4415 * frame.c (struct frame_info): Add stop_string field.
4416 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4417 (get_prev_frame_always): Old content moved into
4418 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4419 TRY_CATCH, handle MEMORY_ERROR exceptions.
4420 (frame_stop_reason_string): New function definition.
4421 * frame.h (unwind_stop_reason_to_string): Extend comment to
4422 mention frame_stop_reason_string.
4423 (frame_stop_reason_string): New function declaration.
4424 * stack.c (frame_info): Switch to frame_stop_reason_string.
4425 (backtrace_command_1): Switch to frame_stop_reason_string.
4426 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4427 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4428 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4429
4430 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4431
4432 * frame.c (frame_stop_reason_string): Rename to ...
4433 (unwind_stop_reason_to_string): this.
4434 * frame.h (frame_stop_reason_string): Rename to ...
4435 (unwind_stop_reason_to_string): this.
4436 * stack.c (frame_info): Update call to frame_stop_reason_string.
4437 (backtrace_command_1): Likewise.
4438 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4439 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4440
4441 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4442
4443 * frame.c (remove_prev_frame): New function.
4444 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4445 remove_prev_frame.
4446
4447 2014-05-29 Pedro Alves <palves@redhat.com>
4448
4449 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4450 and make it const. When a single-step decays to a continue,
4451 clear 'step', not 'hw_step'. Pass whether the caller wanted
4452 to step to user_visible_resume_ptid, not what we ask the
4453 target to do.
4454
4455 2014-05-29 Pedro Alves <palves@redhat.com>
4456
4457 * infrun.c (process_event_stop_test, handle_step_into_function)
4458 (handle_step_into_function_backward): Adjust.
4459 Don't set the even thread's stop_step and call stop_waiting before
4460 calling end_stepping_range. Instead do that ...
4461 (end_stepping_range): ... here. Take an ecs pointer parameter.
4462
4463 2014-05-29 Pedro Alves <palves@redhat.com>
4464
4465 * infrun.c (stop_stepping): Rename to ...
4466 (stop_waiting): ... this.
4467 (proceed): Update comment.
4468 (process_event_stop_test, handle_inferior_event)
4469 (handle_signal_stop, handle_step_into_function)
4470 (handle_step_into_function_backward): Update.
4471
4472 2014-05-29 Pedro Alves <palves@redhat.com>
4473
4474 * infcall.c (run_inferior_call): Don't check whether the current
4475 thread is running after the proceed call.
4476
4477 2014-05-29 Pedro Alves <palves@redhat.com>
4478 Tom Tromey <tromey@redhat.com>
4479
4480 * NEWS: Mention "maint set target-async", "set mi-async", and that
4481 background execution commands are now always available.
4482 * target.h (target_async_permitted): Update comment.
4483 * target.c (target_async_permitted, target_async_permitted_1):
4484 Default to 1.
4485 (set_target_async_command): Rename to ...
4486 (maint_set_target_async_command): ... this.
4487 (show_target_async_command): Rename to ...
4488 (maint_show_target_async_command): ... this.
4489 (_initialize_target): Adjust.
4490 * infcmd.c (prepare_execution_command): Make extern.
4491 * inferior.h (prepare_execution_command): Declare.
4492 * infrun.c (set_observer_mode): Leave target async alone.
4493 * mi/mi-interp.c (mi_interpreter_init): Install
4494 mi_on_sync_execution_done as sync_execution_done observer.
4495 (mi_on_sync_execution_done): New function.
4496 (mi_execute_command_input_handler): Don't print the prompt if we
4497 just started a synchronous command with an async target.
4498 (mi_on_resume): Check sync_execution before printing prompt.
4499 * mi/mi-main.h (mi_async_p): Declare.
4500 * mi/mi-main.c: Include gdbcmd.h.
4501 (mi_async_p): New function.
4502 (mi_async, mi_async_1): New globals.
4503 (set_mi_async_command, show_mi_async_command, mi_async): New
4504 functions.
4505 (exec_continue): Call prepare_execution_command.
4506 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4507 (mi_execute_async_cli_command): Use mi_async_p.
4508 (_initialize_mi_main): Install "set mi-async". Make
4509 "target-async" a deprecated alias.
4510
4511 2014-05-29 Pedro Alves <palves@redhat.com>
4512
4513 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4514 (_initialize_cli_interp): Adjust.
4515 * event-loop.c: Include "observer.h".
4516 (start_event_loop): Notify 'command_error' observers instead of
4517 calling display_gdb_prompt. Remove FIXME comment.
4518 * event-top.c (display_gdb_prompt): Remove call into the
4519 interpreters.
4520 * inf-loop.c: Include "observer.h".
4521 (inferior_event_handler): Notify 'command_error' observers instead
4522 of calling display_gdb_prompt.
4523 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4524 observers instead of calling display_gdb_prompt.
4525 * interps.c (interp_set): Don't call display_gdb_prompt.
4526 (current_interp_display_prompt_p): Delete.
4527 * interps.h (interp_prompt_p): Delete declaration.
4528 (interp_prompt_p_ftype): Delete.
4529 (struct interp_procs) <prompt_proc_p>: Delete field.
4530 (current_interp_display_prompt_p): Delete declaration.
4531 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4532 (_initialize_mi_interp): Adjust.
4533 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4534 'command_error' observers.
4535 (tui_on_sync_execution_done, tui_on_command_error): New
4536 functions.
4537 (tui_display_prompt_p): Delete.
4538 (_initialize_tui_interp): Adjust.
4539
4540 2014-05-29 Pedro Alves <palves@redhat.com>
4541
4542 PR gdb/13860
4543 * cli/cli-interp.c: Include infrun.h and observer.h.
4544 (cli_uiout, cli_interp): New globals.
4545 (cli_on_signal_received, cli_on_end_stepping_range)
4546 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4547 functions.
4548 (cli_interpreter_init): Install them as 'end_stepping_range',
4549 'signal_received' 'signal_exited', 'exited' and 'no_history'
4550 observers.
4551 (_initialize_cli_interp): Remove cli_interp local.
4552 * infrun.c (handle_inferior_event): Call the several stop reason
4553 observers instead of printing the stop reason directly.
4554 (end_stepping_range): New function.
4555 (print_end_stepping_range_reason, print_signal_exited_reason)
4556 (print_exited_reason, print_signal_received_reason)
4557 (print_no_history_reason): Make static, and add an uiout
4558 parameter. Print to that instead of to CURRENT_UIOUT.
4559 * infrun.h (print_end_stepping_range_reason)
4560 (print_signal_exited_reason, print_exited_reason)
4561 (print_signal_received_reason print_no_history_reason): New
4562 declarations.
4563 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4564 'mi_uiout'.
4565 <cli_uiout>: New field.
4566 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4567 uiout for CLI output. Install 'signal_received',
4568 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4569 observers.
4570 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4571 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4572 (mi_on_no_history): New functions.
4573 (ui_out_free_cleanup): Delete function.
4574 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4575 instead use the one already stored in the MI interpreter data.
4576 (mi_ui_out): Adjust.
4577 * tui/tui-interp.c: Include infrun.h and observer.h.
4578 (tui_interp): New global.
4579 (tui_on_signal_received, tui_on_end_stepping_range)
4580 (tui_on_signal_exited, tui_on_exited)
4581 (tui_on_no_history): New functions.
4582 (tui_init): Install them as 'end_stepping_range',
4583 'signal_received' 'signal_exited', 'exited' and 'no_history'
4584 observers.
4585 (_initialize_tui_interp): Delete tui_interp local.
4586
4587 2014-05-29 Pedro Alves <palves@redhat.com>
4588
4589 PR gdb/15713
4590 * linux-nat.c (linux_nat_resume_callback): Rename the second
4591 parameter to 'except'. Skip LP if it points to EXCEPT.
4592 (linux_nat_resume): Don't mark the event lwp as not stopped
4593 before resuming sibling lwps. Instead ask
4594 linux_nat_resume_callback to skip the event lwp. Mark it as not
4595 stopped after actually resuming it.
4596 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4597 resuming it.
4598 (wait_lwp): Mark the lwp as stopped here.
4599 (stop_wait_callback): Mark the lwp as not stopped right after
4600 resuming it. Don't mark lwps as stopped here.
4601 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4602 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4603
4604 2014-05-29 Pedro Alves <palves@redhat.com>
4605
4606 PR PR15693
4607 * infrun.c (resume): Determine how much to resume depending on
4608 whether the caller wanted a step, not whether we can hardware step
4609 the target. Mark all threads that we intend to run as running,
4610 unless we're calling an inferior function.
4611 (normal_stop): If the thread is running an infcall, don't finish
4612 thread state.
4613 * target.c (target_resume): Don't mark threads as running here.
4614
4615 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4616
4617 * serial.c (_initialize_serial): Remove support for
4618 the "set remotebaud" and "show remotebaud" commands.
4619 * NEWS: Add entry documenting the removal of that command.
4620
4621 2014-05-28 Yao Qi <yao@codesourcery.com>
4622
4623 * charset.c: Fix typo in comments.
4624
4625 2014-05-27 Gary Benson <gbenson@redhat.com>
4626
4627 * utils.c (internal_vproblem): Prompt for a bug report.
4628
4629 2014-05-26 Andy Wingo <wingo@igalia.com>
4630
4631 * guile/scm-arch.c (arscm_mark_arch_smob):
4632 * guile/scm-block.c (bkscm_mark_block_smob)
4633 (bkscm_mark_block_syms_progress_smob):
4634 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4635 * guile/scm-exception.c (exscm_mark_exception_smob):
4636 * guile/scm-frame.c (frscm_mark_frame_smob):
4637 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4638 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4639 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4640 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4641 (ppscm_mark_pretty_printer_worker_smob):
4642 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4643 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4644 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4645 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4646 mark functions.
4647 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4648 function.
4649
4650 2014-05-26 Andy Wingo <wingo@igalia.com>
4651 Doug Evans <xdje42@gmail.com>
4652
4653 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4654 empty_base_class. All uses updated.
4655 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4656 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4657 Adapt all callers.
4658 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4659 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4660 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4661 (gdbscm_gsmob_has_property_p, add_property_name)
4662 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4663 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4664 (gdb-object-has-property?, gdb-object-properties): Remove.
4665 (gdb-object-kind): Renamed from gsmob-kind.
4666
4667 2014-05-26 Andy Wingo <wingo@igalia.com>
4668
4669 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4670 * configure: Regenerate.
4671
4672 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4673
4674 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4675
4676 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4677
4678 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4679 (replay_memory_access_read_only, replay_memory_access_read_write)
4680 (replay_memory_access_types, replay_memory_access)
4681 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4682 (cmd_set_record_btrace, cmd_show_record_btrace)
4683 (cmd_show_replay_memory_access): New.
4684 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4685 (record_btrace_remove_breakpoint): Replace
4686 record_btrace_allow_memory_access with replay_memory_access.
4687 (_initialize_record_btrace): Add commands.
4688 * NEWS: Announce it.
4689
4690 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4691
4692 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4693
4694 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4695
4696 * MAINTAINERS (Write After Approval): Move self back from
4697 paper trail.
4698
4699 2014-05-22 Pedro Alves <palves@redhat.com>
4700
4701 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4702 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4703 (disable_randomization, enum exec_direction_kind)
4704 (execution_direction, stop_registers, start_remote)
4705 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4706 (wait_for_inferior, normal_stop, get_last_target_status)
4707 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4708 (insert_step_resume_breakpoint_at_sal)
4709 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4710 (set_step_info, print_stop_event, signal_stop_state)
4711 (signal_print_state, signal_pass_state, signal_stop_update)
4712 (signal_print_update, signal_pass_update)
4713 (update_signals_program_target, clear_exit_convenience_vars)
4714 (displaced_step_dump_bytes, update_observer_mode)
4715 (signal_catch_update, gdb_signal_from_command): Move
4716 declarations ...
4717 * infrun.h: ... to this new file.
4718 * amd64-tdep.c: Include infrun.h.
4719 * annotate.c: Include infrun.h.
4720 * arch-utils.c: Include infrun.h.
4721 * arm-linux-tdep.c: Include infrun.h.
4722 * arm-tdep.c: Include infrun.h.
4723 * break-catch-sig.c: Include infrun.h.
4724 * breakpoint.c: Include infrun.h.
4725 * common/agent.c: Include infrun.h instead of inferior.h.
4726 * corelow.c: Include infrun.h.
4727 * event-top.c: Include infrun.h.
4728 * go32-nat.c: Include infrun.h.
4729 * i386-tdep.c: Include infrun.h.
4730 * inf-loop.c: Include infrun.h.
4731 * infcall.c: Include infrun.h.
4732 * infcmd.c: Include infrun.h.
4733 * infrun.c: Include infrun.h.
4734 * linux-fork.c: Include infrun.h.
4735 * linux-nat.c: Include infrun.h.
4736 * linux-thread-db.c: Include infrun.h.
4737 * monitor.c: Include infrun.h.
4738 * nto-tdep.c: Include infrun.h.
4739 * procfs.c: Include infrun.h.
4740 * record-btrace.c: Include infrun.h.
4741 * record-full.c: Include infrun.h.
4742 * remote-m32r-sdi.c: Include infrun.h.
4743 * remote-mips.c: Include infrun.h.
4744 * remote-notif.c: Include infrun.h.
4745 * remote-sim.c: Include infrun.h.
4746 * remote.c: Include infrun.h.
4747 * reverse.c: Include infrun.h.
4748 * rs6000-tdep.c: Include infrun.h.
4749 * s390-linux-tdep.c: Include infrun.h.
4750 * solib-irix.c: Include infrun.h.
4751 * solib-osf.c: Include infrun.h.
4752 * solib-svr4.c: Include infrun.h.
4753 * target.c: Include infrun.h.
4754 * top.c: Include infrun.h.
4755 * windows-nat.c: Include infrun.h.
4756 * mi/mi-interp.c: Include infrun.h.
4757 * mi/mi-main.c: Include infrun.h.
4758 * python/py-threadevent.c: Include infrun.h.
4759
4760 2014-05-22 Pedro Alves <palves@redhat.com>
4761
4762 * infrun.c (handle_inferior_event): Store the exit code for
4763 --return-child-result here, instead of ...
4764 (print_exited_reason): ... here.
4765
4766 2014-05-21 Pedro Alves <palves@redhat.com>
4767
4768 PR gdb/13860
4769 * gdbthread.h (struct thread_control_state): New field
4770 `command_interp'.
4771 * infrun.c (follow_fork): Copy the new thread control field to the
4772 child fork thread.
4773 (clear_proceed_status_thread): Clear the new thread control field.
4774 (proceed): Set the new thread control field.
4775 * interps.h (command_interp): Declare.
4776 * interps.c (command_interpreter): New global.
4777 (command_interp): New function.
4778 (interp_exec): Set `command_interpreter' while here.
4779 * cli-out.c (cli_uiout_dtor): New function.
4780 (cli_ui_out_impl): Install it.
4781 * mi/mi-interp.c: Include cli-out.h.
4782 (mi_cmd_interpreter_exec): Add comment.
4783 (restore_current_uiout_cleanup): New function.
4784 (ui_out_free_cleanup): New function.
4785 (mi_on_normal_stop): If finishing an execution command started by
4786 a CLI command, or any kind of breakpoint-like event triggered,
4787 print the stop event to the output (CLI) stream.
4788 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4789
4790 2014-05-21 Pedro Alves <palves@redhat.com>
4791
4792 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4793 current source line having changed.
4794 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4795 * infrun.c (normal_stop): Adjust call to
4796 set_current_sal_from_frame.
4797 * source.c (clear_lines_listed_range): New function.
4798 (set_current_source_symtab_and_line, identify_source_line): Clear
4799 the lines listed range.
4800 (line_info): Handle the first "info line" after the current source
4801 line having changed.
4802 * stack.c (print_stack_frame): Remove center handling.
4803 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4804 center sal.line.
4805
4806 2014-05-21 Pedro Alves <palves@redhat.com>
4807
4808 * inf-child.c (inf_child_mourn_inferior): New function.
4809 * inf-child.h (inf_child_mourn_inferior): New declaration.
4810 * darwin-nat.c (darwin_mourn_inferior): Use
4811 inf_child_mourn_inferior.
4812 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4813 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4814 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4815 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4816 * windows-nat.c (windows_mourn_inferior): Likewise.
4817
4818 2014-05-21 Doug Evans <xdje42@gmail.com>
4819
4820 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4821
4822 2014-05-21 Doug Evans <xdje42@gmail.com>
4823
4824 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4825 (gdbscm_out_of_range_error): Ditto.
4826 (gdbscm_memory_error): Ditto.
4827 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4828 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4829 (gdbscm_out_of_range_error): Update.
4830 (gdbscm_memory_error): Update.
4831 (gdbscm_scm_to_target_string_unsafe): Delete.
4832
4833 2014-05-21 Pedro Alves <palves@redhat.com>
4834
4835 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4836 globals.
4837 (inf_child_open_target): New function.
4838 (inf_child_open): Use inf_child_open_target to push the target
4839 instead of erroring out.
4840 (inf_child_disconnect, inf_child_close)
4841 (inf_child_maybe_unpush_target): New functions.
4842 (inf_child_target): Install inf_child_disconnect and
4843 inf_child_close. Store a pointer to the returned object.
4844 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4845 declarations.
4846 * target.c (auto_connect_native_target): New global.
4847 (show_default_run_target): New function.
4848 (find_default_run_target): Return NULL if automatically connecting
4849 to the native target is disabled.
4850 (_initialize_target): Install set/show auto-connect-native-target.
4851 * NEWS: Mention "set auto-connect-native-target", and "target
4852 native".
4853 * linux-nat.c (super_close): New global.
4854 (linux_nat_close): Call super_close.
4855 (linux_nat_add_target): Store a pointer to the base class's
4856 to_close method.
4857 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4858 inf_child_maybe_unpush.
4859 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4860 already pushed.
4861 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4862 the inferior. Use inf_child_maybe_unpush_target.
4863 (inf_ttrace_attach): Don't push the target if it is already
4864 pushed.
4865 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4866 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4867 after mourning the inferior. Use inf_child_maybe_unpush_target.
4868 (darwin_attach_pid): Don't push the target if it is already
4869 pushed.
4870 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4871 mourning the inferior. Use inf_child_maybe_unpush_target.
4872 (gnu_detach): Use inf_child_maybe_unpush_target.
4873 * go32-nat.c (go32_create_inferior): Don't push the target if it
4874 is already pushed.
4875 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4876 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4877 (procfs_open): Rename to ...
4878 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4879 comments. Can target_preopen before changing node. Call
4880 inf_child_open_target to push the target explicitly.
4881 (procfs_attach): Don't push the target if it is already pushed.
4882 (procfs_detach): Use inf_child_maybe_unpush_target.
4883 (procfs_create_inferior): Don't push the target if it is already
4884 pushed.
4885 (nto_native_ops): New global.
4886 (procfs_open): Reimplement.
4887 (procfs_native_open): New function.
4888 (init_procfs_targets): Install procfs_native_open as to_open of
4889 "target native". Store a pointer to the "native" target in
4890 nto_native_ops.
4891 * procfs.c (procfs_attach): Don't push the target if it is already
4892 pushed.
4893 (procfs_detach): Use inf_child_maybe_unpush_target.
4894 (procfs_mourn_inferior): Only unpush the target after mourning the
4895 inferior. Use inf_child_maybe_unpush_target.
4896 (procfs_init_inferior): Don't push the target if it is already
4897 pushed.
4898 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4899 if it is already pushed.
4900
4901 2014-05-21 Pedro Alves <palves@redhat.com>
4902
4903 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4904 and "procfs" targets are now called "native" instead.
4905
4906 2014-05-21 Pedro Alves <palves@redhat.com>
4907
4908 * go32-nat.c (go32_open): Delete.
4909 (go32_target): Don't override the to_open method.
4910
4911 2014-05-21 Pedro Alves <palves@redhat.com>
4912
4913 * nto-procfs.c (procfs_can_run): New function.
4914 (nto_procfs_ops): New global.
4915 (init_procfs_targets): New, based on procfs_target. Install
4916 "target native" in addition to "target procfs".
4917 (_initialize_procfs): Call init_procfs_targets instead of adding
4918 the target here.
4919
4920 2014-05-21 Pedro Alves <palves@redhat.com>
4921
4922 * windows-nat.c (windows_target): Don't override to_shortname,
4923 to_longname or to_doc.
4924
4925 2014-05-21 Pedro Alves <palves@redhat.com>
4926
4927 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4928 to_doc.
4929
4930 2014-05-21 Pedro Alves <palves@redhat.com>
4931
4932 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4933 to_shortname, to_longname or to_doc.
4934
4935 2014-05-21 Pedro Alves <palves@redhat.com>
4936
4937 * go32-nat.c (go32_target): Don't override to_shortname,
4938 to_longname or to_doc.
4939
4940 2014-05-21 Pedro Alves <palves@redhat.com>
4941
4942 * inf-child.c (inf_child_open): Remove mention of "child".
4943 (inf_child_target): Rename target to "native" instead of "child".
4944
4945 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4946
4947 * Makefile.in (SFILES): Delete "regset.c".
4948 (COMMON_OBS): Delete "regset.o".
4949 * regset.c: Remove.
4950 * regset.h (regset_alloc): Delete prototype.
4951
4952 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4953
4954 * sparc-linux-tdep.c (sparc32_linux_gregset)
4955 (sparc32_linux_fpregset): New static regset structures.
4956 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4957 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4958 'fpregset' fields.
4959 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4960 (sparc64_linux_fpregset): New static regset structures.
4961 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4962 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4963 New static regset structures.
4964 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4965 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4966 New static regset structures.
4967 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4968 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4969 New static regset structures.
4970 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4971 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4972 New static regset structures.
4973 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4974
4975 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4976
4977 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4978 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4979 register maps ("regmaps") from "*regset" to "*regmap". Do this
4980 for all regmap types and variables.
4981 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4982 (sparc32_linux_supply_core_gregset)
4983 (sparc32_linux_collect_core_gregset)
4984 (sparc32_linux_supply_core_fpregset)
4985 (sparc32_linux_collect_core_fpregset): Likewise.
4986 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4987 (sparc_gregmap, sparc_fpregmap): ... these.
4988 (sparc_supply_gregset, sparc_collect_gregset)
4989 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4990 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4991 (_initialize_sparc_nat): Rename regmaps.
4992 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4993 (sparc_gregmap, sparc_fpregmap): ... these.
4994 (sparc_supply_gregset, sparc_collect_gregset)
4995 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4996 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4997 Rename macros to...
4998 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4999 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5000 Likewise.
5001 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5002 Rename to...
5003 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5004 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5005 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5006 regmaps.
5007 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5008 (sparc32_bsd_fpregset): Rename to...
5009 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5010 (sparc32_bsd_fpregmap): ... these.
5011 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5012 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5013 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5014 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5015 (struct sparc_gregmap, struct sparc_fpregmap)
5016 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5017 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5018 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5019 (sparc32_supply_regset, sparc32_collect_gregset)
5020 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5021 prototypes.
5022 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5023 (sparc64_linux_ptrace_gregmap): ... this.
5024 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5025 (_initialize_sparc64_linux_nat): Rename regmaps.
5026 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5027 (sparc64_linux_core_gregmap): ... this.
5028 (sparc64_linux_supply_core_gregset)
5029 (sparc64_linux_collect_core_gregset)
5030 (sparc64_linux_supply_core_fpregset)
5031 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5032 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5033 (sparc64_sol2_fpregset): Rename to...
5034 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5035 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5036 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5037 regmaps.
5038 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5039 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5040 (sparc64_bsd_fpregset): Rename to...
5041 (struct sparc_gregmap, sparc64_sol2_gregmap)
5042 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5043 (sparc64_bsd_fpregmap): ... these.
5044 (sparc64_supply_gregset, sparc64_collect_gregset)
5045 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5046 prototypes.
5047 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5048 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5049 (sparc64fbsd_gregmap): ... this.
5050 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5051 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5052 Rename regmaps.
5053 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5054 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5055 (sparc64nbsd_collect_fpregset): Likewise.
5056 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5057 (sparc64nbsd_gregmap): ... this.
5058 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5059 regmaps.
5060 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5061 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5062 (sparc64obsd_gregmap): ... this.
5063 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5064 regmaps.
5065 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5066 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5067 (sparc32nbsd_gregmap): ... this.
5068 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5069 regmaps.
5070
5071 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5072
5073 * score-tdep.c (score7_linux_gregset): New static regset
5074 structure.
5075 (score7_linux_regset_from_core_section): Remove dynamic regset
5076 allocation.
5077 (score_gdbarch_init): Drop allocation of tdep structure.
5078 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5079
5080 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5081
5082 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5083 regset structures.
5084 (am33_regset_from_core_section): Remove dynamic regset
5085 allocations.
5086
5087 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5088
5089 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5090 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5091 structures.
5092 (mips_linux_regset_from_core_section): Remove dynamic regset
5093 allocations.
5094 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5095 'gregset64', 'fpregset', and 'fpregset64'.
5096 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5097 deleted tdep fields.
5098
5099 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5100
5101 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5102 regset structures.
5103 (amd64_regset_from_core_section): Remove dynamic regset
5104 allocations.
5105 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5106 structure.
5107 (amd64obsd_regset_from_core_section): Remove dynamic regset
5108 allocation.
5109 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5110 Likewise.
5111 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5112 x86-common regset supply function.
5113 * i386-tdep.c (i386_collect_gregset): Make static.
5114 (i386_gregset): New global regset structure.
5115 (i386_fpregset, i386_xstateregset): New static regset structures.
5116 (i386_regset_from_core_section): Remove dynamic regset
5117 allocations.
5118 (i386_gdbarch_init): Remove initialization of tdep fields
5119 'gregset', 'fpregset', and 'xstateregset'.
5120 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5121 'fpregset', and 'xstateregset'.
5122 (i386_collect_gregset): Remove prototype.
5123 (i386_gregset): New declaration.
5124 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5125 structure.
5126 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5127 allocation.
5128
5129 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5130
5131 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5132 (arm_linux_vfpregset): New static regset structures.
5133 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5134 regset structures.
5135 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5136 and 'vfpregset' fields.
5137
5138 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5139
5140 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5141 (aarch64_linux_fpregset): New static regset structures.
5142 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5143 of regset structures.
5144 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5145 'fpregset' fields.
5146
5147 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5148
5149 * regset.h (struct regset): Remove gdbarch field.
5150 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5151 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5152 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5153 Likewise.
5154 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5155 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5156 (ppc32_linux_vsxregset): Likewise.
5157 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5158 via the regcache instead of the regset.
5159 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5160 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5161 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5162 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5163 Likewise.
5164
5165 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5166
5167 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5168 Constify structures.
5169 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5170 (alphanbsd_aout_gregset): Likewise.
5171 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5172 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5173 Likewise.
5174 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5175 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5176 Likewise.
5177 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5178 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5179 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5180 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5181 * m88k-tdep.c (m88k_gregset): Likewise.
5182 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5183 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5184 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5185 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5186 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5187 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5188 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5189 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5190 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5191 Likewise.
5192 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5193 * sh-tdep.h (sh_corefile_gregset): Likewise.
5194 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5195 * vax-tdep.c (vax_gregset): Likewise.
5196
5197 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5198
5199 Fix TLS access for -static -pthread.
5200 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5201 (try_thread_db_load_1): Initialize it.
5202 (thread_db_get_thread_local_address): Call it if LM is zero.
5203 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5204 * target.h (struct target_ops) (to_get_thread_local_address): Add
5205 load_module_addr comment.
5206
5207 2014-05-21 Pedro Alves <palves@redhat.com>
5208
5209 * dcache.c (dcache_read_memory_partial): If reading the cache line
5210 fails, fallback to reading just the memory the caller wanted.
5211
5212 2014-05-20 Doug Evans <dje@google.com>
5213
5214 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5215 instead of get_current_arch.
5216
5217 2014-05-20 Pedro Alves <palves@redhat.com>
5218
5219 * NEWS: Mention that compare-sections now works with all targets.
5220
5221 * remote.c (PACKET_qCRC): New enum value.
5222 (remote_verify_memory): Don't send qCRC if the target has no
5223 execution. Use packet_support/packet_ok. If the target doesn't
5224 support the qCRC packet, fallback to a deep memory copy.
5225 (compare_sections_command): Say "target image" instead of "remote
5226 executable".
5227 (_initialize_remote): Add PACKET_qCRC to the list of config
5228 packets that have no associated command. Extend comment.
5229 * target.c (simple_verify_memory, default_verify_memory): New
5230 function.
5231 * target.h (struct target_ops) <to_verify_memory>: Default to
5232 default_verify_memory.
5233 (simple_verify_memory): New declaration.
5234 * target-delegates.c: Regenerate.
5235
5236 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5237
5238 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5239
5240 2014-05-20 Hui Zhu <hui@codesourcery.com>
5241 Yao Qi <yao@codesourcery.com>
5242
5243 PR backtrace/16558
5244 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5245 and change address of sp and pc.
5246
5247 2014-05-19 Tom Tromey <tromey@redhat.com>
5248
5249 * gdbtypes.c (rank_function): Use XNEWVEC.
5250 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5251
5252 2014-05-19 Doug Evans <dje@google.com>
5253
5254 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5255 build_type_unit_groups and moved closer to only caller. Remove
5256 arguments. All references updated. Remove outdated .gdb_index
5257 comment.
5258 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5259 build_type_psymtabs_1.
5260
5261 2014-05-19 Doug Evans <dje@google.com>
5262
5263 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5264 n_type_unit_groups, all_type_unit_groups. All uses removed.
5265 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5266 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5267 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5268 (add_type_unit_group_to_table): Delete.
5269
5270 2014-05-19 Doug Evans <dje@google.com>
5271
5272 * eval.c (evaluate_subexp_standard): Add some comments.
5273
5274 2014-05-17 Doug Evans <xdje42@gmail.com>
5275
5276 * progspace.c (remove_program_space): Delete, unused.
5277 * progspace.h (remove_program_space): Ditto.
5278
5279 2014-05-17 Doug Evans <xdje42@gmail.com>
5280
5281 * inferior.c (prune_inferiors): Fix comment.
5282 (remove_inferior_command): Call prune_program_spaces.
5283
5284 2014-05-16 Doug Evans <dje@google.com>
5285
5286 New command line option -D.
5287 * NEWS: Mention it.
5288 * main.c (set_gdb_data_directory): New function.
5289 (captured_main): Recognize -D. Flag error for --data-directory "".
5290 Call set_gdb_data_directory.
5291 (print_gdb_help): Print --data-directory, -D.
5292 * main.h (set_gdb_data_directory): Declare.
5293 * top.c (staged_gdb_datadir): New static global.
5294 (set_gdb_datadir): Call set_gdb_data_directory
5295 (show_gdb_datadir): New function.
5296 (init_main): Update init of data-directory parameter.
5297
5298 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5299
5300 Import the "dirfd" gnulib module.
5301 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5302 * gnulib/aclocal.m4: Update.
5303 * gnulib/config.in: Update.
5304 * gnulib/configure: Update.
5305 * gnulib/import/Makefile.am: Update.
5306 * gnulib/import/Makefile.in: Update.
5307 * gnulib/import/dirfd.c: New.
5308 * gnulib/import/m4/dirfd.m4: New.
5309 * gnulib/import/m4/gnulib-cache.m4: Update.
5310 * gnulib/import/m4/gnulib-comp.m4: Update.
5311
5312 2014-05-16 Pierre Muller <muller@sourceware.org>
5313 Yao Qi <yao@codesourcery.com>
5314
5315 * valprint.c (print_wchar): Move the code on checking whether
5316 W is a printable wide char to the default branch of switch
5317 statement below. Call wchar_printable instead of gdb_iswprint.
5318
5319 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5320
5321 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5322 ldr.w and ldrd instructions.
5323
5324 2014-05-15 Doug Evans <dje@google.com>
5325
5326 * dwarf2read.c (read_structure_type): Delete outdated comments.
5327
5328 2014-05-14 Tom Tromey <tromey@redhat.com>
5329
5330 * macrocmd.c (print_macro_definition): Reindent.
5331
5332 2014-05-13 Doug Evans <xdje42@gmail.com>
5333
5334 * python/py-cmd.c (cmdpy_completer): Add comment.
5335 (completers): Make const.
5336
5337 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5338
5339 * infrun.c (resume): Remove should_resume (unused). Move up
5340 declaration of resume_ptid.
5341
5342 2014-05-13 Tom Tromey <tromey@redhat.com>
5343
5344 * language.h (unop_type_check): Remove.
5345 (binop_type_check): Don't declare.
5346
5347 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5348
5349 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5350 call to regcache_raw_collect.
5351
5352 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5353
5354 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5355 mi_console->quote as the quoting character.
5356
5357 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5358
5359 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5360
5361 2014-04-29 Tom Tromey <tromey@redhat.com>
5362
5363 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5364 "show debug varobj".
5365
5366 2014-05-07 Kyle McMartin <kyle@redhat.com>
5367
5368 Pushed by Joel Brobecker <brobecker@adacore.com>.
5369 * aarch64-tdep.c (aarch64_software_single_step): New function.
5370 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5371 with aarch64_software_single_step.
5372
5373 2014-05-05 Joel Brobecker <brobecker@adacore.com>
5374
5375 GDB 7.7.1 released.
5376
5377 2014-05-05 Keith Seitz <keiths@redhat.com>
5378
5379 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5380 variable or history value is successfully parsed.
5381
5382 2014-05-05 Yao Qi <yao@codesourcery.com>
5383 Pedro Alves <palves@redhat.com>
5384
5385 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5386 address of blocks that intersects the requested range. Trim
5387 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5388 sections.
5389 * ctf.c (ctf_xfer_partial): Likewise.
5390
5391 2014-05-05 Yao Qi <yao@codesourcery.com>
5392
5393 * printcmd.c (display_command): Remove the check to
5394 target_has_execution.
5395
5396 2014-05-03 Mark Kettenis <kettenis@gnu.org>
5397
5398 * ppcobsd-nat.c: Include "obsd-nat.h".
5399 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5400 add_target.
5401 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5402
5403 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5404
5405 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5406 and 16-bit signed and unsigned arguments. Update comment.
5407 (stap_parse_probe_arguments): Extend code to handle such
5408 arguments. Use warning instead of complaint to notify about
5409 unrecognized bitness.
5410
5411 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5412
5413 PR breakpoints/16889
5414 * stap-probe.c (stap_parse_probe_arguments): Simplify
5415 check for non-prefixed probes (i.e., probes whose
5416 arguments do not start with "N@"). Always set the
5417 argument type to a sane value.
5418
5419 2014-05-01 David Taylor <dtaylor@emc.com>
5420
5421 * remote.c (compare_sections_command): Add -r option to compare
5422 all loadable read-only sections.
5423
5424 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5425
5426 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5427 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5428 Update all callers.
5429 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5430 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5431 Remove unused CORE_ADDR argument. Update all callers.
5432
5433 2014-04-29 Pedro Alves <palves@redhat.com>
5434
5435 * remote.c (struct packet_config) <detect>: Extend comment.
5436 (add_packet_config_cmd): Don't set the config's detect or support
5437 fields here.
5438 (init_all_packet_configs): Also initialize the config's 'detect'
5439 field.
5440 (reset_all_packet_configs_support): New function.
5441 (remote_open_1): Call reset_all_packet_configs_support instead of
5442 init_all_packet_configs.
5443 (_initialize_remote): Initialize all packet configs. Assert that
5444 all packets have an associated command, except a few known
5445 outliers.
5446
5447 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5448
5449 * dwarf2read.c (read_subrange_type): Handle dynamic
5450 DW_AT_lower_bound attributes.
5451
5452 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5453
5454 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5455 dynamic bounds before computing its upper bound.
5456 (ada_discrete_type_low_bound): Same as above with the lower bound.
5457
5458 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5459
5460 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5461 range types. Adjust the array handling implementation to
5462 take advantage of this change.
5463 (resolve_dynamic_range): New function, mostly extracted from
5464 resolve_dynamic_bounds.
5465 (resolve_dynamic_array): New function, mostly extracted from
5466 resolve_dynamic_bounds.
5467 (resolve_dynamic_bounds): Delete.
5468 (resolve_dynamic_type): Reimplement. Add handling of
5469 TYPE_CODE_RANGE types.
5470
5471 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5472
5473 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5474 handling of parallel ___XA types.
5475
5476 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5477
5478 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5479 unnecessary second call to static_unwrap_type.
5480
5481 2014-04-27 Hui Zhu <hui@codesourcery.com>
5482
5483 * stack.c (print_frame_info): Call do_gdb_disassembly with
5484 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5485
5486 2014-04-26 Doug Evans <xdje42@gmail.com>
5487
5488 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5489
5490 2014-04-25 Pedro Alves <palves@redhat.com>
5491
5492 PR server/16255
5493 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5494 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5495 and newline from built string.
5496 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5497 (linux_ptrace_attach_fail_reason): ... this.
5498 * linux-nat.c (linux_nat_attach): Adjust to use
5499 linux_ptrace_attach_fail_reason.
5500
5501 2014-04-25 Pedro Alves <palves@redhat.com>
5502
5503 * remote.c (struct remote_state): Remove multi_process_aware,
5504 non_stop_aware, cond_tracepoints, cond_breakpoints,
5505 breakpoint_commands, fast_tracepoints, static_tracepoints,
5506 install_in_trace, disconnected_tracing,
5507 enable_disable_tracepoints, string_tracing, and
5508 augmented_libraries_svr4_read fields.
5509 (remote_multi_process_p): Move further below in the file.
5510 (struct packet_config): Add comments.
5511 (update_packet_config): Delete function.
5512 (show_packet_config_cmd): Use packet_config_support.
5513 (add_packet_config_cmd): Use NULL as set callback.
5514 (packet_ok): "set remote foo-packet"-style commands no longer
5515 change config->supported -- adjust.
5516 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5517 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5518 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5519 (PACKET_QNonStop, PACKET_multiprocess_feature)
5520 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5521 (PACKET_DisconnectedTracing_feature)
5522 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5523 (set_remote_protocol_packet_cmd): Delete function.
5524 (packet_config_support, packet_support): New functions.
5525 (set_remote_protocol_Z_packet_cmd): Don't call
5526 update_packet_config.
5527 (remote_query_attached, remote_pass_signals)
5528 (remote_program_signals, remote_threads_info)
5529 (remote_threads_extra_info, remote_start_remote): Use
5530 packet_support.
5531 (remote_start_remote): Use packet_config_support and
5532 packet_support.
5533 (init_all_packet_configs): Set all packets to unknown support,
5534 instead of calling update_packet_config.
5535 (remote_check_symbols): Use packet_support.
5536 (remote_supported_packet): Unconditionally set the packet config's
5537 support status.
5538 (remote_multi_process_feature, remote_non_stop_feature)
5539 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5540 (remote_breakpoint_commands_feature)
5541 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5542 (remote_install_in_trace_feature)
5543 (remote_disconnected_tracing_feature)
5544 (remote_enable_disable_tracepoint_feature)
5545 (remote_string_tracing_feature)
5546 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5547 (remote_protocol_features): Adjust to use remote_supported_packet
5548 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5549 "ConditionalTracepoints", "ConditionalBreakpoints",
5550 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5551 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5552 "EnableDisableTracepoints", and "tracenz".
5553 (remote_query_supported): Use packet_support.
5554 (remote_open_1): Adjust.
5555 (extended_remote_attach_1): Use packet_support. Switch on the
5556 result of packet_ok instead of checking whether the packet ended
5557 up disabled.
5558 (remote_vcont_resume): Use packet_support.
5559 (remote_resume, remote_stop_ns, fetch_register_using_p)
5560 (remote_prepare_to_store, store_register_using_P)
5561 (check_binary_download, remote_write_bytes): Use packet_support.
5562 (remote_vkill): Use packet_support. Switch on the result of
5563 packet_ok instead of checking whether the packet ended up
5564 disabled.
5565 (extended_remote_supports_disable_randomization): Use
5566 packet_support.
5567 (extended_remote_run): Switch on the result of packet_ok instead
5568 of checking whether the packet ended up disabled.
5569 (remote_insert_breakpoint, remote_remove_breakpoint)
5570 (remote_insert_watchpoint, remote_remove_watchpoint)
5571 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5572 packet_support.
5573 (remote_search_memory): Use packet_config_support.
5574 (remote_get_thread_local_address, remote_get_tib_address)
5575 (remote_hostio_send_command, remote_can_execute_reverse): Use
5576 packet_support.
5577 (remote_supports_cond_tracepoints)
5578 (remote_supports_cond_breakpoints)
5579 (remote_supports_fast_tracepoints)
5580 (remote_supports_static_tracepoints)
5581 (remote_supports_install_in_trace)
5582 (remote_supports_enable_disable_tracepoint)
5583 (remote_supports_string_tracing)
5584 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5585 the packet config says the feature is enabled or disabled.
5586 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5587 (remote_get_trace_status): Use packet_support.
5588 (remote_set_disconnected_tracing): Adjust to check whether the
5589 feature is enabled with packet_support.
5590 (remote_set_trace_buffer_size, remote_use_agent)
5591 (remote_can_use_agent, remote_supports_btrace): Use
5592 packet_support.
5593 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5594 Use packet_config_support.
5595 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5596 the packet config says the feature is enabled or disabled.
5597 (set_range_stepping): Use packet_support.
5598
5599 2014-04-25 Tom Tromey <tromey@redhat.com>
5600
5601 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5602 argument.
5603
5604 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5605
5606 * NEWS: Mention support for C99 variable length arrays.
5607
5608 2014-04-24 Joel Brobecker <brobecker@adacore.com>
5609
5610 * ada-lang.c (standard_exc): Expand introductory comment.
5611
5612 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5613 Walfred Tedeschi <walfred.tedeschi@intel.com>
5614
5615 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5616 AVX512 registers.
5617 (amd64_linux_read_description): Add code to handle AVX512 xstate
5618 mask and return respective tdesc.
5619 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5620 and features/i386/x32-avx512-linux.c.
5621 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5622 (amd64_linux_core_read_description): Add code to handle AVX512
5623 xstate mask and return respective tdesc.
5624 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5625 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5626 calculation.
5627 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5628 (tdesc_amd64_avx512_linux): New prototype.
5629 (tdesc_x32_avx512_linux): Likewise.
5630 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5631 features/i386/x32-avx512.c.
5632 (amd64_ymm_avx512_names): New register names for pseudo
5633 registers YMM16-31.
5634 (amd64_ymmh_avx512_names): New register names for raw registers
5635 YMMH16-31.
5636 (amd64_k_names): New register names for K registers.
5637 (amd64_zmmh_names): New register names for ZMM raw registers.
5638 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5639 (amd64_xmm_avx512_names): New register names for XMM16-31
5640 registers.
5641 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5642 registers.
5643 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5644 if feature is present.
5645 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5646 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5647 (AMD64_NUM_REGS): Adjust to new number of registers.
5648 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5649 registers supplied via XSTATE by AVX512 registers.
5650 (i386_linux_read_description): Add case for AVX512.
5651 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5652 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5653 (i386_linux_core_read_description): Add case for AVX512.
5654 (i386_linux_init_abi): Install supported register note section
5655 for AVX512.
5656 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5657 AVX512.
5658 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5659 registers to be number of zmm7h + 1.
5660 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5661 * i386-tdep.c: Include features/i386/i386-avx512.c.
5662 (i386_zmm_names): Add ZMM pseudo register names array.
5663 (i386_zmmh_names): Add ZMM raw register names array.
5664 (i386_k_names): Add K raw register names array.
5665 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5666 registers. AVX512 has 16 more ZMM registers than there are YMM
5667 registers.
5668 (i386_zmmh_regnum_p): Add function to look up register number of
5669 ZMM raw registers.
5670 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5671 (i386_k_regnum_p): Likewise for K raw registers.
5672 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5673 registers added by AVX512.
5674 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5675 registers added by AVX512.
5676 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5677 added by AVX512.
5678 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5679 (i386_pseudo_register_name): Add ZMM pseudo registers.
5680 (i386_zmm_type): Construct and return vector registers type for ZMM
5681 registers.
5682 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5683 ZMM0-31 pseudo registers and K registers.
5684 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5685 and YMM16-31 registers from register cache.
5686 (i386_pseudo_register_write): Add code to write K, ZMM and
5687 YMM16-31 registers.
5688 (i386_register_reggroup_p): Add code to include/exclude AVX512
5689 registers in/from respective register groups.
5690 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5691 registers if feature is present in xcr0.
5692 (i386_gdbarch_init): Add code to initialize AVX512 feature
5693 variables in tdep structure, wire in pseudo registers and call
5694 initialize_tdesc_i386_avx512.
5695 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5696 variables.
5697 (i386_regnum): Add AVX512 registers.
5698 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5699 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5700 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5701 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5702 512 bits wide.
5703 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5704 (i386_ymm_avx512_regnum_p): Likewise.
5705 (i386_k_regnum_p): Likewise.
5706 (i386_zmm_regnum_p): Likewise.
5707 (i386_zmmh_regnum_p): Likewise.
5708 * i387-tdep.c : Update year in copyright notice.
5709 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5710 XSAVE buffer.
5711 (XSAVE_YMM_AVX512_ADDR): New macro.
5712 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5713 XSAVE buffer.
5714 (XSAVE_XMM_AVX512_ADDR): New macro.
5715 (xsave_avx512_k_offset): New table for K register offsets in
5716 XSAVE buffer.
5717 (XSAVE_AVX512_K_ADDR): New macro.
5718 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5719 in XSAVE buffer.
5720 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5721 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5722 buffer.
5723 (i387_collect_xsave): Add code to collect AVX512 registers from
5724 XSAVE buffer.
5725 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5726 of XMM16-31 registers.
5727 (I387_NUM_K_REGS): New define for number of K registers.
5728 (I387_K0_REGNUM): New define for K0 register number.
5729 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5730 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5731 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5732 registers.
5733 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5734 (I387_XMM16_REGNUM): New define for XMM16 register number.
5735 (I387_YMM0_REGNUM): New define for YMM0 register number.
5736 (I387_KEND_REGNUM): New define for last K register number.
5737 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5738 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5739 number.
5740 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5741 number.
5742 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5743 size.
5744 * features/Makefile: Add AVX512 related files.
5745 * features/i386/32bit-avx512.xml: New file.
5746 * features/i386/64bit-avx512.xml: Likewise.
5747 * features/i386/amd64-avx512-linux.c: Likewise.
5748 * features/i386/amd64-avx512-linux.xml: Likewise.
5749 * features/i386/amd64-avx512.c: Likewise.
5750 * features/i386/amd64-avx512.xml: Likewise.
5751 * features/i386/i386-avx512-linux.c: Likewise.
5752 * features/i386/i386-avx512-linux.xml: Likewise.
5753 * features/i386/i386-avx512.c: Likewise.
5754 * features/i386/i386-avx512.xml: Likewise.
5755 * features/i386/x32-avx512-linux.c: Likewise.
5756 * features/i386/x32-avx512-linux.xml: Likewise.
5757 * features/i386/x32-avx512.c: Likewise.
5758 * features/i386/x32-avx512.xml: Likewise.
5759 * regformats/i386/amd64-avx512-linux.dat: New file.
5760 * regformats/i386/amd64-avx512.dat: Likewise.
5761 * regformats/i386/i386-avx512-linux.dat: Likewise.
5762 * regformats/i386/i386-avx512.dat: Likewise.
5763 * regformats/i386/x32-avx512-linux.dat: Likewise.
5764 * regformats/i386/x32-avx512.dat: Likewise.
5765 * NEWS: Add note about new support for AVX512.
5766
5767
5768 2014-04-23 Pedro Alves <palves@redhat.com>
5769
5770 * breakpoint.c (insert_bp_location): Tolerate errors if the
5771 breakpoint is set in a user-loaded objfile.
5772 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5773 location is marked shlib_disabled. If the breakpoint is set in a
5774 user-loaded objfile is a GDB-side memory breakpoint, validate it
5775 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5776 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5777 flag.
5778 * mem-break.c (memory_validate_breakpoint): New function.
5779 * objfiles.c (userloaded_objfile_contains_address_p): New
5780 function.
5781 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5782 * target.h (memory_validate_breakpoint): New declaration.
5783
5784 2014-04-23 Pedro Alves <palves@redhat.com>
5785
5786 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5787 the breakpoint is set in a shared library, only suppress
5788 errors for software breakpoints, not hardware breakpoints.
5789
5790 2014-04-22 Pedro Alves <palves@redhat.com>
5791
5792 * infrun.c (schedlock_applies): New function, factored out from
5793 find_thread_needs_step_over.
5794 (find_thread_needs_step_over): Use it.
5795 (switch_back_to_stepped_thread): Always clear trap_expected if the
5796 step over is finished. Return early if scheduler locking applies.
5797 Look for the stepping thread and a potential step-over thread with
5798 a single loop.
5799 (currently_stepping_or_nexting_callback): Delete.
5800
5801 2014-04-22 Nick Clifton <nickc@redhat.com>
5802
5803 * NEWS: Mention that ARM sim now supports tracing.
5804
5805 2014-04-22 Yao Qi <yao@codesourcery.com>
5806
5807 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5808 to ...
5809 * tracefile.c (tracefile_fetch_registers): ... it. New
5810 function.
5811 * tracefile.h (tracefile_fetch_registers): Declare.
5812 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5813 tracefile_fetch_registers.
5814
5815 2014-04-19 Eli Zaretskii <eliz@gnu.org>
5816
5817 PR gdb/14018
5818 * windows-nat.c (thread_rec): Don't display a warning when
5819 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5820 fails for any reason, set th->suspended to -1, so that we don't
5821 try to resume such a thread. Also, don't return NULL in these
5822 cases, to avoid completely ruin the session due to "PC register is
5823 not available" error.
5824 (do_windows_fetch_inferior_registers): Check errors in
5825 GetThreadContext call.
5826 (windows_continue): Accept an additional argument KILLED; if not
5827 zero, ignore errors in the SetThreadContext call, since the
5828 inferior was killed and is shutting down.
5829 (windows_resume, get_windows_debug_event)
5830 (windows_create_inferior, windows_mourn_inferior)
5831 (windows_kill_inferior): All callers of windows_continue changed
5832 to adjust to its new calling sequence.
5833
5834 2014-04-19 Yao Qi <yao@codesourcery.com>
5835
5836 * ctf.c (ctf_open): Call post_create_inferior.
5837
5838 2014-04-19 Yao Qi <yao@codesourcery.com>
5839
5840 * ctf.c (handle_id): New static variable.
5841 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5842 value. Get the declaration of event "register" and get length
5843 of field "contents".
5844
5845 2014-04-19 Yao Qi <yao@codesourcery.com>
5846
5847 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5848
5849 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5850
5851 * valops.c (oload_method_static): Remove unnecessary argument
5852 METHOD. Update all callers.
5853
5854 2014-04-18 Pedro alves <palves@redhat.com>
5855 Tom Tromey <tromey@redhat.com>
5856
5857 PR backtrace/15558
5858 * frame.c (get_prev_frame_1): Rename to ...
5859 (get_prev_frame_always): ... this, and make extern. Adjust.
5860 (skip_artificial_frames): Use get_prev_frame_always.
5861 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5862 (get_frame_unwind_stop_reason): Adjust to rename.
5863 * frame.h (get_prev_frame_always): Declare.
5864 * inline-frame.c: Include frame.h.
5865 (inline_frame_this_id): Use get_prev_frame_always.
5866
5867 2014-04-18 Tristan Gingold <gingold@adacore.com>
5868
5869 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5870 code by using bfd_mach_o_get_base_address.
5871
5872 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5873
5874 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5875 (spu_ax_pseudo_register_collect): New function.
5876 (spu_ax_pseudo_register_push_stack): Likewise.
5877 (spu_dwarf_reg_to_regnum): Likewise.
5878 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5879
5880 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5881
5882 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5883 Replace FRAME argument with FRAME_ID.
5884 * gdbarch.c, gdbarch.h: Regenerate.
5885 * findvar.c (default_value_from_register): Add GDBARCH argument;
5886 replace FRAME by FRAME_ID. No longer call get_frame_id.
5887 (value_from_register): Update call to gdbarch_value_from_register.
5888 * value.h (default_value_from_register): Update prototype.
5889 * s390-linux-tdep.c (s390_value_from_register): Update interface
5890 and call to default_value_from_register.
5891 * spu-tdep.c (spu_value_from_register): Likewise.
5892
5893 * findvar.c (address_from_register): Remove TYPE argument.
5894 Do not call value_from_register; use gdbarch_value_from_register
5895 with null_frame_id instead.
5896 * value.h (address_from_register): Update prototype.
5897 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5898 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5899 address_from_register interface change.
5900
5901 2014-04-17 Yao Qi <yao@codesourcery.com>
5902
5903 * gdbtypes.h: Update comments to link to types and macros'
5904 definitions.
5905
5906 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5907
5908 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5909
5910 2014-04-16 Keith Seitz <keiths@redhat.com>
5911
5912 PR gdb/15827
5913 * dwarf2read.c (skip_one_die): Check that all relative-offset
5914 sibling DIEs fall within range of the current reader's buffer.
5915 (read_partial_die): Likewise.
5916
5917 2014-04-16 Keith Seitz <keiths@redhat.com>
5918
5919 PR c++/16597
5920 * cp-namespace.c (lookup_symbol_file): If the type name of
5921 `this' is NULL, return immediately.
5922
5923 2014-04-14 Keith Seitz <keiths@redhat.com>
5924
5925 PR c++/16253
5926 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5927 from symbol_matches_domain in symtab.c. All local callers
5928 of symbol_matches_domain updated.
5929 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5930 search STRUCT_DOMAIN.
5931 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5932 independently. standard_lookup will do that automatically.
5933 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5934 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5935 (cp_lookup_symbol_in_namespace): Likewise.
5936 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5937 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5938 may return a STRUCT_DOMAIN match.
5939 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5940 * cp-support.c: Include language.h.
5941 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5942 VAR_DOMAIN.
5943 * psymtab.c (match_partial_symbol): Compare the requested
5944 domain with the symbol's domain directly.
5945 (lookup_partial_symbol): Likewise.
5946 * symtab.c (lookup_symbol_in_language): Explain when/why
5947 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5948 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5949 appropriate languages.
5950 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5951 and moved to ada-lang.c
5952 (lookup_block_symbol): Explain that this function only returns
5953 symbol matching the requested DOMAIN.
5954 Compare the requested domain with the symbol's domain directly.
5955 (iterate_over_symbols): Compare the requested domain with the
5956 symbol's domain directly.
5957 * symtab.h (symbol_matches_domain): Remove.
5958
5959 2014-04-14 Tom Tromey <tromey@redhat.com>
5960
5961 PR c++/15246:
5962 * c-exp.y (type_aggregate_p): New function.
5963 (qualified_name, classify_inner_name): Use it.
5964 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5965 and TYPE_TARGET_TYPE of an enum type.
5966 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5967 an enum type.
5968 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5969 handle TYPE_DECLARED_CLASS.
5970 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5971 types.
5972 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5973 * valops.c (enum_constant_from_type): New function.
5974 (value_aggregate_elt): Use it.
5975 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5976 TYPE_CODE_ENUM.
5977
5978 2014-04-14 Tom Tromey <tromey@redhat.com>
5979
5980 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5981 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5982 const.
5983 * value.h (value_aggregate_elt): Update.
5984
5985 2014-04-14 Tom Tromey <tromey@redhat.com>
5986
5987 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5988
5989 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5990
5991 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5992 (evaluate_subexp_standard): Pass noside argument.
5993 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5994 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5995 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5996 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5997 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5998
5999 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6000
6001 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6002 points to a constant blob.
6003
6004 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6005
6006 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6007 property and store it as the high bound and flag the range accordingly.
6008 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6009 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6010 * gdbtypes.h (enum range_flags): New enum.
6011 (struct range_bounds): Add flags member.
6012
6013 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6014
6015 * c-typeprint.c (c_type_print_varspec_suffix): Added
6016 check for not yet resolved high bound. If unresolved, print
6017 "variable length" string to the console instead of random
6018 length.
6019
6020 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6021
6022 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6023 value.
6024 (ada_template_to_fixed_record_type_1): Likewise.
6025 (ada_to_fixed_type_1): Likewise.
6026 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6027 (cp_print_value): Likewise.
6028 * d-valprint.c (dynamic_array_type): Likewise.
6029 * findvar.c (address_of_variable): Likewise.
6030 * jv-valprint.c (java_value_print): Likewise.
6031 * valops.c (value_ind): Likewise.
6032 * value.c (coerce_ref): Likewise.
6033
6034 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6035
6036 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6037 value and retrieve the dynamic type size.
6038
6039 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6040
6041 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6042 passed to sizeof is dynamic evaluate the argument to compute the length.
6043
6044 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6045 Joel Brobecker <brobecker@adacore.com>
6046
6047 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6048 (dwarf2_evaluate_property): New function.
6049 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6050 * dwarf2read.c (attr_to_dynamic_prop): New function.
6051 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6052 attribute.
6053 * gdbtypes.c: Include dwarf2loc.h.
6054 (is_dynamic_type): New function.
6055 (resolve_dynamic_type): New function.
6056 (resolve_dynamic_bounds): New function.
6057 (get_type_length): New function.
6058 (check_typedef): Use get_type_length to compute type length.
6059 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6060 (TYPE_LOW_BOUND_KIND): New macro.
6061 (is_dynamic_type): New function prototype.
6062 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6063 to resolve dynamic properties of the type. Update comment.
6064 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6065
6066 2014-04-14 Richard Henderson <rth@redhat.com>
6067
6068 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6069
6070 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6071 Doug Evans <xdje42@gmail.com>
6072
6073 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6074 dereference TYPE_CODE_REF values.
6075
6076 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6077
6078 Revert the following changes due to regressions:
6079
6080 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6081 (dwarf2_evaluate_property): New function.
6082 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6083 * dwarf2read.c (attr_to_dynamic_prop): New function.
6084 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6085 attribute.
6086 * gdbtypes.c: Include dwarf2loc.h.
6087 (is_dynamic_type): New function.
6088 (resolve_dynamic_type): New function.
6089 (resolve_dynamic_bounds): New function.
6090 (get_type_length): New function.
6091 (check_typedef): Use get_type_length to compute type length.
6092 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6093 (TYPE_LOW_BOUND_KIND): New macro.
6094 (is_dynamic_type): New function prototype.
6095 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6096 to resolve dynamic properties of the type. Update comment.
6097 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6098
6099 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6100 passed to sizeof is dynamic evaluate the argument to compute the length.
6101
6102 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6103 value and retrieve the dynamic type size.
6104
6105 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6106 (ada_template_to_fixed_record_type_1): Likewise.
6107 (ada_to_fixed_type_1): Likewise.
6108 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6109 (cp_print_value): Likewise.
6110 * d-valprint.c (dynamic_array_type): Likewise.
6111 * eval.c (evaluate_subexp_with_coercion): Likewise.
6112 * findvar.c (address_of_variable): Likewise.
6113 * jv-valprint.c (java_value_print): Likewise.
6114 * valops.c (value_ind): Likewise.
6115 * value.c (coerce_ref): Likewise.
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 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6123 property and store it as the high bound and flag the range accordingly.
6124 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6125 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6126 * gdbtypes.h (enum range_flags): New enum.
6127 (struct range_bounds): Add flags member.
6128
6129 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6130 points to a constant blob.
6131
6132 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6133 (evaluate_subexp_standard): Pass noside argument.
6134 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6135 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6136 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6137 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6138 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6139
6140 2014-04-11 Keith Seitz <keiths@redhat.com>
6141
6142 PR c++/16675
6143 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6144 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6145 reference types.
6146
6147 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6148
6149 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6150 (evaluate_subexp_standard): Pass noside argument.
6151 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6152 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6153 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6154 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6155 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6156
6157 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6158
6159 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6160 points to a constant blob.
6161
6162 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6163
6164 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6165 property and store it as the high bound and flag the range accordingly.
6166 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6167 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6168 * gdbtypes.h (enum range_flags): New enum.
6169 (struct range_bounds): Add flags member.
6170
6171 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6172
6173 * c-typeprint.c (c_type_print_varspec_suffix): Added
6174 check for not yet resolved high bound. If unresolved, print
6175 "variable length" string to the console instead of random
6176 length.
6177
6178 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6179
6180 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6181 (ada_template_to_fixed_record_type_1): Likewise.
6182 (ada_to_fixed_type_1): Likewise.
6183 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6184 (cp_print_value): Likewise.
6185 * d-valprint.c (dynamic_array_type): Likewise.
6186 * eval.c (evaluate_subexp_with_coercion): Likewise.
6187 * findvar.c (address_of_variable): Likewise.
6188 * jv-valprint.c (java_value_print): Likewise.
6189 * valops.c (value_ind): Likewise.
6190 * value.c (coerce_ref): Likewise.
6191
6192 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6193
6194 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6195 value and retrieve the dynamic type size.
6196
6197 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6198
6199 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6200 passed to sizeof is dynamic evaluate the argument to compute the length.
6201
6202 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6203
6204 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6205 (dwarf2_evaluate_property): New function.
6206 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6207 * dwarf2read.c (attr_to_dynamic_prop): New function.
6208 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6209 attribute.
6210 * gdbtypes.c: Include dwarf2loc.h.
6211 (is_dynamic_type): New function.
6212 (resolve_dynamic_type): New function.
6213 (resolve_dynamic_bounds): New function.
6214 (get_type_length): New function.
6215 (check_typedef): Use get_type_length to compute type length.
6216 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6217 (TYPE_LOW_BOUND_KIND): New macro.
6218 (is_dynamic_type): New function prototype.
6219 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6220 to resolve dynamic properties of the type. Update comment.
6221 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6222
6223 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6224
6225 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6226 declaring high/low bounds and change uses accordingly. Call
6227 create_range_type instead of create_static_range_type.
6228 * gdbtypes.c (create_range_type): New function.
6229 (create_range_type): Convert bounds into struct bound_prop and pass
6230 them to create_range_type.
6231 * gdbtypes.h (struct bound_prop): New struct.
6232 (create_range_type): New function prototype.
6233 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6234 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6235 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6236 part of the bound.
6237 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6238
6239 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6240
6241 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6242 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6243 * ada-lang.c: All uses of create_range_type updated.
6244 * coffread.c: All uses of create_range_type updated.
6245 * dwarf2read.c: All uses of create_range_type updated.
6246 * f-exp.y: All uses of create_range_type updated.
6247 * m2-valprint.c: All uses of create_range_type updated.
6248 * mdebugread.c: All uses of create_range_type updated.
6249 * stabsread.c: All uses of create_range_type updated.
6250 * valops.c: All uses of create_range_type updated.
6251 * valprint.c: All uses of create_range_type updated.
6252
6253 2014-04-10 Pedro Alves <palves@redhat.com>
6254
6255 * breakpoint.c (single_step_breakpoints)
6256 (single_step_gdbarch): Move up in the file.
6257 (one_breakpoint_xfer_memory): New function, factored out from ...
6258 (breakpoint_xfer_memory): ... here. Also process single-step
6259 breakpoints.
6260
6261 2014-04-09 Tristan Gingold <gingold@adacore.com>
6262
6263 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6264 comments.
6265 (darwin_decode_exception_message): Free port only after use.
6266
6267 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6268
6269 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6270 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6271 when setting the size of call_length.
6272
6273 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6274
6275 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6276 dereference TYPE_CODE_REF values.
6277
6278 2014-04-07 Joel Brobecker <brobecker@adacore.com>
6279
6280 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6281 end of warning message.
6282
6283 2014-04-03 Doug Evans <dje@google.com>
6284
6285 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6286 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6287
6288 2014-04-02 Alan Modra <amodra@gmail.com>
6289
6290 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6291 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6292 (struct symbol_file_add_from_memory_args): Add size field.
6293 (find_vdso_size): New function.
6294 (add_vsyscall_page): Attempt to find vdso size.
6295
6296 2014-04-01 Doug Evans <dje@google.com>
6297
6298 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6299
6300 2014-04-01 Tristan Gingold <gingold@adacore.com>
6301
6302 * darwin-nat.c (darwin_encode_reply): Add prototype.
6303 (darwin_decode_exception_message): Reply to unknown inferiors.
6304 (darwin_decode_message): Handle message by id. Ignore message
6305 to unknown inferior.
6306 (darwin_wait): Discard unknown messages, add debug trace.
6307
6308 2014-03-31 Doug Evans <dje@google.com>
6309
6310 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6311 comp_dir_string.
6312
6313 2014-03-31 Doug Evans <dje@google.com>
6314
6315 New option "set print symbol-loading".
6316 * NEWS: Mention it.
6317 * solib.c (solib_read_symbols): Only print symbol loading messages
6318 if requested.
6319 (solib_add): If symbol loading is in "brief" mode, notify user
6320 symbols are being loaded.
6321 (reload_shared_libraries_1): Ditto.
6322 * symfile.c (print_symbol_loading_off): New static global.
6323 (print_symbol_loading_brief): New static global.
6324 (print_symbol_loading_full): New static global.
6325 (print_symbol_loading_enums): New static global.
6326 (print_symbol_loading): New static global.
6327 (print_symbol_loading_p): New function.
6328 (symbol_file_add_with_addrs): Only print symbol loading messages
6329 if requested.
6330 (_initialize_symfile): Register "print symbol-loading" set/show
6331 command.
6332 * symfile.h (print_symbol_loading_p): Declare.
6333
6334 2014-03-30 Doug Evans <xdje42@gmail.com>
6335
6336 * infrun.c (set_last_target_status): New function.
6337 (handle_inferior_event): Call it.
6338
6339 2014-03-30 Doug Evans <xdje42@gmail.com>
6340
6341 * inferior.h (enum stop_kind): Improve comment.
6342
6343 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6344
6345 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6346 a reference, strip the reference layer before calling
6347 the lang_ops value_has_mutated callback.
6348
6349 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6350
6351 Remove some globals from our parser.
6352 * language.c (unk_lang_parser): Add "struct parser_state"
6353 argument.
6354 * language.h (struct language_defn) <la_parser>: Likewise.
6355 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6356 (initialize_expout): Add "struct parser_state" argument.
6357 Rewrite function to use the parser state.
6358 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6359 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6360 write_exp_elt_longcst, write_exp_elt_dblcst,
6361 write_exp_elt_decfloatcst, write_exp_elt_type,
6362 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6363 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6364 write_dollar_variable): Likewise.
6365 (parse_exp_in_context_1): Use parser state.
6366 (insert_type_address_space): Add "struct parser_state" argument.
6367 Use parser state.
6368 (increase_expout_size): New function.
6369 * parser-defs.h: Forward declare "struct language_defn" and
6370 "struct parser_state".
6371 (expout, expout_size, expout_ptr): Remove extern declarations.
6372 (parse_gdbarch, parse_language): Rewrite macro declarations to
6373 accept the parser state.
6374 (struct parser_state): New struct.
6375 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6376 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6377 write_exp_elt_decfloatcst, write_exp_elt_type,
6378 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6379 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6380 write_exp_msymbol, write_dollar_variable,
6381 mark_struct_expression, insert_type_address_space): Add "struct
6382 parser_state" argument.
6383 (increase_expout_size): New function.
6384 * utils.c (do_clear_parser_state): New function.
6385 (make_cleanup_clear_parser_state): Likewise.
6386 * utils.h (make_cleanup_clear_parser_state): New function
6387 prototype.
6388 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6389 Update calls to write_exp* in order to pass the parser state.
6390 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6391 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6392 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6393 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6394 * stap-probe.c (stap_parse_register_operand): Likewise.
6395 (stap_parse_single_operand): Likewise.
6396 (stap_parse_argument_1): Likewise.
6397 (stap_parse_argument): Use parser state.
6398 * stap-probe.h: Include "parser-defs.h".
6399 (struct stap_parse_info) <pstate>: New field.
6400 * c-exp.y (parse_type): Rewrite to use parser state.
6401 (yyparse): Redefine to c_parse_internal.
6402 (pstate): New global variable.
6403 (parse_number): Add "struct parser_state" argument.
6404 (write_destructor_name): Likewise.
6405 (type_exp): Update calls to write_exp* and similars in order to
6406 use parser state.
6407 (exp1, exp, variable, qualified_name, space_identifier,
6408 typename, typebase): Likewise.
6409 (write_destructor_name, parse_number, lex_one_token,
6410 classify_name, classify_inner_name, c_parse): Add "struct
6411 parser_state" argument. Update function to use parser state.
6412 * c-lang.h: Forward declare "struct parser_state".
6413 (c_parse): Add "struct parser_state" argument.
6414 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6415 (yyparse): Redefine macro to ada_parse_internal.
6416 (pstate): New variable.
6417 (write_int, write_object_renaming, write_var_or_type,
6418 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6419 type_int, type_long, type_long_long, type_float, type_double,
6420 type_long_double, type_char, type_boolean, type_system_address):
6421 Add "struct parser_state" argument.
6422 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6423 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6424 var_or_type, aggregate, aggregate_component_list,
6425 positional_list, others, component_group,
6426 component_associations): Update calls to write_exp* and similar
6427 functions in order to use parser state.
6428 (ada_parse, write_var_from_sym, write_int,
6429 write_exp_op_with_string, write_object_renaming,
6430 find_primitive_type, write_selectors, write_ambiguous_var,
6431 write_var_or_type, write_name_assoc, type_int, type_long,
6432 type_long_long, type_float, type_double, type_long_double,
6433 type_char, type_boolean, type_system_address): Add "struct
6434 parser_state" argument. Adjust function to use parser state.
6435 * ada-lang.c (parse): Likewise.
6436 * ada-lang.h: Forward declare "struct parser_state".
6437 (ada_parse): Add "struct parser_state" argument.
6438 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6439 calls to both functions.
6440 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6441 parser state.
6442 (yyparse): Redefine macro to f_parse_internal.
6443 (pstate): New variable.
6444 (parse_number): Add "struct parser_state" argument.
6445 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6446 and similars in order to use parser state.
6447 (parse_number): Adjust code to use parser state.
6448 (yylex): Likewise.
6449 (f_parse): New function.
6450 * f-lang.h: Forward declare "struct parser_state".
6451 (f_parse): Add "struct parser_state" argument.
6452 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6453 parser state.
6454 (yyparse): Redefine macro for java_parse_internal.
6455 (pstate): New variable.
6456 (push_expression_name, push_expression_name, insert_exp): Add
6457 "struct parser_state" argument.
6458 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6459 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6460 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6461 PostIncrementExpression, PostDecrementExpression,
6462 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6463 UnaryExpressionNotPlusMinus, CastExpression,
6464 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6465 RelationalExpression, EqualityExpression, AndExpression,
6466 ExclusiveOrExpression, InclusiveOrExpression,
6467 ConditionalAndExpression, ConditionalOrExpression,
6468 ConditionalExpression, Assignment, LeftHandSide): Update
6469 calls to write_exp* and similars in order to use parser state.
6470 (parse_number): Ajust code to use parser state.
6471 (yylex): Likewise.
6472 (java_parse): New function.
6473 (push_variable): Add "struct parser_state" argument. Adjust
6474 code to user parser state.
6475 (push_fieldnames, push_qualified_expression_name,
6476 push_expression_name, insert_exp): Likewise.
6477 * jv-lang.h: Forward declare "struct parser_state".
6478 (java_parse): Add "struct parser_state" argument.
6479 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6480 parser state.
6481 (yyparse): Redefine macro to m2_parse_internal.
6482 (pstate): New variable.
6483 (type_exp, exp, fblock, variable, type): Update calls to
6484 write_exp* and similars to use parser state.
6485 (yylex): Likewise.
6486 (m2_parse): New function.
6487 * m2-lang.h: Forward declare "struct parser_state".
6488 (m2_parse): Add "struct parser_state" argument.
6489 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6490 * objc-lang.h: Forward declare "struct parser_state".
6491 (end_msglist): Add "struct parser_state" argument.
6492 * p-exp.y (parse_type): Rewrite macro to use parser state.
6493 (yyparse): Redefine macro to pascal_parse_internal.
6494 (pstate): New variable.
6495 (parse_number): Add "struct parser_state" argument.
6496 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6497 write_exp* and similars in order to use parser state.
6498 (parse_number, yylex): Adjust code to use parser state.
6499 (pascal_parse): New function.
6500 * p-lang.h: Forward declare "struct parser_state".
6501 (pascal_parse): Add "struct parser_state" argument.
6502 * go-exp.y (parse_type): Rewrite macro to use parser state.
6503 (yyparse): Redefine macro to go_parse_internal.
6504 (pstate): New variable.
6505 (parse_number): Add "struct parser_state" argument.
6506 (type_exp, exp1, exp, variable, type): Update calls to
6507 write_exp* and similars in order to use parser state.
6508 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6509 to use parser state.
6510 (go_parse): Likewise.
6511 * go-lang.h: Forward declare "struct parser_state".
6512 (go_parse): Add "struct parser_state" argument.
6513
6514 2014-03-27 Doug Evans <dje@google.com>
6515
6516 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6517
6518 2014-03-27 Doug Evans <dje@google.com>
6519
6520 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6521 Remove argument abbrev_section. All callers updated.
6522
6523 2014-03-27 Doug Evans <dje@google.com>
6524
6525 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6526 addr_base, ranges_base.
6527
6528 2014-03-26 Keith Seitz <keiths@redhat.com>
6529
6530 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6531 types, not VAR_DOMAIN.
6532
6533 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6534
6535 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6536 "ra" registers.
6537 * features/nios2-linux.c: Regenerated.
6538 * features/nios2.c: Regenerated.
6539
6540 2014-03-25 Pedro Alves <palves@redhat.com>
6541
6542 * cli/cli-script.c (script_from_file): Force the interpreter to
6543 sync mode.
6544
6545 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6546
6547 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6548 small stack allocation.
6549
6550 2014-03-24 Tristan Gingold <gingold@adacore.com>
6551
6552 * darwin-nat.c (exc_server): Remove unused prototype.
6553 (darwin_dump_message): Correctly display data on x86_64.
6554 (darwin_encode_reply): Fix style.
6555 Add comments and fix indentation.
6556
6557 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6558
6559 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6560
6561 2014-03-22 Doug Evans <xdje42@gmail.com>
6562
6563 * infcmd.c: Whitespace fixes.
6564 (interrupt_command): Merge two function comments into one.
6565
6566 2014-03-22 Doug Evans <xdje42@gmail.com>
6567
6568 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6569 All uses updated.
6570
6571 2014-03-22 Yao Qi <yao@codesourcery.com>
6572
6573 * remote.c (target_read_live_memory): Remove.
6574 (memory_xfer_live_readonly_partial): Rename it to
6575 remote_xfer_live_readonly_partial. Remove argument 'object'.
6576 All callers updated. Call remote_read_bytes_1
6577 instead of target_read_live_memory.
6578 * tracepoint.c (set_traceframe_number): Remove.
6579 (make_cleanup_restore_traceframe_number): Likewise .
6580 * tracepoint.h (set_traceframe_number): Remove declaration.
6581 (make_cleanup_restore_traceframe_number): Likewise.
6582
6583 2014-03-22 Yao Qi <yao@codesourcery.com>
6584
6585 * remote.c (remote_read_bytes): Move code on reading from the
6586 remote stub to ...
6587 (remote_read_bytes_1): ... here. New function.
6588
6589 2014-03-22 Yao Qi <yao@codesourcery.com>
6590
6591 * ctf.c (ctf_xfer_partial): Check the return value of
6592 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6593 return TARGET_XFER_UNAVAILABLE.
6594 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6595 * target.c (target_read_live_memory): Move it to remote.c.
6596 (memory_xfer_live_readonly_partial): Likewise.
6597 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6598 * remote.c (target_read_live_memory): Moved from target.c.
6599 (memory_xfer_live_readonly_partial): Likewise.
6600 (remote_read_bytes): Factored out from
6601 memory_xfer_partial_1.
6602
6603 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6604
6605 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6606 NULL pointer.
6607
6608 2014-03-21 Pedro Alves <palves@redhat.com>
6609
6610 * infrun.c (normal_stop): Extend comment.
6611
6612 2014-03-21 Hui Zhu <hui@codesourcery.com>
6613 Pedro Alves <palves@redhat.com>
6614
6615 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6616 static buffer.
6617 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6618 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6619 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6620
6621 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6622
6623 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6624 `z' formatted output modifier.
6625
6626 2014-03-20 Tom Tromey <tromey@redhat.com>
6627 Sergio Durigan Junior <sergiodj@redhat.com>
6628
6629 * probe.c (parse_probes): Turn assert into an ordinary error.
6630 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6631 exceptions when parsing probes. Rearrange the code for clarity.
6632
6633 2014-03-20 Tom Tromey <tromey@redhat.com>
6634
6635 PR gdb/14135
6636 * top.c (execute_command): Only dispatch events if the command
6637 started the target.
6638
6639 2014-03-20 Tom Tromey <tromey@redhat.com>
6640
6641 PR cli/15718
6642 * infcall.c: Include event-top.h.
6643 (run_inferior_call): Call async_disable_stdin if needed.
6644
6645 2014-03-20 Pedro Alves <palves@redhat.com>
6646
6647 * infrun.c (prepare_to_proceed): Delete.
6648 (thread_still_needs_step_over): New function.
6649 (find_thread_needs_step_over): New function.
6650 (proceed): If the current thread needs a step-over, set its
6651 steping_over_breakpoint flag. Adjust to use
6652 find_thread_needs_step_over instead of prepare_to_proceed.
6653 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6654 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6655 breakpoint.
6656 (switch_back_to_stepped_thread): Step over breakpoints of all
6657 threads not the stepping thread, before switching back to the
6658 stepping thread.
6659
6660 2014-03-20 Pedro Alves <palves@redhat.com>
6661
6662 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6663 extern.
6664 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6665 * infrun.c (saved_singlestep_ptid)
6666 (stepping_past_singlestep_breakpoint): Delete.
6667 (resume): Remove stepping_past_singlestep_breakpoint handling.
6668 (proceed): Store the prev_pc of the stepping thread too.
6669 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6670 singlestep_pc.
6671 (enum infwait_states): Delete infwait_thread_hop_state.
6672 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6673 field.
6674 (handle_inferior_event): Adjust.
6675 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6676 handling and the thread-hop code. Before removing single-step
6677 breakpoints, check whether the thread hit a single-step breakpoint
6678 of another thread. If it did, the trap is not a random signal.
6679 (switch_back_to_stepped_thread): If the event thread hit a
6680 single-step breakpoint, unblock it before switching to the
6681 stepping thread. Handle the case of the stepped thread having
6682 advanced already.
6683 (keep_going): Handle the case of the current thread moving past a
6684 single-step breakpoint.
6685
6686 2014-03-20 Pedro Alves <palves@redhat.com>
6687
6688 PR breakpoints/7143
6689 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6690 are being stepped over.
6691 (breakpoint_address_match): Make extern.
6692 * breakpoint.h (breakpoint_address_match): New declaration.
6693 * inferior.h (stepping_past_instruction_at): New declaration.
6694 * infrun.c (struct step_over_info): New type.
6695 (step_over_info): New global.
6696 (set_step_over_info, clear_step_over_info)
6697 (stepping_past_instruction_at): New functions.
6698 (handle_inferior_event): Clear the step-over info when
6699 trap_expected is cleared.
6700 (resume): Remove now stale comment.
6701 (clear_proceed_status): Clear step-over info.
6702 (proceed): Adjust step-over handling to set or clear the step-over
6703 info instead of removing all breakpoints.
6704 (handle_signal_stop): When setting up a thread-hop, don't remove
6705 breakpoints here.
6706 (stop_stepping): Clear step-over info.
6707 (keep_going): Adjust step-over handling to set or clear step-over
6708 info and then always inserting breakpoints, instead of removing
6709 all breakpoints when stepping over one.
6710
6711 2014-03-20 Pedro Alves <palves@redhat.com>
6712
6713 * infrun.c (previous_inferior_ptid): Adjust comment.
6714 (deferred_step_ptid): Delete.
6715 (infrun_thread_ptid_changed, prepare_to_proceed)
6716 (init_wait_for_inferior): Adjust.
6717 (handle_signal_stop): Delete deferred_step_ptid handling.
6718
6719 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6720
6721 PR gdb/15358
6722 * defs.h (sync_quit_force_run): New declaration.
6723 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6724 * event-top.c (async_sigterm_handler): New declaration.
6725 (async_sigterm_token): New variable.
6726 (async_init_signals): Create also async_sigterm_token.
6727 (async_sigterm_handler): New function.
6728 (sync_quit_force_run): New variable.
6729 (handle_sigterm): Replace quit_force call by other calls.
6730 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6731
6732 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6733
6734 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6735 offset into SPE pseudo registers.
6736
6737 2014-03-18 Pedro Alves <palves@redhat.com>
6738
6739 PR gdb/13860
6740 * inferior.h (print_stop_event): Declare.
6741 * infrun.c (print_stop_event): New, factored out from ...
6742 (normal_stop): ... this.
6743 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6744 of bpstat_print/print_stack_frame.
6745
6746 2014-03-17 Tom Tromey <tromey@redhat.com>
6747
6748 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6749
6750 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6751
6752 * ada-lang.c (decode_constrained_packed_array): Perform a
6753 minimal coercion for reference with coerce_ref instead of
6754 ada_coerce_ref.
6755
6756 2014-03-17 Tristan Gingold <gingold@adacore.com>
6757
6758 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6759 (darwin_solib_create_inferior_hook): Emit a warning if version
6760 is unhandled.
6761
6762 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6763
6764 * python/py-value.c (get_field_flag): Cast flag_name argument to
6765 PyObject_GetAttrString to support Python 2.4.
6766
6767 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6768
6769 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6770 (Global Maintainers): Remove Jan Kratochvil.
6771
6772 2014-03-14 Pedro Alves <palves@redhat.com>
6773
6774 * inferior.h (terminal_ours_for_output): Rename to ...
6775 (child_terminal_ours_for_output): ... this.
6776 (terminal_save_ours): Rename to ...
6777 (child_terminal_save_ours): ... this.
6778 (terminal_ours): Rename to ...
6779 (child_terminal_ours): ... this.
6780 (terminal_inferior): Rename to ...
6781 (child_terminal_inferior): ... this.
6782 (terminal_init_inferior): Rename to ...
6783 (child_terminal_init_inferior): ... this.
6784 (terminal_init_inferior_with_pgrp): Rename to ...
6785 (child_terminal_init_inferior_with_pgrp): ... this.
6786 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6787 (child_terminal_init_with_pgrp): ... this.
6788 (terminal_save_ours): Rename to ...
6789 (child_terminal_save_ours): ... this.
6790 (terminal_init_inferior): Rename to ...
6791 (child_terminal_init): ... this. Adjust.
6792 (terminal_inferior): Rename to ...
6793 (child_terminal_inferior): ... this.
6794 (terminal_ours_for_output): Rename to ...
6795 (child_terminal_ours_for_output): ... this. Adjust.
6796 (terminal_ours): Rename to ...
6797 (child_terminal_ours): ... this.
6798 (terminal_ours_1): Rename to ...
6799 (child_terminal_ours_1): ... this. Adjust.
6800 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6801 * windows-nat.c (do_initial_windows_stuff): Adjust.
6802 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6803 (gnu_terminal_init): ... this. Adjust.
6804 (gnu_target): Adjust.
6805 * inf-child.c (inf_child_target): Adjust.
6806
6807 2014-03-13 Doug Evans <xdje42@gmail.com>
6808
6809 PR guile/16612
6810 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6811 new eq?-hashtab.
6812
6813 2014-03-13 Doug Evans <xdje42@gmail.com>
6814
6815 * value.c (record_latest_value): Call release_value_or_incref
6816 instead of release_value.
6817
6818 2014-03-13 Pedro Alves <palves@redhat.com>
6819
6820 * procfs.c (procfs_target): Don't override to_shortname,
6821 to_longname or to_doc.
6822
6823 2014-03-13 Pedro Alves <palves@redhat.com>
6824
6825 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6826 Unix in user visible strings.
6827
6828 2014-03-12 Stan Shebs <stan@codesourcery.com>
6829
6830 * gdbtypes.h: Annotate comments for Doxygen, add a page
6831 block comment with some general info.
6832
6833 2014-03-12 Pedro Alves <palves@redhat.com>
6834
6835 * infcmd.c (prepare_execution_command): New function, factored out
6836 from several execution commands.
6837 (run_command_1, continue_command, step_1, jump_command)
6838 (signal_command, until_command, advance_command, finish_command)
6839 (attach_command): Use prepare_execution_command.
6840
6841 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
6842
6843 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6844 (MAX_BPTS): Define.
6845 (MAX_WPTS): Define.
6846 (struct arm_linux_thread_points): Removed.
6847 (struct arm_linux_process_info): New.
6848 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6849 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6850 (arm_linux_find_breakpoints_by_tid): Removed.
6851 (struct arch_lwp_info): New.
6852 (arm_linux_find_process_pid): New functions.
6853 (arm_linux_add_process): New functions.
6854 (arm_linux_process_info_get): New functions.
6855 (arm_linux_forget_process): New function.
6856 (arm_linux_get_debug_reg_state): New function.
6857 (struct update_registers_data): New.
6858 (update_registers_callback): New function.
6859 (arm_linux_insert_hw_breakpoint1): Updated.
6860 (arm_linux_remove_hw_breakpoint1): Updated.
6861 (arm_linux_insert_hw_breakpoint): Updated.
6862 (arm_linux_remove_hw_breakpoint): Updated.
6863 (arm_linux_insert_watchpoint): Updated.
6864 (arm_linux_remove_watchpoint): Updated.
6865 (arm_linux_new_thread): Updated.
6866 (arm_linux_prepare_to_resume): New function.
6867 (arm_linux_new_fork): New function.
6868 (_initialize_arm_linux_nat): Updated.
6869
6870 2014-03-12 Pedro Alves <palves@redhat.com>
6871
6872 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6873
6874 2014-03-12 Tom Tromey <tromey@redhat.com>
6875
6876 * inf-child.c (return_zero): New function.
6877 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6878 * aix-thread.c (aix_thread_inferior_created): New function.
6879 (aix_thread_attach): Remove.
6880 (init_aix_thread_ops): Don't set to_attach.
6881 (_initialize_aix_thread): Register inferior_created observer.
6882 * corelow.c (init_core_ops): Don't set to_attach or
6883 to_create_inferior.
6884 * exec.c (init_exec_ops): Don't set to_attach or
6885 to_create_inferior.
6886 * infcmd.c (run_command_1): Use find_run_target. Make direct
6887 target calls.
6888 (attach_command): Use find_attach_target. Make direct target
6889 calls.
6890 * record-btrace.c (init_record_btrace_ops): Don't set
6891 to_create_inferior.
6892 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6893 Remove.
6894 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6895 set to_create_inferior.
6896 * target.c (complete_target_initialization): Add assertion.
6897 (target_create_inferior): Remove.
6898 (find_default_attach, find_default_create_inferior): Remove.
6899 (find_attach_target, find_run_target): New functions.
6900 (find_default_is_async_p, find_default_can_async_p)
6901 (target_supports_non_stop, target_attach): Remove.
6902 (init_dummy_target): Don't set to_create_inferior or
6903 to_supports_non_stop.
6904 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6905 TARGET_DEFAULT_FUNC.
6906 <to_create_inferior>: Add comment.
6907 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6908 TARGET_DEFAULT_RETURN.
6909 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6910 (find_attach_target, find_run_target): Declare.
6911 (target_create_inferior): Remove.
6912 (target_has_execution_1): Update comment.
6913 (target_supports_non_stop): Remove.
6914 * target-delegates.c: Rebuild.
6915
6916 2014-03-12 Pedro Alves <palves@redhat.com>
6917
6918 * inf-child.h: Update comment to not mention Unix.
6919
6920 2014-03-12 Pedro Alves <palves@redhat.com>
6921
6922 * inf-child.c: Update top comment to not mention Unix. Add
6923 generic comment describing how this target is meant to be used.
6924 (inf_child_post_attach, inf_child_post_startup_inferior)
6925 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6926 Unix in comment.
6927
6928 2014-03-12 Pedro Alves <palves@redhat.com>
6929
6930 * nto-procfs.c: Include inf-child.h.
6931 (procfs_ops): Delete global.
6932 (procfs_can_run): Delete method.
6933 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6934 target pointer instead of referencing procfs_ops.
6935 (procfs_prepare_to_store): Delete.
6936 (init_procfs_ops): Delete function.
6937 (procfs_target): New function, based on init_procfs_ops, but
6938 inherit inf_child_target.
6939 (_initialize_procfs): Use procfs_target.
6940
6941 2014-03-12 Pedro Alves <palves@redhat.com>
6942
6943 * windows-nat.c: Include inf-child.h.
6944 (windows_ops): Delete global.
6945 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6946 methods.
6947 (init_windows_ops): Delete function.
6948 (windows_target): New function, based on init_windows_ops, but
6949 inherit inf_child_target.
6950 (_initialize_windows_nat): Use windows_target. Install x86
6951 specific target methods here.
6952
6953 2014-03-10 Doug Evans <xdje42@gmail.com>
6954
6955 * guile/guile.c (call_initialize_gdb_module): New function.
6956 (initialize_guile): Replace call to scm_init_guile with call to
6957 scm_with_guile.
6958
6959 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6960
6961 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6962 in call to TYPE_CODE macro.
6963
6964 2014-03-10 Jerome Guitton <guitton@adacore.com>
6965
6966 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6967 Resolve tagged types to full view.
6968
6969 2014-03-10 Hui Zhu <hui@codesourcery.com>
6970
6971 * target.h (target_insert_breakpoint): Remove "hardware" from its
6972 comments.
6973
6974 2014-03-07 Doug Evans <dje@google.com>
6975
6976 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6977
6978 2014-03-07 Doug Evans <dje@google.com>
6979
6980 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6981 Remove unused local comp_dir_attr. Assert exactly one of
6982 stub_comp_unit_die, stub_comp_dir is non-NULL.
6983
6984 2014-03-07 Joel Brobecker <brobecker@adacore.com>
6985
6986 * target.h (complete_target_initialization, add_target):
6987 Add comment.
6988
6989 2014-03-07 Pedro Alves <palves@redhat.com>
6990
6991 * go32-nat.c: Include inf-child.h.
6992 (go32_ops): Delete global.
6993 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6994 Delete methods.
6995 (go32_create_inferior): Push the passed in target pointer instead
6996 of referencing go32_ops.
6997 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6998 (go32_target): New function, based on init_go32_ops, but inherit
6999 inf_child_target.
7000 (_initialize_go32_nat): Use go32_target. Move parts of
7001 init_go32_ops here.
7002
7003 2014-03-06 Joel Brobecker <brobecker@adacore.com>
7004
7005 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7006 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7007 SYMBOL_VALUE_ADDRESS.
7008 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7009
7010 2014-03-06 Yao Qi <yao@codesourcery.com>
7011
7012 * breakpoint.c (get_tracepoint_by_number): Remove argument
7013 optional_p. All callers updated. Adjust comments. Update
7014 output message.
7015 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7016
7017 2014-03-06 Yao Qi <yao@codesourcery.com>
7018
7019 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7020 early if get_number returns zero. Use 'p' instead of 'args'.
7021
7022 2014-03-06 Yao Qi <yao@codesourcery.com>
7023
7024 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7025 message.
7026
7027 2014-03-06 Yao Qi <yao@codesourcery.com>
7028
7029 PR breakpoints/16508
7030 * tracepoint.c (check_trace_running): New function.
7031 (trace_find_command): Move code to check_trace_running and
7032 call check_trace_running.
7033 (trace_find_pc_command): Likewise.
7034 (trace_find_tracepoint_command): Likewise.
7035 (trace_find_line_command): Likewise.
7036 (trace_find_range_command): Likewise.
7037 * tracepoint.h (check_trace_running): Likewise.
7038 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7039
7040 2014-03-06 Yao Qi <yao@codesourcery.com>
7041
7042 * target.h (struct target_ops) <to_traceframe_info>: Use
7043 TARGET_DEFAULT_NORETURN (tcomplain ()).
7044 * target-delegates.c: Regenerated.
7045
7046 2014-03-05 Pedro Alves <palves@redhat.com>
7047
7048 PR gdb/16575
7049 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7050 void. Update comment.
7051 (dcache_xfer_memory): Delete.
7052 (dcache_read_memory_partial): New, based on the read bits of
7053 dcache_xfer_memory.
7054 (dcache_update): Add status parameter. Use ULONGEST for len, and
7055 adjust. Discard cache lines if the reason for the update was
7056 error.
7057 * dcache.h (dcache_xfer_memory): Delete declaration.
7058 (dcache_read_memory_partial): New declaration.
7059 (dcache_update): Update prototype.
7060 * target.c (raw_memory_xfer_partial): Update the dcache here.
7061 (memory_xfer_partial_1): Don't handle dcache writes here.
7062
7063 2014-03-05 Mike Frysinger <vapier@gentoo.org>
7064
7065 * remote-sim.c (gdbsim_load): Add const to prog.
7066
7067 2014-03-03 Tom Tromey <tromey@redhat.com>
7068
7069 * elfread.c (probe_key): Change to bfd_data.
7070 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7071 now per-BFD, not per-objfile.
7072 * stap-probe.c (stap_probe_destroy): Update comment.
7073 (handle_stap_probe): Allocate on the per-BFD obstack.
7074
7075 2014-03-03 Tom Tromey <tromey@redhat.com>
7076
7077 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7078 * breakpoint.c (create_longjmp_master_breakpoint): Use
7079 get_probe_address.
7080 (add_location_to_breakpoint, bkpt_probe_insert_location)
7081 (bkpt_probe_remove_location): Update.
7082 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7083 * elfread.c (elf_symfile_relocate_probe): Remove.
7084 (elf_probe_fns): Update.
7085 (insert_exception_resume_breakpoint): Change type of "probe"
7086 parameter to bound_probe.
7087 (check_exception_resume): Update.
7088 * objfiles.c (objfile_relocate1): Don't relocate probes.
7089 * probe.c (bound_probe_s): New typedef.
7090 (parse_probes): Use get_probe_address. Set sal's objfile.
7091 (find_probe_by_pc): Return a bound_probe.
7092 (collect_probes): Return a VEC(bound_probe_s).
7093 (compare_probes): Update.
7094 (gen_ui_out_table_header_info): Change type of "probes"
7095 parameter. Update.
7096 (info_probes_for_ops): Update.
7097 (get_probe_address): New function.
7098 (probe_safe_evaluate_at_pc): Update.
7099 * probe.h (struct probe_ops) <get_probe_address>: New field.
7100 <set_semaphore, clear_semaphore>: Add objfile parameter.
7101 (struct probe) <objfile>: Remove field.
7102 <arch>: New field.
7103 <address>: Update comment.
7104 (struct bound_probe): New.
7105 (find_probe_by_pc): Return a bound_probe.
7106 (get_probe_address): Declare.
7107 * solib-svr4.c (struct probe_and_action) <address>: New field.
7108 (hash_probe_and_action, equal_probe_and_action): Update.
7109 (register_solib_event_probe): Add address parameter.
7110 (solib_event_probe_at): Update.
7111 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7112 get_probe_address.
7113 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7114 (stap_get_probe_address): New function.
7115 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7116 (compile_probe_arg): Update.
7117 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7118 address.
7119 (handle_stap_probe): Don't relocate the probe.
7120 (stap_relocate): Remove.
7121 (stap_gen_info_probes_table_values): Update.
7122 (stap_probe_ops): Remove stap_relocate.
7123 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7124 (debug_sym_probe_fns): Update.
7125 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7126 * symtab.c (init_sal): Use memset.
7127 * symtab.h (struct symtab_and_line) <objfile>: New field.
7128 * tracepoint.c (start_tracing, stop_tracing): Update.
7129
7130 2014-03-03 Tom Tromey <tromey@redhat.com>
7131
7132 * probe.h (parse_probes, find_probe_by_pc)
7133 (find_probes_in_objfile): Fix comments.
7134
7135 2014-03-02 Doug Evans <xdje42@gmail.com>
7136
7137 * infrun.c (handle_signal_stop): Replace test for
7138 TARGET_WAITKIND_STOPPED with an assert.
7139
7140 2014-03-02 Doug Evans <xdje42@gmail.com>
7141
7142 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7143
7144 2014-03-02 Doug Evans <xdje42@gmail.com>
7145
7146 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7147
7148 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7149
7150 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7151
7152 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7153
7154 * i386obsd-nat.c: Include "obsd-nat.h".
7155 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7156 add_target.
7157 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7158
7159 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7160
7161 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7162
7163 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7164
7165 * mips64obsd-nat.c: Include "obsd-nath".
7166 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7167 add_target
7168 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7169
7170 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7171
7172 * amd64obsd-nat.c: Include "obsd-nat,h.
7173 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7174 add_target.
7175 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7176
7177 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7178
7179 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7180 (find_overload_match): Update call to find_oload_champ.
7181 (find_oload_champ_namespace_loop): Likewise
7182
7183 2014-02-28 Mark Kettenis <kettenis@gnu.org>
7184
7185 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7186
7187 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7188 * config/sparc/obsd64.mh: New file.
7189 * sparc64obsd-nat.c: New file.
7190
7191 * obsd-nat.h: New file.
7192 * obsd-nat.c: New file.
7193 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7194 (ALLDEPFILES): Add obsd-nat.c.
7195
7196 2014-02-28 Tom Tromey <tromey@redhat.com>
7197
7198 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7199 * cli-out.h (cli_ui_out_impl): Now const.
7200 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7201 * ui-out.c (struct ui_out) <impl>: Now const.
7202 (default_ui_out_impl): Now const.
7203 (ui_out_new): Make 'impl' parameter const.
7204 * ui-out.h (ui_out_new): Update.
7205
7206 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7207
7208 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7209
7210 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7211
7212 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7213
7214 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7215
7216 Additional PR 8882 fix.
7217 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7218
7219 2014-02-27 Pedro Alves <palves@redhat.com>
7220
7221 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7222 isn't set.
7223
7224 2014-02-27 Pedro Alves <palves@redhat.com>
7225
7226 PR 12702
7227 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7228 * nat/linux-waitpid.c: Include string.h.
7229 (status_to_str): Moved here and made extern.
7230 * nat/linux-waitpid.h (status_to_str): New declaration.
7231
7232 2014-02-27 Hui Zhu <hui@codesourcery.com>
7233
7234 PR 12702
7235 * infrun.c (ptid_match): Move ...
7236 * common/ptid.c (ptid_match): ... here.
7237 * inferior.h (ptid_match): Move ...
7238 * common/ptid.h (ptid_match): ... here.
7239
7240 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7241
7242 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7243 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7244 gdb_target_obs.
7245
7246 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7247
7248 * obsd-tdep.c (obsd_auxv_parse): New function.
7249 (obsd_init_abi): Set auxv_parse.
7250
7251 * gdbarch.sh (auxv_parse): New.
7252 * gdbarch.h: Regenerated.
7253 * gdbarch.c: Regenerated.
7254 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7255
7256 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7257
7258 * guile/scm-value.c (gdbscm_history_append_x): New function.
7259 (value_functions): Add it.
7260
7261 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7262
7263 * dwarf2read.c (attr_value_as_address): New function.
7264 (dwarf2_find_base_address, read_call_site_scope): Use
7265 attr_value_as_address in place of DW_ADDR.
7266 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7267 the low and high addresses. Slight rework of the handling
7268 of the high pc being a constant form, and limit it to
7269 DWARF verson 4 or higher.
7270 (dwarf2_record_block_ranges): Likewise.
7271 (read_partial_die): Likewise.
7272 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7273
7274 2014-02-26 Tom Tromey <tromey@redhat.com>
7275
7276 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7277
7278 2014-02-26 Tom Tromey <tromey@redhat.com>
7279
7280 * elfread.c (elf_read_minimal_symbols): Return early if
7281 minimal symbols have already been read. Add "ei" parameter.
7282 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7283 * minsyms.c (prim_record_minimal_symbol_full): Update.
7284 * objfiles.h (struct objstats) <n_minsyms>: Move...
7285 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7286 * symmisc.c (print_objfile_statistics): Update.
7287
7288 2014-02-26 Tom Tromey <tromey@redhat.com>
7289
7290 * elfread.c (elf_read_minimal_symbols): New function, from
7291 elf_symfile_read.
7292 (elf_symfile_read): Call it.
7293
7294 2014-02-26 Tom Tromey <tromey@redhat.com>
7295
7296 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7297 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7298 (lookup_minimal_symbol_solib_trampoline)
7299 (lookup_minimal_symbol_by_pc_section_1)
7300 (lookup_minimal_symbol_and_objfile): Update.
7301 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7302 Don't allocate a minimal symbol if minsyms have already been read.
7303 (build_minimal_symbol_hash_tables): Update.
7304 (install_minimal_symbols): Do nothing if minsyms already read.
7305 Use the per-BFD obstack.
7306 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7307 * objfiles.c (allocate_objfile): Call
7308 terminate_minimal_symbol_table later.
7309 (have_minimal_symbols): Update.
7310 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7311 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7312 Move from struct objfile.
7313 <minsyms_read>: New field.
7314 (struct objfile) <msymbols, minimal_symbol_count,
7315 msymbol_hash, msymbol_demangled_hash>: Move.
7316 (ALL_OBJFILE_MSYMBOLS): Update.
7317 * symfile.c (read_symbols): Set minsyms_read.
7318 (reread_symbols): Update.
7319 * symmisc.c (dump_objfile, dump_msymbols): Update.
7320
7321 2014-02-26 Tom Tromey <tromey@redhat.com>
7322
7323 * minsyms.c (msymbols_sort): Remove.
7324 * minsyms.h (msymbols_sort): Remove.
7325 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7326 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7327 * elfread.c (elf_symtab_read): Don't add section offsets.
7328 * xcoffread.c (record_minimal_symbol): Don't add section offset
7329 to minimal symbol address.
7330 * somread.c (text_offset, data_offset): Remove.
7331 (som_symtab_read): Don't add section offsets to minimal symbol
7332 addresses.
7333 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7334 Don't add section offsets to minimal symbols.
7335 * coffread.c (coff_symtab_read): Don't add section offsets
7336 to minimal symbol addresses.
7337 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7338 to minimal symbol addresses.
7339 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7340 section offset to minimal symbol addresses.
7341 * mdebugread.c (parse_partial_symbols): Don't add section
7342 offset to minimal symbol addresses.
7343 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7344 offset to minimal symbol addresses.
7345
7346 2014-02-26 Tom Tromey <tromey@redhat.com>
7347
7348 * ada-lang.c (ada_main_name): Update.
7349 (ada_add_standard_exceptions): Update.
7350 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7351 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7352 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7353 * auxv.c (ld_so_xfer_auxv): Update.
7354 * avr-tdep.c (avr_scan_prologue): Update.
7355 * ax-gdb.c (gen_var_ref): Update.
7356 * blockframe.c (get_pc_function_start)
7357 (find_pc_partial_function_gnu_ifunc): Update.
7358 * breakpoint.c (create_overlay_event_breakpoint)
7359 (create_longjmp_master_breakpoint)
7360 (create_std_terminate_master_breakpoint)
7361 (create_exception_master_breakpoint): Update.
7362 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7363 * c-valprint.c (c_val_print): Update.
7364 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7365 * common/agent.c (agent_look_up_symbols): Update.
7366 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7367 * dwarf2loc.c (call_site_to_target_addr): Update.
7368 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7369 * elfread.c (elf_gnu_ifunc_record_cache)
7370 (elf_gnu_ifunc_resolve_by_got): Update.
7371 * findvar.c (default_read_var_value): Update.
7372 * frame.c (inside_main_func): Update.
7373 * frv-tdep.c (frv_frame_this_id): Update.
7374 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7375 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7376 Update.
7377 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7378 (hppa_hpux_find_dummy_bpaddr): Update.
7379 * hppa-tdep.c (hppa_symbol_address): Update.
7380 * infcmd.c (until_next_command): Update.
7381 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7382 Update.
7383 * linespec.c (minsym_found, add_minsym): Update.
7384 * linux-nat.c (get_signo): Update.
7385 * linux-thread-db.c (inferior_has_bug): Update.
7386 * m32c-tdep.c (m32c_return_value)
7387 (m32c_m16c_address_to_pointer): Update.
7388 * m32r-tdep.c (m32r_frame_this_id): Update.
7389 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7390 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7391 * maint.c (maintenance_translate_address): Update.
7392 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7393 (frob_address): New function.
7394 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7395 frob_address. Rename parameter to "pc_in".
7396 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7397 addresses.
7398 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7399 Update.
7400 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7401 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7402 * objc-lang.c (find_objc_msgsend): Update.
7403 * objfiles.c (objfile_relocate1): Update.
7404 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7405 * p-valprint.c (pascal_val_print): Update.
7406 * parse.c (write_exp_msymbol): Update.
7407 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7408 (ppc_elfv2_skip_entrypoint): Update.
7409 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7410 * printcmd.c (build_address_symbolic, msym_info)
7411 (address_info): Update.
7412 * proc-service.c (ps_pglobal_lookup): Update.
7413 * psymtab.c (find_pc_sect_psymtab_closer)
7414 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7415 Change msymbol parameter to bound_minimal_symbol.
7416 * ravenscar-thread.c (get_running_thread_id): Update.
7417 * remote.c (remote_check_symbols): Update.
7418 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7419 address.
7420 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7421 * solib-dsbt.c (lm_base): Update.
7422 * solib-frv.c (lm_base, main_got): Update.
7423 * solib-irix.c (locate_base): Update.
7424 * solib-som.c (som_solib_create_inferior_hook)
7425 (link_map_start): Update.
7426 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7427 * solib-svr4.c (elf_locate_base, enable_break): Update.
7428 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7429 (flush_ea_cache): Update.
7430 * stabsread.c (define_symbol, scan_file_globals): Update.
7431 * stack.c (find_frame_funname): Update.
7432 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7433 (debug_qf_find_pc_sect_symtab): Update.
7434 * symfile.c (simple_read_overlay_table)
7435 (simple_overlay_update): Update.
7436 * symfile.h (struct quick_symbol_functions)
7437 <find_pc_sect_symtab>: Change type of msymbol to
7438 bound_minimal_symbol.
7439 * symmisc.c (dump_msymbols): Update.
7440 * symtab.c (find_pc_sect_symtab_via_partial)
7441 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7442 (search_symbols, print_msymbol_info): Update.
7443 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7444 (MSYMBOL_VALUE_ADDRESS): Redefine.
7445 (BMSYMBOL_VALUE_ADDRESS): New macro.
7446 * tracepoint.c (scope_info): Update.
7447 * tui/tui-disasm.c (tui_find_disassembly_address)
7448 (tui_get_begin_asm_address): Update.
7449 * valops.c (find_function_in_inferior): Update.
7450 * value.c (value_static_field, value_fn_field): Update.
7451
7452 2014-02-26 Tom Tromey <tromey@redhat.com>
7453
7454 * ada-lang.c (ada_update_initial_language): Update.
7455 (ada_main_name, ada_has_this_exception_support): Update.
7456 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7457 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7458 * arm-tdep.c (arm_skip_stub): Update.
7459 * auxv.c (ld_so_xfer_auxv): Update.
7460 * avr-tdep.c (avr_scan_prologue): Update.
7461 * ax-gdb.c (gen_var_ref): Update.
7462 * breakpoint.c (struct breakpoint_objfile_data)
7463 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7464 type to bound_minimal_symbol.
7465 (create_overlay_event_breakpoint)
7466 (create_longjmp_master_breakpoint)
7467 (create_std_terminate_master_breakpoint)
7468 (create_exception_master_breakpoint): Update.
7469 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7470 * c-exp.y (classify_name): Update.
7471 * coffread.c (coff_symfile_read): Update.
7472 * common/agent.c (agent_look_up_symbols): Update.
7473 * d-lang.c (d_main_name): Update.
7474 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7475 * dec-thread.c (enable_dec_thread): Update.
7476 * dwarf2loc.c (call_site_to_target_addr): Update.
7477 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7478 * eval.c (evaluate_subexp_standard): Update.
7479 * findvar.c (struct minsym_lookup_data) <result>: Change type
7480 to bound_minimal_symbol.
7481 <objfile>: Remove.
7482 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7483 * frame.c (inside_main_func): Update.
7484 * frv-tdep.c (frv_frame_this_id): Update.
7485 * gcore.c (call_target_sbrk): Update.
7486 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7487 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7488 Update.
7489 * go-lang.c (go_main_name): Update.
7490 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7491 (hppa_hpux_find_import_stub_for_addr): Update.
7492 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7493 Update. Change return type.
7494 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7495 type.
7496 * jit.c (jit_breakpoint_re_set_internal): Update.
7497 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7498 Update.
7499 * linux-nat.c (get_signo): Update.
7500 * linux-thread-db.c (inferior_has_bug): Update
7501 * m32c-tdep.c (m32c_return_value)
7502 (m32c_m16c_address_to_pointer): Update.
7503 * m32r-tdep.c (m32r_frame_this_id): Update.
7504 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7505 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7506 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7507 lookup_minimal_symbol. Change return type.
7508 (lookup_minimal_symbol): Remove.
7509 (lookup_bound_minimal_symbol): Update.
7510 (lookup_minimal_symbol_text): Change return type.
7511 (lookup_minimal_symbol_solib_trampoline): Change return type.
7512 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7513 (lookup_minimal_symbol_solib_trampoline): Change return type.
7514 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7515 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7516 (value_nsstring, find_imps): Update.
7517 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7518 * p-lang.c (pascal_main_name): Update.
7519 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7520 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7521 * proc-service.c (ps_pglobal_lookup): Update.
7522 * ravenscar-thread.c (get_running_thread_msymbol): Change
7523 return type.
7524 (has_ravenscar_runtime, get_running_thread_id): Update.
7525 * remote.c (remote_check_symbols): Update.
7526 * sol-thread.c (ps_pglobal_lookup): Update.
7527 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7528 * solib-dsbt.c (lm_base): Update.
7529 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7530 Update.
7531 * solib-irix.c (locate_base): Update.
7532 * solib-som.c (som_solib_create_inferior_hook)
7533 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7534 Update.
7535 * solib-spu.c (spu_enable_break): Update.
7536 * solib-svr4.c (elf_locate_base, enable_break): Update.
7537 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7538 (flush_ea_cache): Update.
7539 * stabsread.c (define_symbol): Update.
7540 * symfile.c (simple_read_overlay_table): Update.
7541 * symtab.c (find_pc_sect_line): Update.
7542 * tracepoint.c (scope_info): Update.
7543 * tui-disasm.c (tui_get_begin_asm_address): Update.
7544 * value.c (value_static_field): Update.
7545
7546 2014-02-26 Tom Tromey <tromey@redhat.com>
7547
7548 * minsyms.c (prim_record_minimal_symbol_full): Use
7549 SET_MSYMBOL_VALUE_ADDRESS.
7550 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7551 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7552 SET_MSYMBOL_VALUE_ADDRESS.
7553 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7554 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7555
7556 2014-02-26 Tom Tromey <tromey@redhat.com>
7557
7558 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7559 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7560 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7561 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7562 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7563 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7564 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7565 * ada-lang.c (ada_main_name): Update.
7566 (ada_lookup_simple_minsym): Update.
7567 (ada_make_symbol_completion_list): Update.
7568 (ada_add_standard_exceptions): Update.
7569 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7570 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7571 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7572 * arm-tdep.c (skip_prologue_function): Update.
7573 (arm_skip_stack_protector, arm_skip_stub): Update.
7574 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7575 (arm_wince_skip_main_prologue): Update.
7576 * auxv.c (ld_so_xfer_auxv): Update.
7577 * avr-tdep.c (avr_scan_prologue): Update.
7578 * ax-gdb.c (gen_var_ref): Update.
7579 * block.c (call_site_for_pc): Update.
7580 * blockframe.c (get_pc_function_start): Update.
7581 (find_pc_partial_function_gnu_ifunc): Update.
7582 * breakpoint.c (create_overlay_event_breakpoint): Update.
7583 (create_longjmp_master_breakpoint): Update.
7584 (create_std_terminate_master_breakpoint): Update.
7585 (create_exception_master_breakpoint): Update.
7586 (resolve_sal_pc): Update.
7587 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7588 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7589 Update.
7590 * c-valprint.c (c_val_print): Update.
7591 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7592 * coffread.c (coff_symfile_read): Update.
7593 * common/agent.c (agent_look_up_symbols): Update.
7594 * dbxread.c (find_stab_function_addr): Update.
7595 (end_psymtab): Update.
7596 * dwarf2loc.c (call_site_to_target_addr): Update.
7597 (func_verify_no_selftailcall): Update.
7598 (tailcall_dump): Update.
7599 (call_site_find_chain_1): Update.
7600 (dwarf_expr_reg_to_entry_parameter): Update.
7601 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7602 (elf_gnu_ifunc_resolve_by_got): Update.
7603 * f-valprint.c (info_common_command): Update.
7604 * findvar.c (read_var_value): Update.
7605 * frame.c (get_prev_frame_1): Update.
7606 (inside_main_func): Update.
7607 * frv-tdep.c (frv_skip_main_prologue): Update.
7608 (frv_frame_this_id): Update.
7609 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7610 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7611 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7612 (gnuv3_skip_trampoline): Update.
7613 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7614 (hppa64_hpux_in_solib_call_trampoline): Update.
7615 (hppa_hpux_skip_trampoline_code): Update.
7616 (hppa64_hpux_search_dummy_call_sequence): Update.
7617 (hppa_hpux_find_import_stub_for_addr): Update.
7618 (hppa_hpux_find_dummy_bpaddr): Update.
7619 * hppa-tdep.c (hppa_symbol_address)
7620 (hppa_lookup_stub_minimal_symbol): Update.
7621 * i386-tdep.c (i386_skip_main_prologue): Update.
7622 (i386_pe_skip_trampoline_code): Update.
7623 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7624 * infcall.c (get_function_name): Update.
7625 * infcmd.c (until_next_command): Update.
7626 * jit.c (jit_breakpoint_re_set_internal): Update.
7627 (jit_inferior_init): Update.
7628 * linespec.c (minsym_found): Update.
7629 (add_minsym): Update.
7630 * linux-fork.c (info_checkpoints_command): Update.
7631 * linux-nat.c (get_signo): Update.
7632 * linux-thread-db.c (inferior_has_bug): Update.
7633 * m32c-tdep.c (m32c_return_value): Update.
7634 (m32c_m16c_address_to_pointer): Update.
7635 (m32c_m16c_pointer_to_address): Update.
7636 * m32r-tdep.c (m32r_frame_this_id): Update.
7637 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7638 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7639 * maint.c (maintenance_translate_address): Update.
7640 * minsyms.c (add_minsym_to_hash_table): Update.
7641 (add_minsym_to_demangled_hash_table): Update.
7642 (msymbol_objfile): Update.
7643 (lookup_minimal_symbol): Update.
7644 (iterate_over_minimal_symbols): Update.
7645 (lookup_minimal_symbol_text): Update.
7646 (lookup_minimal_symbol_by_pc_name): Update.
7647 (lookup_minimal_symbol_solib_trampoline): Update.
7648 (lookup_minimal_symbol_by_pc_section_1): Update.
7649 (lookup_minimal_symbol_and_objfile): Update.
7650 (prim_record_minimal_symbol_full): Update.
7651 (compare_minimal_symbols): Update.
7652 (compact_minimal_symbols): Update.
7653 (build_minimal_symbol_hash_tables): Update.
7654 (install_minimal_symbols): Update.
7655 (terminate_minimal_symbol_table): Update.
7656 (find_solib_trampoline_target): Update.
7657 (minimal_symbol_upper_bound): Update.
7658 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7659 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7660 (mips_skip_pic_trampoline_code): Update.
7661 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7662 * objc-lang.c (selectors_info): Update.
7663 (classes_info): Update.
7664 (find_methods): Update.
7665 (find_imps): Update.
7666 (find_objc_msgsend): Update.
7667 * objfiles.c (objfile_relocate1): Update.
7668 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7669 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7670 * p-valprint.c (pascal_val_print): Update.
7671 * parse.c (write_exp_msymbol): Update.
7672 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7673 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7674 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7675 * printcmd.c (build_address_symbolic): Update.
7676 (sym_info): Update.
7677 (address_info): Update.
7678 * proc-service.c (ps_pglobal_lookup): Update.
7679 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7680 (find_pc_sect_psymtab): Update.
7681 * python/py-framefilter.c (py_print_frame): Update.
7682 * ravenscar-thread.c (get_running_thread_id): Update.
7683 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7684 Update.
7685 * remote.c (remote_check_symbols): Update.
7686 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7687 (rs6000_skip_trampoline_code): Update.
7688 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7689 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7690 * solib-dsbt.c (lm_base): Update.
7691 * solib-frv.c (lm_base): Update.
7692 (main_got): Update.
7693 * solib-irix.c (locate_base): Update.
7694 * solib-som.c (som_solib_create_inferior_hook): Update.
7695 (som_solib_desire_dynamic_linker_symbols): Update.
7696 (link_map_start): Update.
7697 * solib-spu.c (spu_enable_break): Update.
7698 (ocl_enable_break): Update.
7699 * solib-svr4.c (elf_locate_base): Update.
7700 (enable_break): Update.
7701 * spu-tdep.c (spu_get_overlay_table): Update.
7702 (spu_catch_start): Update.
7703 (flush_ea_cache): Update.
7704 * stabsread.c (define_symbol): Update.
7705 (scan_file_globals): Update.
7706 * stack.c (find_frame_funname): Update.
7707 (frame_info): Update.
7708 * symfile.c (simple_read_overlay_table): Update.
7709 (simple_overlay_update): Update.
7710 * symmisc.c (dump_msymbols): Update.
7711 * symtab.c (fixup_section): Update.
7712 (find_pc_sect_line): Update.
7713 (skip_prologue_sal): Update.
7714 (search_symbols): Update.
7715 (print_msymbol_info): Update.
7716 (rbreak_command): Update.
7717 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7718 (completion_list_objc_symbol): Update.
7719 (default_make_symbol_completion_list_break_on): Update.
7720 * tracepoint.c (scope_info): Update.
7721 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7722 (tui_get_begin_asm_address): Update.
7723 * valops.c (find_function_in_inferior): Update.
7724 * value.c (value_static_field): Update.
7725 (value_fn_field): Update.
7726
7727 2014-02-26 Tom Tromey <tromey@redhat.com>
7728
7729 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7730 bound minimal symbols. Move code that knows about minsym
7731 table layout...
7732 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7733 function.
7734 * minsyms.h (minimal_symbol_upper_bound): Declare.
7735 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7736 minimal_symbol_upper_bound.
7737
7738 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7739
7740 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7741 Use the type's name if its basic type does not have a tag.
7742
7743 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7744
7745 * dwarf2read.c (read_subrange_type): Add comment.
7746
7747 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7748
7749 * dwarf2read.c (update_enumeration_type_from_children): New
7750 function, mostly extracted from process_structure_scope.
7751 (read_enumeration_type): Call update_enumeration_type_from_children.
7752 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7753 and flag_flag_enum fields.
7754
7755 2014-02-26 Pedro Alves <palves@redhat.com>
7756
7757 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7758 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7759 to_xfer_partial method.
7760
7761 2014-02-26 Pedro Alves <palves@redhat.com>
7762
7763 * target.c (complete_target_initialization): Don't install
7764 default_xfer_partial as to_xfer_partial hook.
7765 (nomemory): Delete.
7766 (update_current_target): Don't INHERIT nor de_fault
7767 deprecated_xfer_memory. Delete de_fault macro.
7768 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7769 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7770 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7771 field.
7772
7773 2014-02-26 Pedro Alves <palves@redhat.com>
7774
7775 * go32-nat.c (my_write_child): New function.
7776 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7777 (go32_xfer_partial): New function.
7778 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7779 Instead install a to_xfer_partial hook.
7780
7781 2014-02-26 Pedro Alves <palves@redhat.com>
7782
7783 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7784 to_xfer_partial helper. Rewrite.
7785 (procfs_xfer_partial): New function.
7786 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7787 Install a to_xfer_partial hook.
7788
7789 2014-02-26 Pedro Alves <palves@redhat.com>
7790
7791 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7792 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7793 (m32r_xfer_partial): New function.
7794 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7795 Install a to_xfer_partial hook.
7796
7797 2014-02-26 Pedro Alves <palves@redhat.com>
7798
7799 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7800 helper.
7801 (mips_xfer_partial): New function.
7802 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7803 hook. Install a to_xfer_partial hook.
7804
7805 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7806
7807 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7808 * gdbtypes.c (create_array_type_with_stride): New function,
7809 renaming create_array_type, but with an added parameter
7810 called "bit_stride".
7811 (create_array_type): Re-implement using
7812 create_array_type_with_stride.
7813 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7814 and DW_AT_bit_stride attributes.
7815
7816 2014-02-26 Pedro Alves <palves@redhat.com>
7817
7818 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7819 task-specific breakpoints.
7820
7821 2014-02-25 Pedro Alves <palves@redhat.com>
7822
7823 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7824 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7825
7826 2014-02-25 Stan Shebs <stan@codesourcery.com>
7827
7828 * defs.h: Annotate comments for Doxygen.
7829
7830 2014-02-25 Tom Tromey <tromey@redhat.com>
7831
7832 * target.h (target_ignore): Don't declare.
7833 * target.c (target_ignore): Remove.
7834
7835 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7836
7837 PR gdb/16626
7838 * auto-load.c (auto_load_objfile_script_1): Change filename to
7839 debugfile.
7840
7841 2014-02-25 Joel Brobecker <brobecker@adacore.com>
7842
7843 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7844 documentation. Adjust prototype to match the target_ops
7845 to_xfer_partial method. Adjust implementation accordingly.
7846
7847 2014-02-25 Hui Zhu <hui@codesourcery.com>
7848
7849 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7850 to_traceframe_info.
7851
7852 2014-02-25 Kevin Buettner <kevinb@redhat.com>
7853
7854 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7855 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7856 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7857 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7858 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7859 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7860 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7861 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7862 New constants.
7863 (rl78_register_type): Use a data pointer type for SP and
7864 new pseudo registers mentioned above. Use a 16 bit integer
7865 type for all other register pairs.
7866 (rl78_register_name, rl78_g10_register_name): Update for
7867 new pseudo registers.
7868 (rl78_pseudo_register_read): Likewise.
7869 (rl78_pseudo_register_write): Likewise.
7870 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7871 to the newly added pseudo registers.
7872
7873 2014-02-24 Doug Evans <dje@google.com>
7874
7875 * value.c (record_latest_value): Fix comment.
7876 * printcmd.c (print_command_1): Remove code to handle -1 return from
7877 record_latest_value.
7878
7879 2014-02-24 Pedro Alves <palves@redhat.com>
7880
7881 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7882 deprecated_xfer_memory hook.
7883 (procfs_xfer_partial): Call procfs_xfer_memory instead
7884 of the deprecated_xfer_memory target hook.
7885 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7886 helper.
7887
7888 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7889
7890 * windows-nat.c (windows_xfer_shared_libraries): Return
7891 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7892 requested object is TARGET_OBJECT_LIBRARIES.
7893
7894 2014-02-24 Yao Qi <yao@codesourcery.com>
7895
7896 * target.h (enum target_xfer_status)
7897 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7898 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7899 explicitly. New.
7900 * corefile.c (memory_error_message): User updated.
7901 * exec.c (section_table_read_available_memory): Likewise.
7902 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7903 * target.c (target_xfer_status_to_string): Likewise.
7904 (raw_memory_xfer_partial): Likewise.
7905 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7906 * valops.c (read_value_memory): Likewise.
7907 * exec.h: Update comments.
7908
7909 2014-02-24 Yao Qi <yao@codesourcery.com>
7910
7911 * target.c (target_xfer_status_to_string): Rename argument err
7912 to status.
7913 * target.h (target_xfer_status_to_string): Update declaration.
7914 Replace target_xfer_error_to_string with
7915 target_xfer_status_to_string in comment.
7916
7917 2014-02-24 Yao Qi <yao@codesourcery.com>
7918
7919 * mips-linux-nat.c (super_close): Update its type.
7920 (mips_linux_close): Pass 'self' to super_close.
7921
7922 2014-02-24 Yao Qi <yao@codesourcery.com>
7923
7924 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7925 * corefile.c (read_memory): Adjusted.
7926 * target.c (target_write_with_progress): Adjusted.
7927
7928 2014-02-23 Yao Qi <yao@codesourcery.com>
7929
7930 Revert two patches:
7931
7932 2013-10-25 Yao Qi <yao@codesourcery.com>
7933
7934 * remote.c (remote_traceframe_info): Return early if
7935 traceframe is not selected.
7936
7937 2013-07-19 Yao Qi <yao@codesourcery.com>
7938
7939 * target.c (update_current_target): Change the default action
7940 of 'to_traceframe_info' from tcomplain to return_zero.
7941 * target.h (struct target_ops) <to_traceframe_info>: Add more
7942 comments.
7943
7944 2014-02-23 Yao Qi <yao@codesourcery.com>
7945
7946 * valops.c (read_value_memory): Rewrite it. Call
7947 target_xfer_partial in a loop.
7948 * exec.h (section_table_available_memory): Remove declaration.
7949 Move comments to ...
7950 * exec.c (section_table_available_memory): ... here. Make it
7951 static.
7952
7953 2014-02-23 Yao Qi <yao@codesourcery.com>
7954
7955 * exec.c (section_table_read_available_memory): New function.
7956 * exec.h (section_table_read_available_memory): Declare.
7957 * ctf.c (ctf_xfer_partial): Call
7958 section_table_read_available_memory.
7959 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7960
7961 2014-02-23 Yao Qi <yao@codesourcery.com>
7962
7963 * ctf.c (ctf_xfer_partial): Move code to ...
7964 * exec.c (exec_read_partial_read_only): ... it. New function.
7965 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7966 * tracefile.c: Include "exec.h".
7967 * exec.h (exec_read_partial_read_only): Declare.
7968
7969 2014-02-23 Yao Qi <yao@codesourcery.com>
7970
7971 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7972 (tfile_has_memory): Remove.
7973 (init_tfile_ops): Don't set fields to_has_all_memory and
7974 to_has_memory of tfile_ops.
7975 * tracefile.c (tracefile_has_all_memory): New function.
7976 (tracefile_has_memory): New function.
7977 (init_tracefile_ops): Initialize fields to_has_all_memory and
7978 to_has_memory of 'ops'.
7979
7980 2014-02-23 Yao Qi <yao@codesourcery.com>
7981
7982 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7983 (ctf_thread_alive, ctf_get_trace_status): Remove.
7984 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7985 init_tracefile_ops.
7986 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7987 (tfile_has_stack, tfile_has_registers): Remove.
7988 (tfile_thread_alive): Remove.
7989 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7990 init_tracefile_ops.
7991 * tracefile.c (tracefile_has_stack): New function.
7992 (tracefile_has_registers): New function.
7993 (tracefile_thread_alive): New function.
7994 (tracefile_get_trace_status): New function.
7995 (init_tracefile_ops): New function.
7996 * tracefile.h (init_tracefile_ops): Declare.
7997
7998 2014-02-23 Yao Qi <yao@codesourcery.com>
7999
8000 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8001 (O_LARGEFILE): Likewise.
8002 (tfile_ops): Likewise.
8003 (TRACE_HEADER_SIZE): Likewise.
8004 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8005 (cur_data_size): Likewise.
8006 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8007 (tfile_close, tfile_files_info): Likewise.
8008 (tfile_get_trace_status): Likewise.
8009 (tfile_get_tracepoint_status): Likewise.
8010 (tfile_get_traceframe_address): Likewise.
8011 (tfile_trace_find, match_blocktype): Likewise.
8012 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8013 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8014 (tfile_get_trace_state_variable_value): Likewise.
8015 (tfile_has_all_memory, tfile_has_memory): Likewise.
8016 (tfile_has_stack, tfile_has_registers): Likewise.
8017 (tfile_thread_alive, build_traceframe_info): Likewise.
8018 (tfile_traceframe_info, init_tfile_ops): Likewise.
8019 (_initialize_tracepoint): Don't call init_tfile_ops
8020 and add_target_with_completer.
8021 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8022 exec.h, completer.h and filenames.h.
8023 (_initialize_tracefile_tfile): New function.
8024
8025 2014-02-23 Yao Qi <yao@codesourcery.com>
8026
8027 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8028 tracefile-tfile.o.
8029 (HFILES_NO_SRCDIR): Add tracefile.h.
8030 * ctf.c: Include "tracefile.h".
8031 * tracefile.h: New file.
8032 * tracefile.c: New file
8033 * tracefile-tfile.c: New file.
8034 * tracepoint.c: Include "tracefile.h".
8035 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8036 (stop_reason_names): Add const.
8037 (trace_file_writer_xfree): Move it to tracefile.c.
8038 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8039 (trace_save_ctf): Likewise.
8040 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8041 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8042 (tfile_write_header, tfile_write_regblock_type): Likewise.
8043 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8044 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8045 (tfile_write_raw_data, tfile_end): Likewise.
8046 (tfile_trace_file_writer_new): Likewise.
8047 (free_uploaded_tp): Make it extern.
8048 (free_uploaded_tsv): Make it extern.
8049 (_initialize_tracepoint): Move code to register command 'tsave'
8050 to tracefile.c.
8051 * tracepoint.h (stop_reason_names): Declare.
8052 (struct trace_frame_write_ops): Move it to tracefile.h.
8053 (struct trace_file_write_ops): Likewise.
8054 (struct trace_file_writer): Likewise.
8055 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8056
8057 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8058
8059 PR gdb/16594
8060 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8061 process name.
8062 (get_cores_used_by_process): New parameter num_cores, use it.
8063 (linux_xfer_osdata_processes): Pass num_cores to it.
8064 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8065 process name.
8066
8067 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8068
8069 * target.c (memory_xfer_partial): Fix length arg in call to
8070 breakpoint_xfer_memory.
8071
8072 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8073
8074 PR tdep/16397
8075 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8076 number comes after the + or - signs. Adjust length of register
8077 name to be extracted.
8078
8079 2014-02-20 Tom Tromey <tromey@redhat.com>
8080
8081 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8082 (ada_varobj_ops): Mark "extern".
8083
8084 2014-02-20 Tom Tromey <tromey@redhat.com>
8085
8086 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8087
8088 2014-02-20 Doug Evans <xdje42@gmail.com>
8089
8090 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8091 All callers updated.
8092 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8093 All callers updated.
8094 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8095 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8096
8097 2014-02-20 lin zuojian <manjian2006@gmail.com>
8098 Joel Brobecker <brobecker@adacore.com>
8099 Doug Evans <xdje42@gmail.com>
8100
8101 PR symtab/16581
8102 * dwarf2read.c (struct die_info): New member in_process.
8103 (reset_die_in_process): New function.
8104 (process_die): Set it at the start, reset when returning.
8105 (inherit_abstract_dies): Only call process_die if origin_child_die
8106 not already being processed.
8107
8108 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8109
8110 * windows-nat.c (handle_unload_dll): Add function documentation.
8111 (do_initial_windows_stuff): Add comment explaining why we wait
8112 until after inferior initialization has finished before
8113 processing all DLLs.
8114
8115 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8116
8117 * windows-nat.c (get_module_name): Delete.
8118 (windows_get_exec_module_filename): New function, mostly
8119 inspired from get_module_name.
8120 (windows_pid_to_exec_file): Replace call to get_module_name
8121 by call to windows_get_exec_module_filename.
8122
8123 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8124
8125 * windows-nat.c (handle_load_dll): Rewrite this function's
8126 introductory comment. Remove code using get_module_name
8127 to get the DLL's name.
8128
8129 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8130
8131 * windows-nat.c (get_windows_debug_event): Ignore
8132 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8133 if windows_initialization_done == 0.
8134 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8135 Adjust implementation to always load all DLLs.
8136 (do_initial_windows_stuff): Replace call to
8137 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8138
8139 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8140
8141 * windows-nat.c (_initialize_windows_nat): Deprecate the
8142 "dll-symbols" command. Turn the "add-shared-symbol-files"
8143 and "assf" aliases into commands, and deprecate them as well.
8144 * NEWS: Add entry explaining that "dll-symbols" and its two
8145 aliases are now deprecated.
8146
8147 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8148
8149 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8150 new-line in debug string. Remove trailing spaces.
8151
8152 2014-02-19 Stan Shebs <stan@codesourcery.com>
8153
8154 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8155
8156 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8157
8158 * NEWS: Add entry for the new feature
8159 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8160 and class values.
8161
8162 2014-02-19 Stan Shebs <stan@codesourcery.com>
8163
8164 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8165
8166 2014-02-19 Pedro Alves <palves@redhat.com>
8167
8168 * common/ptid.h (struct ptid): Mention that process_stratum
8169 targets should prefer ptid.lwp.
8170
8171 2014-02-19 Pedro Alves <palves@redhat.com>
8172
8173 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8174 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8175 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8176 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8177 store remote thread ids rather than ptid.tid.
8178 (_initialize_remote): Adjust.
8179
8180 2014-02-19 Tom Tromey <tromey@redhat.com>
8181
8182 * target.c (target_get_unwinder): Rewrite.
8183 (target_get_tailcall_unwinder): Rewrite.
8184 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8185 (record_btrace_to_get_tailcall_unwinder): New function.
8186 (init_record_btrace_ops): Update.
8187 * target.h (struct target_ops) <to_get_unwinder,
8188 to_get_tailcall_unwinder>: Now function pointers. Use
8189 TARGET_DEFAULT_RETURN.
8190
8191 2014-02-19 Tom Tromey <tromey@redhat.com>
8192
8193 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8194 argument.
8195 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8196
8197 2014-02-19 Tom Tromey <tromey@redhat.com>
8198
8199 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8200 directly.
8201 * target-delegates.c: Rebuild.
8202 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8203 TARGET_DEFAULT_FUNC.
8204 * target.c (default_target_decr_pc_after_break): Rename from
8205 forward_target_decr_pc_after_break. Simplify.
8206 (target_decr_pc_after_break): Rely on delegation.
8207
8208 2014-02-19 Tom Tromey <tromey@redhat.com>
8209
8210 * target.c (update_current_target): Do not INHERIT to_doc or
8211 to_magic. Do not de_fault to_open or to_close.
8212
8213 2014-02-19 Tom Tromey <tromey@redhat.com>
8214
8215 * gcore.h (objfile_find_memory_regions): Declare.
8216 * gcore.c (objfile_find_memory_regions): No longer static. Add
8217 "self" argument.
8218 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8219 * exec.c: Include gcore.h.
8220 (exec_set_find_memory_regions): Remove.
8221 (exec_find_memory_regions): Remove.
8222 (exec_do_find_memory_regions): Remove.
8223 (init_exec_ops): Update.
8224 * defs.h (exec_set_find_memory_regions): Remove.
8225
8226 2014-02-19 Tom Tromey <tromey@redhat.com>
8227
8228 * target-delegates.c: Rebuild.
8229 * target.h (struct target_ops) <to_extra_thread_info,
8230 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8231 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8232 not 0, in TARGET_DEFAULT_RETURN.
8233
8234 2014-02-19 Tom Tromey <tromey@redhat.com>
8235
8236 * target.c (complete_target_initialization): Remove casts. Use
8237 return_zero_has_execution.
8238 (return_zero): Add "ignore" argument.
8239 (return_zero_has_execution): New function.
8240 (init_dummy_target): Remove casts. Use
8241 return_zero_has_execution.
8242
8243 2014-02-19 Tom Tromey <tromey@redhat.com>
8244
8245 * target.c (update_current_target): Update comments. Do not
8246 INHERIT to_stratum.
8247
8248 2014-02-19 Tom Tromey <tromey@redhat.com>
8249
8250 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8251 needed.
8252 * corelow.c (core_read_description): Delegate when needed.
8253 * remote.c (remote_read_description): Delegate when needed.
8254 * target-delegates.c: Rebuild.
8255 * target.c (target_read_description): Rewrite.
8256 * target.h (struct target_ops) <to_read_description>: Update
8257 comment. Use TARGET_DEFAULT_RETURN.
8258
8259 2014-02-19 Tom Tromey <tromey@redhat.com>
8260
8261 * target-delegates.c: Rebuild.
8262 * target.c (update_current_target): Don't inherit or default
8263 to_can_run.
8264 (find_default_run_target): Check against delegate_can_run.
8265 * target.h (struct target_ops) <to_can_run>: Use
8266 TARGET_DEFAULT_RETURN.
8267
8268 2014-02-19 Tom Tromey <tromey@redhat.com>
8269
8270 * target-delegates.c: Rebuild.
8271 * target.c (target_disconnect): Unconditionally delegate.
8272 * target.h (struct target_ops) <to_disconnect>: Use
8273 TARGET_DEFAULT_NORETURN.
8274
8275 2014-02-19 Tom Tromey <tromey@redhat.com>
8276
8277 * record.c (record_stop): Unconditionally delegate.
8278 * target-delegates.c: Rebuild.
8279 * target.c (target_stop_recording): Unconditionally delegate.
8280 * target.h (struct target_ops) <to_stop_recording>: Use
8281 TARGET_DEFAULT_IGNORE.
8282
8283 2014-02-19 Tom Tromey <tromey@redhat.com>
8284
8285 * target-delegates.c: Rebuild.
8286 * target.c (target_enable_btrace): Unconditionally delegate.
8287 * target.h (struct target_ops) <to_enable_btrace>: Use
8288 TARGET_DEFAULT_NORETURN.
8289
8290 2014-02-19 Tom Tromey <tromey@redhat.com>
8291
8292 * target-delegates.c: Rebuild.
8293 * target.c (target_read_btrace): Unconditionally delegate.
8294 * target.h (struct target_ops) <to_read_btrace>: Use
8295 TARGET_DEFAULT_NORETURN.
8296
8297 2014-02-19 Tom Tromey <tromey@redhat.com>
8298
8299 * target-delegates.c: Rebuild.
8300 * target.c (target_teardown_btrace): Unconditionally delegate.
8301 * target.h (struct target_ops) <to_teardown_btrace>: Use
8302 TARGET_DEFAULT_NORETURN.
8303
8304 2014-02-19 Tom Tromey <tromey@redhat.com>
8305
8306 * target-delegates.c: Rebuild.
8307 * target.c (target_disable_btrace): Unconditionally delegate.
8308 * target.h (struct target_ops) <to_disable_btrace>: Use
8309 TARGET_DEFAULT_NORETURN.
8310
8311 2014-02-19 Tom Tromey <tromey@redhat.com>
8312
8313 * target-delegates.c: Rebuild.
8314 * target.c (default_search_memory): New function.
8315 (simple_search_memory): Update comment.
8316 (target_search_memory): Unconditionally delegate.
8317 * target.h (struct target_ops) <to_search_memory>: Use
8318 TARGET_DEFAULT_FUNC.
8319
8320 2014-02-19 Tom Tromey <tromey@redhat.com>
8321
8322 * auxv.c (default_auxv_parse): No longer static.
8323 (target_auxv_parse): Unconditionally delegate.
8324 * auxv.h (default_auxv_parse): Declare.
8325 * target-delegates.c: Rebuild.
8326 * target.c: Include auxv.h.
8327 * target.h (struct target_ops) <to_auxv_parse>: Use
8328 TARGET_DEFAULT_FUNC.
8329
8330 2014-02-19 Tom Tromey <tromey@redhat.com>
8331
8332 * target-delegates.c: Rebuild.
8333 * target.c (target_memory_map): Unconditionally delegate.
8334 * target.h (struct target_ops) <to_memory_map>: Use
8335 TARGET_DEFAULT_RETURN.
8336
8337 2014-02-19 Tom Tromey <tromey@redhat.com>
8338
8339 * target-delegates.c: Rebuild.
8340 * target.c (target_thread_alive): Unconditionally delegate.
8341 * target.h (struct target_ops) <to_thread_alive>: Use
8342 TARGET_DEFAULT_RETURN.
8343
8344 2014-02-19 Tom Tromey <tromey@redhat.com>
8345
8346 * target-delegates.c: Rebuild.
8347 * target.c (target_save_record): Unconditionally delegate.
8348 * target.h (struct target_ops) <to_save_record>: Use
8349 TARGET_DEFAULT_NORETURN.
8350
8351 2014-02-19 Tom Tromey <tromey@redhat.com>
8352
8353 * target-delegates.c: Rebuild.
8354 * target.c (target_delete_record): Unconditionally delegate.
8355 * target.h (struct target_ops) <to_delete_record>: Use
8356 TARGET_DEFAULT_NORETURN.
8357
8358 2014-02-19 Tom Tromey <tromey@redhat.com>
8359
8360 * target-delegates.c: Rebuild.
8361 * target.c (target_record_is_replaying): Unconditionally
8362 delegate.
8363 * target.h (struct target_ops) <to_record_is_replaying>: Use
8364 TARGET_DEFAULT_RETURN.
8365
8366 2014-02-19 Tom Tromey <tromey@redhat.com>
8367
8368 * target-delegates.c: Rebuild.
8369 * target.c (target_goto_record_begin): Unconditionally delegate.
8370 * target.h (struct target_ops) <to_goto_record_begin>: Use
8371 TARGET_DEFAULT_NORETURN.
8372
8373 2014-02-19 Tom Tromey <tromey@redhat.com>
8374
8375 * target-delegates.c: Rebuild.
8376 * target.c (target_goto_record_end): Unconditionally delegate.
8377 * target.h (struct target_ops) <to_goto_record_end>: Use
8378 TARGET_DEFAULT_NORETURN.
8379
8380 2014-02-19 Tom Tromey <tromey@redhat.com>
8381
8382 * target-delegates.c: Rebuild.
8383 * target.c (target_goto_record): Unconditionally delegate.
8384 * target.h (struct target_ops) <to_goto_record>: Use
8385 TARGET_DEFAULT_NORETURN.
8386
8387 2014-02-19 Tom Tromey <tromey@redhat.com>
8388
8389 * target-delegates.c: Rebuild.
8390 * target.c (target_insn_history): Unconditionally delegate.
8391 * target.h (struct target_ops) <to_insn_history>: Use
8392 TARGET_DEFAULT_NORETURN.
8393
8394 2014-02-19 Tom Tromey <tromey@redhat.com>
8395
8396 * target-delegates.c: Rebuild.
8397 * target.c (target_insn_history_from): Unconditionally delegate.
8398 * target.h (struct target_ops) <to_insn_history_from>: Use
8399 TARGET_DEFAULT_NORETURN.
8400
8401 2014-02-19 Tom Tromey <tromey@redhat.com>
8402
8403 * target-delegates.c: Rebuild.
8404 * target.c (target_insn_history_range): Unconditionally delegate.
8405 * target.h (struct target_ops) <to_insn_history_range>: Use
8406 TARGET_DEFAULT_NORETURN.
8407
8408 2014-02-19 Tom Tromey <tromey@redhat.com>
8409
8410 * target-delegates.c: Rebuild.
8411 * target.c (target_call_history): Unconditionally delegate.
8412 * target.h (struct target_ops) <to_call_history>: Use
8413 TARGET_DEFAULT_NORETURN.
8414
8415 2014-02-19 Tom Tromey <tromey@redhat.com>
8416
8417 * target-delegates.c: Rebuild.
8418 * target.c (target_call_history_from): Unconditionally delegate.
8419 * target.h (struct target_ops) <to_call_history_from>: Use
8420 TARGET_DEFAULT_NORETURN.
8421
8422 2014-02-19 Tom Tromey <tromey@redhat.com>
8423
8424 * target-delegates.c: Rebuild.
8425 * target.c (target_call_history_range): Unconditionally delegate.
8426 * target.h (struct target_ops) <to_call_history_range>: Use
8427 TARGET_DEFAULT_NORETURN.
8428
8429 2014-02-19 Tom Tromey <tromey@redhat.com>
8430
8431 * target-delegates.c: Rebuild.
8432 * target.c (target_verify_memory): Unconditionally delegate.
8433 * target.h (struct target_ops) <to_verify_memory>: Use
8434 TARGET_DEFAULT_NORETURN.
8435
8436 2014-02-19 Tom Tromey <tromey@redhat.com>
8437
8438 * target-delegates.c: Rebuild.
8439 * target.c (target_core_of_thread): Unconditionally delegate.
8440 * target.h (struct target_ops) <to_core_of_thread>: Use
8441 TARGET_DEFAULT_RETURN.
8442
8443 2014-02-19 Tom Tromey <tromey@redhat.com>
8444
8445 * target-delegates.c: Rebuild.
8446 * target.c (target_flash_done): Unconditionally delegate.
8447 * target.h (struct target_ops) <to_flash_done>: Use
8448 TARGET_DEFAULT_NORETURN.
8449
8450 2014-02-19 Tom Tromey <tromey@redhat.com>
8451
8452 * target-delegates.c: Rebuild.
8453 * target.c (target_flash_erase): Unconditionally delegate.
8454 * target.h (struct target_ops) <to_flash_erase>: Use
8455 TARGET_DEFAULT_NORETURN.
8456
8457 2014-02-19 Tom Tromey <tromey@redhat.com>
8458
8459 * target-delegates.c: Rebuild.
8460 * target.c (target_get_section_table): Unconditionally delegate.
8461 * target.h (struct target_ops) <to_get_section_table>: Use
8462 TARGET_DEFAULT_RETURN.
8463
8464 2014-02-19 Tom Tromey <tromey@redhat.com>
8465
8466 * target-delegates.c: Rebuild.
8467 * target.c (target_pid_to_str): Unconditionally delegate.
8468 (init_dummy_target): Don't initialize to_pid_to_str.
8469 (default_pid_to_str): Rename from dummy_pid_to_str.
8470 * target.h (struct target_ops) <to_pid_to_str>: Use
8471 TARGET_DEFAULT_FUNC.
8472
8473 2014-02-19 Tom Tromey <tromey@redhat.com>
8474
8475 * target-delegates.c: Rebuild.
8476 * target.c (target_find_new_threads): Unconditionally delegate.
8477 * target.h (struct target_ops) <to_find_new_threads>: Use
8478 TARGET_DEFAULT_RETURN.
8479
8480 2014-02-19 Tom Tromey <tromey@redhat.com>
8481
8482 * target-delegates.c: Rebuild.
8483 * target.c (target_program_signals): Unconditionally delegate.
8484 * target.h (struct target_ops) <to_program_signals>: Use
8485 TARGET_DEFAULT_IGNORE.
8486
8487 2014-02-19 Tom Tromey <tromey@redhat.com>
8488
8489 * target-delegates.c: Rebuild.
8490 * target.c (target_pass_signals): Unconditionally delegate.
8491 * target.h (struct target_ops) <to_pass_signals>: Use
8492 TARGET_DEFAULT_IGNORE.
8493
8494 2014-02-19 Tom Tromey <tromey@redhat.com>
8495
8496 * target-delegates.c: Rebuild.
8497 * target.c (default_mourn_inferior): New function.
8498 (target_mourn_inferior): Unconditionally delegate.
8499 * target.h (struct target_ops) <to_mourn_inferior>: Use
8500 TARGET_DEFAULT_FUNC.
8501
8502 2014-02-19 Tom Tromey <tromey@redhat.com>
8503
8504 * target-delegates.c: Rebuild.
8505 * target.c (default_follow_fork): New function.
8506 (target_follow_fork): Unconditionally delegate.
8507 * target.h (struct target_ops) <to_follow_fork>: Use
8508 TARGET_DEFAULT_FUNC.
8509
8510 2014-02-19 Tom Tromey <tromey@redhat.com>
8511
8512 * target-delegates.c: Rebuild.
8513 * target.c (target_kill): Unconditionally delegate.
8514 * target.h (struct target_ops) <to_kill>: 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_masked_watch_num_registers): Unconditionally
8521 delegate.
8522 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8523 Use TARGET_DEFAULT_RETURN.
8524
8525 2014-02-19 Tom Tromey <tromey@redhat.com>
8526
8527 * target-delegates.c: Rebuild.
8528 * target.c (target_remove_mask_watchpoint): Unconditionally
8529 delegate.
8530 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8531 TARGET_DEFAULT_RETURN.
8532
8533 2014-02-19 Tom Tromey <tromey@redhat.com>
8534
8535 * target-delegates.c: Rebuild.
8536 * target.c (target_insert_mask_watchpoint): Unconditionally
8537 delegate.
8538 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8539 TARGET_DEFAULT_RETURN.
8540
8541 2014-02-19 Tom Tromey <tromey@redhat.com>
8542
8543 * target-delegates.c: Rebuild.
8544 * target.c (target_ranged_break_num_registers): Unconditionally
8545 delegate.
8546 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8547 Use TARGET_DEFAULT_RETURN.
8548
8549 2014-02-19 Tom Tromey <tromey@redhat.com>
8550
8551 * target-delegates.c: Rebuild.
8552 * target.c (target_fetch_registers): Unconditionally delegate.
8553 * target.h (struct target_ops) <to_fetch_registers>: Use
8554 TARGET_DEFAULT_NORETURN.
8555
8556 2014-02-19 Tom Tromey <tromey@redhat.com>
8557
8558 * target-delegates.c: Rebuild.
8559 * target.c (update_current_target): Don't inherit or default
8560 to_stop.
8561 * target.h (struct target_ops) <to_stop>: Use
8562 TARGET_DEFAULT_IGNORE.
8563
8564 2014-02-19 Tom Tromey <tromey@redhat.com>
8565
8566 * target-delegates.c: Rebuild.
8567 * target.c (update_current_target): Don't inherit or default
8568 to_can_run_breakpoint_commands.
8569 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8570 Use TARGET_DEFAULT_RETURN.
8571
8572 2014-02-19 Tom Tromey <tromey@redhat.com>
8573
8574 * target-delegates.c: Rebuild.
8575 * target.c (update_current_target): Don't inherit or default
8576 to_supports_evaluation_of_breakpoint_conditions.
8577 * target.h (struct target_ops)
8578 <to_supports_evaluation_of_breakpoint_conditions>: Use
8579 TARGET_DEFAULT_RETURN.
8580
8581 2014-02-19 Tom Tromey <tromey@redhat.com>
8582
8583 * target-delegates.c: Rebuild.
8584 * target.c (update_current_target): Don't inherit or default
8585 to_augmented_libraries_svr4_read.
8586 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8587 Use TARGET_DEFAULT_RETURN.
8588
8589 2014-02-19 Tom Tromey <tromey@redhat.com>
8590
8591 * target-delegates.c: Rebuild.
8592 * target.c (update_current_target): Don't inherit or default
8593 to_can_use_agent.
8594 * target.h (struct target_ops) <to_can_use_agent>: Use
8595 TARGET_DEFAULT_RETURN.
8596
8597 2014-02-19 Tom Tromey <tromey@redhat.com>
8598
8599 * target-delegates.c: Rebuild.
8600 * target.c (update_current_target): Don't inherit or default
8601 to_use_agent.
8602 * target.h (struct target_ops) <to_use_agent>: Use
8603 TARGET_DEFAULT_NORETURN.
8604
8605 2014-02-19 Tom Tromey <tromey@redhat.com>
8606
8607 * target-delegates.c: Rebuild.
8608 * target.c (update_current_target): Don't inherit or default
8609 to_traceframe_info.
8610 (return_null): Remove.
8611 * target.h (struct target_ops) <to_traceframe_info>: Use
8612 TARGET_DEFAULT_RETURN.
8613
8614 2014-02-19 Tom Tromey <tromey@redhat.com>
8615
8616 * target-delegates.c: Rebuild.
8617 * target.c (update_current_target): Don't inherit or default
8618 to_static_tracepoint_markers_by_strid.
8619 * target.h (struct target_ops)
8620 <to_static_tracepoint_markers_by_strid>: Use
8621 TARGET_DEFAULT_NORETURN.
8622
8623 2014-02-19 Tom Tromey <tromey@redhat.com>
8624
8625 * target-delegates.c: Rebuild.
8626 * target.c (update_current_target): Don't inherit or default
8627 to_static_tracepoint_marker_at.
8628 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8629 Use TARGET_DEFAULT_RETURN.
8630
8631 2014-02-19 Tom Tromey <tromey@redhat.com>
8632
8633 * target-delegates.c: Rebuild.
8634 * target.c (update_current_target): Don't inherit or default
8635 to_set_permissions.
8636 * target.h (struct target_ops) <to_set_permissions>: Use
8637 TARGET_DEFAULT_IGNORE.
8638
8639 2014-02-19 Tom Tromey <tromey@redhat.com>
8640
8641 * target-delegates.c: Rebuild.
8642 * target.c (update_current_target): Don't inherit or default
8643 to_get_tib_address.
8644 * target.h (struct target_ops) <to_get_tib_address>: Use
8645 TARGET_DEFAULT_NORETURN.
8646
8647 2014-02-19 Tom Tromey <tromey@redhat.com>
8648
8649 * target-delegates.c: Rebuild.
8650 * target.c (update_current_target): Don't inherit or default
8651 to_set_trace_notes.
8652 * target.h (struct target_ops) <to_set_trace_notes>: Use
8653 TARGET_DEFAULT_RETURN.
8654
8655 2014-02-19 Tom Tromey <tromey@redhat.com>
8656
8657 * target-delegates.c: Rebuild.
8658 * target.c (update_current_target): Don't initialize
8659 to_set_trace_buffer_size.
8660 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8661 TARGET_DEFAULT_IGNORE.
8662
8663 2014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * target-delegates.c: Rebuild.
8666 * target.c (update_current_target): Don't inherit or default
8667 to_set_circular_trace_buffer.
8668 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8669 TARGET_DEFAULT_IGNORE.
8670
8671 2014-02-19 Tom Tromey <tromey@redhat.com>
8672
8673 * target-delegates.c: Rebuild.
8674 * target.c (update_current_target): Don't inherit or default
8675 to_set_disconnected_tracing.
8676 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8677 TARGET_DEFAULT_IGNORE.
8678
8679 2014-02-19 Tom Tromey <tromey@redhat.com>
8680
8681 * target-delegates.c: Rebuild.
8682 * target.c (update_current_target): Don't inherit or default
8683 to_get_min_fast_tracepoint_insn_len.
8684 (return_minus_one): Remove.
8685 * target.h (struct target_ops)
8686 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8687
8688 2014-02-19 Tom Tromey <tromey@redhat.com>
8689
8690 * target-delegates.c: Rebuild.
8691 * target.c (update_current_target): Don't inherit or default
8692 to_get_raw_trace_data.
8693 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8694 TARGET_DEFAULT_NORETURN.
8695
8696 2014-02-19 Tom Tromey <tromey@redhat.com>
8697
8698 * target-delegates.c: Rebuild.
8699 * target.c (update_current_target): Don't inherit or default
8700 to_upload_trace_state_variables.
8701 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8702 Use TARGET_DEFAULT_RETURN.
8703
8704 2014-02-19 Tom Tromey <tromey@redhat.com>
8705
8706 * target-delegates.c: Rebuild.
8707 * target.c (update_current_target): Don't inherit or default
8708 to_upload_tracepoints.
8709 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8710 TARGET_DEFAULT_RETURN.
8711
8712 2014-02-19 Tom Tromey <tromey@redhat.com>
8713
8714 * target-delegates.c: Rebuild.
8715 * target.c (update_current_target): Don't inherit or default
8716 to_save_trace_data.
8717 * target.h (struct target_ops) <to_save_trace_data>: Use
8718 TARGET_DEFAULT_NORETURN.
8719
8720 2014-02-19 Tom Tromey <tromey@redhat.com>
8721
8722 * target-delegates.c: Rebuild.
8723 * target.c (update_current_target): Don't inherit or default
8724 to_get_trace_state_variable_value.
8725 * target.h (struct target_ops)
8726 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8727
8728 2014-02-19 Tom Tromey <tromey@redhat.com>
8729
8730 * target-delegates.c: Rebuild.
8731 * target.c (update_current_target): Don't inherit or default
8732 to_trace_find.
8733 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8734
8735 2014-02-19 Tom Tromey <tromey@redhat.com>
8736
8737 * target-delegates.c: Rebuild.
8738 * target.c (update_current_target): Don't inherit or default
8739 to_trace_stop.
8740 * target.h (struct target_ops) <to_trace_stop>: Use
8741 TARGET_DEFAULT_NORETURN.
8742
8743 2014-02-19 Tom Tromey <tromey@redhat.com>
8744
8745 * target-delegates.c: Rebuild.
8746 * target.c (update_current_target): Don't inherit or default
8747 to_get_tracepoint_status.
8748 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8749 TARGET_DEFAULT_NORETURN.
8750
8751 2014-02-19 Tom Tromey <tromey@redhat.com>
8752
8753 * target-delegates.c: Rebuild.
8754 * target.c (update_current_target): Don't inherit or default
8755 to_get_trace_status.
8756 * target.h (struct target_ops) <to_get_trace_status>: Use
8757 TARGET_DEFAULT_RETURN.
8758
8759 2014-02-19 Tom Tromey <tromey@redhat.com>
8760
8761 * target-delegates.c: Rebuild.
8762 * target.c (update_current_target): Don't inherit or default
8763 to_trace_start.
8764 * target.h (struct target_ops) <to_trace_start>: Use
8765 TARGET_DEFAULT_NORETURN.
8766
8767 2014-02-19 Tom Tromey <tromey@redhat.com>
8768
8769 * target-delegates.c: Rebuild.
8770 * target.c (update_current_target): Don't inherit or default
8771 to_trace_set_readonly_regions.
8772 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8773 Use TARGET_DEFAULT_NORETURN.
8774
8775 2014-02-19 Tom Tromey <tromey@redhat.com>
8776
8777 * target-delegates.c: Rebuild.
8778 * target.c (update_current_target): Don't inherit or default
8779 to_disable_tracepoint.
8780 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8781 TARGET_DEFAULT_NORETURN.
8782
8783 2014-02-19 Tom Tromey <tromey@redhat.com>
8784
8785 * target-delegates.c: Rebuild.
8786 * target.c (update_current_target): Don't inherit or default
8787 to_enable_tracepoint.
8788 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8789 TARGET_DEFAULT_NORETURN.
8790
8791 2014-02-19 Tom Tromey <tromey@redhat.com>
8792
8793 * target-delegates.c: Rebuild.
8794 * target.c (update_current_target): Don't inherit or default
8795 to_download_trace_state_variable.
8796 * target.h (struct target_ops) <to_download_trace_state_variable>:
8797 Use TARGET_DEFAULT_NORETURN.
8798
8799 2014-02-19 Tom Tromey <tromey@redhat.com>
8800
8801 * target-delegates.c: Rebuild.
8802 * target.c (update_current_target): Don't inherit or default
8803 to_can_download_tracepoint.
8804 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8805 TARGET_DEFAULT_RETURN.
8806
8807 2014-02-19 Tom Tromey <tromey@redhat.com>
8808
8809 * target-delegates.c: Rebuild.
8810 * target.c (update_current_target): Don't inherit or default
8811 to_download_tracepoint.
8812 * target.h (struct target_ops) <to_download_tracepoint>: Use
8813 TARGET_DEFAULT_NORETURN.
8814
8815 2014-02-19 Tom Tromey <tromey@redhat.com>
8816
8817 * target-delegates.c: Rebuild.
8818 * target.c (update_current_target): Don't inherit or default
8819 to_trace_init.
8820 * target.h (struct target_ops) <to_trace_init>: Use
8821 TARGET_DEFAULT_RETURN.
8822
8823 2014-02-19 Tom Tromey <tromey@redhat.com>
8824
8825 * target-delegates.c: Rebuild.
8826 * target.c (update_current_target): Don't inherit or default
8827 to_supports_string_tracing.
8828 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8829 TARGET_DEFAULT_RETURN.
8830
8831 2014-02-19 Tom Tromey <tromey@redhat.com>
8832
8833 * target-delegates.c: Rebuild.
8834 * target.c (update_current_target): Don't inherit or default
8835 to_supports_enable_disable_tracepoint.
8836 * target.h (struct target_ops)
8837 <to_supports_enable_disable_tracepoint>: Use
8838 TARGET_DEFAULT_RETURN.
8839
8840 2014-02-19 Tom Tromey <tromey@redhat.com>
8841
8842 * target-delegates.c: Rebuild.
8843 * target.c (update_current_target): Don't inherit or default
8844 to_supports_multi_process.
8845 * target.h (struct target_ops) <to_supports_multi_process>: Use
8846 TARGET_DEFAULT_RETURN.
8847
8848 2014-02-19 Tom Tromey <tromey@redhat.com>
8849
8850 * target-delegates.c: Rebuild.
8851 * target.c (update_current_target): Don't inherit or default
8852 to_get_ada_task_ptid.
8853 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8854 TARGET_DEFAULT_FUNC.
8855
8856 2014-02-19 Tom Tromey <tromey@redhat.com>
8857
8858 * target-delegates.c: Rebuild.
8859 * target.c (update_current_target): Don't inherit or default
8860 to_thread_architecture.
8861 * target.h (struct target_ops) <to_thread_architecture>: Use
8862 TARGET_DEFAULT_FUNC.
8863
8864 2014-02-19 Tom Tromey <tromey@redhat.com>
8865
8866 * target-delegates.c: Rebuild.
8867 * target.c (update_current_target): Don't inherit or default
8868 to_execution_direction.
8869 * target.h (struct target_ops) <to_execution_direction>: Use
8870 TARGET_DEFAULT_FUNC.
8871
8872 2014-02-19 Tom Tromey <tromey@redhat.com>
8873
8874 * target-delegates.c: Rebuild.
8875 * target.c (update_current_target): Don't inherit or default
8876 to_can_execute_reverse.
8877 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8878 TARGET_DEFAULT_RETURN.
8879 (target_can_execute_reverse): Unconditionally delegate.
8880
8881 2014-02-19 Tom Tromey <tromey@redhat.com>
8882
8883 * target-delegates.c: Rebuild.
8884 * target.c (update_current_target): Don't inherit or default
8885 to_goto_bookmark.
8886 (dummy_goto_bookmark): Remove.
8887 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8888 * target.h (struct target_ops) <to_goto_bookmark>: Use
8889 TARGET_DEFAULT_NORETURN.
8890
8891 2014-02-19 Tom Tromey <tromey@redhat.com>
8892
8893 * target-delegates.c: Rebuild.
8894 * target.c (update_current_target): Don't inherit or default
8895 to_get_bookmark.
8896 (dummy_get_bookmark): Remove.
8897 (init_dummy_target): Don't inherit or default to_get_bookmark.
8898 * target.h (struct target_ops) <to_get_bookmark>: Use
8899 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_make_corefile_notes.
8906 (init_dummy_target): Don't initialize to_make_corefile_notes.
8907 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8908 TARGET_DEFAULT_FUNC.
8909
8910 2014-02-19 Tom Tromey <tromey@redhat.com>
8911
8912 * target-delegates.c: Rebuild.
8913 * target.c (update_current_target): Don't inherit or default
8914 to_find_memory_regions.
8915 (init_dummy_target): Don't initialize to_find_memory_regions.
8916 * target.h (struct target_ops) <to_find_memory_regions>: Use
8917 TARGET_DEFAULT_FUNC.
8918
8919 2014-02-19 Tom Tromey <tromey@redhat.com>
8920
8921 * target-delegates.c: Rebuild.
8922 * target.c (update_current_target): Don't inherit or default
8923 to_log_command.
8924 * target.h (struct target_ops) <to_log_command>: Use
8925 TARGET_DEFAULT_IGNORE.
8926 (target_log_command): Unconditionally delegate.
8927
8928 2014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target-delegates.c: Rebuild.
8931 * target.c (update_current_target): Don't inherit or default
8932 to_pid_to_exec_file.
8933 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8934 TARGET_DEFAULT_RETURN.
8935
8936 2014-02-19 Tom Tromey <tromey@redhat.com>
8937
8938 * target-delegates.c: Rebuild.
8939 * target.c (update_current_target): Don't inherit or default
8940 to_thread_name.
8941 (target_thread_name): Unconditionally delegate.
8942 * target.h (struct target_ops) <to_thread_name>: Use
8943 TARGET_DEFAULT_RETURN.
8944
8945 2014-02-19 Tom Tromey <tromey@redhat.com>
8946
8947 * target-delegates.c: Rebuild.
8948 * target.c (update_current_target): Don't inherit or default
8949 to_extra_thread_info.
8950 * target.h (struct target_ops) <to_extra_thread_info>: Use
8951 TARGET_DEFAULT_RETURN.
8952
8953 2014-02-19 Tom Tromey <tromey@redhat.com>
8954
8955 * target-delegates.c: Rebuild.
8956 * target.c (update_current_target): Don't inherit or default
8957 to_has_exited.
8958 * target.h (struct target_ops) <to_has_exited>: Use
8959 TARGET_DEFAULT_RETURN..
8960
8961 2014-02-19 Tom Tromey <tromey@redhat.com>
8962
8963 * target-delegates.c: Rebuild.
8964 * target.c (update_current_target): Don't inherit or default
8965 to_set_syscall_catchpoint.
8966 (return_one): Remove.
8967 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8968 TARGET_DEFAULT_RETURN.
8969
8970 2014-02-19 Tom Tromey <tromey@redhat.com>
8971
8972 * target-delegates.c: Rebuild.
8973 * target.c (update_current_target): Don't inherit or default
8974 to_insert_exec_catchpoint.
8975 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8976 TARGET_DEFAULT_RETURN.
8977
8978 2014-01-08 Tom Tromey <tromey@redhat.com>
8979
8980 * target-delegates.c: Rebuild.
8981 * target.c (update_current_target): Don't inherit or default
8982 to_insert_exec_catchpoint.
8983 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8984 TARGET_DEFAULT_RETURN.
8985
8986 2014-02-19 Tom Tromey <tromey@redhat.com>
8987
8988 * target-delegates.c: Rebuild.
8989 * target.c (update_current_target): Don't inherit or default
8990 to_remove_vfork_catchpoint.
8991 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8992 TARGET_DEFAULT_RETURN.
8993
8994 2014-02-19 Tom Tromey <tromey@redhat.com>
8995
8996 * target-delegates.c: Rebuild.
8997 * target.c (update_current_target): Don't inherit or default
8998 to_insert_vfork_catchpoint.
8999 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9000 TARGET_DEFAULT_RETURN.
9001
9002 2014-02-19 Tom Tromey <tromey@redhat.com>
9003
9004 * target-delegates.c: Rebuild.
9005 * target.c (update_current_target): Don't inherit or default
9006 to_remove_fork_catchpoint.
9007 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9008 TARGET_DEFAULT_RETURN.
9009
9010 2014-02-19 Tom Tromey <tromey@redhat.com>
9011
9012 * target-delegates.c: Rebuild.
9013 * target.c (update_current_target): Don't inherit or default
9014 to_insert_fork_catchpoint.
9015 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9016 TARGET_DEFAULT_RETURN.
9017
9018 2014-02-19 Tom Tromey <tromey@redhat.com>
9019
9020 * target-delegates.c: Rebuild.
9021 * target.c (update_current_target): Don't inherit or default
9022 to_post_startup_inferior.
9023 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9024 TARGET_DEFAULT_IGNORE.
9025
9026 2014-02-19 Tom Tromey <tromey@redhat.com>
9027
9028 * target-delegates.c: Rebuild.
9029 * target.c (update_current_target): Don't inherit or default
9030 to_load.
9031 * target.h (struct target_ops) <to_load>: Use
9032 TARGET_DEFAULT_NORETURN.
9033
9034 2014-02-19 Tom Tromey <tromey@redhat.com>
9035
9036 * target-delegates.c: Rebuild.
9037 * target.c (update_current_target): Don't inherit or default
9038 to_terminal_info.
9039 * target.h (struct target_ops) <to_terminal_info>: Use
9040 TARGET_DEFAULT_FUNC.
9041
9042 2014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target-delegates.c: Rebuild.
9045 * target.c (update_current_target): Don't inherit or default
9046 to_terminal_save_ours.
9047 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9048 TARGET_DEFAULT_IGNORE.
9049
9050 2014-02-19 Tom Tromey <tromey@redhat.com>
9051
9052 * target-delegates.c: Rebuild.
9053 * target.c (update_current_target): Don't inherit or default
9054 to_terminal_ours.
9055 * target.h (struct target_ops) <to_terminal_ours>: Use
9056 TARGET_DEFAULT_IGNORE.
9057
9058 2014-02-19 Tom Tromey <tromey@redhat.com>
9059
9060 * target-delegates.c: Rebuild.
9061 * target.c (update_current_target): Don't inherit or default
9062 to_terminal_ours_for_output.
9063 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9064 TARGET_DEFAULT_IGNORE.
9065
9066 2014-02-19 Tom Tromey <tromey@redhat.com>
9067
9068 * target-delegates.c: Rebuild.
9069 * target.c (update_current_target): Don't inherit or default
9070 to_terminal_inferior.
9071 * target.h (struct target_ops) <to_terminal_inferior>: Use
9072 TARGET_DEFAULT_IGNORE.
9073
9074 2014-02-19 Tom Tromey <tromey@redhat.com>
9075
9076 * target-delegates.c: Rebuild.
9077 * target.c (update_current_target): Don't inherit or default
9078 to_terminal_init.
9079 * target.h (struct target_ops) <to_terminal_init>: Use
9080 TARGET_DEFAULT_IGNORE.
9081
9082 2014-02-19 Tom Tromey <tromey@redhat.com>
9083
9084 * target-delegates.c: Rebuild.
9085 * target.c (update_current_target): Don't inherit or default
9086 to_can_accel_watchpoint_condition.
9087 * target.h (struct target_ops)
9088 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9089
9090 2014-02-19 Tom Tromey <tromey@redhat.com>
9091
9092 * target-delegates.c: Rebuild.
9093 * target.c (update_current_target): Don't inherit or default
9094 to_region_ok_for_hw_watchpoint.
9095 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9096 Use TARGET_DEFAULT_FUNC.
9097
9098 2014-02-19 Tom Tromey <tromey@redhat.com>
9099
9100 * target-delegates.c: Rebuild.
9101 * target.c (update_current_target): Don't inherit or default
9102 to_watchpoint_addr_within_range.
9103 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9104 Use TARGET_DEFAULT_FUNC.
9105
9106 2014-02-19 Tom Tromey <tromey@redhat.com>
9107
9108 * target-delegates.c: Rebuild.
9109 * target.c (update_current_target): Don't inherit or default
9110 to_remove_watchpoint.
9111 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9112 TARGET_DEFAULT_NORETURN.
9113
9114 2014-02-19 Tom Tromey <tromey@redhat.com>
9115
9116 * target-delegates.c: Rebuild.
9117 * target.c (update_current_target): Don't inherit or default
9118 to_insert_watchpoint.
9119 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9120 TARGET_DEFAULT_RETURN.
9121
9122 2014-02-19 Tom Tromey <tromey@redhat.com>
9123
9124 * target-delegates.c: Rebuild.
9125 * target.c (update_current_target): Don't inherit or default
9126 to_remove_hw_breakpoint.
9127 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9128 TARGET_DEFAULT_RETURN.
9129
9130 2014-02-19 Tom Tromey <tromey@redhat.com>
9131
9132 * target-delegates.c: Rebuild.
9133 * target.c (update_current_target): Don't inherit or default
9134 to_insert_hw_breakpoint.
9135 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9136 TARGET_DEFAULT_RETURN.
9137
9138 2014-02-19 Tom Tromey <tromey@redhat.com>
9139
9140 * target-delegates.c: Rebuild.
9141 * target.c (update_current_target): Don't inherit or default
9142 to_can_use_hw_breakpoint.
9143 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9144 TARGET_DEFAULT_RETURN.
9145
9146 2014-02-19 Tom Tromey <tromey@redhat.com>
9147
9148 * target-delegates.c: Rebuild.
9149 * target.c (update_current_target): Don't inherit or default
9150 to_files_info.
9151 * target.h (struct target_ops) <to_files_info>: Use
9152 TARGET_DEFAULT_IGNORE.
9153
9154 2014-02-19 Tom Tromey <tromey@redhat.com>
9155
9156 * target-delegates.c: Rebuild.
9157 * target.c (update_current_target): Don't inherit or default
9158 to_store.
9159 * target.h (struct target_ops) <to_store>: Use
9160 TARGET_DEFAULT_NORETURN.
9161
9162 2014-02-19 Tom Tromey <tromey@redhat.com>
9163
9164 * target-delegates.c: Rebuild.
9165 * target.c (update_current_target): Don't inherit or default
9166 to_post_attach.
9167 * target.h (struct target_ops) <to_post_attach>: Use
9168 TARGET_DEFAULT_IGNORE.
9169
9170 2014-02-19 Tom Tromey <tromey@redhat.com>
9171
9172 * target-delegates.c: Rebuild.
9173 * target.c (update_current_target): Don't inherit or default
9174 to_rcmd.
9175 (default_rcmd): New function.
9176 (do_monitor_command): Unconditionally delegate.
9177 * target.h (struct target_ops) <to_rmcd>: Use
9178 TARGET_DEFAULT_FUNC.
9179
9180 2014-02-19 Tom Tromey <tromey@redhat.com>
9181
9182 * target-delegates.c: Rebuild.
9183 * target.c (init_dummy_target): Don't initialize to_attach.
9184 (target_attach): Unconditionally delegate.
9185 * target.h (struct target_ops) <to_attach>: Use
9186 TARGET_DEFAULT_FUNC.
9187
9188 2014-02-19 Tom Tromey <tromey@redhat.com>
9189
9190 * target-delegates.c: Rebuild.
9191 * target.c (target_detach): Unconditionally delegate.
9192 (init_dummy_target): Don't initialize to_detach.
9193 * target.h (struct target_ops) <to_detach>: Use
9194 TARGET_DEFAULT_IGNORE.
9195
9196 2014-02-19 Tom Tromey <tromey@redhat.com>
9197
9198 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9199 Add argument.
9200 (target_augmented_libraries_svr4_read): Add argument.
9201 * target.c (update_current_target): Update.
9202 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9203 argument.
9204
9205 2014-02-19 Tom Tromey <tromey@redhat.com>
9206
9207 * target.h (struct target_ops) <to_call_history_range>: Add
9208 argument.
9209 * target.c (target_call_history_range): Add argument.
9210 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9211 argument.
9212 (record_btrace_call_history_from): Update.
9213
9214 2014-02-19 Tom Tromey <tromey@redhat.com>
9215
9216 * target.h (struct target_ops) <to_call_history_from>: Add
9217 argument.
9218 * target.c (target_call_history_from): Add argument.
9219 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9220 argument.
9221
9222 2014-02-19 Tom Tromey <tromey@redhat.com>
9223
9224 * target.h (struct target_ops) <to_call_history>: Add argument.
9225 * target.c (target_call_history): Add argument.
9226 * record-btrace.c (record_btrace_call_history): Add 'self'
9227 argument.
9228
9229 2014-02-19 Tom Tromey <tromey@redhat.com>
9230
9231 * target.h (struct target_ops) <to_insn_history_range>: Add
9232 argument.
9233 * target.c (target_insn_history_range): Add argument.
9234 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9235 argument.
9236 (record_btrace_insn_history_from): Update.
9237
9238 2014-02-19 Tom Tromey <tromey@redhat.com>
9239
9240 * target.h (struct target_ops) <to_insn_history_from>: Add
9241 argument.
9242 * target.c (target_insn_history_from): Add argument.
9243 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9244 argument.
9245
9246 2014-02-19 Tom Tromey <tromey@redhat.com>
9247
9248 * target.h (struct target_ops) <to_insn_history>: Add argument.
9249 * target.c (target_insn_history): Add argument.
9250 * record-btrace.c (record_btrace_insn_history): Add 'self'
9251 argument.
9252
9253 2014-02-19 Tom Tromey <tromey@redhat.com>
9254
9255 * target.h (struct target_ops) <to_goto_record>: Add argument.
9256 * target.c (target_goto_record): Add argument.
9257 * record-full.c (record_full_goto): Add 'self' argument.
9258 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9259
9260 2014-02-19 Tom Tromey <tromey@redhat.com>
9261
9262 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9263 * target.c (target_goto_record_end): Add argument.
9264 * record-full.c (record_full_goto_end): Add 'self' argument.
9265 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9266
9267 2014-02-19 Tom Tromey <tromey@redhat.com>
9268
9269 * target.h (struct target_ops) <to_goto_record_begin>: Add
9270 argument.
9271 * target.c (target_goto_record_begin): Add argument.
9272 * record-full.c (record_full_goto_begin): Add 'self' argument.
9273 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9274 argument.
9275
9276 2014-02-19 Tom Tromey <tromey@redhat.com>
9277
9278 * target.h (struct target_ops) <to_record_is_replaying>: Add
9279 argument.
9280 * target.c (target_record_is_replaying): Add argument.
9281 * record-full.c (record_full_is_replaying): Add 'self' argument.
9282 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9283 argument.
9284 (record_btrace_xfer_partial, record_btrace_store_registers)
9285 (record_btrace_prepare_to_store, record_btrace_resume)
9286 (record_btrace_wait, record_btrace_decr_pc_after_break)
9287 (record_btrace_find_new_threads, record_btrace_thread_alive):
9288 Update.
9289
9290 2014-02-19 Tom Tromey <tromey@redhat.com>
9291
9292 * target.h (struct target_ops) <to_delete_record>: Add argument.
9293 * target.c (target_delete_record): Add argument.
9294 * record-full.c (record_full_delete): Add 'self' argument.
9295
9296 2014-02-19 Tom Tromey <tromey@redhat.com>
9297
9298 * target.h (struct target_ops) <to_save_record>: Add argument.
9299 * target.c (target_save_record): Add argument.
9300 * record-full.c (record_full_save): Add 'self' argument.
9301 (record_full_save): Add 'self' argument.
9302
9303 2014-02-19 Tom Tromey <tromey@redhat.com>
9304
9305 * target.h (struct target_ops) <to_info_record>: Add argument.
9306 * target.c (target_info_record): Add argument.
9307 * record.c (info_record_command): Add argument.
9308 * record-full.c (record_full_info): Add 'self' argument.
9309 * record-btrace.c (record_btrace_info): Add 'self' argument.
9310
9311 2014-02-19 Tom Tromey <tromey@redhat.com>
9312
9313 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9314 * target.c (target_stop_recording): Add argument.
9315 * record.c (record_stop): Add argument.
9316 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9317 argument.
9318
9319 2014-02-19 Tom Tromey <tromey@redhat.com>
9320
9321 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9322 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9323 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9324 argument.
9325 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9326 (_initialize_amd64_linux_nat): Use it.
9327 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9328 (_initialize_i386_linux_nat): Use it.
9329
9330 2014-02-19 Tom Tromey <tromey@redhat.com>
9331
9332 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9333 * target.c (target_teardown_btrace): Add argument.
9334 * remote.c (remote_teardown_btrace): Add 'self' argument.
9335 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9336 argument.
9337 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9338 argument.
9339
9340 2014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9343 * target.c (target_disable_btrace): Add argument.
9344 * remote.c (remote_disable_btrace): Add 'self' argument.
9345 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9346 argument.
9347 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9348 argument.
9349
9350 2014-02-19 Tom Tromey <tromey@redhat.com>
9351
9352 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9353 * target.c (target_enable_btrace): Add argument.
9354 * remote.c (remote_enable_btrace): Add 'self' argument.
9355 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9356 argument.
9357 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9358 argument.
9359
9360 2014-02-19 Tom Tromey <tromey@redhat.com>
9361
9362 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9363 (target_can_use_agent): Add argument.
9364 * target.c (update_current_target): Update.
9365 * remote.c (remote_can_use_agent): Add 'self' argument.
9366 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9367
9368 2014-02-19 Tom Tromey <tromey@redhat.com>
9369
9370 * target.h (struct target_ops) <to_use_agent>: Add argument.
9371 (target_use_agent): Add argument.
9372 * target.c (update_current_target): Update.
9373 * remote.c (remote_use_agent): Add 'self' argument.
9374 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9375
9376 2014-02-19 Tom Tromey <tromey@redhat.com>
9377
9378 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9379 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9380 (target_traceframe_info): Add argument.
9381 * target.c (update_current_target): Update.
9382 * remote.c (remote_traceframe_info): Add 'self' argument.
9383 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9384
9385 2014-02-19 Tom Tromey <tromey@redhat.com>
9386
9387 * target.h (target_static_tracepoint_markers_by_strid): Add
9388 argument.
9389 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9390 'self' argument.
9391 * target.c (update_current_target): Update.
9392 * remote.c (struct target_ops)
9393 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9394 * linux-nat.c (struct target_ops)
9395 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9396
9397 2014-02-19 Tom Tromey <tromey@redhat.com>
9398
9399 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9400 Add argument.
9401 (target_static_tracepoint_marker_at): Add argument.
9402 * target.c (update_current_target): Update.
9403 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9404 argument.
9405
9406 2014-02-19 Tom Tromey <tromey@redhat.com>
9407
9408 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9409 (target_set_permissions): Add argument.
9410 * target.c (update_current_target): Update.
9411 * remote.c (remote_set_permissions): Add 'self' argument.
9412 (remote_start_remote): Update.
9413
9414 2014-02-19 Tom Tromey <tromey@redhat.com>
9415
9416 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9417 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9418 (target_get_tib_address): Add argument.
9419 * target.c (update_current_target): Update.
9420 * remote.c (remote_get_tib_address): Add 'self' argument.
9421
9422 2014-02-19 Tom Tromey <tromey@redhat.com>
9423
9424 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9425 (target_set_trace_notes): Add argument.
9426 * target.c (update_current_target): Update.
9427 * remote.c (remote_set_trace_notes): Add 'self' argument.
9428
9429 2014-02-19 Tom Tromey <tromey@redhat.com>
9430
9431 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9432 argument.
9433 (target_set_trace_buffer_size): Add argument.
9434 * target.c (update_current_target): Update.
9435 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9436
9437 2014-02-19 Tom Tromey <tromey@redhat.com>
9438
9439 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9440 argument.
9441 (target_set_circular_trace_buffer): Add argument.
9442 * target.c (update_current_target): Update.
9443 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9444 argument.
9445
9446 2014-02-19 Tom Tromey <tromey@redhat.com>
9447
9448 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9449 argument.
9450 (target_set_disconnected_tracing): Add argument.
9451 * target.c (update_current_target): Update.
9452 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9453
9454 2014-02-19 Tom Tromey <tromey@redhat.com>
9455
9456 * target.h (struct target_ops)
9457 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9458 (target_get_min_fast_tracepoint_insn_len): Add argument.
9459 * target.c (update_current_target): Update.
9460 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9461 argument.
9462
9463 2014-02-19 Tom Tromey <tromey@redhat.com>
9464
9465 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9466 argument.
9467 (target_get_raw_trace_data): Add argument.
9468 * target.c (update_current_target): Update.
9469 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9470
9471 2014-02-19 Tom Tromey <tromey@redhat.com>
9472
9473 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9474 Add argument.
9475 (target_upload_trace_state_variables): Add argument.
9476 * target.c (update_current_target): Update.
9477 * remote.c (remote_upload_trace_state_variables): Add 'self'
9478 argument.
9479 (remote_start_remote): Update.
9480
9481 2014-02-19 Tom Tromey <tromey@redhat.com>
9482
9483 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9484 argument.
9485 (target_upload_tracepoints): Add argument.
9486 * target.c (update_current_target): Update.
9487 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9488 (remote_start_remote): Update.
9489
9490 2014-02-19 Tom Tromey <tromey@redhat.com>
9491
9492 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9493 (target_save_trace_data): Add argument.
9494 * target.c (update_current_target): Update.
9495 * remote.c (remote_save_trace_data): Add 'self' argument.
9496
9497 2014-02-19 Tom Tromey <tromey@redhat.com>
9498
9499 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9500 argument.
9501 * target.h (struct target_ops)
9502 <to_get_trace_state_variable_value>: Add argument.
9503 (target_get_trace_state_variable_value): Add argument.
9504 * target.c (update_current_target): Update.
9505 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9506 argument.
9507 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9508
9509 2014-02-19 Tom Tromey <tromey@redhat.com>
9510
9511 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9512 * target.h (struct target_ops) <to_trace_find>: Add argument.
9513 (target_trace_find): Add argument.
9514 * target.c (update_current_target): Update.
9515 * remote.c (remote_trace_find): Add 'self' argument.
9516 * ctf.c (ctf_trace_find): Add 'self' argument.
9517
9518 2014-02-19 Tom Tromey <tromey@redhat.com>
9519
9520 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9521 (target_trace_stop): Add argument.
9522 * target.c (update_current_target): Update.
9523 * remote.c (remote_trace_stop): Add 'self' argument.
9524
9525 2014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9528 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9529 argument.
9530 (target_get_tracepoint_status): Add argument.
9531 * target.c (update_current_target): Update.
9532 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9533
9534 2014-02-19 Tom Tromey <tromey@redhat.com>
9535
9536 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9537 * target.h (struct target_ops) <to_get_trace_status>: Add
9538 argument.
9539 (target_get_trace_status): Add argument.
9540 * target.c (update_current_target): Update.
9541 * remote.c (remote_get_trace_status): Add 'self' argument.
9542 (remote_start_remote, remote_can_download_tracepoint): Update.
9543 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9544
9545 2014-02-19 Tom Tromey <tromey@redhat.com>
9546
9547 * target.h (struct target_ops) <to_trace_start>: Add argument.
9548 (target_trace_start): Add argument.
9549 * target.c (update_current_target): Update.
9550 * remote.c (remote_trace_start): Add 'self' argument.
9551
9552 2014-02-19 Tom Tromey <tromey@redhat.com>
9553
9554 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9555 Add argument.
9556 (target_trace_set_readonly_regions): Add argument.
9557 * target.c (update_current_target): Update.
9558 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9559 argument.
9560
9561 2014-02-19 Tom Tromey <tromey@redhat.com>
9562
9563 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9564 argument.
9565 (target_disable_tracepoint): Add argument.
9566 * target.c (update_current_target): Update.
9567 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9568
9569 2014-02-19 Tom Tromey <tromey@redhat.com>
9570
9571 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9572 argument.
9573 (target_enable_tracepoint): Add argument.
9574 * target.c (update_current_target): Update.
9575 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9576
9577 2014-02-19 Tom Tromey <tromey@redhat.com>
9578
9579 * target.h (struct target_ops) <to_download_trace_state_variable>:
9580 Add argument.
9581 (target_download_trace_state_variable): Add argument.
9582 * target.c (update_current_target): Update.
9583 * remote.c (remote_download_trace_state_variable): Add 'self'
9584 argument.
9585
9586 2014-02-19 Tom Tromey <tromey@redhat.com>
9587
9588 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9589 argument.
9590 (target_can_download_tracepoint): Add argument.
9591 * target.c (update_current_target): Update.
9592 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9593
9594 2014-02-19 Tom Tromey <tromey@redhat.com>
9595
9596 * target.h (struct target_ops) <to_download_tracepoint>: Add
9597 argument.
9598 (target_download_tracepoint): Add argument.
9599 * target.c (update_current_target): Update.
9600 * remote.c (remote_download_tracepoint): Add 'self' argument.
9601
9602 2014-02-19 Tom Tromey <tromey@redhat.com>
9603
9604 * target.h (struct target_ops) <to_trace_init>: Add argument.
9605 (target_trace_init): Add argument.
9606 * target.c (update_current_target): Update.
9607 * remote.c (remote_trace_init): Add 'self' argument.
9608
9609 2014-02-19 Tom Tromey <tromey@redhat.com>
9610
9611 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9612 * target.c (target_fileio_readlink): Add argument.
9613 * remote.c (remote_hostio_readlink): Add 'self' argument.
9614 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9615
9616 2014-02-19 Tom Tromey <tromey@redhat.com>
9617
9618 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9619 * target.c (target_fileio_unlink): Add argument.
9620 * remote.c (remote_hostio_unlink): Add 'self' argument.
9621 (remote_file_delete): Update.
9622 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9623
9624 2014-02-19 Tom Tromey <tromey@redhat.com>
9625
9626 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9627 * target.c (target_fileio_close): Add argument.
9628 * remote.c (remote_hostio_close): Add 'self' argument.
9629 (remote_hostio_close_cleanup): Update.
9630 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9631 Update.
9632 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9633
9634 2014-02-19 Tom Tromey <tromey@redhat.com>
9635
9636 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9637 * target.c (target_fileio_pread): Add argument.
9638 * remote.c (remote_hostio_pread): Add 'self' argument.
9639 (remote_bfd_iovec_pread, remote_file_get): Update.
9640 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9641
9642 2014-02-19 Tom Tromey <tromey@redhat.com>
9643
9644 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9645 * target.c (target_fileio_pwrite): Add argument.
9646 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9647 (remote_file_put): Update.
9648 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9649
9650 2014-02-19 Tom Tromey <tromey@redhat.com>
9651
9652 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9653 * target.c (target_fileio_open): Add argument.
9654 * remote.c (remote_hostio_open): Add 'self' argument.
9655 (remote_bfd_iovec_open): Add 'self' argument.
9656 (remote_file_put): Add 'self' argument.
9657 (remote_file_get): Add 'self' argument.
9658 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9659
9660 2014-02-19 Tom Tromey <tromey@redhat.com>
9661
9662 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9663 Add argument.
9664 (target_can_run_breakpoint_commands): Add argument.
9665 * target.c (update_current_target): Update.
9666 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9667 argument.
9668 (remote_insert_breakpoint): Add 'self' argument.
9669 (remote_insert_hw_breakpoint): Add 'self' argument.
9670 (remote_can_run_breakpoint_commands): Add 'self' argument.
9671
9672 2014-02-19 Tom Tromey <tromey@redhat.com>
9673
9674 * target.h (struct target_ops)
9675 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9676 (target_supports_evaluation_of_breakpoint_conditions): Add
9677 argument.
9678 * target.c (update_current_target): Update.
9679 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9680 argument.
9681 (remote_insert_breakpoint): Add 'self' argument.
9682 (remote_insert_hw_breakpoint): Add 'self' argument.
9683 (remote_supports_cond_breakpoints): Add 'self' argument.
9684
9685 2014-02-19 Tom Tromey <tromey@redhat.com>
9686
9687 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9688 argument.
9689 (target_supports_string_tracing): Add argument.
9690 * target.c (update_current_target): Update.
9691 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9692
9693 2014-02-19 Tom Tromey <tromey@redhat.com>
9694
9695 * target.h (struct target_ops)
9696 <to_supports_disable_randomization>: Add argument.
9697 * target.c (find_default_supports_disable_randomization): Add
9698 argument.
9699 (target_supports_disable_randomization): Add argument.
9700 (find_default_supports_disable_randomization): Add 'self'
9701 argument.
9702 * remote.c (extended_remote_supports_disable_randomization): Add
9703 'self' argument.
9704 (remote_supports_disable_randomization): Add 'self' argument.
9705 (extended_remote_create_inferior): Update.
9706 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9707 'self' argument.
9708
9709 2014-02-19 Tom Tromey <tromey@redhat.com>
9710
9711 * target.h (struct target_ops)
9712 <to_supports_enable_disable_tracepoint>: Add argument.
9713 (target_supports_enable_disable_tracepoint): Add argument.
9714 * target.c (update_current_target): Update.
9715 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9716 argument.
9717
9718 2014-02-19 Tom Tromey <tromey@redhat.com>
9719
9720 * target.h (struct target_ops) <to_supports_multi_process>: Add
9721 argument.
9722 (target_supports_multi_process): Add argument.
9723 * target.c (update_current_target): Update.
9724 * remote.c (remote_supports_multi_process): Add 'self' argument.
9725 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9726 argument.
9727 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9728 argument.
9729
9730 2014-02-19 Tom Tromey <tromey@redhat.com>
9731
9732 * target.h (struct target_ops) <to_execution_direction>: Add
9733 argument.
9734 (target_execution_direction): Add argument.
9735 * target.c (default_execution_direction): Add 'self' argument.
9736 * record-full.c (record_full_execution_direction): Add 'self'
9737 argument.
9738
9739 2014-02-19 Tom Tromey <tromey@redhat.com>
9740
9741 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9742 argument.
9743 (target_can_execute_reverse): Add argument.
9744 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9745 * record-full.c (record_full_can_execute_reverse): Add 'self'
9746 argument.
9747 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9748 argument.
9749
9750 2014-02-19 Tom Tromey <tromey@redhat.com>
9751
9752 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9753 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9754 argument.
9755 (target_get_ada_task_ptid): Add argument.
9756 * target.c (update_current_target): Update.
9757 (default_get_ada_task_ptid): Add 'self' argument.
9758 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9759 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9760 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9761 argument.
9762 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9763 argument.
9764 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9765 argument.
9766 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9767 argument.
9768 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9769 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9770 argument.
9771
9772 2014-02-19 Tom Tromey <tromey@redhat.com>
9773
9774 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9775 (target_goto_bookmark): Add argument.
9776 * target.c (dummy_goto_bookmark): Add 'self' argument.
9777 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9778
9779 2014-02-19 Tom Tromey <tromey@redhat.com>
9780
9781 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9782 (target_get_bookmark): Add argument.
9783 * target.c (dummy_get_bookmark): Add 'self' argument.
9784 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9785
9786 2014-02-19 Tom Tromey <tromey@redhat.com>
9787
9788 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9789 argument.
9790 (target_make_corefile_notes): Add argument.
9791 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9792 * procfs.c (procfs_make_note_section): Add 'self' argument.
9793 (procfs_make_note_section): Add 'self' argument.
9794 (procfs_make_note_section): Add 'self' argument.
9795 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9796 argument.
9797 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9798 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9799 * exec.c (exec_make_note_section): Add 'self' argument.
9800 (exec_make_note_section): Add 'self' argument.
9801
9802 2014-02-19 Tom Tromey <tromey@redhat.com>
9803
9804 * target.h (struct target_ops) <to_find_memory_regions>: Add
9805 argument.
9806 (target_find_memory_regions): Add argument.
9807 * target.c (dummy_find_memory_regions): Add 'self' argument.
9808 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9809 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9810 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9811 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9812 * exec. (exec_do_find_memory_regions): New global.
9813 (exec_set_find_memory_regions): Rewrite.
9814 (exec_find_memory_regions): New function.
9815 (init_exec_ops): Use exec_find_memory_regions.
9816
9817 2014-02-19 Tom Tromey <tromey@redhat.com>
9818
9819 * target.h (struct target_ops) <to_supports_non_stop>: Add
9820 argument.
9821 * target.c (find_default_supports_non_stop): Add argument.
9822 (target_supports_non_stop): Add argument.
9823 (find_default_supports_non_stop): Add 'self' argument.
9824 * remote.c (remote_supports_non_stop): Add 'self' argument.
9825 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9826
9827 2014-02-19 Tom Tromey <tromey@redhat.com>
9828
9829 * target.h (struct target_ops) <to_log_command>: Add argument.
9830 (target_log_command): Add argument.
9831 * serial.h (serial_log_command): Add 'self' argument.
9832 * serial.c (serial_log_command): Add 'self' argument.
9833
9834 2014-02-19 Tom Tromey <tromey@redhat.com>
9835
9836 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9837 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9838 argument.
9839 (target_pid_to_exec_file): Add argument.
9840 * target.c (debug_to_pid_to_exec_file): Add argument.
9841 (update_current_target): Update.
9842 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9843 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9844 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9845 (linux_handle_extended_wait): Update.
9846 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9847 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9848 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9849 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9850
9851 2014-02-19 Tom Tromey <tromey@redhat.com>
9852
9853 * target.h (struct target_ops) <to_rcmd>: Add argument.
9854 (target_rcmd): Add argument.
9855 * target.c (debug_to_rcmd): Add argument.
9856 (update_current_target, do_monitor_command): Update.
9857 * remote.c (remote_rcmd): Add 'self' argument.
9858 * monitor.c (monitor_rcmd): Add 'self' argument.
9859
9860 2014-02-19 Tom Tromey <tromey@redhat.com>
9861
9862 * windows-nat.c (windows_stop): Add 'self' argument.
9863 * target.h (struct target_ops) <to_stop>: Add argument.
9864 * target.c (target_stop): Add argument.
9865 (debug_to_stop): Add argument.
9866 (update_current_target): Update.
9867 * remote.c (remote_stop): Add 'self' argument.
9868 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9869 (gdbsim_cntrl_c): Update.
9870 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9871 * procfs.c (procfs_stop): Add 'self' argument.
9872 * nto-procfs.c (procfs_stop): Add 'self' argument.
9873 * monitor.c (monitor_stop): Add 'self' argument.
9874 (monitor_open): Update.
9875 * linux-nat.c (linux_nat_stop): Add argument.
9876 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9877 * gnu-nat.c (gnu_stop): Add 'self' argument.
9878 * darwin-nat.c (darwin_stop): Add 'self' argument.
9879
9880 2014-02-19 Tom Tromey <tromey@redhat.com>
9881
9882 * target.h (struct target_ops) <to_thread_name>: Add argument.
9883 * target.c (target_thread_name): Add argument.
9884 (update_current_target): Update.
9885 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9886
9887 2014-02-19 Tom Tromey <tromey@redhat.com>
9888
9889 * target.h (struct target_ops) <to_extra_thread_info>: Add
9890 argument.
9891 (target_extra_thread_info): Add argument.
9892 * target.c (update_current_target): Update.
9893 * remote.c (remote_threads_extra_info): Add 'self' argument.
9894 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9895 argument.
9896 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9897 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9898 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9899 argument.
9900 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9901 argument.
9902 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9903 argument.
9904 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9905 argument.
9906
9907 2014-02-19 Tom Tromey <tromey@redhat.com>
9908
9909 * target.h (struct target_ops) <to_program_signals>: Add argument.
9910 * target.c (target_program_signals): Add argument.
9911 * remote.c (remote_program_signals): Add 'self' argument.
9912
9913 2014-02-19 Tom Tromey <tromey@redhat.com>
9914
9915 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9916 * target.c (target_pass_signals): Add argument.
9917 * remote.c (remote_pass_signals): Add 'self' argument.
9918 (remote_start_remote): Update.
9919 * procfs.c (procfs_pass_signals): Add 'self' argument.
9920 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9921 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9922 (linux_nat_create_inferior, linux_nat_attach): Update.
9923
9924 2014-02-19 Tom Tromey <tromey@redhat.com>
9925
9926 * windows-nat.c (windows_can_run): Add 'self' argument.
9927 * target.h (struct target_ops) <to_can_run>: Add argument.
9928 (target_can_run): Add argument.
9929 * target.c (debug_to_can_run): Add argument.
9930 (update_current_target): Update.
9931 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9932 * inf-child.c (inf_child_can_run): Add 'self' argument.
9933 * go32-nat.c (go32_can_run): Add 'self' argument.
9934
9935 2014-02-19 Tom Tromey <tromey@redhat.com>
9936
9937 * target.h (struct target_ops) <to_has_exited>: Add argument.
9938 (target_has_exited): Add argument.
9939 * target.c (debug_to_has_exited): Add argument.
9940 (update_current_target): Update.
9941
9942 2014-02-19 Tom Tromey <tromey@redhat.com>
9943
9944 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9945 argument.
9946 (target_set_syscall_catchpoint): Add argument.
9947 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9948 argument.
9949 * target.c (update_current_target): Update.
9950
9951 2014-02-19 Tom Tromey <tromey@redhat.com>
9952
9953 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9954 argument.
9955 (target_remove_exec_catchpoint): Add argument.
9956 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9957 (update_current_target): Update.
9958 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9959 argument.
9960
9961 2014-02-19 Tom Tromey <tromey@redhat.com>
9962
9963 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9964 argument.
9965 (target_insert_exec_catchpoint): Add argument.
9966 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9967 (update_current_target): Update.
9968 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9969 argument.
9970
9971 2014-02-19 Tom Tromey <tromey@redhat.com>
9972
9973 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9974 argument.
9975 (target_remove_vfork_catchpoint): Add argument.
9976 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9977 (update_current_target): Update.
9978 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9979 argument.
9980
9981 2014-02-19 Tom Tromey <tromey@redhat.com>
9982
9983 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9984 argument.
9985 (target_insert_vfork_catchpoint): Add argument.
9986 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9987 (update_current_target): Update.
9988 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9989 argument.
9990
9991 2014-02-19 Tom Tromey <tromey@redhat.com>
9992
9993 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9994 argument.
9995 (target_remove_fork_catchpoint): Add argument.
9996 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9997 (update_current_target): Update.
9998 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9999 argument.
10000
10001 2014-02-19 Tom Tromey <tromey@redhat.com>
10002
10003 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10004 argument.
10005 (target_insert_fork_catchpoint): Add argument.
10006 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10007 (update_current_target): Update.
10008 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10009 argument.
10010
10011 2014-02-19 Tom Tromey <tromey@redhat.com>
10012
10013 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10014 argument.
10015 (target_post_startup_inferior): Add argument.
10016 * target.c (debug_to_post_startup_inferior): Add argument.
10017 (update_current_target): Update.
10018 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10019 argument.
10020 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10021 argument.
10022 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10023 argument.
10024 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10025 argument.
10026 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10027 'self' argument.
10028 (super_post_startup_inferior): Likewise.
10029 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10030 'self' argument.
10031 (super_post_startup_inferior): Likewise.
10032 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10033 Add 'self' argument.
10034 (super_post_startup_inferior): Likewise.
10035
10036 2014-02-19 Tom Tromey <tromey@redhat.com>
10037
10038 * target.h (struct target_ops) <to_load>: Add argument.
10039 * target.c (target_load): Add argument.
10040 (debug_to_load): Add argument.
10041 (update_current_target): Update.
10042 * remote.c (remote_load): Add 'self' argument.
10043 * remote-sim.c (gdbsim_load): Add 'self' argument.
10044 * remote-mips.c (mips_load): Add 'self' argument.
10045 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10046 * monitor.c (monitor_load): Add 'self' argument.
10047 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10048
10049 2014-02-19 Tom Tromey <tromey@redhat.com>
10050
10051 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10052 (target_terminal_info): Add argument.
10053 * target.c (debug_to_terminal_info): Add argument.
10054 (default_terminal_info): Likewise.
10055 * inflow.c (child_terminal_info): Add 'self' argument.
10056 * inferior.h (child_terminal_info): Add 'self' argument.
10057 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10058
10059 2014-02-19 Tom Tromey <tromey@redhat.com>
10060
10061 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10062 argument.
10063 (target_terminal_save_ours): Add argument.
10064 * target.c (debug_to_terminal_save_ours): Add argument.
10065 (update_current_target): Update.
10066 * inflow.c (terminal_save_ours): Add 'self' argument.
10067 * inferior.h (terminal_save_ours): Add 'self' argument.
10068
10069 2014-02-19 Tom Tromey <tromey@redhat.com>
10070
10071 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10072 (target_terminal_ours): Add argument.
10073 * target.c (debug_to_terminal_ours): Add argument.
10074 (update_current_target): Update.
10075 * remote.c (remote_terminal_ours): Add 'self' argument.
10076 (remote_close): Update.
10077 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10078 * inflow.c (terminal_ours): Add 'self' argument.
10079 * inferior.h (terminal_ours): Add 'self' argument.
10080 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10081
10082 2014-02-19 Pedro Alves <palves@redhat.com>
10083 Tom Tromey <tromey@redhat.com>
10084
10085 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10086 argument.
10087 (target_terminal_ours_for_output): Add argument.
10088 * target.c (debug_to_terminal_ours_for_output): Add argument.
10089 (update_current_target): Update.
10090 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10091 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10092 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10093
10094 2014-02-19 Tom Tromey <tromey@redhat.com>
10095
10096 * target.h (struct target_ops) <to_terminal_inferior>: Add
10097 argument.
10098 * target.c (target_terminal_inferior): Add argument.
10099 (update_current_target): Update.
10100 * remote.c (remote_terminal_inferior): Add 'self' argument.
10101 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10102 * inflow.c (terminal_inferior): Add 'self' argument.
10103 * inferior.h (terminal_inferior): Add 'self' argument.
10104 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10105 (go32_terminal_inferior): Add 'self' argument.
10106
10107 2014-02-19 Tom Tromey <tromey@redhat.com>
10108
10109 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10110 (target_terminal_init): Add argument.
10111 * target.c (debug_to_terminal_init): Add argument.
10112 (update_current_target): Update.
10113 * inflow.c (terminal_init_inferior): Add 'self' argument.
10114 * inferior.h (terminal_init_inferior): Add 'self' argument.
10115 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10116 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10117
10118 2014-02-19 Tom Tromey <tromey@redhat.com>
10119
10120 * target.h (struct target_ops)
10121 <to_can_accel_watchpoint_condition>: Add argument.
10122 (target_can_accel_watchpoint_condition): Add argument.
10123 * target.c (debug_to_can_accel_watchpoint_condition): Add
10124 argument.
10125 (update_current_target): Update.
10126 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10127 'self' argument.
10128
10129 2014-02-19 Tom Tromey <tromey@redhat.com>
10130
10131 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10132 Add argument.
10133 (target_region_ok_for_hw_watchpoint): Add argument.
10134 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10135 (default_region_ok_for_hw_watchpoint): Add argument.
10136 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10137 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10138 argument.
10139 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10140 argument.
10141 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10142 argument.
10143 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10144 'self' argument.
10145 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10146 'self' argument.
10147 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10148 'self' argument.
10149 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10150 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10151 'self' argument.
10152 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10153 Add 'self' argument.
10154
10155 2014-02-19 Tom Tromey <tromey@redhat.com>
10156
10157 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10158 argument.
10159 (target_insert_watchpoint): Add argument.
10160 * target.c (debug_to_insert_watchpoint): Add argument.
10161 (update_current_target): Update.
10162 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10163 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10164 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10165 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10166 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10167 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10168 argument.
10169 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10170 (procfs_insert_hw_watchpoint): Add 'self' argument.
10171 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10172 argument.
10173 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10174 argument.
10175 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10176 argument.
10177 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10178 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10179 argument.
10180 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10181 'self' argument.
10182
10183 2014-02-19 Tom Tromey <tromey@redhat.com>
10184
10185 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10186 argument.
10187 (target_remove_watchpoint): Add argument.
10188 * target.c (debug_to_remove_watchpoint): Add argument.
10189 (update_current_target): Update.
10190 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10191 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10192 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10193 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10194 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10195 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10196 argument.
10197 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10198 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10199 argument.
10200 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10201 argument.
10202 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10203 argument.
10204 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10205 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10206 argument.
10207 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10208 'self' argument.
10209
10210 2014-02-19 Tom Tromey <tromey@redhat.com>
10211
10212 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10213 argument.
10214 (target_remove_hw_breakpoint): Add argument.
10215 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10216 (update_current_target): Update.
10217 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10218 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10219 argument.
10220 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10221 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10222 argument.
10223 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10224 'self' argument.
10225
10226 2014-02-19 Tom Tromey <tromey@redhat.com>
10227
10228 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10229 argument.
10230 (target_insert_hw_breakpoint): Add argument.
10231 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10232 (update_current_target): Update.
10233 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10234 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10235 argument.
10236 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10237 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10238 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10239 argument.
10240 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10241 'self' argument.
10242
10243 2014-02-19 Tom Tromey <tromey@redhat.com>
10244
10245 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10246 argument.
10247 (target_can_use_hardware_watchpoint): Add argument.
10248 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10249 (update_current_target): Update.
10250 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10251 argument.
10252 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10253 argument.
10254 * remote.c (remote_check_watch_resources): Add 'self' argument.
10255 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10256 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10257 argument.
10258 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10259 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10260 argument.
10261 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10262 argument.
10263 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10264 argument.
10265 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10266 argument.
10267 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10268 argument.
10269 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10270 argument.
10271 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10272 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10273 argument.
10274 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10275 'self' argument.
10276
10277 2014-02-19 Tom Tromey <tromey@redhat.com>
10278
10279 * target.h (struct target_ops) <to_post_attach>: Add argument.
10280 (target_post_attach): Add argument.
10281 * target.c (debug_to_post_attach): Add argument.
10282 (update_current_target): Update.
10283 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10284 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10285 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10286 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10287 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10288
10289 2014-02-19 Tom Tromey <tromey@redhat.com>
10290
10291 * windows-nat.c (windows_close): Add 'self' argument.
10292 * tracepoint.c (tfile_close): Add 'self' argument.
10293 * target.h (struct target_ops) <to_close>: Add argument.
10294 * target.c (target_close): Add argument.
10295 (update_current_target): Update.
10296 * remote.c (remote_close): Add 'self' argument.
10297 * remote-sim.c (gdbsim_close): Add 'self' argument.
10298 * remote-mips.c (mips_close): Add 'self' argument.
10299 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10300 * record-full.c (record_full_close): Add 'self' argument.
10301 * record-btrace.c (record_btrace_close): Add 'self' argument.
10302 * monitor.h (monitor_close): Add 'self' argument.
10303 * monitor.c (monitor_close): Add 'self' argument.
10304 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10305 * linux-nat.c (linux_nat_close): Add argument.
10306 * go32-nat.c (go32_close): Add 'self' argument.
10307 * exec.c (exec_close_1): Add 'self' argument.
10308 * ctf.c (ctf_close): Add 'self' argument.
10309 * corelow.c (core_close): Add 'self' argument.
10310 (core_close_cleanup): Update.
10311 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10312 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10313
10314 2014-02-19 Tom Tromey <tromey@redhat.com>
10315
10316 * remote.c (remote_load): New function.
10317 (init_remote_ops): Use it.
10318
10319 2014-02-19 Tom Tromey <tromey@redhat.com>
10320
10321 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10322 argument.
10323 * common/linux-btrace.h (linux_supports_btrace): Update.
10324 * remote.c (remote_supports_btrace): Add "self" argument.
10325 * target-delegates.c: Rebuild.
10326 * target.c (target_supports_btrace): Remove.
10327 * target.h (struct target_ops) <to_supports_btrace>: Add
10328 target_ops argument.
10329 (target_supports_btrace): New define.
10330
10331 2014-02-19 Tom Tromey <tromey@redhat.com>
10332
10333 * record-full.c (record_full_beneath_to_resume_ops)
10334 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10335 (record_full_beneath_to_wait)
10336 (record_full_beneath_to_store_registers_ops)
10337 (record_full_beneath_to_store_registers)
10338 (record_full_beneath_to_xfer_partial_ops)
10339 (record_full_beneath_to_xfer_partial)
10340 (record_full_beneath_to_insert_breakpoint_ops)
10341 (record_full_beneath_to_insert_breakpoint)
10342 (record_full_beneath_to_remove_breakpoint_ops)
10343 (record_full_beneath_to_remove_breakpoint)
10344 (record_full_beneath_to_stopped_by_watchpoint)
10345 (record_full_beneath_to_stopped_data_address)
10346 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10347 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10348 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10349 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10350 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10351 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10352 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10353 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10354 (record_full_resume, record_full_wait_1)
10355 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10356 (record_full_store_registers, record_full_xfer_partial)
10357 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10358 (record_full_async, record_full_core_xfer_partial): Use target
10359 delegation.
10360 * target-delegates.c: Rebuild.
10361 * target.c (current_xfer_partial): Remove.
10362 (update_current_target): Do not INHERIT or de_fault
10363 to_insert_breakpoint, to_remove_breakpoint,
10364 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10365 to_is_async_p, to_async. Do not set to_xfer_partial field.
10366 (default_xfer_partial): Simplify.
10367 (current_xfer_partial): Remove.
10368 (target_wait, target_resume): Simplify.
10369 (find_default_can_async_p, find_default_is_async_p): Update.
10370 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10371 to_xfer_partial, to_stopped_by_watchpoint,
10372 to_stopped_data_address.
10373 (target_store_registers): Simplify.
10374 (forward_target_remove_breakpoint)
10375 (forward_target_insert_breakpoint): Remove.
10376 (target_remove_breakpoint, target_insert_breakpoint)
10377 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10378 * target.h (struct target_ops) <to_resume, to_wait,
10379 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10380 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10381 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10382 markup.
10383 (forward_target_remove_breakpoint)
10384 (forward_target_insert_breakpoint): Remove.
10385 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10386 directly.
10387 (record_btrace_insert_breakpoint): Delegate directly.
10388
10389 2014-02-19 Tom Tromey <tromey@redhat.com>
10390
10391 PR build/7701:
10392 * target-delegates.c: New file.
10393 * target.c: Include target-delegates.c.
10394 (init_dummy_target): Call install_dummy_methods.
10395 (complete_target_initialization): Call install_delegators.
10396 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10397 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10398 * make-target-delegates: New file.
10399
10400 2014-02-19 Tom Tromey <tromey@redhat.com>
10401
10402 * record.c (find_record_target): Use find_target_at.
10403 * target.c (find_target_at): New function.
10404 * target.h (find_target_at): Declare.
10405
10406 2014-02-19 Tom Tromey <tromey@redhat.com>
10407
10408 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10409 Add 'ops' argument.
10410 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10411 'ops' argument.
10412 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10413 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10414 'ops' argument.
10415 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10416 argument.
10417 * linux-nat.c (save_sigtrap): Update.
10418 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10419 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10420 (linux_nat_close): Update.
10421 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10422 argument.
10423 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10424 argument.
10425 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10426 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10427 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10428 (tmp_to_async): Add 'ops' argument.
10429 (record_full_stopped_by_watchpoint, record_full_async)
10430 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10431 argument.
10432 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10433 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10434 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10435 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10436 (remote_is_async_p, remote_async): Add 'ops' argument.
10437 (remote_stopped_data_address): Update.
10438 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10439 * target.c (update_current_target)
10440 (find_default_can_async_p, find_default_is_async_p): Update.
10441 (init_dummy_target): Update.
10442 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10443 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10444 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10445 (target_can_async_p, target_is_async_p, target_async)
10446 (target_stopped_by_watchpoint): Update.
10447
10448 2014-02-19 Yao Qi <yao@codesourcery.com>
10449
10450 PR gdb/16220
10451 * gdbarch.sh: Remove startup_gdbarch.
10452 * gdbarch.c: Regenerated.
10453 * gdbarch.h: Likewise.
10454
10455 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10456
10457 * rl78-tdep.c (rl78_g10_register_name): New function.
10458 (rl78_return_value): Add g10 support.
10459 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10460 g10.
10461
10462 2014-02-17 Doug Evans <xdje42@gmail.com>
10463
10464 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10465 (SUBDIR_GUILE_SRCS): Ditto.
10466 (scm-gsmob.o): Ditto.
10467
10468 2014-02-17 Yao Qi <yao@codesourcery.com>
10469
10470 * gnu-nat.c (ILL_RPC): Declare defined function.
10471
10472 2014-02-17 Yao Qi <yao@codesourcery.com>
10473
10474 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10475 mach_msg_type_number_t.
10476 (gnu_write_inferior): Likewise.
10477
10478 2014-02-17 Yao Qi <yao@codesourcery.com>
10479
10480 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10481 in format string.
10482 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10483 (inf_validate_procs, inf_signal): Likewise.
10484 (S_exception_raise_request): Likewise.
10485 (do_mach_notify_dead_name): Likewise.
10486 (steal_exc_port): Likewise.
10487 (gnu_read_inferior): Change 'copy_count''s type to
10488 mach_msg_type_number_t.
10489 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10490 format string.
10491
10492 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10493
10494 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10495 flag. Adjust all users; in particular...
10496 (gnu_wait): ..., don't decrement its value in here...
10497 (gnu_create_inferior): ..., and instead set the flag in here,
10498 around the startup_inferior call, and call that one with
10499 START_INFERIOR_TRAPS_EXPECTED.
10500
10501 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10502 (ILL_RPC): ... new macro.
10503 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10504 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10505 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10506 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10507 functions with ILL_RPC macro.
10508 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10509 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10510 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10511 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10512 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10513 (S_proc_getlogin_reply, S_proc_getsid_reply)
10514 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10515 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10516 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10517 (S_proc_getnports_reply, S_proc_is_important_reply)
10518 (S_proc_get_code_reply): New stub functions, generated with
10519 ILL_RPC macro.
10520
10521 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10522 collected the type check structures.
10523
10524 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10525
10526 2014-02-14 Doug Evans <dje@google.com>
10527
10528 * target.c (target_write_partial): Fix result type.
10529
10530 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10531
10532 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10533 the proper offsets to access fpregset_t.
10534
10535 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10536
10537 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10538 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10539 * h8300-tdep.c (setmachinelist): Remove global.
10540 * hppa-tdep.c (hppa_sigtramp): Remove global.
10541 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10542 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10543 * ravenscar-thread.c (update_target_observer): Remove global.
10544 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10545
10546 2014-02-12 Tom Tromey <tromey@redhat.com>
10547
10548 * common/rsp-low.c: Update comments.
10549 * common/rsp-low.h: Update comments.
10550
10551 2014-02-12 Tom Tromey <tromey@redhat.com>
10552
10553 * common/rsp-low.c (convert_ascii_to_int): Remove.
10554 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10555
10556 2014-02-12 Tom Tromey <tromey@redhat.com>
10557
10558 * common/rsp-low.h (unhexify): Don't declare.
10559 * common/rsp-low.c (unhexify): Remove.
10560
10561 2014-02-12 Tom Tromey <tromey@redhat.com>
10562
10563 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10564 * common/rsp-low.c (convert_int_to_ascii): Remove.
10565
10566 2014-02-12 Tom Tromey <tromey@redhat.com>
10567
10568 * common/rsp-low.h (hexify): Don't declare.
10569 * common/rsp-low.c (hexify): Remove.
10570
10571 2014-02-12 Tom Tromey <tromey@redhat.com>
10572
10573 * common/rsp-low.c (hexify): Never take strlen of argument.
10574
10575 2014-02-12 Tom Tromey <tromey@redhat.com>
10576
10577 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10578 * remote.c (extended_remote_run, remote_rcmd)
10579 (remote_download_trace_state_variable, remote_save_trace_data)
10580 (remote_set_trace_notes): Update.
10581 * tracepoint.c (encode_source_string, tfile_write_status)
10582 (tfile_write_uploaded_tsv): Update.
10583
10584 2014-02-12 Tom Tromey <tromey@redhat.com>
10585
10586 * tracepoint.c: Include rsp-low.h.
10587 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10588 * remote.c: Include rsp-low.h.
10589 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10590 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10591 (remote_unescape_input): Move to common/rsp-low.c.
10592 * common/rsp-low.h: New file.
10593 * common/rsp-low.c: New file.
10594 * Makefile.in (SFILES): Add common/rsp-low.c.
10595 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10596 (COMMON_OBS): Add rsp-low.o.
10597 (rsp-low.o): New target.
10598
10599 2014-02-12 Tom Tromey <tromey@redhat.com>
10600
10601 * utils.h: Include print-utils.h.
10602 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10603 (int_string, core_addr_to_string, core_addr_to_string_nz)
10604 (hex_string, hex_string_custom): Don't declare.
10605 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10606 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10607 (hex_string_custom, int_string, core_addr_to_string)
10608 (core_addr_to_string_nz, host_address_to_string): Move to
10609 common/print-utils.c.
10610 * common/print-utils.h: New file.
10611 * common/print-utils.c: New file
10612 * Makefile.in (SFILES): Add common/print-utils.c.
10613 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10614 (COMMON_OBS): Add print-utils.o.
10615 (print-utils.o): New target.
10616
10617 2014-02-12 Tom Tromey <tromey@redhat.com>
10618
10619 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10620
10621 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10622
10623 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10624
10625 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10626
10627 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10628 if a PT_IO ptrace request returns sucessfully but indicates that 0
10629 bytes were transferred.
10630
10631 2014-02-12 Pedro Alves <palves@redhat.com>
10632 Kevin Buettner <kevinb@redhat.com>
10633
10634 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10635 TYPE_INSTANCE_FLAG_CODE_SPACE.
10636
10637 2014-02-12 Pedro Alves <palves@redhat.com>
10638
10639 * h8300-tdep.c (pseudo_from_raw_register)
10640 (raw_from_pseudo_register): New functions.
10641 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10642 them.
10643
10644 2014-02-12 Pedro Alves <palves@redhat.com>
10645
10646 * h8300-tdep.c (h8300_register_sim_regno): New function.
10647 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10648 gdbarch_register_sim_regno hook.
10649
10650 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10651
10652 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10653
10654 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10655
10656 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10657
10658 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10659
10660 * obsd-tdep.h (obsd_init_abi): New prototype.
10661 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10662 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10663 (obsd_init_abi): New functions.
10664 * i386obsd-tdep.c: Include "obsd-tdep.h".
10665 (i386obsd_init_abi): Call obsd_init_abi.
10666 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10667 (amd64obsd_init_abi): Call obsd_init_abi.
10668 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10669 obsd-tdep.c to gdb_target_obs.
10670
10671 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10672
10673 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10674 double float arguments to 16-byte in the argument slots.
10675
10676 2014-02-11 Doug Evans <xdje42@gmail.com>
10677
10678 * configure.ac: Don't crash if pkg-config is not found and guile
10679 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10680 in guile checks.
10681 * configure: Regenerate.
10682
10683 2014-02-11 Yao Qi <yao@codesourcery.com>
10684
10685 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10686 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10687 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10688 * gnu-nat.c (gnu_xfer_memory): Likewise.
10689 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10690 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10691 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10692 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10693
10694 2014-02-11 Yao Qi <yao@codesourcery.com>
10695
10696 * target.h (enum target_xfer_error): Rename to ...
10697 (enum target_xfer_status): ... it. New. All users updated.
10698 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10699 New.
10700 (TARGET_XFER_STATUS_ERROR_P): New macro.
10701 (target_xfer_error_to_string): Remove declaration.
10702 (target_xfer_status_to_string): Declare.
10703 (target_xfer_partial_ftype): Adjust it.
10704 (struct target_ops) <to_xfer_partial>: Return
10705 target_xfer_status. Add argument xfered_len. Update
10706 comments.
10707 * target.c (target_xfer_error_to_string): Rename to ...
10708 (target_xfer_status_to_string): ... it. New. All callers
10709 updated.
10710 (target_read_live_memory): Likewise. Call target_xfer_partial
10711 instead of target_read.
10712 (memory_xfer_live_readonly_partial): Return
10713 target_xfer_status. Add argument xfered_len.
10714 (raw_memory_xfer_partial): Likewise.
10715 (memory_xfer_partial_1): Likewise.
10716 (memory_xfer_partial): Likewise.
10717 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10718 properly. Update debug message.
10719 (default_xfer_partial, current_xfer_partial): Likewise.
10720 (target_write_partial): Likewise.
10721 (target_read_partial): Likewise. All callers updated.
10722 (read_whatever_is_readable): Likewise.
10723 (target_write_with_progress): Likewise.
10724 (target_read_alloc_1): Likewise.
10725
10726 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10727 * auxv.c (procfs_xfer_auxv): Likewise.
10728 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10729 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10730 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10731 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10732 * corefile.c (read_memory): Adjust.
10733 * corelow.c (core_xfer_partial): Likewise.
10734 * ctf.c (ctf_xfer_partial): Likewise.
10735 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10736 updated.
10737 (darwin_xfer_partial): Likewise.
10738 * exec.c (section_table_xfer_memory_partial): Likewise. All
10739 callers updated.
10740 (exec_xfer_partial): Likewise.
10741 * exec.h (section_table_xfer_memory_partial): Update
10742 declaration.
10743 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10744 negative.
10745 (gnu_xfer_partial): Likewise.
10746 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10747 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10748 (ia64_hpux_xfer_solib_got): Likewise.
10749 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10750 type of 'partial_len' to ULONGEST.
10751 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10752 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10753 (linux_nat_xfer_partial): Likewise.
10754 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10755 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10756 * monitor.c (monitor_xfer_memory): Likewise.
10757 (monitor_xfer_partial): Likewise.
10758 * procfs.c (procfs_xfer_partial): Likewise.
10759 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10760 * record-full.c (record_full_xfer_partial): Likewise.
10761 (record_full_core_xfer_partial): Likewise.
10762 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10763 (gdbsim_xfer_partial): Likewise.
10764 * remote.c (remote_write_bytes_aux): Likewise. All callers
10765 updated.
10766 (remote_write_bytes, remote_read_bytes): Likewise. All
10767 callers updated.
10768 (remote_flash_erase): Likewise. All callers updated.
10769 (remote_write_qxfer): Likewise. All callers updated.
10770 (remote_read_qxfer): Likewise. All callers updated.
10771 (remote_xfer_partial): Likewise.
10772 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10773 (rs6000_xfer_shared_libraries): Likewise.
10774 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10775 (sol_thread_xfer_partial): Likewise.
10776 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10777 (sparc_xfer_partial): Likewise.
10778 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10779 updated.
10780 (spu_xfer_partial): Likewise.
10781 * spu-multiarch.c (spu_xfer_partial): Likewise.
10782 * tracepoint.c (tfile_xfer_partial): Likewise.
10783 * windows-nat.c (windows_xfer_memory): Likewise.
10784 (windows_xfer_shared_libraries): Likewise.
10785 (windows_xfer_partial): Likewise.
10786 * valprint.c: Replace 'target_xfer_error' with
10787 'target_xfer_status' in comments.
10788
10789 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10790
10791 Checked in by Joel Brobecker <brobecker@adacore.com>.
10792 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10793
10794 2014-02-11 Joel Brobecker <brobecker@adacore.com>
10795
10796 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10797 function parameters.
10798
10799 2014-02-10 Will Newton <will.newton@linaro.org>
10800
10801 * elfread.c (elf_rel_plt_read): Look for a .got section if
10802 looking up .got.plt fails.
10803 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10804 on address passed to elf_gnu_ifunc_record_cache.
10805 (elf_gnu_ifunc_resolve_addr): Likewise.
10806 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10807
10808 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10809
10810 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10811 (X_RETTURN): New macro.
10812 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10813
10814 * sparc64-tdep.c (sparc64_init_abi): Hook
10815 sparc_in_function_epilogue_p.
10816
10817 2014-02-10 Gary Benson <gbenson@redhat.com>
10818
10819 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10820 Rename name_matcher to symbol_matcher.
10821
10822 2014-02-10 Gary Benson <gbenson@redhat.com>
10823
10824 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10825 Use expand_symtabs_file_matcher_ftype and
10826 expand_symtabs_symbol_matcher_ftype.
10827
10828 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10829
10830 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10831 (struct ada_symbol_cache): New.
10832 (ada_free_symbol_cache): Forward declare.
10833 (struct ada_pspace_data): New.
10834 (ada_pspace_data_handle): New static global.
10835 (get_ada_pspace_data, ada_pspace_data_cleanup)
10836 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10837 (cache_space, cache): Delete, now folded inside struct
10838 ada_pspace_data.
10839 (ada_get_symbol_cache): New function.
10840 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10841 implementation.
10842 (_initialize_ada_language): Remove initialization of cache_space.
10843 Move call to observer_attach_inferior_exit up, grouping it
10844 with the other observer registrations inside this function.
10845 Rename command to be more general. Add call to
10846 register_program_space_data_with_cleanup.
10847
10848 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10849
10850 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10851 ada_new_objfile_observer.
10852 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10853 (_initialize_tasks): Update uses of ada_new_objfile_observer
10854 and ada_tasks_normal_stop_observer.
10855
10856 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10857
10858 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10859 returned by the 'Length attribute to integer.
10860
10861 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10862
10863 * ada-lang.c (_initialize_ada_language): Initialize
10864 cache_space obstack.
10865
10866 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10867
10868 * ada-lang.c (HASH_SIZE): New macro.
10869 (struct cache_entry): New type.
10870 (cache_space, cache): New static globals.
10871 (ada_clear_symbol_cache, find_entry): New functions.
10872 (lookup_cached_symbol, cache_symbol): Implement.
10873 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10874 (_initialize_ada_language): Attach ada_new_objfile_observer
10875 and ada_free_objfile_observer.
10876
10877 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10878
10879 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10880 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10881 struct block * parameter.
10882 (ada_lookup_symbol_list_worker): Constify local variable "block".
10883 Remove cast which is no longer necessary.
10884
10885 2014-02-10 Doug Evans <xdje42@gmail.com>
10886
10887 Add Guile as an extension language.
10888 * NEWS: Mention Guile scripting.
10889 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10890 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10891 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10892 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10893 (CLIBS): Add GUILE_LIBS.
10894 (install-guile): New rule.
10895 (guile.o): New rule.
10896 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10897 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10898 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10899 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10900 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10901 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10902 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10903 * configure.ac: New option --with-guile.
10904 * configure: Regenerate.
10905 * config.in: Regenerate.
10906 * auto-load.c: Remove #include "python/python.h". Add #include
10907 "gdb/section-scripts.h".
10908 (source_section_scripts): Handle Guile scripts.
10909 (_initialize_auto_load): Add name of Guile objfile script to
10910 scripts-directory help text.
10911 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10912 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10913 (struct breakpoint): New member scm_bp_object.
10914 * defs.h (enum command_control_type): New value guile_control.
10915 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10916 "extension.h".
10917 (show_user): Update comment.
10918 (_initialize_cli_cmds): Update help text for "show user". Update help
10919 text for max-user-call-depth.
10920 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10921 "extension.h".
10922 (multi_line_command_p): Add guile_control.
10923 (print_command_lines): Handle guile_control.
10924 (execute_control_command, recurse_read_control_structure): Ditto.
10925 (process_next_line): Recognize "guile" commands.
10926 * disasm.c (gdb_disassemble_info): Make non-static.
10927 * disasm.h: #include "dis-asm.h".
10928 (struct gdbarch): Add forward decl.
10929 (gdb_disassemble_info): Declare.
10930 * extension.c: #include "guile/guile.h".
10931 (extension_languages): Add guile.
10932 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10933 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10934 * gdbtypes.c (get_unsigned_type_max): New function.
10935 (get_signed_type_minmax): New function.
10936 * gdbtypes.h (get_unsigned_type_max): Declare.
10937 (get_signed_type_minmax): Declare.
10938 * guile/README: New file.
10939 * guile/guile-internal.h: New file.
10940 * guile/guile.c: New file.
10941 * guile/guile.h: New file.
10942 * guile/scm-arch.c: New file.
10943 * guile/scm-auto-load.c: New file.
10944 * guile/scm-block.c: New file.
10945 * guile/scm-breakpoint.c: New file.
10946 * guile/scm-disasm.c: New file.
10947 * guile/scm-exception.c: New file.
10948 * guile/scm-frame.c: New file.
10949 * guile/scm-gsmob.c: New file.
10950 * guile/scm-iterator.c: New file.
10951 * guile/scm-lazy-string.c: New file.
10952 * guile/scm-math.c: New file.
10953 * guile/scm-objfile.c: New file.
10954 * guile/scm-ports.c: New file.
10955 * guile/scm-pretty-print.c: New file.
10956 * guile/scm-safe-call.c: New file.
10957 * guile/scm-string.c: New file.
10958 * guile/scm-symbol.c: New file.
10959 * guile/scm-symtab.c: New file.
10960 * guile/scm-type.c: New file.
10961 * guile/scm-utils.c: New file.
10962 * guile/scm-value.c: New file.
10963 * guile/lib/gdb.scm: New file.
10964 * guile/lib/gdb/boot.scm: New file.
10965 * guile/lib/gdb/experimental.scm: New file.
10966 * guile/lib/gdb/init.scm: New file.
10967 * guile/lib/gdb/iterator.scm: New file.
10968 * guile/lib/gdb/printing.scm: New file.
10969 * guile/lib/gdb/types.scm: New file.
10970 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10971 (VPATH): Add $(GUILE_SRCDIR).
10972 (GUILE_DIR): New variable.
10973 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10974 (all): Add stamp-guile dependency.
10975 (stamp-guile): New rule.
10976 (clean-guile, install-guile, uninstall-guile): New rules.
10977 (install-only): Add install-guile dependency.
10978 (uninstall): Add uninstall-guile dependency.
10979 (clean): Add clean-guile dependency.
10980
10981 2014-02-09 Doug Evans <xdje42@gmail.com>
10982
10983 Revert this patch (which I approved, mea culpa).
10984
10985 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10986
10987 * Makefile.in (all-lib): Remove.
10988 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10989
10990 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10991
10992 Fix Python stack corruption.
10993 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10994 gdb_py_longest.
10995
10996 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10997
10998 * Makefile.in (all-lib): Remove.
10999 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11000
11001 2014-02-07 Doug Evans <dje@google.com>
11002
11003 * extension-priv.h (extension_language_script_ops): Add comment.
11004 (extension_language_ops): Add comment.
11005 (active_ext_lang_state): Fix typo in comment.
11006
11007 2014-02-07 Pedro Alves <palves@redhat.com>
11008
11009 PR breakpoints/16292
11010 * infrun.c (handle_signal_stop) <signal arrives while stepping
11011 over a breakpoint>: Switch back to the stepping thread.
11012
11013 2014-02-07 Yao Qi <yao@codesourcery.com>
11014
11015 * target.c (target_xfer_partial): Return zero if LEN is zero.
11016
11017 2014-02-07 Yao Qi <yao@codesourcery.com>
11018
11019 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11020 (ld_so_xfer_auxv): Likewise.
11021 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11022 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11023 * corelow.c (core_xfer_partial): Likewise.
11024 * ctf.c (ctf_xfer_partial): Likewise.
11025 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11026 (darwin_xfer_partial): Likewise.
11027 * exec.c (exec_xfer_partial): Likewise.
11028 * gnu-nat.c (gnu_xfer_partial): Likewise.
11029 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11030 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11031 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11032 * linux-nat.c (linux_xfer_siginfo): Likewise.
11033 (linux_proc_xfer_spu): Likewise.
11034 * procfs.c (procfs_xfer_partial): Likewise.
11035 * record-full.c (record_full_xfer_partial): Likewise.
11036 (record_full_core_xfer_partial): Likewise.
11037 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11038 * remote.c (remote_write_qxfer): Likewise.
11039 (remote_write_qxfer, remote_read_qxfer): Likewise.
11040 (remote_xfer_partial): Likewise.
11041 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11042 (rs6000_xfer_shared_libraries): Likewise.
11043 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11044 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11045 (spu_xfer_partial): Likewise.
11046 * target.c (memory_xfer_partial_1): Likewise.
11047 * tracepoint.c (tfile_xfer_partial): Likewise.
11048 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11049 (windows_xfer_partial): Likewise.
11050
11051 2014-02-07 Yao Qi <yao@codesourcery.com>
11052
11053 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11054 comments.
11055 (core_xfer_shared_libraries_aix): Likewise.
11056 * gdbarch.c, gdbarch.h: Regenerated.
11057 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11058 ULONGEST. Change 'len_avail' type to ULONGEST.
11059 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11060 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11061 declaration.
11062 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11063
11064 2014-02-07 Yao Qi <yao@codesourcery.com>
11065
11066 * corefile.c (memory_error): Get 'exception' from ERR and pass
11067 'exception' to throw_error.
11068
11069 2014-02-06 Doug Evans <xdje42@gmail.com>
11070
11071 * configure.ac (libpython checking): Remove all but python.o from
11072 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11073 * configure: Regenerate.
11074
11075 * Makefile.in (SFILES): Add extension.c.
11076 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11077 (COMMON_OBS): Add extension.o.
11078 * extension.h: New file.
11079 * extension-priv.h: New file.
11080 * extension.c: New file.
11081
11082 * python/python-internal.h: #include "extension.h".
11083 (gdbpy_auto_load_enabled): Declare.
11084 (gdbpy_apply_val_pretty_printer): Declare.
11085 (gdbpy_apply_frame_filter): Declare.
11086 (gdbpy_preserve_values): Declare.
11087 (gdbpy_breakpoint_cond_says_stop): Declare.
11088 (gdbpy_breakpoint_has_cond): Declare.
11089 (void source_python_script_for_objfile): Delete.
11090 * python/python.c: #include "extension-priv.h".
11091 Delete inclusion of "observer.h".
11092 (extension_language_python): Moved here and renamed from
11093 script_language_python in py-auto-load.c.
11094 Redefined to be of type extension_language_defn.
11095 (python_extension_script_ops): New global.
11096 (python_extension_ops): New global.
11097 (struct python_env): New member previous_active.
11098 (restore_python_env): Call restore_active_ext_lang.
11099 (ensure_python_env): Call set_active_ext_lang.
11100 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11101 New arg extlang.
11102 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11103 New arg extlang.
11104 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11105 New arg extlang.
11106 (gdbpy_eval_from_control_command): Renamed from
11107 eval_python_from_control_command, made static. New arg extlang.
11108 (gdbpy_source_script) Renamed from source_python_script, made static.
11109 New arg extlang.
11110 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11111 result to int. New arg extlang.
11112 (gdbpy_source_objfile_script): Renamed from
11113 source_python_script_for_objfile, made static. New arg extlang.
11114 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11115 static. New args extlang, extlang_printers. Change result type to
11116 "void".
11117 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11118 static. New arg extlang. Rename arg printers to extlang_printers
11119 and change type to ext_lang_type_printers *.
11120 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11121 static. Replace argument arg with extlang, extlang_printers.
11122 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11123 (!HAVE_PYTHON, source_python_script): Delete.
11124 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11125 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11126 (!HAVE_PYTHON, start_type_printers): Delete.
11127 (!HAVE_PYTHON, apply_type_printers): Delete.
11128 (!HAVE_PYTHON, free_type_printers): Delete.
11129 (_initialize_python): Delete call to observer_attach_before_prompt.
11130 (finalize_python): Set/restore active extension language.
11131 (gdbpy_finish_initialization) Renamed from
11132 finish_python_initialization, made static. New arg extlang.
11133 (gdbpy_initialized): New function.
11134 * python/python.h: #include "extension.h". Delete #include
11135 "value.h", "mi/mi-cmds.h".
11136 (extension_language_python): Declare.
11137 (GDBPY_AUTO_FILE_NAME): Delete.
11138 (enum py_bt_status): Moved to extension.h and renamed to
11139 ext_lang_bt_status.
11140 (enum frame_filter_flags): Moved to extension.h.
11141 (enum py_frame_args): Moved to extension.h and renamed to
11142 ext_lang_frame_args.
11143 (finish_python_initialization): Delete.
11144 (eval_python_from_control_command): Delete.
11145 (source_python_script): Delete.
11146 (apply_val_pretty_printer): Delete.
11147 (apply_frame_filter): Delete.
11148 (preserve_python_values): Delete.
11149 (gdbpy_script_language_defn): Delete.
11150 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11151 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11152
11153 * auto-load.c: #include "extension.h".
11154 (GDB_AUTO_FILE_NAME): Delete.
11155 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11156 (script_language_gdb): Delete, moved to extension.c and renamed to
11157 extension_language_gdb.
11158 (source_gdb_script_for_objfile): Delete.
11159 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11160 (loaded_script): Change type of language member to
11161 struct extension_language_defn *.
11162 (init_loaded_scripts_info): Initialize
11163 unsupported_script_warning_printed.
11164 (maybe_add_script): Make static. Change type of language arg to
11165 struct extension_language_defn *.
11166 (clear_section_scripts): Reset unsupported_script_warning_printed.
11167 (auto_load_objfile_script_1): Rewrite to use extension language API.
11168 (auto_load_objfile_script): Make public. Remove support-compiled-in
11169 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11170 (source_section_scripts): Rewrite to use extension language API.
11171 (load_auto_scripts_for_objfile): Rewrite to use
11172 auto_load_scripts_for_objfile.
11173 (collect_matching_scripts_data): Change type of language member to
11174 struct extension_language_defn *.
11175 (auto_load_info_scripts): Change type of language arg to
11176 struct extension_language_defn *.
11177 (unsupported_script_warning_print): New function.
11178 (script_not_found_warning_print): Make static.
11179 (_initialize_auto_load): Rewrite construction of scripts-directory
11180 help.
11181 * auto-load.h (struct objfile): Add forward decl.
11182 (struct script_language): Delete.
11183 (struct auto_load_pspace_info): Add forward decl.
11184 (struct extension_language_defn): Add forward decl.
11185 (maybe_add_script): Delete.
11186 (auto_load_objfile_script): Declare.
11187 (script_not_found_warning_print): Delete.
11188 (auto_load_info_scripts): Update prototype.
11189 (auto_load_gdb_scripts_enabled): Declare.
11190 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11191 auto_load_python_scripts_enabled and made public.
11192 (script_language_python): Delete, moved to python.c.
11193 (gdbpy_script_language_defn): Delete.
11194 (info_auto_load_python_scripts): Update to use
11195 extension_language_python.
11196
11197 * breakpoint.c (condition_command): Replace call to
11198 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11199 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11200 with call to breakpoint_ext_lang_cond_says_stop.
11201 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11202 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11203 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11204 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11205 New arg slang.
11206 (local_setattro): Print name of extension language with existing
11207 stop condition.
11208
11209 * valprint.c (val_print, value_print): Update to call
11210 apply_ext_lang_val_pretty_printer.
11211 * cp-valprint.c (cp_print_value): Update call to
11212 apply_ext_lang_val_pretty_printer.
11213 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11214 (gdbpy_apply_val_pretty_printer): Renamed from
11215 apply_val_pretty_printer. New arg extlang.
11216 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11217
11218 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11219 extension language API.
11220 * cli/cli-script.c (execute_control_command): Update to call
11221 eval_ext_lang_from_control_command.
11222
11223 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11224 enum ext_lang_bt_status values. Update call to
11225 apply_ext_lang_frame_filter.
11226 (mi_cmd_stack_list_locals): Ditto.
11227 (mi_cmd_stack_list_args): Ditto.
11228 (mi_cmd_stack_list_variables): Ditto.
11229 * mi/mi-main.c: Delete #include "python/python-internal.h".
11230 Add #include "extension.h".
11231 (mi_cmd_list_features): Replace reference to python internal variable
11232 gdb_python_initialized with call to ext_lang_initialized_p.
11233
11234 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11235 Update to use enum ext_lang_frame_args. Update to call
11236 apply_ext_lang_frame_filter.
11237 * python/py-framefilter.c (extract_sym): Update to use enum
11238 ext_lang_bt_status.
11239 (extract_value, py_print_type, py_print_value): Ditto.
11240 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11241 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11242 (py_print_frame): Ditto.
11243 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11244 New arg extlang. Update to use enum ext_lang_bt_status.
11245
11246 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11247 finish_python_initialization. Replace with call to
11248 finish_ext_lang_initialization.
11249
11250 * typeprint.c (do_free_global_table): Update to call
11251 free_ext_lang_type_printers.
11252 (create_global_typedef_table): Update to call
11253 start_ext_lang_type_printers.
11254 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11255 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11256 (type_print_options): Change type of global_printers from "void *"
11257 to "struct ext_lang_type_printers *".
11258
11259 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11260 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11261 (gdbpy_preserve_values): Renamed from preserve_python_values.
11262 New arg extlang.
11263 (!HAVE_PYTHON, preserve_python_values): Delete.
11264
11265 * utils.c (quit_flag): Delete, moved to extension.c.
11266 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11267 extension.c.
11268
11269 * eval.c: Delete #include "python/python.h".
11270 * main.c: Delete #include "python/python.h".
11271
11272 * defs.h: Update comment.
11273
11274 2014-02-06 Joel Brobecker <brobecker@adacore.com>
11275
11276 GDB 7.7 released.
11277
11278 2014-02-05 Mark Kettenis <kettenis@gnu.org>
11279
11280 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11281 defined.
11282
11283 2014-02-05 Yao Qi <yao@codesourcery.com>
11284
11285 * remote.c (remote_pass_signals): Remove local 'buf' and use
11286 rs->buf.
11287 (remote_program_signals): Likewise.
11288
11289 2014-02-05 Yao Qi <yao@codesourcery.com>
11290
11291 * ctf.c: Include "inferior.h" and "gdbthread.h".
11292 (CTF_PID): A new macro.
11293 (ctf_open): Call inferior_appeared and add_thread_silent.
11294 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11295 (ctf_thread_alive): New function.
11296 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11297
11298 2014-02-05 Yao Qi <yao@codesourcery.com>
11299
11300 Revert this patch:
11301
11302 2013-05-24 Yao Qi <yao@codesourcery.com>
11303
11304 * tracepoint.c (TFILE_PID): Remove.
11305 (tfile_open): Don't add thread and inferior.
11306 (tfile_close): Don't set 'inferior_ptid'. Don't call
11307 exit_inferior_silent.
11308 (tfile_thread_alive): Remove.
11309 (init_tfile_ops): Don't set field 'to_thread_alive' of
11310 tfile_ops.
11311
11312 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11313
11314 * remote.c (remote_start_remote): Call remote_check_symbols even
11315 if only symbol-file (not file) has been given.
11316
11317 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11318
11319 * gdbarch.sh (skip_entrypoint): New callback.
11320 * gdbarch.c, gdbarch.h: Regenerate.
11321 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11322 * infrun.c (fill_in_stop_func): Likewise.
11323 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11324 (ppc_elfv2_elf_make_msymbol_special): New function.
11325 (ppc_elfv2_skip_entrypoint): Likewise.
11326 (ppc_linux_init_abi): Install them for ELFv2.
11327
11328 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11329
11330 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11331 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11332 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11333 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11334 structures returned in GPRs.
11335
11336 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11337
11338 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11339 offset to the stack parameter list for the ELFv2 ABI.
11340
11341 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11342
11343 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11344 set_gdbarch_convert_from_func_ptr_addr and
11345 set_gdbarch_elf_make_msymbol_special for ELFv1.
11346 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11347 function descriptors on ELFv1.
11348 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11349 set up r12 at function entry.
11350
11351 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11352
11353 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11354 (struct gdbarch_tdep): New member elf_abi.
11355
11356 * rs6000-tdep.c: Include "elf/ppc64.h".
11357 (rs6000_gdbarch_init): Detect ELF ABI version.
11358
11359 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11360
11361 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11362 within a register pair holding a DFP 128-bit value on little-endian.
11363 (ppc64_sysv_abi_return_value_base): Likewise.
11364 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11365 (dfp_pseudo_register_write): Likewise.
11366
11367 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11368
11369 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11370 offset on little-endian when passing _Decimal32.
11371 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11372
11373 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11374
11375 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11376 of the overlapped FP register within the VSX register on little-
11377 endian platforms.
11378 (efpr_pseudo_register_write): Likewise.
11379
11380 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11381
11382 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11383 offset on little-endian when passing small structures.
11384
11385 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11386
11387 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11388 (struct ppc64_sysv_argpos): New data structure.
11389 (ppc64_sysv_abi_push_float): Remove.
11390 (ppc64_sysv_abi_push_val): New function.
11391 (ppc64_sysv_abi_push_integer): Likewise.
11392 (ppc64_sysv_abi_push_freg): Likewise.
11393 (ppc64_sysv_abi_push_vreg): Likewise.
11394 (ppc64_sysv_abi_push_param): Likewise.
11395 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11396 (ppc64_sysv_abi_return_value_base): New function.
11397 (ppc64_sysv_abi_return_value): Refactor to use it.
11398
11399 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11400
11401 * NEWS: Document new target powerpc64le-*-linux*.
11402
11403 2014-02-04 Mark Kettenis <kettenis@gnu.org>
11404
11405 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11406 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11407 core dumps.
11408 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11409 register set used in ELF core dumps. Add floating-point register set.
11410
11411 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11412
11413 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11414 dwarf2_to_gdb[] table using symbolic constants. Adjust
11415 penultimate entry from number representing the PC register
11416 to symbolic constant representing the MDR register. Add
11417 constant for the PC register to the end of the table.
11418
11419 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11420
11421 * bsd-kvm.c: Include <sys/param.h>
11422
11423 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11424
11425 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11426
11427 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11428
11429 * ada-lang.h (clear_ada_sym_cache): Delete.
11430
11431 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11432
11433 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11434
11435 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11436
11437 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11438 the sigreturn register save area only if the syscall is
11439 sigreturn.
11440
11441 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11442
11443 * valops.c (value_slice): Minor reformatting.
11444
11445 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11446
11447 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11448
11449 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11450
11451 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11452 New static globals.
11453 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11454 (ada_ignore_descriptive_types_p): New static global.
11455 (find_parallel_type_by_descriptive_type): Return immediately
11456 if ada_ignore_descriptive_types_p is set.
11457 (_initialize_ada_language): Register new commands "maintenance
11458 set ada", "maintenance show ada", "maintenance set ada
11459 ignore-descriptive-types" and "maintenance show ada
11460 ignore-descriptive-types".
11461 * NEWS: Add entry for new "maint ada set/show
11462 ignore-descriptive-types" commands.
11463
11464 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11465
11466 * record-btrace.c (record_btrace_close): Call btrace_teardown
11467 for all threads.
11468
11469 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11470
11471 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11472 "ui-out.h".
11473
11474 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11475
11476 * ada-typeprint (type_is_full_subrange_of_target_type):
11477 New function.
11478 (print_range): Add parameter bounds_prefered_p. If not set,
11479 try printing range types using the name of their base type.
11480 (print_range_type): Add parameter bounds_prefered_p.
11481 Use it in call to print_range.
11482 (print_array_type, ada_print_type): Update calls to print_range
11483 and print_range_type.
11484
11485 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11486
11487 * ada-typeprint.c (print_array_type, print_choices, print_range)
11488 (print_range_bound, print_dynamic_range_bound, print_range_type):
11489 Remove declaration.
11490
11491 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11492
11493 * ada-typeprint.c (print_range): Add missing empty line
11494 after local declaration.
11495
11496 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11497
11498 * ada-valprint.c (print_optional_low_bound): Get index_type's
11499 target type for as long as it is a TYPE_CODE_RANGE.
11500
11501 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11502
11503 * procfs.c (procfs_make_note_section): Remove assertion and
11504 associated comment.
11505
11506 2014-01-24 Yao Qi <yao@codesourcery.com>
11507
11508 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11509 * corelow.c (get_core_siginfo): Likewise.
11510
11511 2014-01-24 Yao Qi <yao@codesourcery.com>
11512
11513 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11514 ULONGEST. Don't check 'len' is negative.
11515 (remote_write_bytes): Change type of 'len' to ULONGEST.
11516
11517 2014-01-23 Tom Tromey <tromey@redhat.com>
11518
11519 PR python/16485:
11520 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11521 Handle exception from frame.block.
11522 (FrameVars.fetch_frame_locals): Likewise.
11523
11524 2014-01-23 Tom Tromey <tromey@redhat.com>
11525
11526 PR python/16487:
11527 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11528 on a NULL pointer. Move "goto error" to correct place.
11529
11530 2014-01-23 Tom Tromey <tromey@redhat.com>
11531
11532 PR python/16491:
11533 * python/py-framefilter.c (apply_frame_filter): Call
11534 ensure_python_env after computing gdbarch.
11535
11536 2014-01-23 Yao Qi <yao@codesourcery.com>
11537
11538 * target.c (raw_memory_xfer_partial): Change argument type
11539 from void * to gdb_byte *.
11540 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11541
11542 2014-01-22 Doug Evans <dje@google.com>
11543
11544 New gdbserver option --debug-format=timestamp.
11545 * NEWS: Mention it.
11546
11547 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11548
11549 * syscalls/s390x-linux.xml: New file.
11550 * syscalls/s390-linux.xml: New file.
11551 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11552 (XML_SYSCALL_FILENAME_S390X): Likewise.
11553 (op_svc): New enum value for SVC opcode.
11554 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11555 (s390_linux_get_syscall_number): New function.
11556 (s390_gdbarch_init): Register '*get_syscall_number' and the
11557 syscall xml file name.
11558 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11559 "s390-linux.xml" and "s390x-linux.xml".
11560 * NEWS: Announce new feature.
11561
11562 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11563
11564 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11565
11566 2014-01-22 Pedro Alves <palves@redhat.com>
11567
11568 * xtensa-config.c: Include defs.h.
11569
11570 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11571
11572 * common/common-utils.h: Add "ARI:" comment beside __func__
11573 reference.
11574
11575 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11576
11577 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11578 documentation a bit.
11579
11580 2014-01-21 Roland McGrath <mcgrathr@google.com>
11581
11582 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11583 * configure: Regenerate.
11584 * aclocal.m4: Regenerate.
11585 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11586 New substituted variables.
11587 (install-strip): New target.
11588 (INSTALL_SCRIPT): New substituted variable.
11589 (FLAGS_TO_PASS): Add it.
11590 (install-only): Use $(INSTALL_SCRIPT) rather than
11591 $(INSTALL_PROGRAM) for gcore.
11592
11593 2014-01-20 Tom Tromey <tromey@redhat.com>
11594
11595 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11596 together.
11597
11598 2014-01-20 Tom Tromey <tromey@redhat.com>
11599
11600 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11601 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11602 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11603 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11604 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11605 (struct cmd_list_element) <flags>: Remove.
11606 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11607 doc_allocated>: New fields.
11608 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11609 bitfields.
11610 * maint.c (maintenance_do_deprecate): Update.
11611 * top.c (execute_command): Update.
11612
11613 2014-01-20 Baruch Siach <baruch@tkos.co.il>
11614
11615 * xtensa-linux-nat.c: Include asm/ptrace.h.
11616
11617 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11618
11619 * Makefile.in (SFILES): Add d-support.c.
11620 (COMMON_OBS): Add d-support.o.
11621 * d-lang.h (d_parse_symbol): Add comment, now defined in
11622 d-support.c.
11623 * d-lang.c (parse_call_convention)
11624 (parse_attributes, parse_function_types)
11625 (parse_function_args, parse_type, parse_identifier)
11626 (call_convention_p, d_parse_symbol): Move functions to ...
11627 * d-support.c: ... New file.
11628
11629 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11630
11631 * d-lang.h (d_parse_symbol): Add declaration.
11632 * d-lang.c (extract_identifiers)
11633 (extract_type_info): Remove functions.
11634 (parse_call_convention, parse_attributes)
11635 (parse_function_types, parse_function_args)
11636 (parse_type, parse_identifier, call_convention_p)
11637 (d_parse_symbol): New functions.
11638 (d_demangle): Use d_parse_symbol to demangle D symbols.
11639
11640 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11641
11642 * d-lang.h (struct builtin_d_type): New data type.
11643 (builtin_d_type): Add declaration.
11644 * d-lang.c (d_language_arch_info, build_d_types)
11645 (builtin_d_type): New functions.
11646 (enum d_primitive_types): New data type.
11647 (d_language_defn): Change c_language_arch_info to
11648 d_language_arch_info.
11649 (d_type_data): New static variable.
11650 (_initialize_d_language): Initialize d_type_data.
11651
11652 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11653
11654 * d-lang.h (d_main_name): Add declaration.
11655 * d-lang.c (d_main_name): New function.
11656 * symtab.c (find_main_name): Add call to d_main_name.
11657
11658 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11659
11660 * d-lang.c (d_language_defn): Change macro_expansion_c to
11661 macro_expansion_no.
11662
11663 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11664
11665 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11666
11667 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11668
11669 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11670 gdb_exception" declaration.
11671 * remote.c (getpkt_or_notif_sane): Likewise.
11672
11673 2014-01-17 Doug Evans <dje@google.com>
11674
11675 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11676 function, contents of dirnames_to_char_ptr_vec_append moved here.
11677 (delim_string_to_char_ptr_vec): New function.
11678 (dirnames_to_char_ptr_vec_append): Rewrite.
11679 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11680
11681 2014-01-17 Doug Evans <dje@google.com>
11682
11683 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11684 and moved here ...
11685 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11686 #include "common-utils.h".
11687 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11688 * common/vec.h (VEC_ASSERT_PASS): Update.
11689 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11690 (MACH_CHECK_ERROR): Update.
11691
11692 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11693
11694 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11695 comments.
11696 * gdbarch.h: Regenerate.
11697
11698 2014-01-16 Tom Tromey <tromey@redhat.com>
11699
11700 * value.c (struct value) <regnum>: Move earlier.
11701
11702 2014-01-16 Tom Tromey <tromey@redhat.com>
11703
11704 * remote.c (extended_remote_create_inferior): Rename from
11705 extended_remote_create_inferior_1. Add "ops" argument. Remove
11706 old implementation.
11707
11708 2014-01-16 Pedro Alves <palves@redhat.com>
11709
11710 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11711 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11712 the backchain.
11713
11714 2014-01-16 Doug Evans <dje@google.com>
11715
11716 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11717
11718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11719
11720 * btrace.h (btrace_thread_flag): New.
11721 (struct btrace_thread_info) <flags>: New.
11722 * record-btrace.c (record_btrace_resume_thread)
11723 (record_btrace_find_thread_to_move, btrace_step_no_history)
11724 (btrace_step_stopped, record_btrace_start_replaying)
11725 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11726 (record_btrace_find_resume_thread): New.
11727 (record_btrace_resume, record_btrace_wait): Extend.
11728 (record_btrace_can_execute_reverse): New.
11729 (record_btrace_open): Fail in non-stop mode.
11730 (record_btrace_set_replay): Split into this, ...
11731 (record_btrace_stop_replaying): ... this, ...
11732 (record_btrace_clear_histories): ... and this.
11733 (init_record_btrace_ops): Init to_can_execute_reverse.
11734 * NEWS: Announce it.
11735
11736 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11737
11738 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11739 (forward_target_decr_pc_after_break)
11740 (target_decr_pc_after_break): New.
11741 * target.c (forward_target_decr_pc_after_break)
11742 (target_decr_pc_after_break): New.
11743 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11744 instead of gdbarch_decr_pc_after_break.
11745 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11746 instead of gdbarch_decr_pc_after_break.
11747 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11748 instead of gdbarch_decr_pc_after_break.
11749 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11750 instead of gdbarch_decr_pc_after_break.
11751 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11752 instead of gdbarch_decr_pc_after_break.
11753 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11754 instead of gdbarch_decr_pc_after_break.
11755
11756 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11757
11758 * btrace.c: Include regcache.h.
11759 (btrace_add_pc): New.
11760 (btrace_enable): Call btrace_add_pc.
11761 (btrace_is_empty): New.
11762 * btrace.h (btrace_is_empty): New.
11763 * record-btrace.c (require_btrace, record_btrace_info): Call
11764 btrace_is_empty.
11765
11766 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11767
11768 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11769 Support delta reads.
11770 (linux_disable_btrace): Change return type.
11771 * common/linux-btrace.h (linux_read_btrace): Change parameters
11772 and return type to allow error reporting. Update users.
11773 (linux_disable_btrace): Change return type. Update users.
11774 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11775 New.
11776 (btrace_error): New.
11777 (btrace_block) <begin>: Comment on BEGIN == 0.
11778 * btrace.c (btrace_compute_ftrace): Start from the end of
11779 the current trace.
11780 (btrace_stitch_trace, btrace_clear_history): New.
11781 (btrace_fetch): Read delta trace, return if replaying.
11782 (btrace_clear): Move clear history code to btrace_clear_history.
11783 (parse_xml_btrace): Throw an error if parsing failed.
11784 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11785 and return type to allow error reporting.
11786 (target_read_btrace): Change parameters and return type to allow
11787 error reporting.
11788 * target.c (target_read_btrace): Update.
11789 * remote.c (remote_read_btrace): Support delta reads. Pass
11790 errors on.
11791 * NEWS: Announce it.
11792
11793 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11794
11795 * record.h (record_btrace_frame_unwind)
11796 (record_btrace_tailcall_frame_unwind): New declarations.
11797 * dwarf2-frame: Include record.h
11798 (dwarf2_frame_cfa): Throw an error for btrace frames.
11799 * record-btrace.c: Include hashtab.h.
11800 (btrace_get_bfun_name): New.
11801 (btrace_call_history): Call btrace_get_bfun_name.
11802 (struct btrace_frame_cache): New.
11803 (bfcache): New.
11804 (bfcache_hash, bfcache_eq, bfcache_new): New.
11805 (btrace_get_frame_function): New.
11806 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11807 (record_btrace_frame_this_id): Compute own id.
11808 (record_btrace_frame_prev_register): Provide PC, throw_error
11809 for all other registers.
11810 (record_btrace_frame_sniffer): Detect btrace frames.
11811 (record_btrace_tailcall_frame_sniffer): New.
11812 (record_btrace_frame_dealloc_cache): New.
11813 (record_btrace_frame_unwind): Add new functions.
11814 (record_btrace_tailcall_frame_unwind): New.
11815 (_initialize_record_btrace): Allocate cache.
11816 * btrace.c (btrace_clear): Call reinit_frame_cache.
11817 * NEWS: Announce it.
11818
11819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11820
11821 * record-btrace.c (record_btrace_set_replay)
11822 (record_btrace_goto_begin, record_btrace_goto_end)
11823 (record_btrace_goto): New.
11824 (init_record_btrace_ops): Initialize them.
11825 * NEWS: Announce it.
11826
11827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11828
11829 * record-btrace.c (record_btrace_find_new_threads)
11830 (record_btrace_thread_alive): New.
11831 (init_record_btrace_ops): Initialize to_find_new_threads and
11832 to_thread_alive.
11833
11834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11835
11836 * record-btrace.c (record_btrace_resume): New.
11837 (record_btrace_wait): New.
11838 (init_record_btrace_ops): Initialize to_wait and to_resume.
11839
11840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11841
11842 * record-btrace.c (record_btrace_xfer_partial)
11843 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11844 (record_btrace_allow_memory_access): New.
11845 (init_record_btrace_ops): Initialize new methods.
11846 * target.c (raw_memory_xfer_partial): Bail out if target reports
11847 that this memory is not available.
11848
11849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11850
11851 * target.h (target_ops) <to_insert_breakpoint>
11852 <to_remove_breakpoint>: Add target_ops parameter.
11853 (forward_target_insert_breakpoint): New.
11854 (forward_target_remove_breakpoint): New.
11855 (memory_remove_breakpoint, memory_insert_breakpoint):
11856 Add target_ops parameter.
11857 * target.c (target_insert_breakpoint): Split into this and ...
11858 (forward_target_insert_breakpoint): ... this.
11859 (target_remove_breakpoint): Split into this and ...
11860 (forward_target_remove_breakpoint): ... this.
11861 (debug_to_insert_breakpoint): Add target_ops parameter.
11862 Call forward_target_insert_breakpoint.
11863 (debug_to_remove_breakpoint): Add target_ops parameter.
11864 Call forward_target_remove_breakpoint.
11865 (update_current_target): Do not inherit or default to_insert_breakpoint
11866 and to_remove_breakpoint.
11867 * corelow.c (ignore): Add target_ops parameter.
11868 * exec.c (ignore): Add target_ops parameter.
11869 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11870 Add target_ops parameter.
11871 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11872 Add target_ops parameter.
11873 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11874 Add target_ops parameter.
11875 * record-full.c (record_full_beneath_to_insert_breakpoint)
11876 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11877 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11878 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11879 (record_full_core_remove_breakpoint): Add target_ops parameter.
11880 Update users.
11881 (record_full_beneath_to_insert_breakpoint_ops)
11882 (record_full_beneath_to_remove_breakpoint_ops)
11883 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11884 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11885 tmp_to_remove_breakpoint_ops,
11886 record_full_beneath_to_insert_breakpoint_ops, and
11887 record_full_beneath_to_remove_breakpoint_ops.
11888 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11889 (m32r_remove_breakpoint): Add target_ops parameter.
11890 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11891 Add target_ops parameter.
11892 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11893 Add target_ops parameter.
11894
11895 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11896 Markus Metzger <markus.t.metzger@intel.com>
11897
11898 * record-btrace.c: Include frame-unwind.h.
11899 (record_btrace_frame_unwind_stop_reason)
11900 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11901 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11902 New.
11903 (init_record_btrace_ops): Install it.
11904
11905 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11906
11907 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11908 get_prev_frame_1.
11909
11910 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11911
11912 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11913 earlier.
11914
11915 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11916
11917 * frame-unwind.c: Include target.h.
11918 (frame_unwind_try_unwinder): New function with code from ...
11919 (frame_unwind_find_by_frame): ... here. New variable
11920 unwinder_from_target, call also target_get_unwinder)
11921 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11922 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11923 * target.h (struct target_ops): New fields to_get_unwinder and
11924 to_get_tailcall_unwinder.
11925 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11926
11927 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11928
11929 * record-btrace.c (record_btrace_fetch_registers)
11930 (record_btrace_store_registers)
11931 (record_btrace_to_prepare_to_store): New.
11932 (init_record_btrace_ops): Add the above.
11933
11934 2014-01-16 Tom Tromey <tromey@redhat.com>
11935
11936 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11937 * target.h (struct target_ops) <to_prepare_to_store>: Add
11938 argument.
11939 (target_prepare_to_store): Add argument.
11940 * target.c (debug_to_prepare_to_store): Add argument.
11941 (update_current_target): Update.
11942 * remote.c (remote_prepare_to_store): Add 'self' argument.
11943 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11944 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11945 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11946 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11947 argument.
11948 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11949 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11950 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11951 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11952 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11953
11954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11955
11956 * btrace.h (replay) <replay>: New.
11957 (btrace_is_replaying): New.
11958 * btrace.c (btrace_clear): Free replay iterator.
11959 (btrace_is_replaying): New.
11960 * record-btrace.c (record_btrace_is_replaying): New.
11961 (record_btrace_info): Print insn number if replaying.
11962 (record_btrace_insn_history): Start at replay position.
11963 (record_btrace_call_history): Start at replay position.
11964 (init_record_btrace_ops): Init to_record_is_replaying.
11965
11966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11967
11968 * record-btrace.c (record_btrace_insn_history_range): Include
11969 end.
11970 (record_btrace_insn_history_from): Adjust range.
11971 (record_btrace_call_history_range): Include
11972 end.
11973 (record_btrace_call_history_from): Adjust range.
11974 * NEWS: Announce changes.
11975
11976 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11977
11978 * record.h (enum record_print_flag)
11979 <record_print_indent_calls>: New.
11980 * record.c (get_call_history_modifiers): Recognize /c modifier.
11981 (_initialize_record): Document /c modifier.
11982 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11983 Reorder fields. Optionally indent the function name. Update
11984 all users.
11985 * NEWS: Announce changes.
11986
11987 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11988
11989 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11990
11991 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11992
11993 * btrace.c (ftrace_new_function): Start counting at one.
11994 * record-btrace.c (record_btrace_info): Adjust number of calls
11995 and insns.
11996 * NEWS: Announce it.
11997
11998 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11999
12000 * record-btrace.c (btrace_call_history_insn_range): Print
12001 insn range as [begin, end].
12002
12003 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12004
12005 * btrace.h (struct btrace_func_link): New.
12006 (enum btrace_function_flag): New.
12007 (struct btrace_inst): Rename to ...
12008 (struct btrace_insn): ...this. Update all users.
12009 (struct btrace_func) <ibegin, iend>: Remove.
12010 (struct btrace_func_link): New.
12011 (struct btrace_func): Rename to ...
12012 (struct btrace_function): ...this. Update all users.
12013 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12014 (number, level, flags>: New.
12015 (struct btrace_insn_iterator): Rename to ...
12016 (struct btrace_insn_history): ...this.
12017 Update all users.
12018 (struct btrace_insn_iterator, btrace_call_iterator): New.
12019 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12020 (struct btrace_target_info) <begin, end, level>
12021 <insn_history, call_history>: New.
12022 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12023 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12024 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12025 (btrace_call_number, btrace_call_begin, btrace_call_end)
12026 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12027 (btrace_find_function_by_number, btrace_set_insn_history)
12028 (btrace_set_call_history): New.
12029 * btrace.c (btrace_init_insn_iterator)
12030 (btrace_init_func_iterator, compute_itrace): Remove.
12031 (ftrace_print_function_name, ftrace_print_filename)
12032 (ftrace_skip_file): Change
12033 parameter to const.
12034 (ftrace_init_func): Remove.
12035 (ftrace_debug): Use new btrace_function fields.
12036 (ftrace_function_switched): Also consider gaining and
12037 losing symbol information).
12038 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12039 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12040 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12041 New.
12042 (ftrace_new_function): Move. Remove debug print.
12043 (ftrace_update_lines, ftrace_update_insns): New.
12044 (ftrace_update_function): Check for call, ret, and jump.
12045 (compute_ftrace): Renamed to ...
12046 (btrace_compute_ftrace): ...this. Rewritten to compute call
12047 stack.
12048 (btrace_fetch, btrace_clear): Updated.
12049 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12050 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12051 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12052 (btrace_call_number, btrace_call_begin, btrace_call_end)
12053 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12054 (btrace_find_function_by_number, btrace_set_insn_history)
12055 (btrace_set_call_history): New.
12056 * record-btrace.c (require_btrace): Use new btrace thread
12057 info fields.
12058 (record_btrace_info, btrace_insn_history)
12059 (record_btrace_insn_history, record_btrace_insn_history_range):
12060 Use new btrace thread info fields and new iterator.
12061 (btrace_func_history_src_line): Rename to ...
12062 (btrace_call_history_src_line): ...this. Use new btrace
12063 thread info fields.
12064 (btrace_func_history): Rename to ...
12065 (btrace_call_history): ...this. Use new btrace thread info
12066 fields and new iterator.
12067 (record_btrace_call_history, record_btrace_call_history_range):
12068 Use new btrace thread info fields and new iterator.
12069
12070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12071
12072 * frame.h (frame_id_build_unavailable_stack_special): New.
12073 * frame.c (frame_id_build_unavailable_stack_special): New.
12074
12075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12076
12077 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12078 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12079 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12080 to gdbarch.
12081 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12082 (i386_insn_is_jump, i386_jmp_p): New.
12083 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12084 insn_is_jump to gdbarch.
12085 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12086 * gdbarch.h: Regenerated.
12087 * gdbarch.c: Regenerated.
12088 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12089 (default_insn_is_jump): New.
12090 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12091 (default_insn_is_jump): New.
12092
12093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12094
12095 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12096 Change to ...
12097 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12098 (btrace_read_type) <btrace_read_new>: Change to ...
12099 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12100
12101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12102
12103 * common/linux-btrace.c (linux_read_btrace): Free trace from
12104 previous iteration.
12105
12106 2014-01-15 Doug Evans <dje@google.com>
12107
12108 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12109 uint32_t.
12110
12111 2014-01-15 Tom Tromey <tromey@redhat.com>
12112
12113 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12114 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12115 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12116 (set_objfile_main_name): New function.
12117 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12118 language_of_main>: New fields.
12119 (set_objfile_main_name): Declare.
12120 * symtab.c (find_main_name): Loop over objfiles to find the main
12121 name and language.
12122 (set_main_name): Now static.
12123 (get_main_info): Add comment.
12124 * symtab.h (set_main_name): Don't declare.
12125
12126 2014-01-15 Tom Tromey <tromey@redhat.com>
12127
12128 * symtab.c (main_progspace_key): New global.
12129 (struct main_info): New.
12130 (name_of_main, language_of_main): Remove.
12131 (get_main_info, main_info_cleanup): New function.
12132 (set_main_name, main_name, main_language): Use get_main_info.
12133 (_initialize_symtab): Initialize main_progspace_key.
12134
12135 2014-01-15 Tom Tromey <tromey@redhat.com>
12136
12137 * dbxread.c (process_one_symbol): Update.
12138 * dwarf2read.c (read_partial_die): Update.
12139 * symfile.c (set_initial_language): Call main_language.
12140 * symtab.c (language_of_main): Now static.
12141 (set_main_name): Add 'lang' parameter.
12142 (find_main_name): Update.
12143 (main_language): New function.
12144 (symtab_observer_executable_changed): Update.
12145 * symtab.h (set_main_name): Update.
12146 (language_of_main): Remove.
12147 (main_language): Declare.
12148
12149 2014-01-15 Tom Tromey <tromey@redhat.com>
12150
12151 * symfile.c (init_entry_point_info): Use new "initialized" field.
12152 Update.
12153 * objfiles.h (struct entry_point) <initialized>: New field.
12154 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12155 (struct objfile) <ei>: ...here. Remove.
12156 * objfiles.c (entry_point_address_query): Update.
12157
12158 2014-01-15 Tom Tromey <tromey@redhat.com>
12159
12160 * objfiles.c (entry_point_address_query): Relocate entry point
12161 address.
12162 (objfile_relocate1): Do not relocate entry point address.
12163 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12164 <the_bfd_section_index>: New field.
12165 * symfile.c (init_entry_point_info): Find the entry point's
12166 section.
12167
12168 2014-01-15 Tom Tromey <tromey@redhat.com>
12169
12170 * solib-frv.c (enable_break): Use entry_point_address_query.
12171
12172 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12173
12174 * NEWS: Add note on improved process record-replay on
12175 arm*-linux* targets.
12176
12177 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12178
12179 * arm-tdep.c (enum arm_record_result): New enum.
12180 (arm_record_unsupported_insn): New function.
12181 (arm_record_coproc_data_proc): Removed.
12182 (thumb2_record_ld_st_multiple): New function.
12183 (thumb2_record_ld_st_dual_ex_tbb): New function.
12184 (thumb2_record_data_proc_sreg_mimm): New function.
12185 (thumb2_record_ps_dest_generic): New function.
12186 (thumb2_record_branch_misc_cntrl): New function.
12187 (thumb2_record_str_single_data): New function.
12188 (thumb2_record_ld_mem_hints): New function.
12189 (thumb2_record_ld_word): New function.
12190 (thumb2_record_lmul_lmla_div): New function.
12191 (thumb2_record_decode_insn_handler): New function.
12192 (decode_insn): Add thumb32 instruction handlers.
12193
12194 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12195
12196 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12197 (struct arm_linux_record_tdep): Declare.
12198 (arm_canonicalize_syscall): New function.
12199 (arm_all_but_pc_registers_record): New function.
12200 (arm_linux_syscall_record): New function.
12201 (arm_linux_init_abi): Add syscall recording constructs.
12202 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12203 decoding. (arm_record_coproc_data_proc): Update arm syscall
12204 decoding.
12205 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12206 <arm_syscall_record>: New field.
12207 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12208 gdb_target_obs.
12209
12210 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12211
12212 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12213 register for push instruction recording.
12214
12215 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12216
12217 * arm-tdep.c (thumb_record_misc): Update to correct logical
12218 error while recording ldm, ldmia and pop instructions.
12219
12220 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12221
12222 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12223
12224 2014-01-15 Pedro Alves <palves@redhat.com>
12225
12226 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12227 (go32_resume, go32_fetch_registers, store_register)
12228 (go32_store_registers, go32_prepare_to_store)
12229 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12230 (go32_create_inferior, go32_can_run, go32_terminal_init)
12231 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12232 declarations.
12233
12234 2014-01-15 Tom Tromey <tromey@redhat.com>
12235
12236 * target.h (async_callback_ftype): New typedef.
12237 (struct target_ops) <to_async>: Use it.
12238
12239 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12240
12241 * python/py-value.c (get_field_type): Remove unnecessary curly
12242 braces for single-statement if block.
12243
12244 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12245
12246 * python/py-type.c (convert_field): Add missing empty line
12247 after declarations.
12248
12249 2014-01-14 Doug Evans <dje@google.com>
12250
12251 * symfile.h (expand_symtabs_matching): Renamed from
12252 expand_partial_symbol_names. Update prototype.
12253 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12254 * symfile.c (expand_symtabs_matching): Renamed from
12255 expand_partial_symbol_names. New args file_matcher, kind.
12256 Rename arg fun to symbol_matcher.
12257 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12258 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12259 ada_expand_partial_symbol_name.
12260 (ada_make_symbol_completion_list): Update to call
12261 expand_symtabs_matching.
12262 (ada_add_global_exceptions): Call expand_symtabs_matching.
12263 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12264 call map_symbol_filenames.
12265 * symtab.c (sources_info): Update to call map_symbol_filenames.
12266 (search_symbols): Call expand_symtabs_matching.
12267 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12268 (default_make_symbol_completion_list_break_on): Update to call
12269 expand_symtabs_matching.
12270 (make_source_files_completion_list): Update to call
12271 map_symbol_filenames.
12272
12273 2014-01-14 Doug Evans <dje@google.com>
12274
12275 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12276 (expand_symtabs_symbol_matcher_ftype): New typedef.
12277 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12278 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12279 * symfile.c (expand_partial_symbol_names): Update to use
12280 expand_symtabs_symbol_matcher_ftype.
12281 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12282 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12283 Arg name_matcher renamed to symbol_matcher.
12284 * psymtab.c (recursively_search_psymtabs): Update to use
12285 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12286 sym_matcher.
12287 (expand_symtabs_matching_via_partial): Update to use
12288 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12289 Arg name_matcher renamed to symbol_matcher.
12290
12291 2014-01-14 Doug Evans <dje@google.com>
12292
12293 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12294 (map_partial_symbol_filenames): Ditto.
12295 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12296 (map_partial_symbol_filenames): Ditto.
12297 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12298 (map_partial_symbol_filenames): Ditto.
12299 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12300 (map_partial_symbol_filenames): Ditto.
12301 * symtab.c: Delete #include "psymtab.h".
12302
12303 2014-01-14 Pedro Alves <palves@redhat.com>
12304 Tom Tromey <tromey@redhat.com>
12305
12306 * infrun.c (use_displaced_stepping): Use find_record_target
12307 instead of RECORD_IS_USED.
12308 (adjust_pc_after_break): Use record_full_is_used instead of
12309 RECORD_IS_USED.
12310 * record-btrace.c (record_btrace_open): Call record_preopen
12311 instead of checking RECORD_IS_USED.
12312 * record-full.c (record_full_shortname)
12313 (record_full_core_shortname): New globals.
12314 (record_full_is_used): New function.
12315 (find_full_open): Call record_preopen instead of checking
12316 RECORD_IS_USED.
12317 (init_record_full_ops): Set the target's shortname to
12318 record_full_shortname.
12319 (init_record_full_core_ops): Set the target's shortname to
12320 record_full_core_shortname.
12321 * record-full.h (record_full_is_used): Declare.
12322 * record.c (find_record_target): Make extern.
12323 (record_preopen): New function.
12324 * record.h (RECORD_IS_USED): Delete macro.
12325 (find_record_target, record_preopen): Declare functions.
12326
12327 2014-01-14 Yao Qi <yao@codesourcery.com>
12328
12329 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12330 'len''s type to ULONGEST.
12331 (core_xfer_shared_libraries_aix): Likewise.
12332 * gdbarch.c, gdbarch.h: Regenerated.
12333 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12334 Change type of 'len' to ULONGEST.
12335 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12336 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12337
12338 2014-01-14 Yao Qi <yao@codesourcery.com>
12339
12340 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12341 type of 'len' to ULONGEST.
12342 (linux_xfer_osdata_processgroups): Likewise.
12343 (linux_xfer_osdata_threads): Likewise.
12344 (linux_xfer_osdata_fds): Likewise.
12345 (linux_xfer_osdata_isockets): Likewise.
12346 (linux_xfer_osdata_shm): Likewise.
12347 (linux_xfer_osdata_sem): Likewise.
12348 (linux_xfer_osdata_msg): Likewise.
12349 (linux_common_xfer_osdata): Likewise.
12350 (struct osdata_type) <getter>: Likewise.
12351 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12352 the declaration.
12353
12354 2014-01-14 Yao Qi <yao@codesourcery.com>
12355
12356 * target.h (target_xfer_partial_ftype): Update.
12357 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12358 ULONGEST.
12359 * aix-thread.c (aix_thread_xfer_partial): Change type of
12360 argument 'len' to ULONGEST.
12361 * auxv.c (procfs_xfer_auxv): Likewise.
12362 (ld_so_xfer_auxv): Likewise.
12363 (memory_xfer_auxv): Likewise.
12364 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12365 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12366 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12367 * corelow.c (core_xfer_partial): Likewise.
12368 * ctf.c (ctf_xfer_partial): Likewise.
12369 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12370 '%u'.
12371 (darwin_read_dyld_info): Likewise.
12372 (darwin_xfer_partial): Likewise.
12373 * exec.c (section_table_xfer_memory_partial): Likewise.
12374 (exec_xfer_partial): Likewise.
12375 * exec.h (section_table_xfer_memory_partial): Update
12376 declaration.
12377 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12378 instead of plongest.
12379 (gnu_xfer_partial): Likewise.
12380 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12381 (ia64_hpux_xfer_solib_got): Likewise.
12382 (ia64_hpux_xfer_partial): Likewise.
12383 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12384 * inf-ptrace.c (inf_ptrace_xfer_partial):
12385 * inf-ttrace.c (inf_ttrace_xfer_partial):
12386 * linux-nat.c (linux_xfer_siginfo): Likewise.
12387 (linux_nat_xfer_partial): Likewise.
12388 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12389 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12390 * monitor.c (monitor_xfer_memory): Likewise.
12391 (monitor_xfer_partial): Likewise.
12392 * procfs.c (procfs_xfer_partial): Likewise.
12393 * record-full.c (record_full_xfer_partial): Likewise.
12394 (record_full_core_xfer_partial): Likewise.
12395 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12396 instead of plongest.
12397 (gdbsim_xfer_partial): Likewise.
12398 * remote.c (remote_xfer_partial): Likewise.
12399 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12400 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12401 declaration.
12402 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12403 (rs6000_xfer_shared_libraries): Likewise.
12404 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12405 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12406 (sparc_xfer_partial): Likewise.
12407 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12408 (spu_xfer_partial): Likewise.
12409 * spu-multiarch.c (spu_xfer_partial): Likewise.
12410 * target.c (target_read_live_memory): Likewise.
12411 (memory_xfer_live_readonly_partial): Likewise.
12412 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12413 (target_xfer_partial, default_xfer_partial): Likewise.
12414 (current_xfer_partial): Likewise.
12415 * tracepoint.c (tfile_xfer_partial): Likewise.
12416 * windows-nat.c (windows_xfer_memory): Likewise. Call
12417 pulongest instead of plongest.
12418 (windows_xfer_partial): Likewise.
12419 (windows_xfer_shared_libraries): Likewise.
12420
12421 2014-01-14 Yao Qi <yao@codesourcery.com>
12422
12423 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12424 target_xfer_partial_ftype.
12425
12426 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12427
12428 PR python/15464
12429 PR python/16113
12430 * valops.c (value_struct_elt_bitpos): New function
12431 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12432 object to 'None' if the field name is an empty string ("").
12433 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12434 attribute to look for a field when 'name' is 'None'.
12435 (get_field_type): New function
12436
12437 2014-01-13 Doug Evans <dje@google.com>
12438
12439 PR symtab/16426
12440 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12441 (try_open_dwop_file): Ditto.
12442 * gdb_bfd.c: #include "vec.h".
12443 (bfdp): New typedef.
12444 (struct gdb_bfd_data): New member included_bfds.
12445 (gdb_bfd_unref): Unref all included bfds.
12446 (gdb_bfd_record_inclusion): New function.
12447 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12448
12449 2014-01-13 Tom Tromey <tromey@redhat.com>
12450
12451 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12452
12453 2014-01-13 Tom Tromey <tromey@redhat.com>
12454
12455 * defs.h (use_windows): Remove.
12456 * gdb.c (main): Update.
12457 * main.c (captured_main, gdb_main): Update.
12458 * main.h (struct captured_main_args) <use_windows>: Remove.
12459 * top.c (use_windows): Remove.
12460
12461 2014-01-13 Tom Tromey <tromey@redhat.com>
12462
12463 * defs.h (deprecated_flush_hook): Remove.
12464
12465 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12466
12467 PR threads/16216
12468 * linux-thread-db.c (try_thread_db_load): Add parameter
12469 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12470 (try_thread_db_load_from_pdir_1): Move it there from here.
12471 (try_thread_db_load_from_sdir): Update caller.
12472 (try_thread_db_load_from_dir): Move it there from here.
12473
12474 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12475
12476 * regformats/regdat.sh: Always rewrite the register file.
12477
12478 2014-01-13 Pedro Alves <palves@redhat.com>
12479
12480 * Makefile.in (CHECK_HEADERS): New variable.
12481 (check-headers:): New rule.
12482
12483 2014-01-13 Tom Tromey <tromey@redhat.com>
12484
12485 * cli/cli-setshow.c (do_set_command): Update.
12486 * defs.h (deprecated_set_hook): Remove.
12487 * top.c (deprecated_set_hook): Remove.
12488
12489 2014-01-13 Pedro Alves <palves@redhat.com>
12490
12491 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12492 the tracepoint if the PC is a pseudo-register.
12493
12494 2014-01-13 Tom Tromey <tromey@redhat.com>
12495
12496 * defs.h (XCALLOC): Remove.
12497 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12498 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12499 * dwarf2loc.c (allocate_piece_closure): Likewise.
12500 * elfread.c (elf_symfile_segments): Likewise.
12501 (elf_symfile_segments): Likewise.
12502 * gdbtypes.c (copy_type_recursive): Likewise.
12503 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12504 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12505 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12506 XCALLOC.
12507 * mt-tdep.c (mt_gdbarch_init): Likewise.
12508 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12509 XCALLOC.
12510 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12511 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12512 * registry.c (registry_alloc_data): Likewise.
12513 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12514 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12515 * serial.c (serial_fdopen_ops): Likewise.
12516 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12517 XCALLOC.
12518 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12519 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12520 not XCALLOC.
12521
12522 2014-01-13 Tom Tromey <tromey@redhat.com>
12523
12524 * defs.h (XMALLOC): Remove.
12525 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12526 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12527 * cli-out.c (struct ui_out *): Likewise.
12528 * cli/cli-dump.c (add_dump_command): Likewise.
12529 (add_dump_command): Likewise.
12530 * complaints.c (get_complaints): Likewise.
12531 (find_complaint): Likewise.
12532 * dwarf2-frame.c (execute_cfa_program): Likewise.
12533 * dwarf2read.c (abbrev_table_read_table): Likewise.
12534 * gdbarch.sh: Likewise.
12535 * gdbarch.c: Rebuild.
12536 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12537 * interps.c (interp_new): Likewise.
12538 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12539 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12540 * mi/mi-console.c (mi_console_file_new): Likewise.
12541 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12542 * mi/mi-out.c (mi_out_new): Likewise.
12543 * mi/mi-parse.c (mi_parse): Likewise.
12544 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12545 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12546 * observer.c (xalloc_observer_list_node): Likewise.
12547 * regcache.c (regcache_xmalloc_1): Likewise.
12548 * reggroups.c (reggroup_new): Likewise.
12549 (_initialize_reggroup): Likewise.
12550 * registry.c (register_data_with_cleanup): Likewise.
12551 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12552 * ser-base.c (serial_ttystate): Likewise.
12553 * ser-mingw.c (make_pipe_state): Likewise.
12554 * ser-pipe.c (pipe_open): Likewise.
12555 * serial.c (serial_open): Likewise.
12556 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12557 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12558 (tui_alloc_win_info): Likewise.
12559 (tui_add_content_elements): Likewise.
12560 * tui/tui-file.c (tui_file_new): Likewise.
12561 * tui/tui-out.c (tui_out_new): Likewise.
12562 * ui-file.c (mem_file_new): Likewise.
12563 * ui-out.c (push_level): Likewise.
12564 (make_cleanup_ui_out_end): Likewise.
12565 (append_header_to_list): Likewise.
12566 (ui_out_new): Likewise.
12567 * user-regs.c (user_reg_add_builtin): Likewise.
12568
12569 2014-01-13 Tom Tromey <tromey@redhat.com>
12570
12571 * defs.h (XZALLOC): Remove.
12572 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12573 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12574 (get_ada_tasks_inferior_data): Likewise.
12575 * auto-load.c (get_auto_load_pspace_data): Likewise.
12576 * auxv.c (get_auxv_inferior_data): Likewise.
12577 * bfd-target.c (target_bfd_reopen): Likewise.
12578 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12579 (deprecated_insert_raw_breakpoint): Likewise.
12580 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12581 * corelow.c (core_open): Likewise.
12582 * darwin-nat.c (darwin_check_new_threads): Likewise.
12583 (darwin_attach_pid): Likewise.
12584 * dummy-frame.c (dummy_frame_push): Likewise.
12585 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12586 * dwarf2loc.c (allocate_piece_closure): Likewise.
12587 * elfread.c (elf_symfile_segments): Likewise.
12588 * eval.c (ptrmath_type_p): Likewise.
12589 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12590 * gdbtypes.c (alloc_type_arch): Likewise.
12591 (alloc_type_instance): Likewise.
12592 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12593 * inf-child.c (inf_child_can_use_agent): Likewise.
12594 * inflow.c (get_inflow_inferior_data): Likewise.
12595 * infrun.c (save_infcall_suspend_state): Likewise.
12596 * jit.c (jit_reader_load): Likewise.
12597 (get_jit_objfile_data): Likewise.
12598 (get_jit_program_space_data): Likewise.
12599 (jit_object_open_impl): Likewise.
12600 (jit_symtab_open_impl): Likewise.
12601 (jit_block_open_impl): Likewise.
12602 (jit_frame_sniffer): Likewise.
12603 * linux-fork.c (add_fork): Likewise.
12604 * maint.c (make_command_stats_cleanup): Likewise.
12605 * objfiles.c (get_objfile_pspace_data): Likewise.
12606 * opencl-lang.c (struct lval_closure): Likewise.
12607 * osdata.c (osdata_start_osdata): Likewise.
12608 * progspace.c (new_address_space): Likewise.
12609 (add_program_space): Likewise.
12610 * remote-sim.c (get_sim_inferior_data): Likewise.
12611 * sh-tdep.c (sh_gdbarch_init): Likewise.
12612 * skip.c (Ignore): Likewise.
12613 (skip_delete_command): Likewise.
12614 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12615 (library_list_start_library): Likewise.
12616 (solib_aix_current_sos): Likewise.
12617 * solib-darwin.c (get_darwin_info): Likewise.
12618 (darwin_current_sos): Likewise.
12619 * solib-dsbt.c (get_dsbt_info): Likewise.
12620 * solib-ia64-hpux.c (new_so_list): Likewise.
12621 (ia64_hpux_get_solib_linkage_addr): Likewise.
12622 * solib-spu.c (append_ocl_sos): Likewise.
12623 (spu_current_sos): Likewise.
12624 * solib-svr4.c (get_svr4_info): Likewise.
12625 (svr4_keep_data_in_core): Likewise.
12626 (library_list_start_library): Likewise.
12627 (svr4_default_sos): Likewise.
12628 (svr4_read_so_list): Likewise.
12629 * solib-target.c (library_list_start_library): Likewise.
12630 (solib_target_current_sos): Likewise.
12631 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12632 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12633 * symfile.c (default_symfile_segments): Likewise.
12634 * target-descriptions.c (tdesc_data_init): Likewise.
12635 (tdesc_create_reg): Likewise.
12636 (struct tdesc_type *): Likewise.
12637 (tdesc_create_vector): Likewise.
12638 (tdesc_set_struct_size): Likewise.
12639 (struct tdesc_type *): Likewise.
12640 (tdesc_free_feature): Likewise.
12641 (tdesc_create_feature): Likewise.
12642 * windows-nat.c (windows_add_thread): Likewise.
12643 (windows_make_so): Likewise.
12644 * xml-support.c (gdb_xml_body_text): Likewise.
12645 (gdb_xml_create_parser_and_cleanup): Likewise.
12646 (xml_process_xincludes): Likewise.
12647 * xml-syscall.c (allocate_syscalls_info): Likewise.
12648 (syscall_create_syscall_desc): Likewise.
12649
12650 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12651
12652 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12653 function, with code from i386_stap_parse_special_token.
12654 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12655 (i386_stap_parse_special_token): Move code to the two functions
12656 above; simplify it.
12657
12658 2014-01-09 Pedro Alves <palves@redhat.com>
12659 Hui Zhu <hui@codesourcery.com>
12660
12661 PR gdb/16101
12662 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12663 bp_err_string. Don't mark the location shlib_disabled if the
12664 error thrown wasn't a generic or memory error. Catch errors
12665 thrown while inserting breakpoints in overlayed code. Output
12666 error message of software breakpoints.
12667 * remote.c (remote_insert_breakpoint): If this breakpoint has
12668 target-side commands but this stub doesn't support Z0 packets,
12669 throw NOT_SUPPORTED_ERROR error.
12670 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12671 * target.h (target_insert_breakpoint): Extend comment.
12672 (target_insert_hw_breakpoint): Add comment.
12673
12674 2014-01-08 Pedro Alves <palves@redhat.com>
12675
12676 * remote.c (remote_add_thread): Add threads silently if starting
12677 up.
12678 (remote_notice_new_inferior): If in all-stop, and starting up,
12679 don't call notice_new_inferior.
12680 (get_current_thread): New function, factored out from ...
12681 (add_current_inferior_and_thread): ... this. Adjust.
12682 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12683 found any thread, then select the remote's current thread as GDB's
12684 current thread too.
12685
12686 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12687
12688 * NEWS: Create a new section for the next release branch.
12689 Rename the section of the current branch, now that it has
12690 been cut.
12691
12692 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12693
12694 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12695 * version.in: Bump version to 7.7.50.DATE-cvs.
12696
12697 2014-01-08 Yao Qi <yao@codesourcery.com>
12698
12699 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12700 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12701 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12702
12703 2014-01-08 Yao Qi <yao@codesourcery.com>
12704
12705 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12706 return value of bfd_get_filename to symbol_file_add_from_bfd.
12707
12708 2014-01-08 Pierre Muller <muller@sourceware.org>
12709
12710 Fix PR16201.
12711 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12712 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12713 to prim_record_mininal_symbol_and_info.
12714 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12715 in call to prim_record_minimal_symbol_and_info.
12716 (read_pe_exported_syms): Set index field of section_data.
12717
12718 2014-01-07 Andrew Pinski <apinski@cavium.com>
12719
12720 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12721 * features/aarch64.c: Regenerate.
12722
12723 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12724
12725 * target.c (return_null): Define.
12726 (update_current_target): Use it instead of return_zero for
12727 functions that return a pointer.
12728
12729 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12730
12731 * source.c (add_path): Fix check for duplicated paths in the previously
12732 included paths.
12733
12734 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12735
12736 * ada-lang.c: Remove duplicated include statements.
12737 * alphabsd-nat.c: Ditto.
12738 * amd64-darwin-tdep.c: Ditto.
12739 * amd64fbsd-nat.c: Ditto.
12740 * auto-load.c: Ditto.
12741 * ax-gdb.c: Ditto.
12742 * breakpoint.c: Ditto.
12743 * dbxread.c: Ditto.
12744 * fork-child.c: Ditto.
12745 * gdb_usleep.c: Ditto.
12746 * i386-darwin-tdep.c: Ditto.
12747 * i386fbsd-nat.c: Ditto.
12748 * infcmd.c: Ditto.
12749 * inferior.c: Ditto.
12750 * jv-lang.c: Ditto.
12751 * linux-nat.c: Ditto.
12752 * linux-tdep.c: Ditto.
12753 * m68kbsd-nat.c: Ditto.
12754 * m68klinux-nat.c: Ditto.
12755 * microblaze-tdep.c: Ditto.
12756 * mips-linux-tdep.c: Ditto.
12757 * mn10300-tdep.c: Ditto.
12758 * nto-tdep.c: Ditto.
12759 * opencl-lang.c: Ditto.
12760 * osdata.c: Ditto.
12761 * printcmd.c: Ditto.
12762 * regcache.c: Ditto.
12763 * remote-m32r-sdi.c: Ditto.
12764 * remote.c: Ditto.
12765 * symfile.c: Ditto.
12766 * symtab.c: Ditto.
12767 * tilegx-linux-nat.c: Ditto.
12768 * tilegx-tdep.c: Ditto.
12769 * tracepoint.c: Ditto.
12770 * valops.c: Ditto.
12771 * vaxbsd-nat.c: Ditto.
12772 * windows-nat.c: Ditto.
12773 * xtensa-tdep.c: Ditto.
12774
12775 2014-01-07 Yao Qi <yao@codesourcery.com>
12776
12777 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12778
12779 2014-01-07 Yao Qi <yao@codesourcery.com>
12780 Joel Brobecker <brobecker@adacore.com>
12781
12782 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12783 (pdc_write_regs): Likewise.
12784 (fetch_regs_kernel_thread): Likewise.
12785 (store_regs_kernel_thread): Likewise.
12786
12787 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12788
12789 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12790 tagged type objects to their actual type.
12791
12792 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12793
12794 * ada-valprint.c (print_field_values): Add "language" parameter.
12795 Update calls to print_field_values and print_variant_part.
12796 Pass new parameter "language" in call to val_print instead
12797 of "current_language". Replace call to ada_val_print by call
12798 to val_print.
12799 (print_variant_part): Add "language" parameter.
12800 (ada_val_print_struct_union): Update call to print_field_values.
12801
12802 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12803
12804 * ada-valprint.c (ui_memcpy): Delete.
12805 (ada_print_floating): Update documentation. Add empty line
12806 between between function documentation and implementation.
12807 Delete variable "buffer". Use ui_file_xstrdup in place of
12808 ui_file_put. Minor adjustments following this change.
12809
12810 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12811
12812 * ada-valprint.c (ada_val_print_string): New function,
12813 extracted from ada_val_print_array.
12814 (ada_val_print_array): Replace extracted code by call
12815 to ada_val_print_string followed by a return. Move
12816 "else" branch to the function's top block.
12817
12818 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12819
12820 * ada-valprint.c (ada_val_print_array): Move implementation
12821 down. Rename parameter "offset" and "val" into "offset_aligned"
12822 and "original_value" respectively. Add parameter "offset".
12823
12824 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12825
12826 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12827 re-organizing the code. Change the "???" message printed
12828 when target type is a TYPE_CODE_UNDEF into
12829 "<ref to undefined type>".
12830
12831 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12832
12833 * ada-valprint.c (print_record): Delete, implementation inlined...
12834 (ada_val_print_struct_union): ... here. Remove call to
12835 ada_check_typedef in inlined implementation.
12836
12837 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12838
12839 * ada-valprint.c (ada_val_print_gnat_array): New function,
12840 extracted from ada_val_print_1;
12841 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12842 (ada_val_print_flt, ada_val_print_struct_union)
12843 (ada_val_print_ref): Likewise.
12844 (ada_val_print_1): Delete variables i and elttype.
12845 Replace extracted-out code by call to corresponding
12846 new functions.
12847
12848 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12849
12850 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12851
12852 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12853
12854 * ada-valprint.c (ada_val_print_1): Replace calls to
12855 ada_val_print_1 by calls to val_print.
12856
12857 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12858
12859 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12860 Update calls to self accordingly. Replace calls to c_val_print
12861 by calls to val_print.
12862
12863 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12864
12865 * ada-valprint.c (print_record): Delete declaration.
12866 (adjust_type_signedness, ada_val_print_1): Likewise.
12867 (ada_val_print): Move function implementation down.
12868 (print_variant_part, print_field_values, print_record):
12869 Move function implementation up.
12870
12871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12872
12873 * python/py-type.c (typy_get_name): New function.
12874 (type_object_getset): Add entry for attribute "name".
12875 * NEWS: Add entry mentioning this new attribute.
12876
12877 2014-01-07 Yao Qi <yao@codesourcery.com>
12878
12879 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12880 statement.
12881
12882 2014-01-07 Yao Qi <yao@codesourcery.com>
12883
12884 * gnu-nat.c (info_port_rights): Add qualifier const to
12885 argument args.
12886
12887 2014-01-07 Yao Qi <yao@codesourcery.com>
12888
12889 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12890
12891 2014-01-07 Yao Qi <yao@codesourcery.com>
12892
12893 * gnu-nat.c (make_inf) Update declaration.
12894 (make_inf): Make it static.
12895 (inf_set_traced): Likewise.
12896 (inf_port_to_thread, inf_task_died_status): Likewise.
12897
12898 2014-01-07 Yao Qi <yao@codesourcery.com>
12899
12900 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12901
12902 2014-01-07 Yao Qi <yao@codesourcery.com>
12903
12904 * gnu-nat.c (_initialize_gnu_nat): Declare.
12905
12906 2014-01-07 Yao Qi <yao@codesourcery.com>
12907
12908 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12909 'enum bfd_endian'.
12910 (struct gdbarch_info) <byte_order>: Change type to
12911 'enum bfd_endian'.
12912 <byte_order_for_code>: Likewise.
12913 * gdbarch.c, gdbarch.h: Regenerated.
12914
12915 2014-01-06 Sasha Smundak <asmundak@google.com>
12916
12917 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12918
12919 2014-01-06 Tom Tromey <tromey@redhat.com>
12920
12921 * doublest.c (convert_doublest_to_floatformat): Use const, not
12922 CONST.
12923 * somread.c (som_symtab_read): Likewise.
12924
12925 2014-01-07 Hui Zhu <hui@codesourcery.com>
12926
12927 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12928 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12929 (gdb_bfd_fopen): Ditto.
12930 (gdb_bfd_openr): Ditto.
12931 (gdb_bfd_openw): Ditto.
12932 (gdb_bfd_openr_iovec): Ditto.
12933 (gdb_bfd_fdopenr): Ditto.
12934 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12935 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12936 with xstrdup.
12937 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12938 with xstrdup.
12939 * symfile-mem.c (symbol_file_add_from_memory): Removed
12940 gdb_bfd_stash_filename.
12941
12942 2014-01-03 Doug Evans <dje@google.com>
12943
12944 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12945 output.
12946
12947 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12948
12949 Update year range in copyright notice of all files.
12950
12951 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12952
12953 * top.c (print_gdb_version): Set copyright year to 2014.
12954
12955 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12956
12957 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12958
12959 For older changes see ChangeLog-2013.
12960 \f
12961 Local Variables:
12962 mode: change-log
12963 left-margin: 8
12964 fill-column: 74
12965 version-control: never
12966 coding: utf-8
12967 End:
This page took 0.280915 seconds and 3 git commands to generate.