]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
Implement support for recording extension register ld/st insn
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2
3 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
4 arm_record_exreg_ld_st_insn.
5 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
6 load/store insns.
7
8 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
9
10 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
11 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
12 processing instructions.
13
14 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
15
16 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
17 for advance SIMD struct ld/st insn.
18 (thumb2_record_decode_insn_handler): Replace stub handler with
19 thumb2_record_asimd_struct_ld_st.
20
21 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
22
23 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
24 for asimd, vfp and coprocessor insns.
25 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
26 and coprocessor insns.
27 (thumb2_record_coproc_insn): New function.
28 (thumb2_record_decode_insn_handler): Update coprocessor insns record
29 handlers.
30 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
31 opcode 110 insns.
32
33 2014-09-13 Doug Evans <xdje42@gmail.com>
34
35 * NEWS: Mention new "queue-signal" command.
36 * infcmd.c (queue_signal_command): New function.
37 (_initialize_infcmd): Add new queue-signal command.
38
39 2014-09-13 Doug Evans <xdje42@gmail.com>
40
41 * linux-nat.c (wait_lwp): Add debugging printf.
42 (linux_nat_wait_1): Ditto.
43
44 2014-09-12 Pedro Alves <palves@redhat.com>
45
46 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
47 (create_and_insert_solib_event_breakpoint): New functions.
48 * breakpoint.h (create_and_insert_solib_event_breakpoint)
49 (remove_solib_event_breakpoints_at_next_stop): New declarations.
50 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
51 (remove_dbx_link_breakpoint): Delete function.
52 (insert_dbx_link_bpt_in_file): Use
53 create_and_insert_solib_event_breakpoint instead of
54 deprecated_insert_raw_breakpoint.
55 (procfs_wait): Don't check whether we hit __dbx_link here.
56 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
57 here.
58 * solib-irix.c (base_breakpoint): Delete global.
59 (disable_break): Delete function.
60 (enable_break): Use create_solib_event_breakpoint
61 instead of deprecated_insert_raw_breakpoint.
62 (irix_solib_handle_event): New function.
63 (irix_solib_create_inferior_hook): Don't run the target or disable
64 the mapping-complete breakpoint here.
65 (_initialize_irix_solib): Install irix_solib_handle_event as
66 so_ops->handle_event hook.
67
68 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
69 Ulrich Weigand  <uweigand@de.ibm.com>
70
71 PR tdep/17379
72 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
73 instead of read_memory_unsigned_integer.
74
75 2014-09-12 Gary Benson <gbenson@redhat.com>
76
77 * nat/linux-waitpid.c: Include common-defs.h.
78 [GDBSERVER]: Add FIXME comment.
79 [!GDBSERVER]: Don't include defs.h or signal.h.
80 (linux_debug) [!GDBSERVER]: Remove empty block.
81
82 2014-09-12 Gary Benson <gbenson@redhat.com>
83
84 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
85 Don't include defs.h or server.h.
86
87 2014-09-12 Gary Benson <gbenson@redhat.com>
88
89 * nat/linux-btrace.c: Include common-defs.h.
90 Don't include defs.h, server.h or gdbthread.h.
91 * nat/linux-btrace.h (struct target_ops): New forward declaration.
92
93 2014-09-12 Gary Benson <gbenson@redhat.com>
94
95 * common/agent.c: Include common-defs.h.
96 Don't include defs.h or server.h.
97 * common/buffer.c: Likewise.
98 * common/common-debug.c: Likewise.
99 * common/common-utils.c: Likewise.
100 * common/errors.c: Likewise.
101 * common/filestuff.c: Likewise.
102 * common/format.c: Likewise.
103 * common/gdb_vecs.c: Likewise.
104 * common/print-utils.c: Likewise.
105 * common/ptid.c: Likewise.
106 * common/rsp-low.c: Likewise.
107 * common/signals.c: Likewise.
108 * common/vec.c: Likewise.
109 * common/xml-utils.c: Likewise.
110 * nat/linux-osdata.c: Likewise.
111 * nat/linux-procfs.c: Likewise.
112 * nat/linux-ptrace.c: Likewise.
113 * nat/mips-linux-watch.c: Likewise.
114 * target/waitstatus.c: Likewise.
115
116 2014-09-12 Tom Tromey <tromey@redhat.com>
117 Gary Benson <gbenson@redhat.com>
118
119 * common/common-regcache.h: New file.
120 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
121 * regcache.h: Include common-regcache.h.
122 (regcache_read_pc): Don't declare.
123 * regcache.c (get_thread_regcache_for_ptid): New function.
124 * nat/linux-btrace.c: Don't include regcache.h.
125 Include common-regcache.h.
126 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
127
128 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
129
130 * regcache.h (struct regset): Declare.
131
132 2014-09-11 Pedro Alves <palves@redhat.com>
133
134 PR gdb/17347
135 * main.c: Include "infrun.h".
136 (catch_command_errors, catch_command_errors_const): Wait for the
137 foreground command to complete.
138 * top.c (maybe_wait_sync_command_done): New function, factored out
139 from ...
140 (maybe_wait_sync_command_done): ... here.
141 * top.h (maybe_wait_sync_command_done): New declaration.
142
143 2014-09-11 Tom Tromey <tromey@redhat.com>
144 Gary Benson <gbenson@redhat.com>
145
146 * common/symbol.h: New file.
147 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
148 * minsyms.c (find_minimal_symbol_address): New function.
149 * common/agent.c: Include common/symbol.h.
150 [!GDBSERVER]: Don't include objfiles.h.
151 (agent_look_up_symbols): Use find_minimal_symbol_address.
152
153 2014-09-11 Gary Benson <gbenson@redhat.com>
154
155 * target/target.h (target_stop_ptid, target_continue_ptid):
156 Declare.
157 * target.c (target_stop_ptid, target_continue_ptid): New
158 functions.
159 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
160 (agent_run_command): Always use target_stop_ptid and
161 target_continue_ptid.
162
163 2014-09-11 Tom Tromey <tromey@redhat.com>
164 Gary Benson <gbenson@redhat.com>
165
166 * target/target.h: New file.
167 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
168 * target.h: Include target/target.h.
169 (target_read_memory, target_write_memory): Don't declare.
170 * target.c (target_read_uint32): New function.
171 * common/agent.c: Include target/target.h.
172 [!GDBSERVER]: Don't include target.h.
173 (helper_thread_id): Type changed to uint32_t.
174 (agent_get_helper_thread_id): Use target_read_uint32.
175 (agent_run_command): Always use target_read_memory and
176 target_write_memory.
177 (agent_capability): Type changed to uint32_t.
178 (agent_capability_check): Use target_read_uint32.
179
180 2014-09-11 Gary Benson <gbenson@redhat.com>
181
182 * common/common-debug.h (show_debug_regs): Declare.
183 * common/common-debug.c (show_debug_regs): Define.
184 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
185 all uses with show_debug_regs. Replace all uses that considered
186 debug_hw_points as a multi-value integer with straight boolean
187 uses.
188 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
189 with show_debug_regs.
190 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
191 all uses with show_debug_regs.
192 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
193 uses with show_debug_regs.
194
195 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
196
197 * findvar.c (address_from_register): Handle targets requiring
198 a special conversion routine even for plain pointer types.
199
200 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
201
202 * rs6000-nat.c (exec_one_dummy_insn): Remove.
203 (store_register): Do not call exec_one_dummy_insn.
204
205 2014-09-10 Joel Brobecker <brobecker@adacore.com>
206
207 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
208 dereference it first. Use value_enclosing_type instead of
209 value_type.
210 (ada_array_length): Likewise.
211
212 2014-09-10 Joel Brobecker <brobecker@adacore.com>
213
214 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
215 Adjust function implementation and documentation accordingly.
216 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
217 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
218 Update call to ada_value_ptr_subscript.
219
220 2014-09-10 Joel Brobecker <brobecker@adacore.com>
221
222 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
223 instead of VAL's type.
224
225 2014-09-10 Joel Brobecker <brobecker@adacore.com>
226
227 * amd64-linux-nat.c: Add <sys/uio.h> #include.
228
229 2014-09-09 Doug Evans <xdje42@gmail.com>
230
231 PR guile/17367
232 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
233 last parameter to pkg-config, not first.
234 * configure.ac: Pass --with-guile provided pkg-config path to
235 GDB_GUILE_PROGRAM_NAMES.
236 * configure: Regenerate.
237
238 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
239
240 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
241 Bertazi".
242
243 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
244
245 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
246 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
247 the list of sections determining GDB_OSABI_IRIX.
248
249 2014-09-09 James Hogan <james.hogan@imgtec.com>
250
251 * MAINTAINERS (Write After Approval): Add "James Hogan".
252
253 2014-09-09 James Hogan <james.hogan@imgtec.com>
254
255 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
256
257 2014-09-09 Joel Brobecker <brobecker@adacore.com>
258
259 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
260
261 2014-09-08 Doug Evans <xdje42@gmail.com>
262
263 PR 17247
264 * guile.c: #include <signal.h>.
265 (_initialize_guile): Block SIGCHLD while initializing Guile.
266
267 Replaces the following, which is reverted.
268
269 2014-07-26 Doug Evans <xdje42@gmail.com>
270
271 PR 17185
272 * configure.ac: Add check for header gc/gc.h.
273 Add check for function setenv.
274 * configure: Regenerate.
275 * config.in: Regenerate.
276 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
277
278 2014-09-08 Doug Evans <xdje42@gmail.com>
279
280 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
281 with named constant. Fix style of pointer comparison.
282 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
283
284 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
285
286 PR gdb/17035
287 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
288 decide whether we display the command on "show user".
289 * cli/cli-script.c (show_user_1): Only verify cmdlines after
290 printing command name.
291 * cli/cli-decode.h (cli_user_command_p): Declare new function.
292 * cli/cli-decode.c (cli_user_command_p): Create helper function
293 to verify whether cmd_list_element is a user-defined command.
294
295 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
296
297 PR python/17355
298 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
299 Fix goto out of TRY_CATCH.
300
301 2014-09-06 Doug Evans <xdje42@gmail.com>
302 Tom Tromey <tromey@redhat.com>
303
304 PR 15276
305 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
306 $_any_caller_matches.
307 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
308 * python/lib/gdb/function/caller_is.py: New file.
309
310 2014-09-06 Doug Evans <xdje42@gmail.com>
311
312 * infcmd.c (program_info): Fix typo.
313
314 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
315
316 PR gdb/17235
317 * stap-probe.c (stap_parse_single_operand): Delete unused variable
318 'number'. New variable 'has_digit'. Rewrite code to deal with
319 subexpressions on SDT probes.
320
321 2014-09-04 Pedro Alves <palves@redhat.com>
322
323 * c-exp.y (parse_number): Skip handling base-switching prefixes if
324 the input is only one character long.
325
326 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
327
328 PR fortran/17237
329 * f-valprint.c (f_val_print): Specify the correct print option to
330 use when printing integer values.
331
332 2014-09-04 Gary Benson <gbenson@redhat.com>
333
334 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
335 Remove code to cope with LWPs wrapped as PIDs.
336 Add assertions to ensure no wrapped LWPs are passed.
337
338 2014-09-04 Pedro Alves <palves@redhat.com>
339
340 * value.c (value_ranges_copy_adjusted): New function, factored out
341 from ...
342 (value_contents_copy_raw): ... here.
343 (unpack_value_bits_as_long_1): Rename back to ...
344 (unpack_bits_as_long): ... this. Remove 'original_value' and
345 'result' parameters. Change return type to LONGEST.
346 (unpack_value_bits_as_long): Delete.
347 (unpack_value_field_as_long_1): Delete.
348 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
349 (unpack_value_bitfield): New function.
350 (value_field_bitfield): Reimplement using unpack_value_bitfield.
351 (value_fetch_lazy): Use unpack_value_bitfield.
352 * value.h (unpack_value_bits_as_long): Delete declaration.
353
354 2014-09-03 Sasha Smundak <asmundak@google.com>
355
356 * python/py-frame.c (frapy_read_register): New function.
357
358 2014-09-03 James Hogan <james.hogan@imgtec.com>
359
360 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
361 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
362
363 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
364
365 PR python/16699
366 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
367 function.
368 (add_cmd): Set "completer_handle_brkchars" to NULL.
369 * cli/cli-decode.h (struct cmd_list_element)
370 <completer_handle_brkchars>: New field.
371 * command.h (completer_ftype_void): New typedef.
372 (set_cmd_completer_handle_brkchars): New prototype.
373 * completer.c (set_gdb_completion_word_break_characters): New
374 function.
375 (complete_line_internal): Call "completer_handle_brkchars"
376 callback from command.
377 * completer.h: Include "command.h".
378 (set_gdb_completion_word_break_characters): New prototype.
379 * python/py-cmd.c (cmdpy_completer_helper): New function.
380 (cmdpy_completer_handle_brkchars): New function.
381 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
382 (cmdpy_init): Set completer_handle_brkchars to
383 cmdpy_completer_handle_brkchars.
384
385 2014-09-03 Gary Benson <gbenson@redhat.com>
386
387 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
388 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
389 Loop conditions changed to equivalent form.
390 (struct x86_debug_reg_state): Updated dr_ref_count comment.
391 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
392 ALL_DEBUG_ADDRESS_REGISTERS.
393
394 2014-09-03 Joel Brobecker <brobecker@adacore.com>
395
396 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
397 description fix.
398
399 2014-09-02 Doug Evans <dje@google.com>
400
401 * typeprint.c (find_global_typedef): Fix comment.
402
403 2014-09-02 Gary Benson <gbenson@redhat.com>
404
405 * i386-nat.h: Renamed as...
406 * x86-nat.h: New file. All type, function and variable name
407 prefixes changed from "i386_" to "x86_". All references updated.
408 * i386-nat.c: Renamed as...
409 * x86-nat.c: New file. All type, function and variable name
410 prefixes changed from "i386_" to "x86_". All references updated.
411 * common/i386-xstate.h: Renamed as...
412 * common/x86-xstate.h: New file. All type, function and variable
413 name prefixes changed from "i386_" to "x86_". All references
414 updated.
415 * nat/i386-cpuid.h: Renamed as...
416 * nat/x86-cpuid.h: New file. All type, function and variable name
417 prefixes changed from "i386_" to "x86_". All references updated.
418 * nat/i386-gcc-cpuid.h: Renamed as...
419 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
420 name prefixes changed from "i386_" to "x86_". All references
421 updated.
422 * nat/i386-dregs.h: Renamed as...
423 * nat/x86-dregs.h: New file. All type, function and variable name
424 prefixes changed from "i386_" to "x86_". All references updated.
425 * nat/i386-dregs.c: Renamed as...
426 * nat/x86-dregs.c: New file. All type, function and variable name
427 prefixes changed from "i386_" to "x86_". All references updated.
428
429 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
430
431 * varobj.c (_initialize_varobj): Move to the end of file.
432
433 2014-08-29 Gary Benson <gbenson@redhat.com>
434
435 * common/common-exceptions.h: New file.
436 * common/common-exceptions.c: Likewise.
437 * Makefile.in (SFILES): Add common/common-exceptions.c.
438 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
439 (COMMON_OBS): Add common-exceptions.o.
440 (common-exceptions.o): New rule.
441 * exceptions.h (common-exceptions.h): Include.
442 (gdb_setjmp.h): Do not include.
443 (return_reason): Moved to common-exceptions.h.
444 (enum return_reason): Likewise.
445 (RETURN_MASK): Likewise.
446 (typedef return_mask): Likewise.
447 (enum errors): Likewise.
448 (struct gdb_exception): Likewise.
449 (exceptions_state_mc_init): Likewise.
450 (exceptions_state_mc_action_iter): Likewise.
451 (exceptions_state_mc_action_iter_1): Likewise.
452 (TRY_CATCH): Likewise.
453 (throw_exception): Likewise.
454 (throw_verror): Likewise.
455 (throw_vquit): Likewise.
456 (throw_error): Likewise.
457 (throw_quit): Likewise.
458 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
459 (enum catcher_action): Likewise.
460 (struct catcher): Likewise.
461 (current_catcher): Likewise.
462 (catcher_list_size): Likewise.
463 (exceptions_state_mc_init): Likewise.
464 (catcher_pop): Likewise.
465 (exceptions_state_mc): Likewise.
466 (exceptions_state_mc_action_iter): Likewise.
467 (exceptions_state_mc_action_iter_1): Likewise.
468 (throw_exception): Likewise.
469 (exception_messages): Likewise.
470 (exception_messages_size): Likewise.
471 (throw_it): Likewise.
472 (throw_verror): Likewise.
473 (throw_vquit): Likewise.
474 (throw_error): Likewise.
475 (throw_quit): Likewise.
476 (prepare_to_throw_exception): New function.
477
478 2014-08-29 Gary Benson <gbenson@redhat.com>
479
480 * common/gdb_setjmp.h: New file.
481 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
482 * configure.ac: Move sigsetjmp check...
483 * common/common.m4: ...here.
484 * configure: Regenerate.
485 * cp-support.c (SIGJMP_BUF): Delete.
486 (SIGSETJMP): Likewise.
487 (SIGLONGJMP): Likewise.
488 * exceptions.h (gdb_setjmp.h): Include.
489 (setjmp.h): Do not include.
490 (EXCEPTIONS_SIGJMP_BUF): Delete.
491 (EXCEPTIONS_SIGSETJMP): Likewise.
492 (EXCEPTIONS_SIGLONGJMP): Likewise.
493 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
494 from gdb_setjmp.h.
495 * exceptions.c: Likewise.
496
497 2014-08-29 Gary Benson <gbenson@redhat.com>
498
499 * cleanups.h: Moved to...
500 * common/cleanups.h: New file.
501 * cleanups.c: Moved to...
502 * common/cleanups.c: New file. Include common-defs.h and
503 cleanups.h. Do not include defs.h.
504 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
505 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
506 (cleanups.o): New rule.
507
508 2014-08-29 Gary Benson <gbenson@redhat.com>
509
510 * common/errors.h (internal_warning): New declaration.
511 (internal_vwarning): Likewise.
512 * common/errors.c (internal_warning): New function.
513 * utils.h (internal_warning): Don't declare.
514 (internal_vwarning): Likewise.
515 * utils.c (internal_warning): Removed.
516
517 2014-08-29 Gary Benson <gbenson@redhat.com>
518
519 * main.c (captured_main): Use warning during startup.
520 Prefix startup warning messages with command name.
521
522 2014-08-29 Gary Benson <gbenson@redhat.com>
523
524 * main.c (captured_main): Handle usage errors with error.
525
526 2014-08-29 Gary Benson <gbenson@redhat.com>
527
528 * go32-nat.c (go32_create_inferior): Replace a fprintf/
529 exit pair with a call to error. Wrap the message with _().
530
531 2014-08-29 Gary Benson <gbenson@redhat.com>
532
533 * main.c (captured_main): Replace a fprintf/exit
534 pair with a call to error. Wrap the message with _().
535
536 2014-08-29 Gary Benson <gbenson@redhat.com>
537
538 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
539 pairs with calls to error. Wrap the message with _().
540
541 2014-08-29 Gary Benson <gbenson@redhat.com>
542
543 * utils.c (vwarning): Protect calls to target_terminal_ours
544 and wrap_here.
545
546 2014-08-29 Gary Benson <gbenson@redhat.com>
547
548 * exceptions.c (print_flush): Protect calls to
549 target_terminal_ours and wrap_here.
550
551 2014-08-29 Gary Benson <gbenson@redhat.com>
552
553 * utils.h (filtered_printing_initialized): New declaration.
554 * utils.c (abort_with_message): New function.
555 (internal_vproblem): Use abort_with_message for first level
556 recursive internal problems, and if gdb_stderr is not set up.
557 Protect calls to target_terminal_ours, begin_line and query.
558
559 2014-08-28 Doug Evans <dje@google.com>
560
561 * symtab.c (in_prologue): Move definition to better spot.
562 (skip_prologue_using_sal): Ditto.
563
564 2014-08-28 Doug Evans <dje@google.com>
565
566 * symtab.c (find_function_start_sal): Move definition to better spot.
567
568 2014-08-28 Yao Qi <yao@codesourcery.com>
569
570 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
571 found_stack_adjust in forward scan. Remove condition check
572 on found_stack_adjust which is always true. Indent the code.
573
574 2014-08-28 Yao Qi <yao@codesourcery.com>
575
576 * dwarf2read.c (dwarf_decode_lines): Update declaration.
577 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
578 (dwarf_decode_lines): Remove argument
579 want_line_info. Remove condition check on want_line_info.
580 Callers update.
581
582 2014-08-27 Doug Evans <dje@google.com>
583
584 * dwarf2read.c (dwarf_record_line): Fix typo.
585
586 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
587
588 * target.h (struct target_ops::to_terminal_save_ours): Remove
589 declaration.
590 (target_terminal_save_ours): Remove macro.
591 * target-delegates.c: Regenerate.
592 * inf-child.c (inf_child_target): Don't set the nonexistent
593 field to_terminal_save_ours.
594 * inferior.h (child_terminal_save_ours): Remove declaration.
595 * terminal.h (gdb_save_tty_state): New declaration.
596 * inflow.c (child_terminal_save_ours): Rename to ...
597 (gdb_save_tty_state): ... this.
598 * tui/tui.c: Include terminal.h.
599 (tui_enable): Use gdb_save_tty_state instead of
600 target_terminal_save_ours.
601 (tui_disable): Likewise.
602
603 2014-08-25 Doug Evans <dje@google.com>
604
605 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
606 Pass NULL instead of 0 for context pointer.
607
608 2014-08-25 Yao Qi <yao@codesourcery.com>
609
610 * dwarf2read.c: Fix grammatical error.
611
612 2014-08-24 Yao Qi <yao@codesourcery.com>
613
614 * dwarf2read.c (scan_partial_symbols): Update comments.
615 Rename argument 'need_pc' with 'set_addrmap'.
616 (add_partial_namespace): Rename argument 'need_pc' with
617 'set_addrmap'.
618 (add_partial_module): Likewise.
619 (add_partial_subprogram): Likewise. Update comments.
620 (dwarf2_name): Fix typo.
621
622 2014-08-22 Doug Evans <dje@google.com>
623
624 PR 17276
625 * dwarf2read.c (dwarf_record_line_p): New function.
626 (dwarf_decode_lines_1): Ignore subsequent line number entries
627 for the same line if any entry had a non-zero discriminator.
628
629 2014-08-22 Doug Evans <dje@google.com>
630
631 * buildsym.h (record_line_ftype): New typedef.
632 (record_line): Use it.
633 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
634 (dwarf_decode_lines_1): Call them.
635
636 2014-08-22 Yao Qi <yao@codesourcery.com>
637
638 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
639 (ctf_end): Remove code.
640
641 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
642
643 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
644 (linux_make_corefile_notes): call update_thread_list, protected against
645 exceptions.
646
647 2014-08-21 Pedro Alves <palves@redhat.com>
648
649 * infcmd.c (attach_command): Remove comment.
650
651 2014-08-21 Bin Cheng <bin.cheng@arm.com>
652
653 * aarch64-linux-nat.c (dr_changed_t): Change the type from
654 unsigned LONGEST to ULONGEST.
655
656 2014-08-20 Pedro Alves <palves@redhat.com>
657
658 * Makefile.in (check-read1): New rule.
659
660 2014-08-20 Joel Brobecker <brobecker@adacore.com>
661
662 * value.c (value_from_contents_and_address): Strip resolved_type's
663 typedef layers before checking its TYPE_DATA_LOCATION.
664
665 2014-08-20 Pedro Alves <palves@redhat.com>
666
667 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
668
669 2014-08-20 Yao Qi <yao@codesourcery.com>
670
671 * amd64-tdep.c (amd64_classify): Add a blank line after the
672 example. Move "*/" to a new line.
673 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
674 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
675 * dwarf2read.c (psymtab_include_file_name): Likewise.
676
677 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
678 Pedro Alves <palves@redhat.com>
679
680 PR symtab/14604
681 PR symtab/14605
682 * ada-lang.c (coerce_unspec_val_to_type): Use
683 value_contents_copy_raw.
684 * ada-valprint.c (val_print_packed_array_elements): Adjust.
685 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
686 * cp-valprint.c (cp_print_value_fields): Let the common printing
687 code handle optimized out values.
688 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
689 * d-valprint.c (dynamic_array_type): Use
690 value_bits_any_optimized_out.
691 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
692 check_any_valid fields.
693 (check_pieced_value_bits): Delete and inline ...
694 (check_pieced_synthetic_pointer): ... here.
695 (check_pieced_value_validity): Delete.
696 (check_pieced_value_invalid): Delete.
697 (pieced_value_funcs): Remove check_validity and check_any_valid
698 fields.
699 (read_pieced_value): Use mark_value_bits_optimized_out.
700 (write_pieced_value): Switch to use
701 mark_value_bytes_optimized_out.
702 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
703 of assuming the whole value is optimized out.
704 * findvar.c (read_frame_register_value): Remove special handling
705 of optimized out registers.
706 (value_from_register): Use mark_value_bytes_optimized_out.
707 * frame-unwind.c (frame_unwind_got_optimized): Use
708 mark_value_bytes_optimized_out.
709 * jv-valprint.c (java_value_print): Adjust.
710 (java_print_value_fields): Let the common printing code handle
711 optimized out values.
712 * mips-tdep.c (mips_print_register): Remove special handling of
713 optimized out registers.
714 * opencl-lang.c (lval_func_check_validity): Delete.
715 (lval_func_check_any_valid): Delete.
716 (opencl_value_funcs): Remove check_validity and check_any_valid
717 fields.
718 * p-valprint.c (pascal_object_print_value_fields): Let the common
719 printing code handle optimized out values.
720 * stack.c (read_frame_arg): Remove special handling of optimized
721 out values. Fetch both VAL and ENTRYVAL before comparing
722 contents. Adjust to value_available_contents_eq rename.
723 * valprint.c (valprint_check_validity)
724 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
725 (val_print_array_elements): Adjust.
726 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
727 (value_bits_any_optimized_out): New function.
728 (value_entirely_covered_by_range_vector): New function, factored
729 out from value_entirely_unavailable.
730 (value_entirely_unavailable): Reimplement.
731 (value_entirely_optimized_out): New function.
732 (insert_into_bit_range_vector): New function, factored out from
733 mark_value_bits_unavailable.
734 (mark_value_bits_unavailable): Reimplement.
735 (struct ranges_and_idx): New struct.
736 (find_first_range_overlap_and_match): New function, factored out
737 from value_available_contents_bits_eq.
738 (value_available_contents_bits_eq): Rename to ...
739 (value_contents_bits_eq): ... this. Check both unavailable
740 contents and optimized out contents.
741 (value_available_contents_eq): Rename to ...
742 (value_contents_eq): ... this.
743 (allocate_value_lazy): Remove reference to the old optimized_out
744 boolean.
745 (allocate_optimized_out_value): Use
746 mark_value_bytes_optimized_out.
747 (require_not_optimized_out): Adjust to check whether the
748 optimized_out vec is empty.
749 (ranges_copy_adjusted): New function, factored out from
750 value_contents_copy_raw.
751 (value_contents_copy_raw): Also copy the optimized out ranges.
752 Assert the destination ranges aren't optimized out.
753 (value_contents_copy): Update comment, remove call to
754 require_not_optimized_out.
755 (value_contents_equal): Adjust to check whether the optimized_out
756 vec is empty.
757 (set_value_optimized_out, value_optimized_out_const): Delete.
758 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
759 New functions.
760 (value_entirely_optimized_out, value_bits_valid): Delete.
761 (value_copy): Take a VEC copy of the 'optimized_out' field.
762 (value_primitive_field): Remove special handling of optimized out.
763 (value_fetch_lazy): Assert that lazy values have no unavailable
764 regions. Use value_bits_any_optimized_out. Remove some special
765 handling for optimized out values.
766 * value.h: Add intro comment about <optimized out> and
767 <unavailable>.
768 (struct lval_funcs): Remove check_validity and check_any_valid
769 fields.
770 (set_value_optimized_out, value_optimized_out_const): Remove.
771 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
772 New declarations.
773 (value_bits_any_optimized_out): New declaration.
774 (value_bits_valid): Delete declaration.
775 (value_available_contents_eq): Rename to ...
776 (value_contents_eq): ... this, and extend comments.
777
778 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 Fix -fsanitize=address on unreadable inferior strings.
781 * valprint.c (val_print_string): Fix access before BUFFER.
782
783 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
784
785 * target.c (target_struct_size): Remove.
786 (target_struct_allocsize): Remove.
787 (DEFAULT_ALLOCSIZE): Remove.
788 (target_ops_p): New typedef.
789 (DEF_VEC_P (target_ops_p)): New vector type.
790 (target_structs): Change type to VEC (target_ops_p).
791 (add_target_with_completer): Replace "push" code by VEC_safe_push.
792 (find_default_run_target): Rewrite for loop following changes to
793 target_structs.
794
795 2014-08-19 Joel Brobecker <brobecker@adacore.com>
796
797 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
798 Adjust code accordingly. Adjust function description comment.
799
800 2014-08-19 Yao Qi <yao@codesourcery.com>
801
802 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
803 types.
804
805 2014-08-19 Alan Modra <amodra@gmail.com>
806
807 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
808 * config.in: Regenerate.
809 * configure: Regenerate.
810
811 2014-08-19 Tom Tromey <tromey@redhat.com>
812 Gary Benson <gbenson@redhat.com>
813
814 * common/common-debug.h: New file.
815 * common/common-debug.c: Likewise.
816 * debug.c: Likewise.
817 * Makefile.in (SFILES): Add common/common-debug.c.
818 (HFILES_NO_SRCDIR): Add common/common-debug.h.
819 (COMMON_OBS): Add common-debug.o and debug.o.
820 (common-debug.o): New rule.
821 * common/common-defs.h: Include common-debug.h.
822 * common/agent.c (debug_agent_printf): New function.
823 (DEBUG_AGENT): Redefine.
824 * nat/i386-dregs.c (debug_printf): Undefine.
825
826 2014-08-19 Gary Benson <gbenson@redhat.com>
827
828 * common/common-defs.h: Include print-utils.h.
829 * utils.h: Do not include print-utils.h.
830
831 2014-08-19 Tom Tromey <tromey@redhat.com>
832 Gary Benson <gbenson@redhat.com>
833
834 * common/common-types.h: New file.
835 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
836 * common/common-defs.h: Include common-types.h.
837 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
838 (ULONGEST): Remove.
839
840 2014-08-19 Tom Tromey <tromey@redhat.com>
841 Gary Benson <gbenson@redhat.com>
842
843 * common/errors.h: New file.
844 * common/errors.c: Likewise.
845 * Makefile.in (SFILES): Add common/errors.c.
846 (HFILES_NO_SRCDIR): Add common/errors.h.
847 (COMMON_OBS): Add errors.o.
848 (errors.o): New rule.
849 * common/common-defs.h: Include errors.h.
850 * utils.h (perror_with_name, error, verror, warning, vwarning):
851 Don't declare.
852 * common/common-utils.h: (malloc_failure, internal_error):
853 Likewise.
854
855 2014-08-19 Gary Benson <gbenson@redhat.com>
856
857 * utils.c (internal_vproblem): Always print the message.
858
859 2014-08-18 Doug Evans <dje@google.com>
860
861 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
862
863 2014-08-18 Joel Brobecker <brobecker@adacore.com>
864
865 * ada-typeprint.c (type_is_full_subrange_of_target_type):
866 Return 0 if TYPE is dynamic.
867 (print_range): Add handling of dynamic ranges.
868
869 2014-08-18 Keven Boell <keven.boell@intel.com>
870 Joel Brobecker <brobecker@adacore.com>
871
872 * gdbtypes.h (struct main_type): Add field "data_location".
873 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
874 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
875 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
876 a dynamic data location.
877 (resolve_dynamic_type): Add DW_AT_data_location handling.
878 (copy_recursive, copy_type): Copy the data_location information
879 when present.
880 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
881 * value.c (value_from_contents_and_address): Add
882 DW_AT_data_location handling.
883
884 2014-08-18 Keven Boell <keven.boell@intel.com>
885 Joel Brobecker <brobecker@adacore.com>
886
887 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
888 field "get_object_address".
889 * dwarf2expr.c (execute_stack_op): Add handling for
890 DW_OP_push_object_address.
891 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
892 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
893 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
894 (dwarf_expr_get_obj_addr): New function.
895 (dwarf_expr_ctx_funcs): Add get_object_address field.
896 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
897 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
898 (dwarf2_evaluate_property): Add parameter "address". Use it.
899 (needs_get_obj_addr): New function.
900 (needs_frame_ctx_funcs): Add get_object_address field.
901 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
902 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
903 (resolve_dynamic_array): Likewise.
904
905 2014-08-18 Joel Brobecker <brobecker@adacore.com>
906
907 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
908 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
909 fixed value for records and unions for which some GNAT encodings
910 are present.
911
912 2014-08-18 Joel Brobecker <brobecker@adacore.com>
913
914 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
915 rewrite to avoid "else if" and "else" constructs. Should be
916 a no-op in practice.
917
918 2014-08-18 Joel Brobecker <brobecker@adacore.com>
919
920 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
921 of lexical block.
922
923 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
924
925 PR c++/17132
926 * eval.c: Update all calls to find_overload_match.
927 * valarith.c: Likewise.
928 (value_user_defined_cpp_op, value_user_defined_op): New
929 argument NOSIDE. Update all callers.
930 * valops.c (find_overload_match): New argument NOSIDE.
931 * value.h (find_overload_match): Update signature.
932
933 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
934
935 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
936 'items' methods instead of 'iteritems' method on dictionaries.
937
938 2014-08-15 Doug Evans <dje@google.com>
939
940 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
941 closer to use.
942
943 2014-08-15 Doug Evans <dje@google.com>
944
945 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
946
947 2014-08-15 Doug Evans <dje@google.com>
948
949 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
950
951 2014-08-15 Doug Evans <dje@google.com>
952
953 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
954 unused.
955
956 2014-08-15 Eli Zaretskii <eliz@gnu.org>
957
958 * dcache.h: Include target.h, to avoid compile time warnings.
959
960 2014-08-15 Joel Brobecker <brobecker@adacore.com>
961
962 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
963 frame_info" partial declaration.
964 * gdbarch.h: Regenerate.
965
966 2014-08-15 Yao Qi <yao@codesourcery.com>
967
968 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
969 Add parameter 'decode_for_pst_p'. Callers update.
970
971 2014-08-13 Yao Qi <yao@codesourcery.com>
972
973 PR build/17104
974 * configure.ac: Use local variable 'pos'.
975 * configure: Regenerated.
976
977 2014-08-11 Doug Evans <dje@google.com>
978
979 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
980 message, it is redundant with "Reading symbols from ..." message.
981
982 2014-08-10 Doug Evans <xdje42@gmail.com>
983
984 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
985
986 2014-08-09 Yao Qi <yao@codesourcery.com>
987
988 PR remote/9053
989 * remote.c (remote_xfer_partial): Remove dead code.
990
991 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
992
993 * ia64-linux-tdep.c: Include "regset.h".
994 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
995 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
996 (ia64_linux_supply_fpregset): New function.
997 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
998 (ia64_linux_regset_from_core_section): New function.
999 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1000 method.
1001
1002 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1003
1004 * m68klinux-tdep.c: Include "regset.h".
1005 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1006 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1007 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1008 (m68k_linux_regset_from_core_section): New function.
1009 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1010 method.
1011
1012 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1013
1014 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1015 function. Move logic to...
1016 (tilegx_linux_regmap): ... this new register map.
1017 (tilegx_linux_regset): Refer to register map, replace supply
1018 method by regcache_supply_regset, and add collect method.
1019 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1020 TILEGX_FIRST_EASY_REGNUM.
1021
1022 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1023
1024 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1025 that calls regcache_supply_regset and handles the EPC register
1026 separately. Move main logic to...
1027 (score7_linux_gregmap): ... this new register map.
1028 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1029 (score7_linux_gregset): Refer to register map. Add collect method.
1030 (score7_linux_regset_from_core_section): Replace
1031 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1032 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1033 (struct regset): Delete unused forward declaraction.
1034 (struct pt_regs): Delete structure definition.
1035 (elf_gregset_t): Delete typedef.
1036
1037 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1038
1039 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1040 (nios2_core_regset): Add collect method.
1041
1042 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1043
1044 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1045 platform-independent and don't write to read-only input buffer.
1046 (m32r_linux_collect_gregset): New function.
1047 (m32r_linux_gregset): Add collect method.
1048
1049 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1050
1051 * hppa-linux-tdep.c (greg_map): Rename to...
1052 (hppa_linux_gregmap): ... this. Also convert to
1053 regcache_map_entry format.
1054 (hppa_linux_supply_regset): Delete function.
1055 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1056 (hppa_linux_fpregmap): ... this new register map.
1057 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1058 register map, replace supply method by regcache_supply_regset, and
1059 add collect method regcache_collect_regset.
1060
1061 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1062
1063 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1064 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1065 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1066 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1067 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1068 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1069 (frv_linux_supply_gregset): Replace main logic by call to
1070 regcache_supply_regset, but keep clearing gr32-gr63.
1071 (frv_linux_supply_fpregset): Delete function.
1072 (frv_linux_gregset): Refer to appropriate register map and add
1073 regcache_collect_regset as the collect method.
1074 (frv_linux_fpregset): Likewise. Also exchange the supply method
1075 by regcache_supply_regset.
1076
1077 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1078
1079 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1080 by call to alpha_supply_int_regs.
1081 (alpha_linux_collect_gregset): New function.
1082 (alpha_linux_supply_fpregset): Replace logic by call to
1083 alpha_supply_fp_regs.
1084 (alpha_linux_collect_fpregset): New function.
1085 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1086
1087 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1088
1089 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1090 by call to regcache_collect_regset.
1091 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1092 instead of aarch64_linux_supply_gregset/_fpregset.
1093 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1094 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1095 header file instead.
1096 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1097 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1098 functions. Move logic to ...
1099 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1100 register maps.
1101 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1102 refer to new register maps, replace *_regset_from_core by
1103 regcache_supply_regset, and also use regcache_collect_regset.
1104 * aarch64-linux-tdep.h: Include "regset.h".
1105 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1106 Delete prototypes.
1107 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1108 macros, moved from C source file.
1109 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1110 variable declarations.
1111
1112 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1113
1114 * s390-linux-nat.c: Include "regset.h".
1115 (regmap_gregset): Delete macro.
1116 (s390_64_regmap_gregset): New register map for
1117 regcache_supply/_collect_regset.
1118 (s390_64_gregset): New regset.
1119 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1120 (regmap_fpregset): Delete macro.
1121 (s390_native_supply, s390_native_collect): Delete functions.
1122 (supply_gregset, fill_gregset): Replace s390-specific regmap
1123 handling by a call to regcache_supply/_collect_regset.
1124 (supply_fpregset, fill_fpregset): Call regcache_supply/
1125 _collect_regset instead of s390_native_supply/_collect.
1126 (fetch_regset, store_regset): Likewise. Also change the last
1127 parameter to a regset instead of a regmap.
1128 (s390_linux_fetch_inferior_registers)
1129 (390_linux_store_inferior_registers): Adjust last parameter in
1130 calls to fetch_regset and store_regset.
1131 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1132 (s390_gregmap): ... this. Also make static const and convert to
1133 regcache_map_entry format.
1134 (s390x_regmap_gregset): Delete.
1135 (s390_regmap_fpregset): Rename to...
1136 (s390_fpregmap): ... this. Make static const and convert to
1137 regcache_map_entry format.
1138 (s390_regmap_upper, s390_regmap_last_break)
1139 (s390x_regmap_last_break, s390_regmap_system_call)
1140 (s390_regmap_tdb): Likewise.
1141 (s390_supply_regset, s390_collect_regset): Remove functions.
1142 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1143 s390_supply_regset.
1144 (s390_gregset, s390_fpregset, s390_upper_regset)
1145 (s390_last_break_regset, s390x_last_break_regset)
1146 (s390_system_call_regset, s390_tdb_regset): Make global and
1147 replace s390_supply/_collect_regset by regcache_supply/
1148 _collect_regset.
1149 (s390x_gregset): Delete.
1150 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1151 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1152 (s390_regmap_fpregset, s390_regmap_last_break)
1153 (s390x_regmap_last_break, s390_regmap_system_call)
1154 (s390_regmap_tdb): Delete global variable declarations.
1155 (s390_gregset, s390_fpregset, s390_last_break_regset)
1156 (s390x_last_break_regset, s390_system_call_regset)
1157 (s390_tdb_regset): New global variable declarations.
1158
1159 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1160
1161 * regcache.c: Include "regset.h".
1162 (regcache_transfer_regset): New local function.
1163 (regcache_supply_regset, regcache_collect_regset): New functions.
1164 * regcache.h (struct regcache_map_entry): New structure.
1165 (REGCACHE_MAP_SKIP): New enum value.
1166 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1167
1168 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1169
1170 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1171 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1172 (ppc_linux_collect_gregset ): Likewise.
1173 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1174 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1175 (ppc_collect_vrregset): Likewise.
1176 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1177 Likewise.
1178
1179 2014-08-07 Yao Qi <yao@codesourcery.com>
1180
1181 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1182 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1183 * remote.c (remote_read_bytes): Likewise.
1184
1185 2014-08-07 Yao Qi <yao@codesourcery.com>
1186
1187 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1188
1189 2014-08-07 Yao Qi <yao@codesourcery.com>
1190
1191 PR remote/17230
1192 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1193 TARGET_XFER_OK instead of 0.
1194
1195 2014-08-07 Gary Benson <gbenson@redhat.com>
1196
1197 * common/common-defs.h: Include errno.h.
1198 * defs.h: Do not include errno.h.
1199 * ada-typeprint.c: Likewise.
1200 * c-typeprint.c: Likewise.
1201 * core-regset.c: Likewise.
1202 * corefile.c: Likewise.
1203 * corelow.c: Likewise.
1204 * event-loop.c: Likewise.
1205 * f-typeprint.c: Likewise.
1206 * gnu-nat.c: Likewise.
1207 * go32-nat.c: Likewise.
1208 * i386gnu-nat.c: Likewise.
1209 * m2-typeprint.c: Likewise.
1210 * nat/linux-btrace.c: Likewise.
1211 * p-typeprint.c: Likewise.
1212 * procfs.c: Likewise.
1213 * remote-sim.c: Likewise.
1214 * rs6000-nat.c: Likewise.
1215 * target.c: Likewise.
1216 * typeprint.c: Likewise.
1217 * ui-file.c: Likewise.
1218 * valops.c: Likewise.
1219 * valprint.c: Likewise.
1220
1221 2014-08-07 Gary Benson <gbenson@redhat.com>
1222
1223 * common/common-defs.h: Include string.h.
1224 * aarch64-tdep.c: Do not include string.h.
1225 * ada-exp.y: Likewise.
1226 * ada-lang.c: Likewise.
1227 * ada-lex.l: Likewise.
1228 * ada-typeprint.c: Likewise.
1229 * ada-valprint.c: Likewise.
1230 * aix-thread.c: Likewise.
1231 * alpha-linux-tdep.c: Likewise.
1232 * alpha-mdebug-tdep.c: Likewise.
1233 * alpha-nat.c: Likewise.
1234 * alpha-osf1-tdep.c: Likewise.
1235 * alpha-tdep.c: Likewise.
1236 * alphanbsd-tdep.c: Likewise.
1237 * amd64-dicos-tdep.c: Likewise.
1238 * amd64-linux-tdep.c: Likewise.
1239 * amd64-nat.c: Likewise.
1240 * amd64-sol2-tdep.c: Likewise.
1241 * amd64fbsd-tdep.c: Likewise.
1242 * amd64obsd-tdep.c: Likewise.
1243 * arch-utils.c: Likewise.
1244 * arm-linux-nat.c: Likewise.
1245 * arm-linux-tdep.c: Likewise.
1246 * arm-tdep.c: Likewise.
1247 * arm-wince-tdep.c: Likewise.
1248 * armbsd-tdep.c: Likewise.
1249 * armnbsd-nat.c: Likewise.
1250 * armnbsd-tdep.c: Likewise.
1251 * armobsd-tdep.c: Likewise.
1252 * avr-tdep.c: Likewise.
1253 * ax-gdb.c: Likewise.
1254 * ax-general.c: Likewise.
1255 * bcache.c: Likewise.
1256 * bfin-tdep.c: Likewise.
1257 * breakpoint.c: Likewise.
1258 * build-id.c: Likewise.
1259 * buildsym.c: Likewise.
1260 * c-exp.y: Likewise.
1261 * c-lang.c: Likewise.
1262 * c-typeprint.c: Likewise.
1263 * c-valprint.c: Likewise.
1264 * charset.c: Likewise.
1265 * cli-out.c: Likewise.
1266 * cli/cli-cmds.c: Likewise.
1267 * cli/cli-decode.c: Likewise.
1268 * cli/cli-dump.c: Likewise.
1269 * cli/cli-interp.c: Likewise.
1270 * cli/cli-logging.c: Likewise.
1271 * cli/cli-script.c: Likewise.
1272 * cli/cli-setshow.c: Likewise.
1273 * cli/cli-utils.c: Likewise.
1274 * coffread.c: Likewise.
1275 * common/agent.c: Likewise.
1276 * common/buffer.c: Likewise.
1277 * common/buffer.h: Likewise.
1278 * common/common-utils.c: Likewise.
1279 * common/filestuff.c: Likewise.
1280 * common/filestuff.c: Likewise.
1281 * common/format.c: Likewise.
1282 * common/print-utils.c: Likewise.
1283 * common/rsp-low.c: Likewise.
1284 * common/signals.c: Likewise.
1285 * common/vec.h: Likewise.
1286 * common/xml-utils.c: Likewise.
1287 * core-regset.c: Likewise.
1288 * corefile.c: Likewise.
1289 * corelow.c: Likewise.
1290 * cp-abi.c: Likewise.
1291 * cp-name-parser.y: Likewise.
1292 * cp-support.c: Likewise.
1293 * cp-valprint.c: Likewise.
1294 * cris-tdep.c: Likewise.
1295 * d-exp.y: Likewise.
1296 * darwin-nat.c: Likewise.
1297 * dbxread.c: Likewise.
1298 * dcache.c: Likewise.
1299 * demangle.c: Likewise.
1300 * dicos-tdep.c: Likewise.
1301 * disasm.c: Likewise.
1302 * doublest.c: Likewise.
1303 * dsrec.c: Likewise.
1304 * dummy-frame.c: Likewise.
1305 * dwarf2-frame.c: Likewise.
1306 * dwarf2loc.c: Likewise.
1307 * dwarf2read.c: Likewise.
1308 * elfread.c: Likewise.
1309 * environ.c: Likewise.
1310 * eval.c: Likewise.
1311 * event-loop.c: Likewise.
1312 * exceptions.c: Likewise.
1313 * exec.c: Likewise.
1314 * expprint.c: Likewise.
1315 * f-exp.y: Likewise.
1316 * f-lang.c: Likewise.
1317 * f-typeprint.c: Likewise.
1318 * f-valprint.c: Likewise.
1319 * fbsd-nat.c: Likewise.
1320 * findcmd.c: Likewise.
1321 * findvar.c: Likewise.
1322 * fork-child.c: Likewise.
1323 * frame.c: Likewise.
1324 * frv-linux-tdep.c: Likewise.
1325 * frv-tdep.c: Likewise.
1326 * gdb.c: Likewise.
1327 * gdb_bfd.c: Likewise.
1328 * gdbarch.c: Likewise.
1329 * gdbarch.sh: Likewise.
1330 * gdbtypes.c: Likewise.
1331 * gnu-nat.c: Likewise.
1332 * gnu-v2-abi.c: Likewise.
1333 * gnu-v3-abi.c: Likewise.
1334 * go-exp.y: Likewise.
1335 * go-lang.c: Likewise.
1336 * go32-nat.c: Likewise.
1337 * guile/guile.c: Likewise.
1338 * guile/scm-auto-load.c: Likewise.
1339 * hppa-hpux-tdep.c: Likewise.
1340 * hppa-linux-nat.c: Likewise.
1341 * hppanbsd-tdep.c: Likewise.
1342 * hppaobsd-tdep.c: Likewise.
1343 * i386-cygwin-tdep.c: Likewise.
1344 * i386-dicos-tdep.c: Likewise.
1345 * i386-linux-tdep.c: Likewise.
1346 * i386-nto-tdep.c: Likewise.
1347 * i386-sol2-tdep.c: Likewise.
1348 * i386-tdep.c: Likewise.
1349 * i386bsd-tdep.c: Likewise.
1350 * i386gnu-nat.c: Likewise.
1351 * i386nbsd-tdep.c: Likewise.
1352 * i386obsd-tdep.c: Likewise.
1353 * i387-tdep.c: Likewise.
1354 * ia64-libunwind-tdep.c: Likewise.
1355 * ia64-linux-nat.c: Likewise.
1356 * inf-child.c: Likewise.
1357 * inf-ptrace.c: Likewise.
1358 * inf-ttrace.c: Likewise.
1359 * infcall.c: Likewise.
1360 * infcmd.c: Likewise.
1361 * inflow.c: Likewise.
1362 * infrun.c: Likewise.
1363 * interps.c: Likewise.
1364 * iq2000-tdep.c: Likewise.
1365 * irix5-nat.c: Likewise.
1366 * jv-exp.y: Likewise.
1367 * jv-lang.c: Likewise.
1368 * jv-typeprint.c: Likewise.
1369 * jv-valprint.c: Likewise.
1370 * language.c: Likewise.
1371 * linux-fork.c: Likewise.
1372 * linux-nat.c: Likewise.
1373 * lm32-tdep.c: Likewise.
1374 * m2-exp.y: Likewise.
1375 * m2-typeprint.c: Likewise.
1376 * m32c-tdep.c: Likewise.
1377 * m32r-linux-nat.c: Likewise.
1378 * m32r-linux-tdep.c: Likewise.
1379 * m32r-rom.c: Likewise.
1380 * m32r-tdep.c: Likewise.
1381 * m68hc11-tdep.c: Likewise.
1382 * m68k-tdep.c: Likewise.
1383 * m68kbsd-tdep.c: Likewise.
1384 * m68klinux-nat.c: Likewise.
1385 * m68klinux-tdep.c: Likewise.
1386 * m88k-tdep.c: Likewise.
1387 * machoread.c: Likewise.
1388 * macrocmd.c: Likewise.
1389 * main.c: Likewise.
1390 * mdebugread.c: Likewise.
1391 * mem-break.c: Likewise.
1392 * memattr.c: Likewise.
1393 * memory-map.c: Likewise.
1394 * mep-tdep.c: Likewise.
1395 * mi/mi-cmd-break.c: Likewise.
1396 * mi/mi-cmd-disas.c: Likewise.
1397 * mi/mi-cmd-env.c: Likewise.
1398 * mi/mi-cmd-stack.c: Likewise.
1399 * mi/mi-cmd-var.c: Likewise.
1400 * mi/mi-cmds.c: Likewise.
1401 * mi/mi-console.c: Likewise.
1402 * mi/mi-getopt.c: Likewise.
1403 * mi/mi-interp.c: Likewise.
1404 * mi/mi-main.c: Likewise.
1405 * mi/mi-parse.c: Likewise.
1406 * microblaze-rom.c: Likewise.
1407 * microblaze-tdep.c: Likewise.
1408 * mingw-hdep.c: Likewise.
1409 * minidebug.c: Likewise.
1410 * minsyms.c: Likewise.
1411 * mips-irix-tdep.c: Likewise.
1412 * mips-linux-tdep.c: Likewise.
1413 * mips-tdep.c: Likewise.
1414 * mips64obsd-tdep.c: Likewise.
1415 * mipsnbsd-tdep.c: Likewise.
1416 * mipsread.c: Likewise.
1417 * mn10300-linux-tdep.c: Likewise.
1418 * mn10300-tdep.c: Likewise.
1419 * monitor.c: Likewise.
1420 * moxie-tdep.c: Likewise.
1421 * mt-tdep.c: Likewise.
1422 * nat/linux-btrace.c: Likewise.
1423 * nat/linux-osdata.c: Likewise.
1424 * nat/linux-procfs.c: Likewise.
1425 * nat/linux-ptrace.c: Likewise.
1426 * nat/linux-waitpid.c: Likewise.
1427 * nbsd-tdep.c: Likewise.
1428 * nios2-linux-tdep.c: Likewise.
1429 * nto-procfs.c: Likewise.
1430 * nto-tdep.c: Likewise.
1431 * objc-lang.c: Likewise.
1432 * objfiles.c: Likewise.
1433 * opencl-lang.c: Likewise.
1434 * osabi.c: Likewise.
1435 * osdata.c: Likewise.
1436 * p-exp.y: Likewise.
1437 * p-lang.c: Likewise.
1438 * p-typeprint.c: Likewise.
1439 * parse.c: Likewise.
1440 * posix-hdep.c: Likewise.
1441 * ppc-linux-nat.c: Likewise.
1442 * ppc-sysv-tdep.c: Likewise.
1443 * ppcfbsd-tdep.c: Likewise.
1444 * ppcnbsd-tdep.c: Likewise.
1445 * ppcobsd-tdep.c: Likewise.
1446 * printcmd.c: Likewise.
1447 * procfs.c: Likewise.
1448 * prologue-value.c: Likewise.
1449 * python/py-auto-load.c: Likewise.
1450 * python/py-gdb-readline.c: Likewise.
1451 * ravenscar-thread.c: Likewise.
1452 * regcache.c: Likewise.
1453 * registry.c: Likewise.
1454 * remote-fileio.c: Likewise.
1455 * remote-m32r-sdi.c: Likewise.
1456 * remote-mips.c: Likewise.
1457 * remote-notif.c: Likewise.
1458 * remote-sim.c: Likewise.
1459 * remote.c: Likewise.
1460 * reverse.c: Likewise.
1461 * rs6000-aix-tdep.c: Likewise.
1462 * ser-base.c: Likewise.
1463 * ser-go32.c: Likewise.
1464 * ser-mingw.c: Likewise.
1465 * ser-pipe.c: Likewise.
1466 * ser-tcp.c: Likewise.
1467 * ser-unix.c: Likewise.
1468 * serial.c: Likewise.
1469 * sh-tdep.c: Likewise.
1470 * sh64-tdep.c: Likewise.
1471 * shnbsd-tdep.c: Likewise.
1472 * skip.c: Likewise.
1473 * sol-thread.c: Likewise.
1474 * solib-dsbt.c: Likewise.
1475 * solib-frv.c: Likewise.
1476 * solib-osf.c: Likewise.
1477 * solib-som.c: Likewise.
1478 * solib-spu.c: Likewise.
1479 * solib-target.c: Likewise.
1480 * solib.c: Likewise.
1481 * somread.c: Likewise.
1482 * source.c: Likewise.
1483 * sparc-nat.c: Likewise.
1484 * sparc-sol2-tdep.c: Likewise.
1485 * sparc-tdep.c: Likewise.
1486 * sparc64-tdep.c: Likewise.
1487 * sparc64fbsd-tdep.c: Likewise.
1488 * sparc64nbsd-tdep.c: Likewise.
1489 * sparcnbsd-tdep.c: Likewise.
1490 * spu-linux-nat.c: Likewise.
1491 * spu-multiarch.c: Likewise.
1492 * spu-tdep.c: Likewise.
1493 * stabsread.c: Likewise.
1494 * stack.c: Likewise.
1495 * std-regs.c: Likewise.
1496 * symfile.c: Likewise.
1497 * symmisc.c: Likewise.
1498 * symtab.c: Likewise.
1499 * target.c: Likewise.
1500 * thread.c: Likewise.
1501 * tilegx-linux-nat.c: Likewise.
1502 * tilegx-tdep.c: Likewise.
1503 * top.c: Likewise.
1504 * tracepoint.c: Likewise.
1505 * tui/tui-command.c: Likewise.
1506 * tui/tui-data.c: Likewise.
1507 * tui/tui-disasm.c: Likewise.
1508 * tui/tui-file.c: Likewise.
1509 * tui/tui-layout.c: Likewise.
1510 * tui/tui-out.c: Likewise.
1511 * tui/tui-regs.c: Likewise.
1512 * tui/tui-source.c: Likewise.
1513 * tui/tui-stack.c: Likewise.
1514 * tui/tui-win.c: Likewise.
1515 * tui/tui-windata.c: Likewise.
1516 * tui/tui-winsource.c: Likewise.
1517 * typeprint.c: Likewise.
1518 * ui-file.c: Likewise.
1519 * ui-out.c: Likewise.
1520 * user-regs.c: Likewise.
1521 * utils.c: Likewise.
1522 * v850-tdep.c: Likewise.
1523 * valarith.c: Likewise.
1524 * valops.c: Likewise.
1525 * valprint.c: Likewise.
1526 * value.c: Likewise.
1527 * varobj.c: Likewise.
1528 * vax-tdep.c: Likewise.
1529 * vaxnbsd-tdep.c: Likewise.
1530 * vaxobsd-tdep.c: Likewise.
1531 * windows-nat.c: Likewise.
1532 * xcoffread.c: Likewise.
1533 * xml-support.c: Likewise.
1534 * xstormy16-tdep.c: Likewise.
1535 * xtensa-linux-nat.c: Likewise.
1536
1537 2014-08-07 Gary Benson <gbenson@redhat.com>
1538
1539 * common/common-defs.h: Include gdb_assert.h.
1540 * aarch64-tdep.c: Do not include gdb_assert.h.
1541 * addrmap.c: Likewise.
1542 * aix-thread.c: Likewise.
1543 * alpha-linux-tdep.c: Likewise.
1544 * alpha-mdebug-tdep.c: Likewise.
1545 * alphanbsd-tdep.c: Likewise.
1546 * amd64-nat.c: Likewise.
1547 * amd64-tdep.c: Likewise.
1548 * amd64bsd-nat.c: Likewise.
1549 * amd64fbsd-nat.c: Likewise.
1550 * amd64fbsd-tdep.c: Likewise.
1551 * amd64nbsd-nat.c: Likewise.
1552 * amd64nbsd-tdep.c: Likewise.
1553 * amd64obsd-nat.c: Likewise.
1554 * amd64obsd-tdep.c: Likewise.
1555 * arch-utils.c: Likewise.
1556 * arm-tdep.c: Likewise.
1557 * armbsd-tdep.c: Likewise.
1558 * auxv.c: Likewise.
1559 * bcache.c: Likewise.
1560 * bfin-tdep.c: Likewise.
1561 * blockframe.c: Likewise.
1562 * breakpoint.c: Likewise.
1563 * bsd-kvm.c: Likewise.
1564 * bsd-uthread.c: Likewise.
1565 * buildsym.c: Likewise.
1566 * c-exp.y: Likewise.
1567 * c-lang.c: Likewise.
1568 * charset.c: Likewise.
1569 * cleanups.c: Likewise.
1570 * cli-out.c: Likewise.
1571 * cli/cli-decode.c: Likewise.
1572 * cli/cli-dump.c: Likewise.
1573 * cli/cli-logging.c: Likewise.
1574 * cli/cli-script.c: Likewise.
1575 * cli/cli-utils.c: Likewise.
1576 * coffread.c: Likewise.
1577 * common/common-utils.c: Likewise.
1578 * common/queue.h: Likewise.
1579 * common/signals.c: Likewise.
1580 * common/vec.h: Likewise.
1581 * complaints.c: Likewise.
1582 * completer.c: Likewise.
1583 * corelow.c: Likewise.
1584 * cp-abi.c: Likewise.
1585 * cp-name-parser.y: Likewise.
1586 * cp-namespace.c: Likewise.
1587 * cp-support.c: Likewise.
1588 * cris-tdep.c: Likewise.
1589 * dbxread.c: Likewise.
1590 * dictionary.c: Likewise.
1591 * doublest.c: Likewise.
1592 * dsrec.c: Likewise.
1593 * dummy-frame.c: Likewise.
1594 * dwarf2-frame-tailcall.c: Likewise.
1595 * dwarf2-frame.c: Likewise.
1596 * dwarf2expr.c: Likewise.
1597 * dwarf2loc.c: Likewise.
1598 * dwarf2read.c: Likewise.
1599 * eval.c: Likewise.
1600 * event-loop.c: Likewise.
1601 * exceptions.c: Likewise.
1602 * expprint.c: Likewise.
1603 * f-valprint.c: Likewise.
1604 * fbsd-nat.c: Likewise.
1605 * findvar.c: Likewise.
1606 * frame-unwind.c: Likewise.
1607 * frame.c: Likewise.
1608 * frv-tdep.c: Likewise.
1609 * gcore.c: Likewise.
1610 * gdb-dlfcn.c: Likewise.
1611 * gdb_bfd.c: Likewise.
1612 * gdbarch.c: Likewise.
1613 * gdbarch.sh: Likewise.
1614 * gdbtypes.c: Likewise.
1615 * gnu-nat.c: Likewise.
1616 * gnu-v3-abi.c: Likewise.
1617 * go-lang.c: Likewise.
1618 * guile/scm-exception.c: Likewise.
1619 * guile/scm-gsmob.c: Likewise.
1620 * guile/scm-lazy-string.c: Likewise.
1621 * guile/scm-math.c: Likewise.
1622 * guile/scm-pretty-print.c: Likewise.
1623 * guile/scm-safe-call.c: Likewise.
1624 * guile/scm-utils.c: Likewise.
1625 * guile/scm-value.c: Likewise.
1626 * h8300-tdep.c: Likewise.
1627 * hppa-hpux-nat.c: Likewise.
1628 * hppa-tdep.c: Likewise.
1629 * hppanbsd-tdep.c: Likewise.
1630 * hppaobsd-tdep.c: Likewise.
1631 * i386-darwin-nat.c: Likewise.
1632 * i386-darwin-tdep.c: Likewise.
1633 * i386-nto-tdep.c: Likewise.
1634 * i386-tdep.c: Likewise.
1635 * i386bsd-nat.c: Likewise.
1636 * i386fbsd-tdep.c: Likewise.
1637 * i386gnu-nat.c: Likewise.
1638 * i386nbsd-tdep.c: Likewise.
1639 * i386obsd-tdep.c: Likewise.
1640 * i387-tdep.c: Likewise.
1641 * ia64-libunwind-tdep.c: Likewise.
1642 * ia64-tdep.c: Likewise.
1643 * inf-ptrace.c: Likewise.
1644 * inf-ttrace.c: Likewise.
1645 * infcall.c: Likewise.
1646 * infcmd.c: Likewise.
1647 * infrun.c: Likewise.
1648 * inline-frame.c: Likewise.
1649 * interps.c: Likewise.
1650 * jv-lang.c: Likewise.
1651 * jv-typeprint.c: Likewise.
1652 * linux-fork.c: Likewise.
1653 * linux-nat.c: Likewise.
1654 * linux-thread-db.c: Likewise.
1655 * m32c-tdep.c: Likewise.
1656 * m32r-linux-nat.c: Likewise.
1657 * m32r-tdep.c: Likewise.
1658 * m68k-tdep.c: Likewise.
1659 * m68kbsd-nat.c: Likewise.
1660 * m68kbsd-tdep.c: Likewise.
1661 * m88k-tdep.c: Likewise.
1662 * machoread.c: Likewise.
1663 * macroexp.c: Likewise.
1664 * macrotab.c: Likewise.
1665 * maint.c: Likewise.
1666 * mdebugread.c: Likewise.
1667 * memory-map.c: Likewise.
1668 * mep-tdep.c: Likewise.
1669 * mi/mi-common.c: Likewise.
1670 * microblaze-tdep.c: Likewise.
1671 * mingw-hdep.c: Likewise.
1672 * mips-linux-nat.c: Likewise.
1673 * mips-linux-tdep.c: Likewise.
1674 * mips-tdep.c: Likewise.
1675 * mips64obsd-tdep.c: Likewise.
1676 * mipsnbsd-tdep.c: Likewise.
1677 * mn10300-linux-tdep.c: Likewise.
1678 * mn10300-tdep.c: Likewise.
1679 * moxie-tdep.c: Likewise.
1680 * mt-tdep.c: Likewise.
1681 * nat/linux-btrace.c: Likewise.
1682 * nat/linux-osdata.c: Likewise.
1683 * nat/linux-ptrace.c: Likewise.
1684 * nat/mips-linux-watch.c: Likewise.
1685 * nios2-linux-tdep.c: Likewise.
1686 * nios2-tdep.c: Likewise.
1687 * objc-lang.c: Likewise.
1688 * objfiles.c: Likewise.
1689 * obsd-nat.c: Likewise.
1690 * opencl-lang.c: Likewise.
1691 * osabi.c: Likewise.
1692 * parse.c: Likewise.
1693 * ppc-linux-nat.c: Likewise.
1694 * ppc-sysv-tdep.c: Likewise.
1695 * ppcfbsd-nat.c: Likewise.
1696 * ppcfbsd-tdep.c: Likewise.
1697 * ppcnbsd-nat.c: Likewise.
1698 * ppcnbsd-tdep.c: Likewise.
1699 * ppcobsd-nat.c: Likewise.
1700 * ppcobsd-tdep.c: Likewise.
1701 * printcmd.c: Likewise.
1702 * procfs.c: Likewise.
1703 * prologue-value.c: Likewise.
1704 * psymtab.c: Likewise.
1705 * python/py-lazy-string.c: Likewise.
1706 * python/py-value.c: Likewise.
1707 * regcache.c: Likewise.
1708 * reggroups.c: Likewise.
1709 * registry.c: Likewise.
1710 * remote-sim.c: Likewise.
1711 * remote.c: Likewise.
1712 * rs6000-aix-tdep.c: Likewise.
1713 * rs6000-tdep.c: Likewise.
1714 * s390-linux-tdep.c: Likewise.
1715 * score-tdep.c: Likewise.
1716 * ser-base.c: Likewise.
1717 * ser-mingw.c: Likewise.
1718 * sh-tdep.c: Likewise.
1719 * sh64-tdep.c: Likewise.
1720 * solib-darwin.c: Likewise.
1721 * solib-spu.c: Likewise.
1722 * solib-svr4.c: Likewise.
1723 * source.c: Likewise.
1724 * sparc-nat.c: Likewise.
1725 * sparc-sol2-tdep.c: Likewise.
1726 * sparc-tdep.c: Likewise.
1727 * sparc64-sol2-tdep.c: Likewise.
1728 * sparc64-tdep.c: Likewise.
1729 * sparc64fbsd-tdep.c: Likewise.
1730 * sparc64nbsd-tdep.c: Likewise.
1731 * sparc64obsd-tdep.c: Likewise.
1732 * sparcnbsd-tdep.c: Likewise.
1733 * sparcobsd-tdep.c: Likewise.
1734 * spu-multiarch.c: Likewise.
1735 * spu-tdep.c: Likewise.
1736 * stabsread.c: Likewise.
1737 * stack.c: Likewise.
1738 * symfile.c: Likewise.
1739 * symtab.c: Likewise.
1740 * target-descriptions.c: Likewise.
1741 * target-memory.c: Likewise.
1742 * target.c: Likewise.
1743 * tic6x-linux-tdep.c: Likewise.
1744 * tic6x-tdep.c: Likewise.
1745 * tilegx-linux-nat.c: Likewise.
1746 * tilegx-tdep.c: Likewise.
1747 * top.c: Likewise.
1748 * tramp-frame.c: Likewise.
1749 * tui/tui-out.c: Likewise.
1750 * tui/tui-winsource.c: Likewise.
1751 * ui-out.c: Likewise.
1752 * user-regs.c: Likewise.
1753 * utils.c: Likewise.
1754 * v850-tdep.c: Likewise.
1755 * valops.c: Likewise.
1756 * value.c: Likewise.
1757 * varobj.c: Likewise.
1758 * vax-nat.c: Likewise.
1759 * xml-syscall.c: Likewise.
1760 * xml-tdesc.c: Likewise.
1761 * xstormy16-tdep.c: Likewise.
1762 * xtensa-linux-nat.c: Likewise.
1763 * xtensa-tdep.c: Likewise.
1764
1765 2014-08-07 Gary Benson <gbenson@redhat.com>
1766
1767 * common/common-defs.h: Include common-utils.h.
1768 * defs.h: Do not include common-utils.h.
1769 * common/gdb_assert.h: Likewise.
1770 * darwin-nat.h: Likewise.
1771 * nat/linux-btrace.c: Likewise.
1772 * target/waitstatus.h: Likewise.
1773
1774 2014-08-07 Gary Benson <gbenson@redhat.com>
1775
1776 * common/common-defs.h: Include ptid.h.
1777 * defs.h: Do not include ptid.h.
1778 * inferior.h: Likewise.
1779 * infrun.h: Likewise.
1780 * nat/linux-btrace.h: Likewise.
1781 * nat/linux-osdata.h: Likewise.
1782 * target/waitstatus.h: Likewise.
1783
1784 2014-08-07 Gary Benson <gbenson@redhat.com>
1785
1786 * common/common-defs.h: Include gdb_locale.h.
1787 * defs.h: Do not include gdb_locale.h.
1788
1789 2014-08-07 Gary Benson <gbenson@redhat.com>
1790
1791 * common/common-defs.h: Include gdb/signals.h.
1792 * defs.h: Do not include gdb/signals.h.
1793
1794 2014-08-07 Gary Benson <gbenson@redhat.com>
1795
1796 * common/common-defs.h: Include pathmax.h.
1797 * defs.h: Do not include pathmax.h.
1798
1799 2014-08-07 Gary Benson <gbenson@redhat.com>
1800
1801 * common/common-defs.h: Include libiberty.h.
1802 * defs.h: Do not include libiberty.h.
1803 * common/queue.h: Likewise.
1804 * cp-name-parser.y: Likewise.
1805 * mi/mi-cmd-catch.c: Likewise.
1806 * python/python.c: Likewise.
1807
1808 2014-08-07 Gary Benson <gbenson@redhat.com>
1809
1810 * common/common-defs.h: Include ansidecl.h.
1811 * defs.h: Do not include ansidecl.h.
1812 * common/buffer.h: Likewise.
1813 * common/common-utils.h: Likewise.
1814
1815 2014-08-07 Gary Benson <gbenson@redhat.com>
1816
1817 * common/common-defs.h: Include stddef.h.
1818 * defs.h: Do not include stddef.h.
1819 * common/common-utils.h: Likewise.
1820 * amd64fbsd-nat.c: Likewise.
1821 * bcache.c: Likewise.
1822 * charset.c: Likewise.
1823 * common/buffer.h: Likewise.
1824 * common/vec.h: Likewise.
1825 * i386bsd-nat.c: Likewise.
1826 * nat/linux-btrace.h: Likewise.
1827 * ppcfbsd-nat.c: Likewise.
1828 * ppcnbsd-tdep.h: Likewise.
1829 * ppcobsd-nat.c: Likewise.
1830 * ppcobsd-tdep.h: Likewise.
1831 * python/py-gdb-readline.c: Likewise.
1832
1833 2014-08-07 Gary Benson <gbenson@redhat.com>
1834
1835 * common/common-defs.h: Include stdarg.h.
1836 * defs.h: Do not include stdarg.h.
1837 * ada-lang.c: Likewise.
1838 * common/common-utils.h: Likewise.
1839 * guile/scm-string.c: Likewise.
1840 * guile/scm-utils.c: Likewise.
1841 * m32c-tdep.c: Likewise.
1842
1843 2014-08-07 Gary Benson <gbenson@redhat.com>
1844
1845 * common/common-defs.h: Include stdlib.h.
1846 * defs.h: Do not include stdlib.h.
1847 * addrmap.c: Likewise.
1848 * bcache.c: Likewise.
1849 * common/buffer.c: Likewise.
1850 * common/common-utils.c: Likewise.
1851 * cp-name-parser.y: Likewise.
1852 * go32-nat.c: Likewise.
1853 * mn10300-linux-tdep.c: Likewise.
1854 * nat/linux-osdata.c: Likewise.
1855 * tui/tui.c: Likewise.
1856 * windows-nat.c: Likewise.
1857
1858 2014-08-07 Gary Benson <gbenson@redhat.com>
1859
1860 * common/common-defs.h: Include stdio.h.
1861 * defs.h: Do not include stdio.h.
1862 * ada-lang.c: Likewise.
1863 * common/buffer.c: Likewise.
1864 * common/common-utils.c: Likewise.
1865 * cp-name-parser.y: Likewise.
1866 * gnu-nat.c: Likewise.
1867 * go32-nat.c: Likewise.
1868 * i386gnu-nat.c: Likewise.
1869 * proc-api.c: Likewise.
1870 * proc-events.c: Likewise.
1871 * proc-flags.c: Likewise.
1872 * proc-why.c: Likewise.
1873 * python/python-internal.h: Likewise.
1874 * target-memory.c: Likewise.
1875 * tui/tui-io.c: Likewise.
1876 * tui/tui.c: Likewise.
1877
1878 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1879
1880 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1881 (scan_dyntag_auxv): Same.
1882
1883 2014-08-06 Yao Qi <yao@codesourcery.com>
1884
1885 * amd64-linux-nat.c: Remove duplicated include
1886 "x86-linux-nat.h".
1887 * i386-linux-nat.c: Likewise.
1888
1889 2014-08-06 Yao Qi <yao@codesourcery.com>
1890
1891 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1892 operand" with "Special opcode" in comments.
1893
1894 2014-08-05 Gary Benson <gbenson@redhat.com>
1895
1896 * interps.c (initialize_interps): Remove prototype.
1897 (interpreter_initialized): Remove static global.
1898 (interp_add): Do not call initialize_interps.
1899 (initialize_interps): Remove function.
1900
1901 2014-08-05 Gary Benson <gbenson@redhat.com>
1902
1903 * utils.c (vwarning): Remove spurious va_end.
1904
1905 2014-08-05 Alan Modra <amodra@gmail.com>
1906
1907 * charset.c (convert_between_encodings): Cast result of obstack_base.
1908 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1909 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1910 (read_unwind_info): Use size_t for some locals.
1911 * jit.c (finalize_symtab): Likewise.
1912 * utils.c (hashtab_obstack_allocate): Likewise.
1913 * symmisc.c (print_objfile_statistics): Update format strings.
1914
1915 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1916
1917 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1918 (Changes in GDB 7.8): ... here.
1919
1920 2014-08-04 Tom Tromey <tromey@redhat.com>
1921
1922 * target.c (set_targetdebug): New function.
1923 (initialize_targets): Pass set_targetdebug when creating "set
1924 debug target".
1925
1926 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1927
1928 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1929 if detecting a variable-sized field that is not the last field.
1930 Fix struct type length computation.
1931
1932 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1933
1934 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1935 Add debug trace.
1936
1937 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1938
1939 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1940 Remove "+ 8" offset in computation of CHAIN_VMA.
1941
1942 2014-07-31 Doug Evans <dje@google.com>
1943
1944 * inflow.c (child_terminal_inferior): Add comment.
1945 (child_terminal_ours_for_output): Add comment.
1946 (child_terminal_ours): Add comment.
1947 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1948 (linux_nat_terminal_ours): Add comment.
1949
1950 2014-07-31 Gary Benson <gbenson@redhat.com>
1951
1952 * common/btrace-common.h: Do not include defs.h or server.h.
1953 * nat/mips-linux-watch.h: Likewise.
1954 * gdb-dlfcn.h: Do not include defs.h.
1955 * tracefile.h: Likewise.
1956
1957 2014-07-30 Roland McGrath <mcgrathr@google.com>
1958
1959 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1960
1961 2014-07-30 Tom Tromey <tromey@redhat.com>
1962
1963 * bsd-kvm.c (bsd_kvm_open): Constify.
1964 * corelow.c (core_open): Constify.
1965 * ctf.c (ctf_open): Constify.
1966 * dbug-rom.c (dbug_open): Constify.
1967 * exec.c (exec_open): Constify.
1968 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1969 * microblaze-rom.c (picobug_open): Constify.
1970 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1971 Constify.
1972 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1973 * record-btrace.c (record_btrace_open): Constify.
1974 * record-full.c (record_full_core_open_1, record_full_open_1)
1975 (record_full_open): Constify.
1976 * remote-m32r-sdi.c (m32r_open): Constify.
1977 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1978 (rockhopper_open, lsi_open): Constify.
1979 * remote-sim.c (gdbsim_open): Constify.
1980 * remote.c (remote_open, extended_remote_open, remote_open_1):
1981 Constify.
1982 * target.h (struct target_ops) <to_open>: Make "arg" const.
1983 * tracefile-tfile.c (tfile_open): Constify.
1984
1985 2014-07-30 Tom Tromey <tromey@redhat.com>
1986
1987 * breakpoint.c (map_breakpoint_numbers): Update.
1988 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1989 (get_number_const): New function.
1990 (get_number): Rewrite using get_number_const.
1991 (init_number_or_range): Make "string" const.
1992 (number_is_in_list): Make "list" const.
1993 * cli/cli-utils.h (get_number_const): Declare.
1994 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1995 (init_number_or_range, number_is_in_list): Update.
1996 * printcmd.c (map_display_numbers): Update.
1997 * value.c (value_from_history_ref): Constify.
1998 * value.h (value_from_history_ref): Update.
1999
2000 2014-07-30 Tom Tromey <tromey@redhat.com>
2001
2002 * corefile.c (hook_type, call_extra_exec_file_hooks)
2003 (specify_exec_file_hook): Constify.
2004 * exec.c (exec_file_attach): Make "filename" const.
2005 * gdbcore.h (deprecated_exec_file_display_hook)
2006 (specify_exec_file_hook, exec_file_attach): Constify.
2007 * main.c (captured_main): Use catch_command_errors_const.
2008
2009 2014-07-30 Tom Tromey <tromey@redhat.com>
2010
2011 * target.c (open_target): New function.
2012 (add_target_with_completer, add_deprecated_target_alias): Use
2013 set_cmd_sfunc, set_cmd_context.
2014 (debug_to_open): Remove.
2015 (setup_target_debug): Update.
2016
2017 2014-07-30 Yao Qi <yao@codesourcery.com>
2018
2019 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2020 comments.
2021 * parse.c (exp_iterate): Update comments.
2022
2023 2014-07-30 Gary Benson <gbenson@redhat.com>
2024
2025 * common/common-defs.h: New file.
2026 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2027 * defs.h: Include common-defs.h.
2028 Do not include config.h or build-gnulib/config.h.
2029
2030 2014-07-30 Gary Benson <gbenson@redhat.com>
2031
2032 * common/common-utils.h: Do not include config.h.
2033 * nat/linux-btrace.h: Likewise.
2034
2035 2014-07-30 Gary Benson <gbenson@redhat.com>
2036
2037 * btrace.c: Include defs.h.
2038 * common/ptid.c: Include defs.h or server.h as appropriate.
2039 * nat/mips-linux-watch.c: Likewise.
2040
2041 2014-07-29 Tom Tromey <tromey@redhat.com>
2042
2043 * target.c (target_is_pushed): Simplify.
2044
2045 2014-07-29 Joel Brobecker <brobecker@adacore.com>
2046
2047 GDB 7.8 released.
2048
2049 2014-07-29 Yao Qi <yao@codesourcery.com>
2050
2051 PR gdb/17206
2052 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2053
2054 2014-07-28 Doug Evans <xdje42@gmail.com>
2055
2056 PR guile/17203
2057 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2058 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2059 parameters.
2060
2061 2014-07-28 Will Newton <will.newton@linaro.org>
2062
2063 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2064 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2065 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2066 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2067 (THUMB2_EABI_SYSCALL): Likewise.
2068 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2069 struct tramp_frame.
2070 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2071 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2072
2073 2014-07-27 Doug Evans <xdje42@gmail.com>
2074
2075 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2076
2077 2014-07-27 Doug Evans <xdje42@gmail.com>
2078
2079 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2080
2081 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2082 Doug Evans <xdje42@gmail.com>
2083
2084 PR guile/17146
2085 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2086 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2087 * configure.ac: Try to use guild to compile an scm file, if it fails
2088 then disable guile support.
2089 * configure: Regenerate.
2090 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2091 GUILE_FILE_LIST.
2092 (GUILE_COMPILED_FILES): New variable.
2093 (GUILE_FILES) Update.
2094 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2095 (stamp-guile): Compile scm files.
2096 * guile/guile.c (boot_guile_support): New function.
2097 (standard_throw_args_p): New function.
2098 (print_standard_throw_error, print_throw_error): New functions.
2099 (handle_boot_error): New function.
2100 (initialize_scheme_side): Rewrite to call boot_guile_support.
2101 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2102 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2103
2104 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2105 Doug Evans <xdje42@gmail.com>
2106
2107 PR guile/17146
2108 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2109 * guile/lib/gdb/support.scm: New file.
2110 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2111 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2112 All uses updated.
2113 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2114 All uses updated.
2115 (%assert-type): Ditto, and renamed to assert-type.
2116 (%exception-print-style): Delete.
2117
2118 2014-07-26 Doug Evans <xdje42@gmail.com>
2119
2120 PR build/17105
2121 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2122 * configure: Regenerate.
2123 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2124 PYTHON_FILES.
2125 (PYTHON_FILES): New variable.
2126 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2127 (GUILE_FILES): New variable.
2128 (stamp-python, install-python, uninstall-python): Handle empty
2129 file list.
2130 (stamp-guile, install-guile, uninstall-guile): Ditto.
2131
2132 2014-07-26 Doug Evans <xdje42@gmail.com>
2133
2134 PR guile/17177
2135 * guile/lib/gdb.scm (pretty-printers): Export.
2136 (set-pretty-printers!): Export.
2137 * guile/lib/gdb/printing.scm (gdb module): Update.
2138 (prepend-pretty-printer!, append-pretty-printer!): Update.
2139 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2140 (pretty_printer_list_var): Delete.
2141 (pretty_printer_list): New static global.
2142 (gdbscm_pretty_printers): New function.
2143 (gdbscm_set_pretty_printers_x): New function.
2144 (ppscm_find_pretty_printer_from_gdb): Update.
2145 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2146 (gdbscm_initialize_pretty_printers): Update.
2147
2148 2014-07-26 Doug Evans <xdje42@gmail.com>
2149
2150 PR 17185
2151 * configure.ac: Add check for header gc/gc.h.
2152 Add check for function setenv.
2153 * configure: Regenerate.
2154 * config.in: Regenerate.
2155 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2156
2157 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2158
2159 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2160 variation in gdbarch matching.
2161
2162 2014-07-25 Tom Tromey <tromey@redhat.com>
2163
2164 * exec.c (using_exec_ops): Remove.
2165 (exec_close_1): Update. Remove extraneous block, reindent.
2166 (add_target_sections): Use target_is_pushed.
2167
2168 2014-07-25 Pedro Alves <palves@redhat.com>
2169
2170 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2171 * monitor.c (monitor_create_inferior): Likewise.
2172 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2173 * remote-sim.c (gdbsim_create_inferior): Likewise.
2174 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2175 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2176 * windows-nat.c (do_initial_windows_stuff): Likewise.
2177
2178 2014-07-25 Pedro Alves <palves@redhat.com>
2179
2180 * NEWS: Mention signal passing and "signal" command changes.
2181 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2182 comment.
2183 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2184 call.
2185 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2186 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2187 (jump_command): Adjust clear_proceed_status call.
2188 (signal_command): Warn if other thread that are resumed have
2189 signals that will be delivered. Adjust clear_proceed_status call.
2190 (until_next_command, finish_command)
2191 (proceed_after_attach_callback, attach_command_post_wait)
2192 (attach_command): Adjust clear_proceed_status call.
2193 * infrun.c (proceed_after_vfork_done): Likewise.
2194 (proceed_after_attach_callback): Adjust comment.
2195 (clear_proceed_status_thread): Clear stop_signal if not in pass
2196 state.
2197 (clear_proceed_status_callback): Delete.
2198 (clear_proceed_status): New 'step' parameter. Only clear the
2199 proceed status of threads the command being prepared is about to
2200 resume.
2201 (proceed): If passed in an explicit signal, override stop_signal
2202 with it. Don't pass the last stop signal to the thread we're
2203 resuming.
2204 (init_wait_for_inferior): Adjust clear_proceed_status call.
2205 (switch_back_to_stepped_thread): Clear the signal if it should not
2206 be passed.
2207 * infrun.h (clear_proceed_status): New 'step' parameter.
2208 (user_visible_resume_ptid): Add comment.
2209 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2210 signal is in pass state.
2211 * remote.c (append_pending_thread_resumptions): Likewise.
2212 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2213
2214 2014-07-25 Tom Tromey <tromey@redhat.com>
2215
2216 * target.h (target_stopped_data_address)
2217 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2218 parentheses.
2219
2220 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2221
2222 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2223 comments.
2224 (avr_pointer_to_address): Likewise.
2225
2226 2014-07-24 Tom Tromey <tromey@redhat.com>
2227
2228 * monitor.c (compile_pattern): Update.
2229 * target.h (struct target_ops) <to_shortname, to_longname,
2230 to_doc>: Now const.
2231
2232 2014-07-24 Tom Tromey <tromey@redhat.com>
2233
2234 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2235 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2236 (add_info_alias, add_com): Make "doc" const.
2237 (print_doc_line): Make "str" const.
2238 (delete_cmd): Update.
2239 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2240 (print_doc_line): Update.
2241 * cli/cli-script.c (document_command): Update.
2242 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2243 (add_com, add_info, add_info_alias): Update.
2244 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2245 * python/py-cmd.c (cmdpy_destroyer): Update.
2246
2247 2014-07-24 Tom Tromey <tromey@redhat.com>
2248
2249 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2250 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2251 (help_cmd_list): Constify.
2252 (lookup_cmd): Update.
2253 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2254 const.
2255 (help_cmd_list, apropos_cmd): Update.
2256 * cli/cli-script.c (show_user): Update.
2257 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2258 * cli/cli-setshow.h (cmd_show_list): Update.
2259 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2260 (cmd_show_list): Update.
2261 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2262 * python/py-cmd.c (cmdpy_destroyer): Update.
2263
2264 2014-07-24 Tom Tromey <tromey@redhat.com>
2265
2266 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2267 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2268 const.
2269 * command.h (deprecate_cmd): Update.
2270 * maint.c (maintenance_do_deprecate): Add casts.
2271
2272 2014-07-24 Tom Tromey <tromey@redhat.com>
2273
2274 * cli/cli-decode.c (help_cmd): Make parameter "const".
2275 * cli/cli-decode.h (help_cmd): Update.
2276
2277 2014-07-24 Tom Tromey <tromey@redhat.com>
2278
2279 * stack.c (up_silently_base, down_silently_base): Make argument
2280 const.
2281
2282 2014-07-24 Tom Tromey <tromey@redhat.com>
2283
2284 * solib.c (solib_add): Make "pattern" const.
2285 * solib.h (solib_add): Update.
2286
2287 2014-07-24 Tom Tromey <tromey@redhat.com>
2288
2289 * remote.c (remote_serial_open, print_packet, putpkt)
2290 (putpkt_binary): Constify.
2291 * remote.h (putpkt): Update.
2292
2293 2014-07-24 Tom Tromey <tromey@redhat.com>
2294
2295 * monitor.c (monitor_open): Make "args" const.
2296 * monitor.h (monitor_open): Update.
2297
2298 2014-07-24 Tom Tromey <tromey@redhat.com>
2299
2300 * maint.c (match_bfd_flags): Make "string" const.
2301 (print_bfd_section_info): Remove casts.
2302 (print_objfile_section_info): Make "string" const.
2303
2304 2014-07-24 Tom Tromey <tromey@redhat.com>
2305
2306 * inf-child.c (inf_child_open_target): Make "arg" const.
2307 * inf-child.h (inf_child_open_target): Update.
2308
2309 2014-07-24 Tom Tromey <tromey@redhat.com>
2310
2311 * environ.c (unset_in_environ): Make "var" const.
2312 * environ.h (unset_in_environ): Update.
2313
2314 2014-07-24 Tom Tromey <tromey@redhat.com>
2315
2316 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2317 Make "cmd" const.
2318 (scan_filename_with_cleanup): Likewise.
2319 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2320 Make arguments const.
2321 (restore_command): Update.
2322
2323 2014-07-24 Pedro Alves <palves@redhat.com>
2324
2325 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2326
2327 2014-07-24 Tom Tromey <tromey@redhat.com>
2328 Gary Benson <gbenson@redhat.com>
2329
2330 * nat/linux-ptrace.c (additional_flags): New global.
2331 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2332 additional_flags; don't check GDBSERVER.
2333 (linux_ptrace_set_additional_flags): New function.
2334 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2335 Declare.
2336 * linux-nat.c (_initialize_linux_nat): Call
2337 linux_ptrace_set_additional_flags.
2338
2339 2014-07-24 Tom Tromey <tromey@redhat.com>
2340
2341 * make-target-delegates (munge_type, write_debugmethod): New
2342 functions.
2343 (debug_names): New global.
2344 ($TARGET_DEBUG_PRINTER): New global.
2345 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2346 name.
2347 Write debug methods. Generate init_debug_target.
2348 * target-debug.h: New file.
2349 * target-delegates.c: Rebuild.
2350 * target.c: Include target-debug.h.
2351 (debug_target): Hoist definition.
2352 (target_kill, target_get_section_table, target_memory_map)
2353 (target_flash_erase, target_flash_done, target_detach)
2354 (target_disconnect, target_wait, target_resume)
2355 (target_pass_signals, target_program_signals, target_follow_fork)
2356 (target_mourn_inferior, target_search_memory)
2357 (target_thread_address_space, target_close)
2358 (target_find_new_threads, target_core_of_thread)
2359 (target_verify_memory, target_insert_mask_watchpoint)
2360 (target_remove_mask_watchpoint): Remove targetdebug code.
2361 (debug_to_post_attach, debug_to_prepare_to_store)
2362 (debug_to_files_info, debug_to_insert_breakpoint)
2363 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2364 (debug_to_region_ok_for_hw_watchpoint)
2365 (debug_to_can_accel_watchpoint_condition)
2366 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2367 (debug_to_watchpoint_addr_within_range)
2368 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2369 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2370 (debug_to_terminal_init, debug_to_terminal_inferior)
2371 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2372 (debug_to_terminal_save_ours, debug_to_terminal_info)
2373 (debug_to_load, debug_to_post_startup_inferior)
2374 (debug_to_insert_fork_catchpoint)
2375 (debug_to_remove_fork_catchpoint)
2376 (debug_to_insert_vfork_catchpoint)
2377 (debug_to_remove_vfork_catchpoint)
2378 (debug_to_insert_exec_catchpoint)
2379 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2380 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2381 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2382 (setup_target_debug): Call init_debug_target.
2383 * target.h (TARGET_DEBUG_PRINTER): New macro.
2384 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2385 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2386
2387 2014-07-24 Gary Benson <gbenson@redhat.com>
2388
2389 * exceptions.h (throw_vfatal): Renamed to...
2390 (throw_vquit): New declaration.
2391 (throw_quit): Likewise.
2392 * exceptions.c (throw_vfatal): Renamed to...
2393 (throw_vquit): New function.
2394 (throw_quit): Likewise.
2395 (throw_error): Call throw_verror rather than throw_it.
2396 * utils.h (vfatal): Removed.
2397 (fatal): Likewise.
2398 * utils.c (vfatal): Removed.
2399 (fatal): Likewise.
2400 (internal_verror): Replaced call to fatal with call to throw_quit.
2401 (quit): Replaced calls to fatal with calls to throw_quit.
2402
2403 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2404
2405 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2406 target_read_code.
2407
2408 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2409
2410 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2411 less than zero in conditional expression.
2412
2413 2014-07-23 Tom Tromey <tromey@redhat.com>
2414
2415 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2416 ($INTRO_PART): Don't match whitespace.
2417 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2418 argument matching.
2419 ($METHOD): Add $METHOD_TRAILER.
2420 (trim): Rewrite.
2421 (scan_target_h): New sub.
2422 Change main loop not to collect state.
2423 * target-delegates.c: Rebuild.
2424
2425 2014-07-23 Gary Benson <gbenson@redhat.com>
2426
2427 * cp-support.c (gdb_demangle): Fix build on systems without
2428 sigaltstack.
2429
2430 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2433 for reference entry value target data value.
2434
2435 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2438 value_available_contents_eq.
2439
2440 2014-07-22 Pedro Alves <palves@redhat.com>
2441
2442 * value.c (allocate_optimized_out_value): Don't mark value as
2443 non-lazy.
2444
2445 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2446
2447 * MAINTAINERS (Write After Approval): Update my email address.
2448
2449 2014-07-20 Doug Evans <dje@google.com>
2450
2451 PR server/17147
2452 * remote.c (putpkt_binary): Add text to error message.
2453
2454 2014-07-20 Yao Qi <yao@codesourcery.com>
2455
2456 * eval.c: Remove "Chill" from comments.
2457 * gdbtypes.h: Likewise.
2458 * symtab.h: Likewise.
2459
2460 2014-07-20 Yao Qi <yao@codesourcery.com>
2461
2462 * std-operator.def: Update comments to TERNOP_SLICE.
2463
2464 2014-07-20 Yao Qi <yao@codesourcery.com>
2465
2466 * std-operator.def: Remove BINOP_RANGE.
2467 * breakpoint.c (watchpoint_exp_is_const): Update.
2468 * expprint.c (dump_subexp_body_standard): Likewise.
2469 * eval.c (init_array_element): Remove dead code.
2470 (evaluate_subexp_standard): Likewise.
2471
2472 2014-07-20 Yao Qi <yao@codesourcery.com>
2473
2474 * std-operator.def: Remove BINOP_IN.
2475 * breakpoint.c (watchpoint_exp_is_const): Update.
2476 * eval.c (evaluate_subexp_standard): Likewise.
2477 * expprint.c (dump_subexp_body_standard): Likewise.
2478
2479 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2480
2481 * microblaze-tdep.c (microblaze_register_names): Add
2482 the rshr and rslr register names.
2483 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2484 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2485 Use of tdesc_numbered_register. Use of
2486 microblaze_register_g_packet_guesses. Use of
2487 tdesc_use_registers. Use of set_gdbarch_register_type.
2488 (microblaze_register_g_packet_guesses): New.
2489 * microblaze-tdep.h (microblaze_reg_num): Add
2490 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2491 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2492 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2493 * features/microblaze-core.xml: New file.
2494 * features/microblaze-stack-protect.xml: New file.
2495 * features/microblaze-with-stack-protect.c: New file.
2496 * features/microblaze-with-stack-protect.xml: New file.
2497 * features/microblaze.xml: New file.
2498 * features/microblaze.c: New file.
2499 * features/Makefile (microblaze-with-stack-protect): Add
2500 microblaze-with-stack-protect microblaze and microblaze-expedite.
2501 * regformats/microblaze-with-stack-protect.dat: New file.
2502 * regformats/microblaze.dat: New file.
2503 * doc/gdb.texinfo (MicroBlaze Features): Added.
2504
2505 2014-07-18 Tom Tromey <tromey@redhat.com>
2506
2507 * exec.c (exec_ops): Now static.
2508 * exec.h (exec_ops): Don't declare.
2509
2510 2014-07-18 Tom Tromey <tromey@redhat.com>
2511
2512 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2513 to find_target_beneath.
2514 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2515 find_target_beneath.
2516 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2517
2518 2014-07-18 Tom Tromey <tromey@redhat.com>
2519
2520 PR gdb/17130:
2521 * utils.c (quit): Use target_supports_terminal_ours.
2522 * target.h (target_supports_terminal_ours): Declare.
2523 * target.c (target_supports_delete_record): Don't check
2524 to_delete_record against NULL.
2525 (target_supports_terminal_ours): New function.
2526
2527 2014-07-18 Tom Tromey <tromey@redhat.com>
2528
2529 PR gdb/17130:
2530 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2531 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2532 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2533 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2534 * windows-nat.c (windows_xfer_partial): Always delegate.
2535 * record-btrace.c (record_btrace_xfer_partial): Simplify
2536 delegation.
2537 (record_btrace_fetch_registers, record_btrace_store_registers)
2538 (record_btrace_prepare_to_store, record_btrace_resume)
2539 (record_btrace_wait, record_btrace_find_new_threads)
2540 (record_btrace_thread_alive): Likewise.
2541 * procfs.c (procfs_xfer_partial): Always delegate.
2542 * corelow.c (core_xfer_partial): Always delegate.
2543 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2544
2545 2014-07-18 Tom Tromey <tromey@redhat.com>
2546
2547 * exec.c (exec_make_note_section): Move earlier.
2548
2549 2014-07-17 Doug Evans <dje@google.com>
2550
2551 PR gdb/17170
2552 * maint.c (count_symtabs_and_blocks): Handle NULL
2553 current_program_space.
2554 (report_command_stats): Check global enabled flag in addition to
2555 recorded enabled flag.
2556 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2557
2558 2014-07-16 Pedro Alves <palves@redhat.com>
2559
2560 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2561
2562 2014-07-16 Tom Tromey <tromey@redhat.com>
2563
2564 * target.h (struct target_ops) <to_delete_record>: Reformat
2565 comment.
2566
2567 2014-07-16 Tom Tromey <tromey@redhat.com>
2568
2569 * target-delegates.c: Rebuild.
2570
2571 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2572
2573 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2574 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2575 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2576 (avr_pointer_to_address): Likewise.
2577 (avr_address_class_type_flags): New function.
2578 (avr_address_class_type_flags_to_name): Likewise.
2579 (avr_address_class_name_to_type_flags): Likewise.
2580 (avr_gdbarch_init): Set address_class_type_flags,
2581 address_class_type_flags_to_name and
2582 address_class_name_to_type_flags.
2583
2584 2014-07-15 Pedro Alves <palves@redhat.com>
2585
2586 * linux-nat.c (kill_callback): Save errno and work with saved
2587 copy.
2588
2589 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2590
2591 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2592
2593 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2594
2595 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2596 breakpoint support correctly.
2597
2598 2014-07-14 Pedro Alves <palves@redhat.com>
2599
2600 * utils.c (prompt_for_continue): Call target_terminal_ours.
2601
2602 2014-07-14 Pedro Alves <palves@redhat.com>
2603
2604 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2605 catch_errors. Don't re-enable stdin or notify observers where,
2606 and rethrow error.
2607 (fetch_inferior_event_wrapper): Delete.
2608
2609 2014-07-14 Pedro Alves <palves@redhat.com>
2610
2611 PR gdb/17072
2612 * top.c: Include "inf-loop.h".
2613 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2614 field.
2615 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2616 was async before.
2617 (gdb_readline_wrapper): Store whether the target is async, and
2618 make it sync.
2619
2620 2014-07-14 Pedro Alves <palves@redhat.com>
2621
2622 PR gdb/17072
2623 * top.c (gdb_readline_wrapper_line): Tweak comment.
2624 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2625 the input handler callback.
2626
2627 2014-07-14 Pedro Alves <palves@redhat.com>
2628
2629 PR gdb/17072
2630 * main.c: Include event-top.h.
2631 (handle_command_errors): New function.
2632 (catch_command_errors, catch_command_errors_const): Use it.
2633
2634 2014-07-14 Pedro Alves <palves@redhat.com>
2635
2636 * exceptions.c (catch_command_errors, catch_command_errors_const):
2637 Moved to main.c.
2638 * exceptions.h (catch_command_errors_ftype)
2639 (catch_command_errors_const_ftype): Moved to main.c.
2640 (catch_command_errors, catch_command_errors_const): Delete
2641 declarations.
2642 * main.c (catch_command_errors_ftype)
2643 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2644 (catch_command_errors, catch_command_errors_const)): Moved here
2645 from exceptions.c and make static.
2646
2647 2014-07-14 Pedro Alves <palves@redhat.com>
2648
2649 * exceptions.c (print_any_exception): Delete.
2650 (catch_exceptions_with_msg): Use exception_print instead of
2651 print_any_exception.
2652 (catch_errors): Use exception_fprintf instead of
2653 print_any_exception.
2654 (catch_command_errors, catch_command_errors_const): Use
2655 exception_print instead of print_any_exception.
2656
2657 2014-07-14 Pedro Alves <palves@redhat.com>
2658
2659 * infcall.c (run_inferior_call): Set 'sync_execution' while
2660 running the inferior call.
2661
2662 2014-07-14 Pedro Alves <palves@redhat.com>
2663
2664 * value.c (value_contents_equal): Delete function.
2665 * value.h (value_contents_equal): Delete declaration.
2666
2667 2014-07-14 Tom Tromey <tromey@redhat.com>
2668
2669 PR exp/17106:
2670 * gdbtypes.c (is_dynamic_type_internal): New function, from
2671 is_dynamic_type.
2672 (is_dynamic_type): Rewrite.
2673 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2674 (resolve_dynamic_struct): Likewise.
2675 (resolve_dynamic_type_internal): New function, from
2676 resolve_dynamic_type.
2677 (resolve_dynamic_type): Rewrite.
2678
2679 2014-07-14 Tom Tromey <tromey@redhat.com>
2680
2681 * target.c (target_require_runnable): Also check record_stratum.
2682 Update comment.
2683
2684 2014-07-11 Yao Qi <yao@codesourcery.com>
2685
2686 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2687 thumb_instruction_restores_sp return true.
2688
2689 2014-07-11 Yao Qi <yao@codesourcery.com>
2690
2691 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2692 (thumb_in_function_epilogue_p): Call
2693 thumb_instruction_restores_sp.
2694
2695 2014-07-11 Yao Qi <yao@codesourcery.com>
2696
2697 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2698 'add sp, #imm'.
2699 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2700
2701 2014-07-11 Gary Benson <gbenson@redhat.com>
2702
2703 * amd64-linux-nat.c (gdbcore.h): Remove include.
2704 (regset.h): Likewise.
2705 (nat/linux-btrace.h): Likewise.
2706 (btrace.h): Likewise.
2707 (gdb_assert.h): Likewise.
2708 (string.h): Likewise.
2709 (sys/uio.h): Likewise.
2710 (sys/debugreg.h): Likewise.
2711 (sys/syscall.h): Likewise.
2712 (sys/procfs.h): Likewise.
2713 (sys/user.h): Likewise.
2714 (asm/ptrace.h): Likewise.
2715 (i386-nat.h): Likewise.
2716 * i386-linux-nat.c (i386-nat.h): Likewise.
2717 (regset.h): Likewise.
2718 (target.h): Likewise.
2719 (linux-nat.h): Likewise.
2720 (nat/linux-btrace.h): Likewise.
2721 (btrace.h): Likewise.
2722 (gdb_assert.h): Likewise.
2723 (string.h): Likewise.
2724 (sys/uio.h): Likewise.
2725 (sys/user.h): Likewise.
2726 (sys/procfs.h): Likewise.
2727 (sys/reg.h): Likewise.
2728 (sys/debugreg.h): Likewise.
2729 (ORIG_EAX): Remove definition.
2730
2731 2014-07-11 Gary Benson <gbenson@redhat.com>
2732
2733 * i386-linux-nat.h: New file.
2734 * x86-linux-nat.h: Likewise.
2735 * x86-linux-nat.c: Likewise.
2736 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2737 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2738 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2739 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2740 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2741 (PTRACE_SETREGSET): Likewise.
2742 (arch_lwp_info): Now in x86-linux-nat.c.
2743 (have_ptrace_getregset): Now in x86-linux-nat.h.
2744 (x86_linux_dr_get): Now in x86-linux-nat.c.
2745 (x86_linux_dr_set): Likewise.
2746 (x86_linux_dr_get_addr): Likewise.
2747 (x86_linux_dr_get_control): Likewise.
2748 (x86_linux_dr_get_status): Likewise.
2749 (update_debug_registers_callback): Likewise.
2750 (x86_linux_dr_set_control): Likewise.
2751 (x86_linux_dr_set_addr): Likewise.
2752 (x86_linux_prepare_to_resume): Likewise.
2753 (x86_linux_new_thread): Likewise.
2754 (x86_linux_new_fork): Likewise.
2755 (x86_linux_get_thread_area): Likewise.
2756 (super_post_startup_inferior): Likewise.
2757 (x86_linux_child_post_startup_inferior): Likewise.
2758 (AMD64_LINUX_USER64_CS): Likewise.
2759 (AMD64_LINUX_X32_DS): Likewise.
2760 (x86_linux_read_description): Likewise.
2761 (x86_linux_enable_btrace): Likewise.
2762 (x86_linux_disable_btrace): Likewise.
2763 (x86_linux_teardown_btrace): Likewise.
2764 (x86_linux_read_btrace): Likewise.
2765 (x86_linux_create_target): Likewise.
2766 (x86_linux_add_target): Likewise.
2767 * i386-linux-nat.c (x86-linux-nat.h): New include.
2768 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2769 (PTRACE_SETREGSET): Likewise.
2770 (arch_lwp_info): Now in x86-linux-nat.c.
2771 (have_ptrace_getregset): Now in x86-linux-nat.h.
2772 (x86_linux_dr_get): Now in x86-linux-nat.c.
2773 (x86_linux_dr_set): Likewise.
2774 (x86_linux_dr_get_addr): Likewise.
2775 (x86_linux_dr_get_control): Likewise.
2776 (x86_linux_dr_get_status): Likewise.
2777 (update_debug_registers_callback): Likewise.
2778 (x86_linux_dr_set_control): Likewise.
2779 (x86_linux_dr_set_addr): Likewise.
2780 (x86_linux_prepare_to_resume): Likewise.
2781 (x86_linux_new_thread): Likewise.
2782 (x86_linux_new_fork): Likewise.
2783 (x86_linux_get_thread_area): Likewise.
2784 (super_post_startup_inferior): Likewise.
2785 (x86_linux_child_post_startup_inferior): Likewise.
2786 (AMD64_LINUX_USER64_CS): Likewise.
2787 (AMD64_LINUX_X32_DS): Likewise.
2788 (x86_linux_read_description): Likewise.
2789 (x86_linux_enable_btrace): Likewise.
2790 (x86_linux_disable_btrace): Likewise.
2791 (x86_linux_teardown_btrace): Likewise.
2792 (x86_linux_read_btrace): Likewise.
2793 (x86_linux_create_target): Likewise.
2794 (x86_linux_add_target): Likewise.
2795
2796 2014-07-11 Gary Benson <gbenson@redhat.com>
2797
2798 * amd64-linux-nat.c: Comment and whitespace changes.
2799 * i386-linux-nat.c: Comment and whitespace changes.
2800
2801 2014-07-11 Gary Benson <gbenson@redhat.com>
2802
2803 * amd64-linux-nat.c (x86_linux_create_target): New function.
2804 (x86_linux_add_target): Likewise.
2805 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2806 * i386-linux-nat.c (x86_linux_create_target): New function.
2807 (x86_linux_add_target): Likewise.
2808 (_initialize_i386_linux_nat): Delegate to the above new functions.
2809
2810 2014-07-11 Gary Benson <gbenson@redhat.com>
2811
2812 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2813 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2814 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2815 (ps_get_thread_area): Delegate to the above.
2816
2817 2014-07-11 Gary Benson <gbenson@redhat.com>
2818
2819 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2820 x86_linux_read_description. All uses updated. amd64-specific
2821 code conditionalized. Conditionalized i386-specific code added.
2822 Redundant cast removed.
2823 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2824 x86_linux_read_description. All uses updated. i386-specific
2825 code conditionalized. Conditionalized amd64-specific code added.
2826 One sizeof replaced with the actual type it is describing.
2827
2828 2014-07-11 Gary Benson <gbenson@redhat.com>
2829
2830 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2831 x86_linux_dr_get. All uses updated.
2832 (amd64_linux_dr_set): Renamed to
2833 x86_linux_dr_set. All uses updated.
2834 (amd64_linux_dr_get_addr): Renamed to
2835 x86_linux_dr_get_addr. All uses updated.
2836 (amd64_linux_dr_get_control): Renamed to
2837 x86_linux_dr_get_control. All uses updated.
2838 (amd64_linux_dr_get_status): Renamed to
2839 x86_linux_dr_get_status. All uses updated.
2840 (amd64_linux_dr_set_control): Renamed to
2841 x86_linux_dr_set_control. All uses updated.
2842 (amd64_linux_dr_set_addr): Renamed to
2843 x86_linux_dr_set_addr. All uses updated.
2844 (amd64_linux_prepare_to_resume): Renamed to
2845 x86_linux_prepare_to_resume. All uses updated.
2846 (amd64_linux_new_thread): Renamed to
2847 x86_linux_new_thread. All uses updated.
2848 (amd64_linux_new_fork): Renamed to
2849 x86_linux_new_fork. All uses updated.
2850 (amd64_linux_child_post_startup_inferior): Renamed to
2851 x86_linux_child_post_startup_inferior. All uses updated.
2852 (amd64_linux_enable_btrace): Renamed to
2853 x86_linux_enable_btrace. All uses updated.
2854 (amd64_linux_disable_btrace): Renamed to
2855 x86_linux_disable_btrace. All uses updated.
2856 (amd64_linux_teardown_btrace): Renamed to
2857 x86_linux_teardown_btrace. All uses updated.
2858 (amd64_linux_read_btrace): Renamed to
2859 x86_linux_read_btrace. All uses updated.
2860 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2861 x86_linux_dr_get. All uses updated.
2862 (i386_linux_dr_set): Renamed to
2863 x86_linux_dr_set. All uses updated.
2864 (i386_linux_dr_get_addr): Renamed to
2865 x86_linux_dr_get_addr. All uses updated.
2866 (i386_linux_dr_get_control): Renamed to
2867 x86_linux_dr_get_control. All uses updated.
2868 (i386_linux_dr_get_status): Renamed to
2869 x86_linux_dr_get_status. All uses updated.
2870 (i386_linux_dr_set_control): Renamed to
2871 x86_linux_dr_set_control. All uses updated.
2872 (i386_linux_dr_set_addr): Renamed to
2873 x86_linux_dr_set_addr. All uses updated.
2874 (i386_linux_prepare_to_resume): Renamed to
2875 x86_linux_prepare_to_resume. All uses updated.
2876 (i386_linux_new_thread): Renamed to
2877 x86_linux_new_thread. All uses updated.
2878 (i386_linux_new_fork): Renamed to
2879 x86_linux_new_fork. All uses updated.
2880 (i386_linux_child_post_startup_inferior): Renamed to
2881 x86_linux_child_post_startup_inferior. All uses updated.
2882 (i386_linux_enable_btrace): Renamed to
2883 x86_linux_enable_btrace. All uses updated.
2884 (i386_linux_disable_btrace): Renamed to
2885 x86_linux_disable_btrace. All uses updated.
2886 (i386_linux_teardown_btrace): Renamed to
2887 x86_linux_teardown_btrace. All uses updated.
2888 (i386_linux_read_btrace): Renamed to
2889 x86_linux_read_btrace. All uses updated.
2890
2891 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2892
2893 * remote.c (extended_remote_post_attach): New function.
2894 (init_extended_remote_ops): Install it as to_post_attach method.
2895
2896 2014-07-09 Pedro Alves <palves@redhat.com>
2897
2898 * infcmd.c (attach_command_post_wait): Don't call
2899 target_terminal_inferior here.
2900 (attach_command): Call it here instead.
2901
2902 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2905 field.
2906 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2907 from varobj.c, with additional checks.
2908 (c_varobj_ops): Fill in is_path_expr_parent field.
2909 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2910 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2911 field.
2912 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2913 ops method.
2914 (varobj_default_is_path_expr_parent): New function.
2915 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2916 (varobj_default_is_path_expr_parent): Declare new function.
2917
2918 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2919
2920 * infcmd.c (finish_backward): Turn internal error into normal error.
2921
2922 2014-07-07 Pedro Alves <palves@redhat.com>
2923
2924 PR gdb/17096
2925 * remote.c (async_handle_remote_sigint)
2926 (async_handle_remote_sigint_twice): Call
2927 gdb_call_async_signal_handler instead of
2928 mark_async_signal_handler.
2929
2930 2014-07-07 Tom Tromey <tromey@redhat.com>
2931
2932 * target-delegates.c: Rebuild.
2933 * target.c (target_info_record): Remove.
2934 * record.c (info_record_command): Unconditionally call
2935 to_info_record.
2936 * target.h (struct target_ops) <to_info_record>: Use
2937 TARGET_DEFAULT_IGNORE.
2938 (target_info_record): Remove.
2939
2940 2014-07-07 Tom Tromey <tromey@redhat.com>
2941
2942 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2943 TARGET_DEFAULT_NORETURN.
2944 * target.c (generic_tls_error): New function.
2945 (target_translate_tls_address): Don't search target stack.
2946 * target-delegates.c: Rebuild.
2947 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2948 stack.
2949 * linux-thread-db.c (thread_db_get_thread_local_address):
2950 Unconditionally call beneath target.
2951
2952 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2953
2954 * cli/cli-logging.c (pop_output_files): Assign targerr to
2955 gdb_stdtargerr.
2956
2957 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2958
2959 * MAINTAINERS (Write After Approval): Update my email address.
2960
2961 2014-07-02 Gary Benson <gbenson@redhat.com>
2962
2963 * proc-service.c (ps_xfer_memory): Update comment.
2964 (ps_pstop): Remove unused function.
2965 (ps_pcontinue): Likewise.
2966 (ps_lstop): Likewise.
2967 (ps_lcontinue): Likewise.
2968 (ps_lgetxregsize): Likewise.
2969 (ps_lgetxregs): Likewise.
2970 (ps_lsetxregs): Likewise.
2971 (ps_plog): Likewise.
2972 (ps_ptread): Likewise.
2973 (ps_ptwrite): Likewise.
2974
2975 2014-07-01 Mark Wielaard <mjw@redhat.com>
2976
2977 * dwarf2read.c (add_array_cv_type): New function.
2978 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2979 (read_tag_volatile_type): Likewise.
2980
2981 2014-07-01 Tom Tromey <tromey@redhat.com>
2982
2983 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2984 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2985 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2986 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2987 * command.h (cmd_cfunc_ftype): Move earlier.
2988 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2989 (add_com, add_info): Use cmd_cfunc_ftype.
2990
2991 2014-06-30 Tom Tromey <tromey@redhat.com>
2992
2993 * symtab.c (operator_chars): Make parameters and return type
2994 const.
2995 (file_matches): Make "files" const.
2996 (struct search_symbols_data) <files>: Now const.
2997 (search_symbols): Make "regexp" and "files" parameters const.
2998 Update.
2999 (symtab_symbol_info): Remove cast.
3000 (rbreak_command): Update.
3001 * symtab.h (search_symbols): Update.
3002
3003 2014-06-27 Yao Qi <yao@codesourcery.com>
3004
3005 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3006 Change parameter type to 'struct thread_info *'. Caller
3007 updated.
3008 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3009 Update declaration.
3010 * dummy-frame.c (struct dummy_frame_id): New.
3011 (dummy_frame_id_eq): New function.
3012 (struct dummy_frame) <id>: Change its type to 'struct
3013 dummy_frame_id'.
3014 (dummy_frame_push): Add parameter ptid and save it in
3015 dummy_frame_id.
3016 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3017 inferior_ptid.
3018 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3019 to inferior_ptid.
3020 (lookup_dummy_frame): Change parameter type to 'struct
3021 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3022 instead of frame_id_eq.
3023 (dummy_frame_pop): Add parameter ptid. Callers updated.
3024 Update comments. Compose dummy_frame_id and pass it to
3025 lookup_dummy_frame.
3026 (dummy_frame_discard): Add parameter ptid.
3027 (dummy_frame_sniffer): Compose dummy_frame_id and call
3028 dummy_frame_id_eq instead of frame_id_eq.
3029 (fprint_dummy_frames): Print ptid.
3030 * dummy-frame.h: Remove comments.
3031 (dummy_frame_push): Add ptid in declaration.
3032 (dummy_frame_pop, dummy_frame_discard): Likewise.
3033
3034 2014-06-26 Tom Tromey <tromey@redhat.com>
3035
3036 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3037 * command.h (error_no_arg): Update.
3038
3039 2014-06-26 Tom Tromey <tromey@redhat.com>
3040
3041 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3042 (do_show_command): Make "arg" const.
3043 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3044
3045 2014-06-26 Tom Tromey <tromey@redhat.com>
3046
3047 * record-full.c (record_full_get_bookmark): Make "args" const.
3048 (record_full_goto_bookmark): Make "raw_bookmark" const.
3049 * record.c (record_goto): New function.
3050 (cmd_record_goto): Use it. Now static.
3051 * record.h (record_goto): Declare.
3052 (cmd_record_goto): Remove declaration.
3053 * target-delegates.c: Rebuild.
3054 * target.h (struct target_ops) <to_get_bookmark,
3055 to_goto_bookmark>: Make parameter const.
3056
3057 2014-06-26 Tom Tromey <tromey@redhat.com>
3058
3059 * defs.h (generic_load): Update.
3060 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3061 * monitor.c (monitor_load): Make "args" const.
3062 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3063 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3064 const.
3065 (mips_load): Make "file" const.
3066 * remote-sim.c (gdbsim_load): Make "args" const.
3067 * remote.c (remote_load): Make "name" const.
3068 * symfile.c (generic_load): Make "args" const.
3069 * target-delegates.c: Rebuild.
3070 * target.c (target_load): Make "arg" const.
3071 (debug_to_load): Make "args" const.
3072 * target.h (struct target_ops) <to_load>: Make parameter const.
3073 (target_load): Update.
3074
3075 2014-06-26 Tom Tromey <tromey@redhat.com>
3076
3077 PR symtab/16902:
3078 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3079 (dwarf2_physname, read_partial_die)
3080 (guess_partial_die_structure_name, fixup_partial_die)
3081 (guess_full_die_structure_name, anonymous_struct_prefix)
3082 (dwarf2_name): Use per-BFD obstack.
3083
3084 2014-06-26 Yao Qi <yao@codesourcery.com>
3085
3086 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3087 dummyframe and this_id into inner block below.
3088
3089 2014-06-26 Yao Qi <yao@codesourcery.com>
3090
3091 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3092 with "signal_pass[0]" in the initialization of signal_pass.
3093
3094 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3095
3096 * record-btrace.c (record_btrace_generating_corefile)
3097 (record_btrace_prepare_to_generate_core)
3098 (record_btrace_done_generating_core): New.
3099 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3100 (record_btrace_store_registers, record_btrace_prepare_to_store):
3101 Forward request when generating a core file.
3102 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3103 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3104 to_done_generating_core.
3105
3106 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3107
3108 * target.h (target_ops) <to_prepare_to_generate_core>
3109 <to_done_generating_core>: New.
3110 (target_prepare_to_generate_core, target_done_generating_core): New.
3111 * target.c (target_prepare_to_generate_core)
3112 (target_done_generating_core): New.
3113 * target-delegates.c: Regenerate.
3114 * gcore.c: (write_gcore_file): Rename to ...
3115 (write_gcore_file_1): ...this.
3116 (write_gcore_file): Call target_prepare_to_generate_core
3117 and target_done_generating_core.
3118
3119 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3120
3121 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3122 * gcore.c (write_gcore_file): Free memory returned from
3123 make_corefile_notes.
3124 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3125 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3126
3127 2014-06-24 Yao Qi <yao@codesourcery.com>
3128
3129 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3130 (arm_linux_init_abi): Set skip_trampoline_code with
3131 gdbarch_skip_trampoline_code instead of
3132 find_solib_trampoline_target.
3133
3134 2014-06-24 Yao Qi <yao@codesourcery.com>
3135
3136 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3137 arm_skip_bx_reg returns non-zero.
3138
3139 2014-06-24 Yao Qi <yao@codesourcery.com>
3140
3141 * arm-tdep.c (arm_skip_bx_reg): New function.
3142 (arm_skip_stub): Call arm_skip_bx_reg.
3143
3144 2014-06-23 Don Breazeal <donb@codesourcery.com>
3145
3146 * MAINTAINERS: Add myself as write-after-approval maintainer.
3147
3148 2014-06-23 Pedro Alves <palves@redhat.com>
3149
3150 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3151 DR_CONTROL before setting DR0..DR3.
3152 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3153 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3154 bits of DR_CONTROL related to the debug register slot being
3155 disabled. If all slots are vacant, clear local slowdown as well,
3156 and assert DR_CONTROL is 0.
3157
3158 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3159
3160 * python/lib/gdb/command/xmethods.py
3161 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3162 current progspace only if the string "progspace" matches LOCUS_RE.
3163
3164 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3165
3166 Fix --with-system-readline with readline-6.3 patch 5.
3167 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3168 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3169 types.
3170
3171 2014-06-20 Tom Tromey <tromey@redhat.com>
3172
3173 * dwarf2read.c (dw2_get_real_path): Use correct type in
3174 OBSTACK_CALLOC.
3175 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3176
3177 2014-06-20 Gary Benson <gbenson@redhat.com>
3178
3179 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3180 * common/glibc_thread_db.h: Likewise.
3181 * common/i386-cpuid.h: Likewise.
3182 * common/i386-gcc-cpuid.h: Likewise.
3183 * common/linux-btrace.h: Likewise.
3184 * common/linux-osdata.h: Likewise.
3185 * common/linux-procfs.h: Likewise.
3186 * common/linux-ptrace.h: Likewise.
3187 * common/mips-linux-watch.h: Likewise.
3188 * common/linux-btrace.c: Moved to nat.
3189 * common/linux-osdata.c: Likewise.
3190 * common/linux-procfs.c: Likewise.
3191 * common/linux-ptrace.c: Likewise.
3192 * common/mips-linux-watch.c: Likewise.
3193 * nat/gdb_thread_db.h: Moved from common.
3194 * nat/glibc_thread_db.h: Likewise.
3195 * nat/i386-cpuid.h: Likewise.
3196 * nat/i386-gcc-cpuid.h: Likewise.
3197 * nat/linux-btrace.c: Likewise.
3198 * nat/linux-btrace.h: Likewise.
3199 * nat/linux-osdata.c: Likewise.
3200 * nat/linux-osdata.h: Likewise.
3201 * nat/linux-procfs.c: Likewise.
3202 * nat/linux-procfs.h: Likewise.
3203 * nat/linux-ptrace.c: Likewise.
3204 * nat/linux-ptrace.h: Likewise.
3205 * nat/mips-linux-watch.c: Likewise.
3206 * nat/mips-linux-watch.h: Likewise.
3207 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3208 (object file files): Reordered.
3209 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3210 of glibc_thread_db.h.
3211
3212 2014-06-20 Gary Benson <gbenson@redhat.com>
3213
3214 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3215 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3216 (i386_dr_low): Likewise.
3217 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3218 (i386_dr_low_set_addr): Likewise.
3219 (i386_dr_low_get_addr): Likewise.
3220 (i386_dr_low_can_set_control): Likewise.
3221 (i386_dr_low_set_control): Likewise.
3222 (i386_dr_low_get_control): Likewise.
3223 (i386_dr_low_get_status): Likewise.
3224 (i386_get_debug_register_length): Likewise.
3225 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3226 (i386_dr_low): Likewise.
3227 * nat/i386-dregs.c (i386-low.h): Remove include.
3228 (i386-nat.h): Likewise.
3229 (nat/i386-dregs.h): New include.
3230 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3231 (i386_dr_low_set_addr): Likewise.
3232 (i386_dr_low_get_addr): Likewise.
3233 (i386_dr_low_can_set_control): Likewise.
3234 (i386_dr_low_set_control): Likewise.
3235 (i386_dr_low_get_control): Likewise.
3236 (i386_dr_low_get_status): Likewise.
3237 (i386_get_debug_register_length): Likewise.
3238 (debug_hw_points): Likewise.
3239
3240 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3241
3242 * Makefile.in (SFILES): Add d-exp.y.
3243 (YYFILES): Add d-exp.c.
3244 (YYOBJ): Add d-exp.o.
3245 (local-maintainer-clean): Delete d-exp.c.
3246 * d-exp.y: New file.
3247 * d-lang.h (d_parse): New declaration.
3248 (d_error): New declaration.
3249 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3250 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3251 PREC_ORDER operators.
3252 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3253
3254 2014-06-19 Yao Qi <yao@codesourcery.com>
3255
3256 * gdbthread.h (any_running): Remove the declaration.
3257 * thread.c (any_running): Remove.
3258
3259 2014-06-19 Yao Qi <yao@codesourcery.com>
3260
3261 * gdbthread.h (struct thread_info) <state>: Change its type to
3262 'enum thread_state'. Update comments.
3263
3264 2014-06-19 Pedro Alves <palves@redhat.com>
3265
3266 * gdbthread.h (ALL_THREADS): Delete.
3267 (ALL_NON_EXITED_THREADS): New macro.
3268 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3269 instead of ALL_THREADS.
3270 * infrun.c (find_thread_needs_step_over)
3271 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3272 instead of ALL_THREADS.
3273 * record-btrace.c (record_btrace_open)
3274 (record_btrace_stop_recording, record_btrace_close)
3275 (record_btrace_is_replaying, record_btrace_resume)
3276 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3277 * remote.c (append_pending_thread_resumptions): Likewise.
3278 * thread.c (thread_apply_all_command): Likewise.
3279
3280 2014-06-19 Gary Benson <gbenson@redhat.com>
3281
3282 * i386-nat.c (i386_stopped_by_watchpoint):
3283 Use i386_dr_stopped_by_watchpoint.
3284 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3285 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3286
3287 2014-06-19 Gary Benson <gbenson@redhat.com>
3288
3289 * nat/i386-dregs.c: New file.
3290 * Makefile.in (i386-dregs.o): New rule.
3291 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3292 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3293 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3294 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3295 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3296 * config/i386/go32.mh (NATDEPFILES): Likewise.
3297 * config/i386/linux.mh (NATDEPFILES): Likewise.
3298 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3299 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3300 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3301 * i386-nat.h (debug_hw_points): New declaration.
3302 * i386-nat.c (breakpoint.h): Remove include.
3303 (command.h): Likewise.
3304 (target.h): Likewise.
3305 (gdb_assert.h): Likewise.
3306 (debug_hw_points): Made nonstatic.
3307 (debug_printf): Now in i386-dregs.c.
3308 (TARGET_HAS_DR_LEN_8): Likewise.
3309 (DR_CONTROL_SHIFT): Likewise.
3310 (DR_CONTROL_SIZE): Likewise.
3311 (DR_RW_EXECUTE): Likewise.
3312 (DR_RW_WRITE): Likewise.
3313 (DR_RW_READ): Likewise.
3314 (DR_RW_IORW): Likewise.
3315 (DR_LEN_1): Likewise.
3316 (DR_LEN_2): Likewise.
3317 (DR_LEN_4): Likewise.
3318 (DR_LEN_8): Likewise.
3319 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3320 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3321 (DR_ENABLE_SIZE): Likewise.
3322 (DR_LOCAL_SLOWDOWN): Likewise.
3323 (DR_GLOBAL_SLOWDOWN): Likewise.
3324 (DR_CONTROL_RESERVED): Likewise.
3325 (I386_DR_CONTROL_MASK): Likewise.
3326 (I386_DR_VACANT): Likewise.
3327 (I386_DR_LOCAL_ENABLE): Likewise.
3328 (I386_DR_GLOBAL_ENABLE): Likewise.
3329 (I386_DR_DISABLE): Likewise.
3330 (I386_DR_SET_RW_LEN): Likewise.
3331 (I386_DR_GET_RW_LEN): Likewise.
3332 (I386_DR_WATCH_HIT): Likewise.
3333 (i386_wp_op_t): Likewise.
3334 (i386_show_dr): Likewise.
3335 (i386_length_and_rw_bits): Likewise.
3336 (i386_insert_aligned_watchpoint): Likewise.
3337 (i386_remove_aligned_watchpoint): Likewise.
3338 (i386_handle_nonaligned_watchpoint): Likewise.
3339 (i386_update_inferior_debug_regs): Likewise.
3340 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3341 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3342 (i386_region_ok_for_watchpoint):
3343 Use i386_dr_region_ok_for_watchpoint.
3344 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3345
3346 2014-06-19 Gary Benson <gbenson@redhat.com>
3347
3348 * i386-nat.c (i386_insert_hw_breakpoint): Use
3349 i386_insert_watchpoint.
3350 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3351
3352 2014-06-19 Gary Benson <gbenson@redhat.com>
3353
3354 * i386-nat.c (i386_dr_show): Renamed to
3355 i386_show_dr and made static. All uses updated.
3356 (i386_dr_length_and_rw_bits): Renamed to
3357 i386_length_and_rw_bits and made static.
3358 All uses updated.
3359 (i386_dr_insert_aligned_watchpoint): Renamed to
3360 i386_insert_aligned_watchpoint and made static.
3361 All uses updated.
3362 (i386_dr_remove_aligned_watchpoint): Renamed to
3363 i386_remove_aligned_watchpoint and made static.
3364 All uses updated.
3365 (i386_dr_update_inferior_debug_regs): Renamed to
3366 i386_update_inferior_debug_regs and made static.
3367 All uses updated.
3368 * nat/i386-dregs.h (i386_dr_show): Removed.
3369 (i386_dr_length_and_rw_bits): Likewise.
3370 (i386_dr_insert_aligned_watchpoint): Likewise.
3371 (i386_dr_remove_aligned_watchpoint): Likewise.
3372 (i386_dr_update_inferior_debug_regs): Likewise.
3373
3374 2014-06-19 Gary Benson <gbenson@redhat.com>
3375
3376 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3377 * configure: Regenerate.
3378 * config.in: Likewise.
3379 * main.c (signal.h): New include.
3380 (setup_alternate_signal_stack): New function.
3381 (captured_main): Call the above.
3382 * cp-support.c (signal.h): New include.
3383 (catch_demangler_crashes): New flag.
3384 (SIGJMP_BUF): New define.
3385 (SIGSETJMP): Likewise.
3386 (SIGLONGJMP): Likewise.
3387 (gdb_demangle_jmp_buf): New static global.
3388 (gdb_demangle_attempt_core_dump): Likewise.
3389 (gdb_demangle_signal_handler): New function.
3390 (gdb_demangle): If catch_demangler_crashes is set, install the
3391 above signal handler before calling bfd_demangle, and restore
3392 the original signal handler afterwards. Display the offending
3393 symbol and call demangler_warning the first time a segmentation
3394 fault is caught.
3395 (_initialize_cp_support): New maint set/show command.
3396
3397 2014-06-19 Gary Benson <gbenson@redhat.com>
3398
3399 * utils.h (resource_limit_kind): New enum.
3400 (can_dump_core): New declaration.
3401 (warn_cant_dump_core): Likewise.
3402 (dump_core): Likewise.
3403 * utils.c (dump_core): Made nonstatic. Added new
3404 parameter "limit_kind".
3405 (can_dump_core): Made nonstatic. Moved printing code to...
3406 (warn_cant_dump_core): New function.
3407 (can_dump_core_warn): Likewise.
3408 (internal_vproblem): Replace calls to can_dump_core with
3409 calls to can_dump_core_warn. Supply new argument to each.
3410
3411 2014-06-19 Gary Benson <gbenson@redhat.com>
3412
3413 * utils.h (demangler_vwarning): New declaration.
3414 (demangler_warning): Likewise.
3415 * utils.c (struct internal_problem)
3416 <user_settable_should_quit>: New field.
3417 <user_settable_should_dump_core>: Likewise
3418 (internal_error_problem): Add values for above new fields.
3419 (internal_warning_problem): Likewise.
3420 (demangler_warning_problem): New static global.
3421 (demangler_vwarning): New function.
3422 (demangler_warning): Likewise.
3423 (add_internal_problem_command): Selectively add commands.
3424 (_initialize_utils): New internal problem command.
3425 * maint.c (maintenance_demangler_warning): New function.
3426 (_initialize_maint_cmds): New command.
3427
3428 2014-06-18 Tom Tromey <tromey@redhat.com>
3429
3430 * f-valprint.c (info_common_command_for_block): Update.
3431 * symtab.h (struct general_symbol_info) <common_block>: Now
3432 const.
3433
3434 2014-06-18 Tom Tromey <tromey@redhat.com>
3435
3436 * symtab.h (struct symtab) <blockvector>: Now const.
3437 * ada-lang.c (ada_add_global_exceptions): Update.
3438 * buildsym.c (augment_type_symtab): Update.
3439 * dwarf2read.c (dw2_lookup_symbol): Update.
3440 * jit.c (finalize_symtab): Update.
3441 * jv-lang.c (add_class_symtab_symbol): Update.
3442 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3443 Update.
3444 * objfiles.c (objfile_relocate1): Update.
3445 * psymtab.c (lookup_symbol_aux_psymtabs)
3446 (maintenance_check_psymtabs): Update.
3447 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3448 Update.
3449 * spu-tdep.c (spu_catch_start): Update.
3450 * symmisc.c (dump_symtab_1): Update.
3451 * symtab.c (lookup_global_symbol_from_objfile)
3452 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3453 (basic_lookup_transparent_type_quick)
3454 (basic_lookup_transparent_type, find_pc_sect_symtab)
3455 (find_pc_sect_line, search_symbols): Update.
3456 * block.c (find_block_in_blockvector): Make "bl" const.
3457 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3458 const.
3459 (blockvector_contains_pc): Make "bv" const.
3460 (block_for_pc_sect): Update.
3461 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3462 (blockvector_contains_pc): Update.
3463 * breakpoint.c (resolve_sal_pc): Update.
3464 * inline-frame.c (block_starting_point_at): Update.
3465
3466 2014-06-18 Tom Tromey <tromey@redhat.com>
3467
3468 * completer.c (complete_line): Make "line_buffer" const.
3469 * completer.h (complete_line): Update.
3470
3471 2014-06-18 Tom Tromey <tromey@redhat.com>
3472
3473 * symtab.c (add_macro_name): Remove unneeded cast.
3474
3475 2014-06-18 Tom Tromey <tromey@redhat.com>
3476
3477 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3478 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3479
3480 2014-06-18 Tom Tromey <tromey@redhat.com>
3481
3482 * probe.c (info_probes_for_ops): Make "arg" const.
3483 * probe.h (info_probes_for_ops): Update.
3484
3485 2014-06-18 Tom Tromey <tromey@redhat.com>
3486
3487 * varobj.c (varobj_create): Update.
3488 * valops.c (value_of_this): Update.
3489 * tracepoint.c (add_local_symbols, scope_info): Update.
3490 * symtab.h (struct general_symbol_info) <block>: Now const.
3491 * symtab.c (skip_prologue_sal)
3492 (default_make_symbol_completion_list_break_on)
3493 (skip_prologue_using_sal): Update.
3494 * stack.h (iterate_over_block_locals)
3495 (iterate_over_block_local_vars): Update.
3496 * stack.c (print_frame_args): Update.
3497 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3498 parameter const.
3499 (get_selected_block): Make return type const.
3500 * python/py-frame.c (frapy_block): Update.
3501 * python/py-block.c (gdbpy_block_for_pc): Update.
3502 * p-exp.y (%union) <bval>: Now const.
3503 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3504 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3505 * m2-exp.y (%union) <bval>: Now const.
3506 * linespec.c (get_current_search_block): Make return type const.
3507 (create_sals_line_offset, find_label_symbols): Update.
3508 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3509 Update.
3510 (block_starting_point_at): Make "block" const.
3511 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3512 (check_exception_resume): Update.
3513 * guile/scm-frame.c (gdbscm_frame_block): Update.
3514 * guile/scm-block.c (gdbscm_lookup_block): Update.
3515 * frame.h (get_frame_block): Update.
3516 (get_selected_block): Make return type const.
3517 * frame.c (frame_id_inner): Update.
3518 * f-valprint.c (info_common_command_for_block)
3519 (info_common_command): Update.
3520 * dwarf2loc.c (dwarf2_find_location_expression)
3521 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3522 (locexpr_describe_location_piece): Update.
3523 * c-exp.y (%union) <bval>: Now const.
3524 * breakpoint.c (resolve_sal_pc): Update.
3525 * blockframe.c (get_frame_block):Make return type const.
3526 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3527 (block_innermost_frame): Update.
3528 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3529 (block_for_pc, block_for_pc_sect): Update.
3530 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3531 'pblock' const.
3532 (block_for_pc_sect, block_for_pc): Make return type const.
3533 * ax-gdb.c (gen_expr): Update.
3534 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3535 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3536 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3537 (ada_read_var_value): Update.
3538 * ada-exp.y (struct name_info) <block>: Now const.
3539 (%union): Likewise.
3540 (block_lookup): Constify.
3541
3542 2014-06-18 Gary Benson <gbenson@redhat.com>
3543
3544 * nat/i386-dregs.h: New file.
3545 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3546 * i386-nat.h (i386-dregs.h): New include.
3547 (DR_FIRSTADDR): Now in i386-dregs.h.
3548 (DR_LASTADDR): Likewise.
3549 (DR_NADDR): Likewise.
3550 (DR_STATUS): Likewise.
3551 (DR_CONTROL): Likewise.
3552 (i386_debug_reg_state): Likewise.
3553 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3554
3555 2014-06-18 Don Breazeal <donb@codesourcery.com>
3556
3557 * breakpoint.c (set_longjmp_breakpoint): Call
3558 momentary_breakpoint_from_master with additional argument.
3559 (set_longjmp_breakpoint_for_call_dummy): Call
3560 momentary_breakpoint_from_master with additional argument.
3561 (set_std_terminate_breakpoint): Call
3562 momentary_breakpoint_from_master with additional argument.
3563 (momentary_breakpoint_from_master): Add argument to function
3564 definition and use it to initialize structure member flag.
3565 (clone_momentary_breakpoint): Call
3566 momentary_breakpoint_from_master with additional argument.
3567 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3568 member flags set in momentary_breakpoint_from_master.
3569
3570 2014-06-18 Gary Benson <gbenson@redhat.com>
3571
3572 * i386-nat.c (i386_show_dr): Renamed to
3573 i386_dr_show and made nonstatic. All uses updated.
3574 (i386_length_and_rw_bits): Renamed to
3575 i386_dr_length_and_rw_bits and made nonstatic.
3576 All uses updated.
3577 (i386_insert_aligned_watchpoint): Renamed to
3578 i386_dr_insert_aligned_watchpoint and made nonstatic.
3579 All uses updated.
3580 (i386_remove_aligned_watchpoint): Renamed to
3581 i386_dr_remove_aligned_watchpoint and made nonstatic.
3582 All uses updated.
3583 (i386_update_inferior_debug_regs): Renamed to
3584 i386_dr_update_inferior_debug_regs and made nonstatic.
3585 All uses updated.
3586
3587 2014-06-18 Gary Benson <gbenson@redhat.com>
3588
3589 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3590 (i386_dr_low_can_set_control): Likewise.
3591 (i386_dr_low_set_addr): Likewise.
3592 (i386_dr_low_set_control): Likewise.
3593 (i386_dr_low_get_addr): Likewise.
3594 (i386_dr_low_get_status): Likewise.
3595 (i386_dr_low_get_control): Likewise.
3596 (i386_insert_aligned_watchpoint): Use new macros.
3597 (i386_update_inferior_debug_regs): Likewise.
3598 (i386_stopped_data_address): Likewise.
3599
3600 2014-06-18 Gary Benson <gbenson@redhat.com>
3601
3602 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3603 New parameter. All uses updated.
3604
3605 2014-06-18 Gary Benson <gbenson@redhat.com>
3606
3607 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3608 All uses updated.
3609
3610 2014-06-18 Gary Benson <gbenson@redhat.com>
3611
3612 * i386-nat.c (debug_printf): New macro.
3613 (i386_get_debug_register_length): Likewise.
3614 (TARGET_HAS_DR_LEN_8): Use above macro.
3615 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3616 and printf_unfiltered. Use phex to format values.
3617
3618 2014-06-18 Gary Benson <gbenson@redhat.com>
3619
3620 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3621 Make const.
3622
3623 2014-06-18 Gary Benson <gbenson@redhat.com>
3624
3625 * i386-nat.c: Comment changes.
3626
3627 2014-06-18 Gary Benson <gbenson@redhat.com>
3628
3629 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3630
3631 2014-06-18 Gary Benson <gbenson@redhat.com>
3632
3633 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3634 (i386_insert_aligned_watchpoint): Likewise.
3635 (i386_remove_aligned_watchpoint): Likewise.
3636 (i386_handle_nonaligned_watchpoint): Likewise.
3637
3638 2014-06-18 Gary Benson <gbenson@redhat.com>
3639
3640 * i386-nat.c: Whitespace changes.
3641
3642 2014-06-17 Samuel Bronson <naesten@gmail.com>
3643
3644 * MAINTAINERS: Update Roland McGrath's email address.
3645 Thanks to Sergio Durigan Junior for pointing out that he left
3646 Red Hat a while ago, and giving me a current address.
3647
3648 2014-06-17 Tom Tromey <tromey@redhat.com>
3649
3650 * utils.h (savestring): Remove declaration.
3651
3652 2014-06-17 Tom Tromey <tromey@redhat.com>
3653
3654 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3655
3656 2014-06-16 Keith Seitz <keiths@redhat.com>
3657
3658 PR mi/15863
3659 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3660 to update the varobj if inferior_ptid is null_ptid.
3661
3662 2014-06-16 Tom Tromey <tromey@redhat.com>
3663
3664 * target.h (struct target_ops) <to_info_proc>: Make parameter
3665 const.
3666 (target_info_proc): Update.
3667 * target.c (target_info_proc): Make "args" const.
3668 * procfs.c (procfs_info_proc): Update.
3669 * linux-tdep.c (linux_info_proc): Update.
3670 (linux_core_info_proc_mappings): Make "args" const.
3671 (linux_core_info_proc): Update.
3672 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3673 * gdbarch.c: Rebuild.
3674 * gdbarch.h: Rebuild.
3675 * corelow.c (core_info_proc): Update.
3676
3677 2014-06-16 Tom Tromey <tromey@redhat.com>
3678
3679 * target.h (struct target_ops) <to_disconnect>: Make parameter
3680 const.
3681 (target_disconnect): Update.
3682 * target.c (target_disconnect): Make "args" const.
3683 * target-delegates.c: Rebuild.
3684 * remote.c (remote_disconnect): Update.
3685 * record.h (record_disconnect): Update.
3686 * record.c (record_disconnect): Update.
3687 * inf-child.c (inf_child_disconnect): Update.
3688
3689 2014-06-16 Tom Tromey <tromey@redhat.com>
3690
3691 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3692 * target.c (debug_to_rcmd, default_rcmd): Update.
3693 * target-delegates.c: Rebuild.
3694 * remote.c (remote_rcmd): Update.
3695 * monitor.c (monitor_rcmd): Update.
3696
3697 2014-06-16 Pedro Alves <palves@redhat.com>
3698
3699 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3700 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3701 have OBJF_SHARED set.
3702 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3703 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3704 instead of OBJF_USERLOADED.
3705 * objfiles.h (OBJF_SHARED): Update comment.
3706 (userloaded_objfile_contains_address_p): Rename to ...
3707 (shared_objfile_contains_address_p): ... this, and update
3708 comments.
3709 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3710 new objfile.
3711 (remove_symbol_file_command): Skip objfiles that don't have
3712 OBJF_SHARED set.
3713
3714 2014-06-16 Tom Tromey <tromey@redhat.com>
3715
3716 * minsyms.h (prim_record_minimal_symbol)
3717 (prim_record_minimal_symbol_and_info): Update comments.
3718
3719 2014-06-14 Eli Zaretskii <eliz@gnu.org>
3720
3721 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3722 or --without-guile, according to how GDB was built.
3723
3724 2014-06-13 Tom Tromey <tromey@redhat.com>
3725
3726 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3727 to help_list.
3728 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3729 to help_list.
3730 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3731 help_list.
3732 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3733 help_list.Pass all_commands, not -1, to help_list.
3734 * cli/cli-dump.c (dump_command, append_command)
3735 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3736 (binary_dump_command, binary_append_command): Pass all_commands,
3737 not -1, to help_list.
3738 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3739 -1, to help_list.
3740 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3741 -1, to help_list.
3742 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3743 help_list.
3744 * top.c (set_history): Pass all_commands, not -1, to help_list.
3745 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3746 all_commands, not -1, to help_list.
3747 * symfile.c (overlay_command): Pass all_commands, not -1, to
3748 help_list.
3749 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3750 help_list.
3751 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3752 help_list.
3753 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3754 -1, to help_list.
3755 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3756 not -1, to help_list.
3757 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3758 not -1, to help_list.
3759 * maint.c (maintenance_command, maintenance_info_command)
3760 (maintenance_print_command, maintenance_set_cmd): Pass
3761 all_commands, not -1, to help_list.
3762 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3763 help_list.
3764 * language.c (set_check): Pass all_commands, not -1, to help_list.
3765 * infcmd.c (unset_command): Pass all_commands, not -1, to
3766 help_list.
3767 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3768 help_list.
3769 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3770 help_list.
3771 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3772 help_list.
3773 * breakpoint.c (save_command): Pass all_commands, not -1, to
3774 help_list.
3775 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3776 all_commands, not -1, to help_list.
3777
3778 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3779
3780 * regcache.c (struct register_to_invalidate): New structure.
3781 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3782 functions.
3783 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3784
3785 2014-06-12 Yao Qi <yao@codesourcery.com>
3786
3787 * varobj.c (varobj_get_num_children): Call
3788 varobj_is_dynamic_p.
3789 (varobj_list_children): Likewise.
3790 (varobj_update): Likewise. Update comments.
3791
3792 2014-06-12 Yao Qi <yao@codesourcery.com>
3793
3794 * varobj.c (varobj_pretty_printed_p): Rename to ...
3795 (varobj_is_dynamic_p): ... this. New function.
3796 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3797 (varobj_is_dynamic_p): Declare.
3798 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3799 (mi_print_value_p, varobj_update_one): Likewise.
3800
3801 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3802 Yao Qi <yao@codesourcery.com>
3803
3804 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3805 (varobj_get_iterator): Wrap up code for pretty-printer by
3806 "#if HAVE_PYTHON" and "#endif".
3807 (update_dynamic_varobj_children): Likewise.
3808
3809 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3810 Yao Qi <yao@codesourcery.com>
3811
3812 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3813 gdb_python_initialized is false. Move some code from varobj.c.
3814 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3815 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3816 (struct varobj_item): Moved to varobj-iter.h".
3817 (varobj_clear_saved_item): New function.
3818 (update_dynamic_varobj_children): Move python-related code to
3819 py-varobj.c.
3820 (free_variable): Call varobj_clear_saved_item and
3821 varobj_iter_delete.
3822
3823 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3824 Yao Qi <yao@codesourcery.com>
3825
3826 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3827 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3828 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3829 (py-varobj.o): New rule.
3830 * python/py-varobj.c: New file.
3831 * python/python-internal.h (py_varobj_get_iterator): Declare.
3832 * varobj-iter.h: New file.
3833 * varobj.c: Include "varobj-iter.h"
3834 (struct varobj) <child_iter>: Change its type from "PyObject *"
3835 to "struct varobj_iter *".
3836 <saved_item>: Likewise.
3837 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3838 [HAVE_PYTHON] (varobj_get_iterator): New function.
3839 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3840 python-specific code to python/py-varobj.c.
3841 (install_visualizer): Call varobj_iter_delete instead of
3842 Py_XDECREF.
3843 * varobj.h (varobj_ensure_python_env): Declare.
3844
3845 2014-06-12 Yao Qi <yao@codesourcery.com>
3846
3847 * varobj.c (struct varobj_item): New structure.
3848 (create_child_with_value): Update declaration.
3849 (varobj_add_child): Replace arguments 'name' and 'value' with
3850 'item'. All callers updated.
3851 (install_dynamic_child): Likewise.
3852 (update_dynamic_varobj_children): Likewise.
3853 (varobj_add_child): Likewise.
3854 (create_child_with_value): Likewise.
3855
3856 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3857
3858 * NEWS: Create a new section for the next release branch.
3859 Rename the section of the current branch, now that it has
3860 been cut.
3861
3862 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3863
3864 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3865 * version.in: Bump version to 7.8.50.DATE-cvs.
3866
3867 2014-06-11 Pedro Alves <palves@redhat.com>
3868
3869 PR remote/17028
3870 * ser-mingw.c (net_windows_socket_check_pending): New function.
3871 (net_windows_select_thread): Ignore spurious wakeups. Use
3872 net_windows_socket_check_pending.
3873 (net_windows_wait_handle): Check for pending events with
3874 ioctlsocket, through net_windows_socket_check_pending, instead of
3875 checking the socket's event.
3876
3877 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3878
3879 * python/python-internal.h (gdb_PyObject_GetAttrString)
3880 (gdb_PyObject_HasAttrString): New inline function definitions.
3881 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3882 char * of the second argument to PyObject_GetAttrString.
3883
3884 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3885
3886 * serial.c (serial_write): Fix index of character to be printed
3887 in call to serial_logchar when serial debug traces are enabled.
3888
3889 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3890
3891 * gdbtypes (resolve_dynamic_range): Add function description.
3892
3893 2014-06-09 Pedro Alves <palves@redhat.com>
3894
3895 * linux-nat.c (linux_child_follow_fork): Initialize status with
3896 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3897 inner block. Only pass the signal to PTRACE_DETACH if in pass
3898 state.
3899
3900 2014-06-09 Gary Benson <gbenson@redhat.com>
3901
3902 * common/signals.c (gdb_signal_from_host): Reorder to separate
3903 the always-available ANSI-standard signals from the signals that
3904 require checking.
3905 (do_gdb_signal_to_host): Likewise.
3906 * proc-events.c (signal_table): Likewise.
3907
3908 2014-06-08 Hui Zhu <hui@codesourcery.com>
3909
3910 * common/linux-ptrace.c (linux_disable_event_reporting): New
3911 function.
3912 * common/linux-ptrace.h (linux_disable_event_reporting): New
3913 declaration.
3914 * linux-nat.c (linux_child_follow_fork): Do a single step before
3915 detach.
3916
3917 2014-06-07 Keith Seitz <keiths@redhat.com>
3918
3919 Revert:
3920 PR c++/16253
3921 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3922 from symbol_matches_domain in symtab.c. All local callers
3923 of symbol_matches_domain updated.
3924 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3925 search STRUCT_DOMAIN.
3926 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3927 independently. standard_lookup will do that automatically.
3928 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3929 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3930 (cp_lookup_symbol_in_namespace): Likewise.
3931 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3932 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3933 may return a STRUCT_DOMAIN match.
3934 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3935 * cp-support.c: Include language.h.
3936 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3937 VAR_DOMAIN.
3938 * psymtab.c (match_partial_symbol): Compare the requested
3939 domain with the symbol's domain directly.
3940 (lookup_partial_symbol): Likewise.
3941 * symtab.c (lookup_symbol_in_language): Explain when/why
3942 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3943 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3944 appropriate languages.
3945 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3946 and moved to ada-lang.c
3947 (lookup_block_symbol): Explain that this function only returns
3948 symbol matching the requested DOMAIN.
3949 Compare the requested domain with the symbol's domain directly.
3950 (iterate_over_symbols): Compare the requested domain with the
3951 symbol's domain directly.
3952 * symtab.h (symbol_matches_domain): Remove.
3953
3954 2014-06-06 Doug Evans <xdje42@gmail.com>
3955
3956 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3957 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3958 (gdbscm_guile_version_is_at_least): Declare.
3959 (gdbscm_scm_string_to_int): Declare.
3960 * guile/guile.c (gdbscm_guile_major_version): New global.
3961 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3962 (guile_datadir): New static global.
3963 (gdbscm_guile_data_directory): New function.
3964 (initialize_scheme_side): Update.
3965 (misc_guile_functions): Add guile-data-directory.
3966 (initialize_gdb_module): Fetch guile version number.
3967 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3968 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3969 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3970 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3971 comments.
3972 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3973 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3974 * guile/scm-value.c (gdbscm_value_to_string): Only call
3975 scm_port_conversion_strategy if Guile version >= 2.0.6.
3976
3977 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3978
3979 * main.c (print_gdb_help): Add -q and --silent.
3980
3981 2014-06-06 Gary Benson <gbenson@redhat.com>
3982
3983 * common/signals.c: Remove preprocessor conditionals for
3984 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3985 SIGSEGV and SIGTERM.
3986 * proc-events.c: Likewise.
3987
3988 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3989
3990 * symfile.c (symfile_free_objfile): Remove restriction to
3991 OBJF_USERLOADED.
3992 * symfile-mem.c (symbol_file_add_from_memory): Call
3993 add_target_sections_of_objfile.
3994
3995 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3996
3997 * guile/scm-value.c (gdbscm_history_append_x): Use
3998 'vlscm_get_value_smob_arg_unsafe' instead of
3999 'vlscm_scm_to_value'.
4000
4001 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4002
4003 PR mi/15806
4004 * utils.c (printchar): Don't escape at all if quoter is NUL.
4005 Update function documentation to clarify effect of parameter
4006 QUOTER.
4007 * remote.c (escape_buffer): Pass '\\' as the quoter to
4008 fputstrn_unfiltered.
4009 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4010 generate the output.
4011 (mi_solib_unloaded): Same.
4012
4013 2014-06-05 Joel Brobecker <brobecker@adacore.com>
4014
4015 * development.sh: Delete.
4016 * Makefile.in (config.status): Adjust dependency on development.sh.
4017 * configure.ac: Adjust development.sh source call.
4018 * configure: Regenerate.
4019
4020 2014-06-04 Doug Evans <xdje42@gmail.com>
4021
4022 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4023 is_scheme_bkpt, spec.
4024 (bpscm_make_breakpoint_smob): Initialize new members.
4025 (gdbscm_create_breakpoint_x): Split into two ...
4026 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4027 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4028 (scheme_function breakpoint_functions): Update.
4029 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4030 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4031 register-breakpoint!.
4032
4033 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
4034
4035 PR server/17023
4036 * mem-break.c (z_type_supported): Return zero if
4037 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4038
4039 2014-06-04 Tom Tromey <tromey@redhat.com>
4040
4041 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4042 value_from_contents_and_address_unresolved.
4043 (ada_template_to_fixed_record_type_1): Likewise.
4044 (ada_which_variant_applies): Likewise.
4045 * value.h (value_from_contents_and_address_unresolved): Declare.
4046 * value.c (value_from_contents_and_address_unresolved): New
4047 function.
4048 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4049 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4050 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4051
4052 2014-06-04 Tom Tromey <tromey@redhat.com>
4053
4054 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4055
4056 2014-06-04 Tom Tromey <tromey@redhat.com>
4057
4058 * procfs.c (procfs_attach): Make "args" const.
4059 * windows-nat.c (windows_attach): Make "args" const.
4060 * nto-procfs.c (procfs_attach): Make "args" const.
4061 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4062 * go32-nat.c (go32_attach): Make "args" const.
4063 * gnu-nat.c (gnu_attach): Make "args" const.
4064 * darwin-nat.c (darwin_attach): Make "args" const.
4065 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4066 * linux-nat.c (linux_nat_attach): Make "args" const.
4067 * remote.c (extended_remote_attach_1, extended_remote_attach):
4068 Make "args" const.
4069 * target.h (struct target_ops) <to_attach>: Make "args" const.
4070 (find_default_attach): Likewise.
4071 * utils.c (parse_pid_to_attach): Make "args" const.
4072 * utils.h (parse_pid_to_attach): Update.
4073
4074 2014-06-04 Tom Tromey <tromey@redhat.com>
4075
4076 * target-delegates.c: Rebuild.
4077 * target.c (default_thread_address_space): New function.
4078 (target_thread_address_space): Simplify.
4079 * target.h (struct target_ops) <to_thread_address_space>: Add
4080 TARGET_DEFAULT_FUNC.
4081
4082 2014-06-04 Doug Evans <xdje42@gmail.com>
4083
4084 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4085
4086 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4087
4088 * record-btrace.c: Include event-loop.h and inf-loop.h.
4089 (record_btrace_resume_exec_dir)
4090 (record_btrace_async_inferior_event_handler)
4091 (record_btrace_handle_async_inferior_event): New.
4092 (record_btrace_open): Create async event handler.
4093 (record_btrace_close): Delete async event handler.
4094 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4095 Mark async event handler.
4096 (record_btrace_execution_direction): New.
4097 (init_record_btrace_ops): Initialize to_execution_direction.
4098
4099 2014-06-03 Doug Evans <xdje42@gmail.com>
4100
4101 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4102 (gdbscm_make_parameter): Ditto.
4103
4104 2014-06-03 Doug Evans <dje@google.com>
4105
4106 * exec.c (exec_close_1): Call clear_section_table instead of
4107 resize_section_table.
4108 (clear_section_table): New function.
4109 (resize_section_table): Make static. Rename arg num_added to
4110 adjustment.
4111 * exec.h (clear_section_table): Declare.
4112 (resize_section_table): Delete.
4113 * progspace.c (release_program_space): Call clear_section_table
4114 instead of resize_section_table.
4115
4116 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4117
4118 * NEWS (Python Scripting): Add entry about the new xmethods
4119 feature.
4120
4121 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4122
4123 * python/py-xmethods.c: New file.
4124 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4125 (objfpy_dealloc): XDECREF on the new xmethods field.
4126 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4127 field.
4128 (objfpy_get_xmethods): New function.
4129 (objfile_getset): New entry 'xmethods'.
4130 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4131 (pspy_dealloc): XDECREF on the new xmethods field.
4132 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4133 field.
4134 (pspy_get_xmethods): New function.
4135 (pspace_getset): New entry 'xmethods'.
4136 * python/python-internal.h: Add declarations for new functions.
4137 * python/python.c (_initialize_python): Invoke
4138 gdbpy_initialize_xmethods.
4139 * python/lib/gdb/__init__.py (xmethods): New
4140 attribute.
4141 * python/lib/gdb/xmethod.py: New file.
4142 * python/lib/gdb/command/xmethods.py: New file.
4143
4144 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4145
4146 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4147 best match method returned by find_overload_match is an xmethod.
4148 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4149 the best matching operator returned by find_overload_match is an
4150 xmethod.
4151 * valops.c: #include "extension.h".
4152 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4153 Return void. The list of matching source methods is returned in
4154 "fn_list" and a vector of matching debug method workers is
4155 returned in "xm_worker_vec". Update all callers.
4156 (value_find_oload_method_list): Likewise.
4157 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4158 non-NULL, then the index of the best matching method in this
4159 vector is returned. Update all callers.
4160 (find_overload_match): Include xmethods while performing overload
4161 resolution.
4162
4163 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4164
4165 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4166 * extension-priv.h (struct extension_language_ops): Add the
4167 xmethod interface.
4168 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4169 get_matching_xmethod_workers, get_xmethod_argtypes,
4170 invoke_xmethod, free_xmethod_worker,
4171 free_xmethod_worker_vec): New functions.
4172 * extension.h: #include "common/vec.h".
4173 New function declarations.
4174 (struct xmethod_worker): New struct.
4175 (VEC (xmethod_worker_ptr)): New vector type.
4176 (xmethod_worker_ptr): New typedef.
4177 (xmethod_worker_vec): Likewise.
4178 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4179 builtin_type.
4180 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4181 (struct builtin_type): New field "xmethod".
4182 * valarith.c (value_ptradd): Assert that the value argument is not
4183 lval_xcallable.
4184 * valops.c (value_must_coerce_to_target): Return 0 for
4185 lval_xcallable values.
4186 * value.c (struct value): New field XM_WORKER in the field
4187 LOCATION.
4188 (value_address, value_raw_address): Return 0 for lval_xcallable
4189 values.
4190 (set_value_address): Assert that the value is not an
4191 lval_xcallable.
4192 (value_free): Free the associated xmethod worker when freeing
4193 lval_xcallable values.
4194 (set_value_component_location): Assert that the WHOLE value is not
4195 lval_xcallable.
4196 (value_of_xmethod, call_xmethod): New functions.
4197 * value.h: Declare "struct xmethod_worker".
4198 Declare new functions value_of_xmethod, call_xmethod.
4199
4200 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4201 Pedro Alves <palves@redhat.com>
4202
4203 PR breakpoints/17000
4204 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4205 New function, extracted from software_breakpoint_inserted_here_p.
4206 (software_breakpoint_inserted_here_p): Replace factored out code
4207 by call to find_non_raw_software_breakpoint_inserted_here.
4208 (bp_target_info_copy_insertion_state): New function.
4209 (bkpt_insert_location): Handle the case of a single-step
4210 breakpoint already inserted at the same address.
4211 (bkpt_remove_location): Handle the case of a single-step
4212 breakpoint still inserted at the same address.
4213 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4214 breakpoint already inserted at the same address.
4215 (deprecated_remove_raw_breakpoint): Handle the case of a
4216 non-raw breakpoint still inserted at the same address.
4217 (find_single_step_breakpoint): New function, extracted from
4218 single_step_breakpoint_inserted_here_p.
4219 (find_single_step_breakpoint): New function,
4220 factored out from single_step_breakpoint_inserted_here_p.
4221 (single_step_breakpoint_inserted_here_p): Reimplement.
4222
4223 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4224
4225 Pushed by Joel Brobecker <brobecker@adacore.com>
4226 * source.c (show_substitute_path_command): Fix display of matching
4227 substitution rules.
4228
4229 2014-06-03 Gary Benson <gbenson@redhat.com>
4230
4231 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4232
4233 2014-06-02 Doug Evans <xdje42@gmail.com>
4234
4235 Add parameter support for Guile.
4236 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4237 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4238 (scm-param.o): New rule.
4239 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4240 (gdbscm_misc_error): Declare.
4241 (gdbscm_canonicalize_command_name): Declare.
4242 (gdbscm_scm_to_host_string): Declare.
4243 (gdbscm_scm_from_host_string): Declare.
4244 (gdbscm_initialize_parameters): Declare.
4245 * guile/guile.c (initialize_gdb_module): Call
4246 gdbscm_initialize_parameters.
4247 * guile/lib/gdb.scm: Export parameter symbols.
4248 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4249 cmdscm_canonicalize_name and made public. All callers updated.
4250 * guile/scm-exception.c (gdbscm_misc_error): New function.
4251 * guile/scm-param.c: New file.
4252 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4253 (gdbscm_scm_to_host_string): New function.
4254 (gdbscm_scm_from_host_string): New function.
4255 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4256
4257 2014-06-02 Doug Evans <xdje42@gmail.com>
4258
4259 Add command support for Guile.
4260 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4261 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4262 (scm-cmd.o): New rule.
4263 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4264 (gdbscm_user_error_p): Declare.
4265 (gdbscm_parse_command_name): Declare.
4266 (gdbscm_valid_command_class_p): Declare.
4267 (gdbscm_initialize_commands): Declare.
4268 * guile/guile.c (initialize_gdb_module): Call
4269 gdbscm_initialize_commands.
4270 * guile/lib/gdb.scm: Export command symbols.
4271 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4272 (throw-user-error): New function.
4273 * guile/scm-cmd.c: New file.
4274 * guile/scm-exception.c (user_error_symbol): New static global.
4275 (gdbscm_user_error_p): New function.
4276 (gdbscm_initialize_exceptions): Set user_error_symbol.
4277 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4278
4279 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4280
4281 * top.c (command_loop): Handle comments here...
4282 (command_line_input): ... not here.
4283
4284 2014-06-02 Doug Evans <xdje42@gmail.com>
4285
4286 Add progspace support for Guile.
4287 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4288 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4289 (scm-progspace.o): New rule.
4290 * guile/guile-internal.h (pspace_smob): New typedef.
4291 (psscm_pspace_smob_pretty_printers): Declare.
4292 (psscm_pspace_smob_from_pspace): Declare.
4293 (psscm_scm_from_pspace): Declare.
4294 * guile/guile.c (initialize_gdb_module): Call
4295 gdbscm_initialize_pspaces.
4296 * guile/lib/gdb.scm: Export progspace symbols.
4297 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4298 support.
4299 (append-pretty-printer!): Ditto.
4300 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4301 Implement.
4302 * guile/scm-progspace.c: New file.
4303
4304 2014-06-03 Alan Modra <amodra@gmail.com>
4305
4306 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4307 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4308
4309 2014-06-02 Doug Evans <dje@google.com>
4310
4311 Add support for skeletonless type units.
4312 * dwarf2read.c (struct dwarf2_per_objfile): New member
4313 n_allocated_type_units.
4314 (struct dwarf2_per_objfile) <tu_stats>: New member
4315 nr_all_type_units_reallocs.
4316 (create_signatured_type_table_from_index): Initialize
4317 n_allocated_type_units
4318 (create_all_type_units): Ditto.
4319 (add_type_unit): Move up in file. New arg slot.
4320 All callers updated. Increase space for all_type_units more
4321 efficiently.
4322 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4323 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4324 (lookup_dwp_signatured_type): Ditto.
4325 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4326 All callers updated.
4327 (build_type_psymtabs_1): Leave type_unit_groups as
4328 NULL if no TUs present.
4329 (print_tu_stats): New function.
4330 (process_skeletonless_type_unit): New function.
4331 (process_dwo_file_for_skeletonless_type_units): New
4332 function.
4333 (process_skeletonless_type_units): New function.
4334 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4335 Call print tu_stats if debugging enabled.
4336
4337 2014-06-02 Pedro Alves <palves@redhat.com>
4338
4339 * breakpoint.c (build_target_command_list): Don't build a command
4340 list if we have any duplicate location that isn't a dprintf.
4341
4342 2014-06-02 Pedro Alves <palves@redhat.com>
4343
4344 * breakpoint.c (dprintf_breakpoint_hit): New function.
4345 (initialize_breakpoint_ops): Install it as dprintf's
4346 breakpoint_hit method.
4347
4348 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4349
4350 * source.c (substitute_path_rule_matches): Simplify using
4351 filename_ncmp instead of FILENAME_CMP.
4352
4353 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4354
4355 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4356
4357 2014-06-01 Ludovic Courtès <ludo@gnu.org>
4358
4359 * configure.ac: When Guile is available, check for the
4360 availability of 'scm_new_smob'.
4361 * configure, config.h.in: Regenerate.
4362 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4363 function.
4364
4365 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4366
4367 * frame.c (struct frame_info): Add stop_string field.
4368 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4369 (get_prev_frame_always): Old content moved into
4370 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4371 TRY_CATCH, handle MEMORY_ERROR exceptions.
4372 (frame_stop_reason_string): New function definition.
4373 * frame.h (unwind_stop_reason_to_string): Extend comment to
4374 mention frame_stop_reason_string.
4375 (frame_stop_reason_string): New function declaration.
4376 * stack.c (frame_info): Switch to frame_stop_reason_string.
4377 (backtrace_command_1): Switch to frame_stop_reason_string.
4378 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4379 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4380 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4381
4382 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4383
4384 * frame.c (frame_stop_reason_string): Rename to ...
4385 (unwind_stop_reason_to_string): this.
4386 * frame.h (frame_stop_reason_string): Rename to ...
4387 (unwind_stop_reason_to_string): this.
4388 * stack.c (frame_info): Update call to frame_stop_reason_string.
4389 (backtrace_command_1): Likewise.
4390 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4391 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4392
4393 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4394
4395 * frame.c (remove_prev_frame): New function.
4396 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4397 remove_prev_frame.
4398
4399 2014-05-29 Pedro Alves <palves@redhat.com>
4400
4401 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4402 and make it const. When a single-step decays to a continue,
4403 clear 'step', not 'hw_step'. Pass whether the caller wanted
4404 to step to user_visible_resume_ptid, not what we ask the
4405 target to do.
4406
4407 2014-05-29 Pedro Alves <palves@redhat.com>
4408
4409 * infrun.c (process_event_stop_test, handle_step_into_function)
4410 (handle_step_into_function_backward): Adjust.
4411 Don't set the even thread's stop_step and call stop_waiting before
4412 calling end_stepping_range. Instead do that ...
4413 (end_stepping_range): ... here. Take an ecs pointer parameter.
4414
4415 2014-05-29 Pedro Alves <palves@redhat.com>
4416
4417 * infrun.c (stop_stepping): Rename to ...
4418 (stop_waiting): ... this.
4419 (proceed): Update comment.
4420 (process_event_stop_test, handle_inferior_event)
4421 (handle_signal_stop, handle_step_into_function)
4422 (handle_step_into_function_backward): Update.
4423
4424 2014-05-29 Pedro Alves <palves@redhat.com>
4425
4426 * infcall.c (run_inferior_call): Don't check whether the current
4427 thread is running after the proceed call.
4428
4429 2014-05-29 Pedro Alves <palves@redhat.com>
4430 Tom Tromey <tromey@redhat.com>
4431
4432 * NEWS: Mention "maint set target-async", "set mi-async", and that
4433 background execution commands are now always available.
4434 * target.h (target_async_permitted): Update comment.
4435 * target.c (target_async_permitted, target_async_permitted_1):
4436 Default to 1.
4437 (set_target_async_command): Rename to ...
4438 (maint_set_target_async_command): ... this.
4439 (show_target_async_command): Rename to ...
4440 (maint_show_target_async_command): ... this.
4441 (_initialize_target): Adjust.
4442 * infcmd.c (prepare_execution_command): Make extern.
4443 * inferior.h (prepare_execution_command): Declare.
4444 * infrun.c (set_observer_mode): Leave target async alone.
4445 * mi/mi-interp.c (mi_interpreter_init): Install
4446 mi_on_sync_execution_done as sync_execution_done observer.
4447 (mi_on_sync_execution_done): New function.
4448 (mi_execute_command_input_handler): Don't print the prompt if we
4449 just started a synchronous command with an async target.
4450 (mi_on_resume): Check sync_execution before printing prompt.
4451 * mi/mi-main.h (mi_async_p): Declare.
4452 * mi/mi-main.c: Include gdbcmd.h.
4453 (mi_async_p): New function.
4454 (mi_async, mi_async_1): New globals.
4455 (set_mi_async_command, show_mi_async_command, mi_async): New
4456 functions.
4457 (exec_continue): Call prepare_execution_command.
4458 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4459 (mi_execute_async_cli_command): Use mi_async_p.
4460 (_initialize_mi_main): Install "set mi-async". Make
4461 "target-async" a deprecated alias.
4462
4463 2014-05-29 Pedro Alves <palves@redhat.com>
4464
4465 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4466 (_initialize_cli_interp): Adjust.
4467 * event-loop.c: Include "observer.h".
4468 (start_event_loop): Notify 'command_error' observers instead of
4469 calling display_gdb_prompt. Remove FIXME comment.
4470 * event-top.c (display_gdb_prompt): Remove call into the
4471 interpreters.
4472 * inf-loop.c: Include "observer.h".
4473 (inferior_event_handler): Notify 'command_error' observers instead
4474 of calling display_gdb_prompt.
4475 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4476 observers instead of calling display_gdb_prompt.
4477 * interps.c (interp_set): Don't call display_gdb_prompt.
4478 (current_interp_display_prompt_p): Delete.
4479 * interps.h (interp_prompt_p): Delete declaration.
4480 (interp_prompt_p_ftype): Delete.
4481 (struct interp_procs) <prompt_proc_p>: Delete field.
4482 (current_interp_display_prompt_p): Delete declaration.
4483 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4484 (_initialize_mi_interp): Adjust.
4485 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4486 'command_error' observers.
4487 (tui_on_sync_execution_done, tui_on_command_error): New
4488 functions.
4489 (tui_display_prompt_p): Delete.
4490 (_initialize_tui_interp): Adjust.
4491
4492 2014-05-29 Pedro Alves <palves@redhat.com>
4493
4494 PR gdb/13860
4495 * cli/cli-interp.c: Include infrun.h and observer.h.
4496 (cli_uiout, cli_interp): New globals.
4497 (cli_on_signal_received, cli_on_end_stepping_range)
4498 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4499 functions.
4500 (cli_interpreter_init): Install them as 'end_stepping_range',
4501 'signal_received' 'signal_exited', 'exited' and 'no_history'
4502 observers.
4503 (_initialize_cli_interp): Remove cli_interp local.
4504 * infrun.c (handle_inferior_event): Call the several stop reason
4505 observers instead of printing the stop reason directly.
4506 (end_stepping_range): New function.
4507 (print_end_stepping_range_reason, print_signal_exited_reason)
4508 (print_exited_reason, print_signal_received_reason)
4509 (print_no_history_reason): Make static, and add an uiout
4510 parameter. Print to that instead of to CURRENT_UIOUT.
4511 * infrun.h (print_end_stepping_range_reason)
4512 (print_signal_exited_reason, print_exited_reason)
4513 (print_signal_received_reason print_no_history_reason): New
4514 declarations.
4515 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4516 'mi_uiout'.
4517 <cli_uiout>: New field.
4518 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4519 uiout for CLI output. Install 'signal_received',
4520 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4521 observers.
4522 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4523 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4524 (mi_on_no_history): New functions.
4525 (ui_out_free_cleanup): Delete function.
4526 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4527 instead use the one already stored in the MI interpreter data.
4528 (mi_ui_out): Adjust.
4529 * tui/tui-interp.c: Include infrun.h and observer.h.
4530 (tui_interp): New global.
4531 (tui_on_signal_received, tui_on_end_stepping_range)
4532 (tui_on_signal_exited, tui_on_exited)
4533 (tui_on_no_history): New functions.
4534 (tui_init): Install them as 'end_stepping_range',
4535 'signal_received' 'signal_exited', 'exited' and 'no_history'
4536 observers.
4537 (_initialize_tui_interp): Delete tui_interp local.
4538
4539 2014-05-29 Pedro Alves <palves@redhat.com>
4540
4541 PR gdb/15713
4542 * linux-nat.c (linux_nat_resume_callback): Rename the second
4543 parameter to 'except'. Skip LP if it points to EXCEPT.
4544 (linux_nat_resume): Don't mark the event lwp as not stopped
4545 before resuming sibling lwps. Instead ask
4546 linux_nat_resume_callback to skip the event lwp. Mark it as not
4547 stopped after actually resuming it.
4548 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4549 resuming it.
4550 (wait_lwp): Mark the lwp as stopped here.
4551 (stop_wait_callback): Mark the lwp as not stopped right after
4552 resuming it. Don't mark lwps as stopped here.
4553 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4554 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4555
4556 2014-05-29 Pedro Alves <palves@redhat.com>
4557
4558 PR PR15693
4559 * infrun.c (resume): Determine how much to resume depending on
4560 whether the caller wanted a step, not whether we can hardware step
4561 the target. Mark all threads that we intend to run as running,
4562 unless we're calling an inferior function.
4563 (normal_stop): If the thread is running an infcall, don't finish
4564 thread state.
4565 * target.c (target_resume): Don't mark threads as running here.
4566
4567 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4568
4569 * serial.c (_initialize_serial): Remove support for
4570 the "set remotebaud" and "show remotebaud" commands.
4571 * NEWS: Add entry documenting the removal of that command.
4572
4573 2014-05-28 Yao Qi <yao@codesourcery.com>
4574
4575 * charset.c: Fix typo in comments.
4576
4577 2014-05-27 Gary Benson <gbenson@redhat.com>
4578
4579 * utils.c (internal_vproblem): Prompt for a bug report.
4580
4581 2014-05-26 Andy Wingo <wingo@igalia.com>
4582
4583 * guile/scm-arch.c (arscm_mark_arch_smob):
4584 * guile/scm-block.c (bkscm_mark_block_smob)
4585 (bkscm_mark_block_syms_progress_smob):
4586 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4587 * guile/scm-exception.c (exscm_mark_exception_smob):
4588 * guile/scm-frame.c (frscm_mark_frame_smob):
4589 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4590 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4591 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4592 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4593 (ppscm_mark_pretty_printer_worker_smob):
4594 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4595 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4596 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4597 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4598 mark functions.
4599 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4600 function.
4601
4602 2014-05-26 Andy Wingo <wingo@igalia.com>
4603 Doug Evans <xdje42@gmail.com>
4604
4605 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4606 empty_base_class. All uses updated.
4607 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4608 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4609 Adapt all callers.
4610 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4611 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4612 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4613 (gdbscm_gsmob_has_property_p, add_property_name)
4614 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4615 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4616 (gdb-object-has-property?, gdb-object-properties): Remove.
4617 (gdb-object-kind): Renamed from gsmob-kind.
4618
4619 2014-05-26 Andy Wingo <wingo@igalia.com>
4620
4621 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4622 * configure: Regenerate.
4623
4624 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4625
4626 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4627
4628 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4629
4630 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4631 (replay_memory_access_read_only, replay_memory_access_read_write)
4632 (replay_memory_access_types, replay_memory_access)
4633 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4634 (cmd_set_record_btrace, cmd_show_record_btrace)
4635 (cmd_show_replay_memory_access): New.
4636 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4637 (record_btrace_remove_breakpoint): Replace
4638 record_btrace_allow_memory_access with replay_memory_access.
4639 (_initialize_record_btrace): Add commands.
4640 * NEWS: Announce it.
4641
4642 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4643
4644 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4645
4646 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4647
4648 * MAINTAINERS (Write After Approval): Move self back from
4649 paper trail.
4650
4651 2014-05-22 Pedro Alves <palves@redhat.com>
4652
4653 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4654 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4655 (disable_randomization, enum exec_direction_kind)
4656 (execution_direction, stop_registers, start_remote)
4657 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4658 (wait_for_inferior, normal_stop, get_last_target_status)
4659 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4660 (insert_step_resume_breakpoint_at_sal)
4661 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4662 (set_step_info, print_stop_event, signal_stop_state)
4663 (signal_print_state, signal_pass_state, signal_stop_update)
4664 (signal_print_update, signal_pass_update)
4665 (update_signals_program_target, clear_exit_convenience_vars)
4666 (displaced_step_dump_bytes, update_observer_mode)
4667 (signal_catch_update, gdb_signal_from_command): Move
4668 declarations ...
4669 * infrun.h: ... to this new file.
4670 * amd64-tdep.c: Include infrun.h.
4671 * annotate.c: Include infrun.h.
4672 * arch-utils.c: Include infrun.h.
4673 * arm-linux-tdep.c: Include infrun.h.
4674 * arm-tdep.c: Include infrun.h.
4675 * break-catch-sig.c: Include infrun.h.
4676 * breakpoint.c: Include infrun.h.
4677 * common/agent.c: Include infrun.h instead of inferior.h.
4678 * corelow.c: Include infrun.h.
4679 * event-top.c: Include infrun.h.
4680 * go32-nat.c: Include infrun.h.
4681 * i386-tdep.c: Include infrun.h.
4682 * inf-loop.c: Include infrun.h.
4683 * infcall.c: Include infrun.h.
4684 * infcmd.c: Include infrun.h.
4685 * infrun.c: Include infrun.h.
4686 * linux-fork.c: Include infrun.h.
4687 * linux-nat.c: Include infrun.h.
4688 * linux-thread-db.c: Include infrun.h.
4689 * monitor.c: Include infrun.h.
4690 * nto-tdep.c: Include infrun.h.
4691 * procfs.c: Include infrun.h.
4692 * record-btrace.c: Include infrun.h.
4693 * record-full.c: Include infrun.h.
4694 * remote-m32r-sdi.c: Include infrun.h.
4695 * remote-mips.c: Include infrun.h.
4696 * remote-notif.c: Include infrun.h.
4697 * remote-sim.c: Include infrun.h.
4698 * remote.c: Include infrun.h.
4699 * reverse.c: Include infrun.h.
4700 * rs6000-tdep.c: Include infrun.h.
4701 * s390-linux-tdep.c: Include infrun.h.
4702 * solib-irix.c: Include infrun.h.
4703 * solib-osf.c: Include infrun.h.
4704 * solib-svr4.c: Include infrun.h.
4705 * target.c: Include infrun.h.
4706 * top.c: Include infrun.h.
4707 * windows-nat.c: Include infrun.h.
4708 * mi/mi-interp.c: Include infrun.h.
4709 * mi/mi-main.c: Include infrun.h.
4710 * python/py-threadevent.c: Include infrun.h.
4711
4712 2014-05-22 Pedro Alves <palves@redhat.com>
4713
4714 * infrun.c (handle_inferior_event): Store the exit code for
4715 --return-child-result here, instead of ...
4716 (print_exited_reason): ... here.
4717
4718 2014-05-21 Pedro Alves <palves@redhat.com>
4719
4720 PR gdb/13860
4721 * gdbthread.h (struct thread_control_state): New field
4722 `command_interp'.
4723 * infrun.c (follow_fork): Copy the new thread control field to the
4724 child fork thread.
4725 (clear_proceed_status_thread): Clear the new thread control field.
4726 (proceed): Set the new thread control field.
4727 * interps.h (command_interp): Declare.
4728 * interps.c (command_interpreter): New global.
4729 (command_interp): New function.
4730 (interp_exec): Set `command_interpreter' while here.
4731 * cli-out.c (cli_uiout_dtor): New function.
4732 (cli_ui_out_impl): Install it.
4733 * mi/mi-interp.c: Include cli-out.h.
4734 (mi_cmd_interpreter_exec): Add comment.
4735 (restore_current_uiout_cleanup): New function.
4736 (ui_out_free_cleanup): New function.
4737 (mi_on_normal_stop): If finishing an execution command started by
4738 a CLI command, or any kind of breakpoint-like event triggered,
4739 print the stop event to the output (CLI) stream.
4740 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4741
4742 2014-05-21 Pedro Alves <palves@redhat.com>
4743
4744 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4745 current source line having changed.
4746 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4747 * infrun.c (normal_stop): Adjust call to
4748 set_current_sal_from_frame.
4749 * source.c (clear_lines_listed_range): New function.
4750 (set_current_source_symtab_and_line, identify_source_line): Clear
4751 the lines listed range.
4752 (line_info): Handle the first "info line" after the current source
4753 line having changed.
4754 * stack.c (print_stack_frame): Remove center handling.
4755 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4756 center sal.line.
4757
4758 2014-05-21 Pedro Alves <palves@redhat.com>
4759
4760 * inf-child.c (inf_child_mourn_inferior): New function.
4761 * inf-child.h (inf_child_mourn_inferior): New declaration.
4762 * darwin-nat.c (darwin_mourn_inferior): Use
4763 inf_child_mourn_inferior.
4764 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4765 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4766 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4767 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4768 * windows-nat.c (windows_mourn_inferior): Likewise.
4769
4770 2014-05-21 Doug Evans <xdje42@gmail.com>
4771
4772 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4773
4774 2014-05-21 Doug Evans <xdje42@gmail.com>
4775
4776 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4777 (gdbscm_out_of_range_error): Ditto.
4778 (gdbscm_memory_error): Ditto.
4779 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4780 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4781 (gdbscm_out_of_range_error): Update.
4782 (gdbscm_memory_error): Update.
4783 (gdbscm_scm_to_target_string_unsafe): Delete.
4784
4785 2014-05-21 Pedro Alves <palves@redhat.com>
4786
4787 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4788 globals.
4789 (inf_child_open_target): New function.
4790 (inf_child_open): Use inf_child_open_target to push the target
4791 instead of erroring out.
4792 (inf_child_disconnect, inf_child_close)
4793 (inf_child_maybe_unpush_target): New functions.
4794 (inf_child_target): Install inf_child_disconnect and
4795 inf_child_close. Store a pointer to the returned object.
4796 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4797 declarations.
4798 * target.c (auto_connect_native_target): New global.
4799 (show_default_run_target): New function.
4800 (find_default_run_target): Return NULL if automatically connecting
4801 to the native target is disabled.
4802 (_initialize_target): Install set/show auto-connect-native-target.
4803 * NEWS: Mention "set auto-connect-native-target", and "target
4804 native".
4805 * linux-nat.c (super_close): New global.
4806 (linux_nat_close): Call super_close.
4807 (linux_nat_add_target): Store a pointer to the base class's
4808 to_close method.
4809 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4810 inf_child_maybe_unpush.
4811 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4812 already pushed.
4813 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4814 the inferior. Use inf_child_maybe_unpush_target.
4815 (inf_ttrace_attach): Don't push the target if it is already
4816 pushed.
4817 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4818 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4819 after mourning the inferior. Use inf_child_maybe_unpush_target.
4820 (darwin_attach_pid): Don't push the target if it is already
4821 pushed.
4822 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4823 mourning the inferior. Use inf_child_maybe_unpush_target.
4824 (gnu_detach): Use inf_child_maybe_unpush_target.
4825 * go32-nat.c (go32_create_inferior): Don't push the target if it
4826 is already pushed.
4827 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4828 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4829 (procfs_open): Rename to ...
4830 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4831 comments. Can target_preopen before changing node. Call
4832 inf_child_open_target to push the target explicitly.
4833 (procfs_attach): Don't push the target if it is already pushed.
4834 (procfs_detach): Use inf_child_maybe_unpush_target.
4835 (procfs_create_inferior): Don't push the target if it is already
4836 pushed.
4837 (nto_native_ops): New global.
4838 (procfs_open): Reimplement.
4839 (procfs_native_open): New function.
4840 (init_procfs_targets): Install procfs_native_open as to_open of
4841 "target native". Store a pointer to the "native" target in
4842 nto_native_ops.
4843 * procfs.c (procfs_attach): Don't push the target if it is already
4844 pushed.
4845 (procfs_detach): Use inf_child_maybe_unpush_target.
4846 (procfs_mourn_inferior): Only unpush the target after mourning the
4847 inferior. Use inf_child_maybe_unpush_target.
4848 (procfs_init_inferior): Don't push the target if it is already
4849 pushed.
4850 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4851 if it is already pushed.
4852
4853 2014-05-21 Pedro Alves <palves@redhat.com>
4854
4855 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4856 and "procfs" targets are now called "native" instead.
4857
4858 2014-05-21 Pedro Alves <palves@redhat.com>
4859
4860 * go32-nat.c (go32_open): Delete.
4861 (go32_target): Don't override the to_open method.
4862
4863 2014-05-21 Pedro Alves <palves@redhat.com>
4864
4865 * nto-procfs.c (procfs_can_run): New function.
4866 (nto_procfs_ops): New global.
4867 (init_procfs_targets): New, based on procfs_target. Install
4868 "target native" in addition to "target procfs".
4869 (_initialize_procfs): Call init_procfs_targets instead of adding
4870 the target here.
4871
4872 2014-05-21 Pedro Alves <palves@redhat.com>
4873
4874 * windows-nat.c (windows_target): Don't override to_shortname,
4875 to_longname or to_doc.
4876
4877 2014-05-21 Pedro Alves <palves@redhat.com>
4878
4879 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4880 to_doc.
4881
4882 2014-05-21 Pedro Alves <palves@redhat.com>
4883
4884 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4885 to_shortname, to_longname or to_doc.
4886
4887 2014-05-21 Pedro Alves <palves@redhat.com>
4888
4889 * go32-nat.c (go32_target): Don't override to_shortname,
4890 to_longname or to_doc.
4891
4892 2014-05-21 Pedro Alves <palves@redhat.com>
4893
4894 * inf-child.c (inf_child_open): Remove mention of "child".
4895 (inf_child_target): Rename target to "native" instead of "child".
4896
4897 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4898
4899 * Makefile.in (SFILES): Delete "regset.c".
4900 (COMMON_OBS): Delete "regset.o".
4901 * regset.c: Remove.
4902 * regset.h (regset_alloc): Delete prototype.
4903
4904 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4905
4906 * sparc-linux-tdep.c (sparc32_linux_gregset)
4907 (sparc32_linux_fpregset): New static regset structures.
4908 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4909 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4910 'fpregset' fields.
4911 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4912 (sparc64_linux_fpregset): New static regset structures.
4913 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4914 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4915 New static regset structures.
4916 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4917 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4918 New static regset structures.
4919 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4920 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4921 New static regset structures.
4922 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4923 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4924 New static regset structures.
4925 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4926
4927 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928
4929 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4930 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4931 register maps ("regmaps") from "*regset" to "*regmap". Do this
4932 for all regmap types and variables.
4933 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4934 (sparc32_linux_supply_core_gregset)
4935 (sparc32_linux_collect_core_gregset)
4936 (sparc32_linux_supply_core_fpregset)
4937 (sparc32_linux_collect_core_fpregset): Likewise.
4938 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4939 (sparc_gregmap, sparc_fpregmap): ... these.
4940 (sparc_supply_gregset, sparc_collect_gregset)
4941 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4942 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4943 (_initialize_sparc_nat): Rename regmaps.
4944 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4945 (sparc_gregmap, sparc_fpregmap): ... these.
4946 (sparc_supply_gregset, sparc_collect_gregset)
4947 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4948 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4949 Rename macros to...
4950 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4951 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4952 Likewise.
4953 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4954 Rename to...
4955 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4956 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4957 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4958 regmaps.
4959 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4960 (sparc32_bsd_fpregset): Rename to...
4961 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4962 (sparc32_bsd_fpregmap): ... these.
4963 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4964 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4965 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4966 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4967 (struct sparc_gregmap, struct sparc_fpregmap)
4968 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4969 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4970 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4971 (sparc32_supply_regset, sparc32_collect_gregset)
4972 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4973 prototypes.
4974 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4975 (sparc64_linux_ptrace_gregmap): ... this.
4976 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4977 (_initialize_sparc64_linux_nat): Rename regmaps.
4978 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4979 (sparc64_linux_core_gregmap): ... this.
4980 (sparc64_linux_supply_core_gregset)
4981 (sparc64_linux_collect_core_gregset)
4982 (sparc64_linux_supply_core_fpregset)
4983 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4984 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4985 (sparc64_sol2_fpregset): Rename to...
4986 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4987 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4988 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4989 regmaps.
4990 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4991 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4992 (sparc64_bsd_fpregset): Rename to...
4993 (struct sparc_gregmap, sparc64_sol2_gregmap)
4994 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4995 (sparc64_bsd_fpregmap): ... these.
4996 (sparc64_supply_gregset, sparc64_collect_gregset)
4997 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4998 prototypes.
4999 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5000 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5001 (sparc64fbsd_gregmap): ... this.
5002 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5003 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5004 Rename regmaps.
5005 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5006 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5007 (sparc64nbsd_collect_fpregset): Likewise.
5008 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5009 (sparc64nbsd_gregmap): ... this.
5010 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5011 regmaps.
5012 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5013 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5014 (sparc64obsd_gregmap): ... this.
5015 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5016 regmaps.
5017 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5018 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5019 (sparc32nbsd_gregmap): ... this.
5020 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5021 regmaps.
5022
5023 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5024
5025 * score-tdep.c (score7_linux_gregset): New static regset
5026 structure.
5027 (score7_linux_regset_from_core_section): Remove dynamic regset
5028 allocation.
5029 (score_gdbarch_init): Drop allocation of tdep structure.
5030 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5031
5032 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5033
5034 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5035 regset structures.
5036 (am33_regset_from_core_section): Remove dynamic regset
5037 allocations.
5038
5039 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5040
5041 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5042 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5043 structures.
5044 (mips_linux_regset_from_core_section): Remove dynamic regset
5045 allocations.
5046 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5047 'gregset64', 'fpregset', and 'fpregset64'.
5048 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5049 deleted tdep fields.
5050
5051 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5052
5053 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5054 regset structures.
5055 (amd64_regset_from_core_section): Remove dynamic regset
5056 allocations.
5057 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5058 structure.
5059 (amd64obsd_regset_from_core_section): Remove dynamic regset
5060 allocation.
5061 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5062 Likewise.
5063 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5064 x86-common regset supply function.
5065 * i386-tdep.c (i386_collect_gregset): Make static.
5066 (i386_gregset): New global regset structure.
5067 (i386_fpregset, i386_xstateregset): New static regset structures.
5068 (i386_regset_from_core_section): Remove dynamic regset
5069 allocations.
5070 (i386_gdbarch_init): Remove initialization of tdep fields
5071 'gregset', 'fpregset', and 'xstateregset'.
5072 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5073 'fpregset', and 'xstateregset'.
5074 (i386_collect_gregset): Remove prototype.
5075 (i386_gregset): New declaration.
5076 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5077 structure.
5078 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5079 allocation.
5080
5081 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5082
5083 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5084 (arm_linux_vfpregset): New static regset structures.
5085 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5086 regset structures.
5087 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5088 and 'vfpregset' fields.
5089
5090 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5091
5092 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5093 (aarch64_linux_fpregset): New static regset structures.
5094 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5095 of regset structures.
5096 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5097 'fpregset' fields.
5098
5099 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5100
5101 * regset.h (struct regset): Remove gdbarch field.
5102 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5103 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5104 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5105 Likewise.
5106 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5107 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5108 (ppc32_linux_vsxregset): Likewise.
5109 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5110 via the regcache instead of the regset.
5111 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5112 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5113 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5114 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5115 Likewise.
5116
5117 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5118
5119 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5120 Constify structures.
5121 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5122 (alphanbsd_aout_gregset): Likewise.
5123 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5124 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5125 Likewise.
5126 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5127 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5128 Likewise.
5129 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5130 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5131 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5132 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5133 * m88k-tdep.c (m88k_gregset): Likewise.
5134 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5135 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5136 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5137 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5138 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5139 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5140 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5141 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5142 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5143 Likewise.
5144 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5145 * sh-tdep.h (sh_corefile_gregset): Likewise.
5146 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5147 * vax-tdep.c (vax_gregset): Likewise.
5148
5149 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 Fix TLS access for -static -pthread.
5152 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5153 (try_thread_db_load_1): Initialize it.
5154 (thread_db_get_thread_local_address): Call it if LM is zero.
5155 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5156 * target.h (struct target_ops) (to_get_thread_local_address): Add
5157 load_module_addr comment.
5158
5159 2014-05-21 Pedro Alves <palves@redhat.com>
5160
5161 * dcache.c (dcache_read_memory_partial): If reading the cache line
5162 fails, fallback to reading just the memory the caller wanted.
5163
5164 2014-05-20 Doug Evans <dje@google.com>
5165
5166 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5167 instead of get_current_arch.
5168
5169 2014-05-20 Pedro Alves <palves@redhat.com>
5170
5171 * NEWS: Mention that compare-sections now works with all targets.
5172
5173 * remote.c (PACKET_qCRC): New enum value.
5174 (remote_verify_memory): Don't send qCRC if the target has no
5175 execution. Use packet_support/packet_ok. If the target doesn't
5176 support the qCRC packet, fallback to a deep memory copy.
5177 (compare_sections_command): Say "target image" instead of "remote
5178 executable".
5179 (_initialize_remote): Add PACKET_qCRC to the list of config
5180 packets that have no associated command. Extend comment.
5181 * target.c (simple_verify_memory, default_verify_memory): New
5182 function.
5183 * target.h (struct target_ops) <to_verify_memory>: Default to
5184 default_verify_memory.
5185 (simple_verify_memory): New declaration.
5186 * target-delegates.c: Regenerate.
5187
5188 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5189
5190 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5191
5192 2014-05-20 Hui Zhu <hui@codesourcery.com>
5193 Yao Qi <yao@codesourcery.com>
5194
5195 PR backtrace/16558
5196 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5197 and change address of sp and pc.
5198
5199 2014-05-19 Tom Tromey <tromey@redhat.com>
5200
5201 * gdbtypes.c (rank_function): Use XNEWVEC.
5202 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5203
5204 2014-05-19 Doug Evans <dje@google.com>
5205
5206 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5207 build_type_unit_groups and moved closer to only caller. Remove
5208 arguments. All references updated. Remove outdated .gdb_index
5209 comment.
5210 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5211 build_type_psymtabs_1.
5212
5213 2014-05-19 Doug Evans <dje@google.com>
5214
5215 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5216 n_type_unit_groups, all_type_unit_groups. All uses removed.
5217 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5218 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5219 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5220 (add_type_unit_group_to_table): Delete.
5221
5222 2014-05-19 Doug Evans <dje@google.com>
5223
5224 * eval.c (evaluate_subexp_standard): Add some comments.
5225
5226 2014-05-17 Doug Evans <xdje42@gmail.com>
5227
5228 * progspace.c (remove_program_space): Delete, unused.
5229 * progspace.h (remove_program_space): Ditto.
5230
5231 2014-05-17 Doug Evans <xdje42@gmail.com>
5232
5233 * inferior.c (prune_inferiors): Fix comment.
5234 (remove_inferior_command): Call prune_program_spaces.
5235
5236 2014-05-16 Doug Evans <dje@google.com>
5237
5238 New command line option -D.
5239 * NEWS: Mention it.
5240 * main.c (set_gdb_data_directory): New function.
5241 (captured_main): Recognize -D. Flag error for --data-directory "".
5242 Call set_gdb_data_directory.
5243 (print_gdb_help): Print --data-directory, -D.
5244 * main.h (set_gdb_data_directory): Declare.
5245 * top.c (staged_gdb_datadir): New static global.
5246 (set_gdb_datadir): Call set_gdb_data_directory
5247 (show_gdb_datadir): New function.
5248 (init_main): Update init of data-directory parameter.
5249
5250 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5251
5252 Import the "dirfd" gnulib module.
5253 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5254 * gnulib/aclocal.m4: Update.
5255 * gnulib/config.in: Update.
5256 * gnulib/configure: Update.
5257 * gnulib/import/Makefile.am: Update.
5258 * gnulib/import/Makefile.in: Update.
5259 * gnulib/import/dirfd.c: New.
5260 * gnulib/import/m4/dirfd.m4: New.
5261 * gnulib/import/m4/gnulib-cache.m4: Update.
5262 * gnulib/import/m4/gnulib-comp.m4: Update.
5263
5264 2014-05-16 Pierre Muller <muller@sourceware.org>
5265 Yao Qi <yao@codesourcery.com>
5266
5267 * valprint.c (print_wchar): Move the code on checking whether
5268 W is a printable wide char to the default branch of switch
5269 statement below. Call wchar_printable instead of gdb_iswprint.
5270
5271 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5272
5273 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5274 ldr.w and ldrd instructions.
5275
5276 2014-05-15 Doug Evans <dje@google.com>
5277
5278 * dwarf2read.c (read_structure_type): Delete outdated comments.
5279
5280 2014-05-14 Tom Tromey <tromey@redhat.com>
5281
5282 * macrocmd.c (print_macro_definition): Reindent.
5283
5284 2014-05-13 Doug Evans <xdje42@gmail.com>
5285
5286 * python/py-cmd.c (cmdpy_completer): Add comment.
5287 (completers): Make const.
5288
5289 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5290
5291 * infrun.c (resume): Remove should_resume (unused). Move up
5292 declaration of resume_ptid.
5293
5294 2014-05-13 Tom Tromey <tromey@redhat.com>
5295
5296 * language.h (unop_type_check): Remove.
5297 (binop_type_check): Don't declare.
5298
5299 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5300
5301 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5302 call to regcache_raw_collect.
5303
5304 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5305
5306 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5307 mi_console->quote as the quoting character.
5308
5309 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5310
5311 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5312
5313 2014-04-29 Tom Tromey <tromey@redhat.com>
5314
5315 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5316 "show debug varobj".
5317
5318 2014-05-07 Kyle McMartin <kyle@redhat.com>
5319
5320 Pushed by Joel Brobecker <brobecker@adacore.com>.
5321 * aarch64-tdep.c (aarch64_software_single_step): New function.
5322 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5323 with aarch64_software_single_step.
5324
5325 2014-05-05 Joel Brobecker <brobecker@adacore.com>
5326
5327 GDB 7.7.1 released.
5328
5329 2014-05-05 Keith Seitz <keiths@redhat.com>
5330
5331 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5332 variable or history value is successfully parsed.
5333
5334 2014-05-05 Yao Qi <yao@codesourcery.com>
5335 Pedro Alves <palves@redhat.com>
5336
5337 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5338 address of blocks that intersects the requested range. Trim
5339 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5340 sections.
5341 * ctf.c (ctf_xfer_partial): Likewise.
5342
5343 2014-05-05 Yao Qi <yao@codesourcery.com>
5344
5345 * printcmd.c (display_command): Remove the check to
5346 target_has_execution.
5347
5348 2014-05-03 Mark Kettenis <kettenis@gnu.org>
5349
5350 * ppcobsd-nat.c: Include "obsd-nat.h".
5351 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5352 add_target.
5353 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5354
5355 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5356
5357 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5358 and 16-bit signed and unsigned arguments. Update comment.
5359 (stap_parse_probe_arguments): Extend code to handle such
5360 arguments. Use warning instead of complaint to notify about
5361 unrecognized bitness.
5362
5363 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5364
5365 PR breakpoints/16889
5366 * stap-probe.c (stap_parse_probe_arguments): Simplify
5367 check for non-prefixed probes (i.e., probes whose
5368 arguments do not start with "N@"). Always set the
5369 argument type to a sane value.
5370
5371 2014-05-01 David Taylor <dtaylor@emc.com>
5372
5373 * remote.c (compare_sections_command): Add -r option to compare
5374 all loadable read-only sections.
5375
5376 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5377
5378 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5379 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5380 Update all callers.
5381 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5382 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5383 Remove unused CORE_ADDR argument. Update all callers.
5384
5385 2014-04-29 Pedro Alves <palves@redhat.com>
5386
5387 * remote.c (struct packet_config) <detect>: Extend comment.
5388 (add_packet_config_cmd): Don't set the config's detect or support
5389 fields here.
5390 (init_all_packet_configs): Also initialize the config's 'detect'
5391 field.
5392 (reset_all_packet_configs_support): New function.
5393 (remote_open_1): Call reset_all_packet_configs_support instead of
5394 init_all_packet_configs.
5395 (_initialize_remote): Initialize all packet configs. Assert that
5396 all packets have an associated command, except a few known
5397 outliers.
5398
5399 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5400
5401 * dwarf2read.c (read_subrange_type): Handle dynamic
5402 DW_AT_lower_bound attributes.
5403
5404 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5405
5406 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5407 dynamic bounds before computing its upper bound.
5408 (ada_discrete_type_low_bound): Same as above with the lower bound.
5409
5410 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5411
5412 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5413 range types. Adjust the array handling implementation to
5414 take advantage of this change.
5415 (resolve_dynamic_range): New function, mostly extracted from
5416 resolve_dynamic_bounds.
5417 (resolve_dynamic_array): New function, mostly extracted from
5418 resolve_dynamic_bounds.
5419 (resolve_dynamic_bounds): Delete.
5420 (resolve_dynamic_type): Reimplement. Add handling of
5421 TYPE_CODE_RANGE types.
5422
5423 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5424
5425 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5426 handling of parallel ___XA types.
5427
5428 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5429
5430 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5431 unnecessary second call to static_unwrap_type.
5432
5433 2014-04-27 Hui Zhu <hui@codesourcery.com>
5434
5435 * stack.c (print_frame_info): Call do_gdb_disassembly with
5436 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5437
5438 2014-04-26 Doug Evans <xdje42@gmail.com>
5439
5440 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5441
5442 2014-04-25 Pedro Alves <palves@redhat.com>
5443
5444 PR server/16255
5445 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5446 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5447 and newline from built string.
5448 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5449 (linux_ptrace_attach_fail_reason): ... this.
5450 * linux-nat.c (linux_nat_attach): Adjust to use
5451 linux_ptrace_attach_fail_reason.
5452
5453 2014-04-25 Pedro Alves <palves@redhat.com>
5454
5455 * remote.c (struct remote_state): Remove multi_process_aware,
5456 non_stop_aware, cond_tracepoints, cond_breakpoints,
5457 breakpoint_commands, fast_tracepoints, static_tracepoints,
5458 install_in_trace, disconnected_tracing,
5459 enable_disable_tracepoints, string_tracing, and
5460 augmented_libraries_svr4_read fields.
5461 (remote_multi_process_p): Move further below in the file.
5462 (struct packet_config): Add comments.
5463 (update_packet_config): Delete function.
5464 (show_packet_config_cmd): Use packet_config_support.
5465 (add_packet_config_cmd): Use NULL as set callback.
5466 (packet_ok): "set remote foo-packet"-style commands no longer
5467 change config->supported -- adjust.
5468 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5469 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5470 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5471 (PACKET_QNonStop, PACKET_multiprocess_feature)
5472 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5473 (PACKET_DisconnectedTracing_feature)
5474 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5475 (set_remote_protocol_packet_cmd): Delete function.
5476 (packet_config_support, packet_support): New functions.
5477 (set_remote_protocol_Z_packet_cmd): Don't call
5478 update_packet_config.
5479 (remote_query_attached, remote_pass_signals)
5480 (remote_program_signals, remote_threads_info)
5481 (remote_threads_extra_info, remote_start_remote): Use
5482 packet_support.
5483 (remote_start_remote): Use packet_config_support and
5484 packet_support.
5485 (init_all_packet_configs): Set all packets to unknown support,
5486 instead of calling update_packet_config.
5487 (remote_check_symbols): Use packet_support.
5488 (remote_supported_packet): Unconditionally set the packet config's
5489 support status.
5490 (remote_multi_process_feature, remote_non_stop_feature)
5491 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5492 (remote_breakpoint_commands_feature)
5493 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5494 (remote_install_in_trace_feature)
5495 (remote_disconnected_tracing_feature)
5496 (remote_enable_disable_tracepoint_feature)
5497 (remote_string_tracing_feature)
5498 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5499 (remote_protocol_features): Adjust to use remote_supported_packet
5500 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5501 "ConditionalTracepoints", "ConditionalBreakpoints",
5502 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5503 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5504 "EnableDisableTracepoints", and "tracenz".
5505 (remote_query_supported): Use packet_support.
5506 (remote_open_1): Adjust.
5507 (extended_remote_attach_1): Use packet_support. Switch on the
5508 result of packet_ok instead of checking whether the packet ended
5509 up disabled.
5510 (remote_vcont_resume): Use packet_support.
5511 (remote_resume, remote_stop_ns, fetch_register_using_p)
5512 (remote_prepare_to_store, store_register_using_P)
5513 (check_binary_download, remote_write_bytes): Use packet_support.
5514 (remote_vkill): Use packet_support. Switch on the result of
5515 packet_ok instead of checking whether the packet ended up
5516 disabled.
5517 (extended_remote_supports_disable_randomization): Use
5518 packet_support.
5519 (extended_remote_run): Switch on the result of packet_ok instead
5520 of checking whether the packet ended up disabled.
5521 (remote_insert_breakpoint, remote_remove_breakpoint)
5522 (remote_insert_watchpoint, remote_remove_watchpoint)
5523 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5524 packet_support.
5525 (remote_search_memory): Use packet_config_support.
5526 (remote_get_thread_local_address, remote_get_tib_address)
5527 (remote_hostio_send_command, remote_can_execute_reverse): Use
5528 packet_support.
5529 (remote_supports_cond_tracepoints)
5530 (remote_supports_cond_breakpoints)
5531 (remote_supports_fast_tracepoints)
5532 (remote_supports_static_tracepoints)
5533 (remote_supports_install_in_trace)
5534 (remote_supports_enable_disable_tracepoint)
5535 (remote_supports_string_tracing)
5536 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5537 the packet config says the feature is enabled or disabled.
5538 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5539 (remote_get_trace_status): Use packet_support.
5540 (remote_set_disconnected_tracing): Adjust to check whether the
5541 feature is enabled with packet_support.
5542 (remote_set_trace_buffer_size, remote_use_agent)
5543 (remote_can_use_agent, remote_supports_btrace): Use
5544 packet_support.
5545 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5546 Use packet_config_support.
5547 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5548 the packet config says the feature is enabled or disabled.
5549 (set_range_stepping): Use packet_support.
5550
5551 2014-04-25 Tom Tromey <tromey@redhat.com>
5552
5553 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5554 argument.
5555
5556 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5557
5558 * NEWS: Mention support for C99 variable length arrays.
5559
5560 2014-04-24 Joel Brobecker <brobecker@adacore.com>
5561
5562 * ada-lang.c (standard_exc): Expand introductory comment.
5563
5564 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5565 Walfred Tedeschi <walfred.tedeschi@intel.com>
5566
5567 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5568 AVX512 registers.
5569 (amd64_linux_read_description): Add code to handle AVX512 xstate
5570 mask and return respective tdesc.
5571 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5572 and features/i386/x32-avx512-linux.c.
5573 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5574 (amd64_linux_core_read_description): Add code to handle AVX512
5575 xstate mask and return respective tdesc.
5576 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5577 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5578 calculation.
5579 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5580 (tdesc_amd64_avx512_linux): New prototype.
5581 (tdesc_x32_avx512_linux): Likewise.
5582 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5583 features/i386/x32-avx512.c.
5584 (amd64_ymm_avx512_names): New register names for pseudo
5585 registers YMM16-31.
5586 (amd64_ymmh_avx512_names): New register names for raw registers
5587 YMMH16-31.
5588 (amd64_k_names): New register names for K registers.
5589 (amd64_zmmh_names): New register names for ZMM raw registers.
5590 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5591 (amd64_xmm_avx512_names): New register names for XMM16-31
5592 registers.
5593 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5594 registers.
5595 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5596 if feature is present.
5597 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5598 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5599 (AMD64_NUM_REGS): Adjust to new number of registers.
5600 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5601 registers supplied via XSTATE by AVX512 registers.
5602 (i386_linux_read_description): Add case for AVX512.
5603 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5604 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5605 (i386_linux_core_read_description): Add case for AVX512.
5606 (i386_linux_init_abi): Install supported register note section
5607 for AVX512.
5608 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5609 AVX512.
5610 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5611 registers to be number of zmm7h + 1.
5612 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5613 * i386-tdep.c: Include features/i386/i386-avx512.c.
5614 (i386_zmm_names): Add ZMM pseudo register names array.
5615 (i386_zmmh_names): Add ZMM raw register names array.
5616 (i386_k_names): Add K raw register names array.
5617 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5618 registers. AVX512 has 16 more ZMM registers than there are YMM
5619 registers.
5620 (i386_zmmh_regnum_p): Add function to look up register number of
5621 ZMM raw registers.
5622 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5623 (i386_k_regnum_p): Likewise for K raw registers.
5624 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5625 registers added by AVX512.
5626 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5627 registers added by AVX512.
5628 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5629 added by AVX512.
5630 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5631 (i386_pseudo_register_name): Add ZMM pseudo registers.
5632 (i386_zmm_type): Construct and return vector registers type for ZMM
5633 registers.
5634 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5635 ZMM0-31 pseudo registers and K registers.
5636 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5637 and YMM16-31 registers from register cache.
5638 (i386_pseudo_register_write): Add code to write K, ZMM and
5639 YMM16-31 registers.
5640 (i386_register_reggroup_p): Add code to include/exclude AVX512
5641 registers in/from respective register groups.
5642 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5643 registers if feature is present in xcr0.
5644 (i386_gdbarch_init): Add code to initialize AVX512 feature
5645 variables in tdep structure, wire in pseudo registers and call
5646 initialize_tdesc_i386_avx512.
5647 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5648 variables.
5649 (i386_regnum): Add AVX512 registers.
5650 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5651 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5652 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5653 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5654 512 bits wide.
5655 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5656 (i386_ymm_avx512_regnum_p): Likewise.
5657 (i386_k_regnum_p): Likewise.
5658 (i386_zmm_regnum_p): Likewise.
5659 (i386_zmmh_regnum_p): Likewise.
5660 * i387-tdep.c : Update year in copyright notice.
5661 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5662 XSAVE buffer.
5663 (XSAVE_YMM_AVX512_ADDR): New macro.
5664 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5665 XSAVE buffer.
5666 (XSAVE_XMM_AVX512_ADDR): New macro.
5667 (xsave_avx512_k_offset): New table for K register offsets in
5668 XSAVE buffer.
5669 (XSAVE_AVX512_K_ADDR): New macro.
5670 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5671 in XSAVE buffer.
5672 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5673 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5674 buffer.
5675 (i387_collect_xsave): Add code to collect AVX512 registers from
5676 XSAVE buffer.
5677 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5678 of XMM16-31 registers.
5679 (I387_NUM_K_REGS): New define for number of K registers.
5680 (I387_K0_REGNUM): New define for K0 register number.
5681 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5682 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5683 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5684 registers.
5685 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5686 (I387_XMM16_REGNUM): New define for XMM16 register number.
5687 (I387_YMM0_REGNUM): New define for YMM0 register number.
5688 (I387_KEND_REGNUM): New define for last K register number.
5689 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5690 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5691 number.
5692 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5693 number.
5694 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5695 size.
5696 * features/Makefile: Add AVX512 related files.
5697 * features/i386/32bit-avx512.xml: New file.
5698 * features/i386/64bit-avx512.xml: Likewise.
5699 * features/i386/amd64-avx512-linux.c: Likewise.
5700 * features/i386/amd64-avx512-linux.xml: Likewise.
5701 * features/i386/amd64-avx512.c: Likewise.
5702 * features/i386/amd64-avx512.xml: Likewise.
5703 * features/i386/i386-avx512-linux.c: Likewise.
5704 * features/i386/i386-avx512-linux.xml: Likewise.
5705 * features/i386/i386-avx512.c: Likewise.
5706 * features/i386/i386-avx512.xml: Likewise.
5707 * features/i386/x32-avx512-linux.c: Likewise.
5708 * features/i386/x32-avx512-linux.xml: Likewise.
5709 * features/i386/x32-avx512.c: Likewise.
5710 * features/i386/x32-avx512.xml: Likewise.
5711 * regformats/i386/amd64-avx512-linux.dat: New file.
5712 * regformats/i386/amd64-avx512.dat: Likewise.
5713 * regformats/i386/i386-avx512-linux.dat: Likewise.
5714 * regformats/i386/i386-avx512.dat: Likewise.
5715 * regformats/i386/x32-avx512-linux.dat: Likewise.
5716 * regformats/i386/x32-avx512.dat: Likewise.
5717 * NEWS: Add note about new support for AVX512.
5718
5719
5720 2014-04-23 Pedro Alves <palves@redhat.com>
5721
5722 * breakpoint.c (insert_bp_location): Tolerate errors if the
5723 breakpoint is set in a user-loaded objfile.
5724 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5725 location is marked shlib_disabled. If the breakpoint is set in a
5726 user-loaded objfile is a GDB-side memory breakpoint, validate it
5727 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5728 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5729 flag.
5730 * mem-break.c (memory_validate_breakpoint): New function.
5731 * objfiles.c (userloaded_objfile_contains_address_p): New
5732 function.
5733 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5734 * target.h (memory_validate_breakpoint): New declaration.
5735
5736 2014-04-23 Pedro Alves <palves@redhat.com>
5737
5738 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5739 the breakpoint is set in a shared library, only suppress
5740 errors for software breakpoints, not hardware breakpoints.
5741
5742 2014-04-22 Pedro Alves <palves@redhat.com>
5743
5744 * infrun.c (schedlock_applies): New function, factored out from
5745 find_thread_needs_step_over.
5746 (find_thread_needs_step_over): Use it.
5747 (switch_back_to_stepped_thread): Always clear trap_expected if the
5748 step over is finished. Return early if scheduler locking applies.
5749 Look for the stepping thread and a potential step-over thread with
5750 a single loop.
5751 (currently_stepping_or_nexting_callback): Delete.
5752
5753 2014-04-22 Nick Clifton <nickc@redhat.com>
5754
5755 * NEWS: Mention that ARM sim now supports tracing.
5756
5757 2014-04-22 Yao Qi <yao@codesourcery.com>
5758
5759 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5760 to ...
5761 * tracefile.c (tracefile_fetch_registers): ... it. New
5762 function.
5763 * tracefile.h (tracefile_fetch_registers): Declare.
5764 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5765 tracefile_fetch_registers.
5766
5767 2014-04-19 Eli Zaretskii <eliz@gnu.org>
5768
5769 PR gdb/14018
5770 * windows-nat.c (thread_rec): Don't display a warning when
5771 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5772 fails for any reason, set th->suspended to -1, so that we don't
5773 try to resume such a thread. Also, don't return NULL in these
5774 cases, to avoid completely ruin the session due to "PC register is
5775 not available" error.
5776 (do_windows_fetch_inferior_registers): Check errors in
5777 GetThreadContext call.
5778 (windows_continue): Accept an additional argument KILLED; if not
5779 zero, ignore errors in the SetThreadContext call, since the
5780 inferior was killed and is shutting down.
5781 (windows_resume, get_windows_debug_event)
5782 (windows_create_inferior, windows_mourn_inferior)
5783 (windows_kill_inferior): All callers of windows_continue changed
5784 to adjust to its new calling sequence.
5785
5786 2014-04-19 Yao Qi <yao@codesourcery.com>
5787
5788 * ctf.c (ctf_open): Call post_create_inferior.
5789
5790 2014-04-19 Yao Qi <yao@codesourcery.com>
5791
5792 * ctf.c (handle_id): New static variable.
5793 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5794 value. Get the declaration of event "register" and get length
5795 of field "contents".
5796
5797 2014-04-19 Yao Qi <yao@codesourcery.com>
5798
5799 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5800
5801 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5802
5803 * valops.c (oload_method_static): Remove unnecessary argument
5804 METHOD. Update all callers.
5805
5806 2014-04-18 Pedro alves <palves@redhat.com>
5807 Tom Tromey <tromey@redhat.com>
5808
5809 PR backtrace/15558
5810 * frame.c (get_prev_frame_1): Rename to ...
5811 (get_prev_frame_always): ... this, and make extern. Adjust.
5812 (skip_artificial_frames): Use get_prev_frame_always.
5813 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5814 (get_frame_unwind_stop_reason): Adjust to rename.
5815 * frame.h (get_prev_frame_always): Declare.
5816 * inline-frame.c: Include frame.h.
5817 (inline_frame_this_id): Use get_prev_frame_always.
5818
5819 2014-04-18 Tristan Gingold <gingold@adacore.com>
5820
5821 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5822 code by using bfd_mach_o_get_base_address.
5823
5824 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5825
5826 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5827 (spu_ax_pseudo_register_collect): New function.
5828 (spu_ax_pseudo_register_push_stack): Likewise.
5829 (spu_dwarf_reg_to_regnum): Likewise.
5830 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5831
5832 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5833
5834 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5835 Replace FRAME argument with FRAME_ID.
5836 * gdbarch.c, gdbarch.h: Regenerate.
5837 * findvar.c (default_value_from_register): Add GDBARCH argument;
5838 replace FRAME by FRAME_ID. No longer call get_frame_id.
5839 (value_from_register): Update call to gdbarch_value_from_register.
5840 * value.h (default_value_from_register): Update prototype.
5841 * s390-linux-tdep.c (s390_value_from_register): Update interface
5842 and call to default_value_from_register.
5843 * spu-tdep.c (spu_value_from_register): Likewise.
5844
5845 * findvar.c (address_from_register): Remove TYPE argument.
5846 Do not call value_from_register; use gdbarch_value_from_register
5847 with null_frame_id instead.
5848 * value.h (address_from_register): Update prototype.
5849 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5850 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5851 address_from_register interface change.
5852
5853 2014-04-17 Yao Qi <yao@codesourcery.com>
5854
5855 * gdbtypes.h: Update comments to link to types and macros'
5856 definitions.
5857
5858 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5859
5860 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5861
5862 2014-04-16 Keith Seitz <keiths@redhat.com>
5863
5864 PR gdb/15827
5865 * dwarf2read.c (skip_one_die): Check that all relative-offset
5866 sibling DIEs fall within range of the current reader's buffer.
5867 (read_partial_die): Likewise.
5868
5869 2014-04-16 Keith Seitz <keiths@redhat.com>
5870
5871 PR c++/16597
5872 * cp-namespace.c (lookup_symbol_file): If the type name of
5873 `this' is NULL, return immediately.
5874
5875 2014-04-14 Keith Seitz <keiths@redhat.com>
5876
5877 PR c++/16253
5878 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5879 from symbol_matches_domain in symtab.c. All local callers
5880 of symbol_matches_domain updated.
5881 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5882 search STRUCT_DOMAIN.
5883 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5884 independently. standard_lookup will do that automatically.
5885 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5886 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5887 (cp_lookup_symbol_in_namespace): Likewise.
5888 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5889 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5890 may return a STRUCT_DOMAIN match.
5891 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5892 * cp-support.c: Include language.h.
5893 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5894 VAR_DOMAIN.
5895 * psymtab.c (match_partial_symbol): Compare the requested
5896 domain with the symbol's domain directly.
5897 (lookup_partial_symbol): Likewise.
5898 * symtab.c (lookup_symbol_in_language): Explain when/why
5899 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5900 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5901 appropriate languages.
5902 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5903 and moved to ada-lang.c
5904 (lookup_block_symbol): Explain that this function only returns
5905 symbol matching the requested DOMAIN.
5906 Compare the requested domain with the symbol's domain directly.
5907 (iterate_over_symbols): Compare the requested domain with the
5908 symbol's domain directly.
5909 * symtab.h (symbol_matches_domain): Remove.
5910
5911 2014-04-14 Tom Tromey <tromey@redhat.com>
5912
5913 PR c++/15246:
5914 * c-exp.y (type_aggregate_p): New function.
5915 (qualified_name, classify_inner_name): Use it.
5916 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5917 and TYPE_TARGET_TYPE of an enum type.
5918 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5919 an enum type.
5920 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5921 handle TYPE_DECLARED_CLASS.
5922 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5923 types.
5924 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5925 * valops.c (enum_constant_from_type): New function.
5926 (value_aggregate_elt): Use it.
5927 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5928 TYPE_CODE_ENUM.
5929
5930 2014-04-14 Tom Tromey <tromey@redhat.com>
5931
5932 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5933 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5934 const.
5935 * value.h (value_aggregate_elt): Update.
5936
5937 2014-04-14 Tom Tromey <tromey@redhat.com>
5938
5939 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5940
5941 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5942
5943 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5944 (evaluate_subexp_standard): Pass noside argument.
5945 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5946 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5947 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5948 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5949 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5950
5951 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5952
5953 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5954 points to a constant blob.
5955
5956 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5957
5958 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5959 property and store it as the high bound and flag the range accordingly.
5960 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5961 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5962 * gdbtypes.h (enum range_flags): New enum.
5963 (struct range_bounds): Add flags member.
5964
5965 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5966
5967 * c-typeprint.c (c_type_print_varspec_suffix): Added
5968 check for not yet resolved high bound. If unresolved, print
5969 "variable length" string to the console instead of random
5970 length.
5971
5972 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5973
5974 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5975 value.
5976 (ada_template_to_fixed_record_type_1): Likewise.
5977 (ada_to_fixed_type_1): Likewise.
5978 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5979 (cp_print_value): Likewise.
5980 * d-valprint.c (dynamic_array_type): Likewise.
5981 * findvar.c (address_of_variable): Likewise.
5982 * jv-valprint.c (java_value_print): Likewise.
5983 * valops.c (value_ind): Likewise.
5984 * value.c (coerce_ref): Likewise.
5985
5986 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5987
5988 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5989 value and retrieve the dynamic type size.
5990
5991 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5992
5993 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5994 passed to sizeof is dynamic evaluate the argument to compute the length.
5995
5996 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5997 Joel Brobecker <brobecker@adacore.com>
5998
5999 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6000 (dwarf2_evaluate_property): New function.
6001 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6002 * dwarf2read.c (attr_to_dynamic_prop): New function.
6003 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6004 attribute.
6005 * gdbtypes.c: Include dwarf2loc.h.
6006 (is_dynamic_type): New function.
6007 (resolve_dynamic_type): New function.
6008 (resolve_dynamic_bounds): New function.
6009 (get_type_length): New function.
6010 (check_typedef): Use get_type_length to compute type length.
6011 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6012 (TYPE_LOW_BOUND_KIND): New macro.
6013 (is_dynamic_type): New function prototype.
6014 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6015 to resolve dynamic properties of the type. Update comment.
6016 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6017
6018 2014-04-14 Richard Henderson <rth@redhat.com>
6019
6020 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6021
6022 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6023 Doug Evans <xdje42@gmail.com>
6024
6025 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6026 dereference TYPE_CODE_REF values.
6027
6028 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6029
6030 Revert the following changes due to regressions:
6031
6032 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6033 (dwarf2_evaluate_property): New function.
6034 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6035 * dwarf2read.c (attr_to_dynamic_prop): New function.
6036 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6037 attribute.
6038 * gdbtypes.c: Include dwarf2loc.h.
6039 (is_dynamic_type): New function.
6040 (resolve_dynamic_type): New function.
6041 (resolve_dynamic_bounds): New function.
6042 (get_type_length): New function.
6043 (check_typedef): Use get_type_length to compute type length.
6044 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6045 (TYPE_LOW_BOUND_KIND): New macro.
6046 (is_dynamic_type): New function prototype.
6047 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6048 to resolve dynamic properties of the type. Update comment.
6049 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6050
6051 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6052 passed to sizeof is dynamic evaluate the argument to compute the length.
6053
6054 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6055 value and retrieve the dynamic type size.
6056
6057 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6058 (ada_template_to_fixed_record_type_1): Likewise.
6059 (ada_to_fixed_type_1): Likewise.
6060 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6061 (cp_print_value): Likewise.
6062 * d-valprint.c (dynamic_array_type): Likewise.
6063 * eval.c (evaluate_subexp_with_coercion): Likewise.
6064 * findvar.c (address_of_variable): Likewise.
6065 * jv-valprint.c (java_value_print): Likewise.
6066 * valops.c (value_ind): Likewise.
6067 * value.c (coerce_ref): Likewise.
6068
6069 * c-typeprint.c (c_type_print_varspec_suffix): Added
6070 check for not yet resolved high bound. If unresolved, print
6071 "variable length" string to the console instead of random
6072 length.
6073
6074 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6075 property and store it as the high bound and flag the range accordingly.
6076 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6077 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6078 * gdbtypes.h (enum range_flags): New enum.
6079 (struct range_bounds): Add flags member.
6080
6081 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6082 points to a constant blob.
6083
6084 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6085 (evaluate_subexp_standard): Pass noside argument.
6086 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6087 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6088 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6089 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6090 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6091
6092 2014-04-11 Keith Seitz <keiths@redhat.com>
6093
6094 PR c++/16675
6095 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6096 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6097 reference types.
6098
6099 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6100
6101 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6102 (evaluate_subexp_standard): Pass noside argument.
6103 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6104 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6105 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6106 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6107 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6108
6109 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6110
6111 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6112 points to a constant blob.
6113
6114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6115
6116 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6117 property and store it as the high bound and flag the range accordingly.
6118 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6119 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6120 * gdbtypes.h (enum range_flags): New enum.
6121 (struct range_bounds): Add flags member.
6122
6123 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6124
6125 * c-typeprint.c (c_type_print_varspec_suffix): Added
6126 check for not yet resolved high bound. If unresolved, print
6127 "variable length" string to the console instead of random
6128 length.
6129
6130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6131
6132 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6133 (ada_template_to_fixed_record_type_1): Likewise.
6134 (ada_to_fixed_type_1): Likewise.
6135 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6136 (cp_print_value): Likewise.
6137 * d-valprint.c (dynamic_array_type): Likewise.
6138 * eval.c (evaluate_subexp_with_coercion): Likewise.
6139 * findvar.c (address_of_variable): Likewise.
6140 * jv-valprint.c (java_value_print): Likewise.
6141 * valops.c (value_ind): Likewise.
6142 * value.c (coerce_ref): Likewise.
6143
6144 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6145
6146 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6147 value and retrieve the dynamic type size.
6148
6149 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6150
6151 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6152 passed to sizeof is dynamic evaluate the argument to compute the length.
6153
6154 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6155
6156 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6157 (dwarf2_evaluate_property): New function.
6158 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6159 * dwarf2read.c (attr_to_dynamic_prop): New function.
6160 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6161 attribute.
6162 * gdbtypes.c: Include dwarf2loc.h.
6163 (is_dynamic_type): New function.
6164 (resolve_dynamic_type): New function.
6165 (resolve_dynamic_bounds): New function.
6166 (get_type_length): New function.
6167 (check_typedef): Use get_type_length to compute type length.
6168 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6169 (TYPE_LOW_BOUND_KIND): New macro.
6170 (is_dynamic_type): New function prototype.
6171 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6172 to resolve dynamic properties of the type. Update comment.
6173 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6174
6175 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6176
6177 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6178 declaring high/low bounds and change uses accordingly. Call
6179 create_range_type instead of create_static_range_type.
6180 * gdbtypes.c (create_range_type): New function.
6181 (create_range_type): Convert bounds into struct bound_prop and pass
6182 them to create_range_type.
6183 * gdbtypes.h (struct bound_prop): New struct.
6184 (create_range_type): New function prototype.
6185 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6186 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6187 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6188 part of the bound.
6189 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6190
6191 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6192
6193 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6194 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6195 * ada-lang.c: All uses of create_range_type updated.
6196 * coffread.c: All uses of create_range_type updated.
6197 * dwarf2read.c: All uses of create_range_type updated.
6198 * f-exp.y: All uses of create_range_type updated.
6199 * m2-valprint.c: All uses of create_range_type updated.
6200 * mdebugread.c: All uses of create_range_type updated.
6201 * stabsread.c: All uses of create_range_type updated.
6202 * valops.c: All uses of create_range_type updated.
6203 * valprint.c: All uses of create_range_type updated.
6204
6205 2014-04-10 Pedro Alves <palves@redhat.com>
6206
6207 * breakpoint.c (single_step_breakpoints)
6208 (single_step_gdbarch): Move up in the file.
6209 (one_breakpoint_xfer_memory): New function, factored out from ...
6210 (breakpoint_xfer_memory): ... here. Also process single-step
6211 breakpoints.
6212
6213 2014-04-09 Tristan Gingold <gingold@adacore.com>
6214
6215 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6216 comments.
6217 (darwin_decode_exception_message): Free port only after use.
6218
6219 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6220
6221 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6222 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6223 when setting the size of call_length.
6224
6225 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6226
6227 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6228 dereference TYPE_CODE_REF values.
6229
6230 2014-04-07 Joel Brobecker <brobecker@adacore.com>
6231
6232 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6233 end of warning message.
6234
6235 2014-04-03 Doug Evans <dje@google.com>
6236
6237 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6238 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6239
6240 2014-04-02 Alan Modra <amodra@gmail.com>
6241
6242 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6243 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6244 (struct symbol_file_add_from_memory_args): Add size field.
6245 (find_vdso_size): New function.
6246 (add_vsyscall_page): Attempt to find vdso size.
6247
6248 2014-04-01 Doug Evans <dje@google.com>
6249
6250 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6251
6252 2014-04-01 Tristan Gingold <gingold@adacore.com>
6253
6254 * darwin-nat.c (darwin_encode_reply): Add prototype.
6255 (darwin_decode_exception_message): Reply to unknown inferiors.
6256 (darwin_decode_message): Handle message by id. Ignore message
6257 to unknown inferior.
6258 (darwin_wait): Discard unknown messages, add debug trace.
6259
6260 2014-03-31 Doug Evans <dje@google.com>
6261
6262 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6263 comp_dir_string.
6264
6265 2014-03-31 Doug Evans <dje@google.com>
6266
6267 New option "set print symbol-loading".
6268 * NEWS: Mention it.
6269 * solib.c (solib_read_symbols): Only print symbol loading messages
6270 if requested.
6271 (solib_add): If symbol loading is in "brief" mode, notify user
6272 symbols are being loaded.
6273 (reload_shared_libraries_1): Ditto.
6274 * symfile.c (print_symbol_loading_off): New static global.
6275 (print_symbol_loading_brief): New static global.
6276 (print_symbol_loading_full): New static global.
6277 (print_symbol_loading_enums): New static global.
6278 (print_symbol_loading): New static global.
6279 (print_symbol_loading_p): New function.
6280 (symbol_file_add_with_addrs): Only print symbol loading messages
6281 if requested.
6282 (_initialize_symfile): Register "print symbol-loading" set/show
6283 command.
6284 * symfile.h (print_symbol_loading_p): Declare.
6285
6286 2014-03-30 Doug Evans <xdje42@gmail.com>
6287
6288 * infrun.c (set_last_target_status): New function.
6289 (handle_inferior_event): Call it.
6290
6291 2014-03-30 Doug Evans <xdje42@gmail.com>
6292
6293 * inferior.h (enum stop_kind): Improve comment.
6294
6295 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6296
6297 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6298 a reference, strip the reference layer before calling
6299 the lang_ops value_has_mutated callback.
6300
6301 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6302
6303 Remove some globals from our parser.
6304 * language.c (unk_lang_parser): Add "struct parser_state"
6305 argument.
6306 * language.h (struct language_defn) <la_parser>: Likewise.
6307 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6308 (initialize_expout): Add "struct parser_state" argument.
6309 Rewrite function to use the parser state.
6310 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6311 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6312 write_exp_elt_longcst, write_exp_elt_dblcst,
6313 write_exp_elt_decfloatcst, write_exp_elt_type,
6314 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6315 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6316 write_dollar_variable): Likewise.
6317 (parse_exp_in_context_1): Use parser state.
6318 (insert_type_address_space): Add "struct parser_state" argument.
6319 Use parser state.
6320 (increase_expout_size): New function.
6321 * parser-defs.h: Forward declare "struct language_defn" and
6322 "struct parser_state".
6323 (expout, expout_size, expout_ptr): Remove extern declarations.
6324 (parse_gdbarch, parse_language): Rewrite macro declarations to
6325 accept the parser state.
6326 (struct parser_state): New struct.
6327 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6328 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6329 write_exp_elt_decfloatcst, write_exp_elt_type,
6330 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6331 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6332 write_exp_msymbol, write_dollar_variable,
6333 mark_struct_expression, insert_type_address_space): Add "struct
6334 parser_state" argument.
6335 (increase_expout_size): New function.
6336 * utils.c (do_clear_parser_state): New function.
6337 (make_cleanup_clear_parser_state): Likewise.
6338 * utils.h (make_cleanup_clear_parser_state): New function
6339 prototype.
6340 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6341 Update calls to write_exp* in order to pass the parser state.
6342 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6343 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6344 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6345 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6346 * stap-probe.c (stap_parse_register_operand): Likewise.
6347 (stap_parse_single_operand): Likewise.
6348 (stap_parse_argument_1): Likewise.
6349 (stap_parse_argument): Use parser state.
6350 * stap-probe.h: Include "parser-defs.h".
6351 (struct stap_parse_info) <pstate>: New field.
6352 * c-exp.y (parse_type): Rewrite to use parser state.
6353 (yyparse): Redefine to c_parse_internal.
6354 (pstate): New global variable.
6355 (parse_number): Add "struct parser_state" argument.
6356 (write_destructor_name): Likewise.
6357 (type_exp): Update calls to write_exp* and similars in order to
6358 use parser state.
6359 (exp1, exp, variable, qualified_name, space_identifier,
6360 typename, typebase): Likewise.
6361 (write_destructor_name, parse_number, lex_one_token,
6362 classify_name, classify_inner_name, c_parse): Add "struct
6363 parser_state" argument. Update function to use parser state.
6364 * c-lang.h: Forward declare "struct parser_state".
6365 (c_parse): Add "struct parser_state" argument.
6366 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6367 (yyparse): Redefine macro to ada_parse_internal.
6368 (pstate): New variable.
6369 (write_int, write_object_renaming, write_var_or_type,
6370 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6371 type_int, type_long, type_long_long, type_float, type_double,
6372 type_long_double, type_char, type_boolean, type_system_address):
6373 Add "struct parser_state" argument.
6374 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6375 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6376 var_or_type, aggregate, aggregate_component_list,
6377 positional_list, others, component_group,
6378 component_associations): Update calls to write_exp* and similar
6379 functions in order to use parser state.
6380 (ada_parse, write_var_from_sym, write_int,
6381 write_exp_op_with_string, write_object_renaming,
6382 find_primitive_type, write_selectors, write_ambiguous_var,
6383 write_var_or_type, write_name_assoc, type_int, type_long,
6384 type_long_long, type_float, type_double, type_long_double,
6385 type_char, type_boolean, type_system_address): Add "struct
6386 parser_state" argument. Adjust function to use parser state.
6387 * ada-lang.c (parse): Likewise.
6388 * ada-lang.h: Forward declare "struct parser_state".
6389 (ada_parse): Add "struct parser_state" argument.
6390 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6391 calls to both functions.
6392 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6393 parser state.
6394 (yyparse): Redefine macro to f_parse_internal.
6395 (pstate): New variable.
6396 (parse_number): Add "struct parser_state" argument.
6397 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6398 and similars in order to use parser state.
6399 (parse_number): Adjust code to use parser state.
6400 (yylex): Likewise.
6401 (f_parse): New function.
6402 * f-lang.h: Forward declare "struct parser_state".
6403 (f_parse): Add "struct parser_state" argument.
6404 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6405 parser state.
6406 (yyparse): Redefine macro for java_parse_internal.
6407 (pstate): New variable.
6408 (push_expression_name, push_expression_name, insert_exp): Add
6409 "struct parser_state" argument.
6410 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6411 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6412 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6413 PostIncrementExpression, PostDecrementExpression,
6414 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6415 UnaryExpressionNotPlusMinus, CastExpression,
6416 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6417 RelationalExpression, EqualityExpression, AndExpression,
6418 ExclusiveOrExpression, InclusiveOrExpression,
6419 ConditionalAndExpression, ConditionalOrExpression,
6420 ConditionalExpression, Assignment, LeftHandSide): Update
6421 calls to write_exp* and similars in order to use parser state.
6422 (parse_number): Ajust code to use parser state.
6423 (yylex): Likewise.
6424 (java_parse): New function.
6425 (push_variable): Add "struct parser_state" argument. Adjust
6426 code to user parser state.
6427 (push_fieldnames, push_qualified_expression_name,
6428 push_expression_name, insert_exp): Likewise.
6429 * jv-lang.h: Forward declare "struct parser_state".
6430 (java_parse): Add "struct parser_state" argument.
6431 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6432 parser state.
6433 (yyparse): Redefine macro to m2_parse_internal.
6434 (pstate): New variable.
6435 (type_exp, exp, fblock, variable, type): Update calls to
6436 write_exp* and similars to use parser state.
6437 (yylex): Likewise.
6438 (m2_parse): New function.
6439 * m2-lang.h: Forward declare "struct parser_state".
6440 (m2_parse): Add "struct parser_state" argument.
6441 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6442 * objc-lang.h: Forward declare "struct parser_state".
6443 (end_msglist): Add "struct parser_state" argument.
6444 * p-exp.y (parse_type): Rewrite macro to use parser state.
6445 (yyparse): Redefine macro to pascal_parse_internal.
6446 (pstate): New variable.
6447 (parse_number): Add "struct parser_state" argument.
6448 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6449 write_exp* and similars in order to use parser state.
6450 (parse_number, yylex): Adjust code to use parser state.
6451 (pascal_parse): New function.
6452 * p-lang.h: Forward declare "struct parser_state".
6453 (pascal_parse): Add "struct parser_state" argument.
6454 * go-exp.y (parse_type): Rewrite macro to use parser state.
6455 (yyparse): Redefine macro to go_parse_internal.
6456 (pstate): New variable.
6457 (parse_number): Add "struct parser_state" argument.
6458 (type_exp, exp1, exp, variable, type): Update calls to
6459 write_exp* and similars in order to use parser state.
6460 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6461 to use parser state.
6462 (go_parse): Likewise.
6463 * go-lang.h: Forward declare "struct parser_state".
6464 (go_parse): Add "struct parser_state" argument.
6465
6466 2014-03-27 Doug Evans <dje@google.com>
6467
6468 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6469
6470 2014-03-27 Doug Evans <dje@google.com>
6471
6472 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6473 Remove argument abbrev_section. All callers updated.
6474
6475 2014-03-27 Doug Evans <dje@google.com>
6476
6477 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6478 addr_base, ranges_base.
6479
6480 2014-03-26 Keith Seitz <keiths@redhat.com>
6481
6482 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6483 types, not VAR_DOMAIN.
6484
6485 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6486
6487 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6488 "ra" registers.
6489 * features/nios2-linux.c: Regenerated.
6490 * features/nios2.c: Regenerated.
6491
6492 2014-03-25 Pedro Alves <palves@redhat.com>
6493
6494 * cli/cli-script.c (script_from_file): Force the interpreter to
6495 sync mode.
6496
6497 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6498
6499 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6500 small stack allocation.
6501
6502 2014-03-24 Tristan Gingold <gingold@adacore.com>
6503
6504 * darwin-nat.c (exc_server): Remove unused prototype.
6505 (darwin_dump_message): Correctly display data on x86_64.
6506 (darwin_encode_reply): Fix style.
6507 Add comments and fix indentation.
6508
6509 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6510
6511 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6512
6513 2014-03-22 Doug Evans <xdje42@gmail.com>
6514
6515 * infcmd.c: Whitespace fixes.
6516 (interrupt_command): Merge two function comments into one.
6517
6518 2014-03-22 Doug Evans <xdje42@gmail.com>
6519
6520 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6521 All uses updated.
6522
6523 2014-03-22 Yao Qi <yao@codesourcery.com>
6524
6525 * remote.c (target_read_live_memory): Remove.
6526 (memory_xfer_live_readonly_partial): Rename it to
6527 remote_xfer_live_readonly_partial. Remove argument 'object'.
6528 All callers updated. Call remote_read_bytes_1
6529 instead of target_read_live_memory.
6530 * tracepoint.c (set_traceframe_number): Remove.
6531 (make_cleanup_restore_traceframe_number): Likewise .
6532 * tracepoint.h (set_traceframe_number): Remove declaration.
6533 (make_cleanup_restore_traceframe_number): Likewise.
6534
6535 2014-03-22 Yao Qi <yao@codesourcery.com>
6536
6537 * remote.c (remote_read_bytes): Move code on reading from the
6538 remote stub to ...
6539 (remote_read_bytes_1): ... here. New function.
6540
6541 2014-03-22 Yao Qi <yao@codesourcery.com>
6542
6543 * ctf.c (ctf_xfer_partial): Check the return value of
6544 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6545 return TARGET_XFER_UNAVAILABLE.
6546 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6547 * target.c (target_read_live_memory): Move it to remote.c.
6548 (memory_xfer_live_readonly_partial): Likewise.
6549 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6550 * remote.c (target_read_live_memory): Moved from target.c.
6551 (memory_xfer_live_readonly_partial): Likewise.
6552 (remote_read_bytes): Factored out from
6553 memory_xfer_partial_1.
6554
6555 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6556
6557 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6558 NULL pointer.
6559
6560 2014-03-21 Pedro Alves <palves@redhat.com>
6561
6562 * infrun.c (normal_stop): Extend comment.
6563
6564 2014-03-21 Hui Zhu <hui@codesourcery.com>
6565 Pedro Alves <palves@redhat.com>
6566
6567 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6568 static buffer.
6569 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6570 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6571 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6572
6573 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6574
6575 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6576 `z' formatted output modifier.
6577
6578 2014-03-20 Tom Tromey <tromey@redhat.com>
6579 Sergio Durigan Junior <sergiodj@redhat.com>
6580
6581 * probe.c (parse_probes): Turn assert into an ordinary error.
6582 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6583 exceptions when parsing probes. Rearrange the code for clarity.
6584
6585 2014-03-20 Tom Tromey <tromey@redhat.com>
6586
6587 PR gdb/14135
6588 * top.c (execute_command): Only dispatch events if the command
6589 started the target.
6590
6591 2014-03-20 Tom Tromey <tromey@redhat.com>
6592
6593 PR cli/15718
6594 * infcall.c: Include event-top.h.
6595 (run_inferior_call): Call async_disable_stdin if needed.
6596
6597 2014-03-20 Pedro Alves <palves@redhat.com>
6598
6599 * infrun.c (prepare_to_proceed): Delete.
6600 (thread_still_needs_step_over): New function.
6601 (find_thread_needs_step_over): New function.
6602 (proceed): If the current thread needs a step-over, set its
6603 steping_over_breakpoint flag. Adjust to use
6604 find_thread_needs_step_over instead of prepare_to_proceed.
6605 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6606 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6607 breakpoint.
6608 (switch_back_to_stepped_thread): Step over breakpoints of all
6609 threads not the stepping thread, before switching back to the
6610 stepping thread.
6611
6612 2014-03-20 Pedro Alves <palves@redhat.com>
6613
6614 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6615 extern.
6616 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6617 * infrun.c (saved_singlestep_ptid)
6618 (stepping_past_singlestep_breakpoint): Delete.
6619 (resume): Remove stepping_past_singlestep_breakpoint handling.
6620 (proceed): Store the prev_pc of the stepping thread too.
6621 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6622 singlestep_pc.
6623 (enum infwait_states): Delete infwait_thread_hop_state.
6624 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6625 field.
6626 (handle_inferior_event): Adjust.
6627 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6628 handling and the thread-hop code. Before removing single-step
6629 breakpoints, check whether the thread hit a single-step breakpoint
6630 of another thread. If it did, the trap is not a random signal.
6631 (switch_back_to_stepped_thread): If the event thread hit a
6632 single-step breakpoint, unblock it before switching to the
6633 stepping thread. Handle the case of the stepped thread having
6634 advanced already.
6635 (keep_going): Handle the case of the current thread moving past a
6636 single-step breakpoint.
6637
6638 2014-03-20 Pedro Alves <palves@redhat.com>
6639
6640 PR breakpoints/7143
6641 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6642 are being stepped over.
6643 (breakpoint_address_match): Make extern.
6644 * breakpoint.h (breakpoint_address_match): New declaration.
6645 * inferior.h (stepping_past_instruction_at): New declaration.
6646 * infrun.c (struct step_over_info): New type.
6647 (step_over_info): New global.
6648 (set_step_over_info, clear_step_over_info)
6649 (stepping_past_instruction_at): New functions.
6650 (handle_inferior_event): Clear the step-over info when
6651 trap_expected is cleared.
6652 (resume): Remove now stale comment.
6653 (clear_proceed_status): Clear step-over info.
6654 (proceed): Adjust step-over handling to set or clear the step-over
6655 info instead of removing all breakpoints.
6656 (handle_signal_stop): When setting up a thread-hop, don't remove
6657 breakpoints here.
6658 (stop_stepping): Clear step-over info.
6659 (keep_going): Adjust step-over handling to set or clear step-over
6660 info and then always inserting breakpoints, instead of removing
6661 all breakpoints when stepping over one.
6662
6663 2014-03-20 Pedro Alves <palves@redhat.com>
6664
6665 * infrun.c (previous_inferior_ptid): Adjust comment.
6666 (deferred_step_ptid): Delete.
6667 (infrun_thread_ptid_changed, prepare_to_proceed)
6668 (init_wait_for_inferior): Adjust.
6669 (handle_signal_stop): Delete deferred_step_ptid handling.
6670
6671 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6672
6673 PR gdb/15358
6674 * defs.h (sync_quit_force_run): New declaration.
6675 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6676 * event-top.c (async_sigterm_handler): New declaration.
6677 (async_sigterm_token): New variable.
6678 (async_init_signals): Create also async_sigterm_token.
6679 (async_sigterm_handler): New function.
6680 (sync_quit_force_run): New variable.
6681 (handle_sigterm): Replace quit_force call by other calls.
6682 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6683
6684 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6685
6686 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6687 offset into SPE pseudo registers.
6688
6689 2014-03-18 Pedro Alves <palves@redhat.com>
6690
6691 PR gdb/13860
6692 * inferior.h (print_stop_event): Declare.
6693 * infrun.c (print_stop_event): New, factored out from ...
6694 (normal_stop): ... this.
6695 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6696 of bpstat_print/print_stack_frame.
6697
6698 2014-03-17 Tom Tromey <tromey@redhat.com>
6699
6700 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6701
6702 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6703
6704 * ada-lang.c (decode_constrained_packed_array): Perform a
6705 minimal coercion for reference with coerce_ref instead of
6706 ada_coerce_ref.
6707
6708 2014-03-17 Tristan Gingold <gingold@adacore.com>
6709
6710 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6711 (darwin_solib_create_inferior_hook): Emit a warning if version
6712 is unhandled.
6713
6714 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6715
6716 * python/py-value.c (get_field_flag): Cast flag_name argument to
6717 PyObject_GetAttrString to support Python 2.4.
6718
6719 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6720
6721 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6722 (Global Maintainers): Remove Jan Kratochvil.
6723
6724 2014-03-14 Pedro Alves <palves@redhat.com>
6725
6726 * inferior.h (terminal_ours_for_output): Rename to ...
6727 (child_terminal_ours_for_output): ... this.
6728 (terminal_save_ours): Rename to ...
6729 (child_terminal_save_ours): ... this.
6730 (terminal_ours): Rename to ...
6731 (child_terminal_ours): ... this.
6732 (terminal_inferior): Rename to ...
6733 (child_terminal_inferior): ... this.
6734 (terminal_init_inferior): Rename to ...
6735 (child_terminal_init_inferior): ... this.
6736 (terminal_init_inferior_with_pgrp): Rename to ...
6737 (child_terminal_init_inferior_with_pgrp): ... this.
6738 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6739 (child_terminal_init_with_pgrp): ... this.
6740 (terminal_save_ours): Rename to ...
6741 (child_terminal_save_ours): ... this.
6742 (terminal_init_inferior): Rename to ...
6743 (child_terminal_init): ... this. Adjust.
6744 (terminal_inferior): Rename to ...
6745 (child_terminal_inferior): ... this.
6746 (terminal_ours_for_output): Rename to ...
6747 (child_terminal_ours_for_output): ... this. Adjust.
6748 (terminal_ours): Rename to ...
6749 (child_terminal_ours): ... this.
6750 (terminal_ours_1): Rename to ...
6751 (child_terminal_ours_1): ... this. Adjust.
6752 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6753 * windows-nat.c (do_initial_windows_stuff): Adjust.
6754 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6755 (gnu_terminal_init): ... this. Adjust.
6756 (gnu_target): Adjust.
6757 * inf-child.c (inf_child_target): Adjust.
6758
6759 2014-03-13 Doug Evans <xdje42@gmail.com>
6760
6761 PR guile/16612
6762 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6763 new eq?-hashtab.
6764
6765 2014-03-13 Doug Evans <xdje42@gmail.com>
6766
6767 * value.c (record_latest_value): Call release_value_or_incref
6768 instead of release_value.
6769
6770 2014-03-13 Pedro Alves <palves@redhat.com>
6771
6772 * procfs.c (procfs_target): Don't override to_shortname,
6773 to_longname or to_doc.
6774
6775 2014-03-13 Pedro Alves <palves@redhat.com>
6776
6777 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6778 Unix in user visible strings.
6779
6780 2014-03-12 Stan Shebs <stan@codesourcery.com>
6781
6782 * gdbtypes.h: Annotate comments for Doxygen, add a page
6783 block comment with some general info.
6784
6785 2014-03-12 Pedro Alves <palves@redhat.com>
6786
6787 * infcmd.c (prepare_execution_command): New function, factored out
6788 from several execution commands.
6789 (run_command_1, continue_command, step_1, jump_command)
6790 (signal_command, until_command, advance_command, finish_command)
6791 (attach_command): Use prepare_execution_command.
6792
6793 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
6794
6795 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6796 (MAX_BPTS): Define.
6797 (MAX_WPTS): Define.
6798 (struct arm_linux_thread_points): Removed.
6799 (struct arm_linux_process_info): New.
6800 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6801 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6802 (arm_linux_find_breakpoints_by_tid): Removed.
6803 (struct arch_lwp_info): New.
6804 (arm_linux_find_process_pid): New functions.
6805 (arm_linux_add_process): New functions.
6806 (arm_linux_process_info_get): New functions.
6807 (arm_linux_forget_process): New function.
6808 (arm_linux_get_debug_reg_state): New function.
6809 (struct update_registers_data): New.
6810 (update_registers_callback): New function.
6811 (arm_linux_insert_hw_breakpoint1): Updated.
6812 (arm_linux_remove_hw_breakpoint1): Updated.
6813 (arm_linux_insert_hw_breakpoint): Updated.
6814 (arm_linux_remove_hw_breakpoint): Updated.
6815 (arm_linux_insert_watchpoint): Updated.
6816 (arm_linux_remove_watchpoint): Updated.
6817 (arm_linux_new_thread): Updated.
6818 (arm_linux_prepare_to_resume): New function.
6819 (arm_linux_new_fork): New function.
6820 (_initialize_arm_linux_nat): Updated.
6821
6822 2014-03-12 Pedro Alves <palves@redhat.com>
6823
6824 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6825
6826 2014-03-12 Tom Tromey <tromey@redhat.com>
6827
6828 * inf-child.c (return_zero): New function.
6829 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6830 * aix-thread.c (aix_thread_inferior_created): New function.
6831 (aix_thread_attach): Remove.
6832 (init_aix_thread_ops): Don't set to_attach.
6833 (_initialize_aix_thread): Register inferior_created observer.
6834 * corelow.c (init_core_ops): Don't set to_attach or
6835 to_create_inferior.
6836 * exec.c (init_exec_ops): Don't set to_attach or
6837 to_create_inferior.
6838 * infcmd.c (run_command_1): Use find_run_target. Make direct
6839 target calls.
6840 (attach_command): Use find_attach_target. Make direct target
6841 calls.
6842 * record-btrace.c (init_record_btrace_ops): Don't set
6843 to_create_inferior.
6844 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6845 Remove.
6846 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6847 set to_create_inferior.
6848 * target.c (complete_target_initialization): Add assertion.
6849 (target_create_inferior): Remove.
6850 (find_default_attach, find_default_create_inferior): Remove.
6851 (find_attach_target, find_run_target): New functions.
6852 (find_default_is_async_p, find_default_can_async_p)
6853 (target_supports_non_stop, target_attach): Remove.
6854 (init_dummy_target): Don't set to_create_inferior or
6855 to_supports_non_stop.
6856 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6857 TARGET_DEFAULT_FUNC.
6858 <to_create_inferior>: Add comment.
6859 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6860 TARGET_DEFAULT_RETURN.
6861 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6862 (find_attach_target, find_run_target): Declare.
6863 (target_create_inferior): Remove.
6864 (target_has_execution_1): Update comment.
6865 (target_supports_non_stop): Remove.
6866 * target-delegates.c: Rebuild.
6867
6868 2014-03-12 Pedro Alves <palves@redhat.com>
6869
6870 * inf-child.h: Update comment to not mention Unix.
6871
6872 2014-03-12 Pedro Alves <palves@redhat.com>
6873
6874 * inf-child.c: Update top comment to not mention Unix. Add
6875 generic comment describing how this target is meant to be used.
6876 (inf_child_post_attach, inf_child_post_startup_inferior)
6877 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6878 Unix in comment.
6879
6880 2014-03-12 Pedro Alves <palves@redhat.com>
6881
6882 * nto-procfs.c: Include inf-child.h.
6883 (procfs_ops): Delete global.
6884 (procfs_can_run): Delete method.
6885 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6886 target pointer instead of referencing procfs_ops.
6887 (procfs_prepare_to_store): Delete.
6888 (init_procfs_ops): Delete function.
6889 (procfs_target): New function, based on init_procfs_ops, but
6890 inherit inf_child_target.
6891 (_initialize_procfs): Use procfs_target.
6892
6893 2014-03-12 Pedro Alves <palves@redhat.com>
6894
6895 * windows-nat.c: Include inf-child.h.
6896 (windows_ops): Delete global.
6897 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6898 methods.
6899 (init_windows_ops): Delete function.
6900 (windows_target): New function, based on init_windows_ops, but
6901 inherit inf_child_target.
6902 (_initialize_windows_nat): Use windows_target. Install x86
6903 specific target methods here.
6904
6905 2014-03-10 Doug Evans <xdje42@gmail.com>
6906
6907 * guile/guile.c (call_initialize_gdb_module): New function.
6908 (initialize_guile): Replace call to scm_init_guile with call to
6909 scm_with_guile.
6910
6911 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6912
6913 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6914 in call to TYPE_CODE macro.
6915
6916 2014-03-10 Jerome Guitton <guitton@adacore.com>
6917
6918 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6919 Resolve tagged types to full view.
6920
6921 2014-03-10 Hui Zhu <hui@codesourcery.com>
6922
6923 * target.h (target_insert_breakpoint): Remove "hardware" from its
6924 comments.
6925
6926 2014-03-07 Doug Evans <dje@google.com>
6927
6928 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6929
6930 2014-03-07 Doug Evans <dje@google.com>
6931
6932 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6933 Remove unused local comp_dir_attr. Assert exactly one of
6934 stub_comp_unit_die, stub_comp_dir is non-NULL.
6935
6936 2014-03-07 Joel Brobecker <brobecker@adacore.com>
6937
6938 * target.h (complete_target_initialization, add_target):
6939 Add comment.
6940
6941 2014-03-07 Pedro Alves <palves@redhat.com>
6942
6943 * go32-nat.c: Include inf-child.h.
6944 (go32_ops): Delete global.
6945 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6946 Delete methods.
6947 (go32_create_inferior): Push the passed in target pointer instead
6948 of referencing go32_ops.
6949 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6950 (go32_target): New function, based on init_go32_ops, but inherit
6951 inf_child_target.
6952 (_initialize_go32_nat): Use go32_target. Move parts of
6953 init_go32_ops here.
6954
6955 2014-03-06 Joel Brobecker <brobecker@adacore.com>
6956
6957 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6958 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6959 SYMBOL_VALUE_ADDRESS.
6960 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6961
6962 2014-03-06 Yao Qi <yao@codesourcery.com>
6963
6964 * breakpoint.c (get_tracepoint_by_number): Remove argument
6965 optional_p. All callers updated. Adjust comments. Update
6966 output message.
6967 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6968
6969 2014-03-06 Yao Qi <yao@codesourcery.com>
6970
6971 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6972 early if get_number returns zero. Use 'p' instead of 'args'.
6973
6974 2014-03-06 Yao Qi <yao@codesourcery.com>
6975
6976 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6977 message.
6978
6979 2014-03-06 Yao Qi <yao@codesourcery.com>
6980
6981 PR breakpoints/16508
6982 * tracepoint.c (check_trace_running): New function.
6983 (trace_find_command): Move code to check_trace_running and
6984 call check_trace_running.
6985 (trace_find_pc_command): Likewise.
6986 (trace_find_tracepoint_command): Likewise.
6987 (trace_find_line_command): Likewise.
6988 (trace_find_range_command): Likewise.
6989 * tracepoint.h (check_trace_running): Likewise.
6990 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6991
6992 2014-03-06 Yao Qi <yao@codesourcery.com>
6993
6994 * target.h (struct target_ops) <to_traceframe_info>: Use
6995 TARGET_DEFAULT_NORETURN (tcomplain ()).
6996 * target-delegates.c: Regenerated.
6997
6998 2014-03-05 Pedro Alves <palves@redhat.com>
6999
7000 PR gdb/16575
7001 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7002 void. Update comment.
7003 (dcache_xfer_memory): Delete.
7004 (dcache_read_memory_partial): New, based on the read bits of
7005 dcache_xfer_memory.
7006 (dcache_update): Add status parameter. Use ULONGEST for len, and
7007 adjust. Discard cache lines if the reason for the update was
7008 error.
7009 * dcache.h (dcache_xfer_memory): Delete declaration.
7010 (dcache_read_memory_partial): New declaration.
7011 (dcache_update): Update prototype.
7012 * target.c (raw_memory_xfer_partial): Update the dcache here.
7013 (memory_xfer_partial_1): Don't handle dcache writes here.
7014
7015 2014-03-05 Mike Frysinger <vapier@gentoo.org>
7016
7017 * remote-sim.c (gdbsim_load): Add const to prog.
7018
7019 2014-03-03 Tom Tromey <tromey@redhat.com>
7020
7021 * elfread.c (probe_key): Change to bfd_data.
7022 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7023 now per-BFD, not per-objfile.
7024 * stap-probe.c (stap_probe_destroy): Update comment.
7025 (handle_stap_probe): Allocate on the per-BFD obstack.
7026
7027 2014-03-03 Tom Tromey <tromey@redhat.com>
7028
7029 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7030 * breakpoint.c (create_longjmp_master_breakpoint): Use
7031 get_probe_address.
7032 (add_location_to_breakpoint, bkpt_probe_insert_location)
7033 (bkpt_probe_remove_location): Update.
7034 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7035 * elfread.c (elf_symfile_relocate_probe): Remove.
7036 (elf_probe_fns): Update.
7037 (insert_exception_resume_breakpoint): Change type of "probe"
7038 parameter to bound_probe.
7039 (check_exception_resume): Update.
7040 * objfiles.c (objfile_relocate1): Don't relocate probes.
7041 * probe.c (bound_probe_s): New typedef.
7042 (parse_probes): Use get_probe_address. Set sal's objfile.
7043 (find_probe_by_pc): Return a bound_probe.
7044 (collect_probes): Return a VEC(bound_probe_s).
7045 (compare_probes): Update.
7046 (gen_ui_out_table_header_info): Change type of "probes"
7047 parameter. Update.
7048 (info_probes_for_ops): Update.
7049 (get_probe_address): New function.
7050 (probe_safe_evaluate_at_pc): Update.
7051 * probe.h (struct probe_ops) <get_probe_address>: New field.
7052 <set_semaphore, clear_semaphore>: Add objfile parameter.
7053 (struct probe) <objfile>: Remove field.
7054 <arch>: New field.
7055 <address>: Update comment.
7056 (struct bound_probe): New.
7057 (find_probe_by_pc): Return a bound_probe.
7058 (get_probe_address): Declare.
7059 * solib-svr4.c (struct probe_and_action) <address>: New field.
7060 (hash_probe_and_action, equal_probe_and_action): Update.
7061 (register_solib_event_probe): Add address parameter.
7062 (solib_event_probe_at): Update.
7063 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7064 get_probe_address.
7065 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7066 (stap_get_probe_address): New function.
7067 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7068 (compile_probe_arg): Update.
7069 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7070 address.
7071 (handle_stap_probe): Don't relocate the probe.
7072 (stap_relocate): Remove.
7073 (stap_gen_info_probes_table_values): Update.
7074 (stap_probe_ops): Remove stap_relocate.
7075 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7076 (debug_sym_probe_fns): Update.
7077 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7078 * symtab.c (init_sal): Use memset.
7079 * symtab.h (struct symtab_and_line) <objfile>: New field.
7080 * tracepoint.c (start_tracing, stop_tracing): Update.
7081
7082 2014-03-03 Tom Tromey <tromey@redhat.com>
7083
7084 * probe.h (parse_probes, find_probe_by_pc)
7085 (find_probes_in_objfile): Fix comments.
7086
7087 2014-03-02 Doug Evans <xdje42@gmail.com>
7088
7089 * infrun.c (handle_signal_stop): Replace test for
7090 TARGET_WAITKIND_STOPPED with an assert.
7091
7092 2014-03-02 Doug Evans <xdje42@gmail.com>
7093
7094 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7095
7096 2014-03-02 Doug Evans <xdje42@gmail.com>
7097
7098 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7099
7100 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7101
7102 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7103
7104 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7105
7106 * i386obsd-nat.c: Include "obsd-nat.h".
7107 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7108 add_target.
7109 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7110
7111 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7112
7113 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7114
7115 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7116
7117 * mips64obsd-nat.c: Include "obsd-nath".
7118 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7119 add_target
7120 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7121
7122 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7123
7124 * amd64obsd-nat.c: Include "obsd-nat,h.
7125 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7126 add_target.
7127 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7128
7129 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7130
7131 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7132 (find_overload_match): Update call to find_oload_champ.
7133 (find_oload_champ_namespace_loop): Likewise
7134
7135 2014-02-28 Mark Kettenis <kettenis@gnu.org>
7136
7137 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7138
7139 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7140 * config/sparc/obsd64.mh: New file.
7141 * sparc64obsd-nat.c: New file.
7142
7143 * obsd-nat.h: New file.
7144 * obsd-nat.c: New file.
7145 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7146 (ALLDEPFILES): Add obsd-nat.c.
7147
7148 2014-02-28 Tom Tromey <tromey@redhat.com>
7149
7150 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7151 * cli-out.h (cli_ui_out_impl): Now const.
7152 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7153 * ui-out.c (struct ui_out) <impl>: Now const.
7154 (default_ui_out_impl): Now const.
7155 (ui_out_new): Make 'impl' parameter const.
7156 * ui-out.h (ui_out_new): Update.
7157
7158 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7159
7160 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7161
7162 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7163
7164 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7165
7166 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7167
7168 Additional PR 8882 fix.
7169 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7170
7171 2014-02-27 Pedro Alves <palves@redhat.com>
7172
7173 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7174 isn't set.
7175
7176 2014-02-27 Pedro Alves <palves@redhat.com>
7177
7178 PR 12702
7179 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7180 * nat/linux-waitpid.c: Include string.h.
7181 (status_to_str): Moved here and made extern.
7182 * nat/linux-waitpid.h (status_to_str): New declaration.
7183
7184 2014-02-27 Hui Zhu <hui@codesourcery.com>
7185
7186 PR 12702
7187 * infrun.c (ptid_match): Move ...
7188 * common/ptid.c (ptid_match): ... here.
7189 * inferior.h (ptid_match): Move ...
7190 * common/ptid.h (ptid_match): ... here.
7191
7192 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7193
7194 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7195 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7196 gdb_target_obs.
7197
7198 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7199
7200 * obsd-tdep.c (obsd_auxv_parse): New function.
7201 (obsd_init_abi): Set auxv_parse.
7202
7203 * gdbarch.sh (auxv_parse): New.
7204 * gdbarch.h: Regenerated.
7205 * gdbarch.c: Regenerated.
7206 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7207
7208 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7209
7210 * guile/scm-value.c (gdbscm_history_append_x): New function.
7211 (value_functions): Add it.
7212
7213 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7214
7215 * dwarf2read.c (attr_value_as_address): New function.
7216 (dwarf2_find_base_address, read_call_site_scope): Use
7217 attr_value_as_address in place of DW_ADDR.
7218 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7219 the low and high addresses. Slight rework of the handling
7220 of the high pc being a constant form, and limit it to
7221 DWARF verson 4 or higher.
7222 (dwarf2_record_block_ranges): Likewise.
7223 (read_partial_die): Likewise.
7224 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7225
7226 2014-02-26 Tom Tromey <tromey@redhat.com>
7227
7228 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7229
7230 2014-02-26 Tom Tromey <tromey@redhat.com>
7231
7232 * elfread.c (elf_read_minimal_symbols): Return early if
7233 minimal symbols have already been read. Add "ei" parameter.
7234 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7235 * minsyms.c (prim_record_minimal_symbol_full): Update.
7236 * objfiles.h (struct objstats) <n_minsyms>: Move...
7237 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7238 * symmisc.c (print_objfile_statistics): Update.
7239
7240 2014-02-26 Tom Tromey <tromey@redhat.com>
7241
7242 * elfread.c (elf_read_minimal_symbols): New function, from
7243 elf_symfile_read.
7244 (elf_symfile_read): Call it.
7245
7246 2014-02-26 Tom Tromey <tromey@redhat.com>
7247
7248 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7249 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7250 (lookup_minimal_symbol_solib_trampoline)
7251 (lookup_minimal_symbol_by_pc_section_1)
7252 (lookup_minimal_symbol_and_objfile): Update.
7253 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7254 Don't allocate a minimal symbol if minsyms have already been read.
7255 (build_minimal_symbol_hash_tables): Update.
7256 (install_minimal_symbols): Do nothing if minsyms already read.
7257 Use the per-BFD obstack.
7258 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7259 * objfiles.c (allocate_objfile): Call
7260 terminate_minimal_symbol_table later.
7261 (have_minimal_symbols): Update.
7262 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7263 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7264 Move from struct objfile.
7265 <minsyms_read>: New field.
7266 (struct objfile) <msymbols, minimal_symbol_count,
7267 msymbol_hash, msymbol_demangled_hash>: Move.
7268 (ALL_OBJFILE_MSYMBOLS): Update.
7269 * symfile.c (read_symbols): Set minsyms_read.
7270 (reread_symbols): Update.
7271 * symmisc.c (dump_objfile, dump_msymbols): Update.
7272
7273 2014-02-26 Tom Tromey <tromey@redhat.com>
7274
7275 * minsyms.c (msymbols_sort): Remove.
7276 * minsyms.h (msymbols_sort): Remove.
7277 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7278 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7279 * elfread.c (elf_symtab_read): Don't add section offsets.
7280 * xcoffread.c (record_minimal_symbol): Don't add section offset
7281 to minimal symbol address.
7282 * somread.c (text_offset, data_offset): Remove.
7283 (som_symtab_read): Don't add section offsets to minimal symbol
7284 addresses.
7285 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7286 Don't add section offsets to minimal symbols.
7287 * coffread.c (coff_symtab_read): Don't add section offsets
7288 to minimal symbol addresses.
7289 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7290 to minimal symbol addresses.
7291 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7292 section offset to minimal symbol addresses.
7293 * mdebugread.c (parse_partial_symbols): Don't add section
7294 offset to minimal symbol addresses.
7295 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7296 offset to minimal symbol addresses.
7297
7298 2014-02-26 Tom Tromey <tromey@redhat.com>
7299
7300 * ada-lang.c (ada_main_name): Update.
7301 (ada_add_standard_exceptions): Update.
7302 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7303 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7304 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7305 * auxv.c (ld_so_xfer_auxv): Update.
7306 * avr-tdep.c (avr_scan_prologue): Update.
7307 * ax-gdb.c (gen_var_ref): Update.
7308 * blockframe.c (get_pc_function_start)
7309 (find_pc_partial_function_gnu_ifunc): Update.
7310 * breakpoint.c (create_overlay_event_breakpoint)
7311 (create_longjmp_master_breakpoint)
7312 (create_std_terminate_master_breakpoint)
7313 (create_exception_master_breakpoint): Update.
7314 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7315 * c-valprint.c (c_val_print): Update.
7316 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7317 * common/agent.c (agent_look_up_symbols): Update.
7318 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7319 * dwarf2loc.c (call_site_to_target_addr): Update.
7320 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7321 * elfread.c (elf_gnu_ifunc_record_cache)
7322 (elf_gnu_ifunc_resolve_by_got): Update.
7323 * findvar.c (default_read_var_value): Update.
7324 * frame.c (inside_main_func): Update.
7325 * frv-tdep.c (frv_frame_this_id): Update.
7326 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7327 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7328 Update.
7329 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7330 (hppa_hpux_find_dummy_bpaddr): Update.
7331 * hppa-tdep.c (hppa_symbol_address): Update.
7332 * infcmd.c (until_next_command): Update.
7333 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7334 Update.
7335 * linespec.c (minsym_found, add_minsym): Update.
7336 * linux-nat.c (get_signo): Update.
7337 * linux-thread-db.c (inferior_has_bug): Update.
7338 * m32c-tdep.c (m32c_return_value)
7339 (m32c_m16c_address_to_pointer): Update.
7340 * m32r-tdep.c (m32r_frame_this_id): Update.
7341 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7342 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7343 * maint.c (maintenance_translate_address): Update.
7344 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7345 (frob_address): New function.
7346 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7347 frob_address. Rename parameter to "pc_in".
7348 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7349 addresses.
7350 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7351 Update.
7352 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7353 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7354 * objc-lang.c (find_objc_msgsend): Update.
7355 * objfiles.c (objfile_relocate1): Update.
7356 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7357 * p-valprint.c (pascal_val_print): Update.
7358 * parse.c (write_exp_msymbol): Update.
7359 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7360 (ppc_elfv2_skip_entrypoint): Update.
7361 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7362 * printcmd.c (build_address_symbolic, msym_info)
7363 (address_info): Update.
7364 * proc-service.c (ps_pglobal_lookup): Update.
7365 * psymtab.c (find_pc_sect_psymtab_closer)
7366 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7367 Change msymbol parameter to bound_minimal_symbol.
7368 * ravenscar-thread.c (get_running_thread_id): Update.
7369 * remote.c (remote_check_symbols): Update.
7370 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7371 address.
7372 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7373 * solib-dsbt.c (lm_base): Update.
7374 * solib-frv.c (lm_base, main_got): Update.
7375 * solib-irix.c (locate_base): Update.
7376 * solib-som.c (som_solib_create_inferior_hook)
7377 (link_map_start): Update.
7378 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7379 * solib-svr4.c (elf_locate_base, enable_break): Update.
7380 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7381 (flush_ea_cache): Update.
7382 * stabsread.c (define_symbol, scan_file_globals): Update.
7383 * stack.c (find_frame_funname): Update.
7384 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7385 (debug_qf_find_pc_sect_symtab): Update.
7386 * symfile.c (simple_read_overlay_table)
7387 (simple_overlay_update): Update.
7388 * symfile.h (struct quick_symbol_functions)
7389 <find_pc_sect_symtab>: Change type of msymbol to
7390 bound_minimal_symbol.
7391 * symmisc.c (dump_msymbols): Update.
7392 * symtab.c (find_pc_sect_symtab_via_partial)
7393 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7394 (search_symbols, print_msymbol_info): Update.
7395 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7396 (MSYMBOL_VALUE_ADDRESS): Redefine.
7397 (BMSYMBOL_VALUE_ADDRESS): New macro.
7398 * tracepoint.c (scope_info): Update.
7399 * tui/tui-disasm.c (tui_find_disassembly_address)
7400 (tui_get_begin_asm_address): Update.
7401 * valops.c (find_function_in_inferior): Update.
7402 * value.c (value_static_field, value_fn_field): Update.
7403
7404 2014-02-26 Tom Tromey <tromey@redhat.com>
7405
7406 * ada-lang.c (ada_update_initial_language): Update.
7407 (ada_main_name, ada_has_this_exception_support): Update.
7408 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7409 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7410 * arm-tdep.c (arm_skip_stub): Update.
7411 * auxv.c (ld_so_xfer_auxv): Update.
7412 * avr-tdep.c (avr_scan_prologue): Update.
7413 * ax-gdb.c (gen_var_ref): Update.
7414 * breakpoint.c (struct breakpoint_objfile_data)
7415 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7416 type to bound_minimal_symbol.
7417 (create_overlay_event_breakpoint)
7418 (create_longjmp_master_breakpoint)
7419 (create_std_terminate_master_breakpoint)
7420 (create_exception_master_breakpoint): Update.
7421 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7422 * c-exp.y (classify_name): Update.
7423 * coffread.c (coff_symfile_read): Update.
7424 * common/agent.c (agent_look_up_symbols): Update.
7425 * d-lang.c (d_main_name): Update.
7426 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7427 * dec-thread.c (enable_dec_thread): Update.
7428 * dwarf2loc.c (call_site_to_target_addr): Update.
7429 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7430 * eval.c (evaluate_subexp_standard): Update.
7431 * findvar.c (struct minsym_lookup_data) <result>: Change type
7432 to bound_minimal_symbol.
7433 <objfile>: Remove.
7434 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7435 * frame.c (inside_main_func): Update.
7436 * frv-tdep.c (frv_frame_this_id): Update.
7437 * gcore.c (call_target_sbrk): Update.
7438 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7439 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7440 Update.
7441 * go-lang.c (go_main_name): Update.
7442 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7443 (hppa_hpux_find_import_stub_for_addr): Update.
7444 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7445 Update. Change return type.
7446 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7447 type.
7448 * jit.c (jit_breakpoint_re_set_internal): Update.
7449 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7450 Update.
7451 * linux-nat.c (get_signo): Update.
7452 * linux-thread-db.c (inferior_has_bug): Update
7453 * m32c-tdep.c (m32c_return_value)
7454 (m32c_m16c_address_to_pointer): Update.
7455 * m32r-tdep.c (m32r_frame_this_id): Update.
7456 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7457 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7458 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7459 lookup_minimal_symbol. Change return type.
7460 (lookup_minimal_symbol): Remove.
7461 (lookup_bound_minimal_symbol): Update.
7462 (lookup_minimal_symbol_text): Change return type.
7463 (lookup_minimal_symbol_solib_trampoline): Change return type.
7464 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7465 (lookup_minimal_symbol_solib_trampoline): Change return type.
7466 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7467 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7468 (value_nsstring, find_imps): Update.
7469 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7470 * p-lang.c (pascal_main_name): Update.
7471 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7472 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7473 * proc-service.c (ps_pglobal_lookup): Update.
7474 * ravenscar-thread.c (get_running_thread_msymbol): Change
7475 return type.
7476 (has_ravenscar_runtime, get_running_thread_id): Update.
7477 * remote.c (remote_check_symbols): Update.
7478 * sol-thread.c (ps_pglobal_lookup): Update.
7479 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7480 * solib-dsbt.c (lm_base): Update.
7481 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7482 Update.
7483 * solib-irix.c (locate_base): Update.
7484 * solib-som.c (som_solib_create_inferior_hook)
7485 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7486 Update.
7487 * solib-spu.c (spu_enable_break): Update.
7488 * solib-svr4.c (elf_locate_base, enable_break): Update.
7489 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7490 (flush_ea_cache): Update.
7491 * stabsread.c (define_symbol): Update.
7492 * symfile.c (simple_read_overlay_table): Update.
7493 * symtab.c (find_pc_sect_line): Update.
7494 * tracepoint.c (scope_info): Update.
7495 * tui-disasm.c (tui_get_begin_asm_address): Update.
7496 * value.c (value_static_field): Update.
7497
7498 2014-02-26 Tom Tromey <tromey@redhat.com>
7499
7500 * minsyms.c (prim_record_minimal_symbol_full): Use
7501 SET_MSYMBOL_VALUE_ADDRESS.
7502 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7503 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7504 SET_MSYMBOL_VALUE_ADDRESS.
7505 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7506 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7507
7508 2014-02-26 Tom Tromey <tromey@redhat.com>
7509
7510 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7511 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7512 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7513 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7514 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7515 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7516 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7517 * ada-lang.c (ada_main_name): Update.
7518 (ada_lookup_simple_minsym): Update.
7519 (ada_make_symbol_completion_list): Update.
7520 (ada_add_standard_exceptions): Update.
7521 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7522 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7523 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7524 * arm-tdep.c (skip_prologue_function): Update.
7525 (arm_skip_stack_protector, arm_skip_stub): Update.
7526 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7527 (arm_wince_skip_main_prologue): Update.
7528 * auxv.c (ld_so_xfer_auxv): Update.
7529 * avr-tdep.c (avr_scan_prologue): Update.
7530 * ax-gdb.c (gen_var_ref): Update.
7531 * block.c (call_site_for_pc): Update.
7532 * blockframe.c (get_pc_function_start): Update.
7533 (find_pc_partial_function_gnu_ifunc): Update.
7534 * breakpoint.c (create_overlay_event_breakpoint): Update.
7535 (create_longjmp_master_breakpoint): Update.
7536 (create_std_terminate_master_breakpoint): Update.
7537 (create_exception_master_breakpoint): Update.
7538 (resolve_sal_pc): Update.
7539 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7540 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7541 Update.
7542 * c-valprint.c (c_val_print): Update.
7543 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7544 * coffread.c (coff_symfile_read): Update.
7545 * common/agent.c (agent_look_up_symbols): Update.
7546 * dbxread.c (find_stab_function_addr): Update.
7547 (end_psymtab): Update.
7548 * dwarf2loc.c (call_site_to_target_addr): Update.
7549 (func_verify_no_selftailcall): Update.
7550 (tailcall_dump): Update.
7551 (call_site_find_chain_1): Update.
7552 (dwarf_expr_reg_to_entry_parameter): Update.
7553 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7554 (elf_gnu_ifunc_resolve_by_got): Update.
7555 * f-valprint.c (info_common_command): Update.
7556 * findvar.c (read_var_value): Update.
7557 * frame.c (get_prev_frame_1): Update.
7558 (inside_main_func): Update.
7559 * frv-tdep.c (frv_skip_main_prologue): Update.
7560 (frv_frame_this_id): Update.
7561 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7562 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7563 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7564 (gnuv3_skip_trampoline): Update.
7565 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7566 (hppa64_hpux_in_solib_call_trampoline): Update.
7567 (hppa_hpux_skip_trampoline_code): Update.
7568 (hppa64_hpux_search_dummy_call_sequence): Update.
7569 (hppa_hpux_find_import_stub_for_addr): Update.
7570 (hppa_hpux_find_dummy_bpaddr): Update.
7571 * hppa-tdep.c (hppa_symbol_address)
7572 (hppa_lookup_stub_minimal_symbol): Update.
7573 * i386-tdep.c (i386_skip_main_prologue): Update.
7574 (i386_pe_skip_trampoline_code): Update.
7575 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7576 * infcall.c (get_function_name): Update.
7577 * infcmd.c (until_next_command): Update.
7578 * jit.c (jit_breakpoint_re_set_internal): Update.
7579 (jit_inferior_init): Update.
7580 * linespec.c (minsym_found): Update.
7581 (add_minsym): Update.
7582 * linux-fork.c (info_checkpoints_command): Update.
7583 * linux-nat.c (get_signo): Update.
7584 * linux-thread-db.c (inferior_has_bug): Update.
7585 * m32c-tdep.c (m32c_return_value): Update.
7586 (m32c_m16c_address_to_pointer): Update.
7587 (m32c_m16c_pointer_to_address): Update.
7588 * m32r-tdep.c (m32r_frame_this_id): Update.
7589 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7590 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7591 * maint.c (maintenance_translate_address): Update.
7592 * minsyms.c (add_minsym_to_hash_table): Update.
7593 (add_minsym_to_demangled_hash_table): Update.
7594 (msymbol_objfile): Update.
7595 (lookup_minimal_symbol): Update.
7596 (iterate_over_minimal_symbols): Update.
7597 (lookup_minimal_symbol_text): Update.
7598 (lookup_minimal_symbol_by_pc_name): Update.
7599 (lookup_minimal_symbol_solib_trampoline): Update.
7600 (lookup_minimal_symbol_by_pc_section_1): Update.
7601 (lookup_minimal_symbol_and_objfile): Update.
7602 (prim_record_minimal_symbol_full): Update.
7603 (compare_minimal_symbols): Update.
7604 (compact_minimal_symbols): Update.
7605 (build_minimal_symbol_hash_tables): Update.
7606 (install_minimal_symbols): Update.
7607 (terminate_minimal_symbol_table): Update.
7608 (find_solib_trampoline_target): Update.
7609 (minimal_symbol_upper_bound): Update.
7610 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7611 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7612 (mips_skip_pic_trampoline_code): Update.
7613 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7614 * objc-lang.c (selectors_info): Update.
7615 (classes_info): Update.
7616 (find_methods): Update.
7617 (find_imps): Update.
7618 (find_objc_msgsend): Update.
7619 * objfiles.c (objfile_relocate1): Update.
7620 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7621 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7622 * p-valprint.c (pascal_val_print): Update.
7623 * parse.c (write_exp_msymbol): Update.
7624 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7625 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7626 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7627 * printcmd.c (build_address_symbolic): Update.
7628 (sym_info): Update.
7629 (address_info): Update.
7630 * proc-service.c (ps_pglobal_lookup): Update.
7631 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7632 (find_pc_sect_psymtab): Update.
7633 * python/py-framefilter.c (py_print_frame): Update.
7634 * ravenscar-thread.c (get_running_thread_id): Update.
7635 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7636 Update.
7637 * remote.c (remote_check_symbols): Update.
7638 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7639 (rs6000_skip_trampoline_code): Update.
7640 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7641 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7642 * solib-dsbt.c (lm_base): Update.
7643 * solib-frv.c (lm_base): Update.
7644 (main_got): Update.
7645 * solib-irix.c (locate_base): Update.
7646 * solib-som.c (som_solib_create_inferior_hook): Update.
7647 (som_solib_desire_dynamic_linker_symbols): Update.
7648 (link_map_start): Update.
7649 * solib-spu.c (spu_enable_break): Update.
7650 (ocl_enable_break): Update.
7651 * solib-svr4.c (elf_locate_base): Update.
7652 (enable_break): Update.
7653 * spu-tdep.c (spu_get_overlay_table): Update.
7654 (spu_catch_start): Update.
7655 (flush_ea_cache): Update.
7656 * stabsread.c (define_symbol): Update.
7657 (scan_file_globals): Update.
7658 * stack.c (find_frame_funname): Update.
7659 (frame_info): Update.
7660 * symfile.c (simple_read_overlay_table): Update.
7661 (simple_overlay_update): Update.
7662 * symmisc.c (dump_msymbols): Update.
7663 * symtab.c (fixup_section): Update.
7664 (find_pc_sect_line): Update.
7665 (skip_prologue_sal): Update.
7666 (search_symbols): Update.
7667 (print_msymbol_info): Update.
7668 (rbreak_command): Update.
7669 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7670 (completion_list_objc_symbol): Update.
7671 (default_make_symbol_completion_list_break_on): Update.
7672 * tracepoint.c (scope_info): Update.
7673 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7674 (tui_get_begin_asm_address): Update.
7675 * valops.c (find_function_in_inferior): Update.
7676 * value.c (value_static_field): Update.
7677 (value_fn_field): Update.
7678
7679 2014-02-26 Tom Tromey <tromey@redhat.com>
7680
7681 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7682 bound minimal symbols. Move code that knows about minsym
7683 table layout...
7684 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7685 function.
7686 * minsyms.h (minimal_symbol_upper_bound): Declare.
7687 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7688 minimal_symbol_upper_bound.
7689
7690 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7691
7692 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7693 Use the type's name if its basic type does not have a tag.
7694
7695 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7696
7697 * dwarf2read.c (read_subrange_type): Add comment.
7698
7699 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7700
7701 * dwarf2read.c (update_enumeration_type_from_children): New
7702 function, mostly extracted from process_structure_scope.
7703 (read_enumeration_type): Call update_enumeration_type_from_children.
7704 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7705 and flag_flag_enum fields.
7706
7707 2014-02-26 Pedro Alves <palves@redhat.com>
7708
7709 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7710 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7711 to_xfer_partial method.
7712
7713 2014-02-26 Pedro Alves <palves@redhat.com>
7714
7715 * target.c (complete_target_initialization): Don't install
7716 default_xfer_partial as to_xfer_partial hook.
7717 (nomemory): Delete.
7718 (update_current_target): Don't INHERIT nor de_fault
7719 deprecated_xfer_memory. Delete de_fault macro.
7720 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7721 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7722 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7723 field.
7724
7725 2014-02-26 Pedro Alves <palves@redhat.com>
7726
7727 * go32-nat.c (my_write_child): New function.
7728 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7729 (go32_xfer_partial): New function.
7730 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7731 Instead install a to_xfer_partial hook.
7732
7733 2014-02-26 Pedro Alves <palves@redhat.com>
7734
7735 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7736 to_xfer_partial helper. Rewrite.
7737 (procfs_xfer_partial): New function.
7738 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7739 Install a to_xfer_partial hook.
7740
7741 2014-02-26 Pedro Alves <palves@redhat.com>
7742
7743 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7744 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7745 (m32r_xfer_partial): New function.
7746 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7747 Install a to_xfer_partial hook.
7748
7749 2014-02-26 Pedro Alves <palves@redhat.com>
7750
7751 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7752 helper.
7753 (mips_xfer_partial): New function.
7754 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7755 hook. Install a to_xfer_partial hook.
7756
7757 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7758
7759 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7760 * gdbtypes.c (create_array_type_with_stride): New function,
7761 renaming create_array_type, but with an added parameter
7762 called "bit_stride".
7763 (create_array_type): Re-implement using
7764 create_array_type_with_stride.
7765 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7766 and DW_AT_bit_stride attributes.
7767
7768 2014-02-26 Pedro Alves <palves@redhat.com>
7769
7770 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7771 task-specific breakpoints.
7772
7773 2014-02-25 Pedro Alves <palves@redhat.com>
7774
7775 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7776 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7777
7778 2014-02-25 Stan Shebs <stan@codesourcery.com>
7779
7780 * defs.h: Annotate comments for Doxygen.
7781
7782 2014-02-25 Tom Tromey <tromey@redhat.com>
7783
7784 * target.h (target_ignore): Don't declare.
7785 * target.c (target_ignore): Remove.
7786
7787 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7788
7789 PR gdb/16626
7790 * auto-load.c (auto_load_objfile_script_1): Change filename to
7791 debugfile.
7792
7793 2014-02-25 Joel Brobecker <brobecker@adacore.com>
7794
7795 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7796 documentation. Adjust prototype to match the target_ops
7797 to_xfer_partial method. Adjust implementation accordingly.
7798
7799 2014-02-25 Hui Zhu <hui@codesourcery.com>
7800
7801 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7802 to_traceframe_info.
7803
7804 2014-02-25 Kevin Buettner <kevinb@redhat.com>
7805
7806 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7807 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7808 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7809 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7810 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7811 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7812 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7813 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7814 New constants.
7815 (rl78_register_type): Use a data pointer type for SP and
7816 new pseudo registers mentioned above. Use a 16 bit integer
7817 type for all other register pairs.
7818 (rl78_register_name, rl78_g10_register_name): Update for
7819 new pseudo registers.
7820 (rl78_pseudo_register_read): Likewise.
7821 (rl78_pseudo_register_write): Likewise.
7822 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7823 to the newly added pseudo registers.
7824
7825 2014-02-24 Doug Evans <dje@google.com>
7826
7827 * value.c (record_latest_value): Fix comment.
7828 * printcmd.c (print_command_1): Remove code to handle -1 return from
7829 record_latest_value.
7830
7831 2014-02-24 Pedro Alves <palves@redhat.com>
7832
7833 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7834 deprecated_xfer_memory hook.
7835 (procfs_xfer_partial): Call procfs_xfer_memory instead
7836 of the deprecated_xfer_memory target hook.
7837 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7838 helper.
7839
7840 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7841
7842 * windows-nat.c (windows_xfer_shared_libraries): Return
7843 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7844 requested object is TARGET_OBJECT_LIBRARIES.
7845
7846 2014-02-24 Yao Qi <yao@codesourcery.com>
7847
7848 * target.h (enum target_xfer_status)
7849 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7850 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7851 explicitly. New.
7852 * corefile.c (memory_error_message): User updated.
7853 * exec.c (section_table_read_available_memory): Likewise.
7854 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7855 * target.c (target_xfer_status_to_string): Likewise.
7856 (raw_memory_xfer_partial): Likewise.
7857 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7858 * valops.c (read_value_memory): Likewise.
7859 * exec.h: Update comments.
7860
7861 2014-02-24 Yao Qi <yao@codesourcery.com>
7862
7863 * target.c (target_xfer_status_to_string): Rename argument err
7864 to status.
7865 * target.h (target_xfer_status_to_string): Update declaration.
7866 Replace target_xfer_error_to_string with
7867 target_xfer_status_to_string in comment.
7868
7869 2014-02-24 Yao Qi <yao@codesourcery.com>
7870
7871 * mips-linux-nat.c (super_close): Update its type.
7872 (mips_linux_close): Pass 'self' to super_close.
7873
7874 2014-02-24 Yao Qi <yao@codesourcery.com>
7875
7876 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7877 * corefile.c (read_memory): Adjusted.
7878 * target.c (target_write_with_progress): Adjusted.
7879
7880 2014-02-23 Yao Qi <yao@codesourcery.com>
7881
7882 Revert two patches:
7883
7884 2013-10-25 Yao Qi <yao@codesourcery.com>
7885
7886 * remote.c (remote_traceframe_info): Return early if
7887 traceframe is not selected.
7888
7889 2013-07-19 Yao Qi <yao@codesourcery.com>
7890
7891 * target.c (update_current_target): Change the default action
7892 of 'to_traceframe_info' from tcomplain to return_zero.
7893 * target.h (struct target_ops) <to_traceframe_info>: Add more
7894 comments.
7895
7896 2014-02-23 Yao Qi <yao@codesourcery.com>
7897
7898 * valops.c (read_value_memory): Rewrite it. Call
7899 target_xfer_partial in a loop.
7900 * exec.h (section_table_available_memory): Remove declaration.
7901 Move comments to ...
7902 * exec.c (section_table_available_memory): ... here. Make it
7903 static.
7904
7905 2014-02-23 Yao Qi <yao@codesourcery.com>
7906
7907 * exec.c (section_table_read_available_memory): New function.
7908 * exec.h (section_table_read_available_memory): Declare.
7909 * ctf.c (ctf_xfer_partial): Call
7910 section_table_read_available_memory.
7911 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7912
7913 2014-02-23 Yao Qi <yao@codesourcery.com>
7914
7915 * ctf.c (ctf_xfer_partial): Move code to ...
7916 * exec.c (exec_read_partial_read_only): ... it. New function.
7917 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7918 * tracefile.c: Include "exec.h".
7919 * exec.h (exec_read_partial_read_only): Declare.
7920
7921 2014-02-23 Yao Qi <yao@codesourcery.com>
7922
7923 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7924 (tfile_has_memory): Remove.
7925 (init_tfile_ops): Don't set fields to_has_all_memory and
7926 to_has_memory of tfile_ops.
7927 * tracefile.c (tracefile_has_all_memory): New function.
7928 (tracefile_has_memory): New function.
7929 (init_tracefile_ops): Initialize fields to_has_all_memory and
7930 to_has_memory of 'ops'.
7931
7932 2014-02-23 Yao Qi <yao@codesourcery.com>
7933
7934 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7935 (ctf_thread_alive, ctf_get_trace_status): Remove.
7936 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7937 init_tracefile_ops.
7938 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7939 (tfile_has_stack, tfile_has_registers): Remove.
7940 (tfile_thread_alive): Remove.
7941 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7942 init_tracefile_ops.
7943 * tracefile.c (tracefile_has_stack): New function.
7944 (tracefile_has_registers): New function.
7945 (tracefile_thread_alive): New function.
7946 (tracefile_get_trace_status): New function.
7947 (init_tracefile_ops): New function.
7948 * tracefile.h (init_tracefile_ops): Declare.
7949
7950 2014-02-23 Yao Qi <yao@codesourcery.com>
7951
7952 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7953 (O_LARGEFILE): Likewise.
7954 (tfile_ops): Likewise.
7955 (TRACE_HEADER_SIZE): Likewise.
7956 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7957 (cur_data_size): Likewise.
7958 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7959 (tfile_close, tfile_files_info): Likewise.
7960 (tfile_get_trace_status): Likewise.
7961 (tfile_get_tracepoint_status): Likewise.
7962 (tfile_get_traceframe_address): Likewise.
7963 (tfile_trace_find, match_blocktype): Likewise.
7964 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7965 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7966 (tfile_get_trace_state_variable_value): Likewise.
7967 (tfile_has_all_memory, tfile_has_memory): Likewise.
7968 (tfile_has_stack, tfile_has_registers): Likewise.
7969 (tfile_thread_alive, build_traceframe_info): Likewise.
7970 (tfile_traceframe_info, init_tfile_ops): Likewise.
7971 (_initialize_tracepoint): Don't call init_tfile_ops
7972 and add_target_with_completer.
7973 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7974 exec.h, completer.h and filenames.h.
7975 (_initialize_tracefile_tfile): New function.
7976
7977 2014-02-23 Yao Qi <yao@codesourcery.com>
7978
7979 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7980 tracefile-tfile.o.
7981 (HFILES_NO_SRCDIR): Add tracefile.h.
7982 * ctf.c: Include "tracefile.h".
7983 * tracefile.h: New file.
7984 * tracefile.c: New file
7985 * tracefile-tfile.c: New file.
7986 * tracepoint.c: Include "tracefile.h".
7987 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7988 (stop_reason_names): Add const.
7989 (trace_file_writer_xfree): Move it to tracefile.c.
7990 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7991 (trace_save_ctf): Likewise.
7992 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7993 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7994 (tfile_write_header, tfile_write_regblock_type): Likewise.
7995 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7996 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7997 (tfile_write_raw_data, tfile_end): Likewise.
7998 (tfile_trace_file_writer_new): Likewise.
7999 (free_uploaded_tp): Make it extern.
8000 (free_uploaded_tsv): Make it extern.
8001 (_initialize_tracepoint): Move code to register command 'tsave'
8002 to tracefile.c.
8003 * tracepoint.h (stop_reason_names): Declare.
8004 (struct trace_frame_write_ops): Move it to tracefile.h.
8005 (struct trace_file_write_ops): Likewise.
8006 (struct trace_file_writer): Likewise.
8007 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8008
8009 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8010
8011 PR gdb/16594
8012 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8013 process name.
8014 (get_cores_used_by_process): New parameter num_cores, use it.
8015 (linux_xfer_osdata_processes): Pass num_cores to it.
8016 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8017 process name.
8018
8019 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8020
8021 * target.c (memory_xfer_partial): Fix length arg in call to
8022 breakpoint_xfer_memory.
8023
8024 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8025
8026 PR tdep/16397
8027 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8028 number comes after the + or - signs. Adjust length of register
8029 name to be extracted.
8030
8031 2014-02-20 Tom Tromey <tromey@redhat.com>
8032
8033 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8034 (ada_varobj_ops): Mark "extern".
8035
8036 2014-02-20 Tom Tromey <tromey@redhat.com>
8037
8038 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8039
8040 2014-02-20 Doug Evans <xdje42@gmail.com>
8041
8042 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8043 All callers updated.
8044 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8045 All callers updated.
8046 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8047 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8048
8049 2014-02-20 lin zuojian <manjian2006@gmail.com>
8050 Joel Brobecker <brobecker@adacore.com>
8051 Doug Evans <xdje42@gmail.com>
8052
8053 PR symtab/16581
8054 * dwarf2read.c (struct die_info): New member in_process.
8055 (reset_die_in_process): New function.
8056 (process_die): Set it at the start, reset when returning.
8057 (inherit_abstract_dies): Only call process_die if origin_child_die
8058 not already being processed.
8059
8060 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8061
8062 * windows-nat.c (handle_unload_dll): Add function documentation.
8063 (do_initial_windows_stuff): Add comment explaining why we wait
8064 until after inferior initialization has finished before
8065 processing all DLLs.
8066
8067 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8068
8069 * windows-nat.c (get_module_name): Delete.
8070 (windows_get_exec_module_filename): New function, mostly
8071 inspired from get_module_name.
8072 (windows_pid_to_exec_file): Replace call to get_module_name
8073 by call to windows_get_exec_module_filename.
8074
8075 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8076
8077 * windows-nat.c (handle_load_dll): Rewrite this function's
8078 introductory comment. Remove code using get_module_name
8079 to get the DLL's name.
8080
8081 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8082
8083 * windows-nat.c (get_windows_debug_event): Ignore
8084 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8085 if windows_initialization_done == 0.
8086 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8087 Adjust implementation to always load all DLLs.
8088 (do_initial_windows_stuff): Replace call to
8089 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8090
8091 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8092
8093 * windows-nat.c (_initialize_windows_nat): Deprecate the
8094 "dll-symbols" command. Turn the "add-shared-symbol-files"
8095 and "assf" aliases into commands, and deprecate them as well.
8096 * NEWS: Add entry explaining that "dll-symbols" and its two
8097 aliases are now deprecated.
8098
8099 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8100
8101 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8102 new-line in debug string. Remove trailing spaces.
8103
8104 2014-02-19 Stan Shebs <stan@codesourcery.com>
8105
8106 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8107
8108 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8109
8110 * NEWS: Add entry for the new feature
8111 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8112 and class values.
8113
8114 2014-02-19 Stan Shebs <stan@codesourcery.com>
8115
8116 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8117
8118 2014-02-19 Pedro Alves <palves@redhat.com>
8119
8120 * common/ptid.h (struct ptid): Mention that process_stratum
8121 targets should prefer ptid.lwp.
8122
8123 2014-02-19 Pedro Alves <palves@redhat.com>
8124
8125 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8126 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8127 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8128 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8129 store remote thread ids rather than ptid.tid.
8130 (_initialize_remote): Adjust.
8131
8132 2014-02-19 Tom Tromey <tromey@redhat.com>
8133
8134 * target.c (target_get_unwinder): Rewrite.
8135 (target_get_tailcall_unwinder): Rewrite.
8136 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8137 (record_btrace_to_get_tailcall_unwinder): New function.
8138 (init_record_btrace_ops): Update.
8139 * target.h (struct target_ops) <to_get_unwinder,
8140 to_get_tailcall_unwinder>: Now function pointers. Use
8141 TARGET_DEFAULT_RETURN.
8142
8143 2014-02-19 Tom Tromey <tromey@redhat.com>
8144
8145 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8146 argument.
8147 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8148
8149 2014-02-19 Tom Tromey <tromey@redhat.com>
8150
8151 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8152 directly.
8153 * target-delegates.c: Rebuild.
8154 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8155 TARGET_DEFAULT_FUNC.
8156 * target.c (default_target_decr_pc_after_break): Rename from
8157 forward_target_decr_pc_after_break. Simplify.
8158 (target_decr_pc_after_break): Rely on delegation.
8159
8160 2014-02-19 Tom Tromey <tromey@redhat.com>
8161
8162 * target.c (update_current_target): Do not INHERIT to_doc or
8163 to_magic. Do not de_fault to_open or to_close.
8164
8165 2014-02-19 Tom Tromey <tromey@redhat.com>
8166
8167 * gcore.h (objfile_find_memory_regions): Declare.
8168 * gcore.c (objfile_find_memory_regions): No longer static. Add
8169 "self" argument.
8170 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8171 * exec.c: Include gcore.h.
8172 (exec_set_find_memory_regions): Remove.
8173 (exec_find_memory_regions): Remove.
8174 (exec_do_find_memory_regions): Remove.
8175 (init_exec_ops): Update.
8176 * defs.h (exec_set_find_memory_regions): Remove.
8177
8178 2014-02-19 Tom Tromey <tromey@redhat.com>
8179
8180 * target-delegates.c: Rebuild.
8181 * target.h (struct target_ops) <to_extra_thread_info,
8182 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8183 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8184 not 0, in TARGET_DEFAULT_RETURN.
8185
8186 2014-02-19 Tom Tromey <tromey@redhat.com>
8187
8188 * target.c (complete_target_initialization): Remove casts. Use
8189 return_zero_has_execution.
8190 (return_zero): Add "ignore" argument.
8191 (return_zero_has_execution): New function.
8192 (init_dummy_target): Remove casts. Use
8193 return_zero_has_execution.
8194
8195 2014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target.c (update_current_target): Update comments. Do not
8198 INHERIT to_stratum.
8199
8200 2014-02-19 Tom Tromey <tromey@redhat.com>
8201
8202 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8203 needed.
8204 * corelow.c (core_read_description): Delegate when needed.
8205 * remote.c (remote_read_description): Delegate when needed.
8206 * target-delegates.c: Rebuild.
8207 * target.c (target_read_description): Rewrite.
8208 * target.h (struct target_ops) <to_read_description>: Update
8209 comment. Use TARGET_DEFAULT_RETURN.
8210
8211 2014-02-19 Tom Tromey <tromey@redhat.com>
8212
8213 * target-delegates.c: Rebuild.
8214 * target.c (update_current_target): Don't inherit or default
8215 to_can_run.
8216 (find_default_run_target): Check against delegate_can_run.
8217 * target.h (struct target_ops) <to_can_run>: Use
8218 TARGET_DEFAULT_RETURN.
8219
8220 2014-02-19 Tom Tromey <tromey@redhat.com>
8221
8222 * target-delegates.c: Rebuild.
8223 * target.c (target_disconnect): Unconditionally delegate.
8224 * target.h (struct target_ops) <to_disconnect>: Use
8225 TARGET_DEFAULT_NORETURN.
8226
8227 2014-02-19 Tom Tromey <tromey@redhat.com>
8228
8229 * record.c (record_stop): Unconditionally delegate.
8230 * target-delegates.c: Rebuild.
8231 * target.c (target_stop_recording): Unconditionally delegate.
8232 * target.h (struct target_ops) <to_stop_recording>: Use
8233 TARGET_DEFAULT_IGNORE.
8234
8235 2014-02-19 Tom Tromey <tromey@redhat.com>
8236
8237 * target-delegates.c: Rebuild.
8238 * target.c (target_enable_btrace): Unconditionally delegate.
8239 * target.h (struct target_ops) <to_enable_btrace>: Use
8240 TARGET_DEFAULT_NORETURN.
8241
8242 2014-02-19 Tom Tromey <tromey@redhat.com>
8243
8244 * target-delegates.c: Rebuild.
8245 * target.c (target_read_btrace): Unconditionally delegate.
8246 * target.h (struct target_ops) <to_read_btrace>: Use
8247 TARGET_DEFAULT_NORETURN.
8248
8249 2014-02-19 Tom Tromey <tromey@redhat.com>
8250
8251 * target-delegates.c: Rebuild.
8252 * target.c (target_teardown_btrace): Unconditionally delegate.
8253 * target.h (struct target_ops) <to_teardown_btrace>: Use
8254 TARGET_DEFAULT_NORETURN.
8255
8256 2014-02-19 Tom Tromey <tromey@redhat.com>
8257
8258 * target-delegates.c: Rebuild.
8259 * target.c (target_disable_btrace): Unconditionally delegate.
8260 * target.h (struct target_ops) <to_disable_btrace>: Use
8261 TARGET_DEFAULT_NORETURN.
8262
8263 2014-02-19 Tom Tromey <tromey@redhat.com>
8264
8265 * target-delegates.c: Rebuild.
8266 * target.c (default_search_memory): New function.
8267 (simple_search_memory): Update comment.
8268 (target_search_memory): Unconditionally delegate.
8269 * target.h (struct target_ops) <to_search_memory>: Use
8270 TARGET_DEFAULT_FUNC.
8271
8272 2014-02-19 Tom Tromey <tromey@redhat.com>
8273
8274 * auxv.c (default_auxv_parse): No longer static.
8275 (target_auxv_parse): Unconditionally delegate.
8276 * auxv.h (default_auxv_parse): Declare.
8277 * target-delegates.c: Rebuild.
8278 * target.c: Include auxv.h.
8279 * target.h (struct target_ops) <to_auxv_parse>: Use
8280 TARGET_DEFAULT_FUNC.
8281
8282 2014-02-19 Tom Tromey <tromey@redhat.com>
8283
8284 * target-delegates.c: Rebuild.
8285 * target.c (target_memory_map): Unconditionally delegate.
8286 * target.h (struct target_ops) <to_memory_map>: Use
8287 TARGET_DEFAULT_RETURN.
8288
8289 2014-02-19 Tom Tromey <tromey@redhat.com>
8290
8291 * target-delegates.c: Rebuild.
8292 * target.c (target_thread_alive): Unconditionally delegate.
8293 * target.h (struct target_ops) <to_thread_alive>: Use
8294 TARGET_DEFAULT_RETURN.
8295
8296 2014-02-19 Tom Tromey <tromey@redhat.com>
8297
8298 * target-delegates.c: Rebuild.
8299 * target.c (target_save_record): Unconditionally delegate.
8300 * target.h (struct target_ops) <to_save_record>: Use
8301 TARGET_DEFAULT_NORETURN.
8302
8303 2014-02-19 Tom Tromey <tromey@redhat.com>
8304
8305 * target-delegates.c: Rebuild.
8306 * target.c (target_delete_record): Unconditionally delegate.
8307 * target.h (struct target_ops) <to_delete_record>: Use
8308 TARGET_DEFAULT_NORETURN.
8309
8310 2014-02-19 Tom Tromey <tromey@redhat.com>
8311
8312 * target-delegates.c: Rebuild.
8313 * target.c (target_record_is_replaying): Unconditionally
8314 delegate.
8315 * target.h (struct target_ops) <to_record_is_replaying>: Use
8316 TARGET_DEFAULT_RETURN.
8317
8318 2014-02-19 Tom Tromey <tromey@redhat.com>
8319
8320 * target-delegates.c: Rebuild.
8321 * target.c (target_goto_record_begin): Unconditionally delegate.
8322 * target.h (struct target_ops) <to_goto_record_begin>: Use
8323 TARGET_DEFAULT_NORETURN.
8324
8325 2014-02-19 Tom Tromey <tromey@redhat.com>
8326
8327 * target-delegates.c: Rebuild.
8328 * target.c (target_goto_record_end): Unconditionally delegate.
8329 * target.h (struct target_ops) <to_goto_record_end>: Use
8330 TARGET_DEFAULT_NORETURN.
8331
8332 2014-02-19 Tom Tromey <tromey@redhat.com>
8333
8334 * target-delegates.c: Rebuild.
8335 * target.c (target_goto_record): Unconditionally delegate.
8336 * target.h (struct target_ops) <to_goto_record>: Use
8337 TARGET_DEFAULT_NORETURN.
8338
8339 2014-02-19 Tom Tromey <tromey@redhat.com>
8340
8341 * target-delegates.c: Rebuild.
8342 * target.c (target_insn_history): Unconditionally delegate.
8343 * target.h (struct target_ops) <to_insn_history>: Use
8344 TARGET_DEFAULT_NORETURN.
8345
8346 2014-02-19 Tom Tromey <tromey@redhat.com>
8347
8348 * target-delegates.c: Rebuild.
8349 * target.c (target_insn_history_from): Unconditionally delegate.
8350 * target.h (struct target_ops) <to_insn_history_from>: Use
8351 TARGET_DEFAULT_NORETURN.
8352
8353 2014-02-19 Tom Tromey <tromey@redhat.com>
8354
8355 * target-delegates.c: Rebuild.
8356 * target.c (target_insn_history_range): Unconditionally delegate.
8357 * target.h (struct target_ops) <to_insn_history_range>: Use
8358 TARGET_DEFAULT_NORETURN.
8359
8360 2014-02-19 Tom Tromey <tromey@redhat.com>
8361
8362 * target-delegates.c: Rebuild.
8363 * target.c (target_call_history): Unconditionally delegate.
8364 * target.h (struct target_ops) <to_call_history>: Use
8365 TARGET_DEFAULT_NORETURN.
8366
8367 2014-02-19 Tom Tromey <tromey@redhat.com>
8368
8369 * target-delegates.c: Rebuild.
8370 * target.c (target_call_history_from): Unconditionally delegate.
8371 * target.h (struct target_ops) <to_call_history_from>: Use
8372 TARGET_DEFAULT_NORETURN.
8373
8374 2014-02-19 Tom Tromey <tromey@redhat.com>
8375
8376 * target-delegates.c: Rebuild.
8377 * target.c (target_call_history_range): Unconditionally delegate.
8378 * target.h (struct target_ops) <to_call_history_range>: Use
8379 TARGET_DEFAULT_NORETURN.
8380
8381 2014-02-19 Tom Tromey <tromey@redhat.com>
8382
8383 * target-delegates.c: Rebuild.
8384 * target.c (target_verify_memory): Unconditionally delegate.
8385 * target.h (struct target_ops) <to_verify_memory>: Use
8386 TARGET_DEFAULT_NORETURN.
8387
8388 2014-02-19 Tom Tromey <tromey@redhat.com>
8389
8390 * target-delegates.c: Rebuild.
8391 * target.c (target_core_of_thread): Unconditionally delegate.
8392 * target.h (struct target_ops) <to_core_of_thread>: Use
8393 TARGET_DEFAULT_RETURN.
8394
8395 2014-02-19 Tom Tromey <tromey@redhat.com>
8396
8397 * target-delegates.c: Rebuild.
8398 * target.c (target_flash_done): Unconditionally delegate.
8399 * target.h (struct target_ops) <to_flash_done>: Use
8400 TARGET_DEFAULT_NORETURN.
8401
8402 2014-02-19 Tom Tromey <tromey@redhat.com>
8403
8404 * target-delegates.c: Rebuild.
8405 * target.c (target_flash_erase): Unconditionally delegate.
8406 * target.h (struct target_ops) <to_flash_erase>: Use
8407 TARGET_DEFAULT_NORETURN.
8408
8409 2014-02-19 Tom Tromey <tromey@redhat.com>
8410
8411 * target-delegates.c: Rebuild.
8412 * target.c (target_get_section_table): Unconditionally delegate.
8413 * target.h (struct target_ops) <to_get_section_table>: Use
8414 TARGET_DEFAULT_RETURN.
8415
8416 2014-02-19 Tom Tromey <tromey@redhat.com>
8417
8418 * target-delegates.c: Rebuild.
8419 * target.c (target_pid_to_str): Unconditionally delegate.
8420 (init_dummy_target): Don't initialize to_pid_to_str.
8421 (default_pid_to_str): Rename from dummy_pid_to_str.
8422 * target.h (struct target_ops) <to_pid_to_str>: Use
8423 TARGET_DEFAULT_FUNC.
8424
8425 2014-02-19 Tom Tromey <tromey@redhat.com>
8426
8427 * target-delegates.c: Rebuild.
8428 * target.c (target_find_new_threads): Unconditionally delegate.
8429 * target.h (struct target_ops) <to_find_new_threads>: Use
8430 TARGET_DEFAULT_RETURN.
8431
8432 2014-02-19 Tom Tromey <tromey@redhat.com>
8433
8434 * target-delegates.c: Rebuild.
8435 * target.c (target_program_signals): Unconditionally delegate.
8436 * target.h (struct target_ops) <to_program_signals>: Use
8437 TARGET_DEFAULT_IGNORE.
8438
8439 2014-02-19 Tom Tromey <tromey@redhat.com>
8440
8441 * target-delegates.c: Rebuild.
8442 * target.c (target_pass_signals): Unconditionally delegate.
8443 * target.h (struct target_ops) <to_pass_signals>: Use
8444 TARGET_DEFAULT_IGNORE.
8445
8446 2014-02-19 Tom Tromey <tromey@redhat.com>
8447
8448 * target-delegates.c: Rebuild.
8449 * target.c (default_mourn_inferior): New function.
8450 (target_mourn_inferior): Unconditionally delegate.
8451 * target.h (struct target_ops) <to_mourn_inferior>: Use
8452 TARGET_DEFAULT_FUNC.
8453
8454 2014-02-19 Tom Tromey <tromey@redhat.com>
8455
8456 * target-delegates.c: Rebuild.
8457 * target.c (default_follow_fork): New function.
8458 (target_follow_fork): Unconditionally delegate.
8459 * target.h (struct target_ops) <to_follow_fork>: Use
8460 TARGET_DEFAULT_FUNC.
8461
8462 2014-02-19 Tom Tromey <tromey@redhat.com>
8463
8464 * target-delegates.c: Rebuild.
8465 * target.c (target_kill): Unconditionally delegate.
8466 * target.h (struct target_ops) <to_kill>: Use
8467 TARGET_DEFAULT_NORETURN.
8468
8469 2014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (target_masked_watch_num_registers): Unconditionally
8473 delegate.
8474 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8475 Use TARGET_DEFAULT_RETURN.
8476
8477 2014-02-19 Tom Tromey <tromey@redhat.com>
8478
8479 * target-delegates.c: Rebuild.
8480 * target.c (target_remove_mask_watchpoint): Unconditionally
8481 delegate.
8482 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8483 TARGET_DEFAULT_RETURN.
8484
8485 2014-02-19 Tom Tromey <tromey@redhat.com>
8486
8487 * target-delegates.c: Rebuild.
8488 * target.c (target_insert_mask_watchpoint): Unconditionally
8489 delegate.
8490 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8491 TARGET_DEFAULT_RETURN.
8492
8493 2014-02-19 Tom Tromey <tromey@redhat.com>
8494
8495 * target-delegates.c: Rebuild.
8496 * target.c (target_ranged_break_num_registers): Unconditionally
8497 delegate.
8498 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8499 Use TARGET_DEFAULT_RETURN.
8500
8501 2014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * target-delegates.c: Rebuild.
8504 * target.c (target_fetch_registers): Unconditionally delegate.
8505 * target.h (struct target_ops) <to_fetch_registers>: Use
8506 TARGET_DEFAULT_NORETURN.
8507
8508 2014-02-19 Tom Tromey <tromey@redhat.com>
8509
8510 * target-delegates.c: Rebuild.
8511 * target.c (update_current_target): Don't inherit or default
8512 to_stop.
8513 * target.h (struct target_ops) <to_stop>: Use
8514 TARGET_DEFAULT_IGNORE.
8515
8516 2014-02-19 Tom Tromey <tromey@redhat.com>
8517
8518 * target-delegates.c: Rebuild.
8519 * target.c (update_current_target): Don't inherit or default
8520 to_can_run_breakpoint_commands.
8521 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8522 Use TARGET_DEFAULT_RETURN.
8523
8524 2014-02-19 Tom Tromey <tromey@redhat.com>
8525
8526 * target-delegates.c: Rebuild.
8527 * target.c (update_current_target): Don't inherit or default
8528 to_supports_evaluation_of_breakpoint_conditions.
8529 * target.h (struct target_ops)
8530 <to_supports_evaluation_of_breakpoint_conditions>: Use
8531 TARGET_DEFAULT_RETURN.
8532
8533 2014-02-19 Tom Tromey <tromey@redhat.com>
8534
8535 * target-delegates.c: Rebuild.
8536 * target.c (update_current_target): Don't inherit or default
8537 to_augmented_libraries_svr4_read.
8538 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8539 Use TARGET_DEFAULT_RETURN.
8540
8541 2014-02-19 Tom Tromey <tromey@redhat.com>
8542
8543 * target-delegates.c: Rebuild.
8544 * target.c (update_current_target): Don't inherit or default
8545 to_can_use_agent.
8546 * target.h (struct target_ops) <to_can_use_agent>: Use
8547 TARGET_DEFAULT_RETURN.
8548
8549 2014-02-19 Tom Tromey <tromey@redhat.com>
8550
8551 * target-delegates.c: Rebuild.
8552 * target.c (update_current_target): Don't inherit or default
8553 to_use_agent.
8554 * target.h (struct target_ops) <to_use_agent>: Use
8555 TARGET_DEFAULT_NORETURN.
8556
8557 2014-02-19 Tom Tromey <tromey@redhat.com>
8558
8559 * target-delegates.c: Rebuild.
8560 * target.c (update_current_target): Don't inherit or default
8561 to_traceframe_info.
8562 (return_null): Remove.
8563 * target.h (struct target_ops) <to_traceframe_info>: Use
8564 TARGET_DEFAULT_RETURN.
8565
8566 2014-02-19 Tom Tromey <tromey@redhat.com>
8567
8568 * target-delegates.c: Rebuild.
8569 * target.c (update_current_target): Don't inherit or default
8570 to_static_tracepoint_markers_by_strid.
8571 * target.h (struct target_ops)
8572 <to_static_tracepoint_markers_by_strid>: Use
8573 TARGET_DEFAULT_NORETURN.
8574
8575 2014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target-delegates.c: Rebuild.
8578 * target.c (update_current_target): Don't inherit or default
8579 to_static_tracepoint_marker_at.
8580 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8581 Use TARGET_DEFAULT_RETURN.
8582
8583 2014-02-19 Tom Tromey <tromey@redhat.com>
8584
8585 * target-delegates.c: Rebuild.
8586 * target.c (update_current_target): Don't inherit or default
8587 to_set_permissions.
8588 * target.h (struct target_ops) <to_set_permissions>: Use
8589 TARGET_DEFAULT_IGNORE.
8590
8591 2014-02-19 Tom Tromey <tromey@redhat.com>
8592
8593 * target-delegates.c: Rebuild.
8594 * target.c (update_current_target): Don't inherit or default
8595 to_get_tib_address.
8596 * target.h (struct target_ops) <to_get_tib_address>: Use
8597 TARGET_DEFAULT_NORETURN.
8598
8599 2014-02-19 Tom Tromey <tromey@redhat.com>
8600
8601 * target-delegates.c: Rebuild.
8602 * target.c (update_current_target): Don't inherit or default
8603 to_set_trace_notes.
8604 * target.h (struct target_ops) <to_set_trace_notes>: Use
8605 TARGET_DEFAULT_RETURN.
8606
8607 2014-02-19 Tom Tromey <tromey@redhat.com>
8608
8609 * target-delegates.c: Rebuild.
8610 * target.c (update_current_target): Don't initialize
8611 to_set_trace_buffer_size.
8612 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8613 TARGET_DEFAULT_IGNORE.
8614
8615 2014-02-19 Tom Tromey <tromey@redhat.com>
8616
8617 * target-delegates.c: Rebuild.
8618 * target.c (update_current_target): Don't inherit or default
8619 to_set_circular_trace_buffer.
8620 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8621 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
8628 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8629 TARGET_DEFAULT_IGNORE.
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_get_min_fast_tracepoint_insn_len.
8636 (return_minus_one): Remove.
8637 * target.h (struct target_ops)
8638 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8639
8640 2014-02-19 Tom Tromey <tromey@redhat.com>
8641
8642 * target-delegates.c: Rebuild.
8643 * target.c (update_current_target): Don't inherit or default
8644 to_get_raw_trace_data.
8645 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8646 TARGET_DEFAULT_NORETURN.
8647
8648 2014-02-19 Tom Tromey <tromey@redhat.com>
8649
8650 * target-delegates.c: Rebuild.
8651 * target.c (update_current_target): Don't inherit or default
8652 to_upload_trace_state_variables.
8653 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8654 Use TARGET_DEFAULT_RETURN.
8655
8656 2014-02-19 Tom Tromey <tromey@redhat.com>
8657
8658 * target-delegates.c: Rebuild.
8659 * target.c (update_current_target): Don't inherit or default
8660 to_upload_tracepoints.
8661 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8662 TARGET_DEFAULT_RETURN.
8663
8664 2014-02-19 Tom Tromey <tromey@redhat.com>
8665
8666 * target-delegates.c: Rebuild.
8667 * target.c (update_current_target): Don't inherit or default
8668 to_save_trace_data.
8669 * target.h (struct target_ops) <to_save_trace_data>: Use
8670 TARGET_DEFAULT_NORETURN.
8671
8672 2014-02-19 Tom Tromey <tromey@redhat.com>
8673
8674 * target-delegates.c: Rebuild.
8675 * target.c (update_current_target): Don't inherit or default
8676 to_get_trace_state_variable_value.
8677 * target.h (struct target_ops)
8678 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8679
8680 2014-02-19 Tom Tromey <tromey@redhat.com>
8681
8682 * target-delegates.c: Rebuild.
8683 * target.c (update_current_target): Don't inherit or default
8684 to_trace_find.
8685 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8686
8687 2014-02-19 Tom Tromey <tromey@redhat.com>
8688
8689 * target-delegates.c: Rebuild.
8690 * target.c (update_current_target): Don't inherit or default
8691 to_trace_stop.
8692 * target.h (struct target_ops) <to_trace_stop>: Use
8693 TARGET_DEFAULT_NORETURN.
8694
8695 2014-02-19 Tom Tromey <tromey@redhat.com>
8696
8697 * target-delegates.c: Rebuild.
8698 * target.c (update_current_target): Don't inherit or default
8699 to_get_tracepoint_status.
8700 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8701 TARGET_DEFAULT_NORETURN.
8702
8703 2014-02-19 Tom Tromey <tromey@redhat.com>
8704
8705 * target-delegates.c: Rebuild.
8706 * target.c (update_current_target): Don't inherit or default
8707 to_get_trace_status.
8708 * target.h (struct target_ops) <to_get_trace_status>: Use
8709 TARGET_DEFAULT_RETURN.
8710
8711 2014-02-19 Tom Tromey <tromey@redhat.com>
8712
8713 * target-delegates.c: Rebuild.
8714 * target.c (update_current_target): Don't inherit or default
8715 to_trace_start.
8716 * target.h (struct target_ops) <to_trace_start>: Use
8717 TARGET_DEFAULT_NORETURN.
8718
8719 2014-02-19 Tom Tromey <tromey@redhat.com>
8720
8721 * target-delegates.c: Rebuild.
8722 * target.c (update_current_target): Don't inherit or default
8723 to_trace_set_readonly_regions.
8724 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8725 Use TARGET_DEFAULT_NORETURN.
8726
8727 2014-02-19 Tom Tromey <tromey@redhat.com>
8728
8729 * target-delegates.c: Rebuild.
8730 * target.c (update_current_target): Don't inherit or default
8731 to_disable_tracepoint.
8732 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8733 TARGET_DEFAULT_NORETURN.
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_enable_tracepoint.
8740 * target.h (struct target_ops) <to_enable_tracepoint>: 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_download_trace_state_variable.
8748 * target.h (struct target_ops) <to_download_trace_state_variable>:
8749 Use 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_can_download_tracepoint.
8756 * target.h (struct target_ops) <to_can_download_tracepoint>: 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_download_tracepoint.
8764 * target.h (struct target_ops) <to_download_tracepoint>: 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_init.
8772 * target.h (struct target_ops) <to_trace_init>: Use
8773 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
8780 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8781 TARGET_DEFAULT_RETURN.
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_supports_enable_disable_tracepoint.
8788 * target.h (struct target_ops)
8789 <to_supports_enable_disable_tracepoint>: Use
8790 TARGET_DEFAULT_RETURN.
8791
8792 2014-02-19 Tom Tromey <tromey@redhat.com>
8793
8794 * target-delegates.c: Rebuild.
8795 * target.c (update_current_target): Don't inherit or default
8796 to_supports_multi_process.
8797 * target.h (struct target_ops) <to_supports_multi_process>: Use
8798 TARGET_DEFAULT_RETURN.
8799
8800 2014-02-19 Tom Tromey <tromey@redhat.com>
8801
8802 * target-delegates.c: Rebuild.
8803 * target.c (update_current_target): Don't inherit or default
8804 to_get_ada_task_ptid.
8805 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8806 TARGET_DEFAULT_FUNC.
8807
8808 2014-02-19 Tom Tromey <tromey@redhat.com>
8809
8810 * target-delegates.c: Rebuild.
8811 * target.c (update_current_target): Don't inherit or default
8812 to_thread_architecture.
8813 * target.h (struct target_ops) <to_thread_architecture>: Use
8814 TARGET_DEFAULT_FUNC.
8815
8816 2014-02-19 Tom Tromey <tromey@redhat.com>
8817
8818 * target-delegates.c: Rebuild.
8819 * target.c (update_current_target): Don't inherit or default
8820 to_execution_direction.
8821 * target.h (struct target_ops) <to_execution_direction>: Use
8822 TARGET_DEFAULT_FUNC.
8823
8824 2014-02-19 Tom Tromey <tromey@redhat.com>
8825
8826 * target-delegates.c: Rebuild.
8827 * target.c (update_current_target): Don't inherit or default
8828 to_can_execute_reverse.
8829 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8830 TARGET_DEFAULT_RETURN.
8831 (target_can_execute_reverse): Unconditionally delegate.
8832
8833 2014-02-19 Tom Tromey <tromey@redhat.com>
8834
8835 * target-delegates.c: Rebuild.
8836 * target.c (update_current_target): Don't inherit or default
8837 to_goto_bookmark.
8838 (dummy_goto_bookmark): Remove.
8839 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8840 * target.h (struct target_ops) <to_goto_bookmark>: Use
8841 TARGET_DEFAULT_NORETURN.
8842
8843 2014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target-delegates.c: Rebuild.
8846 * target.c (update_current_target): Don't inherit or default
8847 to_get_bookmark.
8848 (dummy_get_bookmark): Remove.
8849 (init_dummy_target): Don't inherit or default to_get_bookmark.
8850 * target.h (struct target_ops) <to_get_bookmark>: Use
8851 TARGET_DEFAULT_NORETURN
8852
8853 2014-02-19 Tom Tromey <tromey@redhat.com>
8854
8855 * target-delegates.c: Rebuild.
8856 * target.c (update_current_target): Don't inherit or default
8857 to_make_corefile_notes.
8858 (init_dummy_target): Don't initialize to_make_corefile_notes.
8859 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8860 TARGET_DEFAULT_FUNC.
8861
8862 2014-02-19 Tom Tromey <tromey@redhat.com>
8863
8864 * target-delegates.c: Rebuild.
8865 * target.c (update_current_target): Don't inherit or default
8866 to_find_memory_regions.
8867 (init_dummy_target): Don't initialize to_find_memory_regions.
8868 * target.h (struct target_ops) <to_find_memory_regions>: Use
8869 TARGET_DEFAULT_FUNC.
8870
8871 2014-02-19 Tom Tromey <tromey@redhat.com>
8872
8873 * target-delegates.c: Rebuild.
8874 * target.c (update_current_target): Don't inherit or default
8875 to_log_command.
8876 * target.h (struct target_ops) <to_log_command>: Use
8877 TARGET_DEFAULT_IGNORE.
8878 (target_log_command): Unconditionally delegate.
8879
8880 2014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target-delegates.c: Rebuild.
8883 * target.c (update_current_target): Don't inherit or default
8884 to_pid_to_exec_file.
8885 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8886 TARGET_DEFAULT_RETURN.
8887
8888 2014-02-19 Tom Tromey <tromey@redhat.com>
8889
8890 * target-delegates.c: Rebuild.
8891 * target.c (update_current_target): Don't inherit or default
8892 to_thread_name.
8893 (target_thread_name): Unconditionally delegate.
8894 * target.h (struct target_ops) <to_thread_name>: Use
8895 TARGET_DEFAULT_RETURN.
8896
8897 2014-02-19 Tom Tromey <tromey@redhat.com>
8898
8899 * target-delegates.c: Rebuild.
8900 * target.c (update_current_target): Don't inherit or default
8901 to_extra_thread_info.
8902 * target.h (struct target_ops) <to_extra_thread_info>: Use
8903 TARGET_DEFAULT_RETURN.
8904
8905 2014-02-19 Tom Tromey <tromey@redhat.com>
8906
8907 * target-delegates.c: Rebuild.
8908 * target.c (update_current_target): Don't inherit or default
8909 to_has_exited.
8910 * target.h (struct target_ops) <to_has_exited>: Use
8911 TARGET_DEFAULT_RETURN..
8912
8913 2014-02-19 Tom Tromey <tromey@redhat.com>
8914
8915 * target-delegates.c: Rebuild.
8916 * target.c (update_current_target): Don't inherit or default
8917 to_set_syscall_catchpoint.
8918 (return_one): Remove.
8919 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8920 TARGET_DEFAULT_RETURN.
8921
8922 2014-02-19 Tom Tromey <tromey@redhat.com>
8923
8924 * target-delegates.c: Rebuild.
8925 * target.c (update_current_target): Don't inherit or default
8926 to_insert_exec_catchpoint.
8927 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8928 TARGET_DEFAULT_RETURN.
8929
8930 2014-01-08 Tom Tromey <tromey@redhat.com>
8931
8932 * target-delegates.c: Rebuild.
8933 * target.c (update_current_target): Don't inherit or default
8934 to_insert_exec_catchpoint.
8935 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8936 TARGET_DEFAULT_RETURN.
8937
8938 2014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * target-delegates.c: Rebuild.
8941 * target.c (update_current_target): Don't inherit or default
8942 to_remove_vfork_catchpoint.
8943 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8944 TARGET_DEFAULT_RETURN.
8945
8946 2014-02-19 Tom Tromey <tromey@redhat.com>
8947
8948 * target-delegates.c: Rebuild.
8949 * target.c (update_current_target): Don't inherit or default
8950 to_insert_vfork_catchpoint.
8951 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8952 TARGET_DEFAULT_RETURN.
8953
8954 2014-02-19 Tom Tromey <tromey@redhat.com>
8955
8956 * target-delegates.c: Rebuild.
8957 * target.c (update_current_target): Don't inherit or default
8958 to_remove_fork_catchpoint.
8959 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8960 TARGET_DEFAULT_RETURN.
8961
8962 2014-02-19 Tom Tromey <tromey@redhat.com>
8963
8964 * target-delegates.c: Rebuild.
8965 * target.c (update_current_target): Don't inherit or default
8966 to_insert_fork_catchpoint.
8967 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
8975 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8976 TARGET_DEFAULT_IGNORE.
8977
8978 2014-02-19 Tom Tromey <tromey@redhat.com>
8979
8980 * target-delegates.c: Rebuild.
8981 * target.c (update_current_target): Don't inherit or default
8982 to_load.
8983 * target.h (struct target_ops) <to_load>: Use
8984 TARGET_DEFAULT_NORETURN.
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_terminal_info.
8991 * target.h (struct target_ops) <to_terminal_info>: Use
8992 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
8999 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9000 TARGET_DEFAULT_IGNORE.
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_terminal_ours.
9007 * target.h (struct target_ops) <to_terminal_ours>: Use
9008 TARGET_DEFAULT_IGNORE.
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_terminal_ours_for_output.
9015 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9016 TARGET_DEFAULT_IGNORE.
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_terminal_inferior.
9023 * target.h (struct target_ops) <to_terminal_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_terminal_init.
9031 * target.h (struct target_ops) <to_terminal_init>: Use
9032 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
9039 * target.h (struct target_ops)
9040 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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_region_ok_for_hw_watchpoint.
9047 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9048 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
9055 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9056 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
9063 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9064 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
9071 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9072 TARGET_DEFAULT_RETURN.
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_remove_hw_breakpoint.
9079 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9080 TARGET_DEFAULT_RETURN.
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_insert_hw_breakpoint.
9087 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9088 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_can_use_hw_breakpoint.
9095 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9096 TARGET_DEFAULT_RETURN.
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_files_info.
9103 * target.h (struct target_ops) <to_files_info>: Use
9104 TARGET_DEFAULT_IGNORE.
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_store.
9111 * target.h (struct target_ops) <to_store>: 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_post_attach.
9119 * target.h (struct target_ops) <to_post_attach>: Use
9120 TARGET_DEFAULT_IGNORE.
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_rcmd.
9127 (default_rcmd): New function.
9128 (do_monitor_command): Unconditionally delegate.
9129 * target.h (struct target_ops) <to_rmcd>: Use
9130 TARGET_DEFAULT_FUNC.
9131
9132 2014-02-19 Tom Tromey <tromey@redhat.com>
9133
9134 * target-delegates.c: Rebuild.
9135 * target.c (init_dummy_target): Don't initialize to_attach.
9136 (target_attach): Unconditionally delegate.
9137 * target.h (struct target_ops) <to_attach>: Use
9138 TARGET_DEFAULT_FUNC.
9139
9140 2014-02-19 Tom Tromey <tromey@redhat.com>
9141
9142 * target-delegates.c: Rebuild.
9143 * target.c (target_detach): Unconditionally delegate.
9144 (init_dummy_target): Don't initialize to_detach.
9145 * target.h (struct target_ops) <to_detach>: Use
9146 TARGET_DEFAULT_IGNORE.
9147
9148 2014-02-19 Tom Tromey <tromey@redhat.com>
9149
9150 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9151 Add argument.
9152 (target_augmented_libraries_svr4_read): Add argument.
9153 * target.c (update_current_target): Update.
9154 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9155 argument.
9156
9157 2014-02-19 Tom Tromey <tromey@redhat.com>
9158
9159 * target.h (struct target_ops) <to_call_history_range>: Add
9160 argument.
9161 * target.c (target_call_history_range): Add argument.
9162 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9163 argument.
9164 (record_btrace_call_history_from): Update.
9165
9166 2014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target.h (struct target_ops) <to_call_history_from>: Add
9169 argument.
9170 * target.c (target_call_history_from): Add argument.
9171 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9172 argument.
9173
9174 2014-02-19 Tom Tromey <tromey@redhat.com>
9175
9176 * target.h (struct target_ops) <to_call_history>: Add argument.
9177 * target.c (target_call_history): Add argument.
9178 * record-btrace.c (record_btrace_call_history): Add 'self'
9179 argument.
9180
9181 2014-02-19 Tom Tromey <tromey@redhat.com>
9182
9183 * target.h (struct target_ops) <to_insn_history_range>: Add
9184 argument.
9185 * target.c (target_insn_history_range): Add argument.
9186 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9187 argument.
9188 (record_btrace_insn_history_from): Update.
9189
9190 2014-02-19 Tom Tromey <tromey@redhat.com>
9191
9192 * target.h (struct target_ops) <to_insn_history_from>: Add
9193 argument.
9194 * target.c (target_insn_history_from): Add argument.
9195 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9196 argument.
9197
9198 2014-02-19 Tom Tromey <tromey@redhat.com>
9199
9200 * target.h (struct target_ops) <to_insn_history>: Add argument.
9201 * target.c (target_insn_history): Add argument.
9202 * record-btrace.c (record_btrace_insn_history): Add 'self'
9203 argument.
9204
9205 2014-02-19 Tom Tromey <tromey@redhat.com>
9206
9207 * target.h (struct target_ops) <to_goto_record>: Add argument.
9208 * target.c (target_goto_record): Add argument.
9209 * record-full.c (record_full_goto): Add 'self' argument.
9210 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9211
9212 2014-02-19 Tom Tromey <tromey@redhat.com>
9213
9214 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9215 * target.c (target_goto_record_end): Add argument.
9216 * record-full.c (record_full_goto_end): Add 'self' argument.
9217 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9218
9219 2014-02-19 Tom Tromey <tromey@redhat.com>
9220
9221 * target.h (struct target_ops) <to_goto_record_begin>: Add
9222 argument.
9223 * target.c (target_goto_record_begin): Add argument.
9224 * record-full.c (record_full_goto_begin): Add 'self' argument.
9225 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9226 argument.
9227
9228 2014-02-19 Tom Tromey <tromey@redhat.com>
9229
9230 * target.h (struct target_ops) <to_record_is_replaying>: Add
9231 argument.
9232 * target.c (target_record_is_replaying): Add argument.
9233 * record-full.c (record_full_is_replaying): Add 'self' argument.
9234 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9235 argument.
9236 (record_btrace_xfer_partial, record_btrace_store_registers)
9237 (record_btrace_prepare_to_store, record_btrace_resume)
9238 (record_btrace_wait, record_btrace_decr_pc_after_break)
9239 (record_btrace_find_new_threads, record_btrace_thread_alive):
9240 Update.
9241
9242 2014-02-19 Tom Tromey <tromey@redhat.com>
9243
9244 * target.h (struct target_ops) <to_delete_record>: Add argument.
9245 * target.c (target_delete_record): Add argument.
9246 * record-full.c (record_full_delete): Add 'self' argument.
9247
9248 2014-02-19 Tom Tromey <tromey@redhat.com>
9249
9250 * target.h (struct target_ops) <to_save_record>: Add argument.
9251 * target.c (target_save_record): Add argument.
9252 * record-full.c (record_full_save): Add 'self' argument.
9253 (record_full_save): Add 'self' argument.
9254
9255 2014-02-19 Tom Tromey <tromey@redhat.com>
9256
9257 * target.h (struct target_ops) <to_info_record>: Add argument.
9258 * target.c (target_info_record): Add argument.
9259 * record.c (info_record_command): Add argument.
9260 * record-full.c (record_full_info): Add 'self' argument.
9261 * record-btrace.c (record_btrace_info): Add 'self' argument.
9262
9263 2014-02-19 Tom Tromey <tromey@redhat.com>
9264
9265 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9266 * target.c (target_stop_recording): Add argument.
9267 * record.c (record_stop): Add argument.
9268 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9269 argument.
9270
9271 2014-02-19 Tom Tromey <tromey@redhat.com>
9272
9273 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9274 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9275 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9276 argument.
9277 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9278 (_initialize_amd64_linux_nat): Use it.
9279 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9280 (_initialize_i386_linux_nat): Use it.
9281
9282 2014-02-19 Tom Tromey <tromey@redhat.com>
9283
9284 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9285 * target.c (target_teardown_btrace): Add argument.
9286 * remote.c (remote_teardown_btrace): Add 'self' argument.
9287 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9288 argument.
9289 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9290 argument.
9291
9292 2014-02-19 Tom Tromey <tromey@redhat.com>
9293
9294 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9295 * target.c (target_disable_btrace): Add argument.
9296 * remote.c (remote_disable_btrace): Add 'self' argument.
9297 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9298 argument.
9299 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9300 argument.
9301
9302 2014-02-19 Tom Tromey <tromey@redhat.com>
9303
9304 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9305 * target.c (target_enable_btrace): Add argument.
9306 * remote.c (remote_enable_btrace): Add 'self' argument.
9307 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9308 argument.
9309 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9310 argument.
9311
9312 2014-02-19 Tom Tromey <tromey@redhat.com>
9313
9314 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9315 (target_can_use_agent): Add argument.
9316 * target.c (update_current_target): Update.
9317 * remote.c (remote_can_use_agent): Add 'self' argument.
9318 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9319
9320 2014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * target.h (struct target_ops) <to_use_agent>: Add argument.
9323 (target_use_agent): Add argument.
9324 * target.c (update_current_target): Update.
9325 * remote.c (remote_use_agent): Add 'self' argument.
9326 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9327
9328 2014-02-19 Tom Tromey <tromey@redhat.com>
9329
9330 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9331 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9332 (target_traceframe_info): Add argument.
9333 * target.c (update_current_target): Update.
9334 * remote.c (remote_traceframe_info): Add 'self' argument.
9335 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9336
9337 2014-02-19 Tom Tromey <tromey@redhat.com>
9338
9339 * target.h (target_static_tracepoint_markers_by_strid): Add
9340 argument.
9341 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9342 'self' argument.
9343 * target.c (update_current_target): Update.
9344 * remote.c (struct target_ops)
9345 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9346 * linux-nat.c (struct target_ops)
9347 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9348
9349 2014-02-19 Tom Tromey <tromey@redhat.com>
9350
9351 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9352 Add argument.
9353 (target_static_tracepoint_marker_at): Add argument.
9354 * target.c (update_current_target): Update.
9355 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9356 argument.
9357
9358 2014-02-19 Tom Tromey <tromey@redhat.com>
9359
9360 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9361 (target_set_permissions): Add argument.
9362 * target.c (update_current_target): Update.
9363 * remote.c (remote_set_permissions): Add 'self' argument.
9364 (remote_start_remote): Update.
9365
9366 2014-02-19 Tom Tromey <tromey@redhat.com>
9367
9368 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9369 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9370 (target_get_tib_address): Add argument.
9371 * target.c (update_current_target): Update.
9372 * remote.c (remote_get_tib_address): Add 'self' argument.
9373
9374 2014-02-19 Tom Tromey <tromey@redhat.com>
9375
9376 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9377 (target_set_trace_notes): Add argument.
9378 * target.c (update_current_target): Update.
9379 * remote.c (remote_set_trace_notes): Add 'self' argument.
9380
9381 2014-02-19 Tom Tromey <tromey@redhat.com>
9382
9383 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9384 argument.
9385 (target_set_trace_buffer_size): Add argument.
9386 * target.c (update_current_target): Update.
9387 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9388
9389 2014-02-19 Tom Tromey <tromey@redhat.com>
9390
9391 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9392 argument.
9393 (target_set_circular_trace_buffer): Add argument.
9394 * target.c (update_current_target): Update.
9395 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9396 argument.
9397
9398 2014-02-19 Tom Tromey <tromey@redhat.com>
9399
9400 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9401 argument.
9402 (target_set_disconnected_tracing): Add argument.
9403 * target.c (update_current_target): Update.
9404 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9405
9406 2014-02-19 Tom Tromey <tromey@redhat.com>
9407
9408 * target.h (struct target_ops)
9409 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9410 (target_get_min_fast_tracepoint_insn_len): Add argument.
9411 * target.c (update_current_target): Update.
9412 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9413 argument.
9414
9415 2014-02-19 Tom Tromey <tromey@redhat.com>
9416
9417 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9418 argument.
9419 (target_get_raw_trace_data): Add argument.
9420 * target.c (update_current_target): Update.
9421 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9422
9423 2014-02-19 Tom Tromey <tromey@redhat.com>
9424
9425 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9426 Add argument.
9427 (target_upload_trace_state_variables): Add argument.
9428 * target.c (update_current_target): Update.
9429 * remote.c (remote_upload_trace_state_variables): Add 'self'
9430 argument.
9431 (remote_start_remote): Update.
9432
9433 2014-02-19 Tom Tromey <tromey@redhat.com>
9434
9435 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9436 argument.
9437 (target_upload_tracepoints): Add argument.
9438 * target.c (update_current_target): Update.
9439 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9440 (remote_start_remote): Update.
9441
9442 2014-02-19 Tom Tromey <tromey@redhat.com>
9443
9444 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9445 (target_save_trace_data): Add argument.
9446 * target.c (update_current_target): Update.
9447 * remote.c (remote_save_trace_data): Add 'self' argument.
9448
9449 2014-02-19 Tom Tromey <tromey@redhat.com>
9450
9451 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9452 argument.
9453 * target.h (struct target_ops)
9454 <to_get_trace_state_variable_value>: Add argument.
9455 (target_get_trace_state_variable_value): Add argument.
9456 * target.c (update_current_target): Update.
9457 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9458 argument.
9459 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9460
9461 2014-02-19 Tom Tromey <tromey@redhat.com>
9462
9463 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9464 * target.h (struct target_ops) <to_trace_find>: Add argument.
9465 (target_trace_find): Add argument.
9466 * target.c (update_current_target): Update.
9467 * remote.c (remote_trace_find): Add 'self' argument.
9468 * ctf.c (ctf_trace_find): Add 'self' argument.
9469
9470 2014-02-19 Tom Tromey <tromey@redhat.com>
9471
9472 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9473 (target_trace_stop): Add argument.
9474 * target.c (update_current_target): Update.
9475 * remote.c (remote_trace_stop): Add 'self' argument.
9476
9477 2014-02-19 Tom Tromey <tromey@redhat.com>
9478
9479 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9480 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9481 argument.
9482 (target_get_tracepoint_status): Add argument.
9483 * target.c (update_current_target): Update.
9484 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9485
9486 2014-02-19 Tom Tromey <tromey@redhat.com>
9487
9488 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9489 * target.h (struct target_ops) <to_get_trace_status>: Add
9490 argument.
9491 (target_get_trace_status): Add argument.
9492 * target.c (update_current_target): Update.
9493 * remote.c (remote_get_trace_status): Add 'self' argument.
9494 (remote_start_remote, remote_can_download_tracepoint): Update.
9495 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9496
9497 2014-02-19 Tom Tromey <tromey@redhat.com>
9498
9499 * target.h (struct target_ops) <to_trace_start>: Add argument.
9500 (target_trace_start): Add argument.
9501 * target.c (update_current_target): Update.
9502 * remote.c (remote_trace_start): Add 'self' argument.
9503
9504 2014-02-19 Tom Tromey <tromey@redhat.com>
9505
9506 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9507 Add argument.
9508 (target_trace_set_readonly_regions): Add argument.
9509 * target.c (update_current_target): Update.
9510 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9511 argument.
9512
9513 2014-02-19 Tom Tromey <tromey@redhat.com>
9514
9515 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9516 argument.
9517 (target_disable_tracepoint): Add argument.
9518 * target.c (update_current_target): Update.
9519 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9520
9521 2014-02-19 Tom Tromey <tromey@redhat.com>
9522
9523 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9524 argument.
9525 (target_enable_tracepoint): Add argument.
9526 * target.c (update_current_target): Update.
9527 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9528
9529 2014-02-19 Tom Tromey <tromey@redhat.com>
9530
9531 * target.h (struct target_ops) <to_download_trace_state_variable>:
9532 Add argument.
9533 (target_download_trace_state_variable): Add argument.
9534 * target.c (update_current_target): Update.
9535 * remote.c (remote_download_trace_state_variable): Add 'self'
9536 argument.
9537
9538 2014-02-19 Tom Tromey <tromey@redhat.com>
9539
9540 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9541 argument.
9542 (target_can_download_tracepoint): Add argument.
9543 * target.c (update_current_target): Update.
9544 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9545
9546 2014-02-19 Tom Tromey <tromey@redhat.com>
9547
9548 * target.h (struct target_ops) <to_download_tracepoint>: Add
9549 argument.
9550 (target_download_tracepoint): Add argument.
9551 * target.c (update_current_target): Update.
9552 * remote.c (remote_download_tracepoint): Add 'self' argument.
9553
9554 2014-02-19 Tom Tromey <tromey@redhat.com>
9555
9556 * target.h (struct target_ops) <to_trace_init>: Add argument.
9557 (target_trace_init): Add argument.
9558 * target.c (update_current_target): Update.
9559 * remote.c (remote_trace_init): Add 'self' argument.
9560
9561 2014-02-19 Tom Tromey <tromey@redhat.com>
9562
9563 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9564 * target.c (target_fileio_readlink): Add argument.
9565 * remote.c (remote_hostio_readlink): Add 'self' argument.
9566 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9567
9568 2014-02-19 Tom Tromey <tromey@redhat.com>
9569
9570 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9571 * target.c (target_fileio_unlink): Add argument.
9572 * remote.c (remote_hostio_unlink): Add 'self' argument.
9573 (remote_file_delete): Update.
9574 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9575
9576 2014-02-19 Tom Tromey <tromey@redhat.com>
9577
9578 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9579 * target.c (target_fileio_close): Add argument.
9580 * remote.c (remote_hostio_close): Add 'self' argument.
9581 (remote_hostio_close_cleanup): Update.
9582 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9583 Update.
9584 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9585
9586 2014-02-19 Tom Tromey <tromey@redhat.com>
9587
9588 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9589 * target.c (target_fileio_pread): Add argument.
9590 * remote.c (remote_hostio_pread): Add 'self' argument.
9591 (remote_bfd_iovec_pread, remote_file_get): Update.
9592 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9593
9594 2014-02-19 Tom Tromey <tromey@redhat.com>
9595
9596 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9597 * target.c (target_fileio_pwrite): Add argument.
9598 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9599 (remote_file_put): Update.
9600 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9601
9602 2014-02-19 Tom Tromey <tromey@redhat.com>
9603
9604 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9605 * target.c (target_fileio_open): Add argument.
9606 * remote.c (remote_hostio_open): Add 'self' argument.
9607 (remote_bfd_iovec_open): Add 'self' argument.
9608 (remote_file_put): Add 'self' argument.
9609 (remote_file_get): Add 'self' argument.
9610 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9611
9612 2014-02-19 Tom Tromey <tromey@redhat.com>
9613
9614 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9615 Add argument.
9616 (target_can_run_breakpoint_commands): Add argument.
9617 * target.c (update_current_target): Update.
9618 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9619 argument.
9620 (remote_insert_breakpoint): Add 'self' argument.
9621 (remote_insert_hw_breakpoint): Add 'self' argument.
9622 (remote_can_run_breakpoint_commands): Add 'self' argument.
9623
9624 2014-02-19 Tom Tromey <tromey@redhat.com>
9625
9626 * target.h (struct target_ops)
9627 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9628 (target_supports_evaluation_of_breakpoint_conditions): Add
9629 argument.
9630 * target.c (update_current_target): Update.
9631 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9632 argument.
9633 (remote_insert_breakpoint): Add 'self' argument.
9634 (remote_insert_hw_breakpoint): Add 'self' argument.
9635 (remote_supports_cond_breakpoints): Add 'self' argument.
9636
9637 2014-02-19 Tom Tromey <tromey@redhat.com>
9638
9639 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9640 argument.
9641 (target_supports_string_tracing): Add argument.
9642 * target.c (update_current_target): Update.
9643 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9644
9645 2014-02-19 Tom Tromey <tromey@redhat.com>
9646
9647 * target.h (struct target_ops)
9648 <to_supports_disable_randomization>: Add argument.
9649 * target.c (find_default_supports_disable_randomization): Add
9650 argument.
9651 (target_supports_disable_randomization): Add argument.
9652 (find_default_supports_disable_randomization): Add 'self'
9653 argument.
9654 * remote.c (extended_remote_supports_disable_randomization): Add
9655 'self' argument.
9656 (remote_supports_disable_randomization): Add 'self' argument.
9657 (extended_remote_create_inferior): Update.
9658 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9659 'self' argument.
9660
9661 2014-02-19 Tom Tromey <tromey@redhat.com>
9662
9663 * target.h (struct target_ops)
9664 <to_supports_enable_disable_tracepoint>: Add argument.
9665 (target_supports_enable_disable_tracepoint): Add argument.
9666 * target.c (update_current_target): Update.
9667 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9668 argument.
9669
9670 2014-02-19 Tom Tromey <tromey@redhat.com>
9671
9672 * target.h (struct target_ops) <to_supports_multi_process>: Add
9673 argument.
9674 (target_supports_multi_process): Add argument.
9675 * target.c (update_current_target): Update.
9676 * remote.c (remote_supports_multi_process): Add 'self' argument.
9677 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9678 argument.
9679 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9680 argument.
9681
9682 2014-02-19 Tom Tromey <tromey@redhat.com>
9683
9684 * target.h (struct target_ops) <to_execution_direction>: Add
9685 argument.
9686 (target_execution_direction): Add argument.
9687 * target.c (default_execution_direction): Add 'self' argument.
9688 * record-full.c (record_full_execution_direction): Add 'self'
9689 argument.
9690
9691 2014-02-19 Tom Tromey <tromey@redhat.com>
9692
9693 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9694 argument.
9695 (target_can_execute_reverse): Add argument.
9696 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9697 * record-full.c (record_full_can_execute_reverse): Add 'self'
9698 argument.
9699 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9700 argument.
9701
9702 2014-02-19 Tom Tromey <tromey@redhat.com>
9703
9704 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9705 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9706 argument.
9707 (target_get_ada_task_ptid): Add argument.
9708 * target.c (update_current_target): Update.
9709 (default_get_ada_task_ptid): Add 'self' argument.
9710 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9711 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9712 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9713 argument.
9714 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9715 argument.
9716 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9717 argument.
9718 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9719 argument.
9720 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9721 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9722 argument.
9723
9724 2014-02-19 Tom Tromey <tromey@redhat.com>
9725
9726 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9727 (target_goto_bookmark): Add argument.
9728 * target.c (dummy_goto_bookmark): Add 'self' argument.
9729 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9730
9731 2014-02-19 Tom Tromey <tromey@redhat.com>
9732
9733 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9734 (target_get_bookmark): Add argument.
9735 * target.c (dummy_get_bookmark): Add 'self' argument.
9736 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9737
9738 2014-02-19 Tom Tromey <tromey@redhat.com>
9739
9740 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9741 argument.
9742 (target_make_corefile_notes): Add argument.
9743 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9744 * procfs.c (procfs_make_note_section): Add 'self' argument.
9745 (procfs_make_note_section): Add 'self' argument.
9746 (procfs_make_note_section): Add 'self' argument.
9747 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9748 argument.
9749 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9750 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9751 * exec.c (exec_make_note_section): Add 'self' argument.
9752 (exec_make_note_section): Add 'self' argument.
9753
9754 2014-02-19 Tom Tromey <tromey@redhat.com>
9755
9756 * target.h (struct target_ops) <to_find_memory_regions>: Add
9757 argument.
9758 (target_find_memory_regions): Add argument.
9759 * target.c (dummy_find_memory_regions): Add 'self' argument.
9760 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9761 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9762 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9763 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9764 * exec. (exec_do_find_memory_regions): New global.
9765 (exec_set_find_memory_regions): Rewrite.
9766 (exec_find_memory_regions): New function.
9767 (init_exec_ops): Use exec_find_memory_regions.
9768
9769 2014-02-19 Tom Tromey <tromey@redhat.com>
9770
9771 * target.h (struct target_ops) <to_supports_non_stop>: Add
9772 argument.
9773 * target.c (find_default_supports_non_stop): Add argument.
9774 (target_supports_non_stop): Add argument.
9775 (find_default_supports_non_stop): Add 'self' argument.
9776 * remote.c (remote_supports_non_stop): Add 'self' argument.
9777 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9778
9779 2014-02-19 Tom Tromey <tromey@redhat.com>
9780
9781 * target.h (struct target_ops) <to_log_command>: Add argument.
9782 (target_log_command): Add argument.
9783 * serial.h (serial_log_command): Add 'self' argument.
9784 * serial.c (serial_log_command): Add 'self' argument.
9785
9786 2014-02-19 Tom Tromey <tromey@redhat.com>
9787
9788 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9789 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9790 argument.
9791 (target_pid_to_exec_file): Add argument.
9792 * target.c (debug_to_pid_to_exec_file): Add argument.
9793 (update_current_target): Update.
9794 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9795 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9796 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9797 (linux_handle_extended_wait): Update.
9798 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9799 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9800 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9801 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9802
9803 2014-02-19 Tom Tromey <tromey@redhat.com>
9804
9805 * target.h (struct target_ops) <to_rcmd>: Add argument.
9806 (target_rcmd): Add argument.
9807 * target.c (debug_to_rcmd): Add argument.
9808 (update_current_target, do_monitor_command): Update.
9809 * remote.c (remote_rcmd): Add 'self' argument.
9810 * monitor.c (monitor_rcmd): Add 'self' argument.
9811
9812 2014-02-19 Tom Tromey <tromey@redhat.com>
9813
9814 * windows-nat.c (windows_stop): Add 'self' argument.
9815 * target.h (struct target_ops) <to_stop>: Add argument.
9816 * target.c (target_stop): Add argument.
9817 (debug_to_stop): Add argument.
9818 (update_current_target): Update.
9819 * remote.c (remote_stop): Add 'self' argument.
9820 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9821 (gdbsim_cntrl_c): Update.
9822 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9823 * procfs.c (procfs_stop): Add 'self' argument.
9824 * nto-procfs.c (procfs_stop): Add 'self' argument.
9825 * monitor.c (monitor_stop): Add 'self' argument.
9826 (monitor_open): Update.
9827 * linux-nat.c (linux_nat_stop): Add argument.
9828 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9829 * gnu-nat.c (gnu_stop): Add 'self' argument.
9830 * darwin-nat.c (darwin_stop): Add 'self' argument.
9831
9832 2014-02-19 Tom Tromey <tromey@redhat.com>
9833
9834 * target.h (struct target_ops) <to_thread_name>: Add argument.
9835 * target.c (target_thread_name): Add argument.
9836 (update_current_target): Update.
9837 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9838
9839 2014-02-19 Tom Tromey <tromey@redhat.com>
9840
9841 * target.h (struct target_ops) <to_extra_thread_info>: Add
9842 argument.
9843 (target_extra_thread_info): Add argument.
9844 * target.c (update_current_target): Update.
9845 * remote.c (remote_threads_extra_info): Add 'self' argument.
9846 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9847 argument.
9848 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9849 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9850 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9851 argument.
9852 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9853 argument.
9854 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9855 argument.
9856 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9857 argument.
9858
9859 2014-02-19 Tom Tromey <tromey@redhat.com>
9860
9861 * target.h (struct target_ops) <to_program_signals>: Add argument.
9862 * target.c (target_program_signals): Add argument.
9863 * remote.c (remote_program_signals): Add 'self' argument.
9864
9865 2014-02-19 Tom Tromey <tromey@redhat.com>
9866
9867 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9868 * target.c (target_pass_signals): Add argument.
9869 * remote.c (remote_pass_signals): Add 'self' argument.
9870 (remote_start_remote): Update.
9871 * procfs.c (procfs_pass_signals): Add 'self' argument.
9872 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9873 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9874 (linux_nat_create_inferior, linux_nat_attach): Update.
9875
9876 2014-02-19 Tom Tromey <tromey@redhat.com>
9877
9878 * windows-nat.c (windows_can_run): Add 'self' argument.
9879 * target.h (struct target_ops) <to_can_run>: Add argument.
9880 (target_can_run): Add argument.
9881 * target.c (debug_to_can_run): Add argument.
9882 (update_current_target): Update.
9883 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9884 * inf-child.c (inf_child_can_run): Add 'self' argument.
9885 * go32-nat.c (go32_can_run): Add 'self' argument.
9886
9887 2014-02-19 Tom Tromey <tromey@redhat.com>
9888
9889 * target.h (struct target_ops) <to_has_exited>: Add argument.
9890 (target_has_exited): Add argument.
9891 * target.c (debug_to_has_exited): Add argument.
9892 (update_current_target): Update.
9893
9894 2014-02-19 Tom Tromey <tromey@redhat.com>
9895
9896 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9897 argument.
9898 (target_set_syscall_catchpoint): Add argument.
9899 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9900 argument.
9901 * target.c (update_current_target): Update.
9902
9903 2014-02-19 Tom Tromey <tromey@redhat.com>
9904
9905 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9906 argument.
9907 (target_remove_exec_catchpoint): Add argument.
9908 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9909 (update_current_target): Update.
9910 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9911 argument.
9912
9913 2014-02-19 Tom Tromey <tromey@redhat.com>
9914
9915 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9916 argument.
9917 (target_insert_exec_catchpoint): Add argument.
9918 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9919 (update_current_target): Update.
9920 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9921 argument.
9922
9923 2014-02-19 Tom Tromey <tromey@redhat.com>
9924
9925 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9926 argument.
9927 (target_remove_vfork_catchpoint): Add argument.
9928 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9929 (update_current_target): Update.
9930 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9931 argument.
9932
9933 2014-02-19 Tom Tromey <tromey@redhat.com>
9934
9935 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9936 argument.
9937 (target_insert_vfork_catchpoint): Add argument.
9938 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9939 (update_current_target): Update.
9940 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9941 argument.
9942
9943 2014-02-19 Tom Tromey <tromey@redhat.com>
9944
9945 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9946 argument.
9947 (target_remove_fork_catchpoint): Add argument.
9948 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9949 (update_current_target): Update.
9950 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9951 argument.
9952
9953 2014-02-19 Tom Tromey <tromey@redhat.com>
9954
9955 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9956 argument.
9957 (target_insert_fork_catchpoint): Add argument.
9958 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9959 (update_current_target): Update.
9960 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9961 argument.
9962
9963 2014-02-19 Tom Tromey <tromey@redhat.com>
9964
9965 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9966 argument.
9967 (target_post_startup_inferior): Add argument.
9968 * target.c (debug_to_post_startup_inferior): Add argument.
9969 (update_current_target): Update.
9970 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9971 argument.
9972 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9973 argument.
9974 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9975 argument.
9976 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9977 argument.
9978 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9979 'self' argument.
9980 (super_post_startup_inferior): Likewise.
9981 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9982 'self' argument.
9983 (super_post_startup_inferior): Likewise.
9984 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9985 Add 'self' argument.
9986 (super_post_startup_inferior): Likewise.
9987
9988 2014-02-19 Tom Tromey <tromey@redhat.com>
9989
9990 * target.h (struct target_ops) <to_load>: Add argument.
9991 * target.c (target_load): Add argument.
9992 (debug_to_load): Add argument.
9993 (update_current_target): Update.
9994 * remote.c (remote_load): Add 'self' argument.
9995 * remote-sim.c (gdbsim_load): Add 'self' argument.
9996 * remote-mips.c (mips_load): Add 'self' argument.
9997 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9998 * monitor.c (monitor_load): Add 'self' argument.
9999 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10000
10001 2014-02-19 Tom Tromey <tromey@redhat.com>
10002
10003 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10004 (target_terminal_info): Add argument.
10005 * target.c (debug_to_terminal_info): Add argument.
10006 (default_terminal_info): Likewise.
10007 * inflow.c (child_terminal_info): Add 'self' argument.
10008 * inferior.h (child_terminal_info): Add 'self' argument.
10009 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10010
10011 2014-02-19 Tom Tromey <tromey@redhat.com>
10012
10013 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10014 argument.
10015 (target_terminal_save_ours): Add argument.
10016 * target.c (debug_to_terminal_save_ours): Add argument.
10017 (update_current_target): Update.
10018 * inflow.c (terminal_save_ours): Add 'self' argument.
10019 * inferior.h (terminal_save_ours): Add 'self' argument.
10020
10021 2014-02-19 Tom Tromey <tromey@redhat.com>
10022
10023 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10024 (target_terminal_ours): Add argument.
10025 * target.c (debug_to_terminal_ours): Add argument.
10026 (update_current_target): Update.
10027 * remote.c (remote_terminal_ours): Add 'self' argument.
10028 (remote_close): Update.
10029 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10030 * inflow.c (terminal_ours): Add 'self' argument.
10031 * inferior.h (terminal_ours): Add 'self' argument.
10032 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10033
10034 2014-02-19 Pedro Alves <palves@redhat.com>
10035 Tom Tromey <tromey@redhat.com>
10036
10037 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10038 argument.
10039 (target_terminal_ours_for_output): Add argument.
10040 * target.c (debug_to_terminal_ours_for_output): Add argument.
10041 (update_current_target): Update.
10042 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10043 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10044 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10045
10046 2014-02-19 Tom Tromey <tromey@redhat.com>
10047
10048 * target.h (struct target_ops) <to_terminal_inferior>: Add
10049 argument.
10050 * target.c (target_terminal_inferior): Add argument.
10051 (update_current_target): Update.
10052 * remote.c (remote_terminal_inferior): Add 'self' argument.
10053 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10054 * inflow.c (terminal_inferior): Add 'self' argument.
10055 * inferior.h (terminal_inferior): Add 'self' argument.
10056 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10057 (go32_terminal_inferior): Add 'self' argument.
10058
10059 2014-02-19 Tom Tromey <tromey@redhat.com>
10060
10061 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10062 (target_terminal_init): Add argument.
10063 * target.c (debug_to_terminal_init): Add argument.
10064 (update_current_target): Update.
10065 * inflow.c (terminal_init_inferior): Add 'self' argument.
10066 * inferior.h (terminal_init_inferior): Add 'self' argument.
10067 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10068 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10069
10070 2014-02-19 Tom Tromey <tromey@redhat.com>
10071
10072 * target.h (struct target_ops)
10073 <to_can_accel_watchpoint_condition>: Add argument.
10074 (target_can_accel_watchpoint_condition): Add argument.
10075 * target.c (debug_to_can_accel_watchpoint_condition): Add
10076 argument.
10077 (update_current_target): Update.
10078 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10079 'self' argument.
10080
10081 2014-02-19 Tom Tromey <tromey@redhat.com>
10082
10083 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10084 Add argument.
10085 (target_region_ok_for_hw_watchpoint): Add argument.
10086 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10087 (default_region_ok_for_hw_watchpoint): Add argument.
10088 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10089 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10090 argument.
10091 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10092 argument.
10093 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10094 argument.
10095 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10096 'self' argument.
10097 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10098 'self' argument.
10099 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10100 'self' argument.
10101 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10102 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10103 'self' argument.
10104 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10105 Add 'self' argument.
10106
10107 2014-02-19 Tom Tromey <tromey@redhat.com>
10108
10109 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10110 argument.
10111 (target_insert_watchpoint): Add argument.
10112 * target.c (debug_to_insert_watchpoint): Add argument.
10113 (update_current_target): Update.
10114 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10115 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10116 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10117 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10118 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10119 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10120 argument.
10121 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10122 (procfs_insert_hw_watchpoint): Add 'self' argument.
10123 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10124 argument.
10125 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10126 argument.
10127 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10128 argument.
10129 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10130 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10131 argument.
10132 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10133 'self' argument.
10134
10135 2014-02-19 Tom Tromey <tromey@redhat.com>
10136
10137 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10138 argument.
10139 (target_remove_watchpoint): Add argument.
10140 * target.c (debug_to_remove_watchpoint): Add argument.
10141 (update_current_target): Update.
10142 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10143 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10144 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10145 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10146 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10147 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10148 argument.
10149 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10150 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10151 argument.
10152 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10153 argument.
10154 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10155 argument.
10156 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10157 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10158 argument.
10159 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10160 'self' argument.
10161
10162 2014-02-19 Tom Tromey <tromey@redhat.com>
10163
10164 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10165 argument.
10166 (target_remove_hw_breakpoint): Add argument.
10167 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10168 (update_current_target): Update.
10169 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10170 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10171 argument.
10172 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10173 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10174 argument.
10175 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10176 'self' argument.
10177
10178 2014-02-19 Tom Tromey <tromey@redhat.com>
10179
10180 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10181 argument.
10182 (target_insert_hw_breakpoint): Add argument.
10183 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10184 (update_current_target): Update.
10185 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10186 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10187 argument.
10188 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10189 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10190 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10191 argument.
10192 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10193 'self' argument.
10194
10195 2014-02-19 Tom Tromey <tromey@redhat.com>
10196
10197 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10198 argument.
10199 (target_can_use_hardware_watchpoint): Add argument.
10200 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10201 (update_current_target): Update.
10202 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10203 argument.
10204 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10205 argument.
10206 * remote.c (remote_check_watch_resources): Add 'self' argument.
10207 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10208 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10209 argument.
10210 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10211 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10212 argument.
10213 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10214 argument.
10215 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10216 argument.
10217 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10218 argument.
10219 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10220 argument.
10221 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10222 argument.
10223 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10224 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10225 argument.
10226 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10227 'self' argument.
10228
10229 2014-02-19 Tom Tromey <tromey@redhat.com>
10230
10231 * target.h (struct target_ops) <to_post_attach>: Add argument.
10232 (target_post_attach): Add argument.
10233 * target.c (debug_to_post_attach): Add argument.
10234 (update_current_target): Update.
10235 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10236 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10237 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10238 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10239 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10240
10241 2014-02-19 Tom Tromey <tromey@redhat.com>
10242
10243 * windows-nat.c (windows_close): Add 'self' argument.
10244 * tracepoint.c (tfile_close): Add 'self' argument.
10245 * target.h (struct target_ops) <to_close>: Add argument.
10246 * target.c (target_close): Add argument.
10247 (update_current_target): Update.
10248 * remote.c (remote_close): Add 'self' argument.
10249 * remote-sim.c (gdbsim_close): Add 'self' argument.
10250 * remote-mips.c (mips_close): Add 'self' argument.
10251 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10252 * record-full.c (record_full_close): Add 'self' argument.
10253 * record-btrace.c (record_btrace_close): Add 'self' argument.
10254 * monitor.h (monitor_close): Add 'self' argument.
10255 * monitor.c (monitor_close): Add 'self' argument.
10256 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10257 * linux-nat.c (linux_nat_close): Add argument.
10258 * go32-nat.c (go32_close): Add 'self' argument.
10259 * exec.c (exec_close_1): Add 'self' argument.
10260 * ctf.c (ctf_close): Add 'self' argument.
10261 * corelow.c (core_close): Add 'self' argument.
10262 (core_close_cleanup): Update.
10263 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10264 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10265
10266 2014-02-19 Tom Tromey <tromey@redhat.com>
10267
10268 * remote.c (remote_load): New function.
10269 (init_remote_ops): Use it.
10270
10271 2014-02-19 Tom Tromey <tromey@redhat.com>
10272
10273 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10274 argument.
10275 * common/linux-btrace.h (linux_supports_btrace): Update.
10276 * remote.c (remote_supports_btrace): Add "self" argument.
10277 * target-delegates.c: Rebuild.
10278 * target.c (target_supports_btrace): Remove.
10279 * target.h (struct target_ops) <to_supports_btrace>: Add
10280 target_ops argument.
10281 (target_supports_btrace): New define.
10282
10283 2014-02-19 Tom Tromey <tromey@redhat.com>
10284
10285 * record-full.c (record_full_beneath_to_resume_ops)
10286 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10287 (record_full_beneath_to_wait)
10288 (record_full_beneath_to_store_registers_ops)
10289 (record_full_beneath_to_store_registers)
10290 (record_full_beneath_to_xfer_partial_ops)
10291 (record_full_beneath_to_xfer_partial)
10292 (record_full_beneath_to_insert_breakpoint_ops)
10293 (record_full_beneath_to_insert_breakpoint)
10294 (record_full_beneath_to_remove_breakpoint_ops)
10295 (record_full_beneath_to_remove_breakpoint)
10296 (record_full_beneath_to_stopped_by_watchpoint)
10297 (record_full_beneath_to_stopped_data_address)
10298 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10299 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10300 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10301 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10302 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10303 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10304 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10305 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10306 (record_full_resume, record_full_wait_1)
10307 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10308 (record_full_store_registers, record_full_xfer_partial)
10309 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10310 (record_full_async, record_full_core_xfer_partial): Use target
10311 delegation.
10312 * target-delegates.c: Rebuild.
10313 * target.c (current_xfer_partial): Remove.
10314 (update_current_target): Do not INHERIT or de_fault
10315 to_insert_breakpoint, to_remove_breakpoint,
10316 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10317 to_is_async_p, to_async. Do not set to_xfer_partial field.
10318 (default_xfer_partial): Simplify.
10319 (current_xfer_partial): Remove.
10320 (target_wait, target_resume): Simplify.
10321 (find_default_can_async_p, find_default_is_async_p): Update.
10322 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10323 to_xfer_partial, to_stopped_by_watchpoint,
10324 to_stopped_data_address.
10325 (target_store_registers): Simplify.
10326 (forward_target_remove_breakpoint)
10327 (forward_target_insert_breakpoint): Remove.
10328 (target_remove_breakpoint, target_insert_breakpoint)
10329 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10330 * target.h (struct target_ops) <to_resume, to_wait,
10331 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10332 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10333 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10334 markup.
10335 (forward_target_remove_breakpoint)
10336 (forward_target_insert_breakpoint): Remove.
10337 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10338 directly.
10339 (record_btrace_insert_breakpoint): Delegate directly.
10340
10341 2014-02-19 Tom Tromey <tromey@redhat.com>
10342
10343 PR build/7701:
10344 * target-delegates.c: New file.
10345 * target.c: Include target-delegates.c.
10346 (init_dummy_target): Call install_dummy_methods.
10347 (complete_target_initialization): Call install_delegators.
10348 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10349 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10350 * make-target-delegates: New file.
10351
10352 2014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * record.c (find_record_target): Use find_target_at.
10355 * target.c (find_target_at): New function.
10356 * target.h (find_target_at): Declare.
10357
10358 2014-02-19 Tom Tromey <tromey@redhat.com>
10359
10360 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10361 Add 'ops' argument.
10362 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10363 'ops' argument.
10364 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10365 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10366 'ops' argument.
10367 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10368 argument.
10369 * linux-nat.c (save_sigtrap): Update.
10370 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10371 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10372 (linux_nat_close): Update.
10373 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10374 argument.
10375 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10376 argument.
10377 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10378 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10379 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10380 (tmp_to_async): Add 'ops' argument.
10381 (record_full_stopped_by_watchpoint, record_full_async)
10382 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10383 argument.
10384 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10385 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10386 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10387 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10388 (remote_is_async_p, remote_async): Add 'ops' argument.
10389 (remote_stopped_data_address): Update.
10390 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10391 * target.c (update_current_target)
10392 (find_default_can_async_p, find_default_is_async_p): Update.
10393 (init_dummy_target): Update.
10394 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10395 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10396 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10397 (target_can_async_p, target_is_async_p, target_async)
10398 (target_stopped_by_watchpoint): Update.
10399
10400 2014-02-19 Yao Qi <yao@codesourcery.com>
10401
10402 PR gdb/16220
10403 * gdbarch.sh: Remove startup_gdbarch.
10404 * gdbarch.c: Regenerated.
10405 * gdbarch.h: Likewise.
10406
10407 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10408
10409 * rl78-tdep.c (rl78_g10_register_name): New function.
10410 (rl78_return_value): Add g10 support.
10411 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10412 g10.
10413
10414 2014-02-17 Doug Evans <xdje42@gmail.com>
10415
10416 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10417 (SUBDIR_GUILE_SRCS): Ditto.
10418 (scm-gsmob.o): Ditto.
10419
10420 2014-02-17 Yao Qi <yao@codesourcery.com>
10421
10422 * gnu-nat.c (ILL_RPC): Declare defined function.
10423
10424 2014-02-17 Yao Qi <yao@codesourcery.com>
10425
10426 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10427 mach_msg_type_number_t.
10428 (gnu_write_inferior): Likewise.
10429
10430 2014-02-17 Yao Qi <yao@codesourcery.com>
10431
10432 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10433 in format string.
10434 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10435 (inf_validate_procs, inf_signal): Likewise.
10436 (S_exception_raise_request): Likewise.
10437 (do_mach_notify_dead_name): Likewise.
10438 (steal_exc_port): Likewise.
10439 (gnu_read_inferior): Change 'copy_count''s type to
10440 mach_msg_type_number_t.
10441 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10442 format string.
10443
10444 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10445
10446 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10447 flag. Adjust all users; in particular...
10448 (gnu_wait): ..., don't decrement its value in here...
10449 (gnu_create_inferior): ..., and instead set the flag in here,
10450 around the startup_inferior call, and call that one with
10451 START_INFERIOR_TRAPS_EXPECTED.
10452
10453 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10454 (ILL_RPC): ... new macro.
10455 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10456 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10457 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10458 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10459 functions with ILL_RPC macro.
10460 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10461 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10462 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10463 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10464 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10465 (S_proc_getlogin_reply, S_proc_getsid_reply)
10466 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10467 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10468 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10469 (S_proc_getnports_reply, S_proc_is_important_reply)
10470 (S_proc_get_code_reply): New stub functions, generated with
10471 ILL_RPC macro.
10472
10473 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10474 collected the type check structures.
10475
10476 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10477
10478 2014-02-14 Doug Evans <dje@google.com>
10479
10480 * target.c (target_write_partial): Fix result type.
10481
10482 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10483
10484 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10485 the proper offsets to access fpregset_t.
10486
10487 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10488
10489 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10490 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10491 * h8300-tdep.c (setmachinelist): Remove global.
10492 * hppa-tdep.c (hppa_sigtramp): Remove global.
10493 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10494 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10495 * ravenscar-thread.c (update_target_observer): Remove global.
10496 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10497
10498 2014-02-12 Tom Tromey <tromey@redhat.com>
10499
10500 * common/rsp-low.c: Update comments.
10501 * common/rsp-low.h: Update comments.
10502
10503 2014-02-12 Tom Tromey <tromey@redhat.com>
10504
10505 * common/rsp-low.c (convert_ascii_to_int): Remove.
10506 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10507
10508 2014-02-12 Tom Tromey <tromey@redhat.com>
10509
10510 * common/rsp-low.h (unhexify): Don't declare.
10511 * common/rsp-low.c (unhexify): Remove.
10512
10513 2014-02-12 Tom Tromey <tromey@redhat.com>
10514
10515 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10516 * common/rsp-low.c (convert_int_to_ascii): Remove.
10517
10518 2014-02-12 Tom Tromey <tromey@redhat.com>
10519
10520 * common/rsp-low.h (hexify): Don't declare.
10521 * common/rsp-low.c (hexify): Remove.
10522
10523 2014-02-12 Tom Tromey <tromey@redhat.com>
10524
10525 * common/rsp-low.c (hexify): Never take strlen of argument.
10526
10527 2014-02-12 Tom Tromey <tromey@redhat.com>
10528
10529 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10530 * remote.c (extended_remote_run, remote_rcmd)
10531 (remote_download_trace_state_variable, remote_save_trace_data)
10532 (remote_set_trace_notes): Update.
10533 * tracepoint.c (encode_source_string, tfile_write_status)
10534 (tfile_write_uploaded_tsv): Update.
10535
10536 2014-02-12 Tom Tromey <tromey@redhat.com>
10537
10538 * tracepoint.c: Include rsp-low.h.
10539 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10540 * remote.c: Include rsp-low.h.
10541 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10542 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10543 (remote_unescape_input): Move to common/rsp-low.c.
10544 * common/rsp-low.h: New file.
10545 * common/rsp-low.c: New file.
10546 * Makefile.in (SFILES): Add common/rsp-low.c.
10547 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10548 (COMMON_OBS): Add rsp-low.o.
10549 (rsp-low.o): New target.
10550
10551 2014-02-12 Tom Tromey <tromey@redhat.com>
10552
10553 * utils.h: Include print-utils.h.
10554 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10555 (int_string, core_addr_to_string, core_addr_to_string_nz)
10556 (hex_string, hex_string_custom): Don't declare.
10557 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10558 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10559 (hex_string_custom, int_string, core_addr_to_string)
10560 (core_addr_to_string_nz, host_address_to_string): Move to
10561 common/print-utils.c.
10562 * common/print-utils.h: New file.
10563 * common/print-utils.c: New file
10564 * Makefile.in (SFILES): Add common/print-utils.c.
10565 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10566 (COMMON_OBS): Add print-utils.o.
10567 (print-utils.o): New target.
10568
10569 2014-02-12 Tom Tromey <tromey@redhat.com>
10570
10571 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10572
10573 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10574
10575 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10576
10577 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10578
10579 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10580 if a PT_IO ptrace request returns sucessfully but indicates that 0
10581 bytes were transferred.
10582
10583 2014-02-12 Pedro Alves <palves@redhat.com>
10584 Kevin Buettner <kevinb@redhat.com>
10585
10586 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10587 TYPE_INSTANCE_FLAG_CODE_SPACE.
10588
10589 2014-02-12 Pedro Alves <palves@redhat.com>
10590
10591 * h8300-tdep.c (pseudo_from_raw_register)
10592 (raw_from_pseudo_register): New functions.
10593 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10594 them.
10595
10596 2014-02-12 Pedro Alves <palves@redhat.com>
10597
10598 * h8300-tdep.c (h8300_register_sim_regno): New function.
10599 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10600 gdbarch_register_sim_regno hook.
10601
10602 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10603
10604 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10605
10606 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10607
10608 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10609
10610 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10611
10612 * obsd-tdep.h (obsd_init_abi): New prototype.
10613 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10614 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10615 (obsd_init_abi): New functions.
10616 * i386obsd-tdep.c: Include "obsd-tdep.h".
10617 (i386obsd_init_abi): Call obsd_init_abi.
10618 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10619 (amd64obsd_init_abi): Call obsd_init_abi.
10620 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10621 obsd-tdep.c to gdb_target_obs.
10622
10623 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10624
10625 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10626 double float arguments to 16-byte in the argument slots.
10627
10628 2014-02-11 Doug Evans <xdje42@gmail.com>
10629
10630 * configure.ac: Don't crash if pkg-config is not found and guile
10631 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10632 in guile checks.
10633 * configure: Regenerate.
10634
10635 2014-02-11 Yao Qi <yao@codesourcery.com>
10636
10637 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10638 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10639 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10640 * gnu-nat.c (gnu_xfer_memory): Likewise.
10641 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10642 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10643 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10644 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10645
10646 2014-02-11 Yao Qi <yao@codesourcery.com>
10647
10648 * target.h (enum target_xfer_error): Rename to ...
10649 (enum target_xfer_status): ... it. New. All users updated.
10650 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10651 New.
10652 (TARGET_XFER_STATUS_ERROR_P): New macro.
10653 (target_xfer_error_to_string): Remove declaration.
10654 (target_xfer_status_to_string): Declare.
10655 (target_xfer_partial_ftype): Adjust it.
10656 (struct target_ops) <to_xfer_partial>: Return
10657 target_xfer_status. Add argument xfered_len. Update
10658 comments.
10659 * target.c (target_xfer_error_to_string): Rename to ...
10660 (target_xfer_status_to_string): ... it. New. All callers
10661 updated.
10662 (target_read_live_memory): Likewise. Call target_xfer_partial
10663 instead of target_read.
10664 (memory_xfer_live_readonly_partial): Return
10665 target_xfer_status. Add argument xfered_len.
10666 (raw_memory_xfer_partial): Likewise.
10667 (memory_xfer_partial_1): Likewise.
10668 (memory_xfer_partial): Likewise.
10669 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10670 properly. Update debug message.
10671 (default_xfer_partial, current_xfer_partial): Likewise.
10672 (target_write_partial): Likewise.
10673 (target_read_partial): Likewise. All callers updated.
10674 (read_whatever_is_readable): Likewise.
10675 (target_write_with_progress): Likewise.
10676 (target_read_alloc_1): Likewise.
10677
10678 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10679 * auxv.c (procfs_xfer_auxv): Likewise.
10680 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10681 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10682 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10683 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10684 * corefile.c (read_memory): Adjust.
10685 * corelow.c (core_xfer_partial): Likewise.
10686 * ctf.c (ctf_xfer_partial): Likewise.
10687 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10688 updated.
10689 (darwin_xfer_partial): Likewise.
10690 * exec.c (section_table_xfer_memory_partial): Likewise. All
10691 callers updated.
10692 (exec_xfer_partial): Likewise.
10693 * exec.h (section_table_xfer_memory_partial): Update
10694 declaration.
10695 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10696 negative.
10697 (gnu_xfer_partial): Likewise.
10698 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10699 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10700 (ia64_hpux_xfer_solib_got): Likewise.
10701 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10702 type of 'partial_len' to ULONGEST.
10703 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10704 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10705 (linux_nat_xfer_partial): Likewise.
10706 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10707 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10708 * monitor.c (monitor_xfer_memory): Likewise.
10709 (monitor_xfer_partial): Likewise.
10710 * procfs.c (procfs_xfer_partial): Likewise.
10711 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10712 * record-full.c (record_full_xfer_partial): Likewise.
10713 (record_full_core_xfer_partial): Likewise.
10714 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10715 (gdbsim_xfer_partial): Likewise.
10716 * remote.c (remote_write_bytes_aux): Likewise. All callers
10717 updated.
10718 (remote_write_bytes, remote_read_bytes): Likewise. All
10719 callers updated.
10720 (remote_flash_erase): Likewise. All callers updated.
10721 (remote_write_qxfer): Likewise. All callers updated.
10722 (remote_read_qxfer): Likewise. All callers updated.
10723 (remote_xfer_partial): Likewise.
10724 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10725 (rs6000_xfer_shared_libraries): Likewise.
10726 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10727 (sol_thread_xfer_partial): Likewise.
10728 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10729 (sparc_xfer_partial): Likewise.
10730 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10731 updated.
10732 (spu_xfer_partial): Likewise.
10733 * spu-multiarch.c (spu_xfer_partial): Likewise.
10734 * tracepoint.c (tfile_xfer_partial): Likewise.
10735 * windows-nat.c (windows_xfer_memory): Likewise.
10736 (windows_xfer_shared_libraries): Likewise.
10737 (windows_xfer_partial): Likewise.
10738 * valprint.c: Replace 'target_xfer_error' with
10739 'target_xfer_status' in comments.
10740
10741 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10742
10743 Checked in by Joel Brobecker <brobecker@adacore.com>.
10744 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10745
10746 2014-02-11 Joel Brobecker <brobecker@adacore.com>
10747
10748 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10749 function parameters.
10750
10751 2014-02-10 Will Newton <will.newton@linaro.org>
10752
10753 * elfread.c (elf_rel_plt_read): Look for a .got section if
10754 looking up .got.plt fails.
10755 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10756 on address passed to elf_gnu_ifunc_record_cache.
10757 (elf_gnu_ifunc_resolve_addr): Likewise.
10758 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10759
10760 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10761
10762 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10763 (X_RETTURN): New macro.
10764 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10765
10766 * sparc64-tdep.c (sparc64_init_abi): Hook
10767 sparc_in_function_epilogue_p.
10768
10769 2014-02-10 Gary Benson <gbenson@redhat.com>
10770
10771 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10772 Rename name_matcher to symbol_matcher.
10773
10774 2014-02-10 Gary Benson <gbenson@redhat.com>
10775
10776 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10777 Use expand_symtabs_file_matcher_ftype and
10778 expand_symtabs_symbol_matcher_ftype.
10779
10780 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10781
10782 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10783 (struct ada_symbol_cache): New.
10784 (ada_free_symbol_cache): Forward declare.
10785 (struct ada_pspace_data): New.
10786 (ada_pspace_data_handle): New static global.
10787 (get_ada_pspace_data, ada_pspace_data_cleanup)
10788 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10789 (cache_space, cache): Delete, now folded inside struct
10790 ada_pspace_data.
10791 (ada_get_symbol_cache): New function.
10792 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10793 implementation.
10794 (_initialize_ada_language): Remove initialization of cache_space.
10795 Move call to observer_attach_inferior_exit up, grouping it
10796 with the other observer registrations inside this function.
10797 Rename command to be more general. Add call to
10798 register_program_space_data_with_cleanup.
10799
10800 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10801
10802 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10803 ada_new_objfile_observer.
10804 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10805 (_initialize_tasks): Update uses of ada_new_objfile_observer
10806 and ada_tasks_normal_stop_observer.
10807
10808 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10809
10810 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10811 returned by the 'Length attribute to integer.
10812
10813 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10814
10815 * ada-lang.c (_initialize_ada_language): Initialize
10816 cache_space obstack.
10817
10818 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10819
10820 * ada-lang.c (HASH_SIZE): New macro.
10821 (struct cache_entry): New type.
10822 (cache_space, cache): New static globals.
10823 (ada_clear_symbol_cache, find_entry): New functions.
10824 (lookup_cached_symbol, cache_symbol): Implement.
10825 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10826 (_initialize_ada_language): Attach ada_new_objfile_observer
10827 and ada_free_objfile_observer.
10828
10829 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10830
10831 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10832 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10833 struct block * parameter.
10834 (ada_lookup_symbol_list_worker): Constify local variable "block".
10835 Remove cast which is no longer necessary.
10836
10837 2014-02-10 Doug Evans <xdje42@gmail.com>
10838
10839 Add Guile as an extension language.
10840 * NEWS: Mention Guile scripting.
10841 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10842 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10843 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10844 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10845 (CLIBS): Add GUILE_LIBS.
10846 (install-guile): New rule.
10847 (guile.o): New rule.
10848 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10849 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10850 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10851 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10852 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10853 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10854 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10855 * configure.ac: New option --with-guile.
10856 * configure: Regenerate.
10857 * config.in: Regenerate.
10858 * auto-load.c: Remove #include "python/python.h". Add #include
10859 "gdb/section-scripts.h".
10860 (source_section_scripts): Handle Guile scripts.
10861 (_initialize_auto_load): Add name of Guile objfile script to
10862 scripts-directory help text.
10863 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10864 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10865 (struct breakpoint): New member scm_bp_object.
10866 * defs.h (enum command_control_type): New value guile_control.
10867 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10868 "extension.h".
10869 (show_user): Update comment.
10870 (_initialize_cli_cmds): Update help text for "show user". Update help
10871 text for max-user-call-depth.
10872 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10873 "extension.h".
10874 (multi_line_command_p): Add guile_control.
10875 (print_command_lines): Handle guile_control.
10876 (execute_control_command, recurse_read_control_structure): Ditto.
10877 (process_next_line): Recognize "guile" commands.
10878 * disasm.c (gdb_disassemble_info): Make non-static.
10879 * disasm.h: #include "dis-asm.h".
10880 (struct gdbarch): Add forward decl.
10881 (gdb_disassemble_info): Declare.
10882 * extension.c: #include "guile/guile.h".
10883 (extension_languages): Add guile.
10884 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10885 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10886 * gdbtypes.c (get_unsigned_type_max): New function.
10887 (get_signed_type_minmax): New function.
10888 * gdbtypes.h (get_unsigned_type_max): Declare.
10889 (get_signed_type_minmax): Declare.
10890 * guile/README: New file.
10891 * guile/guile-internal.h: New file.
10892 * guile/guile.c: New file.
10893 * guile/guile.h: New file.
10894 * guile/scm-arch.c: New file.
10895 * guile/scm-auto-load.c: New file.
10896 * guile/scm-block.c: New file.
10897 * guile/scm-breakpoint.c: New file.
10898 * guile/scm-disasm.c: New file.
10899 * guile/scm-exception.c: New file.
10900 * guile/scm-frame.c: New file.
10901 * guile/scm-gsmob.c: New file.
10902 * guile/scm-iterator.c: New file.
10903 * guile/scm-lazy-string.c: New file.
10904 * guile/scm-math.c: New file.
10905 * guile/scm-objfile.c: New file.
10906 * guile/scm-ports.c: New file.
10907 * guile/scm-pretty-print.c: New file.
10908 * guile/scm-safe-call.c: New file.
10909 * guile/scm-string.c: New file.
10910 * guile/scm-symbol.c: New file.
10911 * guile/scm-symtab.c: New file.
10912 * guile/scm-type.c: New file.
10913 * guile/scm-utils.c: New file.
10914 * guile/scm-value.c: New file.
10915 * guile/lib/gdb.scm: New file.
10916 * guile/lib/gdb/boot.scm: New file.
10917 * guile/lib/gdb/experimental.scm: New file.
10918 * guile/lib/gdb/init.scm: New file.
10919 * guile/lib/gdb/iterator.scm: New file.
10920 * guile/lib/gdb/printing.scm: New file.
10921 * guile/lib/gdb/types.scm: New file.
10922 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10923 (VPATH): Add $(GUILE_SRCDIR).
10924 (GUILE_DIR): New variable.
10925 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10926 (all): Add stamp-guile dependency.
10927 (stamp-guile): New rule.
10928 (clean-guile, install-guile, uninstall-guile): New rules.
10929 (install-only): Add install-guile dependency.
10930 (uninstall): Add uninstall-guile dependency.
10931 (clean): Add clean-guile dependency.
10932
10933 2014-02-09 Doug Evans <xdje42@gmail.com>
10934
10935 Revert this patch (which I approved, mea culpa).
10936
10937 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10938
10939 * Makefile.in (all-lib): Remove.
10940 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10941
10942 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10943
10944 Fix Python stack corruption.
10945 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10946 gdb_py_longest.
10947
10948 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10949
10950 * Makefile.in (all-lib): Remove.
10951 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10952
10953 2014-02-07 Doug Evans <dje@google.com>
10954
10955 * extension-priv.h (extension_language_script_ops): Add comment.
10956 (extension_language_ops): Add comment.
10957 (active_ext_lang_state): Fix typo in comment.
10958
10959 2014-02-07 Pedro Alves <palves@redhat.com>
10960
10961 PR breakpoints/16292
10962 * infrun.c (handle_signal_stop) <signal arrives while stepping
10963 over a breakpoint>: Switch back to the stepping thread.
10964
10965 2014-02-07 Yao Qi <yao@codesourcery.com>
10966
10967 * target.c (target_xfer_partial): Return zero if LEN is zero.
10968
10969 2014-02-07 Yao Qi <yao@codesourcery.com>
10970
10971 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10972 (ld_so_xfer_auxv): Likewise.
10973 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10974 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10975 * corelow.c (core_xfer_partial): Likewise.
10976 * ctf.c (ctf_xfer_partial): Likewise.
10977 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10978 (darwin_xfer_partial): Likewise.
10979 * exec.c (exec_xfer_partial): Likewise.
10980 * gnu-nat.c (gnu_xfer_partial): Likewise.
10981 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10982 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10983 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10984 * linux-nat.c (linux_xfer_siginfo): Likewise.
10985 (linux_proc_xfer_spu): Likewise.
10986 * procfs.c (procfs_xfer_partial): Likewise.
10987 * record-full.c (record_full_xfer_partial): Likewise.
10988 (record_full_core_xfer_partial): Likewise.
10989 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10990 * remote.c (remote_write_qxfer): Likewise.
10991 (remote_write_qxfer, remote_read_qxfer): Likewise.
10992 (remote_xfer_partial): Likewise.
10993 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10994 (rs6000_xfer_shared_libraries): Likewise.
10995 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10996 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10997 (spu_xfer_partial): Likewise.
10998 * target.c (memory_xfer_partial_1): Likewise.
10999 * tracepoint.c (tfile_xfer_partial): Likewise.
11000 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11001 (windows_xfer_partial): Likewise.
11002
11003 2014-02-07 Yao Qi <yao@codesourcery.com>
11004
11005 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11006 comments.
11007 (core_xfer_shared_libraries_aix): Likewise.
11008 * gdbarch.c, gdbarch.h: Regenerated.
11009 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11010 ULONGEST. Change 'len_avail' type to ULONGEST.
11011 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11012 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11013 declaration.
11014 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11015
11016 2014-02-07 Yao Qi <yao@codesourcery.com>
11017
11018 * corefile.c (memory_error): Get 'exception' from ERR and pass
11019 'exception' to throw_error.
11020
11021 2014-02-06 Doug Evans <xdje42@gmail.com>
11022
11023 * configure.ac (libpython checking): Remove all but python.o from
11024 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11025 * configure: Regenerate.
11026
11027 * Makefile.in (SFILES): Add extension.c.
11028 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11029 (COMMON_OBS): Add extension.o.
11030 * extension.h: New file.
11031 * extension-priv.h: New file.
11032 * extension.c: New file.
11033
11034 * python/python-internal.h: #include "extension.h".
11035 (gdbpy_auto_load_enabled): Declare.
11036 (gdbpy_apply_val_pretty_printer): Declare.
11037 (gdbpy_apply_frame_filter): Declare.
11038 (gdbpy_preserve_values): Declare.
11039 (gdbpy_breakpoint_cond_says_stop): Declare.
11040 (gdbpy_breakpoint_has_cond): Declare.
11041 (void source_python_script_for_objfile): Delete.
11042 * python/python.c: #include "extension-priv.h".
11043 Delete inclusion of "observer.h".
11044 (extension_language_python): Moved here and renamed from
11045 script_language_python in py-auto-load.c.
11046 Redefined to be of type extension_language_defn.
11047 (python_extension_script_ops): New global.
11048 (python_extension_ops): New global.
11049 (struct python_env): New member previous_active.
11050 (restore_python_env): Call restore_active_ext_lang.
11051 (ensure_python_env): Call set_active_ext_lang.
11052 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11053 New arg extlang.
11054 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11055 New arg extlang.
11056 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11057 New arg extlang.
11058 (gdbpy_eval_from_control_command): Renamed from
11059 eval_python_from_control_command, made static. New arg extlang.
11060 (gdbpy_source_script) Renamed from source_python_script, made static.
11061 New arg extlang.
11062 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11063 result to int. New arg extlang.
11064 (gdbpy_source_objfile_script): Renamed from
11065 source_python_script_for_objfile, made static. New arg extlang.
11066 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11067 static. New args extlang, extlang_printers. Change result type to
11068 "void".
11069 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11070 static. New arg extlang. Rename arg printers to extlang_printers
11071 and change type to ext_lang_type_printers *.
11072 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11073 static. Replace argument arg with extlang, extlang_printers.
11074 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11075 (!HAVE_PYTHON, source_python_script): Delete.
11076 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11077 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11078 (!HAVE_PYTHON, start_type_printers): Delete.
11079 (!HAVE_PYTHON, apply_type_printers): Delete.
11080 (!HAVE_PYTHON, free_type_printers): Delete.
11081 (_initialize_python): Delete call to observer_attach_before_prompt.
11082 (finalize_python): Set/restore active extension language.
11083 (gdbpy_finish_initialization) Renamed from
11084 finish_python_initialization, made static. New arg extlang.
11085 (gdbpy_initialized): New function.
11086 * python/python.h: #include "extension.h". Delete #include
11087 "value.h", "mi/mi-cmds.h".
11088 (extension_language_python): Declare.
11089 (GDBPY_AUTO_FILE_NAME): Delete.
11090 (enum py_bt_status): Moved to extension.h and renamed to
11091 ext_lang_bt_status.
11092 (enum frame_filter_flags): Moved to extension.h.
11093 (enum py_frame_args): Moved to extension.h and renamed to
11094 ext_lang_frame_args.
11095 (finish_python_initialization): Delete.
11096 (eval_python_from_control_command): Delete.
11097 (source_python_script): Delete.
11098 (apply_val_pretty_printer): Delete.
11099 (apply_frame_filter): Delete.
11100 (preserve_python_values): Delete.
11101 (gdbpy_script_language_defn): Delete.
11102 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11103 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11104
11105 * auto-load.c: #include "extension.h".
11106 (GDB_AUTO_FILE_NAME): Delete.
11107 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11108 (script_language_gdb): Delete, moved to extension.c and renamed to
11109 extension_language_gdb.
11110 (source_gdb_script_for_objfile): Delete.
11111 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11112 (loaded_script): Change type of language member to
11113 struct extension_language_defn *.
11114 (init_loaded_scripts_info): Initialize
11115 unsupported_script_warning_printed.
11116 (maybe_add_script): Make static. Change type of language arg to
11117 struct extension_language_defn *.
11118 (clear_section_scripts): Reset unsupported_script_warning_printed.
11119 (auto_load_objfile_script_1): Rewrite to use extension language API.
11120 (auto_load_objfile_script): Make public. Remove support-compiled-in
11121 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11122 (source_section_scripts): Rewrite to use extension language API.
11123 (load_auto_scripts_for_objfile): Rewrite to use
11124 auto_load_scripts_for_objfile.
11125 (collect_matching_scripts_data): Change type of language member to
11126 struct extension_language_defn *.
11127 (auto_load_info_scripts): Change type of language arg to
11128 struct extension_language_defn *.
11129 (unsupported_script_warning_print): New function.
11130 (script_not_found_warning_print): Make static.
11131 (_initialize_auto_load): Rewrite construction of scripts-directory
11132 help.
11133 * auto-load.h (struct objfile): Add forward decl.
11134 (struct script_language): Delete.
11135 (struct auto_load_pspace_info): Add forward decl.
11136 (struct extension_language_defn): Add forward decl.
11137 (maybe_add_script): Delete.
11138 (auto_load_objfile_script): Declare.
11139 (script_not_found_warning_print): Delete.
11140 (auto_load_info_scripts): Update prototype.
11141 (auto_load_gdb_scripts_enabled): Declare.
11142 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11143 auto_load_python_scripts_enabled and made public.
11144 (script_language_python): Delete, moved to python.c.
11145 (gdbpy_script_language_defn): Delete.
11146 (info_auto_load_python_scripts): Update to use
11147 extension_language_python.
11148
11149 * breakpoint.c (condition_command): Replace call to
11150 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11151 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11152 with call to breakpoint_ext_lang_cond_says_stop.
11153 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11154 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11155 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11156 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11157 New arg slang.
11158 (local_setattro): Print name of extension language with existing
11159 stop condition.
11160
11161 * valprint.c (val_print, value_print): Update to call
11162 apply_ext_lang_val_pretty_printer.
11163 * cp-valprint.c (cp_print_value): Update call to
11164 apply_ext_lang_val_pretty_printer.
11165 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11166 (gdbpy_apply_val_pretty_printer): Renamed from
11167 apply_val_pretty_printer. New arg extlang.
11168 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11169
11170 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11171 extension language API.
11172 * cli/cli-script.c (execute_control_command): Update to call
11173 eval_ext_lang_from_control_command.
11174
11175 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11176 enum ext_lang_bt_status values. Update call to
11177 apply_ext_lang_frame_filter.
11178 (mi_cmd_stack_list_locals): Ditto.
11179 (mi_cmd_stack_list_args): Ditto.
11180 (mi_cmd_stack_list_variables): Ditto.
11181 * mi/mi-main.c: Delete #include "python/python-internal.h".
11182 Add #include "extension.h".
11183 (mi_cmd_list_features): Replace reference to python internal variable
11184 gdb_python_initialized with call to ext_lang_initialized_p.
11185
11186 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11187 Update to use enum ext_lang_frame_args. Update to call
11188 apply_ext_lang_frame_filter.
11189 * python/py-framefilter.c (extract_sym): Update to use enum
11190 ext_lang_bt_status.
11191 (extract_value, py_print_type, py_print_value): Ditto.
11192 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11193 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11194 (py_print_frame): Ditto.
11195 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11196 New arg extlang. Update to use enum ext_lang_bt_status.
11197
11198 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11199 finish_python_initialization. Replace with call to
11200 finish_ext_lang_initialization.
11201
11202 * typeprint.c (do_free_global_table): Update to call
11203 free_ext_lang_type_printers.
11204 (create_global_typedef_table): Update to call
11205 start_ext_lang_type_printers.
11206 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11207 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11208 (type_print_options): Change type of global_printers from "void *"
11209 to "struct ext_lang_type_printers *".
11210
11211 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11212 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11213 (gdbpy_preserve_values): Renamed from preserve_python_values.
11214 New arg extlang.
11215 (!HAVE_PYTHON, preserve_python_values): Delete.
11216
11217 * utils.c (quit_flag): Delete, moved to extension.c.
11218 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11219 extension.c.
11220
11221 * eval.c: Delete #include "python/python.h".
11222 * main.c: Delete #include "python/python.h".
11223
11224 * defs.h: Update comment.
11225
11226 2014-02-06 Joel Brobecker <brobecker@adacore.com>
11227
11228 GDB 7.7 released.
11229
11230 2014-02-05 Mark Kettenis <kettenis@gnu.org>
11231
11232 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11233 defined.
11234
11235 2014-02-05 Yao Qi <yao@codesourcery.com>
11236
11237 * remote.c (remote_pass_signals): Remove local 'buf' and use
11238 rs->buf.
11239 (remote_program_signals): Likewise.
11240
11241 2014-02-05 Yao Qi <yao@codesourcery.com>
11242
11243 * ctf.c: Include "inferior.h" and "gdbthread.h".
11244 (CTF_PID): A new macro.
11245 (ctf_open): Call inferior_appeared and add_thread_silent.
11246 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11247 (ctf_thread_alive): New function.
11248 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11249
11250 2014-02-05 Yao Qi <yao@codesourcery.com>
11251
11252 Revert this patch:
11253
11254 2013-05-24 Yao Qi <yao@codesourcery.com>
11255
11256 * tracepoint.c (TFILE_PID): Remove.
11257 (tfile_open): Don't add thread and inferior.
11258 (tfile_close): Don't set 'inferior_ptid'. Don't call
11259 exit_inferior_silent.
11260 (tfile_thread_alive): Remove.
11261 (init_tfile_ops): Don't set field 'to_thread_alive' of
11262 tfile_ops.
11263
11264 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11265
11266 * remote.c (remote_start_remote): Call remote_check_symbols even
11267 if only symbol-file (not file) has been given.
11268
11269 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11270
11271 * gdbarch.sh (skip_entrypoint): New callback.
11272 * gdbarch.c, gdbarch.h: Regenerate.
11273 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11274 * infrun.c (fill_in_stop_func): Likewise.
11275 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11276 (ppc_elfv2_elf_make_msymbol_special): New function.
11277 (ppc_elfv2_skip_entrypoint): Likewise.
11278 (ppc_linux_init_abi): Install them for ELFv2.
11279
11280 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11281
11282 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11283 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11284 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11285 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11286 structures returned in GPRs.
11287
11288 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11289
11290 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11291 offset to the stack parameter list for the ELFv2 ABI.
11292
11293 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11294
11295 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11296 set_gdbarch_convert_from_func_ptr_addr and
11297 set_gdbarch_elf_make_msymbol_special for ELFv1.
11298 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11299 function descriptors on ELFv1.
11300 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11301 set up r12 at function entry.
11302
11303 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11304
11305 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11306 (struct gdbarch_tdep): New member elf_abi.
11307
11308 * rs6000-tdep.c: Include "elf/ppc64.h".
11309 (rs6000_gdbarch_init): Detect ELF ABI version.
11310
11311 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11312
11313 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11314 within a register pair holding a DFP 128-bit value on little-endian.
11315 (ppc64_sysv_abi_return_value_base): Likewise.
11316 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11317 (dfp_pseudo_register_write): Likewise.
11318
11319 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11320
11321 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11322 offset on little-endian when passing _Decimal32.
11323 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11324
11325 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11326
11327 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11328 of the overlapped FP register within the VSX register on little-
11329 endian platforms.
11330 (efpr_pseudo_register_write): Likewise.
11331
11332 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11333
11334 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11335 offset on little-endian when passing small structures.
11336
11337 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11338
11339 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11340 (struct ppc64_sysv_argpos): New data structure.
11341 (ppc64_sysv_abi_push_float): Remove.
11342 (ppc64_sysv_abi_push_val): New function.
11343 (ppc64_sysv_abi_push_integer): Likewise.
11344 (ppc64_sysv_abi_push_freg): Likewise.
11345 (ppc64_sysv_abi_push_vreg): Likewise.
11346 (ppc64_sysv_abi_push_param): Likewise.
11347 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11348 (ppc64_sysv_abi_return_value_base): New function.
11349 (ppc64_sysv_abi_return_value): Refactor to use it.
11350
11351 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11352
11353 * NEWS: Document new target powerpc64le-*-linux*.
11354
11355 2014-02-04 Mark Kettenis <kettenis@gnu.org>
11356
11357 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11358 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11359 core dumps.
11360 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11361 register set used in ELF core dumps. Add floating-point register set.
11362
11363 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11364
11365 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11366 dwarf2_to_gdb[] table using symbolic constants. Adjust
11367 penultimate entry from number representing the PC register
11368 to symbolic constant representing the MDR register. Add
11369 constant for the PC register to the end of the table.
11370
11371 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11372
11373 * bsd-kvm.c: Include <sys/param.h>
11374
11375 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11376
11377 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11378
11379 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11380
11381 * ada-lang.h (clear_ada_sym_cache): Delete.
11382
11383 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11384
11385 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11386
11387 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11388
11389 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11390 the sigreturn register save area only if the syscall is
11391 sigreturn.
11392
11393 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11394
11395 * valops.c (value_slice): Minor reformatting.
11396
11397 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11398
11399 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11400
11401 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11402
11403 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11404 New static globals.
11405 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11406 (ada_ignore_descriptive_types_p): New static global.
11407 (find_parallel_type_by_descriptive_type): Return immediately
11408 if ada_ignore_descriptive_types_p is set.
11409 (_initialize_ada_language): Register new commands "maintenance
11410 set ada", "maintenance show ada", "maintenance set ada
11411 ignore-descriptive-types" and "maintenance show ada
11412 ignore-descriptive-types".
11413 * NEWS: Add entry for new "maint ada set/show
11414 ignore-descriptive-types" commands.
11415
11416 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11417
11418 * record-btrace.c (record_btrace_close): Call btrace_teardown
11419 for all threads.
11420
11421 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11422
11423 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11424 "ui-out.h".
11425
11426 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11427
11428 * ada-typeprint (type_is_full_subrange_of_target_type):
11429 New function.
11430 (print_range): Add parameter bounds_prefered_p. If not set,
11431 try printing range types using the name of their base type.
11432 (print_range_type): Add parameter bounds_prefered_p.
11433 Use it in call to print_range.
11434 (print_array_type, ada_print_type): Update calls to print_range
11435 and print_range_type.
11436
11437 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11438
11439 * ada-typeprint.c (print_array_type, print_choices, print_range)
11440 (print_range_bound, print_dynamic_range_bound, print_range_type):
11441 Remove declaration.
11442
11443 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11444
11445 * ada-typeprint.c (print_range): Add missing empty line
11446 after local declaration.
11447
11448 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11449
11450 * ada-valprint.c (print_optional_low_bound): Get index_type's
11451 target type for as long as it is a TYPE_CODE_RANGE.
11452
11453 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11454
11455 * procfs.c (procfs_make_note_section): Remove assertion and
11456 associated comment.
11457
11458 2014-01-24 Yao Qi <yao@codesourcery.com>
11459
11460 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11461 * corelow.c (get_core_siginfo): Likewise.
11462
11463 2014-01-24 Yao Qi <yao@codesourcery.com>
11464
11465 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11466 ULONGEST. Don't check 'len' is negative.
11467 (remote_write_bytes): Change type of 'len' to ULONGEST.
11468
11469 2014-01-23 Tom Tromey <tromey@redhat.com>
11470
11471 PR python/16485:
11472 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11473 Handle exception from frame.block.
11474 (FrameVars.fetch_frame_locals): Likewise.
11475
11476 2014-01-23 Tom Tromey <tromey@redhat.com>
11477
11478 PR python/16487:
11479 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11480 on a NULL pointer. Move "goto error" to correct place.
11481
11482 2014-01-23 Tom Tromey <tromey@redhat.com>
11483
11484 PR python/16491:
11485 * python/py-framefilter.c (apply_frame_filter): Call
11486 ensure_python_env after computing gdbarch.
11487
11488 2014-01-23 Yao Qi <yao@codesourcery.com>
11489
11490 * target.c (raw_memory_xfer_partial): Change argument type
11491 from void * to gdb_byte *.
11492 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11493
11494 2014-01-22 Doug Evans <dje@google.com>
11495
11496 New gdbserver option --debug-format=timestamp.
11497 * NEWS: Mention it.
11498
11499 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11500
11501 * syscalls/s390x-linux.xml: New file.
11502 * syscalls/s390-linux.xml: New file.
11503 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11504 (XML_SYSCALL_FILENAME_S390X): Likewise.
11505 (op_svc): New enum value for SVC opcode.
11506 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11507 (s390_linux_get_syscall_number): New function.
11508 (s390_gdbarch_init): Register '*get_syscall_number' and the
11509 syscall xml file name.
11510 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11511 "s390-linux.xml" and "s390x-linux.xml".
11512 * NEWS: Announce new feature.
11513
11514 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11515
11516 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11517
11518 2014-01-22 Pedro Alves <palves@redhat.com>
11519
11520 * xtensa-config.c: Include defs.h.
11521
11522 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11523
11524 * common/common-utils.h: Add "ARI:" comment beside __func__
11525 reference.
11526
11527 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11528
11529 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11530 documentation a bit.
11531
11532 2014-01-21 Roland McGrath <mcgrathr@google.com>
11533
11534 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11535 * configure: Regenerate.
11536 * aclocal.m4: Regenerate.
11537 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11538 New substituted variables.
11539 (install-strip): New target.
11540 (INSTALL_SCRIPT): New substituted variable.
11541 (FLAGS_TO_PASS): Add it.
11542 (install-only): Use $(INSTALL_SCRIPT) rather than
11543 $(INSTALL_PROGRAM) for gcore.
11544
11545 2014-01-20 Tom Tromey <tromey@redhat.com>
11546
11547 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11548 together.
11549
11550 2014-01-20 Tom Tromey <tromey@redhat.com>
11551
11552 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11553 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11554 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11555 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11556 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11557 (struct cmd_list_element) <flags>: Remove.
11558 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11559 doc_allocated>: New fields.
11560 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11561 bitfields.
11562 * maint.c (maintenance_do_deprecate): Update.
11563 * top.c (execute_command): Update.
11564
11565 2014-01-20 Baruch Siach <baruch@tkos.co.il>
11566
11567 * xtensa-linux-nat.c: Include asm/ptrace.h.
11568
11569 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11570
11571 * Makefile.in (SFILES): Add d-support.c.
11572 (COMMON_OBS): Add d-support.o.
11573 * d-lang.h (d_parse_symbol): Add comment, now defined in
11574 d-support.c.
11575 * d-lang.c (parse_call_convention)
11576 (parse_attributes, parse_function_types)
11577 (parse_function_args, parse_type, parse_identifier)
11578 (call_convention_p, d_parse_symbol): Move functions to ...
11579 * d-support.c: ... New file.
11580
11581 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11582
11583 * d-lang.h (d_parse_symbol): Add declaration.
11584 * d-lang.c (extract_identifiers)
11585 (extract_type_info): Remove functions.
11586 (parse_call_convention, parse_attributes)
11587 (parse_function_types, parse_function_args)
11588 (parse_type, parse_identifier, call_convention_p)
11589 (d_parse_symbol): New functions.
11590 (d_demangle): Use d_parse_symbol to demangle D symbols.
11591
11592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11593
11594 * d-lang.h (struct builtin_d_type): New data type.
11595 (builtin_d_type): Add declaration.
11596 * d-lang.c (d_language_arch_info, build_d_types)
11597 (builtin_d_type): New functions.
11598 (enum d_primitive_types): New data type.
11599 (d_language_defn): Change c_language_arch_info to
11600 d_language_arch_info.
11601 (d_type_data): New static variable.
11602 (_initialize_d_language): Initialize d_type_data.
11603
11604 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11605
11606 * d-lang.h (d_main_name): Add declaration.
11607 * d-lang.c (d_main_name): New function.
11608 * symtab.c (find_main_name): Add call to d_main_name.
11609
11610 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11611
11612 * d-lang.c (d_language_defn): Change macro_expansion_c to
11613 macro_expansion_no.
11614
11615 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11616
11617 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11618
11619 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11620
11621 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11622 gdb_exception" declaration.
11623 * remote.c (getpkt_or_notif_sane): Likewise.
11624
11625 2014-01-17 Doug Evans <dje@google.com>
11626
11627 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11628 function, contents of dirnames_to_char_ptr_vec_append moved here.
11629 (delim_string_to_char_ptr_vec): New function.
11630 (dirnames_to_char_ptr_vec_append): Rewrite.
11631 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11632
11633 2014-01-17 Doug Evans <dje@google.com>
11634
11635 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11636 and moved here ...
11637 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11638 #include "common-utils.h".
11639 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11640 * common/vec.h (VEC_ASSERT_PASS): Update.
11641 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11642 (MACH_CHECK_ERROR): Update.
11643
11644 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11645
11646 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11647 comments.
11648 * gdbarch.h: Regenerate.
11649
11650 2014-01-16 Tom Tromey <tromey@redhat.com>
11651
11652 * value.c (struct value) <regnum>: Move earlier.
11653
11654 2014-01-16 Tom Tromey <tromey@redhat.com>
11655
11656 * remote.c (extended_remote_create_inferior): Rename from
11657 extended_remote_create_inferior_1. Add "ops" argument. Remove
11658 old implementation.
11659
11660 2014-01-16 Pedro Alves <palves@redhat.com>
11661
11662 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11663 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11664 the backchain.
11665
11666 2014-01-16 Doug Evans <dje@google.com>
11667
11668 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11669
11670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11671
11672 * btrace.h (btrace_thread_flag): New.
11673 (struct btrace_thread_info) <flags>: New.
11674 * record-btrace.c (record_btrace_resume_thread)
11675 (record_btrace_find_thread_to_move, btrace_step_no_history)
11676 (btrace_step_stopped, record_btrace_start_replaying)
11677 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11678 (record_btrace_find_resume_thread): New.
11679 (record_btrace_resume, record_btrace_wait): Extend.
11680 (record_btrace_can_execute_reverse): New.
11681 (record_btrace_open): Fail in non-stop mode.
11682 (record_btrace_set_replay): Split into this, ...
11683 (record_btrace_stop_replaying): ... this, ...
11684 (record_btrace_clear_histories): ... and this.
11685 (init_record_btrace_ops): Init to_can_execute_reverse.
11686 * NEWS: Announce it.
11687
11688 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11689
11690 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11691 (forward_target_decr_pc_after_break)
11692 (target_decr_pc_after_break): New.
11693 * target.c (forward_target_decr_pc_after_break)
11694 (target_decr_pc_after_break): New.
11695 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11696 instead of gdbarch_decr_pc_after_break.
11697 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11698 instead of gdbarch_decr_pc_after_break.
11699 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11700 instead of gdbarch_decr_pc_after_break.
11701 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11702 instead of gdbarch_decr_pc_after_break.
11703 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11704 instead of gdbarch_decr_pc_after_break.
11705 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11706 instead of gdbarch_decr_pc_after_break.
11707
11708 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11709
11710 * btrace.c: Include regcache.h.
11711 (btrace_add_pc): New.
11712 (btrace_enable): Call btrace_add_pc.
11713 (btrace_is_empty): New.
11714 * btrace.h (btrace_is_empty): New.
11715 * record-btrace.c (require_btrace, record_btrace_info): Call
11716 btrace_is_empty.
11717
11718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11719
11720 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11721 Support delta reads.
11722 (linux_disable_btrace): Change return type.
11723 * common/linux-btrace.h (linux_read_btrace): Change parameters
11724 and return type to allow error reporting. Update users.
11725 (linux_disable_btrace): Change return type. Update users.
11726 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11727 New.
11728 (btrace_error): New.
11729 (btrace_block) <begin>: Comment on BEGIN == 0.
11730 * btrace.c (btrace_compute_ftrace): Start from the end of
11731 the current trace.
11732 (btrace_stitch_trace, btrace_clear_history): New.
11733 (btrace_fetch): Read delta trace, return if replaying.
11734 (btrace_clear): Move clear history code to btrace_clear_history.
11735 (parse_xml_btrace): Throw an error if parsing failed.
11736 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11737 and return type to allow error reporting.
11738 (target_read_btrace): Change parameters and return type to allow
11739 error reporting.
11740 * target.c (target_read_btrace): Update.
11741 * remote.c (remote_read_btrace): Support delta reads. Pass
11742 errors on.
11743 * NEWS: Announce it.
11744
11745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11746
11747 * record.h (record_btrace_frame_unwind)
11748 (record_btrace_tailcall_frame_unwind): New declarations.
11749 * dwarf2-frame: Include record.h
11750 (dwarf2_frame_cfa): Throw an error for btrace frames.
11751 * record-btrace.c: Include hashtab.h.
11752 (btrace_get_bfun_name): New.
11753 (btrace_call_history): Call btrace_get_bfun_name.
11754 (struct btrace_frame_cache): New.
11755 (bfcache): New.
11756 (bfcache_hash, bfcache_eq, bfcache_new): New.
11757 (btrace_get_frame_function): New.
11758 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11759 (record_btrace_frame_this_id): Compute own id.
11760 (record_btrace_frame_prev_register): Provide PC, throw_error
11761 for all other registers.
11762 (record_btrace_frame_sniffer): Detect btrace frames.
11763 (record_btrace_tailcall_frame_sniffer): New.
11764 (record_btrace_frame_dealloc_cache): New.
11765 (record_btrace_frame_unwind): Add new functions.
11766 (record_btrace_tailcall_frame_unwind): New.
11767 (_initialize_record_btrace): Allocate cache.
11768 * btrace.c (btrace_clear): Call reinit_frame_cache.
11769 * NEWS: Announce it.
11770
11771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11772
11773 * record-btrace.c (record_btrace_set_replay)
11774 (record_btrace_goto_begin, record_btrace_goto_end)
11775 (record_btrace_goto): New.
11776 (init_record_btrace_ops): Initialize them.
11777 * NEWS: Announce it.
11778
11779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11780
11781 * record-btrace.c (record_btrace_find_new_threads)
11782 (record_btrace_thread_alive): New.
11783 (init_record_btrace_ops): Initialize to_find_new_threads and
11784 to_thread_alive.
11785
11786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11787
11788 * record-btrace.c (record_btrace_resume): New.
11789 (record_btrace_wait): New.
11790 (init_record_btrace_ops): Initialize to_wait and to_resume.
11791
11792 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11793
11794 * record-btrace.c (record_btrace_xfer_partial)
11795 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11796 (record_btrace_allow_memory_access): New.
11797 (init_record_btrace_ops): Initialize new methods.
11798 * target.c (raw_memory_xfer_partial): Bail out if target reports
11799 that this memory is not available.
11800
11801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11802
11803 * target.h (target_ops) <to_insert_breakpoint>
11804 <to_remove_breakpoint>: Add target_ops parameter.
11805 (forward_target_insert_breakpoint): New.
11806 (forward_target_remove_breakpoint): New.
11807 (memory_remove_breakpoint, memory_insert_breakpoint):
11808 Add target_ops parameter.
11809 * target.c (target_insert_breakpoint): Split into this and ...
11810 (forward_target_insert_breakpoint): ... this.
11811 (target_remove_breakpoint): Split into this and ...
11812 (forward_target_remove_breakpoint): ... this.
11813 (debug_to_insert_breakpoint): Add target_ops parameter.
11814 Call forward_target_insert_breakpoint.
11815 (debug_to_remove_breakpoint): Add target_ops parameter.
11816 Call forward_target_remove_breakpoint.
11817 (update_current_target): Do not inherit or default to_insert_breakpoint
11818 and to_remove_breakpoint.
11819 * corelow.c (ignore): Add target_ops parameter.
11820 * exec.c (ignore): Add target_ops parameter.
11821 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11822 Add target_ops parameter.
11823 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11824 Add target_ops parameter.
11825 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11826 Add target_ops parameter.
11827 * record-full.c (record_full_beneath_to_insert_breakpoint)
11828 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11829 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11830 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11831 (record_full_core_remove_breakpoint): Add target_ops parameter.
11832 Update users.
11833 (record_full_beneath_to_insert_breakpoint_ops)
11834 (record_full_beneath_to_remove_breakpoint_ops)
11835 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11836 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11837 tmp_to_remove_breakpoint_ops,
11838 record_full_beneath_to_insert_breakpoint_ops, and
11839 record_full_beneath_to_remove_breakpoint_ops.
11840 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11841 (m32r_remove_breakpoint): Add target_ops parameter.
11842 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11843 Add target_ops parameter.
11844 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11845 Add target_ops parameter.
11846
11847 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11848 Markus Metzger <markus.t.metzger@intel.com>
11849
11850 * record-btrace.c: Include frame-unwind.h.
11851 (record_btrace_frame_unwind_stop_reason)
11852 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11853 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11854 New.
11855 (init_record_btrace_ops): Install it.
11856
11857 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11858
11859 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11860 get_prev_frame_1.
11861
11862 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11863
11864 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11865 earlier.
11866
11867 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11868
11869 * frame-unwind.c: Include target.h.
11870 (frame_unwind_try_unwinder): New function with code from ...
11871 (frame_unwind_find_by_frame): ... here. New variable
11872 unwinder_from_target, call also target_get_unwinder)
11873 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11874 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11875 * target.h (struct target_ops): New fields to_get_unwinder and
11876 to_get_tailcall_unwinder.
11877 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11878
11879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11880
11881 * record-btrace.c (record_btrace_fetch_registers)
11882 (record_btrace_store_registers)
11883 (record_btrace_to_prepare_to_store): New.
11884 (init_record_btrace_ops): Add the above.
11885
11886 2014-01-16 Tom Tromey <tromey@redhat.com>
11887
11888 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11889 * target.h (struct target_ops) <to_prepare_to_store>: Add
11890 argument.
11891 (target_prepare_to_store): Add argument.
11892 * target.c (debug_to_prepare_to_store): Add argument.
11893 (update_current_target): Update.
11894 * remote.c (remote_prepare_to_store): Add 'self' argument.
11895 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11896 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11897 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11898 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11899 argument.
11900 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11901 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11902 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11903 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11904 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11905
11906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11907
11908 * btrace.h (replay) <replay>: New.
11909 (btrace_is_replaying): New.
11910 * btrace.c (btrace_clear): Free replay iterator.
11911 (btrace_is_replaying): New.
11912 * record-btrace.c (record_btrace_is_replaying): New.
11913 (record_btrace_info): Print insn number if replaying.
11914 (record_btrace_insn_history): Start at replay position.
11915 (record_btrace_call_history): Start at replay position.
11916 (init_record_btrace_ops): Init to_record_is_replaying.
11917
11918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11919
11920 * record-btrace.c (record_btrace_insn_history_range): Include
11921 end.
11922 (record_btrace_insn_history_from): Adjust range.
11923 (record_btrace_call_history_range): Include
11924 end.
11925 (record_btrace_call_history_from): Adjust range.
11926 * NEWS: Announce changes.
11927
11928 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11929
11930 * record.h (enum record_print_flag)
11931 <record_print_indent_calls>: New.
11932 * record.c (get_call_history_modifiers): Recognize /c modifier.
11933 (_initialize_record): Document /c modifier.
11934 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11935 Reorder fields. Optionally indent the function name. Update
11936 all users.
11937 * NEWS: Announce changes.
11938
11939 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11940
11941 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11942
11943 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11944
11945 * btrace.c (ftrace_new_function): Start counting at one.
11946 * record-btrace.c (record_btrace_info): Adjust number of calls
11947 and insns.
11948 * NEWS: Announce it.
11949
11950 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11951
11952 * record-btrace.c (btrace_call_history_insn_range): Print
11953 insn range as [begin, end].
11954
11955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11956
11957 * btrace.h (struct btrace_func_link): New.
11958 (enum btrace_function_flag): New.
11959 (struct btrace_inst): Rename to ...
11960 (struct btrace_insn): ...this. Update all users.
11961 (struct btrace_func) <ibegin, iend>: Remove.
11962 (struct btrace_func_link): New.
11963 (struct btrace_func): Rename to ...
11964 (struct btrace_function): ...this. Update all users.
11965 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11966 (number, level, flags>: New.
11967 (struct btrace_insn_iterator): Rename to ...
11968 (struct btrace_insn_history): ...this.
11969 Update all users.
11970 (struct btrace_insn_iterator, btrace_call_iterator): New.
11971 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11972 (struct btrace_target_info) <begin, end, level>
11973 <insn_history, call_history>: New.
11974 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11975 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11976 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11977 (btrace_call_number, btrace_call_begin, btrace_call_end)
11978 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11979 (btrace_find_function_by_number, btrace_set_insn_history)
11980 (btrace_set_call_history): New.
11981 * btrace.c (btrace_init_insn_iterator)
11982 (btrace_init_func_iterator, compute_itrace): Remove.
11983 (ftrace_print_function_name, ftrace_print_filename)
11984 (ftrace_skip_file): Change
11985 parameter to const.
11986 (ftrace_init_func): Remove.
11987 (ftrace_debug): Use new btrace_function fields.
11988 (ftrace_function_switched): Also consider gaining and
11989 losing symbol information).
11990 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11991 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11992 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11993 New.
11994 (ftrace_new_function): Move. Remove debug print.
11995 (ftrace_update_lines, ftrace_update_insns): New.
11996 (ftrace_update_function): Check for call, ret, and jump.
11997 (compute_ftrace): Renamed to ...
11998 (btrace_compute_ftrace): ...this. Rewritten to compute call
11999 stack.
12000 (btrace_fetch, btrace_clear): Updated.
12001 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12002 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12003 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12004 (btrace_call_number, btrace_call_begin, btrace_call_end)
12005 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12006 (btrace_find_function_by_number, btrace_set_insn_history)
12007 (btrace_set_call_history): New.
12008 * record-btrace.c (require_btrace): Use new btrace thread
12009 info fields.
12010 (record_btrace_info, btrace_insn_history)
12011 (record_btrace_insn_history, record_btrace_insn_history_range):
12012 Use new btrace thread info fields and new iterator.
12013 (btrace_func_history_src_line): Rename to ...
12014 (btrace_call_history_src_line): ...this. Use new btrace
12015 thread info fields.
12016 (btrace_func_history): Rename to ...
12017 (btrace_call_history): ...this. Use new btrace thread info
12018 fields and new iterator.
12019 (record_btrace_call_history, record_btrace_call_history_range):
12020 Use new btrace thread info fields and new iterator.
12021
12022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12023
12024 * frame.h (frame_id_build_unavailable_stack_special): New.
12025 * frame.c (frame_id_build_unavailable_stack_special): New.
12026
12027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12028
12029 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12030 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12031 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12032 to gdbarch.
12033 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12034 (i386_insn_is_jump, i386_jmp_p): New.
12035 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12036 insn_is_jump to gdbarch.
12037 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12038 * gdbarch.h: Regenerated.
12039 * gdbarch.c: Regenerated.
12040 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12041 (default_insn_is_jump): New.
12042 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12043 (default_insn_is_jump): New.
12044
12045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12046
12047 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12048 Change to ...
12049 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12050 (btrace_read_type) <btrace_read_new>: Change to ...
12051 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12052
12053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12054
12055 * common/linux-btrace.c (linux_read_btrace): Free trace from
12056 previous iteration.
12057
12058 2014-01-15 Doug Evans <dje@google.com>
12059
12060 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12061 uint32_t.
12062
12063 2014-01-15 Tom Tromey <tromey@redhat.com>
12064
12065 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12066 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12067 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12068 (set_objfile_main_name): New function.
12069 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12070 language_of_main>: New fields.
12071 (set_objfile_main_name): Declare.
12072 * symtab.c (find_main_name): Loop over objfiles to find the main
12073 name and language.
12074 (set_main_name): Now static.
12075 (get_main_info): Add comment.
12076 * symtab.h (set_main_name): Don't declare.
12077
12078 2014-01-15 Tom Tromey <tromey@redhat.com>
12079
12080 * symtab.c (main_progspace_key): New global.
12081 (struct main_info): New.
12082 (name_of_main, language_of_main): Remove.
12083 (get_main_info, main_info_cleanup): New function.
12084 (set_main_name, main_name, main_language): Use get_main_info.
12085 (_initialize_symtab): Initialize main_progspace_key.
12086
12087 2014-01-15 Tom Tromey <tromey@redhat.com>
12088
12089 * dbxread.c (process_one_symbol): Update.
12090 * dwarf2read.c (read_partial_die): Update.
12091 * symfile.c (set_initial_language): Call main_language.
12092 * symtab.c (language_of_main): Now static.
12093 (set_main_name): Add 'lang' parameter.
12094 (find_main_name): Update.
12095 (main_language): New function.
12096 (symtab_observer_executable_changed): Update.
12097 * symtab.h (set_main_name): Update.
12098 (language_of_main): Remove.
12099 (main_language): Declare.
12100
12101 2014-01-15 Tom Tromey <tromey@redhat.com>
12102
12103 * symfile.c (init_entry_point_info): Use new "initialized" field.
12104 Update.
12105 * objfiles.h (struct entry_point) <initialized>: New field.
12106 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12107 (struct objfile) <ei>: ...here. Remove.
12108 * objfiles.c (entry_point_address_query): Update.
12109
12110 2014-01-15 Tom Tromey <tromey@redhat.com>
12111
12112 * objfiles.c (entry_point_address_query): Relocate entry point
12113 address.
12114 (objfile_relocate1): Do not relocate entry point address.
12115 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12116 <the_bfd_section_index>: New field.
12117 * symfile.c (init_entry_point_info): Find the entry point's
12118 section.
12119
12120 2014-01-15 Tom Tromey <tromey@redhat.com>
12121
12122 * solib-frv.c (enable_break): Use entry_point_address_query.
12123
12124 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12125
12126 * NEWS: Add note on improved process record-replay on
12127 arm*-linux* targets.
12128
12129 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12130
12131 * arm-tdep.c (enum arm_record_result): New enum.
12132 (arm_record_unsupported_insn): New function.
12133 (arm_record_coproc_data_proc): Removed.
12134 (thumb2_record_ld_st_multiple): New function.
12135 (thumb2_record_ld_st_dual_ex_tbb): New function.
12136 (thumb2_record_data_proc_sreg_mimm): New function.
12137 (thumb2_record_ps_dest_generic): New function.
12138 (thumb2_record_branch_misc_cntrl): New function.
12139 (thumb2_record_str_single_data): New function.
12140 (thumb2_record_ld_mem_hints): New function.
12141 (thumb2_record_ld_word): New function.
12142 (thumb2_record_lmul_lmla_div): New function.
12143 (thumb2_record_decode_insn_handler): New function.
12144 (decode_insn): Add thumb32 instruction handlers.
12145
12146 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12147
12148 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12149 (struct arm_linux_record_tdep): Declare.
12150 (arm_canonicalize_syscall): New function.
12151 (arm_all_but_pc_registers_record): New function.
12152 (arm_linux_syscall_record): New function.
12153 (arm_linux_init_abi): Add syscall recording constructs.
12154 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12155 decoding. (arm_record_coproc_data_proc): Update arm syscall
12156 decoding.
12157 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12158 <arm_syscall_record>: New field.
12159 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12160 gdb_target_obs.
12161
12162 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12163
12164 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12165 register for push instruction recording.
12166
12167 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12168
12169 * arm-tdep.c (thumb_record_misc): Update to correct logical
12170 error while recording ldm, ldmia and pop instructions.
12171
12172 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12173
12174 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12175
12176 2014-01-15 Pedro Alves <palves@redhat.com>
12177
12178 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12179 (go32_resume, go32_fetch_registers, store_register)
12180 (go32_store_registers, go32_prepare_to_store)
12181 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12182 (go32_create_inferior, go32_can_run, go32_terminal_init)
12183 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12184 declarations.
12185
12186 2014-01-15 Tom Tromey <tromey@redhat.com>
12187
12188 * target.h (async_callback_ftype): New typedef.
12189 (struct target_ops) <to_async>: Use it.
12190
12191 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12192
12193 * python/py-value.c (get_field_type): Remove unnecessary curly
12194 braces for single-statement if block.
12195
12196 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12197
12198 * python/py-type.c (convert_field): Add missing empty line
12199 after declarations.
12200
12201 2014-01-14 Doug Evans <dje@google.com>
12202
12203 * symfile.h (expand_symtabs_matching): Renamed from
12204 expand_partial_symbol_names. Update prototype.
12205 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12206 * symfile.c (expand_symtabs_matching): Renamed from
12207 expand_partial_symbol_names. New args file_matcher, kind.
12208 Rename arg fun to symbol_matcher.
12209 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12210 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12211 ada_expand_partial_symbol_name.
12212 (ada_make_symbol_completion_list): Update to call
12213 expand_symtabs_matching.
12214 (ada_add_global_exceptions): Call expand_symtabs_matching.
12215 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12216 call map_symbol_filenames.
12217 * symtab.c (sources_info): Update to call map_symbol_filenames.
12218 (search_symbols): Call expand_symtabs_matching.
12219 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12220 (default_make_symbol_completion_list_break_on): Update to call
12221 expand_symtabs_matching.
12222 (make_source_files_completion_list): Update to call
12223 map_symbol_filenames.
12224
12225 2014-01-14 Doug Evans <dje@google.com>
12226
12227 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12228 (expand_symtabs_symbol_matcher_ftype): New typedef.
12229 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12230 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12231 * symfile.c (expand_partial_symbol_names): Update to use
12232 expand_symtabs_symbol_matcher_ftype.
12233 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12234 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12235 Arg name_matcher renamed to symbol_matcher.
12236 * psymtab.c (recursively_search_psymtabs): Update to use
12237 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12238 sym_matcher.
12239 (expand_symtabs_matching_via_partial): Update to use
12240 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12241 Arg name_matcher renamed to symbol_matcher.
12242
12243 2014-01-14 Doug Evans <dje@google.com>
12244
12245 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12246 (map_partial_symbol_filenames): Ditto.
12247 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12248 (map_partial_symbol_filenames): Ditto.
12249 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12250 (map_partial_symbol_filenames): Ditto.
12251 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12252 (map_partial_symbol_filenames): Ditto.
12253 * symtab.c: Delete #include "psymtab.h".
12254
12255 2014-01-14 Pedro Alves <palves@redhat.com>
12256 Tom Tromey <tromey@redhat.com>
12257
12258 * infrun.c (use_displaced_stepping): Use find_record_target
12259 instead of RECORD_IS_USED.
12260 (adjust_pc_after_break): Use record_full_is_used instead of
12261 RECORD_IS_USED.
12262 * record-btrace.c (record_btrace_open): Call record_preopen
12263 instead of checking RECORD_IS_USED.
12264 * record-full.c (record_full_shortname)
12265 (record_full_core_shortname): New globals.
12266 (record_full_is_used): New function.
12267 (find_full_open): Call record_preopen instead of checking
12268 RECORD_IS_USED.
12269 (init_record_full_ops): Set the target's shortname to
12270 record_full_shortname.
12271 (init_record_full_core_ops): Set the target's shortname to
12272 record_full_core_shortname.
12273 * record-full.h (record_full_is_used): Declare.
12274 * record.c (find_record_target): Make extern.
12275 (record_preopen): New function.
12276 * record.h (RECORD_IS_USED): Delete macro.
12277 (find_record_target, record_preopen): Declare functions.
12278
12279 2014-01-14 Yao Qi <yao@codesourcery.com>
12280
12281 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12282 'len''s type to ULONGEST.
12283 (core_xfer_shared_libraries_aix): Likewise.
12284 * gdbarch.c, gdbarch.h: Regenerated.
12285 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12286 Change type of 'len' to ULONGEST.
12287 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12288 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12289
12290 2014-01-14 Yao Qi <yao@codesourcery.com>
12291
12292 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12293 type of 'len' to ULONGEST.
12294 (linux_xfer_osdata_processgroups): Likewise.
12295 (linux_xfer_osdata_threads): Likewise.
12296 (linux_xfer_osdata_fds): Likewise.
12297 (linux_xfer_osdata_isockets): Likewise.
12298 (linux_xfer_osdata_shm): Likewise.
12299 (linux_xfer_osdata_sem): Likewise.
12300 (linux_xfer_osdata_msg): Likewise.
12301 (linux_common_xfer_osdata): Likewise.
12302 (struct osdata_type) <getter>: Likewise.
12303 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12304 the declaration.
12305
12306 2014-01-14 Yao Qi <yao@codesourcery.com>
12307
12308 * target.h (target_xfer_partial_ftype): Update.
12309 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12310 ULONGEST.
12311 * aix-thread.c (aix_thread_xfer_partial): Change type of
12312 argument 'len' to ULONGEST.
12313 * auxv.c (procfs_xfer_auxv): Likewise.
12314 (ld_so_xfer_auxv): Likewise.
12315 (memory_xfer_auxv): Likewise.
12316 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12317 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12318 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12319 * corelow.c (core_xfer_partial): Likewise.
12320 * ctf.c (ctf_xfer_partial): Likewise.
12321 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12322 '%u'.
12323 (darwin_read_dyld_info): Likewise.
12324 (darwin_xfer_partial): Likewise.
12325 * exec.c (section_table_xfer_memory_partial): Likewise.
12326 (exec_xfer_partial): Likewise.
12327 * exec.h (section_table_xfer_memory_partial): Update
12328 declaration.
12329 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12330 instead of plongest.
12331 (gnu_xfer_partial): Likewise.
12332 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12333 (ia64_hpux_xfer_solib_got): Likewise.
12334 (ia64_hpux_xfer_partial): Likewise.
12335 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12336 * inf-ptrace.c (inf_ptrace_xfer_partial):
12337 * inf-ttrace.c (inf_ttrace_xfer_partial):
12338 * linux-nat.c (linux_xfer_siginfo): Likewise.
12339 (linux_nat_xfer_partial): Likewise.
12340 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12341 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12342 * monitor.c (monitor_xfer_memory): Likewise.
12343 (monitor_xfer_partial): Likewise.
12344 * procfs.c (procfs_xfer_partial): Likewise.
12345 * record-full.c (record_full_xfer_partial): Likewise.
12346 (record_full_core_xfer_partial): Likewise.
12347 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12348 instead of plongest.
12349 (gdbsim_xfer_partial): Likewise.
12350 * remote.c (remote_xfer_partial): Likewise.
12351 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12352 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12353 declaration.
12354 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12355 (rs6000_xfer_shared_libraries): Likewise.
12356 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12357 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12358 (sparc_xfer_partial): Likewise.
12359 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12360 (spu_xfer_partial): Likewise.
12361 * spu-multiarch.c (spu_xfer_partial): Likewise.
12362 * target.c (target_read_live_memory): Likewise.
12363 (memory_xfer_live_readonly_partial): Likewise.
12364 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12365 (target_xfer_partial, default_xfer_partial): Likewise.
12366 (current_xfer_partial): Likewise.
12367 * tracepoint.c (tfile_xfer_partial): Likewise.
12368 * windows-nat.c (windows_xfer_memory): Likewise. Call
12369 pulongest instead of plongest.
12370 (windows_xfer_partial): Likewise.
12371 (windows_xfer_shared_libraries): Likewise.
12372
12373 2014-01-14 Yao Qi <yao@codesourcery.com>
12374
12375 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12376 target_xfer_partial_ftype.
12377
12378 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12379
12380 PR python/15464
12381 PR python/16113
12382 * valops.c (value_struct_elt_bitpos): New function
12383 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12384 object to 'None' if the field name is an empty string ("").
12385 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12386 attribute to look for a field when 'name' is 'None'.
12387 (get_field_type): New function
12388
12389 2014-01-13 Doug Evans <dje@google.com>
12390
12391 PR symtab/16426
12392 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12393 (try_open_dwop_file): Ditto.
12394 * gdb_bfd.c: #include "vec.h".
12395 (bfdp): New typedef.
12396 (struct gdb_bfd_data): New member included_bfds.
12397 (gdb_bfd_unref): Unref all included bfds.
12398 (gdb_bfd_record_inclusion): New function.
12399 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12400
12401 2014-01-13 Tom Tromey <tromey@redhat.com>
12402
12403 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12404
12405 2014-01-13 Tom Tromey <tromey@redhat.com>
12406
12407 * defs.h (use_windows): Remove.
12408 * gdb.c (main): Update.
12409 * main.c (captured_main, gdb_main): Update.
12410 * main.h (struct captured_main_args) <use_windows>: Remove.
12411 * top.c (use_windows): Remove.
12412
12413 2014-01-13 Tom Tromey <tromey@redhat.com>
12414
12415 * defs.h (deprecated_flush_hook): Remove.
12416
12417 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12418
12419 PR threads/16216
12420 * linux-thread-db.c (try_thread_db_load): Add parameter
12421 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12422 (try_thread_db_load_from_pdir_1): Move it there from here.
12423 (try_thread_db_load_from_sdir): Update caller.
12424 (try_thread_db_load_from_dir): Move it there from here.
12425
12426 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12427
12428 * regformats/regdat.sh: Always rewrite the register file.
12429
12430 2014-01-13 Pedro Alves <palves@redhat.com>
12431
12432 * Makefile.in (CHECK_HEADERS): New variable.
12433 (check-headers:): New rule.
12434
12435 2014-01-13 Tom Tromey <tromey@redhat.com>
12436
12437 * cli/cli-setshow.c (do_set_command): Update.
12438 * defs.h (deprecated_set_hook): Remove.
12439 * top.c (deprecated_set_hook): Remove.
12440
12441 2014-01-13 Pedro Alves <palves@redhat.com>
12442
12443 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12444 the tracepoint if the PC is a pseudo-register.
12445
12446 2014-01-13 Tom Tromey <tromey@redhat.com>
12447
12448 * defs.h (XCALLOC): Remove.
12449 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12450 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12451 * dwarf2loc.c (allocate_piece_closure): Likewise.
12452 * elfread.c (elf_symfile_segments): Likewise.
12453 (elf_symfile_segments): Likewise.
12454 * gdbtypes.c (copy_type_recursive): Likewise.
12455 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12456 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12457 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12458 XCALLOC.
12459 * mt-tdep.c (mt_gdbarch_init): Likewise.
12460 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12461 XCALLOC.
12462 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12463 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12464 * registry.c (registry_alloc_data): Likewise.
12465 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12466 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12467 * serial.c (serial_fdopen_ops): Likewise.
12468 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12469 XCALLOC.
12470 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12471 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12472 not XCALLOC.
12473
12474 2014-01-13 Tom Tromey <tromey@redhat.com>
12475
12476 * defs.h (XMALLOC): Remove.
12477 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12478 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12479 * cli-out.c (struct ui_out *): Likewise.
12480 * cli/cli-dump.c (add_dump_command): Likewise.
12481 (add_dump_command): Likewise.
12482 * complaints.c (get_complaints): Likewise.
12483 (find_complaint): Likewise.
12484 * dwarf2-frame.c (execute_cfa_program): Likewise.
12485 * dwarf2read.c (abbrev_table_read_table): Likewise.
12486 * gdbarch.sh: Likewise.
12487 * gdbarch.c: Rebuild.
12488 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12489 * interps.c (interp_new): Likewise.
12490 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12491 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12492 * mi/mi-console.c (mi_console_file_new): Likewise.
12493 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12494 * mi/mi-out.c (mi_out_new): Likewise.
12495 * mi/mi-parse.c (mi_parse): Likewise.
12496 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12497 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12498 * observer.c (xalloc_observer_list_node): Likewise.
12499 * regcache.c (regcache_xmalloc_1): Likewise.
12500 * reggroups.c (reggroup_new): Likewise.
12501 (_initialize_reggroup): Likewise.
12502 * registry.c (register_data_with_cleanup): Likewise.
12503 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12504 * ser-base.c (serial_ttystate): Likewise.
12505 * ser-mingw.c (make_pipe_state): Likewise.
12506 * ser-pipe.c (pipe_open): Likewise.
12507 * serial.c (serial_open): Likewise.
12508 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12509 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12510 (tui_alloc_win_info): Likewise.
12511 (tui_add_content_elements): Likewise.
12512 * tui/tui-file.c (tui_file_new): Likewise.
12513 * tui/tui-out.c (tui_out_new): Likewise.
12514 * ui-file.c (mem_file_new): Likewise.
12515 * ui-out.c (push_level): Likewise.
12516 (make_cleanup_ui_out_end): Likewise.
12517 (append_header_to_list): Likewise.
12518 (ui_out_new): Likewise.
12519 * user-regs.c (user_reg_add_builtin): Likewise.
12520
12521 2014-01-13 Tom Tromey <tromey@redhat.com>
12522
12523 * defs.h (XZALLOC): Remove.
12524 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12525 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12526 (get_ada_tasks_inferior_data): Likewise.
12527 * auto-load.c (get_auto_load_pspace_data): Likewise.
12528 * auxv.c (get_auxv_inferior_data): Likewise.
12529 * bfd-target.c (target_bfd_reopen): Likewise.
12530 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12531 (deprecated_insert_raw_breakpoint): Likewise.
12532 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12533 * corelow.c (core_open): Likewise.
12534 * darwin-nat.c (darwin_check_new_threads): Likewise.
12535 (darwin_attach_pid): Likewise.
12536 * dummy-frame.c (dummy_frame_push): Likewise.
12537 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12538 * dwarf2loc.c (allocate_piece_closure): Likewise.
12539 * elfread.c (elf_symfile_segments): Likewise.
12540 * eval.c (ptrmath_type_p): Likewise.
12541 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12542 * gdbtypes.c (alloc_type_arch): Likewise.
12543 (alloc_type_instance): Likewise.
12544 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12545 * inf-child.c (inf_child_can_use_agent): Likewise.
12546 * inflow.c (get_inflow_inferior_data): Likewise.
12547 * infrun.c (save_infcall_suspend_state): Likewise.
12548 * jit.c (jit_reader_load): Likewise.
12549 (get_jit_objfile_data): Likewise.
12550 (get_jit_program_space_data): Likewise.
12551 (jit_object_open_impl): Likewise.
12552 (jit_symtab_open_impl): Likewise.
12553 (jit_block_open_impl): Likewise.
12554 (jit_frame_sniffer): Likewise.
12555 * linux-fork.c (add_fork): Likewise.
12556 * maint.c (make_command_stats_cleanup): Likewise.
12557 * objfiles.c (get_objfile_pspace_data): Likewise.
12558 * opencl-lang.c (struct lval_closure): Likewise.
12559 * osdata.c (osdata_start_osdata): Likewise.
12560 * progspace.c (new_address_space): Likewise.
12561 (add_program_space): Likewise.
12562 * remote-sim.c (get_sim_inferior_data): Likewise.
12563 * sh-tdep.c (sh_gdbarch_init): Likewise.
12564 * skip.c (Ignore): Likewise.
12565 (skip_delete_command): Likewise.
12566 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12567 (library_list_start_library): Likewise.
12568 (solib_aix_current_sos): Likewise.
12569 * solib-darwin.c (get_darwin_info): Likewise.
12570 (darwin_current_sos): Likewise.
12571 * solib-dsbt.c (get_dsbt_info): Likewise.
12572 * solib-ia64-hpux.c (new_so_list): Likewise.
12573 (ia64_hpux_get_solib_linkage_addr): Likewise.
12574 * solib-spu.c (append_ocl_sos): Likewise.
12575 (spu_current_sos): Likewise.
12576 * solib-svr4.c (get_svr4_info): Likewise.
12577 (svr4_keep_data_in_core): Likewise.
12578 (library_list_start_library): Likewise.
12579 (svr4_default_sos): Likewise.
12580 (svr4_read_so_list): Likewise.
12581 * solib-target.c (library_list_start_library): Likewise.
12582 (solib_target_current_sos): Likewise.
12583 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12584 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12585 * symfile.c (default_symfile_segments): Likewise.
12586 * target-descriptions.c (tdesc_data_init): Likewise.
12587 (tdesc_create_reg): Likewise.
12588 (struct tdesc_type *): Likewise.
12589 (tdesc_create_vector): Likewise.
12590 (tdesc_set_struct_size): Likewise.
12591 (struct tdesc_type *): Likewise.
12592 (tdesc_free_feature): Likewise.
12593 (tdesc_create_feature): Likewise.
12594 * windows-nat.c (windows_add_thread): Likewise.
12595 (windows_make_so): Likewise.
12596 * xml-support.c (gdb_xml_body_text): Likewise.
12597 (gdb_xml_create_parser_and_cleanup): Likewise.
12598 (xml_process_xincludes): Likewise.
12599 * xml-syscall.c (allocate_syscalls_info): Likewise.
12600 (syscall_create_syscall_desc): Likewise.
12601
12602 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12603
12604 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12605 function, with code from i386_stap_parse_special_token.
12606 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12607 (i386_stap_parse_special_token): Move code to the two functions
12608 above; simplify it.
12609
12610 2014-01-09 Pedro Alves <palves@redhat.com>
12611 Hui Zhu <hui@codesourcery.com>
12612
12613 PR gdb/16101
12614 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12615 bp_err_string. Don't mark the location shlib_disabled if the
12616 error thrown wasn't a generic or memory error. Catch errors
12617 thrown while inserting breakpoints in overlayed code. Output
12618 error message of software breakpoints.
12619 * remote.c (remote_insert_breakpoint): If this breakpoint has
12620 target-side commands but this stub doesn't support Z0 packets,
12621 throw NOT_SUPPORTED_ERROR error.
12622 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12623 * target.h (target_insert_breakpoint): Extend comment.
12624 (target_insert_hw_breakpoint): Add comment.
12625
12626 2014-01-08 Pedro Alves <palves@redhat.com>
12627
12628 * remote.c (remote_add_thread): Add threads silently if starting
12629 up.
12630 (remote_notice_new_inferior): If in all-stop, and starting up,
12631 don't call notice_new_inferior.
12632 (get_current_thread): New function, factored out from ...
12633 (add_current_inferior_and_thread): ... this. Adjust.
12634 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12635 found any thread, then select the remote's current thread as GDB's
12636 current thread too.
12637
12638 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12639
12640 * NEWS: Create a new section for the next release branch.
12641 Rename the section of the current branch, now that it has
12642 been cut.
12643
12644 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12645
12646 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12647 * version.in: Bump version to 7.7.50.DATE-cvs.
12648
12649 2014-01-08 Yao Qi <yao@codesourcery.com>
12650
12651 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12652 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12653 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12654
12655 2014-01-08 Yao Qi <yao@codesourcery.com>
12656
12657 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12658 return value of bfd_get_filename to symbol_file_add_from_bfd.
12659
12660 2014-01-08 Pierre Muller <muller@sourceware.org>
12661
12662 Fix PR16201.
12663 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12664 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12665 to prim_record_mininal_symbol_and_info.
12666 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12667 in call to prim_record_minimal_symbol_and_info.
12668 (read_pe_exported_syms): Set index field of section_data.
12669
12670 2014-01-07 Andrew Pinski <apinski@cavium.com>
12671
12672 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12673 * features/aarch64.c: Regenerate.
12674
12675 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12676
12677 * target.c (return_null): Define.
12678 (update_current_target): Use it instead of return_zero for
12679 functions that return a pointer.
12680
12681 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12682
12683 * source.c (add_path): Fix check for duplicated paths in the previously
12684 included paths.
12685
12686 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12687
12688 * ada-lang.c: Remove duplicated include statements.
12689 * alphabsd-nat.c: Ditto.
12690 * amd64-darwin-tdep.c: Ditto.
12691 * amd64fbsd-nat.c: Ditto.
12692 * auto-load.c: Ditto.
12693 * ax-gdb.c: Ditto.
12694 * breakpoint.c: Ditto.
12695 * dbxread.c: Ditto.
12696 * fork-child.c: Ditto.
12697 * gdb_usleep.c: Ditto.
12698 * i386-darwin-tdep.c: Ditto.
12699 * i386fbsd-nat.c: Ditto.
12700 * infcmd.c: Ditto.
12701 * inferior.c: Ditto.
12702 * jv-lang.c: Ditto.
12703 * linux-nat.c: Ditto.
12704 * linux-tdep.c: Ditto.
12705 * m68kbsd-nat.c: Ditto.
12706 * m68klinux-nat.c: Ditto.
12707 * microblaze-tdep.c: Ditto.
12708 * mips-linux-tdep.c: Ditto.
12709 * mn10300-tdep.c: Ditto.
12710 * nto-tdep.c: Ditto.
12711 * opencl-lang.c: Ditto.
12712 * osdata.c: Ditto.
12713 * printcmd.c: Ditto.
12714 * regcache.c: Ditto.
12715 * remote-m32r-sdi.c: Ditto.
12716 * remote.c: Ditto.
12717 * symfile.c: Ditto.
12718 * symtab.c: Ditto.
12719 * tilegx-linux-nat.c: Ditto.
12720 * tilegx-tdep.c: Ditto.
12721 * tracepoint.c: Ditto.
12722 * valops.c: Ditto.
12723 * vaxbsd-nat.c: Ditto.
12724 * windows-nat.c: Ditto.
12725 * xtensa-tdep.c: Ditto.
12726
12727 2014-01-07 Yao Qi <yao@codesourcery.com>
12728
12729 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12730
12731 2014-01-07 Yao Qi <yao@codesourcery.com>
12732 Joel Brobecker <brobecker@adacore.com>
12733
12734 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12735 (pdc_write_regs): Likewise.
12736 (fetch_regs_kernel_thread): Likewise.
12737 (store_regs_kernel_thread): Likewise.
12738
12739 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12740
12741 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12742 tagged type objects to their actual type.
12743
12744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12745
12746 * ada-valprint.c (print_field_values): Add "language" parameter.
12747 Update calls to print_field_values and print_variant_part.
12748 Pass new parameter "language" in call to val_print instead
12749 of "current_language". Replace call to ada_val_print by call
12750 to val_print.
12751 (print_variant_part): Add "language" parameter.
12752 (ada_val_print_struct_union): Update call to print_field_values.
12753
12754 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12755
12756 * ada-valprint.c (ui_memcpy): Delete.
12757 (ada_print_floating): Update documentation. Add empty line
12758 between between function documentation and implementation.
12759 Delete variable "buffer". Use ui_file_xstrdup in place of
12760 ui_file_put. Minor adjustments following this change.
12761
12762 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12763
12764 * ada-valprint.c (ada_val_print_string): New function,
12765 extracted from ada_val_print_array.
12766 (ada_val_print_array): Replace extracted code by call
12767 to ada_val_print_string followed by a return. Move
12768 "else" branch to the function's top block.
12769
12770 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12771
12772 * ada-valprint.c (ada_val_print_array): Move implementation
12773 down. Rename parameter "offset" and "val" into "offset_aligned"
12774 and "original_value" respectively. Add parameter "offset".
12775
12776 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12777
12778 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12779 re-organizing the code. Change the "???" message printed
12780 when target type is a TYPE_CODE_UNDEF into
12781 "<ref to undefined type>".
12782
12783 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12784
12785 * ada-valprint.c (print_record): Delete, implementation inlined...
12786 (ada_val_print_struct_union): ... here. Remove call to
12787 ada_check_typedef in inlined implementation.
12788
12789 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12790
12791 * ada-valprint.c (ada_val_print_gnat_array): New function,
12792 extracted from ada_val_print_1;
12793 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12794 (ada_val_print_flt, ada_val_print_struct_union)
12795 (ada_val_print_ref): Likewise.
12796 (ada_val_print_1): Delete variables i and elttype.
12797 Replace extracted-out code by call to corresponding
12798 new functions.
12799
12800 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12801
12802 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12803
12804 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12805
12806 * ada-valprint.c (ada_val_print_1): Replace calls to
12807 ada_val_print_1 by calls to val_print.
12808
12809 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12810
12811 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12812 Update calls to self accordingly. Replace calls to c_val_print
12813 by calls to val_print.
12814
12815 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12816
12817 * ada-valprint.c (print_record): Delete declaration.
12818 (adjust_type_signedness, ada_val_print_1): Likewise.
12819 (ada_val_print): Move function implementation down.
12820 (print_variant_part, print_field_values, print_record):
12821 Move function implementation up.
12822
12823 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12824
12825 * python/py-type.c (typy_get_name): New function.
12826 (type_object_getset): Add entry for attribute "name".
12827 * NEWS: Add entry mentioning this new attribute.
12828
12829 2014-01-07 Yao Qi <yao@codesourcery.com>
12830
12831 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12832 statement.
12833
12834 2014-01-07 Yao Qi <yao@codesourcery.com>
12835
12836 * gnu-nat.c (info_port_rights): Add qualifier const to
12837 argument args.
12838
12839 2014-01-07 Yao Qi <yao@codesourcery.com>
12840
12841 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12842
12843 2014-01-07 Yao Qi <yao@codesourcery.com>
12844
12845 * gnu-nat.c (make_inf) Update declaration.
12846 (make_inf): Make it static.
12847 (inf_set_traced): Likewise.
12848 (inf_port_to_thread, inf_task_died_status): Likewise.
12849
12850 2014-01-07 Yao Qi <yao@codesourcery.com>
12851
12852 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12853
12854 2014-01-07 Yao Qi <yao@codesourcery.com>
12855
12856 * gnu-nat.c (_initialize_gnu_nat): Declare.
12857
12858 2014-01-07 Yao Qi <yao@codesourcery.com>
12859
12860 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12861 'enum bfd_endian'.
12862 (struct gdbarch_info) <byte_order>: Change type to
12863 'enum bfd_endian'.
12864 <byte_order_for_code>: Likewise.
12865 * gdbarch.c, gdbarch.h: Regenerated.
12866
12867 2014-01-06 Sasha Smundak <asmundak@google.com>
12868
12869 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12870
12871 2014-01-06 Tom Tromey <tromey@redhat.com>
12872
12873 * doublest.c (convert_doublest_to_floatformat): Use const, not
12874 CONST.
12875 * somread.c (som_symtab_read): Likewise.
12876
12877 2014-01-07 Hui Zhu <hui@codesourcery.com>
12878
12879 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12880 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12881 (gdb_bfd_fopen): Ditto.
12882 (gdb_bfd_openr): Ditto.
12883 (gdb_bfd_openw): Ditto.
12884 (gdb_bfd_openr_iovec): Ditto.
12885 (gdb_bfd_fdopenr): Ditto.
12886 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12887 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12888 with xstrdup.
12889 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12890 with xstrdup.
12891 * symfile-mem.c (symbol_file_add_from_memory): Removed
12892 gdb_bfd_stash_filename.
12893
12894 2014-01-03 Doug Evans <dje@google.com>
12895
12896 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12897 output.
12898
12899 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12900
12901 Update year range in copyright notice of all files.
12902
12903 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12904
12905 * top.c (print_gdb_version): Set copyright year to 2014.
12906
12907 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12908
12909 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12910
12911 For older changes see ChangeLog-2013.
12912 \f
12913 Local Variables:
12914 mode: change-log
12915 left-margin: 8
12916 fill-column: 74
12917 version-control: never
12918 coding: utf-8
12919 End: