New command queue-signal.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-09-13 Doug Evans <xdje42@gmail.com>
2
3 * NEWS: Mention new "queue-signal" command.
4 * infcmd.c (queue_signal_command): New function.
5 (_initialize_infcmd): Add new queue-signal command.
6
7 2014-09-13 Doug Evans <xdje42@gmail.com>
8
9 * linux-nat.c (wait_lwp): Add debugging printf.
10 (linux_nat_wait_1): Ditto.
11
12 2014-09-12 Pedro Alves <palves@redhat.com>
13
14 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
15 (create_and_insert_solib_event_breakpoint): New functions.
16 * breakpoint.h (create_and_insert_solib_event_breakpoint)
17 (remove_solib_event_breakpoints_at_next_stop): New declarations.
18 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
19 (remove_dbx_link_breakpoint): Delete function.
20 (insert_dbx_link_bpt_in_file): Use
21 create_and_insert_solib_event_breakpoint instead of
22 deprecated_insert_raw_breakpoint.
23 (procfs_wait): Don't check whether we hit __dbx_link here.
24 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
25 here.
26 * solib-irix.c (base_breakpoint): Delete global.
27 (disable_break): Delete function.
28 (enable_break): Use create_solib_event_breakpoint
29 instead of deprecated_insert_raw_breakpoint.
30 (irix_solib_handle_event): New function.
31 (irix_solib_create_inferior_hook): Don't run the target or disable
32 the mapping-complete breakpoint here.
33 (_initialize_irix_solib): Install irix_solib_handle_event as
34 so_ops->handle_event hook.
35
36 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
37 Ulrich Weigand  <uweigand@de.ibm.com>
38
39 PR tdep/17379
40 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
41 instead of read_memory_unsigned_integer.
42
43 2014-09-12 Gary Benson <gbenson@redhat.com>
44
45 * nat/linux-waitpid.c: Include common-defs.h.
46 [GDBSERVER]: Add FIXME comment.
47 [!GDBSERVER]: Don't include defs.h or signal.h.
48 (linux_debug) [!GDBSERVER]: Remove empty block.
49
50 2014-09-12 Gary Benson <gbenson@redhat.com>
51
52 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
53 Don't include defs.h or server.h.
54
55 2014-09-12 Gary Benson <gbenson@redhat.com>
56
57 * nat/linux-btrace.c: Include common-defs.h.
58 Don't include defs.h, server.h or gdbthread.h.
59 * nat/linux-btrace.h (struct target_ops): New forward declaration.
60
61 2014-09-12 Gary Benson <gbenson@redhat.com>
62
63 * common/agent.c: Include common-defs.h.
64 Don't include defs.h or server.h.
65 * common/buffer.c: Likewise.
66 * common/common-debug.c: Likewise.
67 * common/common-utils.c: Likewise.
68 * common/errors.c: Likewise.
69 * common/filestuff.c: Likewise.
70 * common/format.c: Likewise.
71 * common/gdb_vecs.c: Likewise.
72 * common/print-utils.c: Likewise.
73 * common/ptid.c: Likewise.
74 * common/rsp-low.c: Likewise.
75 * common/signals.c: Likewise.
76 * common/vec.c: Likewise.
77 * common/xml-utils.c: Likewise.
78 * nat/linux-osdata.c: Likewise.
79 * nat/linux-procfs.c: Likewise.
80 * nat/linux-ptrace.c: Likewise.
81 * nat/mips-linux-watch.c: Likewise.
82 * target/waitstatus.c: Likewise.
83
84 2014-09-12 Tom Tromey <tromey@redhat.com>
85 Gary Benson <gbenson@redhat.com>
86
87 * common/common-regcache.h: New file.
88 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
89 * regcache.h: Include common-regcache.h.
90 (regcache_read_pc): Don't declare.
91 * regcache.c (get_thread_regcache_for_ptid): New function.
92 * nat/linux-btrace.c: Don't include regcache.h.
93 Include common-regcache.h.
94 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
95
96 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
97
98 * regcache.h (struct regset): Declare.
99
100 2014-09-11 Pedro Alves <palves@redhat.com>
101
102 PR gdb/17347
103 * main.c: Include "infrun.h".
104 (catch_command_errors, catch_command_errors_const): Wait for the
105 foreground command to complete.
106 * top.c (maybe_wait_sync_command_done): New function, factored out
107 from ...
108 (maybe_wait_sync_command_done): ... here.
109 * top.h (maybe_wait_sync_command_done): New declaration.
110
111 2014-09-11 Tom Tromey <tromey@redhat.com>
112 Gary Benson <gbenson@redhat.com>
113
114 * common/symbol.h: New file.
115 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
116 * minsyms.c (find_minimal_symbol_address): New function.
117 * common/agent.c: Include common/symbol.h.
118 [!GDBSERVER]: Don't include objfiles.h.
119 (agent_look_up_symbols): Use find_minimal_symbol_address.
120
121 2014-09-11 Gary Benson <gbenson@redhat.com>
122
123 * target/target.h (target_stop_ptid, target_continue_ptid):
124 Declare.
125 * target.c (target_stop_ptid, target_continue_ptid): New
126 functions.
127 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
128 (agent_run_command): Always use target_stop_ptid and
129 target_continue_ptid.
130
131 2014-09-11 Tom Tromey <tromey@redhat.com>
132 Gary Benson <gbenson@redhat.com>
133
134 * target/target.h: New file.
135 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
136 * target.h: Include target/target.h.
137 (target_read_memory, target_write_memory): Don't declare.
138 * target.c (target_read_uint32): New function.
139 * common/agent.c: Include target/target.h.
140 [!GDBSERVER]: Don't include target.h.
141 (helper_thread_id): Type changed to uint32_t.
142 (agent_get_helper_thread_id): Use target_read_uint32.
143 (agent_run_command): Always use target_read_memory and
144 target_write_memory.
145 (agent_capability): Type changed to uint32_t.
146 (agent_capability_check): Use target_read_uint32.
147
148 2014-09-11 Gary Benson <gbenson@redhat.com>
149
150 * common/common-debug.h (show_debug_regs): Declare.
151 * common/common-debug.c (show_debug_regs): Define.
152 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
153 all uses with show_debug_regs. Replace all uses that considered
154 debug_hw_points as a multi-value integer with straight boolean
155 uses.
156 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
157 with show_debug_regs.
158 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
159 all uses with show_debug_regs.
160 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
161 uses with show_debug_regs.
162
163 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
164
165 * findvar.c (address_from_register): Handle targets requiring
166 a special conversion routine even for plain pointer types.
167
168 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
169
170 * rs6000-nat.c (exec_one_dummy_insn): Remove.
171 (store_register): Do not call exec_one_dummy_insn.
172
173 2014-09-10 Joel Brobecker <brobecker@adacore.com>
174
175 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
176 dereference it first. Use value_enclosing_type instead of
177 value_type.
178 (ada_array_length): Likewise.
179
180 2014-09-10 Joel Brobecker <brobecker@adacore.com>
181
182 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
183 Adjust function implementation and documentation accordingly.
184 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
185 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
186 Update call to ada_value_ptr_subscript.
187
188 2014-09-10 Joel Brobecker <brobecker@adacore.com>
189
190 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
191 instead of VAL's type.
192
193 2014-09-10 Joel Brobecker <brobecker@adacore.com>
194
195 * amd64-linux-nat.c: Add <sys/uio.h> #include.
196
197 2014-09-09 Doug Evans <xdje42@gmail.com>
198
199 PR guile/17367
200 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
201 last parameter to pkg-config, not first.
202 * configure.ac: Pass --with-guile provided pkg-config path to
203 GDB_GUILE_PROGRAM_NAMES.
204 * configure: Regenerate.
205
206 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
207
208 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
209 Bertazi".
210
211 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
212
213 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
214 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
215 the list of sections determining GDB_OSABI_IRIX.
216
217 2014-09-09 James Hogan <james.hogan@imgtec.com>
218
219 * MAINTAINERS (Write After Approval): Add "James Hogan".
220
221 2014-09-09 James Hogan <james.hogan@imgtec.com>
222
223 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
224
225 2014-09-09 Joel Brobecker <brobecker@adacore.com>
226
227 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
228
229 2014-09-08 Doug Evans <xdje42@gmail.com>
230
231 PR 17247
232 * guile.c: #include <signal.h>.
233 (_initialize_guile): Block SIGCHLD while initializing Guile.
234
235 Replaces the following, which is reverted.
236
237 2014-07-26 Doug Evans <xdje42@gmail.com>
238
239 PR 17185
240 * configure.ac: Add check for header gc/gc.h.
241 Add check for function setenv.
242 * configure: Regenerate.
243 * config.in: Regenerate.
244 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
245
246 2014-09-08 Doug Evans <xdje42@gmail.com>
247
248 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
249 with named constant. Fix style of pointer comparison.
250 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
251
252 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
253
254 PR gdb/17035
255 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
256 decide whether we display the command on "show user".
257 * cli/cli-script.c (show_user_1): Only verify cmdlines after
258 printing command name.
259 * cli/cli-decode.h (cli_user_command_p): Declare new function.
260 * cli/cli-decode.c (cli_user_command_p): Create helper function
261 to verify whether cmd_list_element is a user-defined command.
262
263 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
264
265 PR python/17355
266 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
267 Fix goto out of TRY_CATCH.
268
269 2014-09-06 Doug Evans <xdje42@gmail.com>
270 Tom Tromey <tromey@redhat.com>
271
272 PR 15276
273 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
274 $_any_caller_matches.
275 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
276 * python/lib/gdb/function/caller_is.py: New file.
277
278 2014-09-06 Doug Evans <xdje42@gmail.com>
279
280 * infcmd.c (program_info): Fix typo.
281
282 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
283
284 PR gdb/17235
285 * stap-probe.c (stap_parse_single_operand): Delete unused variable
286 'number'. New variable 'has_digit'. Rewrite code to deal with
287 subexpressions on SDT probes.
288
289 2014-09-04 Pedro Alves <palves@redhat.com>
290
291 * c-exp.y (parse_number): Skip handling base-switching prefixes if
292 the input is only one character long.
293
294 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
295
296 PR fortran/17237
297 * f-valprint.c (f_val_print): Specify the correct print option to
298 use when printing integer values.
299
300 2014-09-04 Gary Benson <gbenson@redhat.com>
301
302 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
303 Remove code to cope with LWPs wrapped as PIDs.
304 Add assertions to ensure no wrapped LWPs are passed.
305
306 2014-09-04 Pedro Alves <palves@redhat.com>
307
308 * value.c (value_ranges_copy_adjusted): New function, factored out
309 from ...
310 (value_contents_copy_raw): ... here.
311 (unpack_value_bits_as_long_1): Rename back to ...
312 (unpack_bits_as_long): ... this. Remove 'original_value' and
313 'result' parameters. Change return type to LONGEST.
314 (unpack_value_bits_as_long): Delete.
315 (unpack_value_field_as_long_1): Delete.
316 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
317 (unpack_value_bitfield): New function.
318 (value_field_bitfield): Reimplement using unpack_value_bitfield.
319 (value_fetch_lazy): Use unpack_value_bitfield.
320 * value.h (unpack_value_bits_as_long): Delete declaration.
321
322 2014-09-03 Sasha Smundak <asmundak@google.com>
323
324 * python/py-frame.c (frapy_read_register): New function.
325
326 2014-09-03 James Hogan <james.hogan@imgtec.com>
327
328 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
329 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
330
331 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
332
333 PR python/16699
334 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
335 function.
336 (add_cmd): Set "completer_handle_brkchars" to NULL.
337 * cli/cli-decode.h (struct cmd_list_element)
338 <completer_handle_brkchars>: New field.
339 * command.h (completer_ftype_void): New typedef.
340 (set_cmd_completer_handle_brkchars): New prototype.
341 * completer.c (set_gdb_completion_word_break_characters): New
342 function.
343 (complete_line_internal): Call "completer_handle_brkchars"
344 callback from command.
345 * completer.h: Include "command.h".
346 (set_gdb_completion_word_break_characters): New prototype.
347 * python/py-cmd.c (cmdpy_completer_helper): New function.
348 (cmdpy_completer_handle_brkchars): New function.
349 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
350 (cmdpy_init): Set completer_handle_brkchars to
351 cmdpy_completer_handle_brkchars.
352
353 2014-09-03 Gary Benson <gbenson@redhat.com>
354
355 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
356 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
357 Loop conditions changed to equivalent form.
358 (struct x86_debug_reg_state): Updated dr_ref_count comment.
359 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
360 ALL_DEBUG_ADDRESS_REGISTERS.
361
362 2014-09-03 Joel Brobecker <brobecker@adacore.com>
363
364 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
365 description fix.
366
367 2014-09-02 Doug Evans <dje@google.com>
368
369 * typeprint.c (find_global_typedef): Fix comment.
370
371 2014-09-02 Gary Benson <gbenson@redhat.com>
372
373 * i386-nat.h: Renamed as...
374 * x86-nat.h: New file. All type, function and variable name
375 prefixes changed from "i386_" to "x86_". All references updated.
376 * i386-nat.c: Renamed as...
377 * x86-nat.c: New file. All type, function and variable name
378 prefixes changed from "i386_" to "x86_". All references updated.
379 * common/i386-xstate.h: Renamed as...
380 * common/x86-xstate.h: New file. All type, function and variable
381 name prefixes changed from "i386_" to "x86_". All references
382 updated.
383 * nat/i386-cpuid.h: Renamed as...
384 * nat/x86-cpuid.h: New file. All type, function and variable name
385 prefixes changed from "i386_" to "x86_". All references updated.
386 * nat/i386-gcc-cpuid.h: Renamed as...
387 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
388 name prefixes changed from "i386_" to "x86_". All references
389 updated.
390 * nat/i386-dregs.h: Renamed as...
391 * nat/x86-dregs.h: New file. All type, function and variable name
392 prefixes changed from "i386_" to "x86_". All references updated.
393 * nat/i386-dregs.c: Renamed as...
394 * nat/x86-dregs.c: New file. All type, function and variable name
395 prefixes changed from "i386_" to "x86_". All references updated.
396
397 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
398
399 * varobj.c (_initialize_varobj): Move to the end of file.
400
401 2014-08-29 Gary Benson <gbenson@redhat.com>
402
403 * common/common-exceptions.h: New file.
404 * common/common-exceptions.c: Likewise.
405 * Makefile.in (SFILES): Add common/common-exceptions.c.
406 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
407 (COMMON_OBS): Add common-exceptions.o.
408 (common-exceptions.o): New rule.
409 * exceptions.h (common-exceptions.h): Include.
410 (gdb_setjmp.h): Do not include.
411 (return_reason): Moved to common-exceptions.h.
412 (enum return_reason): Likewise.
413 (RETURN_MASK): Likewise.
414 (typedef return_mask): Likewise.
415 (enum errors): Likewise.
416 (struct gdb_exception): Likewise.
417 (exceptions_state_mc_init): Likewise.
418 (exceptions_state_mc_action_iter): Likewise.
419 (exceptions_state_mc_action_iter_1): Likewise.
420 (TRY_CATCH): Likewise.
421 (throw_exception): Likewise.
422 (throw_verror): Likewise.
423 (throw_vquit): Likewise.
424 (throw_error): Likewise.
425 (throw_quit): Likewise.
426 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
427 (enum catcher_action): Likewise.
428 (struct catcher): Likewise.
429 (current_catcher): Likewise.
430 (catcher_list_size): Likewise.
431 (exceptions_state_mc_init): Likewise.
432 (catcher_pop): Likewise.
433 (exceptions_state_mc): Likewise.
434 (exceptions_state_mc_action_iter): Likewise.
435 (exceptions_state_mc_action_iter_1): Likewise.
436 (throw_exception): Likewise.
437 (exception_messages): Likewise.
438 (exception_messages_size): Likewise.
439 (throw_it): Likewise.
440 (throw_verror): Likewise.
441 (throw_vquit): Likewise.
442 (throw_error): Likewise.
443 (throw_quit): Likewise.
444 (prepare_to_throw_exception): New function.
445
446 2014-08-29 Gary Benson <gbenson@redhat.com>
447
448 * common/gdb_setjmp.h: New file.
449 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
450 * configure.ac: Move sigsetjmp check...
451 * common/common.m4: ...here.
452 * configure: Regenerate.
453 * cp-support.c (SIGJMP_BUF): Delete.
454 (SIGSETJMP): Likewise.
455 (SIGLONGJMP): Likewise.
456 * exceptions.h (gdb_setjmp.h): Include.
457 (setjmp.h): Do not include.
458 (EXCEPTIONS_SIGJMP_BUF): Delete.
459 (EXCEPTIONS_SIGSETJMP): Likewise.
460 (EXCEPTIONS_SIGLONGJMP): Likewise.
461 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
462 from gdb_setjmp.h.
463 * exceptions.c: Likewise.
464
465 2014-08-29 Gary Benson <gbenson@redhat.com>
466
467 * cleanups.h: Moved to...
468 * common/cleanups.h: New file.
469 * cleanups.c: Moved to...
470 * common/cleanups.c: New file. Include common-defs.h and
471 cleanups.h. Do not include defs.h.
472 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
473 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
474 (cleanups.o): New rule.
475
476 2014-08-29 Gary Benson <gbenson@redhat.com>
477
478 * common/errors.h (internal_warning): New declaration.
479 (internal_vwarning): Likewise.
480 * common/errors.c (internal_warning): New function.
481 * utils.h (internal_warning): Don't declare.
482 (internal_vwarning): Likewise.
483 * utils.c (internal_warning): Removed.
484
485 2014-08-29 Gary Benson <gbenson@redhat.com>
486
487 * main.c (captured_main): Use warning during startup.
488 Prefix startup warning messages with command name.
489
490 2014-08-29 Gary Benson <gbenson@redhat.com>
491
492 * main.c (captured_main): Handle usage errors with error.
493
494 2014-08-29 Gary Benson <gbenson@redhat.com>
495
496 * go32-nat.c (go32_create_inferior): Replace a fprintf/
497 exit pair with a call to error. Wrap the message with _().
498
499 2014-08-29 Gary Benson <gbenson@redhat.com>
500
501 * main.c (captured_main): Replace a fprintf/exit
502 pair with a call to error. Wrap the message with _().
503
504 2014-08-29 Gary Benson <gbenson@redhat.com>
505
506 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
507 pairs with calls to error. Wrap the message with _().
508
509 2014-08-29 Gary Benson <gbenson@redhat.com>
510
511 * utils.c (vwarning): Protect calls to target_terminal_ours
512 and wrap_here.
513
514 2014-08-29 Gary Benson <gbenson@redhat.com>
515
516 * exceptions.c (print_flush): Protect calls to
517 target_terminal_ours and wrap_here.
518
519 2014-08-29 Gary Benson <gbenson@redhat.com>
520
521 * utils.h (filtered_printing_initialized): New declaration.
522 * utils.c (abort_with_message): New function.
523 (internal_vproblem): Use abort_with_message for first level
524 recursive internal problems, and if gdb_stderr is not set up.
525 Protect calls to target_terminal_ours, begin_line and query.
526
527 2014-08-28 Doug Evans <dje@google.com>
528
529 * symtab.c (in_prologue): Move definition to better spot.
530 (skip_prologue_using_sal): Ditto.
531
532 2014-08-28 Doug Evans <dje@google.com>
533
534 * symtab.c (find_function_start_sal): Move definition to better spot.
535
536 2014-08-28 Yao Qi <yao@codesourcery.com>
537
538 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
539 found_stack_adjust in forward scan. Remove condition check
540 on found_stack_adjust which is always true. Indent the code.
541
542 2014-08-28 Yao Qi <yao@codesourcery.com>
543
544 * dwarf2read.c (dwarf_decode_lines): Update declaration.
545 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
546 (dwarf_decode_lines): Remove argument
547 want_line_info. Remove condition check on want_line_info.
548 Callers update.
549
550 2014-08-27 Doug Evans <dje@google.com>
551
552 * dwarf2read.c (dwarf_record_line): Fix typo.
553
554 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
555
556 * target.h (struct target_ops::to_terminal_save_ours): Remove
557 declaration.
558 (target_terminal_save_ours): Remove macro.
559 * target-delegates.c: Regenerate.
560 * inf-child.c (inf_child_target): Don't set the nonexistent
561 field to_terminal_save_ours.
562 * inferior.h (child_terminal_save_ours): Remove declaration.
563 * terminal.h (gdb_save_tty_state): New declaration.
564 * inflow.c (child_terminal_save_ours): Rename to ...
565 (gdb_save_tty_state): ... this.
566 * tui/tui.c: Include terminal.h.
567 (tui_enable): Use gdb_save_tty_state instead of
568 target_terminal_save_ours.
569 (tui_disable): Likewise.
570
571 2014-08-25 Doug Evans <dje@google.com>
572
573 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
574 Pass NULL instead of 0 for context pointer.
575
576 2014-08-25 Yao Qi <yao@codesourcery.com>
577
578 * dwarf2read.c: Fix grammatical error.
579
580 2014-08-24 Yao Qi <yao@codesourcery.com>
581
582 * dwarf2read.c (scan_partial_symbols): Update comments.
583 Rename argument 'need_pc' with 'set_addrmap'.
584 (add_partial_namespace): Rename argument 'need_pc' with
585 'set_addrmap'.
586 (add_partial_module): Likewise.
587 (add_partial_subprogram): Likewise. Update comments.
588 (dwarf2_name): Fix typo.
589
590 2014-08-22 Doug Evans <dje@google.com>
591
592 PR 17276
593 * dwarf2read.c (dwarf_record_line_p): New function.
594 (dwarf_decode_lines_1): Ignore subsequent line number entries
595 for the same line if any entry had a non-zero discriminator.
596
597 2014-08-22 Doug Evans <dje@google.com>
598
599 * buildsym.h (record_line_ftype): New typedef.
600 (record_line): Use it.
601 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
602 (dwarf_decode_lines_1): Call them.
603
604 2014-08-22 Yao Qi <yao@codesourcery.com>
605
606 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
607 (ctf_end): Remove code.
608
609 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
612 (linux_make_corefile_notes): call update_thread_list, protected against
613 exceptions.
614
615 2014-08-21 Pedro Alves <palves@redhat.com>
616
617 * infcmd.c (attach_command): Remove comment.
618
619 2014-08-21 Bin Cheng <bin.cheng@arm.com>
620
621 * aarch64-linux-nat.c (dr_changed_t): Change the type from
622 unsigned LONGEST to ULONGEST.
623
624 2014-08-20 Pedro Alves <palves@redhat.com>
625
626 * Makefile.in (check-read1): New rule.
627
628 2014-08-20 Joel Brobecker <brobecker@adacore.com>
629
630 * value.c (value_from_contents_and_address): Strip resolved_type's
631 typedef layers before checking its TYPE_DATA_LOCATION.
632
633 2014-08-20 Pedro Alves <palves@redhat.com>
634
635 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
636
637 2014-08-20 Yao Qi <yao@codesourcery.com>
638
639 * amd64-tdep.c (amd64_classify): Add a blank line after the
640 example. Move "*/" to a new line.
641 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
642 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
643 * dwarf2read.c (psymtab_include_file_name): Likewise.
644
645 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
646 Pedro Alves <palves@redhat.com>
647
648 PR symtab/14604
649 PR symtab/14605
650 * ada-lang.c (coerce_unspec_val_to_type): Use
651 value_contents_copy_raw.
652 * ada-valprint.c (val_print_packed_array_elements): Adjust.
653 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
654 * cp-valprint.c (cp_print_value_fields): Let the common printing
655 code handle optimized out values.
656 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
657 * d-valprint.c (dynamic_array_type): Use
658 value_bits_any_optimized_out.
659 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
660 check_any_valid fields.
661 (check_pieced_value_bits): Delete and inline ...
662 (check_pieced_synthetic_pointer): ... here.
663 (check_pieced_value_validity): Delete.
664 (check_pieced_value_invalid): Delete.
665 (pieced_value_funcs): Remove check_validity and check_any_valid
666 fields.
667 (read_pieced_value): Use mark_value_bits_optimized_out.
668 (write_pieced_value): Switch to use
669 mark_value_bytes_optimized_out.
670 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
671 of assuming the whole value is optimized out.
672 * findvar.c (read_frame_register_value): Remove special handling
673 of optimized out registers.
674 (value_from_register): Use mark_value_bytes_optimized_out.
675 * frame-unwind.c (frame_unwind_got_optimized): Use
676 mark_value_bytes_optimized_out.
677 * jv-valprint.c (java_value_print): Adjust.
678 (java_print_value_fields): Let the common printing code handle
679 optimized out values.
680 * mips-tdep.c (mips_print_register): Remove special handling of
681 optimized out registers.
682 * opencl-lang.c (lval_func_check_validity): Delete.
683 (lval_func_check_any_valid): Delete.
684 (opencl_value_funcs): Remove check_validity and check_any_valid
685 fields.
686 * p-valprint.c (pascal_object_print_value_fields): Let the common
687 printing code handle optimized out values.
688 * stack.c (read_frame_arg): Remove special handling of optimized
689 out values. Fetch both VAL and ENTRYVAL before comparing
690 contents. Adjust to value_available_contents_eq rename.
691 * valprint.c (valprint_check_validity)
692 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
693 (val_print_array_elements): Adjust.
694 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
695 (value_bits_any_optimized_out): New function.
696 (value_entirely_covered_by_range_vector): New function, factored
697 out from value_entirely_unavailable.
698 (value_entirely_unavailable): Reimplement.
699 (value_entirely_optimized_out): New function.
700 (insert_into_bit_range_vector): New function, factored out from
701 mark_value_bits_unavailable.
702 (mark_value_bits_unavailable): Reimplement.
703 (struct ranges_and_idx): New struct.
704 (find_first_range_overlap_and_match): New function, factored out
705 from value_available_contents_bits_eq.
706 (value_available_contents_bits_eq): Rename to ...
707 (value_contents_bits_eq): ... this. Check both unavailable
708 contents and optimized out contents.
709 (value_available_contents_eq): Rename to ...
710 (value_contents_eq): ... this.
711 (allocate_value_lazy): Remove reference to the old optimized_out
712 boolean.
713 (allocate_optimized_out_value): Use
714 mark_value_bytes_optimized_out.
715 (require_not_optimized_out): Adjust to check whether the
716 optimized_out vec is empty.
717 (ranges_copy_adjusted): New function, factored out from
718 value_contents_copy_raw.
719 (value_contents_copy_raw): Also copy the optimized out ranges.
720 Assert the destination ranges aren't optimized out.
721 (value_contents_copy): Update comment, remove call to
722 require_not_optimized_out.
723 (value_contents_equal): Adjust to check whether the optimized_out
724 vec is empty.
725 (set_value_optimized_out, value_optimized_out_const): Delete.
726 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
727 New functions.
728 (value_entirely_optimized_out, value_bits_valid): Delete.
729 (value_copy): Take a VEC copy of the 'optimized_out' field.
730 (value_primitive_field): Remove special handling of optimized out.
731 (value_fetch_lazy): Assert that lazy values have no unavailable
732 regions. Use value_bits_any_optimized_out. Remove some special
733 handling for optimized out values.
734 * value.h: Add intro comment about <optimized out> and
735 <unavailable>.
736 (struct lval_funcs): Remove check_validity and check_any_valid
737 fields.
738 (set_value_optimized_out, value_optimized_out_const): Remove.
739 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
740 New declarations.
741 (value_bits_any_optimized_out): New declaration.
742 (value_bits_valid): Delete declaration.
743 (value_available_contents_eq): Rename to ...
744 (value_contents_eq): ... this, and extend comments.
745
746 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
747
748 Fix -fsanitize=address on unreadable inferior strings.
749 * valprint.c (val_print_string): Fix access before BUFFER.
750
751 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
752
753 * target.c (target_struct_size): Remove.
754 (target_struct_allocsize): Remove.
755 (DEFAULT_ALLOCSIZE): Remove.
756 (target_ops_p): New typedef.
757 (DEF_VEC_P (target_ops_p)): New vector type.
758 (target_structs): Change type to VEC (target_ops_p).
759 (add_target_with_completer): Replace "push" code by VEC_safe_push.
760 (find_default_run_target): Rewrite for loop following changes to
761 target_structs.
762
763 2014-08-19 Joel Brobecker <brobecker@adacore.com>
764
765 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
766 Adjust code accordingly. Adjust function description comment.
767
768 2014-08-19 Yao Qi <yao@codesourcery.com>
769
770 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
771 types.
772
773 2014-08-19 Alan Modra <amodra@gmail.com>
774
775 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
776 * config.in: Regenerate.
777 * configure: Regenerate.
778
779 2014-08-19 Tom Tromey <tromey@redhat.com>
780 Gary Benson <gbenson@redhat.com>
781
782 * common/common-debug.h: New file.
783 * common/common-debug.c: Likewise.
784 * debug.c: Likewise.
785 * Makefile.in (SFILES): Add common/common-debug.c.
786 (HFILES_NO_SRCDIR): Add common/common-debug.h.
787 (COMMON_OBS): Add common-debug.o and debug.o.
788 (common-debug.o): New rule.
789 * common/common-defs.h: Include common-debug.h.
790 * common/agent.c (debug_agent_printf): New function.
791 (DEBUG_AGENT): Redefine.
792 * nat/i386-dregs.c (debug_printf): Undefine.
793
794 2014-08-19 Gary Benson <gbenson@redhat.com>
795
796 * common/common-defs.h: Include print-utils.h.
797 * utils.h: Do not include print-utils.h.
798
799 2014-08-19 Tom Tromey <tromey@redhat.com>
800 Gary Benson <gbenson@redhat.com>
801
802 * common/common-types.h: New file.
803 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
804 * common/common-defs.h: Include common-types.h.
805 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
806 (ULONGEST): Remove.
807
808 2014-08-19 Tom Tromey <tromey@redhat.com>
809 Gary Benson <gbenson@redhat.com>
810
811 * common/errors.h: New file.
812 * common/errors.c: Likewise.
813 * Makefile.in (SFILES): Add common/errors.c.
814 (HFILES_NO_SRCDIR): Add common/errors.h.
815 (COMMON_OBS): Add errors.o.
816 (errors.o): New rule.
817 * common/common-defs.h: Include errors.h.
818 * utils.h (perror_with_name, error, verror, warning, vwarning):
819 Don't declare.
820 * common/common-utils.h: (malloc_failure, internal_error):
821 Likewise.
822
823 2014-08-19 Gary Benson <gbenson@redhat.com>
824
825 * utils.c (internal_vproblem): Always print the message.
826
827 2014-08-18 Doug Evans <dje@google.com>
828
829 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
830
831 2014-08-18 Joel Brobecker <brobecker@adacore.com>
832
833 * ada-typeprint.c (type_is_full_subrange_of_target_type):
834 Return 0 if TYPE is dynamic.
835 (print_range): Add handling of dynamic ranges.
836
837 2014-08-18 Keven Boell <keven.boell@intel.com>
838 Joel Brobecker <brobecker@adacore.com>
839
840 * gdbtypes.h (struct main_type): Add field "data_location".
841 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
842 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
843 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
844 a dynamic data location.
845 (resolve_dynamic_type): Add DW_AT_data_location handling.
846 (copy_recursive, copy_type): Copy the data_location information
847 when present.
848 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
849 * value.c (value_from_contents_and_address): Add
850 DW_AT_data_location handling.
851
852 2014-08-18 Keven Boell <keven.boell@intel.com>
853 Joel Brobecker <brobecker@adacore.com>
854
855 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
856 field "get_object_address".
857 * dwarf2expr.c (execute_stack_op): Add handling for
858 DW_OP_push_object_address.
859 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
860 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
861 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
862 (dwarf_expr_get_obj_addr): New function.
863 (dwarf_expr_ctx_funcs): Add get_object_address field.
864 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
865 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
866 (dwarf2_evaluate_property): Add parameter "address". Use it.
867 (needs_get_obj_addr): New function.
868 (needs_frame_ctx_funcs): Add get_object_address field.
869 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
870 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
871 (resolve_dynamic_array): Likewise.
872
873 2014-08-18 Joel Brobecker <brobecker@adacore.com>
874
875 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
876 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
877 fixed value for records and unions for which some GNAT encodings
878 are present.
879
880 2014-08-18 Joel Brobecker <brobecker@adacore.com>
881
882 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
883 rewrite to avoid "else if" and "else" constructs. Should be
884 a no-op in practice.
885
886 2014-08-18 Joel Brobecker <brobecker@adacore.com>
887
888 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
889 of lexical block.
890
891 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
892
893 PR c++/17132
894 * eval.c: Update all calls to find_overload_match.
895 * valarith.c: Likewise.
896 (value_user_defined_cpp_op, value_user_defined_op): New
897 argument NOSIDE. Update all callers.
898 * valops.c (find_overload_match): New argument NOSIDE.
899 * value.h (find_overload_match): Update signature.
900
901 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
902
903 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
904 'items' methods instead of 'iteritems' method on dictionaries.
905
906 2014-08-15 Doug Evans <dje@google.com>
907
908 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
909 closer to use.
910
911 2014-08-15 Doug Evans <dje@google.com>
912
913 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
914
915 2014-08-15 Doug Evans <dje@google.com>
916
917 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
918
919 2014-08-15 Doug Evans <dje@google.com>
920
921 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
922 unused.
923
924 2014-08-15 Eli Zaretskii <eliz@gnu.org>
925
926 * dcache.h: Include target.h, to avoid compile time warnings.
927
928 2014-08-15 Joel Brobecker <brobecker@adacore.com>
929
930 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
931 frame_info" partial declaration.
932 * gdbarch.h: Regenerate.
933
934 2014-08-15 Yao Qi <yao@codesourcery.com>
935
936 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
937 Add parameter 'decode_for_pst_p'. Callers update.
938
939 2014-08-13 Yao Qi <yao@codesourcery.com>
940
941 PR build/17104
942 * configure.ac: Use local variable 'pos'.
943 * configure: Regenerated.
944
945 2014-08-11 Doug Evans <dje@google.com>
946
947 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
948 message, it is redundant with "Reading symbols from ..." message.
949
950 2014-08-10 Doug Evans <xdje42@gmail.com>
951
952 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
953
954 2014-08-09 Yao Qi <yao@codesourcery.com>
955
956 PR remote/9053
957 * remote.c (remote_xfer_partial): Remove dead code.
958
959 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
960
961 * ia64-linux-tdep.c: Include "regset.h".
962 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
963 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
964 (ia64_linux_supply_fpregset): New function.
965 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
966 (ia64_linux_regset_from_core_section): New function.
967 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
968 method.
969
970 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
971
972 * m68klinux-tdep.c: Include "regset.h".
973 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
974 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
975 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
976 (m68k_linux_regset_from_core_section): New function.
977 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
978 method.
979
980 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
981
982 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
983 function. Move logic to...
984 (tilegx_linux_regmap): ... this new register map.
985 (tilegx_linux_regset): Refer to register map, replace supply
986 method by regcache_supply_regset, and add collect method.
987 * tilegx-tdep.h (enum tilegx_regnum): New enum value
988 TILEGX_FIRST_EASY_REGNUM.
989
990 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
991
992 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
993 that calls regcache_supply_regset and handles the EPC register
994 separately. Move main logic to...
995 (score7_linux_gregmap): ... this new register map.
996 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
997 (score7_linux_gregset): Refer to register map. Add collect method.
998 (score7_linux_regset_from_core_section): Replace
999 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1000 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1001 (struct regset): Delete unused forward declaraction.
1002 (struct pt_regs): Delete structure definition.
1003 (elf_gregset_t): Delete typedef.
1004
1005 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1006
1007 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1008 (nios2_core_regset): Add collect method.
1009
1010 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1011
1012 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1013 platform-independent and don't write to read-only input buffer.
1014 (m32r_linux_collect_gregset): New function.
1015 (m32r_linux_gregset): Add collect method.
1016
1017 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1018
1019 * hppa-linux-tdep.c (greg_map): Rename to...
1020 (hppa_linux_gregmap): ... this. Also convert to
1021 regcache_map_entry format.
1022 (hppa_linux_supply_regset): Delete function.
1023 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1024 (hppa_linux_fpregmap): ... this new register map.
1025 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1026 register map, replace supply method by regcache_supply_regset, and
1027 add collect method regcache_collect_regset.
1028
1029 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1030
1031 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1032 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1033 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1034 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1035 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1036 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1037 (frv_linux_supply_gregset): Replace main logic by call to
1038 regcache_supply_regset, but keep clearing gr32-gr63.
1039 (frv_linux_supply_fpregset): Delete function.
1040 (frv_linux_gregset): Refer to appropriate register map and add
1041 regcache_collect_regset as the collect method.
1042 (frv_linux_fpregset): Likewise. Also exchange the supply method
1043 by regcache_supply_regset.
1044
1045 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1046
1047 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1048 by call to alpha_supply_int_regs.
1049 (alpha_linux_collect_gregset): New function.
1050 (alpha_linux_supply_fpregset): Replace logic by call to
1051 alpha_supply_fp_regs.
1052 (alpha_linux_collect_fpregset): New function.
1053 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1054
1055 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1056
1057 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1058 by call to regcache_collect_regset.
1059 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1060 instead of aarch64_linux_supply_gregset/_fpregset.
1061 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1062 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1063 header file instead.
1064 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1065 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1066 functions. Move logic to ...
1067 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1068 register maps.
1069 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1070 refer to new register maps, replace *_regset_from_core by
1071 regcache_supply_regset, and also use regcache_collect_regset.
1072 * aarch64-linux-tdep.h: Include "regset.h".
1073 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1074 Delete prototypes.
1075 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1076 macros, moved from C source file.
1077 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1078 variable declarations.
1079
1080 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1081
1082 * s390-linux-nat.c: Include "regset.h".
1083 (regmap_gregset): Delete macro.
1084 (s390_64_regmap_gregset): New register map for
1085 regcache_supply/_collect_regset.
1086 (s390_64_gregset): New regset.
1087 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1088 (regmap_fpregset): Delete macro.
1089 (s390_native_supply, s390_native_collect): Delete functions.
1090 (supply_gregset, fill_gregset): Replace s390-specific regmap
1091 handling by a call to regcache_supply/_collect_regset.
1092 (supply_fpregset, fill_fpregset): Call regcache_supply/
1093 _collect_regset instead of s390_native_supply/_collect.
1094 (fetch_regset, store_regset): Likewise. Also change the last
1095 parameter to a regset instead of a regmap.
1096 (s390_linux_fetch_inferior_registers)
1097 (390_linux_store_inferior_registers): Adjust last parameter in
1098 calls to fetch_regset and store_regset.
1099 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1100 (s390_gregmap): ... this. Also make static const and convert to
1101 regcache_map_entry format.
1102 (s390x_regmap_gregset): Delete.
1103 (s390_regmap_fpregset): Rename to...
1104 (s390_fpregmap): ... this. Make static const and convert to
1105 regcache_map_entry format.
1106 (s390_regmap_upper, s390_regmap_last_break)
1107 (s390x_regmap_last_break, s390_regmap_system_call)
1108 (s390_regmap_tdb): Likewise.
1109 (s390_supply_regset, s390_collect_regset): Remove functions.
1110 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1111 s390_supply_regset.
1112 (s390_gregset, s390_fpregset, s390_upper_regset)
1113 (s390_last_break_regset, s390x_last_break_regset)
1114 (s390_system_call_regset, s390_tdb_regset): Make global and
1115 replace s390_supply/_collect_regset by regcache_supply/
1116 _collect_regset.
1117 (s390x_gregset): Delete.
1118 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1119 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1120 (s390_regmap_fpregset, s390_regmap_last_break)
1121 (s390x_regmap_last_break, s390_regmap_system_call)
1122 (s390_regmap_tdb): Delete global variable declarations.
1123 (s390_gregset, s390_fpregset, s390_last_break_regset)
1124 (s390x_last_break_regset, s390_system_call_regset)
1125 (s390_tdb_regset): New global variable declarations.
1126
1127 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1128
1129 * regcache.c: Include "regset.h".
1130 (regcache_transfer_regset): New local function.
1131 (regcache_supply_regset, regcache_collect_regset): New functions.
1132 * regcache.h (struct regcache_map_entry): New structure.
1133 (REGCACHE_MAP_SKIP): New enum value.
1134 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1135
1136 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1137
1138 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1139 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1140 (ppc_linux_collect_gregset ): Likewise.
1141 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1142 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1143 (ppc_collect_vrregset): Likewise.
1144 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1145 Likewise.
1146
1147 2014-08-07 Yao Qi <yao@codesourcery.com>
1148
1149 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1150 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1151 * remote.c (remote_read_bytes): Likewise.
1152
1153 2014-08-07 Yao Qi <yao@codesourcery.com>
1154
1155 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1156
1157 2014-08-07 Yao Qi <yao@codesourcery.com>
1158
1159 PR remote/17230
1160 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1161 TARGET_XFER_OK instead of 0.
1162
1163 2014-08-07 Gary Benson <gbenson@redhat.com>
1164
1165 * common/common-defs.h: Include errno.h.
1166 * defs.h: Do not include errno.h.
1167 * ada-typeprint.c: Likewise.
1168 * c-typeprint.c: Likewise.
1169 * core-regset.c: Likewise.
1170 * corefile.c: Likewise.
1171 * corelow.c: Likewise.
1172 * event-loop.c: Likewise.
1173 * f-typeprint.c: Likewise.
1174 * gnu-nat.c: Likewise.
1175 * go32-nat.c: Likewise.
1176 * i386gnu-nat.c: Likewise.
1177 * m2-typeprint.c: Likewise.
1178 * nat/linux-btrace.c: Likewise.
1179 * p-typeprint.c: Likewise.
1180 * procfs.c: Likewise.
1181 * remote-sim.c: Likewise.
1182 * rs6000-nat.c: Likewise.
1183 * target.c: Likewise.
1184 * typeprint.c: Likewise.
1185 * ui-file.c: Likewise.
1186 * valops.c: Likewise.
1187 * valprint.c: Likewise.
1188
1189 2014-08-07 Gary Benson <gbenson@redhat.com>
1190
1191 * common/common-defs.h: Include string.h.
1192 * aarch64-tdep.c: Do not include string.h.
1193 * ada-exp.y: Likewise.
1194 * ada-lang.c: Likewise.
1195 * ada-lex.l: Likewise.
1196 * ada-typeprint.c: Likewise.
1197 * ada-valprint.c: Likewise.
1198 * aix-thread.c: Likewise.
1199 * alpha-linux-tdep.c: Likewise.
1200 * alpha-mdebug-tdep.c: Likewise.
1201 * alpha-nat.c: Likewise.
1202 * alpha-osf1-tdep.c: Likewise.
1203 * alpha-tdep.c: Likewise.
1204 * alphanbsd-tdep.c: Likewise.
1205 * amd64-dicos-tdep.c: Likewise.
1206 * amd64-linux-tdep.c: Likewise.
1207 * amd64-nat.c: Likewise.
1208 * amd64-sol2-tdep.c: Likewise.
1209 * amd64fbsd-tdep.c: Likewise.
1210 * amd64obsd-tdep.c: Likewise.
1211 * arch-utils.c: Likewise.
1212 * arm-linux-nat.c: Likewise.
1213 * arm-linux-tdep.c: Likewise.
1214 * arm-tdep.c: Likewise.
1215 * arm-wince-tdep.c: Likewise.
1216 * armbsd-tdep.c: Likewise.
1217 * armnbsd-nat.c: Likewise.
1218 * armnbsd-tdep.c: Likewise.
1219 * armobsd-tdep.c: Likewise.
1220 * avr-tdep.c: Likewise.
1221 * ax-gdb.c: Likewise.
1222 * ax-general.c: Likewise.
1223 * bcache.c: Likewise.
1224 * bfin-tdep.c: Likewise.
1225 * breakpoint.c: Likewise.
1226 * build-id.c: Likewise.
1227 * buildsym.c: Likewise.
1228 * c-exp.y: Likewise.
1229 * c-lang.c: Likewise.
1230 * c-typeprint.c: Likewise.
1231 * c-valprint.c: Likewise.
1232 * charset.c: Likewise.
1233 * cli-out.c: Likewise.
1234 * cli/cli-cmds.c: Likewise.
1235 * cli/cli-decode.c: Likewise.
1236 * cli/cli-dump.c: Likewise.
1237 * cli/cli-interp.c: Likewise.
1238 * cli/cli-logging.c: Likewise.
1239 * cli/cli-script.c: Likewise.
1240 * cli/cli-setshow.c: Likewise.
1241 * cli/cli-utils.c: Likewise.
1242 * coffread.c: Likewise.
1243 * common/agent.c: Likewise.
1244 * common/buffer.c: Likewise.
1245 * common/buffer.h: Likewise.
1246 * common/common-utils.c: Likewise.
1247 * common/filestuff.c: Likewise.
1248 * common/filestuff.c: Likewise.
1249 * common/format.c: Likewise.
1250 * common/print-utils.c: Likewise.
1251 * common/rsp-low.c: Likewise.
1252 * common/signals.c: Likewise.
1253 * common/vec.h: Likewise.
1254 * common/xml-utils.c: Likewise.
1255 * core-regset.c: Likewise.
1256 * corefile.c: Likewise.
1257 * corelow.c: Likewise.
1258 * cp-abi.c: Likewise.
1259 * cp-name-parser.y: Likewise.
1260 * cp-support.c: Likewise.
1261 * cp-valprint.c: Likewise.
1262 * cris-tdep.c: Likewise.
1263 * d-exp.y: Likewise.
1264 * darwin-nat.c: Likewise.
1265 * dbxread.c: Likewise.
1266 * dcache.c: Likewise.
1267 * demangle.c: Likewise.
1268 * dicos-tdep.c: Likewise.
1269 * disasm.c: Likewise.
1270 * doublest.c: Likewise.
1271 * dsrec.c: Likewise.
1272 * dummy-frame.c: Likewise.
1273 * dwarf2-frame.c: Likewise.
1274 * dwarf2loc.c: Likewise.
1275 * dwarf2read.c: Likewise.
1276 * elfread.c: Likewise.
1277 * environ.c: Likewise.
1278 * eval.c: Likewise.
1279 * event-loop.c: Likewise.
1280 * exceptions.c: Likewise.
1281 * exec.c: Likewise.
1282 * expprint.c: Likewise.
1283 * f-exp.y: Likewise.
1284 * f-lang.c: Likewise.
1285 * f-typeprint.c: Likewise.
1286 * f-valprint.c: Likewise.
1287 * fbsd-nat.c: Likewise.
1288 * findcmd.c: Likewise.
1289 * findvar.c: Likewise.
1290 * fork-child.c: Likewise.
1291 * frame.c: Likewise.
1292 * frv-linux-tdep.c: Likewise.
1293 * frv-tdep.c: Likewise.
1294 * gdb.c: Likewise.
1295 * gdb_bfd.c: Likewise.
1296 * gdbarch.c: Likewise.
1297 * gdbarch.sh: Likewise.
1298 * gdbtypes.c: Likewise.
1299 * gnu-nat.c: Likewise.
1300 * gnu-v2-abi.c: Likewise.
1301 * gnu-v3-abi.c: Likewise.
1302 * go-exp.y: Likewise.
1303 * go-lang.c: Likewise.
1304 * go32-nat.c: Likewise.
1305 * guile/guile.c: Likewise.
1306 * guile/scm-auto-load.c: Likewise.
1307 * hppa-hpux-tdep.c: Likewise.
1308 * hppa-linux-nat.c: Likewise.
1309 * hppanbsd-tdep.c: Likewise.
1310 * hppaobsd-tdep.c: Likewise.
1311 * i386-cygwin-tdep.c: Likewise.
1312 * i386-dicos-tdep.c: Likewise.
1313 * i386-linux-tdep.c: Likewise.
1314 * i386-nto-tdep.c: Likewise.
1315 * i386-sol2-tdep.c: Likewise.
1316 * i386-tdep.c: Likewise.
1317 * i386bsd-tdep.c: Likewise.
1318 * i386gnu-nat.c: Likewise.
1319 * i386nbsd-tdep.c: Likewise.
1320 * i386obsd-tdep.c: Likewise.
1321 * i387-tdep.c: Likewise.
1322 * ia64-libunwind-tdep.c: Likewise.
1323 * ia64-linux-nat.c: Likewise.
1324 * inf-child.c: Likewise.
1325 * inf-ptrace.c: Likewise.
1326 * inf-ttrace.c: Likewise.
1327 * infcall.c: Likewise.
1328 * infcmd.c: Likewise.
1329 * inflow.c: Likewise.
1330 * infrun.c: Likewise.
1331 * interps.c: Likewise.
1332 * iq2000-tdep.c: Likewise.
1333 * irix5-nat.c: Likewise.
1334 * jv-exp.y: Likewise.
1335 * jv-lang.c: Likewise.
1336 * jv-typeprint.c: Likewise.
1337 * jv-valprint.c: Likewise.
1338 * language.c: Likewise.
1339 * linux-fork.c: Likewise.
1340 * linux-nat.c: Likewise.
1341 * lm32-tdep.c: Likewise.
1342 * m2-exp.y: Likewise.
1343 * m2-typeprint.c: Likewise.
1344 * m32c-tdep.c: Likewise.
1345 * m32r-linux-nat.c: Likewise.
1346 * m32r-linux-tdep.c: Likewise.
1347 * m32r-rom.c: Likewise.
1348 * m32r-tdep.c: Likewise.
1349 * m68hc11-tdep.c: Likewise.
1350 * m68k-tdep.c: Likewise.
1351 * m68kbsd-tdep.c: Likewise.
1352 * m68klinux-nat.c: Likewise.
1353 * m68klinux-tdep.c: Likewise.
1354 * m88k-tdep.c: Likewise.
1355 * machoread.c: Likewise.
1356 * macrocmd.c: Likewise.
1357 * main.c: Likewise.
1358 * mdebugread.c: Likewise.
1359 * mem-break.c: Likewise.
1360 * memattr.c: Likewise.
1361 * memory-map.c: Likewise.
1362 * mep-tdep.c: Likewise.
1363 * mi/mi-cmd-break.c: Likewise.
1364 * mi/mi-cmd-disas.c: Likewise.
1365 * mi/mi-cmd-env.c: Likewise.
1366 * mi/mi-cmd-stack.c: Likewise.
1367 * mi/mi-cmd-var.c: Likewise.
1368 * mi/mi-cmds.c: Likewise.
1369 * mi/mi-console.c: Likewise.
1370 * mi/mi-getopt.c: Likewise.
1371 * mi/mi-interp.c: Likewise.
1372 * mi/mi-main.c: Likewise.
1373 * mi/mi-parse.c: Likewise.
1374 * microblaze-rom.c: Likewise.
1375 * microblaze-tdep.c: Likewise.
1376 * mingw-hdep.c: Likewise.
1377 * minidebug.c: Likewise.
1378 * minsyms.c: Likewise.
1379 * mips-irix-tdep.c: Likewise.
1380 * mips-linux-tdep.c: Likewise.
1381 * mips-tdep.c: Likewise.
1382 * mips64obsd-tdep.c: Likewise.
1383 * mipsnbsd-tdep.c: Likewise.
1384 * mipsread.c: Likewise.
1385 * mn10300-linux-tdep.c: Likewise.
1386 * mn10300-tdep.c: Likewise.
1387 * monitor.c: Likewise.
1388 * moxie-tdep.c: Likewise.
1389 * mt-tdep.c: Likewise.
1390 * nat/linux-btrace.c: Likewise.
1391 * nat/linux-osdata.c: Likewise.
1392 * nat/linux-procfs.c: Likewise.
1393 * nat/linux-ptrace.c: Likewise.
1394 * nat/linux-waitpid.c: Likewise.
1395 * nbsd-tdep.c: Likewise.
1396 * nios2-linux-tdep.c: Likewise.
1397 * nto-procfs.c: Likewise.
1398 * nto-tdep.c: Likewise.
1399 * objc-lang.c: Likewise.
1400 * objfiles.c: Likewise.
1401 * opencl-lang.c: Likewise.
1402 * osabi.c: Likewise.
1403 * osdata.c: Likewise.
1404 * p-exp.y: Likewise.
1405 * p-lang.c: Likewise.
1406 * p-typeprint.c: Likewise.
1407 * parse.c: Likewise.
1408 * posix-hdep.c: Likewise.
1409 * ppc-linux-nat.c: Likewise.
1410 * ppc-sysv-tdep.c: Likewise.
1411 * ppcfbsd-tdep.c: Likewise.
1412 * ppcnbsd-tdep.c: Likewise.
1413 * ppcobsd-tdep.c: Likewise.
1414 * printcmd.c: Likewise.
1415 * procfs.c: Likewise.
1416 * prologue-value.c: Likewise.
1417 * python/py-auto-load.c: Likewise.
1418 * python/py-gdb-readline.c: Likewise.
1419 * ravenscar-thread.c: Likewise.
1420 * regcache.c: Likewise.
1421 * registry.c: Likewise.
1422 * remote-fileio.c: Likewise.
1423 * remote-m32r-sdi.c: Likewise.
1424 * remote-mips.c: Likewise.
1425 * remote-notif.c: Likewise.
1426 * remote-sim.c: Likewise.
1427 * remote.c: Likewise.
1428 * reverse.c: Likewise.
1429 * rs6000-aix-tdep.c: Likewise.
1430 * ser-base.c: Likewise.
1431 * ser-go32.c: Likewise.
1432 * ser-mingw.c: Likewise.
1433 * ser-pipe.c: Likewise.
1434 * ser-tcp.c: Likewise.
1435 * ser-unix.c: Likewise.
1436 * serial.c: Likewise.
1437 * sh-tdep.c: Likewise.
1438 * sh64-tdep.c: Likewise.
1439 * shnbsd-tdep.c: Likewise.
1440 * skip.c: Likewise.
1441 * sol-thread.c: Likewise.
1442 * solib-dsbt.c: Likewise.
1443 * solib-frv.c: Likewise.
1444 * solib-osf.c: Likewise.
1445 * solib-som.c: Likewise.
1446 * solib-spu.c: Likewise.
1447 * solib-target.c: Likewise.
1448 * solib.c: Likewise.
1449 * somread.c: Likewise.
1450 * source.c: Likewise.
1451 * sparc-nat.c: Likewise.
1452 * sparc-sol2-tdep.c: Likewise.
1453 * sparc-tdep.c: Likewise.
1454 * sparc64-tdep.c: Likewise.
1455 * sparc64fbsd-tdep.c: Likewise.
1456 * sparc64nbsd-tdep.c: Likewise.
1457 * sparcnbsd-tdep.c: Likewise.
1458 * spu-linux-nat.c: Likewise.
1459 * spu-multiarch.c: Likewise.
1460 * spu-tdep.c: Likewise.
1461 * stabsread.c: Likewise.
1462 * stack.c: Likewise.
1463 * std-regs.c: Likewise.
1464 * symfile.c: Likewise.
1465 * symmisc.c: Likewise.
1466 * symtab.c: Likewise.
1467 * target.c: Likewise.
1468 * thread.c: Likewise.
1469 * tilegx-linux-nat.c: Likewise.
1470 * tilegx-tdep.c: Likewise.
1471 * top.c: Likewise.
1472 * tracepoint.c: Likewise.
1473 * tui/tui-command.c: Likewise.
1474 * tui/tui-data.c: Likewise.
1475 * tui/tui-disasm.c: Likewise.
1476 * tui/tui-file.c: Likewise.
1477 * tui/tui-layout.c: Likewise.
1478 * tui/tui-out.c: Likewise.
1479 * tui/tui-regs.c: Likewise.
1480 * tui/tui-source.c: Likewise.
1481 * tui/tui-stack.c: Likewise.
1482 * tui/tui-win.c: Likewise.
1483 * tui/tui-windata.c: Likewise.
1484 * tui/tui-winsource.c: Likewise.
1485 * typeprint.c: Likewise.
1486 * ui-file.c: Likewise.
1487 * ui-out.c: Likewise.
1488 * user-regs.c: Likewise.
1489 * utils.c: Likewise.
1490 * v850-tdep.c: Likewise.
1491 * valarith.c: Likewise.
1492 * valops.c: Likewise.
1493 * valprint.c: Likewise.
1494 * value.c: Likewise.
1495 * varobj.c: Likewise.
1496 * vax-tdep.c: Likewise.
1497 * vaxnbsd-tdep.c: Likewise.
1498 * vaxobsd-tdep.c: Likewise.
1499 * windows-nat.c: Likewise.
1500 * xcoffread.c: Likewise.
1501 * xml-support.c: Likewise.
1502 * xstormy16-tdep.c: Likewise.
1503 * xtensa-linux-nat.c: Likewise.
1504
1505 2014-08-07 Gary Benson <gbenson@redhat.com>
1506
1507 * common/common-defs.h: Include gdb_assert.h.
1508 * aarch64-tdep.c: Do not include gdb_assert.h.
1509 * addrmap.c: Likewise.
1510 * aix-thread.c: Likewise.
1511 * alpha-linux-tdep.c: Likewise.
1512 * alpha-mdebug-tdep.c: Likewise.
1513 * alphanbsd-tdep.c: Likewise.
1514 * amd64-nat.c: Likewise.
1515 * amd64-tdep.c: Likewise.
1516 * amd64bsd-nat.c: Likewise.
1517 * amd64fbsd-nat.c: Likewise.
1518 * amd64fbsd-tdep.c: Likewise.
1519 * amd64nbsd-nat.c: Likewise.
1520 * amd64nbsd-tdep.c: Likewise.
1521 * amd64obsd-nat.c: Likewise.
1522 * amd64obsd-tdep.c: Likewise.
1523 * arch-utils.c: Likewise.
1524 * arm-tdep.c: Likewise.
1525 * armbsd-tdep.c: Likewise.
1526 * auxv.c: Likewise.
1527 * bcache.c: Likewise.
1528 * bfin-tdep.c: Likewise.
1529 * blockframe.c: Likewise.
1530 * breakpoint.c: Likewise.
1531 * bsd-kvm.c: Likewise.
1532 * bsd-uthread.c: Likewise.
1533 * buildsym.c: Likewise.
1534 * c-exp.y: Likewise.
1535 * c-lang.c: Likewise.
1536 * charset.c: Likewise.
1537 * cleanups.c: Likewise.
1538 * cli-out.c: Likewise.
1539 * cli/cli-decode.c: Likewise.
1540 * cli/cli-dump.c: Likewise.
1541 * cli/cli-logging.c: Likewise.
1542 * cli/cli-script.c: Likewise.
1543 * cli/cli-utils.c: Likewise.
1544 * coffread.c: Likewise.
1545 * common/common-utils.c: Likewise.
1546 * common/queue.h: Likewise.
1547 * common/signals.c: Likewise.
1548 * common/vec.h: Likewise.
1549 * complaints.c: Likewise.
1550 * completer.c: Likewise.
1551 * corelow.c: Likewise.
1552 * cp-abi.c: Likewise.
1553 * cp-name-parser.y: Likewise.
1554 * cp-namespace.c: Likewise.
1555 * cp-support.c: Likewise.
1556 * cris-tdep.c: Likewise.
1557 * dbxread.c: Likewise.
1558 * dictionary.c: Likewise.
1559 * doublest.c: Likewise.
1560 * dsrec.c: Likewise.
1561 * dummy-frame.c: Likewise.
1562 * dwarf2-frame-tailcall.c: Likewise.
1563 * dwarf2-frame.c: Likewise.
1564 * dwarf2expr.c: Likewise.
1565 * dwarf2loc.c: Likewise.
1566 * dwarf2read.c: Likewise.
1567 * eval.c: Likewise.
1568 * event-loop.c: Likewise.
1569 * exceptions.c: Likewise.
1570 * expprint.c: Likewise.
1571 * f-valprint.c: Likewise.
1572 * fbsd-nat.c: Likewise.
1573 * findvar.c: Likewise.
1574 * frame-unwind.c: Likewise.
1575 * frame.c: Likewise.
1576 * frv-tdep.c: Likewise.
1577 * gcore.c: Likewise.
1578 * gdb-dlfcn.c: Likewise.
1579 * gdb_bfd.c: Likewise.
1580 * gdbarch.c: Likewise.
1581 * gdbarch.sh: Likewise.
1582 * gdbtypes.c: Likewise.
1583 * gnu-nat.c: Likewise.
1584 * gnu-v3-abi.c: Likewise.
1585 * go-lang.c: Likewise.
1586 * guile/scm-exception.c: Likewise.
1587 * guile/scm-gsmob.c: Likewise.
1588 * guile/scm-lazy-string.c: Likewise.
1589 * guile/scm-math.c: Likewise.
1590 * guile/scm-pretty-print.c: Likewise.
1591 * guile/scm-safe-call.c: Likewise.
1592 * guile/scm-utils.c: Likewise.
1593 * guile/scm-value.c: Likewise.
1594 * h8300-tdep.c: Likewise.
1595 * hppa-hpux-nat.c: Likewise.
1596 * hppa-tdep.c: Likewise.
1597 * hppanbsd-tdep.c: Likewise.
1598 * hppaobsd-tdep.c: Likewise.
1599 * i386-darwin-nat.c: Likewise.
1600 * i386-darwin-tdep.c: Likewise.
1601 * i386-nto-tdep.c: Likewise.
1602 * i386-tdep.c: Likewise.
1603 * i386bsd-nat.c: Likewise.
1604 * i386fbsd-tdep.c: Likewise.
1605 * i386gnu-nat.c: Likewise.
1606 * i386nbsd-tdep.c: Likewise.
1607 * i386obsd-tdep.c: Likewise.
1608 * i387-tdep.c: Likewise.
1609 * ia64-libunwind-tdep.c: Likewise.
1610 * ia64-tdep.c: Likewise.
1611 * inf-ptrace.c: Likewise.
1612 * inf-ttrace.c: Likewise.
1613 * infcall.c: Likewise.
1614 * infcmd.c: Likewise.
1615 * infrun.c: Likewise.
1616 * inline-frame.c: Likewise.
1617 * interps.c: Likewise.
1618 * jv-lang.c: Likewise.
1619 * jv-typeprint.c: Likewise.
1620 * linux-fork.c: Likewise.
1621 * linux-nat.c: Likewise.
1622 * linux-thread-db.c: Likewise.
1623 * m32c-tdep.c: Likewise.
1624 * m32r-linux-nat.c: Likewise.
1625 * m32r-tdep.c: Likewise.
1626 * m68k-tdep.c: Likewise.
1627 * m68kbsd-nat.c: Likewise.
1628 * m68kbsd-tdep.c: Likewise.
1629 * m88k-tdep.c: Likewise.
1630 * machoread.c: Likewise.
1631 * macroexp.c: Likewise.
1632 * macrotab.c: Likewise.
1633 * maint.c: Likewise.
1634 * mdebugread.c: Likewise.
1635 * memory-map.c: Likewise.
1636 * mep-tdep.c: Likewise.
1637 * mi/mi-common.c: Likewise.
1638 * microblaze-tdep.c: Likewise.
1639 * mingw-hdep.c: Likewise.
1640 * mips-linux-nat.c: Likewise.
1641 * mips-linux-tdep.c: Likewise.
1642 * mips-tdep.c: Likewise.
1643 * mips64obsd-tdep.c: Likewise.
1644 * mipsnbsd-tdep.c: Likewise.
1645 * mn10300-linux-tdep.c: Likewise.
1646 * mn10300-tdep.c: Likewise.
1647 * moxie-tdep.c: Likewise.
1648 * mt-tdep.c: Likewise.
1649 * nat/linux-btrace.c: Likewise.
1650 * nat/linux-osdata.c: Likewise.
1651 * nat/linux-ptrace.c: Likewise.
1652 * nat/mips-linux-watch.c: Likewise.
1653 * nios2-linux-tdep.c: Likewise.
1654 * nios2-tdep.c: Likewise.
1655 * objc-lang.c: Likewise.
1656 * objfiles.c: Likewise.
1657 * obsd-nat.c: Likewise.
1658 * opencl-lang.c: Likewise.
1659 * osabi.c: Likewise.
1660 * parse.c: Likewise.
1661 * ppc-linux-nat.c: Likewise.
1662 * ppc-sysv-tdep.c: Likewise.
1663 * ppcfbsd-nat.c: Likewise.
1664 * ppcfbsd-tdep.c: Likewise.
1665 * ppcnbsd-nat.c: Likewise.
1666 * ppcnbsd-tdep.c: Likewise.
1667 * ppcobsd-nat.c: Likewise.
1668 * ppcobsd-tdep.c: Likewise.
1669 * printcmd.c: Likewise.
1670 * procfs.c: Likewise.
1671 * prologue-value.c: Likewise.
1672 * psymtab.c: Likewise.
1673 * python/py-lazy-string.c: Likewise.
1674 * python/py-value.c: Likewise.
1675 * regcache.c: Likewise.
1676 * reggroups.c: Likewise.
1677 * registry.c: Likewise.
1678 * remote-sim.c: Likewise.
1679 * remote.c: Likewise.
1680 * rs6000-aix-tdep.c: Likewise.
1681 * rs6000-tdep.c: Likewise.
1682 * s390-linux-tdep.c: Likewise.
1683 * score-tdep.c: Likewise.
1684 * ser-base.c: Likewise.
1685 * ser-mingw.c: Likewise.
1686 * sh-tdep.c: Likewise.
1687 * sh64-tdep.c: Likewise.
1688 * solib-darwin.c: Likewise.
1689 * solib-spu.c: Likewise.
1690 * solib-svr4.c: Likewise.
1691 * source.c: Likewise.
1692 * sparc-nat.c: Likewise.
1693 * sparc-sol2-tdep.c: Likewise.
1694 * sparc-tdep.c: Likewise.
1695 * sparc64-sol2-tdep.c: Likewise.
1696 * sparc64-tdep.c: Likewise.
1697 * sparc64fbsd-tdep.c: Likewise.
1698 * sparc64nbsd-tdep.c: Likewise.
1699 * sparc64obsd-tdep.c: Likewise.
1700 * sparcnbsd-tdep.c: Likewise.
1701 * sparcobsd-tdep.c: Likewise.
1702 * spu-multiarch.c: Likewise.
1703 * spu-tdep.c: Likewise.
1704 * stabsread.c: Likewise.
1705 * stack.c: Likewise.
1706 * symfile.c: Likewise.
1707 * symtab.c: Likewise.
1708 * target-descriptions.c: Likewise.
1709 * target-memory.c: Likewise.
1710 * target.c: Likewise.
1711 * tic6x-linux-tdep.c: Likewise.
1712 * tic6x-tdep.c: Likewise.
1713 * tilegx-linux-nat.c: Likewise.
1714 * tilegx-tdep.c: Likewise.
1715 * top.c: Likewise.
1716 * tramp-frame.c: Likewise.
1717 * tui/tui-out.c: Likewise.
1718 * tui/tui-winsource.c: Likewise.
1719 * ui-out.c: Likewise.
1720 * user-regs.c: Likewise.
1721 * utils.c: Likewise.
1722 * v850-tdep.c: Likewise.
1723 * valops.c: Likewise.
1724 * value.c: Likewise.
1725 * varobj.c: Likewise.
1726 * vax-nat.c: Likewise.
1727 * xml-syscall.c: Likewise.
1728 * xml-tdesc.c: Likewise.
1729 * xstormy16-tdep.c: Likewise.
1730 * xtensa-linux-nat.c: Likewise.
1731 * xtensa-tdep.c: Likewise.
1732
1733 2014-08-07 Gary Benson <gbenson@redhat.com>
1734
1735 * common/common-defs.h: Include common-utils.h.
1736 * defs.h: Do not include common-utils.h.
1737 * common/gdb_assert.h: Likewise.
1738 * darwin-nat.h: Likewise.
1739 * nat/linux-btrace.c: Likewise.
1740 * target/waitstatus.h: Likewise.
1741
1742 2014-08-07 Gary Benson <gbenson@redhat.com>
1743
1744 * common/common-defs.h: Include ptid.h.
1745 * defs.h: Do not include ptid.h.
1746 * inferior.h: Likewise.
1747 * infrun.h: Likewise.
1748 * nat/linux-btrace.h: Likewise.
1749 * nat/linux-osdata.h: Likewise.
1750 * target/waitstatus.h: Likewise.
1751
1752 2014-08-07 Gary Benson <gbenson@redhat.com>
1753
1754 * common/common-defs.h: Include gdb_locale.h.
1755 * defs.h: Do not include gdb_locale.h.
1756
1757 2014-08-07 Gary Benson <gbenson@redhat.com>
1758
1759 * common/common-defs.h: Include gdb/signals.h.
1760 * defs.h: Do not include gdb/signals.h.
1761
1762 2014-08-07 Gary Benson <gbenson@redhat.com>
1763
1764 * common/common-defs.h: Include pathmax.h.
1765 * defs.h: Do not include pathmax.h.
1766
1767 2014-08-07 Gary Benson <gbenson@redhat.com>
1768
1769 * common/common-defs.h: Include libiberty.h.
1770 * defs.h: Do not include libiberty.h.
1771 * common/queue.h: Likewise.
1772 * cp-name-parser.y: Likewise.
1773 * mi/mi-cmd-catch.c: Likewise.
1774 * python/python.c: Likewise.
1775
1776 2014-08-07 Gary Benson <gbenson@redhat.com>
1777
1778 * common/common-defs.h: Include ansidecl.h.
1779 * defs.h: Do not include ansidecl.h.
1780 * common/buffer.h: Likewise.
1781 * common/common-utils.h: Likewise.
1782
1783 2014-08-07 Gary Benson <gbenson@redhat.com>
1784
1785 * common/common-defs.h: Include stddef.h.
1786 * defs.h: Do not include stddef.h.
1787 * common/common-utils.h: Likewise.
1788 * amd64fbsd-nat.c: Likewise.
1789 * bcache.c: Likewise.
1790 * charset.c: Likewise.
1791 * common/buffer.h: Likewise.
1792 * common/vec.h: Likewise.
1793 * i386bsd-nat.c: Likewise.
1794 * nat/linux-btrace.h: Likewise.
1795 * ppcfbsd-nat.c: Likewise.
1796 * ppcnbsd-tdep.h: Likewise.
1797 * ppcobsd-nat.c: Likewise.
1798 * ppcobsd-tdep.h: Likewise.
1799 * python/py-gdb-readline.c: Likewise.
1800
1801 2014-08-07 Gary Benson <gbenson@redhat.com>
1802
1803 * common/common-defs.h: Include stdarg.h.
1804 * defs.h: Do not include stdarg.h.
1805 * ada-lang.c: Likewise.
1806 * common/common-utils.h: Likewise.
1807 * guile/scm-string.c: Likewise.
1808 * guile/scm-utils.c: Likewise.
1809 * m32c-tdep.c: Likewise.
1810
1811 2014-08-07 Gary Benson <gbenson@redhat.com>
1812
1813 * common/common-defs.h: Include stdlib.h.
1814 * defs.h: Do not include stdlib.h.
1815 * addrmap.c: Likewise.
1816 * bcache.c: Likewise.
1817 * common/buffer.c: Likewise.
1818 * common/common-utils.c: Likewise.
1819 * cp-name-parser.y: Likewise.
1820 * go32-nat.c: Likewise.
1821 * mn10300-linux-tdep.c: Likewise.
1822 * nat/linux-osdata.c: Likewise.
1823 * tui/tui.c: Likewise.
1824 * windows-nat.c: Likewise.
1825
1826 2014-08-07 Gary Benson <gbenson@redhat.com>
1827
1828 * common/common-defs.h: Include stdio.h.
1829 * defs.h: Do not include stdio.h.
1830 * ada-lang.c: Likewise.
1831 * common/buffer.c: Likewise.
1832 * common/common-utils.c: Likewise.
1833 * cp-name-parser.y: Likewise.
1834 * gnu-nat.c: Likewise.
1835 * go32-nat.c: Likewise.
1836 * i386gnu-nat.c: Likewise.
1837 * proc-api.c: Likewise.
1838 * proc-events.c: Likewise.
1839 * proc-flags.c: Likewise.
1840 * proc-why.c: Likewise.
1841 * python/python-internal.h: Likewise.
1842 * target-memory.c: Likewise.
1843 * tui/tui-io.c: Likewise.
1844 * tui/tui.c: Likewise.
1845
1846 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1847
1848 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1849 (scan_dyntag_auxv): Same.
1850
1851 2014-08-06 Yao Qi <yao@codesourcery.com>
1852
1853 * amd64-linux-nat.c: Remove duplicated include
1854 "x86-linux-nat.h".
1855 * i386-linux-nat.c: Likewise.
1856
1857 2014-08-06 Yao Qi <yao@codesourcery.com>
1858
1859 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1860 operand" with "Special opcode" in comments.
1861
1862 2014-08-05 Gary Benson <gbenson@redhat.com>
1863
1864 * interps.c (initialize_interps): Remove prototype.
1865 (interpreter_initialized): Remove static global.
1866 (interp_add): Do not call initialize_interps.
1867 (initialize_interps): Remove function.
1868
1869 2014-08-05 Gary Benson <gbenson@redhat.com>
1870
1871 * utils.c (vwarning): Remove spurious va_end.
1872
1873 2014-08-05 Alan Modra <amodra@gmail.com>
1874
1875 * charset.c (convert_between_encodings): Cast result of obstack_base.
1876 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1877 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1878 (read_unwind_info): Use size_t for some locals.
1879 * jit.c (finalize_symtab): Likewise.
1880 * utils.c (hashtab_obstack_allocate): Likewise.
1881 * symmisc.c (print_objfile_statistics): Update format strings.
1882
1883 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1884
1885 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1886 (Changes in GDB 7.8): ... here.
1887
1888 2014-08-04 Tom Tromey <tromey@redhat.com>
1889
1890 * target.c (set_targetdebug): New function.
1891 (initialize_targets): Pass set_targetdebug when creating "set
1892 debug target".
1893
1894 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1895
1896 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1897 if detecting a variable-sized field that is not the last field.
1898 Fix struct type length computation.
1899
1900 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1901
1902 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1903 Add debug trace.
1904
1905 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1906
1907 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1908 Remove "+ 8" offset in computation of CHAIN_VMA.
1909
1910 2014-07-31 Doug Evans <dje@google.com>
1911
1912 * inflow.c (child_terminal_inferior): Add comment.
1913 (child_terminal_ours_for_output): Add comment.
1914 (child_terminal_ours): Add comment.
1915 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1916 (linux_nat_terminal_ours): Add comment.
1917
1918 2014-07-31 Gary Benson <gbenson@redhat.com>
1919
1920 * common/btrace-common.h: Do not include defs.h or server.h.
1921 * nat/mips-linux-watch.h: Likewise.
1922 * gdb-dlfcn.h: Do not include defs.h.
1923 * tracefile.h: Likewise.
1924
1925 2014-07-30 Roland McGrath <mcgrathr@google.com>
1926
1927 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1928
1929 2014-07-30 Tom Tromey <tromey@redhat.com>
1930
1931 * bsd-kvm.c (bsd_kvm_open): Constify.
1932 * corelow.c (core_open): Constify.
1933 * ctf.c (ctf_open): Constify.
1934 * dbug-rom.c (dbug_open): Constify.
1935 * exec.c (exec_open): Constify.
1936 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1937 * microblaze-rom.c (picobug_open): Constify.
1938 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1939 Constify.
1940 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1941 * record-btrace.c (record_btrace_open): Constify.
1942 * record-full.c (record_full_core_open_1, record_full_open_1)
1943 (record_full_open): Constify.
1944 * remote-m32r-sdi.c (m32r_open): Constify.
1945 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1946 (rockhopper_open, lsi_open): Constify.
1947 * remote-sim.c (gdbsim_open): Constify.
1948 * remote.c (remote_open, extended_remote_open, remote_open_1):
1949 Constify.
1950 * target.h (struct target_ops) <to_open>: Make "arg" const.
1951 * tracefile-tfile.c (tfile_open): Constify.
1952
1953 2014-07-30 Tom Tromey <tromey@redhat.com>
1954
1955 * breakpoint.c (map_breakpoint_numbers): Update.
1956 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1957 (get_number_const): New function.
1958 (get_number): Rewrite using get_number_const.
1959 (init_number_or_range): Make "string" const.
1960 (number_is_in_list): Make "list" const.
1961 * cli/cli-utils.h (get_number_const): Declare.
1962 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1963 (init_number_or_range, number_is_in_list): Update.
1964 * printcmd.c (map_display_numbers): Update.
1965 * value.c (value_from_history_ref): Constify.
1966 * value.h (value_from_history_ref): Update.
1967
1968 2014-07-30 Tom Tromey <tromey@redhat.com>
1969
1970 * corefile.c (hook_type, call_extra_exec_file_hooks)
1971 (specify_exec_file_hook): Constify.
1972 * exec.c (exec_file_attach): Make "filename" const.
1973 * gdbcore.h (deprecated_exec_file_display_hook)
1974 (specify_exec_file_hook, exec_file_attach): Constify.
1975 * main.c (captured_main): Use catch_command_errors_const.
1976
1977 2014-07-30 Tom Tromey <tromey@redhat.com>
1978
1979 * target.c (open_target): New function.
1980 (add_target_with_completer, add_deprecated_target_alias): Use
1981 set_cmd_sfunc, set_cmd_context.
1982 (debug_to_open): Remove.
1983 (setup_target_debug): Update.
1984
1985 2014-07-30 Yao Qi <yao@codesourcery.com>
1986
1987 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1988 comments.
1989 * parse.c (exp_iterate): Update comments.
1990
1991 2014-07-30 Gary Benson <gbenson@redhat.com>
1992
1993 * common/common-defs.h: New file.
1994 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1995 * defs.h: Include common-defs.h.
1996 Do not include config.h or build-gnulib/config.h.
1997
1998 2014-07-30 Gary Benson <gbenson@redhat.com>
1999
2000 * common/common-utils.h: Do not include config.h.
2001 * nat/linux-btrace.h: Likewise.
2002
2003 2014-07-30 Gary Benson <gbenson@redhat.com>
2004
2005 * btrace.c: Include defs.h.
2006 * common/ptid.c: Include defs.h or server.h as appropriate.
2007 * nat/mips-linux-watch.c: Likewise.
2008
2009 2014-07-29 Tom Tromey <tromey@redhat.com>
2010
2011 * target.c (target_is_pushed): Simplify.
2012
2013 2014-07-29 Joel Brobecker <brobecker@adacore.com>
2014
2015 GDB 7.8 released.
2016
2017 2014-07-29 Yao Qi <yao@codesourcery.com>
2018
2019 PR gdb/17206
2020 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2021
2022 2014-07-28 Doug Evans <xdje42@gmail.com>
2023
2024 PR guile/17203
2025 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2026 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2027 parameters.
2028
2029 2014-07-28 Will Newton <will.newton@linaro.org>
2030
2031 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2032 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2033 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2034 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2035 (THUMB2_EABI_SYSCALL): Likewise.
2036 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2037 struct tramp_frame.
2038 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2039 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2040
2041 2014-07-27 Doug Evans <xdje42@gmail.com>
2042
2043 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2044
2045 2014-07-27 Doug Evans <xdje42@gmail.com>
2046
2047 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2048
2049 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2050 Doug Evans <xdje42@gmail.com>
2051
2052 PR guile/17146
2053 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2054 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2055 * configure.ac: Try to use guild to compile an scm file, if it fails
2056 then disable guile support.
2057 * configure: Regenerate.
2058 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2059 GUILE_FILE_LIST.
2060 (GUILE_COMPILED_FILES): New variable.
2061 (GUILE_FILES) Update.
2062 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2063 (stamp-guile): Compile scm files.
2064 * guile/guile.c (boot_guile_support): New function.
2065 (standard_throw_args_p): New function.
2066 (print_standard_throw_error, print_throw_error): New functions.
2067 (handle_boot_error): New function.
2068 (initialize_scheme_side): Rewrite to call boot_guile_support.
2069 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2070 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2071
2072 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2073 Doug Evans <xdje42@gmail.com>
2074
2075 PR guile/17146
2076 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2077 * guile/lib/gdb/support.scm: New file.
2078 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2079 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2080 All uses updated.
2081 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2082 All uses updated.
2083 (%assert-type): Ditto, and renamed to assert-type.
2084 (%exception-print-style): Delete.
2085
2086 2014-07-26 Doug Evans <xdje42@gmail.com>
2087
2088 PR build/17105
2089 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2090 * configure: Regenerate.
2091 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2092 PYTHON_FILES.
2093 (PYTHON_FILES): New variable.
2094 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2095 (GUILE_FILES): New variable.
2096 (stamp-python, install-python, uninstall-python): Handle empty
2097 file list.
2098 (stamp-guile, install-guile, uninstall-guile): Ditto.
2099
2100 2014-07-26 Doug Evans <xdje42@gmail.com>
2101
2102 PR guile/17177
2103 * guile/lib/gdb.scm (pretty-printers): Export.
2104 (set-pretty-printers!): Export.
2105 * guile/lib/gdb/printing.scm (gdb module): Update.
2106 (prepend-pretty-printer!, append-pretty-printer!): Update.
2107 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2108 (pretty_printer_list_var): Delete.
2109 (pretty_printer_list): New static global.
2110 (gdbscm_pretty_printers): New function.
2111 (gdbscm_set_pretty_printers_x): New function.
2112 (ppscm_find_pretty_printer_from_gdb): Update.
2113 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2114 (gdbscm_initialize_pretty_printers): Update.
2115
2116 2014-07-26 Doug Evans <xdje42@gmail.com>
2117
2118 PR 17185
2119 * configure.ac: Add check for header gc/gc.h.
2120 Add check for function setenv.
2121 * configure: Regenerate.
2122 * config.in: Regenerate.
2123 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2124
2125 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2126
2127 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2128 variation in gdbarch matching.
2129
2130 2014-07-25 Tom Tromey <tromey@redhat.com>
2131
2132 * exec.c (using_exec_ops): Remove.
2133 (exec_close_1): Update. Remove extraneous block, reindent.
2134 (add_target_sections): Use target_is_pushed.
2135
2136 2014-07-25 Pedro Alves <palves@redhat.com>
2137
2138 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2139 * monitor.c (monitor_create_inferior): Likewise.
2140 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2141 * remote-sim.c (gdbsim_create_inferior): Likewise.
2142 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2143 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2144 * windows-nat.c (do_initial_windows_stuff): Likewise.
2145
2146 2014-07-25 Pedro Alves <palves@redhat.com>
2147
2148 * NEWS: Mention signal passing and "signal" command changes.
2149 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2150 comment.
2151 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2152 call.
2153 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2154 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2155 (jump_command): Adjust clear_proceed_status call.
2156 (signal_command): Warn if other thread that are resumed have
2157 signals that will be delivered. Adjust clear_proceed_status call.
2158 (until_next_command, finish_command)
2159 (proceed_after_attach_callback, attach_command_post_wait)
2160 (attach_command): Adjust clear_proceed_status call.
2161 * infrun.c (proceed_after_vfork_done): Likewise.
2162 (proceed_after_attach_callback): Adjust comment.
2163 (clear_proceed_status_thread): Clear stop_signal if not in pass
2164 state.
2165 (clear_proceed_status_callback): Delete.
2166 (clear_proceed_status): New 'step' parameter. Only clear the
2167 proceed status of threads the command being prepared is about to
2168 resume.
2169 (proceed): If passed in an explicit signal, override stop_signal
2170 with it. Don't pass the last stop signal to the thread we're
2171 resuming.
2172 (init_wait_for_inferior): Adjust clear_proceed_status call.
2173 (switch_back_to_stepped_thread): Clear the signal if it should not
2174 be passed.
2175 * infrun.h (clear_proceed_status): New 'step' parameter.
2176 (user_visible_resume_ptid): Add comment.
2177 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2178 signal is in pass state.
2179 * remote.c (append_pending_thread_resumptions): Likewise.
2180 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2181
2182 2014-07-25 Tom Tromey <tromey@redhat.com>
2183
2184 * target.h (target_stopped_data_address)
2185 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2186 parentheses.
2187
2188 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2189
2190 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2191 comments.
2192 (avr_pointer_to_address): Likewise.
2193
2194 2014-07-24 Tom Tromey <tromey@redhat.com>
2195
2196 * monitor.c (compile_pattern): Update.
2197 * target.h (struct target_ops) <to_shortname, to_longname,
2198 to_doc>: Now const.
2199
2200 2014-07-24 Tom Tromey <tromey@redhat.com>
2201
2202 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2203 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2204 (add_info_alias, add_com): Make "doc" const.
2205 (print_doc_line): Make "str" const.
2206 (delete_cmd): Update.
2207 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2208 (print_doc_line): Update.
2209 * cli/cli-script.c (document_command): Update.
2210 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2211 (add_com, add_info, add_info_alias): Update.
2212 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2213 * python/py-cmd.c (cmdpy_destroyer): Update.
2214
2215 2014-07-24 Tom Tromey <tromey@redhat.com>
2216
2217 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2218 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2219 (help_cmd_list): Constify.
2220 (lookup_cmd): Update.
2221 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2222 const.
2223 (help_cmd_list, apropos_cmd): Update.
2224 * cli/cli-script.c (show_user): Update.
2225 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2226 * cli/cli-setshow.h (cmd_show_list): Update.
2227 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2228 (cmd_show_list): Update.
2229 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2230 * python/py-cmd.c (cmdpy_destroyer): Update.
2231
2232 2014-07-24 Tom Tromey <tromey@redhat.com>
2233
2234 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2235 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2236 const.
2237 * command.h (deprecate_cmd): Update.
2238 * maint.c (maintenance_do_deprecate): Add casts.
2239
2240 2014-07-24 Tom Tromey <tromey@redhat.com>
2241
2242 * cli/cli-decode.c (help_cmd): Make parameter "const".
2243 * cli/cli-decode.h (help_cmd): Update.
2244
2245 2014-07-24 Tom Tromey <tromey@redhat.com>
2246
2247 * stack.c (up_silently_base, down_silently_base): Make argument
2248 const.
2249
2250 2014-07-24 Tom Tromey <tromey@redhat.com>
2251
2252 * solib.c (solib_add): Make "pattern" const.
2253 * solib.h (solib_add): Update.
2254
2255 2014-07-24 Tom Tromey <tromey@redhat.com>
2256
2257 * remote.c (remote_serial_open, print_packet, putpkt)
2258 (putpkt_binary): Constify.
2259 * remote.h (putpkt): Update.
2260
2261 2014-07-24 Tom Tromey <tromey@redhat.com>
2262
2263 * monitor.c (monitor_open): Make "args" const.
2264 * monitor.h (monitor_open): Update.
2265
2266 2014-07-24 Tom Tromey <tromey@redhat.com>
2267
2268 * maint.c (match_bfd_flags): Make "string" const.
2269 (print_bfd_section_info): Remove casts.
2270 (print_objfile_section_info): Make "string" const.
2271
2272 2014-07-24 Tom Tromey <tromey@redhat.com>
2273
2274 * inf-child.c (inf_child_open_target): Make "arg" const.
2275 * inf-child.h (inf_child_open_target): Update.
2276
2277 2014-07-24 Tom Tromey <tromey@redhat.com>
2278
2279 * environ.c (unset_in_environ): Make "var" const.
2280 * environ.h (unset_in_environ): Update.
2281
2282 2014-07-24 Tom Tromey <tromey@redhat.com>
2283
2284 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2285 Make "cmd" const.
2286 (scan_filename_with_cleanup): Likewise.
2287 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2288 Make arguments const.
2289 (restore_command): Update.
2290
2291 2014-07-24 Pedro Alves <palves@redhat.com>
2292
2293 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2294
2295 2014-07-24 Tom Tromey <tromey@redhat.com>
2296 Gary Benson <gbenson@redhat.com>
2297
2298 * nat/linux-ptrace.c (additional_flags): New global.
2299 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2300 additional_flags; don't check GDBSERVER.
2301 (linux_ptrace_set_additional_flags): New function.
2302 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2303 Declare.
2304 * linux-nat.c (_initialize_linux_nat): Call
2305 linux_ptrace_set_additional_flags.
2306
2307 2014-07-24 Tom Tromey <tromey@redhat.com>
2308
2309 * make-target-delegates (munge_type, write_debugmethod): New
2310 functions.
2311 (debug_names): New global.
2312 ($TARGET_DEBUG_PRINTER): New global.
2313 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2314 name.
2315 Write debug methods. Generate init_debug_target.
2316 * target-debug.h: New file.
2317 * target-delegates.c: Rebuild.
2318 * target.c: Include target-debug.h.
2319 (debug_target): Hoist definition.
2320 (target_kill, target_get_section_table, target_memory_map)
2321 (target_flash_erase, target_flash_done, target_detach)
2322 (target_disconnect, target_wait, target_resume)
2323 (target_pass_signals, target_program_signals, target_follow_fork)
2324 (target_mourn_inferior, target_search_memory)
2325 (target_thread_address_space, target_close)
2326 (target_find_new_threads, target_core_of_thread)
2327 (target_verify_memory, target_insert_mask_watchpoint)
2328 (target_remove_mask_watchpoint): Remove targetdebug code.
2329 (debug_to_post_attach, debug_to_prepare_to_store)
2330 (debug_to_files_info, debug_to_insert_breakpoint)
2331 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2332 (debug_to_region_ok_for_hw_watchpoint)
2333 (debug_to_can_accel_watchpoint_condition)
2334 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2335 (debug_to_watchpoint_addr_within_range)
2336 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2337 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2338 (debug_to_terminal_init, debug_to_terminal_inferior)
2339 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2340 (debug_to_terminal_save_ours, debug_to_terminal_info)
2341 (debug_to_load, debug_to_post_startup_inferior)
2342 (debug_to_insert_fork_catchpoint)
2343 (debug_to_remove_fork_catchpoint)
2344 (debug_to_insert_vfork_catchpoint)
2345 (debug_to_remove_vfork_catchpoint)
2346 (debug_to_insert_exec_catchpoint)
2347 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2348 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2349 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2350 (setup_target_debug): Call init_debug_target.
2351 * target.h (TARGET_DEBUG_PRINTER): New macro.
2352 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2353 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2354
2355 2014-07-24 Gary Benson <gbenson@redhat.com>
2356
2357 * exceptions.h (throw_vfatal): Renamed to...
2358 (throw_vquit): New declaration.
2359 (throw_quit): Likewise.
2360 * exceptions.c (throw_vfatal): Renamed to...
2361 (throw_vquit): New function.
2362 (throw_quit): Likewise.
2363 (throw_error): Call throw_verror rather than throw_it.
2364 * utils.h (vfatal): Removed.
2365 (fatal): Likewise.
2366 * utils.c (vfatal): Removed.
2367 (fatal): Likewise.
2368 (internal_verror): Replaced call to fatal with call to throw_quit.
2369 (quit): Replaced calls to fatal with calls to throw_quit.
2370
2371 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2372
2373 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2374 target_read_code.
2375
2376 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2377
2378 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2379 less than zero in conditional expression.
2380
2381 2014-07-23 Tom Tromey <tromey@redhat.com>
2382
2383 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2384 ($INTRO_PART): Don't match whitespace.
2385 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2386 argument matching.
2387 ($METHOD): Add $METHOD_TRAILER.
2388 (trim): Rewrite.
2389 (scan_target_h): New sub.
2390 Change main loop not to collect state.
2391 * target-delegates.c: Rebuild.
2392
2393 2014-07-23 Gary Benson <gbenson@redhat.com>
2394
2395 * cp-support.c (gdb_demangle): Fix build on systems without
2396 sigaltstack.
2397
2398 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2399
2400 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2401 for reference entry value target data value.
2402
2403 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2404
2405 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2406 value_available_contents_eq.
2407
2408 2014-07-22 Pedro Alves <palves@redhat.com>
2409
2410 * value.c (allocate_optimized_out_value): Don't mark value as
2411 non-lazy.
2412
2413 2014-07-22 Jiong Wang <jiong.wang@arm.com>
2414
2415 * MAINTAINERS (Write After Approval): Update my email address.
2416
2417 2014-07-20 Doug Evans <dje@google.com>
2418
2419 PR server/17147
2420 * remote.c (putpkt_binary): Add text to error message.
2421
2422 2014-07-20 Yao Qi <yao@codesourcery.com>
2423
2424 * eval.c: Remove "Chill" from comments.
2425 * gdbtypes.h: Likewise.
2426 * symtab.h: Likewise.
2427
2428 2014-07-20 Yao Qi <yao@codesourcery.com>
2429
2430 * std-operator.def: Update comments to TERNOP_SLICE.
2431
2432 2014-07-20 Yao Qi <yao@codesourcery.com>
2433
2434 * std-operator.def: Remove BINOP_RANGE.
2435 * breakpoint.c (watchpoint_exp_is_const): Update.
2436 * expprint.c (dump_subexp_body_standard): Likewise.
2437 * eval.c (init_array_element): Remove dead code.
2438 (evaluate_subexp_standard): Likewise.
2439
2440 2014-07-20 Yao Qi <yao@codesourcery.com>
2441
2442 * std-operator.def: Remove BINOP_IN.
2443 * breakpoint.c (watchpoint_exp_is_const): Update.
2444 * eval.c (evaluate_subexp_standard): Likewise.
2445 * expprint.c (dump_subexp_body_standard): Likewise.
2446
2447 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2448
2449 * microblaze-tdep.c (microblaze_register_names): Add
2450 the rshr and rslr register names.
2451 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2452 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2453 Use of tdesc_numbered_register. Use of
2454 microblaze_register_g_packet_guesses. Use of
2455 tdesc_use_registers. Use of set_gdbarch_register_type.
2456 (microblaze_register_g_packet_guesses): New.
2457 * microblaze-tdep.h (microblaze_reg_num): Add
2458 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2459 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2460 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2461 * features/microblaze-core.xml: New file.
2462 * features/microblaze-stack-protect.xml: New file.
2463 * features/microblaze-with-stack-protect.c: New file.
2464 * features/microblaze-with-stack-protect.xml: New file.
2465 * features/microblaze.xml: New file.
2466 * features/microblaze.c: New file.
2467 * features/Makefile (microblaze-with-stack-protect): Add
2468 microblaze-with-stack-protect microblaze and microblaze-expedite.
2469 * regformats/microblaze-with-stack-protect.dat: New file.
2470 * regformats/microblaze.dat: New file.
2471 * doc/gdb.texinfo (MicroBlaze Features): Added.
2472
2473 2014-07-18 Tom Tromey <tromey@redhat.com>
2474
2475 * exec.c (exec_ops): Now static.
2476 * exec.h (exec_ops): Don't declare.
2477
2478 2014-07-18 Tom Tromey <tromey@redhat.com>
2479
2480 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2481 to find_target_beneath.
2482 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2483 find_target_beneath.
2484 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2485
2486 2014-07-18 Tom Tromey <tromey@redhat.com>
2487
2488 PR gdb/17130:
2489 * utils.c (quit): Use target_supports_terminal_ours.
2490 * target.h (target_supports_terminal_ours): Declare.
2491 * target.c (target_supports_delete_record): Don't check
2492 to_delete_record against NULL.
2493 (target_supports_terminal_ours): New function.
2494
2495 2014-07-18 Tom Tromey <tromey@redhat.com>
2496
2497 PR gdb/17130:
2498 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2499 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2500 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2501 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2502 * windows-nat.c (windows_xfer_partial): Always delegate.
2503 * record-btrace.c (record_btrace_xfer_partial): Simplify
2504 delegation.
2505 (record_btrace_fetch_registers, record_btrace_store_registers)
2506 (record_btrace_prepare_to_store, record_btrace_resume)
2507 (record_btrace_wait, record_btrace_find_new_threads)
2508 (record_btrace_thread_alive): Likewise.
2509 * procfs.c (procfs_xfer_partial): Always delegate.
2510 * corelow.c (core_xfer_partial): Always delegate.
2511 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2512
2513 2014-07-18 Tom Tromey <tromey@redhat.com>
2514
2515 * exec.c (exec_make_note_section): Move earlier.
2516
2517 2014-07-17 Doug Evans <dje@google.com>
2518
2519 PR gdb/17170
2520 * maint.c (count_symtabs_and_blocks): Handle NULL
2521 current_program_space.
2522 (report_command_stats): Check global enabled flag in addition to
2523 recorded enabled flag.
2524 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2525
2526 2014-07-16 Pedro Alves <palves@redhat.com>
2527
2528 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2529
2530 2014-07-16 Tom Tromey <tromey@redhat.com>
2531
2532 * target.h (struct target_ops) <to_delete_record>: Reformat
2533 comment.
2534
2535 2014-07-16 Tom Tromey <tromey@redhat.com>
2536
2537 * target-delegates.c: Rebuild.
2538
2539 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2540
2541 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2542 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2543 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2544 (avr_pointer_to_address): Likewise.
2545 (avr_address_class_type_flags): New function.
2546 (avr_address_class_type_flags_to_name): Likewise.
2547 (avr_address_class_name_to_type_flags): Likewise.
2548 (avr_gdbarch_init): Set address_class_type_flags,
2549 address_class_type_flags_to_name and
2550 address_class_name_to_type_flags.
2551
2552 2014-07-15 Pedro Alves <palves@redhat.com>
2553
2554 * linux-nat.c (kill_callback): Save errno and work with saved
2555 copy.
2556
2557 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2558
2559 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2560
2561 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2562
2563 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2564 breakpoint support correctly.
2565
2566 2014-07-14 Pedro Alves <palves@redhat.com>
2567
2568 * utils.c (prompt_for_continue): Call target_terminal_ours.
2569
2570 2014-07-14 Pedro Alves <palves@redhat.com>
2571
2572 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2573 catch_errors. Don't re-enable stdin or notify observers where,
2574 and rethrow error.
2575 (fetch_inferior_event_wrapper): Delete.
2576
2577 2014-07-14 Pedro Alves <palves@redhat.com>
2578
2579 PR gdb/17072
2580 * top.c: Include "inf-loop.h".
2581 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2582 field.
2583 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2584 was async before.
2585 (gdb_readline_wrapper): Store whether the target is async, and
2586 make it sync.
2587
2588 2014-07-14 Pedro Alves <palves@redhat.com>
2589
2590 PR gdb/17072
2591 * top.c (gdb_readline_wrapper_line): Tweak comment.
2592 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2593 the input handler callback.
2594
2595 2014-07-14 Pedro Alves <palves@redhat.com>
2596
2597 PR gdb/17072
2598 * main.c: Include event-top.h.
2599 (handle_command_errors): New function.
2600 (catch_command_errors, catch_command_errors_const): Use it.
2601
2602 2014-07-14 Pedro Alves <palves@redhat.com>
2603
2604 * exceptions.c (catch_command_errors, catch_command_errors_const):
2605 Moved to main.c.
2606 * exceptions.h (catch_command_errors_ftype)
2607 (catch_command_errors_const_ftype): Moved to main.c.
2608 (catch_command_errors, catch_command_errors_const): Delete
2609 declarations.
2610 * main.c (catch_command_errors_ftype)
2611 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2612 (catch_command_errors, catch_command_errors_const)): Moved here
2613 from exceptions.c and make static.
2614
2615 2014-07-14 Pedro Alves <palves@redhat.com>
2616
2617 * exceptions.c (print_any_exception): Delete.
2618 (catch_exceptions_with_msg): Use exception_print instead of
2619 print_any_exception.
2620 (catch_errors): Use exception_fprintf instead of
2621 print_any_exception.
2622 (catch_command_errors, catch_command_errors_const): Use
2623 exception_print instead of print_any_exception.
2624
2625 2014-07-14 Pedro Alves <palves@redhat.com>
2626
2627 * infcall.c (run_inferior_call): Set 'sync_execution' while
2628 running the inferior call.
2629
2630 2014-07-14 Pedro Alves <palves@redhat.com>
2631
2632 * value.c (value_contents_equal): Delete function.
2633 * value.h (value_contents_equal): Delete declaration.
2634
2635 2014-07-14 Tom Tromey <tromey@redhat.com>
2636
2637 PR exp/17106:
2638 * gdbtypes.c (is_dynamic_type_internal): New function, from
2639 is_dynamic_type.
2640 (is_dynamic_type): Rewrite.
2641 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2642 (resolve_dynamic_struct): Likewise.
2643 (resolve_dynamic_type_internal): New function, from
2644 resolve_dynamic_type.
2645 (resolve_dynamic_type): Rewrite.
2646
2647 2014-07-14 Tom Tromey <tromey@redhat.com>
2648
2649 * target.c (target_require_runnable): Also check record_stratum.
2650 Update comment.
2651
2652 2014-07-11 Yao Qi <yao@codesourcery.com>
2653
2654 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2655 thumb_instruction_restores_sp return true.
2656
2657 2014-07-11 Yao Qi <yao@codesourcery.com>
2658
2659 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2660 (thumb_in_function_epilogue_p): Call
2661 thumb_instruction_restores_sp.
2662
2663 2014-07-11 Yao Qi <yao@codesourcery.com>
2664
2665 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2666 'add sp, #imm'.
2667 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2668
2669 2014-07-11 Gary Benson <gbenson@redhat.com>
2670
2671 * amd64-linux-nat.c (gdbcore.h): Remove include.
2672 (regset.h): Likewise.
2673 (nat/linux-btrace.h): Likewise.
2674 (btrace.h): Likewise.
2675 (gdb_assert.h): Likewise.
2676 (string.h): Likewise.
2677 (sys/uio.h): Likewise.
2678 (sys/debugreg.h): Likewise.
2679 (sys/syscall.h): Likewise.
2680 (sys/procfs.h): Likewise.
2681 (sys/user.h): Likewise.
2682 (asm/ptrace.h): Likewise.
2683 (i386-nat.h): Likewise.
2684 * i386-linux-nat.c (i386-nat.h): Likewise.
2685 (regset.h): Likewise.
2686 (target.h): Likewise.
2687 (linux-nat.h): Likewise.
2688 (nat/linux-btrace.h): Likewise.
2689 (btrace.h): Likewise.
2690 (gdb_assert.h): Likewise.
2691 (string.h): Likewise.
2692 (sys/uio.h): Likewise.
2693 (sys/user.h): Likewise.
2694 (sys/procfs.h): Likewise.
2695 (sys/reg.h): Likewise.
2696 (sys/debugreg.h): Likewise.
2697 (ORIG_EAX): Remove definition.
2698
2699 2014-07-11 Gary Benson <gbenson@redhat.com>
2700
2701 * i386-linux-nat.h: New file.
2702 * x86-linux-nat.h: Likewise.
2703 * x86-linux-nat.c: Likewise.
2704 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2705 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2706 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2707 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2708 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2709 (PTRACE_SETREGSET): Likewise.
2710 (arch_lwp_info): Now in x86-linux-nat.c.
2711 (have_ptrace_getregset): Now in x86-linux-nat.h.
2712 (x86_linux_dr_get): Now in x86-linux-nat.c.
2713 (x86_linux_dr_set): Likewise.
2714 (x86_linux_dr_get_addr): Likewise.
2715 (x86_linux_dr_get_control): Likewise.
2716 (x86_linux_dr_get_status): Likewise.
2717 (update_debug_registers_callback): Likewise.
2718 (x86_linux_dr_set_control): Likewise.
2719 (x86_linux_dr_set_addr): Likewise.
2720 (x86_linux_prepare_to_resume): Likewise.
2721 (x86_linux_new_thread): Likewise.
2722 (x86_linux_new_fork): Likewise.
2723 (x86_linux_get_thread_area): Likewise.
2724 (super_post_startup_inferior): Likewise.
2725 (x86_linux_child_post_startup_inferior): Likewise.
2726 (AMD64_LINUX_USER64_CS): Likewise.
2727 (AMD64_LINUX_X32_DS): Likewise.
2728 (x86_linux_read_description): Likewise.
2729 (x86_linux_enable_btrace): Likewise.
2730 (x86_linux_disable_btrace): Likewise.
2731 (x86_linux_teardown_btrace): Likewise.
2732 (x86_linux_read_btrace): Likewise.
2733 (x86_linux_create_target): Likewise.
2734 (x86_linux_add_target): Likewise.
2735 * i386-linux-nat.c (x86-linux-nat.h): New include.
2736 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2737 (PTRACE_SETREGSET): Likewise.
2738 (arch_lwp_info): Now in x86-linux-nat.c.
2739 (have_ptrace_getregset): Now in x86-linux-nat.h.
2740 (x86_linux_dr_get): Now in x86-linux-nat.c.
2741 (x86_linux_dr_set): Likewise.
2742 (x86_linux_dr_get_addr): Likewise.
2743 (x86_linux_dr_get_control): Likewise.
2744 (x86_linux_dr_get_status): Likewise.
2745 (update_debug_registers_callback): Likewise.
2746 (x86_linux_dr_set_control): Likewise.
2747 (x86_linux_dr_set_addr): Likewise.
2748 (x86_linux_prepare_to_resume): Likewise.
2749 (x86_linux_new_thread): Likewise.
2750 (x86_linux_new_fork): Likewise.
2751 (x86_linux_get_thread_area): Likewise.
2752 (super_post_startup_inferior): Likewise.
2753 (x86_linux_child_post_startup_inferior): Likewise.
2754 (AMD64_LINUX_USER64_CS): Likewise.
2755 (AMD64_LINUX_X32_DS): Likewise.
2756 (x86_linux_read_description): Likewise.
2757 (x86_linux_enable_btrace): Likewise.
2758 (x86_linux_disable_btrace): Likewise.
2759 (x86_linux_teardown_btrace): Likewise.
2760 (x86_linux_read_btrace): Likewise.
2761 (x86_linux_create_target): Likewise.
2762 (x86_linux_add_target): Likewise.
2763
2764 2014-07-11 Gary Benson <gbenson@redhat.com>
2765
2766 * amd64-linux-nat.c: Comment and whitespace changes.
2767 * i386-linux-nat.c: Comment and whitespace changes.
2768
2769 2014-07-11 Gary Benson <gbenson@redhat.com>
2770
2771 * amd64-linux-nat.c (x86_linux_create_target): New function.
2772 (x86_linux_add_target): Likewise.
2773 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2774 * i386-linux-nat.c (x86_linux_create_target): New function.
2775 (x86_linux_add_target): Likewise.
2776 (_initialize_i386_linux_nat): Delegate to the above new functions.
2777
2778 2014-07-11 Gary Benson <gbenson@redhat.com>
2779
2780 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2781 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2782 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2783 (ps_get_thread_area): Delegate to the above.
2784
2785 2014-07-11 Gary Benson <gbenson@redhat.com>
2786
2787 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2788 x86_linux_read_description. All uses updated. amd64-specific
2789 code conditionalized. Conditionalized i386-specific code added.
2790 Redundant cast removed.
2791 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2792 x86_linux_read_description. All uses updated. i386-specific
2793 code conditionalized. Conditionalized amd64-specific code added.
2794 One sizeof replaced with the actual type it is describing.
2795
2796 2014-07-11 Gary Benson <gbenson@redhat.com>
2797
2798 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2799 x86_linux_dr_get. All uses updated.
2800 (amd64_linux_dr_set): Renamed to
2801 x86_linux_dr_set. All uses updated.
2802 (amd64_linux_dr_get_addr): Renamed to
2803 x86_linux_dr_get_addr. All uses updated.
2804 (amd64_linux_dr_get_control): Renamed to
2805 x86_linux_dr_get_control. All uses updated.
2806 (amd64_linux_dr_get_status): Renamed to
2807 x86_linux_dr_get_status. All uses updated.
2808 (amd64_linux_dr_set_control): Renamed to
2809 x86_linux_dr_set_control. All uses updated.
2810 (amd64_linux_dr_set_addr): Renamed to
2811 x86_linux_dr_set_addr. All uses updated.
2812 (amd64_linux_prepare_to_resume): Renamed to
2813 x86_linux_prepare_to_resume. All uses updated.
2814 (amd64_linux_new_thread): Renamed to
2815 x86_linux_new_thread. All uses updated.
2816 (amd64_linux_new_fork): Renamed to
2817 x86_linux_new_fork. All uses updated.
2818 (amd64_linux_child_post_startup_inferior): Renamed to
2819 x86_linux_child_post_startup_inferior. All uses updated.
2820 (amd64_linux_enable_btrace): Renamed to
2821 x86_linux_enable_btrace. All uses updated.
2822 (amd64_linux_disable_btrace): Renamed to
2823 x86_linux_disable_btrace. All uses updated.
2824 (amd64_linux_teardown_btrace): Renamed to
2825 x86_linux_teardown_btrace. All uses updated.
2826 (amd64_linux_read_btrace): Renamed to
2827 x86_linux_read_btrace. All uses updated.
2828 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2829 x86_linux_dr_get. All uses updated.
2830 (i386_linux_dr_set): Renamed to
2831 x86_linux_dr_set. All uses updated.
2832 (i386_linux_dr_get_addr): Renamed to
2833 x86_linux_dr_get_addr. All uses updated.
2834 (i386_linux_dr_get_control): Renamed to
2835 x86_linux_dr_get_control. All uses updated.
2836 (i386_linux_dr_get_status): Renamed to
2837 x86_linux_dr_get_status. All uses updated.
2838 (i386_linux_dr_set_control): Renamed to
2839 x86_linux_dr_set_control. All uses updated.
2840 (i386_linux_dr_set_addr): Renamed to
2841 x86_linux_dr_set_addr. All uses updated.
2842 (i386_linux_prepare_to_resume): Renamed to
2843 x86_linux_prepare_to_resume. All uses updated.
2844 (i386_linux_new_thread): Renamed to
2845 x86_linux_new_thread. All uses updated.
2846 (i386_linux_new_fork): Renamed to
2847 x86_linux_new_fork. All uses updated.
2848 (i386_linux_child_post_startup_inferior): Renamed to
2849 x86_linux_child_post_startup_inferior. All uses updated.
2850 (i386_linux_enable_btrace): Renamed to
2851 x86_linux_enable_btrace. All uses updated.
2852 (i386_linux_disable_btrace): Renamed to
2853 x86_linux_disable_btrace. All uses updated.
2854 (i386_linux_teardown_btrace): Renamed to
2855 x86_linux_teardown_btrace. All uses updated.
2856 (i386_linux_read_btrace): Renamed to
2857 x86_linux_read_btrace. All uses updated.
2858
2859 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2860
2861 * remote.c (extended_remote_post_attach): New function.
2862 (init_extended_remote_ops): Install it as to_post_attach method.
2863
2864 2014-07-09 Pedro Alves <palves@redhat.com>
2865
2866 * infcmd.c (attach_command_post_wait): Don't call
2867 target_terminal_inferior here.
2868 (attach_command): Call it here instead.
2869
2870 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2873 field.
2874 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2875 from varobj.c, with additional checks.
2876 (c_varobj_ops): Fill in is_path_expr_parent field.
2877 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2878 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2879 field.
2880 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2881 ops method.
2882 (varobj_default_is_path_expr_parent): New function.
2883 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2884 (varobj_default_is_path_expr_parent): Declare new function.
2885
2886 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2887
2888 * infcmd.c (finish_backward): Turn internal error into normal error.
2889
2890 2014-07-07 Pedro Alves <palves@redhat.com>
2891
2892 PR gdb/17096
2893 * remote.c (async_handle_remote_sigint)
2894 (async_handle_remote_sigint_twice): Call
2895 gdb_call_async_signal_handler instead of
2896 mark_async_signal_handler.
2897
2898 2014-07-07 Tom Tromey <tromey@redhat.com>
2899
2900 * target-delegates.c: Rebuild.
2901 * target.c (target_info_record): Remove.
2902 * record.c (info_record_command): Unconditionally call
2903 to_info_record.
2904 * target.h (struct target_ops) <to_info_record>: Use
2905 TARGET_DEFAULT_IGNORE.
2906 (target_info_record): Remove.
2907
2908 2014-07-07 Tom Tromey <tromey@redhat.com>
2909
2910 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2911 TARGET_DEFAULT_NORETURN.
2912 * target.c (generic_tls_error): New function.
2913 (target_translate_tls_address): Don't search target stack.
2914 * target-delegates.c: Rebuild.
2915 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2916 stack.
2917 * linux-thread-db.c (thread_db_get_thread_local_address):
2918 Unconditionally call beneath target.
2919
2920 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2921
2922 * cli/cli-logging.c (pop_output_files): Assign targerr to
2923 gdb_stdtargerr.
2924
2925 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2926
2927 * MAINTAINERS (Write After Approval): Update my email address.
2928
2929 2014-07-02 Gary Benson <gbenson@redhat.com>
2930
2931 * proc-service.c (ps_xfer_memory): Update comment.
2932 (ps_pstop): Remove unused function.
2933 (ps_pcontinue): Likewise.
2934 (ps_lstop): Likewise.
2935 (ps_lcontinue): Likewise.
2936 (ps_lgetxregsize): Likewise.
2937 (ps_lgetxregs): Likewise.
2938 (ps_lsetxregs): Likewise.
2939 (ps_plog): Likewise.
2940 (ps_ptread): Likewise.
2941 (ps_ptwrite): Likewise.
2942
2943 2014-07-01 Mark Wielaard <mjw@redhat.com>
2944
2945 * dwarf2read.c (add_array_cv_type): New function.
2946 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2947 (read_tag_volatile_type): Likewise.
2948
2949 2014-07-01 Tom Tromey <tromey@redhat.com>
2950
2951 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2952 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2953 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2954 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2955 * command.h (cmd_cfunc_ftype): Move earlier.
2956 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2957 (add_com, add_info): Use cmd_cfunc_ftype.
2958
2959 2014-06-30 Tom Tromey <tromey@redhat.com>
2960
2961 * symtab.c (operator_chars): Make parameters and return type
2962 const.
2963 (file_matches): Make "files" const.
2964 (struct search_symbols_data) <files>: Now const.
2965 (search_symbols): Make "regexp" and "files" parameters const.
2966 Update.
2967 (symtab_symbol_info): Remove cast.
2968 (rbreak_command): Update.
2969 * symtab.h (search_symbols): Update.
2970
2971 2014-06-27 Yao Qi <yao@codesourcery.com>
2972
2973 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2974 Change parameter type to 'struct thread_info *'. Caller
2975 updated.
2976 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2977 Update declaration.
2978 * dummy-frame.c (struct dummy_frame_id): New.
2979 (dummy_frame_id_eq): New function.
2980 (struct dummy_frame) <id>: Change its type to 'struct
2981 dummy_frame_id'.
2982 (dummy_frame_push): Add parameter ptid and save it in
2983 dummy_frame_id.
2984 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2985 inferior_ptid.
2986 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2987 to inferior_ptid.
2988 (lookup_dummy_frame): Change parameter type to 'struct
2989 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2990 instead of frame_id_eq.
2991 (dummy_frame_pop): Add parameter ptid. Callers updated.
2992 Update comments. Compose dummy_frame_id and pass it to
2993 lookup_dummy_frame.
2994 (dummy_frame_discard): Add parameter ptid.
2995 (dummy_frame_sniffer): Compose dummy_frame_id and call
2996 dummy_frame_id_eq instead of frame_id_eq.
2997 (fprint_dummy_frames): Print ptid.
2998 * dummy-frame.h: Remove comments.
2999 (dummy_frame_push): Add ptid in declaration.
3000 (dummy_frame_pop, dummy_frame_discard): Likewise.
3001
3002 2014-06-26 Tom Tromey <tromey@redhat.com>
3003
3004 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3005 * command.h (error_no_arg): Update.
3006
3007 2014-06-26 Tom Tromey <tromey@redhat.com>
3008
3009 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3010 (do_show_command): Make "arg" const.
3011 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3012
3013 2014-06-26 Tom Tromey <tromey@redhat.com>
3014
3015 * record-full.c (record_full_get_bookmark): Make "args" const.
3016 (record_full_goto_bookmark): Make "raw_bookmark" const.
3017 * record.c (record_goto): New function.
3018 (cmd_record_goto): Use it. Now static.
3019 * record.h (record_goto): Declare.
3020 (cmd_record_goto): Remove declaration.
3021 * target-delegates.c: Rebuild.
3022 * target.h (struct target_ops) <to_get_bookmark,
3023 to_goto_bookmark>: Make parameter const.
3024
3025 2014-06-26 Tom Tromey <tromey@redhat.com>
3026
3027 * defs.h (generic_load): Update.
3028 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3029 * monitor.c (monitor_load): Make "args" const.
3030 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3031 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3032 const.
3033 (mips_load): Make "file" const.
3034 * remote-sim.c (gdbsim_load): Make "args" const.
3035 * remote.c (remote_load): Make "name" const.
3036 * symfile.c (generic_load): Make "args" const.
3037 * target-delegates.c: Rebuild.
3038 * target.c (target_load): Make "arg" const.
3039 (debug_to_load): Make "args" const.
3040 * target.h (struct target_ops) <to_load>: Make parameter const.
3041 (target_load): Update.
3042
3043 2014-06-26 Tom Tromey <tromey@redhat.com>
3044
3045 PR symtab/16902:
3046 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3047 (dwarf2_physname, read_partial_die)
3048 (guess_partial_die_structure_name, fixup_partial_die)
3049 (guess_full_die_structure_name, anonymous_struct_prefix)
3050 (dwarf2_name): Use per-BFD obstack.
3051
3052 2014-06-26 Yao Qi <yao@codesourcery.com>
3053
3054 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3055 dummyframe and this_id into inner block below.
3056
3057 2014-06-26 Yao Qi <yao@codesourcery.com>
3058
3059 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3060 with "signal_pass[0]" in the initialization of signal_pass.
3061
3062 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3063
3064 * record-btrace.c (record_btrace_generating_corefile)
3065 (record_btrace_prepare_to_generate_core)
3066 (record_btrace_done_generating_core): New.
3067 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3068 (record_btrace_store_registers, record_btrace_prepare_to_store):
3069 Forward request when generating a core file.
3070 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3071 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3072 to_done_generating_core.
3073
3074 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3075
3076 * target.h (target_ops) <to_prepare_to_generate_core>
3077 <to_done_generating_core>: New.
3078 (target_prepare_to_generate_core, target_done_generating_core): New.
3079 * target.c (target_prepare_to_generate_core)
3080 (target_done_generating_core): New.
3081 * target-delegates.c: Regenerate.
3082 * gcore.c: (write_gcore_file): Rename to ...
3083 (write_gcore_file_1): ...this.
3084 (write_gcore_file): Call target_prepare_to_generate_core
3085 and target_done_generating_core.
3086
3087 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3088
3089 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3090 * gcore.c (write_gcore_file): Free memory returned from
3091 make_corefile_notes.
3092 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3093 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3094
3095 2014-06-24 Yao Qi <yao@codesourcery.com>
3096
3097 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3098 (arm_linux_init_abi): Set skip_trampoline_code with
3099 gdbarch_skip_trampoline_code instead of
3100 find_solib_trampoline_target.
3101
3102 2014-06-24 Yao Qi <yao@codesourcery.com>
3103
3104 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3105 arm_skip_bx_reg returns non-zero.
3106
3107 2014-06-24 Yao Qi <yao@codesourcery.com>
3108
3109 * arm-tdep.c (arm_skip_bx_reg): New function.
3110 (arm_skip_stub): Call arm_skip_bx_reg.
3111
3112 2014-06-23 Don Breazeal <donb@codesourcery.com>
3113
3114 * MAINTAINERS: Add myself as write-after-approval maintainer.
3115
3116 2014-06-23 Pedro Alves <palves@redhat.com>
3117
3118 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3119 DR_CONTROL before setting DR0..DR3.
3120 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3121 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3122 bits of DR_CONTROL related to the debug register slot being
3123 disabled. If all slots are vacant, clear local slowdown as well,
3124 and assert DR_CONTROL is 0.
3125
3126 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3127
3128 * python/lib/gdb/command/xmethods.py
3129 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3130 current progspace only if the string "progspace" matches LOCUS_RE.
3131
3132 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3133
3134 Fix --with-system-readline with readline-6.3 patch 5.
3135 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3136 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3137 types.
3138
3139 2014-06-20 Tom Tromey <tromey@redhat.com>
3140
3141 * dwarf2read.c (dw2_get_real_path): Use correct type in
3142 OBSTACK_CALLOC.
3143 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3144
3145 2014-06-20 Gary Benson <gbenson@redhat.com>
3146
3147 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3148 * common/glibc_thread_db.h: Likewise.
3149 * common/i386-cpuid.h: Likewise.
3150 * common/i386-gcc-cpuid.h: Likewise.
3151 * common/linux-btrace.h: Likewise.
3152 * common/linux-osdata.h: Likewise.
3153 * common/linux-procfs.h: Likewise.
3154 * common/linux-ptrace.h: Likewise.
3155 * common/mips-linux-watch.h: Likewise.
3156 * common/linux-btrace.c: Moved to nat.
3157 * common/linux-osdata.c: Likewise.
3158 * common/linux-procfs.c: Likewise.
3159 * common/linux-ptrace.c: Likewise.
3160 * common/mips-linux-watch.c: Likewise.
3161 * nat/gdb_thread_db.h: Moved from common.
3162 * nat/glibc_thread_db.h: Likewise.
3163 * nat/i386-cpuid.h: Likewise.
3164 * nat/i386-gcc-cpuid.h: Likewise.
3165 * nat/linux-btrace.c: Likewise.
3166 * nat/linux-btrace.h: Likewise.
3167 * nat/linux-osdata.c: Likewise.
3168 * nat/linux-osdata.h: Likewise.
3169 * nat/linux-procfs.c: Likewise.
3170 * nat/linux-procfs.h: Likewise.
3171 * nat/linux-ptrace.c: Likewise.
3172 * nat/linux-ptrace.h: Likewise.
3173 * nat/mips-linux-watch.c: Likewise.
3174 * nat/mips-linux-watch.h: Likewise.
3175 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3176 (object file files): Reordered.
3177 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3178 of glibc_thread_db.h.
3179
3180 2014-06-20 Gary Benson <gbenson@redhat.com>
3181
3182 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3183 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3184 (i386_dr_low): Likewise.
3185 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3186 (i386_dr_low_set_addr): Likewise.
3187 (i386_dr_low_get_addr): Likewise.
3188 (i386_dr_low_can_set_control): Likewise.
3189 (i386_dr_low_set_control): Likewise.
3190 (i386_dr_low_get_control): Likewise.
3191 (i386_dr_low_get_status): Likewise.
3192 (i386_get_debug_register_length): Likewise.
3193 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3194 (i386_dr_low): Likewise.
3195 * nat/i386-dregs.c (i386-low.h): Remove include.
3196 (i386-nat.h): Likewise.
3197 (nat/i386-dregs.h): New include.
3198 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3199 (i386_dr_low_set_addr): Likewise.
3200 (i386_dr_low_get_addr): Likewise.
3201 (i386_dr_low_can_set_control): Likewise.
3202 (i386_dr_low_set_control): Likewise.
3203 (i386_dr_low_get_control): Likewise.
3204 (i386_dr_low_get_status): Likewise.
3205 (i386_get_debug_register_length): Likewise.
3206 (debug_hw_points): Likewise.
3207
3208 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3209
3210 * Makefile.in (SFILES): Add d-exp.y.
3211 (YYFILES): Add d-exp.c.
3212 (YYOBJ): Add d-exp.o.
3213 (local-maintainer-clean): Delete d-exp.c.
3214 * d-exp.y: New file.
3215 * d-lang.h (d_parse): New declaration.
3216 (d_error): New declaration.
3217 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3218 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3219 PREC_ORDER operators.
3220 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3221
3222 2014-06-19 Yao Qi <yao@codesourcery.com>
3223
3224 * gdbthread.h (any_running): Remove the declaration.
3225 * thread.c (any_running): Remove.
3226
3227 2014-06-19 Yao Qi <yao@codesourcery.com>
3228
3229 * gdbthread.h (struct thread_info) <state>: Change its type to
3230 'enum thread_state'. Update comments.
3231
3232 2014-06-19 Pedro Alves <palves@redhat.com>
3233
3234 * gdbthread.h (ALL_THREADS): Delete.
3235 (ALL_NON_EXITED_THREADS): New macro.
3236 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3237 instead of ALL_THREADS.
3238 * infrun.c (find_thread_needs_step_over)
3239 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3240 instead of ALL_THREADS.
3241 * record-btrace.c (record_btrace_open)
3242 (record_btrace_stop_recording, record_btrace_close)
3243 (record_btrace_is_replaying, record_btrace_resume)
3244 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3245 * remote.c (append_pending_thread_resumptions): Likewise.
3246 * thread.c (thread_apply_all_command): Likewise.
3247
3248 2014-06-19 Gary Benson <gbenson@redhat.com>
3249
3250 * i386-nat.c (i386_stopped_by_watchpoint):
3251 Use i386_dr_stopped_by_watchpoint.
3252 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3253 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3254
3255 2014-06-19 Gary Benson <gbenson@redhat.com>
3256
3257 * nat/i386-dregs.c: New file.
3258 * Makefile.in (i386-dregs.o): New rule.
3259 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3260 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3261 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3262 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3263 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3264 * config/i386/go32.mh (NATDEPFILES): Likewise.
3265 * config/i386/linux.mh (NATDEPFILES): Likewise.
3266 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3267 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3268 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3269 * i386-nat.h (debug_hw_points): New declaration.
3270 * i386-nat.c (breakpoint.h): Remove include.
3271 (command.h): Likewise.
3272 (target.h): Likewise.
3273 (gdb_assert.h): Likewise.
3274 (debug_hw_points): Made nonstatic.
3275 (debug_printf): Now in i386-dregs.c.
3276 (TARGET_HAS_DR_LEN_8): Likewise.
3277 (DR_CONTROL_SHIFT): Likewise.
3278 (DR_CONTROL_SIZE): Likewise.
3279 (DR_RW_EXECUTE): Likewise.
3280 (DR_RW_WRITE): Likewise.
3281 (DR_RW_READ): Likewise.
3282 (DR_RW_IORW): Likewise.
3283 (DR_LEN_1): Likewise.
3284 (DR_LEN_2): Likewise.
3285 (DR_LEN_4): Likewise.
3286 (DR_LEN_8): Likewise.
3287 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3288 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3289 (DR_ENABLE_SIZE): Likewise.
3290 (DR_LOCAL_SLOWDOWN): Likewise.
3291 (DR_GLOBAL_SLOWDOWN): Likewise.
3292 (DR_CONTROL_RESERVED): Likewise.
3293 (I386_DR_CONTROL_MASK): Likewise.
3294 (I386_DR_VACANT): Likewise.
3295 (I386_DR_LOCAL_ENABLE): Likewise.
3296 (I386_DR_GLOBAL_ENABLE): Likewise.
3297 (I386_DR_DISABLE): Likewise.
3298 (I386_DR_SET_RW_LEN): Likewise.
3299 (I386_DR_GET_RW_LEN): Likewise.
3300 (I386_DR_WATCH_HIT): Likewise.
3301 (i386_wp_op_t): Likewise.
3302 (i386_show_dr): Likewise.
3303 (i386_length_and_rw_bits): Likewise.
3304 (i386_insert_aligned_watchpoint): Likewise.
3305 (i386_remove_aligned_watchpoint): Likewise.
3306 (i386_handle_nonaligned_watchpoint): Likewise.
3307 (i386_update_inferior_debug_regs): Likewise.
3308 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3309 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3310 (i386_region_ok_for_watchpoint):
3311 Use i386_dr_region_ok_for_watchpoint.
3312 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3313
3314 2014-06-19 Gary Benson <gbenson@redhat.com>
3315
3316 * i386-nat.c (i386_insert_hw_breakpoint): Use
3317 i386_insert_watchpoint.
3318 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3319
3320 2014-06-19 Gary Benson <gbenson@redhat.com>
3321
3322 * i386-nat.c (i386_dr_show): Renamed to
3323 i386_show_dr and made static. All uses updated.
3324 (i386_dr_length_and_rw_bits): Renamed to
3325 i386_length_and_rw_bits and made static.
3326 All uses updated.
3327 (i386_dr_insert_aligned_watchpoint): Renamed to
3328 i386_insert_aligned_watchpoint and made static.
3329 All uses updated.
3330 (i386_dr_remove_aligned_watchpoint): Renamed to
3331 i386_remove_aligned_watchpoint and made static.
3332 All uses updated.
3333 (i386_dr_update_inferior_debug_regs): Renamed to
3334 i386_update_inferior_debug_regs and made static.
3335 All uses updated.
3336 * nat/i386-dregs.h (i386_dr_show): Removed.
3337 (i386_dr_length_and_rw_bits): Likewise.
3338 (i386_dr_insert_aligned_watchpoint): Likewise.
3339 (i386_dr_remove_aligned_watchpoint): Likewise.
3340 (i386_dr_update_inferior_debug_regs): Likewise.
3341
3342 2014-06-19 Gary Benson <gbenson@redhat.com>
3343
3344 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3345 * configure: Regenerate.
3346 * config.in: Likewise.
3347 * main.c (signal.h): New include.
3348 (setup_alternate_signal_stack): New function.
3349 (captured_main): Call the above.
3350 * cp-support.c (signal.h): New include.
3351 (catch_demangler_crashes): New flag.
3352 (SIGJMP_BUF): New define.
3353 (SIGSETJMP): Likewise.
3354 (SIGLONGJMP): Likewise.
3355 (gdb_demangle_jmp_buf): New static global.
3356 (gdb_demangle_attempt_core_dump): Likewise.
3357 (gdb_demangle_signal_handler): New function.
3358 (gdb_demangle): If catch_demangler_crashes is set, install the
3359 above signal handler before calling bfd_demangle, and restore
3360 the original signal handler afterwards. Display the offending
3361 symbol and call demangler_warning the first time a segmentation
3362 fault is caught.
3363 (_initialize_cp_support): New maint set/show command.
3364
3365 2014-06-19 Gary Benson <gbenson@redhat.com>
3366
3367 * utils.h (resource_limit_kind): New enum.
3368 (can_dump_core): New declaration.
3369 (warn_cant_dump_core): Likewise.
3370 (dump_core): Likewise.
3371 * utils.c (dump_core): Made nonstatic. Added new
3372 parameter "limit_kind".
3373 (can_dump_core): Made nonstatic. Moved printing code to...
3374 (warn_cant_dump_core): New function.
3375 (can_dump_core_warn): Likewise.
3376 (internal_vproblem): Replace calls to can_dump_core with
3377 calls to can_dump_core_warn. Supply new argument to each.
3378
3379 2014-06-19 Gary Benson <gbenson@redhat.com>
3380
3381 * utils.h (demangler_vwarning): New declaration.
3382 (demangler_warning): Likewise.
3383 * utils.c (struct internal_problem)
3384 <user_settable_should_quit>: New field.
3385 <user_settable_should_dump_core>: Likewise
3386 (internal_error_problem): Add values for above new fields.
3387 (internal_warning_problem): Likewise.
3388 (demangler_warning_problem): New static global.
3389 (demangler_vwarning): New function.
3390 (demangler_warning): Likewise.
3391 (add_internal_problem_command): Selectively add commands.
3392 (_initialize_utils): New internal problem command.
3393 * maint.c (maintenance_demangler_warning): New function.
3394 (_initialize_maint_cmds): New command.
3395
3396 2014-06-18 Tom Tromey <tromey@redhat.com>
3397
3398 * f-valprint.c (info_common_command_for_block): Update.
3399 * symtab.h (struct general_symbol_info) <common_block>: Now
3400 const.
3401
3402 2014-06-18 Tom Tromey <tromey@redhat.com>
3403
3404 * symtab.h (struct symtab) <blockvector>: Now const.
3405 * ada-lang.c (ada_add_global_exceptions): Update.
3406 * buildsym.c (augment_type_symtab): Update.
3407 * dwarf2read.c (dw2_lookup_symbol): Update.
3408 * jit.c (finalize_symtab): Update.
3409 * jv-lang.c (add_class_symtab_symbol): Update.
3410 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3411 Update.
3412 * objfiles.c (objfile_relocate1): Update.
3413 * psymtab.c (lookup_symbol_aux_psymtabs)
3414 (maintenance_check_psymtabs): Update.
3415 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3416 Update.
3417 * spu-tdep.c (spu_catch_start): Update.
3418 * symmisc.c (dump_symtab_1): Update.
3419 * symtab.c (lookup_global_symbol_from_objfile)
3420 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3421 (basic_lookup_transparent_type_quick)
3422 (basic_lookup_transparent_type, find_pc_sect_symtab)
3423 (find_pc_sect_line, search_symbols): Update.
3424 * block.c (find_block_in_blockvector): Make "bl" const.
3425 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3426 const.
3427 (blockvector_contains_pc): Make "bv" const.
3428 (block_for_pc_sect): Update.
3429 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3430 (blockvector_contains_pc): Update.
3431 * breakpoint.c (resolve_sal_pc): Update.
3432 * inline-frame.c (block_starting_point_at): Update.
3433
3434 2014-06-18 Tom Tromey <tromey@redhat.com>
3435
3436 * completer.c (complete_line): Make "line_buffer" const.
3437 * completer.h (complete_line): Update.
3438
3439 2014-06-18 Tom Tromey <tromey@redhat.com>
3440
3441 * symtab.c (add_macro_name): Remove unneeded cast.
3442
3443 2014-06-18 Tom Tromey <tromey@redhat.com>
3444
3445 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3446 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3447
3448 2014-06-18 Tom Tromey <tromey@redhat.com>
3449
3450 * probe.c (info_probes_for_ops): Make "arg" const.
3451 * probe.h (info_probes_for_ops): Update.
3452
3453 2014-06-18 Tom Tromey <tromey@redhat.com>
3454
3455 * varobj.c (varobj_create): Update.
3456 * valops.c (value_of_this): Update.
3457 * tracepoint.c (add_local_symbols, scope_info): Update.
3458 * symtab.h (struct general_symbol_info) <block>: Now const.
3459 * symtab.c (skip_prologue_sal)
3460 (default_make_symbol_completion_list_break_on)
3461 (skip_prologue_using_sal): Update.
3462 * stack.h (iterate_over_block_locals)
3463 (iterate_over_block_local_vars): Update.
3464 * stack.c (print_frame_args): Update.
3465 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3466 parameter const.
3467 (get_selected_block): Make return type const.
3468 * python/py-frame.c (frapy_block): Update.
3469 * python/py-block.c (gdbpy_block_for_pc): Update.
3470 * p-exp.y (%union) <bval>: Now const.
3471 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3472 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3473 * m2-exp.y (%union) <bval>: Now const.
3474 * linespec.c (get_current_search_block): Make return type const.
3475 (create_sals_line_offset, find_label_symbols): Update.
3476 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3477 Update.
3478 (block_starting_point_at): Make "block" const.
3479 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3480 (check_exception_resume): Update.
3481 * guile/scm-frame.c (gdbscm_frame_block): Update.
3482 * guile/scm-block.c (gdbscm_lookup_block): Update.
3483 * frame.h (get_frame_block): Update.
3484 (get_selected_block): Make return type const.
3485 * frame.c (frame_id_inner): Update.
3486 * f-valprint.c (info_common_command_for_block)
3487 (info_common_command): Update.
3488 * dwarf2loc.c (dwarf2_find_location_expression)
3489 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3490 (locexpr_describe_location_piece): Update.
3491 * c-exp.y (%union) <bval>: Now const.
3492 * breakpoint.c (resolve_sal_pc): Update.
3493 * blockframe.c (get_frame_block):Make return type const.
3494 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3495 (block_innermost_frame): Update.
3496 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3497 (block_for_pc, block_for_pc_sect): Update.
3498 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3499 'pblock' const.
3500 (block_for_pc_sect, block_for_pc): Make return type const.
3501 * ax-gdb.c (gen_expr): Update.
3502 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3503 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3504 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3505 (ada_read_var_value): Update.
3506 * ada-exp.y (struct name_info) <block>: Now const.
3507 (%union): Likewise.
3508 (block_lookup): Constify.
3509
3510 2014-06-18 Gary Benson <gbenson@redhat.com>
3511
3512 * nat/i386-dregs.h: New file.
3513 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3514 * i386-nat.h (i386-dregs.h): New include.
3515 (DR_FIRSTADDR): Now in i386-dregs.h.
3516 (DR_LASTADDR): Likewise.
3517 (DR_NADDR): Likewise.
3518 (DR_STATUS): Likewise.
3519 (DR_CONTROL): Likewise.
3520 (i386_debug_reg_state): Likewise.
3521 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3522
3523 2014-06-18 Don Breazeal <donb@codesourcery.com>
3524
3525 * breakpoint.c (set_longjmp_breakpoint): Call
3526 momentary_breakpoint_from_master with additional argument.
3527 (set_longjmp_breakpoint_for_call_dummy): Call
3528 momentary_breakpoint_from_master with additional argument.
3529 (set_std_terminate_breakpoint): Call
3530 momentary_breakpoint_from_master with additional argument.
3531 (momentary_breakpoint_from_master): Add argument to function
3532 definition and use it to initialize structure member flag.
3533 (clone_momentary_breakpoint): Call
3534 momentary_breakpoint_from_master with additional argument.
3535 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3536 member flags set in momentary_breakpoint_from_master.
3537
3538 2014-06-18 Gary Benson <gbenson@redhat.com>
3539
3540 * i386-nat.c (i386_show_dr): Renamed to
3541 i386_dr_show and made nonstatic. All uses updated.
3542 (i386_length_and_rw_bits): Renamed to
3543 i386_dr_length_and_rw_bits and made nonstatic.
3544 All uses updated.
3545 (i386_insert_aligned_watchpoint): Renamed to
3546 i386_dr_insert_aligned_watchpoint and made nonstatic.
3547 All uses updated.
3548 (i386_remove_aligned_watchpoint): Renamed to
3549 i386_dr_remove_aligned_watchpoint and made nonstatic.
3550 All uses updated.
3551 (i386_update_inferior_debug_regs): Renamed to
3552 i386_dr_update_inferior_debug_regs and made nonstatic.
3553 All uses updated.
3554
3555 2014-06-18 Gary Benson <gbenson@redhat.com>
3556
3557 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3558 (i386_dr_low_can_set_control): Likewise.
3559 (i386_dr_low_set_addr): Likewise.
3560 (i386_dr_low_set_control): Likewise.
3561 (i386_dr_low_get_addr): Likewise.
3562 (i386_dr_low_get_status): Likewise.
3563 (i386_dr_low_get_control): Likewise.
3564 (i386_insert_aligned_watchpoint): Use new macros.
3565 (i386_update_inferior_debug_regs): Likewise.
3566 (i386_stopped_data_address): Likewise.
3567
3568 2014-06-18 Gary Benson <gbenson@redhat.com>
3569
3570 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3571 New parameter. All uses updated.
3572
3573 2014-06-18 Gary Benson <gbenson@redhat.com>
3574
3575 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3576 All uses updated.
3577
3578 2014-06-18 Gary Benson <gbenson@redhat.com>
3579
3580 * i386-nat.c (debug_printf): New macro.
3581 (i386_get_debug_register_length): Likewise.
3582 (TARGET_HAS_DR_LEN_8): Use above macro.
3583 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3584 and printf_unfiltered. Use phex to format values.
3585
3586 2014-06-18 Gary Benson <gbenson@redhat.com>
3587
3588 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3589 Make const.
3590
3591 2014-06-18 Gary Benson <gbenson@redhat.com>
3592
3593 * i386-nat.c: Comment changes.
3594
3595 2014-06-18 Gary Benson <gbenson@redhat.com>
3596
3597 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3598
3599 2014-06-18 Gary Benson <gbenson@redhat.com>
3600
3601 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3602 (i386_insert_aligned_watchpoint): Likewise.
3603 (i386_remove_aligned_watchpoint): Likewise.
3604 (i386_handle_nonaligned_watchpoint): Likewise.
3605
3606 2014-06-18 Gary Benson <gbenson@redhat.com>
3607
3608 * i386-nat.c: Whitespace changes.
3609
3610 2014-06-17 Samuel Bronson <naesten@gmail.com>
3611
3612 * MAINTAINERS: Update Roland McGrath's email address.
3613 Thanks to Sergio Durigan Junior for pointing out that he left
3614 Red Hat a while ago, and giving me a current address.
3615
3616 2014-06-17 Tom Tromey <tromey@redhat.com>
3617
3618 * utils.h (savestring): Remove declaration.
3619
3620 2014-06-17 Tom Tromey <tromey@redhat.com>
3621
3622 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3623
3624 2014-06-16 Keith Seitz <keiths@redhat.com>
3625
3626 PR mi/15863
3627 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3628 to update the varobj if inferior_ptid is null_ptid.
3629
3630 2014-06-16 Tom Tromey <tromey@redhat.com>
3631
3632 * target.h (struct target_ops) <to_info_proc>: Make parameter
3633 const.
3634 (target_info_proc): Update.
3635 * target.c (target_info_proc): Make "args" const.
3636 * procfs.c (procfs_info_proc): Update.
3637 * linux-tdep.c (linux_info_proc): Update.
3638 (linux_core_info_proc_mappings): Make "args" const.
3639 (linux_core_info_proc): Update.
3640 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3641 * gdbarch.c: Rebuild.
3642 * gdbarch.h: Rebuild.
3643 * corelow.c (core_info_proc): Update.
3644
3645 2014-06-16 Tom Tromey <tromey@redhat.com>
3646
3647 * target.h (struct target_ops) <to_disconnect>: Make parameter
3648 const.
3649 (target_disconnect): Update.
3650 * target.c (target_disconnect): Make "args" const.
3651 * target-delegates.c: Rebuild.
3652 * remote.c (remote_disconnect): Update.
3653 * record.h (record_disconnect): Update.
3654 * record.c (record_disconnect): Update.
3655 * inf-child.c (inf_child_disconnect): Update.
3656
3657 2014-06-16 Tom Tromey <tromey@redhat.com>
3658
3659 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3660 * target.c (debug_to_rcmd, default_rcmd): Update.
3661 * target-delegates.c: Rebuild.
3662 * remote.c (remote_rcmd): Update.
3663 * monitor.c (monitor_rcmd): Update.
3664
3665 2014-06-16 Pedro Alves <palves@redhat.com>
3666
3667 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3668 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3669 have OBJF_SHARED set.
3670 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3671 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3672 instead of OBJF_USERLOADED.
3673 * objfiles.h (OBJF_SHARED): Update comment.
3674 (userloaded_objfile_contains_address_p): Rename to ...
3675 (shared_objfile_contains_address_p): ... this, and update
3676 comments.
3677 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3678 new objfile.
3679 (remove_symbol_file_command): Skip objfiles that don't have
3680 OBJF_SHARED set.
3681
3682 2014-06-16 Tom Tromey <tromey@redhat.com>
3683
3684 * minsyms.h (prim_record_minimal_symbol)
3685 (prim_record_minimal_symbol_and_info): Update comments.
3686
3687 2014-06-14 Eli Zaretskii <eliz@gnu.org>
3688
3689 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3690 or --without-guile, according to how GDB was built.
3691
3692 2014-06-13 Tom Tromey <tromey@redhat.com>
3693
3694 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3695 to help_list.
3696 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3697 to help_list.
3698 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3699 help_list.
3700 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3701 help_list.Pass all_commands, not -1, to help_list.
3702 * cli/cli-dump.c (dump_command, append_command)
3703 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3704 (binary_dump_command, binary_append_command): Pass all_commands,
3705 not -1, to help_list.
3706 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3707 -1, to help_list.
3708 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3709 -1, to help_list.
3710 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3711 help_list.
3712 * top.c (set_history): Pass all_commands, not -1, to help_list.
3713 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3714 all_commands, not -1, to help_list.
3715 * symfile.c (overlay_command): Pass all_commands, not -1, to
3716 help_list.
3717 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3718 help_list.
3719 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3720 help_list.
3721 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3722 -1, to help_list.
3723 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3724 not -1, to help_list.
3725 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3726 not -1, to help_list.
3727 * maint.c (maintenance_command, maintenance_info_command)
3728 (maintenance_print_command, maintenance_set_cmd): Pass
3729 all_commands, not -1, to help_list.
3730 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3731 help_list.
3732 * language.c (set_check): Pass all_commands, not -1, to help_list.
3733 * infcmd.c (unset_command): Pass all_commands, not -1, to
3734 help_list.
3735 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3736 help_list.
3737 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3738 help_list.
3739 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3740 help_list.
3741 * breakpoint.c (save_command): Pass all_commands, not -1, to
3742 help_list.
3743 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3744 all_commands, not -1, to help_list.
3745
3746 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3747
3748 * regcache.c (struct register_to_invalidate): New structure.
3749 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3750 functions.
3751 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3752
3753 2014-06-12 Yao Qi <yao@codesourcery.com>
3754
3755 * varobj.c (varobj_get_num_children): Call
3756 varobj_is_dynamic_p.
3757 (varobj_list_children): Likewise.
3758 (varobj_update): Likewise. Update comments.
3759
3760 2014-06-12 Yao Qi <yao@codesourcery.com>
3761
3762 * varobj.c (varobj_pretty_printed_p): Rename to ...
3763 (varobj_is_dynamic_p): ... this. New function.
3764 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3765 (varobj_is_dynamic_p): Declare.
3766 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3767 (mi_print_value_p, varobj_update_one): Likewise.
3768
3769 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3770 Yao Qi <yao@codesourcery.com>
3771
3772 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3773 (varobj_get_iterator): Wrap up code for pretty-printer by
3774 "#if HAVE_PYTHON" and "#endif".
3775 (update_dynamic_varobj_children): Likewise.
3776
3777 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3778 Yao Qi <yao@codesourcery.com>
3779
3780 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3781 gdb_python_initialized is false. Move some code from varobj.c.
3782 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3783 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3784 (struct varobj_item): Moved to varobj-iter.h".
3785 (varobj_clear_saved_item): New function.
3786 (update_dynamic_varobj_children): Move python-related code to
3787 py-varobj.c.
3788 (free_variable): Call varobj_clear_saved_item and
3789 varobj_iter_delete.
3790
3791 2014-06-12 Pedro Alves <pedro@codesourcery.com>
3792 Yao Qi <yao@codesourcery.com>
3793
3794 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3795 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3796 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3797 (py-varobj.o): New rule.
3798 * python/py-varobj.c: New file.
3799 * python/python-internal.h (py_varobj_get_iterator): Declare.
3800 * varobj-iter.h: New file.
3801 * varobj.c: Include "varobj-iter.h"
3802 (struct varobj) <child_iter>: Change its type from "PyObject *"
3803 to "struct varobj_iter *".
3804 <saved_item>: Likewise.
3805 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3806 [HAVE_PYTHON] (varobj_get_iterator): New function.
3807 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3808 python-specific code to python/py-varobj.c.
3809 (install_visualizer): Call varobj_iter_delete instead of
3810 Py_XDECREF.
3811 * varobj.h (varobj_ensure_python_env): Declare.
3812
3813 2014-06-12 Yao Qi <yao@codesourcery.com>
3814
3815 * varobj.c (struct varobj_item): New structure.
3816 (create_child_with_value): Update declaration.
3817 (varobj_add_child): Replace arguments 'name' and 'value' with
3818 'item'. All callers updated.
3819 (install_dynamic_child): Likewise.
3820 (update_dynamic_varobj_children): Likewise.
3821 (varobj_add_child): Likewise.
3822 (create_child_with_value): Likewise.
3823
3824 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3825
3826 * NEWS: Create a new section for the next release branch.
3827 Rename the section of the current branch, now that it has
3828 been cut.
3829
3830 2014-06-11 Joel Brobecker <brobecker@adacore.com>
3831
3832 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3833 * version.in: Bump version to 7.8.50.DATE-cvs.
3834
3835 2014-06-11 Pedro Alves <palves@redhat.com>
3836
3837 PR remote/17028
3838 * ser-mingw.c (net_windows_socket_check_pending): New function.
3839 (net_windows_select_thread): Ignore spurious wakeups. Use
3840 net_windows_socket_check_pending.
3841 (net_windows_wait_handle): Check for pending events with
3842 ioctlsocket, through net_windows_socket_check_pending, instead of
3843 checking the socket's event.
3844
3845 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3846
3847 * python/python-internal.h (gdb_PyObject_GetAttrString)
3848 (gdb_PyObject_HasAttrString): New inline function definitions.
3849 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3850 char * of the second argument to PyObject_GetAttrString.
3851
3852 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3853
3854 * serial.c (serial_write): Fix index of character to be printed
3855 in call to serial_logchar when serial debug traces are enabled.
3856
3857 2014-06-10 Joel Brobecker <brobecker@adacore.com>
3858
3859 * gdbtypes (resolve_dynamic_range): Add function description.
3860
3861 2014-06-09 Pedro Alves <palves@redhat.com>
3862
3863 * linux-nat.c (linux_child_follow_fork): Initialize status with
3864 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3865 inner block. Only pass the signal to PTRACE_DETACH if in pass
3866 state.
3867
3868 2014-06-09 Gary Benson <gbenson@redhat.com>
3869
3870 * common/signals.c (gdb_signal_from_host): Reorder to separate
3871 the always-available ANSI-standard signals from the signals that
3872 require checking.
3873 (do_gdb_signal_to_host): Likewise.
3874 * proc-events.c (signal_table): Likewise.
3875
3876 2014-06-08 Hui Zhu <hui@codesourcery.com>
3877
3878 * common/linux-ptrace.c (linux_disable_event_reporting): New
3879 function.
3880 * common/linux-ptrace.h (linux_disable_event_reporting): New
3881 declaration.
3882 * linux-nat.c (linux_child_follow_fork): Do a single step before
3883 detach.
3884
3885 2014-06-07 Keith Seitz <keiths@redhat.com>
3886
3887 Revert:
3888 PR c++/16253
3889 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3890 from symbol_matches_domain in symtab.c. All local callers
3891 of symbol_matches_domain updated.
3892 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3893 search STRUCT_DOMAIN.
3894 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3895 independently. standard_lookup will do that automatically.
3896 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3897 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3898 (cp_lookup_symbol_in_namespace): Likewise.
3899 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3900 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3901 may return a STRUCT_DOMAIN match.
3902 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3903 * cp-support.c: Include language.h.
3904 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3905 VAR_DOMAIN.
3906 * psymtab.c (match_partial_symbol): Compare the requested
3907 domain with the symbol's domain directly.
3908 (lookup_partial_symbol): Likewise.
3909 * symtab.c (lookup_symbol_in_language): Explain when/why
3910 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3911 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3912 appropriate languages.
3913 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3914 and moved to ada-lang.c
3915 (lookup_block_symbol): Explain that this function only returns
3916 symbol matching the requested DOMAIN.
3917 Compare the requested domain with the symbol's domain directly.
3918 (iterate_over_symbols): Compare the requested domain with the
3919 symbol's domain directly.
3920 * symtab.h (symbol_matches_domain): Remove.
3921
3922 2014-06-06 Doug Evans <xdje42@gmail.com>
3923
3924 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3925 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3926 (gdbscm_guile_version_is_at_least): Declare.
3927 (gdbscm_scm_string_to_int): Declare.
3928 * guile/guile.c (gdbscm_guile_major_version): New global.
3929 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3930 (guile_datadir): New static global.
3931 (gdbscm_guile_data_directory): New function.
3932 (initialize_scheme_side): Update.
3933 (misc_guile_functions): Add guile-data-directory.
3934 (initialize_gdb_module): Fetch guile version number.
3935 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3936 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3937 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3938 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3939 comments.
3940 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3941 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3942 * guile/scm-value.c (gdbscm_value_to_string): Only call
3943 scm_port_conversion_strategy if Guile version >= 2.0.6.
3944
3945 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3946
3947 * main.c (print_gdb_help): Add -q and --silent.
3948
3949 2014-06-06 Gary Benson <gbenson@redhat.com>
3950
3951 * common/signals.c: Remove preprocessor conditionals for
3952 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3953 SIGSEGV and SIGTERM.
3954 * proc-events.c: Likewise.
3955
3956 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3957
3958 * symfile.c (symfile_free_objfile): Remove restriction to
3959 OBJF_USERLOADED.
3960 * symfile-mem.c (symbol_file_add_from_memory): Call
3961 add_target_sections_of_objfile.
3962
3963 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3964
3965 * guile/scm-value.c (gdbscm_history_append_x): Use
3966 'vlscm_get_value_smob_arg_unsafe' instead of
3967 'vlscm_scm_to_value'.
3968
3969 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3970
3971 PR mi/15806
3972 * utils.c (printchar): Don't escape at all if quoter is NUL.
3973 Update function documentation to clarify effect of parameter
3974 QUOTER.
3975 * remote.c (escape_buffer): Pass '\\' as the quoter to
3976 fputstrn_unfiltered.
3977 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3978 generate the output.
3979 (mi_solib_unloaded): Same.
3980
3981 2014-06-05 Joel Brobecker <brobecker@adacore.com>
3982
3983 * development.sh: Delete.
3984 * Makefile.in (config.status): Adjust dependency on development.sh.
3985 * configure.ac: Adjust development.sh source call.
3986 * configure: Regenerate.
3987
3988 2014-06-04 Doug Evans <xdje42@gmail.com>
3989
3990 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3991 is_scheme_bkpt, spec.
3992 (bpscm_make_breakpoint_smob): Initialize new members.
3993 (gdbscm_create_breakpoint_x): Split into two ...
3994 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3995 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3996 (scheme_function breakpoint_functions): Update.
3997 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3998 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3999 register-breakpoint!.
4000
4001 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
4002
4003 PR server/17023
4004 * mem-break.c (z_type_supported): Return zero if
4005 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4006
4007 2014-06-04 Tom Tromey <tromey@redhat.com>
4008
4009 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4010 value_from_contents_and_address_unresolved.
4011 (ada_template_to_fixed_record_type_1): Likewise.
4012 (ada_which_variant_applies): Likewise.
4013 * value.h (value_from_contents_and_address_unresolved): Declare.
4014 * value.c (value_from_contents_and_address_unresolved): New
4015 function.
4016 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4017 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4018 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4019
4020 2014-06-04 Tom Tromey <tromey@redhat.com>
4021
4022 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4023
4024 2014-06-04 Tom Tromey <tromey@redhat.com>
4025
4026 * procfs.c (procfs_attach): Make "args" const.
4027 * windows-nat.c (windows_attach): Make "args" const.
4028 * nto-procfs.c (procfs_attach): Make "args" const.
4029 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4030 * go32-nat.c (go32_attach): Make "args" const.
4031 * gnu-nat.c (gnu_attach): Make "args" const.
4032 * darwin-nat.c (darwin_attach): Make "args" const.
4033 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4034 * linux-nat.c (linux_nat_attach): Make "args" const.
4035 * remote.c (extended_remote_attach_1, extended_remote_attach):
4036 Make "args" const.
4037 * target.h (struct target_ops) <to_attach>: Make "args" const.
4038 (find_default_attach): Likewise.
4039 * utils.c (parse_pid_to_attach): Make "args" const.
4040 * utils.h (parse_pid_to_attach): Update.
4041
4042 2014-06-04 Tom Tromey <tromey@redhat.com>
4043
4044 * target-delegates.c: Rebuild.
4045 * target.c (default_thread_address_space): New function.
4046 (target_thread_address_space): Simplify.
4047 * target.h (struct target_ops) <to_thread_address_space>: Add
4048 TARGET_DEFAULT_FUNC.
4049
4050 2014-06-04 Doug Evans <xdje42@gmail.com>
4051
4052 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4053
4054 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4055
4056 * record-btrace.c: Include event-loop.h and inf-loop.h.
4057 (record_btrace_resume_exec_dir)
4058 (record_btrace_async_inferior_event_handler)
4059 (record_btrace_handle_async_inferior_event): New.
4060 (record_btrace_open): Create async event handler.
4061 (record_btrace_close): Delete async event handler.
4062 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4063 Mark async event handler.
4064 (record_btrace_execution_direction): New.
4065 (init_record_btrace_ops): Initialize to_execution_direction.
4066
4067 2014-06-03 Doug Evans <xdje42@gmail.com>
4068
4069 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4070 (gdbscm_make_parameter): Ditto.
4071
4072 2014-06-03 Doug Evans <dje@google.com>
4073
4074 * exec.c (exec_close_1): Call clear_section_table instead of
4075 resize_section_table.
4076 (clear_section_table): New function.
4077 (resize_section_table): Make static. Rename arg num_added to
4078 adjustment.
4079 * exec.h (clear_section_table): Declare.
4080 (resize_section_table): Delete.
4081 * progspace.c (release_program_space): Call clear_section_table
4082 instead of resize_section_table.
4083
4084 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4085
4086 * NEWS (Python Scripting): Add entry about the new xmethods
4087 feature.
4088
4089 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4090
4091 * python/py-xmethods.c: New file.
4092 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4093 (objfpy_dealloc): XDECREF on the new xmethods field.
4094 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4095 field.
4096 (objfpy_get_xmethods): New function.
4097 (objfile_getset): New entry 'xmethods'.
4098 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4099 (pspy_dealloc): XDECREF on the new xmethods field.
4100 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4101 field.
4102 (pspy_get_xmethods): New function.
4103 (pspace_getset): New entry 'xmethods'.
4104 * python/python-internal.h: Add declarations for new functions.
4105 * python/python.c (_initialize_python): Invoke
4106 gdbpy_initialize_xmethods.
4107 * python/lib/gdb/__init__.py (xmethods): New
4108 attribute.
4109 * python/lib/gdb/xmethod.py: New file.
4110 * python/lib/gdb/command/xmethods.py: New file.
4111
4112 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4113
4114 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4115 best match method returned by find_overload_match is an xmethod.
4116 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4117 the best matching operator returned by find_overload_match is an
4118 xmethod.
4119 * valops.c: #include "extension.h".
4120 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4121 Return void. The list of matching source methods is returned in
4122 "fn_list" and a vector of matching debug method workers is
4123 returned in "xm_worker_vec". Update all callers.
4124 (value_find_oload_method_list): Likewise.
4125 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4126 non-NULL, then the index of the best matching method in this
4127 vector is returned. Update all callers.
4128 (find_overload_match): Include xmethods while performing overload
4129 resolution.
4130
4131 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4132
4133 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4134 * extension-priv.h (struct extension_language_ops): Add the
4135 xmethod interface.
4136 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4137 get_matching_xmethod_workers, get_xmethod_argtypes,
4138 invoke_xmethod, free_xmethod_worker,
4139 free_xmethod_worker_vec): New functions.
4140 * extension.h: #include "common/vec.h".
4141 New function declarations.
4142 (struct xmethod_worker): New struct.
4143 (VEC (xmethod_worker_ptr)): New vector type.
4144 (xmethod_worker_ptr): New typedef.
4145 (xmethod_worker_vec): Likewise.
4146 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4147 builtin_type.
4148 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4149 (struct builtin_type): New field "xmethod".
4150 * valarith.c (value_ptradd): Assert that the value argument is not
4151 lval_xcallable.
4152 * valops.c (value_must_coerce_to_target): Return 0 for
4153 lval_xcallable values.
4154 * value.c (struct value): New field XM_WORKER in the field
4155 LOCATION.
4156 (value_address, value_raw_address): Return 0 for lval_xcallable
4157 values.
4158 (set_value_address): Assert that the value is not an
4159 lval_xcallable.
4160 (value_free): Free the associated xmethod worker when freeing
4161 lval_xcallable values.
4162 (set_value_component_location): Assert that the WHOLE value is not
4163 lval_xcallable.
4164 (value_of_xmethod, call_xmethod): New functions.
4165 * value.h: Declare "struct xmethod_worker".
4166 Declare new functions value_of_xmethod, call_xmethod.
4167
4168 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4169 Pedro Alves <palves@redhat.com>
4170
4171 PR breakpoints/17000
4172 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4173 New function, extracted from software_breakpoint_inserted_here_p.
4174 (software_breakpoint_inserted_here_p): Replace factored out code
4175 by call to find_non_raw_software_breakpoint_inserted_here.
4176 (bp_target_info_copy_insertion_state): New function.
4177 (bkpt_insert_location): Handle the case of a single-step
4178 breakpoint already inserted at the same address.
4179 (bkpt_remove_location): Handle the case of a single-step
4180 breakpoint still inserted at the same address.
4181 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4182 breakpoint already inserted at the same address.
4183 (deprecated_remove_raw_breakpoint): Handle the case of a
4184 non-raw breakpoint still inserted at the same address.
4185 (find_single_step_breakpoint): New function, extracted from
4186 single_step_breakpoint_inserted_here_p.
4187 (find_single_step_breakpoint): New function,
4188 factored out from single_step_breakpoint_inserted_here_p.
4189 (single_step_breakpoint_inserted_here_p): Reimplement.
4190
4191 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4192
4193 Pushed by Joel Brobecker <brobecker@adacore.com>
4194 * source.c (show_substitute_path_command): Fix display of matching
4195 substitution rules.
4196
4197 2014-06-03 Gary Benson <gbenson@redhat.com>
4198
4199 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4200
4201 2014-06-02 Doug Evans <xdje42@gmail.com>
4202
4203 Add parameter support for Guile.
4204 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4205 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4206 (scm-param.o): New rule.
4207 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4208 (gdbscm_misc_error): Declare.
4209 (gdbscm_canonicalize_command_name): Declare.
4210 (gdbscm_scm_to_host_string): Declare.
4211 (gdbscm_scm_from_host_string): Declare.
4212 (gdbscm_initialize_parameters): Declare.
4213 * guile/guile.c (initialize_gdb_module): Call
4214 gdbscm_initialize_parameters.
4215 * guile/lib/gdb.scm: Export parameter symbols.
4216 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4217 cmdscm_canonicalize_name and made public. All callers updated.
4218 * guile/scm-exception.c (gdbscm_misc_error): New function.
4219 * guile/scm-param.c: New file.
4220 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4221 (gdbscm_scm_to_host_string): New function.
4222 (gdbscm_scm_from_host_string): New function.
4223 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4224
4225 2014-06-02 Doug Evans <xdje42@gmail.com>
4226
4227 Add command support for Guile.
4228 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4229 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4230 (scm-cmd.o): New rule.
4231 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4232 (gdbscm_user_error_p): Declare.
4233 (gdbscm_parse_command_name): Declare.
4234 (gdbscm_valid_command_class_p): Declare.
4235 (gdbscm_initialize_commands): Declare.
4236 * guile/guile.c (initialize_gdb_module): Call
4237 gdbscm_initialize_commands.
4238 * guile/lib/gdb.scm: Export command symbols.
4239 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4240 (throw-user-error): New function.
4241 * guile/scm-cmd.c: New file.
4242 * guile/scm-exception.c (user_error_symbol): New static global.
4243 (gdbscm_user_error_p): New function.
4244 (gdbscm_initialize_exceptions): Set user_error_symbol.
4245 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4246
4247 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4248
4249 * top.c (command_loop): Handle comments here...
4250 (command_line_input): ... not here.
4251
4252 2014-06-02 Doug Evans <xdje42@gmail.com>
4253
4254 Add progspace support for Guile.
4255 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4256 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4257 (scm-progspace.o): New rule.
4258 * guile/guile-internal.h (pspace_smob): New typedef.
4259 (psscm_pspace_smob_pretty_printers): Declare.
4260 (psscm_pspace_smob_from_pspace): Declare.
4261 (psscm_scm_from_pspace): Declare.
4262 * guile/guile.c (initialize_gdb_module): Call
4263 gdbscm_initialize_pspaces.
4264 * guile/lib/gdb.scm: Export progspace symbols.
4265 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4266 support.
4267 (append-pretty-printer!): Ditto.
4268 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4269 Implement.
4270 * guile/scm-progspace.c: New file.
4271
4272 2014-06-03 Alan Modra <amodra@gmail.com>
4273
4274 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4275 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4276
4277 2014-06-02 Doug Evans <dje@google.com>
4278
4279 Add support for skeletonless type units.
4280 * dwarf2read.c (struct dwarf2_per_objfile): New member
4281 n_allocated_type_units.
4282 (struct dwarf2_per_objfile) <tu_stats>: New member
4283 nr_all_type_units_reallocs.
4284 (create_signatured_type_table_from_index): Initialize
4285 n_allocated_type_units
4286 (create_all_type_units): Ditto.
4287 (add_type_unit): Move up in file. New arg slot.
4288 All callers updated. Increase space for all_type_units more
4289 efficiently.
4290 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4291 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4292 (lookup_dwp_signatured_type): Ditto.
4293 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4294 All callers updated.
4295 (build_type_psymtabs_1): Leave type_unit_groups as
4296 NULL if no TUs present.
4297 (print_tu_stats): New function.
4298 (process_skeletonless_type_unit): New function.
4299 (process_dwo_file_for_skeletonless_type_units): New
4300 function.
4301 (process_skeletonless_type_units): New function.
4302 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4303 Call print tu_stats if debugging enabled.
4304
4305 2014-06-02 Pedro Alves <palves@redhat.com>
4306
4307 * breakpoint.c (build_target_command_list): Don't build a command
4308 list if we have any duplicate location that isn't a dprintf.
4309
4310 2014-06-02 Pedro Alves <palves@redhat.com>
4311
4312 * breakpoint.c (dprintf_breakpoint_hit): New function.
4313 (initialize_breakpoint_ops): Install it as dprintf's
4314 breakpoint_hit method.
4315
4316 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4317
4318 * source.c (substitute_path_rule_matches): Simplify using
4319 filename_ncmp instead of FILENAME_CMP.
4320
4321 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4322
4323 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4324
4325 2014-06-01 Ludovic Courtès <ludo@gnu.org>
4326
4327 * configure.ac: When Guile is available, check for the
4328 availability of 'scm_new_smob'.
4329 * configure, config.h.in: Regenerate.
4330 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4331 function.
4332
4333 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4334
4335 * frame.c (struct frame_info): Add stop_string field.
4336 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4337 (get_prev_frame_always): Old content moved into
4338 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4339 TRY_CATCH, handle MEMORY_ERROR exceptions.
4340 (frame_stop_reason_string): New function definition.
4341 * frame.h (unwind_stop_reason_to_string): Extend comment to
4342 mention frame_stop_reason_string.
4343 (frame_stop_reason_string): New function declaration.
4344 * stack.c (frame_info): Switch to frame_stop_reason_string.
4345 (backtrace_command_1): Switch to frame_stop_reason_string.
4346 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4347 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4348 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4349
4350 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4351
4352 * frame.c (frame_stop_reason_string): Rename to ...
4353 (unwind_stop_reason_to_string): this.
4354 * frame.h (frame_stop_reason_string): Rename to ...
4355 (unwind_stop_reason_to_string): this.
4356 * stack.c (frame_info): Update call to frame_stop_reason_string.
4357 (backtrace_command_1): Likewise.
4358 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4359 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4360
4361 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4362
4363 * frame.c (remove_prev_frame): New function.
4364 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4365 remove_prev_frame.
4366
4367 2014-05-29 Pedro Alves <palves@redhat.com>
4368
4369 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4370 and make it const. When a single-step decays to a continue,
4371 clear 'step', not 'hw_step'. Pass whether the caller wanted
4372 to step to user_visible_resume_ptid, not what we ask the
4373 target to do.
4374
4375 2014-05-29 Pedro Alves <palves@redhat.com>
4376
4377 * infrun.c (process_event_stop_test, handle_step_into_function)
4378 (handle_step_into_function_backward): Adjust.
4379 Don't set the even thread's stop_step and call stop_waiting before
4380 calling end_stepping_range. Instead do that ...
4381 (end_stepping_range): ... here. Take an ecs pointer parameter.
4382
4383 2014-05-29 Pedro Alves <palves@redhat.com>
4384
4385 * infrun.c (stop_stepping): Rename to ...
4386 (stop_waiting): ... this.
4387 (proceed): Update comment.
4388 (process_event_stop_test, handle_inferior_event)
4389 (handle_signal_stop, handle_step_into_function)
4390 (handle_step_into_function_backward): Update.
4391
4392 2014-05-29 Pedro Alves <palves@redhat.com>
4393
4394 * infcall.c (run_inferior_call): Don't check whether the current
4395 thread is running after the proceed call.
4396
4397 2014-05-29 Pedro Alves <palves@redhat.com>
4398 Tom Tromey <tromey@redhat.com>
4399
4400 * NEWS: Mention "maint set target-async", "set mi-async", and that
4401 background execution commands are now always available.
4402 * target.h (target_async_permitted): Update comment.
4403 * target.c (target_async_permitted, target_async_permitted_1):
4404 Default to 1.
4405 (set_target_async_command): Rename to ...
4406 (maint_set_target_async_command): ... this.
4407 (show_target_async_command): Rename to ...
4408 (maint_show_target_async_command): ... this.
4409 (_initialize_target): Adjust.
4410 * infcmd.c (prepare_execution_command): Make extern.
4411 * inferior.h (prepare_execution_command): Declare.
4412 * infrun.c (set_observer_mode): Leave target async alone.
4413 * mi/mi-interp.c (mi_interpreter_init): Install
4414 mi_on_sync_execution_done as sync_execution_done observer.
4415 (mi_on_sync_execution_done): New function.
4416 (mi_execute_command_input_handler): Don't print the prompt if we
4417 just started a synchronous command with an async target.
4418 (mi_on_resume): Check sync_execution before printing prompt.
4419 * mi/mi-main.h (mi_async_p): Declare.
4420 * mi/mi-main.c: Include gdbcmd.h.
4421 (mi_async_p): New function.
4422 (mi_async, mi_async_1): New globals.
4423 (set_mi_async_command, show_mi_async_command, mi_async): New
4424 functions.
4425 (exec_continue): Call prepare_execution_command.
4426 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4427 (mi_execute_async_cli_command): Use mi_async_p.
4428 (_initialize_mi_main): Install "set mi-async". Make
4429 "target-async" a deprecated alias.
4430
4431 2014-05-29 Pedro Alves <palves@redhat.com>
4432
4433 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4434 (_initialize_cli_interp): Adjust.
4435 * event-loop.c: Include "observer.h".
4436 (start_event_loop): Notify 'command_error' observers instead of
4437 calling display_gdb_prompt. Remove FIXME comment.
4438 * event-top.c (display_gdb_prompt): Remove call into the
4439 interpreters.
4440 * inf-loop.c: Include "observer.h".
4441 (inferior_event_handler): Notify 'command_error' observers instead
4442 of calling display_gdb_prompt.
4443 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4444 observers instead of calling display_gdb_prompt.
4445 * interps.c (interp_set): Don't call display_gdb_prompt.
4446 (current_interp_display_prompt_p): Delete.
4447 * interps.h (interp_prompt_p): Delete declaration.
4448 (interp_prompt_p_ftype): Delete.
4449 (struct interp_procs) <prompt_proc_p>: Delete field.
4450 (current_interp_display_prompt_p): Delete declaration.
4451 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4452 (_initialize_mi_interp): Adjust.
4453 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4454 'command_error' observers.
4455 (tui_on_sync_execution_done, tui_on_command_error): New
4456 functions.
4457 (tui_display_prompt_p): Delete.
4458 (_initialize_tui_interp): Adjust.
4459
4460 2014-05-29 Pedro Alves <palves@redhat.com>
4461
4462 PR gdb/13860
4463 * cli/cli-interp.c: Include infrun.h and observer.h.
4464 (cli_uiout, cli_interp): New globals.
4465 (cli_on_signal_received, cli_on_end_stepping_range)
4466 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4467 functions.
4468 (cli_interpreter_init): Install them as 'end_stepping_range',
4469 'signal_received' 'signal_exited', 'exited' and 'no_history'
4470 observers.
4471 (_initialize_cli_interp): Remove cli_interp local.
4472 * infrun.c (handle_inferior_event): Call the several stop reason
4473 observers instead of printing the stop reason directly.
4474 (end_stepping_range): New function.
4475 (print_end_stepping_range_reason, print_signal_exited_reason)
4476 (print_exited_reason, print_signal_received_reason)
4477 (print_no_history_reason): Make static, and add an uiout
4478 parameter. Print to that instead of to CURRENT_UIOUT.
4479 * infrun.h (print_end_stepping_range_reason)
4480 (print_signal_exited_reason, print_exited_reason)
4481 (print_signal_received_reason print_no_history_reason): New
4482 declarations.
4483 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4484 'mi_uiout'.
4485 <cli_uiout>: New field.
4486 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4487 uiout for CLI output. Install 'signal_received',
4488 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4489 observers.
4490 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4491 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4492 (mi_on_no_history): New functions.
4493 (ui_out_free_cleanup): Delete function.
4494 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4495 instead use the one already stored in the MI interpreter data.
4496 (mi_ui_out): Adjust.
4497 * tui/tui-interp.c: Include infrun.h and observer.h.
4498 (tui_interp): New global.
4499 (tui_on_signal_received, tui_on_end_stepping_range)
4500 (tui_on_signal_exited, tui_on_exited)
4501 (tui_on_no_history): New functions.
4502 (tui_init): Install them as 'end_stepping_range',
4503 'signal_received' 'signal_exited', 'exited' and 'no_history'
4504 observers.
4505 (_initialize_tui_interp): Delete tui_interp local.
4506
4507 2014-05-29 Pedro Alves <palves@redhat.com>
4508
4509 PR gdb/15713
4510 * linux-nat.c (linux_nat_resume_callback): Rename the second
4511 parameter to 'except'. Skip LP if it points to EXCEPT.
4512 (linux_nat_resume): Don't mark the event lwp as not stopped
4513 before resuming sibling lwps. Instead ask
4514 linux_nat_resume_callback to skip the event lwp. Mark it as not
4515 stopped after actually resuming it.
4516 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4517 resuming it.
4518 (wait_lwp): Mark the lwp as stopped here.
4519 (stop_wait_callback): Mark the lwp as not stopped right after
4520 resuming it. Don't mark lwps as stopped here.
4521 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4522 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4523
4524 2014-05-29 Pedro Alves <palves@redhat.com>
4525
4526 PR PR15693
4527 * infrun.c (resume): Determine how much to resume depending on
4528 whether the caller wanted a step, not whether we can hardware step
4529 the target. Mark all threads that we intend to run as running,
4530 unless we're calling an inferior function.
4531 (normal_stop): If the thread is running an infcall, don't finish
4532 thread state.
4533 * target.c (target_resume): Don't mark threads as running here.
4534
4535 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4536
4537 * serial.c (_initialize_serial): Remove support for
4538 the "set remotebaud" and "show remotebaud" commands.
4539 * NEWS: Add entry documenting the removal of that command.
4540
4541 2014-05-28 Yao Qi <yao@codesourcery.com>
4542
4543 * charset.c: Fix typo in comments.
4544
4545 2014-05-27 Gary Benson <gbenson@redhat.com>
4546
4547 * utils.c (internal_vproblem): Prompt for a bug report.
4548
4549 2014-05-26 Andy Wingo <wingo@igalia.com>
4550
4551 * guile/scm-arch.c (arscm_mark_arch_smob):
4552 * guile/scm-block.c (bkscm_mark_block_smob)
4553 (bkscm_mark_block_syms_progress_smob):
4554 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4555 * guile/scm-exception.c (exscm_mark_exception_smob):
4556 * guile/scm-frame.c (frscm_mark_frame_smob):
4557 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4558 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4559 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4560 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4561 (ppscm_mark_pretty_printer_worker_smob):
4562 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4563 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4564 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4565 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4566 mark functions.
4567 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4568 function.
4569
4570 2014-05-26 Andy Wingo <wingo@igalia.com>
4571 Doug Evans <xdje42@gmail.com>
4572
4573 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4574 empty_base_class. All uses updated.
4575 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4576 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4577 Adapt all callers.
4578 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4579 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4580 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4581 (gdbscm_gsmob_has_property_p, add_property_name)
4582 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4583 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4584 (gdb-object-has-property?, gdb-object-properties): Remove.
4585 (gdb-object-kind): Renamed from gsmob-kind.
4586
4587 2014-05-26 Andy Wingo <wingo@igalia.com>
4588
4589 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4590 * configure: Regenerate.
4591
4592 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4593
4594 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4595
4596 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4597
4598 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4599 (replay_memory_access_read_only, replay_memory_access_read_write)
4600 (replay_memory_access_types, replay_memory_access)
4601 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4602 (cmd_set_record_btrace, cmd_show_record_btrace)
4603 (cmd_show_replay_memory_access): New.
4604 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4605 (record_btrace_remove_breakpoint): Replace
4606 record_btrace_allow_memory_access with replay_memory_access.
4607 (_initialize_record_btrace): Add commands.
4608 * NEWS: Announce it.
4609
4610 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4611
4612 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4613
4614 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4615
4616 * MAINTAINERS (Write After Approval): Move self back from
4617 paper trail.
4618
4619 2014-05-22 Pedro Alves <palves@redhat.com>
4620
4621 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4622 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4623 (disable_randomization, enum exec_direction_kind)
4624 (execution_direction, stop_registers, start_remote)
4625 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4626 (wait_for_inferior, normal_stop, get_last_target_status)
4627 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4628 (insert_step_resume_breakpoint_at_sal)
4629 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4630 (set_step_info, print_stop_event, signal_stop_state)
4631 (signal_print_state, signal_pass_state, signal_stop_update)
4632 (signal_print_update, signal_pass_update)
4633 (update_signals_program_target, clear_exit_convenience_vars)
4634 (displaced_step_dump_bytes, update_observer_mode)
4635 (signal_catch_update, gdb_signal_from_command): Move
4636 declarations ...
4637 * infrun.h: ... to this new file.
4638 * amd64-tdep.c: Include infrun.h.
4639 * annotate.c: Include infrun.h.
4640 * arch-utils.c: Include infrun.h.
4641 * arm-linux-tdep.c: Include infrun.h.
4642 * arm-tdep.c: Include infrun.h.
4643 * break-catch-sig.c: Include infrun.h.
4644 * breakpoint.c: Include infrun.h.
4645 * common/agent.c: Include infrun.h instead of inferior.h.
4646 * corelow.c: Include infrun.h.
4647 * event-top.c: Include infrun.h.
4648 * go32-nat.c: Include infrun.h.
4649 * i386-tdep.c: Include infrun.h.
4650 * inf-loop.c: Include infrun.h.
4651 * infcall.c: Include infrun.h.
4652 * infcmd.c: Include infrun.h.
4653 * infrun.c: Include infrun.h.
4654 * linux-fork.c: Include infrun.h.
4655 * linux-nat.c: Include infrun.h.
4656 * linux-thread-db.c: Include infrun.h.
4657 * monitor.c: Include infrun.h.
4658 * nto-tdep.c: Include infrun.h.
4659 * procfs.c: Include infrun.h.
4660 * record-btrace.c: Include infrun.h.
4661 * record-full.c: Include infrun.h.
4662 * remote-m32r-sdi.c: Include infrun.h.
4663 * remote-mips.c: Include infrun.h.
4664 * remote-notif.c: Include infrun.h.
4665 * remote-sim.c: Include infrun.h.
4666 * remote.c: Include infrun.h.
4667 * reverse.c: Include infrun.h.
4668 * rs6000-tdep.c: Include infrun.h.
4669 * s390-linux-tdep.c: Include infrun.h.
4670 * solib-irix.c: Include infrun.h.
4671 * solib-osf.c: Include infrun.h.
4672 * solib-svr4.c: Include infrun.h.
4673 * target.c: Include infrun.h.
4674 * top.c: Include infrun.h.
4675 * windows-nat.c: Include infrun.h.
4676 * mi/mi-interp.c: Include infrun.h.
4677 * mi/mi-main.c: Include infrun.h.
4678 * python/py-threadevent.c: Include infrun.h.
4679
4680 2014-05-22 Pedro Alves <palves@redhat.com>
4681
4682 * infrun.c (handle_inferior_event): Store the exit code for
4683 --return-child-result here, instead of ...
4684 (print_exited_reason): ... here.
4685
4686 2014-05-21 Pedro Alves <palves@redhat.com>
4687
4688 PR gdb/13860
4689 * gdbthread.h (struct thread_control_state): New field
4690 `command_interp'.
4691 * infrun.c (follow_fork): Copy the new thread control field to the
4692 child fork thread.
4693 (clear_proceed_status_thread): Clear the new thread control field.
4694 (proceed): Set the new thread control field.
4695 * interps.h (command_interp): Declare.
4696 * interps.c (command_interpreter): New global.
4697 (command_interp): New function.
4698 (interp_exec): Set `command_interpreter' while here.
4699 * cli-out.c (cli_uiout_dtor): New function.
4700 (cli_ui_out_impl): Install it.
4701 * mi/mi-interp.c: Include cli-out.h.
4702 (mi_cmd_interpreter_exec): Add comment.
4703 (restore_current_uiout_cleanup): New function.
4704 (ui_out_free_cleanup): New function.
4705 (mi_on_normal_stop): If finishing an execution command started by
4706 a CLI command, or any kind of breakpoint-like event triggered,
4707 print the stop event to the output (CLI) stream.
4708 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4709
4710 2014-05-21 Pedro Alves <palves@redhat.com>
4711
4712 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4713 current source line having changed.
4714 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4715 * infrun.c (normal_stop): Adjust call to
4716 set_current_sal_from_frame.
4717 * source.c (clear_lines_listed_range): New function.
4718 (set_current_source_symtab_and_line, identify_source_line): Clear
4719 the lines listed range.
4720 (line_info): Handle the first "info line" after the current source
4721 line having changed.
4722 * stack.c (print_stack_frame): Remove center handling.
4723 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4724 center sal.line.
4725
4726 2014-05-21 Pedro Alves <palves@redhat.com>
4727
4728 * inf-child.c (inf_child_mourn_inferior): New function.
4729 * inf-child.h (inf_child_mourn_inferior): New declaration.
4730 * darwin-nat.c (darwin_mourn_inferior): Use
4731 inf_child_mourn_inferior.
4732 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4733 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4734 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4735 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4736 * windows-nat.c (windows_mourn_inferior): Likewise.
4737
4738 2014-05-21 Doug Evans <xdje42@gmail.com>
4739
4740 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4741
4742 2014-05-21 Doug Evans <xdje42@gmail.com>
4743
4744 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4745 (gdbscm_out_of_range_error): Ditto.
4746 (gdbscm_memory_error): Ditto.
4747 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4748 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4749 (gdbscm_out_of_range_error): Update.
4750 (gdbscm_memory_error): Update.
4751 (gdbscm_scm_to_target_string_unsafe): Delete.
4752
4753 2014-05-21 Pedro Alves <palves@redhat.com>
4754
4755 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4756 globals.
4757 (inf_child_open_target): New function.
4758 (inf_child_open): Use inf_child_open_target to push the target
4759 instead of erroring out.
4760 (inf_child_disconnect, inf_child_close)
4761 (inf_child_maybe_unpush_target): New functions.
4762 (inf_child_target): Install inf_child_disconnect and
4763 inf_child_close. Store a pointer to the returned object.
4764 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4765 declarations.
4766 * target.c (auto_connect_native_target): New global.
4767 (show_default_run_target): New function.
4768 (find_default_run_target): Return NULL if automatically connecting
4769 to the native target is disabled.
4770 (_initialize_target): Install set/show auto-connect-native-target.
4771 * NEWS: Mention "set auto-connect-native-target", and "target
4772 native".
4773 * linux-nat.c (super_close): New global.
4774 (linux_nat_close): Call super_close.
4775 (linux_nat_add_target): Store a pointer to the base class's
4776 to_close method.
4777 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4778 inf_child_maybe_unpush.
4779 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4780 already pushed.
4781 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4782 the inferior. Use inf_child_maybe_unpush_target.
4783 (inf_ttrace_attach): Don't push the target if it is already
4784 pushed.
4785 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4786 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4787 after mourning the inferior. Use inf_child_maybe_unpush_target.
4788 (darwin_attach_pid): Don't push the target if it is already
4789 pushed.
4790 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4791 mourning the inferior. Use inf_child_maybe_unpush_target.
4792 (gnu_detach): Use inf_child_maybe_unpush_target.
4793 * go32-nat.c (go32_create_inferior): Don't push the target if it
4794 is already pushed.
4795 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4796 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4797 (procfs_open): Rename to ...
4798 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4799 comments. Can target_preopen before changing node. Call
4800 inf_child_open_target to push the target explicitly.
4801 (procfs_attach): Don't push the target if it is already pushed.
4802 (procfs_detach): Use inf_child_maybe_unpush_target.
4803 (procfs_create_inferior): Don't push the target if it is already
4804 pushed.
4805 (nto_native_ops): New global.
4806 (procfs_open): Reimplement.
4807 (procfs_native_open): New function.
4808 (init_procfs_targets): Install procfs_native_open as to_open of
4809 "target native". Store a pointer to the "native" target in
4810 nto_native_ops.
4811 * procfs.c (procfs_attach): Don't push the target if it is already
4812 pushed.
4813 (procfs_detach): Use inf_child_maybe_unpush_target.
4814 (procfs_mourn_inferior): Only unpush the target after mourning the
4815 inferior. Use inf_child_maybe_unpush_target.
4816 (procfs_init_inferior): Don't push the target if it is already
4817 pushed.
4818 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4819 if it is already pushed.
4820
4821 2014-05-21 Pedro Alves <palves@redhat.com>
4822
4823 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4824 and "procfs" targets are now called "native" instead.
4825
4826 2014-05-21 Pedro Alves <palves@redhat.com>
4827
4828 * go32-nat.c (go32_open): Delete.
4829 (go32_target): Don't override the to_open method.
4830
4831 2014-05-21 Pedro Alves <palves@redhat.com>
4832
4833 * nto-procfs.c (procfs_can_run): New function.
4834 (nto_procfs_ops): New global.
4835 (init_procfs_targets): New, based on procfs_target. Install
4836 "target native" in addition to "target procfs".
4837 (_initialize_procfs): Call init_procfs_targets instead of adding
4838 the target here.
4839
4840 2014-05-21 Pedro Alves <palves@redhat.com>
4841
4842 * windows-nat.c (windows_target): Don't override to_shortname,
4843 to_longname or to_doc.
4844
4845 2014-05-21 Pedro Alves <palves@redhat.com>
4846
4847 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4848 to_doc.
4849
4850 2014-05-21 Pedro Alves <palves@redhat.com>
4851
4852 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4853 to_shortname, to_longname or to_doc.
4854
4855 2014-05-21 Pedro Alves <palves@redhat.com>
4856
4857 * go32-nat.c (go32_target): Don't override to_shortname,
4858 to_longname or to_doc.
4859
4860 2014-05-21 Pedro Alves <palves@redhat.com>
4861
4862 * inf-child.c (inf_child_open): Remove mention of "child".
4863 (inf_child_target): Rename target to "native" instead of "child".
4864
4865 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4866
4867 * Makefile.in (SFILES): Delete "regset.c".
4868 (COMMON_OBS): Delete "regset.o".
4869 * regset.c: Remove.
4870 * regset.h (regset_alloc): Delete prototype.
4871
4872 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4873
4874 * sparc-linux-tdep.c (sparc32_linux_gregset)
4875 (sparc32_linux_fpregset): New static regset structures.
4876 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4877 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4878 'fpregset' fields.
4879 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4880 (sparc64_linux_fpregset): New static regset structures.
4881 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4882 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4883 New static regset structures.
4884 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4885 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4886 New static regset structures.
4887 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4888 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4889 New static regset structures.
4890 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4891 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4892 New static regset structures.
4893 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4894
4895 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4896
4897 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4898 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4899 register maps ("regmaps") from "*regset" to "*regmap". Do this
4900 for all regmap types and variables.
4901 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4902 (sparc32_linux_supply_core_gregset)
4903 (sparc32_linux_collect_core_gregset)
4904 (sparc32_linux_supply_core_fpregset)
4905 (sparc32_linux_collect_core_fpregset): Likewise.
4906 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4907 (sparc_gregmap, sparc_fpregmap): ... these.
4908 (sparc_supply_gregset, sparc_collect_gregset)
4909 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4910 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4911 (_initialize_sparc_nat): Rename regmaps.
4912 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4913 (sparc_gregmap, sparc_fpregmap): ... these.
4914 (sparc_supply_gregset, sparc_collect_gregset)
4915 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4916 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4917 Rename macros to...
4918 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4919 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4920 Likewise.
4921 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4922 Rename to...
4923 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4924 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4925 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4926 regmaps.
4927 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4928 (sparc32_bsd_fpregset): Rename to...
4929 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4930 (sparc32_bsd_fpregmap): ... these.
4931 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4932 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4933 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4934 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4935 (struct sparc_gregmap, struct sparc_fpregmap)
4936 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4937 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4938 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4939 (sparc32_supply_regset, sparc32_collect_gregset)
4940 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4941 prototypes.
4942 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4943 (sparc64_linux_ptrace_gregmap): ... this.
4944 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4945 (_initialize_sparc64_linux_nat): Rename regmaps.
4946 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4947 (sparc64_linux_core_gregmap): ... this.
4948 (sparc64_linux_supply_core_gregset)
4949 (sparc64_linux_collect_core_gregset)
4950 (sparc64_linux_supply_core_fpregset)
4951 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4952 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4953 (sparc64_sol2_fpregset): Rename to...
4954 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4955 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4956 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4957 regmaps.
4958 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4959 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4960 (sparc64_bsd_fpregset): Rename to...
4961 (struct sparc_gregmap, sparc64_sol2_gregmap)
4962 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4963 (sparc64_bsd_fpregmap): ... these.
4964 (sparc64_supply_gregset, sparc64_collect_gregset)
4965 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4966 prototypes.
4967 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4968 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4969 (sparc64fbsd_gregmap): ... this.
4970 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4971 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4972 Rename regmaps.
4973 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4974 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4975 (sparc64nbsd_collect_fpregset): Likewise.
4976 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4977 (sparc64nbsd_gregmap): ... this.
4978 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4979 regmaps.
4980 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4981 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4982 (sparc64obsd_gregmap): ... this.
4983 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4984 regmaps.
4985 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4986 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4987 (sparc32nbsd_gregmap): ... this.
4988 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4989 regmaps.
4990
4991 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4992
4993 * score-tdep.c (score7_linux_gregset): New static regset
4994 structure.
4995 (score7_linux_regset_from_core_section): Remove dynamic regset
4996 allocation.
4997 (score_gdbarch_init): Drop allocation of tdep structure.
4998 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4999
5000 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5001
5002 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5003 regset structures.
5004 (am33_regset_from_core_section): Remove dynamic regset
5005 allocations.
5006
5007 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5008
5009 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5010 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5011 structures.
5012 (mips_linux_regset_from_core_section): Remove dynamic regset
5013 allocations.
5014 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5015 'gregset64', 'fpregset', and 'fpregset64'.
5016 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5017 deleted tdep fields.
5018
5019 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5020
5021 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5022 regset structures.
5023 (amd64_regset_from_core_section): Remove dynamic regset
5024 allocations.
5025 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5026 structure.
5027 (amd64obsd_regset_from_core_section): Remove dynamic regset
5028 allocation.
5029 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5030 Likewise.
5031 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5032 x86-common regset supply function.
5033 * i386-tdep.c (i386_collect_gregset): Make static.
5034 (i386_gregset): New global regset structure.
5035 (i386_fpregset, i386_xstateregset): New static regset structures.
5036 (i386_regset_from_core_section): Remove dynamic regset
5037 allocations.
5038 (i386_gdbarch_init): Remove initialization of tdep fields
5039 'gregset', 'fpregset', and 'xstateregset'.
5040 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5041 'fpregset', and 'xstateregset'.
5042 (i386_collect_gregset): Remove prototype.
5043 (i386_gregset): New declaration.
5044 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5045 structure.
5046 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5047 allocation.
5048
5049 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5050
5051 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5052 (arm_linux_vfpregset): New static regset structures.
5053 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5054 regset structures.
5055 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5056 and 'vfpregset' fields.
5057
5058 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5059
5060 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5061 (aarch64_linux_fpregset): New static regset structures.
5062 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5063 of regset structures.
5064 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5065 'fpregset' fields.
5066
5067 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5068
5069 * regset.h (struct regset): Remove gdbarch field.
5070 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5071 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5072 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5073 Likewise.
5074 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5075 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5076 (ppc32_linux_vsxregset): Likewise.
5077 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5078 via the regcache instead of the regset.
5079 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5080 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5081 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5082 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5083 Likewise.
5084
5085 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5086
5087 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5088 Constify structures.
5089 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5090 (alphanbsd_aout_gregset): Likewise.
5091 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5092 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5093 Likewise.
5094 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5095 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5096 Likewise.
5097 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5098 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5099 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5100 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5101 * m88k-tdep.c (m88k_gregset): Likewise.
5102 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5103 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5104 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5105 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5106 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5107 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5108 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5109 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5110 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5111 Likewise.
5112 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5113 * sh-tdep.h (sh_corefile_gregset): Likewise.
5114 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5115 * vax-tdep.c (vax_gregset): Likewise.
5116
5117 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5118
5119 Fix TLS access for -static -pthread.
5120 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5121 (try_thread_db_load_1): Initialize it.
5122 (thread_db_get_thread_local_address): Call it if LM is zero.
5123 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5124 * target.h (struct target_ops) (to_get_thread_local_address): Add
5125 load_module_addr comment.
5126
5127 2014-05-21 Pedro Alves <palves@redhat.com>
5128
5129 * dcache.c (dcache_read_memory_partial): If reading the cache line
5130 fails, fallback to reading just the memory the caller wanted.
5131
5132 2014-05-20 Doug Evans <dje@google.com>
5133
5134 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5135 instead of get_current_arch.
5136
5137 2014-05-20 Pedro Alves <palves@redhat.com>
5138
5139 * NEWS: Mention that compare-sections now works with all targets.
5140
5141 * remote.c (PACKET_qCRC): New enum value.
5142 (remote_verify_memory): Don't send qCRC if the target has no
5143 execution. Use packet_support/packet_ok. If the target doesn't
5144 support the qCRC packet, fallback to a deep memory copy.
5145 (compare_sections_command): Say "target image" instead of "remote
5146 executable".
5147 (_initialize_remote): Add PACKET_qCRC to the list of config
5148 packets that have no associated command. Extend comment.
5149 * target.c (simple_verify_memory, default_verify_memory): New
5150 function.
5151 * target.h (struct target_ops) <to_verify_memory>: Default to
5152 default_verify_memory.
5153 (simple_verify_memory): New declaration.
5154 * target-delegates.c: Regenerate.
5155
5156 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5157
5158 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5159
5160 2014-05-20 Hui Zhu <hui@codesourcery.com>
5161 Yao Qi <yao@codesourcery.com>
5162
5163 PR backtrace/16558
5164 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5165 and change address of sp and pc.
5166
5167 2014-05-19 Tom Tromey <tromey@redhat.com>
5168
5169 * gdbtypes.c (rank_function): Use XNEWVEC.
5170 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5171
5172 2014-05-19 Doug Evans <dje@google.com>
5173
5174 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5175 build_type_unit_groups and moved closer to only caller. Remove
5176 arguments. All references updated. Remove outdated .gdb_index
5177 comment.
5178 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5179 build_type_psymtabs_1.
5180
5181 2014-05-19 Doug Evans <dje@google.com>
5182
5183 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5184 n_type_unit_groups, all_type_unit_groups. All uses removed.
5185 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5186 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5187 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5188 (add_type_unit_group_to_table): Delete.
5189
5190 2014-05-19 Doug Evans <dje@google.com>
5191
5192 * eval.c (evaluate_subexp_standard): Add some comments.
5193
5194 2014-05-17 Doug Evans <xdje42@gmail.com>
5195
5196 * progspace.c (remove_program_space): Delete, unused.
5197 * progspace.h (remove_program_space): Ditto.
5198
5199 2014-05-17 Doug Evans <xdje42@gmail.com>
5200
5201 * inferior.c (prune_inferiors): Fix comment.
5202 (remove_inferior_command): Call prune_program_spaces.
5203
5204 2014-05-16 Doug Evans <dje@google.com>
5205
5206 New command line option -D.
5207 * NEWS: Mention it.
5208 * main.c (set_gdb_data_directory): New function.
5209 (captured_main): Recognize -D. Flag error for --data-directory "".
5210 Call set_gdb_data_directory.
5211 (print_gdb_help): Print --data-directory, -D.
5212 * main.h (set_gdb_data_directory): Declare.
5213 * top.c (staged_gdb_datadir): New static global.
5214 (set_gdb_datadir): Call set_gdb_data_directory
5215 (show_gdb_datadir): New function.
5216 (init_main): Update init of data-directory parameter.
5217
5218 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5219
5220 Import the "dirfd" gnulib module.
5221 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5222 * gnulib/aclocal.m4: Update.
5223 * gnulib/config.in: Update.
5224 * gnulib/configure: Update.
5225 * gnulib/import/Makefile.am: Update.
5226 * gnulib/import/Makefile.in: Update.
5227 * gnulib/import/dirfd.c: New.
5228 * gnulib/import/m4/dirfd.m4: New.
5229 * gnulib/import/m4/gnulib-cache.m4: Update.
5230 * gnulib/import/m4/gnulib-comp.m4: Update.
5231
5232 2014-05-16 Pierre Muller <muller@sourceware.org>
5233 Yao Qi <yao@codesourcery.com>
5234
5235 * valprint.c (print_wchar): Move the code on checking whether
5236 W is a printable wide char to the default branch of switch
5237 statement below. Call wchar_printable instead of gdb_iswprint.
5238
5239 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5240
5241 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5242 ldr.w and ldrd instructions.
5243
5244 2014-05-15 Doug Evans <dje@google.com>
5245
5246 * dwarf2read.c (read_structure_type): Delete outdated comments.
5247
5248 2014-05-14 Tom Tromey <tromey@redhat.com>
5249
5250 * macrocmd.c (print_macro_definition): Reindent.
5251
5252 2014-05-13 Doug Evans <xdje42@gmail.com>
5253
5254 * python/py-cmd.c (cmdpy_completer): Add comment.
5255 (completers): Make const.
5256
5257 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * infrun.c (resume): Remove should_resume (unused). Move up
5260 declaration of resume_ptid.
5261
5262 2014-05-13 Tom Tromey <tromey@redhat.com>
5263
5264 * language.h (unop_type_check): Remove.
5265 (binop_type_check): Don't declare.
5266
5267 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5268
5269 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5270 call to regcache_raw_collect.
5271
5272 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5273
5274 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5275 mi_console->quote as the quoting character.
5276
5277 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5278
5279 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5280
5281 2014-04-29 Tom Tromey <tromey@redhat.com>
5282
5283 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5284 "show debug varobj".
5285
5286 2014-05-07 Kyle McMartin <kyle@redhat.com>
5287
5288 Pushed by Joel Brobecker <brobecker@adacore.com>.
5289 * aarch64-tdep.c (aarch64_software_single_step): New function.
5290 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5291 with aarch64_software_single_step.
5292
5293 2014-05-05 Joel Brobecker <brobecker@adacore.com>
5294
5295 GDB 7.7.1 released.
5296
5297 2014-05-05 Keith Seitz <keiths@redhat.com>
5298
5299 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5300 variable or history value is successfully parsed.
5301
5302 2014-05-05 Yao Qi <yao@codesourcery.com>
5303 Pedro Alves <palves@redhat.com>
5304
5305 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5306 address of blocks that intersects the requested range. Trim
5307 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5308 sections.
5309 * ctf.c (ctf_xfer_partial): Likewise.
5310
5311 2014-05-05 Yao Qi <yao@codesourcery.com>
5312
5313 * printcmd.c (display_command): Remove the check to
5314 target_has_execution.
5315
5316 2014-05-03 Mark Kettenis <kettenis@gnu.org>
5317
5318 * ppcobsd-nat.c: Include "obsd-nat.h".
5319 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5320 add_target.
5321 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5322
5323 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5324
5325 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5326 and 16-bit signed and unsigned arguments. Update comment.
5327 (stap_parse_probe_arguments): Extend code to handle such
5328 arguments. Use warning instead of complaint to notify about
5329 unrecognized bitness.
5330
5331 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5332
5333 PR breakpoints/16889
5334 * stap-probe.c (stap_parse_probe_arguments): Simplify
5335 check for non-prefixed probes (i.e., probes whose
5336 arguments do not start with "N@"). Always set the
5337 argument type to a sane value.
5338
5339 2014-05-01 David Taylor <dtaylor@emc.com>
5340
5341 * remote.c (compare_sections_command): Add -r option to compare
5342 all loadable read-only sections.
5343
5344 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5345
5346 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5347 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5348 Update all callers.
5349 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5350 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5351 Remove unused CORE_ADDR argument. Update all callers.
5352
5353 2014-04-29 Pedro Alves <palves@redhat.com>
5354
5355 * remote.c (struct packet_config) <detect>: Extend comment.
5356 (add_packet_config_cmd): Don't set the config's detect or support
5357 fields here.
5358 (init_all_packet_configs): Also initialize the config's 'detect'
5359 field.
5360 (reset_all_packet_configs_support): New function.
5361 (remote_open_1): Call reset_all_packet_configs_support instead of
5362 init_all_packet_configs.
5363 (_initialize_remote): Initialize all packet configs. Assert that
5364 all packets have an associated command, except a few known
5365 outliers.
5366
5367 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5368
5369 * dwarf2read.c (read_subrange_type): Handle dynamic
5370 DW_AT_lower_bound attributes.
5371
5372 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5373
5374 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5375 dynamic bounds before computing its upper bound.
5376 (ada_discrete_type_low_bound): Same as above with the lower bound.
5377
5378 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5379
5380 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5381 range types. Adjust the array handling implementation to
5382 take advantage of this change.
5383 (resolve_dynamic_range): New function, mostly extracted from
5384 resolve_dynamic_bounds.
5385 (resolve_dynamic_array): New function, mostly extracted from
5386 resolve_dynamic_bounds.
5387 (resolve_dynamic_bounds): Delete.
5388 (resolve_dynamic_type): Reimplement. Add handling of
5389 TYPE_CODE_RANGE types.
5390
5391 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5392
5393 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5394 handling of parallel ___XA types.
5395
5396 2014-04-28 Joel Brobecker <brobecker@adacore.com>
5397
5398 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5399 unnecessary second call to static_unwrap_type.
5400
5401 2014-04-27 Hui Zhu <hui@codesourcery.com>
5402
5403 * stack.c (print_frame_info): Call do_gdb_disassembly with
5404 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5405
5406 2014-04-26 Doug Evans <xdje42@gmail.com>
5407
5408 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5409
5410 2014-04-25 Pedro Alves <palves@redhat.com>
5411
5412 PR server/16255
5413 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5414 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5415 and newline from built string.
5416 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5417 (linux_ptrace_attach_fail_reason): ... this.
5418 * linux-nat.c (linux_nat_attach): Adjust to use
5419 linux_ptrace_attach_fail_reason.
5420
5421 2014-04-25 Pedro Alves <palves@redhat.com>
5422
5423 * remote.c (struct remote_state): Remove multi_process_aware,
5424 non_stop_aware, cond_tracepoints, cond_breakpoints,
5425 breakpoint_commands, fast_tracepoints, static_tracepoints,
5426 install_in_trace, disconnected_tracing,
5427 enable_disable_tracepoints, string_tracing, and
5428 augmented_libraries_svr4_read fields.
5429 (remote_multi_process_p): Move further below in the file.
5430 (struct packet_config): Add comments.
5431 (update_packet_config): Delete function.
5432 (show_packet_config_cmd): Use packet_config_support.
5433 (add_packet_config_cmd): Use NULL as set callback.
5434 (packet_ok): "set remote foo-packet"-style commands no longer
5435 change config->supported -- adjust.
5436 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5437 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5438 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5439 (PACKET_QNonStop, PACKET_multiprocess_feature)
5440 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5441 (PACKET_DisconnectedTracing_feature)
5442 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5443 (set_remote_protocol_packet_cmd): Delete function.
5444 (packet_config_support, packet_support): New functions.
5445 (set_remote_protocol_Z_packet_cmd): Don't call
5446 update_packet_config.
5447 (remote_query_attached, remote_pass_signals)
5448 (remote_program_signals, remote_threads_info)
5449 (remote_threads_extra_info, remote_start_remote): Use
5450 packet_support.
5451 (remote_start_remote): Use packet_config_support and
5452 packet_support.
5453 (init_all_packet_configs): Set all packets to unknown support,
5454 instead of calling update_packet_config.
5455 (remote_check_symbols): Use packet_support.
5456 (remote_supported_packet): Unconditionally set the packet config's
5457 support status.
5458 (remote_multi_process_feature, remote_non_stop_feature)
5459 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5460 (remote_breakpoint_commands_feature)
5461 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5462 (remote_install_in_trace_feature)
5463 (remote_disconnected_tracing_feature)
5464 (remote_enable_disable_tracepoint_feature)
5465 (remote_string_tracing_feature)
5466 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5467 (remote_protocol_features): Adjust to use remote_supported_packet
5468 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5469 "ConditionalTracepoints", "ConditionalBreakpoints",
5470 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5471 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5472 "EnableDisableTracepoints", and "tracenz".
5473 (remote_query_supported): Use packet_support.
5474 (remote_open_1): Adjust.
5475 (extended_remote_attach_1): Use packet_support. Switch on the
5476 result of packet_ok instead of checking whether the packet ended
5477 up disabled.
5478 (remote_vcont_resume): Use packet_support.
5479 (remote_resume, remote_stop_ns, fetch_register_using_p)
5480 (remote_prepare_to_store, store_register_using_P)
5481 (check_binary_download, remote_write_bytes): Use packet_support.
5482 (remote_vkill): Use packet_support. Switch on the result of
5483 packet_ok instead of checking whether the packet ended up
5484 disabled.
5485 (extended_remote_supports_disable_randomization): Use
5486 packet_support.
5487 (extended_remote_run): Switch on the result of packet_ok instead
5488 of checking whether the packet ended up disabled.
5489 (remote_insert_breakpoint, remote_remove_breakpoint)
5490 (remote_insert_watchpoint, remote_remove_watchpoint)
5491 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5492 packet_support.
5493 (remote_search_memory): Use packet_config_support.
5494 (remote_get_thread_local_address, remote_get_tib_address)
5495 (remote_hostio_send_command, remote_can_execute_reverse): Use
5496 packet_support.
5497 (remote_supports_cond_tracepoints)
5498 (remote_supports_cond_breakpoints)
5499 (remote_supports_fast_tracepoints)
5500 (remote_supports_static_tracepoints)
5501 (remote_supports_install_in_trace)
5502 (remote_supports_enable_disable_tracepoint)
5503 (remote_supports_string_tracing)
5504 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5505 the packet config says the feature is enabled or disabled.
5506 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5507 (remote_get_trace_status): Use packet_support.
5508 (remote_set_disconnected_tracing): Adjust to check whether the
5509 feature is enabled with packet_support.
5510 (remote_set_trace_buffer_size, remote_use_agent)
5511 (remote_can_use_agent, remote_supports_btrace): Use
5512 packet_support.
5513 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5514 Use packet_config_support.
5515 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5516 the packet config says the feature is enabled or disabled.
5517 (set_range_stepping): Use packet_support.
5518
5519 2014-04-25 Tom Tromey <tromey@redhat.com>
5520
5521 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5522 argument.
5523
5524 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5525
5526 * NEWS: Mention support for C99 variable length arrays.
5527
5528 2014-04-24 Joel Brobecker <brobecker@adacore.com>
5529
5530 * ada-lang.c (standard_exc): Expand introductory comment.
5531
5532 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
5533 Walfred Tedeschi <walfred.tedeschi@intel.com>
5534
5535 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5536 AVX512 registers.
5537 (amd64_linux_read_description): Add code to handle AVX512 xstate
5538 mask and return respective tdesc.
5539 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5540 and features/i386/x32-avx512-linux.c.
5541 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5542 (amd64_linux_core_read_description): Add code to handle AVX512
5543 xstate mask and return respective tdesc.
5544 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5545 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5546 calculation.
5547 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5548 (tdesc_amd64_avx512_linux): New prototype.
5549 (tdesc_x32_avx512_linux): Likewise.
5550 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5551 features/i386/x32-avx512.c.
5552 (amd64_ymm_avx512_names): New register names for pseudo
5553 registers YMM16-31.
5554 (amd64_ymmh_avx512_names): New register names for raw registers
5555 YMMH16-31.
5556 (amd64_k_names): New register names for K registers.
5557 (amd64_zmmh_names): New register names for ZMM raw registers.
5558 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5559 (amd64_xmm_avx512_names): New register names for XMM16-31
5560 registers.
5561 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5562 registers.
5563 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5564 if feature is present.
5565 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5566 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5567 (AMD64_NUM_REGS): Adjust to new number of registers.
5568 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5569 registers supplied via XSTATE by AVX512 registers.
5570 (i386_linux_read_description): Add case for AVX512.
5571 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5572 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5573 (i386_linux_core_read_description): Add case for AVX512.
5574 (i386_linux_init_abi): Install supported register note section
5575 for AVX512.
5576 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5577 AVX512.
5578 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5579 registers to be number of zmm7h + 1.
5580 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5581 * i386-tdep.c: Include features/i386/i386-avx512.c.
5582 (i386_zmm_names): Add ZMM pseudo register names array.
5583 (i386_zmmh_names): Add ZMM raw register names array.
5584 (i386_k_names): Add K raw register names array.
5585 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5586 registers. AVX512 has 16 more ZMM registers than there are YMM
5587 registers.
5588 (i386_zmmh_regnum_p): Add function to look up register number of
5589 ZMM raw registers.
5590 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5591 (i386_k_regnum_p): Likewise for K raw registers.
5592 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5593 registers added by AVX512.
5594 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5595 registers added by AVX512.
5596 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5597 added by AVX512.
5598 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5599 (i386_pseudo_register_name): Add ZMM pseudo registers.
5600 (i386_zmm_type): Construct and return vector registers type for ZMM
5601 registers.
5602 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5603 ZMM0-31 pseudo registers and K registers.
5604 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5605 and YMM16-31 registers from register cache.
5606 (i386_pseudo_register_write): Add code to write K, ZMM and
5607 YMM16-31 registers.
5608 (i386_register_reggroup_p): Add code to include/exclude AVX512
5609 registers in/from respective register groups.
5610 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5611 registers if feature is present in xcr0.
5612 (i386_gdbarch_init): Add code to initialize AVX512 feature
5613 variables in tdep structure, wire in pseudo registers and call
5614 initialize_tdesc_i386_avx512.
5615 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5616 variables.
5617 (i386_regnum): Add AVX512 registers.
5618 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5619 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5620 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5621 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5622 512 bits wide.
5623 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5624 (i386_ymm_avx512_regnum_p): Likewise.
5625 (i386_k_regnum_p): Likewise.
5626 (i386_zmm_regnum_p): Likewise.
5627 (i386_zmmh_regnum_p): Likewise.
5628 * i387-tdep.c : Update year in copyright notice.
5629 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5630 XSAVE buffer.
5631 (XSAVE_YMM_AVX512_ADDR): New macro.
5632 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5633 XSAVE buffer.
5634 (XSAVE_XMM_AVX512_ADDR): New macro.
5635 (xsave_avx512_k_offset): New table for K register offsets in
5636 XSAVE buffer.
5637 (XSAVE_AVX512_K_ADDR): New macro.
5638 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5639 in XSAVE buffer.
5640 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5641 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5642 buffer.
5643 (i387_collect_xsave): Add code to collect AVX512 registers from
5644 XSAVE buffer.
5645 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5646 of XMM16-31 registers.
5647 (I387_NUM_K_REGS): New define for number of K registers.
5648 (I387_K0_REGNUM): New define for K0 register number.
5649 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5650 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5651 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5652 registers.
5653 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5654 (I387_XMM16_REGNUM): New define for XMM16 register number.
5655 (I387_YMM0_REGNUM): New define for YMM0 register number.
5656 (I387_KEND_REGNUM): New define for last K register number.
5657 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5658 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5659 number.
5660 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5661 number.
5662 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5663 size.
5664 * features/Makefile: Add AVX512 related files.
5665 * features/i386/32bit-avx512.xml: New file.
5666 * features/i386/64bit-avx512.xml: Likewise.
5667 * features/i386/amd64-avx512-linux.c: Likewise.
5668 * features/i386/amd64-avx512-linux.xml: Likewise.
5669 * features/i386/amd64-avx512.c: Likewise.
5670 * features/i386/amd64-avx512.xml: Likewise.
5671 * features/i386/i386-avx512-linux.c: Likewise.
5672 * features/i386/i386-avx512-linux.xml: Likewise.
5673 * features/i386/i386-avx512.c: Likewise.
5674 * features/i386/i386-avx512.xml: Likewise.
5675 * features/i386/x32-avx512-linux.c: Likewise.
5676 * features/i386/x32-avx512-linux.xml: Likewise.
5677 * features/i386/x32-avx512.c: Likewise.
5678 * features/i386/x32-avx512.xml: Likewise.
5679 * regformats/i386/amd64-avx512-linux.dat: New file.
5680 * regformats/i386/amd64-avx512.dat: Likewise.
5681 * regformats/i386/i386-avx512-linux.dat: Likewise.
5682 * regformats/i386/i386-avx512.dat: Likewise.
5683 * regformats/i386/x32-avx512-linux.dat: Likewise.
5684 * regformats/i386/x32-avx512.dat: Likewise.
5685 * NEWS: Add note about new support for AVX512.
5686
5687
5688 2014-04-23 Pedro Alves <palves@redhat.com>
5689
5690 * breakpoint.c (insert_bp_location): Tolerate errors if the
5691 breakpoint is set in a user-loaded objfile.
5692 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5693 location is marked shlib_disabled. If the breakpoint is set in a
5694 user-loaded objfile is a GDB-side memory breakpoint, validate it
5695 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5696 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5697 flag.
5698 * mem-break.c (memory_validate_breakpoint): New function.
5699 * objfiles.c (userloaded_objfile_contains_address_p): New
5700 function.
5701 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5702 * target.h (memory_validate_breakpoint): New declaration.
5703
5704 2014-04-23 Pedro Alves <palves@redhat.com>
5705
5706 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5707 the breakpoint is set in a shared library, only suppress
5708 errors for software breakpoints, not hardware breakpoints.
5709
5710 2014-04-22 Pedro Alves <palves@redhat.com>
5711
5712 * infrun.c (schedlock_applies): New function, factored out from
5713 find_thread_needs_step_over.
5714 (find_thread_needs_step_over): Use it.
5715 (switch_back_to_stepped_thread): Always clear trap_expected if the
5716 step over is finished. Return early if scheduler locking applies.
5717 Look for the stepping thread and a potential step-over thread with
5718 a single loop.
5719 (currently_stepping_or_nexting_callback): Delete.
5720
5721 2014-04-22 Nick Clifton <nickc@redhat.com>
5722
5723 * NEWS: Mention that ARM sim now supports tracing.
5724
5725 2014-04-22 Yao Qi <yao@codesourcery.com>
5726
5727 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5728 to ...
5729 * tracefile.c (tracefile_fetch_registers): ... it. New
5730 function.
5731 * tracefile.h (tracefile_fetch_registers): Declare.
5732 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5733 tracefile_fetch_registers.
5734
5735 2014-04-19 Eli Zaretskii <eliz@gnu.org>
5736
5737 PR gdb/14018
5738 * windows-nat.c (thread_rec): Don't display a warning when
5739 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5740 fails for any reason, set th->suspended to -1, so that we don't
5741 try to resume such a thread. Also, don't return NULL in these
5742 cases, to avoid completely ruin the session due to "PC register is
5743 not available" error.
5744 (do_windows_fetch_inferior_registers): Check errors in
5745 GetThreadContext call.
5746 (windows_continue): Accept an additional argument KILLED; if not
5747 zero, ignore errors in the SetThreadContext call, since the
5748 inferior was killed and is shutting down.
5749 (windows_resume, get_windows_debug_event)
5750 (windows_create_inferior, windows_mourn_inferior)
5751 (windows_kill_inferior): All callers of windows_continue changed
5752 to adjust to its new calling sequence.
5753
5754 2014-04-19 Yao Qi <yao@codesourcery.com>
5755
5756 * ctf.c (ctf_open): Call post_create_inferior.
5757
5758 2014-04-19 Yao Qi <yao@codesourcery.com>
5759
5760 * ctf.c (handle_id): New static variable.
5761 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5762 value. Get the declaration of event "register" and get length
5763 of field "contents".
5764
5765 2014-04-19 Yao Qi <yao@codesourcery.com>
5766
5767 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5768
5769 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5770
5771 * valops.c (oload_method_static): Remove unnecessary argument
5772 METHOD. Update all callers.
5773
5774 2014-04-18 Pedro alves <palves@redhat.com>
5775 Tom Tromey <tromey@redhat.com>
5776
5777 PR backtrace/15558
5778 * frame.c (get_prev_frame_1): Rename to ...
5779 (get_prev_frame_always): ... this, and make extern. Adjust.
5780 (skip_artificial_frames): Use get_prev_frame_always.
5781 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5782 (get_frame_unwind_stop_reason): Adjust to rename.
5783 * frame.h (get_prev_frame_always): Declare.
5784 * inline-frame.c: Include frame.h.
5785 (inline_frame_this_id): Use get_prev_frame_always.
5786
5787 2014-04-18 Tristan Gingold <gingold@adacore.com>
5788
5789 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5790 code by using bfd_mach_o_get_base_address.
5791
5792 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5793
5794 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5795 (spu_ax_pseudo_register_collect): New function.
5796 (spu_ax_pseudo_register_push_stack): Likewise.
5797 (spu_dwarf_reg_to_regnum): Likewise.
5798 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5799
5800 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5801
5802 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5803 Replace FRAME argument with FRAME_ID.
5804 * gdbarch.c, gdbarch.h: Regenerate.
5805 * findvar.c (default_value_from_register): Add GDBARCH argument;
5806 replace FRAME by FRAME_ID. No longer call get_frame_id.
5807 (value_from_register): Update call to gdbarch_value_from_register.
5808 * value.h (default_value_from_register): Update prototype.
5809 * s390-linux-tdep.c (s390_value_from_register): Update interface
5810 and call to default_value_from_register.
5811 * spu-tdep.c (spu_value_from_register): Likewise.
5812
5813 * findvar.c (address_from_register): Remove TYPE argument.
5814 Do not call value_from_register; use gdbarch_value_from_register
5815 with null_frame_id instead.
5816 * value.h (address_from_register): Update prototype.
5817 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5818 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5819 address_from_register interface change.
5820
5821 2014-04-17 Yao Qi <yao@codesourcery.com>
5822
5823 * gdbtypes.h: Update comments to link to types and macros'
5824 definitions.
5825
5826 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5827
5828 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5829
5830 2014-04-16 Keith Seitz <keiths@redhat.com>
5831
5832 PR gdb/15827
5833 * dwarf2read.c (skip_one_die): Check that all relative-offset
5834 sibling DIEs fall within range of the current reader's buffer.
5835 (read_partial_die): Likewise.
5836
5837 2014-04-16 Keith Seitz <keiths@redhat.com>
5838
5839 PR c++/16597
5840 * cp-namespace.c (lookup_symbol_file): If the type name of
5841 `this' is NULL, return immediately.
5842
5843 2014-04-14 Keith Seitz <keiths@redhat.com>
5844
5845 PR c++/16253
5846 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5847 from symbol_matches_domain in symtab.c. All local callers
5848 of symbol_matches_domain updated.
5849 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5850 search STRUCT_DOMAIN.
5851 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5852 independently. standard_lookup will do that automatically.
5853 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5854 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5855 (cp_lookup_symbol_in_namespace): Likewise.
5856 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5857 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5858 may return a STRUCT_DOMAIN match.
5859 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5860 * cp-support.c: Include language.h.
5861 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5862 VAR_DOMAIN.
5863 * psymtab.c (match_partial_symbol): Compare the requested
5864 domain with the symbol's domain directly.
5865 (lookup_partial_symbol): Likewise.
5866 * symtab.c (lookup_symbol_in_language): Explain when/why
5867 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5868 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5869 appropriate languages.
5870 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5871 and moved to ada-lang.c
5872 (lookup_block_symbol): Explain that this function only returns
5873 symbol matching the requested DOMAIN.
5874 Compare the requested domain with the symbol's domain directly.
5875 (iterate_over_symbols): Compare the requested domain with the
5876 symbol's domain directly.
5877 * symtab.h (symbol_matches_domain): Remove.
5878
5879 2014-04-14 Tom Tromey <tromey@redhat.com>
5880
5881 PR c++/15246:
5882 * c-exp.y (type_aggregate_p): New function.
5883 (qualified_name, classify_inner_name): Use it.
5884 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5885 and TYPE_TARGET_TYPE of an enum type.
5886 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5887 an enum type.
5888 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5889 handle TYPE_DECLARED_CLASS.
5890 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5891 types.
5892 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5893 * valops.c (enum_constant_from_type): New function.
5894 (value_aggregate_elt): Use it.
5895 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5896 TYPE_CODE_ENUM.
5897
5898 2014-04-14 Tom Tromey <tromey@redhat.com>
5899
5900 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5901 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5902 const.
5903 * value.h (value_aggregate_elt): Update.
5904
5905 2014-04-14 Tom Tromey <tromey@redhat.com>
5906
5907 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5908
5909 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5910
5911 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5912 (evaluate_subexp_standard): Pass noside argument.
5913 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5914 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5915 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5916 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5917 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5918
5919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5920
5921 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5922 points to a constant blob.
5923
5924 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5925
5926 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5927 property and store it as the high bound and flag the range accordingly.
5928 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5929 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5930 * gdbtypes.h (enum range_flags): New enum.
5931 (struct range_bounds): Add flags member.
5932
5933 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5934
5935 * c-typeprint.c (c_type_print_varspec_suffix): Added
5936 check for not yet resolved high bound. If unresolved, print
5937 "variable length" string to the console instead of random
5938 length.
5939
5940 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5941
5942 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5943 value.
5944 (ada_template_to_fixed_record_type_1): Likewise.
5945 (ada_to_fixed_type_1): Likewise.
5946 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5947 (cp_print_value): Likewise.
5948 * d-valprint.c (dynamic_array_type): Likewise.
5949 * findvar.c (address_of_variable): Likewise.
5950 * jv-valprint.c (java_value_print): Likewise.
5951 * valops.c (value_ind): Likewise.
5952 * value.c (coerce_ref): Likewise.
5953
5954 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5955
5956 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5957 value and retrieve the dynamic type size.
5958
5959 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5960
5961 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5962 passed to sizeof is dynamic evaluate the argument to compute the length.
5963
5964 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5965 Joel Brobecker <brobecker@adacore.com>
5966
5967 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5968 (dwarf2_evaluate_property): New function.
5969 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5970 * dwarf2read.c (attr_to_dynamic_prop): New function.
5971 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5972 attribute.
5973 * gdbtypes.c: Include dwarf2loc.h.
5974 (is_dynamic_type): New function.
5975 (resolve_dynamic_type): New function.
5976 (resolve_dynamic_bounds): New function.
5977 (get_type_length): New function.
5978 (check_typedef): Use get_type_length to compute type length.
5979 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5980 (TYPE_LOW_BOUND_KIND): New macro.
5981 (is_dynamic_type): New function prototype.
5982 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5983 to resolve dynamic properties of the type. Update comment.
5984 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5985
5986 2014-04-14 Richard Henderson <rth@redhat.com>
5987
5988 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5989
5990 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5991 Doug Evans <xdje42@gmail.com>
5992
5993 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5994 dereference TYPE_CODE_REF values.
5995
5996 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5997
5998 Revert the following changes due to regressions:
5999
6000 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6001 (dwarf2_evaluate_property): New function.
6002 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6003 * dwarf2read.c (attr_to_dynamic_prop): New function.
6004 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6005 attribute.
6006 * gdbtypes.c: Include dwarf2loc.h.
6007 (is_dynamic_type): New function.
6008 (resolve_dynamic_type): New function.
6009 (resolve_dynamic_bounds): New function.
6010 (get_type_length): New function.
6011 (check_typedef): Use get_type_length to compute type length.
6012 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6013 (TYPE_LOW_BOUND_KIND): New macro.
6014 (is_dynamic_type): New function prototype.
6015 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6016 to resolve dynamic properties of the type. Update comment.
6017 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6018
6019 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6020 passed to sizeof is dynamic evaluate the argument to compute the length.
6021
6022 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6023 value and retrieve the dynamic type size.
6024
6025 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6026 (ada_template_to_fixed_record_type_1): Likewise.
6027 (ada_to_fixed_type_1): Likewise.
6028 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6029 (cp_print_value): Likewise.
6030 * d-valprint.c (dynamic_array_type): Likewise.
6031 * eval.c (evaluate_subexp_with_coercion): Likewise.
6032 * findvar.c (address_of_variable): Likewise.
6033 * jv-valprint.c (java_value_print): Likewise.
6034 * valops.c (value_ind): Likewise.
6035 * value.c (coerce_ref): Likewise.
6036
6037 * c-typeprint.c (c_type_print_varspec_suffix): Added
6038 check for not yet resolved high bound. If unresolved, print
6039 "variable length" string to the console instead of random
6040 length.
6041
6042 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6043 property and store it as the high bound and flag the range accordingly.
6044 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6045 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6046 * gdbtypes.h (enum range_flags): New enum.
6047 (struct range_bounds): Add flags member.
6048
6049 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6050 points to a constant blob.
6051
6052 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6053 (evaluate_subexp_standard): Pass noside argument.
6054 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6055 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6056 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6057 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6058 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6059
6060 2014-04-11 Keith Seitz <keiths@redhat.com>
6061
6062 PR c++/16675
6063 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6064 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6065 reference types.
6066
6067 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6068
6069 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6070 (evaluate_subexp_standard): Pass noside argument.
6071 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6072 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6073 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6074 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6075 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6076
6077 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6078
6079 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6080 points to a constant blob.
6081
6082 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6083
6084 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6085 property and store it as the high bound and flag the range accordingly.
6086 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6087 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6088 * gdbtypes.h (enum range_flags): New enum.
6089 (struct range_bounds): Add flags member.
6090
6091 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6092
6093 * c-typeprint.c (c_type_print_varspec_suffix): Added
6094 check for not yet resolved high bound. If unresolved, print
6095 "variable length" string to the console instead of random
6096 length.
6097
6098 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6099
6100 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6101 (ada_template_to_fixed_record_type_1): Likewise.
6102 (ada_to_fixed_type_1): Likewise.
6103 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6104 (cp_print_value): Likewise.
6105 * d-valprint.c (dynamic_array_type): Likewise.
6106 * eval.c (evaluate_subexp_with_coercion): Likewise.
6107 * findvar.c (address_of_variable): Likewise.
6108 * jv-valprint.c (java_value_print): Likewise.
6109 * valops.c (value_ind): Likewise.
6110 * value.c (coerce_ref): Likewise.
6111
6112 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6113
6114 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6115 value and retrieve the dynamic type size.
6116
6117 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6118
6119 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6120 passed to sizeof is dynamic evaluate the argument to compute the length.
6121
6122 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6123
6124 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6125 (dwarf2_evaluate_property): New function.
6126 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6127 * dwarf2read.c (attr_to_dynamic_prop): New function.
6128 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6129 attribute.
6130 * gdbtypes.c: Include dwarf2loc.h.
6131 (is_dynamic_type): New function.
6132 (resolve_dynamic_type): New function.
6133 (resolve_dynamic_bounds): New function.
6134 (get_type_length): New function.
6135 (check_typedef): Use get_type_length to compute type length.
6136 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6137 (TYPE_LOW_BOUND_KIND): New macro.
6138 (is_dynamic_type): New function prototype.
6139 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6140 to resolve dynamic properties of the type. Update comment.
6141 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6142
6143 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6144
6145 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6146 declaring high/low bounds and change uses accordingly. Call
6147 create_range_type instead of create_static_range_type.
6148 * gdbtypes.c (create_range_type): New function.
6149 (create_range_type): Convert bounds into struct bound_prop and pass
6150 them to create_range_type.
6151 * gdbtypes.h (struct bound_prop): New struct.
6152 (create_range_type): New function prototype.
6153 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6154 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6155 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6156 part of the bound.
6157 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6158
6159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6160
6161 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6162 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6163 * ada-lang.c: All uses of create_range_type updated.
6164 * coffread.c: All uses of create_range_type updated.
6165 * dwarf2read.c: All uses of create_range_type updated.
6166 * f-exp.y: All uses of create_range_type updated.
6167 * m2-valprint.c: All uses of create_range_type updated.
6168 * mdebugread.c: All uses of create_range_type updated.
6169 * stabsread.c: All uses of create_range_type updated.
6170 * valops.c: All uses of create_range_type updated.
6171 * valprint.c: All uses of create_range_type updated.
6172
6173 2014-04-10 Pedro Alves <palves@redhat.com>
6174
6175 * breakpoint.c (single_step_breakpoints)
6176 (single_step_gdbarch): Move up in the file.
6177 (one_breakpoint_xfer_memory): New function, factored out from ...
6178 (breakpoint_xfer_memory): ... here. Also process single-step
6179 breakpoints.
6180
6181 2014-04-09 Tristan Gingold <gingold@adacore.com>
6182
6183 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6184 comments.
6185 (darwin_decode_exception_message): Free port only after use.
6186
6187 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6188
6189 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6190 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6191 when setting the size of call_length.
6192
6193 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6194
6195 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6196 dereference TYPE_CODE_REF values.
6197
6198 2014-04-07 Joel Brobecker <brobecker@adacore.com>
6199
6200 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6201 end of warning message.
6202
6203 2014-04-03 Doug Evans <dje@google.com>
6204
6205 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6206 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6207
6208 2014-04-02 Alan Modra <amodra@gmail.com>
6209
6210 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6211 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6212 (struct symbol_file_add_from_memory_args): Add size field.
6213 (find_vdso_size): New function.
6214 (add_vsyscall_page): Attempt to find vdso size.
6215
6216 2014-04-01 Doug Evans <dje@google.com>
6217
6218 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6219
6220 2014-04-01 Tristan Gingold <gingold@adacore.com>
6221
6222 * darwin-nat.c (darwin_encode_reply): Add prototype.
6223 (darwin_decode_exception_message): Reply to unknown inferiors.
6224 (darwin_decode_message): Handle message by id. Ignore message
6225 to unknown inferior.
6226 (darwin_wait): Discard unknown messages, add debug trace.
6227
6228 2014-03-31 Doug Evans <dje@google.com>
6229
6230 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6231 comp_dir_string.
6232
6233 2014-03-31 Doug Evans <dje@google.com>
6234
6235 New option "set print symbol-loading".
6236 * NEWS: Mention it.
6237 * solib.c (solib_read_symbols): Only print symbol loading messages
6238 if requested.
6239 (solib_add): If symbol loading is in "brief" mode, notify user
6240 symbols are being loaded.
6241 (reload_shared_libraries_1): Ditto.
6242 * symfile.c (print_symbol_loading_off): New static global.
6243 (print_symbol_loading_brief): New static global.
6244 (print_symbol_loading_full): New static global.
6245 (print_symbol_loading_enums): New static global.
6246 (print_symbol_loading): New static global.
6247 (print_symbol_loading_p): New function.
6248 (symbol_file_add_with_addrs): Only print symbol loading messages
6249 if requested.
6250 (_initialize_symfile): Register "print symbol-loading" set/show
6251 command.
6252 * symfile.h (print_symbol_loading_p): Declare.
6253
6254 2014-03-30 Doug Evans <xdje42@gmail.com>
6255
6256 * infrun.c (set_last_target_status): New function.
6257 (handle_inferior_event): Call it.
6258
6259 2014-03-30 Doug Evans <xdje42@gmail.com>
6260
6261 * inferior.h (enum stop_kind): Improve comment.
6262
6263 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6264
6265 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6266 a reference, strip the reference layer before calling
6267 the lang_ops value_has_mutated callback.
6268
6269 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6270
6271 Remove some globals from our parser.
6272 * language.c (unk_lang_parser): Add "struct parser_state"
6273 argument.
6274 * language.h (struct language_defn) <la_parser>: Likewise.
6275 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6276 (initialize_expout): Add "struct parser_state" argument.
6277 Rewrite function to use the parser state.
6278 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6279 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6280 write_exp_elt_longcst, write_exp_elt_dblcst,
6281 write_exp_elt_decfloatcst, write_exp_elt_type,
6282 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6283 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6284 write_dollar_variable): Likewise.
6285 (parse_exp_in_context_1): Use parser state.
6286 (insert_type_address_space): Add "struct parser_state" argument.
6287 Use parser state.
6288 (increase_expout_size): New function.
6289 * parser-defs.h: Forward declare "struct language_defn" and
6290 "struct parser_state".
6291 (expout, expout_size, expout_ptr): Remove extern declarations.
6292 (parse_gdbarch, parse_language): Rewrite macro declarations to
6293 accept the parser state.
6294 (struct parser_state): New struct.
6295 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6296 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6297 write_exp_elt_decfloatcst, write_exp_elt_type,
6298 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6299 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6300 write_exp_msymbol, write_dollar_variable,
6301 mark_struct_expression, insert_type_address_space): Add "struct
6302 parser_state" argument.
6303 (increase_expout_size): New function.
6304 * utils.c (do_clear_parser_state): New function.
6305 (make_cleanup_clear_parser_state): Likewise.
6306 * utils.h (make_cleanup_clear_parser_state): New function
6307 prototype.
6308 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6309 Update calls to write_exp* in order to pass the parser state.
6310 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6311 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6312 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6313 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6314 * stap-probe.c (stap_parse_register_operand): Likewise.
6315 (stap_parse_single_operand): Likewise.
6316 (stap_parse_argument_1): Likewise.
6317 (stap_parse_argument): Use parser state.
6318 * stap-probe.h: Include "parser-defs.h".
6319 (struct stap_parse_info) <pstate>: New field.
6320 * c-exp.y (parse_type): Rewrite to use parser state.
6321 (yyparse): Redefine to c_parse_internal.
6322 (pstate): New global variable.
6323 (parse_number): Add "struct parser_state" argument.
6324 (write_destructor_name): Likewise.
6325 (type_exp): Update calls to write_exp* and similars in order to
6326 use parser state.
6327 (exp1, exp, variable, qualified_name, space_identifier,
6328 typename, typebase): Likewise.
6329 (write_destructor_name, parse_number, lex_one_token,
6330 classify_name, classify_inner_name, c_parse): Add "struct
6331 parser_state" argument. Update function to use parser state.
6332 * c-lang.h: Forward declare "struct parser_state".
6333 (c_parse): Add "struct parser_state" argument.
6334 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6335 (yyparse): Redefine macro to ada_parse_internal.
6336 (pstate): New variable.
6337 (write_int, write_object_renaming, write_var_or_type,
6338 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6339 type_int, type_long, type_long_long, type_float, type_double,
6340 type_long_double, type_char, type_boolean, type_system_address):
6341 Add "struct parser_state" argument.
6342 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6343 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6344 var_or_type, aggregate, aggregate_component_list,
6345 positional_list, others, component_group,
6346 component_associations): Update calls to write_exp* and similar
6347 functions in order to use parser state.
6348 (ada_parse, write_var_from_sym, write_int,
6349 write_exp_op_with_string, write_object_renaming,
6350 find_primitive_type, write_selectors, write_ambiguous_var,
6351 write_var_or_type, write_name_assoc, type_int, type_long,
6352 type_long_long, type_float, type_double, type_long_double,
6353 type_char, type_boolean, type_system_address): Add "struct
6354 parser_state" argument. Adjust function to use parser state.
6355 * ada-lang.c (parse): Likewise.
6356 * ada-lang.h: Forward declare "struct parser_state".
6357 (ada_parse): Add "struct parser_state" argument.
6358 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6359 calls to both functions.
6360 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6361 parser state.
6362 (yyparse): Redefine macro to f_parse_internal.
6363 (pstate): New variable.
6364 (parse_number): Add "struct parser_state" argument.
6365 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6366 and similars in order to use parser state.
6367 (parse_number): Adjust code to use parser state.
6368 (yylex): Likewise.
6369 (f_parse): New function.
6370 * f-lang.h: Forward declare "struct parser_state".
6371 (f_parse): Add "struct parser_state" argument.
6372 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6373 parser state.
6374 (yyparse): Redefine macro for java_parse_internal.
6375 (pstate): New variable.
6376 (push_expression_name, push_expression_name, insert_exp): Add
6377 "struct parser_state" argument.
6378 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6379 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6380 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6381 PostIncrementExpression, PostDecrementExpression,
6382 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6383 UnaryExpressionNotPlusMinus, CastExpression,
6384 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6385 RelationalExpression, EqualityExpression, AndExpression,
6386 ExclusiveOrExpression, InclusiveOrExpression,
6387 ConditionalAndExpression, ConditionalOrExpression,
6388 ConditionalExpression, Assignment, LeftHandSide): Update
6389 calls to write_exp* and similars in order to use parser state.
6390 (parse_number): Ajust code to use parser state.
6391 (yylex): Likewise.
6392 (java_parse): New function.
6393 (push_variable): Add "struct parser_state" argument. Adjust
6394 code to user parser state.
6395 (push_fieldnames, push_qualified_expression_name,
6396 push_expression_name, insert_exp): Likewise.
6397 * jv-lang.h: Forward declare "struct parser_state".
6398 (java_parse): Add "struct parser_state" argument.
6399 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6400 parser state.
6401 (yyparse): Redefine macro to m2_parse_internal.
6402 (pstate): New variable.
6403 (type_exp, exp, fblock, variable, type): Update calls to
6404 write_exp* and similars to use parser state.
6405 (yylex): Likewise.
6406 (m2_parse): New function.
6407 * m2-lang.h: Forward declare "struct parser_state".
6408 (m2_parse): Add "struct parser_state" argument.
6409 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6410 * objc-lang.h: Forward declare "struct parser_state".
6411 (end_msglist): Add "struct parser_state" argument.
6412 * p-exp.y (parse_type): Rewrite macro to use parser state.
6413 (yyparse): Redefine macro to pascal_parse_internal.
6414 (pstate): New variable.
6415 (parse_number): Add "struct parser_state" argument.
6416 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6417 write_exp* and similars in order to use parser state.
6418 (parse_number, yylex): Adjust code to use parser state.
6419 (pascal_parse): New function.
6420 * p-lang.h: Forward declare "struct parser_state".
6421 (pascal_parse): Add "struct parser_state" argument.
6422 * go-exp.y (parse_type): Rewrite macro to use parser state.
6423 (yyparse): Redefine macro to go_parse_internal.
6424 (pstate): New variable.
6425 (parse_number): Add "struct parser_state" argument.
6426 (type_exp, exp1, exp, variable, type): Update calls to
6427 write_exp* and similars in order to use parser state.
6428 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6429 to use parser state.
6430 (go_parse): Likewise.
6431 * go-lang.h: Forward declare "struct parser_state".
6432 (go_parse): Add "struct parser_state" argument.
6433
6434 2014-03-27 Doug Evans <dje@google.com>
6435
6436 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6437
6438 2014-03-27 Doug Evans <dje@google.com>
6439
6440 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6441 Remove argument abbrev_section. All callers updated.
6442
6443 2014-03-27 Doug Evans <dje@google.com>
6444
6445 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6446 addr_base, ranges_base.
6447
6448 2014-03-26 Keith Seitz <keiths@redhat.com>
6449
6450 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6451 types, not VAR_DOMAIN.
6452
6453 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6454
6455 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6456 "ra" registers.
6457 * features/nios2-linux.c: Regenerated.
6458 * features/nios2.c: Regenerated.
6459
6460 2014-03-25 Pedro Alves <palves@redhat.com>
6461
6462 * cli/cli-script.c (script_from_file): Force the interpreter to
6463 sync mode.
6464
6465 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6466
6467 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6468 small stack allocation.
6469
6470 2014-03-24 Tristan Gingold <gingold@adacore.com>
6471
6472 * darwin-nat.c (exc_server): Remove unused prototype.
6473 (darwin_dump_message): Correctly display data on x86_64.
6474 (darwin_encode_reply): Fix style.
6475 Add comments and fix indentation.
6476
6477 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6478
6479 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6480
6481 2014-03-22 Doug Evans <xdje42@gmail.com>
6482
6483 * infcmd.c: Whitespace fixes.
6484 (interrupt_command): Merge two function comments into one.
6485
6486 2014-03-22 Doug Evans <xdje42@gmail.com>
6487
6488 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6489 All uses updated.
6490
6491 2014-03-22 Yao Qi <yao@codesourcery.com>
6492
6493 * remote.c (target_read_live_memory): Remove.
6494 (memory_xfer_live_readonly_partial): Rename it to
6495 remote_xfer_live_readonly_partial. Remove argument 'object'.
6496 All callers updated. Call remote_read_bytes_1
6497 instead of target_read_live_memory.
6498 * tracepoint.c (set_traceframe_number): Remove.
6499 (make_cleanup_restore_traceframe_number): Likewise .
6500 * tracepoint.h (set_traceframe_number): Remove declaration.
6501 (make_cleanup_restore_traceframe_number): Likewise.
6502
6503 2014-03-22 Yao Qi <yao@codesourcery.com>
6504
6505 * remote.c (remote_read_bytes): Move code on reading from the
6506 remote stub to ...
6507 (remote_read_bytes_1): ... here. New function.
6508
6509 2014-03-22 Yao Qi <yao@codesourcery.com>
6510
6511 * ctf.c (ctf_xfer_partial): Check the return value of
6512 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6513 return TARGET_XFER_UNAVAILABLE.
6514 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6515 * target.c (target_read_live_memory): Move it to remote.c.
6516 (memory_xfer_live_readonly_partial): Likewise.
6517 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6518 * remote.c (target_read_live_memory): Moved from target.c.
6519 (memory_xfer_live_readonly_partial): Likewise.
6520 (remote_read_bytes): Factored out from
6521 memory_xfer_partial_1.
6522
6523 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6524
6525 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6526 NULL pointer.
6527
6528 2014-03-21 Pedro Alves <palves@redhat.com>
6529
6530 * infrun.c (normal_stop): Extend comment.
6531
6532 2014-03-21 Hui Zhu <hui@codesourcery.com>
6533 Pedro Alves <palves@redhat.com>
6534
6535 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6536 static buffer.
6537 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6538 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6539 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6540
6541 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6542
6543 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6544 `z' formatted output modifier.
6545
6546 2014-03-20 Tom Tromey <tromey@redhat.com>
6547 Sergio Durigan Junior <sergiodj@redhat.com>
6548
6549 * probe.c (parse_probes): Turn assert into an ordinary error.
6550 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6551 exceptions when parsing probes. Rearrange the code for clarity.
6552
6553 2014-03-20 Tom Tromey <tromey@redhat.com>
6554
6555 PR gdb/14135
6556 * top.c (execute_command): Only dispatch events if the command
6557 started the target.
6558
6559 2014-03-20 Tom Tromey <tromey@redhat.com>
6560
6561 PR cli/15718
6562 * infcall.c: Include event-top.h.
6563 (run_inferior_call): Call async_disable_stdin if needed.
6564
6565 2014-03-20 Pedro Alves <palves@redhat.com>
6566
6567 * infrun.c (prepare_to_proceed): Delete.
6568 (thread_still_needs_step_over): New function.
6569 (find_thread_needs_step_over): New function.
6570 (proceed): If the current thread needs a step-over, set its
6571 steping_over_breakpoint flag. Adjust to use
6572 find_thread_needs_step_over instead of prepare_to_proceed.
6573 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6574 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6575 breakpoint.
6576 (switch_back_to_stepped_thread): Step over breakpoints of all
6577 threads not the stepping thread, before switching back to the
6578 stepping thread.
6579
6580 2014-03-20 Pedro Alves <palves@redhat.com>
6581
6582 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6583 extern.
6584 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6585 * infrun.c (saved_singlestep_ptid)
6586 (stepping_past_singlestep_breakpoint): Delete.
6587 (resume): Remove stepping_past_singlestep_breakpoint handling.
6588 (proceed): Store the prev_pc of the stepping thread too.
6589 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6590 singlestep_pc.
6591 (enum infwait_states): Delete infwait_thread_hop_state.
6592 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6593 field.
6594 (handle_inferior_event): Adjust.
6595 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6596 handling and the thread-hop code. Before removing single-step
6597 breakpoints, check whether the thread hit a single-step breakpoint
6598 of another thread. If it did, the trap is not a random signal.
6599 (switch_back_to_stepped_thread): If the event thread hit a
6600 single-step breakpoint, unblock it before switching to the
6601 stepping thread. Handle the case of the stepped thread having
6602 advanced already.
6603 (keep_going): Handle the case of the current thread moving past a
6604 single-step breakpoint.
6605
6606 2014-03-20 Pedro Alves <palves@redhat.com>
6607
6608 PR breakpoints/7143
6609 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6610 are being stepped over.
6611 (breakpoint_address_match): Make extern.
6612 * breakpoint.h (breakpoint_address_match): New declaration.
6613 * inferior.h (stepping_past_instruction_at): New declaration.
6614 * infrun.c (struct step_over_info): New type.
6615 (step_over_info): New global.
6616 (set_step_over_info, clear_step_over_info)
6617 (stepping_past_instruction_at): New functions.
6618 (handle_inferior_event): Clear the step-over info when
6619 trap_expected is cleared.
6620 (resume): Remove now stale comment.
6621 (clear_proceed_status): Clear step-over info.
6622 (proceed): Adjust step-over handling to set or clear the step-over
6623 info instead of removing all breakpoints.
6624 (handle_signal_stop): When setting up a thread-hop, don't remove
6625 breakpoints here.
6626 (stop_stepping): Clear step-over info.
6627 (keep_going): Adjust step-over handling to set or clear step-over
6628 info and then always inserting breakpoints, instead of removing
6629 all breakpoints when stepping over one.
6630
6631 2014-03-20 Pedro Alves <palves@redhat.com>
6632
6633 * infrun.c (previous_inferior_ptid): Adjust comment.
6634 (deferred_step_ptid): Delete.
6635 (infrun_thread_ptid_changed, prepare_to_proceed)
6636 (init_wait_for_inferior): Adjust.
6637 (handle_signal_stop): Delete deferred_step_ptid handling.
6638
6639 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6640
6641 PR gdb/15358
6642 * defs.h (sync_quit_force_run): New declaration.
6643 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6644 * event-top.c (async_sigterm_handler): New declaration.
6645 (async_sigterm_token): New variable.
6646 (async_init_signals): Create also async_sigterm_token.
6647 (async_sigterm_handler): New function.
6648 (sync_quit_force_run): New variable.
6649 (handle_sigterm): Replace quit_force call by other calls.
6650 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6651
6652 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6653
6654 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6655 offset into SPE pseudo registers.
6656
6657 2014-03-18 Pedro Alves <palves@redhat.com>
6658
6659 PR gdb/13860
6660 * inferior.h (print_stop_event): Declare.
6661 * infrun.c (print_stop_event): New, factored out from ...
6662 (normal_stop): ... this.
6663 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6664 of bpstat_print/print_stack_frame.
6665
6666 2014-03-17 Tom Tromey <tromey@redhat.com>
6667
6668 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6669
6670 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6671
6672 * ada-lang.c (decode_constrained_packed_array): Perform a
6673 minimal coercion for reference with coerce_ref instead of
6674 ada_coerce_ref.
6675
6676 2014-03-17 Tristan Gingold <gingold@adacore.com>
6677
6678 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6679 (darwin_solib_create_inferior_hook): Emit a warning if version
6680 is unhandled.
6681
6682 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6683
6684 * python/py-value.c (get_field_flag): Cast flag_name argument to
6685 PyObject_GetAttrString to support Python 2.4.
6686
6687 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6688
6689 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6690 (Global Maintainers): Remove Jan Kratochvil.
6691
6692 2014-03-14 Pedro Alves <palves@redhat.com>
6693
6694 * inferior.h (terminal_ours_for_output): Rename to ...
6695 (child_terminal_ours_for_output): ... this.
6696 (terminal_save_ours): Rename to ...
6697 (child_terminal_save_ours): ... this.
6698 (terminal_ours): Rename to ...
6699 (child_terminal_ours): ... this.
6700 (terminal_inferior): Rename to ...
6701 (child_terminal_inferior): ... this.
6702 (terminal_init_inferior): Rename to ...
6703 (child_terminal_init_inferior): ... this.
6704 (terminal_init_inferior_with_pgrp): Rename to ...
6705 (child_terminal_init_inferior_with_pgrp): ... this.
6706 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6707 (child_terminal_init_with_pgrp): ... this.
6708 (terminal_save_ours): Rename to ...
6709 (child_terminal_save_ours): ... this.
6710 (terminal_init_inferior): Rename to ...
6711 (child_terminal_init): ... this. Adjust.
6712 (terminal_inferior): Rename to ...
6713 (child_terminal_inferior): ... this.
6714 (terminal_ours_for_output): Rename to ...
6715 (child_terminal_ours_for_output): ... this. Adjust.
6716 (terminal_ours): Rename to ...
6717 (child_terminal_ours): ... this.
6718 (terminal_ours_1): Rename to ...
6719 (child_terminal_ours_1): ... this. Adjust.
6720 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6721 * windows-nat.c (do_initial_windows_stuff): Adjust.
6722 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6723 (gnu_terminal_init): ... this. Adjust.
6724 (gnu_target): Adjust.
6725 * inf-child.c (inf_child_target): Adjust.
6726
6727 2014-03-13 Doug Evans <xdje42@gmail.com>
6728
6729 PR guile/16612
6730 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6731 new eq?-hashtab.
6732
6733 2014-03-13 Doug Evans <xdje42@gmail.com>
6734
6735 * value.c (record_latest_value): Call release_value_or_incref
6736 instead of release_value.
6737
6738 2014-03-13 Pedro Alves <palves@redhat.com>
6739
6740 * procfs.c (procfs_target): Don't override to_shortname,
6741 to_longname or to_doc.
6742
6743 2014-03-13 Pedro Alves <palves@redhat.com>
6744
6745 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6746 Unix in user visible strings.
6747
6748 2014-03-12 Stan Shebs <stan@codesourcery.com>
6749
6750 * gdbtypes.h: Annotate comments for Doxygen, add a page
6751 block comment with some general info.
6752
6753 2014-03-12 Pedro Alves <palves@redhat.com>
6754
6755 * infcmd.c (prepare_execution_command): New function, factored out
6756 from several execution commands.
6757 (run_command_1, continue_command, step_1, jump_command)
6758 (signal_command, until_command, advance_command, finish_command)
6759 (attach_command): Use prepare_execution_command.
6760
6761 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
6762
6763 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6764 (MAX_BPTS): Define.
6765 (MAX_WPTS): Define.
6766 (struct arm_linux_thread_points): Removed.
6767 (struct arm_linux_process_info): New.
6768 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6769 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6770 (arm_linux_find_breakpoints_by_tid): Removed.
6771 (struct arch_lwp_info): New.
6772 (arm_linux_find_process_pid): New functions.
6773 (arm_linux_add_process): New functions.
6774 (arm_linux_process_info_get): New functions.
6775 (arm_linux_forget_process): New function.
6776 (arm_linux_get_debug_reg_state): New function.
6777 (struct update_registers_data): New.
6778 (update_registers_callback): New function.
6779 (arm_linux_insert_hw_breakpoint1): Updated.
6780 (arm_linux_remove_hw_breakpoint1): Updated.
6781 (arm_linux_insert_hw_breakpoint): Updated.
6782 (arm_linux_remove_hw_breakpoint): Updated.
6783 (arm_linux_insert_watchpoint): Updated.
6784 (arm_linux_remove_watchpoint): Updated.
6785 (arm_linux_new_thread): Updated.
6786 (arm_linux_prepare_to_resume): New function.
6787 (arm_linux_new_fork): New function.
6788 (_initialize_arm_linux_nat): Updated.
6789
6790 2014-03-12 Pedro Alves <palves@redhat.com>
6791
6792 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6793
6794 2014-03-12 Tom Tromey <tromey@redhat.com>
6795
6796 * inf-child.c (return_zero): New function.
6797 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6798 * aix-thread.c (aix_thread_inferior_created): New function.
6799 (aix_thread_attach): Remove.
6800 (init_aix_thread_ops): Don't set to_attach.
6801 (_initialize_aix_thread): Register inferior_created observer.
6802 * corelow.c (init_core_ops): Don't set to_attach or
6803 to_create_inferior.
6804 * exec.c (init_exec_ops): Don't set to_attach or
6805 to_create_inferior.
6806 * infcmd.c (run_command_1): Use find_run_target. Make direct
6807 target calls.
6808 (attach_command): Use find_attach_target. Make direct target
6809 calls.
6810 * record-btrace.c (init_record_btrace_ops): Don't set
6811 to_create_inferior.
6812 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6813 Remove.
6814 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6815 set to_create_inferior.
6816 * target.c (complete_target_initialization): Add assertion.
6817 (target_create_inferior): Remove.
6818 (find_default_attach, find_default_create_inferior): Remove.
6819 (find_attach_target, find_run_target): New functions.
6820 (find_default_is_async_p, find_default_can_async_p)
6821 (target_supports_non_stop, target_attach): Remove.
6822 (init_dummy_target): Don't set to_create_inferior or
6823 to_supports_non_stop.
6824 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6825 TARGET_DEFAULT_FUNC.
6826 <to_create_inferior>: Add comment.
6827 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6828 TARGET_DEFAULT_RETURN.
6829 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6830 (find_attach_target, find_run_target): Declare.
6831 (target_create_inferior): Remove.
6832 (target_has_execution_1): Update comment.
6833 (target_supports_non_stop): Remove.
6834 * target-delegates.c: Rebuild.
6835
6836 2014-03-12 Pedro Alves <palves@redhat.com>
6837
6838 * inf-child.h: Update comment to not mention Unix.
6839
6840 2014-03-12 Pedro Alves <palves@redhat.com>
6841
6842 * inf-child.c: Update top comment to not mention Unix. Add
6843 generic comment describing how this target is meant to be used.
6844 (inf_child_post_attach, inf_child_post_startup_inferior)
6845 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6846 Unix in comment.
6847
6848 2014-03-12 Pedro Alves <palves@redhat.com>
6849
6850 * nto-procfs.c: Include inf-child.h.
6851 (procfs_ops): Delete global.
6852 (procfs_can_run): Delete method.
6853 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6854 target pointer instead of referencing procfs_ops.
6855 (procfs_prepare_to_store): Delete.
6856 (init_procfs_ops): Delete function.
6857 (procfs_target): New function, based on init_procfs_ops, but
6858 inherit inf_child_target.
6859 (_initialize_procfs): Use procfs_target.
6860
6861 2014-03-12 Pedro Alves <palves@redhat.com>
6862
6863 * windows-nat.c: Include inf-child.h.
6864 (windows_ops): Delete global.
6865 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6866 methods.
6867 (init_windows_ops): Delete function.
6868 (windows_target): New function, based on init_windows_ops, but
6869 inherit inf_child_target.
6870 (_initialize_windows_nat): Use windows_target. Install x86
6871 specific target methods here.
6872
6873 2014-03-10 Doug Evans <xdje42@gmail.com>
6874
6875 * guile/guile.c (call_initialize_gdb_module): New function.
6876 (initialize_guile): Replace call to scm_init_guile with call to
6877 scm_with_guile.
6878
6879 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6880
6881 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6882 in call to TYPE_CODE macro.
6883
6884 2014-03-10 Jerome Guitton <guitton@adacore.com>
6885
6886 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6887 Resolve tagged types to full view.
6888
6889 2014-03-10 Hui Zhu <hui@codesourcery.com>
6890
6891 * target.h (target_insert_breakpoint): Remove "hardware" from its
6892 comments.
6893
6894 2014-03-07 Doug Evans <dje@google.com>
6895
6896 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6897
6898 2014-03-07 Doug Evans <dje@google.com>
6899
6900 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6901 Remove unused local comp_dir_attr. Assert exactly one of
6902 stub_comp_unit_die, stub_comp_dir is non-NULL.
6903
6904 2014-03-07 Joel Brobecker <brobecker@adacore.com>
6905
6906 * target.h (complete_target_initialization, add_target):
6907 Add comment.
6908
6909 2014-03-07 Pedro Alves <palves@redhat.com>
6910
6911 * go32-nat.c: Include inf-child.h.
6912 (go32_ops): Delete global.
6913 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6914 Delete methods.
6915 (go32_create_inferior): Push the passed in target pointer instead
6916 of referencing go32_ops.
6917 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6918 (go32_target): New function, based on init_go32_ops, but inherit
6919 inf_child_target.
6920 (_initialize_go32_nat): Use go32_target. Move parts of
6921 init_go32_ops here.
6922
6923 2014-03-06 Joel Brobecker <brobecker@adacore.com>
6924
6925 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6926 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6927 SYMBOL_VALUE_ADDRESS.
6928 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6929
6930 2014-03-06 Yao Qi <yao@codesourcery.com>
6931
6932 * breakpoint.c (get_tracepoint_by_number): Remove argument
6933 optional_p. All callers updated. Adjust comments. Update
6934 output message.
6935 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6936
6937 2014-03-06 Yao Qi <yao@codesourcery.com>
6938
6939 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6940 early if get_number returns zero. Use 'p' instead of 'args'.
6941
6942 2014-03-06 Yao Qi <yao@codesourcery.com>
6943
6944 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6945 message.
6946
6947 2014-03-06 Yao Qi <yao@codesourcery.com>
6948
6949 PR breakpoints/16508
6950 * tracepoint.c (check_trace_running): New function.
6951 (trace_find_command): Move code to check_trace_running and
6952 call check_trace_running.
6953 (trace_find_pc_command): Likewise.
6954 (trace_find_tracepoint_command): Likewise.
6955 (trace_find_line_command): Likewise.
6956 (trace_find_range_command): Likewise.
6957 * tracepoint.h (check_trace_running): Likewise.
6958 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6959
6960 2014-03-06 Yao Qi <yao@codesourcery.com>
6961
6962 * target.h (struct target_ops) <to_traceframe_info>: Use
6963 TARGET_DEFAULT_NORETURN (tcomplain ()).
6964 * target-delegates.c: Regenerated.
6965
6966 2014-03-05 Pedro Alves <palves@redhat.com>
6967
6968 PR gdb/16575
6969 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6970 void. Update comment.
6971 (dcache_xfer_memory): Delete.
6972 (dcache_read_memory_partial): New, based on the read bits of
6973 dcache_xfer_memory.
6974 (dcache_update): Add status parameter. Use ULONGEST for len, and
6975 adjust. Discard cache lines if the reason for the update was
6976 error.
6977 * dcache.h (dcache_xfer_memory): Delete declaration.
6978 (dcache_read_memory_partial): New declaration.
6979 (dcache_update): Update prototype.
6980 * target.c (raw_memory_xfer_partial): Update the dcache here.
6981 (memory_xfer_partial_1): Don't handle dcache writes here.
6982
6983 2014-03-05 Mike Frysinger <vapier@gentoo.org>
6984
6985 * remote-sim.c (gdbsim_load): Add const to prog.
6986
6987 2014-03-03 Tom Tromey <tromey@redhat.com>
6988
6989 * elfread.c (probe_key): Change to bfd_data.
6990 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6991 now per-BFD, not per-objfile.
6992 * stap-probe.c (stap_probe_destroy): Update comment.
6993 (handle_stap_probe): Allocate on the per-BFD obstack.
6994
6995 2014-03-03 Tom Tromey <tromey@redhat.com>
6996
6997 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6998 * breakpoint.c (create_longjmp_master_breakpoint): Use
6999 get_probe_address.
7000 (add_location_to_breakpoint, bkpt_probe_insert_location)
7001 (bkpt_probe_remove_location): Update.
7002 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7003 * elfread.c (elf_symfile_relocate_probe): Remove.
7004 (elf_probe_fns): Update.
7005 (insert_exception_resume_breakpoint): Change type of "probe"
7006 parameter to bound_probe.
7007 (check_exception_resume): Update.
7008 * objfiles.c (objfile_relocate1): Don't relocate probes.
7009 * probe.c (bound_probe_s): New typedef.
7010 (parse_probes): Use get_probe_address. Set sal's objfile.
7011 (find_probe_by_pc): Return a bound_probe.
7012 (collect_probes): Return a VEC(bound_probe_s).
7013 (compare_probes): Update.
7014 (gen_ui_out_table_header_info): Change type of "probes"
7015 parameter. Update.
7016 (info_probes_for_ops): Update.
7017 (get_probe_address): New function.
7018 (probe_safe_evaluate_at_pc): Update.
7019 * probe.h (struct probe_ops) <get_probe_address>: New field.
7020 <set_semaphore, clear_semaphore>: Add objfile parameter.
7021 (struct probe) <objfile>: Remove field.
7022 <arch>: New field.
7023 <address>: Update comment.
7024 (struct bound_probe): New.
7025 (find_probe_by_pc): Return a bound_probe.
7026 (get_probe_address): Declare.
7027 * solib-svr4.c (struct probe_and_action) <address>: New field.
7028 (hash_probe_and_action, equal_probe_and_action): Update.
7029 (register_solib_event_probe): Add address parameter.
7030 (solib_event_probe_at): Update.
7031 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7032 get_probe_address.
7033 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7034 (stap_get_probe_address): New function.
7035 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7036 (compile_probe_arg): Update.
7037 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7038 address.
7039 (handle_stap_probe): Don't relocate the probe.
7040 (stap_relocate): Remove.
7041 (stap_gen_info_probes_table_values): Update.
7042 (stap_probe_ops): Remove stap_relocate.
7043 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7044 (debug_sym_probe_fns): Update.
7045 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7046 * symtab.c (init_sal): Use memset.
7047 * symtab.h (struct symtab_and_line) <objfile>: New field.
7048 * tracepoint.c (start_tracing, stop_tracing): Update.
7049
7050 2014-03-03 Tom Tromey <tromey@redhat.com>
7051
7052 * probe.h (parse_probes, find_probe_by_pc)
7053 (find_probes_in_objfile): Fix comments.
7054
7055 2014-03-02 Doug Evans <xdje42@gmail.com>
7056
7057 * infrun.c (handle_signal_stop): Replace test for
7058 TARGET_WAITKIND_STOPPED with an assert.
7059
7060 2014-03-02 Doug Evans <xdje42@gmail.com>
7061
7062 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7063
7064 2014-03-02 Doug Evans <xdje42@gmail.com>
7065
7066 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7067
7068 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7069
7070 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7071
7072 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7073
7074 * i386obsd-nat.c: Include "obsd-nat.h".
7075 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7076 add_target.
7077 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7078
7079 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7080
7081 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7082
7083 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7084
7085 * mips64obsd-nat.c: Include "obsd-nath".
7086 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7087 add_target
7088 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7089
7090 2014-03-01 Mark Kettenis <kettenis@gnu.org>
7091
7092 * amd64obsd-nat.c: Include "obsd-nat,h.
7093 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7094 add_target.
7095 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7096
7097 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7098
7099 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7100 (find_overload_match): Update call to find_oload_champ.
7101 (find_oload_champ_namespace_loop): Likewise
7102
7103 2014-02-28 Mark Kettenis <kettenis@gnu.org>
7104
7105 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7106
7107 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7108 * config/sparc/obsd64.mh: New file.
7109 * sparc64obsd-nat.c: New file.
7110
7111 * obsd-nat.h: New file.
7112 * obsd-nat.c: New file.
7113 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7114 (ALLDEPFILES): Add obsd-nat.c.
7115
7116 2014-02-28 Tom Tromey <tromey@redhat.com>
7117
7118 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7119 * cli-out.h (cli_ui_out_impl): Now const.
7120 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7121 * ui-out.c (struct ui_out) <impl>: Now const.
7122 (default_ui_out_impl): Now const.
7123 (ui_out_new): Make 'impl' parameter const.
7124 * ui-out.h (ui_out_new): Update.
7125
7126 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7127
7128 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7129
7130 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7131
7132 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7133
7134 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7135
7136 Additional PR 8882 fix.
7137 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7138
7139 2014-02-27 Pedro Alves <palves@redhat.com>
7140
7141 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7142 isn't set.
7143
7144 2014-02-27 Pedro Alves <palves@redhat.com>
7145
7146 PR 12702
7147 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7148 * nat/linux-waitpid.c: Include string.h.
7149 (status_to_str): Moved here and made extern.
7150 * nat/linux-waitpid.h (status_to_str): New declaration.
7151
7152 2014-02-27 Hui Zhu <hui@codesourcery.com>
7153
7154 PR 12702
7155 * infrun.c (ptid_match): Move ...
7156 * common/ptid.c (ptid_match): ... here.
7157 * inferior.h (ptid_match): Move ...
7158 * common/ptid.h (ptid_match): ... here.
7159
7160 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7161
7162 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7163 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7164 gdb_target_obs.
7165
7166 2014-02-27 Mark Kettenis <kettenis@gnu.org>
7167
7168 * obsd-tdep.c (obsd_auxv_parse): New function.
7169 (obsd_init_abi): Set auxv_parse.
7170
7171 * gdbarch.sh (auxv_parse): New.
7172 * gdbarch.h: Regenerated.
7173 * gdbarch.c: Regenerated.
7174 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7175
7176 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7177
7178 * guile/scm-value.c (gdbscm_history_append_x): New function.
7179 (value_functions): Add it.
7180
7181 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7182
7183 * dwarf2read.c (attr_value_as_address): New function.
7184 (dwarf2_find_base_address, read_call_site_scope): Use
7185 attr_value_as_address in place of DW_ADDR.
7186 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7187 the low and high addresses. Slight rework of the handling
7188 of the high pc being a constant form, and limit it to
7189 DWARF verson 4 or higher.
7190 (dwarf2_record_block_ranges): Likewise.
7191 (read_partial_die): Likewise.
7192 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7193
7194 2014-02-26 Tom Tromey <tromey@redhat.com>
7195
7196 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7197
7198 2014-02-26 Tom Tromey <tromey@redhat.com>
7199
7200 * elfread.c (elf_read_minimal_symbols): Return early if
7201 minimal symbols have already been read. Add "ei" parameter.
7202 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7203 * minsyms.c (prim_record_minimal_symbol_full): Update.
7204 * objfiles.h (struct objstats) <n_minsyms>: Move...
7205 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7206 * symmisc.c (print_objfile_statistics): Update.
7207
7208 2014-02-26 Tom Tromey <tromey@redhat.com>
7209
7210 * elfread.c (elf_read_minimal_symbols): New function, from
7211 elf_symfile_read.
7212 (elf_symfile_read): Call it.
7213
7214 2014-02-26 Tom Tromey <tromey@redhat.com>
7215
7216 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7217 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7218 (lookup_minimal_symbol_solib_trampoline)
7219 (lookup_minimal_symbol_by_pc_section_1)
7220 (lookup_minimal_symbol_and_objfile): Update.
7221 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7222 Don't allocate a minimal symbol if minsyms have already been read.
7223 (build_minimal_symbol_hash_tables): Update.
7224 (install_minimal_symbols): Do nothing if minsyms already read.
7225 Use the per-BFD obstack.
7226 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7227 * objfiles.c (allocate_objfile): Call
7228 terminate_minimal_symbol_table later.
7229 (have_minimal_symbols): Update.
7230 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7231 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7232 Move from struct objfile.
7233 <minsyms_read>: New field.
7234 (struct objfile) <msymbols, minimal_symbol_count,
7235 msymbol_hash, msymbol_demangled_hash>: Move.
7236 (ALL_OBJFILE_MSYMBOLS): Update.
7237 * symfile.c (read_symbols): Set minsyms_read.
7238 (reread_symbols): Update.
7239 * symmisc.c (dump_objfile, dump_msymbols): Update.
7240
7241 2014-02-26 Tom Tromey <tromey@redhat.com>
7242
7243 * minsyms.c (msymbols_sort): Remove.
7244 * minsyms.h (msymbols_sort): Remove.
7245 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7246 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7247 * elfread.c (elf_symtab_read): Don't add section offsets.
7248 * xcoffread.c (record_minimal_symbol): Don't add section offset
7249 to minimal symbol address.
7250 * somread.c (text_offset, data_offset): Remove.
7251 (som_symtab_read): Don't add section offsets to minimal symbol
7252 addresses.
7253 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7254 Don't add section offsets to minimal symbols.
7255 * coffread.c (coff_symtab_read): Don't add section offsets
7256 to minimal symbol addresses.
7257 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7258 to minimal symbol addresses.
7259 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7260 section offset to minimal symbol addresses.
7261 * mdebugread.c (parse_partial_symbols): Don't add section
7262 offset to minimal symbol addresses.
7263 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7264 offset to minimal symbol addresses.
7265
7266 2014-02-26 Tom Tromey <tromey@redhat.com>
7267
7268 * ada-lang.c (ada_main_name): Update.
7269 (ada_add_standard_exceptions): Update.
7270 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7271 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7272 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7273 * auxv.c (ld_so_xfer_auxv): Update.
7274 * avr-tdep.c (avr_scan_prologue): Update.
7275 * ax-gdb.c (gen_var_ref): Update.
7276 * blockframe.c (get_pc_function_start)
7277 (find_pc_partial_function_gnu_ifunc): Update.
7278 * breakpoint.c (create_overlay_event_breakpoint)
7279 (create_longjmp_master_breakpoint)
7280 (create_std_terminate_master_breakpoint)
7281 (create_exception_master_breakpoint): Update.
7282 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7283 * c-valprint.c (c_val_print): Update.
7284 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7285 * common/agent.c (agent_look_up_symbols): Update.
7286 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7287 * dwarf2loc.c (call_site_to_target_addr): Update.
7288 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7289 * elfread.c (elf_gnu_ifunc_record_cache)
7290 (elf_gnu_ifunc_resolve_by_got): Update.
7291 * findvar.c (default_read_var_value): Update.
7292 * frame.c (inside_main_func): Update.
7293 * frv-tdep.c (frv_frame_this_id): Update.
7294 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7295 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7296 Update.
7297 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7298 (hppa_hpux_find_dummy_bpaddr): Update.
7299 * hppa-tdep.c (hppa_symbol_address): Update.
7300 * infcmd.c (until_next_command): Update.
7301 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7302 Update.
7303 * linespec.c (minsym_found, add_minsym): Update.
7304 * linux-nat.c (get_signo): Update.
7305 * linux-thread-db.c (inferior_has_bug): Update.
7306 * m32c-tdep.c (m32c_return_value)
7307 (m32c_m16c_address_to_pointer): Update.
7308 * m32r-tdep.c (m32r_frame_this_id): Update.
7309 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7310 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7311 * maint.c (maintenance_translate_address): Update.
7312 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7313 (frob_address): New function.
7314 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7315 frob_address. Rename parameter to "pc_in".
7316 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7317 addresses.
7318 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7319 Update.
7320 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7321 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7322 * objc-lang.c (find_objc_msgsend): Update.
7323 * objfiles.c (objfile_relocate1): Update.
7324 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7325 * p-valprint.c (pascal_val_print): Update.
7326 * parse.c (write_exp_msymbol): Update.
7327 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7328 (ppc_elfv2_skip_entrypoint): Update.
7329 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7330 * printcmd.c (build_address_symbolic, msym_info)
7331 (address_info): Update.
7332 * proc-service.c (ps_pglobal_lookup): Update.
7333 * psymtab.c (find_pc_sect_psymtab_closer)
7334 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7335 Change msymbol parameter to bound_minimal_symbol.
7336 * ravenscar-thread.c (get_running_thread_id): Update.
7337 * remote.c (remote_check_symbols): Update.
7338 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7339 address.
7340 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7341 * solib-dsbt.c (lm_base): Update.
7342 * solib-frv.c (lm_base, main_got): Update.
7343 * solib-irix.c (locate_base): Update.
7344 * solib-som.c (som_solib_create_inferior_hook)
7345 (link_map_start): Update.
7346 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7347 * solib-svr4.c (elf_locate_base, enable_break): Update.
7348 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7349 (flush_ea_cache): Update.
7350 * stabsread.c (define_symbol, scan_file_globals): Update.
7351 * stack.c (find_frame_funname): Update.
7352 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7353 (debug_qf_find_pc_sect_symtab): Update.
7354 * symfile.c (simple_read_overlay_table)
7355 (simple_overlay_update): Update.
7356 * symfile.h (struct quick_symbol_functions)
7357 <find_pc_sect_symtab>: Change type of msymbol to
7358 bound_minimal_symbol.
7359 * symmisc.c (dump_msymbols): Update.
7360 * symtab.c (find_pc_sect_symtab_via_partial)
7361 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7362 (search_symbols, print_msymbol_info): Update.
7363 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7364 (MSYMBOL_VALUE_ADDRESS): Redefine.
7365 (BMSYMBOL_VALUE_ADDRESS): New macro.
7366 * tracepoint.c (scope_info): Update.
7367 * tui/tui-disasm.c (tui_find_disassembly_address)
7368 (tui_get_begin_asm_address): Update.
7369 * valops.c (find_function_in_inferior): Update.
7370 * value.c (value_static_field, value_fn_field): Update.
7371
7372 2014-02-26 Tom Tromey <tromey@redhat.com>
7373
7374 * ada-lang.c (ada_update_initial_language): Update.
7375 (ada_main_name, ada_has_this_exception_support): Update.
7376 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7377 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7378 * arm-tdep.c (arm_skip_stub): Update.
7379 * auxv.c (ld_so_xfer_auxv): Update.
7380 * avr-tdep.c (avr_scan_prologue): Update.
7381 * ax-gdb.c (gen_var_ref): Update.
7382 * breakpoint.c (struct breakpoint_objfile_data)
7383 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7384 type to bound_minimal_symbol.
7385 (create_overlay_event_breakpoint)
7386 (create_longjmp_master_breakpoint)
7387 (create_std_terminate_master_breakpoint)
7388 (create_exception_master_breakpoint): Update.
7389 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7390 * c-exp.y (classify_name): Update.
7391 * coffread.c (coff_symfile_read): Update.
7392 * common/agent.c (agent_look_up_symbols): Update.
7393 * d-lang.c (d_main_name): Update.
7394 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7395 * dec-thread.c (enable_dec_thread): Update.
7396 * dwarf2loc.c (call_site_to_target_addr): Update.
7397 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7398 * eval.c (evaluate_subexp_standard): Update.
7399 * findvar.c (struct minsym_lookup_data) <result>: Change type
7400 to bound_minimal_symbol.
7401 <objfile>: Remove.
7402 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7403 * frame.c (inside_main_func): Update.
7404 * frv-tdep.c (frv_frame_this_id): Update.
7405 * gcore.c (call_target_sbrk): Update.
7406 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7407 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7408 Update.
7409 * go-lang.c (go_main_name): Update.
7410 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7411 (hppa_hpux_find_import_stub_for_addr): Update.
7412 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7413 Update. Change return type.
7414 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7415 type.
7416 * jit.c (jit_breakpoint_re_set_internal): Update.
7417 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7418 Update.
7419 * linux-nat.c (get_signo): Update.
7420 * linux-thread-db.c (inferior_has_bug): Update
7421 * m32c-tdep.c (m32c_return_value)
7422 (m32c_m16c_address_to_pointer): Update.
7423 * m32r-tdep.c (m32r_frame_this_id): Update.
7424 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7425 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7426 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7427 lookup_minimal_symbol. Change return type.
7428 (lookup_minimal_symbol): Remove.
7429 (lookup_bound_minimal_symbol): Update.
7430 (lookup_minimal_symbol_text): Change return type.
7431 (lookup_minimal_symbol_solib_trampoline): Change return type.
7432 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7433 (lookup_minimal_symbol_solib_trampoline): Change return type.
7434 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7435 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7436 (value_nsstring, find_imps): Update.
7437 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7438 * p-lang.c (pascal_main_name): Update.
7439 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7440 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7441 * proc-service.c (ps_pglobal_lookup): Update.
7442 * ravenscar-thread.c (get_running_thread_msymbol): Change
7443 return type.
7444 (has_ravenscar_runtime, get_running_thread_id): Update.
7445 * remote.c (remote_check_symbols): Update.
7446 * sol-thread.c (ps_pglobal_lookup): Update.
7447 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7448 * solib-dsbt.c (lm_base): Update.
7449 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7450 Update.
7451 * solib-irix.c (locate_base): Update.
7452 * solib-som.c (som_solib_create_inferior_hook)
7453 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7454 Update.
7455 * solib-spu.c (spu_enable_break): Update.
7456 * solib-svr4.c (elf_locate_base, enable_break): Update.
7457 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7458 (flush_ea_cache): Update.
7459 * stabsread.c (define_symbol): Update.
7460 * symfile.c (simple_read_overlay_table): Update.
7461 * symtab.c (find_pc_sect_line): Update.
7462 * tracepoint.c (scope_info): Update.
7463 * tui-disasm.c (tui_get_begin_asm_address): Update.
7464 * value.c (value_static_field): Update.
7465
7466 2014-02-26 Tom Tromey <tromey@redhat.com>
7467
7468 * minsyms.c (prim_record_minimal_symbol_full): Use
7469 SET_MSYMBOL_VALUE_ADDRESS.
7470 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7471 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7472 SET_MSYMBOL_VALUE_ADDRESS.
7473 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7474 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7475
7476 2014-02-26 Tom Tromey <tromey@redhat.com>
7477
7478 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7479 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7480 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7481 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7482 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7483 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7484 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7485 * ada-lang.c (ada_main_name): Update.
7486 (ada_lookup_simple_minsym): Update.
7487 (ada_make_symbol_completion_list): Update.
7488 (ada_add_standard_exceptions): Update.
7489 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7490 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7491 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7492 * arm-tdep.c (skip_prologue_function): Update.
7493 (arm_skip_stack_protector, arm_skip_stub): Update.
7494 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7495 (arm_wince_skip_main_prologue): Update.
7496 * auxv.c (ld_so_xfer_auxv): Update.
7497 * avr-tdep.c (avr_scan_prologue): Update.
7498 * ax-gdb.c (gen_var_ref): Update.
7499 * block.c (call_site_for_pc): Update.
7500 * blockframe.c (get_pc_function_start): Update.
7501 (find_pc_partial_function_gnu_ifunc): Update.
7502 * breakpoint.c (create_overlay_event_breakpoint): Update.
7503 (create_longjmp_master_breakpoint): Update.
7504 (create_std_terminate_master_breakpoint): Update.
7505 (create_exception_master_breakpoint): Update.
7506 (resolve_sal_pc): Update.
7507 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7508 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7509 Update.
7510 * c-valprint.c (c_val_print): Update.
7511 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7512 * coffread.c (coff_symfile_read): Update.
7513 * common/agent.c (agent_look_up_symbols): Update.
7514 * dbxread.c (find_stab_function_addr): Update.
7515 (end_psymtab): Update.
7516 * dwarf2loc.c (call_site_to_target_addr): Update.
7517 (func_verify_no_selftailcall): Update.
7518 (tailcall_dump): Update.
7519 (call_site_find_chain_1): Update.
7520 (dwarf_expr_reg_to_entry_parameter): Update.
7521 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7522 (elf_gnu_ifunc_resolve_by_got): Update.
7523 * f-valprint.c (info_common_command): Update.
7524 * findvar.c (read_var_value): Update.
7525 * frame.c (get_prev_frame_1): Update.
7526 (inside_main_func): Update.
7527 * frv-tdep.c (frv_skip_main_prologue): Update.
7528 (frv_frame_this_id): Update.
7529 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7530 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7531 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7532 (gnuv3_skip_trampoline): Update.
7533 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7534 (hppa64_hpux_in_solib_call_trampoline): Update.
7535 (hppa_hpux_skip_trampoline_code): Update.
7536 (hppa64_hpux_search_dummy_call_sequence): Update.
7537 (hppa_hpux_find_import_stub_for_addr): Update.
7538 (hppa_hpux_find_dummy_bpaddr): Update.
7539 * hppa-tdep.c (hppa_symbol_address)
7540 (hppa_lookup_stub_minimal_symbol): Update.
7541 * i386-tdep.c (i386_skip_main_prologue): Update.
7542 (i386_pe_skip_trampoline_code): Update.
7543 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7544 * infcall.c (get_function_name): Update.
7545 * infcmd.c (until_next_command): Update.
7546 * jit.c (jit_breakpoint_re_set_internal): Update.
7547 (jit_inferior_init): Update.
7548 * linespec.c (minsym_found): Update.
7549 (add_minsym): Update.
7550 * linux-fork.c (info_checkpoints_command): Update.
7551 * linux-nat.c (get_signo): Update.
7552 * linux-thread-db.c (inferior_has_bug): Update.
7553 * m32c-tdep.c (m32c_return_value): Update.
7554 (m32c_m16c_address_to_pointer): Update.
7555 (m32c_m16c_pointer_to_address): Update.
7556 * m32r-tdep.c (m32r_frame_this_id): Update.
7557 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7558 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7559 * maint.c (maintenance_translate_address): Update.
7560 * minsyms.c (add_minsym_to_hash_table): Update.
7561 (add_minsym_to_demangled_hash_table): Update.
7562 (msymbol_objfile): Update.
7563 (lookup_minimal_symbol): Update.
7564 (iterate_over_minimal_symbols): Update.
7565 (lookup_minimal_symbol_text): Update.
7566 (lookup_minimal_symbol_by_pc_name): Update.
7567 (lookup_minimal_symbol_solib_trampoline): Update.
7568 (lookup_minimal_symbol_by_pc_section_1): Update.
7569 (lookup_minimal_symbol_and_objfile): Update.
7570 (prim_record_minimal_symbol_full): Update.
7571 (compare_minimal_symbols): Update.
7572 (compact_minimal_symbols): Update.
7573 (build_minimal_symbol_hash_tables): Update.
7574 (install_minimal_symbols): Update.
7575 (terminate_minimal_symbol_table): Update.
7576 (find_solib_trampoline_target): Update.
7577 (minimal_symbol_upper_bound): Update.
7578 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7579 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7580 (mips_skip_pic_trampoline_code): Update.
7581 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7582 * objc-lang.c (selectors_info): Update.
7583 (classes_info): Update.
7584 (find_methods): Update.
7585 (find_imps): Update.
7586 (find_objc_msgsend): Update.
7587 * objfiles.c (objfile_relocate1): Update.
7588 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7589 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7590 * p-valprint.c (pascal_val_print): Update.
7591 * parse.c (write_exp_msymbol): Update.
7592 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7593 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7594 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7595 * printcmd.c (build_address_symbolic): Update.
7596 (sym_info): Update.
7597 (address_info): Update.
7598 * proc-service.c (ps_pglobal_lookup): Update.
7599 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7600 (find_pc_sect_psymtab): Update.
7601 * python/py-framefilter.c (py_print_frame): Update.
7602 * ravenscar-thread.c (get_running_thread_id): Update.
7603 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7604 Update.
7605 * remote.c (remote_check_symbols): Update.
7606 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7607 (rs6000_skip_trampoline_code): Update.
7608 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7609 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7610 * solib-dsbt.c (lm_base): Update.
7611 * solib-frv.c (lm_base): Update.
7612 (main_got): Update.
7613 * solib-irix.c (locate_base): Update.
7614 * solib-som.c (som_solib_create_inferior_hook): Update.
7615 (som_solib_desire_dynamic_linker_symbols): Update.
7616 (link_map_start): Update.
7617 * solib-spu.c (spu_enable_break): Update.
7618 (ocl_enable_break): Update.
7619 * solib-svr4.c (elf_locate_base): Update.
7620 (enable_break): Update.
7621 * spu-tdep.c (spu_get_overlay_table): Update.
7622 (spu_catch_start): Update.
7623 (flush_ea_cache): Update.
7624 * stabsread.c (define_symbol): Update.
7625 (scan_file_globals): Update.
7626 * stack.c (find_frame_funname): Update.
7627 (frame_info): Update.
7628 * symfile.c (simple_read_overlay_table): Update.
7629 (simple_overlay_update): Update.
7630 * symmisc.c (dump_msymbols): Update.
7631 * symtab.c (fixup_section): Update.
7632 (find_pc_sect_line): Update.
7633 (skip_prologue_sal): Update.
7634 (search_symbols): Update.
7635 (print_msymbol_info): Update.
7636 (rbreak_command): Update.
7637 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7638 (completion_list_objc_symbol): Update.
7639 (default_make_symbol_completion_list_break_on): Update.
7640 * tracepoint.c (scope_info): Update.
7641 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7642 (tui_get_begin_asm_address): Update.
7643 * valops.c (find_function_in_inferior): Update.
7644 * value.c (value_static_field): Update.
7645 (value_fn_field): Update.
7646
7647 2014-02-26 Tom Tromey <tromey@redhat.com>
7648
7649 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7650 bound minimal symbols. Move code that knows about minsym
7651 table layout...
7652 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7653 function.
7654 * minsyms.h (minimal_symbol_upper_bound): Declare.
7655 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7656 minimal_symbol_upper_bound.
7657
7658 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7659
7660 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7661 Use the type's name if its basic type does not have a tag.
7662
7663 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7664
7665 * dwarf2read.c (read_subrange_type): Add comment.
7666
7667 2014-02-27 Joel Brobecker <brobecker@adacore.com>
7668
7669 * dwarf2read.c (update_enumeration_type_from_children): New
7670 function, mostly extracted from process_structure_scope.
7671 (read_enumeration_type): Call update_enumeration_type_from_children.
7672 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7673 and flag_flag_enum fields.
7674
7675 2014-02-26 Pedro Alves <palves@redhat.com>
7676
7677 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7678 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7679 to_xfer_partial method.
7680
7681 2014-02-26 Pedro Alves <palves@redhat.com>
7682
7683 * target.c (complete_target_initialization): Don't install
7684 default_xfer_partial as to_xfer_partial hook.
7685 (nomemory): Delete.
7686 (update_current_target): Don't INHERIT nor de_fault
7687 deprecated_xfer_memory. Delete de_fault macro.
7688 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7689 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7690 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7691 field.
7692
7693 2014-02-26 Pedro Alves <palves@redhat.com>
7694
7695 * go32-nat.c (my_write_child): New function.
7696 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7697 (go32_xfer_partial): New function.
7698 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7699 Instead install a to_xfer_partial hook.
7700
7701 2014-02-26 Pedro Alves <palves@redhat.com>
7702
7703 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7704 to_xfer_partial helper. Rewrite.
7705 (procfs_xfer_partial): New function.
7706 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7707 Install a to_xfer_partial hook.
7708
7709 2014-02-26 Pedro Alves <palves@redhat.com>
7710
7711 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7712 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7713 (m32r_xfer_partial): New function.
7714 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7715 Install a to_xfer_partial hook.
7716
7717 2014-02-26 Pedro Alves <palves@redhat.com>
7718
7719 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7720 helper.
7721 (mips_xfer_partial): New function.
7722 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7723 hook. Install a to_xfer_partial hook.
7724
7725 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7726
7727 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7728 * gdbtypes.c (create_array_type_with_stride): New function,
7729 renaming create_array_type, but with an added parameter
7730 called "bit_stride".
7731 (create_array_type): Re-implement using
7732 create_array_type_with_stride.
7733 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7734 and DW_AT_bit_stride attributes.
7735
7736 2014-02-26 Pedro Alves <palves@redhat.com>
7737
7738 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7739 task-specific breakpoints.
7740
7741 2014-02-25 Pedro Alves <palves@redhat.com>
7742
7743 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7744 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7745
7746 2014-02-25 Stan Shebs <stan@codesourcery.com>
7747
7748 * defs.h: Annotate comments for Doxygen.
7749
7750 2014-02-25 Tom Tromey <tromey@redhat.com>
7751
7752 * target.h (target_ignore): Don't declare.
7753 * target.c (target_ignore): Remove.
7754
7755 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7756
7757 PR gdb/16626
7758 * auto-load.c (auto_load_objfile_script_1): Change filename to
7759 debugfile.
7760
7761 2014-02-25 Joel Brobecker <brobecker@adacore.com>
7762
7763 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7764 documentation. Adjust prototype to match the target_ops
7765 to_xfer_partial method. Adjust implementation accordingly.
7766
7767 2014-02-25 Hui Zhu <hui@codesourcery.com>
7768
7769 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7770 to_traceframe_info.
7771
7772 2014-02-25 Kevin Buettner <kevinb@redhat.com>
7773
7774 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7775 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7776 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7777 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7778 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7779 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7780 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7781 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7782 New constants.
7783 (rl78_register_type): Use a data pointer type for SP and
7784 new pseudo registers mentioned above. Use a 16 bit integer
7785 type for all other register pairs.
7786 (rl78_register_name, rl78_g10_register_name): Update for
7787 new pseudo registers.
7788 (rl78_pseudo_register_read): Likewise.
7789 (rl78_pseudo_register_write): Likewise.
7790 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7791 to the newly added pseudo registers.
7792
7793 2014-02-24 Doug Evans <dje@google.com>
7794
7795 * value.c (record_latest_value): Fix comment.
7796 * printcmd.c (print_command_1): Remove code to handle -1 return from
7797 record_latest_value.
7798
7799 2014-02-24 Pedro Alves <palves@redhat.com>
7800
7801 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7802 deprecated_xfer_memory hook.
7803 (procfs_xfer_partial): Call procfs_xfer_memory instead
7804 of the deprecated_xfer_memory target hook.
7805 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7806 helper.
7807
7808 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7809
7810 * windows-nat.c (windows_xfer_shared_libraries): Return
7811 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7812 requested object is TARGET_OBJECT_LIBRARIES.
7813
7814 2014-02-24 Yao Qi <yao@codesourcery.com>
7815
7816 * target.h (enum target_xfer_status)
7817 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7818 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7819 explicitly. New.
7820 * corefile.c (memory_error_message): User updated.
7821 * exec.c (section_table_read_available_memory): Likewise.
7822 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7823 * target.c (target_xfer_status_to_string): Likewise.
7824 (raw_memory_xfer_partial): Likewise.
7825 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7826 * valops.c (read_value_memory): Likewise.
7827 * exec.h: Update comments.
7828
7829 2014-02-24 Yao Qi <yao@codesourcery.com>
7830
7831 * target.c (target_xfer_status_to_string): Rename argument err
7832 to status.
7833 * target.h (target_xfer_status_to_string): Update declaration.
7834 Replace target_xfer_error_to_string with
7835 target_xfer_status_to_string in comment.
7836
7837 2014-02-24 Yao Qi <yao@codesourcery.com>
7838
7839 * mips-linux-nat.c (super_close): Update its type.
7840 (mips_linux_close): Pass 'self' to super_close.
7841
7842 2014-02-24 Yao Qi <yao@codesourcery.com>
7843
7844 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7845 * corefile.c (read_memory): Adjusted.
7846 * target.c (target_write_with_progress): Adjusted.
7847
7848 2014-02-23 Yao Qi <yao@codesourcery.com>
7849
7850 Revert two patches:
7851
7852 2013-10-25 Yao Qi <yao@codesourcery.com>
7853
7854 * remote.c (remote_traceframe_info): Return early if
7855 traceframe is not selected.
7856
7857 2013-07-19 Yao Qi <yao@codesourcery.com>
7858
7859 * target.c (update_current_target): Change the default action
7860 of 'to_traceframe_info' from tcomplain to return_zero.
7861 * target.h (struct target_ops) <to_traceframe_info>: Add more
7862 comments.
7863
7864 2014-02-23 Yao Qi <yao@codesourcery.com>
7865
7866 * valops.c (read_value_memory): Rewrite it. Call
7867 target_xfer_partial in a loop.
7868 * exec.h (section_table_available_memory): Remove declaration.
7869 Move comments to ...
7870 * exec.c (section_table_available_memory): ... here. Make it
7871 static.
7872
7873 2014-02-23 Yao Qi <yao@codesourcery.com>
7874
7875 * exec.c (section_table_read_available_memory): New function.
7876 * exec.h (section_table_read_available_memory): Declare.
7877 * ctf.c (ctf_xfer_partial): Call
7878 section_table_read_available_memory.
7879 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7880
7881 2014-02-23 Yao Qi <yao@codesourcery.com>
7882
7883 * ctf.c (ctf_xfer_partial): Move code to ...
7884 * exec.c (exec_read_partial_read_only): ... it. New function.
7885 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7886 * tracefile.c: Include "exec.h".
7887 * exec.h (exec_read_partial_read_only): Declare.
7888
7889 2014-02-23 Yao Qi <yao@codesourcery.com>
7890
7891 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7892 (tfile_has_memory): Remove.
7893 (init_tfile_ops): Don't set fields to_has_all_memory and
7894 to_has_memory of tfile_ops.
7895 * tracefile.c (tracefile_has_all_memory): New function.
7896 (tracefile_has_memory): New function.
7897 (init_tracefile_ops): Initialize fields to_has_all_memory and
7898 to_has_memory of 'ops'.
7899
7900 2014-02-23 Yao Qi <yao@codesourcery.com>
7901
7902 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7903 (ctf_thread_alive, ctf_get_trace_status): Remove.
7904 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7905 init_tracefile_ops.
7906 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7907 (tfile_has_stack, tfile_has_registers): Remove.
7908 (tfile_thread_alive): Remove.
7909 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7910 init_tracefile_ops.
7911 * tracefile.c (tracefile_has_stack): New function.
7912 (tracefile_has_registers): New function.
7913 (tracefile_thread_alive): New function.
7914 (tracefile_get_trace_status): New function.
7915 (init_tracefile_ops): New function.
7916 * tracefile.h (init_tracefile_ops): Declare.
7917
7918 2014-02-23 Yao Qi <yao@codesourcery.com>
7919
7920 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7921 (O_LARGEFILE): Likewise.
7922 (tfile_ops): Likewise.
7923 (TRACE_HEADER_SIZE): Likewise.
7924 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7925 (cur_data_size): Likewise.
7926 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7927 (tfile_close, tfile_files_info): Likewise.
7928 (tfile_get_trace_status): Likewise.
7929 (tfile_get_tracepoint_status): Likewise.
7930 (tfile_get_traceframe_address): Likewise.
7931 (tfile_trace_find, match_blocktype): Likewise.
7932 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7933 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7934 (tfile_get_trace_state_variable_value): Likewise.
7935 (tfile_has_all_memory, tfile_has_memory): Likewise.
7936 (tfile_has_stack, tfile_has_registers): Likewise.
7937 (tfile_thread_alive, build_traceframe_info): Likewise.
7938 (tfile_traceframe_info, init_tfile_ops): Likewise.
7939 (_initialize_tracepoint): Don't call init_tfile_ops
7940 and add_target_with_completer.
7941 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7942 exec.h, completer.h and filenames.h.
7943 (_initialize_tracefile_tfile): New function.
7944
7945 2014-02-23 Yao Qi <yao@codesourcery.com>
7946
7947 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7948 tracefile-tfile.o.
7949 (HFILES_NO_SRCDIR): Add tracefile.h.
7950 * ctf.c: Include "tracefile.h".
7951 * tracefile.h: New file.
7952 * tracefile.c: New file
7953 * tracefile-tfile.c: New file.
7954 * tracepoint.c: Include "tracefile.h".
7955 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7956 (stop_reason_names): Add const.
7957 (trace_file_writer_xfree): Move it to tracefile.c.
7958 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7959 (trace_save_ctf): Likewise.
7960 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7961 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7962 (tfile_write_header, tfile_write_regblock_type): Likewise.
7963 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7964 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7965 (tfile_write_raw_data, tfile_end): Likewise.
7966 (tfile_trace_file_writer_new): Likewise.
7967 (free_uploaded_tp): Make it extern.
7968 (free_uploaded_tsv): Make it extern.
7969 (_initialize_tracepoint): Move code to register command 'tsave'
7970 to tracefile.c.
7971 * tracepoint.h (stop_reason_names): Declare.
7972 (struct trace_frame_write_ops): Move it to tracefile.h.
7973 (struct trace_file_write_ops): Likewise.
7974 (struct trace_file_writer): Likewise.
7975 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7976
7977 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7978
7979 PR gdb/16594
7980 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7981 process name.
7982 (get_cores_used_by_process): New parameter num_cores, use it.
7983 (linux_xfer_osdata_processes): Pass num_cores to it.
7984 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7985 process name.
7986
7987 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7988
7989 * target.c (memory_xfer_partial): Fix length arg in call to
7990 breakpoint_xfer_memory.
7991
7992 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7993
7994 PR tdep/16397
7995 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7996 number comes after the + or - signs. Adjust length of register
7997 name to be extracted.
7998
7999 2014-02-20 Tom Tromey <tromey@redhat.com>
8000
8001 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8002 (ada_varobj_ops): Mark "extern".
8003
8004 2014-02-20 Tom Tromey <tromey@redhat.com>
8005
8006 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8007
8008 2014-02-20 Doug Evans <xdje42@gmail.com>
8009
8010 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8011 All callers updated.
8012 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8013 All callers updated.
8014 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8015 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8016
8017 2014-02-20 lin zuojian <manjian2006@gmail.com>
8018 Joel Brobecker <brobecker@adacore.com>
8019 Doug Evans <xdje42@gmail.com>
8020
8021 PR symtab/16581
8022 * dwarf2read.c (struct die_info): New member in_process.
8023 (reset_die_in_process): New function.
8024 (process_die): Set it at the start, reset when returning.
8025 (inherit_abstract_dies): Only call process_die if origin_child_die
8026 not already being processed.
8027
8028 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8029
8030 * windows-nat.c (handle_unload_dll): Add function documentation.
8031 (do_initial_windows_stuff): Add comment explaining why we wait
8032 until after inferior initialization has finished before
8033 processing all DLLs.
8034
8035 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8036
8037 * windows-nat.c (get_module_name): Delete.
8038 (windows_get_exec_module_filename): New function, mostly
8039 inspired from get_module_name.
8040 (windows_pid_to_exec_file): Replace call to get_module_name
8041 by call to windows_get_exec_module_filename.
8042
8043 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8044
8045 * windows-nat.c (handle_load_dll): Rewrite this function's
8046 introductory comment. Remove code using get_module_name
8047 to get the DLL's name.
8048
8049 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8050
8051 * windows-nat.c (get_windows_debug_event): Ignore
8052 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8053 if windows_initialization_done == 0.
8054 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8055 Adjust implementation to always load all DLLs.
8056 (do_initial_windows_stuff): Replace call to
8057 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8058
8059 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8060
8061 * windows-nat.c (_initialize_windows_nat): Deprecate the
8062 "dll-symbols" command. Turn the "add-shared-symbol-files"
8063 and "assf" aliases into commands, and deprecate them as well.
8064 * NEWS: Add entry explaining that "dll-symbols" and its two
8065 aliases are now deprecated.
8066
8067 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8068
8069 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8070 new-line in debug string. Remove trailing spaces.
8071
8072 2014-02-19 Stan Shebs <stan@codesourcery.com>
8073
8074 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8075
8076 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8077
8078 * NEWS: Add entry for the new feature
8079 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8080 and class values.
8081
8082 2014-02-19 Stan Shebs <stan@codesourcery.com>
8083
8084 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8085
8086 2014-02-19 Pedro Alves <palves@redhat.com>
8087
8088 * common/ptid.h (struct ptid): Mention that process_stratum
8089 targets should prefer ptid.lwp.
8090
8091 2014-02-19 Pedro Alves <palves@redhat.com>
8092
8093 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8094 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8095 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8096 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8097 store remote thread ids rather than ptid.tid.
8098 (_initialize_remote): Adjust.
8099
8100 2014-02-19 Tom Tromey <tromey@redhat.com>
8101
8102 * target.c (target_get_unwinder): Rewrite.
8103 (target_get_tailcall_unwinder): Rewrite.
8104 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8105 (record_btrace_to_get_tailcall_unwinder): New function.
8106 (init_record_btrace_ops): Update.
8107 * target.h (struct target_ops) <to_get_unwinder,
8108 to_get_tailcall_unwinder>: Now function pointers. Use
8109 TARGET_DEFAULT_RETURN.
8110
8111 2014-02-19 Tom Tromey <tromey@redhat.com>
8112
8113 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8114 argument.
8115 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8116
8117 2014-02-19 Tom Tromey <tromey@redhat.com>
8118
8119 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8120 directly.
8121 * target-delegates.c: Rebuild.
8122 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8123 TARGET_DEFAULT_FUNC.
8124 * target.c (default_target_decr_pc_after_break): Rename from
8125 forward_target_decr_pc_after_break. Simplify.
8126 (target_decr_pc_after_break): Rely on delegation.
8127
8128 2014-02-19 Tom Tromey <tromey@redhat.com>
8129
8130 * target.c (update_current_target): Do not INHERIT to_doc or
8131 to_magic. Do not de_fault to_open or to_close.
8132
8133 2014-02-19 Tom Tromey <tromey@redhat.com>
8134
8135 * gcore.h (objfile_find_memory_regions): Declare.
8136 * gcore.c (objfile_find_memory_regions): No longer static. Add
8137 "self" argument.
8138 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8139 * exec.c: Include gcore.h.
8140 (exec_set_find_memory_regions): Remove.
8141 (exec_find_memory_regions): Remove.
8142 (exec_do_find_memory_regions): Remove.
8143 (init_exec_ops): Update.
8144 * defs.h (exec_set_find_memory_regions): Remove.
8145
8146 2014-02-19 Tom Tromey <tromey@redhat.com>
8147
8148 * target-delegates.c: Rebuild.
8149 * target.h (struct target_ops) <to_extra_thread_info,
8150 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8151 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8152 not 0, in TARGET_DEFAULT_RETURN.
8153
8154 2014-02-19 Tom Tromey <tromey@redhat.com>
8155
8156 * target.c (complete_target_initialization): Remove casts. Use
8157 return_zero_has_execution.
8158 (return_zero): Add "ignore" argument.
8159 (return_zero_has_execution): New function.
8160 (init_dummy_target): Remove casts. Use
8161 return_zero_has_execution.
8162
8163 2014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target.c (update_current_target): Update comments. Do not
8166 INHERIT to_stratum.
8167
8168 2014-02-19 Tom Tromey <tromey@redhat.com>
8169
8170 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8171 needed.
8172 * corelow.c (core_read_description): Delegate when needed.
8173 * remote.c (remote_read_description): Delegate when needed.
8174 * target-delegates.c: Rebuild.
8175 * target.c (target_read_description): Rewrite.
8176 * target.h (struct target_ops) <to_read_description>: Update
8177 comment. Use TARGET_DEFAULT_RETURN.
8178
8179 2014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target-delegates.c: Rebuild.
8182 * target.c (update_current_target): Don't inherit or default
8183 to_can_run.
8184 (find_default_run_target): Check against delegate_can_run.
8185 * target.h (struct target_ops) <to_can_run>: Use
8186 TARGET_DEFAULT_RETURN.
8187
8188 2014-02-19 Tom Tromey <tromey@redhat.com>
8189
8190 * target-delegates.c: Rebuild.
8191 * target.c (target_disconnect): Unconditionally delegate.
8192 * target.h (struct target_ops) <to_disconnect>: Use
8193 TARGET_DEFAULT_NORETURN.
8194
8195 2014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * record.c (record_stop): Unconditionally delegate.
8198 * target-delegates.c: Rebuild.
8199 * target.c (target_stop_recording): Unconditionally delegate.
8200 * target.h (struct target_ops) <to_stop_recording>: Use
8201 TARGET_DEFAULT_IGNORE.
8202
8203 2014-02-19 Tom Tromey <tromey@redhat.com>
8204
8205 * target-delegates.c: Rebuild.
8206 * target.c (target_enable_btrace): Unconditionally delegate.
8207 * target.h (struct target_ops) <to_enable_btrace>: Use
8208 TARGET_DEFAULT_NORETURN.
8209
8210 2014-02-19 Tom Tromey <tromey@redhat.com>
8211
8212 * target-delegates.c: Rebuild.
8213 * target.c (target_read_btrace): Unconditionally delegate.
8214 * target.h (struct target_ops) <to_read_btrace>: Use
8215 TARGET_DEFAULT_NORETURN.
8216
8217 2014-02-19 Tom Tromey <tromey@redhat.com>
8218
8219 * target-delegates.c: Rebuild.
8220 * target.c (target_teardown_btrace): Unconditionally delegate.
8221 * target.h (struct target_ops) <to_teardown_btrace>: Use
8222 TARGET_DEFAULT_NORETURN.
8223
8224 2014-02-19 Tom Tromey <tromey@redhat.com>
8225
8226 * target-delegates.c: Rebuild.
8227 * target.c (target_disable_btrace): Unconditionally delegate.
8228 * target.h (struct target_ops) <to_disable_btrace>: Use
8229 TARGET_DEFAULT_NORETURN.
8230
8231 2014-02-19 Tom Tromey <tromey@redhat.com>
8232
8233 * target-delegates.c: Rebuild.
8234 * target.c (default_search_memory): New function.
8235 (simple_search_memory): Update comment.
8236 (target_search_memory): Unconditionally delegate.
8237 * target.h (struct target_ops) <to_search_memory>: Use
8238 TARGET_DEFAULT_FUNC.
8239
8240 2014-02-19 Tom Tromey <tromey@redhat.com>
8241
8242 * auxv.c (default_auxv_parse): No longer static.
8243 (target_auxv_parse): Unconditionally delegate.
8244 * auxv.h (default_auxv_parse): Declare.
8245 * target-delegates.c: Rebuild.
8246 * target.c: Include auxv.h.
8247 * target.h (struct target_ops) <to_auxv_parse>: Use
8248 TARGET_DEFAULT_FUNC.
8249
8250 2014-02-19 Tom Tromey <tromey@redhat.com>
8251
8252 * target-delegates.c: Rebuild.
8253 * target.c (target_memory_map): Unconditionally delegate.
8254 * target.h (struct target_ops) <to_memory_map>: Use
8255 TARGET_DEFAULT_RETURN.
8256
8257 2014-02-19 Tom Tromey <tromey@redhat.com>
8258
8259 * target-delegates.c: Rebuild.
8260 * target.c (target_thread_alive): Unconditionally delegate.
8261 * target.h (struct target_ops) <to_thread_alive>: Use
8262 TARGET_DEFAULT_RETURN.
8263
8264 2014-02-19 Tom Tromey <tromey@redhat.com>
8265
8266 * target-delegates.c: Rebuild.
8267 * target.c (target_save_record): Unconditionally delegate.
8268 * target.h (struct target_ops) <to_save_record>: Use
8269 TARGET_DEFAULT_NORETURN.
8270
8271 2014-02-19 Tom Tromey <tromey@redhat.com>
8272
8273 * target-delegates.c: Rebuild.
8274 * target.c (target_delete_record): Unconditionally delegate.
8275 * target.h (struct target_ops) <to_delete_record>: Use
8276 TARGET_DEFAULT_NORETURN.
8277
8278 2014-02-19 Tom Tromey <tromey@redhat.com>
8279
8280 * target-delegates.c: Rebuild.
8281 * target.c (target_record_is_replaying): Unconditionally
8282 delegate.
8283 * target.h (struct target_ops) <to_record_is_replaying>: Use
8284 TARGET_DEFAULT_RETURN.
8285
8286 2014-02-19 Tom Tromey <tromey@redhat.com>
8287
8288 * target-delegates.c: Rebuild.
8289 * target.c (target_goto_record_begin): Unconditionally delegate.
8290 * target.h (struct target_ops) <to_goto_record_begin>: Use
8291 TARGET_DEFAULT_NORETURN.
8292
8293 2014-02-19 Tom Tromey <tromey@redhat.com>
8294
8295 * target-delegates.c: Rebuild.
8296 * target.c (target_goto_record_end): Unconditionally delegate.
8297 * target.h (struct target_ops) <to_goto_record_end>: Use
8298 TARGET_DEFAULT_NORETURN.
8299
8300 2014-02-19 Tom Tromey <tromey@redhat.com>
8301
8302 * target-delegates.c: Rebuild.
8303 * target.c (target_goto_record): Unconditionally delegate.
8304 * target.h (struct target_ops) <to_goto_record>: Use
8305 TARGET_DEFAULT_NORETURN.
8306
8307 2014-02-19 Tom Tromey <tromey@redhat.com>
8308
8309 * target-delegates.c: Rebuild.
8310 * target.c (target_insn_history): Unconditionally delegate.
8311 * target.h (struct target_ops) <to_insn_history>: Use
8312 TARGET_DEFAULT_NORETURN.
8313
8314 2014-02-19 Tom Tromey <tromey@redhat.com>
8315
8316 * target-delegates.c: Rebuild.
8317 * target.c (target_insn_history_from): Unconditionally delegate.
8318 * target.h (struct target_ops) <to_insn_history_from>: Use
8319 TARGET_DEFAULT_NORETURN.
8320
8321 2014-02-19 Tom Tromey <tromey@redhat.com>
8322
8323 * target-delegates.c: Rebuild.
8324 * target.c (target_insn_history_range): Unconditionally delegate.
8325 * target.h (struct target_ops) <to_insn_history_range>: Use
8326 TARGET_DEFAULT_NORETURN.
8327
8328 2014-02-19 Tom Tromey <tromey@redhat.com>
8329
8330 * target-delegates.c: Rebuild.
8331 * target.c (target_call_history): Unconditionally delegate.
8332 * target.h (struct target_ops) <to_call_history>: Use
8333 TARGET_DEFAULT_NORETURN.
8334
8335 2014-02-19 Tom Tromey <tromey@redhat.com>
8336
8337 * target-delegates.c: Rebuild.
8338 * target.c (target_call_history_from): Unconditionally delegate.
8339 * target.h (struct target_ops) <to_call_history_from>: Use
8340 TARGET_DEFAULT_NORETURN.
8341
8342 2014-02-19 Tom Tromey <tromey@redhat.com>
8343
8344 * target-delegates.c: Rebuild.
8345 * target.c (target_call_history_range): Unconditionally delegate.
8346 * target.h (struct target_ops) <to_call_history_range>: Use
8347 TARGET_DEFAULT_NORETURN.
8348
8349 2014-02-19 Tom Tromey <tromey@redhat.com>
8350
8351 * target-delegates.c: Rebuild.
8352 * target.c (target_verify_memory): Unconditionally delegate.
8353 * target.h (struct target_ops) <to_verify_memory>: Use
8354 TARGET_DEFAULT_NORETURN.
8355
8356 2014-02-19 Tom Tromey <tromey@redhat.com>
8357
8358 * target-delegates.c: Rebuild.
8359 * target.c (target_core_of_thread): Unconditionally delegate.
8360 * target.h (struct target_ops) <to_core_of_thread>: Use
8361 TARGET_DEFAULT_RETURN.
8362
8363 2014-02-19 Tom Tromey <tromey@redhat.com>
8364
8365 * target-delegates.c: Rebuild.
8366 * target.c (target_flash_done): Unconditionally delegate.
8367 * target.h (struct target_ops) <to_flash_done>: Use
8368 TARGET_DEFAULT_NORETURN.
8369
8370 2014-02-19 Tom Tromey <tromey@redhat.com>
8371
8372 * target-delegates.c: Rebuild.
8373 * target.c (target_flash_erase): Unconditionally delegate.
8374 * target.h (struct target_ops) <to_flash_erase>: Use
8375 TARGET_DEFAULT_NORETURN.
8376
8377 2014-02-19 Tom Tromey <tromey@redhat.com>
8378
8379 * target-delegates.c: Rebuild.
8380 * target.c (target_get_section_table): Unconditionally delegate.
8381 * target.h (struct target_ops) <to_get_section_table>: Use
8382 TARGET_DEFAULT_RETURN.
8383
8384 2014-02-19 Tom Tromey <tromey@redhat.com>
8385
8386 * target-delegates.c: Rebuild.
8387 * target.c (target_pid_to_str): Unconditionally delegate.
8388 (init_dummy_target): Don't initialize to_pid_to_str.
8389 (default_pid_to_str): Rename from dummy_pid_to_str.
8390 * target.h (struct target_ops) <to_pid_to_str>: Use
8391 TARGET_DEFAULT_FUNC.
8392
8393 2014-02-19 Tom Tromey <tromey@redhat.com>
8394
8395 * target-delegates.c: Rebuild.
8396 * target.c (target_find_new_threads): Unconditionally delegate.
8397 * target.h (struct target_ops) <to_find_new_threads>: Use
8398 TARGET_DEFAULT_RETURN.
8399
8400 2014-02-19 Tom Tromey <tromey@redhat.com>
8401
8402 * target-delegates.c: Rebuild.
8403 * target.c (target_program_signals): Unconditionally delegate.
8404 * target.h (struct target_ops) <to_program_signals>: Use
8405 TARGET_DEFAULT_IGNORE.
8406
8407 2014-02-19 Tom Tromey <tromey@redhat.com>
8408
8409 * target-delegates.c: Rebuild.
8410 * target.c (target_pass_signals): Unconditionally delegate.
8411 * target.h (struct target_ops) <to_pass_signals>: Use
8412 TARGET_DEFAULT_IGNORE.
8413
8414 2014-02-19 Tom Tromey <tromey@redhat.com>
8415
8416 * target-delegates.c: Rebuild.
8417 * target.c (default_mourn_inferior): New function.
8418 (target_mourn_inferior): Unconditionally delegate.
8419 * target.h (struct target_ops) <to_mourn_inferior>: Use
8420 TARGET_DEFAULT_FUNC.
8421
8422 2014-02-19 Tom Tromey <tromey@redhat.com>
8423
8424 * target-delegates.c: Rebuild.
8425 * target.c (default_follow_fork): New function.
8426 (target_follow_fork): Unconditionally delegate.
8427 * target.h (struct target_ops) <to_follow_fork>: Use
8428 TARGET_DEFAULT_FUNC.
8429
8430 2014-02-19 Tom Tromey <tromey@redhat.com>
8431
8432 * target-delegates.c: Rebuild.
8433 * target.c (target_kill): Unconditionally delegate.
8434 * target.h (struct target_ops) <to_kill>: Use
8435 TARGET_DEFAULT_NORETURN.
8436
8437 2014-02-19 Tom Tromey <tromey@redhat.com>
8438
8439 * target-delegates.c: Rebuild.
8440 * target.c (target_masked_watch_num_registers): Unconditionally
8441 delegate.
8442 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8443 Use TARGET_DEFAULT_RETURN.
8444
8445 2014-02-19 Tom Tromey <tromey@redhat.com>
8446
8447 * target-delegates.c: Rebuild.
8448 * target.c (target_remove_mask_watchpoint): Unconditionally
8449 delegate.
8450 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8451 TARGET_DEFAULT_RETURN.
8452
8453 2014-02-19 Tom Tromey <tromey@redhat.com>
8454
8455 * target-delegates.c: Rebuild.
8456 * target.c (target_insert_mask_watchpoint): Unconditionally
8457 delegate.
8458 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8459 TARGET_DEFAULT_RETURN.
8460
8461 2014-02-19 Tom Tromey <tromey@redhat.com>
8462
8463 * target-delegates.c: Rebuild.
8464 * target.c (target_ranged_break_num_registers): Unconditionally
8465 delegate.
8466 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8467 Use TARGET_DEFAULT_RETURN.
8468
8469 2014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (target_fetch_registers): Unconditionally delegate.
8473 * target.h (struct target_ops) <to_fetch_registers>: Use
8474 TARGET_DEFAULT_NORETURN.
8475
8476 2014-02-19 Tom Tromey <tromey@redhat.com>
8477
8478 * target-delegates.c: Rebuild.
8479 * target.c (update_current_target): Don't inherit or default
8480 to_stop.
8481 * target.h (struct target_ops) <to_stop>: Use
8482 TARGET_DEFAULT_IGNORE.
8483
8484 2014-02-19 Tom Tromey <tromey@redhat.com>
8485
8486 * target-delegates.c: Rebuild.
8487 * target.c (update_current_target): Don't inherit or default
8488 to_can_run_breakpoint_commands.
8489 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8490 Use TARGET_DEFAULT_RETURN.
8491
8492 2014-02-19 Tom Tromey <tromey@redhat.com>
8493
8494 * target-delegates.c: Rebuild.
8495 * target.c (update_current_target): Don't inherit or default
8496 to_supports_evaluation_of_breakpoint_conditions.
8497 * target.h (struct target_ops)
8498 <to_supports_evaluation_of_breakpoint_conditions>: Use
8499 TARGET_DEFAULT_RETURN.
8500
8501 2014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * target-delegates.c: Rebuild.
8504 * target.c (update_current_target): Don't inherit or default
8505 to_augmented_libraries_svr4_read.
8506 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8507 Use TARGET_DEFAULT_RETURN.
8508
8509 2014-02-19 Tom Tromey <tromey@redhat.com>
8510
8511 * target-delegates.c: Rebuild.
8512 * target.c (update_current_target): Don't inherit or default
8513 to_can_use_agent.
8514 * target.h (struct target_ops) <to_can_use_agent>: Use
8515 TARGET_DEFAULT_RETURN.
8516
8517 2014-02-19 Tom Tromey <tromey@redhat.com>
8518
8519 * target-delegates.c: Rebuild.
8520 * target.c (update_current_target): Don't inherit or default
8521 to_use_agent.
8522 * target.h (struct target_ops) <to_use_agent>: Use
8523 TARGET_DEFAULT_NORETURN.
8524
8525 2014-02-19 Tom Tromey <tromey@redhat.com>
8526
8527 * target-delegates.c: Rebuild.
8528 * target.c (update_current_target): Don't inherit or default
8529 to_traceframe_info.
8530 (return_null): Remove.
8531 * target.h (struct target_ops) <to_traceframe_info>: Use
8532 TARGET_DEFAULT_RETURN.
8533
8534 2014-02-19 Tom Tromey <tromey@redhat.com>
8535
8536 * target-delegates.c: Rebuild.
8537 * target.c (update_current_target): Don't inherit or default
8538 to_static_tracepoint_markers_by_strid.
8539 * target.h (struct target_ops)
8540 <to_static_tracepoint_markers_by_strid>: Use
8541 TARGET_DEFAULT_NORETURN.
8542
8543 2014-02-19 Tom Tromey <tromey@redhat.com>
8544
8545 * target-delegates.c: Rebuild.
8546 * target.c (update_current_target): Don't inherit or default
8547 to_static_tracepoint_marker_at.
8548 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8549 Use TARGET_DEFAULT_RETURN.
8550
8551 2014-02-19 Tom Tromey <tromey@redhat.com>
8552
8553 * target-delegates.c: Rebuild.
8554 * target.c (update_current_target): Don't inherit or default
8555 to_set_permissions.
8556 * target.h (struct target_ops) <to_set_permissions>: Use
8557 TARGET_DEFAULT_IGNORE.
8558
8559 2014-02-19 Tom Tromey <tromey@redhat.com>
8560
8561 * target-delegates.c: Rebuild.
8562 * target.c (update_current_target): Don't inherit or default
8563 to_get_tib_address.
8564 * target.h (struct target_ops) <to_get_tib_address>: Use
8565 TARGET_DEFAULT_NORETURN.
8566
8567 2014-02-19 Tom Tromey <tromey@redhat.com>
8568
8569 * target-delegates.c: Rebuild.
8570 * target.c (update_current_target): Don't inherit or default
8571 to_set_trace_notes.
8572 * target.h (struct target_ops) <to_set_trace_notes>: Use
8573 TARGET_DEFAULT_RETURN.
8574
8575 2014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target-delegates.c: Rebuild.
8578 * target.c (update_current_target): Don't initialize
8579 to_set_trace_buffer_size.
8580 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8581 TARGET_DEFAULT_IGNORE.
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_circular_trace_buffer.
8588 * target.h (struct target_ops) <to_set_circular_trace_buffer>: 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_set_disconnected_tracing.
8596 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8597 TARGET_DEFAULT_IGNORE.
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_get_min_fast_tracepoint_insn_len.
8604 (return_minus_one): Remove.
8605 * target.h (struct target_ops)
8606 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8607
8608 2014-02-19 Tom Tromey <tromey@redhat.com>
8609
8610 * target-delegates.c: Rebuild.
8611 * target.c (update_current_target): Don't inherit or default
8612 to_get_raw_trace_data.
8613 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8614 TARGET_DEFAULT_NORETURN.
8615
8616 2014-02-19 Tom Tromey <tromey@redhat.com>
8617
8618 * target-delegates.c: Rebuild.
8619 * target.c (update_current_target): Don't inherit or default
8620 to_upload_trace_state_variables.
8621 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8622 Use TARGET_DEFAULT_RETURN.
8623
8624 2014-02-19 Tom Tromey <tromey@redhat.com>
8625
8626 * target-delegates.c: Rebuild.
8627 * target.c (update_current_target): Don't inherit or default
8628 to_upload_tracepoints.
8629 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8630 TARGET_DEFAULT_RETURN.
8631
8632 2014-02-19 Tom Tromey <tromey@redhat.com>
8633
8634 * target-delegates.c: Rebuild.
8635 * target.c (update_current_target): Don't inherit or default
8636 to_save_trace_data.
8637 * target.h (struct target_ops) <to_save_trace_data>: Use
8638 TARGET_DEFAULT_NORETURN.
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_trace_state_variable_value.
8645 * target.h (struct target_ops)
8646 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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_trace_find.
8653 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8654
8655 2014-02-19 Tom Tromey <tromey@redhat.com>
8656
8657 * target-delegates.c: Rebuild.
8658 * target.c (update_current_target): Don't inherit or default
8659 to_trace_stop.
8660 * target.h (struct target_ops) <to_trace_stop>: Use
8661 TARGET_DEFAULT_NORETURN.
8662
8663 2014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * target-delegates.c: Rebuild.
8666 * target.c (update_current_target): Don't inherit or default
8667 to_get_tracepoint_status.
8668 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8669 TARGET_DEFAULT_NORETURN.
8670
8671 2014-02-19 Tom Tromey <tromey@redhat.com>
8672
8673 * target-delegates.c: Rebuild.
8674 * target.c (update_current_target): Don't inherit or default
8675 to_get_trace_status.
8676 * target.h (struct target_ops) <to_get_trace_status>: Use
8677 TARGET_DEFAULT_RETURN.
8678
8679 2014-02-19 Tom Tromey <tromey@redhat.com>
8680
8681 * target-delegates.c: Rebuild.
8682 * target.c (update_current_target): Don't inherit or default
8683 to_trace_start.
8684 * target.h (struct target_ops) <to_trace_start>: Use
8685 TARGET_DEFAULT_NORETURN.
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_set_readonly_regions.
8692 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8693 Use 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_disable_tracepoint.
8700 * target.h (struct target_ops) <to_disable_tracepoint>: 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_enable_tracepoint.
8708 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8709 TARGET_DEFAULT_NORETURN.
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_download_trace_state_variable.
8716 * target.h (struct target_ops) <to_download_trace_state_variable>:
8717 Use 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_can_download_tracepoint.
8724 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8725 TARGET_DEFAULT_RETURN.
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_download_tracepoint.
8732 * target.h (struct target_ops) <to_download_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_trace_init.
8740 * target.h (struct target_ops) <to_trace_init>: Use
8741 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
8748 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8749 TARGET_DEFAULT_RETURN.
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_supports_enable_disable_tracepoint.
8756 * target.h (struct target_ops)
8757 <to_supports_enable_disable_tracepoint>: Use
8758 TARGET_DEFAULT_RETURN.
8759
8760 2014-02-19 Tom Tromey <tromey@redhat.com>
8761
8762 * target-delegates.c: Rebuild.
8763 * target.c (update_current_target): Don't inherit or default
8764 to_supports_multi_process.
8765 * target.h (struct target_ops) <to_supports_multi_process>: Use
8766 TARGET_DEFAULT_RETURN.
8767
8768 2014-02-19 Tom Tromey <tromey@redhat.com>
8769
8770 * target-delegates.c: Rebuild.
8771 * target.c (update_current_target): Don't inherit or default
8772 to_get_ada_task_ptid.
8773 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8774 TARGET_DEFAULT_FUNC.
8775
8776 2014-02-19 Tom Tromey <tromey@redhat.com>
8777
8778 * target-delegates.c: Rebuild.
8779 * target.c (update_current_target): Don't inherit or default
8780 to_thread_architecture.
8781 * target.h (struct target_ops) <to_thread_architecture>: Use
8782 TARGET_DEFAULT_FUNC.
8783
8784 2014-02-19 Tom Tromey <tromey@redhat.com>
8785
8786 * target-delegates.c: Rebuild.
8787 * target.c (update_current_target): Don't inherit or default
8788 to_execution_direction.
8789 * target.h (struct target_ops) <to_execution_direction>: Use
8790 TARGET_DEFAULT_FUNC.
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_can_execute_reverse.
8797 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8798 TARGET_DEFAULT_RETURN.
8799 (target_can_execute_reverse): Unconditionally delegate.
8800
8801 2014-02-19 Tom Tromey <tromey@redhat.com>
8802
8803 * target-delegates.c: Rebuild.
8804 * target.c (update_current_target): Don't inherit or default
8805 to_goto_bookmark.
8806 (dummy_goto_bookmark): Remove.
8807 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8808 * target.h (struct target_ops) <to_goto_bookmark>: Use
8809 TARGET_DEFAULT_NORETURN.
8810
8811 2014-02-19 Tom Tromey <tromey@redhat.com>
8812
8813 * target-delegates.c: Rebuild.
8814 * target.c (update_current_target): Don't inherit or default
8815 to_get_bookmark.
8816 (dummy_get_bookmark): Remove.
8817 (init_dummy_target): Don't inherit or default to_get_bookmark.
8818 * target.h (struct target_ops) <to_get_bookmark>: Use
8819 TARGET_DEFAULT_NORETURN
8820
8821 2014-02-19 Tom Tromey <tromey@redhat.com>
8822
8823 * target-delegates.c: Rebuild.
8824 * target.c (update_current_target): Don't inherit or default
8825 to_make_corefile_notes.
8826 (init_dummy_target): Don't initialize to_make_corefile_notes.
8827 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8828 TARGET_DEFAULT_FUNC.
8829
8830 2014-02-19 Tom Tromey <tromey@redhat.com>
8831
8832 * target-delegates.c: Rebuild.
8833 * target.c (update_current_target): Don't inherit or default
8834 to_find_memory_regions.
8835 (init_dummy_target): Don't initialize to_find_memory_regions.
8836 * target.h (struct target_ops) <to_find_memory_regions>: Use
8837 TARGET_DEFAULT_FUNC.
8838
8839 2014-02-19 Tom Tromey <tromey@redhat.com>
8840
8841 * target-delegates.c: Rebuild.
8842 * target.c (update_current_target): Don't inherit or default
8843 to_log_command.
8844 * target.h (struct target_ops) <to_log_command>: Use
8845 TARGET_DEFAULT_IGNORE.
8846 (target_log_command): Unconditionally delegate.
8847
8848 2014-02-19 Tom Tromey <tromey@redhat.com>
8849
8850 * target-delegates.c: Rebuild.
8851 * target.c (update_current_target): Don't inherit or default
8852 to_pid_to_exec_file.
8853 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8854 TARGET_DEFAULT_RETURN.
8855
8856 2014-02-19 Tom Tromey <tromey@redhat.com>
8857
8858 * target-delegates.c: Rebuild.
8859 * target.c (update_current_target): Don't inherit or default
8860 to_thread_name.
8861 (target_thread_name): Unconditionally delegate.
8862 * target.h (struct target_ops) <to_thread_name>: Use
8863 TARGET_DEFAULT_RETURN.
8864
8865 2014-02-19 Tom Tromey <tromey@redhat.com>
8866
8867 * target-delegates.c: Rebuild.
8868 * target.c (update_current_target): Don't inherit or default
8869 to_extra_thread_info.
8870 * target.h (struct target_ops) <to_extra_thread_info>: Use
8871 TARGET_DEFAULT_RETURN.
8872
8873 2014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target-delegates.c: Rebuild.
8876 * target.c (update_current_target): Don't inherit or default
8877 to_has_exited.
8878 * target.h (struct target_ops) <to_has_exited>: Use
8879 TARGET_DEFAULT_RETURN..
8880
8881 2014-02-19 Tom Tromey <tromey@redhat.com>
8882
8883 * target-delegates.c: Rebuild.
8884 * target.c (update_current_target): Don't inherit or default
8885 to_set_syscall_catchpoint.
8886 (return_one): Remove.
8887 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8888 TARGET_DEFAULT_RETURN.
8889
8890 2014-02-19 Tom Tromey <tromey@redhat.com>
8891
8892 * target-delegates.c: Rebuild.
8893 * target.c (update_current_target): Don't inherit or default
8894 to_insert_exec_catchpoint.
8895 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8896 TARGET_DEFAULT_RETURN.
8897
8898 2014-01-08 Tom Tromey <tromey@redhat.com>
8899
8900 * target-delegates.c: Rebuild.
8901 * target.c (update_current_target): Don't inherit or default
8902 to_insert_exec_catchpoint.
8903 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8904 TARGET_DEFAULT_RETURN.
8905
8906 2014-02-19 Tom Tromey <tromey@redhat.com>
8907
8908 * target-delegates.c: Rebuild.
8909 * target.c (update_current_target): Don't inherit or default
8910 to_remove_vfork_catchpoint.
8911 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8912 TARGET_DEFAULT_RETURN.
8913
8914 2014-02-19 Tom Tromey <tromey@redhat.com>
8915
8916 * target-delegates.c: Rebuild.
8917 * target.c (update_current_target): Don't inherit or default
8918 to_insert_vfork_catchpoint.
8919 * target.h (struct target_ops) <to_insert_vfork_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_remove_fork_catchpoint.
8927 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8928 TARGET_DEFAULT_RETURN.
8929
8930 2014-02-19 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_fork_catchpoint.
8935 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
8943 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8944 TARGET_DEFAULT_IGNORE.
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_load.
8951 * target.h (struct target_ops) <to_load>: Use
8952 TARGET_DEFAULT_NORETURN.
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_terminal_info.
8959 * target.h (struct target_ops) <to_terminal_info>: Use
8960 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
8967 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8968 TARGET_DEFAULT_IGNORE.
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_terminal_ours.
8975 * target.h (struct target_ops) <to_terminal_ours>: 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_terminal_ours_for_output.
8983 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8984 TARGET_DEFAULT_IGNORE.
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_inferior.
8991 * target.h (struct target_ops) <to_terminal_inferior>: Use
8992 TARGET_DEFAULT_IGNORE.
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_init.
8999 * target.h (struct target_ops) <to_terminal_init>: 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_can_accel_watchpoint_condition.
9007 * target.h (struct target_ops)
9008 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9009
9010 2014-02-19 Tom Tromey <tromey@redhat.com>
9011
9012 * target-delegates.c: Rebuild.
9013 * target.c (update_current_target): Don't inherit or default
9014 to_region_ok_for_hw_watchpoint.
9015 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9016 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
9023 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9024 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
9031 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9032 TARGET_DEFAULT_NORETURN.
9033
9034 2014-02-19 Tom Tromey <tromey@redhat.com>
9035
9036 * target-delegates.c: Rebuild.
9037 * target.c (update_current_target): Don't inherit or default
9038 to_insert_watchpoint.
9039 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9040 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_remove_hw_breakpoint.
9047 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9048 TARGET_DEFAULT_RETURN.
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_insert_hw_breakpoint.
9055 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9056 TARGET_DEFAULT_RETURN.
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_can_use_hw_breakpoint.
9063 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9064 TARGET_DEFAULT_RETURN.
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_files_info.
9071 * target.h (struct target_ops) <to_files_info>: Use
9072 TARGET_DEFAULT_IGNORE.
9073
9074 2014-02-19 Tom Tromey <tromey@redhat.com>
9075
9076 * target-delegates.c: Rebuild.
9077 * target.c (update_current_target): Don't inherit or default
9078 to_store.
9079 * target.h (struct target_ops) <to_store>: Use
9080 TARGET_DEFAULT_NORETURN.
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_post_attach.
9087 * target.h (struct target_ops) <to_post_attach>: Use
9088 TARGET_DEFAULT_IGNORE.
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_rcmd.
9095 (default_rcmd): New function.
9096 (do_monitor_command): Unconditionally delegate.
9097 * target.h (struct target_ops) <to_rmcd>: Use
9098 TARGET_DEFAULT_FUNC.
9099
9100 2014-02-19 Tom Tromey <tromey@redhat.com>
9101
9102 * target-delegates.c: Rebuild.
9103 * target.c (init_dummy_target): Don't initialize to_attach.
9104 (target_attach): Unconditionally delegate.
9105 * target.h (struct target_ops) <to_attach>: Use
9106 TARGET_DEFAULT_FUNC.
9107
9108 2014-02-19 Tom Tromey <tromey@redhat.com>
9109
9110 * target-delegates.c: Rebuild.
9111 * target.c (target_detach): Unconditionally delegate.
9112 (init_dummy_target): Don't initialize to_detach.
9113 * target.h (struct target_ops) <to_detach>: Use
9114 TARGET_DEFAULT_IGNORE.
9115
9116 2014-02-19 Tom Tromey <tromey@redhat.com>
9117
9118 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9119 Add argument.
9120 (target_augmented_libraries_svr4_read): Add argument.
9121 * target.c (update_current_target): Update.
9122 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9123 argument.
9124
9125 2014-02-19 Tom Tromey <tromey@redhat.com>
9126
9127 * target.h (struct target_ops) <to_call_history_range>: Add
9128 argument.
9129 * target.c (target_call_history_range): Add argument.
9130 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9131 argument.
9132 (record_btrace_call_history_from): Update.
9133
9134 2014-02-19 Tom Tromey <tromey@redhat.com>
9135
9136 * target.h (struct target_ops) <to_call_history_from>: Add
9137 argument.
9138 * target.c (target_call_history_from): Add argument.
9139 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9140 argument.
9141
9142 2014-02-19 Tom Tromey <tromey@redhat.com>
9143
9144 * target.h (struct target_ops) <to_call_history>: Add argument.
9145 * target.c (target_call_history): Add argument.
9146 * record-btrace.c (record_btrace_call_history): Add 'self'
9147 argument.
9148
9149 2014-02-19 Tom Tromey <tromey@redhat.com>
9150
9151 * target.h (struct target_ops) <to_insn_history_range>: Add
9152 argument.
9153 * target.c (target_insn_history_range): Add argument.
9154 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9155 argument.
9156 (record_btrace_insn_history_from): Update.
9157
9158 2014-02-19 Tom Tromey <tromey@redhat.com>
9159
9160 * target.h (struct target_ops) <to_insn_history_from>: Add
9161 argument.
9162 * target.c (target_insn_history_from): Add argument.
9163 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9164 argument.
9165
9166 2014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target.h (struct target_ops) <to_insn_history>: Add argument.
9169 * target.c (target_insn_history): Add argument.
9170 * record-btrace.c (record_btrace_insn_history): Add 'self'
9171 argument.
9172
9173 2014-02-19 Tom Tromey <tromey@redhat.com>
9174
9175 * target.h (struct target_ops) <to_goto_record>: Add argument.
9176 * target.c (target_goto_record): Add argument.
9177 * record-full.c (record_full_goto): Add 'self' argument.
9178 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9179
9180 2014-02-19 Tom Tromey <tromey@redhat.com>
9181
9182 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9183 * target.c (target_goto_record_end): Add argument.
9184 * record-full.c (record_full_goto_end): Add 'self' argument.
9185 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9186
9187 2014-02-19 Tom Tromey <tromey@redhat.com>
9188
9189 * target.h (struct target_ops) <to_goto_record_begin>: Add
9190 argument.
9191 * target.c (target_goto_record_begin): Add argument.
9192 * record-full.c (record_full_goto_begin): Add 'self' argument.
9193 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9194 argument.
9195
9196 2014-02-19 Tom Tromey <tromey@redhat.com>
9197
9198 * target.h (struct target_ops) <to_record_is_replaying>: Add
9199 argument.
9200 * target.c (target_record_is_replaying): Add argument.
9201 * record-full.c (record_full_is_replaying): Add 'self' argument.
9202 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9203 argument.
9204 (record_btrace_xfer_partial, record_btrace_store_registers)
9205 (record_btrace_prepare_to_store, record_btrace_resume)
9206 (record_btrace_wait, record_btrace_decr_pc_after_break)
9207 (record_btrace_find_new_threads, record_btrace_thread_alive):
9208 Update.
9209
9210 2014-02-19 Tom Tromey <tromey@redhat.com>
9211
9212 * target.h (struct target_ops) <to_delete_record>: Add argument.
9213 * target.c (target_delete_record): Add argument.
9214 * record-full.c (record_full_delete): Add 'self' argument.
9215
9216 2014-02-19 Tom Tromey <tromey@redhat.com>
9217
9218 * target.h (struct target_ops) <to_save_record>: Add argument.
9219 * target.c (target_save_record): Add argument.
9220 * record-full.c (record_full_save): Add 'self' argument.
9221 (record_full_save): Add 'self' argument.
9222
9223 2014-02-19 Tom Tromey <tromey@redhat.com>
9224
9225 * target.h (struct target_ops) <to_info_record>: Add argument.
9226 * target.c (target_info_record): Add argument.
9227 * record.c (info_record_command): Add argument.
9228 * record-full.c (record_full_info): Add 'self' argument.
9229 * record-btrace.c (record_btrace_info): Add 'self' argument.
9230
9231 2014-02-19 Tom Tromey <tromey@redhat.com>
9232
9233 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9234 * target.c (target_stop_recording): Add argument.
9235 * record.c (record_stop): Add argument.
9236 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9237 argument.
9238
9239 2014-02-19 Tom Tromey <tromey@redhat.com>
9240
9241 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9242 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9243 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9244 argument.
9245 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9246 (_initialize_amd64_linux_nat): Use it.
9247 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9248 (_initialize_i386_linux_nat): Use it.
9249
9250 2014-02-19 Tom Tromey <tromey@redhat.com>
9251
9252 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9253 * target.c (target_teardown_btrace): Add argument.
9254 * remote.c (remote_teardown_btrace): Add 'self' argument.
9255 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9256 argument.
9257 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9258 argument.
9259
9260 2014-02-19 Tom Tromey <tromey@redhat.com>
9261
9262 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9263 * target.c (target_disable_btrace): Add argument.
9264 * remote.c (remote_disable_btrace): Add 'self' argument.
9265 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9266 argument.
9267 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9268 argument.
9269
9270 2014-02-19 Tom Tromey <tromey@redhat.com>
9271
9272 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9273 * target.c (target_enable_btrace): Add argument.
9274 * remote.c (remote_enable_btrace): Add 'self' argument.
9275 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9276 argument.
9277 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9278 argument.
9279
9280 2014-02-19 Tom Tromey <tromey@redhat.com>
9281
9282 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9283 (target_can_use_agent): Add argument.
9284 * target.c (update_current_target): Update.
9285 * remote.c (remote_can_use_agent): Add 'self' argument.
9286 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9287
9288 2014-02-19 Tom Tromey <tromey@redhat.com>
9289
9290 * target.h (struct target_ops) <to_use_agent>: Add argument.
9291 (target_use_agent): Add argument.
9292 * target.c (update_current_target): Update.
9293 * remote.c (remote_use_agent): Add 'self' argument.
9294 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9295
9296 2014-02-19 Tom Tromey <tromey@redhat.com>
9297
9298 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9299 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9300 (target_traceframe_info): Add argument.
9301 * target.c (update_current_target): Update.
9302 * remote.c (remote_traceframe_info): Add 'self' argument.
9303 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9304
9305 2014-02-19 Tom Tromey <tromey@redhat.com>
9306
9307 * target.h (target_static_tracepoint_markers_by_strid): Add
9308 argument.
9309 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9310 'self' argument.
9311 * target.c (update_current_target): Update.
9312 * remote.c (struct target_ops)
9313 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9314 * linux-nat.c (struct target_ops)
9315 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9316
9317 2014-02-19 Tom Tromey <tromey@redhat.com>
9318
9319 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9320 Add argument.
9321 (target_static_tracepoint_marker_at): Add argument.
9322 * target.c (update_current_target): Update.
9323 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9324 argument.
9325
9326 2014-02-19 Tom Tromey <tromey@redhat.com>
9327
9328 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9329 (target_set_permissions): Add argument.
9330 * target.c (update_current_target): Update.
9331 * remote.c (remote_set_permissions): Add 'self' argument.
9332 (remote_start_remote): Update.
9333
9334 2014-02-19 Tom Tromey <tromey@redhat.com>
9335
9336 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9337 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9338 (target_get_tib_address): Add argument.
9339 * target.c (update_current_target): Update.
9340 * remote.c (remote_get_tib_address): Add 'self' argument.
9341
9342 2014-02-19 Tom Tromey <tromey@redhat.com>
9343
9344 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9345 (target_set_trace_notes): Add argument.
9346 * target.c (update_current_target): Update.
9347 * remote.c (remote_set_trace_notes): Add 'self' argument.
9348
9349 2014-02-19 Tom Tromey <tromey@redhat.com>
9350
9351 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9352 argument.
9353 (target_set_trace_buffer_size): Add argument.
9354 * target.c (update_current_target): Update.
9355 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9356
9357 2014-02-19 Tom Tromey <tromey@redhat.com>
9358
9359 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9360 argument.
9361 (target_set_circular_trace_buffer): Add argument.
9362 * target.c (update_current_target): Update.
9363 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9364 argument.
9365
9366 2014-02-19 Tom Tromey <tromey@redhat.com>
9367
9368 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9369 argument.
9370 (target_set_disconnected_tracing): Add argument.
9371 * target.c (update_current_target): Update.
9372 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9373
9374 2014-02-19 Tom Tromey <tromey@redhat.com>
9375
9376 * target.h (struct target_ops)
9377 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9378 (target_get_min_fast_tracepoint_insn_len): Add argument.
9379 * target.c (update_current_target): Update.
9380 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9381 argument.
9382
9383 2014-02-19 Tom Tromey <tromey@redhat.com>
9384
9385 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9386 argument.
9387 (target_get_raw_trace_data): Add argument.
9388 * target.c (update_current_target): Update.
9389 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9390
9391 2014-02-19 Tom Tromey <tromey@redhat.com>
9392
9393 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9394 Add argument.
9395 (target_upload_trace_state_variables): Add argument.
9396 * target.c (update_current_target): Update.
9397 * remote.c (remote_upload_trace_state_variables): Add 'self'
9398 argument.
9399 (remote_start_remote): Update.
9400
9401 2014-02-19 Tom Tromey <tromey@redhat.com>
9402
9403 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9404 argument.
9405 (target_upload_tracepoints): Add argument.
9406 * target.c (update_current_target): Update.
9407 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9408 (remote_start_remote): Update.
9409
9410 2014-02-19 Tom Tromey <tromey@redhat.com>
9411
9412 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9413 (target_save_trace_data): Add argument.
9414 * target.c (update_current_target): Update.
9415 * remote.c (remote_save_trace_data): Add 'self' argument.
9416
9417 2014-02-19 Tom Tromey <tromey@redhat.com>
9418
9419 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9420 argument.
9421 * target.h (struct target_ops)
9422 <to_get_trace_state_variable_value>: Add argument.
9423 (target_get_trace_state_variable_value): Add argument.
9424 * target.c (update_current_target): Update.
9425 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9426 argument.
9427 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9428
9429 2014-02-19 Tom Tromey <tromey@redhat.com>
9430
9431 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9432 * target.h (struct target_ops) <to_trace_find>: Add argument.
9433 (target_trace_find): Add argument.
9434 * target.c (update_current_target): Update.
9435 * remote.c (remote_trace_find): Add 'self' argument.
9436 * ctf.c (ctf_trace_find): Add 'self' argument.
9437
9438 2014-02-19 Tom Tromey <tromey@redhat.com>
9439
9440 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9441 (target_trace_stop): Add argument.
9442 * target.c (update_current_target): Update.
9443 * remote.c (remote_trace_stop): Add 'self' argument.
9444
9445 2014-02-19 Tom Tromey <tromey@redhat.com>
9446
9447 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9448 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9449 argument.
9450 (target_get_tracepoint_status): Add argument.
9451 * target.c (update_current_target): Update.
9452 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9453
9454 2014-02-19 Tom Tromey <tromey@redhat.com>
9455
9456 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9457 * target.h (struct target_ops) <to_get_trace_status>: Add
9458 argument.
9459 (target_get_trace_status): Add argument.
9460 * target.c (update_current_target): Update.
9461 * remote.c (remote_get_trace_status): Add 'self' argument.
9462 (remote_start_remote, remote_can_download_tracepoint): Update.
9463 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9464
9465 2014-02-19 Tom Tromey <tromey@redhat.com>
9466
9467 * target.h (struct target_ops) <to_trace_start>: Add argument.
9468 (target_trace_start): Add argument.
9469 * target.c (update_current_target): Update.
9470 * remote.c (remote_trace_start): Add 'self' argument.
9471
9472 2014-02-19 Tom Tromey <tromey@redhat.com>
9473
9474 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9475 Add argument.
9476 (target_trace_set_readonly_regions): Add argument.
9477 * target.c (update_current_target): Update.
9478 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9479 argument.
9480
9481 2014-02-19 Tom Tromey <tromey@redhat.com>
9482
9483 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9484 argument.
9485 (target_disable_tracepoint): Add argument.
9486 * target.c (update_current_target): Update.
9487 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9488
9489 2014-02-19 Tom Tromey <tromey@redhat.com>
9490
9491 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9492 argument.
9493 (target_enable_tracepoint): Add argument.
9494 * target.c (update_current_target): Update.
9495 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9496
9497 2014-02-19 Tom Tromey <tromey@redhat.com>
9498
9499 * target.h (struct target_ops) <to_download_trace_state_variable>:
9500 Add argument.
9501 (target_download_trace_state_variable): Add argument.
9502 * target.c (update_current_target): Update.
9503 * remote.c (remote_download_trace_state_variable): Add 'self'
9504 argument.
9505
9506 2014-02-19 Tom Tromey <tromey@redhat.com>
9507
9508 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9509 argument.
9510 (target_can_download_tracepoint): Add argument.
9511 * target.c (update_current_target): Update.
9512 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9513
9514 2014-02-19 Tom Tromey <tromey@redhat.com>
9515
9516 * target.h (struct target_ops) <to_download_tracepoint>: Add
9517 argument.
9518 (target_download_tracepoint): Add argument.
9519 * target.c (update_current_target): Update.
9520 * remote.c (remote_download_tracepoint): Add 'self' argument.
9521
9522 2014-02-19 Tom Tromey <tromey@redhat.com>
9523
9524 * target.h (struct target_ops) <to_trace_init>: Add argument.
9525 (target_trace_init): Add argument.
9526 * target.c (update_current_target): Update.
9527 * remote.c (remote_trace_init): Add 'self' argument.
9528
9529 2014-02-19 Tom Tromey <tromey@redhat.com>
9530
9531 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9532 * target.c (target_fileio_readlink): Add argument.
9533 * remote.c (remote_hostio_readlink): Add 'self' argument.
9534 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9535
9536 2014-02-19 Tom Tromey <tromey@redhat.com>
9537
9538 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9539 * target.c (target_fileio_unlink): Add argument.
9540 * remote.c (remote_hostio_unlink): Add 'self' argument.
9541 (remote_file_delete): Update.
9542 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9543
9544 2014-02-19 Tom Tromey <tromey@redhat.com>
9545
9546 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9547 * target.c (target_fileio_close): Add argument.
9548 * remote.c (remote_hostio_close): Add 'self' argument.
9549 (remote_hostio_close_cleanup): Update.
9550 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9551 Update.
9552 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9553
9554 2014-02-19 Tom Tromey <tromey@redhat.com>
9555
9556 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9557 * target.c (target_fileio_pread): Add argument.
9558 * remote.c (remote_hostio_pread): Add 'self' argument.
9559 (remote_bfd_iovec_pread, remote_file_get): Update.
9560 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9561
9562 2014-02-19 Tom Tromey <tromey@redhat.com>
9563
9564 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9565 * target.c (target_fileio_pwrite): Add argument.
9566 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9567 (remote_file_put): Update.
9568 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9569
9570 2014-02-19 Tom Tromey <tromey@redhat.com>
9571
9572 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9573 * target.c (target_fileio_open): Add argument.
9574 * remote.c (remote_hostio_open): Add 'self' argument.
9575 (remote_bfd_iovec_open): Add 'self' argument.
9576 (remote_file_put): Add 'self' argument.
9577 (remote_file_get): Add 'self' argument.
9578 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9579
9580 2014-02-19 Tom Tromey <tromey@redhat.com>
9581
9582 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9583 Add argument.
9584 (target_can_run_breakpoint_commands): Add argument.
9585 * target.c (update_current_target): Update.
9586 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9587 argument.
9588 (remote_insert_breakpoint): Add 'self' argument.
9589 (remote_insert_hw_breakpoint): Add 'self' argument.
9590 (remote_can_run_breakpoint_commands): Add 'self' argument.
9591
9592 2014-02-19 Tom Tromey <tromey@redhat.com>
9593
9594 * target.h (struct target_ops)
9595 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9596 (target_supports_evaluation_of_breakpoint_conditions): Add
9597 argument.
9598 * target.c (update_current_target): Update.
9599 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9600 argument.
9601 (remote_insert_breakpoint): Add 'self' argument.
9602 (remote_insert_hw_breakpoint): Add 'self' argument.
9603 (remote_supports_cond_breakpoints): Add 'self' argument.
9604
9605 2014-02-19 Tom Tromey <tromey@redhat.com>
9606
9607 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9608 argument.
9609 (target_supports_string_tracing): Add argument.
9610 * target.c (update_current_target): Update.
9611 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9612
9613 2014-02-19 Tom Tromey <tromey@redhat.com>
9614
9615 * target.h (struct target_ops)
9616 <to_supports_disable_randomization>: Add argument.
9617 * target.c (find_default_supports_disable_randomization): Add
9618 argument.
9619 (target_supports_disable_randomization): Add argument.
9620 (find_default_supports_disable_randomization): Add 'self'
9621 argument.
9622 * remote.c (extended_remote_supports_disable_randomization): Add
9623 'self' argument.
9624 (remote_supports_disable_randomization): Add 'self' argument.
9625 (extended_remote_create_inferior): Update.
9626 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9627 'self' argument.
9628
9629 2014-02-19 Tom Tromey <tromey@redhat.com>
9630
9631 * target.h (struct target_ops)
9632 <to_supports_enable_disable_tracepoint>: Add argument.
9633 (target_supports_enable_disable_tracepoint): Add argument.
9634 * target.c (update_current_target): Update.
9635 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9636 argument.
9637
9638 2014-02-19 Tom Tromey <tromey@redhat.com>
9639
9640 * target.h (struct target_ops) <to_supports_multi_process>: Add
9641 argument.
9642 (target_supports_multi_process): Add argument.
9643 * target.c (update_current_target): Update.
9644 * remote.c (remote_supports_multi_process): Add 'self' argument.
9645 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9646 argument.
9647 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9648 argument.
9649
9650 2014-02-19 Tom Tromey <tromey@redhat.com>
9651
9652 * target.h (struct target_ops) <to_execution_direction>: Add
9653 argument.
9654 (target_execution_direction): Add argument.
9655 * target.c (default_execution_direction): Add 'self' argument.
9656 * record-full.c (record_full_execution_direction): Add 'self'
9657 argument.
9658
9659 2014-02-19 Tom Tromey <tromey@redhat.com>
9660
9661 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9662 argument.
9663 (target_can_execute_reverse): Add argument.
9664 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9665 * record-full.c (record_full_can_execute_reverse): Add 'self'
9666 argument.
9667 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9668 argument.
9669
9670 2014-02-19 Tom Tromey <tromey@redhat.com>
9671
9672 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9673 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9674 argument.
9675 (target_get_ada_task_ptid): Add argument.
9676 * target.c (update_current_target): Update.
9677 (default_get_ada_task_ptid): Add 'self' argument.
9678 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9679 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9680 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9681 argument.
9682 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9683 argument.
9684 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9685 argument.
9686 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9687 argument.
9688 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9689 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9690 argument.
9691
9692 2014-02-19 Tom Tromey <tromey@redhat.com>
9693
9694 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9695 (target_goto_bookmark): Add argument.
9696 * target.c (dummy_goto_bookmark): Add 'self' argument.
9697 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9698
9699 2014-02-19 Tom Tromey <tromey@redhat.com>
9700
9701 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9702 (target_get_bookmark): Add argument.
9703 * target.c (dummy_get_bookmark): Add 'self' argument.
9704 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9705
9706 2014-02-19 Tom Tromey <tromey@redhat.com>
9707
9708 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9709 argument.
9710 (target_make_corefile_notes): Add argument.
9711 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9712 * procfs.c (procfs_make_note_section): Add 'self' argument.
9713 (procfs_make_note_section): Add 'self' argument.
9714 (procfs_make_note_section): Add 'self' argument.
9715 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9716 argument.
9717 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9718 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9719 * exec.c (exec_make_note_section): Add 'self' argument.
9720 (exec_make_note_section): Add 'self' argument.
9721
9722 2014-02-19 Tom Tromey <tromey@redhat.com>
9723
9724 * target.h (struct target_ops) <to_find_memory_regions>: Add
9725 argument.
9726 (target_find_memory_regions): Add argument.
9727 * target.c (dummy_find_memory_regions): Add 'self' argument.
9728 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9729 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9730 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9731 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9732 * exec. (exec_do_find_memory_regions): New global.
9733 (exec_set_find_memory_regions): Rewrite.
9734 (exec_find_memory_regions): New function.
9735 (init_exec_ops): Use exec_find_memory_regions.
9736
9737 2014-02-19 Tom Tromey <tromey@redhat.com>
9738
9739 * target.h (struct target_ops) <to_supports_non_stop>: Add
9740 argument.
9741 * target.c (find_default_supports_non_stop): Add argument.
9742 (target_supports_non_stop): Add argument.
9743 (find_default_supports_non_stop): Add 'self' argument.
9744 * remote.c (remote_supports_non_stop): Add 'self' argument.
9745 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9746
9747 2014-02-19 Tom Tromey <tromey@redhat.com>
9748
9749 * target.h (struct target_ops) <to_log_command>: Add argument.
9750 (target_log_command): Add argument.
9751 * serial.h (serial_log_command): Add 'self' argument.
9752 * serial.c (serial_log_command): Add 'self' argument.
9753
9754 2014-02-19 Tom Tromey <tromey@redhat.com>
9755
9756 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9757 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9758 argument.
9759 (target_pid_to_exec_file): Add argument.
9760 * target.c (debug_to_pid_to_exec_file): Add argument.
9761 (update_current_target): Update.
9762 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9763 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9764 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9765 (linux_handle_extended_wait): Update.
9766 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9767 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9768 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9769 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9770
9771 2014-02-19 Tom Tromey <tromey@redhat.com>
9772
9773 * target.h (struct target_ops) <to_rcmd>: Add argument.
9774 (target_rcmd): Add argument.
9775 * target.c (debug_to_rcmd): Add argument.
9776 (update_current_target, do_monitor_command): Update.
9777 * remote.c (remote_rcmd): Add 'self' argument.
9778 * monitor.c (monitor_rcmd): Add 'self' argument.
9779
9780 2014-02-19 Tom Tromey <tromey@redhat.com>
9781
9782 * windows-nat.c (windows_stop): Add 'self' argument.
9783 * target.h (struct target_ops) <to_stop>: Add argument.
9784 * target.c (target_stop): Add argument.
9785 (debug_to_stop): Add argument.
9786 (update_current_target): Update.
9787 * remote.c (remote_stop): Add 'self' argument.
9788 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9789 (gdbsim_cntrl_c): Update.
9790 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9791 * procfs.c (procfs_stop): Add 'self' argument.
9792 * nto-procfs.c (procfs_stop): Add 'self' argument.
9793 * monitor.c (monitor_stop): Add 'self' argument.
9794 (monitor_open): Update.
9795 * linux-nat.c (linux_nat_stop): Add argument.
9796 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9797 * gnu-nat.c (gnu_stop): Add 'self' argument.
9798 * darwin-nat.c (darwin_stop): Add 'self' argument.
9799
9800 2014-02-19 Tom Tromey <tromey@redhat.com>
9801
9802 * target.h (struct target_ops) <to_thread_name>: Add argument.
9803 * target.c (target_thread_name): Add argument.
9804 (update_current_target): Update.
9805 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9806
9807 2014-02-19 Tom Tromey <tromey@redhat.com>
9808
9809 * target.h (struct target_ops) <to_extra_thread_info>: Add
9810 argument.
9811 (target_extra_thread_info): Add argument.
9812 * target.c (update_current_target): Update.
9813 * remote.c (remote_threads_extra_info): Add 'self' argument.
9814 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9815 argument.
9816 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9817 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9818 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9819 argument.
9820 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9821 argument.
9822 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9823 argument.
9824 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9825 argument.
9826
9827 2014-02-19 Tom Tromey <tromey@redhat.com>
9828
9829 * target.h (struct target_ops) <to_program_signals>: Add argument.
9830 * target.c (target_program_signals): Add argument.
9831 * remote.c (remote_program_signals): Add 'self' argument.
9832
9833 2014-02-19 Tom Tromey <tromey@redhat.com>
9834
9835 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9836 * target.c (target_pass_signals): Add argument.
9837 * remote.c (remote_pass_signals): Add 'self' argument.
9838 (remote_start_remote): Update.
9839 * procfs.c (procfs_pass_signals): Add 'self' argument.
9840 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9841 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9842 (linux_nat_create_inferior, linux_nat_attach): Update.
9843
9844 2014-02-19 Tom Tromey <tromey@redhat.com>
9845
9846 * windows-nat.c (windows_can_run): Add 'self' argument.
9847 * target.h (struct target_ops) <to_can_run>: Add argument.
9848 (target_can_run): Add argument.
9849 * target.c (debug_to_can_run): Add argument.
9850 (update_current_target): Update.
9851 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9852 * inf-child.c (inf_child_can_run): Add 'self' argument.
9853 * go32-nat.c (go32_can_run): Add 'self' argument.
9854
9855 2014-02-19 Tom Tromey <tromey@redhat.com>
9856
9857 * target.h (struct target_ops) <to_has_exited>: Add argument.
9858 (target_has_exited): Add argument.
9859 * target.c (debug_to_has_exited): Add argument.
9860 (update_current_target): Update.
9861
9862 2014-02-19 Tom Tromey <tromey@redhat.com>
9863
9864 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9865 argument.
9866 (target_set_syscall_catchpoint): Add argument.
9867 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9868 argument.
9869 * target.c (update_current_target): Update.
9870
9871 2014-02-19 Tom Tromey <tromey@redhat.com>
9872
9873 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9874 argument.
9875 (target_remove_exec_catchpoint): Add argument.
9876 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9877 (update_current_target): Update.
9878 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9879 argument.
9880
9881 2014-02-19 Tom Tromey <tromey@redhat.com>
9882
9883 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9884 argument.
9885 (target_insert_exec_catchpoint): Add argument.
9886 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9887 (update_current_target): Update.
9888 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9889 argument.
9890
9891 2014-02-19 Tom Tromey <tromey@redhat.com>
9892
9893 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9894 argument.
9895 (target_remove_vfork_catchpoint): Add argument.
9896 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9897 (update_current_target): Update.
9898 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9899 argument.
9900
9901 2014-02-19 Tom Tromey <tromey@redhat.com>
9902
9903 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9904 argument.
9905 (target_insert_vfork_catchpoint): Add argument.
9906 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9907 (update_current_target): Update.
9908 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9909 argument.
9910
9911 2014-02-19 Tom Tromey <tromey@redhat.com>
9912
9913 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9914 argument.
9915 (target_remove_fork_catchpoint): Add argument.
9916 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9917 (update_current_target): Update.
9918 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9919 argument.
9920
9921 2014-02-19 Tom Tromey <tromey@redhat.com>
9922
9923 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9924 argument.
9925 (target_insert_fork_catchpoint): Add argument.
9926 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9927 (update_current_target): Update.
9928 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9929 argument.
9930
9931 2014-02-19 Tom Tromey <tromey@redhat.com>
9932
9933 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9934 argument.
9935 (target_post_startup_inferior): Add argument.
9936 * target.c (debug_to_post_startup_inferior): Add argument.
9937 (update_current_target): Update.
9938 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9939 argument.
9940 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9941 argument.
9942 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9943 argument.
9944 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9945 argument.
9946 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9947 'self' argument.
9948 (super_post_startup_inferior): Likewise.
9949 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9950 'self' argument.
9951 (super_post_startup_inferior): Likewise.
9952 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9953 Add 'self' argument.
9954 (super_post_startup_inferior): Likewise.
9955
9956 2014-02-19 Tom Tromey <tromey@redhat.com>
9957
9958 * target.h (struct target_ops) <to_load>: Add argument.
9959 * target.c (target_load): Add argument.
9960 (debug_to_load): Add argument.
9961 (update_current_target): Update.
9962 * remote.c (remote_load): Add 'self' argument.
9963 * remote-sim.c (gdbsim_load): Add 'self' argument.
9964 * remote-mips.c (mips_load): Add 'self' argument.
9965 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9966 * monitor.c (monitor_load): Add 'self' argument.
9967 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9968
9969 2014-02-19 Tom Tromey <tromey@redhat.com>
9970
9971 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9972 (target_terminal_info): Add argument.
9973 * target.c (debug_to_terminal_info): Add argument.
9974 (default_terminal_info): Likewise.
9975 * inflow.c (child_terminal_info): Add 'self' argument.
9976 * inferior.h (child_terminal_info): Add 'self' argument.
9977 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9978
9979 2014-02-19 Tom Tromey <tromey@redhat.com>
9980
9981 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9982 argument.
9983 (target_terminal_save_ours): Add argument.
9984 * target.c (debug_to_terminal_save_ours): Add argument.
9985 (update_current_target): Update.
9986 * inflow.c (terminal_save_ours): Add 'self' argument.
9987 * inferior.h (terminal_save_ours): Add 'self' argument.
9988
9989 2014-02-19 Tom Tromey <tromey@redhat.com>
9990
9991 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9992 (target_terminal_ours): Add argument.
9993 * target.c (debug_to_terminal_ours): Add argument.
9994 (update_current_target): Update.
9995 * remote.c (remote_terminal_ours): Add 'self' argument.
9996 (remote_close): Update.
9997 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9998 * inflow.c (terminal_ours): Add 'self' argument.
9999 * inferior.h (terminal_ours): Add 'self' argument.
10000 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10001
10002 2014-02-19 Pedro Alves <palves@redhat.com>
10003 Tom Tromey <tromey@redhat.com>
10004
10005 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10006 argument.
10007 (target_terminal_ours_for_output): Add argument.
10008 * target.c (debug_to_terminal_ours_for_output): Add argument.
10009 (update_current_target): Update.
10010 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10011 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10012 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10013
10014 2014-02-19 Tom Tromey <tromey@redhat.com>
10015
10016 * target.h (struct target_ops) <to_terminal_inferior>: Add
10017 argument.
10018 * target.c (target_terminal_inferior): Add argument.
10019 (update_current_target): Update.
10020 * remote.c (remote_terminal_inferior): Add 'self' argument.
10021 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10022 * inflow.c (terminal_inferior): Add 'self' argument.
10023 * inferior.h (terminal_inferior): Add 'self' argument.
10024 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10025 (go32_terminal_inferior): Add 'self' argument.
10026
10027 2014-02-19 Tom Tromey <tromey@redhat.com>
10028
10029 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10030 (target_terminal_init): Add argument.
10031 * target.c (debug_to_terminal_init): Add argument.
10032 (update_current_target): Update.
10033 * inflow.c (terminal_init_inferior): Add 'self' argument.
10034 * inferior.h (terminal_init_inferior): Add 'self' argument.
10035 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10036 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10037
10038 2014-02-19 Tom Tromey <tromey@redhat.com>
10039
10040 * target.h (struct target_ops)
10041 <to_can_accel_watchpoint_condition>: Add argument.
10042 (target_can_accel_watchpoint_condition): Add argument.
10043 * target.c (debug_to_can_accel_watchpoint_condition): Add
10044 argument.
10045 (update_current_target): Update.
10046 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10047 'self' argument.
10048
10049 2014-02-19 Tom Tromey <tromey@redhat.com>
10050
10051 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10052 Add argument.
10053 (target_region_ok_for_hw_watchpoint): Add argument.
10054 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10055 (default_region_ok_for_hw_watchpoint): Add argument.
10056 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10057 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10058 argument.
10059 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10060 argument.
10061 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10062 argument.
10063 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10064 'self' argument.
10065 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10066 'self' argument.
10067 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10068 'self' argument.
10069 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10070 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10071 'self' argument.
10072 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10073 Add 'self' argument.
10074
10075 2014-02-19 Tom Tromey <tromey@redhat.com>
10076
10077 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10078 argument.
10079 (target_insert_watchpoint): Add argument.
10080 * target.c (debug_to_insert_watchpoint): Add argument.
10081 (update_current_target): Update.
10082 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10083 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10084 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10085 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10086 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10087 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10088 argument.
10089 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10090 (procfs_insert_hw_watchpoint): Add 'self' argument.
10091 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10092 argument.
10093 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10094 argument.
10095 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10096 argument.
10097 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10098 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10099 argument.
10100 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10101 'self' argument.
10102
10103 2014-02-19 Tom Tromey <tromey@redhat.com>
10104
10105 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10106 argument.
10107 (target_remove_watchpoint): Add argument.
10108 * target.c (debug_to_remove_watchpoint): Add argument.
10109 (update_current_target): Update.
10110 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10111 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10112 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10113 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10114 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10115 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10116 argument.
10117 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10118 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10119 argument.
10120 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10121 argument.
10122 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10123 argument.
10124 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10125 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10126 argument.
10127 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10128 'self' argument.
10129
10130 2014-02-19 Tom Tromey <tromey@redhat.com>
10131
10132 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10133 argument.
10134 (target_remove_hw_breakpoint): Add argument.
10135 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10136 (update_current_target): Update.
10137 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10138 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10139 argument.
10140 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10141 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10142 argument.
10143 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10144 'self' argument.
10145
10146 2014-02-19 Tom Tromey <tromey@redhat.com>
10147
10148 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10149 argument.
10150 (target_insert_hw_breakpoint): Add argument.
10151 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10152 (update_current_target): Update.
10153 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10154 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10155 argument.
10156 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10157 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10158 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10159 argument.
10160 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10161 'self' argument.
10162
10163 2014-02-19 Tom Tromey <tromey@redhat.com>
10164
10165 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10166 argument.
10167 (target_can_use_hardware_watchpoint): Add argument.
10168 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10169 (update_current_target): Update.
10170 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10171 argument.
10172 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10173 argument.
10174 * remote.c (remote_check_watch_resources): Add 'self' argument.
10175 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10176 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10177 argument.
10178 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10179 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10180 argument.
10181 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10182 argument.
10183 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10184 argument.
10185 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10186 argument.
10187 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10188 argument.
10189 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10190 argument.
10191 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10192 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10193 argument.
10194 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10195 'self' argument.
10196
10197 2014-02-19 Tom Tromey <tromey@redhat.com>
10198
10199 * target.h (struct target_ops) <to_post_attach>: Add argument.
10200 (target_post_attach): Add argument.
10201 * target.c (debug_to_post_attach): Add argument.
10202 (update_current_target): Update.
10203 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10204 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10205 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10206 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10207 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10208
10209 2014-02-19 Tom Tromey <tromey@redhat.com>
10210
10211 * windows-nat.c (windows_close): Add 'self' argument.
10212 * tracepoint.c (tfile_close): Add 'self' argument.
10213 * target.h (struct target_ops) <to_close>: Add argument.
10214 * target.c (target_close): Add argument.
10215 (update_current_target): Update.
10216 * remote.c (remote_close): Add 'self' argument.
10217 * remote-sim.c (gdbsim_close): Add 'self' argument.
10218 * remote-mips.c (mips_close): Add 'self' argument.
10219 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10220 * record-full.c (record_full_close): Add 'self' argument.
10221 * record-btrace.c (record_btrace_close): Add 'self' argument.
10222 * monitor.h (monitor_close): Add 'self' argument.
10223 * monitor.c (monitor_close): Add 'self' argument.
10224 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10225 * linux-nat.c (linux_nat_close): Add argument.
10226 * go32-nat.c (go32_close): Add 'self' argument.
10227 * exec.c (exec_close_1): Add 'self' argument.
10228 * ctf.c (ctf_close): Add 'self' argument.
10229 * corelow.c (core_close): Add 'self' argument.
10230 (core_close_cleanup): Update.
10231 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10232 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10233
10234 2014-02-19 Tom Tromey <tromey@redhat.com>
10235
10236 * remote.c (remote_load): New function.
10237 (init_remote_ops): Use it.
10238
10239 2014-02-19 Tom Tromey <tromey@redhat.com>
10240
10241 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10242 argument.
10243 * common/linux-btrace.h (linux_supports_btrace): Update.
10244 * remote.c (remote_supports_btrace): Add "self" argument.
10245 * target-delegates.c: Rebuild.
10246 * target.c (target_supports_btrace): Remove.
10247 * target.h (struct target_ops) <to_supports_btrace>: Add
10248 target_ops argument.
10249 (target_supports_btrace): New define.
10250
10251 2014-02-19 Tom Tromey <tromey@redhat.com>
10252
10253 * record-full.c (record_full_beneath_to_resume_ops)
10254 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10255 (record_full_beneath_to_wait)
10256 (record_full_beneath_to_store_registers_ops)
10257 (record_full_beneath_to_store_registers)
10258 (record_full_beneath_to_xfer_partial_ops)
10259 (record_full_beneath_to_xfer_partial)
10260 (record_full_beneath_to_insert_breakpoint_ops)
10261 (record_full_beneath_to_insert_breakpoint)
10262 (record_full_beneath_to_remove_breakpoint_ops)
10263 (record_full_beneath_to_remove_breakpoint)
10264 (record_full_beneath_to_stopped_by_watchpoint)
10265 (record_full_beneath_to_stopped_data_address)
10266 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10267 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10268 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10269 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10270 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10271 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10272 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10273 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10274 (record_full_resume, record_full_wait_1)
10275 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10276 (record_full_store_registers, record_full_xfer_partial)
10277 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10278 (record_full_async, record_full_core_xfer_partial): Use target
10279 delegation.
10280 * target-delegates.c: Rebuild.
10281 * target.c (current_xfer_partial): Remove.
10282 (update_current_target): Do not INHERIT or de_fault
10283 to_insert_breakpoint, to_remove_breakpoint,
10284 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10285 to_is_async_p, to_async. Do not set to_xfer_partial field.
10286 (default_xfer_partial): Simplify.
10287 (current_xfer_partial): Remove.
10288 (target_wait, target_resume): Simplify.
10289 (find_default_can_async_p, find_default_is_async_p): Update.
10290 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10291 to_xfer_partial, to_stopped_by_watchpoint,
10292 to_stopped_data_address.
10293 (target_store_registers): Simplify.
10294 (forward_target_remove_breakpoint)
10295 (forward_target_insert_breakpoint): Remove.
10296 (target_remove_breakpoint, target_insert_breakpoint)
10297 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10298 * target.h (struct target_ops) <to_resume, to_wait,
10299 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10300 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10301 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10302 markup.
10303 (forward_target_remove_breakpoint)
10304 (forward_target_insert_breakpoint): Remove.
10305 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10306 directly.
10307 (record_btrace_insert_breakpoint): Delegate directly.
10308
10309 2014-02-19 Tom Tromey <tromey@redhat.com>
10310
10311 PR build/7701:
10312 * target-delegates.c: New file.
10313 * target.c: Include target-delegates.c.
10314 (init_dummy_target): Call install_dummy_methods.
10315 (complete_target_initialization): Call install_delegators.
10316 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10317 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10318 * make-target-delegates: New file.
10319
10320 2014-02-19 Tom Tromey <tromey@redhat.com>
10321
10322 * record.c (find_record_target): Use find_target_at.
10323 * target.c (find_target_at): New function.
10324 * target.h (find_target_at): Declare.
10325
10326 2014-02-19 Tom Tromey <tromey@redhat.com>
10327
10328 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10329 Add 'ops' argument.
10330 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10331 'ops' argument.
10332 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10333 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10334 'ops' argument.
10335 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10336 argument.
10337 * linux-nat.c (save_sigtrap): Update.
10338 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10339 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10340 (linux_nat_close): Update.
10341 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10342 argument.
10343 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10344 argument.
10345 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10346 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10347 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10348 (tmp_to_async): Add 'ops' argument.
10349 (record_full_stopped_by_watchpoint, record_full_async)
10350 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10351 argument.
10352 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10353 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10354 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10355 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10356 (remote_is_async_p, remote_async): Add 'ops' argument.
10357 (remote_stopped_data_address): Update.
10358 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10359 * target.c (update_current_target)
10360 (find_default_can_async_p, find_default_is_async_p): Update.
10361 (init_dummy_target): Update.
10362 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10363 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10364 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10365 (target_can_async_p, target_is_async_p, target_async)
10366 (target_stopped_by_watchpoint): Update.
10367
10368 2014-02-19 Yao Qi <yao@codesourcery.com>
10369
10370 PR gdb/16220
10371 * gdbarch.sh: Remove startup_gdbarch.
10372 * gdbarch.c: Regenerated.
10373 * gdbarch.h: Likewise.
10374
10375 2014-02-17 Kevin Buettner <kevinb@redhat.com>
10376
10377 * rl78-tdep.c (rl78_g10_register_name): New function.
10378 (rl78_return_value): Add g10 support.
10379 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10380 g10.
10381
10382 2014-02-17 Doug Evans <xdje42@gmail.com>
10383
10384 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10385 (SUBDIR_GUILE_SRCS): Ditto.
10386 (scm-gsmob.o): Ditto.
10387
10388 2014-02-17 Yao Qi <yao@codesourcery.com>
10389
10390 * gnu-nat.c (ILL_RPC): Declare defined function.
10391
10392 2014-02-17 Yao Qi <yao@codesourcery.com>
10393
10394 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10395 mach_msg_type_number_t.
10396 (gnu_write_inferior): Likewise.
10397
10398 2014-02-17 Yao Qi <yao@codesourcery.com>
10399
10400 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10401 in format string.
10402 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10403 (inf_validate_procs, inf_signal): Likewise.
10404 (S_exception_raise_request): Likewise.
10405 (do_mach_notify_dead_name): Likewise.
10406 (steal_exc_port): Likewise.
10407 (gnu_read_inferior): Change 'copy_count''s type to
10408 mach_msg_type_number_t.
10409 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10410 format string.
10411
10412 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10413
10414 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10415 flag. Adjust all users; in particular...
10416 (gnu_wait): ..., don't decrement its value in here...
10417 (gnu_create_inferior): ..., and instead set the flag in here,
10418 around the startup_inferior call, and call that one with
10419 START_INFERIOR_TRAPS_EXPECTED.
10420
10421 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10422 (ILL_RPC): ... new macro.
10423 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10424 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10425 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10426 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10427 functions with ILL_RPC macro.
10428 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10429 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10430 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10431 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10432 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10433 (S_proc_getlogin_reply, S_proc_getsid_reply)
10434 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10435 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10436 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10437 (S_proc_getnports_reply, S_proc_is_important_reply)
10438 (S_proc_get_code_reply): New stub functions, generated with
10439 ILL_RPC macro.
10440
10441 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10442 collected the type check structures.
10443
10444 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10445
10446 2014-02-14 Doug Evans <dje@google.com>
10447
10448 * target.c (target_write_partial): Fix result type.
10449
10450 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10451
10452 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10453 the proper offsets to access fpregset_t.
10454
10455 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10456
10457 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10458 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10459 * h8300-tdep.c (setmachinelist): Remove global.
10460 * hppa-tdep.c (hppa_sigtramp): Remove global.
10461 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10462 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10463 * ravenscar-thread.c (update_target_observer): Remove global.
10464 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10465
10466 2014-02-12 Tom Tromey <tromey@redhat.com>
10467
10468 * common/rsp-low.c: Update comments.
10469 * common/rsp-low.h: Update comments.
10470
10471 2014-02-12 Tom Tromey <tromey@redhat.com>
10472
10473 * common/rsp-low.c (convert_ascii_to_int): Remove.
10474 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10475
10476 2014-02-12 Tom Tromey <tromey@redhat.com>
10477
10478 * common/rsp-low.h (unhexify): Don't declare.
10479 * common/rsp-low.c (unhexify): Remove.
10480
10481 2014-02-12 Tom Tromey <tromey@redhat.com>
10482
10483 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10484 * common/rsp-low.c (convert_int_to_ascii): Remove.
10485
10486 2014-02-12 Tom Tromey <tromey@redhat.com>
10487
10488 * common/rsp-low.h (hexify): Don't declare.
10489 * common/rsp-low.c (hexify): Remove.
10490
10491 2014-02-12 Tom Tromey <tromey@redhat.com>
10492
10493 * common/rsp-low.c (hexify): Never take strlen of argument.
10494
10495 2014-02-12 Tom Tromey <tromey@redhat.com>
10496
10497 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10498 * remote.c (extended_remote_run, remote_rcmd)
10499 (remote_download_trace_state_variable, remote_save_trace_data)
10500 (remote_set_trace_notes): Update.
10501 * tracepoint.c (encode_source_string, tfile_write_status)
10502 (tfile_write_uploaded_tsv): Update.
10503
10504 2014-02-12 Tom Tromey <tromey@redhat.com>
10505
10506 * tracepoint.c: Include rsp-low.h.
10507 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10508 * remote.c: Include rsp-low.h.
10509 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10510 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10511 (remote_unescape_input): Move to common/rsp-low.c.
10512 * common/rsp-low.h: New file.
10513 * common/rsp-low.c: New file.
10514 * Makefile.in (SFILES): Add common/rsp-low.c.
10515 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10516 (COMMON_OBS): Add rsp-low.o.
10517 (rsp-low.o): New target.
10518
10519 2014-02-12 Tom Tromey <tromey@redhat.com>
10520
10521 * utils.h: Include print-utils.h.
10522 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10523 (int_string, core_addr_to_string, core_addr_to_string_nz)
10524 (hex_string, hex_string_custom): Don't declare.
10525 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10526 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10527 (hex_string_custom, int_string, core_addr_to_string)
10528 (core_addr_to_string_nz, host_address_to_string): Move to
10529 common/print-utils.c.
10530 * common/print-utils.h: New file.
10531 * common/print-utils.c: New file
10532 * Makefile.in (SFILES): Add common/print-utils.c.
10533 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10534 (COMMON_OBS): Add print-utils.o.
10535 (print-utils.o): New target.
10536
10537 2014-02-12 Tom Tromey <tromey@redhat.com>
10538
10539 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10540
10541 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10542
10543 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10544
10545 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10546
10547 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10548 if a PT_IO ptrace request returns sucessfully but indicates that 0
10549 bytes were transferred.
10550
10551 2014-02-12 Pedro Alves <palves@redhat.com>
10552 Kevin Buettner <kevinb@redhat.com>
10553
10554 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10555 TYPE_INSTANCE_FLAG_CODE_SPACE.
10556
10557 2014-02-12 Pedro Alves <palves@redhat.com>
10558
10559 * h8300-tdep.c (pseudo_from_raw_register)
10560 (raw_from_pseudo_register): New functions.
10561 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10562 them.
10563
10564 2014-02-12 Pedro Alves <palves@redhat.com>
10565
10566 * h8300-tdep.c (h8300_register_sim_regno): New function.
10567 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10568 gdbarch_register_sim_regno hook.
10569
10570 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10571
10572 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10573
10574 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10575
10576 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10577
10578 2014-02-12 Mark Kettenis <kettenis@gnu.org>
10579
10580 * obsd-tdep.h (obsd_init_abi): New prototype.
10581 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10582 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10583 (obsd_init_abi): New functions.
10584 * i386obsd-tdep.c: Include "obsd-tdep.h".
10585 (i386obsd_init_abi): Call obsd_init_abi.
10586 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10587 (amd64obsd_init_abi): Call obsd_init_abi.
10588 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10589 obsd-tdep.c to gdb_target_obs.
10590
10591 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10592
10593 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10594 double float arguments to 16-byte in the argument slots.
10595
10596 2014-02-11 Doug Evans <xdje42@gmail.com>
10597
10598 * configure.ac: Don't crash if pkg-config is not found and guile
10599 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10600 in guile checks.
10601 * configure: Regenerate.
10602
10603 2014-02-11 Yao Qi <yao@codesourcery.com>
10604
10605 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10606 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10607 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10608 * gnu-nat.c (gnu_xfer_memory): Likewise.
10609 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10610 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10611 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10612 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10613
10614 2014-02-11 Yao Qi <yao@codesourcery.com>
10615
10616 * target.h (enum target_xfer_error): Rename to ...
10617 (enum target_xfer_status): ... it. New. All users updated.
10618 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10619 New.
10620 (TARGET_XFER_STATUS_ERROR_P): New macro.
10621 (target_xfer_error_to_string): Remove declaration.
10622 (target_xfer_status_to_string): Declare.
10623 (target_xfer_partial_ftype): Adjust it.
10624 (struct target_ops) <to_xfer_partial>: Return
10625 target_xfer_status. Add argument xfered_len. Update
10626 comments.
10627 * target.c (target_xfer_error_to_string): Rename to ...
10628 (target_xfer_status_to_string): ... it. New. All callers
10629 updated.
10630 (target_read_live_memory): Likewise. Call target_xfer_partial
10631 instead of target_read.
10632 (memory_xfer_live_readonly_partial): Return
10633 target_xfer_status. Add argument xfered_len.
10634 (raw_memory_xfer_partial): Likewise.
10635 (memory_xfer_partial_1): Likewise.
10636 (memory_xfer_partial): Likewise.
10637 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10638 properly. Update debug message.
10639 (default_xfer_partial, current_xfer_partial): Likewise.
10640 (target_write_partial): Likewise.
10641 (target_read_partial): Likewise. All callers updated.
10642 (read_whatever_is_readable): Likewise.
10643 (target_write_with_progress): Likewise.
10644 (target_read_alloc_1): Likewise.
10645
10646 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10647 * auxv.c (procfs_xfer_auxv): Likewise.
10648 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10649 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10650 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10651 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10652 * corefile.c (read_memory): Adjust.
10653 * corelow.c (core_xfer_partial): Likewise.
10654 * ctf.c (ctf_xfer_partial): Likewise.
10655 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10656 updated.
10657 (darwin_xfer_partial): Likewise.
10658 * exec.c (section_table_xfer_memory_partial): Likewise. All
10659 callers updated.
10660 (exec_xfer_partial): Likewise.
10661 * exec.h (section_table_xfer_memory_partial): Update
10662 declaration.
10663 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10664 negative.
10665 (gnu_xfer_partial): Likewise.
10666 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10667 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10668 (ia64_hpux_xfer_solib_got): Likewise.
10669 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10670 type of 'partial_len' to ULONGEST.
10671 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10672 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10673 (linux_nat_xfer_partial): Likewise.
10674 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10675 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10676 * monitor.c (monitor_xfer_memory): Likewise.
10677 (monitor_xfer_partial): Likewise.
10678 * procfs.c (procfs_xfer_partial): Likewise.
10679 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10680 * record-full.c (record_full_xfer_partial): Likewise.
10681 (record_full_core_xfer_partial): Likewise.
10682 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10683 (gdbsim_xfer_partial): Likewise.
10684 * remote.c (remote_write_bytes_aux): Likewise. All callers
10685 updated.
10686 (remote_write_bytes, remote_read_bytes): Likewise. All
10687 callers updated.
10688 (remote_flash_erase): Likewise. All callers updated.
10689 (remote_write_qxfer): Likewise. All callers updated.
10690 (remote_read_qxfer): Likewise. All callers updated.
10691 (remote_xfer_partial): Likewise.
10692 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10693 (rs6000_xfer_shared_libraries): Likewise.
10694 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10695 (sol_thread_xfer_partial): Likewise.
10696 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10697 (sparc_xfer_partial): Likewise.
10698 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10699 updated.
10700 (spu_xfer_partial): Likewise.
10701 * spu-multiarch.c (spu_xfer_partial): Likewise.
10702 * tracepoint.c (tfile_xfer_partial): Likewise.
10703 * windows-nat.c (windows_xfer_memory): Likewise.
10704 (windows_xfer_shared_libraries): Likewise.
10705 (windows_xfer_partial): Likewise.
10706 * valprint.c: Replace 'target_xfer_error' with
10707 'target_xfer_status' in comments.
10708
10709 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10710
10711 Checked in by Joel Brobecker <brobecker@adacore.com>.
10712 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10713
10714 2014-02-11 Joel Brobecker <brobecker@adacore.com>
10715
10716 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10717 function parameters.
10718
10719 2014-02-10 Will Newton <will.newton@linaro.org>
10720
10721 * elfread.c (elf_rel_plt_read): Look for a .got section if
10722 looking up .got.plt fails.
10723 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10724 on address passed to elf_gnu_ifunc_record_cache.
10725 (elf_gnu_ifunc_resolve_addr): Likewise.
10726 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10727
10728 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10729
10730 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10731 (X_RETTURN): New macro.
10732 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10733
10734 * sparc64-tdep.c (sparc64_init_abi): Hook
10735 sparc_in_function_epilogue_p.
10736
10737 2014-02-10 Gary Benson <gbenson@redhat.com>
10738
10739 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10740 Rename name_matcher to symbol_matcher.
10741
10742 2014-02-10 Gary Benson <gbenson@redhat.com>
10743
10744 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10745 Use expand_symtabs_file_matcher_ftype and
10746 expand_symtabs_symbol_matcher_ftype.
10747
10748 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10749
10750 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10751 (struct ada_symbol_cache): New.
10752 (ada_free_symbol_cache): Forward declare.
10753 (struct ada_pspace_data): New.
10754 (ada_pspace_data_handle): New static global.
10755 (get_ada_pspace_data, ada_pspace_data_cleanup)
10756 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10757 (cache_space, cache): Delete, now folded inside struct
10758 ada_pspace_data.
10759 (ada_get_symbol_cache): New function.
10760 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10761 implementation.
10762 (_initialize_ada_language): Remove initialization of cache_space.
10763 Move call to observer_attach_inferior_exit up, grouping it
10764 with the other observer registrations inside this function.
10765 Rename command to be more general. Add call to
10766 register_program_space_data_with_cleanup.
10767
10768 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10769
10770 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10771 ada_new_objfile_observer.
10772 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10773 (_initialize_tasks): Update uses of ada_new_objfile_observer
10774 and ada_tasks_normal_stop_observer.
10775
10776 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10777
10778 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10779 returned by the 'Length attribute to integer.
10780
10781 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10782
10783 * ada-lang.c (_initialize_ada_language): Initialize
10784 cache_space obstack.
10785
10786 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10787
10788 * ada-lang.c (HASH_SIZE): New macro.
10789 (struct cache_entry): New type.
10790 (cache_space, cache): New static globals.
10791 (ada_clear_symbol_cache, find_entry): New functions.
10792 (lookup_cached_symbol, cache_symbol): Implement.
10793 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10794 (_initialize_ada_language): Attach ada_new_objfile_observer
10795 and ada_free_objfile_observer.
10796
10797 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10798
10799 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10800 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10801 struct block * parameter.
10802 (ada_lookup_symbol_list_worker): Constify local variable "block".
10803 Remove cast which is no longer necessary.
10804
10805 2014-02-10 Doug Evans <xdje42@gmail.com>
10806
10807 Add Guile as an extension language.
10808 * NEWS: Mention Guile scripting.
10809 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10810 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10811 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10812 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10813 (CLIBS): Add GUILE_LIBS.
10814 (install-guile): New rule.
10815 (guile.o): New rule.
10816 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10817 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10818 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10819 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10820 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10821 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10822 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10823 * configure.ac: New option --with-guile.
10824 * configure: Regenerate.
10825 * config.in: Regenerate.
10826 * auto-load.c: Remove #include "python/python.h". Add #include
10827 "gdb/section-scripts.h".
10828 (source_section_scripts): Handle Guile scripts.
10829 (_initialize_auto_load): Add name of Guile objfile script to
10830 scripts-directory help text.
10831 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10832 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10833 (struct breakpoint): New member scm_bp_object.
10834 * defs.h (enum command_control_type): New value guile_control.
10835 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10836 "extension.h".
10837 (show_user): Update comment.
10838 (_initialize_cli_cmds): Update help text for "show user". Update help
10839 text for max-user-call-depth.
10840 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10841 "extension.h".
10842 (multi_line_command_p): Add guile_control.
10843 (print_command_lines): Handle guile_control.
10844 (execute_control_command, recurse_read_control_structure): Ditto.
10845 (process_next_line): Recognize "guile" commands.
10846 * disasm.c (gdb_disassemble_info): Make non-static.
10847 * disasm.h: #include "dis-asm.h".
10848 (struct gdbarch): Add forward decl.
10849 (gdb_disassemble_info): Declare.
10850 * extension.c: #include "guile/guile.h".
10851 (extension_languages): Add guile.
10852 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10853 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10854 * gdbtypes.c (get_unsigned_type_max): New function.
10855 (get_signed_type_minmax): New function.
10856 * gdbtypes.h (get_unsigned_type_max): Declare.
10857 (get_signed_type_minmax): Declare.
10858 * guile/README: New file.
10859 * guile/guile-internal.h: New file.
10860 * guile/guile.c: New file.
10861 * guile/guile.h: New file.
10862 * guile/scm-arch.c: New file.
10863 * guile/scm-auto-load.c: New file.
10864 * guile/scm-block.c: New file.
10865 * guile/scm-breakpoint.c: New file.
10866 * guile/scm-disasm.c: New file.
10867 * guile/scm-exception.c: New file.
10868 * guile/scm-frame.c: New file.
10869 * guile/scm-gsmob.c: New file.
10870 * guile/scm-iterator.c: New file.
10871 * guile/scm-lazy-string.c: New file.
10872 * guile/scm-math.c: New file.
10873 * guile/scm-objfile.c: New file.
10874 * guile/scm-ports.c: New file.
10875 * guile/scm-pretty-print.c: New file.
10876 * guile/scm-safe-call.c: New file.
10877 * guile/scm-string.c: New file.
10878 * guile/scm-symbol.c: New file.
10879 * guile/scm-symtab.c: New file.
10880 * guile/scm-type.c: New file.
10881 * guile/scm-utils.c: New file.
10882 * guile/scm-value.c: New file.
10883 * guile/lib/gdb.scm: New file.
10884 * guile/lib/gdb/boot.scm: New file.
10885 * guile/lib/gdb/experimental.scm: New file.
10886 * guile/lib/gdb/init.scm: New file.
10887 * guile/lib/gdb/iterator.scm: New file.
10888 * guile/lib/gdb/printing.scm: New file.
10889 * guile/lib/gdb/types.scm: New file.
10890 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10891 (VPATH): Add $(GUILE_SRCDIR).
10892 (GUILE_DIR): New variable.
10893 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10894 (all): Add stamp-guile dependency.
10895 (stamp-guile): New rule.
10896 (clean-guile, install-guile, uninstall-guile): New rules.
10897 (install-only): Add install-guile dependency.
10898 (uninstall): Add uninstall-guile dependency.
10899 (clean): Add clean-guile dependency.
10900
10901 2014-02-09 Doug Evans <xdje42@gmail.com>
10902
10903 Revert this patch (which I approved, mea culpa).
10904
10905 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10906
10907 * Makefile.in (all-lib): Remove.
10908 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10909
10910 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10911
10912 Fix Python stack corruption.
10913 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10914 gdb_py_longest.
10915
10916 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10917
10918 * Makefile.in (all-lib): Remove.
10919 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10920
10921 2014-02-07 Doug Evans <dje@google.com>
10922
10923 * extension-priv.h (extension_language_script_ops): Add comment.
10924 (extension_language_ops): Add comment.
10925 (active_ext_lang_state): Fix typo in comment.
10926
10927 2014-02-07 Pedro Alves <palves@redhat.com>
10928
10929 PR breakpoints/16292
10930 * infrun.c (handle_signal_stop) <signal arrives while stepping
10931 over a breakpoint>: Switch back to the stepping thread.
10932
10933 2014-02-07 Yao Qi <yao@codesourcery.com>
10934
10935 * target.c (target_xfer_partial): Return zero if LEN is zero.
10936
10937 2014-02-07 Yao Qi <yao@codesourcery.com>
10938
10939 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10940 (ld_so_xfer_auxv): Likewise.
10941 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10942 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10943 * corelow.c (core_xfer_partial): Likewise.
10944 * ctf.c (ctf_xfer_partial): Likewise.
10945 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10946 (darwin_xfer_partial): Likewise.
10947 * exec.c (exec_xfer_partial): Likewise.
10948 * gnu-nat.c (gnu_xfer_partial): Likewise.
10949 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10950 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10951 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10952 * linux-nat.c (linux_xfer_siginfo): Likewise.
10953 (linux_proc_xfer_spu): Likewise.
10954 * procfs.c (procfs_xfer_partial): Likewise.
10955 * record-full.c (record_full_xfer_partial): Likewise.
10956 (record_full_core_xfer_partial): Likewise.
10957 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10958 * remote.c (remote_write_qxfer): Likewise.
10959 (remote_write_qxfer, remote_read_qxfer): Likewise.
10960 (remote_xfer_partial): Likewise.
10961 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10962 (rs6000_xfer_shared_libraries): Likewise.
10963 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10964 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10965 (spu_xfer_partial): Likewise.
10966 * target.c (memory_xfer_partial_1): Likewise.
10967 * tracepoint.c (tfile_xfer_partial): Likewise.
10968 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10969 (windows_xfer_partial): Likewise.
10970
10971 2014-02-07 Yao Qi <yao@codesourcery.com>
10972
10973 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10974 comments.
10975 (core_xfer_shared_libraries_aix): Likewise.
10976 * gdbarch.c, gdbarch.h: Regenerated.
10977 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10978 ULONGEST. Change 'len_avail' type to ULONGEST.
10979 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10980 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10981 declaration.
10982 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10983
10984 2014-02-07 Yao Qi <yao@codesourcery.com>
10985
10986 * corefile.c (memory_error): Get 'exception' from ERR and pass
10987 'exception' to throw_error.
10988
10989 2014-02-06 Doug Evans <xdje42@gmail.com>
10990
10991 * configure.ac (libpython checking): Remove all but python.o from
10992 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10993 * configure: Regenerate.
10994
10995 * Makefile.in (SFILES): Add extension.c.
10996 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10997 (COMMON_OBS): Add extension.o.
10998 * extension.h: New file.
10999 * extension-priv.h: New file.
11000 * extension.c: New file.
11001
11002 * python/python-internal.h: #include "extension.h".
11003 (gdbpy_auto_load_enabled): Declare.
11004 (gdbpy_apply_val_pretty_printer): Declare.
11005 (gdbpy_apply_frame_filter): Declare.
11006 (gdbpy_preserve_values): Declare.
11007 (gdbpy_breakpoint_cond_says_stop): Declare.
11008 (gdbpy_breakpoint_has_cond): Declare.
11009 (void source_python_script_for_objfile): Delete.
11010 * python/python.c: #include "extension-priv.h".
11011 Delete inclusion of "observer.h".
11012 (extension_language_python): Moved here and renamed from
11013 script_language_python in py-auto-load.c.
11014 Redefined to be of type extension_language_defn.
11015 (python_extension_script_ops): New global.
11016 (python_extension_ops): New global.
11017 (struct python_env): New member previous_active.
11018 (restore_python_env): Call restore_active_ext_lang.
11019 (ensure_python_env): Call set_active_ext_lang.
11020 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11021 New arg extlang.
11022 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11023 New arg extlang.
11024 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11025 New arg extlang.
11026 (gdbpy_eval_from_control_command): Renamed from
11027 eval_python_from_control_command, made static. New arg extlang.
11028 (gdbpy_source_script) Renamed from source_python_script, made static.
11029 New arg extlang.
11030 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11031 result to int. New arg extlang.
11032 (gdbpy_source_objfile_script): Renamed from
11033 source_python_script_for_objfile, made static. New arg extlang.
11034 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11035 static. New args extlang, extlang_printers. Change result type to
11036 "void".
11037 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11038 static. New arg extlang. Rename arg printers to extlang_printers
11039 and change type to ext_lang_type_printers *.
11040 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11041 static. Replace argument arg with extlang, extlang_printers.
11042 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11043 (!HAVE_PYTHON, source_python_script): Delete.
11044 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11045 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11046 (!HAVE_PYTHON, start_type_printers): Delete.
11047 (!HAVE_PYTHON, apply_type_printers): Delete.
11048 (!HAVE_PYTHON, free_type_printers): Delete.
11049 (_initialize_python): Delete call to observer_attach_before_prompt.
11050 (finalize_python): Set/restore active extension language.
11051 (gdbpy_finish_initialization) Renamed from
11052 finish_python_initialization, made static. New arg extlang.
11053 (gdbpy_initialized): New function.
11054 * python/python.h: #include "extension.h". Delete #include
11055 "value.h", "mi/mi-cmds.h".
11056 (extension_language_python): Declare.
11057 (GDBPY_AUTO_FILE_NAME): Delete.
11058 (enum py_bt_status): Moved to extension.h and renamed to
11059 ext_lang_bt_status.
11060 (enum frame_filter_flags): Moved to extension.h.
11061 (enum py_frame_args): Moved to extension.h and renamed to
11062 ext_lang_frame_args.
11063 (finish_python_initialization): Delete.
11064 (eval_python_from_control_command): Delete.
11065 (source_python_script): Delete.
11066 (apply_val_pretty_printer): Delete.
11067 (apply_frame_filter): Delete.
11068 (preserve_python_values): Delete.
11069 (gdbpy_script_language_defn): Delete.
11070 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11071 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11072
11073 * auto-load.c: #include "extension.h".
11074 (GDB_AUTO_FILE_NAME): Delete.
11075 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11076 (script_language_gdb): Delete, moved to extension.c and renamed to
11077 extension_language_gdb.
11078 (source_gdb_script_for_objfile): Delete.
11079 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11080 (loaded_script): Change type of language member to
11081 struct extension_language_defn *.
11082 (init_loaded_scripts_info): Initialize
11083 unsupported_script_warning_printed.
11084 (maybe_add_script): Make static. Change type of language arg to
11085 struct extension_language_defn *.
11086 (clear_section_scripts): Reset unsupported_script_warning_printed.
11087 (auto_load_objfile_script_1): Rewrite to use extension language API.
11088 (auto_load_objfile_script): Make public. Remove support-compiled-in
11089 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11090 (source_section_scripts): Rewrite to use extension language API.
11091 (load_auto_scripts_for_objfile): Rewrite to use
11092 auto_load_scripts_for_objfile.
11093 (collect_matching_scripts_data): Change type of language member to
11094 struct extension_language_defn *.
11095 (auto_load_info_scripts): Change type of language arg to
11096 struct extension_language_defn *.
11097 (unsupported_script_warning_print): New function.
11098 (script_not_found_warning_print): Make static.
11099 (_initialize_auto_load): Rewrite construction of scripts-directory
11100 help.
11101 * auto-load.h (struct objfile): Add forward decl.
11102 (struct script_language): Delete.
11103 (struct auto_load_pspace_info): Add forward decl.
11104 (struct extension_language_defn): Add forward decl.
11105 (maybe_add_script): Delete.
11106 (auto_load_objfile_script): Declare.
11107 (script_not_found_warning_print): Delete.
11108 (auto_load_info_scripts): Update prototype.
11109 (auto_load_gdb_scripts_enabled): Declare.
11110 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11111 auto_load_python_scripts_enabled and made public.
11112 (script_language_python): Delete, moved to python.c.
11113 (gdbpy_script_language_defn): Delete.
11114 (info_auto_load_python_scripts): Update to use
11115 extension_language_python.
11116
11117 * breakpoint.c (condition_command): Replace call to
11118 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11119 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11120 with call to breakpoint_ext_lang_cond_says_stop.
11121 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11122 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11123 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11124 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11125 New arg slang.
11126 (local_setattro): Print name of extension language with existing
11127 stop condition.
11128
11129 * valprint.c (val_print, value_print): Update to call
11130 apply_ext_lang_val_pretty_printer.
11131 * cp-valprint.c (cp_print_value): Update call to
11132 apply_ext_lang_val_pretty_printer.
11133 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11134 (gdbpy_apply_val_pretty_printer): Renamed from
11135 apply_val_pretty_printer. New arg extlang.
11136 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11137
11138 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11139 extension language API.
11140 * cli/cli-script.c (execute_control_command): Update to call
11141 eval_ext_lang_from_control_command.
11142
11143 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11144 enum ext_lang_bt_status values. Update call to
11145 apply_ext_lang_frame_filter.
11146 (mi_cmd_stack_list_locals): Ditto.
11147 (mi_cmd_stack_list_args): Ditto.
11148 (mi_cmd_stack_list_variables): Ditto.
11149 * mi/mi-main.c: Delete #include "python/python-internal.h".
11150 Add #include "extension.h".
11151 (mi_cmd_list_features): Replace reference to python internal variable
11152 gdb_python_initialized with call to ext_lang_initialized_p.
11153
11154 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11155 Update to use enum ext_lang_frame_args. Update to call
11156 apply_ext_lang_frame_filter.
11157 * python/py-framefilter.c (extract_sym): Update to use enum
11158 ext_lang_bt_status.
11159 (extract_value, py_print_type, py_print_value): Ditto.
11160 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11161 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11162 (py_print_frame): Ditto.
11163 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11164 New arg extlang. Update to use enum ext_lang_bt_status.
11165
11166 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11167 finish_python_initialization. Replace with call to
11168 finish_ext_lang_initialization.
11169
11170 * typeprint.c (do_free_global_table): Update to call
11171 free_ext_lang_type_printers.
11172 (create_global_typedef_table): Update to call
11173 start_ext_lang_type_printers.
11174 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11175 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11176 (type_print_options): Change type of global_printers from "void *"
11177 to "struct ext_lang_type_printers *".
11178
11179 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11180 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11181 (gdbpy_preserve_values): Renamed from preserve_python_values.
11182 New arg extlang.
11183 (!HAVE_PYTHON, preserve_python_values): Delete.
11184
11185 * utils.c (quit_flag): Delete, moved to extension.c.
11186 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11187 extension.c.
11188
11189 * eval.c: Delete #include "python/python.h".
11190 * main.c: Delete #include "python/python.h".
11191
11192 * defs.h: Update comment.
11193
11194 2014-02-06 Joel Brobecker <brobecker@adacore.com>
11195
11196 GDB 7.7 released.
11197
11198 2014-02-05 Mark Kettenis <kettenis@gnu.org>
11199
11200 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11201 defined.
11202
11203 2014-02-05 Yao Qi <yao@codesourcery.com>
11204
11205 * remote.c (remote_pass_signals): Remove local 'buf' and use
11206 rs->buf.
11207 (remote_program_signals): Likewise.
11208
11209 2014-02-05 Yao Qi <yao@codesourcery.com>
11210
11211 * ctf.c: Include "inferior.h" and "gdbthread.h".
11212 (CTF_PID): A new macro.
11213 (ctf_open): Call inferior_appeared and add_thread_silent.
11214 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11215 (ctf_thread_alive): New function.
11216 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11217
11218 2014-02-05 Yao Qi <yao@codesourcery.com>
11219
11220 Revert this patch:
11221
11222 2013-05-24 Yao Qi <yao@codesourcery.com>
11223
11224 * tracepoint.c (TFILE_PID): Remove.
11225 (tfile_open): Don't add thread and inferior.
11226 (tfile_close): Don't set 'inferior_ptid'. Don't call
11227 exit_inferior_silent.
11228 (tfile_thread_alive): Remove.
11229 (init_tfile_ops): Don't set field 'to_thread_alive' of
11230 tfile_ops.
11231
11232 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11233
11234 * remote.c (remote_start_remote): Call remote_check_symbols even
11235 if only symbol-file (not file) has been given.
11236
11237 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11238
11239 * gdbarch.sh (skip_entrypoint): New callback.
11240 * gdbarch.c, gdbarch.h: Regenerate.
11241 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11242 * infrun.c (fill_in_stop_func): Likewise.
11243 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11244 (ppc_elfv2_elf_make_msymbol_special): New function.
11245 (ppc_elfv2_skip_entrypoint): Likewise.
11246 (ppc_linux_init_abi): Install them for ELFv2.
11247
11248 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11249
11250 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11251 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11252 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11253 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11254 structures returned in GPRs.
11255
11256 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11257
11258 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11259 offset to the stack parameter list for the ELFv2 ABI.
11260
11261 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11262
11263 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11264 set_gdbarch_convert_from_func_ptr_addr and
11265 set_gdbarch_elf_make_msymbol_special for ELFv1.
11266 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11267 function descriptors on ELFv1.
11268 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11269 set up r12 at function entry.
11270
11271 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11272
11273 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11274 (struct gdbarch_tdep): New member elf_abi.
11275
11276 * rs6000-tdep.c: Include "elf/ppc64.h".
11277 (rs6000_gdbarch_init): Detect ELF ABI version.
11278
11279 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11280
11281 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11282 within a register pair holding a DFP 128-bit value on little-endian.
11283 (ppc64_sysv_abi_return_value_base): Likewise.
11284 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11285 (dfp_pseudo_register_write): Likewise.
11286
11287 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11288
11289 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11290 offset on little-endian when passing _Decimal32.
11291 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11292
11293 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11294
11295 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11296 of the overlapped FP register within the VSX register on little-
11297 endian platforms.
11298 (efpr_pseudo_register_write): Likewise.
11299
11300 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11301
11302 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11303 offset on little-endian when passing small structures.
11304
11305 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11306
11307 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11308 (struct ppc64_sysv_argpos): New data structure.
11309 (ppc64_sysv_abi_push_float): Remove.
11310 (ppc64_sysv_abi_push_val): New function.
11311 (ppc64_sysv_abi_push_integer): Likewise.
11312 (ppc64_sysv_abi_push_freg): Likewise.
11313 (ppc64_sysv_abi_push_vreg): Likewise.
11314 (ppc64_sysv_abi_push_param): Likewise.
11315 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11316 (ppc64_sysv_abi_return_value_base): New function.
11317 (ppc64_sysv_abi_return_value): Refactor to use it.
11318
11319 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11320
11321 * NEWS: Document new target powerpc64le-*-linux*.
11322
11323 2014-02-04 Mark Kettenis <kettenis@gnu.org>
11324
11325 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11326 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11327 core dumps.
11328 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11329 register set used in ELF core dumps. Add floating-point register set.
11330
11331 2014-02-03 Kevin Buettner <kevinb@redhat.com>
11332
11333 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11334 dwarf2_to_gdb[] table using symbolic constants. Adjust
11335 penultimate entry from number representing the PC register
11336 to symbolic constant representing the MDR register. Add
11337 constant for the PC register to the end of the table.
11338
11339 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11340
11341 * bsd-kvm.c: Include <sys/param.h>
11342
11343 2014-02-03 Mark Kettenis <kettenis@gnu.org>
11344
11345 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11346
11347 2014-01-31 Joel Brobecker <brobecker@adacore.com>
11348
11349 * ada-lang.h (clear_ada_sym_cache): Delete.
11350
11351 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11352
11353 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11354
11355 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11356
11357 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11358 the sigreturn register save area only if the syscall is
11359 sigreturn.
11360
11361 2014-01-29 Joel Brobecker <brobecker@adacore.com>
11362
11363 * valops.c (value_slice): Minor reformatting.
11364
11365 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11366
11367 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11368
11369 2014-01-28 Joel Brobecker <brobecker@adacore.com>
11370
11371 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11372 New static globals.
11373 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11374 (ada_ignore_descriptive_types_p): New static global.
11375 (find_parallel_type_by_descriptive_type): Return immediately
11376 if ada_ignore_descriptive_types_p is set.
11377 (_initialize_ada_language): Register new commands "maintenance
11378 set ada", "maintenance show ada", "maintenance set ada
11379 ignore-descriptive-types" and "maintenance show ada
11380 ignore-descriptive-types".
11381 * NEWS: Add entry for new "maint ada set/show
11382 ignore-descriptive-types" commands.
11383
11384 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11385
11386 * record-btrace.c (record_btrace_close): Call btrace_teardown
11387 for all threads.
11388
11389 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11390
11391 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11392 "ui-out.h".
11393
11394 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11395
11396 * ada-typeprint (type_is_full_subrange_of_target_type):
11397 New function.
11398 (print_range): Add parameter bounds_prefered_p. If not set,
11399 try printing range types using the name of their base type.
11400 (print_range_type): Add parameter bounds_prefered_p.
11401 Use it in call to print_range.
11402 (print_array_type, ada_print_type): Update calls to print_range
11403 and print_range_type.
11404
11405 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11406
11407 * ada-typeprint.c (print_array_type, print_choices, print_range)
11408 (print_range_bound, print_dynamic_range_bound, print_range_type):
11409 Remove declaration.
11410
11411 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11412
11413 * ada-typeprint.c (print_range): Add missing empty line
11414 after local declaration.
11415
11416 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11417
11418 * ada-valprint.c (print_optional_low_bound): Get index_type's
11419 target type for as long as it is a TYPE_CODE_RANGE.
11420
11421 2014-01-27 Joel Brobecker <brobecker@adacore.com>
11422
11423 * procfs.c (procfs_make_note_section): Remove assertion and
11424 associated comment.
11425
11426 2014-01-24 Yao Qi <yao@codesourcery.com>
11427
11428 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11429 * corelow.c (get_core_siginfo): Likewise.
11430
11431 2014-01-24 Yao Qi <yao@codesourcery.com>
11432
11433 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11434 ULONGEST. Don't check 'len' is negative.
11435 (remote_write_bytes): Change type of 'len' to ULONGEST.
11436
11437 2014-01-23 Tom Tromey <tromey@redhat.com>
11438
11439 PR python/16485:
11440 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11441 Handle exception from frame.block.
11442 (FrameVars.fetch_frame_locals): Likewise.
11443
11444 2014-01-23 Tom Tromey <tromey@redhat.com>
11445
11446 PR python/16487:
11447 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11448 on a NULL pointer. Move "goto error" to correct place.
11449
11450 2014-01-23 Tom Tromey <tromey@redhat.com>
11451
11452 PR python/16491:
11453 * python/py-framefilter.c (apply_frame_filter): Call
11454 ensure_python_env after computing gdbarch.
11455
11456 2014-01-23 Yao Qi <yao@codesourcery.com>
11457
11458 * target.c (raw_memory_xfer_partial): Change argument type
11459 from void * to gdb_byte *.
11460 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11461
11462 2014-01-22 Doug Evans <dje@google.com>
11463
11464 New gdbserver option --debug-format=timestamp.
11465 * NEWS: Mention it.
11466
11467 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11468
11469 * syscalls/s390x-linux.xml: New file.
11470 * syscalls/s390-linux.xml: New file.
11471 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11472 (XML_SYSCALL_FILENAME_S390X): Likewise.
11473 (op_svc): New enum value for SVC opcode.
11474 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11475 (s390_linux_get_syscall_number): New function.
11476 (s390_gdbarch_init): Register '*get_syscall_number' and the
11477 syscall xml file name.
11478 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11479 "s390-linux.xml" and "s390x-linux.xml".
11480 * NEWS: Announce new feature.
11481
11482 2014-01-22 Baruch Siach <baruch@tkos.co.il>
11483
11484 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11485
11486 2014-01-22 Pedro Alves <palves@redhat.com>
11487
11488 * xtensa-config.c: Include defs.h.
11489
11490 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11491
11492 * common/common-utils.h: Add "ARI:" comment beside __func__
11493 reference.
11494
11495 2014-01-22 Joel Brobecker <brobecker@adacore.com>
11496
11497 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11498 documentation a bit.
11499
11500 2014-01-21 Roland McGrath <mcgrathr@google.com>
11501
11502 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11503 * configure: Regenerate.
11504 * aclocal.m4: Regenerate.
11505 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11506 New substituted variables.
11507 (install-strip): New target.
11508 (INSTALL_SCRIPT): New substituted variable.
11509 (FLAGS_TO_PASS): Add it.
11510 (install-only): Use $(INSTALL_SCRIPT) rather than
11511 $(INSTALL_PROGRAM) for gcore.
11512
11513 2014-01-20 Tom Tromey <tromey@redhat.com>
11514
11515 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11516 together.
11517
11518 2014-01-20 Tom Tromey <tromey@redhat.com>
11519
11520 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11521 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11522 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11523 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11524 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11525 (struct cmd_list_element) <flags>: Remove.
11526 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11527 doc_allocated>: New fields.
11528 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11529 bitfields.
11530 * maint.c (maintenance_do_deprecate): Update.
11531 * top.c (execute_command): Update.
11532
11533 2014-01-20 Baruch Siach <baruch@tkos.co.il>
11534
11535 * xtensa-linux-nat.c: Include asm/ptrace.h.
11536
11537 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11538
11539 * Makefile.in (SFILES): Add d-support.c.
11540 (COMMON_OBS): Add d-support.o.
11541 * d-lang.h (d_parse_symbol): Add comment, now defined in
11542 d-support.c.
11543 * d-lang.c (parse_call_convention)
11544 (parse_attributes, parse_function_types)
11545 (parse_function_args, parse_type, parse_identifier)
11546 (call_convention_p, d_parse_symbol): Move functions to ...
11547 * d-support.c: ... New file.
11548
11549 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11550
11551 * d-lang.h (d_parse_symbol): Add declaration.
11552 * d-lang.c (extract_identifiers)
11553 (extract_type_info): Remove functions.
11554 (parse_call_convention, parse_attributes)
11555 (parse_function_types, parse_function_args)
11556 (parse_type, parse_identifier, call_convention_p)
11557 (d_parse_symbol): New functions.
11558 (d_demangle): Use d_parse_symbol to demangle D symbols.
11559
11560 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11561
11562 * d-lang.h (struct builtin_d_type): New data type.
11563 (builtin_d_type): Add declaration.
11564 * d-lang.c (d_language_arch_info, build_d_types)
11565 (builtin_d_type): New functions.
11566 (enum d_primitive_types): New data type.
11567 (d_language_defn): Change c_language_arch_info to
11568 d_language_arch_info.
11569 (d_type_data): New static variable.
11570 (_initialize_d_language): Initialize d_type_data.
11571
11572 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11573
11574 * d-lang.h (d_main_name): Add declaration.
11575 * d-lang.c (d_main_name): New function.
11576 * symtab.c (find_main_name): Add call to d_main_name.
11577
11578 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11579
11580 * d-lang.c (d_language_defn): Change macro_expansion_c to
11581 macro_expansion_no.
11582
11583 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11584
11585 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11586
11587 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11588
11589 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11590 gdb_exception" declaration.
11591 * remote.c (getpkt_or_notif_sane): Likewise.
11592
11593 2014-01-17 Doug Evans <dje@google.com>
11594
11595 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11596 function, contents of dirnames_to_char_ptr_vec_append moved here.
11597 (delim_string_to_char_ptr_vec): New function.
11598 (dirnames_to_char_ptr_vec_append): Rewrite.
11599 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11600
11601 2014-01-17 Doug Evans <dje@google.com>
11602
11603 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11604 and moved here ...
11605 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11606 #include "common-utils.h".
11607 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11608 * common/vec.h (VEC_ASSERT_PASS): Update.
11609 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11610 (MACH_CHECK_ERROR): Update.
11611
11612 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11613
11614 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11615 comments.
11616 * gdbarch.h: Regenerate.
11617
11618 2014-01-16 Tom Tromey <tromey@redhat.com>
11619
11620 * value.c (struct value) <regnum>: Move earlier.
11621
11622 2014-01-16 Tom Tromey <tromey@redhat.com>
11623
11624 * remote.c (extended_remote_create_inferior): Rename from
11625 extended_remote_create_inferior_1. Add "ops" argument. Remove
11626 old implementation.
11627
11628 2014-01-16 Pedro Alves <palves@redhat.com>
11629
11630 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11631 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11632 the backchain.
11633
11634 2014-01-16 Doug Evans <dje@google.com>
11635
11636 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11637
11638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11639
11640 * btrace.h (btrace_thread_flag): New.
11641 (struct btrace_thread_info) <flags>: New.
11642 * record-btrace.c (record_btrace_resume_thread)
11643 (record_btrace_find_thread_to_move, btrace_step_no_history)
11644 (btrace_step_stopped, record_btrace_start_replaying)
11645 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11646 (record_btrace_find_resume_thread): New.
11647 (record_btrace_resume, record_btrace_wait): Extend.
11648 (record_btrace_can_execute_reverse): New.
11649 (record_btrace_open): Fail in non-stop mode.
11650 (record_btrace_set_replay): Split into this, ...
11651 (record_btrace_stop_replaying): ... this, ...
11652 (record_btrace_clear_histories): ... and this.
11653 (init_record_btrace_ops): Init to_can_execute_reverse.
11654 * NEWS: Announce it.
11655
11656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11657
11658 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11659 (forward_target_decr_pc_after_break)
11660 (target_decr_pc_after_break): New.
11661 * target.c (forward_target_decr_pc_after_break)
11662 (target_decr_pc_after_break): New.
11663 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11664 instead of gdbarch_decr_pc_after_break.
11665 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11666 instead of gdbarch_decr_pc_after_break.
11667 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11668 instead of gdbarch_decr_pc_after_break.
11669 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11670 instead of gdbarch_decr_pc_after_break.
11671 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11672 instead of gdbarch_decr_pc_after_break.
11673 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11674 instead of gdbarch_decr_pc_after_break.
11675
11676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11677
11678 * btrace.c: Include regcache.h.
11679 (btrace_add_pc): New.
11680 (btrace_enable): Call btrace_add_pc.
11681 (btrace_is_empty): New.
11682 * btrace.h (btrace_is_empty): New.
11683 * record-btrace.c (require_btrace, record_btrace_info): Call
11684 btrace_is_empty.
11685
11686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11687
11688 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11689 Support delta reads.
11690 (linux_disable_btrace): Change return type.
11691 * common/linux-btrace.h (linux_read_btrace): Change parameters
11692 and return type to allow error reporting. Update users.
11693 (linux_disable_btrace): Change return type. Update users.
11694 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11695 New.
11696 (btrace_error): New.
11697 (btrace_block) <begin>: Comment on BEGIN == 0.
11698 * btrace.c (btrace_compute_ftrace): Start from the end of
11699 the current trace.
11700 (btrace_stitch_trace, btrace_clear_history): New.
11701 (btrace_fetch): Read delta trace, return if replaying.
11702 (btrace_clear): Move clear history code to btrace_clear_history.
11703 (parse_xml_btrace): Throw an error if parsing failed.
11704 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11705 and return type to allow error reporting.
11706 (target_read_btrace): Change parameters and return type to allow
11707 error reporting.
11708 * target.c (target_read_btrace): Update.
11709 * remote.c (remote_read_btrace): Support delta reads. Pass
11710 errors on.
11711 * NEWS: Announce it.
11712
11713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11714
11715 * record.h (record_btrace_frame_unwind)
11716 (record_btrace_tailcall_frame_unwind): New declarations.
11717 * dwarf2-frame: Include record.h
11718 (dwarf2_frame_cfa): Throw an error for btrace frames.
11719 * record-btrace.c: Include hashtab.h.
11720 (btrace_get_bfun_name): New.
11721 (btrace_call_history): Call btrace_get_bfun_name.
11722 (struct btrace_frame_cache): New.
11723 (bfcache): New.
11724 (bfcache_hash, bfcache_eq, bfcache_new): New.
11725 (btrace_get_frame_function): New.
11726 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11727 (record_btrace_frame_this_id): Compute own id.
11728 (record_btrace_frame_prev_register): Provide PC, throw_error
11729 for all other registers.
11730 (record_btrace_frame_sniffer): Detect btrace frames.
11731 (record_btrace_tailcall_frame_sniffer): New.
11732 (record_btrace_frame_dealloc_cache): New.
11733 (record_btrace_frame_unwind): Add new functions.
11734 (record_btrace_tailcall_frame_unwind): New.
11735 (_initialize_record_btrace): Allocate cache.
11736 * btrace.c (btrace_clear): Call reinit_frame_cache.
11737 * NEWS: Announce it.
11738
11739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11740
11741 * record-btrace.c (record_btrace_set_replay)
11742 (record_btrace_goto_begin, record_btrace_goto_end)
11743 (record_btrace_goto): New.
11744 (init_record_btrace_ops): Initialize them.
11745 * NEWS: Announce it.
11746
11747 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11748
11749 * record-btrace.c (record_btrace_find_new_threads)
11750 (record_btrace_thread_alive): New.
11751 (init_record_btrace_ops): Initialize to_find_new_threads and
11752 to_thread_alive.
11753
11754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11755
11756 * record-btrace.c (record_btrace_resume): New.
11757 (record_btrace_wait): New.
11758 (init_record_btrace_ops): Initialize to_wait and to_resume.
11759
11760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11761
11762 * record-btrace.c (record_btrace_xfer_partial)
11763 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11764 (record_btrace_allow_memory_access): New.
11765 (init_record_btrace_ops): Initialize new methods.
11766 * target.c (raw_memory_xfer_partial): Bail out if target reports
11767 that this memory is not available.
11768
11769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11770
11771 * target.h (target_ops) <to_insert_breakpoint>
11772 <to_remove_breakpoint>: Add target_ops parameter.
11773 (forward_target_insert_breakpoint): New.
11774 (forward_target_remove_breakpoint): New.
11775 (memory_remove_breakpoint, memory_insert_breakpoint):
11776 Add target_ops parameter.
11777 * target.c (target_insert_breakpoint): Split into this and ...
11778 (forward_target_insert_breakpoint): ... this.
11779 (target_remove_breakpoint): Split into this and ...
11780 (forward_target_remove_breakpoint): ... this.
11781 (debug_to_insert_breakpoint): Add target_ops parameter.
11782 Call forward_target_insert_breakpoint.
11783 (debug_to_remove_breakpoint): Add target_ops parameter.
11784 Call forward_target_remove_breakpoint.
11785 (update_current_target): Do not inherit or default to_insert_breakpoint
11786 and to_remove_breakpoint.
11787 * corelow.c (ignore): Add target_ops parameter.
11788 * exec.c (ignore): Add target_ops parameter.
11789 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11790 Add target_ops parameter.
11791 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11792 Add target_ops parameter.
11793 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11794 Add target_ops parameter.
11795 * record-full.c (record_full_beneath_to_insert_breakpoint)
11796 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11797 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11798 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11799 (record_full_core_remove_breakpoint): Add target_ops parameter.
11800 Update users.
11801 (record_full_beneath_to_insert_breakpoint_ops)
11802 (record_full_beneath_to_remove_breakpoint_ops)
11803 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11804 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11805 tmp_to_remove_breakpoint_ops,
11806 record_full_beneath_to_insert_breakpoint_ops, and
11807 record_full_beneath_to_remove_breakpoint_ops.
11808 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11809 (m32r_remove_breakpoint): Add target_ops parameter.
11810 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11811 Add target_ops parameter.
11812 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11813 Add target_ops parameter.
11814
11815 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11816 Markus Metzger <markus.t.metzger@intel.com>
11817
11818 * record-btrace.c: Include frame-unwind.h.
11819 (record_btrace_frame_unwind_stop_reason)
11820 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11821 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11822 New.
11823 (init_record_btrace_ops): Install it.
11824
11825 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11826
11827 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11828 get_prev_frame_1.
11829
11830 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11831
11832 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11833 earlier.
11834
11835 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11836
11837 * frame-unwind.c: Include target.h.
11838 (frame_unwind_try_unwinder): New function with code from ...
11839 (frame_unwind_find_by_frame): ... here. New variable
11840 unwinder_from_target, call also target_get_unwinder)
11841 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11842 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11843 * target.h (struct target_ops): New fields to_get_unwinder and
11844 to_get_tailcall_unwinder.
11845 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11846
11847 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11848
11849 * record-btrace.c (record_btrace_fetch_registers)
11850 (record_btrace_store_registers)
11851 (record_btrace_to_prepare_to_store): New.
11852 (init_record_btrace_ops): Add the above.
11853
11854 2014-01-16 Tom Tromey <tromey@redhat.com>
11855
11856 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11857 * target.h (struct target_ops) <to_prepare_to_store>: Add
11858 argument.
11859 (target_prepare_to_store): Add argument.
11860 * target.c (debug_to_prepare_to_store): Add argument.
11861 (update_current_target): Update.
11862 * remote.c (remote_prepare_to_store): Add 'self' argument.
11863 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11864 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11865 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11866 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11867 argument.
11868 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11869 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11870 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11871 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11872 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11873
11874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11875
11876 * btrace.h (replay) <replay>: New.
11877 (btrace_is_replaying): New.
11878 * btrace.c (btrace_clear): Free replay iterator.
11879 (btrace_is_replaying): New.
11880 * record-btrace.c (record_btrace_is_replaying): New.
11881 (record_btrace_info): Print insn number if replaying.
11882 (record_btrace_insn_history): Start at replay position.
11883 (record_btrace_call_history): Start at replay position.
11884 (init_record_btrace_ops): Init to_record_is_replaying.
11885
11886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11887
11888 * record-btrace.c (record_btrace_insn_history_range): Include
11889 end.
11890 (record_btrace_insn_history_from): Adjust range.
11891 (record_btrace_call_history_range): Include
11892 end.
11893 (record_btrace_call_history_from): Adjust range.
11894 * NEWS: Announce changes.
11895
11896 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11897
11898 * record.h (enum record_print_flag)
11899 <record_print_indent_calls>: New.
11900 * record.c (get_call_history_modifiers): Recognize /c modifier.
11901 (_initialize_record): Document /c modifier.
11902 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11903 Reorder fields. Optionally indent the function name. Update
11904 all users.
11905 * NEWS: Announce changes.
11906
11907 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11908
11909 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11910
11911 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11912
11913 * btrace.c (ftrace_new_function): Start counting at one.
11914 * record-btrace.c (record_btrace_info): Adjust number of calls
11915 and insns.
11916 * NEWS: Announce it.
11917
11918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11919
11920 * record-btrace.c (btrace_call_history_insn_range): Print
11921 insn range as [begin, end].
11922
11923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11924
11925 * btrace.h (struct btrace_func_link): New.
11926 (enum btrace_function_flag): New.
11927 (struct btrace_inst): Rename to ...
11928 (struct btrace_insn): ...this. Update all users.
11929 (struct btrace_func) <ibegin, iend>: Remove.
11930 (struct btrace_func_link): New.
11931 (struct btrace_func): Rename to ...
11932 (struct btrace_function): ...this. Update all users.
11933 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11934 (number, level, flags>: New.
11935 (struct btrace_insn_iterator): Rename to ...
11936 (struct btrace_insn_history): ...this.
11937 Update all users.
11938 (struct btrace_insn_iterator, btrace_call_iterator): New.
11939 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11940 (struct btrace_target_info) <begin, end, level>
11941 <insn_history, call_history>: New.
11942 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11943 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11944 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11945 (btrace_call_number, btrace_call_begin, btrace_call_end)
11946 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11947 (btrace_find_function_by_number, btrace_set_insn_history)
11948 (btrace_set_call_history): New.
11949 * btrace.c (btrace_init_insn_iterator)
11950 (btrace_init_func_iterator, compute_itrace): Remove.
11951 (ftrace_print_function_name, ftrace_print_filename)
11952 (ftrace_skip_file): Change
11953 parameter to const.
11954 (ftrace_init_func): Remove.
11955 (ftrace_debug): Use new btrace_function fields.
11956 (ftrace_function_switched): Also consider gaining and
11957 losing symbol information).
11958 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11959 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11960 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11961 New.
11962 (ftrace_new_function): Move. Remove debug print.
11963 (ftrace_update_lines, ftrace_update_insns): New.
11964 (ftrace_update_function): Check for call, ret, and jump.
11965 (compute_ftrace): Renamed to ...
11966 (btrace_compute_ftrace): ...this. Rewritten to compute call
11967 stack.
11968 (btrace_fetch, btrace_clear): Updated.
11969 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11970 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11971 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11972 (btrace_call_number, btrace_call_begin, btrace_call_end)
11973 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11974 (btrace_find_function_by_number, btrace_set_insn_history)
11975 (btrace_set_call_history): New.
11976 * record-btrace.c (require_btrace): Use new btrace thread
11977 info fields.
11978 (record_btrace_info, btrace_insn_history)
11979 (record_btrace_insn_history, record_btrace_insn_history_range):
11980 Use new btrace thread info fields and new iterator.
11981 (btrace_func_history_src_line): Rename to ...
11982 (btrace_call_history_src_line): ...this. Use new btrace
11983 thread info fields.
11984 (btrace_func_history): Rename to ...
11985 (btrace_call_history): ...this. Use new btrace thread info
11986 fields and new iterator.
11987 (record_btrace_call_history, record_btrace_call_history_range):
11988 Use new btrace thread info fields and new iterator.
11989
11990 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11991
11992 * frame.h (frame_id_build_unavailable_stack_special): New.
11993 * frame.c (frame_id_build_unavailable_stack_special): New.
11994
11995 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11996
11997 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11998 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11999 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12000 to gdbarch.
12001 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12002 (i386_insn_is_jump, i386_jmp_p): New.
12003 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12004 insn_is_jump to gdbarch.
12005 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12006 * gdbarch.h: Regenerated.
12007 * gdbarch.c: Regenerated.
12008 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12009 (default_insn_is_jump): New.
12010 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12011 (default_insn_is_jump): New.
12012
12013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12014
12015 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12016 Change to ...
12017 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12018 (btrace_read_type) <btrace_read_new>: Change to ...
12019 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12020
12021 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12022
12023 * common/linux-btrace.c (linux_read_btrace): Free trace from
12024 previous iteration.
12025
12026 2014-01-15 Doug Evans <dje@google.com>
12027
12028 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12029 uint32_t.
12030
12031 2014-01-15 Tom Tromey <tromey@redhat.com>
12032
12033 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12034 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12035 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12036 (set_objfile_main_name): New function.
12037 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12038 language_of_main>: New fields.
12039 (set_objfile_main_name): Declare.
12040 * symtab.c (find_main_name): Loop over objfiles to find the main
12041 name and language.
12042 (set_main_name): Now static.
12043 (get_main_info): Add comment.
12044 * symtab.h (set_main_name): Don't declare.
12045
12046 2014-01-15 Tom Tromey <tromey@redhat.com>
12047
12048 * symtab.c (main_progspace_key): New global.
12049 (struct main_info): New.
12050 (name_of_main, language_of_main): Remove.
12051 (get_main_info, main_info_cleanup): New function.
12052 (set_main_name, main_name, main_language): Use get_main_info.
12053 (_initialize_symtab): Initialize main_progspace_key.
12054
12055 2014-01-15 Tom Tromey <tromey@redhat.com>
12056
12057 * dbxread.c (process_one_symbol): Update.
12058 * dwarf2read.c (read_partial_die): Update.
12059 * symfile.c (set_initial_language): Call main_language.
12060 * symtab.c (language_of_main): Now static.
12061 (set_main_name): Add 'lang' parameter.
12062 (find_main_name): Update.
12063 (main_language): New function.
12064 (symtab_observer_executable_changed): Update.
12065 * symtab.h (set_main_name): Update.
12066 (language_of_main): Remove.
12067 (main_language): Declare.
12068
12069 2014-01-15 Tom Tromey <tromey@redhat.com>
12070
12071 * symfile.c (init_entry_point_info): Use new "initialized" field.
12072 Update.
12073 * objfiles.h (struct entry_point) <initialized>: New field.
12074 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12075 (struct objfile) <ei>: ...here. Remove.
12076 * objfiles.c (entry_point_address_query): Update.
12077
12078 2014-01-15 Tom Tromey <tromey@redhat.com>
12079
12080 * objfiles.c (entry_point_address_query): Relocate entry point
12081 address.
12082 (objfile_relocate1): Do not relocate entry point address.
12083 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12084 <the_bfd_section_index>: New field.
12085 * symfile.c (init_entry_point_info): Find the entry point's
12086 section.
12087
12088 2014-01-15 Tom Tromey <tromey@redhat.com>
12089
12090 * solib-frv.c (enable_break): Use entry_point_address_query.
12091
12092 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12093
12094 * NEWS: Add note on improved process record-replay on
12095 arm*-linux* targets.
12096
12097 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12098
12099 * arm-tdep.c (enum arm_record_result): New enum.
12100 (arm_record_unsupported_insn): New function.
12101 (arm_record_coproc_data_proc): Removed.
12102 (thumb2_record_ld_st_multiple): New function.
12103 (thumb2_record_ld_st_dual_ex_tbb): New function.
12104 (thumb2_record_data_proc_sreg_mimm): New function.
12105 (thumb2_record_ps_dest_generic): New function.
12106 (thumb2_record_branch_misc_cntrl): New function.
12107 (thumb2_record_str_single_data): New function.
12108 (thumb2_record_ld_mem_hints): New function.
12109 (thumb2_record_ld_word): New function.
12110 (thumb2_record_lmul_lmla_div): New function.
12111 (thumb2_record_decode_insn_handler): New function.
12112 (decode_insn): Add thumb32 instruction handlers.
12113
12114 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12115
12116 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12117 (struct arm_linux_record_tdep): Declare.
12118 (arm_canonicalize_syscall): New function.
12119 (arm_all_but_pc_registers_record): New function.
12120 (arm_linux_syscall_record): New function.
12121 (arm_linux_init_abi): Add syscall recording constructs.
12122 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12123 decoding. (arm_record_coproc_data_proc): Update arm syscall
12124 decoding.
12125 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12126 <arm_syscall_record>: New field.
12127 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12128 gdb_target_obs.
12129
12130 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12131
12132 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12133 register for push instruction recording.
12134
12135 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12136
12137 * arm-tdep.c (thumb_record_misc): Update to correct logical
12138 error while recording ldm, ldmia and pop instructions.
12139
12140 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12141
12142 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12143
12144 2014-01-15 Pedro Alves <palves@redhat.com>
12145
12146 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12147 (go32_resume, go32_fetch_registers, store_register)
12148 (go32_store_registers, go32_prepare_to_store)
12149 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12150 (go32_create_inferior, go32_can_run, go32_terminal_init)
12151 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12152 declarations.
12153
12154 2014-01-15 Tom Tromey <tromey@redhat.com>
12155
12156 * target.h (async_callback_ftype): New typedef.
12157 (struct target_ops) <to_async>: Use it.
12158
12159 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12160
12161 * python/py-value.c (get_field_type): Remove unnecessary curly
12162 braces for single-statement if block.
12163
12164 2014-01-15 Joel Brobecker <brobecker@adacore.com>
12165
12166 * python/py-type.c (convert_field): Add missing empty line
12167 after declarations.
12168
12169 2014-01-14 Doug Evans <dje@google.com>
12170
12171 * symfile.h (expand_symtabs_matching): Renamed from
12172 expand_partial_symbol_names. Update prototype.
12173 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12174 * symfile.c (expand_symtabs_matching): Renamed from
12175 expand_partial_symbol_names. New args file_matcher, kind.
12176 Rename arg fun to symbol_matcher.
12177 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12178 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12179 ada_expand_partial_symbol_name.
12180 (ada_make_symbol_completion_list): Update to call
12181 expand_symtabs_matching.
12182 (ada_add_global_exceptions): Call expand_symtabs_matching.
12183 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12184 call map_symbol_filenames.
12185 * symtab.c (sources_info): Update to call map_symbol_filenames.
12186 (search_symbols): Call expand_symtabs_matching.
12187 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12188 (default_make_symbol_completion_list_break_on): Update to call
12189 expand_symtabs_matching.
12190 (make_source_files_completion_list): Update to call
12191 map_symbol_filenames.
12192
12193 2014-01-14 Doug Evans <dje@google.com>
12194
12195 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12196 (expand_symtabs_symbol_matcher_ftype): New typedef.
12197 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12198 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12199 * symfile.c (expand_partial_symbol_names): Update to use
12200 expand_symtabs_symbol_matcher_ftype.
12201 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12202 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12203 Arg name_matcher renamed to symbol_matcher.
12204 * psymtab.c (recursively_search_psymtabs): Update to use
12205 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12206 sym_matcher.
12207 (expand_symtabs_matching_via_partial): Update to use
12208 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12209 Arg name_matcher renamed to symbol_matcher.
12210
12211 2014-01-14 Doug Evans <dje@google.com>
12212
12213 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12214 (map_partial_symbol_filenames): Ditto.
12215 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12216 (map_partial_symbol_filenames): Ditto.
12217 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12218 (map_partial_symbol_filenames): Ditto.
12219 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12220 (map_partial_symbol_filenames): Ditto.
12221 * symtab.c: Delete #include "psymtab.h".
12222
12223 2014-01-14 Pedro Alves <palves@redhat.com>
12224 Tom Tromey <tromey@redhat.com>
12225
12226 * infrun.c (use_displaced_stepping): Use find_record_target
12227 instead of RECORD_IS_USED.
12228 (adjust_pc_after_break): Use record_full_is_used instead of
12229 RECORD_IS_USED.
12230 * record-btrace.c (record_btrace_open): Call record_preopen
12231 instead of checking RECORD_IS_USED.
12232 * record-full.c (record_full_shortname)
12233 (record_full_core_shortname): New globals.
12234 (record_full_is_used): New function.
12235 (find_full_open): Call record_preopen instead of checking
12236 RECORD_IS_USED.
12237 (init_record_full_ops): Set the target's shortname to
12238 record_full_shortname.
12239 (init_record_full_core_ops): Set the target's shortname to
12240 record_full_core_shortname.
12241 * record-full.h (record_full_is_used): Declare.
12242 * record.c (find_record_target): Make extern.
12243 (record_preopen): New function.
12244 * record.h (RECORD_IS_USED): Delete macro.
12245 (find_record_target, record_preopen): Declare functions.
12246
12247 2014-01-14 Yao Qi <yao@codesourcery.com>
12248
12249 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12250 'len''s type to ULONGEST.
12251 (core_xfer_shared_libraries_aix): Likewise.
12252 * gdbarch.c, gdbarch.h: Regenerated.
12253 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12254 Change type of 'len' to ULONGEST.
12255 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12256 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12257
12258 2014-01-14 Yao Qi <yao@codesourcery.com>
12259
12260 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12261 type of 'len' to ULONGEST.
12262 (linux_xfer_osdata_processgroups): Likewise.
12263 (linux_xfer_osdata_threads): Likewise.
12264 (linux_xfer_osdata_fds): Likewise.
12265 (linux_xfer_osdata_isockets): Likewise.
12266 (linux_xfer_osdata_shm): Likewise.
12267 (linux_xfer_osdata_sem): Likewise.
12268 (linux_xfer_osdata_msg): Likewise.
12269 (linux_common_xfer_osdata): Likewise.
12270 (struct osdata_type) <getter>: Likewise.
12271 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12272 the declaration.
12273
12274 2014-01-14 Yao Qi <yao@codesourcery.com>
12275
12276 * target.h (target_xfer_partial_ftype): Update.
12277 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12278 ULONGEST.
12279 * aix-thread.c (aix_thread_xfer_partial): Change type of
12280 argument 'len' to ULONGEST.
12281 * auxv.c (procfs_xfer_auxv): Likewise.
12282 (ld_so_xfer_auxv): Likewise.
12283 (memory_xfer_auxv): Likewise.
12284 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12285 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12286 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12287 * corelow.c (core_xfer_partial): Likewise.
12288 * ctf.c (ctf_xfer_partial): Likewise.
12289 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12290 '%u'.
12291 (darwin_read_dyld_info): Likewise.
12292 (darwin_xfer_partial): Likewise.
12293 * exec.c (section_table_xfer_memory_partial): Likewise.
12294 (exec_xfer_partial): Likewise.
12295 * exec.h (section_table_xfer_memory_partial): Update
12296 declaration.
12297 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12298 instead of plongest.
12299 (gnu_xfer_partial): Likewise.
12300 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12301 (ia64_hpux_xfer_solib_got): Likewise.
12302 (ia64_hpux_xfer_partial): Likewise.
12303 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12304 * inf-ptrace.c (inf_ptrace_xfer_partial):
12305 * inf-ttrace.c (inf_ttrace_xfer_partial):
12306 * linux-nat.c (linux_xfer_siginfo): Likewise.
12307 (linux_nat_xfer_partial): Likewise.
12308 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12309 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12310 * monitor.c (monitor_xfer_memory): Likewise.
12311 (monitor_xfer_partial): Likewise.
12312 * procfs.c (procfs_xfer_partial): Likewise.
12313 * record-full.c (record_full_xfer_partial): Likewise.
12314 (record_full_core_xfer_partial): Likewise.
12315 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12316 instead of plongest.
12317 (gdbsim_xfer_partial): Likewise.
12318 * remote.c (remote_xfer_partial): Likewise.
12319 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12320 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12321 declaration.
12322 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12323 (rs6000_xfer_shared_libraries): Likewise.
12324 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12325 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12326 (sparc_xfer_partial): Likewise.
12327 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12328 (spu_xfer_partial): Likewise.
12329 * spu-multiarch.c (spu_xfer_partial): Likewise.
12330 * target.c (target_read_live_memory): Likewise.
12331 (memory_xfer_live_readonly_partial): Likewise.
12332 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12333 (target_xfer_partial, default_xfer_partial): Likewise.
12334 (current_xfer_partial): Likewise.
12335 * tracepoint.c (tfile_xfer_partial): Likewise.
12336 * windows-nat.c (windows_xfer_memory): Likewise. Call
12337 pulongest instead of plongest.
12338 (windows_xfer_partial): Likewise.
12339 (windows_xfer_shared_libraries): Likewise.
12340
12341 2014-01-14 Yao Qi <yao@codesourcery.com>
12342
12343 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12344 target_xfer_partial_ftype.
12345
12346 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12347
12348 PR python/15464
12349 PR python/16113
12350 * valops.c (value_struct_elt_bitpos): New function
12351 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12352 object to 'None' if the field name is an empty string ("").
12353 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12354 attribute to look for a field when 'name' is 'None'.
12355 (get_field_type): New function
12356
12357 2014-01-13 Doug Evans <dje@google.com>
12358
12359 PR symtab/16426
12360 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12361 (try_open_dwop_file): Ditto.
12362 * gdb_bfd.c: #include "vec.h".
12363 (bfdp): New typedef.
12364 (struct gdb_bfd_data): New member included_bfds.
12365 (gdb_bfd_unref): Unref all included bfds.
12366 (gdb_bfd_record_inclusion): New function.
12367 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12368
12369 2014-01-13 Tom Tromey <tromey@redhat.com>
12370
12371 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12372
12373 2014-01-13 Tom Tromey <tromey@redhat.com>
12374
12375 * defs.h (use_windows): Remove.
12376 * gdb.c (main): Update.
12377 * main.c (captured_main, gdb_main): Update.
12378 * main.h (struct captured_main_args) <use_windows>: Remove.
12379 * top.c (use_windows): Remove.
12380
12381 2014-01-13 Tom Tromey <tromey@redhat.com>
12382
12383 * defs.h (deprecated_flush_hook): Remove.
12384
12385 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12386
12387 PR threads/16216
12388 * linux-thread-db.c (try_thread_db_load): Add parameter
12389 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12390 (try_thread_db_load_from_pdir_1): Move it there from here.
12391 (try_thread_db_load_from_sdir): Update caller.
12392 (try_thread_db_load_from_dir): Move it there from here.
12393
12394 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12395
12396 * regformats/regdat.sh: Always rewrite the register file.
12397
12398 2014-01-13 Pedro Alves <palves@redhat.com>
12399
12400 * Makefile.in (CHECK_HEADERS): New variable.
12401 (check-headers:): New rule.
12402
12403 2014-01-13 Tom Tromey <tromey@redhat.com>
12404
12405 * cli/cli-setshow.c (do_set_command): Update.
12406 * defs.h (deprecated_set_hook): Remove.
12407 * top.c (deprecated_set_hook): Remove.
12408
12409 2014-01-13 Pedro Alves <palves@redhat.com>
12410
12411 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12412 the tracepoint if the PC is a pseudo-register.
12413
12414 2014-01-13 Tom Tromey <tromey@redhat.com>
12415
12416 * defs.h (XCALLOC): Remove.
12417 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12418 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12419 * dwarf2loc.c (allocate_piece_closure): Likewise.
12420 * elfread.c (elf_symfile_segments): Likewise.
12421 (elf_symfile_segments): Likewise.
12422 * gdbtypes.c (copy_type_recursive): Likewise.
12423 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12424 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12425 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12426 XCALLOC.
12427 * mt-tdep.c (mt_gdbarch_init): Likewise.
12428 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12429 XCALLOC.
12430 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12431 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12432 * registry.c (registry_alloc_data): Likewise.
12433 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12434 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12435 * serial.c (serial_fdopen_ops): Likewise.
12436 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12437 XCALLOC.
12438 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12439 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12440 not XCALLOC.
12441
12442 2014-01-13 Tom Tromey <tromey@redhat.com>
12443
12444 * defs.h (XMALLOC): Remove.
12445 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12446 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12447 * cli-out.c (struct ui_out *): Likewise.
12448 * cli/cli-dump.c (add_dump_command): Likewise.
12449 (add_dump_command): Likewise.
12450 * complaints.c (get_complaints): Likewise.
12451 (find_complaint): Likewise.
12452 * dwarf2-frame.c (execute_cfa_program): Likewise.
12453 * dwarf2read.c (abbrev_table_read_table): Likewise.
12454 * gdbarch.sh: Likewise.
12455 * gdbarch.c: Rebuild.
12456 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12457 * interps.c (interp_new): Likewise.
12458 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12459 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12460 * mi/mi-console.c (mi_console_file_new): Likewise.
12461 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12462 * mi/mi-out.c (mi_out_new): Likewise.
12463 * mi/mi-parse.c (mi_parse): Likewise.
12464 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12465 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12466 * observer.c (xalloc_observer_list_node): Likewise.
12467 * regcache.c (regcache_xmalloc_1): Likewise.
12468 * reggroups.c (reggroup_new): Likewise.
12469 (_initialize_reggroup): Likewise.
12470 * registry.c (register_data_with_cleanup): Likewise.
12471 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12472 * ser-base.c (serial_ttystate): Likewise.
12473 * ser-mingw.c (make_pipe_state): Likewise.
12474 * ser-pipe.c (pipe_open): Likewise.
12475 * serial.c (serial_open): Likewise.
12476 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12477 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12478 (tui_alloc_win_info): Likewise.
12479 (tui_add_content_elements): Likewise.
12480 * tui/tui-file.c (tui_file_new): Likewise.
12481 * tui/tui-out.c (tui_out_new): Likewise.
12482 * ui-file.c (mem_file_new): Likewise.
12483 * ui-out.c (push_level): Likewise.
12484 (make_cleanup_ui_out_end): Likewise.
12485 (append_header_to_list): Likewise.
12486 (ui_out_new): Likewise.
12487 * user-regs.c (user_reg_add_builtin): Likewise.
12488
12489 2014-01-13 Tom Tromey <tromey@redhat.com>
12490
12491 * defs.h (XZALLOC): Remove.
12492 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12493 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12494 (get_ada_tasks_inferior_data): Likewise.
12495 * auto-load.c (get_auto_load_pspace_data): Likewise.
12496 * auxv.c (get_auxv_inferior_data): Likewise.
12497 * bfd-target.c (target_bfd_reopen): Likewise.
12498 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12499 (deprecated_insert_raw_breakpoint): Likewise.
12500 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12501 * corelow.c (core_open): Likewise.
12502 * darwin-nat.c (darwin_check_new_threads): Likewise.
12503 (darwin_attach_pid): Likewise.
12504 * dummy-frame.c (dummy_frame_push): Likewise.
12505 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12506 * dwarf2loc.c (allocate_piece_closure): Likewise.
12507 * elfread.c (elf_symfile_segments): Likewise.
12508 * eval.c (ptrmath_type_p): Likewise.
12509 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12510 * gdbtypes.c (alloc_type_arch): Likewise.
12511 (alloc_type_instance): Likewise.
12512 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12513 * inf-child.c (inf_child_can_use_agent): Likewise.
12514 * inflow.c (get_inflow_inferior_data): Likewise.
12515 * infrun.c (save_infcall_suspend_state): Likewise.
12516 * jit.c (jit_reader_load): Likewise.
12517 (get_jit_objfile_data): Likewise.
12518 (get_jit_program_space_data): Likewise.
12519 (jit_object_open_impl): Likewise.
12520 (jit_symtab_open_impl): Likewise.
12521 (jit_block_open_impl): Likewise.
12522 (jit_frame_sniffer): Likewise.
12523 * linux-fork.c (add_fork): Likewise.
12524 * maint.c (make_command_stats_cleanup): Likewise.
12525 * objfiles.c (get_objfile_pspace_data): Likewise.
12526 * opencl-lang.c (struct lval_closure): Likewise.
12527 * osdata.c (osdata_start_osdata): Likewise.
12528 * progspace.c (new_address_space): Likewise.
12529 (add_program_space): Likewise.
12530 * remote-sim.c (get_sim_inferior_data): Likewise.
12531 * sh-tdep.c (sh_gdbarch_init): Likewise.
12532 * skip.c (Ignore): Likewise.
12533 (skip_delete_command): Likewise.
12534 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12535 (library_list_start_library): Likewise.
12536 (solib_aix_current_sos): Likewise.
12537 * solib-darwin.c (get_darwin_info): Likewise.
12538 (darwin_current_sos): Likewise.
12539 * solib-dsbt.c (get_dsbt_info): Likewise.
12540 * solib-ia64-hpux.c (new_so_list): Likewise.
12541 (ia64_hpux_get_solib_linkage_addr): Likewise.
12542 * solib-spu.c (append_ocl_sos): Likewise.
12543 (spu_current_sos): Likewise.
12544 * solib-svr4.c (get_svr4_info): Likewise.
12545 (svr4_keep_data_in_core): Likewise.
12546 (library_list_start_library): Likewise.
12547 (svr4_default_sos): Likewise.
12548 (svr4_read_so_list): Likewise.
12549 * solib-target.c (library_list_start_library): Likewise.
12550 (solib_target_current_sos): Likewise.
12551 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12552 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12553 * symfile.c (default_symfile_segments): Likewise.
12554 * target-descriptions.c (tdesc_data_init): Likewise.
12555 (tdesc_create_reg): Likewise.
12556 (struct tdesc_type *): Likewise.
12557 (tdesc_create_vector): Likewise.
12558 (tdesc_set_struct_size): Likewise.
12559 (struct tdesc_type *): Likewise.
12560 (tdesc_free_feature): Likewise.
12561 (tdesc_create_feature): Likewise.
12562 * windows-nat.c (windows_add_thread): Likewise.
12563 (windows_make_so): Likewise.
12564 * xml-support.c (gdb_xml_body_text): Likewise.
12565 (gdb_xml_create_parser_and_cleanup): Likewise.
12566 (xml_process_xincludes): Likewise.
12567 * xml-syscall.c (allocate_syscalls_info): Likewise.
12568 (syscall_create_syscall_desc): Likewise.
12569
12570 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12571
12572 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12573 function, with code from i386_stap_parse_special_token.
12574 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12575 (i386_stap_parse_special_token): Move code to the two functions
12576 above; simplify it.
12577
12578 2014-01-09 Pedro Alves <palves@redhat.com>
12579 Hui Zhu <hui@codesourcery.com>
12580
12581 PR gdb/16101
12582 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12583 bp_err_string. Don't mark the location shlib_disabled if the
12584 error thrown wasn't a generic or memory error. Catch errors
12585 thrown while inserting breakpoints in overlayed code. Output
12586 error message of software breakpoints.
12587 * remote.c (remote_insert_breakpoint): If this breakpoint has
12588 target-side commands but this stub doesn't support Z0 packets,
12589 throw NOT_SUPPORTED_ERROR error.
12590 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12591 * target.h (target_insert_breakpoint): Extend comment.
12592 (target_insert_hw_breakpoint): Add comment.
12593
12594 2014-01-08 Pedro Alves <palves@redhat.com>
12595
12596 * remote.c (remote_add_thread): Add threads silently if starting
12597 up.
12598 (remote_notice_new_inferior): If in all-stop, and starting up,
12599 don't call notice_new_inferior.
12600 (get_current_thread): New function, factored out from ...
12601 (add_current_inferior_and_thread): ... this. Adjust.
12602 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12603 found any thread, then select the remote's current thread as GDB's
12604 current thread too.
12605
12606 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12607
12608 * NEWS: Create a new section for the next release branch.
12609 Rename the section of the current branch, now that it has
12610 been cut.
12611
12612 2014-01-08 Joel Brobecker <brobecker@adacore.com>
12613
12614 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12615 * version.in: Bump version to 7.7.50.DATE-cvs.
12616
12617 2014-01-08 Yao Qi <yao@codesourcery.com>
12618
12619 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12620 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12621 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12622
12623 2014-01-08 Yao Qi <yao@codesourcery.com>
12624
12625 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12626 return value of bfd_get_filename to symbol_file_add_from_bfd.
12627
12628 2014-01-08 Pierre Muller <muller@sourceware.org>
12629
12630 Fix PR16201.
12631 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12632 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12633 to prim_record_mininal_symbol_and_info.
12634 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12635 in call to prim_record_minimal_symbol_and_info.
12636 (read_pe_exported_syms): Set index field of section_data.
12637
12638 2014-01-07 Andrew Pinski <apinski@cavium.com>
12639
12640 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12641 * features/aarch64.c: Regenerate.
12642
12643 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12644
12645 * target.c (return_null): Define.
12646 (update_current_target): Use it instead of return_zero for
12647 functions that return a pointer.
12648
12649 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12650
12651 * source.c (add_path): Fix check for duplicated paths in the previously
12652 included paths.
12653
12654 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12655
12656 * ada-lang.c: Remove duplicated include statements.
12657 * alphabsd-nat.c: Ditto.
12658 * amd64-darwin-tdep.c: Ditto.
12659 * amd64fbsd-nat.c: Ditto.
12660 * auto-load.c: Ditto.
12661 * ax-gdb.c: Ditto.
12662 * breakpoint.c: Ditto.
12663 * dbxread.c: Ditto.
12664 * fork-child.c: Ditto.
12665 * gdb_usleep.c: Ditto.
12666 * i386-darwin-tdep.c: Ditto.
12667 * i386fbsd-nat.c: Ditto.
12668 * infcmd.c: Ditto.
12669 * inferior.c: Ditto.
12670 * jv-lang.c: Ditto.
12671 * linux-nat.c: Ditto.
12672 * linux-tdep.c: Ditto.
12673 * m68kbsd-nat.c: Ditto.
12674 * m68klinux-nat.c: Ditto.
12675 * microblaze-tdep.c: Ditto.
12676 * mips-linux-tdep.c: Ditto.
12677 * mn10300-tdep.c: Ditto.
12678 * nto-tdep.c: Ditto.
12679 * opencl-lang.c: Ditto.
12680 * osdata.c: Ditto.
12681 * printcmd.c: Ditto.
12682 * regcache.c: Ditto.
12683 * remote-m32r-sdi.c: Ditto.
12684 * remote.c: Ditto.
12685 * symfile.c: Ditto.
12686 * symtab.c: Ditto.
12687 * tilegx-linux-nat.c: Ditto.
12688 * tilegx-tdep.c: Ditto.
12689 * tracepoint.c: Ditto.
12690 * valops.c: Ditto.
12691 * vaxbsd-nat.c: Ditto.
12692 * windows-nat.c: Ditto.
12693 * xtensa-tdep.c: Ditto.
12694
12695 2014-01-07 Yao Qi <yao@codesourcery.com>
12696
12697 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12698
12699 2014-01-07 Yao Qi <yao@codesourcery.com>
12700 Joel Brobecker <brobecker@adacore.com>
12701
12702 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12703 (pdc_write_regs): Likewise.
12704 (fetch_regs_kernel_thread): Likewise.
12705 (store_regs_kernel_thread): Likewise.
12706
12707 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12708
12709 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12710 tagged type objects to their actual type.
12711
12712 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12713
12714 * ada-valprint.c (print_field_values): Add "language" parameter.
12715 Update calls to print_field_values and print_variant_part.
12716 Pass new parameter "language" in call to val_print instead
12717 of "current_language". Replace call to ada_val_print by call
12718 to val_print.
12719 (print_variant_part): Add "language" parameter.
12720 (ada_val_print_struct_union): Update call to print_field_values.
12721
12722 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12723
12724 * ada-valprint.c (ui_memcpy): Delete.
12725 (ada_print_floating): Update documentation. Add empty line
12726 between between function documentation and implementation.
12727 Delete variable "buffer". Use ui_file_xstrdup in place of
12728 ui_file_put. Minor adjustments following this change.
12729
12730 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12731
12732 * ada-valprint.c (ada_val_print_string): New function,
12733 extracted from ada_val_print_array.
12734 (ada_val_print_array): Replace extracted code by call
12735 to ada_val_print_string followed by a return. Move
12736 "else" branch to the function's top block.
12737
12738 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12739
12740 * ada-valprint.c (ada_val_print_array): Move implementation
12741 down. Rename parameter "offset" and "val" into "offset_aligned"
12742 and "original_value" respectively. Add parameter "offset".
12743
12744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12745
12746 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12747 re-organizing the code. Change the "???" message printed
12748 when target type is a TYPE_CODE_UNDEF into
12749 "<ref to undefined type>".
12750
12751 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12752
12753 * ada-valprint.c (print_record): Delete, implementation inlined...
12754 (ada_val_print_struct_union): ... here. Remove call to
12755 ada_check_typedef in inlined implementation.
12756
12757 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12758
12759 * ada-valprint.c (ada_val_print_gnat_array): New function,
12760 extracted from ada_val_print_1;
12761 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12762 (ada_val_print_flt, ada_val_print_struct_union)
12763 (ada_val_print_ref): Likewise.
12764 (ada_val_print_1): Delete variables i and elttype.
12765 Replace extracted-out code by call to corresponding
12766 new functions.
12767
12768 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12769
12770 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12771
12772 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12773
12774 * ada-valprint.c (ada_val_print_1): Replace calls to
12775 ada_val_print_1 by calls to val_print.
12776
12777 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12778
12779 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12780 Update calls to self accordingly. Replace calls to c_val_print
12781 by calls to val_print.
12782
12783 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12784
12785 * ada-valprint.c (print_record): Delete declaration.
12786 (adjust_type_signedness, ada_val_print_1): Likewise.
12787 (ada_val_print): Move function implementation down.
12788 (print_variant_part, print_field_values, print_record):
12789 Move function implementation up.
12790
12791 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12792
12793 * python/py-type.c (typy_get_name): New function.
12794 (type_object_getset): Add entry for attribute "name".
12795 * NEWS: Add entry mentioning this new attribute.
12796
12797 2014-01-07 Yao Qi <yao@codesourcery.com>
12798
12799 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12800 statement.
12801
12802 2014-01-07 Yao Qi <yao@codesourcery.com>
12803
12804 * gnu-nat.c (info_port_rights): Add qualifier const to
12805 argument args.
12806
12807 2014-01-07 Yao Qi <yao@codesourcery.com>
12808
12809 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12810
12811 2014-01-07 Yao Qi <yao@codesourcery.com>
12812
12813 * gnu-nat.c (make_inf) Update declaration.
12814 (make_inf): Make it static.
12815 (inf_set_traced): Likewise.
12816 (inf_port_to_thread, inf_task_died_status): Likewise.
12817
12818 2014-01-07 Yao Qi <yao@codesourcery.com>
12819
12820 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12821
12822 2014-01-07 Yao Qi <yao@codesourcery.com>
12823
12824 * gnu-nat.c (_initialize_gnu_nat): Declare.
12825
12826 2014-01-07 Yao Qi <yao@codesourcery.com>
12827
12828 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12829 'enum bfd_endian'.
12830 (struct gdbarch_info) <byte_order>: Change type to
12831 'enum bfd_endian'.
12832 <byte_order_for_code>: Likewise.
12833 * gdbarch.c, gdbarch.h: Regenerated.
12834
12835 2014-01-06 Sasha Smundak <asmundak@google.com>
12836
12837 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12838
12839 2014-01-06 Tom Tromey <tromey@redhat.com>
12840
12841 * doublest.c (convert_doublest_to_floatformat): Use const, not
12842 CONST.
12843 * somread.c (som_symtab_read): Likewise.
12844
12845 2014-01-07 Hui Zhu <hui@codesourcery.com>
12846
12847 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12848 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12849 (gdb_bfd_fopen): Ditto.
12850 (gdb_bfd_openr): Ditto.
12851 (gdb_bfd_openw): Ditto.
12852 (gdb_bfd_openr_iovec): Ditto.
12853 (gdb_bfd_fdopenr): Ditto.
12854 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12855 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12856 with xstrdup.
12857 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12858 with xstrdup.
12859 * symfile-mem.c (symbol_file_add_from_memory): Removed
12860 gdb_bfd_stash_filename.
12861
12862 2014-01-03 Doug Evans <dje@google.com>
12863
12864 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12865 output.
12866
12867 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12868
12869 Update year range in copyright notice of all files.
12870
12871 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12872
12873 * top.c (print_gdb_version): Set copyright year to 2014.
12874
12875 2014-01-01 Joel Brobecker <brobecker@adacore.com>
12876
12877 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12878
12879 For older changes see ChangeLog-2013.
12880 \f
12881 Local Variables:
12882 mode: change-log
12883 left-margin: 8
12884 fill-column: 74
12885 version-control: never
12886 coding: utf-8
12887 End:
This page took 0.314271 seconds and 4 git commands to generate.