breakpoint.c: debug output when we skip inserting a breakpoint
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e558d7c1
PA
12014-09-25 Pedro Alves <palves@redhat.com>
2
3 * breakpoint.c (should_be_inserted): Add debug output.
4
7f89fd65
PA
52014-09-25 Pedro Alves <palves@redhat.com>
6
7 * infrun.c (stepping_past_instruction_at)
8 (clear_exit_convenience_vars): Point at infrun.h instead of
9 inferior.h.
10 (handle_signal_stop): Fix typo.
11
b7576e5c
YQ
122014-09-24 Yao Qi <yao@codesourcery.com>
13
14 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
15 bitmask.
16
9a6cf368
GB
172014-09-22 Gary Benson <gbenson@redhat.com>
18
19 * target.c (target_stop): Updated comment.
20
03f4463b
GB
212014-09-22 Gary Benson <gbenson@redhat.com>
22
23 * target/target.h (target_stop_ptid): Renamed as...
24 (target_stop_and_wait): New function. Updated comment.
25 All uses updated.
26 (target_continue_ptid): Renamed as...
27 (target_continue_no_signal): New function. Updated comment.
28 All uses updated.
29
a25a5a45
PA
302014-09-22 Pedro Alves <palves@redhat.com>
31
32 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
33 and "auto" merged.
34 * breakpoint.c (enum ugll_insert_mode): New enum.
35 (always_inserted_mode): Now a plain boolean.
36 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
37 (breakpoints_always_inserted_mode): Delete.
38 (breakpoints_should_be_inserted_now): New function.
39 (insert_breakpoints): Pass UGLL_INSERT to
40 update_global_location_list instead of calling
41 insert_breakpoint_locations manually.
42 (create_solib_event_breakpoint_1): New, factored out from ...
43 (create_solib_event_breakpoint): ... this.
44 (create_and_insert_solib_event_breakpoint): Use
45 create_solib_event_breakpoint_1 instead of calling
46 insert_breakpoint_locations manually.
47 (update_global_location_list): Change parameter type from boolean
48 to enum ugll_insert_mode. All callers adjusted. Adjust to use
49 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
50 (update_global_location_list_nothrow): Change parameter type from
51 boolean to enum ugll_insert_mode.
52 (_initialize_breakpoint): "breakpoint always-inserted" option is
53 now a boolean command. Update help text.
54 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
55 (breakpoints_should_be_inserted_now): New declaration.
56 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
57 Remove breakpoints_always_inserted_mode check.
58 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
59 * remote.c (remote_start_remote): Likewise.
60
04086b45
PA
612014-09-22 Pedro Alves <palves@redhat.com>
62
63 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
64 (insert_breakpoints): Don't call insert_breakpoint_locations here.
65 Instead, pass UGLL_INSERT to update_global_location_list.
66 (update_global_location_list): Change parameter type from boolean
67 to enum ugll_insert_mode. All callers adjusted. Adjust to use
68 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
69 (create_solib_event_breakpoint_1): New, factored out from ...
70 (create_solib_event_breakpoint): ... this.
71 (create_and_insert_solib_event_breakpoint): Use
72 create_solib_event_breakpoint_1 instead of calling
73 insert_breakpoint_locations manually.
74 (update_global_location_list): Handle UGLL_INSERT.
75
44702360
PA
762014-09-22 Pedro Alves <palves@redhat.com>
77
78 * breakpoint.c (enum ugll_insert_mode): New enum.
79 (update_global_location_list)
80 (update_global_location_list_nothrow): Change parameter type from
81 boolean to enum ugll_insert_mode. All callers adjusted.
82
93c6145a
JB
832014-09-19 Joel Brobecker <brobecker@adacore.com>
84
85 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
86 SystemTap support in GDB.
87
89a5711c
DB
882014-09-19 Don Breazeal <donb@codesourcery.com>
89
90 * linux-nat.c (linux_handle_extended_wait): Call
91 linux_ptrace_get_extended_event.
92 (wait_lwp): Call linux_is_extended_waitstatus.
93 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
94 and linux_is_extended_waitstatus.
95 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
96 linux_ptrace_get_extended_event.
97 (linux_ptrace_get_extended_event): New function.
98 (linux_is_extended_waitstatus): New function.
99 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
100 (linux_is_extended_waitstatus): New declarations.
101
c3b7b696
YQ
1022014-09-19 Yao Qi <yao@codesourcery.com>
103
104 * dwarf2read.c (dwarf_decode_lines): Update declaration.
105 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
106 comments. Callers update.
107 (dwarf_decode_lines): Likewise.
108 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
109 comments. Skip the line table if 'lowpc' is greater than
110 'address'. Don't check
111 dwarf2_per_objfile->has_section_at_zero.
112
2b4fd423
DE
1132014-09-18 Doug Evans <dje@google.com>
114
115 * NEWS: Mention new "producer" attribute of gdb.Symtab.
116 * python/py-symtab.c (stpy_get_producer): New function.
117 (symtab_object_getset): Add "producer" attribute.
118
5e43d467
UW
1192014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
120
121 PR gdb/17384
122 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
123 (do_captured_read_memory_integer): Remove.
124 (safe_read_memory_integer): Use target_read_memory directly instead
125 of catching errors in do_captured_read_memory_integer.
126
04e79979
MR
1272014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
128
129 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
130 not gdb/doc.
131
76aeec5b
SDJ
1322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
133
134 * objc-lang.c (find_implementation_from_class): Remove dead code.
135
2f693f9d
SDJ
1362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
137
138 PR cli/7233
139 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
140 "fprintf_unfiltered (gdb_stdlog...)".
141
bb9d5f81
PP
1422014-09-16 Patrick Palka <patrick@parcs.ath.cx>
143
144 PR breakpoints/12526
145 * breakpoint.h (struct watchpoint): New fields val_bitpos and
146 val_bitsize.
147 * breakpoint.c (watch_command_1): Use these fields to retain
148 bitfield information.
149 (extract_bitfield_from_watchpoint_value): New function.
150 (watchpoint_check): Use it.
151 (update_watchpoint): Use it. Optimize the address and length of a
152 HW watchpoint pointing to a bitfield.
153 * value.h (unpack_value_bitfield): New prototype.
154 * value.c (unpack_value_bitfield): Make extern.
155
05db5edd
ST
1562014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
157
158 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
159 x86-dregs.o.
160 * gnu-nat.c (inf_threads): New function.
161 * gnu-nat.h (inf_threads_ftype): New typedef.
162 (inf_threads): New declaration.
163 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
164 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
165 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
166 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
167 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
168 (i386_gnu_dr_get_control): New functions.
169 (reg_addr): New structure.
170 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
171 i386 debugging register hooks.
172 * NEWS: Mention this.
173
5a578da5
OJ
1742014-08-13 Omair Javaid <omair.javaid@linaro.org>
175
176 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
177 vector data transfer instructions.
178 (arm_record_coproc_data_proc): Updated.
179
f20f80dd
OJ
1802014-08-13 Omair Javaid <omair.javaid@linaro.org>
181
182 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
183 arm_record_exreg_ld_st_insn.
184 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
185 load/store insns.
186
851f26ae
OJ
1872014-08-13 Omair Javaid <omair.javaid@linaro.org>
188
189 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
190 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
191 processing instructions.
192
1e1b6563
OJ
1932014-08-13 Omair Javaid <omair.javaid@linaro.org>
194
195 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
196 for advance SIMD struct ld/st insn.
197 (thumb2_record_decode_insn_handler): Replace stub handler with
198 thumb2_record_asimd_struct_ld_st.
199
60cc5e93
OJ
2002014-08-13 Omair Javaid <omair.javaid@linaro.org>
201
202 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
203 for asimd, vfp and coprocessor insns.
204 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
205 and coprocessor insns.
206 (thumb2_record_coproc_insn): New function.
207 (thumb2_record_decode_insn_handler): Update coprocessor insns record
208 handlers.
209 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
210 opcode 110 insns.
211
81219e53
DE
2122014-09-13 Doug Evans <xdje42@gmail.com>
213
214 * NEWS: Mention new "queue-signal" command.
215 * infcmd.c (queue_signal_command): New function.
216 (_initialize_infcmd): Add new queue-signal command.
217
d36bf488
DE
2182014-09-13 Doug Evans <xdje42@gmail.com>
219
220 * linux-nat.c (wait_lwp): Add debugging printf.
221 (linux_nat_wait_1): Ditto.
222
f37f681c
PA
2232014-09-12 Pedro Alves <palves@redhat.com>
224
225 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
226 (create_and_insert_solib_event_breakpoint): New functions.
227 * breakpoint.h (create_and_insert_solib_event_breakpoint)
228 (remove_solib_event_breakpoints_at_next_stop): New declarations.
229 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
230 (remove_dbx_link_breakpoint): Delete function.
231 (insert_dbx_link_bpt_in_file): Use
232 create_and_insert_solib_event_breakpoint instead of
233 deprecated_insert_raw_breakpoint.
234 (procfs_wait): Don't check whether we hit __dbx_link here.
235 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
236 here.
237 * solib-irix.c (base_breakpoint): Delete global.
238 (disable_break): Delete function.
239 (enable_break): Use create_solib_event_breakpoint
240 instead of deprecated_insert_raw_breakpoint.
241 (irix_solib_handle_event): New function.
242 (irix_solib_create_inferior_hook): Don't run the target or disable
243 the mapping-complete breakpoint here.
244 (_initialize_irix_solib): Install irix_solib_handle_event as
245 so_ops->handle_event hook.
246
9d9bf2df
EBM
2472014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
248 Ulrich Weigand  <uweigand@de.ibm.com>
249
250 PR tdep/17379
251 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
252 instead of read_memory_unsigned_integer.
253
b006a80e
GB
2542014-09-12 Gary Benson <gbenson@redhat.com>
255
256 * nat/linux-waitpid.c: Include common-defs.h.
257 [GDBSERVER]: Add FIXME comment.
258 [!GDBSERVER]: Don't include defs.h or signal.h.
259 (linux_debug) [!GDBSERVER]: Remove empty block.
260
296b1496
GB
2612014-09-12 Gary Benson <gbenson@redhat.com>
262
263 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
264 Don't include defs.h or server.h.
265
53f81362
GB
2662014-09-12 Gary Benson <gbenson@redhat.com>
267
268 * nat/linux-btrace.c: Include common-defs.h.
269 Don't include defs.h, server.h or gdbthread.h.
270 * nat/linux-btrace.h (struct target_ops): New forward declaration.
271
727605ca
GB
2722014-09-12 Gary Benson <gbenson@redhat.com>
273
274 * common/agent.c: Include common-defs.h.
275 Don't include defs.h or server.h.
276 * common/buffer.c: Likewise.
277 * common/common-debug.c: Likewise.
278 * common/common-utils.c: Likewise.
279 * common/errors.c: Likewise.
280 * common/filestuff.c: Likewise.
281 * common/format.c: Likewise.
282 * common/gdb_vecs.c: Likewise.
283 * common/print-utils.c: Likewise.
284 * common/ptid.c: Likewise.
285 * common/rsp-low.c: Likewise.
286 * common/signals.c: Likewise.
287 * common/vec.c: Likewise.
288 * common/xml-utils.c: Likewise.
289 * nat/linux-osdata.c: Likewise.
290 * nat/linux-procfs.c: Likewise.
291 * nat/linux-ptrace.c: Likewise.
292 * nat/mips-linux-watch.c: Likewise.
293 * target/waitstatus.c: Likewise.
294
361c8ade
GB
2952014-09-12 Tom Tromey <tromey@redhat.com>
296 Gary Benson <gbenson@redhat.com>
297
298 * common/common-regcache.h: New file.
299 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
300 * regcache.h: Include common-regcache.h.
301 (regcache_read_pc): Don't declare.
302 * regcache.c (get_thread_regcache_for_ptid): New function.
303 * nat/linux-btrace.c: Don't include regcache.h.
304 Include common-regcache.h.
305 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
306
a01cbb49
TS
3072014-09-11 Thomas Schwinge <thomas@codesourcery.com>
308
309 * regcache.h (struct regset): Declare.
310
98880d46
PA
3112014-09-11 Pedro Alves <palves@redhat.com>
312
313 PR gdb/17347
314 * main.c: Include "infrun.h".
315 (catch_command_errors, catch_command_errors_const): Wait for the
316 foreground command to complete.
317 * top.c (maybe_wait_sync_command_done): New function, factored out
318 from ...
319 (maybe_wait_sync_command_done): ... here.
320 * top.h (maybe_wait_sync_command_done): New declaration.
321
bd9269f7
GB
3222014-09-11 Tom Tromey <tromey@redhat.com>
323 Gary Benson <gbenson@redhat.com>
324
325 * common/symbol.h: New file.
326 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
327 * minsyms.c (find_minimal_symbol_address): New function.
328 * common/agent.c: Include common/symbol.h.
329 [!GDBSERVER]: Don't include objfiles.h.
330 (agent_look_up_symbols): Use find_minimal_symbol_address.
331
f8c1d06b
GB
3322014-09-11 Gary Benson <gbenson@redhat.com>
333
334 * target/target.h (target_stop_ptid, target_continue_ptid):
335 Declare.
336 * target.c (target_stop_ptid, target_continue_ptid): New
337 functions.
338 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
339 (agent_run_command): Always use target_stop_ptid and
340 target_continue_ptid.
341
721ec300
GB
3422014-09-11 Tom Tromey <tromey@redhat.com>
343 Gary Benson <gbenson@redhat.com>
344
345 * target/target.h: New file.
346 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
347 * target.h: Include target/target.h.
348 (target_read_memory, target_write_memory): Don't declare.
349 * target.c (target_read_uint32): New function.
350 * common/agent.c: Include target/target.h.
351 [!GDBSERVER]: Don't include target.h.
352 (helper_thread_id): Type changed to uint32_t.
353 (agent_get_helper_thread_id): Use target_read_uint32.
354 (agent_run_command): Always use target_read_memory and
355 target_write_memory.
356 (agent_capability): Type changed to uint32_t.
357 (agent_capability_check): Use target_read_uint32.
358
c5e92cca
GB
3592014-09-11 Gary Benson <gbenson@redhat.com>
360
361 * common/common-debug.h (show_debug_regs): Declare.
362 * common/common-debug.c (show_debug_regs): Define.
363 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
364 all uses with show_debug_regs. Replace all uses that considered
365 debug_hw_points as a multi-value integer with straight boolean
366 uses.
367 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
368 with show_debug_regs.
369 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
370 all uses with show_debug_regs.
371 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
372 uses with show_debug_regs.
373
eeef931a
UW
3742014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
375
376 * findvar.c (address_from_register): Handle targets requiring
377 a special conversion routine even for plain pointer types.
378
8efa9855
UW
3792014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
380
381 * rs6000-nat.c (exec_one_dummy_insn): Remove.
382 (store_register): Do not call exec_one_dummy_insn.
383
eb479039
JB
3842014-09-10 Joel Brobecker <brobecker@adacore.com>
385
386 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
387 dereference it first. Use value_enclosing_type instead of
388 value_type.
389 (ada_array_length): Likewise.
390
deede10c
JB
3912014-09-10 Joel Brobecker <brobecker@adacore.com>
392
393 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
394 Adjust function implementation and documentation accordingly.
395 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
396 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
397 Update call to ada_value_ptr_subscript.
398
7828a5f5
JB
3992014-09-10 Joel Brobecker <brobecker@adacore.com>
400
401 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
402 instead of VAL's type.
403
35782f14
JB
4042014-09-10 Joel Brobecker <brobecker@adacore.com>
405
406 * amd64-linux-nat.c: Add <sys/uio.h> #include.
407
d342a0da
DE
4082014-09-09 Doug Evans <xdje42@gmail.com>
409
410 PR guile/17367
411 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
412 last parameter to pkg-config, not first.
413 * configure.ac: Pass --with-guile provided pkg-config path to
414 GDB_GUILE_PROGRAM_NAMES.
415 * configure: Regenerate.
416
b4a3d263
GKB
4172014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
418
419 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
420 Bertazi".
421
6e466374
MR
4222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
423
424 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
425 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
426 the list of sections determining GDB_OSABI_IRIX.
427
a1ada89a
JH
4282014-09-09 James Hogan <james.hogan@imgtec.com>
429
430 * MAINTAINERS (Write After Approval): Add "James Hogan".
431
86db008d
JH
4322014-09-09 James Hogan <james.hogan@imgtec.com>
433
434 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
435
72fde3df
JB
4362014-09-09 Joel Brobecker <brobecker@adacore.com>
437
438 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
439
92d8d229
DE
4402014-09-08 Doug Evans <xdje42@gmail.com>
441
442 PR 17247
443 * guile.c: #include <signal.h>.
444 (_initialize_guile): Block SIGCHLD while initializing Guile.
445
446 Replaces the following, which is reverted.
447
448 2014-07-26 Doug Evans <xdje42@gmail.com>
449
450 PR 17185
451 * configure.ac: Add check for header gc/gc.h.
452 Add check for function setenv.
453 * configure: Regenerate.
454 * config.in: Regenerate.
455 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
456
d81412aa
DE
4572014-09-08 Doug Evans <xdje42@gmail.com>
458
459 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
460 with named constant. Fix style of pointer comparison.
461 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
462
a9f116cb
GKB
4632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
464
465 PR gdb/17035
466 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
467 decide whether we display the command on "show user".
468 * cli/cli-script.c (show_user_1): Only verify cmdlines after
469 printing command name.
470 * cli/cli-decode.h (cli_user_command_p): Declare new function.
471 * cli/cli-decode.c (cli_user_command_p): Create helper function
472 to verify whether cmd_list_element is a user-defined command.
473
c75bd3a2
JK
4742014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 PR python/17355
477 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
478 Fix goto out of TRY_CATCH.
479
faa42425 4802014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 481 Tom Tromey <tromey@redhat.com>
faa42425
DE
482
483 PR 15276
484 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
485 $_any_caller_matches.
486 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
487 * python/lib/gdb/function/caller_is.py: New file.
488
0d41ba00
DE
4892014-09-06 Doug Evans <xdje42@gmail.com>
490
491 * infcmd.c (program_info): Fix typo.
492
474ca4f6
SDJ
4932014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
494
495 PR gdb/17235
496 * stap-probe.c (stap_parse_single_operand): Delete unused variable
497 'number'. New variable 'has_digit'. Rewrite code to deal with
498 subexpressions on SDT probes.
499
ebf13736
PA
5002014-09-04 Pedro Alves <palves@redhat.com>
501
502 * c-exp.y (parse_number): Skip handling base-switching prefixes if
503 the input is only one character long.
504
eb0b0463
SDJ
5052014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
506
507 PR fortran/17237
508 * f-valprint.c (f_val_print): Specify the correct print option to
509 use when printing integer values.
510
5ee44bfa
GB
5112014-09-04 Gary Benson <gbenson@redhat.com>
512
513 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
514 Remove code to cope with LWPs wrapped as PIDs.
515 Add assertions to ensure no wrapped LWPs are passed.
516
4875ffdb
PA
5172014-09-04 Pedro Alves <palves@redhat.com>
518
519 * value.c (value_ranges_copy_adjusted): New function, factored out
520 from ...
521 (value_contents_copy_raw): ... here.
522 (unpack_value_bits_as_long_1): Rename back to ...
523 (unpack_bits_as_long): ... this. Remove 'original_value' and
524 'result' parameters. Change return type to LONGEST.
525 (unpack_value_bits_as_long): Delete.
526 (unpack_value_field_as_long_1): Delete.
527 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
528 (unpack_value_bitfield): New function.
529 (value_field_bitfield): Reimplement using unpack_value_bitfield.
530 (value_fetch_lazy): Use unpack_value_bitfield.
531 * value.h (unpack_value_bits_as_long): Delete declaration.
532
5f3b99cf
SS
5332014-09-03 Sasha Smundak <asmundak@google.com>
534
535 * python/py-frame.c (frapy_read_register): New function.
536
ac740bc7
JH
5372014-09-03 James Hogan <james.hogan@imgtec.com>
538
539 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
540 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
541
7d793aa9
SDJ
5422014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
543
544 PR python/16699
545 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
546 function.
547 (add_cmd): Set "completer_handle_brkchars" to NULL.
548 * cli/cli-decode.h (struct cmd_list_element)
549 <completer_handle_brkchars>: New field.
550 * command.h (completer_ftype_void): New typedef.
551 (set_cmd_completer_handle_brkchars): New prototype.
552 * completer.c (set_gdb_completion_word_break_characters): New
553 function.
554 (complete_line_internal): Call "completer_handle_brkchars"
555 callback from command.
556 * completer.h: Include "command.h".
557 (set_gdb_completion_word_break_characters): New prototype.
558 * python/py-cmd.c (cmdpy_completer_helper): New function.
559 (cmdpy_completer_handle_brkchars): New function.
560 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
561 (cmdpy_init): Set completer_handle_brkchars to
562 cmdpy_completer_handle_brkchars.
563
97ea6506
GB
5642014-09-03 Gary Benson <gbenson@redhat.com>
565
566 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
567 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
568 Loop conditions changed to equivalent form.
569 (struct x86_debug_reg_state): Updated dr_ref_count comment.
570 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
571 ALL_DEBUG_ADDRESS_REGISTERS.
572
d1437815
JB
5732014-09-03 Joel Brobecker <brobecker@adacore.com>
574
575 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
576 description fix.
577
9b94fcf1
DE
5782014-09-02 Doug Evans <dje@google.com>
579
580 * typeprint.c (find_global_typedef): Fix comment.
581
df7e5265
GB
5822014-09-02 Gary Benson <gbenson@redhat.com>
583
584 * i386-nat.h: Renamed as...
585 * x86-nat.h: New file. All type, function and variable name
586 prefixes changed from "i386_" to "x86_". All references updated.
587 * i386-nat.c: Renamed as...
588 * x86-nat.c: New file. All type, function and variable name
589 prefixes changed from "i386_" to "x86_". All references updated.
590 * common/i386-xstate.h: Renamed as...
591 * common/x86-xstate.h: New file. All type, function and variable
592 name prefixes changed from "i386_" to "x86_". All references
593 updated.
594 * nat/i386-cpuid.h: Renamed as...
595 * nat/x86-cpuid.h: New file. All type, function and variable name
596 prefixes changed from "i386_" to "x86_". All references updated.
597 * nat/i386-gcc-cpuid.h: Renamed as...
598 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
599 name prefixes changed from "i386_" to "x86_". All references
600 updated.
601 * nat/i386-dregs.h: Renamed as...
602 * nat/x86-dregs.h: New file. All type, function and variable name
603 prefixes changed from "i386_" to "x86_". All references updated.
604 * nat/i386-dregs.c: Renamed as...
605 * nat/x86-dregs.c: New file. All type, function and variable name
606 prefixes changed from "i386_" to "x86_". All references updated.
607
1c3569d4
MR
6082014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
609
610 * varobj.c (_initialize_varobj): Move to the end of file.
611
ff55e1b5
GB
6122014-08-29 Gary Benson <gbenson@redhat.com>
613
614 * common/common-exceptions.h: New file.
615 * common/common-exceptions.c: Likewise.
616 * Makefile.in (SFILES): Add common/common-exceptions.c.
617 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
618 (COMMON_OBS): Add common-exceptions.o.
619 (common-exceptions.o): New rule.
620 * exceptions.h (common-exceptions.h): Include.
621 (gdb_setjmp.h): Do not include.
622 (return_reason): Moved to common-exceptions.h.
623 (enum return_reason): Likewise.
624 (RETURN_MASK): Likewise.
625 (typedef return_mask): Likewise.
626 (enum errors): Likewise.
627 (struct gdb_exception): Likewise.
628 (exceptions_state_mc_init): Likewise.
629 (exceptions_state_mc_action_iter): Likewise.
630 (exceptions_state_mc_action_iter_1): Likewise.
631 (TRY_CATCH): Likewise.
632 (throw_exception): Likewise.
633 (throw_verror): Likewise.
634 (throw_vquit): Likewise.
635 (throw_error): Likewise.
636 (throw_quit): Likewise.
637 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
638 (enum catcher_action): Likewise.
639 (struct catcher): Likewise.
640 (current_catcher): Likewise.
641 (catcher_list_size): Likewise.
642 (exceptions_state_mc_init): Likewise.
643 (catcher_pop): Likewise.
644 (exceptions_state_mc): Likewise.
645 (exceptions_state_mc_action_iter): Likewise.
646 (exceptions_state_mc_action_iter_1): Likewise.
647 (throw_exception): Likewise.
648 (exception_messages): Likewise.
649 (exception_messages_size): Likewise.
650 (throw_it): Likewise.
651 (throw_verror): Likewise.
652 (throw_vquit): Likewise.
653 (throw_error): Likewise.
654 (throw_quit): Likewise.
655 (prepare_to_throw_exception): New function.
656
e9bcb658
GB
6572014-08-29 Gary Benson <gbenson@redhat.com>
658
659 * common/gdb_setjmp.h: New file.
660 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
661 * configure.ac: Move sigsetjmp check...
662 * common/common.m4: ...here.
663 * configure: Regenerate.
664 * cp-support.c (SIGJMP_BUF): Delete.
665 (SIGSETJMP): Likewise.
666 (SIGLONGJMP): Likewise.
667 * exceptions.h (gdb_setjmp.h): Include.
668 (setjmp.h): Do not include.
669 (EXCEPTIONS_SIGJMP_BUF): Delete.
670 (EXCEPTIONS_SIGSETJMP): Likewise.
671 (EXCEPTIONS_SIGLONGJMP): Likewise.
672 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
673 from gdb_setjmp.h.
674 * exceptions.c: Likewise.
675
e3180625
GB
6762014-08-29 Gary Benson <gbenson@redhat.com>
677
678 * cleanups.h: Moved to...
679 * common/cleanups.h: New file.
680 * cleanups.c: Moved to...
681 * common/cleanups.c: New file. Include common-defs.h and
682 cleanups.h. Do not include defs.h.
683 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
684 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
685 (cleanups.o): New rule.
686
e3d6ba5d
GB
6872014-08-29 Gary Benson <gbenson@redhat.com>
688
689 * common/errors.h (internal_warning): New declaration.
690 (internal_vwarning): Likewise.
691 * common/errors.c (internal_warning): New function.
692 * utils.h (internal_warning): Don't declare.
693 (internal_vwarning): Likewise.
694 * utils.c (internal_warning): Removed.
695
075c7033
GB
6962014-08-29 Gary Benson <gbenson@redhat.com>
697
698 * main.c (captured_main): Use warning during startup.
699 Prefix startup warning messages with command name.
700
91b35fd0
GB
7012014-08-29 Gary Benson <gbenson@redhat.com>
702
703 * main.c (captured_main): Handle usage errors with error.
704
b1ec390e
GB
7052014-08-29 Gary Benson <gbenson@redhat.com>
706
707 * go32-nat.c (go32_create_inferior): Replace a fprintf/
708 exit pair with a call to error. Wrap the message with _().
709
fd0ef3dd
GB
7102014-08-29 Gary Benson <gbenson@redhat.com>
711
712 * main.c (captured_main): Replace a fprintf/exit
713 pair with a call to error. Wrap the message with _().
714
e0e6bcab
GB
7152014-08-29 Gary Benson <gbenson@redhat.com>
716
717 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
718 pairs with calls to error. Wrap the message with _().
719
0d2f5c07
GB
7202014-08-29 Gary Benson <gbenson@redhat.com>
721
722 * utils.c (vwarning): Protect calls to target_terminal_ours
723 and wrap_here.
724
5df43998
GB
7252014-08-29 Gary Benson <gbenson@redhat.com>
726
727 * exceptions.c (print_flush): Protect calls to
728 target_terminal_ours and wrap_here.
729
2437fd32
GB
7302014-08-29 Gary Benson <gbenson@redhat.com>
731
732 * utils.h (filtered_printing_initialized): New declaration.
733 * utils.c (abort_with_message): New function.
734 (internal_vproblem): Use abort_with_message for first level
735 recursive internal problems, and if gdb_stderr is not set up.
736 Protect calls to target_terminal_ours, begin_line and query.
737
f1f58506
DE
7382014-08-28 Doug Evans <dje@google.com>
739
740 * symtab.c (in_prologue): Move definition to better spot.
741 (skip_prologue_using_sal): Ditto.
742
aab2f208
DE
7432014-08-28 Doug Evans <dje@google.com>
744
745 * symtab.c (find_function_start_sal): Move definition to better spot.
746
6b65d1b6
YQ
7472014-08-28 Yao Qi <yao@codesourcery.com>
748
749 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
750 found_stack_adjust in forward scan. Remove condition check
751 on found_stack_adjust which is always true. Indent the code.
752
a1b34d15
YQ
7532014-08-28 Yao Qi <yao@codesourcery.com>
754
755 * dwarf2read.c (dwarf_decode_lines): Update declaration.
756 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
757 (dwarf_decode_lines): Remove argument
758 want_line_info. Remove condition check on want_line_info.
759 Callers update.
760
d5962de5
DE
7612014-08-27 Doug Evans <dje@google.com>
762
763 * dwarf2read.c (dwarf_record_line): Fix typo.
764
9b139002
SDJ
7652014-08-27 Patrick Palka <patrick@parcs.ath.cx>
766
767 * target.h (struct target_ops::to_terminal_save_ours): Remove
768 declaration.
769 (target_terminal_save_ours): Remove macro.
770 * target-delegates.c: Regenerate.
771 * inf-child.c (inf_child_target): Don't set the nonexistent
772 field to_terminal_save_ours.
773 * inferior.h (child_terminal_save_ours): Remove declaration.
774 * terminal.h (gdb_save_tty_state): New declaration.
775 * inflow.c (child_terminal_save_ours): Rename to ...
776 (gdb_save_tty_state): ... this.
777 * tui/tui.c: Include terminal.h.
778 (tui_enable): Use gdb_save_tty_state instead of
779 target_terminal_save_ours.
780 (tui_disable): Likewise.
781
9debeba0
DE
7822014-08-25 Doug Evans <dje@google.com>
783
784 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
785 Pass NULL instead of 0 for context pointer.
786
428fc5fc
YQ
7872014-08-25 Yao Qi <yao@codesourcery.com>
788
789 * dwarf2read.c: Fix grammatical error.
790
cdc07690
YQ
7912014-08-24 Yao Qi <yao@codesourcery.com>
792
793 * dwarf2read.c (scan_partial_symbols): Update comments.
794 Rename argument 'need_pc' with 'set_addrmap'.
795 (add_partial_namespace): Rename argument 'need_pc' with
796 'set_addrmap'.
797 (add_partial_module): Likewise.
798 (add_partial_subprogram): Likewise. Update comments.
799 (dwarf2_name): Fix typo.
800
a05a36a5
DE
8012014-08-22 Doug Evans <dje@google.com>
802
803 PR 17276
804 * dwarf2read.c (dwarf_record_line_p): New function.
805 (dwarf_decode_lines_1): Ignore subsequent line number entries
806 for the same line if any entry had a non-zero discriminator.
807
252a6764
DE
8082014-08-22 Doug Evans <dje@google.com>
809
810 * buildsym.h (record_line_ftype): New typedef.
811 (record_line): Use it.
812 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
813 (dwarf_decode_lines_1): Call them.
814
510db052
YQ
8152014-08-22 Yao Qi <yao@codesourcery.com>
816
817 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
818 (ctf_end): Remove code.
819
22fd09ae
JK
8202014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
823 (linux_make_corefile_notes): call update_thread_list, protected against
824 exceptions.
825
656e8868
PA
8262014-08-21 Pedro Alves <palves@redhat.com>
827
828 * infcmd.c (attach_command): Remove comment.
829
de589d04
WN
8302014-08-21 Bin Cheng <bin.cheng@arm.com>
831
832 * aarch64-linux-nat.c (dr_changed_t): Change the type from
833 unsigned LONGEST to ULONGEST.
834
2a31c623
PA
8352014-08-20 Pedro Alves <palves@redhat.com>
836
837 * Makefile.in (check-read1): New rule.
838
d36430db
JB
8392014-08-20 Joel Brobecker <brobecker@adacore.com>
840
841 * value.c (value_from_contents_and_address): Strip resolved_type's
842 typedef layers before checking its TYPE_DATA_LOCATION.
843
000339af
PA
8442014-08-20 Pedro Alves <palves@redhat.com>
845
846 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
847
5f52445b
YQ
8482014-08-20 Yao Qi <yao@codesourcery.com>
849
850 * amd64-tdep.c (amd64_classify): Add a blank line after the
851 example. Move "*/" to a new line.
852 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
853 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
854 * dwarf2read.c (psymtab_include_file_name): Likewise.
855
9a0dc9e3
PA
8562014-08-19 Andrew Burgess <aburgess@broadcom.com>
857 Pedro Alves <palves@redhat.com>
858
859 PR symtab/14604
860 PR symtab/14605
861 * ada-lang.c (coerce_unspec_val_to_type): Use
862 value_contents_copy_raw.
863 * ada-valprint.c (val_print_packed_array_elements): Adjust.
864 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
865 * cp-valprint.c (cp_print_value_fields): Let the common printing
866 code handle optimized out values.
867 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
868 * d-valprint.c (dynamic_array_type): Use
869 value_bits_any_optimized_out.
870 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
871 check_any_valid fields.
872 (check_pieced_value_bits): Delete and inline ...
873 (check_pieced_synthetic_pointer): ... here.
874 (check_pieced_value_validity): Delete.
875 (check_pieced_value_invalid): Delete.
876 (pieced_value_funcs): Remove check_validity and check_any_valid
877 fields.
878 (read_pieced_value): Use mark_value_bits_optimized_out.
879 (write_pieced_value): Switch to use
880 mark_value_bytes_optimized_out.
881 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
882 of assuming the whole value is optimized out.
883 * findvar.c (read_frame_register_value): Remove special handling
884 of optimized out registers.
885 (value_from_register): Use mark_value_bytes_optimized_out.
886 * frame-unwind.c (frame_unwind_got_optimized): Use
887 mark_value_bytes_optimized_out.
888 * jv-valprint.c (java_value_print): Adjust.
889 (java_print_value_fields): Let the common printing code handle
890 optimized out values.
891 * mips-tdep.c (mips_print_register): Remove special handling of
892 optimized out registers.
893 * opencl-lang.c (lval_func_check_validity): Delete.
894 (lval_func_check_any_valid): Delete.
895 (opencl_value_funcs): Remove check_validity and check_any_valid
896 fields.
897 * p-valprint.c (pascal_object_print_value_fields): Let the common
898 printing code handle optimized out values.
899 * stack.c (read_frame_arg): Remove special handling of optimized
900 out values. Fetch both VAL and ENTRYVAL before comparing
901 contents. Adjust to value_available_contents_eq rename.
902 * valprint.c (valprint_check_validity)
903 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
904 (val_print_array_elements): Adjust.
905 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
906 (value_bits_any_optimized_out): New function.
907 (value_entirely_covered_by_range_vector): New function, factored
908 out from value_entirely_unavailable.
909 (value_entirely_unavailable): Reimplement.
910 (value_entirely_optimized_out): New function.
911 (insert_into_bit_range_vector): New function, factored out from
912 mark_value_bits_unavailable.
913 (mark_value_bits_unavailable): Reimplement.
914 (struct ranges_and_idx): New struct.
915 (find_first_range_overlap_and_match): New function, factored out
916 from value_available_contents_bits_eq.
917 (value_available_contents_bits_eq): Rename to ...
918 (value_contents_bits_eq): ... this. Check both unavailable
919 contents and optimized out contents.
920 (value_available_contents_eq): Rename to ...
921 (value_contents_eq): ... this.
922 (allocate_value_lazy): Remove reference to the old optimized_out
923 boolean.
924 (allocate_optimized_out_value): Use
925 mark_value_bytes_optimized_out.
926 (require_not_optimized_out): Adjust to check whether the
927 optimized_out vec is empty.
928 (ranges_copy_adjusted): New function, factored out from
929 value_contents_copy_raw.
930 (value_contents_copy_raw): Also copy the optimized out ranges.
931 Assert the destination ranges aren't optimized out.
932 (value_contents_copy): Update comment, remove call to
933 require_not_optimized_out.
934 (value_contents_equal): Adjust to check whether the optimized_out
935 vec is empty.
936 (set_value_optimized_out, value_optimized_out_const): Delete.
937 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
938 New functions.
939 (value_entirely_optimized_out, value_bits_valid): Delete.
940 (value_copy): Take a VEC copy of the 'optimized_out' field.
941 (value_primitive_field): Remove special handling of optimized out.
942 (value_fetch_lazy): Assert that lazy values have no unavailable
943 regions. Use value_bits_any_optimized_out. Remove some special
944 handling for optimized out values.
945 * value.h: Add intro comment about <optimized out> and
946 <unavailable>.
947 (struct lval_funcs): Remove check_validity and check_any_valid
948 fields.
949 (set_value_optimized_out, value_optimized_out_const): Remove.
950 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
951 New declarations.
952 (value_bits_any_optimized_out): New declaration.
953 (value_bits_valid): Delete declaration.
954 (value_available_contents_eq): Rename to ...
955 (value_contents_eq): ... this, and extend comments.
956
6694c411
JK
9572014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
958
959 Fix -fsanitize=address on unreadable inferior strings.
960 * valprint.c (val_print_string): Fix access before BUFFER.
961
89a1c21a
SM
9622014-08-19 Simon Marchi <simon.marchi@ericsson.com>
963
964 * target.c (target_struct_size): Remove.
965 (target_struct_allocsize): Remove.
966 (DEFAULT_ALLOCSIZE): Remove.
967 (target_ops_p): New typedef.
968 (DEF_VEC_P (target_ops_p)): New vector type.
969 (target_structs): Change type to VEC (target_ops_p).
970 (add_target_with_completer): Replace "push" code by VEC_safe_push.
971 (find_default_run_target): Rewrite for loop following changes to
972 target_structs.
973
cb417230
JB
9742014-08-19 Joel Brobecker <brobecker@adacore.com>
975
976 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
977 Adjust code accordingly. Adjust function description comment.
978
817e0957
YQ
9792014-08-19 Yao Qi <yao@codesourcery.com>
980
981 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
982 types.
983
2974be62
AM
9842014-08-19 Alan Modra <amodra@gmail.com>
985
986 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
987 * config.in: Regenerate.
988 * configure: Regenerate.
989
34abf635
GB
9902014-08-19 Tom Tromey <tromey@redhat.com>
991 Gary Benson <gbenson@redhat.com>
992
993 * common/common-debug.h: New file.
994 * common/common-debug.c: Likewise.
995 * debug.c: Likewise.
996 * Makefile.in (SFILES): Add common/common-debug.c.
997 (HFILES_NO_SRCDIR): Add common/common-debug.h.
998 (COMMON_OBS): Add common-debug.o and debug.o.
999 (common-debug.o): New rule.
1000 * common/common-defs.h: Include common-debug.h.
1001 * common/agent.c (debug_agent_printf): New function.
1002 (DEBUG_AGENT): Redefine.
1003 * nat/i386-dregs.c (debug_printf): Undefine.
1004
f6e94d78
GB
10052014-08-19 Gary Benson <gbenson@redhat.com>
1006
1007 * common/common-defs.h: Include print-utils.h.
1008 * utils.h: Do not include print-utils.h.
1009
9239eeab
GB
10102014-08-19 Tom Tromey <tromey@redhat.com>
1011 Gary Benson <gbenson@redhat.com>
1012
1013 * common/common-types.h: New file.
1014 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1015 * common/common-defs.h: Include common-types.h.
1016 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1017 (ULONGEST): Remove.
1018
ef87c8bb
GB
10192014-08-19 Tom Tromey <tromey@redhat.com>
1020 Gary Benson <gbenson@redhat.com>
1021
1022 * common/errors.h: New file.
1023 * common/errors.c: Likewise.
1024 * Makefile.in (SFILES): Add common/errors.c.
1025 (HFILES_NO_SRCDIR): Add common/errors.h.
1026 (COMMON_OBS): Add errors.o.
1027 (errors.o): New rule.
1028 * common/common-defs.h: Include errors.h.
1029 * utils.h (perror_with_name, error, verror, warning, vwarning):
1030 Don't declare.
1031 * common/common-utils.h: (malloc_failure, internal_error):
1032 Likewise.
1033
196a707b
GB
10342014-08-19 Gary Benson <gbenson@redhat.com>
1035
1036 * utils.c (internal_vproblem): Always print the message.
1037
ded4fc8f
DE
10382014-08-18 Doug Evans <dje@google.com>
1039
1040 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1041
950c97d8
JB
10422014-08-18 Joel Brobecker <brobecker@adacore.com>
1043
1044 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1045 Return 0 if TYPE is dynamic.
1046 (print_range): Add handling of dynamic ranges.
1047
3cdcd0ce
JB
10482014-08-18 Keven Boell <keven.boell@intel.com>
1049 Joel Brobecker <brobecker@adacore.com>
1050
1051 * gdbtypes.h (struct main_type): Add field "data_location".
1052 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1053 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1054 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1055 a dynamic data location.
1056 (resolve_dynamic_type): Add DW_AT_data_location handling.
1057 (copy_recursive, copy_type): Copy the data_location information
1058 when present.
1059 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1060 * value.c (value_from_contents_and_address): Add
1061 DW_AT_data_location handling.
1062
08412b07
JB
10632014-08-18 Keven Boell <keven.boell@intel.com>
1064 Joel Brobecker <brobecker@adacore.com>
1065
1066 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1067 field "get_object_address".
1068 * dwarf2expr.c (execute_stack_op): Add handling for
1069 DW_OP_push_object_address.
1070 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1071 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1072 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1073 (dwarf_expr_get_obj_addr): New function.
1074 (dwarf_expr_ctx_funcs): Add get_object_address field.
1075 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1076 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1077 (dwarf2_evaluate_property): Add parameter "address". Use it.
1078 (needs_get_obj_addr): New function.
1079 (needs_frame_ctx_funcs): Add get_object_address field.
1080 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1081 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1082 (resolve_dynamic_array): Likewise.
1083
84754697
JB
10842014-08-18 Joel Brobecker <brobecker@adacore.com>
1085
1086 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1087 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1088 fixed value for records and unions for which some GNAT encodings
1089 are present.
1090
da5c522f
JB
10912014-08-18 Joel Brobecker <brobecker@adacore.com>
1092
1093 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1094 rewrite to avoid "else if" and "else" constructs. Should be
1095 a no-op in practice.
1096
0d72a7c3
JB
10972014-08-18 Joel Brobecker <brobecker@adacore.com>
1098
1099 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1100 of lexical block.
1101
e66d4446
SC
11022014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1103
1104 PR c++/17132
1105 * eval.c: Update all calls to find_overload_match.
1106 * valarith.c: Likewise.
1107 (value_user_defined_cpp_op, value_user_defined_op): New
1108 argument NOSIDE. Update all callers.
1109 * valops.c (find_overload_match): New argument NOSIDE.
1110 * value.h (find_overload_match): Update signature.
1111
940df408
SC
11122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1113
1114 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1115 'items' methods instead of 'iteritems' method on dictionaries.
1116
699ca60a
DE
11172014-08-15 Doug Evans <dje@google.com>
1118
1119 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1120 closer to use.
1121
37780ee5
DE
11222014-08-15 Doug Evans <dje@google.com>
1123
1124 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1125
0ad93d4f
DE
11262014-08-15 Doug Evans <dje@google.com>
1127
1128 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1129
20d8c372
DE
11302014-08-15 Doug Evans <dje@google.com>
1131
1132 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1133 unused.
1134
cb039ba4
EZ
11352014-08-15 Eli Zaretskii <eliz@gnu.org>
1136
1137 * dcache.h: Include target.h, to avoid compile time warnings.
1138
eb7a547a
JB
11392014-08-15 Joel Brobecker <brobecker@adacore.com>
1140
1141 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1142 frame_info" partial declaration.
1143 * gdbarch.h: Regenerate.
1144
783cecc8
YQ
11452014-08-15 Yao Qi <yao@codesourcery.com>
1146
1147 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1148 Add parameter 'decode_for_pst_p'. Callers update.
1149
65c749e7
YQ
11502014-08-13 Yao Qi <yao@codesourcery.com>
1151
1152 PR build/17104
1153 * configure.ac: Use local variable 'pos'.
1154 * configure: Regenerated.
1155
d769e349
DE
11562014-08-11 Doug Evans <dje@google.com>
1157
1158 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1159 message, it is redundant with "Reading symbols from ..." message.
1160
24f1235e
DE
11612014-08-10 Doug Evans <xdje42@gmail.com>
1162
1163 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1164
dcd2e6ef
YQ
11652014-08-09 Yao Qi <yao@codesourcery.com>
1166
1167 PR remote/9053
1168 * remote.c (remote_xfer_partial): Remove dead code.
1169
070bdf0b
AA
11702014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1171
1172 * ia64-linux-tdep.c: Include "regset.h".
1173 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1174 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1175 (ia64_linux_supply_fpregset): New function.
1176 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1177 (ia64_linux_regset_from_core_section): New function.
1178 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1179 method.
1180
08f9f542
AA
11812014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1182
1183 * m68klinux-tdep.c: Include "regset.h".
1184 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1185 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1186 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1187 (m68k_linux_regset_from_core_section): New function.
1188 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1189 method.
1190
8f1cee41
AA
11912014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1192
1193 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1194 function. Move logic to...
1195 (tilegx_linux_regmap): ... this new register map.
1196 (tilegx_linux_regset): Refer to register map, replace supply
1197 method by regcache_supply_regset, and add collect method.
1198 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1199 TILEGX_FIRST_EASY_REGNUM.
1200
c5741217
AA
12012014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1202
1203 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1204 that calls regcache_supply_regset and handles the EPC register
1205 separately. Move main logic to...
1206 (score7_linux_gregmap): ... this new register map.
1207 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1208 (score7_linux_gregset): Refer to register map. Add collect method.
1209 (score7_linux_regset_from_core_section): Replace
1210 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1211 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1212 (struct regset): Delete unused forward declaraction.
1213 (struct pt_regs): Delete structure definition.
1214 (elf_gregset_t): Delete typedef.
1215
81580573
AA
12162014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1217
1218 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1219 (nios2_core_regset): Add collect method.
1220
ba199d7d
AA
12212014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1222
1223 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1224 platform-independent and don't write to read-only input buffer.
1225 (m32r_linux_collect_gregset): New function.
1226 (m32r_linux_gregset): Add collect method.
1227
0006a9da
AA
12282014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1229
1230 * hppa-linux-tdep.c (greg_map): Rename to...
1231 (hppa_linux_gregmap): ... this. Also convert to
1232 regcache_map_entry format.
1233 (hppa_linux_supply_regset): Delete function.
1234 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1235 (hppa_linux_fpregmap): ... this new register map.
1236 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1237 register map, replace supply method by regcache_supply_regset, and
1238 add collect method regcache_collect_regset.
1239
901e1b23
AA
12402014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1241
1242 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1243 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1244 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1245 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1246 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1247 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1248 (frv_linux_supply_gregset): Replace main logic by call to
1249 regcache_supply_regset, but keep clearing gr32-gr63.
1250 (frv_linux_supply_fpregset): Delete function.
1251 (frv_linux_gregset): Refer to appropriate register map and add
1252 regcache_collect_regset as the collect method.
1253 (frv_linux_fpregset): Likewise. Also exchange the supply method
1254 by regcache_supply_regset.
1255
1d6e7555
AA
12562014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1257
1258 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1259 by call to alpha_supply_int_regs.
1260 (alpha_linux_collect_gregset): New function.
1261 (alpha_linux_supply_fpregset): Replace logic by call to
1262 alpha_supply_fp_regs.
1263 (alpha_linux_collect_fpregset): New function.
1264 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1265
d4d793bf
AA
12662014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1267
1268 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1269 by call to regcache_collect_regset.
1270 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1271 instead of aarch64_linux_supply_gregset/_fpregset.
1272 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1273 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1274 header file instead.
1275 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1276 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1277 functions. Move logic to ...
1278 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1279 register maps.
1280 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1281 refer to new register maps, replace *_regset_from_core by
1282 regcache_supply_regset, and also use regcache_collect_regset.
1283 * aarch64-linux-tdep.h: Include "regset.h".
1284 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1285 Delete prototypes.
1286 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1287 macros, moved from C source file.
1288 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1289 variable declarations.
1290
99b7da5d
AA
12912014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1292
1293 * s390-linux-nat.c: Include "regset.h".
1294 (regmap_gregset): Delete macro.
1295 (s390_64_regmap_gregset): New register map for
1296 regcache_supply/_collect_regset.
1297 (s390_64_gregset): New regset.
1298 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1299 (regmap_fpregset): Delete macro.
1300 (s390_native_supply, s390_native_collect): Delete functions.
1301 (supply_gregset, fill_gregset): Replace s390-specific regmap
1302 handling by a call to regcache_supply/_collect_regset.
1303 (supply_fpregset, fill_fpregset): Call regcache_supply/
1304 _collect_regset instead of s390_native_supply/_collect.
1305 (fetch_regset, store_regset): Likewise. Also change the last
1306 parameter to a regset instead of a regmap.
1307 (s390_linux_fetch_inferior_registers)
1308 (390_linux_store_inferior_registers): Adjust last parameter in
1309 calls to fetch_regset and store_regset.
1310 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1311 (s390_gregmap): ... this. Also make static const and convert to
1312 regcache_map_entry format.
1313 (s390x_regmap_gregset): Delete.
1314 (s390_regmap_fpregset): Rename to...
1315 (s390_fpregmap): ... this. Make static const and convert to
1316 regcache_map_entry format.
1317 (s390_regmap_upper, s390_regmap_last_break)
1318 (s390x_regmap_last_break, s390_regmap_system_call)
1319 (s390_regmap_tdb): Likewise.
1320 (s390_supply_regset, s390_collect_regset): Remove functions.
1321 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1322 s390_supply_regset.
1323 (s390_gregset, s390_fpregset, s390_upper_regset)
1324 (s390_last_break_regset, s390x_last_break_regset)
1325 (s390_system_call_regset, s390_tdb_regset): Make global and
1326 replace s390_supply/_collect_regset by regcache_supply/
1327 _collect_regset.
1328 (s390x_gregset): Delete.
1329 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1330 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1331 (s390_regmap_fpregset, s390_regmap_last_break)
1332 (s390x_regmap_last_break, s390_regmap_system_call)
1333 (s390_regmap_tdb): Delete global variable declarations.
1334 (s390_gregset, s390_fpregset, s390_last_break_regset)
1335 (s390x_last_break_regset, s390_system_call_regset)
1336 (s390_tdb_regset): New global variable declarations.
1337
0b309272
AA
13382014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1339
1340 * regcache.c: Include "regset.h".
1341 (regcache_transfer_regset): New local function.
1342 (regcache_supply_regset, regcache_collect_regset): New functions.
1343 * regcache.h (struct regcache_map_entry): New structure.
1344 (REGCACHE_MAP_SKIP): New enum value.
1345 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1346
7fefa8d7
AA
13472014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1348
1349 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1350 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1351 (ppc_linux_collect_gregset ): Likewise.
1352 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1353 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1354 (ppc_collect_vrregset): Likewise.
1355 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1356 Likewise.
1357
96c4f946
YQ
13582014-08-07 Yao Qi <yao@codesourcery.com>
1359
1360 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1361 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1362 * remote.c (remote_read_bytes): Likewise.
1363
fffbe6a8
YQ
13642014-08-07 Yao Qi <yao@codesourcery.com>
1365
1366 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1367
5ee8a82c
YQ
13682014-08-07 Yao Qi <yao@codesourcery.com>
1369
1370 PR remote/17230
1371 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1372 TARGET_XFER_OK instead of 0.
1373
bb974a24
GB
13742014-08-07 Gary Benson <gbenson@redhat.com>
1375
1376 * common/common-defs.h: Include errno.h.
1377 * defs.h: Do not include errno.h.
1378 * ada-typeprint.c: Likewise.
1379 * c-typeprint.c: Likewise.
1380 * core-regset.c: Likewise.
1381 * corefile.c: Likewise.
1382 * corelow.c: Likewise.
1383 * event-loop.c: Likewise.
1384 * f-typeprint.c: Likewise.
1385 * gnu-nat.c: Likewise.
1386 * go32-nat.c: Likewise.
1387 * i386gnu-nat.c: Likewise.
1388 * m2-typeprint.c: Likewise.
1389 * nat/linux-btrace.c: Likewise.
1390 * p-typeprint.c: Likewise.
1391 * procfs.c: Likewise.
1392 * remote-sim.c: Likewise.
1393 * rs6000-nat.c: Likewise.
1394 * target.c: Likewise.
1395 * typeprint.c: Likewise.
1396 * ui-file.c: Likewise.
1397 * valops.c: Likewise.
1398 * valprint.c: Likewise.
1399
6d3d12eb
GB
14002014-08-07 Gary Benson <gbenson@redhat.com>
1401
1402 * common/common-defs.h: Include string.h.
1403 * aarch64-tdep.c: Do not include string.h.
1404 * ada-exp.y: Likewise.
1405 * ada-lang.c: Likewise.
1406 * ada-lex.l: Likewise.
1407 * ada-typeprint.c: Likewise.
1408 * ada-valprint.c: Likewise.
1409 * aix-thread.c: Likewise.
1410 * alpha-linux-tdep.c: Likewise.
1411 * alpha-mdebug-tdep.c: Likewise.
1412 * alpha-nat.c: Likewise.
1413 * alpha-osf1-tdep.c: Likewise.
1414 * alpha-tdep.c: Likewise.
1415 * alphanbsd-tdep.c: Likewise.
1416 * amd64-dicos-tdep.c: Likewise.
1417 * amd64-linux-tdep.c: Likewise.
1418 * amd64-nat.c: Likewise.
1419 * amd64-sol2-tdep.c: Likewise.
1420 * amd64fbsd-tdep.c: Likewise.
1421 * amd64obsd-tdep.c: Likewise.
1422 * arch-utils.c: Likewise.
1423 * arm-linux-nat.c: Likewise.
1424 * arm-linux-tdep.c: Likewise.
1425 * arm-tdep.c: Likewise.
1426 * arm-wince-tdep.c: Likewise.
1427 * armbsd-tdep.c: Likewise.
1428 * armnbsd-nat.c: Likewise.
1429 * armnbsd-tdep.c: Likewise.
1430 * armobsd-tdep.c: Likewise.
1431 * avr-tdep.c: Likewise.
1432 * ax-gdb.c: Likewise.
1433 * ax-general.c: Likewise.
1434 * bcache.c: Likewise.
1435 * bfin-tdep.c: Likewise.
1436 * breakpoint.c: Likewise.
1437 * build-id.c: Likewise.
1438 * buildsym.c: Likewise.
1439 * c-exp.y: Likewise.
1440 * c-lang.c: Likewise.
1441 * c-typeprint.c: Likewise.
1442 * c-valprint.c: Likewise.
1443 * charset.c: Likewise.
1444 * cli-out.c: Likewise.
1445 * cli/cli-cmds.c: Likewise.
1446 * cli/cli-decode.c: Likewise.
1447 * cli/cli-dump.c: Likewise.
1448 * cli/cli-interp.c: Likewise.
1449 * cli/cli-logging.c: Likewise.
1450 * cli/cli-script.c: Likewise.
1451 * cli/cli-setshow.c: Likewise.
1452 * cli/cli-utils.c: Likewise.
1453 * coffread.c: Likewise.
1454 * common/agent.c: Likewise.
1455 * common/buffer.c: Likewise.
1456 * common/buffer.h: Likewise.
1457 * common/common-utils.c: Likewise.
1458 * common/filestuff.c: Likewise.
1459 * common/filestuff.c: Likewise.
1460 * common/format.c: Likewise.
1461 * common/print-utils.c: Likewise.
1462 * common/rsp-low.c: Likewise.
1463 * common/signals.c: Likewise.
1464 * common/vec.h: Likewise.
1465 * common/xml-utils.c: Likewise.
1466 * core-regset.c: Likewise.
1467 * corefile.c: Likewise.
1468 * corelow.c: Likewise.
1469 * cp-abi.c: Likewise.
1470 * cp-name-parser.y: Likewise.
1471 * cp-support.c: Likewise.
1472 * cp-valprint.c: Likewise.
1473 * cris-tdep.c: Likewise.
1474 * d-exp.y: Likewise.
1475 * darwin-nat.c: Likewise.
1476 * dbxread.c: Likewise.
1477 * dcache.c: Likewise.
1478 * demangle.c: Likewise.
1479 * dicos-tdep.c: Likewise.
1480 * disasm.c: Likewise.
1481 * doublest.c: Likewise.
1482 * dsrec.c: Likewise.
1483 * dummy-frame.c: Likewise.
1484 * dwarf2-frame.c: Likewise.
1485 * dwarf2loc.c: Likewise.
1486 * dwarf2read.c: Likewise.
1487 * elfread.c: Likewise.
1488 * environ.c: Likewise.
1489 * eval.c: Likewise.
1490 * event-loop.c: Likewise.
1491 * exceptions.c: Likewise.
1492 * exec.c: Likewise.
1493 * expprint.c: Likewise.
1494 * f-exp.y: Likewise.
1495 * f-lang.c: Likewise.
1496 * f-typeprint.c: Likewise.
1497 * f-valprint.c: Likewise.
1498 * fbsd-nat.c: Likewise.
1499 * findcmd.c: Likewise.
1500 * findvar.c: Likewise.
1501 * fork-child.c: Likewise.
1502 * frame.c: Likewise.
1503 * frv-linux-tdep.c: Likewise.
1504 * frv-tdep.c: Likewise.
1505 * gdb.c: Likewise.
1506 * gdb_bfd.c: Likewise.
1507 * gdbarch.c: Likewise.
1508 * gdbarch.sh: Likewise.
1509 * gdbtypes.c: Likewise.
1510 * gnu-nat.c: Likewise.
1511 * gnu-v2-abi.c: Likewise.
1512 * gnu-v3-abi.c: Likewise.
1513 * go-exp.y: Likewise.
1514 * go-lang.c: Likewise.
1515 * go32-nat.c: Likewise.
1516 * guile/guile.c: Likewise.
1517 * guile/scm-auto-load.c: Likewise.
1518 * hppa-hpux-tdep.c: Likewise.
1519 * hppa-linux-nat.c: Likewise.
1520 * hppanbsd-tdep.c: Likewise.
1521 * hppaobsd-tdep.c: Likewise.
1522 * i386-cygwin-tdep.c: Likewise.
1523 * i386-dicos-tdep.c: Likewise.
1524 * i386-linux-tdep.c: Likewise.
1525 * i386-nto-tdep.c: Likewise.
1526 * i386-sol2-tdep.c: Likewise.
1527 * i386-tdep.c: Likewise.
1528 * i386bsd-tdep.c: Likewise.
1529 * i386gnu-nat.c: Likewise.
1530 * i386nbsd-tdep.c: Likewise.
1531 * i386obsd-tdep.c: Likewise.
1532 * i387-tdep.c: Likewise.
1533 * ia64-libunwind-tdep.c: Likewise.
1534 * ia64-linux-nat.c: Likewise.
1535 * inf-child.c: Likewise.
1536 * inf-ptrace.c: Likewise.
1537 * inf-ttrace.c: Likewise.
1538 * infcall.c: Likewise.
1539 * infcmd.c: Likewise.
1540 * inflow.c: Likewise.
1541 * infrun.c: Likewise.
1542 * interps.c: Likewise.
1543 * iq2000-tdep.c: Likewise.
1544 * irix5-nat.c: Likewise.
1545 * jv-exp.y: Likewise.
1546 * jv-lang.c: Likewise.
1547 * jv-typeprint.c: Likewise.
1548 * jv-valprint.c: Likewise.
1549 * language.c: Likewise.
1550 * linux-fork.c: Likewise.
1551 * linux-nat.c: Likewise.
1552 * lm32-tdep.c: Likewise.
1553 * m2-exp.y: Likewise.
1554 * m2-typeprint.c: Likewise.
1555 * m32c-tdep.c: Likewise.
1556 * m32r-linux-nat.c: Likewise.
1557 * m32r-linux-tdep.c: Likewise.
1558 * m32r-rom.c: Likewise.
1559 * m32r-tdep.c: Likewise.
1560 * m68hc11-tdep.c: Likewise.
1561 * m68k-tdep.c: Likewise.
1562 * m68kbsd-tdep.c: Likewise.
1563 * m68klinux-nat.c: Likewise.
1564 * m68klinux-tdep.c: Likewise.
1565 * m88k-tdep.c: Likewise.
1566 * machoread.c: Likewise.
1567 * macrocmd.c: Likewise.
1568 * main.c: Likewise.
1569 * mdebugread.c: Likewise.
1570 * mem-break.c: Likewise.
1571 * memattr.c: Likewise.
1572 * memory-map.c: Likewise.
1573 * mep-tdep.c: Likewise.
1574 * mi/mi-cmd-break.c: Likewise.
1575 * mi/mi-cmd-disas.c: Likewise.
1576 * mi/mi-cmd-env.c: Likewise.
1577 * mi/mi-cmd-stack.c: Likewise.
1578 * mi/mi-cmd-var.c: Likewise.
1579 * mi/mi-cmds.c: Likewise.
1580 * mi/mi-console.c: Likewise.
1581 * mi/mi-getopt.c: Likewise.
1582 * mi/mi-interp.c: Likewise.
1583 * mi/mi-main.c: Likewise.
1584 * mi/mi-parse.c: Likewise.
1585 * microblaze-rom.c: Likewise.
1586 * microblaze-tdep.c: Likewise.
1587 * mingw-hdep.c: Likewise.
1588 * minidebug.c: Likewise.
1589 * minsyms.c: Likewise.
1590 * mips-irix-tdep.c: Likewise.
1591 * mips-linux-tdep.c: Likewise.
1592 * mips-tdep.c: Likewise.
1593 * mips64obsd-tdep.c: Likewise.
1594 * mipsnbsd-tdep.c: Likewise.
1595 * mipsread.c: Likewise.
1596 * mn10300-linux-tdep.c: Likewise.
1597 * mn10300-tdep.c: Likewise.
1598 * monitor.c: Likewise.
1599 * moxie-tdep.c: Likewise.
1600 * mt-tdep.c: Likewise.
1601 * nat/linux-btrace.c: Likewise.
1602 * nat/linux-osdata.c: Likewise.
1603 * nat/linux-procfs.c: Likewise.
1604 * nat/linux-ptrace.c: Likewise.
1605 * nat/linux-waitpid.c: Likewise.
1606 * nbsd-tdep.c: Likewise.
1607 * nios2-linux-tdep.c: Likewise.
1608 * nto-procfs.c: Likewise.
1609 * nto-tdep.c: Likewise.
1610 * objc-lang.c: Likewise.
1611 * objfiles.c: Likewise.
1612 * opencl-lang.c: Likewise.
1613 * osabi.c: Likewise.
1614 * osdata.c: Likewise.
1615 * p-exp.y: Likewise.
1616 * p-lang.c: Likewise.
1617 * p-typeprint.c: Likewise.
1618 * parse.c: Likewise.
1619 * posix-hdep.c: Likewise.
1620 * ppc-linux-nat.c: Likewise.
1621 * ppc-sysv-tdep.c: Likewise.
1622 * ppcfbsd-tdep.c: Likewise.
1623 * ppcnbsd-tdep.c: Likewise.
1624 * ppcobsd-tdep.c: Likewise.
1625 * printcmd.c: Likewise.
1626 * procfs.c: Likewise.
1627 * prologue-value.c: Likewise.
1628 * python/py-auto-load.c: Likewise.
1629 * python/py-gdb-readline.c: Likewise.
1630 * ravenscar-thread.c: Likewise.
1631 * regcache.c: Likewise.
1632 * registry.c: Likewise.
1633 * remote-fileio.c: Likewise.
1634 * remote-m32r-sdi.c: Likewise.
1635 * remote-mips.c: Likewise.
1636 * remote-notif.c: Likewise.
1637 * remote-sim.c: Likewise.
1638 * remote.c: Likewise.
1639 * reverse.c: Likewise.
1640 * rs6000-aix-tdep.c: Likewise.
1641 * ser-base.c: Likewise.
1642 * ser-go32.c: Likewise.
1643 * ser-mingw.c: Likewise.
1644 * ser-pipe.c: Likewise.
1645 * ser-tcp.c: Likewise.
1646 * ser-unix.c: Likewise.
1647 * serial.c: Likewise.
1648 * sh-tdep.c: Likewise.
1649 * sh64-tdep.c: Likewise.
1650 * shnbsd-tdep.c: Likewise.
1651 * skip.c: Likewise.
1652 * sol-thread.c: Likewise.
1653 * solib-dsbt.c: Likewise.
1654 * solib-frv.c: Likewise.
1655 * solib-osf.c: Likewise.
1656 * solib-som.c: Likewise.
1657 * solib-spu.c: Likewise.
1658 * solib-target.c: Likewise.
1659 * solib.c: Likewise.
1660 * somread.c: Likewise.
1661 * source.c: Likewise.
1662 * sparc-nat.c: Likewise.
1663 * sparc-sol2-tdep.c: Likewise.
1664 * sparc-tdep.c: Likewise.
1665 * sparc64-tdep.c: Likewise.
1666 * sparc64fbsd-tdep.c: Likewise.
1667 * sparc64nbsd-tdep.c: Likewise.
1668 * sparcnbsd-tdep.c: Likewise.
1669 * spu-linux-nat.c: Likewise.
1670 * spu-multiarch.c: Likewise.
1671 * spu-tdep.c: Likewise.
1672 * stabsread.c: Likewise.
1673 * stack.c: Likewise.
1674 * std-regs.c: Likewise.
1675 * symfile.c: Likewise.
1676 * symmisc.c: Likewise.
1677 * symtab.c: Likewise.
1678 * target.c: Likewise.
1679 * thread.c: Likewise.
1680 * tilegx-linux-nat.c: Likewise.
1681 * tilegx-tdep.c: Likewise.
1682 * top.c: Likewise.
1683 * tracepoint.c: Likewise.
1684 * tui/tui-command.c: Likewise.
1685 * tui/tui-data.c: Likewise.
1686 * tui/tui-disasm.c: Likewise.
1687 * tui/tui-file.c: Likewise.
1688 * tui/tui-layout.c: Likewise.
1689 * tui/tui-out.c: Likewise.
1690 * tui/tui-regs.c: Likewise.
1691 * tui/tui-source.c: Likewise.
1692 * tui/tui-stack.c: Likewise.
1693 * tui/tui-win.c: Likewise.
1694 * tui/tui-windata.c: Likewise.
1695 * tui/tui-winsource.c: Likewise.
1696 * typeprint.c: Likewise.
1697 * ui-file.c: Likewise.
1698 * ui-out.c: Likewise.
1699 * user-regs.c: Likewise.
1700 * utils.c: Likewise.
1701 * v850-tdep.c: Likewise.
1702 * valarith.c: Likewise.
1703 * valops.c: Likewise.
1704 * valprint.c: Likewise.
1705 * value.c: Likewise.
1706 * varobj.c: Likewise.
1707 * vax-tdep.c: Likewise.
1708 * vaxnbsd-tdep.c: Likewise.
1709 * vaxobsd-tdep.c: Likewise.
1710 * windows-nat.c: Likewise.
1711 * xcoffread.c: Likewise.
1712 * xml-support.c: Likewise.
1713 * xstormy16-tdep.c: Likewise.
1714 * xtensa-linux-nat.c: Likewise.
1715
dccbb609
GB
17162014-08-07 Gary Benson <gbenson@redhat.com>
1717
1718 * common/common-defs.h: Include gdb_assert.h.
1719 * aarch64-tdep.c: Do not include gdb_assert.h.
1720 * addrmap.c: Likewise.
1721 * aix-thread.c: Likewise.
1722 * alpha-linux-tdep.c: Likewise.
1723 * alpha-mdebug-tdep.c: Likewise.
1724 * alphanbsd-tdep.c: Likewise.
1725 * amd64-nat.c: Likewise.
1726 * amd64-tdep.c: Likewise.
1727 * amd64bsd-nat.c: Likewise.
1728 * amd64fbsd-nat.c: Likewise.
1729 * amd64fbsd-tdep.c: Likewise.
1730 * amd64nbsd-nat.c: Likewise.
1731 * amd64nbsd-tdep.c: Likewise.
1732 * amd64obsd-nat.c: Likewise.
1733 * amd64obsd-tdep.c: Likewise.
1734 * arch-utils.c: Likewise.
1735 * arm-tdep.c: Likewise.
1736 * armbsd-tdep.c: Likewise.
1737 * auxv.c: Likewise.
1738 * bcache.c: Likewise.
1739 * bfin-tdep.c: Likewise.
1740 * blockframe.c: Likewise.
1741 * breakpoint.c: Likewise.
1742 * bsd-kvm.c: Likewise.
1743 * bsd-uthread.c: Likewise.
1744 * buildsym.c: Likewise.
1745 * c-exp.y: Likewise.
1746 * c-lang.c: Likewise.
1747 * charset.c: Likewise.
1748 * cleanups.c: Likewise.
1749 * cli-out.c: Likewise.
1750 * cli/cli-decode.c: Likewise.
1751 * cli/cli-dump.c: Likewise.
1752 * cli/cli-logging.c: Likewise.
1753 * cli/cli-script.c: Likewise.
1754 * cli/cli-utils.c: Likewise.
1755 * coffread.c: Likewise.
1756 * common/common-utils.c: Likewise.
1757 * common/queue.h: Likewise.
1758 * common/signals.c: Likewise.
1759 * common/vec.h: Likewise.
1760 * complaints.c: Likewise.
1761 * completer.c: Likewise.
1762 * corelow.c: Likewise.
1763 * cp-abi.c: Likewise.
1764 * cp-name-parser.y: Likewise.
1765 * cp-namespace.c: Likewise.
1766 * cp-support.c: Likewise.
1767 * cris-tdep.c: Likewise.
1768 * dbxread.c: Likewise.
1769 * dictionary.c: Likewise.
1770 * doublest.c: Likewise.
1771 * dsrec.c: Likewise.
1772 * dummy-frame.c: Likewise.
1773 * dwarf2-frame-tailcall.c: Likewise.
1774 * dwarf2-frame.c: Likewise.
1775 * dwarf2expr.c: Likewise.
1776 * dwarf2loc.c: Likewise.
1777 * dwarf2read.c: Likewise.
1778 * eval.c: Likewise.
1779 * event-loop.c: Likewise.
1780 * exceptions.c: Likewise.
1781 * expprint.c: Likewise.
1782 * f-valprint.c: Likewise.
1783 * fbsd-nat.c: Likewise.
1784 * findvar.c: Likewise.
1785 * frame-unwind.c: Likewise.
1786 * frame.c: Likewise.
1787 * frv-tdep.c: Likewise.
1788 * gcore.c: Likewise.
1789 * gdb-dlfcn.c: Likewise.
1790 * gdb_bfd.c: Likewise.
1791 * gdbarch.c: Likewise.
1792 * gdbarch.sh: Likewise.
1793 * gdbtypes.c: Likewise.
1794 * gnu-nat.c: Likewise.
1795 * gnu-v3-abi.c: Likewise.
1796 * go-lang.c: Likewise.
1797 * guile/scm-exception.c: Likewise.
1798 * guile/scm-gsmob.c: Likewise.
1799 * guile/scm-lazy-string.c: Likewise.
1800 * guile/scm-math.c: Likewise.
1801 * guile/scm-pretty-print.c: Likewise.
1802 * guile/scm-safe-call.c: Likewise.
1803 * guile/scm-utils.c: Likewise.
1804 * guile/scm-value.c: Likewise.
1805 * h8300-tdep.c: Likewise.
1806 * hppa-hpux-nat.c: Likewise.
1807 * hppa-tdep.c: Likewise.
1808 * hppanbsd-tdep.c: Likewise.
1809 * hppaobsd-tdep.c: Likewise.
1810 * i386-darwin-nat.c: Likewise.
1811 * i386-darwin-tdep.c: Likewise.
1812 * i386-nto-tdep.c: Likewise.
1813 * i386-tdep.c: Likewise.
1814 * i386bsd-nat.c: Likewise.
1815 * i386fbsd-tdep.c: Likewise.
1816 * i386gnu-nat.c: Likewise.
1817 * i386nbsd-tdep.c: Likewise.
1818 * i386obsd-tdep.c: Likewise.
1819 * i387-tdep.c: Likewise.
1820 * ia64-libunwind-tdep.c: Likewise.
1821 * ia64-tdep.c: Likewise.
1822 * inf-ptrace.c: Likewise.
1823 * inf-ttrace.c: Likewise.
1824 * infcall.c: Likewise.
1825 * infcmd.c: Likewise.
1826 * infrun.c: Likewise.
1827 * inline-frame.c: Likewise.
1828 * interps.c: Likewise.
1829 * jv-lang.c: Likewise.
1830 * jv-typeprint.c: Likewise.
1831 * linux-fork.c: Likewise.
1832 * linux-nat.c: Likewise.
1833 * linux-thread-db.c: Likewise.
1834 * m32c-tdep.c: Likewise.
1835 * m32r-linux-nat.c: Likewise.
1836 * m32r-tdep.c: Likewise.
1837 * m68k-tdep.c: Likewise.
1838 * m68kbsd-nat.c: Likewise.
1839 * m68kbsd-tdep.c: Likewise.
1840 * m88k-tdep.c: Likewise.
1841 * machoread.c: Likewise.
1842 * macroexp.c: Likewise.
1843 * macrotab.c: Likewise.
1844 * maint.c: Likewise.
1845 * mdebugread.c: Likewise.
1846 * memory-map.c: Likewise.
1847 * mep-tdep.c: Likewise.
1848 * mi/mi-common.c: Likewise.
1849 * microblaze-tdep.c: Likewise.
1850 * mingw-hdep.c: Likewise.
1851 * mips-linux-nat.c: Likewise.
1852 * mips-linux-tdep.c: Likewise.
1853 * mips-tdep.c: Likewise.
1854 * mips64obsd-tdep.c: Likewise.
1855 * mipsnbsd-tdep.c: Likewise.
1856 * mn10300-linux-tdep.c: Likewise.
1857 * mn10300-tdep.c: Likewise.
1858 * moxie-tdep.c: Likewise.
1859 * mt-tdep.c: Likewise.
1860 * nat/linux-btrace.c: Likewise.
1861 * nat/linux-osdata.c: Likewise.
1862 * nat/linux-ptrace.c: Likewise.
1863 * nat/mips-linux-watch.c: Likewise.
1864 * nios2-linux-tdep.c: Likewise.
1865 * nios2-tdep.c: Likewise.
1866 * objc-lang.c: Likewise.
1867 * objfiles.c: Likewise.
1868 * obsd-nat.c: Likewise.
1869 * opencl-lang.c: Likewise.
1870 * osabi.c: Likewise.
1871 * parse.c: Likewise.
1872 * ppc-linux-nat.c: Likewise.
1873 * ppc-sysv-tdep.c: Likewise.
1874 * ppcfbsd-nat.c: Likewise.
1875 * ppcfbsd-tdep.c: Likewise.
1876 * ppcnbsd-nat.c: Likewise.
1877 * ppcnbsd-tdep.c: Likewise.
1878 * ppcobsd-nat.c: Likewise.
1879 * ppcobsd-tdep.c: Likewise.
1880 * printcmd.c: Likewise.
1881 * procfs.c: Likewise.
1882 * prologue-value.c: Likewise.
1883 * psymtab.c: Likewise.
1884 * python/py-lazy-string.c: Likewise.
1885 * python/py-value.c: Likewise.
1886 * regcache.c: Likewise.
1887 * reggroups.c: Likewise.
1888 * registry.c: Likewise.
1889 * remote-sim.c: Likewise.
1890 * remote.c: Likewise.
1891 * rs6000-aix-tdep.c: Likewise.
1892 * rs6000-tdep.c: Likewise.
1893 * s390-linux-tdep.c: Likewise.
1894 * score-tdep.c: Likewise.
1895 * ser-base.c: Likewise.
1896 * ser-mingw.c: Likewise.
1897 * sh-tdep.c: Likewise.
1898 * sh64-tdep.c: Likewise.
1899 * solib-darwin.c: Likewise.
1900 * solib-spu.c: Likewise.
1901 * solib-svr4.c: Likewise.
1902 * source.c: Likewise.
1903 * sparc-nat.c: Likewise.
1904 * sparc-sol2-tdep.c: Likewise.
1905 * sparc-tdep.c: Likewise.
1906 * sparc64-sol2-tdep.c: Likewise.
1907 * sparc64-tdep.c: Likewise.
1908 * sparc64fbsd-tdep.c: Likewise.
1909 * sparc64nbsd-tdep.c: Likewise.
1910 * sparc64obsd-tdep.c: Likewise.
1911 * sparcnbsd-tdep.c: Likewise.
1912 * sparcobsd-tdep.c: Likewise.
1913 * spu-multiarch.c: Likewise.
1914 * spu-tdep.c: Likewise.
1915 * stabsread.c: Likewise.
1916 * stack.c: Likewise.
1917 * symfile.c: Likewise.
1918 * symtab.c: Likewise.
1919 * target-descriptions.c: Likewise.
1920 * target-memory.c: Likewise.
1921 * target.c: Likewise.
1922 * tic6x-linux-tdep.c: Likewise.
1923 * tic6x-tdep.c: Likewise.
1924 * tilegx-linux-nat.c: Likewise.
1925 * tilegx-tdep.c: Likewise.
1926 * top.c: Likewise.
1927 * tramp-frame.c: Likewise.
1928 * tui/tui-out.c: Likewise.
1929 * tui/tui-winsource.c: Likewise.
1930 * ui-out.c: Likewise.
1931 * user-regs.c: Likewise.
1932 * utils.c: Likewise.
1933 * v850-tdep.c: Likewise.
1934 * valops.c: Likewise.
1935 * value.c: Likewise.
1936 * varobj.c: Likewise.
1937 * vax-nat.c: Likewise.
1938 * xml-syscall.c: Likewise.
1939 * xml-tdesc.c: Likewise.
1940 * xstormy16-tdep.c: Likewise.
1941 * xtensa-linux-nat.c: Likewise.
1942 * xtensa-tdep.c: Likewise.
1943
e76df0d0
GB
19442014-08-07 Gary Benson <gbenson@redhat.com>
1945
1946 * common/common-defs.h: Include common-utils.h.
1947 * defs.h: Do not include common-utils.h.
1948 * common/gdb_assert.h: Likewise.
1949 * darwin-nat.h: Likewise.
1950 * nat/linux-btrace.c: Likewise.
1951 * target/waitstatus.h: Likewise.
1952
4cb9c816
GB
19532014-08-07 Gary Benson <gbenson@redhat.com>
1954
1955 * common/common-defs.h: Include ptid.h.
1956 * defs.h: Do not include ptid.h.
1957 * inferior.h: Likewise.
1958 * infrun.h: Likewise.
1959 * nat/linux-btrace.h: Likewise.
1960 * nat/linux-osdata.h: Likewise.
1961 * target/waitstatus.h: Likewise.
1962
3995eeee
GB
19632014-08-07 Gary Benson <gbenson@redhat.com>
1964
1965 * common/common-defs.h: Include gdb_locale.h.
1966 * defs.h: Do not include gdb_locale.h.
1967
cb9f1a9b
GB
19682014-08-07 Gary Benson <gbenson@redhat.com>
1969
1970 * common/common-defs.h: Include gdb/signals.h.
1971 * defs.h: Do not include gdb/signals.h.
1972
a5fceff8
GB
19732014-08-07 Gary Benson <gbenson@redhat.com>
1974
1975 * common/common-defs.h: Include pathmax.h.
1976 * defs.h: Do not include pathmax.h.
1977
b9391142
GB
19782014-08-07 Gary Benson <gbenson@redhat.com>
1979
1980 * common/common-defs.h: Include libiberty.h.
1981 * defs.h: Do not include libiberty.h.
1982 * common/queue.h: Likewise.
1983 * cp-name-parser.y: Likewise.
1984 * mi/mi-cmd-catch.c: Likewise.
1985 * python/python.c: Likewise.
1986
0e443c87
GB
19872014-08-07 Gary Benson <gbenson@redhat.com>
1988
1989 * common/common-defs.h: Include ansidecl.h.
1990 * defs.h: Do not include ansidecl.h.
1991 * common/buffer.h: Likewise.
1992 * common/common-utils.h: Likewise.
1993
8ebb3f56
GB
19942014-08-07 Gary Benson <gbenson@redhat.com>
1995
1996 * common/common-defs.h: Include stddef.h.
1997 * defs.h: Do not include stddef.h.
1998 * common/common-utils.h: Likewise.
1999 * amd64fbsd-nat.c: Likewise.
2000 * bcache.c: Likewise.
2001 * charset.c: Likewise.
2002 * common/buffer.h: Likewise.
2003 * common/vec.h: Likewise.
2004 * i386bsd-nat.c: Likewise.
2005 * nat/linux-btrace.h: Likewise.
2006 * ppcfbsd-nat.c: Likewise.
2007 * ppcnbsd-tdep.h: Likewise.
2008 * ppcobsd-nat.c: Likewise.
2009 * ppcobsd-tdep.h: Likewise.
2010 * python/py-gdb-readline.c: Likewise.
2011
8980bdf6
GB
20122014-08-07 Gary Benson <gbenson@redhat.com>
2013
2014 * common/common-defs.h: Include stdarg.h.
2015 * defs.h: Do not include stdarg.h.
2016 * ada-lang.c: Likewise.
2017 * common/common-utils.h: Likewise.
2018 * guile/scm-string.c: Likewise.
2019 * guile/scm-utils.c: Likewise.
2020 * m32c-tdep.c: Likewise.
2021
d7096f71
GB
20222014-08-07 Gary Benson <gbenson@redhat.com>
2023
2024 * common/common-defs.h: Include stdlib.h.
2025 * defs.h: Do not include stdlib.h.
2026 * addrmap.c: Likewise.
2027 * bcache.c: Likewise.
2028 * common/buffer.c: Likewise.
2029 * common/common-utils.c: Likewise.
2030 * cp-name-parser.y: Likewise.
2031 * go32-nat.c: Likewise.
2032 * mn10300-linux-tdep.c: Likewise.
2033 * nat/linux-osdata.c: Likewise.
2034 * tui/tui.c: Likewise.
2035 * windows-nat.c: Likewise.
2036
d02f550d
GB
20372014-08-07 Gary Benson <gbenson@redhat.com>
2038
2039 * common/common-defs.h: Include stdio.h.
2040 * defs.h: Do not include stdio.h.
2041 * ada-lang.c: Likewise.
2042 * common/buffer.c: Likewise.
2043 * common/common-utils.c: Likewise.
2044 * cp-name-parser.y: Likewise.
2045 * gnu-nat.c: Likewise.
2046 * go32-nat.c: Likewise.
2047 * i386gnu-nat.c: Likewise.
2048 * proc-api.c: Likewise.
2049 * proc-events.c: Likewise.
2050 * proc-flags.c: Likewise.
2051 * proc-why.c: Likewise.
2052 * python/python-internal.h: Likewise.
2053 * target-memory.c: Likewise.
2054 * tui/tui-io.c: Likewise.
2055 * tui/tui.c: Likewise.
2056
b6d7a4bf
SM
20572014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2058
2059 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2060 (scan_dyntag_auxv): Same.
2061
af19829b
YQ
20622014-08-06 Yao Qi <yao@codesourcery.com>
2063
2064 * amd64-linux-nat.c: Remove duplicated include
2065 "x86-linux-nat.h".
2066 * i386-linux-nat.c: Likewise.
2067
8e07a239
YQ
20682014-08-06 Yao Qi <yao@codesourcery.com>
2069
2070 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2071 operand" with "Special opcode" in comments.
2072
7bfe8241
GB
20732014-08-05 Gary Benson <gbenson@redhat.com>
2074
2075 * interps.c (initialize_interps): Remove prototype.
2076 (interpreter_initialized): Remove static global.
2077 (interp_add): Do not call initialize_interps.
2078 (initialize_interps): Remove function.
2079
d6c95504
GB
20802014-08-05 Gary Benson <gbenson@redhat.com>
2081
2082 * utils.c (vwarning): Remove spurious va_end.
2083
241fd515
AM
20842014-08-05 Alan Modra <amodra@gmail.com>
2085
2086 * charset.c (convert_between_encodings): Cast result of obstack_base.
2087 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2088 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2089 (read_unwind_info): Use size_t for some locals.
2090 * jit.c (finalize_symtab): Likewise.
2091 * utils.c (hashtab_obstack_allocate): Likewise.
2092 * symmisc.c (print_objfile_statistics): Update format strings.
2093
dc304a94
JK
20942014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2095
2096 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2097 (Changes in GDB 7.8): ... here.
2098
3cecbbbe
TT
20992014-08-04 Tom Tromey <tromey@redhat.com>
2100
2101 * target.c (set_targetdebug): New function.
2102 (initialize_targets): Pass set_targetdebug when creating "set
2103 debug target".
2104
6908c509
JB
21052014-08-01 Joel Brobecker <brobecker@adacore.com>
2106
2107 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2108 if detecting a variable-sized field that is not the last field.
2109 Fix struct type length computation.
2110
53e8f97d
JB
21112014-08-01 Joel Brobecker <brobecker@adacore.com>
2112
2113 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2114 Add debug trace.
2115
e068c55d
JB
21162014-08-01 Joel Brobecker <brobecker@adacore.com>
2117
2118 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2119 Remove "+ 8" offset in computation of CHAIN_VMA.
2120
4d4ca2a1
DE
21212014-07-31 Doug Evans <dje@google.com>
2122
2123 * inflow.c (child_terminal_inferior): Add comment.
2124 (child_terminal_ours_for_output): Add comment.
2125 (child_terminal_ours): Add comment.
2126 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2127 (linux_nat_terminal_ours): Add comment.
2128
462f517e
GB
21292014-07-31 Gary Benson <gbenson@redhat.com>
2130
2131 * common/btrace-common.h: Do not include defs.h or server.h.
2132 * nat/mips-linux-watch.h: Likewise.
2133 * gdb-dlfcn.h: Do not include defs.h.
2134 * tracefile.h: Likewise.
2135
74228e77
RM
21362014-07-30 Roland McGrath <mcgrathr@google.com>
2137
2138 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2139
014f9477
TT
21402014-07-30 Tom Tromey <tromey@redhat.com>
2141
2142 * bsd-kvm.c (bsd_kvm_open): Constify.
2143 * corelow.c (core_open): Constify.
2144 * ctf.c (ctf_open): Constify.
2145 * dbug-rom.c (dbug_open): Constify.
2146 * exec.c (exec_open): Constify.
2147 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2148 * microblaze-rom.c (picobug_open): Constify.
2149 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2150 Constify.
2151 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2152 * record-btrace.c (record_btrace_open): Constify.
2153 * record-full.c (record_full_core_open_1, record_full_open_1)
2154 (record_full_open): Constify.
2155 * remote-m32r-sdi.c (m32r_open): Constify.
2156 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2157 (rockhopper_open, lsi_open): Constify.
2158 * remote-sim.c (gdbsim_open): Constify.
2159 * remote.c (remote_open, extended_remote_open, remote_open_1):
2160 Constify.
2161 * target.h (struct target_ops) <to_open>: Make "arg" const.
2162 * tracefile-tfile.c (tfile_open): Constify.
2163
e799154c
TT
21642014-07-30 Tom Tromey <tromey@redhat.com>
2165
2166 * breakpoint.c (map_breakpoint_numbers): Update.
2167 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2168 (get_number_const): New function.
2169 (get_number): Rewrite using get_number_const.
2170 (init_number_or_range): Make "string" const.
2171 (number_is_in_list): Make "list" const.
2172 * cli/cli-utils.h (get_number_const): Declare.
2173 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2174 (init_number_or_range, number_is_in_list): Update.
2175 * printcmd.c (map_display_numbers): Update.
2176 * value.c (value_from_history_ref): Constify.
2177 * value.h (value_from_history_ref): Update.
2178
5f08566b
TT
21792014-07-30 Tom Tromey <tromey@redhat.com>
2180
2181 * corefile.c (hook_type, call_extra_exec_file_hooks)
2182 (specify_exec_file_hook): Constify.
2183 * exec.c (exec_file_attach): Make "filename" const.
2184 * gdbcore.h (deprecated_exec_file_display_hook)
2185 (specify_exec_file_hook, exec_file_attach): Constify.
2186 * main.c (captured_main): Use catch_command_errors_const.
2187
8981c758
TT
21882014-07-30 Tom Tromey <tromey@redhat.com>
2189
2190 * target.c (open_target): New function.
2191 (add_target_with_completer, add_deprecated_target_alias): Use
2192 set_cmd_sfunc, set_cmd_context.
2193 (debug_to_open): Remove.
2194 (setup_target_debug): Update.
2195
a1c7835a
YQ
21962014-07-30 Yao Qi <yao@codesourcery.com>
2197
2198 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2199 comments.
2200 * parse.c (exp_iterate): Update comments.
2201
976411d6
GB
22022014-07-30 Gary Benson <gbenson@redhat.com>
2203
2204 * common/common-defs.h: New file.
2205 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2206 * defs.h: Include common-defs.h.
2207 Do not include config.h or build-gnulib/config.h.
2208
5d4848a4
GB
22092014-07-30 Gary Benson <gbenson@redhat.com>
2210
2211 * common/common-utils.h: Do not include config.h.
2212 * nat/linux-btrace.h: Likewise.
2213
d41f6d8e
GB
22142014-07-30 Gary Benson <gbenson@redhat.com>
2215
2216 * btrace.c: Include defs.h.
2217 * common/ptid.c: Include defs.h or server.h as appropriate.
2218 * nat/mips-linux-watch.c: Likewise.
2219
84202f9c
TT
22202014-07-29 Tom Tromey <tromey@redhat.com>
2221
2222 * target.c (target_is_pushed): Simplify.
2223
2530441c
JB
22242014-07-29 Joel Brobecker <brobecker@adacore.com>
2225
2226 GDB 7.8 released.
2227
7e09a223
YQ
22282014-07-29 Yao Qi <yao@codesourcery.com>
2229
2230 PR gdb/17206
2231 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2232
7ebdbe92
DE
22332014-07-28 Doug Evans <xdje42@gmail.com>
2234
2235 PR guile/17203
2236 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2237 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2238 parameters.
2239
f347ffc9
WN
22402014-07-28 Will Newton <will.newton@linaro.org>
2241
2242 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2243 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2244 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2245 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2246 (THUMB2_EABI_SYSCALL): Likewise.
2247 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2248 struct tramp_frame.
2249 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2250 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2251
37c5f1f7
DE
22522014-07-27 Doug Evans <xdje42@gmail.com>
2253
2254 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2255
0c3abbc7
DE
22562014-07-27 Doug Evans <xdje42@gmail.com>
2257
2258 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2259
e76c5d17
DE
22602014-07-26 Ludovic Courtès <ludo@gnu.org>
2261 Doug Evans <xdje42@gmail.com>
2262
2263 PR guile/17146
2264 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2265 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2266 * configure.ac: Try to use guild to compile an scm file, if it fails
2267 then disable guile support.
2268 * configure: Regenerate.
2269 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2270 GUILE_FILE_LIST.
2271 (GUILE_COMPILED_FILES): New variable.
2272 (GUILE_FILES) Update.
2273 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2274 (stamp-guile): Compile scm files.
2275 * guile/guile.c (boot_guile_support): New function.
2276 (standard_throw_args_p): New function.
2277 (print_standard_throw_error, print_throw_error): New functions.
2278 (handle_boot_error): New function.
2279 (initialize_scheme_side): Rewrite to call boot_guile_support.
2280 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2281 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2282
186fcde0
DE
22832014-07-26 Ludovic Courtès <ludo@gnu.org>
2284 Doug Evans <xdje42@gmail.com>
2285
2286 PR guile/17146
2287 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2288 * guile/lib/gdb/support.scm: New file.
2289 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2290 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2291 All uses updated.
2292 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2293 All uses updated.
2294 (%assert-type): Ditto, and renamed to assert-type.
2295 (%exception-print-style): Delete.
2296
4df42755
DE
22972014-07-26 Doug Evans <xdje42@gmail.com>
2298
2299 PR build/17105
2300 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2301 * configure: Regenerate.
2302 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2303 PYTHON_FILES.
2304 (PYTHON_FILES): New variable.
2305 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2306 (GUILE_FILES): New variable.
2307 (stamp-python, install-python, uninstall-python): Handle empty
2308 file list.
2309 (stamp-guile, install-guile, uninstall-guile): Ditto.
2310
ee7333ae
DE
23112014-07-26 Doug Evans <xdje42@gmail.com>
2312
2313 PR guile/17177
2314 * guile/lib/gdb.scm (pretty-printers): Export.
2315 (set-pretty-printers!): Export.
2316 * guile/lib/gdb/printing.scm (gdb module): Update.
2317 (prepend-pretty-printer!, append-pretty-printer!): Update.
2318 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2319 (pretty_printer_list_var): Delete.
2320 (pretty_printer_list): New static global.
2321 (gdbscm_pretty_printers): New function.
2322 (gdbscm_set_pretty_printers_x): New function.
2323 (ppscm_find_pretty_printer_from_gdb): Update.
2324 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2325 (gdbscm_initialize_pretty_printers): Update.
2326
74edf516
DE
23272014-07-26 Doug Evans <xdje42@gmail.com>
2328
2329 PR 17185
2330 * configure.ac: Add check for header gc/gc.h.
2331 Add check for function setenv.
2332 * configure: Regenerate.
2333 * config.in: Regenerate.
2334 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2335
d54398a7
MR
23362014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2337
2338 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2339 variation in gdbarch matching.
2340
ab16fce8
TT
23412014-07-25 Tom Tromey <tromey@redhat.com>
2342
2343 * exec.c (using_exec_ops): Remove.
2344 (exec_close_1): Update. Remove extraneous block, reindent.
2345 (add_target_sections): Use target_is_pushed.
2346
88056fbb
PA
23472014-07-25 Pedro Alves <palves@redhat.com>
2348
2349 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2350 * monitor.c (monitor_create_inferior): Likewise.
2351 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2352 * remote-sim.c (gdbsim_create_inferior): Likewise.
2353 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2354 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2355 * windows-nat.c (do_initial_windows_stuff): Likewise.
2356
70509625
PA
23572014-07-25 Pedro Alves <palves@redhat.com>
2358
2359 * NEWS: Mention signal passing and "signal" command changes.
2360 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2361 comment.
2362 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2363 call.
2364 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2365 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2366 (jump_command): Adjust clear_proceed_status call.
2367 (signal_command): Warn if other thread that are resumed have
2368 signals that will be delivered. Adjust clear_proceed_status call.
2369 (until_next_command, finish_command)
2370 (proceed_after_attach_callback, attach_command_post_wait)
2371 (attach_command): Adjust clear_proceed_status call.
2372 * infrun.c (proceed_after_vfork_done): Likewise.
2373 (proceed_after_attach_callback): Adjust comment.
2374 (clear_proceed_status_thread): Clear stop_signal if not in pass
2375 state.
2376 (clear_proceed_status_callback): Delete.
2377 (clear_proceed_status): New 'step' parameter. Only clear the
2378 proceed status of threads the command being prepared is about to
2379 resume.
2380 (proceed): If passed in an explicit signal, override stop_signal
2381 with it. Don't pass the last stop signal to the thread we're
2382 resuming.
2383 (init_wait_for_inferior): Adjust clear_proceed_status call.
2384 (switch_back_to_stepped_thread): Clear the signal if it should not
2385 be passed.
2386 * infrun.h (clear_proceed_status): New 'step' parameter.
2387 (user_visible_resume_ptid): Add comment.
2388 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2389 signal is in pass state.
2390 * remote.c (append_pending_thread_resumptions): Likewise.
2391 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2392
d8be2939
TT
23932014-07-25 Tom Tromey <tromey@redhat.com>
2394
2395 * target.h (target_stopped_data_address)
2396 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2397 parentheses.
2398
7d0d9d2b
PL
23992014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2400
2401 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2402 comments.
2403 (avr_pointer_to_address): Likewise.
2404
e9e7f724
TT
24052014-07-24 Tom Tromey <tromey@redhat.com>
2406
2407 * monitor.c (compile_pattern): Update.
2408 * target.h (struct target_ops) <to_shortname, to_longname,
2409 to_doc>: Now const.
2410
1947513d
TT
24112014-07-24 Tom Tromey <tromey@redhat.com>
2412
2413 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2414 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2415 (add_info_alias, add_com): Make "doc" const.
2416 (print_doc_line): Make "str" const.
2417 (delete_cmd): Update.
2418 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2419 (print_doc_line): Update.
2420 * cli/cli-script.c (document_command): Update.
2421 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2422 (add_com, add_info, add_info_alias): Update.
2423 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2424 * python/py-cmd.c (cmdpy_destroyer): Update.
2425
64e61d29
TT
24262014-07-24 Tom Tromey <tromey@redhat.com>
2427
2428 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2429 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2430 (help_cmd_list): Constify.
2431 (lookup_cmd): Update.
2432 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2433 const.
2434 (help_cmd_list, apropos_cmd): Update.
2435 * cli/cli-script.c (show_user): Update.
2436 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2437 * cli/cli-setshow.h (cmd_show_list): Update.
2438 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2439 (cmd_show_list): Update.
2440 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2441 * python/py-cmd.c (cmdpy_destroyer): Update.
2442
429e55ea
TT
24432014-07-24 Tom Tromey <tromey@redhat.com>
2444
2445 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2446 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2447 const.
2448 * command.h (deprecate_cmd): Update.
2449 * maint.c (maintenance_do_deprecate): Add casts.
2450
64669f3b
TT
24512014-07-24 Tom Tromey <tromey@redhat.com>
2452
2453 * cli/cli-decode.c (help_cmd): Make parameter "const".
2454 * cli/cli-decode.h (help_cmd): Update.
2455
d3d3328b
TT
24562014-07-24 Tom Tromey <tromey@redhat.com>
2457
2458 * stack.c (up_silently_base, down_silently_base): Make argument
2459 const.
2460
414842dc
TT
24612014-07-24 Tom Tromey <tromey@redhat.com>
2462
2463 * solib.c (solib_add): Make "pattern" const.
2464 * solib.h (solib_add): Update.
2465
baa336ce
TT
24662014-07-24 Tom Tromey <tromey@redhat.com>
2467
2468 * remote.c (remote_serial_open, print_packet, putpkt)
2469 (putpkt_binary): Constify.
2470 * remote.h (putpkt): Update.
2471
5a19e2d0
TT
24722014-07-24 Tom Tromey <tromey@redhat.com>
2473
2474 * monitor.c (monitor_open): Make "args" const.
2475 * monitor.h (monitor_open): Update.
2476
fc4baa5e
TT
24772014-07-24 Tom Tromey <tromey@redhat.com>
2478
2479 * maint.c (match_bfd_flags): Make "string" const.
2480 (print_bfd_section_info): Remove casts.
2481 (print_objfile_section_info): Make "string" const.
2482
0d5f0dbe
TT
24832014-07-24 Tom Tromey <tromey@redhat.com>
2484
2485 * inf-child.c (inf_child_open_target): Make "arg" const.
2486 * inf-child.h (inf_child_open_target): Update.
2487
41c77899
TT
24882014-07-24 Tom Tromey <tromey@redhat.com>
2489
2490 * environ.c (unset_in_environ): Make "var" const.
2491 * environ.h (unset_in_environ): Update.
2492
93db0d79
TT
24932014-07-24 Tom Tromey <tromey@redhat.com>
2494
2495 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2496 Make "cmd" const.
2497 (scan_filename_with_cleanup): Likewise.
2498 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2499 Make arguments const.
2500 (restore_command): Update.
2501
36d6eb95
PA
25022014-07-24 Pedro Alves <palves@redhat.com>
2503
2504 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2505
8009206a
TT
25062014-07-24 Tom Tromey <tromey@redhat.com>
2507 Gary Benson <gbenson@redhat.com>
2508
2509 * nat/linux-ptrace.c (additional_flags): New global.
2510 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2511 additional_flags; don't check GDBSERVER.
2512 (linux_ptrace_set_additional_flags): New function.
2513 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2514 Declare.
2515 * linux-nat.c (_initialize_linux_nat): Call
2516 linux_ptrace_set_additional_flags.
2517
a7068b60
TT
25182014-07-24 Tom Tromey <tromey@redhat.com>
2519
2520 * make-target-delegates (munge_type, write_debugmethod): New
2521 functions.
2522 (debug_names): New global.
2523 ($TARGET_DEBUG_PRINTER): New global.
2524 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2525 name.
2526 Write debug methods. Generate init_debug_target.
2527 * target-debug.h: New file.
2528 * target-delegates.c: Rebuild.
2529 * target.c: Include target-debug.h.
2530 (debug_target): Hoist definition.
2531 (target_kill, target_get_section_table, target_memory_map)
2532 (target_flash_erase, target_flash_done, target_detach)
2533 (target_disconnect, target_wait, target_resume)
2534 (target_pass_signals, target_program_signals, target_follow_fork)
2535 (target_mourn_inferior, target_search_memory)
2536 (target_thread_address_space, target_close)
2537 (target_find_new_threads, target_core_of_thread)
2538 (target_verify_memory, target_insert_mask_watchpoint)
2539 (target_remove_mask_watchpoint): Remove targetdebug code.
2540 (debug_to_post_attach, debug_to_prepare_to_store)
2541 (debug_to_files_info, debug_to_insert_breakpoint)
2542 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2543 (debug_to_region_ok_for_hw_watchpoint)
2544 (debug_to_can_accel_watchpoint_condition)
2545 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2546 (debug_to_watchpoint_addr_within_range)
2547 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2548 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2549 (debug_to_terminal_init, debug_to_terminal_inferior)
2550 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2551 (debug_to_terminal_save_ours, debug_to_terminal_info)
2552 (debug_to_load, debug_to_post_startup_inferior)
2553 (debug_to_insert_fork_catchpoint)
2554 (debug_to_remove_fork_catchpoint)
2555 (debug_to_insert_vfork_catchpoint)
2556 (debug_to_remove_vfork_catchpoint)
2557 (debug_to_insert_exec_catchpoint)
2558 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2559 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2560 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2561 (setup_target_debug): Call init_debug_target.
2562 * target.h (TARGET_DEBUG_PRINTER): New macro.
2563 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2564 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2565
2c51604d
GB
25662014-07-24 Gary Benson <gbenson@redhat.com>
2567
2568 * exceptions.h (throw_vfatal): Renamed to...
2569 (throw_vquit): New declaration.
2570 (throw_quit): Likewise.
2571 * exceptions.c (throw_vfatal): Renamed to...
2572 (throw_vquit): New function.
2573 (throw_quit): Likewise.
2574 (throw_error): Call throw_verror rather than throw_it.
2575 * utils.h (vfatal): Removed.
2576 (fatal): Likewise.
2577 * utils.c (vfatal): Removed.
2578 (fatal): Likewise.
2579 (internal_verror): Replaced call to fatal with call to throw_quit.
2580 (quit): Replaced calls to fatal with calls to throw_quit.
2581
34211963
ME
25822014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2583
2584 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2585 target_read_code.
2586
a52b4d3e
ME
25872014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2588
2589 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2590 less than zero in conditional expression.
2591
a8bdc56b
TT
25922014-07-23 Tom Tromey <tromey@redhat.com>
2593
2594 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2595 ($INTRO_PART): Don't match whitespace.
2596 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2597 argument matching.
2598 ($METHOD): Add $METHOD_TRAILER.
2599 (trim): Rewrite.
2600 (scan_target_h): New sub.
2601 Change main loop not to collect state.
2602 * target-delegates.c: Rebuild.
2603
91b52240
GB
26042014-07-23 Gary Benson <gbenson@redhat.com>
2605
2606 * cp-support.c (gdb_demangle): Fix build on systems without
2607 sigaltstack.
2608
45326f6f
JK
26092014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2610
2611 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2612 for reference entry value target data value.
2613
e214cf6c
JK
26142014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2615
2616 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2617 value_available_contents_eq.
2618
bddbbedd
PA
26192014-07-22 Pedro Alves <palves@redhat.com>
2620
2621 * value.c (allocate_optimized_out_value): Don't mark value as
2622 non-lazy.
2623
45c71484
JW
26242014-07-22 Jiong Wang <jiong.wang@arm.com>
2625
2626 * MAINTAINERS (Write After Approval): Update my email address.
2627
9597b22a
DE
26282014-07-20 Doug Evans <dje@google.com>
2629
2630 PR server/17147
2631 * remote.c (putpkt_binary): Add text to error message.
2632
91101fe5
YQ
26332014-07-20 Yao Qi <yao@codesourcery.com>
2634
2635 * eval.c: Remove "Chill" from comments.
2636 * gdbtypes.h: Likewise.
2637 * symtab.h: Likewise.
2638
c9402c95
YQ
26392014-07-20 Yao Qi <yao@codesourcery.com>
2640
2641 * std-operator.def: Update comments to TERNOP_SLICE.
2642
ae8fddda
YQ
26432014-07-20 Yao Qi <yao@codesourcery.com>
2644
2645 * std-operator.def: Remove BINOP_RANGE.
2646 * breakpoint.c (watchpoint_exp_is_const): Update.
2647 * expprint.c (dump_subexp_body_standard): Likewise.
2648 * eval.c (init_array_element): Remove dead code.
2649 (evaluate_subexp_standard): Likewise.
2650
9c816640
YQ
26512014-07-20 Yao Qi <yao@codesourcery.com>
2652
2653 * std-operator.def: Remove BINOP_IN.
2654 * breakpoint.c (watchpoint_exp_is_const): Update.
2655 * eval.c (evaluate_subexp_standard): Likewise.
2656 * expprint.c (dump_subexp_body_standard): Likewise.
2657
164224e9
ME
26582014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2659
2660 * microblaze-tdep.c (microblaze_register_names): Add
2661 the rshr and rslr register names.
2662 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2663 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2664 Use of tdesc_numbered_register. Use of
2665 microblaze_register_g_packet_guesses. Use of
2666 tdesc_use_registers. Use of set_gdbarch_register_type.
2667 (microblaze_register_g_packet_guesses): New.
2668 * microblaze-tdep.h (microblaze_reg_num): Add
2669 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2670 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2671 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2672 * features/microblaze-core.xml: New file.
2673 * features/microblaze-stack-protect.xml: New file.
2674 * features/microblaze-with-stack-protect.c: New file.
2675 * features/microblaze-with-stack-protect.xml: New file.
2676 * features/microblaze.xml: New file.
2677 * features/microblaze.c: New file.
2678 * features/Makefile (microblaze-with-stack-protect): Add
2679 microblaze-with-stack-protect microblaze and microblaze-expedite.
2680 * regformats/microblaze-with-stack-protect.dat: New file.
2681 * regformats/microblaze.dat: New file.
2682 * doc/gdb.texinfo (MicroBlaze Features): Added.
2683
e8b2341c
TT
26842014-07-18 Tom Tromey <tromey@redhat.com>
2685
2686 * exec.c (exec_ops): Now static.
2687 * exec.h (exec_ops): Don't declare.
2688
44e89118
TT
26892014-07-18 Tom Tromey <tromey@redhat.com>
2690
2691 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2692 to find_target_beneath.
2693 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2694 find_target_beneath.
2695 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2696
b0ed115f
TT
26972014-07-18 Tom Tromey <tromey@redhat.com>
2698
2699 PR gdb/17130:
2700 * utils.c (quit): Use target_supports_terminal_ours.
2701 * target.h (target_supports_terminal_ours): Declare.
2702 * target.c (target_supports_delete_record): Don't check
2703 to_delete_record against NULL.
2704 (target_supports_terminal_ours): New function.
2705
e75fdfca
TT
27062014-07-18 Tom Tromey <tromey@redhat.com>
2707
2708 PR gdb/17130:
2709 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2710 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2711 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2712 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2713 * windows-nat.c (windows_xfer_partial): Always delegate.
2714 * record-btrace.c (record_btrace_xfer_partial): Simplify
2715 delegation.
2716 (record_btrace_fetch_registers, record_btrace_store_registers)
2717 (record_btrace_prepare_to_store, record_btrace_resume)
2718 (record_btrace_wait, record_btrace_find_new_threads)
2719 (record_btrace_thread_alive): Likewise.
2720 * procfs.c (procfs_xfer_partial): Always delegate.
2721 * corelow.c (core_xfer_partial): Always delegate.
2722 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2723
83814951
TT
27242014-07-18 Tom Tromey <tromey@redhat.com>
2725
2726 * exec.c (exec_make_note_section): Move earlier.
2727
b8b8facf
DE
27282014-07-17 Doug Evans <dje@google.com>
2729
74b49205 2730 PR gdb/17170
b8b8facf
DE
2731 * maint.c (count_symtabs_and_blocks): Handle NULL
2732 current_program_space.
2733 (report_command_stats): Check global enabled flag in addition to
2734 recorded enabled flag.
2735 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2736
69ff6be5
PA
27372014-07-16 Pedro Alves <palves@redhat.com>
2738
2739 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2740
252db1b5
TT
27412014-07-16 Tom Tromey <tromey@redhat.com>
2742
2743 * target.h (struct target_ops) <to_delete_record>: Reformat
2744 comment.
2745
a432721e
TT
27462014-07-16 Tom Tromey <tromey@redhat.com>
2747
2748 * target-delegates.c: Rebuild.
2749
487d9753
PL
27502014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2751
2752 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2753 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2754 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2755 (avr_pointer_to_address): Likewise.
2756 (avr_address_class_type_flags): New function.
2757 (avr_address_class_type_flags_to_name): Likewise.
2758 (avr_address_class_name_to_type_flags): Likewise.
2759 (avr_gdbarch_init): Set address_class_type_flags,
2760 address_class_type_flags_to_name and
2761 address_class_name_to_type_flags.
2762
57745c90
PA
27632014-07-15 Pedro Alves <palves@redhat.com>
2764
2765 * linux-nat.c (kill_callback): Save errno and work with saved
2766 copy.
2767
2d40be18
SM
27682014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2769
2770 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2771
572f6555
EBM
27722014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2773
2774 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2775 breakpoint support correctly.
2776
cc1c52ad
PA
27772014-07-14 Pedro Alves <palves@redhat.com>
2778
2779 * utils.c (prompt_for_continue): Call target_terminal_ours.
2780
1e973570
PA
27812014-07-14 Pedro Alves <palves@redhat.com>
2782
2783 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2784 catch_errors. Don't re-enable stdin or notify observers where,
2785 and rethrow error.
2786 (fetch_inferior_event_wrapper): Delete.
2787
93d6eb10
PA
27882014-07-14 Pedro Alves <palves@redhat.com>
2789
2790 PR gdb/17072
2791 * top.c: Include "inf-loop.h".
2792 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2793 field.
2794 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2795 was async before.
2796 (gdb_readline_wrapper): Store whether the target is async, and
2797 make it sync.
2798
0017922d
PA
27992014-07-14 Pedro Alves <palves@redhat.com>
2800
2801 PR gdb/17072
2802 * top.c (gdb_readline_wrapper_line): Tweak comment.
2803 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2804 the input handler callback.
2805
94696ad3
PA
28062014-07-14 Pedro Alves <palves@redhat.com>
2807
2808 PR gdb/17072
2809 * main.c: Include event-top.h.
2810 (handle_command_errors): New function.
2811 (catch_command_errors, catch_command_errors_const): Use it.
2812
9d1e69a2
PA
28132014-07-14 Pedro Alves <palves@redhat.com>
2814
2815 * exceptions.c (catch_command_errors, catch_command_errors_const):
2816 Moved to main.c.
2817 * exceptions.h (catch_command_errors_ftype)
2818 (catch_command_errors_const_ftype): Moved to main.c.
2819 (catch_command_errors, catch_command_errors_const): Delete
2820 declarations.
2821 * main.c (catch_command_errors_ftype)
2822 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2823 (catch_command_errors, catch_command_errors_const)): Moved here
2824 from exceptions.c and make static.
2825
feefc97b
PA
28262014-07-14 Pedro Alves <palves@redhat.com>
2827
2828 * exceptions.c (print_any_exception): Delete.
2829 (catch_exceptions_with_msg): Use exception_print instead of
2830 print_any_exception.
2831 (catch_errors): Use exception_fprintf instead of
2832 print_any_exception.
2833 (catch_command_errors, catch_command_errors_const): Use
2834 exception_print instead of print_any_exception.
2835
c933f875
PA
28362014-07-14 Pedro Alves <palves@redhat.com>
2837
2838 * infcall.c (run_inferior_call): Set 'sync_execution' while
2839 running the inferior call.
2840
feb6f816
PA
28412014-07-14 Pedro Alves <palves@redhat.com>
2842
2843 * value.c (value_contents_equal): Delete function.
2844 * value.h (value_contents_equal): Delete declaration.
2845
d98b7a16
TT
28462014-07-14 Tom Tromey <tromey@redhat.com>
2847
2848 PR exp/17106:
2849 * gdbtypes.c (is_dynamic_type_internal): New function, from
2850 is_dynamic_type.
2851 (is_dynamic_type): Rewrite.
2852 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2853 (resolve_dynamic_struct): Likewise.
2854 (resolve_dynamic_type_internal): New function, from
2855 resolve_dynamic_type.
2856 (resolve_dynamic_type): Rewrite.
2857
548740d6
TT
28582014-07-14 Tom Tromey <tromey@redhat.com>
2859
2860 * target.c (target_require_runnable): Also check record_stratum.
2861 Update comment.
2862
808f7ab1
YQ
28632014-07-11 Yao Qi <yao@codesourcery.com>
2864
2865 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2866 thumb_instruction_restores_sp return true.
2867
540314bd
YQ
28682014-07-11 Yao Qi <yao@codesourcery.com>
2869
2870 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2871 (thumb_in_function_epilogue_p): Call
2872 thumb_instruction_restores_sp.
2873
1db01f22
YQ
28742014-07-11 Yao Qi <yao@codesourcery.com>
2875
2876 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2877 'add sp, #imm'.
2878 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2879
3116063b
GB
28802014-07-11 Gary Benson <gbenson@redhat.com>
2881
2882 * amd64-linux-nat.c (gdbcore.h): Remove include.
2883 (regset.h): Likewise.
2884 (nat/linux-btrace.h): Likewise.
2885 (btrace.h): Likewise.
2886 (gdb_assert.h): Likewise.
2887 (string.h): Likewise.
2888 (sys/uio.h): Likewise.
2889 (sys/debugreg.h): Likewise.
2890 (sys/syscall.h): Likewise.
2891 (sys/procfs.h): Likewise.
2892 (sys/user.h): Likewise.
2893 (asm/ptrace.h): Likewise.
2894 (i386-nat.h): Likewise.
2895 * i386-linux-nat.c (i386-nat.h): Likewise.
2896 (regset.h): Likewise.
2897 (target.h): Likewise.
2898 (linux-nat.h): Likewise.
2899 (nat/linux-btrace.h): Likewise.
2900 (btrace.h): Likewise.
2901 (gdb_assert.h): Likewise.
2902 (string.h): Likewise.
2903 (sys/uio.h): Likewise.
2904 (sys/user.h): Likewise.
2905 (sys/procfs.h): Likewise.
2906 (sys/reg.h): Likewise.
2907 (sys/debugreg.h): Likewise.
2908 (ORIG_EAX): Remove definition.
2909
040baaf6
GB
29102014-07-11 Gary Benson <gbenson@redhat.com>
2911
2912 * i386-linux-nat.h: New file.
2913 * x86-linux-nat.h: Likewise.
2914 * x86-linux-nat.c: Likewise.
2915 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2916 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2917 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2918 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2919 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2920 (PTRACE_SETREGSET): Likewise.
2921 (arch_lwp_info): Now in x86-linux-nat.c.
2922 (have_ptrace_getregset): Now in x86-linux-nat.h.
2923 (x86_linux_dr_get): Now in x86-linux-nat.c.
2924 (x86_linux_dr_set): Likewise.
2925 (x86_linux_dr_get_addr): Likewise.
2926 (x86_linux_dr_get_control): Likewise.
2927 (x86_linux_dr_get_status): Likewise.
2928 (update_debug_registers_callback): Likewise.
2929 (x86_linux_dr_set_control): Likewise.
2930 (x86_linux_dr_set_addr): Likewise.
2931 (x86_linux_prepare_to_resume): Likewise.
2932 (x86_linux_new_thread): Likewise.
2933 (x86_linux_new_fork): Likewise.
2934 (x86_linux_get_thread_area): Likewise.
2935 (super_post_startup_inferior): Likewise.
2936 (x86_linux_child_post_startup_inferior): Likewise.
2937 (AMD64_LINUX_USER64_CS): Likewise.
2938 (AMD64_LINUX_X32_DS): Likewise.
2939 (x86_linux_read_description): Likewise.
2940 (x86_linux_enable_btrace): Likewise.
2941 (x86_linux_disable_btrace): Likewise.
2942 (x86_linux_teardown_btrace): Likewise.
2943 (x86_linux_read_btrace): Likewise.
2944 (x86_linux_create_target): Likewise.
2945 (x86_linux_add_target): Likewise.
2946 * i386-linux-nat.c (x86-linux-nat.h): New include.
2947 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2948 (PTRACE_SETREGSET): Likewise.
2949 (arch_lwp_info): Now in x86-linux-nat.c.
2950 (have_ptrace_getregset): Now in x86-linux-nat.h.
2951 (x86_linux_dr_get): Now in x86-linux-nat.c.
2952 (x86_linux_dr_set): Likewise.
2953 (x86_linux_dr_get_addr): Likewise.
2954 (x86_linux_dr_get_control): Likewise.
2955 (x86_linux_dr_get_status): Likewise.
2956 (update_debug_registers_callback): Likewise.
2957 (x86_linux_dr_set_control): Likewise.
2958 (x86_linux_dr_set_addr): Likewise.
2959 (x86_linux_prepare_to_resume): Likewise.
2960 (x86_linux_new_thread): Likewise.
2961 (x86_linux_new_fork): Likewise.
2962 (x86_linux_get_thread_area): Likewise.
2963 (super_post_startup_inferior): Likewise.
2964 (x86_linux_child_post_startup_inferior): Likewise.
2965 (AMD64_LINUX_USER64_CS): Likewise.
2966 (AMD64_LINUX_X32_DS): Likewise.
2967 (x86_linux_read_description): Likewise.
2968 (x86_linux_enable_btrace): Likewise.
2969 (x86_linux_disable_btrace): Likewise.
2970 (x86_linux_teardown_btrace): Likewise.
2971 (x86_linux_read_btrace): Likewise.
2972 (x86_linux_create_target): Likewise.
2973 (x86_linux_add_target): Likewise.
2974
1aa7e42c
GB
29752014-07-11 Gary Benson <gbenson@redhat.com>
2976
2977 * amd64-linux-nat.c: Comment and whitespace changes.
2978 * i386-linux-nat.c: Comment and whitespace changes.
2979
c1e246a0
GB
29802014-07-11 Gary Benson <gbenson@redhat.com>
2981
2982 * amd64-linux-nat.c (x86_linux_create_target): New function.
2983 (x86_linux_add_target): Likewise.
2984 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2985 * i386-linux-nat.c (x86_linux_create_target): New function.
2986 (x86_linux_add_target): Likewise.
2987 (_initialize_i386_linux_nat): Delegate to the above new functions.
2988
8c420b8d
GB
29892014-07-11 Gary Benson <gbenson@redhat.com>
2990
2991 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2992 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2993 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2994 (ps_get_thread_area): Delegate to the above.
2995
cb1da100
GB
29962014-07-11 Gary Benson <gbenson@redhat.com>
2997
2998 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2999 x86_linux_read_description. All uses updated. amd64-specific
3000 code conditionalized. Conditionalized i386-specific code added.
3001 Redundant cast removed.
3002 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3003 x86_linux_read_description. All uses updated. i386-specific
3004 code conditionalized. Conditionalized amd64-specific code added.
3005 One sizeof replaced with the actual type it is describing.
3006
2acf3cd0
GB
30072014-07-11 Gary Benson <gbenson@redhat.com>
3008
3009 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3010 x86_linux_dr_get. All uses updated.
3011 (amd64_linux_dr_set): Renamed to
3012 x86_linux_dr_set. All uses updated.
3013 (amd64_linux_dr_get_addr): Renamed to
3014 x86_linux_dr_get_addr. All uses updated.
3015 (amd64_linux_dr_get_control): Renamed to
3016 x86_linux_dr_get_control. All uses updated.
3017 (amd64_linux_dr_get_status): Renamed to
3018 x86_linux_dr_get_status. All uses updated.
3019 (amd64_linux_dr_set_control): Renamed to
3020 x86_linux_dr_set_control. All uses updated.
3021 (amd64_linux_dr_set_addr): Renamed to
3022 x86_linux_dr_set_addr. All uses updated.
3023 (amd64_linux_prepare_to_resume): Renamed to
3024 x86_linux_prepare_to_resume. All uses updated.
3025 (amd64_linux_new_thread): Renamed to
3026 x86_linux_new_thread. All uses updated.
3027 (amd64_linux_new_fork): Renamed to
3028 x86_linux_new_fork. All uses updated.
3029 (amd64_linux_child_post_startup_inferior): Renamed to
3030 x86_linux_child_post_startup_inferior. All uses updated.
3031 (amd64_linux_enable_btrace): Renamed to
3032 x86_linux_enable_btrace. All uses updated.
3033 (amd64_linux_disable_btrace): Renamed to
3034 x86_linux_disable_btrace. All uses updated.
3035 (amd64_linux_teardown_btrace): Renamed to
3036 x86_linux_teardown_btrace. All uses updated.
3037 (amd64_linux_read_btrace): Renamed to
3038 x86_linux_read_btrace. All uses updated.
3039 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3040 x86_linux_dr_get. All uses updated.
3041 (i386_linux_dr_set): Renamed to
3042 x86_linux_dr_set. All uses updated.
3043 (i386_linux_dr_get_addr): Renamed to
3044 x86_linux_dr_get_addr. All uses updated.
3045 (i386_linux_dr_get_control): Renamed to
3046 x86_linux_dr_get_control. All uses updated.
3047 (i386_linux_dr_get_status): Renamed to
3048 x86_linux_dr_get_status. All uses updated.
3049 (i386_linux_dr_set_control): Renamed to
3050 x86_linux_dr_set_control. All uses updated.
3051 (i386_linux_dr_set_addr): Renamed to
3052 x86_linux_dr_set_addr. All uses updated.
3053 (i386_linux_prepare_to_resume): Renamed to
3054 x86_linux_prepare_to_resume. All uses updated.
3055 (i386_linux_new_thread): Renamed to
3056 x86_linux_new_thread. All uses updated.
3057 (i386_linux_new_fork): Renamed to
3058 x86_linux_new_fork. All uses updated.
3059 (i386_linux_child_post_startup_inferior): Renamed to
3060 x86_linux_child_post_startup_inferior. All uses updated.
3061 (i386_linux_enable_btrace): Renamed to
3062 x86_linux_enable_btrace. All uses updated.
3063 (i386_linux_disable_btrace): Renamed to
3064 x86_linux_disable_btrace. All uses updated.
3065 (i386_linux_teardown_btrace): Renamed to
3066 x86_linux_teardown_btrace. All uses updated.
3067 (i386_linux_read_btrace): Renamed to
3068 x86_linux_read_btrace. All uses updated.
3069
b9c1d481
AS
30702014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3071
3072 * remote.c (extended_remote_post_attach): New function.
3073 (init_extended_remote_ops): Install it as to_post_attach method.
3074
7180e04a
PA
30752014-07-09 Pedro Alves <palves@redhat.com>
3076
3077 * infcmd.c (attach_command_post_wait): Don't call
3078 target_terminal_inferior here.
3079 (attach_command): Call it here instead.
3080
9a9a7608
AB
30812014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3082
3083 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3084 field.
3085 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3086 from varobj.c, with additional checks.
3087 (c_varobj_ops): Fill in is_path_expr_parent field.
3088 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3089 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3090 field.
3091 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3092 ops method.
3093 (varobj_default_is_path_expr_parent): New function.
3094 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3095 (varobj_default_is_path_expr_parent): Declare new function.
3096
1f267ae3
MM
30972014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3098
3099 * infcmd.c (finish_backward): Turn internal error into normal error.
3100
b2ee242b
PA
31012014-07-07 Pedro Alves <palves@redhat.com>
3102
8a869bca 3103 PR gdb/17096
b2ee242b
PA
3104 * remote.c (async_handle_remote_sigint)
3105 (async_handle_remote_sigint_twice): Call
3106 gdb_call_async_signal_handler instead of
3107 mark_async_signal_handler.
3108
38e229b2
TT
31092014-07-07 Tom Tromey <tromey@redhat.com>
3110
3111 * target-delegates.c: Rebuild.
3112 * target.c (target_info_record): Remove.
3113 * record.c (info_record_command): Unconditionally call
3114 to_info_record.
3115 * target.h (struct target_ops) <to_info_record>: Use
3116 TARGET_DEFAULT_IGNORE.
3117 (target_info_record): Remove.
3118
f0f9ff95
TT
31192014-07-07 Tom Tromey <tromey@redhat.com>
3120
3121 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3122 TARGET_DEFAULT_NORETURN.
3123 * target.c (generic_tls_error): New function.
3124 (target_translate_tls_address): Don't search target stack.
3125 * target-delegates.c: Rebuild.
3126 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3127 stack.
3128 * linux-thread-db.c (thread_db_get_thread_local_address):
3129 Unconditionally call beneath target.
3130
4a5be5ee
MK
31312014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3132
3133 * cli/cli-logging.c (pop_output_files): Assign targerr to
3134 gdb_stdtargerr.
3135
92c3b204
AB
31362014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * MAINTAINERS (Write After Approval): Update my email address.
3139
9b11e3a7
GB
31402014-07-02 Gary Benson <gbenson@redhat.com>
3141
3142 * proc-service.c (ps_xfer_memory): Update comment.
3143 (ps_pstop): Remove unused function.
3144 (ps_pcontinue): Likewise.
3145 (ps_lstop): Likewise.
3146 (ps_lcontinue): Likewise.
3147 (ps_lgetxregsize): Likewise.
3148 (ps_lgetxregs): Likewise.
3149 (ps_lsetxregs): Likewise.
3150 (ps_plog): Likewise.
3151 (ps_ptread): Likewise.
3152 (ps_ptwrite): Likewise.
3153
cf363f18
MW
31542014-07-01 Mark Wielaard <mjw@redhat.com>
3155
3156 * dwarf2read.c (add_array_cv_type): New function.
3157 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3158 (read_tag_volatile_type): Likewise.
3159
82ae6c8d
TT
31602014-07-01 Tom Tromey <tromey@redhat.com>
3161
3162 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3163 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3164 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3165 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3166 * command.h (cmd_cfunc_ftype): Move earlier.
3167 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3168 (add_com, add_info): Use cmd_cfunc_ftype.
3169
96142726
TT
31702014-06-30 Tom Tromey <tromey@redhat.com>
3171
3172 * symtab.c (operator_chars): Make parameters and return type
3173 const.
3174 (file_matches): Make "files" const.
3175 (struct search_symbols_data) <files>: Now const.
3176 (search_symbols): Make "regexp" and "files" parameters const.
3177 Update.
3178 (symtab_symbol_info): Remove cast.
3179 (rbreak_command): Update.
3180 * symtab.h (search_symbols): Update.
3181
b67a2c6f
YQ
31822014-06-27 Yao Qi <yao@codesourcery.com>
3183
3184 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3185 Change parameter type to 'struct thread_info *'. Caller
3186 updated.
3187 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3188 Update declaration.
3189 * dummy-frame.c (struct dummy_frame_id): New.
3190 (dummy_frame_id_eq): New function.
3191 (struct dummy_frame) <id>: Change its type to 'struct
3192 dummy_frame_id'.
3193 (dummy_frame_push): Add parameter ptid and save it in
3194 dummy_frame_id.
3195 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3196 inferior_ptid.
3197 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3198 to inferior_ptid.
3199 (lookup_dummy_frame): Change parameter type to 'struct
3200 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3201 instead of frame_id_eq.
3202 (dummy_frame_pop): Add parameter ptid. Callers updated.
3203 Update comments. Compose dummy_frame_id and pass it to
3204 lookup_dummy_frame.
3205 (dummy_frame_discard): Add parameter ptid.
3206 (dummy_frame_sniffer): Compose dummy_frame_id and call
3207 dummy_frame_id_eq instead of frame_id_eq.
3208 (fprint_dummy_frames): Print ptid.
3209 * dummy-frame.h: Remove comments.
3210 (dummy_frame_push): Add ptid in declaration.
3211 (dummy_frame_pop, dummy_frame_discard): Likewise.
3212
5b10184c
TT
32132014-06-26 Tom Tromey <tromey@redhat.com>
3214
3215 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3216 * command.h (error_no_arg): Update.
3217
06900326
TT
32182014-06-26 Tom Tromey <tromey@redhat.com>
3219
3220 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3221 (do_show_command): Make "arg" const.
3222 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3223
c2bcbb1d
TT
32242014-06-26 Tom Tromey <tromey@redhat.com>
3225
3226 * record-full.c (record_full_get_bookmark): Make "args" const.
3227 (record_full_goto_bookmark): Make "raw_bookmark" const.
3228 * record.c (record_goto): New function.
3229 (cmd_record_goto): Use it. Now static.
3230 * record.h (record_goto): Declare.
3231 (cmd_record_goto): Remove declaration.
3232 * target-delegates.c: Rebuild.
3233 * target.h (struct target_ops) <to_get_bookmark,
3234 to_goto_bookmark>: Make parameter const.
3235
9cbe5fff
TT
32362014-06-26 Tom Tromey <tromey@redhat.com>
3237
3238 * defs.h (generic_load): Update.
3239 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3240 * monitor.c (monitor_load): Make "args" const.
3241 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3242 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3243 const.
3244 (mips_load): Make "file" const.
3245 * remote-sim.c (gdbsim_load): Make "args" const.
3246 * remote.c (remote_load): Make "name" const.
3247 * symfile.c (generic_load): Make "args" const.
3248 * target-delegates.c: Rebuild.
3249 * target.c (target_load): Make "arg" const.
3250 (debug_to_load): Make "args" const.
3251 * target.h (struct target_ops) <to_load>: Make parameter const.
3252 (target_load): Update.
3253
34a68019
TT
32542014-06-26 Tom Tromey <tromey@redhat.com>
3255
3256 PR symtab/16902:
3257 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3258 (dwarf2_physname, read_partial_die)
3259 (guess_partial_die_structure_name, fixup_partial_die)
3260 (guess_full_die_structure_name, anonymous_struct_prefix)
3261 (dwarf2_name): Use per-BFD obstack.
3262
efc889c1
YQ
32632014-06-26 Yao Qi <yao@codesourcery.com>
3264
3265 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3266 dummyframe and this_id into inner block below.
3267
4395285e
YQ
32682014-06-26 Yao Qi <yao@codesourcery.com>
3269
3270 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3271 with "signal_pass[0]" in the initialization of signal_pass.
3272
aef92902
MM
32732014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3274
3275 * record-btrace.c (record_btrace_generating_corefile)
3276 (record_btrace_prepare_to_generate_core)
3277 (record_btrace_done_generating_core): New.
3278 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3279 (record_btrace_store_registers, record_btrace_prepare_to_store):
3280 Forward request when generating a core file.
3281 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3282 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3283 to_done_generating_core.
3284
5fff78c4
MM
32852014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3286
3287 * target.h (target_ops) <to_prepare_to_generate_core>
3288 <to_done_generating_core>: New.
3289 (target_prepare_to_generate_core, target_done_generating_core): New.
3290 * target.c (target_prepare_to_generate_core)
3291 (target_done_generating_core): New.
3292 * target-delegates.c: Regenerate.
3293 * gcore.c: (write_gcore_file): Rename to ...
3294 (write_gcore_file_1): ...this.
3295 (write_gcore_file): Call target_prepare_to_generate_core
3296 and target_done_generating_core.
3297
1d1f1ccb
MM
32982014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3299
3300 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3301 * gcore.c (write_gcore_file): Free memory returned from
3302 make_corefile_notes.
3303 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3304 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3305
3343ef86
YQ
33062014-06-24 Yao Qi <yao@codesourcery.com>
3307
3308 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3309 (arm_linux_init_abi): Set skip_trampoline_code with
3310 gdbarch_skip_trampoline_code instead of
3311 find_solib_trampoline_target.
3312
18d18ac8
YQ
33132014-06-24 Yao Qi <yao@codesourcery.com>
3314
3315 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3316 arm_skip_bx_reg returns non-zero.
3317
80d8d390
YQ
33182014-06-24 Yao Qi <yao@codesourcery.com>
3319
3320 * arm-tdep.c (arm_skip_bx_reg): New function.
3321 (arm_skip_stub): Call arm_skip_bx_reg.
3322
6a18a01c
DB
33232014-06-23 Don Breazeal <donb@codesourcery.com>
3324
3325 * MAINTAINERS: Add myself as write-after-approval maintainer.
3326
8e9db26e
PA
33272014-06-23 Pedro Alves <palves@redhat.com>
3328
3329 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3330 DR_CONTROL before setting DR0..DR3.
3331 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3332 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3333 bits of DR_CONTROL related to the debug register slot being
3334 disabled. If all slots are vacant, clear local slowdown as well,
3335 and assert DR_CONTROL is 0.
3336
70afc5b7
SC
33372014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3338
3339 * python/lib/gdb/command/xmethods.py
3340 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3341 current progspace only if the string "progspace" matches LOCUS_RE.
3342
840ed64d
JK
33432014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 Fix --with-system-readline with readline-6.3 patch 5.
3346 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3347 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3348 types.
3349
26f2dc30
TT
33502014-06-20 Tom Tromey <tromey@redhat.com>
3351
3352 * dwarf2read.c (dw2_get_real_path): Use correct type in
3353 OBSTACK_CALLOC.
3354 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3355
125f8a3d
GB
33562014-06-20 Gary Benson <gbenson@redhat.com>
3357
3358 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3359 * common/glibc_thread_db.h: Likewise.
3360 * common/i386-cpuid.h: Likewise.
3361 * common/i386-gcc-cpuid.h: Likewise.
3362 * common/linux-btrace.h: Likewise.
3363 * common/linux-osdata.h: Likewise.
3364 * common/linux-procfs.h: Likewise.
3365 * common/linux-ptrace.h: Likewise.
3366 * common/mips-linux-watch.h: Likewise.
3367 * common/linux-btrace.c: Moved to nat.
3368 * common/linux-osdata.c: Likewise.
3369 * common/linux-procfs.c: Likewise.
3370 * common/linux-ptrace.c: Likewise.
3371 * common/mips-linux-watch.c: Likewise.
3372 * nat/gdb_thread_db.h: Moved from common.
3373 * nat/glibc_thread_db.h: Likewise.
3374 * nat/i386-cpuid.h: Likewise.
3375 * nat/i386-gcc-cpuid.h: Likewise.
3376 * nat/linux-btrace.c: Likewise.
3377 * nat/linux-btrace.h: Likewise.
3378 * nat/linux-osdata.c: Likewise.
3379 * nat/linux-osdata.h: Likewise.
3380 * nat/linux-procfs.c: Likewise.
3381 * nat/linux-procfs.h: Likewise.
3382 * nat/linux-ptrace.c: Likewise.
3383 * nat/linux-ptrace.h: Likewise.
3384 * nat/mips-linux-watch.c: Likewise.
3385 * nat/mips-linux-watch.h: Likewise.
3386 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3387 (object file files): Reordered.
3388 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3389 of glibc_thread_db.h.
3390
42995dbd
GB
33912014-06-20 Gary Benson <gbenson@redhat.com>
3392
3393 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3394 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3395 (i386_dr_low): Likewise.
3396 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3397 (i386_dr_low_set_addr): Likewise.
3398 (i386_dr_low_get_addr): Likewise.
3399 (i386_dr_low_can_set_control): Likewise.
3400 (i386_dr_low_set_control): Likewise.
3401 (i386_dr_low_get_control): Likewise.
3402 (i386_dr_low_get_status): Likewise.
3403 (i386_get_debug_register_length): Likewise.
3404 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3405 (i386_dr_low): Likewise.
3406 * nat/i386-dregs.c (i386-low.h): Remove include.
3407 (i386-nat.h): Likewise.
3408 (nat/i386-dregs.h): New include.
3409 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3410 (i386_dr_low_set_addr): Likewise.
3411 (i386_dr_low_get_addr): Likewise.
3412 (i386_dr_low_can_set_control): Likewise.
3413 (i386_dr_low_set_control): Likewise.
3414 (i386_dr_low_get_control): Likewise.
3415 (i386_dr_low_get_status): Likewise.
3416 (i386_get_debug_register_length): Likewise.
3417 (debug_hw_points): Likewise.
3418
3ed9baed
IB
34192014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3420
3421 * Makefile.in (SFILES): Add d-exp.y.
3422 (YYFILES): Add d-exp.c.
3423 (YYOBJ): Add d-exp.o.
3424 (local-maintainer-clean): Delete d-exp.c.
3425 * d-exp.y: New file.
3426 * d-lang.h (d_parse): New declaration.
3427 (d_error): New declaration.
3428 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3429 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3430 PREC_ORDER operators.
3431 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3432
78c164b0
YQ
34332014-06-19 Yao Qi <yao@codesourcery.com>
3434
3435 * gdbthread.h (any_running): Remove the declaration.
3436 * thread.c (any_running): Remove.
3437
f6e29b6e
YQ
34382014-06-19 Yao Qi <yao@codesourcery.com>
3439
3440 * gdbthread.h (struct thread_info) <state>: Change its type to
3441 'enum thread_state'. Update comments.
3442
034f788c
PA
34432014-06-19 Pedro Alves <palves@redhat.com>
3444
3445 * gdbthread.h (ALL_THREADS): Delete.
3446 (ALL_NON_EXITED_THREADS): New macro.
3447 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3448 instead of ALL_THREADS.
3449 * infrun.c (find_thread_needs_step_over)
3450 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3451 instead of ALL_THREADS.
3452 * record-btrace.c (record_btrace_open)
3453 (record_btrace_stop_recording, record_btrace_close)
3454 (record_btrace_is_replaying, record_btrace_resume)
3455 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3456 * remote.c (append_pending_thread_resumptions): Likewise.
3457 * thread.c (thread_apply_all_command): Likewise.
3458
46e33252
GB
34592014-06-19 Gary Benson <gbenson@redhat.com>
3460
3461 * i386-nat.c (i386_stopped_by_watchpoint):
3462 Use i386_dr_stopped_by_watchpoint.
3463 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3464 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3465
3a8ee006
GB
34662014-06-19 Gary Benson <gbenson@redhat.com>
3467
3468 * nat/i386-dregs.c: New file.
3469 * Makefile.in (i386-dregs.o): New rule.
3470 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3471 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3472 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3473 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3474 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3475 * config/i386/go32.mh (NATDEPFILES): Likewise.
3476 * config/i386/linux.mh (NATDEPFILES): Likewise.
3477 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3478 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3479 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3480 * i386-nat.h (debug_hw_points): New declaration.
3481 * i386-nat.c (breakpoint.h): Remove include.
3482 (command.h): Likewise.
3483 (target.h): Likewise.
3484 (gdb_assert.h): Likewise.
3485 (debug_hw_points): Made nonstatic.
3486 (debug_printf): Now in i386-dregs.c.
3487 (TARGET_HAS_DR_LEN_8): Likewise.
3488 (DR_CONTROL_SHIFT): Likewise.
3489 (DR_CONTROL_SIZE): Likewise.
3490 (DR_RW_EXECUTE): Likewise.
3491 (DR_RW_WRITE): Likewise.
3492 (DR_RW_READ): Likewise.
3493 (DR_RW_IORW): Likewise.
3494 (DR_LEN_1): Likewise.
3495 (DR_LEN_2): Likewise.
3496 (DR_LEN_4): Likewise.
3497 (DR_LEN_8): Likewise.
3498 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3499 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3500 (DR_ENABLE_SIZE): Likewise.
3501 (DR_LOCAL_SLOWDOWN): Likewise.
3502 (DR_GLOBAL_SLOWDOWN): Likewise.
3503 (DR_CONTROL_RESERVED): Likewise.
3504 (I386_DR_CONTROL_MASK): Likewise.
3505 (I386_DR_VACANT): Likewise.
3506 (I386_DR_LOCAL_ENABLE): Likewise.
3507 (I386_DR_GLOBAL_ENABLE): Likewise.
3508 (I386_DR_DISABLE): Likewise.
3509 (I386_DR_SET_RW_LEN): Likewise.
3510 (I386_DR_GET_RW_LEN): Likewise.
3511 (I386_DR_WATCH_HIT): Likewise.
3512 (i386_wp_op_t): Likewise.
3513 (i386_show_dr): Likewise.
3514 (i386_length_and_rw_bits): Likewise.
3515 (i386_insert_aligned_watchpoint): Likewise.
3516 (i386_remove_aligned_watchpoint): Likewise.
3517 (i386_handle_nonaligned_watchpoint): Likewise.
3518 (i386_update_inferior_debug_regs): Likewise.
3519 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3520 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3521 (i386_region_ok_for_watchpoint):
3522 Use i386_dr_region_ok_for_watchpoint.
3523 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3524
322a8e06
GB
35252014-06-19 Gary Benson <gbenson@redhat.com>
3526
3527 * i386-nat.c (i386_insert_hw_breakpoint): Use
3528 i386_insert_watchpoint.
3529 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3530
8f26655c
GB
35312014-06-19 Gary Benson <gbenson@redhat.com>
3532
3533 * i386-nat.c (i386_dr_show): Renamed to
3534 i386_show_dr and made static. All uses updated.
3535 (i386_dr_length_and_rw_bits): Renamed to
3536 i386_length_and_rw_bits and made static.
3537 All uses updated.
3538 (i386_dr_insert_aligned_watchpoint): Renamed to
3539 i386_insert_aligned_watchpoint and made static.
3540 All uses updated.
3541 (i386_dr_remove_aligned_watchpoint): Renamed to
3542 i386_remove_aligned_watchpoint and made static.
3543 All uses updated.
3544 (i386_dr_update_inferior_debug_regs): Renamed to
3545 i386_update_inferior_debug_regs and made static.
3546 All uses updated.
3547 * nat/i386-dregs.h (i386_dr_show): Removed.
3548 (i386_dr_length_and_rw_bits): Likewise.
3549 (i386_dr_insert_aligned_watchpoint): Likewise.
3550 (i386_dr_remove_aligned_watchpoint): Likewise.
3551 (i386_dr_update_inferior_debug_regs): Likewise.
3552
992c7d70
GB
35532014-06-19 Gary Benson <gbenson@redhat.com>
3554
3555 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3556 * configure: Regenerate.
3557 * config.in: Likewise.
3558 * main.c (signal.h): New include.
3559 (setup_alternate_signal_stack): New function.
3560 (captured_main): Call the above.
3561 * cp-support.c (signal.h): New include.
3562 (catch_demangler_crashes): New flag.
3563 (SIGJMP_BUF): New define.
3564 (SIGSETJMP): Likewise.
3565 (SIGLONGJMP): Likewise.
3566 (gdb_demangle_jmp_buf): New static global.
3567 (gdb_demangle_attempt_core_dump): Likewise.
3568 (gdb_demangle_signal_handler): New function.
3569 (gdb_demangle): If catch_demangler_crashes is set, install the
3570 above signal handler before calling bfd_demangle, and restore
3571 the original signal handler afterwards. Display the offending
3572 symbol and call demangler_warning the first time a segmentation
3573 fault is caught.
3574 (_initialize_cp_support): New maint set/show command.
3575
eae7090b
GB
35762014-06-19 Gary Benson <gbenson@redhat.com>
3577
3578 * utils.h (resource_limit_kind): New enum.
3579 (can_dump_core): New declaration.
3580 (warn_cant_dump_core): Likewise.
3581 (dump_core): Likewise.
3582 * utils.c (dump_core): Made nonstatic. Added new
3583 parameter "limit_kind".
3584 (can_dump_core): Made nonstatic. Moved printing code to...
3585 (warn_cant_dump_core): New function.
3586 (can_dump_core_warn): Likewise.
3587 (internal_vproblem): Replace calls to can_dump_core with
3588 calls to can_dump_core_warn. Supply new argument to each.
3589
57fcfb1b
GB
35902014-06-19 Gary Benson <gbenson@redhat.com>
3591
3592 * utils.h (demangler_vwarning): New declaration.
3593 (demangler_warning): Likewise.
3594 * utils.c (struct internal_problem)
3595 <user_settable_should_quit>: New field.
3596 <user_settable_should_dump_core>: Likewise
3597 (internal_error_problem): Add values for above new fields.
3598 (internal_warning_problem): Likewise.
3599 (demangler_warning_problem): New static global.
3600 (demangler_vwarning): New function.
3601 (demangler_warning): Likewise.
3602 (add_internal_problem_command): Selectively add commands.
3603 (_initialize_utils): New internal problem command.
3604 * maint.c (maintenance_demangler_warning): New function.
3605 (_initialize_maint_cmds): New command.
3606
17a40b44
TT
36072014-06-18 Tom Tromey <tromey@redhat.com>
3608
3609 * f-valprint.c (info_common_command_for_block): Update.
3610 * symtab.h (struct general_symbol_info) <common_block>: Now
3611 const.
3612
346d1dfe
TT
36132014-06-18 Tom Tromey <tromey@redhat.com>
3614
3615 * symtab.h (struct symtab) <blockvector>: Now const.
3616 * ada-lang.c (ada_add_global_exceptions): Update.
3617 * buildsym.c (augment_type_symtab): Update.
3618 * dwarf2read.c (dw2_lookup_symbol): Update.
3619 * jit.c (finalize_symtab): Update.
3620 * jv-lang.c (add_class_symtab_symbol): Update.
3621 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3622 Update.
3623 * objfiles.c (objfile_relocate1): Update.
3624 * psymtab.c (lookup_symbol_aux_psymtabs)
3625 (maintenance_check_psymtabs): Update.
3626 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3627 Update.
3628 * spu-tdep.c (spu_catch_start): Update.
3629 * symmisc.c (dump_symtab_1): Update.
3630 * symtab.c (lookup_global_symbol_from_objfile)
3631 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3632 (basic_lookup_transparent_type_quick)
3633 (basic_lookup_transparent_type, find_pc_sect_symtab)
3634 (find_pc_sect_line, search_symbols): Update.
3635 * block.c (find_block_in_blockvector): Make "bl" const.
3636 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3637 const.
3638 (blockvector_contains_pc): Make "bv" const.
3639 (block_for_pc_sect): Update.
3640 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3641 (blockvector_contains_pc): Update.
3642 * breakpoint.c (resolve_sal_pc): Update.
3643 * inline-frame.c (block_starting_point_at): Update.
3644
1834676b
TT
36452014-06-18 Tom Tromey <tromey@redhat.com>
3646
3647 * completer.c (complete_line): Make "line_buffer" const.
3648 * completer.h (complete_line): Update.
3649
ac1a991b
TT
36502014-06-18 Tom Tromey <tromey@redhat.com>
3651
3652 * symtab.c (add_macro_name): Remove unneeded cast.
3653
5bc98e52
TT
36542014-06-18 Tom Tromey <tromey@redhat.com>
3655
3656 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3657 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3658
8236def8
TT
36592014-06-18 Tom Tromey <tromey@redhat.com>
3660
3661 * probe.c (info_probes_for_ops): Make "arg" const.
3662 * probe.h (info_probes_for_ops): Update.
3663
3977b71f
TT
36642014-06-18 Tom Tromey <tromey@redhat.com>
3665
3666 * varobj.c (varobj_create): Update.
3667 * valops.c (value_of_this): Update.
3668 * tracepoint.c (add_local_symbols, scope_info): Update.
3669 * symtab.h (struct general_symbol_info) <block>: Now const.
3670 * symtab.c (skip_prologue_sal)
3671 (default_make_symbol_completion_list_break_on)
3672 (skip_prologue_using_sal): Update.
3673 * stack.h (iterate_over_block_locals)
3674 (iterate_over_block_local_vars): Update.
3675 * stack.c (print_frame_args): Update.
3676 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3677 parameter const.
3678 (get_selected_block): Make return type const.
3679 * python/py-frame.c (frapy_block): Update.
3680 * python/py-block.c (gdbpy_block_for_pc): Update.
3681 * p-exp.y (%union) <bval>: Now const.
3682 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3683 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3684 * m2-exp.y (%union) <bval>: Now const.
3685 * linespec.c (get_current_search_block): Make return type const.
3686 (create_sals_line_offset, find_label_symbols): Update.
3687 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3688 Update.
3689 (block_starting_point_at): Make "block" const.
3690 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3691 (check_exception_resume): Update.
3692 * guile/scm-frame.c (gdbscm_frame_block): Update.
3693 * guile/scm-block.c (gdbscm_lookup_block): Update.
3694 * frame.h (get_frame_block): Update.
3695 (get_selected_block): Make return type const.
3696 * frame.c (frame_id_inner): Update.
3697 * f-valprint.c (info_common_command_for_block)
3698 (info_common_command): Update.
3699 * dwarf2loc.c (dwarf2_find_location_expression)
3700 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3701 (locexpr_describe_location_piece): Update.
3702 * c-exp.y (%union) <bval>: Now const.
3703 * breakpoint.c (resolve_sal_pc): Update.
3704 * blockframe.c (get_frame_block):Make return type const.
3705 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3706 (block_innermost_frame): Update.
3707 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3708 (block_for_pc, block_for_pc_sect): Update.
3709 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3710 'pblock' const.
3711 (block_for_pc_sect, block_for_pc): Make return type const.
3712 * ax-gdb.c (gen_expr): Update.
3713 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3714 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3715 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3716 (ada_read_var_value): Update.
3717 * ada-exp.y (struct name_info) <block>: Now const.
3718 (%union): Likewise.
3719 (block_lookup): Constify.
3720
b9228891
GB
37212014-06-18 Gary Benson <gbenson@redhat.com>
3722
3723 * nat/i386-dregs.h: New file.
3724 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3725 * i386-nat.h (i386-dregs.h): New include.
3726 (DR_FIRSTADDR): Now in i386-dregs.h.
3727 (DR_LASTADDR): Likewise.
3728 (DR_NADDR): Likewise.
3729 (DR_STATUS): Likewise.
3730 (DR_CONTROL): Likewise.
3731 (i386_debug_reg_state): Likewise.
3732 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3733
a1aa2221
LM
37342014-06-18 Don Breazeal <donb@codesourcery.com>
3735
3736 * breakpoint.c (set_longjmp_breakpoint): Call
3737 momentary_breakpoint_from_master with additional argument.
3738 (set_longjmp_breakpoint_for_call_dummy): Call
3739 momentary_breakpoint_from_master with additional argument.
3740 (set_std_terminate_breakpoint): Call
3741 momentary_breakpoint_from_master with additional argument.
3742 (momentary_breakpoint_from_master): Add argument to function
3743 definition and use it to initialize structure member flag.
74228e77 3744 (clone_momentary_breakpoint): Call
a1aa2221
LM
3745 momentary_breakpoint_from_master with additional argument.
3746 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3747 member flags set in momentary_breakpoint_from_master.
3748
4be83cc2
GB
37492014-06-18 Gary Benson <gbenson@redhat.com>
3750
3751 * i386-nat.c (i386_show_dr): Renamed to
3752 i386_dr_show and made nonstatic. All uses updated.
3753 (i386_length_and_rw_bits): Renamed to
3754 i386_dr_length_and_rw_bits and made nonstatic.
3755 All uses updated.
3756 (i386_insert_aligned_watchpoint): Renamed to
3757 i386_dr_insert_aligned_watchpoint and made nonstatic.
3758 All uses updated.
3759 (i386_remove_aligned_watchpoint): Renamed to
3760 i386_dr_remove_aligned_watchpoint and made nonstatic.
3761 All uses updated.
3762 (i386_update_inferior_debug_regs): Renamed to
3763 i386_dr_update_inferior_debug_regs and made nonstatic.
3764 All uses updated.
3765
131aa0d4
GB
37662014-06-18 Gary Benson <gbenson@redhat.com>
3767
3768 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3769 (i386_dr_low_can_set_control): Likewise.
3770 (i386_dr_low_set_addr): Likewise.
3771 (i386_dr_low_set_control): Likewise.
3772 (i386_dr_low_get_addr): Likewise.
3773 (i386_dr_low_get_status): Likewise.
3774 (i386_dr_low_get_control): Likewise.
3775 (i386_insert_aligned_watchpoint): Use new macros.
3776 (i386_update_inferior_debug_regs): Likewise.
3777 (i386_stopped_data_address): Likewise.
3778
d9305f7f
GB
37792014-06-18 Gary Benson <gbenson@redhat.com>
3780
3781 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3782 New parameter. All uses updated.
3783
ea008da4
GB
37842014-06-18 Gary Benson <gbenson@redhat.com>
3785
3786 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3787 All uses updated.
3788
1b6d4134
GB
37892014-06-18 Gary Benson <gbenson@redhat.com>
3790
3791 * i386-nat.c (debug_printf): New macro.
3792 (i386_get_debug_register_length): Likewise.
3793 (TARGET_HAS_DR_LEN_8): Use above macro.
3794 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3795 and printf_unfiltered. Use phex to format values.
3796
9b4550ef
GB
37972014-06-18 Gary Benson <gbenson@redhat.com>
3798
3799 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3800 Make const.
3801
6e62758f
GB
38022014-06-18 Gary Benson <gbenson@redhat.com>
3803
3804 * i386-nat.c: Comment changes.
3805
51c79e94
GB
38062014-06-18 Gary Benson <gbenson@redhat.com>
3807
3808 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3809
3e11889a
GB
38102014-06-18 Gary Benson <gbenson@redhat.com>
3811
3812 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3813 (i386_insert_aligned_watchpoint): Likewise.
3814 (i386_remove_aligned_watchpoint): Likewise.
3815 (i386_handle_nonaligned_watchpoint): Likewise.
3816
fc6e2f03
GB
38172014-06-18 Gary Benson <gbenson@redhat.com>
3818
3819 * i386-nat.c: Whitespace changes.
3820
2afe7d50
SB
38212014-06-17 Samuel Bronson <naesten@gmail.com>
3822
3823 * MAINTAINERS: Update Roland McGrath's email address.
3824 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3825 Red Hat a while ago, and giving me a current address.
2afe7d50 3826
3bca49ee
TT
38272014-06-17 Tom Tromey <tromey@redhat.com>
3828
3829 * utils.h (savestring): Remove declaration.
3830
6e366df1
TT
38312014-06-17 Tom Tromey <tromey@redhat.com>
3832
3833 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3834
6be47f0c
KS
38352014-06-16 Keith Seitz <keiths@redhat.com>
3836
3837 PR mi/15863
3838 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3839 to update the varobj if inferior_ptid is null_ptid.
3840
7bc112c1
TT
38412014-06-16 Tom Tromey <tromey@redhat.com>
3842
3843 * target.h (struct target_ops) <to_info_proc>: Make parameter
3844 const.
3845 (target_info_proc): Update.
3846 * target.c (target_info_proc): Make "args" const.
3847 * procfs.c (procfs_info_proc): Update.
3848 * linux-tdep.c (linux_info_proc): Update.
3849 (linux_core_info_proc_mappings): Make "args" const.
3850 (linux_core_info_proc): Update.
3851 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3852 * gdbarch.c: Rebuild.
3853 * gdbarch.h: Rebuild.
3854 * corelow.c (core_info_proc): Update.
3855
fee354ee
TT
38562014-06-16 Tom Tromey <tromey@redhat.com>
3857
3858 * target.h (struct target_ops) <to_disconnect>: Make parameter
3859 const.
3860 (target_disconnect): Update.
3861 * target.c (target_disconnect): Make "args" const.
3862 * target-delegates.c: Rebuild.
3863 * remote.c (remote_disconnect): Update.
3864 * record.h (record_disconnect): Update.
3865 * record.c (record_disconnect): Update.
3866 * inf-child.c (inf_child_disconnect): Update.
3867
a30bf1f1
TT
38682014-06-16 Tom Tromey <tromey@redhat.com>
3869
3870 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3871 * target.c (debug_to_rcmd, default_rcmd): Update.
3872 * target-delegates.c: Rebuild.
3873 * remote.c (remote_rcmd): Update.
3874 * monitor.c (monitor_rcmd): Update.
3875
d03de421
PA
38762014-06-16 Pedro Alves <palves@redhat.com>
3877
3878 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3879 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3880 have OBJF_SHARED set.
3881 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3882 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3883 instead of OBJF_USERLOADED.
3884 * objfiles.h (OBJF_SHARED): Update comment.
3885 (userloaded_objfile_contains_address_p): Rename to ...
3886 (shared_objfile_contains_address_p): ... this, and update
3887 comments.
3888 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3889 new objfile.
3890 (remove_symbol_file_command): Skip objfiles that don't have
3891 OBJF_SHARED set.
3892
99f4262f
TT
38932014-06-16 Tom Tromey <tromey@redhat.com>
3894
3895 * minsyms.h (prim_record_minimal_symbol)
3896 (prim_record_minimal_symbol_and_info): Update comments.
3897
97d66cc6
EZ
38982014-06-14 Eli Zaretskii <eliz@gnu.org>
3899
3900 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3901 or --without-guile, according to how GDB was built.
3902
635c7e8a
TT
39032014-06-13 Tom Tromey <tromey@redhat.com>
3904
3905 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3906 to help_list.
3907 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3908 to help_list.
3909 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3910 help_list.
3911 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3912 help_list.Pass all_commands, not -1, to help_list.
3913 * cli/cli-dump.c (dump_command, append_command)
3914 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3915 (binary_dump_command, binary_append_command): Pass all_commands,
3916 not -1, to help_list.
3917 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3918 -1, to help_list.
3919 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3920 -1, to help_list.
3921 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3922 help_list.
3923 * top.c (set_history): Pass all_commands, not -1, to help_list.
3924 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3925 all_commands, not -1, to help_list.
3926 * symfile.c (overlay_command): Pass all_commands, not -1, to
3927 help_list.
3928 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3929 help_list.
3930 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3931 help_list.
3932 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3933 -1, to help_list.
3934 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3935 not -1, to help_list.
3936 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3937 not -1, to help_list.
3938 * maint.c (maintenance_command, maintenance_info_command)
3939 (maintenance_print_command, maintenance_set_cmd): Pass
3940 all_commands, not -1, to help_list.
3941 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3942 help_list.
3943 * language.c (set_check): Pass all_commands, not -1, to help_list.
3944 * infcmd.c (unset_command): Pass all_commands, not -1, to
3945 help_list.
3946 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3947 help_list.
3948 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3949 help_list.
3950 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3951 help_list.
3952 * breakpoint.c (save_command): Pass all_commands, not -1, to
3953 help_list.
3954 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3955 all_commands, not -1, to help_list.
3956
b94ade42
PL
39572014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3958
3959 * regcache.c (struct register_to_invalidate): New structure.
3960 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3961 functions.
3962 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3963
31f628ae
YQ
39642014-06-12 Yao Qi <yao@codesourcery.com>
3965
3966 * varobj.c (varobj_get_num_children): Call
3967 varobj_is_dynamic_p.
3968 (varobj_list_children): Likewise.
3969 (varobj_update): Likewise. Update comments.
3970
cde5ef40
YQ
39712014-06-12 Yao Qi <yao@codesourcery.com>
3972
3973 * varobj.c (varobj_pretty_printed_p): Rename to ...
3974 (varobj_is_dynamic_p): ... this. New function.
3975 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3976 (varobj_is_dynamic_p): Declare.
3977 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3978 (mi_print_value_p, varobj_update_one): Likewise.
3979
576ea091
YQ
39802014-06-12 Pedro Alves <pedro@codesourcery.com>
3981 Yao Qi <yao@codesourcery.com>
3982
3983 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3984 (varobj_get_iterator): Wrap up code for pretty-printer by
3985 "#if HAVE_PYTHON" and "#endif".
3986 (update_dynamic_varobj_children): Likewise.
3987
827f100c
YQ
39882014-06-12 Pedro Alves <pedro@codesourcery.com>
3989 Yao Qi <yao@codesourcery.com>
3990
3991 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3992 gdb_python_initialized is false. Move some code from varobj.c.
3993 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3994 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3995 (struct varobj_item): Moved to varobj-iter.h".
3996 (varobj_clear_saved_item): New function.
3997 (update_dynamic_varobj_children): Move python-related code to
3998 py-varobj.c.
3999 (free_variable): Call varobj_clear_saved_item and
4000 varobj_iter_delete.
4001
e5250216
YQ
40022014-06-12 Pedro Alves <pedro@codesourcery.com>
4003 Yao Qi <yao@codesourcery.com>
4004
4005 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4006 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4007 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4008 (py-varobj.o): New rule.
4009 * python/py-varobj.c: New file.
4010 * python/python-internal.h (py_varobj_get_iterator): Declare.
4011 * varobj-iter.h: New file.
4012 * varobj.c: Include "varobj-iter.h"
4013 (struct varobj) <child_iter>: Change its type from "PyObject *"
4014 to "struct varobj_iter *".
4015 <saved_item>: Likewise.
4016 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4017 [HAVE_PYTHON] (varobj_get_iterator): New function.
4018 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4019 python-specific code to python/py-varobj.c.
4020 (install_visualizer): Call varobj_iter_delete instead of
4021 Py_XDECREF.
4022 * varobj.h (varobj_ensure_python_env): Declare.
4023
5a2e0d6e
YQ
40242014-06-12 Yao Qi <yao@codesourcery.com>
4025
4026 * varobj.c (struct varobj_item): New structure.
4027 (create_child_with_value): Update declaration.
4028 (varobj_add_child): Replace arguments 'name' and 'value' with
4029 'item'. All callers updated.
4030 (install_dynamic_child): Likewise.
4031 (update_dynamic_varobj_children): Likewise.
4032 (varobj_add_child): Likewise.
4033 (create_child_with_value): Likewise.
4034
919b9a93
JB
40352014-06-11 Joel Brobecker <brobecker@adacore.com>
4036
4037 * NEWS: Create a new section for the next release branch.
4038 Rename the section of the current branch, now that it has
4039 been cut.
4040
71a55bdf
JB
40412014-06-11 Joel Brobecker <brobecker@adacore.com>
4042
4043 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4044 * version.in: Bump version to 7.8.50.DATE-cvs.
4045
364fe1f7
PA
40462014-06-11 Pedro Alves <palves@redhat.com>
4047
4048 PR remote/17028
4049 * ser-mingw.c (net_windows_socket_check_pending): New function.
4050 (net_windows_select_thread): Ignore spurious wakeups. Use
4051 net_windows_socket_check_pending.
4052 (net_windows_wait_handle): Check for pending events with
4053 ioctlsocket, through net_windows_socket_check_pending, instead of
4054 checking the socket's event.
4055
5a6c7709
SC
40562014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4057
4058 * python/python-internal.h (gdb_PyObject_GetAttrString)
4059 (gdb_PyObject_HasAttrString): New inline function definitions.
4060 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4061 char * of the second argument to PyObject_GetAttrString.
74228e77 4062
0e58ee40
JB
40632014-06-10 Joel Brobecker <brobecker@adacore.com>
4064
4065 * serial.c (serial_write): Fix index of character to be printed
4066 in call to serial_logchar when serial debug traces are enabled.
4067
d190df30
JB
40682014-06-10 Joel Brobecker <brobecker@adacore.com>
4069
4070 * gdbtypes (resolve_dynamic_range): Add function description.
4071
b4b01d36
PA
40722014-06-09 Pedro Alves <palves@redhat.com>
4073
4074 * linux-nat.c (linux_child_follow_fork): Initialize status with
4075 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4076 inner block. Only pass the signal to PTRACE_DETACH if in pass
4077 state.
4078
3657956b
GB
40792014-06-09 Gary Benson <gbenson@redhat.com>
4080
4081 * common/signals.c (gdb_signal_from_host): Reorder to separate
4082 the always-available ANSI-standard signals from the signals that
4083 require checking.
4084 (do_gdb_signal_to_host): Likewise.
4085 * proc-events.c (signal_table): Likewise.
4086
c077881a
HZ
40872014-06-08 Hui Zhu <hui@codesourcery.com>
4088
4089 * common/linux-ptrace.c (linux_disable_event_reporting): New
4090 function.
4091 * common/linux-ptrace.h (linux_disable_event_reporting): New
4092 declaration.
4093 * linux-nat.c (linux_child_follow_fork): Do a single step before
4094 detach.
4095
4186eb54
KS
40962014-06-07 Keith Seitz <keiths@redhat.com>
4097
4098 Revert:
4099 PR c++/16253
4100 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4101 from symbol_matches_domain in symtab.c. All local callers
4102 of symbol_matches_domain updated.
4103 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4104 search STRUCT_DOMAIN.
4105 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4106 independently. standard_lookup will do that automatically.
4107 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4108 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4109 (cp_lookup_symbol_in_namespace): Likewise.
4110 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4111 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4112 may return a STRUCT_DOMAIN match.
4113 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4114 * cp-support.c: Include language.h.
4115 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4116 VAR_DOMAIN.
4117 * psymtab.c (match_partial_symbol): Compare the requested
4118 domain with the symbol's domain directly.
4119 (lookup_partial_symbol): Likewise.
4120 * symtab.c (lookup_symbol_in_language): Explain when/why
4121 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4122 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4123 appropriate languages.
4124 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4125 and moved to ada-lang.c
4126 (lookup_block_symbol): Explain that this function only returns
4127 symbol matching the requested DOMAIN.
4128 Compare the requested domain with the symbol's domain directly.
4129 (iterate_over_symbols): Compare the requested domain with the
4130 symbol's domain directly.
4131 * symtab.h (symbol_matches_domain): Remove.
4132
25326a28 41332014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4134
4135 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4136 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4137 (gdbscm_guile_version_is_at_least): Declare.
4138 (gdbscm_scm_string_to_int): Declare.
4139 * guile/guile.c (gdbscm_guile_major_version): New global.
4140 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4141 (guile_datadir): New static global.
4142 (gdbscm_guile_data_directory): New function.
4143 (initialize_scheme_side): Update.
4144 (misc_guile_functions): Add guile-data-directory.
4145 (initialize_gdb_module): Fetch guile version number.
4146 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4147 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4148 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4149 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4150 comments.
4151 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4152 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4153 * guile/scm-value.c (gdbscm_value_to_string): Only call
4154 scm_port_conversion_strategy if Guile version >= 2.0.6.
4155
0a770bb2 41562014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4157
4158 * main.c (print_gdb_help): Add -q and --silent.
4159
73ba372c
GB
41602014-06-06 Gary Benson <gbenson@redhat.com>
4161
4162 * common/signals.c: Remove preprocessor conditionals for
4163 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4164 SIGSEGV and SIGTERM.
4165 * proc-events.c: Likewise.
4166
c33b2f12
MM
41672014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4168
4169 * symfile.c (symfile_free_objfile): Remove restriction to
4170 OBJF_USERLOADED.
4171 * symfile-mem.c (symbol_file_add_from_memory): Call
4172 add_target_sections_of_objfile.
4173
fb934770
LC
41742014-06-05 Ludovic Courtès <ludo@gnu.org>
4175
4176 * guile/scm-value.c (gdbscm_history_append_x): Use
4177 'vlscm_get_value_smob_arg_unsafe' instead of
4178 'vlscm_scm_to_value'.
4179
6ef284bd
SM
41802014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4181
4182 PR mi/15806
4183 * utils.c (printchar): Don't escape at all if quoter is NUL.
4184 Update function documentation to clarify effect of parameter
4185 QUOTER.
4186 * remote.c (escape_buffer): Pass '\\' as the quoter to
4187 fputstrn_unfiltered.
4188 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4189 generate the output.
4190 (mi_solib_unloaded): Same.
4191
270c9937
JB
41922014-06-05 Joel Brobecker <brobecker@adacore.com>
4193
4194 * development.sh: Delete.
4195 * Makefile.in (config.status): Adjust dependency on development.sh.
4196 * configure.ac: Adjust development.sh source call.
4197 * configure: Regenerate.
4198
16f691fb
DE
41992014-06-04 Doug Evans <xdje42@gmail.com>
4200
4201 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4202 is_scheme_bkpt, spec.
4203 (bpscm_make_breakpoint_smob): Initialize new members.
4204 (gdbscm_create_breakpoint_x): Split into two ...
4205 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4206 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4207 (scheme_function breakpoint_functions): Update.
4208 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4209 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4210 register-breakpoint!.
4211
ef7cab6b
JB
42122014-06-04 Joel Brobecker <brobecker@adacorer.com>
4213
4214 PR server/17023
4215 * mem-break.c (z_type_supported): Return zero if
4216 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4217
012370f6
TT
42182014-06-04 Tom Tromey <tromey@redhat.com>
4219
4220 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4221 value_from_contents_and_address_unresolved.
4222 (ada_template_to_fixed_record_type_1): Likewise.
4223 (ada_which_variant_applies): Likewise.
4224 * value.h (value_from_contents_and_address_unresolved): Declare.
4225 * value.c (value_from_contents_and_address_unresolved): New
4226 function.
4227 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4228 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4229 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4230
92e2a17f
TT
42312014-06-04 Tom Tromey <tromey@redhat.com>
4232
4233 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4234
c0939df1
TT
42352014-06-04 Tom Tromey <tromey@redhat.com>
4236
4237 * procfs.c (procfs_attach): Make "args" const.
4238 * windows-nat.c (windows_attach): Make "args" const.
4239 * nto-procfs.c (procfs_attach): Make "args" const.
4240 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4241 * go32-nat.c (go32_attach): Make "args" const.
4242 * gnu-nat.c (gnu_attach): Make "args" const.
4243 * darwin-nat.c (darwin_attach): Make "args" const.
4244 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4245 * linux-nat.c (linux_nat_attach): Make "args" const.
4246 * remote.c (extended_remote_attach_1, extended_remote_attach):
4247 Make "args" const.
4248 * target.h (struct target_ops) <to_attach>: Make "args" const.
4249 (find_default_attach): Likewise.
4250 * utils.c (parse_pid_to_attach): Make "args" const.
4251 * utils.h (parse_pid_to_attach): Update.
4252
8eaff7cd
TT
42532014-06-04 Tom Tromey <tromey@redhat.com>
4254
4255 * target-delegates.c: Rebuild.
4256 * target.c (default_thread_address_space): New function.
4257 (target_thread_address_space): Simplify.
4258 * target.h (struct target_ops) <to_thread_address_space>: Add
4259 TARGET_DEFAULT_FUNC.
4260
1913f160
DE
42612014-06-04 Doug Evans <xdje42@gmail.com>
4262
4263 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4264
70ad5bff
MM
42652014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4266
4267 * record-btrace.c: Include event-loop.h and inf-loop.h.
4268 (record_btrace_resume_exec_dir)
4269 (record_btrace_async_inferior_event_handler)
4270 (record_btrace_handle_async_inferior_event): New.
4271 (record_btrace_open): Create async event handler.
4272 (record_btrace_close): Delete async event handler.
4273 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4274 Mark async event handler.
4275 (record_btrace_execution_direction): New.
4276 (init_record_btrace_ops): Initialize to_execution_direction.
4277
b6210538
DE
42782014-06-03 Doug Evans <xdje42@gmail.com>
4279
4280 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4281 (gdbscm_make_parameter): Ditto.
4282
a5b1fd27
DE
42832014-06-03 Doug Evans <dje@google.com>
4284
4285 * exec.c (exec_close_1): Call clear_section_table instead of
4286 resize_section_table.
4287 (clear_section_table): New function.
4288 (resize_section_table): Make static. Rename arg num_added to
4289 adjustment.
4290 * exec.h (clear_section_table): Declare.
4291 (resize_section_table): Delete.
4292 * progspace.c (release_program_space): Call clear_section_table
4293 instead of resize_section_table.
4294
0c6e92a5
SC
42952014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4296
4297 * NEWS (Python Scripting): Add entry about the new xmethods
4298 feature.
4299
883964a7
SC
43002014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4301
4302 * python/py-xmethods.c: New file.
4303 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4304 (objfpy_dealloc): XDECREF on the new xmethods field.
4305 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4306 field.
4307 (objfpy_get_xmethods): New function.
4308 (objfile_getset): New entry 'xmethods'.
4309 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4310 (pspy_dealloc): XDECREF on the new xmethods field.
4311 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4312 field.
4313 (pspy_get_xmethods): New function.
4314 (pspace_getset): New entry 'xmethods'.
4315 * python/python-internal.h: Add declarations for new functions.
4316 * python/python.c (_initialize_python): Invoke
4317 gdbpy_initialize_xmethods.
4318 * python/lib/gdb/__init__.py (xmethods): New
4319 attribute.
4320 * python/lib/gdb/xmethod.py: New file.
4321 * python/lib/gdb/command/xmethods.py: New file.
4322
58992dc5
SC
43232014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4324
4325 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4326 best match method returned by find_overload_match is an xmethod.
4327 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4328 the best matching operator returned by find_overload_match is an
4329 xmethod.
4330 * valops.c: #include "extension.h".
4331 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4332 Return void. The list of matching source methods is returned in
4333 "fn_list" and a vector of matching debug method workers is
4334 returned in "xm_worker_vec". Update all callers.
4335 (value_find_oload_method_list): Likewise.
4336 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4337 non-NULL, then the index of the best matching method in this
4338 vector is returned. Update all callers.
4339 (find_overload_match): Include xmethods while performing overload
4340 resolution.
4341
e81e7f5e
SC
43422014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4343
4344 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4345 * extension-priv.h (struct extension_language_ops): Add the
4346 xmethod interface.
4347 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4348 get_matching_xmethod_workers, get_xmethod_argtypes,
4349 invoke_xmethod, free_xmethod_worker,
4350 free_xmethod_worker_vec): New functions.
4351 * extension.h: #include "common/vec.h".
4352 New function declarations.
4353 (struct xmethod_worker): New struct.
4354 (VEC (xmethod_worker_ptr)): New vector type.
4355 (xmethod_worker_ptr): New typedef.
4356 (xmethod_worker_vec): Likewise.
4357 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4358 builtin_type.
4359 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4360 (struct builtin_type): New field "xmethod".
4361 * valarith.c (value_ptradd): Assert that the value argument is not
4362 lval_xcallable.
4363 * valops.c (value_must_coerce_to_target): Return 0 for
4364 lval_xcallable values.
4365 * value.c (struct value): New field XM_WORKER in the field
4366 LOCATION.
4367 (value_address, value_raw_address): Return 0 for lval_xcallable
4368 values.
4369 (set_value_address): Assert that the value is not an
4370 lval_xcallable.
4371 (value_free): Free the associated xmethod worker when freeing
4372 lval_xcallable values.
4373 (set_value_component_location): Assert that the WHOLE value is not
4374 lval_xcallable.
4375 (value_of_xmethod, call_xmethod): New functions.
4376 * value.h: Declare "struct xmethod_worker".
4377 Declare new functions value_of_xmethod, call_xmethod.
4378
ef370185
JB
43792014-06-03 Joel Brobecker <brobecker@adacore.com>
4380 Pedro Alves <palves@redhat.com>
4381
4382 PR breakpoints/17000
4383 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4384 New function, extracted from software_breakpoint_inserted_here_p.
4385 (software_breakpoint_inserted_here_p): Replace factored out code
4386 by call to find_non_raw_software_breakpoint_inserted_here.
4387 (bp_target_info_copy_insertion_state): New function.
4388 (bkpt_insert_location): Handle the case of a single-step
4389 breakpoint already inserted at the same address.
4390 (bkpt_remove_location): Handle the case of a single-step
4391 breakpoint still inserted at the same address.
4392 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4393 breakpoint already inserted at the same address.
4394 (deprecated_remove_raw_breakpoint): Handle the case of a
4395 non-raw breakpoint still inserted at the same address.
4396 (find_single_step_breakpoint): New function, extracted from
4397 single_step_breakpoint_inserted_here_p.
4398 (find_single_step_breakpoint): New function,
4399 factored out from single_step_breakpoint_inserted_here_p.
4400 (single_step_breakpoint_inserted_here_p): Reimplement.
4401
1e2ccb61
BM
44022014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4403
4404 Pushed by Joel Brobecker <brobecker@adacore.com>
4405 * source.c (show_substitute_path_command): Fix display of matching
4406 substitution rules.
4407
d3448d85
GB
44082014-06-03 Gary Benson <gbenson@redhat.com>
4409
4410 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4411
06eb1586
DE
44122014-06-02 Doug Evans <xdje42@gmail.com>
4413
4414 Add parameter support for Guile.
4415 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4416 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4417 (scm-param.o): New rule.
4418 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4419 (gdbscm_misc_error): Declare.
4420 (gdbscm_canonicalize_command_name): Declare.
4421 (gdbscm_scm_to_host_string): Declare.
4422 (gdbscm_scm_from_host_string): Declare.
4423 (gdbscm_initialize_parameters): Declare.
4424 * guile/guile.c (initialize_gdb_module): Call
4425 gdbscm_initialize_parameters.
4426 * guile/lib/gdb.scm: Export parameter symbols.
4427 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4428 cmdscm_canonicalize_name and made public. All callers updated.
4429 * guile/scm-exception.c (gdbscm_misc_error): New function.
4430 * guile/scm-param.c: New file.
4431 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4432 (gdbscm_scm_to_host_string): New function.
4433 (gdbscm_scm_from_host_string): New function.
4434 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4435
e698b8c4
DE
44362014-06-02 Doug Evans <xdje42@gmail.com>
4437
4438 Add command support for Guile.
4439 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4440 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4441 (scm-cmd.o): New rule.
4442 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4443 (gdbscm_user_error_p): Declare.
4444 (gdbscm_parse_command_name): Declare.
4445 (gdbscm_valid_command_class_p): Declare.
4446 (gdbscm_initialize_commands): Declare.
4447 * guile/guile.c (initialize_gdb_module): Call
4448 gdbscm_initialize_commands.
4449 * guile/lib/gdb.scm: Export command symbols.
4450 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4451 (throw-user-error): New function.
4452 * guile/scm-cmd.c: New file.
4453 * guile/scm-exception.c (user_error_symbol): New static global.
4454 (gdbscm_user_error_p): New function.
4455 (gdbscm_initialize_exceptions): Set user_error_symbol.
4456 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4457
fb1f94b0
PM
44582014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4459
4460 * top.c (command_loop): Handle comments here...
4461 (command_line_input): ... not here.
4462
ded03782
DE
44632014-06-02 Doug Evans <xdje42@gmail.com>
4464
4465 Add progspace support for Guile.
4466 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4467 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4468 (scm-progspace.o): New rule.
4469 * guile/guile-internal.h (pspace_smob): New typedef.
4470 (psscm_pspace_smob_pretty_printers): Declare.
4471 (psscm_pspace_smob_from_pspace): Declare.
4472 (psscm_scm_from_pspace): Declare.
4473 * guile/guile.c (initialize_gdb_module): Call
4474 gdbscm_initialize_pspaces.
4475 * guile/lib/gdb.scm: Export progspace symbols.
4476 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4477 support.
4478 (append-pretty-printer!): Ditto.
4479 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4480 Implement.
4481 * guile/scm-progspace.c: New file.
4482
397998fc
AM
44832014-06-03 Alan Modra <amodra@gmail.com>
4484
4485 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4486 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4487
6aa5f3a6
DE
44882014-06-02 Doug Evans <dje@google.com>
4489
4490 Add support for skeletonless type units.
4491 * dwarf2read.c (struct dwarf2_per_objfile): New member
4492 n_allocated_type_units.
4493 (struct dwarf2_per_objfile) <tu_stats>: New member
4494 nr_all_type_units_reallocs.
4495 (create_signatured_type_table_from_index): Initialize
4496 n_allocated_type_units
4497 (create_all_type_units): Ditto.
4498 (add_type_unit): Move up in file. New arg slot.
4499 All callers updated. Increase space for all_type_units more
4500 efficiently.
4501 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4502 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4503 (lookup_dwp_signatured_type): Ditto.
4504 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4505 All callers updated.
4506 (build_type_psymtabs_1): Leave type_unit_groups as
4507 NULL if no TUs present.
4508 (print_tu_stats): New function.
4509 (process_skeletonless_type_unit): New function.
4510 (process_dwo_file_for_skeletonless_type_units): New
4511 function.
4512 (process_skeletonless_type_units): New function.
4513 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4514 Call print tu_stats if debugging enabled.
4515
41fac0cf
PA
45162014-06-02 Pedro Alves <palves@redhat.com>
4517
4518 * breakpoint.c (build_target_command_list): Don't build a command
4519 list if we have any duplicate location that isn't a dprintf.
4520
cd1608cc
PA
45212014-06-02 Pedro Alves <palves@redhat.com>
4522
4523 * breakpoint.c (dprintf_breakpoint_hit): New function.
4524 (initialize_breakpoint_ops): Install it as dprintf's
4525 breakpoint_hit method.
4526
486ef3b9
JB
45272014-06-02 Joel Brobecker <brobecker@adacore.com>
4528
4529 * source.c (substitute_path_rule_matches): Simplify using
4530 filename_ncmp instead of FILENAME_CMP.
4531
230cd560
JB
45322014-06-02 Joel Brobecker <brobecker@adacore.com>
4533
4534 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4535
16954d5d
LC
45362014-06-01 Ludovic Courtès <ludo@gnu.org>
4537
4538 * configure.ac: When Guile is available, check for the
4539 availability of 'scm_new_smob'.
4540 * configure, config.h.in: Regenerate.
4541 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4542 function.
4543
53e8a631
AB
45442014-05-30 Andrew Burgess <aburgess@broadcom.com>
4545
4546 * frame.c (struct frame_info): Add stop_string field.
4547 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4548 (get_prev_frame_always): Old content moved into
4549 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4550 TRY_CATCH, handle MEMORY_ERROR exceptions.
4551 (frame_stop_reason_string): New function definition.
4552 * frame.h (unwind_stop_reason_to_string): Extend comment to
4553 mention frame_stop_reason_string.
4554 (frame_stop_reason_string): New function declaration.
4555 * stack.c (frame_info): Switch to frame_stop_reason_string.
4556 (backtrace_command_1): Switch to frame_stop_reason_string.
4557 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4558 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4559 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4560
70e38b8e
AB
45612014-05-30 Andrew Burgess <aburgess@broadcom.com>
4562
4563 * frame.c (frame_stop_reason_string): Rename to ...
4564 (unwind_stop_reason_to_string): this.
4565 * frame.h (frame_stop_reason_string): Rename to ...
4566 (unwind_stop_reason_to_string): this.
4567 * stack.c (frame_info): Update call to frame_stop_reason_string.
4568 (backtrace_command_1): Likewise.
4569 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4570 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4571
938f0e2f
AB
45722014-05-30 Andrew Burgess <aburgess@broadcom.com>
4573
4574 * frame.c (remove_prev_frame): New function.
4575 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4576 remove_prev_frame.
4577
a09dd441
PA
45782014-05-29 Pedro Alves <palves@redhat.com>
4579
4580 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4581 and make it const. When a single-step decays to a continue,
4582 clear 'step', not 'hw_step'. Pass whether the caller wanted
4583 to step to user_visible_resume_ptid, not what we ask the
4584 target to do.
4585
bdc36728
PA
45862014-05-29 Pedro Alves <palves@redhat.com>
4587
4588 * infrun.c (process_event_stop_test, handle_step_into_function)
4589 (handle_step_into_function_backward): Adjust.
4590 Don't set the even thread's stop_step and call stop_waiting before
4591 calling end_stepping_range. Instead do that ...
4592 (end_stepping_range): ... here. Take an ecs pointer parameter.
4593
22bcd14b
PA
45942014-05-29 Pedro Alves <palves@redhat.com>
4595
4596 * infrun.c (stop_stepping): Rename to ...
4597 (stop_waiting): ... this.
4598 (proceed): Update comment.
4599 (process_event_stop_test, handle_inferior_event)
4600 (handle_signal_stop, handle_step_into_function)
4601 (handle_step_into_function_backward): Update.
4602
4ae57c05
PA
46032014-05-29 Pedro Alves <palves@redhat.com>
4604
4605 * infcall.c (run_inferior_call): Don't check whether the current
4606 thread is running after the proceed call.
4607
329ea579
PA
46082014-05-29 Pedro Alves <palves@redhat.com>
4609 Tom Tromey <tromey@redhat.com>
4610
4611 * NEWS: Mention "maint set target-async", "set mi-async", and that
4612 background execution commands are now always available.
4613 * target.h (target_async_permitted): Update comment.
4614 * target.c (target_async_permitted, target_async_permitted_1):
4615 Default to 1.
4616 (set_target_async_command): Rename to ...
4617 (maint_set_target_async_command): ... this.
4618 (show_target_async_command): Rename to ...
4619 (maint_show_target_async_command): ... this.
4620 (_initialize_target): Adjust.
4621 * infcmd.c (prepare_execution_command): Make extern.
4622 * inferior.h (prepare_execution_command): Declare.
4623 * infrun.c (set_observer_mode): Leave target async alone.
4624 * mi/mi-interp.c (mi_interpreter_init): Install
4625 mi_on_sync_execution_done as sync_execution_done observer.
4626 (mi_on_sync_execution_done): New function.
4627 (mi_execute_command_input_handler): Don't print the prompt if we
4628 just started a synchronous command with an async target.
4629 (mi_on_resume): Check sync_execution before printing prompt.
4630 * mi/mi-main.h (mi_async_p): Declare.
4631 * mi/mi-main.c: Include gdbcmd.h.
4632 (mi_async_p): New function.
4633 (mi_async, mi_async_1): New globals.
4634 (set_mi_async_command, show_mi_async_command, mi_async): New
4635 functions.
4636 (exec_continue): Call prepare_execution_command.
4637 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4638 (mi_execute_async_cli_command): Use mi_async_p.
4639 (_initialize_mi_main): Install "set mi-async". Make
4640 "target-async" a deprecated alias.
4641
92bcb5f9
PA
46422014-05-29 Pedro Alves <palves@redhat.com>
4643
4644 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4645 (_initialize_cli_interp): Adjust.
4646 * event-loop.c: Include "observer.h".
4647 (start_event_loop): Notify 'command_error' observers instead of
4648 calling display_gdb_prompt. Remove FIXME comment.
4649 * event-top.c (display_gdb_prompt): Remove call into the
4650 interpreters.
4651 * inf-loop.c: Include "observer.h".
4652 (inferior_event_handler): Notify 'command_error' observers instead
4653 of calling display_gdb_prompt.
4654 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4655 observers instead of calling display_gdb_prompt.
4656 * interps.c (interp_set): Don't call display_gdb_prompt.
4657 (current_interp_display_prompt_p): Delete.
4658 * interps.h (interp_prompt_p): Delete declaration.
4659 (interp_prompt_p_ftype): Delete.
4660 (struct interp_procs) <prompt_proc_p>: Delete field.
4661 (current_interp_display_prompt_p): Delete declaration.
4662 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4663 (_initialize_mi_interp): Adjust.
4664 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4665 'command_error' observers.
4666 (tui_on_sync_execution_done, tui_on_command_error): New
4667 functions.
4668 (tui_display_prompt_p): Delete.
4669 (_initialize_tui_interp): Adjust.
4670
fd664c91
PA
46712014-05-29 Pedro Alves <palves@redhat.com>
4672
4673 PR gdb/13860
4674 * cli/cli-interp.c: Include infrun.h and observer.h.
4675 (cli_uiout, cli_interp): New globals.
4676 (cli_on_signal_received, cli_on_end_stepping_range)
4677 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4678 functions.
4679 (cli_interpreter_init): Install them as 'end_stepping_range',
4680 'signal_received' 'signal_exited', 'exited' and 'no_history'
4681 observers.
4682 (_initialize_cli_interp): Remove cli_interp local.
4683 * infrun.c (handle_inferior_event): Call the several stop reason
4684 observers instead of printing the stop reason directly.
4685 (end_stepping_range): New function.
4686 (print_end_stepping_range_reason, print_signal_exited_reason)
4687 (print_exited_reason, print_signal_received_reason)
4688 (print_no_history_reason): Make static, and add an uiout
4689 parameter. Print to that instead of to CURRENT_UIOUT.
4690 * infrun.h (print_end_stepping_range_reason)
4691 (print_signal_exited_reason, print_exited_reason)
4692 (print_signal_received_reason print_no_history_reason): New
4693 declarations.
4694 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4695 'mi_uiout'.
4696 <cli_uiout>: New field.
4697 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4698 uiout for CLI output. Install 'signal_received',
4699 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4700 observers.
4701 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4702 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4703 (mi_on_no_history): New functions.
4704 (ui_out_free_cleanup): Delete function.
4705 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4706 instead use the one already stored in the MI interpreter data.
4707 (mi_ui_out): Adjust.
4708 * tui/tui-interp.c: Include infrun.h and observer.h.
4709 (tui_interp): New global.
4710 (tui_on_signal_received, tui_on_end_stepping_range)
4711 (tui_on_signal_exited, tui_on_exited)
4712 (tui_on_no_history): New functions.
4713 (tui_init): Install them as 'end_stepping_range',
4714 'signal_received' 'signal_exited', 'exited' and 'no_history'
4715 observers.
4716 (_initialize_tui_interp): Delete tui_interp local.
4717
8817a6f2
PA
47182014-05-29 Pedro Alves <palves@redhat.com>
4719
4720 PR gdb/15713
4721 * linux-nat.c (linux_nat_resume_callback): Rename the second
4722 parameter to 'except'. Skip LP if it points to EXCEPT.
4723 (linux_nat_resume): Don't mark the event lwp as not stopped
4724 before resuming sibling lwps. Instead ask
4725 linux_nat_resume_callback to skip the event lwp. Mark it as not
4726 stopped after actually resuming it.
4727 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4728 resuming it.
4729 (wait_lwp): Mark the lwp as stopped here.
4730 (stop_wait_callback): Mark the lwp as not stopped right after
4731 resuming it. Don't mark lwps as stopped here.
4732 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4733 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4734
251bde03
PA
47352014-05-29 Pedro Alves <palves@redhat.com>
4736
4737 PR PR15693
4738 * infrun.c (resume): Determine how much to resume depending on
4739 whether the caller wanted a step, not whether we can hardware step
4740 the target. Mark all threads that we intend to run as running,
4741 unless we're calling an inferior function.
4742 (normal_stop): If the thread is running an infcall, don't finish
4743 thread state.
4744 * target.c (target_resume): Don't mark threads as running here.
4745
7f3c0343
JB
47462014-05-28 Joel Brobecker <brobecker@adacore.com>
4747
4748 * serial.c (_initialize_serial): Remove support for
4749 the "set remotebaud" and "show remotebaud" commands.
4750 * NEWS: Add entry documenting the removal of that command.
4751
ee34b3f9
YQ
47522014-05-28 Yao Qi <yao@codesourcery.com>
4753
4754 * charset.c: Fix typo in comments.
4755
add6c04d
GB
47562014-05-27 Gary Benson <gbenson@redhat.com>
4757
4758 * utils.c (internal_vproblem): Prompt for a bug report.
4759
92c48fc5
AW
47602014-05-26 Andy Wingo <wingo@igalia.com>
4761
4762 * guile/scm-arch.c (arscm_mark_arch_smob):
4763 * guile/scm-block.c (bkscm_mark_block_smob)
4764 (bkscm_mark_block_syms_progress_smob):
4765 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4766 * guile/scm-exception.c (exscm_mark_exception_smob):
4767 * guile/scm-frame.c (frscm_mark_frame_smob):
4768 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4769 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4770 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4771 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4772 (ppscm_mark_pretty_printer_worker_smob):
4773 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4774 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4775 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4776 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4777 mark functions.
4778 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4779 function.
4780
b2715b27
AW
47812014-05-26 Andy Wingo <wingo@igalia.com>
4782 Doug Evans <xdje42@gmail.com>
4783
4784 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4785 empty_base_class. All uses updated.
4786 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4787 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4788 Adapt all callers.
4789 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4790 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4791 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4792 (gdbscm_gsmob_has_property_p, add_property_name)
4793 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4794 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4795 (gdb-object-has-property?, gdb-object-properties): Remove.
4796 (gdb-object-kind): Renamed from gsmob-kind.
4797
214ab2da
AW
47982014-05-26 Andy Wingo <wingo@igalia.com>
4799
4800 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4801 * configure: Regenerate.
4802
589fdceb
MM
48032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4804
4805 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4806
67b5c0c1
MM
48072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4808
4809 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4810 (replay_memory_access_read_only, replay_memory_access_read_write)
4811 (replay_memory_access_types, replay_memory_access)
4812 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4813 (cmd_set_record_btrace, cmd_show_record_btrace)
4814 (cmd_show_replay_memory_access): New.
4815 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4816 (record_btrace_remove_breakpoint): Replace
4817 record_btrace_allow_memory_access with replay_memory_access.
4818 (_initialize_record_btrace): Add commands.
4819 * NEWS: Announce it.
4820
036cd381
RR
48212014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4822
4823 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4824
c77c1e42
RR
48252014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4826
4827 * MAINTAINERS (Write After Approval): Move self back from
4828 paper trail.
4829
45741a9c
PA
48302014-05-22 Pedro Alves <palves@redhat.com>
4831
4832 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4833 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4834 (disable_randomization, enum exec_direction_kind)
4835 (execution_direction, stop_registers, start_remote)
4836 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4837 (wait_for_inferior, normal_stop, get_last_target_status)
4838 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4839 (insert_step_resume_breakpoint_at_sal)
4840 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4841 (set_step_info, print_stop_event, signal_stop_state)
4842 (signal_print_state, signal_pass_state, signal_stop_update)
4843 (signal_print_update, signal_pass_update)
4844 (update_signals_program_target, clear_exit_convenience_vars)
4845 (displaced_step_dump_bytes, update_observer_mode)
4846 (signal_catch_update, gdb_signal_from_command): Move
4847 declarations ...
4848 * infrun.h: ... to this new file.
4849 * amd64-tdep.c: Include infrun.h.
4850 * annotate.c: Include infrun.h.
4851 * arch-utils.c: Include infrun.h.
4852 * arm-linux-tdep.c: Include infrun.h.
4853 * arm-tdep.c: Include infrun.h.
4854 * break-catch-sig.c: Include infrun.h.
4855 * breakpoint.c: Include infrun.h.
4856 * common/agent.c: Include infrun.h instead of inferior.h.
4857 * corelow.c: Include infrun.h.
4858 * event-top.c: Include infrun.h.
4859 * go32-nat.c: Include infrun.h.
4860 * i386-tdep.c: Include infrun.h.
4861 * inf-loop.c: Include infrun.h.
4862 * infcall.c: Include infrun.h.
4863 * infcmd.c: Include infrun.h.
4864 * infrun.c: Include infrun.h.
4865 * linux-fork.c: Include infrun.h.
4866 * linux-nat.c: Include infrun.h.
4867 * linux-thread-db.c: Include infrun.h.
4868 * monitor.c: Include infrun.h.
4869 * nto-tdep.c: Include infrun.h.
4870 * procfs.c: Include infrun.h.
4871 * record-btrace.c: Include infrun.h.
4872 * record-full.c: Include infrun.h.
4873 * remote-m32r-sdi.c: Include infrun.h.
4874 * remote-mips.c: Include infrun.h.
4875 * remote-notif.c: Include infrun.h.
4876 * remote-sim.c: Include infrun.h.
4877 * remote.c: Include infrun.h.
4878 * reverse.c: Include infrun.h.
4879 * rs6000-tdep.c: Include infrun.h.
4880 * s390-linux-tdep.c: Include infrun.h.
4881 * solib-irix.c: Include infrun.h.
4882 * solib-osf.c: Include infrun.h.
4883 * solib-svr4.c: Include infrun.h.
4884 * target.c: Include infrun.h.
4885 * top.c: Include infrun.h.
4886 * windows-nat.c: Include infrun.h.
4887 * mi/mi-interp.c: Include infrun.h.
4888 * mi/mi-main.c: Include infrun.h.
4889 * python/py-threadevent.c: Include infrun.h.
4890
98eb56a4
PA
48912014-05-22 Pedro Alves <palves@redhat.com>
4892
4893 * infrun.c (handle_inferior_event): Store the exit code for
4894 --return-child-result here, instead of ...
4895 (print_exited_reason): ... here.
4896
17b2616c
PA
48972014-05-21 Pedro Alves <palves@redhat.com>
4898
4899 PR gdb/13860
4900 * gdbthread.h (struct thread_control_state): New field
4901 `command_interp'.
4902 * infrun.c (follow_fork): Copy the new thread control field to the
4903 child fork thread.
4904 (clear_proceed_status_thread): Clear the new thread control field.
4905 (proceed): Set the new thread control field.
4906 * interps.h (command_interp): Declare.
4907 * interps.c (command_interpreter): New global.
4908 (command_interp): New function.
4909 (interp_exec): Set `command_interpreter' while here.
4910 * cli-out.c (cli_uiout_dtor): New function.
4911 (cli_ui_out_impl): Install it.
4912 * mi/mi-interp.c: Include cli-out.h.
4913 (mi_cmd_interpreter_exec): Add comment.
4914 (restore_current_uiout_cleanup): New function.
4915 (ui_out_free_cleanup): New function.
4916 (mi_on_normal_stop): If finishing an execution command started by
4917 a CLI command, or any kind of breakpoint-like event triggered,
4918 print the stop event to the output (CLI) stream.
4919 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4920
5166082f
PA
49212014-05-21 Pedro Alves <palves@redhat.com>
4922
4923 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4924 current source line having changed.
4925 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4926 * infrun.c (normal_stop): Adjust call to
4927 set_current_sal_from_frame.
4928 * source.c (clear_lines_listed_range): New function.
4929 (set_current_source_symtab_and_line, identify_source_line): Clear
4930 the lines listed range.
4931 (line_info): Handle the first "info line" after the current source
4932 line having changed.
4933 * stack.c (print_stack_frame): Remove center handling.
4934 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4935 center sal.line.
4936
c1ee2fb3
PA
49372014-05-21 Pedro Alves <palves@redhat.com>
4938
4939 * inf-child.c (inf_child_mourn_inferior): New function.
4940 * inf-child.h (inf_child_mourn_inferior): New declaration.
4941 * darwin-nat.c (darwin_mourn_inferior): Use
4942 inf_child_mourn_inferior.
4943 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4944 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4945 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4946 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4947 * windows-nat.c (windows_mourn_inferior): Likewise.
4948
5c6d4fb2
DE
49492014-05-21 Doug Evans <xdje42@gmail.com>
4950
250748cb 4951 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4952
4a2722c5
DE
49532014-05-21 Doug Evans <xdje42@gmail.com>
4954
17292b30 4955 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4956 (gdbscm_out_of_range_error): Ditto.
4957 (gdbscm_memory_error): Ditto.
250748cb
DE
4958 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4959 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4960 (gdbscm_out_of_range_error): Update.
4961 (gdbscm_memory_error): Update.
4962 (gdbscm_scm_to_target_string_unsafe): Delete.
4963
6a3cb8e8
PA
49642014-05-21 Pedro Alves <palves@redhat.com>
4965
4966 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4967 globals.
4968 (inf_child_open_target): New function.
4969 (inf_child_open): Use inf_child_open_target to push the target
4970 instead of erroring out.
4971 (inf_child_disconnect, inf_child_close)
4972 (inf_child_maybe_unpush_target): New functions.
4973 (inf_child_target): Install inf_child_disconnect and
4974 inf_child_close. Store a pointer to the returned object.
4975 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4976 declarations.
4977 * target.c (auto_connect_native_target): New global.
4978 (show_default_run_target): New function.
4979 (find_default_run_target): Return NULL if automatically connecting
4980 to the native target is disabled.
4981 (_initialize_target): Install set/show auto-connect-native-target.
4982 * NEWS: Mention "set auto-connect-native-target", and "target
4983 native".
4984 * linux-nat.c (super_close): New global.
4985 (linux_nat_close): Call super_close.
4986 (linux_nat_add_target): Store a pointer to the base class's
4987 to_close method.
4988 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4989 inf_child_maybe_unpush.
4990 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4991 already pushed.
4992 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4993 the inferior. Use inf_child_maybe_unpush_target.
4994 (inf_ttrace_attach): Don't push the target if it is already
4995 pushed.
4996 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4997 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4998 after mourning the inferior. Use inf_child_maybe_unpush_target.
4999 (darwin_attach_pid): Don't push the target if it is already
5000 pushed.
5001 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5002 mourning the inferior. Use inf_child_maybe_unpush_target.
5003 (gnu_detach): Use inf_child_maybe_unpush_target.
5004 * go32-nat.c (go32_create_inferior): Don't push the target if it
5005 is already pushed.
5006 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5007 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5008 (procfs_open): Rename to ...
5009 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5010 comments. Can target_preopen before changing node. Call
5011 inf_child_open_target to push the target explicitly.
5012 (procfs_attach): Don't push the target if it is already pushed.
5013 (procfs_detach): Use inf_child_maybe_unpush_target.
5014 (procfs_create_inferior): Don't push the target if it is already
5015 pushed.
5016 (nto_native_ops): New global.
5017 (procfs_open): Reimplement.
5018 (procfs_native_open): New function.
5019 (init_procfs_targets): Install procfs_native_open as to_open of
5020 "target native". Store a pointer to the "native" target in
5021 nto_native_ops.
5022 * procfs.c (procfs_attach): Don't push the target if it is already
5023 pushed.
5024 (procfs_detach): Use inf_child_maybe_unpush_target.
5025 (procfs_mourn_inferior): Only unpush the target after mourning the
5026 inferior. Use inf_child_maybe_unpush_target.
5027 (procfs_init_inferior): Don't push the target if it is already
5028 pushed.
5029 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5030 if it is already pushed.
5031
930ee1b1
PA
50322014-05-21 Pedro Alves <palves@redhat.com>
5033
5034 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5035 and "procfs" targets are now called "native" instead.
5036
1f5d1b13
PA
50372014-05-21 Pedro Alves <palves@redhat.com>
5038
5039 * go32-nat.c (go32_open): Delete.
5040 (go32_target): Don't override the to_open method.
5041
132f8e03
PA
50422014-05-21 Pedro Alves <palves@redhat.com>
5043
5044 * nto-procfs.c (procfs_can_run): New function.
5045 (nto_procfs_ops): New global.
5046 (init_procfs_targets): New, based on procfs_target. Install
5047 "target native" in addition to "target procfs".
5048 (_initialize_procfs): Call init_procfs_targets instead of adding
5049 the target here.
5050
03c136c3
PA
50512014-05-21 Pedro Alves <palves@redhat.com>
5052
5053 * windows-nat.c (windows_target): Don't override to_shortname,
5054 to_longname or to_doc.
5055
a635d0f3
PA
50562014-05-21 Pedro Alves <palves@redhat.com>
5057
5058 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5059 to_doc.
5060
4f9b5133
PA
50612014-05-21 Pedro Alves <palves@redhat.com>
5062
5063 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5064 to_shortname, to_longname or to_doc.
5065
bc85afde
PA
50662014-05-21 Pedro Alves <palves@redhat.com>
5067
5068 * go32-nat.c (go32_target): Don't override to_shortname,
5069 to_longname or to_doc.
5070
4ebfc96e
PA
50712014-05-21 Pedro Alves <palves@redhat.com>
5072
5073 * inf-child.c (inf_child_open): Remove mention of "child".
5074 (inf_child_target): Rename target to "native" instead of "child".
5075
2648dfed
AA
50762014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5077
5078 * Makefile.in (SFILES): Delete "regset.c".
5079 (COMMON_OBS): Delete "regset.o".
5080 * regset.c: Remove.
5081 * regset.h (regset_alloc): Delete prototype.
5082
b13feb94
AA
50832014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5084
5085 * sparc-linux-tdep.c (sparc32_linux_gregset)
5086 (sparc32_linux_fpregset): New static regset structures.
5087 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5088 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5089 'fpregset' fields.
5090 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5091 (sparc64_linux_fpregset): New static regset structures.
5092 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5093 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5094 New static regset structures.
5095 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5096 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5097 New static regset structures.
5098 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5099 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5100 New static regset structures.
5101 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5102 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5103 New static regset structures.
5104 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5105
b4fd25c9
AA
51062014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5107
5108 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5109 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5110 register maps ("regmaps") from "*regset" to "*regmap". Do this
5111 for all regmap types and variables.
5112 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5113 (sparc32_linux_supply_core_gregset)
5114 (sparc32_linux_collect_core_gregset)
5115 (sparc32_linux_supply_core_fpregset)
5116 (sparc32_linux_collect_core_fpregset): Likewise.
5117 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5118 (sparc_gregmap, sparc_fpregmap): ... these.
5119 (sparc_supply_gregset, sparc_collect_gregset)
5120 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5121 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5122 (_initialize_sparc_nat): Rename regmaps.
5123 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5124 (sparc_gregmap, sparc_fpregmap): ... these.
5125 (sparc_supply_gregset, sparc_collect_gregset)
5126 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5127 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5128 Rename macros to...
5129 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5130 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5131 Likewise.
5132 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5133 Rename to...
5134 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5135 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5136 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5137 regmaps.
5138 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5139 (sparc32_bsd_fpregset): Rename to...
5140 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5141 (sparc32_bsd_fpregmap): ... these.
5142 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5143 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5144 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5145 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5146 (struct sparc_gregmap, struct sparc_fpregmap)
5147 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5148 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5149 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5150 (sparc32_supply_regset, sparc32_collect_gregset)
5151 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5152 prototypes.
5153 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5154 (sparc64_linux_ptrace_gregmap): ... this.
5155 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5156 (_initialize_sparc64_linux_nat): Rename regmaps.
5157 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5158 (sparc64_linux_core_gregmap): ... this.
5159 (sparc64_linux_supply_core_gregset)
5160 (sparc64_linux_collect_core_gregset)
5161 (sparc64_linux_supply_core_fpregset)
5162 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5163 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5164 (sparc64_sol2_fpregset): Rename to...
5165 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5166 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5167 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5168 regmaps.
5169 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5170 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5171 (sparc64_bsd_fpregset): Rename to...
5172 (struct sparc_gregmap, sparc64_sol2_gregmap)
5173 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5174 (sparc64_bsd_fpregmap): ... these.
5175 (sparc64_supply_gregset, sparc64_collect_gregset)
5176 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5177 prototypes.
5178 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5179 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5180 (sparc64fbsd_gregmap): ... this.
5181 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5182 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5183 Rename regmaps.
5184 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5185 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5186 (sparc64nbsd_collect_fpregset): Likewise.
5187 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5188 (sparc64nbsd_gregmap): ... this.
5189 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5190 regmaps.
5191 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5192 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5193 (sparc64obsd_gregmap): ... this.
5194 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5195 regmaps.
5196 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5197 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5198 (sparc32nbsd_gregmap): ... this.
5199 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5200 regmaps.
5201
8fea3224
AA
52022014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5203
5204 * score-tdep.c (score7_linux_gregset): New static regset
5205 structure.
5206 (score7_linux_regset_from_core_section): Remove dynamic regset
5207 allocation.
5208 (score_gdbarch_init): Drop allocation of tdep structure.
5209 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5210
24534243
AA
52112014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5212
5213 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5214 regset structures.
5215 (am33_regset_from_core_section): Remove dynamic regset
5216 allocations.
5217
b7195f27
AA
52182014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5219
5220 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5221 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5222 structures.
5223 (mips_linux_regset_from_core_section): Remove dynamic regset
5224 allocations.
5225 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5226 'gregset64', 'fpregset', and 'fpregset64'.
5227 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5228 deleted tdep fields.
5229
ecc37a5a
AA
52302014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5231
5232 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5233 regset structures.
5234 (amd64_regset_from_core_section): Remove dynamic regset
5235 allocations.
5236 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5237 structure.
5238 (amd64obsd_regset_from_core_section): Remove dynamic regset
5239 allocation.
5240 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5241 Likewise.
5242 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5243 x86-common regset supply function.
5244 * i386-tdep.c (i386_collect_gregset): Make static.
5245 (i386_gregset): New global regset structure.
5246 (i386_fpregset, i386_xstateregset): New static regset structures.
5247 (i386_regset_from_core_section): Remove dynamic regset
5248 allocations.
5249 (i386_gdbarch_init): Remove initialization of tdep fields
5250 'gregset', 'fpregset', and 'xstateregset'.
5251 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5252 'fpregset', and 'xstateregset'.
5253 (i386_collect_gregset): Remove prototype.
5254 (i386_gregset): New declaration.
5255 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5256 structure.
5257 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5258 allocation.
5259
b7611c43
AA
52602014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5261
5262 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5263 (arm_linux_vfpregset): New static regset structures.
5264 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5265 regset structures.
5266 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5267 and 'vfpregset' fields.
5268
a069a2bd
AA
52692014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5270
5271 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5272 (aarch64_linux_fpregset): New static regset structures.
5273 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5274 of regset structures.
5275 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5276 'fpregset' fields.
5277
09424cff
AA
52782014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5279
5280 * regset.h (struct regset): Remove gdbarch field.
5281 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5282 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5283 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5284 Likewise.
5285 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5286 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5287 (ppc32_linux_vsxregset): Likewise.
5288 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5289 via the regcache instead of the regset.
5290 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5291 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5292 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5293 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5294 Likewise.
5295
3ca7dae4
AA
52962014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5297
5298 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5299 Constify structures.
5300 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5301 (alphanbsd_aout_gregset): Likewise.
5302 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5303 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5304 Likewise.
5305 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5306 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5307 Likewise.
5308 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5309 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5310 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5311 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5312 * m88k-tdep.c (m88k_gregset): Likewise.
5313 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5314 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5315 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5316 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5317 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5318 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5319 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5320 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5321 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5322 Likewise.
5323 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5324 * sh-tdep.h (sh_corefile_gregset): Likewise.
5325 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5326 * vax-tdep.c (vax_gregset): Likewise.
5327
5876f503
JK
53282014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5329
5330 Fix TLS access for -static -pthread.
5331 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5332 (try_thread_db_load_1): Initialize it.
5333 (thread_db_get_thread_local_address): Call it if LM is zero.
5334 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5335 * target.h (struct target_ops) (to_get_thread_local_address): Add
5336 load_module_addr comment.
5337
0256a6ac
PA
53382014-05-21 Pedro Alves <palves@redhat.com>
5339
5340 * dcache.c (dcache_read_memory_partial): If reading the cache line
5341 fails, fallback to reading just the memory the caller wanted.
5342
227533ac
DE
53432014-05-20 Doug Evans <dje@google.com>
5344
5345 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5346 instead of get_current_arch.
5347
936d2992
PA
53482014-05-20 Pedro Alves <palves@redhat.com>
5349
5350 * NEWS: Mention that compare-sections now works with all targets.
5351
5352 * remote.c (PACKET_qCRC): New enum value.
5353 (remote_verify_memory): Don't send qCRC if the target has no
5354 execution. Use packet_support/packet_ok. If the target doesn't
5355 support the qCRC packet, fallback to a deep memory copy.
5356 (compare_sections_command): Say "target image" instead of "remote
5357 executable".
5358 (_initialize_remote): Add PACKET_qCRC to the list of config
5359 packets that have no associated command. Extend comment.
5360 * target.c (simple_verify_memory, default_verify_memory): New
5361 function.
5362 * target.h (struct target_ops) <to_verify_memory>: Default to
5363 default_verify_memory.
5364 (simple_verify_memory): New declaration.
5365 * target-delegates.c: Regenerate.
5366
e59fa00f
MM
53672014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5368
5369 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5370
f2205de0
HZ
53712014-05-20 Hui Zhu <hui@codesourcery.com>
5372 Yao Qi <yao@codesourcery.com>
5373
5374 PR backtrace/16558
5375 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5376 and change address of sp and pc.
5377
c4e54771
TT
53782014-05-19 Tom Tromey <tromey@redhat.com>
5379
5380 * gdbtypes.c (rank_function): Use XNEWVEC.
5381 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5382
73051182
DE
53832014-05-19 Doug Evans <dje@google.com>
5384
5385 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5386 build_type_unit_groups and moved closer to only caller. Remove
5387 arguments. All references updated. Remove outdated .gdb_index
5388 comment.
5389 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5390 build_type_psymtabs_1.
5391
8832e7e3
DE
53922014-05-19 Doug Evans <dje@google.com>
5393
5394 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5395 n_type_unit_groups, all_type_unit_groups. All uses removed.
5396 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5397 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5398 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5399 (add_type_unit_group_to_table): Delete.
5400
cd8ae15e
DE
54012014-05-19 Doug Evans <dje@google.com>
5402
5403 * eval.c (evaluate_subexp_standard): Add some comments.
5404
08f4850b
DE
54052014-05-17 Doug Evans <xdje42@gmail.com>
5406
5407 * progspace.c (remove_program_space): Delete, unused.
5408 * progspace.h (remove_program_space): Ditto.
5409
bed8455c
DE
54102014-05-17 Doug Evans <xdje42@gmail.com>
5411
5412 * inferior.c (prune_inferiors): Fix comment.
5413 (remove_inferior_command): Call prune_program_spaces.
5414
8d551b02
DE
54152014-05-16 Doug Evans <dje@google.com>
5416
5417 New command line option -D.
5418 * NEWS: Mention it.
5419 * main.c (set_gdb_data_directory): New function.
5420 (captured_main): Recognize -D. Flag error for --data-directory "".
5421 Call set_gdb_data_directory.
5422 (print_gdb_help): Print --data-directory, -D.
5423 * main.h (set_gdb_data_directory): Declare.
5424 * top.c (staged_gdb_datadir): New static global.
5425 (set_gdb_datadir): Call set_gdb_data_directory
5426 (show_gdb_datadir): New function.
5427 (init_main): Update init of data-directory parameter.
5428
18848e28
GF
54292014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5430
5431 Import the "dirfd" gnulib module.
5432 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5433 * gnulib/aclocal.m4: Update.
5434 * gnulib/config.in: Update.
5435 * gnulib/configure: Update.
5436 * gnulib/import/Makefile.am: Update.
5437 * gnulib/import/Makefile.in: Update.
5438 * gnulib/import/dirfd.c: New.
5439 * gnulib/import/m4/dirfd.m4: New.
5440 * gnulib/import/m4/gnulib-cache.m4: Update.
5441 * gnulib/import/m4/gnulib-comp.m4: Update.
5442
95c64f92
YQ
54432014-05-16 Pierre Muller <muller@sourceware.org>
5444 Yao Qi <yao@codesourcery.com>
5445
5446 * valprint.c (print_wchar): Move the code on checking whether
5447 W is a printable wide char to the default branch of switch
5448 statement below. Call wchar_printable instead of gdb_iswprint.
5449
cac395ea
TM
54502014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5451
19679eca 5452 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
5453 ldr.w and ldrd instructions.
5454
83655187
DE
54552014-05-15 Doug Evans <dje@google.com>
5456
5457 * dwarf2read.c (read_structure_type): Delete outdated comments.
5458
dd756689
TT
54592014-05-14 Tom Tromey <tromey@redhat.com>
5460
5461 * macrocmd.c (print_macro_definition): Reindent.
5462
75ddda77
DE
54632014-05-13 Doug Evans <xdje42@gmail.com>
5464
5465 * python/py-cmd.c (cmdpy_completer): Add comment.
5466 (completers): Make const.
5467
b0f16a3e
SM
54682014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5469
5470 * infrun.c (resume): Remove should_resume (unused). Move up
5471 declaration of resume_ptid.
5472
033c3379
TT
54732014-05-13 Tom Tromey <tromey@redhat.com>
5474
5475 * language.h (unop_type_check): Remove.
5476 (binop_type_check): Don't declare.
5477
9b44a3a5
AA
54782014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5479
5480 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5481 call to regcache_raw_collect.
5482
303a33fa
SM
54832014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5484
5485 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5486 mi_console->quote as the quoting character.
5487
196100a0
SM
54882014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5489
5490 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5491
f989a1c8
TT
54922014-04-29 Tom Tromey <tromey@redhat.com>
5493
5494 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5495 "show debug varobj".
5496
9404b58f
KM
54972014-05-07 Kyle McMartin <kyle@redhat.com>
5498
5499 Pushed by Joel Brobecker <brobecker@adacore.com>.
5500 * aarch64-tdep.c (aarch64_software_single_step): New function.
5501 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5502 with aarch64_software_single_step.
5503
5e49ba57
JB
55042014-05-05 Joel Brobecker <brobecker@adacore.com>
5505
5506 GDB 7.7.1 released.
5507
c888a17d
KS
55082014-05-05 Keith Seitz <keiths@redhat.com>
5509
5510 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5511 variable or history value is successfully parsed.
5512
290a839c
YQ
55132014-05-05 Yao Qi <yao@codesourcery.com>
5514 Pedro Alves <palves@redhat.com>
5515
5516 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5517 address of blocks that intersects the requested range. Trim
5518 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5519 sections.
5520 * ctf.c (ctf_xfer_partial): Likewise.
5521
91256dc2
YQ
55222014-05-05 Yao Qi <yao@codesourcery.com>
5523
5524 * printcmd.c (display_command): Remove the check to
5525 target_has_execution.
5526
07284463
MK
55272014-05-03 Mark Kettenis <kettenis@gnu.org>
5528
5529 * ppcobsd-nat.c: Include "obsd-nat.h".
5530 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5531 add_target.
5532 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5533
30a1e6cc
SDJ
55342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5535
5536 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5537 and 16-bit signed and unsigned arguments. Update comment.
5538 (stap_parse_probe_arguments): Extend code to handle such
5539 arguments. Use warning instead of complaint to notify about
5540 unrecognized bitness.
5541
f33da99a
SDJ
55422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5543
5544 PR breakpoints/16889
5545 * stap-probe.c (stap_parse_probe_arguments): Simplify
5546 check for non-prefixed probes (i.e., probes whose
5547 arguments do not start with "N@"). Always set the
5548 argument type to a sane value.
5549
95cf3b38
DT
55502014-05-01 David Taylor <dtaylor@emc.com>
5551
5552 * remote.c (compare_sections_command): Add -r option to compare
5553 all loadable read-only sections.
5554
1cfdf534
SC
55552014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5556
5557 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5558 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5559 Update all callers.
5560 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5561 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5562 Remove unused CORE_ADDR argument. Update all callers.
5563
ca4f7f8b
PA
55642014-04-29 Pedro Alves <palves@redhat.com>
5565
5566 * remote.c (struct packet_config) <detect>: Extend comment.
5567 (add_packet_config_cmd): Don't set the config's detect or support
5568 fields here.
5569 (init_all_packet_configs): Also initialize the config's 'detect'
5570 field.
5571 (reset_all_packet_configs_support): New function.
5572 (remote_open_1): Call reset_all_packet_configs_support instead of
5573 init_all_packet_configs.
5574 (_initialize_remote): Initialize all packet configs. Assert that
5575 all packets have an associated command, except a few known
5576 outliers.
5577
11c1ba78
JB
55782014-04-28 Joel Brobecker <brobecker@adacore.com>
5579
5580 * dwarf2read.c (read_subrange_type): Handle dynamic
5581 DW_AT_lower_bound attributes.
5582
8739bc53
JB
55832014-04-28 Joel Brobecker <brobecker@adacore.com>
5584
5585 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5586 dynamic bounds before computing its upper bound.
5587 (ada_discrete_type_low_bound): Same as above with the lower bound.
5588
6f8a3220
JB
55892014-04-28 Joel Brobecker <brobecker@adacore.com>
5590
5591 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5592 range types. Adjust the array handling implementation to
5593 take advantage of this change.
5594 (resolve_dynamic_range): New function, mostly extracted from
5595 resolve_dynamic_bounds.
5596 (resolve_dynamic_array): New function, mostly extracted from
5597 resolve_dynamic_bounds.
5598 (resolve_dynamic_bounds): Delete.
5599 (resolve_dynamic_type): Reimplement. Add handling of
5600 TYPE_CODE_RANGE types.
5601
4d072ce4
JB
56022014-04-28 Joel Brobecker <brobecker@adacore.com>
5603
5604 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5605 handling of parallel ___XA types.
5606
52865325
JB
56072014-04-28 Joel Brobecker <brobecker@adacore.com>
5608
5609 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5610 unnecessary second call to static_unwrap_type.
5611
433e77fa
HZ
56122014-04-27 Hui Zhu <hui@codesourcery.com>
5613
5614 * stack.c (print_frame_info): Call do_gdb_disassembly with
5615 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5616
b51a69ee
DE
56172014-04-26 Doug Evans <xdje42@gmail.com>
5618
5619 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5620
7ae1a6a6
PA
56212014-04-25 Pedro Alves <palves@redhat.com>
5622
5623 PR server/16255
5624 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5625 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5626 and newline from built string.
5627 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5628 (linux_ptrace_attach_fail_reason): ... this.
5629 * linux-nat.c (linux_nat_attach): Adjust to use
5630 linux_ptrace_attach_fail_reason.
5631
4082afcc
PA
56322014-04-25 Pedro Alves <palves@redhat.com>
5633
5634 * remote.c (struct remote_state): Remove multi_process_aware,
5635 non_stop_aware, cond_tracepoints, cond_breakpoints,
5636 breakpoint_commands, fast_tracepoints, static_tracepoints,
5637 install_in_trace, disconnected_tracing,
5638 enable_disable_tracepoints, string_tracing, and
5639 augmented_libraries_svr4_read fields.
5640 (remote_multi_process_p): Move further below in the file.
5641 (struct packet_config): Add comments.
5642 (update_packet_config): Delete function.
5643 (show_packet_config_cmd): Use packet_config_support.
5644 (add_packet_config_cmd): Use NULL as set callback.
5645 (packet_ok): "set remote foo-packet"-style commands no longer
5646 change config->supported -- adjust.
5647 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5648 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5649 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5650 (PACKET_QNonStop, PACKET_multiprocess_feature)
5651 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5652 (PACKET_DisconnectedTracing_feature)
5653 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5654 (set_remote_protocol_packet_cmd): Delete function.
5655 (packet_config_support, packet_support): New functions.
5656 (set_remote_protocol_Z_packet_cmd): Don't call
5657 update_packet_config.
5658 (remote_query_attached, remote_pass_signals)
5659 (remote_program_signals, remote_threads_info)
5660 (remote_threads_extra_info, remote_start_remote): Use
5661 packet_support.
5662 (remote_start_remote): Use packet_config_support and
5663 packet_support.
5664 (init_all_packet_configs): Set all packets to unknown support,
5665 instead of calling update_packet_config.
5666 (remote_check_symbols): Use packet_support.
5667 (remote_supported_packet): Unconditionally set the packet config's
5668 support status.
5669 (remote_multi_process_feature, remote_non_stop_feature)
5670 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5671 (remote_breakpoint_commands_feature)
5672 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5673 (remote_install_in_trace_feature)
5674 (remote_disconnected_tracing_feature)
5675 (remote_enable_disable_tracepoint_feature)
5676 (remote_string_tracing_feature)
5677 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5678 (remote_protocol_features): Adjust to use remote_supported_packet
5679 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5680 "ConditionalTracepoints", "ConditionalBreakpoints",
5681 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5682 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5683 "EnableDisableTracepoints", and "tracenz".
5684 (remote_query_supported): Use packet_support.
5685 (remote_open_1): Adjust.
5686 (extended_remote_attach_1): Use packet_support. Switch on the
5687 result of packet_ok instead of checking whether the packet ended
5688 up disabled.
5689 (remote_vcont_resume): Use packet_support.
5690 (remote_resume, remote_stop_ns, fetch_register_using_p)
5691 (remote_prepare_to_store, store_register_using_P)
5692 (check_binary_download, remote_write_bytes): Use packet_support.
5693 (remote_vkill): Use packet_support. Switch on the result of
5694 packet_ok instead of checking whether the packet ended up
5695 disabled.
5696 (extended_remote_supports_disable_randomization): Use
5697 packet_support.
5698 (extended_remote_run): Switch on the result of packet_ok instead
5699 of checking whether the packet ended up disabled.
5700 (remote_insert_breakpoint, remote_remove_breakpoint)
5701 (remote_insert_watchpoint, remote_remove_watchpoint)
5702 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5703 packet_support.
5704 (remote_search_memory): Use packet_config_support.
5705 (remote_get_thread_local_address, remote_get_tib_address)
5706 (remote_hostio_send_command, remote_can_execute_reverse): Use
5707 packet_support.
5708 (remote_supports_cond_tracepoints)
5709 (remote_supports_cond_breakpoints)
5710 (remote_supports_fast_tracepoints)
5711 (remote_supports_static_tracepoints)
5712 (remote_supports_install_in_trace)
5713 (remote_supports_enable_disable_tracepoint)
5714 (remote_supports_string_tracing)
5715 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5716 the packet config says the feature is enabled or disabled.
5717 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5718 (remote_get_trace_status): Use packet_support.
5719 (remote_set_disconnected_tracing): Adjust to check whether the
5720 feature is enabled with packet_support.
5721 (remote_set_trace_buffer_size, remote_use_agent)
5722 (remote_can_use_agent, remote_supports_btrace): Use
5723 packet_support.
5724 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5725 Use packet_config_support.
5726 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5727 the packet config says the feature is enabled or disabled.
5728 (set_range_stepping): Use packet_support.
5729
bdb52a22
TT
57302014-04-25 Tom Tromey <tromey@redhat.com>
5731
5732 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5733 argument.
5734
e9475ead
SA
57352014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5736
5737 * NEWS: Mention support for C99 variable length arrays.
5738
82eacd52
JB
57392014-04-24 Joel Brobecker <brobecker@adacore.com>
5740
5741 * ada-lang.c (standard_exc): Expand introductory comment.
5742
01f9f808
MS
57432014-04-24 Michael Sturm <michael.sturm@mintel.com>
5744 Walfred Tedeschi <walfred.tedeschi@intel.com>
5745
5746 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5747 AVX512 registers.
5748 (amd64_linux_read_description): Add code to handle AVX512 xstate
5749 mask and return respective tdesc.
5750 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5751 and features/i386/x32-avx512-linux.c.
5752 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5753 (amd64_linux_core_read_description): Add code to handle AVX512
5754 xstate mask and return respective tdesc.
5755 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5756 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5757 calculation.
5758 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5759 (tdesc_amd64_avx512_linux): New prototype.
5760 (tdesc_x32_avx512_linux): Likewise.
5761 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5762 features/i386/x32-avx512.c.
5763 (amd64_ymm_avx512_names): New register names for pseudo
5764 registers YMM16-31.
5765 (amd64_ymmh_avx512_names): New register names for raw registers
5766 YMMH16-31.
5767 (amd64_k_names): New register names for K registers.
5768 (amd64_zmmh_names): New register names for ZMM raw registers.
5769 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5770 (amd64_xmm_avx512_names): New register names for XMM16-31
5771 registers.
5772 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5773 registers.
5774 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5775 if feature is present.
5776 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5777 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5778 (AMD64_NUM_REGS): Adjust to new number of registers.
5779 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5780 registers supplied via XSTATE by AVX512 registers.
5781 (i386_linux_read_description): Add case for AVX512.
5782 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5783 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5784 (i386_linux_core_read_description): Add case for AVX512.
5785 (i386_linux_init_abi): Install supported register note section
5786 for AVX512.
5787 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5788 AVX512.
5789 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5790 registers to be number of zmm7h + 1.
5791 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5792 * i386-tdep.c: Include features/i386/i386-avx512.c.
5793 (i386_zmm_names): Add ZMM pseudo register names array.
5794 (i386_zmmh_names): Add ZMM raw register names array.
5795 (i386_k_names): Add K raw register names array.
5796 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5797 registers. AVX512 has 16 more ZMM registers than there are YMM
5798 registers.
5799 (i386_zmmh_regnum_p): Add function to look up register number of
5800 ZMM raw registers.
5801 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5802 (i386_k_regnum_p): Likewise for K raw registers.
5803 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5804 registers added by AVX512.
5805 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5806 registers added by AVX512.
5807 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5808 added by AVX512.
5809 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5810 (i386_pseudo_register_name): Add ZMM pseudo registers.
5811 (i386_zmm_type): Construct and return vector registers type for ZMM
5812 registers.
5813 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5814 ZMM0-31 pseudo registers and K registers.
5815 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5816 and YMM16-31 registers from register cache.
5817 (i386_pseudo_register_write): Add code to write K, ZMM and
5818 YMM16-31 registers.
5819 (i386_register_reggroup_p): Add code to include/exclude AVX512
5820 registers in/from respective register groups.
5821 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5822 registers if feature is present in xcr0.
5823 (i386_gdbarch_init): Add code to initialize AVX512 feature
5824 variables in tdep structure, wire in pseudo registers and call
5825 initialize_tdesc_i386_avx512.
5826 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5827 variables.
5828 (i386_regnum): Add AVX512 registers.
5829 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5830 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5831 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5832 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5833 512 bits wide.
5834 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5835 (i386_ymm_avx512_regnum_p): Likewise.
5836 (i386_k_regnum_p): Likewise.
5837 (i386_zmm_regnum_p): Likewise.
5838 (i386_zmmh_regnum_p): Likewise.
5839 * i387-tdep.c : Update year in copyright notice.
5840 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5841 XSAVE buffer.
5842 (XSAVE_YMM_AVX512_ADDR): New macro.
5843 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5844 XSAVE buffer.
5845 (XSAVE_XMM_AVX512_ADDR): New macro.
5846 (xsave_avx512_k_offset): New table for K register offsets in
5847 XSAVE buffer.
5848 (XSAVE_AVX512_K_ADDR): New macro.
5849 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5850 in XSAVE buffer.
5851 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5852 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5853 buffer.
5854 (i387_collect_xsave): Add code to collect AVX512 registers from
5855 XSAVE buffer.
5856 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5857 of XMM16-31 registers.
5858 (I387_NUM_K_REGS): New define for number of K registers.
5859 (I387_K0_REGNUM): New define for K0 register number.
5860 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5861 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5862 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5863 registers.
5864 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5865 (I387_XMM16_REGNUM): New define for XMM16 register number.
5866 (I387_YMM0_REGNUM): New define for YMM0 register number.
5867 (I387_KEND_REGNUM): New define for last K register number.
5868 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5869 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5870 number.
5871 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5872 number.
5873 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5874 size.
5875 * features/Makefile: Add AVX512 related files.
5876 * features/i386/32bit-avx512.xml: New file.
5877 * features/i386/64bit-avx512.xml: Likewise.
5878 * features/i386/amd64-avx512-linux.c: Likewise.
5879 * features/i386/amd64-avx512-linux.xml: Likewise.
5880 * features/i386/amd64-avx512.c: Likewise.
5881 * features/i386/amd64-avx512.xml: Likewise.
5882 * features/i386/i386-avx512-linux.c: Likewise.
5883 * features/i386/i386-avx512-linux.xml: Likewise.
5884 * features/i386/i386-avx512.c: Likewise.
5885 * features/i386/i386-avx512.xml: Likewise.
5886 * features/i386/x32-avx512-linux.c: Likewise.
5887 * features/i386/x32-avx512-linux.xml: Likewise.
5888 * features/i386/x32-avx512.c: Likewise.
5889 * features/i386/x32-avx512.xml: Likewise.
5890 * regformats/i386/amd64-avx512-linux.dat: New file.
5891 * regformats/i386/amd64-avx512.dat: Likewise.
5892 * regformats/i386/i386-avx512-linux.dat: Likewise.
5893 * regformats/i386/i386-avx512.dat: Likewise.
5894 * regformats/i386/x32-avx512-linux.dat: Likewise.
5895 * regformats/i386/x32-avx512.dat: Likewise.
5896 * NEWS: Add note about new support for AVX512.
5897
5898
08351840
PA
58992014-04-23 Pedro Alves <palves@redhat.com>
5900
5901 * breakpoint.c (insert_bp_location): Tolerate errors if the
5902 breakpoint is set in a user-loaded objfile.
5903 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5904 location is marked shlib_disabled. If the breakpoint is set in a
5905 user-loaded objfile is a GDB-side memory breakpoint, validate it
5906 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5907 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5908 flag.
5909 * mem-break.c (memory_validate_breakpoint): New function.
5910 * objfiles.c (userloaded_objfile_contains_address_p): New
5911 function.
5912 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5913 * target.h (memory_validate_breakpoint): New declaration.
5914
076855f9
PA
59152014-04-23 Pedro Alves <palves@redhat.com>
5916
5917 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5918 the breakpoint is set in a shared library, only suppress
5919 errors for software breakpoints, not hardware breakpoints.
5920
483805cf
PA
59212014-04-22 Pedro Alves <palves@redhat.com>
5922
5923 * infrun.c (schedlock_applies): New function, factored out from
5924 find_thread_needs_step_over.
5925 (find_thread_needs_step_over): Use it.
5926 (switch_back_to_stepped_thread): Always clear trap_expected if the
5927 step over is finished. Return early if scheduler locking applies.
5928 Look for the stepping thread and a potential step-over thread with
5929 a single loop.
5930 (currently_stepping_or_nexting_callback): Delete.
5931
a75fef0e
NC
59322014-04-22 Nick Clifton <nickc@redhat.com>
5933
5934 * NEWS: Mention that ARM sim now supports tracing.
5935
48b6e87e
YQ
59362014-04-22 Yao Qi <yao@codesourcery.com>
5937
5938 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5939 to ...
5940 * tracefile.c (tracefile_fetch_registers): ... it. New
5941 function.
5942 * tracefile.h (tracefile_fetch_registers): Declare.
5943 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5944 tracefile_fetch_registers.
5945
17617f2d
EZ
59462014-04-19 Eli Zaretskii <eliz@gnu.org>
5947
5948 PR gdb/14018
5949 * windows-nat.c (thread_rec): Don't display a warning when
5950 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5951 fails for any reason, set th->suspended to -1, so that we don't
5952 try to resume such a thread. Also, don't return NULL in these
5953 cases, to avoid completely ruin the session due to "PC register is
5954 not available" error.
5955 (do_windows_fetch_inferior_registers): Check errors in
5956 GetThreadContext call.
5957 (windows_continue): Accept an additional argument KILLED; if not
5958 zero, ignore errors in the SetThreadContext call, since the
5959 inferior was killed and is shutting down.
5960 (windows_resume, get_windows_debug_event)
5961 (windows_create_inferior, windows_mourn_inferior)
5962 (windows_kill_inferior): All callers of windows_continue changed
5963 to adjust to its new calling sequence.
5964
5723a6fd
YQ
59652014-04-19 Yao Qi <yao@codesourcery.com>
5966
5967 * ctf.c (ctf_open): Call post_create_inferior.
5968
614d5099
YQ
59692014-04-19 Yao Qi <yao@codesourcery.com>
5970
5971 * ctf.c (handle_id): New static variable.
5972 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5973 value. Get the declaration of event "register" and get length
5974 of field "contents".
5975
dac3e710
YQ
59762014-04-19 Yao Qi <yao@codesourcery.com>
5977
5978 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5979
2bca57ba
SC
59802014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5981
5982 * valops.c (oload_method_static): Remove unnecessary argument
5983 METHOD. Update all callers.
5984
51d48146
PA
59852014-04-18 Pedro alves <palves@redhat.com>
5986 Tom Tromey <tromey@redhat.com>
5987
5988 PR backtrace/15558
5989 * frame.c (get_prev_frame_1): Rename to ...
5990 (get_prev_frame_always): ... this, and make extern. Adjust.
5991 (skip_artificial_frames): Use get_prev_frame_always.
5992 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5993 (get_frame_unwind_stop_reason): Adjust to rename.
5994 * frame.h (get_prev_frame_always): Declare.
5995 * inline-frame.c: Include frame.h.
5996 (inline_frame_this_id): Use get_prev_frame_always.
5997
1bdad2e0
TG
59982014-04-18 Tristan Gingold <gingold@adacore.com>
5999
6000 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6001 code by using bfd_mach_o_get_base_address.
6002
7ce16bd4
UW
60032014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6004
6005 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6006 (spu_ax_pseudo_register_collect): New function.
6007 (spu_ax_pseudo_register_push_stack): Likewise.
6008 (spu_dwarf_reg_to_regnum): Likewise.
6009 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6010
2ed3c037
UW
60112014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6012
6013 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6014 Replace FRAME argument with FRAME_ID.
6015 * gdbarch.c, gdbarch.h: Regenerate.
6016 * findvar.c (default_value_from_register): Add GDBARCH argument;
6017 replace FRAME by FRAME_ID. No longer call get_frame_id.
6018 (value_from_register): Update call to gdbarch_value_from_register.
6019 * value.h (default_value_from_register): Update prototype.
6020 * s390-linux-tdep.c (s390_value_from_register): Update interface
6021 and call to default_value_from_register.
6022 * spu-tdep.c (spu_value_from_register): Likewise.
6023
6024 * findvar.c (address_from_register): Remove TYPE argument.
6025 Do not call value_from_register; use gdbarch_value_from_register
6026 with null_frame_id instead.
6027 * value.h (address_from_register): Update prototype.
6028 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6029 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6030 address_from_register interface change.
6031
71e50e83
YQ
60322014-04-17 Yao Qi <yao@codesourcery.com>
6033
6034 * gdbtypes.h: Update comments to link to types and macros'
6035 definitions.
6036
7a23c549
SC
60372014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6038
6039 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6040
22869d73
KS
60412014-04-16 Keith Seitz <keiths@redhat.com>
6042
6043 PR gdb/15827
6044 * dwarf2read.c (skip_one_die): Check that all relative-offset
6045 sibling DIEs fall within range of the current reader's buffer.
6046 (read_partial_die): Likewise.
6047
c4f87ca6
KS
60482014-04-16 Keith Seitz <keiths@redhat.com>
6049
6050 PR c++/16597
6051 * cp-namespace.c (lookup_symbol_file): If the type name of
6052 `this' is NULL, return immediately.
6053
b50c8614
KS
60542014-04-14 Keith Seitz <keiths@redhat.com>
6055
6056 PR c++/16253
6057 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6058 from symbol_matches_domain in symtab.c. All local callers
6059 of symbol_matches_domain updated.
6060 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6061 search STRUCT_DOMAIN.
6062 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6063 independently. standard_lookup will do that automatically.
6064 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6065 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6066 (cp_lookup_symbol_in_namespace): Likewise.
6067 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6068 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6069 may return a STRUCT_DOMAIN match.
6070 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6071 * cp-support.c: Include language.h.
6072 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6073 VAR_DOMAIN.
6074 * psymtab.c (match_partial_symbol): Compare the requested
6075 domain with the symbol's domain directly.
6076 (lookup_partial_symbol): Likewise.
6077 * symtab.c (lookup_symbol_in_language): Explain when/why
6078 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6079 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6080 appropriate languages.
6081 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6082 and moved to ada-lang.c
6083 (lookup_block_symbol): Explain that this function only returns
6084 symbol matching the requested DOMAIN.
6085 Compare the requested domain with the symbol's domain directly.
6086 (iterate_over_symbols): Compare the requested domain with the
6087 symbol's domain directly.
6088 * symtab.h (symbol_matches_domain): Remove.
6089
3d567982
TT
60902014-04-14 Tom Tromey <tromey@redhat.com>
6091
6092 PR c++/15246:
6093 * c-exp.y (type_aggregate_p): New function.
6094 (qualified_name, classify_inner_name): Use it.
6095 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6096 and TYPE_TARGET_TYPE of an enum type.
6097 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6098 an enum type.
6099 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6100 handle TYPE_DECLARED_CLASS.
6101 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6102 types.
6103 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6104 * valops.c (enum_constant_from_type): New function.
6105 (value_aggregate_elt): Use it.
6106 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6107 TYPE_CODE_ENUM.
6108
c848d642
TT
61092014-04-14 Tom Tromey <tromey@redhat.com>
6110
6111 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6112 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6113 const.
6114 * value.h (value_aggregate_elt): Update.
6115
0626fc76
TT
61162014-04-14 Tom Tromey <tromey@redhat.com>
6117
6118 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6119
5ecaaa66
SA
61202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6121
6122 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6123 (evaluate_subexp_standard): Pass noside argument.
6124 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6125 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6126 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6127 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6128 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6129
1612e0c0
SA
61302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6131
6132 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6133 points to a constant blob.
6134
c451ebe5
SA
61352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6136
6137 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6138 property and store it as the high bound and flag the range accordingly.
6139 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6140 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6141 * gdbtypes.h (enum range_flags): New enum.
6142 (struct range_bounds): Add flags member.
6143
1d42e4c4
SA
61442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6145
6146 * c-typeprint.c (c_type_print_varspec_suffix): Added
6147 check for not yet resolved high bound. If unresolved, print
6148 "variable length" string to the console instead of random
6149 length.
6150
9f1f738a
SA
61512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6152
6153 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6154 value.
6155 (ada_template_to_fixed_record_type_1): Likewise.
6156 (ada_to_fixed_type_1): Likewise.
6157 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6158 (cp_print_value): Likewise.
6159 * d-valprint.c (dynamic_array_type): Likewise.
6160 * findvar.c (address_of_variable): Likewise.
6161 * jv-valprint.c (java_value_print): Likewise.
6162 * valops.c (value_ind): Likewise.
6163 * value.c (coerce_ref): Likewise.
6164
3c8452d4
SA
61652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6166
6167 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6168 value and retrieve the dynamic type size.
6169
4ad88275
SA
61702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6171
6172 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6173 passed to sizeof is dynamic evaluate the argument to compute the length.
6174
80180f79
SA
61752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6176 Joel Brobecker <brobecker@adacore.com>
6177
6178 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6179 (dwarf2_evaluate_property): New function.
6180 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6181 * dwarf2read.c (attr_to_dynamic_prop): New function.
6182 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6183 attribute.
6184 * gdbtypes.c: Include dwarf2loc.h.
6185 (is_dynamic_type): New function.
6186 (resolve_dynamic_type): New function.
6187 (resolve_dynamic_bounds): New function.
6188 (get_type_length): New function.
6189 (check_typedef): Use get_type_length to compute type length.
6190 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6191 (TYPE_LOW_BOUND_KIND): New macro.
6192 (is_dynamic_type): New function prototype.
6193 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6194 to resolve dynamic properties of the type. Update comment.
6195 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6196
a1556843
RH
61972014-04-14 Richard Henderson <rth@redhat.com>
6198
6199 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6200
0be03e84
DE
62012014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6202 Doug Evans <xdje42@gmail.com>
6203
6204 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6205 dereference TYPE_CODE_REF values.
6206
6b662e19
JB
62072014-04-11 Joel Brobecker <brobecker@adacore.com>
6208
6209 Revert the following changes due to regressions:
6210
6211 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6212 (dwarf2_evaluate_property): New function.
6213 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6214 * dwarf2read.c (attr_to_dynamic_prop): New function.
6215 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6216 attribute.
6217 * gdbtypes.c: Include dwarf2loc.h.
6218 (is_dynamic_type): New function.
6219 (resolve_dynamic_type): New function.
6220 (resolve_dynamic_bounds): New function.
6221 (get_type_length): New function.
6222 (check_typedef): Use get_type_length to compute type length.
6223 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6224 (TYPE_LOW_BOUND_KIND): New macro.
6225 (is_dynamic_type): New function prototype.
6226 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6227 to resolve dynamic properties of the type. Update comment.
6228 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6229
6230 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6231 passed to sizeof is dynamic evaluate the argument to compute the length.
6232
6233 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6234 value and retrieve the dynamic type size.
6235
6236 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6237 (ada_template_to_fixed_record_type_1): Likewise.
6238 (ada_to_fixed_type_1): Likewise.
6239 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6240 (cp_print_value): Likewise.
6241 * d-valprint.c (dynamic_array_type): Likewise.
6242 * eval.c (evaluate_subexp_with_coercion): Likewise.
6243 * findvar.c (address_of_variable): Likewise.
6244 * jv-valprint.c (java_value_print): Likewise.
6245 * valops.c (value_ind): Likewise.
6246 * value.c (coerce_ref): Likewise.
6247
6248 * c-typeprint.c (c_type_print_varspec_suffix): Added
6249 check for not yet resolved high bound. If unresolved, print
6250 "variable length" string to the console instead of random
6251 length.
6252
6253 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6254 property and store it as the high bound and flag the range accordingly.
6255 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6256 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6257 * gdbtypes.h (enum range_flags): New enum.
6258 (struct range_bounds): Add flags member.
6259
6260 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6261 points to a constant blob.
6262
6263 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6264 (evaluate_subexp_standard): Pass noside argument.
6265 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6266 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6267 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6268 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6269 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6270
245a5f0b
KS
62712014-04-11 Keith Seitz <keiths@redhat.com>
6272
6273 PR c++/16675
6274 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6275 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6276 reference types.
6277
3bce8237
SA
62782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6279
6280 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6281 (evaluate_subexp_standard): Pass noside argument.
6282 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6283 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6284 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6285 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6286 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6287
92b09522
SA
62882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6289
6290 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6291 points to a constant blob.
6292
e1969afb
SA
62932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6294
6295 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6296 property and store it as the high bound and flag the range accordingly.
6297 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6298 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6299 * gdbtypes.h (enum range_flags): New enum.
6300 (struct range_bounds): Add flags member.
6301
b86138fb
SA
63022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6303
6304 * c-typeprint.c (c_type_print_varspec_suffix): Added
6305 check for not yet resolved high bound. If unresolved, print
6306 "variable length" string to the console instead of random
6307 length.
6308
bcd629a4
SA
63092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6310
6311 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6312 (ada_template_to_fixed_record_type_1): Likewise.
6313 (ada_to_fixed_type_1): Likewise.
6314 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6315 (cp_print_value): Likewise.
6316 * d-valprint.c (dynamic_array_type): Likewise.
6317 * eval.c (evaluate_subexp_with_coercion): Likewise.
6318 * findvar.c (address_of_variable): Likewise.
6319 * jv-valprint.c (java_value_print): Likewise.
6320 * valops.c (value_ind): Likewise.
6321 * value.c (coerce_ref): Likewise.
6322
04b19544
SA
63232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6324
6325 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6326 value and retrieve the dynamic type size.
6327
26cb189f
SA
63282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6329
6330 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6331 passed to sizeof is dynamic evaluate the argument to compute the length.
6332
37c1ab67
SA
63332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6334
6335 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6336 (dwarf2_evaluate_property): New function.
6337 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6338 * dwarf2read.c (attr_to_dynamic_prop): New function.
6339 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6340 attribute.
6341 * gdbtypes.c: Include dwarf2loc.h.
6342 (is_dynamic_type): New function.
6343 (resolve_dynamic_type): New function.
6344 (resolve_dynamic_bounds): New function.
6345 (get_type_length): New function.
6346 (check_typedef): Use get_type_length to compute type length.
6347 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6348 (TYPE_LOW_BOUND_KIND): New macro.
6349 (is_dynamic_type): New function prototype.
6350 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6351 to resolve dynamic properties of the type. Update comment.
6352 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6353
729efb13
SA
63542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6355
6356 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6357 declaring high/low bounds and change uses accordingly. Call
6358 create_range_type instead of create_static_range_type.
6359 * gdbtypes.c (create_range_type): New function.
6360 (create_range_type): Convert bounds into struct bound_prop and pass
6361 them to create_range_type.
6362 * gdbtypes.h (struct bound_prop): New struct.
6363 (create_range_type): New function prototype.
6364 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6365 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6366 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6367 part of the bound.
6368 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6369
0c9c3474
SA
63702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6371
6372 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6373 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6374 * ada-lang.c: All uses of create_range_type updated.
6375 * coffread.c: All uses of create_range_type updated.
6376 * dwarf2read.c: All uses of create_range_type updated.
6377 * f-exp.y: All uses of create_range_type updated.
6378 * m2-valprint.c: All uses of create_range_type updated.
6379 * mdebugread.c: All uses of create_range_type updated.
6380 * stabsread.c: All uses of create_range_type updated.
6381 * valops.c: All uses of create_range_type updated.
6382 * valprint.c: All uses of create_range_type updated.
6383
9d497a19
PA
63842014-04-10 Pedro Alves <palves@redhat.com>
6385
6386 * breakpoint.c (single_step_breakpoints)
6387 (single_step_gdbarch): Move up in the file.
6388 (one_breakpoint_xfer_memory): New function, factored out from ...
6389 (breakpoint_xfer_memory): ... here. Also process single-step
6390 breakpoints.
6391
15a9128a
TG
63922014-04-09 Tristan Gingold <gingold@adacore.com>
6393
6394 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6395 comments.
6396 (darwin_decode_exception_message): Free port only after use.
6397
9c97a070
PL
63982014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6399
6400 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6401 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6402 when setting the size of call_length.
6403
7af389b8
SC
64042014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6405
6406 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6407 dereference TYPE_CODE_REF values.
6408
86ad98c3
JB
64092014-04-07 Joel Brobecker <brobecker@adacore.com>
6410
6411 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6412 end of warning message.
6413
b0aeadb3
DE
64142014-04-03 Doug Evans <dje@google.com>
6415
6416 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6417 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6418
5979d6b6
AM
64192014-04-02 Alan Modra <amodra@gmail.com>
6420
6421 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6422 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6423 (struct symbol_file_add_from_memory_args): Add size field.
6424 (find_vdso_size): New function.
6425 (add_vsyscall_page): Attempt to find vdso size.
6426
0d60c288
DE
64272014-04-01 Doug Evans <dje@google.com>
6428
6429 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6430
a41f2563
TG
64312014-04-01 Tristan Gingold <gingold@adacore.com>
6432
6433 * darwin-nat.c (darwin_encode_reply): Add prototype.
6434 (darwin_decode_exception_message): Reply to unknown inferiors.
6435 (darwin_decode_message): Handle message by id. Ignore message
6436 to unknown inferior.
6437 (darwin_wait): Discard unknown messages, add debug trace.
6438
11a865c8
DE
64392014-03-31 Doug Evans <dje@google.com>
6440
6441 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6442 comp_dir_string.
6443
770e7fc7
DE
64442014-03-31 Doug Evans <dje@google.com>
6445
6446 New option "set print symbol-loading".
6447 * NEWS: Mention it.
6448 * solib.c (solib_read_symbols): Only print symbol loading messages
6449 if requested.
6450 (solib_add): If symbol loading is in "brief" mode, notify user
6451 symbols are being loaded.
6452 (reload_shared_libraries_1): Ditto.
6453 * symfile.c (print_symbol_loading_off): New static global.
6454 (print_symbol_loading_brief): New static global.
6455 (print_symbol_loading_full): New static global.
6456 (print_symbol_loading_enums): New static global.
6457 (print_symbol_loading): New static global.
6458 (print_symbol_loading_p): New function.
6459 (symbol_file_add_with_addrs): Only print symbol loading messages
6460 if requested.
6461 (_initialize_symfile): Register "print symbol-loading" set/show
6462 command.
6463 * symfile.h (print_symbol_loading_p): Declare.
6464
c32c64b7
DE
64652014-03-30 Doug Evans <xdje42@gmail.com>
6466
6467 * infrun.c (set_last_target_status): New function.
6468 (handle_inferior_event): Call it.
6469
7c0bc051
DE
64702014-03-30 Doug Evans <xdje42@gmail.com>
6471
6472 * inferior.h (enum stop_kind): Improve comment.
6473
8776cfe9
JB
64742014-03-28 Joel Brobecker <brobecker@adacore.com>
6475
6476 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6477 a reference, strip the reference layer before calling
6478 the lang_ops value_has_mutated callback.
6479
410a0ff2
SDJ
64802014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6481
6482 Remove some globals from our parser.
6483 * language.c (unk_lang_parser): Add "struct parser_state"
6484 argument.
6485 * language.h (struct language_defn) <la_parser>: Likewise.
6486 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6487 (initialize_expout): Add "struct parser_state" argument.
6488 Rewrite function to use the parser state.
6489 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6490 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6491 write_exp_elt_longcst, write_exp_elt_dblcst,
6492 write_exp_elt_decfloatcst, write_exp_elt_type,
6493 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6494 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6495 write_dollar_variable): Likewise.
6496 (parse_exp_in_context_1): Use parser state.
6497 (insert_type_address_space): Add "struct parser_state" argument.
6498 Use parser state.
6499 (increase_expout_size): New function.
6500 * parser-defs.h: Forward declare "struct language_defn" and
6501 "struct parser_state".
6502 (expout, expout_size, expout_ptr): Remove extern declarations.
6503 (parse_gdbarch, parse_language): Rewrite macro declarations to
6504 accept the parser state.
6505 (struct parser_state): New struct.
6506 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6507 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6508 write_exp_elt_decfloatcst, write_exp_elt_type,
6509 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6510 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6511 write_exp_msymbol, write_dollar_variable,
6512 mark_struct_expression, insert_type_address_space): Add "struct
6513 parser_state" argument.
6514 (increase_expout_size): New function.
6515 * utils.c (do_clear_parser_state): New function.
6516 (make_cleanup_clear_parser_state): Likewise.
6517 * utils.h (make_cleanup_clear_parser_state): New function
6518 prototype.
6519 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6520 Update calls to write_exp* in order to pass the parser state.
6521 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6522 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6523 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6524 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6525 * stap-probe.c (stap_parse_register_operand): Likewise.
6526 (stap_parse_single_operand): Likewise.
6527 (stap_parse_argument_1): Likewise.
6528 (stap_parse_argument): Use parser state.
6529 * stap-probe.h: Include "parser-defs.h".
6530 (struct stap_parse_info) <pstate>: New field.
6531 * c-exp.y (parse_type): Rewrite to use parser state.
6532 (yyparse): Redefine to c_parse_internal.
6533 (pstate): New global variable.
6534 (parse_number): Add "struct parser_state" argument.
6535 (write_destructor_name): Likewise.
6536 (type_exp): Update calls to write_exp* and similars in order to
6537 use parser state.
6538 (exp1, exp, variable, qualified_name, space_identifier,
6539 typename, typebase): Likewise.
6540 (write_destructor_name, parse_number, lex_one_token,
6541 classify_name, classify_inner_name, c_parse): Add "struct
6542 parser_state" argument. Update function to use parser state.
6543 * c-lang.h: Forward declare "struct parser_state".
6544 (c_parse): Add "struct parser_state" argument.
6545 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6546 (yyparse): Redefine macro to ada_parse_internal.
6547 (pstate): New variable.
6548 (write_int, write_object_renaming, write_var_or_type,
6549 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6550 type_int, type_long, type_long_long, type_float, type_double,
6551 type_long_double, type_char, type_boolean, type_system_address):
6552 Add "struct parser_state" argument.
6553 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6554 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6555 var_or_type, aggregate, aggregate_component_list,
6556 positional_list, others, component_group,
6557 component_associations): Update calls to write_exp* and similar
6558 functions in order to use parser state.
6559 (ada_parse, write_var_from_sym, write_int,
6560 write_exp_op_with_string, write_object_renaming,
6561 find_primitive_type, write_selectors, write_ambiguous_var,
6562 write_var_or_type, write_name_assoc, type_int, type_long,
6563 type_long_long, type_float, type_double, type_long_double,
6564 type_char, type_boolean, type_system_address): Add "struct
6565 parser_state" argument. Adjust function to use parser state.
6566 * ada-lang.c (parse): Likewise.
6567 * ada-lang.h: Forward declare "struct parser_state".
6568 (ada_parse): Add "struct parser_state" argument.
6569 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6570 calls to both functions.
6571 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6572 parser state.
6573 (yyparse): Redefine macro to f_parse_internal.
6574 (pstate): New variable.
6575 (parse_number): Add "struct parser_state" argument.
6576 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6577 and similars in order to use parser state.
6578 (parse_number): Adjust code to use parser state.
6579 (yylex): Likewise.
6580 (f_parse): New function.
6581 * f-lang.h: Forward declare "struct parser_state".
6582 (f_parse): Add "struct parser_state" argument.
6583 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6584 parser state.
6585 (yyparse): Redefine macro for java_parse_internal.
6586 (pstate): New variable.
6587 (push_expression_name, push_expression_name, insert_exp): Add
6588 "struct parser_state" argument.
6589 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6590 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6591 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6592 PostIncrementExpression, PostDecrementExpression,
6593 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6594 UnaryExpressionNotPlusMinus, CastExpression,
6595 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6596 RelationalExpression, EqualityExpression, AndExpression,
6597 ExclusiveOrExpression, InclusiveOrExpression,
6598 ConditionalAndExpression, ConditionalOrExpression,
6599 ConditionalExpression, Assignment, LeftHandSide): Update
6600 calls to write_exp* and similars in order to use parser state.
6601 (parse_number): Ajust code to use parser state.
6602 (yylex): Likewise.
6603 (java_parse): New function.
6604 (push_variable): Add "struct parser_state" argument. Adjust
6605 code to user parser state.
6606 (push_fieldnames, push_qualified_expression_name,
6607 push_expression_name, insert_exp): Likewise.
6608 * jv-lang.h: Forward declare "struct parser_state".
6609 (java_parse): Add "struct parser_state" argument.
6610 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6611 parser state.
6612 (yyparse): Redefine macro to m2_parse_internal.
6613 (pstate): New variable.
6614 (type_exp, exp, fblock, variable, type): Update calls to
6615 write_exp* and similars to use parser state.
6616 (yylex): Likewise.
6617 (m2_parse): New function.
6618 * m2-lang.h: Forward declare "struct parser_state".
6619 (m2_parse): Add "struct parser_state" argument.
6620 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6621 * objc-lang.h: Forward declare "struct parser_state".
6622 (end_msglist): Add "struct parser_state" argument.
6623 * p-exp.y (parse_type): Rewrite macro to use parser state.
6624 (yyparse): Redefine macro to pascal_parse_internal.
6625 (pstate): New variable.
6626 (parse_number): Add "struct parser_state" argument.
6627 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6628 write_exp* and similars in order to use parser state.
6629 (parse_number, yylex): Adjust code to use parser state.
6630 (pascal_parse): New function.
6631 * p-lang.h: Forward declare "struct parser_state".
6632 (pascal_parse): Add "struct parser_state" argument.
6633 * go-exp.y (parse_type): Rewrite macro to use parser state.
6634 (yyparse): Redefine macro to go_parse_internal.
6635 (pstate): New variable.
6636 (parse_number): Add "struct parser_state" argument.
6637 (type_exp, exp1, exp, variable, type): Update calls to
6638 write_exp* and similars in order to use parser state.
6639 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6640 to use parser state.
6641 (go_parse): Likewise.
6642 * go-lang.h: Forward declare "struct parser_state".
6643 (go_parse): Add "struct parser_state" argument.
6644
342587c4
DE
66452014-03-27 Doug Evans <dje@google.com>
6646
6647 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6648
33e80786
DE
66492014-03-27 Doug Evans <dje@google.com>
6650
6651 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6652 Remove argument abbrev_section. All callers updated.
6653
1dbab08b
DE
66542014-03-27 Doug Evans <dje@google.com>
6655
6656 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6657 addr_base, ranges_base.
6658
318d3177
KS
66592014-03-26 Keith Seitz <keiths@redhat.com>
6660
6661 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6662 types, not VAR_DOMAIN.
6663
1e54db15
SL
66642014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6665
6666 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6667 "ra" registers.
6668 * features/nios2-linux.c: Regenerated.
6669 * features/nios2.c: Regenerated.
6670
d3839ede
PA
66712014-03-25 Pedro Alves <palves@redhat.com>
6672
6673 * cli/cli-script.c (script_from_file): Force the interpreter to
6674 sync mode.
6675
7588d2ec
PL
66762014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6677
6678 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6679 small stack allocation.
6680
a6290449
TG
66812014-03-24 Tristan Gingold <gingold@adacore.com>
6682
6683 * darwin-nat.c (exc_server): Remove unused prototype.
6684 (darwin_dump_message): Correctly display data on x86_64.
6685 (darwin_encode_reply): Fix style.
6686 Add comments and fix indentation.
6687
31ae9d24 66882014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6689
6690 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6691
6339bfc4
DE
66922014-03-22 Doug Evans <xdje42@gmail.com>
6693
6694 * infcmd.c: Whitespace fixes.
6695 (interrupt_command): Merge two function comments into one.
6696
0a07590b
DE
66972014-03-22 Doug Evans <xdje42@gmail.com>
6698
6699 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6700 All uses updated.
6701
b55fbac4
YQ
67022014-03-22 Yao Qi <yao@codesourcery.com>
6703
6704 * remote.c (target_read_live_memory): Remove.
6705 (memory_xfer_live_readonly_partial): Rename it to
6706 remote_xfer_live_readonly_partial. Remove argument 'object'.
6707 All callers updated. Call remote_read_bytes_1
6708 instead of target_read_live_memory.
6709 * tracepoint.c (set_traceframe_number): Remove.
6710 (make_cleanup_restore_traceframe_number): Likewise .
6711 * tracepoint.h (set_traceframe_number): Remove declaration.
6712 (make_cleanup_restore_traceframe_number): Likewise.
6713
9217e74e
YQ
67142014-03-22 Yao Qi <yao@codesourcery.com>
6715
6716 * remote.c (remote_read_bytes): Move code on reading from the
6717 remote stub to ...
6718 (remote_read_bytes_1): ... here. New function.
6719
8acf9577
YQ
67202014-03-22 Yao Qi <yao@codesourcery.com>
6721
6722 * ctf.c (ctf_xfer_partial): Check the return value of
6723 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6724 return TARGET_XFER_UNAVAILABLE.
6725 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6726 * target.c (target_read_live_memory): Move it to remote.c.
6727 (memory_xfer_live_readonly_partial): Likewise.
6728 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6729 * remote.c (target_read_live_memory): Moved from target.c.
6730 (memory_xfer_live_readonly_partial): Likewise.
6731 (remote_read_bytes): Factored out from
6732 memory_xfer_partial_1.
6733
feef67ab
DE
67342014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6735
6736 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6737 NULL pointer.
6738
b65dc60b
PA
67392014-03-21 Pedro Alves <palves@redhat.com>
6740
6741 * infrun.c (normal_stop): Extend comment.
6742
b4ab256d
HZ
67432014-03-21 Hui Zhu <hui@codesourcery.com>
6744 Pedro Alves <palves@redhat.com>
6745
6746 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6747 static buffer.
6748 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6749 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6750 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6751
deba7593
MR
67522014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6753
6754 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6755 `z' formatted output modifier.
6756
1bff71c3
SDJ
67572014-03-20 Tom Tromey <tromey@redhat.com>
6758 Sergio Durigan Junior <sergiodj@redhat.com>
6759
6760 * probe.c (parse_probes): Turn assert into an ordinary error.
6761 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6762 exceptions when parsing probes. Rearrange the code for clarity.
6763
90e28950
TT
67642014-03-20 Tom Tromey <tromey@redhat.com>
6765
6766 PR gdb/14135
6767 * top.c (execute_command): Only dispatch events if the command
6768 started the target.
6769
beb460e8
PA
67702014-03-20 Tom Tromey <tromey@redhat.com>
6771
6772 PR cli/15718
6773 * infcall.c: Include event-top.h.
6774 (run_inferior_call): Call async_disable_stdin if needed.
6775
99619bea
PA
67762014-03-20 Pedro Alves <palves@redhat.com>
6777
6778 * infrun.c (prepare_to_proceed): Delete.
6779 (thread_still_needs_step_over): New function.
6780 (find_thread_needs_step_over): New function.
6781 (proceed): If the current thread needs a step-over, set its
6782 steping_over_breakpoint flag. Adjust to use
6783 find_thread_needs_step_over instead of prepare_to_proceed.
6784 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6785 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6786 breakpoint.
6787 (switch_back_to_stepped_thread): Step over breakpoints of all
6788 threads not the stepping thread, before switching back to the
6789 stepping thread.
6790
2adfaa28
PA
67912014-03-20 Pedro Alves <palves@redhat.com>
6792
6793 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6794 extern.
6795 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6796 * infrun.c (saved_singlestep_ptid)
6797 (stepping_past_singlestep_breakpoint): Delete.
6798 (resume): Remove stepping_past_singlestep_breakpoint handling.
6799 (proceed): Store the prev_pc of the stepping thread too.
6800 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6801 singlestep_pc.
6802 (enum infwait_states): Delete infwait_thread_hop_state.
6803 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6804 field.
6805 (handle_inferior_event): Adjust.
6806 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6807 handling and the thread-hop code. Before removing single-step
6808 breakpoints, check whether the thread hit a single-step breakpoint
6809 of another thread. If it did, the trap is not a random signal.
6810 (switch_back_to_stepped_thread): If the event thread hit a
6811 single-step breakpoint, unblock it before switching to the
6812 stepping thread. Handle the case of the stepped thread having
6813 advanced already.
6814 (keep_going): Handle the case of the current thread moving past a
6815 single-step breakpoint.
6816
31e77af2
PA
68172014-03-20 Pedro Alves <palves@redhat.com>
6818
6819 PR breakpoints/7143
6820 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6821 are being stepped over.
6822 (breakpoint_address_match): Make extern.
6823 * breakpoint.h (breakpoint_address_match): New declaration.
6824 * inferior.h (stepping_past_instruction_at): New declaration.
6825 * infrun.c (struct step_over_info): New type.
6826 (step_over_info): New global.
6827 (set_step_over_info, clear_step_over_info)
6828 (stepping_past_instruction_at): New functions.
6829 (handle_inferior_event): Clear the step-over info when
6830 trap_expected is cleared.
6831 (resume): Remove now stale comment.
6832 (clear_proceed_status): Clear step-over info.
6833 (proceed): Adjust step-over handling to set or clear the step-over
6834 info instead of removing all breakpoints.
6835 (handle_signal_stop): When setting up a thread-hop, don't remove
6836 breakpoints here.
6837 (stop_stepping): Clear step-over info.
6838 (keep_going): Adjust step-over handling to set or clear step-over
6839 info and then always inserting breakpoints, instead of removing
6840 all breakpoints when stepping over one.
6841
b9f437de
PA
68422014-03-20 Pedro Alves <palves@redhat.com>
6843
6844 * infrun.c (previous_inferior_ptid): Adjust comment.
6845 (deferred_step_ptid): Delete.
6846 (infrun_thread_ptid_changed, prepare_to_proceed)
6847 (init_wait_for_inferior): Adjust.
6848 (handle_signal_stop): Delete deferred_step_ptid handling.
6849
06c868a8
JK
68502014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 PR gdb/15358
6853 * defs.h (sync_quit_force_run): New declaration.
6854 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6855 * event-top.c (async_sigterm_handler): New declaration.
6856 (async_sigterm_token): New variable.
6857 (async_init_signals): Create also async_sigterm_token.
6858 (async_sigterm_handler): New function.
6859 (sync_quit_force_run): New variable.
6860 (handle_sigterm): Replace quit_force call by other calls.
6861 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6862
dea80df0
MR
68632014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6864
6865 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6866 offset into SPE pseudo registers.
6867
0c7e1a46
PA
68682014-03-18 Pedro Alves <palves@redhat.com>
6869
6870 PR gdb/13860
6871 * inferior.h (print_stop_event): Declare.
6872 * infrun.c (print_stop_event): New, factored out from ...
6873 (normal_stop): ... this.
6874 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6875 of bpstat_print/print_stack_frame.
6876
9c1fcd01
TT
68772014-03-17 Tom Tromey <tromey@redhat.com>
6878
6879 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6880
11aa919a
PMR
68812014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6882
6883 * ada-lang.c (decode_constrained_packed_array): Perform a
6884 minimal coercion for reference with coerce_ref instead of
6885 ada_coerce_ref.
6886
d4ccb5e0
TG
68872014-03-17 Tristan Gingold <gingold@adacore.com>
6888
6889 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6890 (darwin_solib_create_inferior_hook): Emit a warning if version
6891 is unhandled.
6892
49840f2a
UW
68932014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6894
6895 * python/py-value.c (get_field_flag): Cast flag_name argument to
6896 PyObject_GetAttrString to support Python 2.4.
6897
ed4123e5
JK
68982014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6899
6900 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6901 (Global Maintainers): Remove Jan Kratochvil.
6902
d6b64346
PA
69032014-03-14 Pedro Alves <palves@redhat.com>
6904
6905 * inferior.h (terminal_ours_for_output): Rename to ...
6906 (child_terminal_ours_for_output): ... this.
6907 (terminal_save_ours): Rename to ...
6908 (child_terminal_save_ours): ... this.
6909 (terminal_ours): Rename to ...
6910 (child_terminal_ours): ... this.
6911 (terminal_inferior): Rename to ...
6912 (child_terminal_inferior): ... this.
6913 (terminal_init_inferior): Rename to ...
6914 (child_terminal_init_inferior): ... this.
6915 (terminal_init_inferior_with_pgrp): Rename to ...
6916 (child_terminal_init_inferior_with_pgrp): ... this.
6917 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6918 (child_terminal_init_with_pgrp): ... this.
6919 (terminal_save_ours): Rename to ...
6920 (child_terminal_save_ours): ... this.
6921 (terminal_init_inferior): Rename to ...
6922 (child_terminal_init): ... this. Adjust.
6923 (terminal_inferior): Rename to ...
6924 (child_terminal_inferior): ... this.
6925 (terminal_ours_for_output): Rename to ...
6926 (child_terminal_ours_for_output): ... this. Adjust.
6927 (terminal_ours): Rename to ...
6928 (child_terminal_ours): ... this.
6929 (terminal_ours_1): Rename to ...
6930 (child_terminal_ours_1): ... this. Adjust.
6931 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6932 * windows-nat.c (do_initial_windows_stuff): Adjust.
6933 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6934 (gnu_terminal_init): ... this. Adjust.
6935 (gnu_target): Adjust.
6936 * inf-child.c (inf_child_target): Adjust.
6937
5a1e8c7a
DE
69382014-03-13 Doug Evans <xdje42@gmail.com>
6939
6940 PR guile/16612
6941 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6942 new eq?-hashtab.
6943
350e1a76
DE
69442014-03-13 Doug Evans <xdje42@gmail.com>
6945
6946 * value.c (record_latest_value): Call release_value_or_incref
6947 instead of release_value.
6948
a69900ae
PA
69492014-03-13 Pedro Alves <palves@redhat.com>
6950
6951 * procfs.c (procfs_target): Don't override to_shortname,
6952 to_longname or to_doc.
6953
5db9f0bd
PA
69542014-03-13 Pedro Alves <palves@redhat.com>
6955
6956 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6957 Unix in user visible strings.
6958
5e3a2c38
SS
69592014-03-12 Stan Shebs <stan@codesourcery.com>
6960
6961 * gdbtypes.h: Annotate comments for Doxygen, add a page
6962 block comment with some general info.
6963
8bc2fe48
PA
69642014-03-12 Pedro Alves <palves@redhat.com>
6965
6966 * infcmd.c (prepare_execution_command): New function, factored out
6967 from several execution commands.
6968 (run_command_1, continue_command, step_1, jump_command)
6969 (signal_command, until_command, advance_command, finish_command)
6970 (attach_command): Use prepare_execution_command.
6971
638c5f49
OJ
69722014-03-12 Omair Javaid <omair.javaid@linaro.org>
6973
6974 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6975 (MAX_BPTS): Define.
6976 (MAX_WPTS): Define.
6977 (struct arm_linux_thread_points): Removed.
6978 (struct arm_linux_process_info): New.
6979 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6980 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6981 (arm_linux_find_breakpoints_by_tid): Removed.
6982 (struct arch_lwp_info): New.
6983 (arm_linux_find_process_pid): New functions.
6984 (arm_linux_add_process): New functions.
6985 (arm_linux_process_info_get): New functions.
6986 (arm_linux_forget_process): New function.
6987 (arm_linux_get_debug_reg_state): New function.
6988 (struct update_registers_data): New.
6989 (update_registers_callback): New function.
6990 (arm_linux_insert_hw_breakpoint1): Updated.
6991 (arm_linux_remove_hw_breakpoint1): Updated.
6992 (arm_linux_insert_hw_breakpoint): Updated.
6993 (arm_linux_remove_hw_breakpoint): Updated.
6994 (arm_linux_insert_watchpoint): Updated.
6995 (arm_linux_remove_watchpoint): Updated.
6996 (arm_linux_new_thread): Updated.
6997 (arm_linux_prepare_to_resume): New function.
6998 (arm_linux_new_fork): New function.
6999 (_initialize_arm_linux_nat): Updated.
7000
6d03af93
PA
70012014-03-12 Pedro Alves <palves@redhat.com>
7002
7003 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7004
b3ccfe11
TT
70052014-03-12 Tom Tromey <tromey@redhat.com>
7006
7007 * inf-child.c (return_zero): New function.
7008 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7009 * aix-thread.c (aix_thread_inferior_created): New function.
7010 (aix_thread_attach): Remove.
7011 (init_aix_thread_ops): Don't set to_attach.
7012 (_initialize_aix_thread): Register inferior_created observer.
7013 * corelow.c (init_core_ops): Don't set to_attach or
7014 to_create_inferior.
7015 * exec.c (init_exec_ops): Don't set to_attach or
7016 to_create_inferior.
7017 * infcmd.c (run_command_1): Use find_run_target. Make direct
7018 target calls.
7019 (attach_command): Use find_attach_target. Make direct target
7020 calls.
7021 * record-btrace.c (init_record_btrace_ops): Don't set
7022 to_create_inferior.
7023 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7024 Remove.
7025 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7026 set to_create_inferior.
7027 * target.c (complete_target_initialization): Add assertion.
7028 (target_create_inferior): Remove.
7029 (find_default_attach, find_default_create_inferior): Remove.
7030 (find_attach_target, find_run_target): New functions.
7031 (find_default_is_async_p, find_default_can_async_p)
7032 (target_supports_non_stop, target_attach): Remove.
7033 (init_dummy_target): Don't set to_create_inferior or
7034 to_supports_non_stop.
7035 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7036 TARGET_DEFAULT_FUNC.
7037 <to_create_inferior>: Add comment.
7038 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7039 TARGET_DEFAULT_RETURN.
7040 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7041 (find_attach_target, find_run_target): Declare.
7042 (target_create_inferior): Remove.
7043 (target_has_execution_1): Update comment.
7044 (target_supports_non_stop): Remove.
7045 * target-delegates.c: Rebuild.
7046
91f83b02
PA
70472014-03-12 Pedro Alves <palves@redhat.com>
7048
7049 * inf-child.h: Update comment to not mention Unix.
7050
f1aea813
PA
70512014-03-12 Pedro Alves <palves@redhat.com>
7052
7053 * inf-child.c: Update top comment to not mention Unix. Add
7054 generic comment describing how this target is meant to be used.
7055 (inf_child_post_attach, inf_child_post_startup_inferior)
7056 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7057 Unix in comment.
7058
ee8e9165
PA
70592014-03-12 Pedro Alves <palves@redhat.com>
7060
7061 * nto-procfs.c: Include inf-child.h.
7062 (procfs_ops): Delete global.
7063 (procfs_can_run): Delete method.
7064 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7065 target pointer instead of referencing procfs_ops.
7066 (procfs_prepare_to_store): Delete.
7067 (init_procfs_ops): Delete function.
7068 (procfs_target): New function, based on init_procfs_ops, but
7069 inherit inf_child_target.
7070 (_initialize_procfs): Use procfs_target.
7071
51a9c8c5
PA
70722014-03-12 Pedro Alves <palves@redhat.com>
7073
7074 * windows-nat.c: Include inf-child.h.
7075 (windows_ops): Delete global.
7076 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7077 methods.
7078 (init_windows_ops): Delete function.
7079 (windows_target): New function, based on init_windows_ops, but
7080 inherit inf_child_target.
7081 (_initialize_windows_nat): Use windows_target. Install x86
7082 specific target methods here.
7083
c1966e26
DE
70842014-03-10 Doug Evans <xdje42@gmail.com>
7085
7086 * guile/guile.c (call_initialize_gdb_module): New function.
7087 (initialize_guile): Replace call to scm_init_guile with call to
7088 scm_with_guile.
7089
023db19c
JB
70902014-03-10 Joel Brobecker <brobecker@adacore.com>
7091
7092 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7093 in call to TYPE_CODE macro.
7094
5ec18f2b
JG
70952014-03-10 Jerome Guitton <guitton@adacore.com>
7096
8668be63
JB
7097 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7098 Resolve tagged types to full view.
5ec18f2b 7099
7d03f2eb
HZ
71002014-03-10 Hui Zhu <hui@codesourcery.com>
7101
7102 * target.h (target_insert_breakpoint): Remove "hardware" from its
7103 comments.
7104
c5164cbc
DE
71052014-03-07 Doug Evans <dje@google.com>
7106
7107 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7108
c4a3fee2
DE
71092014-03-07 Doug Evans <dje@google.com>
7110
7111 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7112 Remove unused local comp_dir_attr. Assert exactly one of
7113 stub_comp_unit_die, stub_comp_dir is non-NULL.
7114
3156469c
JB
71152014-03-07 Joel Brobecker <brobecker@adacore.com>
7116
7117 * target.h (complete_target_initialization, add_target):
7118 Add comment.
7119
c1a7b7c6
PA
71202014-03-07 Pedro Alves <palves@redhat.com>
7121
7122 * go32-nat.c: Include inf-child.h.
7123 (go32_ops): Delete global.
7124 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7125 Delete methods.
7126 (go32_create_inferior): Push the passed in target pointer instead
7127 of referencing go32_ops.
7128 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7129 (go32_target): New function, based on init_go32_ops, but inherit
7130 inf_child_target.
7131 (_initialize_go32_nat): Use go32_target. Move parts of
7132 init_go32_ops here.
7133
d3c1a85f
JB
71342014-03-06 Joel Brobecker <brobecker@adacore.com>
7135
7136 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7137 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7138 SYMBOL_VALUE_ADDRESS.
7139 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7140
5fa1d40e
YQ
71412014-03-06 Yao Qi <yao@codesourcery.com>
7142
7143 * breakpoint.c (get_tracepoint_by_number): Remove argument
7144 optional_p. All callers updated. Adjust comments. Update
7145 output message.
7146 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7147
0c13193f
YQ
71482014-03-06 Yao Qi <yao@codesourcery.com>
7149
7150 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7151 early if get_number returns zero. Use 'p' instead of 'args'.
7152
2217da06
YQ
71532014-03-06 Yao Qi <yao@codesourcery.com>
7154
7155 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7156 message.
7157
cc3da688
YQ
71582014-03-06 Yao Qi <yao@codesourcery.com>
7159
7160 PR breakpoints/16508
7161 * tracepoint.c (check_trace_running): New function.
7162 (trace_find_command): Move code to check_trace_running and
7163 call check_trace_running.
7164 (trace_find_pc_command): Likewise.
7165 (trace_find_tracepoint_command): Likewise.
7166 (trace_find_line_command): Likewise.
7167 (trace_find_range_command): Likewise.
7168 * tracepoint.h (check_trace_running): Likewise.
7169 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7170
6a5f844b
YQ
71712014-03-06 Yao Qi <yao@codesourcery.com>
7172
7173 * target.h (struct target_ops) <to_traceframe_info>: Use
7174 TARGET_DEFAULT_NORETURN (tcomplain ()).
7175 * target-delegates.c: Regenerated.
7176
0f26cec1
PA
71772014-03-05 Pedro Alves <palves@redhat.com>
7178
7179 PR gdb/16575
7180 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7181 void. Update comment.
7182 (dcache_xfer_memory): Delete.
7183 (dcache_read_memory_partial): New, based on the read bits of
7184 dcache_xfer_memory.
7185 (dcache_update): Add status parameter. Use ULONGEST for len, and
7186 adjust. Discard cache lines if the reason for the update was
7187 error.
7188 * dcache.h (dcache_xfer_memory): Delete declaration.
7189 (dcache_read_memory_partial): New declaration.
7190 (dcache_update): Update prototype.
7191 * target.c (raw_memory_xfer_partial): Update the dcache here.
7192 (memory_xfer_partial_1): Don't handle dcache writes here.
7193
b2b255bd
MF
71942014-03-05 Mike Frysinger <vapier@gentoo.org>
7195
7196 * remote-sim.c (gdbsim_load): Add const to prog.
7197
5d9cf8a4
TT
71982014-03-03 Tom Tromey <tromey@redhat.com>
7199
7200 * elfread.c (probe_key): Change to bfd_data.
7201 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7202 now per-BFD, not per-objfile.
7203 * stap-probe.c (stap_probe_destroy): Update comment.
7204 (handle_stap_probe): Allocate on the per-BFD obstack.
7205
729662a5
TT
72062014-03-03 Tom Tromey <tromey@redhat.com>
7207
7208 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7209 * breakpoint.c (create_longjmp_master_breakpoint): Use
7210 get_probe_address.
7211 (add_location_to_breakpoint, bkpt_probe_insert_location)
7212 (bkpt_probe_remove_location): Update.
7213 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7214 * elfread.c (elf_symfile_relocate_probe): Remove.
7215 (elf_probe_fns): Update.
7216 (insert_exception_resume_breakpoint): Change type of "probe"
7217 parameter to bound_probe.
7218 (check_exception_resume): Update.
7219 * objfiles.c (objfile_relocate1): Don't relocate probes.
7220 * probe.c (bound_probe_s): New typedef.
7221 (parse_probes): Use get_probe_address. Set sal's objfile.
7222 (find_probe_by_pc): Return a bound_probe.
7223 (collect_probes): Return a VEC(bound_probe_s).
7224 (compare_probes): Update.
7225 (gen_ui_out_table_header_info): Change type of "probes"
7226 parameter. Update.
7227 (info_probes_for_ops): Update.
7228 (get_probe_address): New function.
7229 (probe_safe_evaluate_at_pc): Update.
7230 * probe.h (struct probe_ops) <get_probe_address>: New field.
7231 <set_semaphore, clear_semaphore>: Add objfile parameter.
7232 (struct probe) <objfile>: Remove field.
7233 <arch>: New field.
7234 <address>: Update comment.
7235 (struct bound_probe): New.
7236 (find_probe_by_pc): Return a bound_probe.
7237 (get_probe_address): Declare.
7238 * solib-svr4.c (struct probe_and_action) <address>: New field.
7239 (hash_probe_and_action, equal_probe_and_action): Update.
7240 (register_solib_event_probe): Add address parameter.
7241 (solib_event_probe_at): Update.
7242 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7243 get_probe_address.
7244 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7245 (stap_get_probe_address): New function.
7246 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7247 (compile_probe_arg): Update.
7248 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7249 address.
7250 (handle_stap_probe): Don't relocate the probe.
7251 (stap_relocate): Remove.
7252 (stap_gen_info_probes_table_values): Update.
7253 (stap_probe_ops): Remove stap_relocate.
7254 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7255 (debug_sym_probe_fns): Update.
7256 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7257 * symtab.c (init_sal): Use memset.
7258 * symtab.h (struct symtab_and_line) <objfile>: New field.
7259 * tracepoint.c (start_tracing, stop_tracing): Update.
7260
ff887920
TT
72612014-03-03 Tom Tromey <tromey@redhat.com>
7262
7263 * probe.h (parse_probes, find_probe_by_pc)
7264 (find_probes_in_objfile): Fix comments.
7265
f0407826
DE
72662014-03-02 Doug Evans <xdje42@gmail.com>
7267
7268 * infrun.c (handle_signal_stop): Replace test for
7269 TARGET_WAITKIND_STOPPED with an assert.
7270
35e6a711
DE
72712014-03-02 Doug Evans <xdje42@gmail.com>
7272
7273 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7274
667f9d0b
DE
72752014-03-02 Doug Evans <xdje42@gmail.com>
7276
7277 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7278
dc92ace0
MK
72792014-03-01 Mark Kettenis <kettenis@gnu.org>
7280
7281 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7282
a900370f
MK
72832014-03-01 Mark Kettenis <kettenis@gnu.org>
7284
7285 * i386obsd-nat.c: Include "obsd-nat.h".
7286 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7287 add_target.
7288 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7289
b72a7981
MK
72902014-03-01 Mark Kettenis <kettenis@gnu.org>
7291
7292 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7293
96c70aba
MK
72942014-03-01 Mark Kettenis <kettenis@gnu.org>
7295
7296 * mips64obsd-nat.c: Include "obsd-nath".
7297 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7298 add_target
7299 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7300
874a80af
MK
73012014-03-01 Mark Kettenis <kettenis@gnu.org>
7302
8fd408f1
MK
7303 * amd64obsd-nat.c: Include "obsd-nat,h.
7304 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7305 add_target.
874a80af
MK
7306 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7307
9cf95373
SC
73082014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7309
7310 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7311 (find_overload_match): Update call to find_oload_champ.
7312 (find_oload_champ_namespace_loop): Likewise
7313
863e4da4
MK
73142014-02-28 Mark Kettenis <kettenis@gnu.org>
7315
025cac40
MK
7316 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7317
1ed586ce
MK
7318 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7319 * config/sparc/obsd64.mh: New file.
7320 * sparc64obsd-nat.c: New file.
7321
863e4da4
MK
7322 * obsd-nat.h: New file.
7323 * obsd-nat.c: New file.
7324 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7325 (ALLDEPFILES): Add obsd-nat.c.
7326
89de4da4
TT
73272014-02-28 Tom Tromey <tromey@redhat.com>
7328
7329 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7330 * cli-out.h (cli_ui_out_impl): Now const.
7331 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7332 * ui-out.c (struct ui_out) <impl>: Now const.
7333 (default_ui_out_impl): Now const.
7334 (ui_out_new): Make 'impl' parameter const.
7335 * ui-out.h (ui_out_new): Update.
7336
c725e7b6
MK
73372014-02-27 Mark Kettenis <kettenis@gnu.org>
7338
7339 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7340
670b46b3
MK
73412014-02-27 Mark Kettenis <kettenis@gnu.org>
7342
7343 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7344
c91550fc
JK
73452014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7346
7347 Additional PR 8882 fix.
7348 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7349
2fa0369e
PA
73502014-02-27 Pedro Alves <palves@redhat.com>
7351
7352 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7353 isn't set.
7354
d632a097
PA
73552014-02-27 Pedro Alves <palves@redhat.com>
7356
7357 PR 12702
7358 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7359 * nat/linux-waitpid.c: Include string.h.
7360 (status_to_str): Moved here and made extern.
7361 * nat/linux-waitpid.h (status_to_str): New declaration.
7362
2ebd5a35
HZ
73632014-02-27 Hui Zhu <hui@codesourcery.com>
7364
7365 PR 12702
7366 * infrun.c (ptid_match): Move ...
7367 * common/ptid.c (ptid_match): ... here.
7368 * inferior.h (ptid_match): Move ...
7369 * common/ptid.h (ptid_match): ... here.
7370
3cdd631f
MK
73712014-02-27 Mark Kettenis <kettenis@gnu.org>
7372
7373 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7374 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7375 gdb_target_obs.
7376
bee30a64
MK
73772014-02-27 Mark Kettenis <kettenis@gnu.org>
7378
7379 * obsd-tdep.c (obsd_auxv_parse): New function.
7380 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
7381
7382 * gdbarch.sh (auxv_parse): New.
7383 * gdbarch.h: Regenerated.
7384 * gdbarch.c: Regenerated.
7385 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7386
7a5a839f
LC
73872014-02-26 Ludovic Courtès <ludo@gnu.org>
7388
7389 * guile/scm-value.c (gdbscm_history_append_x): New function.
7390 (value_functions): Add it.
7391
31aa7e4e
JB
73922014-02-27 Joel Brobecker <brobecker@adacore.com>
7393
7394 * dwarf2read.c (attr_value_as_address): New function.
7395 (dwarf2_find_base_address, read_call_site_scope): Use
7396 attr_value_as_address in place of DW_ADDR.
7397 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7398 the low and high addresses. Slight rework of the handling
7399 of the high pc being a constant form, and limit it to
7400 DWARF verson 4 or higher.
7401 (dwarf2_record_block_ranges): Likewise.
7402 (read_partial_die): Likewise.
7403 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7404
9b333ba3
TT
74052014-02-26 Tom Tromey <tromey@redhat.com>
7406
7407 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7408
5f6cac40
TT
74092014-02-26 Tom Tromey <tromey@redhat.com>
7410
7411 * elfread.c (elf_read_minimal_symbols): Return early if
7412 minimal symbols have already been read. Add "ei" parameter.
7413 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7414 * minsyms.c (prim_record_minimal_symbol_full): Update.
7415 * objfiles.h (struct objstats) <n_minsyms>: Move...
7416 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7417 * symmisc.c (print_objfile_statistics): Update.
7418
2750ef27
TT
74192014-02-26 Tom Tromey <tromey@redhat.com>
7420
7421 * elfread.c (elf_read_minimal_symbols): New function, from
7422 elf_symfile_read.
7423 (elf_symfile_read): Call it.
7424
34643a32
TT
74252014-02-26 Tom Tromey <tromey@redhat.com>
7426
7427 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7428 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7429 (lookup_minimal_symbol_solib_trampoline)
7430 (lookup_minimal_symbol_by_pc_section_1)
7431 (lookup_minimal_symbol_and_objfile): Update.
7432 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7433 Don't allocate a minimal symbol if minsyms have already been read.
7434 (build_minimal_symbol_hash_tables): Update.
7435 (install_minimal_symbols): Do nothing if minsyms already read.
7436 Use the per-BFD obstack.
7437 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7438 * objfiles.c (allocate_objfile): Call
7439 terminate_minimal_symbol_table later.
7440 (have_minimal_symbols): Update.
7441 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7442 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7443 Move from struct objfile.
7444 <minsyms_read>: New field.
7445 (struct objfile) <msymbols, minimal_symbol_count,
7446 msymbol_hash, msymbol_demangled_hash>: Move.
7447 (ALL_OBJFILE_MSYMBOLS): Update.
7448 * symfile.c (read_symbols): Set minsyms_read.
7449 (reread_symbols): Update.
7450 * symmisc.c (dump_objfile, dump_msymbols): Update.
7451
2273f0ac
TT
74522014-02-26 Tom Tromey <tromey@redhat.com>
7453
7454 * minsyms.c (msymbols_sort): Remove.
7455 * minsyms.h (msymbols_sort): Remove.
7456 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7457 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7458 * elfread.c (elf_symtab_read): Don't add section offsets.
7459 * xcoffread.c (record_minimal_symbol): Don't add section offset
7460 to minimal symbol address.
7461 * somread.c (text_offset, data_offset): Remove.
7462 (som_symtab_read): Don't add section offsets to minimal symbol
7463 addresses.
7464 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7465 Don't add section offsets to minimal symbols.
7466 * coffread.c (coff_symtab_read): Don't add section offsets
7467 to minimal symbol addresses.
7468 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7469 to minimal symbol addresses.
7470 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7471 section offset to minimal symbol addresses.
7472 * mdebugread.c (parse_partial_symbols): Don't add section
7473 offset to minimal symbol addresses.
7474 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7475 offset to minimal symbol addresses.
7476
77e371c0
TT
74772014-02-26 Tom Tromey <tromey@redhat.com>
7478
7479 * ada-lang.c (ada_main_name): Update.
7480 (ada_add_standard_exceptions): Update.
7481 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7482 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7483 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7484 * auxv.c (ld_so_xfer_auxv): Update.
7485 * avr-tdep.c (avr_scan_prologue): Update.
7486 * ax-gdb.c (gen_var_ref): Update.
7487 * blockframe.c (get_pc_function_start)
7488 (find_pc_partial_function_gnu_ifunc): Update.
7489 * breakpoint.c (create_overlay_event_breakpoint)
7490 (create_longjmp_master_breakpoint)
7491 (create_std_terminate_master_breakpoint)
7492 (create_exception_master_breakpoint): Update.
7493 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7494 * c-valprint.c (c_val_print): Update.
7495 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7496 * common/agent.c (agent_look_up_symbols): Update.
7497 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7498 * dwarf2loc.c (call_site_to_target_addr): Update.
7499 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7500 * elfread.c (elf_gnu_ifunc_record_cache)
7501 (elf_gnu_ifunc_resolve_by_got): Update.
7502 * findvar.c (default_read_var_value): Update.
7503 * frame.c (inside_main_func): Update.
7504 * frv-tdep.c (frv_frame_this_id): Update.
7505 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7506 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7507 Update.
7508 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7509 (hppa_hpux_find_dummy_bpaddr): Update.
7510 * hppa-tdep.c (hppa_symbol_address): Update.
7511 * infcmd.c (until_next_command): Update.
7512 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7513 Update.
7514 * linespec.c (minsym_found, add_minsym): Update.
7515 * linux-nat.c (get_signo): Update.
7516 * linux-thread-db.c (inferior_has_bug): Update.
7517 * m32c-tdep.c (m32c_return_value)
7518 (m32c_m16c_address_to_pointer): Update.
7519 * m32r-tdep.c (m32r_frame_this_id): Update.
7520 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7521 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7522 * maint.c (maintenance_translate_address): Update.
7523 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7524 (frob_address): New function.
7525 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7526 frob_address. Rename parameter to "pc_in".
7527 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7528 addresses.
7529 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7530 Update.
7531 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7532 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7533 * objc-lang.c (find_objc_msgsend): Update.
7534 * objfiles.c (objfile_relocate1): Update.
7535 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7536 * p-valprint.c (pascal_val_print): Update.
7537 * parse.c (write_exp_msymbol): Update.
7538 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7539 (ppc_elfv2_skip_entrypoint): Update.
7540 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7541 * printcmd.c (build_address_symbolic, msym_info)
7542 (address_info): Update.
7543 * proc-service.c (ps_pglobal_lookup): Update.
7544 * psymtab.c (find_pc_sect_psymtab_closer)
7545 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7546 Change msymbol parameter to bound_minimal_symbol.
7547 * ravenscar-thread.c (get_running_thread_id): Update.
7548 * remote.c (remote_check_symbols): Update.
7549 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7550 address.
7551 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7552 * solib-dsbt.c (lm_base): Update.
7553 * solib-frv.c (lm_base, main_got): Update.
7554 * solib-irix.c (locate_base): Update.
7555 * solib-som.c (som_solib_create_inferior_hook)
7556 (link_map_start): Update.
7557 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7558 * solib-svr4.c (elf_locate_base, enable_break): Update.
7559 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7560 (flush_ea_cache): Update.
7561 * stabsread.c (define_symbol, scan_file_globals): Update.
7562 * stack.c (find_frame_funname): Update.
7563 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7564 (debug_qf_find_pc_sect_symtab): Update.
7565 * symfile.c (simple_read_overlay_table)
7566 (simple_overlay_update): Update.
7567 * symfile.h (struct quick_symbol_functions)
7568 <find_pc_sect_symtab>: Change type of msymbol to
7569 bound_minimal_symbol.
7570 * symmisc.c (dump_msymbols): Update.
7571 * symtab.c (find_pc_sect_symtab_via_partial)
7572 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7573 (search_symbols, print_msymbol_info): Update.
7574 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7575 (MSYMBOL_VALUE_ADDRESS): Redefine.
7576 (BMSYMBOL_VALUE_ADDRESS): New macro.
7577 * tracepoint.c (scope_info): Update.
7578 * tui/tui-disasm.c (tui_find_disassembly_address)
7579 (tui_get_begin_asm_address): Update.
7580 * valops.c (find_function_in_inferior): Update.
7581 * value.c (value_static_field, value_fn_field): Update.
7582
3b7344d5
TT
75832014-02-26 Tom Tromey <tromey@redhat.com>
7584
7585 * ada-lang.c (ada_update_initial_language): Update.
7586 (ada_main_name, ada_has_this_exception_support): Update.
7587 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7588 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7589 * arm-tdep.c (arm_skip_stub): Update.
7590 * auxv.c (ld_so_xfer_auxv): Update.
7591 * avr-tdep.c (avr_scan_prologue): Update.
7592 * ax-gdb.c (gen_var_ref): Update.
7593 * breakpoint.c (struct breakpoint_objfile_data)
7594 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7595 type to bound_minimal_symbol.
7596 (create_overlay_event_breakpoint)
7597 (create_longjmp_master_breakpoint)
7598 (create_std_terminate_master_breakpoint)
7599 (create_exception_master_breakpoint): Update.
7600 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7601 * c-exp.y (classify_name): Update.
7602 * coffread.c (coff_symfile_read): Update.
7603 * common/agent.c (agent_look_up_symbols): Update.
7604 * d-lang.c (d_main_name): Update.
7605 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7606 * dec-thread.c (enable_dec_thread): Update.
7607 * dwarf2loc.c (call_site_to_target_addr): Update.
7608 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7609 * eval.c (evaluate_subexp_standard): Update.
7610 * findvar.c (struct minsym_lookup_data) <result>: Change type
7611 to bound_minimal_symbol.
7612 <objfile>: Remove.
7613 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7614 * frame.c (inside_main_func): Update.
7615 * frv-tdep.c (frv_frame_this_id): Update.
7616 * gcore.c (call_target_sbrk): Update.
7617 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7618 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7619 Update.
7620 * go-lang.c (go_main_name): Update.
7621 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7622 (hppa_hpux_find_import_stub_for_addr): Update.
7623 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7624 Update. Change return type.
7625 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7626 type.
7627 * jit.c (jit_breakpoint_re_set_internal): Update.
7628 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7629 Update.
7630 * linux-nat.c (get_signo): Update.
7631 * linux-thread-db.c (inferior_has_bug): Update
7632 * m32c-tdep.c (m32c_return_value)
7633 (m32c_m16c_address_to_pointer): Update.
7634 * m32r-tdep.c (m32r_frame_this_id): Update.
7635 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7636 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7637 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7638 lookup_minimal_symbol. Change return type.
7639 (lookup_minimal_symbol): Remove.
7640 (lookup_bound_minimal_symbol): Update.
7641 (lookup_minimal_symbol_text): Change return type.
7642 (lookup_minimal_symbol_solib_trampoline): Change return type.
7643 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7644 (lookup_minimal_symbol_solib_trampoline): Change return type.
7645 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7646 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7647 (value_nsstring, find_imps): Update.
7648 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7649 * p-lang.c (pascal_main_name): Update.
7650 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7651 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7652 * proc-service.c (ps_pglobal_lookup): Update.
7653 * ravenscar-thread.c (get_running_thread_msymbol): Change
7654 return type.
7655 (has_ravenscar_runtime, get_running_thread_id): Update.
7656 * remote.c (remote_check_symbols): Update.
7657 * sol-thread.c (ps_pglobal_lookup): Update.
7658 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7659 * solib-dsbt.c (lm_base): Update.
7660 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7661 Update.
7662 * solib-irix.c (locate_base): Update.
7663 * solib-som.c (som_solib_create_inferior_hook)
7664 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7665 Update.
7666 * solib-spu.c (spu_enable_break): Update.
7667 * solib-svr4.c (elf_locate_base, enable_break): Update.
7668 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7669 (flush_ea_cache): Update.
7670 * stabsread.c (define_symbol): Update.
7671 * symfile.c (simple_read_overlay_table): Update.
7672 * symtab.c (find_pc_sect_line): Update.
7673 * tracepoint.c (scope_info): Update.
7674 * tui-disasm.c (tui_get_begin_asm_address): Update.
7675 * value.c (value_static_field): Update.
7676
40c1a007
TT
76772014-02-26 Tom Tromey <tromey@redhat.com>
7678
7679 * minsyms.c (prim_record_minimal_symbol_full): Use
7680 SET_MSYMBOL_VALUE_ADDRESS.
7681 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7682 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7683 SET_MSYMBOL_VALUE_ADDRESS.
7684 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7685 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7686
efd66ac6
TT
76872014-02-26 Tom Tromey <tromey@redhat.com>
7688
7689 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7690 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7691 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7692 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7693 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7694 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7695 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7696 * ada-lang.c (ada_main_name): Update.
7697 (ada_lookup_simple_minsym): Update.
7698 (ada_make_symbol_completion_list): Update.
7699 (ada_add_standard_exceptions): Update.
7700 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7701 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7702 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7703 * arm-tdep.c (skip_prologue_function): Update.
7704 (arm_skip_stack_protector, arm_skip_stub): Update.
7705 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7706 (arm_wince_skip_main_prologue): Update.
7707 * auxv.c (ld_so_xfer_auxv): Update.
7708 * avr-tdep.c (avr_scan_prologue): Update.
7709 * ax-gdb.c (gen_var_ref): Update.
7710 * block.c (call_site_for_pc): Update.
7711 * blockframe.c (get_pc_function_start): Update.
7712 (find_pc_partial_function_gnu_ifunc): Update.
7713 * breakpoint.c (create_overlay_event_breakpoint): Update.
7714 (create_longjmp_master_breakpoint): Update.
7715 (create_std_terminate_master_breakpoint): Update.
7716 (create_exception_master_breakpoint): Update.
7717 (resolve_sal_pc): Update.
7718 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7719 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7720 Update.
7721 * c-valprint.c (c_val_print): Update.
7722 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7723 * coffread.c (coff_symfile_read): Update.
7724 * common/agent.c (agent_look_up_symbols): Update.
7725 * dbxread.c (find_stab_function_addr): Update.
7726 (end_psymtab): Update.
7727 * dwarf2loc.c (call_site_to_target_addr): Update.
7728 (func_verify_no_selftailcall): Update.
7729 (tailcall_dump): Update.
7730 (call_site_find_chain_1): Update.
7731 (dwarf_expr_reg_to_entry_parameter): Update.
7732 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7733 (elf_gnu_ifunc_resolve_by_got): Update.
7734 * f-valprint.c (info_common_command): Update.
7735 * findvar.c (read_var_value): Update.
7736 * frame.c (get_prev_frame_1): Update.
7737 (inside_main_func): Update.
7738 * frv-tdep.c (frv_skip_main_prologue): Update.
7739 (frv_frame_this_id): Update.
7740 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7741 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7742 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7743 (gnuv3_skip_trampoline): Update.
7744 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7745 (hppa64_hpux_in_solib_call_trampoline): Update.
7746 (hppa_hpux_skip_trampoline_code): Update.
7747 (hppa64_hpux_search_dummy_call_sequence): Update.
7748 (hppa_hpux_find_import_stub_for_addr): Update.
7749 (hppa_hpux_find_dummy_bpaddr): Update.
7750 * hppa-tdep.c (hppa_symbol_address)
7751 (hppa_lookup_stub_minimal_symbol): Update.
7752 * i386-tdep.c (i386_skip_main_prologue): Update.
7753 (i386_pe_skip_trampoline_code): Update.
7754 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7755 * infcall.c (get_function_name): Update.
7756 * infcmd.c (until_next_command): Update.
7757 * jit.c (jit_breakpoint_re_set_internal): Update.
7758 (jit_inferior_init): Update.
7759 * linespec.c (minsym_found): Update.
7760 (add_minsym): Update.
7761 * linux-fork.c (info_checkpoints_command): Update.
7762 * linux-nat.c (get_signo): Update.
7763 * linux-thread-db.c (inferior_has_bug): Update.
7764 * m32c-tdep.c (m32c_return_value): Update.
7765 (m32c_m16c_address_to_pointer): Update.
7766 (m32c_m16c_pointer_to_address): Update.
7767 * m32r-tdep.c (m32r_frame_this_id): Update.
7768 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7769 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7770 * maint.c (maintenance_translate_address): Update.
7771 * minsyms.c (add_minsym_to_hash_table): Update.
7772 (add_minsym_to_demangled_hash_table): Update.
7773 (msymbol_objfile): Update.
7774 (lookup_minimal_symbol): Update.
7775 (iterate_over_minimal_symbols): Update.
7776 (lookup_minimal_symbol_text): Update.
7777 (lookup_minimal_symbol_by_pc_name): Update.
7778 (lookup_minimal_symbol_solib_trampoline): Update.
7779 (lookup_minimal_symbol_by_pc_section_1): Update.
7780 (lookup_minimal_symbol_and_objfile): Update.
7781 (prim_record_minimal_symbol_full): Update.
7782 (compare_minimal_symbols): Update.
7783 (compact_minimal_symbols): Update.
7784 (build_minimal_symbol_hash_tables): Update.
7785 (install_minimal_symbols): Update.
7786 (terminate_minimal_symbol_table): Update.
7787 (find_solib_trampoline_target): Update.
7788 (minimal_symbol_upper_bound): Update.
7789 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7790 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7791 (mips_skip_pic_trampoline_code): Update.
7792 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7793 * objc-lang.c (selectors_info): Update.
7794 (classes_info): Update.
7795 (find_methods): Update.
7796 (find_imps): Update.
7797 (find_objc_msgsend): Update.
7798 * objfiles.c (objfile_relocate1): Update.
7799 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7800 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7801 * p-valprint.c (pascal_val_print): Update.
7802 * parse.c (write_exp_msymbol): Update.
7803 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7804 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7805 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7806 * printcmd.c (build_address_symbolic): Update.
7807 (sym_info): Update.
7808 (address_info): Update.
7809 * proc-service.c (ps_pglobal_lookup): Update.
7810 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7811 (find_pc_sect_psymtab): Update.
7812 * python/py-framefilter.c (py_print_frame): Update.
7813 * ravenscar-thread.c (get_running_thread_id): Update.
7814 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7815 Update.
7816 * remote.c (remote_check_symbols): Update.
7817 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7818 (rs6000_skip_trampoline_code): Update.
7819 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7820 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7821 * solib-dsbt.c (lm_base): Update.
7822 * solib-frv.c (lm_base): Update.
7823 (main_got): Update.
7824 * solib-irix.c (locate_base): Update.
7825 * solib-som.c (som_solib_create_inferior_hook): Update.
7826 (som_solib_desire_dynamic_linker_symbols): Update.
7827 (link_map_start): Update.
7828 * solib-spu.c (spu_enable_break): Update.
7829 (ocl_enable_break): Update.
7830 * solib-svr4.c (elf_locate_base): Update.
7831 (enable_break): Update.
7832 * spu-tdep.c (spu_get_overlay_table): Update.
7833 (spu_catch_start): Update.
7834 (flush_ea_cache): Update.
7835 * stabsread.c (define_symbol): Update.
7836 (scan_file_globals): Update.
7837 * stack.c (find_frame_funname): Update.
7838 (frame_info): Update.
7839 * symfile.c (simple_read_overlay_table): Update.
7840 (simple_overlay_update): Update.
7841 * symmisc.c (dump_msymbols): Update.
7842 * symtab.c (fixup_section): Update.
7843 (find_pc_sect_line): Update.
7844 (skip_prologue_sal): Update.
7845 (search_symbols): Update.
7846 (print_msymbol_info): Update.
7847 (rbreak_command): Update.
7848 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7849 (completion_list_objc_symbol): Update.
7850 (default_make_symbol_completion_list_break_on): Update.
7851 * tracepoint.c (scope_info): Update.
7852 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7853 (tui_get_begin_asm_address): Update.
7854 * valops.c (find_function_in_inferior): Update.
7855 * value.c (value_static_field): Update.
7856 (value_fn_field): Update.
7857
50e65b17
TT
78582014-02-26 Tom Tromey <tromey@redhat.com>
7859
7860 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7861 bound minimal symbols. Move code that knows about minsym
7862 table layout...
7863 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7864 function.
7865 * minsyms.h (minimal_symbol_upper_bound): Declare.
7866 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7867 minimal_symbol_upper_bound.
7868
1b588015
JB
78692014-02-27 Joel Brobecker <brobecker@adacore.com>
7870
7871 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7872 Use the type's name if its basic type does not have a tag.
7873
dbb9c2b1
JB
78742014-02-27 Joel Brobecker <brobecker@adacore.com>
7875
7876 * dwarf2read.c (read_subrange_type): Add comment.
7877
55426c9d
JB
78782014-02-27 Joel Brobecker <brobecker@adacore.com>
7879
7880 * dwarf2read.c (update_enumeration_type_from_children): New
7881 function, mostly extracted from process_structure_scope.
7882 (read_enumeration_type): Call update_enumeration_type_from_children.
7883 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7884 and flag_flag_enum fields.
7885
f2fce0ca
PA
78862014-02-26 Pedro Alves <palves@redhat.com>
7887
7888 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7889 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7890 to_xfer_partial method.
7891
7a44e40e
PA
78922014-02-26 Pedro Alves <palves@redhat.com>
7893
7894 * target.c (complete_target_initialization): Don't install
7895 default_xfer_partial as to_xfer_partial hook.
7896 (nomemory): Delete.
7897 (update_current_target): Don't INHERIT nor de_fault
7898 deprecated_xfer_memory. Delete de_fault macro.
7899 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7900 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7901 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7902 field.
7903
bd265cd0
PA
79042014-02-26 Pedro Alves <palves@redhat.com>
7905
7906 * go32-nat.c (my_write_child): New function.
7907 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7908 (go32_xfer_partial): New function.
7909 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7910 Instead install a to_xfer_partial hook.
7911
9d46c4e5
PA
79122014-02-26 Pedro Alves <palves@redhat.com>
7913
7914 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7915 to_xfer_partial helper. Rewrite.
7916 (procfs_xfer_partial): New function.
7917 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7918 Install a to_xfer_partial hook.
7919
a1583b1f
PA
79202014-02-26 Pedro Alves <palves@redhat.com>
7921
7922 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7923 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7924 (m32r_xfer_partial): New function.
7925 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7926 Install a to_xfer_partial hook.
7927
6df1b29f
PA
79282014-02-26 Pedro Alves <palves@redhat.com>
7929
7930 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7931 helper.
7932 (mips_xfer_partial): New function.
7933 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7934 hook. Install a to_xfer_partial hook.
7935
dc53a7ad
JB
79362014-02-26 Joel Brobecker <brobecker@adacore.com>
7937
7938 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7939 * gdbtypes.c (create_array_type_with_stride): New function,
7940 renaming create_array_type, but with an added parameter
7941 called "bit_stride".
7942 (create_array_type): Re-implement using
7943 create_array_type_with_stride.
7944 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7945 and DW_AT_bit_stride attributes.
7946
12ab52e9
PA
79472014-02-26 Pedro Alves <palves@redhat.com>
7948
7949 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7950 task-specific breakpoints.
7951
d16461ae
PA
79522014-02-25 Pedro Alves <palves@redhat.com>
7953
7954 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7955 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7956
a8b16220
SS
79572014-02-25 Stan Shebs <stan@codesourcery.com>
7958
7959 * defs.h: Annotate comments for Doxygen.
7960
b9e795ee
TT
79612014-02-25 Tom Tromey <tromey@redhat.com>
7962
7963 * target.h (target_ignore): Don't declare.
7964 * target.c (target_ignore): Remove.
7965
849c862e
JK
79662014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7967
7968 PR gdb/16626
7969 * auto-load.c (auto_load_objfile_script_1): Change filename to
7970 debugfile.
7971
475109d8
JB
79722014-02-25 Joel Brobecker <brobecker@adacore.com>
7973
7974 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7975 documentation. Adjust prototype to match the target_ops
7976 to_xfer_partial method. Adjust implementation accordingly.
7977
e186c3bd
HZ
79782014-02-25 Hui Zhu <hui@codesourcery.com>
7979
7980 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7981 to_traceframe_info.
7982
6d451942
KB
79832014-02-25 Kevin Buettner <kevinb@redhat.com>
7984
041ab8b4 7985 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7986 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7987 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7988 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7989 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7990 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7991 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7992 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7993 New constants.
7994 (rl78_register_type): Use a data pointer type for SP and
7995 new pseudo registers mentioned above. Use a 16 bit integer
7996 type for all other register pairs.
7997 (rl78_register_name, rl78_g10_register_name): Update for
7998 new pseudo registers.
7999 (rl78_pseudo_register_read): Likewise.
8000 (rl78_pseudo_register_write): Likewise.
8001 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8002 to the newly added pseudo registers.
8003
eddf0bae
DE
80042014-02-24 Doug Evans <dje@google.com>
8005
8006 * value.c (record_latest_value): Fix comment.
8007 * printcmd.c (print_command_1): Remove code to handle -1 return from
8008 record_latest_value.
8009
e96027e0
PA
80102014-02-24 Pedro Alves <palves@redhat.com>
8011
8012 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8013 deprecated_xfer_memory hook.
8014 (procfs_xfer_partial): Call procfs_xfer_memory instead
8015 of the deprecated_xfer_memory target hook.
8016 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8017 helper.
8018
0837c976
YZ
80192014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8020
8021 * windows-nat.c (windows_xfer_shared_libraries): Return
8022 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8023 requested object is TARGET_OBJECT_LIBRARIES.
8024
bc113b4e
YQ
80252014-02-24 Yao Qi <yao@codesourcery.com>
8026
8027 * target.h (enum target_xfer_status)
8028 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8029 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8030 explicitly. New.
8031 * corefile.c (memory_error_message): User updated.
8032 * exec.c (section_table_read_available_memory): Likewise.
8033 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8034 * target.c (target_xfer_status_to_string): Likewise.
8035 (raw_memory_xfer_partial): Likewise.
8036 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8037 * valops.c (read_value_memory): Likewise.
8038 * exec.h: Update comments.
8039
01cb8804
YQ
80402014-02-24 Yao Qi <yao@codesourcery.com>
8041
8042 * target.c (target_xfer_status_to_string): Rename argument err
8043 to status.
8044 * target.h (target_xfer_status_to_string): Update declaration.
8045 Replace target_xfer_error_to_string with
8046 target_xfer_status_to_string in comment.
8047
93063aa6
YQ
80482014-02-24 Yao Qi <yao@codesourcery.com>
8049
8050 * mips-linux-nat.c (super_close): Update its type.
8051 (mips_linux_close): Pass 'self' to super_close.
8052
5c328c05
YQ
80532014-02-24 Yao Qi <yao@codesourcery.com>
8054
8055 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8056 * corefile.c (read_memory): Adjusted.
8057 * target.c (target_write_with_progress): Adjusted.
8058
f73023dd
YQ
80592014-02-23 Yao Qi <yao@codesourcery.com>
8060
8061 Revert two patches:
8062
8063 2013-10-25 Yao Qi <yao@codesourcery.com>
8064
8065 * remote.c (remote_traceframe_info): Return early if
8066 traceframe is not selected.
8067
8068 2013-07-19 Yao Qi <yao@codesourcery.com>
8069
8070 * target.c (update_current_target): Change the default action
8071 of 'to_traceframe_info' from tcomplain to return_zero.
8072 * target.h (struct target_ops) <to_traceframe_info>: Add more
8073 comments.
8074
5a2eb0ef
YQ
80752014-02-23 Yao Qi <yao@codesourcery.com>
8076
8077 * valops.c (read_value_memory): Rewrite it. Call
8078 target_xfer_partial in a loop.
8079 * exec.h (section_table_available_memory): Remove declaration.
8080 Move comments to ...
8081 * exec.c (section_table_available_memory): ... here. Make it
8082 static.
8083
1ee79381
YQ
80842014-02-23 Yao Qi <yao@codesourcery.com>
8085
8086 * exec.c (section_table_read_available_memory): New function.
8087 * exec.h (section_table_read_available_memory): Declare.
8088 * ctf.c (ctf_xfer_partial): Call
8089 section_table_read_available_memory.
8090 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8091
1ca49d37
YQ
80922014-02-23 Yao Qi <yao@codesourcery.com>
8093
8094 * ctf.c (ctf_xfer_partial): Move code to ...
8095 * exec.c (exec_read_partial_read_only): ... it. New function.
8096 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8097 * tracefile.c: Include "exec.h".
8098 * exec.h (exec_read_partial_read_only): Declare.
8099
a283690e
YQ
81002014-02-23 Yao Qi <yao@codesourcery.com>
8101
8102 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8103 (tfile_has_memory): Remove.
8104 (init_tfile_ops): Don't set fields to_has_all_memory and
8105 to_has_memory of tfile_ops.
8106 * tracefile.c (tracefile_has_all_memory): New function.
8107 (tracefile_has_memory): New function.
8108 (init_tracefile_ops): Initialize fields to_has_all_memory and
8109 to_has_memory of 'ops'.
8110
12e03cd0
YQ
81112014-02-23 Yao Qi <yao@codesourcery.com>
8112
8113 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8114 (ctf_thread_alive, ctf_get_trace_status): Remove.
8115 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8116 init_tracefile_ops.
8117 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8118 (tfile_has_stack, tfile_has_registers): Remove.
8119 (tfile_thread_alive): Remove.
8120 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8121 init_tracefile_ops.
8122 * tracefile.c (tracefile_has_stack): New function.
8123 (tracefile_has_registers): New function.
8124 (tracefile_thread_alive): New function.
8125 (tracefile_get_trace_status): New function.
8126 (init_tracefile_ops): New function.
8127 * tracefile.h (init_tracefile_ops): Declare.
8128
11395323
YQ
81292014-02-23 Yao Qi <yao@codesourcery.com>
8130
8131 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8132 (O_LARGEFILE): Likewise.
8133 (tfile_ops): Likewise.
8134 (TRACE_HEADER_SIZE): Likewise.
8135 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8136 (cur_data_size): Likewise.
8137 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8138 (tfile_close, tfile_files_info): Likewise.
8139 (tfile_get_trace_status): Likewise.
8140 (tfile_get_tracepoint_status): Likewise.
8141 (tfile_get_traceframe_address): Likewise.
8142 (tfile_trace_find, match_blocktype): Likewise.
8143 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8144 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8145 (tfile_get_trace_state_variable_value): Likewise.
8146 (tfile_has_all_memory, tfile_has_memory): Likewise.
8147 (tfile_has_stack, tfile_has_registers): Likewise.
8148 (tfile_thread_alive, build_traceframe_info): Likewise.
8149 (tfile_traceframe_info, init_tfile_ops): Likewise.
8150 (_initialize_tracepoint): Don't call init_tfile_ops
8151 and add_target_with_completer.
8152 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8153 exec.h, completer.h and filenames.h.
8154 (_initialize_tracefile_tfile): New function.
8155
7951c4eb
YQ
81562014-02-23 Yao Qi <yao@codesourcery.com>
8157
8158 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8159 tracefile-tfile.o.
8160 (HFILES_NO_SRCDIR): Add tracefile.h.
8161 * ctf.c: Include "tracefile.h".
8162 * tracefile.h: New file.
8163 * tracefile.c: New file
8164 * tracefile-tfile.c: New file.
8165 * tracepoint.c: Include "tracefile.h".
8166 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8167 (stop_reason_names): Add const.
8168 (trace_file_writer_xfree): Move it to tracefile.c.
8169 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8170 (trace_save_ctf): Likewise.
8171 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8172 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8173 (tfile_write_header, tfile_write_regblock_type): Likewise.
8174 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8175 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8176 (tfile_write_raw_data, tfile_end): Likewise.
8177 (tfile_trace_file_writer_new): Likewise.
8178 (free_uploaded_tp): Make it extern.
8179 (free_uploaded_tsv): Make it extern.
8180 (_initialize_tracepoint): Move code to register command 'tsave'
8181 to tracefile.c.
8182 * tracepoint.h (stop_reason_names): Declare.
8183 (struct trace_frame_write_ops): Move it to tracefile.h.
8184 (struct trace_file_write_ops): Likewise.
8185 (struct trace_file_writer): Likewise.
8186 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8187
184cd072
JK
81882014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8189
8190 PR gdb/16594
8191 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8192 process name.
8193 (get_cores_used_by_process): New parameter num_cores, use it.
8194 (linux_xfer_osdata_processes): Pass num_cores to it.
8195 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8196 process name.
8197
c63528fc
AK
81982014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8199
8200 * target.c (memory_xfer_partial): Fix length arg in call to
8201 breakpoint_xfer_memory.
8202
d7b30f67
SDJ
82032014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8204
8205 PR tdep/16397
8206 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8207 number comes after the + or - signs. Adjust length of register
8208 name to be extracted.
8209
8838afaf
TT
82102014-02-20 Tom Tromey <tromey@redhat.com>
8211
8212 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8213 (ada_varobj_ops): Mark "extern".
8214
05227d14
TT
82152014-02-20 Tom Tromey <tromey@redhat.com>
8216
8217 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8218
1254eefc
DE
82192014-02-20 Doug Evans <xdje42@gmail.com>
8220
8221 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8222 All callers updated.
8223 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8224 All callers updated.
8225 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8226 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8227
adde2bff
DE
82282014-02-20 lin zuojian <manjian2006@gmail.com>
8229 Joel Brobecker <brobecker@adacore.com>
8230 Doug Evans <xdje42@gmail.com>
8231
8232 PR symtab/16581
8233 * dwarf2read.c (struct die_info): New member in_process.
8234 (reset_die_in_process): New function.
8235 (process_die): Set it at the start, reset when returning.
8236 (inherit_abstract_dies): Only call process_die if origin_child_die
8237 not already being processed.
8238
3be75f87
JB
82392014-02-20 Joel Brobecker <brobecker@adacore.com>
8240
8241 * windows-nat.c (handle_unload_dll): Add function documentation.
8242 (do_initial_windows_stuff): Add comment explaining why we wait
8243 until after inferior initialization has finished before
8244 processing all DLLs.
8245
47f7ffdb
JB
82462014-02-20 Joel Brobecker <brobecker@adacore.com>
8247
8248 * windows-nat.c (get_module_name): Delete.
8249 (windows_get_exec_module_filename): New function, mostly
8250 inspired from get_module_name.
8251 (windows_pid_to_exec_file): Replace call to get_module_name
8252 by call to windows_get_exec_module_filename.
8253
1cd9feab
JB
82542014-02-20 Joel Brobecker <brobecker@adacore.com>
8255
8256 * windows-nat.c (handle_load_dll): Rewrite this function's
8257 introductory comment. Remove code using get_module_name
8258 to get the DLL's name.
8259
ea39ad35
JB
82602014-02-20 Joel Brobecker <brobecker@adacore.com>
8261
8262 * windows-nat.c (get_windows_debug_event): Ignore
8263 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8264 if windows_initialization_done == 0.
8265 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8266 Adjust implementation to always load all DLLs.
8267 (do_initial_windows_stuff): Replace call to
8268 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8269
95060284
JB
82702014-02-20 Joel Brobecker <brobecker@adacore.com>
8271
8272 * windows-nat.c (_initialize_windows_nat): Deprecate the
8273 "dll-symbols" command. Turn the "add-shared-symbol-files"
8274 and "assf" aliases into commands, and deprecate them as well.
8275 * NEWS: Add entry explaining that "dll-symbols" and its two
8276 aliases are now deprecated.
8277
8d4fdb12
JB
82782014-02-20 Joel Brobecker <brobecker@adacore.com>
8279
8280 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8281 new-line in debug string. Remove trailing spaces.
8282
1b281443
SS
82832014-02-19 Stan Shebs <stan@codesourcery.com>
8284
8285 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8286
f7bd0f78
SC
82872014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8288
8289 * NEWS: Add entry for the new feature
8290 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8291 and class values.
8292
399ebc3d
SS
82932014-02-19 Stan Shebs <stan@codesourcery.com>
8294
8295 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8296
c658158d
PA
82972014-02-19 Pedro Alves <palves@redhat.com>
8298
8299 * common/ptid.h (struct ptid): Mention that process_stratum
8300 targets should prefer ptid.lwp.
8301
ba348170
PA
83022014-02-19 Pedro Alves <palves@redhat.com>
8303
8304 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8305 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8306 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8307 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8308 store remote thread ids rather than ptid.tid.
8309 (_initialize_remote): Adjust.
8310
ac01945b
TT
83112014-02-19 Tom Tromey <tromey@redhat.com>
8312
8313 * target.c (target_get_unwinder): Rewrite.
8314 (target_get_tailcall_unwinder): Rewrite.
8315 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8316 (record_btrace_to_get_tailcall_unwinder): New function.
8317 (init_record_btrace_ops): Update.
8318 * target.h (struct target_ops) <to_get_unwinder,
8319 to_get_tailcall_unwinder>: Now function pointers. Use
8320 TARGET_DEFAULT_RETURN.
8321
8476dc92
TT
83222014-02-19 Tom Tromey <tromey@redhat.com>
8323
8324 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8325 argument.
8326 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8327
c0eca49f
TT
83282014-02-19 Tom Tromey <tromey@redhat.com>
8329
8330 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8331 directly.
8332 * target-delegates.c: Rebuild.
8333 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8334 TARGET_DEFAULT_FUNC.
8335 * target.c (default_target_decr_pc_after_break): Rename from
8336 forward_target_decr_pc_after_break. Simplify.
8337 (target_decr_pc_after_break): Rely on delegation.
8338
596b6b39
TT
83392014-02-19 Tom Tromey <tromey@redhat.com>
8340
8341 * target.c (update_current_target): Do not INHERIT to_doc or
8342 to_magic. Do not de_fault to_open or to_close.
8343
b427c1bc
TT
83442014-02-19 Tom Tromey <tromey@redhat.com>
8345
8346 * gcore.h (objfile_find_memory_regions): Declare.
8347 * gcore.c (objfile_find_memory_regions): No longer static. Add
8348 "self" argument.
8349 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8350 * exec.c: Include gcore.h.
8351 (exec_set_find_memory_regions): Remove.
8352 (exec_find_memory_regions): Remove.
8353 (exec_do_find_memory_regions): Remove.
8354 (init_exec_ops): Update.
8355 * defs.h (exec_set_find_memory_regions): Remove.
8356
9b144037
TT
83572014-02-19 Tom Tromey <tromey@redhat.com>
8358
8359 * target-delegates.c: Rebuild.
8360 * target.h (struct target_ops) <to_extra_thread_info,
8361 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8362 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8363 not 0, in TARGET_DEFAULT_RETURN.
8364
555bbdeb
TT
83652014-02-19 Tom Tromey <tromey@redhat.com>
8366
8367 * target.c (complete_target_initialization): Remove casts. Use
8368 return_zero_has_execution.
8369 (return_zero): Add "ignore" argument.
8370 (return_zero_has_execution): New function.
8371 (init_dummy_target): Remove casts. Use
8372 return_zero_has_execution.
8373
be4ddd36
TT
83742014-02-19 Tom Tromey <tromey@redhat.com>
8375
8376 * target.c (update_current_target): Update comments. Do not
8377 INHERIT to_stratum.
8378
2117c711
TT
83792014-02-19 Tom Tromey <tromey@redhat.com>
8380
8381 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8382 needed.
8383 * corelow.c (core_read_description): Delegate when needed.
8384 * remote.c (remote_read_description): Delegate when needed.
8385 * target-delegates.c: Rebuild.
8386 * target.c (target_read_description): Rewrite.
8387 * target.h (struct target_ops) <to_read_description>: Update
8388 comment. Use TARGET_DEFAULT_RETURN.
8389
e88ef65c
TT
83902014-02-19 Tom Tromey <tromey@redhat.com>
8391
8392 * target-delegates.c: Rebuild.
8393 * target.c (update_current_target): Don't inherit or default
8394 to_can_run.
8395 (find_default_run_target): Check against delegate_can_run.
8396 * target.h (struct target_ops) <to_can_run>: Use
8397 TARGET_DEFAULT_RETURN.
8398
86a0854a
TT
83992014-02-19 Tom Tromey <tromey@redhat.com>
8400
8401 * target-delegates.c: Rebuild.
8402 * target.c (target_disconnect): Unconditionally delegate.
8403 * target.h (struct target_ops) <to_disconnect>: Use
8404 TARGET_DEFAULT_NORETURN.
8405
ee97f592
TT
84062014-02-19 Tom Tromey <tromey@redhat.com>
8407
8408 * record.c (record_stop): Unconditionally delegate.
8409 * target-delegates.c: Rebuild.
8410 * target.c (target_stop_recording): Unconditionally delegate.
8411 * target.h (struct target_ops) <to_stop_recording>: Use
8412 TARGET_DEFAULT_IGNORE.
8413
6dc7fcf4
TT
84142014-02-19 Tom Tromey <tromey@redhat.com>
8415
8416 * target-delegates.c: Rebuild.
8417 * target.c (target_enable_btrace): Unconditionally delegate.
8418 * target.h (struct target_ops) <to_enable_btrace>: Use
8419 TARGET_DEFAULT_NORETURN.
8420
eb5b20d4
TT
84212014-02-19 Tom Tromey <tromey@redhat.com>
8422
8423 * target-delegates.c: Rebuild.
8424 * target.c (target_read_btrace): Unconditionally delegate.
8425 * target.h (struct target_ops) <to_read_btrace>: Use
8426 TARGET_DEFAULT_NORETURN.
8427
9ace480d
TT
84282014-02-19 Tom Tromey <tromey@redhat.com>
8429
8430 * target-delegates.c: Rebuild.
8431 * target.c (target_teardown_btrace): Unconditionally delegate.
8432 * target.h (struct target_ops) <to_teardown_btrace>: Use
8433 TARGET_DEFAULT_NORETURN.
8434
8dc292d3
TT
84352014-02-19 Tom Tromey <tromey@redhat.com>
8436
8437 * target-delegates.c: Rebuild.
8438 * target.c (target_disable_btrace): Unconditionally delegate.
8439 * target.h (struct target_ops) <to_disable_btrace>: Use
8440 TARGET_DEFAULT_NORETURN.
8441
58a5184e
TT
84422014-02-19 Tom Tromey <tromey@redhat.com>
8443
8444 * target-delegates.c: Rebuild.
8445 * target.c (default_search_memory): New function.
8446 (simple_search_memory): Update comment.
8447 (target_search_memory): Unconditionally delegate.
8448 * target.h (struct target_ops) <to_search_memory>: Use
8449 TARGET_DEFAULT_FUNC.
8450
8de71aab
TT
84512014-02-19 Tom Tromey <tromey@redhat.com>
8452
8453 * auxv.c (default_auxv_parse): No longer static.
8454 (target_auxv_parse): Unconditionally delegate.
8455 * auxv.h (default_auxv_parse): Declare.
8456 * target-delegates.c: Rebuild.
8457 * target.c: Include auxv.h.
8458 * target.h (struct target_ops) <to_auxv_parse>: Use
8459 TARGET_DEFAULT_FUNC.
8460
6b2c5a57
TT
84612014-02-19 Tom Tromey <tromey@redhat.com>
8462
8463 * target-delegates.c: Rebuild.
8464 * target.c (target_memory_map): Unconditionally delegate.
8465 * target.h (struct target_ops) <to_memory_map>: Use
8466 TARGET_DEFAULT_RETURN.
8467
cbffc065
TT
84682014-02-19 Tom Tromey <tromey@redhat.com>
8469
8470 * target-delegates.c: Rebuild.
8471 * target.c (target_thread_alive): Unconditionally delegate.
8472 * target.h (struct target_ops) <to_thread_alive>: Use
8473 TARGET_DEFAULT_RETURN.
8474
f09e2107
TT
84752014-02-19 Tom Tromey <tromey@redhat.com>
8476
8477 * target-delegates.c: Rebuild.
8478 * target.c (target_save_record): Unconditionally delegate.
8479 * target.h (struct target_ops) <to_save_record>: Use
8480 TARGET_DEFAULT_NORETURN.
8481
07366925
TT
84822014-02-19 Tom Tromey <tromey@redhat.com>
8483
8484 * target-delegates.c: Rebuild.
8485 * target.c (target_delete_record): Unconditionally delegate.
8486 * target.h (struct target_ops) <to_delete_record>: Use
8487 TARGET_DEFAULT_NORETURN.
8488
dd2e9d25
TT
84892014-02-19 Tom Tromey <tromey@redhat.com>
8490
8491 * target-delegates.c: Rebuild.
8492 * target.c (target_record_is_replaying): Unconditionally
8493 delegate.
8494 * target.h (struct target_ops) <to_record_is_replaying>: Use
8495 TARGET_DEFAULT_RETURN.
8496
671e76cc
TT
84972014-02-19 Tom Tromey <tromey@redhat.com>
8498
8499 * target-delegates.c: Rebuild.
8500 * target.c (target_goto_record_begin): Unconditionally delegate.
8501 * target.h (struct target_ops) <to_goto_record_begin>: Use
8502 TARGET_DEFAULT_NORETURN.
8503
e9179bb3
TT
85042014-02-19 Tom Tromey <tromey@redhat.com>
8505
8506 * target-delegates.c: Rebuild.
8507 * target.c (target_goto_record_end): Unconditionally delegate.
8508 * target.h (struct target_ops) <to_goto_record_end>: Use
8509 TARGET_DEFAULT_NORETURN.
8510
05969c84
TT
85112014-02-19 Tom Tromey <tromey@redhat.com>
8512
8513 * target-delegates.c: Rebuild.
8514 * target.c (target_goto_record): Unconditionally delegate.
8515 * target.h (struct target_ops) <to_goto_record>: Use
8516 TARGET_DEFAULT_NORETURN.
8517
3679abfa
TT
85182014-02-19 Tom Tromey <tromey@redhat.com>
8519
8520 * target-delegates.c: Rebuild.
8521 * target.c (target_insn_history): Unconditionally delegate.
8522 * target.h (struct target_ops) <to_insn_history>: Use
8523 TARGET_DEFAULT_NORETURN.
8524
8444ab58
TT
85252014-02-19 Tom Tromey <tromey@redhat.com>
8526
8527 * target-delegates.c: Rebuild.
8528 * target.c (target_insn_history_from): Unconditionally delegate.
8529 * target.h (struct target_ops) <to_insn_history_from>: Use
8530 TARGET_DEFAULT_NORETURN.
8531
c29302cc
TT
85322014-02-19 Tom Tromey <tromey@redhat.com>
8533
8534 * target-delegates.c: Rebuild.
8535 * target.c (target_insn_history_range): Unconditionally delegate.
8536 * target.h (struct target_ops) <to_insn_history_range>: Use
8537 TARGET_DEFAULT_NORETURN.
8538
170049d4
TT
85392014-02-19 Tom Tromey <tromey@redhat.com>
8540
8541 * target-delegates.c: Rebuild.
8542 * target.c (target_call_history): Unconditionally delegate.
8543 * target.h (struct target_ops) <to_call_history>: Use
8544 TARGET_DEFAULT_NORETURN.
8545
16fc27d6
TT
85462014-02-19 Tom Tromey <tromey@redhat.com>
8547
8548 * target-delegates.c: Rebuild.
8549 * target.c (target_call_history_from): Unconditionally delegate.
8550 * target.h (struct target_ops) <to_call_history_from>: Use
8551 TARGET_DEFAULT_NORETURN.
8552
115d9817
TT
85532014-02-19 Tom Tromey <tromey@redhat.com>
8554
8555 * target-delegates.c: Rebuild.
8556 * target.c (target_call_history_range): Unconditionally delegate.
8557 * target.h (struct target_ops) <to_call_history_range>: Use
8558 TARGET_DEFAULT_NORETURN.
8559
eb276a6b
TT
85602014-02-19 Tom Tromey <tromey@redhat.com>
8561
8562 * target-delegates.c: Rebuild.
8563 * target.c (target_verify_memory): Unconditionally delegate.
8564 * target.h (struct target_ops) <to_verify_memory>: Use
8565 TARGET_DEFAULT_NORETURN.
8566
9e538d0d
TT
85672014-02-19 Tom Tromey <tromey@redhat.com>
8568
8569 * target-delegates.c: Rebuild.
8570 * target.c (target_core_of_thread): Unconditionally delegate.
8571 * target.h (struct target_ops) <to_core_of_thread>: Use
8572 TARGET_DEFAULT_RETURN.
8573
f6fb2925
TT
85742014-02-19 Tom Tromey <tromey@redhat.com>
8575
8576 * target-delegates.c: Rebuild.
8577 * target.c (target_flash_done): Unconditionally delegate.
8578 * target.h (struct target_ops) <to_flash_done>: Use
8579 TARGET_DEFAULT_NORETURN.
8580
e8a6c6ac
TT
85812014-02-19 Tom Tromey <tromey@redhat.com>
8582
8583 * target-delegates.c: Rebuild.
8584 * target.c (target_flash_erase): Unconditionally delegate.
8585 * target.h (struct target_ops) <to_flash_erase>: Use
8586 TARGET_DEFAULT_NORETURN.
8587
7e35c012
TT
85882014-02-19 Tom Tromey <tromey@redhat.com>
8589
8590 * target-delegates.c: Rebuild.
8591 * target.c (target_get_section_table): Unconditionally delegate.
8592 * target.h (struct target_ops) <to_get_section_table>: Use
8593 TARGET_DEFAULT_RETURN.
8594
770234d3
TT
85952014-02-19 Tom Tromey <tromey@redhat.com>
8596
8597 * target-delegates.c: Rebuild.
8598 * target.c (target_pid_to_str): Unconditionally delegate.
8599 (init_dummy_target): Don't initialize to_pid_to_str.
8600 (default_pid_to_str): Rename from dummy_pid_to_str.
8601 * target.h (struct target_ops) <to_pid_to_str>: Use
8602 TARGET_DEFAULT_FUNC.
8603
09b0dc2b
TT
86042014-02-19 Tom Tromey <tromey@redhat.com>
8605
8606 * target-delegates.c: Rebuild.
8607 * target.c (target_find_new_threads): Unconditionally delegate.
8608 * target.h (struct target_ops) <to_find_new_threads>: Use
8609 TARGET_DEFAULT_RETURN.
8610
7d4f8efa
TT
86112014-02-19 Tom Tromey <tromey@redhat.com>
8612
8613 * target-delegates.c: Rebuild.
8614 * target.c (target_program_signals): Unconditionally delegate.
8615 * target.h (struct target_ops) <to_program_signals>: Use
8616 TARGET_DEFAULT_IGNORE.
8617
035cad7f
TT
86182014-02-19 Tom Tromey <tromey@redhat.com>
8619
8620 * target-delegates.c: Rebuild.
8621 * target.c (target_pass_signals): Unconditionally delegate.
8622 * target.h (struct target_ops) <to_pass_signals>: Use
8623 TARGET_DEFAULT_IGNORE.
8624
8d657035
TT
86252014-02-19 Tom Tromey <tromey@redhat.com>
8626
8627 * target-delegates.c: Rebuild.
8628 * target.c (default_mourn_inferior): New function.
8629 (target_mourn_inferior): Unconditionally delegate.
8630 * target.h (struct target_ops) <to_mourn_inferior>: Use
8631 TARGET_DEFAULT_FUNC.
8632
098dba18
TT
86332014-02-19 Tom Tromey <tromey@redhat.com>
8634
8635 * target-delegates.c: Rebuild.
8636 * target.c (default_follow_fork): New function.
8637 (target_follow_fork): Unconditionally delegate.
8638 * target.h (struct target_ops) <to_follow_fork>: Use
8639 TARGET_DEFAULT_FUNC.
8640
423a4807
TT
86412014-02-19 Tom Tromey <tromey@redhat.com>
8642
8643 * target-delegates.c: Rebuild.
8644 * target.c (target_kill): Unconditionally delegate.
8645 * target.h (struct target_ops) <to_kill>: Use
8646 TARGET_DEFAULT_NORETURN.
8647
6c7e5e5c
TT
86482014-02-19 Tom Tromey <tromey@redhat.com>
8649
8650 * target-delegates.c: Rebuild.
8651 * target.c (target_masked_watch_num_registers): Unconditionally
8652 delegate.
8653 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8654 Use TARGET_DEFAULT_RETURN.
8655
8b1c364c
TT
86562014-02-19 Tom Tromey <tromey@redhat.com>
8657
8658 * target-delegates.c: Rebuild.
8659 * target.c (target_remove_mask_watchpoint): Unconditionally
8660 delegate.
8661 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8662 TARGET_DEFAULT_RETURN.
8663
cd4ae029
TT
86642014-02-19 Tom Tromey <tromey@redhat.com>
8665
8666 * target-delegates.c: Rebuild.
8667 * target.c (target_insert_mask_watchpoint): Unconditionally
8668 delegate.
8669 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8670 TARGET_DEFAULT_RETURN.
8671
a134316b
TT
86722014-02-19 Tom Tromey <tromey@redhat.com>
8673
8674 * target-delegates.c: Rebuild.
8675 * target.c (target_ranged_break_num_registers): Unconditionally
8676 delegate.
8677 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8678 Use TARGET_DEFAULT_RETURN.
8679
ad5989bd
TT
86802014-02-19 Tom Tromey <tromey@redhat.com>
8681
8682 * target-delegates.c: Rebuild.
8683 * target.c (target_fetch_registers): Unconditionally delegate.
8684 * target.h (struct target_ops) <to_fetch_registers>: Use
8685 TARGET_DEFAULT_NORETURN.
8686
46ee7e8d
TT
86872014-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_stop.
8692 * target.h (struct target_ops) <to_stop>: Use
8693 TARGET_DEFAULT_IGNORE.
8694
843f59ed
TT
86952014-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_can_run_breakpoint_commands.
8700 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8701 Use TARGET_DEFAULT_RETURN.
8702
ccfde2a0
TT
87032014-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_supports_evaluation_of_breakpoint_conditions.
8708 * target.h (struct target_ops)
8709 <to_supports_evaluation_of_breakpoint_conditions>: Use
8710 TARGET_DEFAULT_RETURN.
8711
0de91722
TT
87122014-02-19 Tom Tromey <tromey@redhat.com>
8713
8714 * target-delegates.c: Rebuild.
8715 * target.c (update_current_target): Don't inherit or default
8716 to_augmented_libraries_svr4_read.
8717 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8718 Use TARGET_DEFAULT_RETURN.
8719
9a7d8b48
TT
87202014-02-19 Tom Tromey <tromey@redhat.com>
8721
8722 * target-delegates.c: Rebuild.
8723 * target.c (update_current_target): Don't inherit or default
8724 to_can_use_agent.
8725 * target.h (struct target_ops) <to_can_use_agent>: Use
8726 TARGET_DEFAULT_RETURN.
8727
d9db5b21
TT
87282014-02-19 Tom Tromey <tromey@redhat.com>
8729
8730 * target-delegates.c: Rebuild.
8731 * target.c (update_current_target): Don't inherit or default
8732 to_use_agent.
8733 * target.h (struct target_ops) <to_use_agent>: Use
8734 TARGET_DEFAULT_NORETURN.
8735
92155eeb
TT
87362014-02-19 Tom Tromey <tromey@redhat.com>
8737
8738 * target-delegates.c: Rebuild.
8739 * target.c (update_current_target): Don't inherit or default
8740 to_traceframe_info.
8741 (return_null): Remove.
8742 * target.h (struct target_ops) <to_traceframe_info>: Use
8743 TARGET_DEFAULT_RETURN.
8744
d6522a22
TT
87452014-02-19 Tom Tromey <tromey@redhat.com>
8746
8747 * target-delegates.c: Rebuild.
8748 * target.c (update_current_target): Don't inherit or default
8749 to_static_tracepoint_markers_by_strid.
8750 * target.h (struct target_ops)
8751 <to_static_tracepoint_markers_by_strid>: Use
8752 TARGET_DEFAULT_NORETURN.
8753
4c3e4425
TT
87542014-02-19 Tom Tromey <tromey@redhat.com>
8755
8756 * target-delegates.c: Rebuild.
8757 * target.c (update_current_target): Don't inherit or default
8758 to_static_tracepoint_marker_at.
8759 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8760 Use TARGET_DEFAULT_RETURN.
8761
dcd6917f
TT
87622014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target-delegates.c: Rebuild.
8765 * target.c (update_current_target): Don't inherit or default
8766 to_set_permissions.
8767 * target.h (struct target_ops) <to_set_permissions>: Use
8768 TARGET_DEFAULT_IGNORE.
8769
22bcceee
TT
87702014-02-19 Tom Tromey <tromey@redhat.com>
8771
8772 * target-delegates.c: Rebuild.
8773 * target.c (update_current_target): Don't inherit or default
8774 to_get_tib_address.
8775 * target.h (struct target_ops) <to_get_tib_address>: Use
8776 TARGET_DEFAULT_NORETURN.
8777
8586ccaa
TT
87782014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target-delegates.c: Rebuild.
8781 * target.c (update_current_target): Don't inherit or default
8782 to_set_trace_notes.
8783 * target.h (struct target_ops) <to_set_trace_notes>: Use
8784 TARGET_DEFAULT_RETURN.
8785
91df8d1d
TT
87862014-02-19 Tom Tromey <tromey@redhat.com>
8787
8788 * target-delegates.c: Rebuild.
8789 * target.c (update_current_target): Don't initialize
8790 to_set_trace_buffer_size.
8791 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8792 TARGET_DEFAULT_IGNORE.
8793
8d526939
TT
87942014-02-19 Tom Tromey <tromey@redhat.com>
8795
8796 * target-delegates.c: Rebuild.
8797 * target.c (update_current_target): Don't inherit or default
8798 to_set_circular_trace_buffer.
8799 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8800 TARGET_DEFAULT_IGNORE.
8801
0bcfeddf
TT
88022014-02-19 Tom Tromey <tromey@redhat.com>
8803
8804 * target-delegates.c: Rebuild.
8805 * target.c (update_current_target): Don't inherit or default
8806 to_set_disconnected_tracing.
8807 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8808 TARGET_DEFAULT_IGNORE.
8809
9249843f
TT
88102014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target-delegates.c: Rebuild.
8813 * target.c (update_current_target): Don't inherit or default
8814 to_get_min_fast_tracepoint_insn_len.
8815 (return_minus_one): Remove.
8816 * target.h (struct target_ops)
8817 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8818
ace92e7d
TT
88192014-02-19 Tom Tromey <tromey@redhat.com>
8820
8821 * target-delegates.c: Rebuild.
8822 * target.c (update_current_target): Don't inherit or default
8823 to_get_raw_trace_data.
8824 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8825 TARGET_DEFAULT_NORETURN.
8826
08120467
TT
88272014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * target-delegates.c: Rebuild.
8830 * target.c (update_current_target): Don't inherit or default
8831 to_upload_trace_state_variables.
8832 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8833 Use TARGET_DEFAULT_RETURN.
8834
1e949b00
TT
88352014-02-19 Tom Tromey <tromey@redhat.com>
8836
8837 * target-delegates.c: Rebuild.
8838 * target.c (update_current_target): Don't inherit or default
8839 to_upload_tracepoints.
8840 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8841 TARGET_DEFAULT_RETURN.
8842
a2e6c147
TT
88432014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target-delegates.c: Rebuild.
8846 * target.c (update_current_target): Don't inherit or default
8847 to_save_trace_data.
8848 * target.h (struct target_ops) <to_save_trace_data>: Use
8849 TARGET_DEFAULT_NORETURN.
8850
959bcd0b
TT
88512014-02-19 Tom Tromey <tromey@redhat.com>
8852
8853 * target-delegates.c: Rebuild.
8854 * target.c (update_current_target): Don't inherit or default
8855 to_get_trace_state_variable_value.
8856 * target.h (struct target_ops)
8857 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8858
afc94e66
TT
88592014-02-19 Tom Tromey <tromey@redhat.com>
8860
8861 * target-delegates.c: Rebuild.
8862 * target.c (update_current_target): Don't inherit or default
8863 to_trace_find.
8864 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8865
e51c07ea
TT
88662014-02-19 Tom Tromey <tromey@redhat.com>
8867
8868 * target-delegates.c: Rebuild.
8869 * target.c (update_current_target): Don't inherit or default
8870 to_trace_stop.
8871 * target.h (struct target_ops) <to_trace_stop>: Use
8872 TARGET_DEFAULT_NORETURN.
8873
6fea14cd
TT
88742014-02-19 Tom Tromey <tromey@redhat.com>
8875
8876 * target-delegates.c: Rebuild.
8877 * target.c (update_current_target): Don't inherit or default
8878 to_get_tracepoint_status.
8879 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8880 TARGET_DEFAULT_NORETURN.
8881
4072d4ff
TT
88822014-02-19 Tom Tromey <tromey@redhat.com>
8883
8884 * target-delegates.c: Rebuild.
8885 * target.c (update_current_target): Don't inherit or default
8886 to_get_trace_status.
8887 * target.h (struct target_ops) <to_get_trace_status>: Use
8888 TARGET_DEFAULT_RETURN.
8889
25da2e80
TT
88902014-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_trace_start.
8895 * target.h (struct target_ops) <to_trace_start>: Use
8896 TARGET_DEFAULT_NORETURN.
8897
86dd181d
TT
88982014-02-19 Tom Tromey <tromey@redhat.com>
8899
8900 * target-delegates.c: Rebuild.
8901 * target.c (update_current_target): Don't inherit or default
8902 to_trace_set_readonly_regions.
8903 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8904 Use TARGET_DEFAULT_NORETURN.
8905
05c41993
TT
89062014-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_disable_tracepoint.
8911 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8912 TARGET_DEFAULT_NORETURN.
8913
151f70f1
TT
89142014-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_enable_tracepoint.
8919 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8920 TARGET_DEFAULT_NORETURN.
8921
94eb98b9
TT
89222014-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_download_trace_state_variable.
8927 * target.h (struct target_ops) <to_download_trace_state_variable>:
8928 Use TARGET_DEFAULT_NORETURN.
8929
719acc4a
TT
89302014-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_can_download_tracepoint.
8935 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8936 TARGET_DEFAULT_RETURN.
8937
9a980a22
TT
89382014-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_download_tracepoint.
8943 * target.h (struct target_ops) <to_download_tracepoint>: Use
8944 TARGET_DEFAULT_NORETURN.
8945
5536135b
TT
89462014-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_trace_init.
8951 * target.h (struct target_ops) <to_trace_init>: Use
8952 TARGET_DEFAULT_RETURN.
8953
9409d39e
TT
89542014-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_supports_string_tracing.
8959 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8960 TARGET_DEFAULT_RETURN.
8961
aab1b22d
TT
89622014-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_supports_enable_disable_tracepoint.
8967 * target.h (struct target_ops)
8968 <to_supports_enable_disable_tracepoint>: Use
8969 TARGET_DEFAULT_RETURN.
8970
a7304748
TT
89712014-02-19 Tom Tromey <tromey@redhat.com>
8972
8973 * target-delegates.c: Rebuild.
8974 * target.c (update_current_target): Don't inherit or default
8975 to_supports_multi_process.
8976 * target.h (struct target_ops) <to_supports_multi_process>: Use
8977 TARGET_DEFAULT_RETURN.
8978
4229b31d
TT
89792014-02-19 Tom Tromey <tromey@redhat.com>
8980
8981 * target-delegates.c: Rebuild.
8982 * target.c (update_current_target): Don't inherit or default
8983 to_get_ada_task_ptid.
8984 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8985 TARGET_DEFAULT_FUNC.
8986
43eba180
TT
89872014-02-19 Tom Tromey <tromey@redhat.com>
8988
8989 * target-delegates.c: Rebuild.
8990 * target.c (update_current_target): Don't inherit or default
8991 to_thread_architecture.
8992 * target.h (struct target_ops) <to_thread_architecture>: Use
8993 TARGET_DEFAULT_FUNC.
8994
fe31bf5b
TT
89952014-02-19 Tom Tromey <tromey@redhat.com>
8996
8997 * target-delegates.c: Rebuild.
8998 * target.c (update_current_target): Don't inherit or default
8999 to_execution_direction.
9000 * target.h (struct target_ops) <to_execution_direction>: Use
9001 TARGET_DEFAULT_FUNC.
9002
53e1cfc7
TT
90032014-02-19 Tom Tromey <tromey@redhat.com>
9004
9005 * target-delegates.c: Rebuild.
9006 * target.c (update_current_target): Don't inherit or default
9007 to_can_execute_reverse.
9008 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9009 TARGET_DEFAULT_RETURN.
9010 (target_can_execute_reverse): Unconditionally delegate.
9011
9bb9d61d
TT
90122014-02-19 Tom Tromey <tromey@redhat.com>
9013
9014 * target-delegates.c: Rebuild.
9015 * target.c (update_current_target): Don't inherit or default
9016 to_goto_bookmark.
9017 (dummy_goto_bookmark): Remove.
9018 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9019 * target.h (struct target_ops) <to_goto_bookmark>: Use
9020 TARGET_DEFAULT_NORETURN.
9021
3dbafbbb
TT
90222014-02-19 Tom Tromey <tromey@redhat.com>
9023
9024 * target-delegates.c: Rebuild.
9025 * target.c (update_current_target): Don't inherit or default
9026 to_get_bookmark.
9027 (dummy_get_bookmark): Remove.
9028 (init_dummy_target): Don't inherit or default to_get_bookmark.
9029 * target.h (struct target_ops) <to_get_bookmark>: Use
9030 TARGET_DEFAULT_NORETURN
9031
16f796b1
TT
90322014-02-19 Tom Tromey <tromey@redhat.com>
9033
9034 * target-delegates.c: Rebuild.
9035 * target.c (update_current_target): Don't inherit or default
9036 to_make_corefile_notes.
9037 (init_dummy_target): Don't initialize to_make_corefile_notes.
9038 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9039 TARGET_DEFAULT_FUNC.
9040
0b5a2719
TT
90412014-02-19 Tom Tromey <tromey@redhat.com>
9042
9043 * target-delegates.c: Rebuild.
9044 * target.c (update_current_target): Don't inherit or default
9045 to_find_memory_regions.
9046 (init_dummy_target): Don't initialize to_find_memory_regions.
9047 * target.h (struct target_ops) <to_find_memory_regions>: Use
9048 TARGET_DEFAULT_FUNC.
9049
d9cb0195
TT
90502014-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_log_command.
9055 * target.h (struct target_ops) <to_log_command>: Use
9056 TARGET_DEFAULT_IGNORE.
9057 (target_log_command): Unconditionally delegate.
9058
830ca330
TT
90592014-02-19 Tom Tromey <tromey@redhat.com>
9060
9061 * target-delegates.c: Rebuild.
9062 * target.c (update_current_target): Don't inherit or default
9063 to_pid_to_exec_file.
9064 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9065 TARGET_DEFAULT_RETURN.
9066
825828fc
TT
90672014-02-19 Tom Tromey <tromey@redhat.com>
9068
9069 * target-delegates.c: Rebuild.
9070 * target.c (update_current_target): Don't inherit or default
9071 to_thread_name.
9072 (target_thread_name): Unconditionally delegate.
9073 * target.h (struct target_ops) <to_thread_name>: Use
9074 TARGET_DEFAULT_RETURN.
9075
4a7e6dda
TT
90762014-02-19 Tom Tromey <tromey@redhat.com>
9077
9078 * target-delegates.c: Rebuild.
9079 * target.c (update_current_target): Don't inherit or default
9080 to_extra_thread_info.
9081 * target.h (struct target_ops) <to_extra_thread_info>: Use
9082 TARGET_DEFAULT_RETURN.
9083
0db88c1d
TT
90842014-02-19 Tom Tromey <tromey@redhat.com>
9085
9086 * target-delegates.c: Rebuild.
9087 * target.c (update_current_target): Don't inherit or default
9088 to_has_exited.
9089 * target.h (struct target_ops) <to_has_exited>: Use
9090 TARGET_DEFAULT_RETURN..
9091
6a9fa051
TT
90922014-02-19 Tom Tromey <tromey@redhat.com>
9093
9094 * target-delegates.c: Rebuild.
9095 * target.c (update_current_target): Don't inherit or default
9096 to_set_syscall_catchpoint.
9097 (return_one): Remove.
9098 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9099 TARGET_DEFAULT_RETURN.
9100
62f64d7a
TT
91012014-02-19 Tom Tromey <tromey@redhat.com>
9102
9103 * target-delegates.c: Rebuild.
9104 * target.c (update_current_target): Don't inherit or default
9105 to_insert_exec_catchpoint.
9106 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9107 TARGET_DEFAULT_RETURN.
9108
cda0f38c
TT
91092014-01-08 Tom Tromey <tromey@redhat.com>
9110
9111 * target-delegates.c: Rebuild.
9112 * target.c (update_current_target): Don't inherit or default
9113 to_insert_exec_catchpoint.
9114 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9115 TARGET_DEFAULT_RETURN.
9116
95c3375e
TT
91172014-02-19 Tom Tromey <tromey@redhat.com>
9118
9119 * target-delegates.c: Rebuild.
9120 * target.c (update_current_target): Don't inherit or default
9121 to_remove_vfork_catchpoint.
9122 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9123 TARGET_DEFAULT_RETURN.
9124
7e18a8dc
TT
91252014-02-19 Tom Tromey <tromey@redhat.com>
9126
9127 * target-delegates.c: Rebuild.
9128 * target.c (update_current_target): Don't inherit or default
9129 to_insert_vfork_catchpoint.
9130 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9131 TARGET_DEFAULT_RETURN.
9132
e1a21fb7
TT
91332014-02-19 Tom Tromey <tromey@redhat.com>
9134
9135 * target-delegates.c: Rebuild.
9136 * target.c (update_current_target): Don't inherit or default
9137 to_remove_fork_catchpoint.
9138 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9139 TARGET_DEFAULT_RETURN.
9140
5958ebeb
TT
91412014-02-19 Tom Tromey <tromey@redhat.com>
9142
9143 * target-delegates.c: Rebuild.
9144 * target.c (update_current_target): Don't inherit or default
9145 to_insert_fork_catchpoint.
9146 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9147 TARGET_DEFAULT_RETURN.
9148
340ba4bf
TT
91492014-02-19 Tom Tromey <tromey@redhat.com>
9150
9151 * target-delegates.c: Rebuild.
9152 * target.c (update_current_target): Don't inherit or default
9153 to_post_startup_inferior.
9154 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9155 TARGET_DEFAULT_IGNORE.
9156
7634da87
TT
91572014-02-19 Tom Tromey <tromey@redhat.com>
9158
9159 * target-delegates.c: Rebuild.
9160 * target.c (update_current_target): Don't inherit or default
9161 to_load.
9162 * target.h (struct target_ops) <to_load>: Use
9163 TARGET_DEFAULT_NORETURN.
9164
e19e919f
TT
91652014-02-19 Tom Tromey <tromey@redhat.com>
9166
9167 * target-delegates.c: Rebuild.
9168 * target.c (update_current_target): Don't inherit or default
9169 to_terminal_info.
9170 * target.h (struct target_ops) <to_terminal_info>: Use
9171 TARGET_DEFAULT_FUNC.
9172
c6ea8f79
TT
91732014-02-19 Tom Tromey <tromey@redhat.com>
9174
9175 * target-delegates.c: Rebuild.
9176 * target.c (update_current_target): Don't inherit or default
9177 to_terminal_save_ours.
9178 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9179 TARGET_DEFAULT_IGNORE.
9180
e4a733f1
TT
91812014-02-19 Tom Tromey <tromey@redhat.com>
9182
9183 * target-delegates.c: Rebuild.
9184 * target.c (update_current_target): Don't inherit or default
9185 to_terminal_ours.
9186 * target.h (struct target_ops) <to_terminal_ours>: Use
9187 TARGET_DEFAULT_IGNORE.
9188
74fcbef9
TT
91892014-02-19 Tom Tromey <tromey@redhat.com>
9190
9191 * target-delegates.c: Rebuild.
9192 * target.c (update_current_target): Don't inherit or default
9193 to_terminal_ours_for_output.
9194 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9195 TARGET_DEFAULT_IGNORE.
9196
ddeaacc9
TT
91972014-02-19 Tom Tromey <tromey@redhat.com>
9198
9199 * target-delegates.c: Rebuild.
9200 * target.c (update_current_target): Don't inherit or default
9201 to_terminal_inferior.
9202 * target.h (struct target_ops) <to_terminal_inferior>: Use
9203 TARGET_DEFAULT_IGNORE.
9204
0343661d
TT
92052014-02-19 Tom Tromey <tromey@redhat.com>
9206
9207 * target-delegates.c: Rebuild.
9208 * target.c (update_current_target): Don't inherit or default
9209 to_terminal_init.
9210 * target.h (struct target_ops) <to_terminal_init>: Use
9211 TARGET_DEFAULT_IGNORE.
9212
77cdffe9
TT
92132014-02-19 Tom Tromey <tromey@redhat.com>
9214
9215 * target-delegates.c: Rebuild.
9216 * target.c (update_current_target): Don't inherit or default
9217 to_can_accel_watchpoint_condition.
9218 * target.h (struct target_ops)
9219 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9220
d03655e4
TT
92212014-02-19 Tom Tromey <tromey@redhat.com>
9222
9223 * target-delegates.c: Rebuild.
9224 * target.c (update_current_target): Don't inherit or default
9225 to_region_ok_for_hw_watchpoint.
9226 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9227 Use TARGET_DEFAULT_FUNC.
9228
65f160a9
TT
92292014-02-19 Tom Tromey <tromey@redhat.com>
9230
9231 * target-delegates.c: Rebuild.
9232 * target.c (update_current_target): Don't inherit or default
9233 to_watchpoint_addr_within_range.
9234 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9235 Use TARGET_DEFAULT_FUNC.
9236
61dd109f
TT
92372014-02-19 Tom Tromey <tromey@redhat.com>
9238
9239 * target-delegates.c: Rebuild.
9240 * target.c (update_current_target): Don't inherit or default
9241 to_remove_watchpoint.
9242 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9243 TARGET_DEFAULT_NORETURN.
9244
016facd4
TT
92452014-02-19 Tom Tromey <tromey@redhat.com>
9246
9247 * target-delegates.c: Rebuild.
9248 * target.c (update_current_target): Don't inherit or default
9249 to_insert_watchpoint.
9250 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9251 TARGET_DEFAULT_RETURN.
9252
418dabac
TT
92532014-02-19 Tom Tromey <tromey@redhat.com>
9254
9255 * target-delegates.c: Rebuild.
9256 * target.c (update_current_target): Don't inherit or default
9257 to_remove_hw_breakpoint.
9258 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9259 TARGET_DEFAULT_RETURN.
9260
61b371f9
TT
92612014-02-19 Tom Tromey <tromey@redhat.com>
9262
9263 * target-delegates.c: Rebuild.
9264 * target.c (update_current_target): Don't inherit or default
9265 to_insert_hw_breakpoint.
9266 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9267 TARGET_DEFAULT_RETURN.
9268
52b51d06
TT
92692014-02-19 Tom Tromey <tromey@redhat.com>
9270
9271 * target-delegates.c: Rebuild.
9272 * target.c (update_current_target): Don't inherit or default
9273 to_can_use_hw_breakpoint.
9274 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9275 TARGET_DEFAULT_RETURN.
9276
f86e59b2
TT
92772014-02-19 Tom Tromey <tromey@redhat.com>
9278
9279 * target-delegates.c: Rebuild.
9280 * target.c (update_current_target): Don't inherit or default
9281 to_files_info.
9282 * target.h (struct target_ops) <to_files_info>: Use
9283 TARGET_DEFAULT_IGNORE.
9284
6c628163
TT
92852014-02-19 Tom Tromey <tromey@redhat.com>
9286
9287 * target-delegates.c: Rebuild.
9288 * target.c (update_current_target): Don't inherit or default
9289 to_store.
9290 * target.h (struct target_ops) <to_store>: Use
9291 TARGET_DEFAULT_NORETURN.
9292
bebd3233
TT
92932014-02-19 Tom Tromey <tromey@redhat.com>
9294
9295 * target-delegates.c: Rebuild.
9296 * target.c (update_current_target): Don't inherit or default
9297 to_post_attach.
9298 * target.h (struct target_ops) <to_post_attach>: Use
9299 TARGET_DEFAULT_IGNORE.
9300
a53f3625
TT
93012014-02-19 Tom Tromey <tromey@redhat.com>
9302
9303 * target-delegates.c: Rebuild.
9304 * target.c (update_current_target): Don't inherit or default
9305 to_rcmd.
9306 (default_rcmd): New function.
9307 (do_monitor_command): Unconditionally delegate.
9308 * target.h (struct target_ops) <to_rmcd>: Use
9309 TARGET_DEFAULT_FUNC.
9310
e9a29200
TT
93112014-02-19 Tom Tromey <tromey@redhat.com>
9312
9313 * target-delegates.c: Rebuild.
9314 * target.c (init_dummy_target): Don't initialize to_attach.
9315 (target_attach): Unconditionally delegate.
9316 * target.h (struct target_ops) <to_attach>: Use
9317 TARGET_DEFAULT_FUNC.
9318
09da0d0a
TT
93192014-02-19 Tom Tromey <tromey@redhat.com>
9320
9321 * target-delegates.c: Rebuild.
9322 * target.c (target_detach): Unconditionally delegate.
9323 (init_dummy_target): Don't initialize to_detach.
9324 * target.h (struct target_ops) <to_detach>: Use
9325 TARGET_DEFAULT_IGNORE.
9326
5436ff03
TT
93272014-02-19 Tom Tromey <tromey@redhat.com>
9328
9329 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9330 Add argument.
9331 (target_augmented_libraries_svr4_read): Add argument.
9332 * target.c (update_current_target): Update.
9333 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9334 argument.
9335
f0d960ea
TT
93362014-02-19 Tom Tromey <tromey@redhat.com>
9337
9338 * target.h (struct target_ops) <to_call_history_range>: Add
9339 argument.
9340 * target.c (target_call_history_range): Add argument.
9341 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9342 argument.
9343 (record_btrace_call_history_from): Update.
9344
ec0aea04
TT
93452014-02-19 Tom Tromey <tromey@redhat.com>
9346
9347 * target.h (struct target_ops) <to_call_history_from>: Add
9348 argument.
9349 * target.c (target_call_history_from): Add argument.
9350 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9351 argument.
9352
5df2fcba
TT
93532014-02-19 Tom Tromey <tromey@redhat.com>
9354
9355 * target.h (struct target_ops) <to_call_history>: Add argument.
9356 * target.c (target_call_history): Add argument.
9357 * record-btrace.c (record_btrace_call_history): Add 'self'
9358 argument.
9359
4e99c6b7
TT
93602014-02-19 Tom Tromey <tromey@redhat.com>
9361
9362 * target.h (struct target_ops) <to_insn_history_range>: Add
9363 argument.
9364 * target.c (target_insn_history_range): Add argument.
9365 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9366 argument.
9367 (record_btrace_insn_history_from): Update.
9368
9abc3ff3
TT
93692014-02-19 Tom Tromey <tromey@redhat.com>
9370
9371 * target.h (struct target_ops) <to_insn_history_from>: Add
9372 argument.
9373 * target.c (target_insn_history_from): Add argument.
9374 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9375 argument.
9376
7a6c5609
TT
93772014-02-19 Tom Tromey <tromey@redhat.com>
9378
9379 * target.h (struct target_ops) <to_insn_history>: Add argument.
9380 * target.c (target_insn_history): Add argument.
9381 * record-btrace.c (record_btrace_insn_history): Add 'self'
9382 argument.
9383
606183ac
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * target.h (struct target_ops) <to_goto_record>: Add argument.
9387 * target.c (target_goto_record): Add argument.
9388 * record-full.c (record_full_goto): Add 'self' argument.
9389 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9390
307a1b91
TT
93912014-02-19 Tom Tromey <tromey@redhat.com>
9392
9393 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9394 * target.c (target_goto_record_end): Add argument.
9395 * record-full.c (record_full_goto_end): Add 'self' argument.
9396 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9397
08475817
TT
93982014-02-19 Tom Tromey <tromey@redhat.com>
9399
9400 * target.h (struct target_ops) <to_goto_record_begin>: Add
9401 argument.
9402 * target.c (target_goto_record_begin): Add argument.
9403 * record-full.c (record_full_goto_begin): Add 'self' argument.
9404 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9405 argument.
9406
1c63c994
TT
94072014-02-19 Tom Tromey <tromey@redhat.com>
9408
9409 * target.h (struct target_ops) <to_record_is_replaying>: Add
9410 argument.
9411 * target.c (target_record_is_replaying): Add argument.
9412 * record-full.c (record_full_is_replaying): Add 'self' argument.
9413 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9414 argument.
9415 (record_btrace_xfer_partial, record_btrace_store_registers)
9416 (record_btrace_prepare_to_store, record_btrace_resume)
9417 (record_btrace_wait, record_btrace_decr_pc_after_break)
9418 (record_btrace_find_new_threads, record_btrace_thread_alive):
9419 Update.
9420
d1b55219
TT
94212014-02-19 Tom Tromey <tromey@redhat.com>
9422
9423 * target.h (struct target_ops) <to_delete_record>: Add argument.
9424 * target.c (target_delete_record): Add argument.
9425 * record-full.c (record_full_delete): Add 'self' argument.
9426
1390f529
TT
94272014-02-19 Tom Tromey <tromey@redhat.com>
9428
9429 * target.h (struct target_ops) <to_save_record>: Add argument.
9430 * target.c (target_save_record): Add argument.
9431 * record-full.c (record_full_save): Add 'self' argument.
9432 (record_full_save): Add 'self' argument.
9433
630d6a4a
TT
94342014-02-19 Tom Tromey <tromey@redhat.com>
9435
9436 * target.h (struct target_ops) <to_info_record>: Add argument.
9437 * target.c (target_info_record): Add argument.
9438 * record.c (info_record_command): Add argument.
9439 * record-full.c (record_full_info): Add 'self' argument.
9440 * record-btrace.c (record_btrace_info): Add 'self' argument.
9441
c6cd7c02
TT
94422014-02-19 Tom Tromey <tromey@redhat.com>
9443
9444 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9445 * target.c (target_stop_recording): Add argument.
9446 * record.c (record_stop): Add argument.
9447 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9448 argument.
9449
39c49f83
TT
94502014-02-19 Tom Tromey <tromey@redhat.com>
9451
9452 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9453 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9454 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9455 argument.
9456 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9457 (_initialize_amd64_linux_nat): Use it.
9458 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9459 (_initialize_i386_linux_nat): Use it.
9460
1777056d
TT
94612014-02-19 Tom Tromey <tromey@redhat.com>
9462
9463 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9464 * target.c (target_teardown_btrace): Add argument.
9465 * remote.c (remote_teardown_btrace): Add 'self' argument.
9466 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9467 argument.
9468 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9469 argument.
9470
25e95349
TT
94712014-02-19 Tom Tromey <tromey@redhat.com>
9472
9473 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9474 * target.c (target_disable_btrace): Add argument.
9475 * remote.c (remote_disable_btrace): Add 'self' argument.
9476 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9477 argument.
9478 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9479 argument.
9480
e3c49f88
TT
94812014-02-19 Tom Tromey <tromey@redhat.com>
9482
9483 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9484 * target.c (target_enable_btrace): Add argument.
9485 * remote.c (remote_enable_btrace): Add 'self' argument.
9486 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9487 argument.
9488 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9489 argument.
9490
fe38f897
TT
94912014-02-19 Tom Tromey <tromey@redhat.com>
9492
9493 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9494 (target_can_use_agent): Add argument.
9495 * target.c (update_current_target): Update.
9496 * remote.c (remote_can_use_agent): Add 'self' argument.
9497 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9498
2c152180
TT
94992014-02-19 Tom Tromey <tromey@redhat.com>
9500
9501 * target.h (struct target_ops) <to_use_agent>: Add argument.
9502 (target_use_agent): Add argument.
9503 * target.c (update_current_target): Update.
9504 * remote.c (remote_use_agent): Add 'self' argument.
9505 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9506
a893e81f
TT
95072014-02-19 Tom Tromey <tromey@redhat.com>
9508
9509 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9510 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9511 (target_traceframe_info): Add argument.
9512 * target.c (update_current_target): Update.
9513 * remote.c (remote_traceframe_info): Add 'self' argument.
9514 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9515
c686c57f
TT
95162014-02-19 Tom Tromey <tromey@redhat.com>
9517
9518 * target.h (target_static_tracepoint_markers_by_strid): Add
9519 argument.
9520 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9521 'self' argument.
9522 * target.c (update_current_target): Update.
9523 * remote.c (struct target_ops)
9524 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9525 * linux-nat.c (struct target_ops)
9526 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9527
61fc905d
TT
95282014-02-19 Tom Tromey <tromey@redhat.com>
9529
9530 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9531 Add argument.
9532 (target_static_tracepoint_marker_at): Add argument.
9533 * target.c (update_current_target): Update.
9534 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9535 argument.
9536
c378d69d
TT
95372014-02-19 Tom Tromey <tromey@redhat.com>
9538
9539 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9540 (target_set_permissions): Add argument.
9541 * target.c (update_current_target): Update.
9542 * remote.c (remote_set_permissions): Add 'self' argument.
9543 (remote_start_remote): Update.
9544
bd7ae0f5
TT
95452014-02-19 Tom Tromey <tromey@redhat.com>
9546
9547 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9548 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9549 (target_get_tib_address): Add argument.
9550 * target.c (update_current_target): Update.
9551 * remote.c (remote_get_tib_address): Add 'self' argument.
9552
d9e68a2c
TT
95532014-02-19 Tom Tromey <tromey@redhat.com>
9554
9555 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9556 (target_set_trace_notes): Add argument.
9557 * target.c (update_current_target): Update.
9558 * remote.c (remote_set_trace_notes): Add 'self' argument.
9559
4da384be
TT
95602014-02-19 Tom Tromey <tromey@redhat.com>
9561
9562 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9563 argument.
9564 (target_set_trace_buffer_size): Add argument.
9565 * target.c (update_current_target): Update.
9566 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9567
736d5b1f
TT
95682014-02-19 Tom Tromey <tromey@redhat.com>
9569
9570 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9571 argument.
9572 (target_set_circular_trace_buffer): Add argument.
9573 * target.c (update_current_target): Update.
9574 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9575 argument.
9576
37b25738
TT
95772014-02-19 Tom Tromey <tromey@redhat.com>
9578
9579 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9580 argument.
9581 (target_set_disconnected_tracing): Add argument.
9582 * target.c (update_current_target): Update.
9583 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9584
0e67620a
TT
95852014-02-19 Tom Tromey <tromey@redhat.com>
9586
9587 * target.h (struct target_ops)
9588 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9589 (target_get_min_fast_tracepoint_insn_len): Add argument.
9590 * target.c (update_current_target): Update.
9591 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9592 argument.
9593
88ee6f45
TT
95942014-02-19 Tom Tromey <tromey@redhat.com>
9595
9596 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9597 argument.
9598 (target_get_raw_trace_data): Add argument.
9599 * target.c (update_current_target): Update.
9600 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9601
181e3713
TT
96022014-02-19 Tom Tromey <tromey@redhat.com>
9603
9604 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9605 Add argument.
9606 (target_upload_trace_state_variables): Add argument.
9607 * target.c (update_current_target): Update.
9608 * remote.c (remote_upload_trace_state_variables): Add 'self'
9609 argument.
9610 (remote_start_remote): Update.
9611
ab6617cc
TT
96122014-02-19 Tom Tromey <tromey@redhat.com>
9613
9614 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9615 argument.
9616 (target_upload_tracepoints): Add argument.
9617 * target.c (update_current_target): Update.
9618 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9619 (remote_start_remote): Update.
9620
dc3decaf
TT
96212014-02-19 Tom Tromey <tromey@redhat.com>
9622
9623 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9624 (target_save_trace_data): Add argument.
9625 * target.c (update_current_target): Update.
9626 * remote.c (remote_save_trace_data): Add 'self' argument.
9627
4011015b
TT
96282014-02-19 Tom Tromey <tromey@redhat.com>
9629
9630 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9631 argument.
9632 * target.h (struct target_ops)
9633 <to_get_trace_state_variable_value>: Add argument.
9634 (target_get_trace_state_variable_value): Add argument.
9635 * target.c (update_current_target): Update.
9636 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9637 argument.
9638 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9639
bd4c6793
TT
96402014-02-19 Tom Tromey <tromey@redhat.com>
9641
9642 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9643 * target.h (struct target_ops) <to_trace_find>: Add argument.
9644 (target_trace_find): Add argument.
9645 * target.c (update_current_target): Update.
9646 * remote.c (remote_trace_find): Add 'self' argument.
9647 * ctf.c (ctf_trace_find): Add 'self' argument.
9648
74499f1b
TT
96492014-02-19 Tom Tromey <tromey@redhat.com>
9650
9651 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9652 (target_trace_stop): Add argument.
9653 * target.c (update_current_target): Update.
9654 * remote.c (remote_trace_stop): Add 'self' argument.
9655
db90e85c
TT
96562014-02-19 Tom Tromey <tromey@redhat.com>
9657
9658 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9659 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9660 argument.
9661 (target_get_tracepoint_status): Add argument.
9662 * target.c (update_current_target): Update.
9663 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9664
8bd200f1
TT
96652014-02-19 Tom Tromey <tromey@redhat.com>
9666
9667 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9668 * target.h (struct target_ops) <to_get_trace_status>: Add
9669 argument.
9670 (target_get_trace_status): Add argument.
9671 * target.c (update_current_target): Update.
9672 * remote.c (remote_get_trace_status): Add 'self' argument.
9673 (remote_start_remote, remote_can_download_tracepoint): Update.
9674 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9675
e2d1aae3
TT
96762014-02-19 Tom Tromey <tromey@redhat.com>
9677
9678 * target.h (struct target_ops) <to_trace_start>: Add argument.
9679 (target_trace_start): Add argument.
9680 * target.c (update_current_target): Update.
9681 * remote.c (remote_trace_start): Add 'self' argument.
9682
583f9a86
TT
96832014-02-19 Tom Tromey <tromey@redhat.com>
9684
9685 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9686 Add argument.
9687 (target_trace_set_readonly_regions): Add argument.
9688 * target.c (update_current_target): Update.
9689 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9690 argument.
9691
780b049c
TT
96922014-02-19 Tom Tromey <tromey@redhat.com>
9693
9694 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9695 argument.
9696 (target_disable_tracepoint): Add argument.
9697 * target.c (update_current_target): Update.
9698 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9699
46670d57
TT
97002014-02-19 Tom Tromey <tromey@redhat.com>
9701
9702 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9703 argument.
9704 (target_enable_tracepoint): Add argument.
9705 * target.c (update_current_target): Update.
9706 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9707
559d2b81
TT
97082014-02-19 Tom Tromey <tromey@redhat.com>
9709
9710 * target.h (struct target_ops) <to_download_trace_state_variable>:
9711 Add argument.
9712 (target_download_trace_state_variable): Add argument.
9713 * target.c (update_current_target): Update.
9714 * remote.c (remote_download_trace_state_variable): Add 'self'
9715 argument.
9716
a52a8357
TT
97172014-02-19 Tom Tromey <tromey@redhat.com>
9718
9719 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9720 argument.
9721 (target_can_download_tracepoint): Add argument.
9722 * target.c (update_current_target): Update.
9723 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9724
548f7808
TT
97252014-02-19 Tom Tromey <tromey@redhat.com>
9726
9727 * target.h (struct target_ops) <to_download_tracepoint>: Add
9728 argument.
9729 (target_download_tracepoint): Add argument.
9730 * target.c (update_current_target): Update.
9731 * remote.c (remote_download_tracepoint): Add 'self' argument.
9732
ecae04e1
TT
97332014-02-19 Tom Tromey <tromey@redhat.com>
9734
9735 * target.h (struct target_ops) <to_trace_init>: Add argument.
9736 (target_trace_init): Add argument.
9737 * target.c (update_current_target): Update.
9738 * remote.c (remote_trace_init): Add 'self' argument.
9739
fab5aa7c
TT
97402014-02-19 Tom Tromey <tromey@redhat.com>
9741
9742 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9743 * target.c (target_fileio_readlink): Add argument.
9744 * remote.c (remote_hostio_readlink): Add 'self' argument.
9745 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9746
dbbca37d
TT
97472014-02-19 Tom Tromey <tromey@redhat.com>
9748
9749 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9750 * target.c (target_fileio_unlink): Add argument.
9751 * remote.c (remote_hostio_unlink): Add 'self' argument.
9752 (remote_file_delete): Update.
9753 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9754
df39ea25
TT
97552014-02-19 Tom Tromey <tromey@redhat.com>
9756
9757 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9758 * target.c (target_fileio_close): Add argument.
9759 * remote.c (remote_hostio_close): Add 'self' argument.
9760 (remote_hostio_close_cleanup): Update.
9761 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9762 Update.
9763 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9764
a3be983c
TT
97652014-02-19 Tom Tromey <tromey@redhat.com>
9766
9767 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9768 * target.c (target_fileio_pread): Add argument.
9769 * remote.c (remote_hostio_pread): Add 'self' argument.
9770 (remote_bfd_iovec_pread, remote_file_get): Update.
9771 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9772
0d866f62
TT
97732014-02-19 Tom Tromey <tromey@redhat.com>
9774
9775 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9776 * target.c (target_fileio_pwrite): Add argument.
9777 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9778 (remote_file_put): Update.
9779 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9780
cd897586
TT
97812014-02-19 Tom Tromey <tromey@redhat.com>
9782
9783 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9784 * target.c (target_fileio_open): Add argument.
9785 * remote.c (remote_hostio_open): Add 'self' argument.
9786 (remote_bfd_iovec_open): Add 'self' argument.
9787 (remote_file_put): Add 'self' argument.
9788 (remote_file_get): Add 'self' argument.
9789 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9790
78eff0ec
TT
97912014-02-19 Tom Tromey <tromey@redhat.com>
9792
9793 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9794 Add argument.
9795 (target_can_run_breakpoint_commands): Add argument.
9796 * target.c (update_current_target): Update.
9797 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9798 argument.
9799 (remote_insert_breakpoint): Add 'self' argument.
9800 (remote_insert_hw_breakpoint): Add 'self' argument.
9801 (remote_can_run_breakpoint_commands): Add 'self' argument.
9802
efcc2da7
TT
98032014-02-19 Tom Tromey <tromey@redhat.com>
9804
9805 * target.h (struct target_ops)
9806 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9807 (target_supports_evaluation_of_breakpoint_conditions): Add
9808 argument.
9809 * target.c (update_current_target): Update.
9810 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9811 argument.
9812 (remote_insert_breakpoint): Add 'self' argument.
9813 (remote_insert_hw_breakpoint): Add 'self' argument.
9814 (remote_supports_cond_breakpoints): Add 'self' argument.
9815
6de37a3a
TT
98162014-02-19 Tom Tromey <tromey@redhat.com>
9817
9818 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9819 argument.
9820 (target_supports_string_tracing): Add argument.
9821 * target.c (update_current_target): Update.
9822 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9823
2bfc0540
TT
98242014-02-19 Tom Tromey <tromey@redhat.com>
9825
9826 * target.h (struct target_ops)
9827 <to_supports_disable_randomization>: Add argument.
9828 * target.c (find_default_supports_disable_randomization): Add
9829 argument.
9830 (target_supports_disable_randomization): Add argument.
9831 (find_default_supports_disable_randomization): Add 'self'
9832 argument.
9833 * remote.c (extended_remote_supports_disable_randomization): Add
9834 'self' argument.
9835 (remote_supports_disable_randomization): Add 'self' argument.
9836 (extended_remote_create_inferior): Update.
9837 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9838 'self' argument.
9839
7d178d6a
TT
98402014-02-19 Tom Tromey <tromey@redhat.com>
9841
9842 * target.h (struct target_ops)
9843 <to_supports_enable_disable_tracepoint>: Add argument.
9844 (target_supports_enable_disable_tracepoint): Add argument.
9845 * target.c (update_current_target): Update.
9846 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9847 argument.
9848
86ce2668
TT
98492014-02-19 Tom Tromey <tromey@redhat.com>
9850
9851 * target.h (struct target_ops) <to_supports_multi_process>: Add
9852 argument.
9853 (target_supports_multi_process): Add argument.
9854 * target.c (update_current_target): Update.
9855 * remote.c (remote_supports_multi_process): Add 'self' argument.
9856 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9857 argument.
9858 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9859 argument.
9860
4c612759
TT
98612014-02-19 Tom Tromey <tromey@redhat.com>
9862
9863 * target.h (struct target_ops) <to_execution_direction>: Add
9864 argument.
9865 (target_execution_direction): Add argument.
9866 * target.c (default_execution_direction): Add 'self' argument.
9867 * record-full.c (record_full_execution_direction): Add 'self'
9868 argument.
9869
19db3e69
TT
98702014-02-19 Tom Tromey <tromey@redhat.com>
9871
9872 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9873 argument.
9874 (target_can_execute_reverse): Add argument.
9875 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9876 * record-full.c (record_full_can_execute_reverse): Add 'self'
9877 argument.
9878 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9879 argument.
9880
1e6b91a4
TT
98812014-02-19 Tom Tromey <tromey@redhat.com>
9882
9883 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9884 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9885 argument.
9886 (target_get_ada_task_ptid): Add argument.
9887 * target.c (update_current_target): Update.
9888 (default_get_ada_task_ptid): Add 'self' argument.
9889 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9890 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9891 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9892 argument.
9893 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9894 argument.
9895 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9896 argument.
9897 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9898 argument.
9899 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9900 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9901 argument.
9902
3c80fb48
TT
99032014-02-19 Tom Tromey <tromey@redhat.com>
9904
9905 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9906 (target_goto_bookmark): Add argument.
9907 * target.c (dummy_goto_bookmark): Add 'self' argument.
9908 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9909
dd0e2830
TT
99102014-02-19 Tom Tromey <tromey@redhat.com>
9911
9912 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9913 (target_get_bookmark): Add argument.
9914 * target.c (dummy_get_bookmark): Add 'self' argument.
9915 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9916
fc6691b2
TT
99172014-02-19 Tom Tromey <tromey@redhat.com>
9918
9919 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9920 argument.
9921 (target_make_corefile_notes): Add argument.
9922 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9923 * procfs.c (procfs_make_note_section): Add 'self' argument.
9924 (procfs_make_note_section): Add 'self' argument.
9925 (procfs_make_note_section): Add 'self' argument.
9926 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9927 argument.
9928 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9929 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9930 * exec.c (exec_make_note_section): Add 'self' argument.
9931 (exec_make_note_section): Add 'self' argument.
9932
2e73927c
TT
99332014-02-19 Tom Tromey <tromey@redhat.com>
9934
9935 * target.h (struct target_ops) <to_find_memory_regions>: Add
9936 argument.
9937 (target_find_memory_regions): Add argument.
9938 * target.c (dummy_find_memory_regions): Add 'self' argument.
9939 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9940 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9941 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9942 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9943 * exec. (exec_do_find_memory_regions): New global.
9944 (exec_set_find_memory_regions): Rewrite.
9945 (exec_find_memory_regions): New function.
9946 (init_exec_ops): Use exec_find_memory_regions.
9947
2a9a2795
TT
99482014-02-19 Tom Tromey <tromey@redhat.com>
9949
9950 * target.h (struct target_ops) <to_supports_non_stop>: Add
9951 argument.
9952 * target.c (find_default_supports_non_stop): Add argument.
9953 (target_supports_non_stop): Add argument.
9954 (find_default_supports_non_stop): Add 'self' argument.
9955 * remote.c (remote_supports_non_stop): Add 'self' argument.
9956 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9957
4ab76ea3
TT
99582014-02-19 Tom Tromey <tromey@redhat.com>
9959
9960 * target.h (struct target_ops) <to_log_command>: Add argument.
9961 (target_log_command): Add argument.
9962 * serial.h (serial_log_command): Add 'self' argument.
9963 * serial.c (serial_log_command): Add 'self' argument.
9964
8dd27370
TT
99652014-02-19 Tom Tromey <tromey@redhat.com>
9966
9967 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9968 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9969 argument.
9970 (target_pid_to_exec_file): Add argument.
9971 * target.c (debug_to_pid_to_exec_file): Add argument.
9972 (update_current_target): Update.
9973 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9974 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9975 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9976 (linux_handle_extended_wait): Update.
9977 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9978 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9979 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9980 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9981
1aac633b
TT
99822014-02-19 Tom Tromey <tromey@redhat.com>
9983
9984 * target.h (struct target_ops) <to_rcmd>: Add argument.
9985 (target_rcmd): Add argument.
9986 * target.c (debug_to_rcmd): Add argument.
9987 (update_current_target, do_monitor_command): Update.
9988 * remote.c (remote_rcmd): Add 'self' argument.
9989 * monitor.c (monitor_rcmd): Add 'self' argument.
9990
1eab8a48
TT
99912014-02-19 Tom Tromey <tromey@redhat.com>
9992
9993 * windows-nat.c (windows_stop): Add 'self' argument.
9994 * target.h (struct target_ops) <to_stop>: Add argument.
9995 * target.c (target_stop): Add argument.
9996 (debug_to_stop): Add argument.
9997 (update_current_target): Update.
9998 * remote.c (remote_stop): Add 'self' argument.
9999 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10000 (gdbsim_cntrl_c): Update.
10001 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10002 * procfs.c (procfs_stop): Add 'self' argument.
10003 * nto-procfs.c (procfs_stop): Add 'self' argument.
10004 * monitor.c (monitor_stop): Add 'self' argument.
10005 (monitor_open): Update.
10006 * linux-nat.c (linux_nat_stop): Add argument.
10007 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10008 * gnu-nat.c (gnu_stop): Add 'self' argument.
10009 * darwin-nat.c (darwin_stop): Add 'self' argument.
10010
503a628d
TT
100112014-02-19 Tom Tromey <tromey@redhat.com>
10012
10013 * target.h (struct target_ops) <to_thread_name>: Add argument.
10014 * target.c (target_thread_name): Add argument.
10015 (update_current_target): Update.
10016 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10017
c15906d8
TT
100182014-02-19 Tom Tromey <tromey@redhat.com>
10019
10020 * target.h (struct target_ops) <to_extra_thread_info>: Add
10021 argument.
10022 (target_extra_thread_info): Add argument.
10023 * target.c (update_current_target): Update.
10024 * remote.c (remote_threads_extra_info): Add 'self' argument.
10025 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10026 argument.
10027 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10028 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10029 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10030 argument.
10031 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10032 argument.
10033 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10034 argument.
10035 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10036 argument.
10037
daf5e9b6
TT
100382014-02-19 Tom Tromey <tromey@redhat.com>
10039
10040 * target.h (struct target_ops) <to_program_signals>: Add argument.
10041 * target.c (target_program_signals): Add argument.
10042 * remote.c (remote_program_signals): Add 'self' argument.
10043
94bedb42
TT
100442014-02-19 Tom Tromey <tromey@redhat.com>
10045
10046 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10047 * target.c (target_pass_signals): Add argument.
10048 * remote.c (remote_pass_signals): Add 'self' argument.
10049 (remote_start_remote): Update.
10050 * procfs.c (procfs_pass_signals): Add 'self' argument.
10051 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10052 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10053 (linux_nat_create_inferior, linux_nat_attach): Update.
10054
da82bd6b
TT
100552014-02-19 Tom Tromey <tromey@redhat.com>
10056
10057 * windows-nat.c (windows_can_run): Add 'self' argument.
10058 * target.h (struct target_ops) <to_can_run>: Add argument.
10059 (target_can_run): Add argument.
10060 * target.c (debug_to_can_run): Add argument.
10061 (update_current_target): Update.
10062 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10063 * inf-child.c (inf_child_can_run): Add 'self' argument.
10064 * go32-nat.c (go32_can_run): Add 'self' argument.
10065
d796e1d6
TT
100662014-02-19 Tom Tromey <tromey@redhat.com>
10067
10068 * target.h (struct target_ops) <to_has_exited>: Add argument.
10069 (target_has_exited): Add argument.
10070 * target.c (debug_to_has_exited): Add argument.
10071 (update_current_target): Update.
10072
ff214e67
TT
100732014-02-19 Tom Tromey <tromey@redhat.com>
10074
10075 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10076 argument.
10077 (target_set_syscall_catchpoint): Add argument.
10078 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10079 argument.
10080 * target.c (update_current_target): Update.
10081
758e29d2
TT
100822014-02-19 Tom Tromey <tromey@redhat.com>
10083
10084 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10085 argument.
10086 (target_remove_exec_catchpoint): Add argument.
10087 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10088 (update_current_target): Update.
10089 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10090 argument.
10091
ba025e51
TT
100922014-02-19 Tom Tromey <tromey@redhat.com>
10093
10094 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10095 argument.
10096 (target_insert_exec_catchpoint): Add argument.
10097 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10098 (update_current_target): Update.
10099 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10100 argument.
10101
e98cf0cd
TT
101022014-02-19 Tom Tromey <tromey@redhat.com>
10103
10104 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10105 argument.
10106 (target_remove_vfork_catchpoint): Add argument.
10107 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10108 (update_current_target): Update.
10109 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10110 argument.
10111
3ecc7da0
TT
101122014-02-19 Tom Tromey <tromey@redhat.com>
10113
10114 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10115 argument.
10116 (target_insert_vfork_catchpoint): Add argument.
10117 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10118 (update_current_target): Update.
10119 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10120 argument.
10121
973fc227
TT
101222014-02-19 Tom Tromey <tromey@redhat.com>
10123
10124 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10125 argument.
10126 (target_remove_fork_catchpoint): Add argument.
10127 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10128 (update_current_target): Update.
10129 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10130 argument.
10131
a863b201
TT
101322014-02-19 Tom Tromey <tromey@redhat.com>
10133
10134 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10135 argument.
10136 (target_insert_fork_catchpoint): Add argument.
10137 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10138 (update_current_target): Update.
10139 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10140 argument.
10141
2e97a79e
TT
101422014-02-19 Tom Tromey <tromey@redhat.com>
10143
10144 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10145 argument.
10146 (target_post_startup_inferior): Add argument.
10147 * target.c (debug_to_post_startup_inferior): Add argument.
10148 (update_current_target): Update.
10149 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10150 argument.
10151 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10152 argument.
10153 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10154 argument.
10155 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10156 argument.
10157 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10158 'self' argument.
10159 (super_post_startup_inferior): Likewise.
10160 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10161 'self' argument.
10162 (super_post_startup_inferior): Likewise.
10163 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10164 Add 'self' argument.
10165 (super_post_startup_inferior): Likewise.
10166
71a9f134
TT
101672014-02-19 Tom Tromey <tromey@redhat.com>
10168
10169 * target.h (struct target_ops) <to_load>: Add argument.
10170 * target.c (target_load): Add argument.
10171 (debug_to_load): Add argument.
10172 (update_current_target): Update.
10173 * remote.c (remote_load): Add 'self' argument.
10174 * remote-sim.c (gdbsim_load): Add 'self' argument.
10175 * remote-mips.c (mips_load): Add 'self' argument.
10176 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10177 * monitor.c (monitor_load): Add 'self' argument.
10178 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10179
0a4f40a2
TT
101802014-02-19 Tom Tromey <tromey@redhat.com>
10181
10182 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10183 (target_terminal_info): Add argument.
10184 * target.c (debug_to_terminal_info): Add argument.
10185 (default_terminal_info): Likewise.
10186 * inflow.c (child_terminal_info): Add 'self' argument.
10187 * inferior.h (child_terminal_info): Add 'self' argument.
10188 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10189
ae3bd431
TT
101902014-02-19 Tom Tromey <tromey@redhat.com>
10191
10192 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10193 argument.
10194 (target_terminal_save_ours): Add argument.
10195 * target.c (debug_to_terminal_save_ours): Add argument.
10196 (update_current_target): Update.
10197 * inflow.c (terminal_save_ours): Add 'self' argument.
10198 * inferior.h (terminal_save_ours): Add 'self' argument.
10199
e3594fd1
TT
102002014-02-19 Tom Tromey <tromey@redhat.com>
10201
10202 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10203 (target_terminal_ours): Add argument.
10204 * target.c (debug_to_terminal_ours): Add argument.
10205 (update_current_target): Update.
10206 * remote.c (remote_terminal_ours): Add 'self' argument.
10207 (remote_close): Update.
10208 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10209 * inflow.c (terminal_ours): Add 'self' argument.
10210 * inferior.h (terminal_ours): Add 'self' argument.
10211 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10212
2e1e1a19
TT
102132014-02-19 Pedro Alves <palves@redhat.com>
10214 Tom Tromey <tromey@redhat.com>
10215
10216 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10217 argument.
10218 (target_terminal_ours_for_output): Add argument.
10219 * target.c (debug_to_terminal_ours_for_output): Add argument.
10220 (update_current_target): Update.
10221 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10222 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10223 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10224
d2f640d4
TT
102252014-02-19 Tom Tromey <tromey@redhat.com>
10226
10227 * target.h (struct target_ops) <to_terminal_inferior>: Add
10228 argument.
10229 * target.c (target_terminal_inferior): Add argument.
10230 (update_current_target): Update.
10231 * remote.c (remote_terminal_inferior): Add 'self' argument.
10232 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10233 * inflow.c (terminal_inferior): Add 'self' argument.
10234 * inferior.h (terminal_inferior): Add 'self' argument.
10235 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10236 (go32_terminal_inferior): Add 'self' argument.
10237
c42bf286
TT
102382014-02-19 Tom Tromey <tromey@redhat.com>
10239
10240 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10241 (target_terminal_init): Add argument.
10242 * target.c (debug_to_terminal_init): Add argument.
10243 (update_current_target): Update.
10244 * inflow.c (terminal_init_inferior): Add 'self' argument.
10245 * inferior.h (terminal_init_inferior): Add 'self' argument.
10246 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10247 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10248
c3a5ff89
TT
102492014-02-19 Tom Tromey <tromey@redhat.com>
10250
10251 * target.h (struct target_ops)
10252 <to_can_accel_watchpoint_condition>: Add argument.
10253 (target_can_accel_watchpoint_condition): Add argument.
10254 * target.c (debug_to_can_accel_watchpoint_condition): Add
10255 argument.
10256 (update_current_target): Update.
10257 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10258 'self' argument.
10259
31568a15
TT
102602014-02-19 Tom Tromey <tromey@redhat.com>
10261
10262 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10263 Add argument.
10264 (target_region_ok_for_hw_watchpoint): Add argument.
10265 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10266 (default_region_ok_for_hw_watchpoint): Add argument.
10267 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10268 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10269 argument.
10270 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10271 argument.
10272 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10273 argument.
10274 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10275 'self' argument.
10276 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10277 'self' argument.
10278 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10279 'self' argument.
10280 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10281 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10282 'self' argument.
10283 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10284 Add 'self' argument.
10285
7bb99c53
TT
102862014-02-19 Tom Tromey <tromey@redhat.com>
10287
10288 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10289 argument.
10290 (target_insert_watchpoint): Add argument.
10291 * target.c (debug_to_insert_watchpoint): Add argument.
10292 (update_current_target): Update.
10293 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10294 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10295 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10296 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10297 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10298 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10299 argument.
10300 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10301 (procfs_insert_hw_watchpoint): Add 'self' argument.
10302 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10303 argument.
10304 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10305 argument.
10306 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10307 argument.
10308 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10309 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10310 argument.
10311 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10312 'self' argument.
10313
11b5219a
TT
103142014-02-19 Tom Tromey <tromey@redhat.com>
10315
10316 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10317 argument.
10318 (target_remove_watchpoint): Add argument.
10319 * target.c (debug_to_remove_watchpoint): Add argument.
10320 (update_current_target): Update.
10321 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10322 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10323 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10324 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10325 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10326 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10327 argument.
10328 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10329 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10330 argument.
10331 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10332 argument.
10333 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10334 argument.
10335 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10336 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10337 argument.
10338 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10339 'self' argument.
10340
a64dc96c
TT
103412014-02-19 Tom Tromey <tromey@redhat.com>
10342
10343 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10344 argument.
10345 (target_remove_hw_breakpoint): Add argument.
10346 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10347 (update_current_target): Update.
10348 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10349 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10350 argument.
10351 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10352 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10353 argument.
10354 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10355 'self' argument.
10356
23a26771
TT
103572014-02-19 Tom Tromey <tromey@redhat.com>
10358
10359 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10360 argument.
10361 (target_insert_hw_breakpoint): Add argument.
10362 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10363 (update_current_target): Update.
10364 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10365 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10366 argument.
10367 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10368 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10369 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10370 argument.
10371 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10372 'self' argument.
10373
5461485a
TT
103742014-02-19 Tom Tromey <tromey@redhat.com>
10375
10376 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10377 argument.
10378 (target_can_use_hardware_watchpoint): Add argument.
10379 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10380 (update_current_target): Update.
10381 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10382 argument.
10383 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10384 argument.
10385 * remote.c (remote_check_watch_resources): Add 'self' argument.
10386 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10387 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10388 argument.
10389 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10390 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10391 argument.
10392 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10393 argument.
10394 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10395 argument.
10396 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10397 argument.
10398 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10399 argument.
10400 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10401 argument.
10402 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10403 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10404 argument.
10405 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10406 'self' argument.
10407
f045800c
TT
104082014-02-19 Tom Tromey <tromey@redhat.com>
10409
10410 * target.h (struct target_ops) <to_post_attach>: Add argument.
10411 (target_post_attach): Add argument.
10412 * target.c (debug_to_post_attach): Add argument.
10413 (update_current_target): Update.
10414 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10415 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10416 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10417 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10418 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10419
de90e03d
TT
104202014-02-19 Tom Tromey <tromey@redhat.com>
10421
10422 * windows-nat.c (windows_close): Add 'self' argument.
10423 * tracepoint.c (tfile_close): Add 'self' argument.
10424 * target.h (struct target_ops) <to_close>: Add argument.
10425 * target.c (target_close): Add argument.
10426 (update_current_target): Update.
10427 * remote.c (remote_close): Add 'self' argument.
10428 * remote-sim.c (gdbsim_close): Add 'self' argument.
10429 * remote-mips.c (mips_close): Add 'self' argument.
10430 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10431 * record-full.c (record_full_close): Add 'self' argument.
10432 * record-btrace.c (record_btrace_close): Add 'self' argument.
10433 * monitor.h (monitor_close): Add 'self' argument.
10434 * monitor.c (monitor_close): Add 'self' argument.
10435 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10436 * linux-nat.c (linux_nat_close): Add argument.
10437 * go32-nat.c (go32_close): Add 'self' argument.
10438 * exec.c (exec_close_1): Add 'self' argument.
10439 * ctf.c (ctf_close): Add 'self' argument.
10440 * corelow.c (core_close): Add 'self' argument.
10441 (core_close_cleanup): Update.
10442 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10443 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10444
9dd130a0
TT
104452014-02-19 Tom Tromey <tromey@redhat.com>
10446
10447 * remote.c (remote_load): New function.
10448 (init_remote_ops): Use it.
10449
46917d26
TT
104502014-02-19 Tom Tromey <tromey@redhat.com>
10451
10452 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10453 argument.
10454 * common/linux-btrace.h (linux_supports_btrace): Update.
10455 * remote.c (remote_supports_btrace): Add "self" argument.
10456 * target-delegates.c: Rebuild.
10457 * target.c (target_supports_btrace): Remove.
10458 * target.h (struct target_ops) <to_supports_btrace>: Add
10459 target_ops argument.
10460 (target_supports_btrace): New define.
10461
6b84065d
TT
104622014-02-19 Tom Tromey <tromey@redhat.com>
10463
10464 * record-full.c (record_full_beneath_to_resume_ops)
10465 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10466 (record_full_beneath_to_wait)
10467 (record_full_beneath_to_store_registers_ops)
10468 (record_full_beneath_to_store_registers)
10469 (record_full_beneath_to_xfer_partial_ops)
10470 (record_full_beneath_to_xfer_partial)
10471 (record_full_beneath_to_insert_breakpoint_ops)
10472 (record_full_beneath_to_insert_breakpoint)
10473 (record_full_beneath_to_remove_breakpoint_ops)
10474 (record_full_beneath_to_remove_breakpoint)
10475 (record_full_beneath_to_stopped_by_watchpoint)
10476 (record_full_beneath_to_stopped_data_address)
10477 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10478 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10479 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10480 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10481 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10482 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10483 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10484 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10485 (record_full_resume, record_full_wait_1)
10486 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10487 (record_full_store_registers, record_full_xfer_partial)
10488 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10489 (record_full_async, record_full_core_xfer_partial): Use target
10490 delegation.
10491 * target-delegates.c: Rebuild.
10492 * target.c (current_xfer_partial): Remove.
10493 (update_current_target): Do not INHERIT or de_fault
10494 to_insert_breakpoint, to_remove_breakpoint,
10495 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10496 to_is_async_p, to_async. Do not set to_xfer_partial field.
10497 (default_xfer_partial): Simplify.
10498 (current_xfer_partial): Remove.
10499 (target_wait, target_resume): Simplify.
10500 (find_default_can_async_p, find_default_is_async_p): Update.
10501 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10502 to_xfer_partial, to_stopped_by_watchpoint,
10503 to_stopped_data_address.
10504 (target_store_registers): Simplify.
10505 (forward_target_remove_breakpoint)
10506 (forward_target_insert_breakpoint): Remove.
10507 (target_remove_breakpoint, target_insert_breakpoint)
10508 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10509 * target.h (struct target_ops) <to_resume, to_wait,
10510 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10511 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10512 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10513 markup.
10514 (forward_target_remove_breakpoint)
10515 (forward_target_insert_breakpoint): Remove.
10516 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10517 directly.
10518 (record_btrace_insert_breakpoint): Delegate directly.
10519
1101cb7b
TT
105202014-02-19 Tom Tromey <tromey@redhat.com>
10521
10522 PR build/7701:
10523 * target-delegates.c: New file.
10524 * target.c: Include target-delegates.c.
10525 (init_dummy_target): Call install_dummy_methods.
10526 (complete_target_initialization): Call install_delegators.
10527 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10528 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10529 * make-target-delegates: New file.
10530
8b06beed
TT
105312014-02-19 Tom Tromey <tromey@redhat.com>
10532
10533 * record.c (find_record_target): Use find_target_at.
10534 * target.c (find_target_at): New function.
10535 * target.h (find_target_at): Declare.
10536
6a109b6b
TT
105372014-02-19 Tom Tromey <tromey@redhat.com>
10538
10539 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10540 Add 'ops' argument.
10541 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10542 'ops' argument.
10543 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10544 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10545 'ops' argument.
10546 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10547 argument.
10548 * linux-nat.c (save_sigtrap): Update.
10549 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10550 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10551 (linux_nat_close): Update.
10552 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10553 argument.
10554 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10555 argument.
10556 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10557 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10558 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10559 (tmp_to_async): Add 'ops' argument.
10560 (record_full_stopped_by_watchpoint, record_full_async)
10561 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10562 argument.
10563 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10564 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10565 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10566 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10567 (remote_is_async_p, remote_async): Add 'ops' argument.
10568 (remote_stopped_data_address): Update.
10569 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10570 * target.c (update_current_target)
10571 (find_default_can_async_p, find_default_is_async_p): Update.
10572 (init_dummy_target): Update.
10573 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10574 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10575 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10576 (target_can_async_p, target_is_async_p, target_async)
10577 (target_stopped_by_watchpoint): Update.
10578
e095146b
YQ
105792014-02-19 Yao Qi <yao@codesourcery.com>
10580
10581 PR gdb/16220
10582 * gdbarch.sh: Remove startup_gdbarch.
10583 * gdbarch.c: Regenerated.
10584 * gdbarch.h: Likewise.
10585
bc3c6b36
KB
105862014-02-17 Kevin Buettner <kevinb@redhat.com>
10587
10588 * rl78-tdep.c (rl78_g10_register_name): New function.
10589 (rl78_return_value): Add g10 support.
10590 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10591 g10.
10592
98dc0167 105932014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10594
10595 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10596 (SUBDIR_GUILE_SRCS): Ditto.
10597 (scm-gsmob.o): Ditto.
10598
842c05cd
YQ
105992014-02-17 Yao Qi <yao@codesourcery.com>
10600
10601 * gnu-nat.c (ILL_RPC): Declare defined function.
10602
25c0bd04
YQ
106032014-02-17 Yao Qi <yao@codesourcery.com>
10604
10605 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10606 mach_msg_type_number_t.
10607 (gnu_write_inferior): Likewise.
10608
a9a758e3
YQ
106092014-02-17 Yao Qi <yao@codesourcery.com>
10610
10611 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10612 in format string.
10613 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10614 (inf_validate_procs, inf_signal): Likewise.
10615 (S_exception_raise_request): Likewise.
10616 (do_mach_notify_dead_name): Likewise.
10617 (steal_exc_port): Likewise.
10618 (gnu_read_inferior): Change 'copy_count''s type to
10619 mach_msg_type_number_t.
10620 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10621 format string.
10622
bae8023e
TS
106232014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10624
c82f56d9
TS
10625 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10626 flag. Adjust all users; in particular...
10627 (gnu_wait): ..., don't decrement its value in here...
10628 (gnu_create_inferior): ..., and instead set the flag in here,
10629 around the startup_inferior call, and call that one with
10630 START_INFERIOR_TRAPS_EXPECTED.
10631
3398af6a
TS
10632 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10633 (ILL_RPC): ... new macro.
10634 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10635 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10636 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10637 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10638 functions with ILL_RPC macro.
10639 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10640 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10641 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10642 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10643 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10644 (S_proc_getlogin_reply, S_proc_getsid_reply)
10645 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10646 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10647 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10648 (S_proc_getnports_reply, S_proc_is_important_reply)
10649 (S_proc_get_code_reply): New stub functions, generated with
10650 ILL_RPC macro.
10651
d47642c9
TS
10652 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10653 collected the type check structures.
10654
bae8023e
TS
10655 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10656
8a55ffb0
DE
106572014-02-14 Doug Evans <dje@google.com>
10658
10659 * target.c (target_write_partial): Fix result type.
10660
c2853f3d
JM
106612014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10662
10663 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10664 the proper offsets to access fpregset_t.
10665
ac61d2db
SA
106662014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10667
10668 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10669 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10670 * h8300-tdep.c (setmachinelist): Remove global.
10671 * hppa-tdep.c (hppa_sigtramp): Remove global.
10672 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10673 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10674 * ravenscar-thread.c (update_target_observer): Remove global.
10675 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10676
9d2d0b8b
TT
106772014-02-12 Tom Tromey <tromey@redhat.com>
10678
10679 * common/rsp-low.c: Update comments.
10680 * common/rsp-low.h: Update comments.
10681
a7191e8b
TT
106822014-02-12 Tom Tromey <tromey@redhat.com>
10683
10684 * common/rsp-low.c (convert_ascii_to_int): Remove.
10685 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10686
ff0e980e
TT
106872014-02-12 Tom Tromey <tromey@redhat.com>
10688
10689 * common/rsp-low.h (unhexify): Don't declare.
10690 * common/rsp-low.c (unhexify): Remove.
10691
e9371aff
TT
106922014-02-12 Tom Tromey <tromey@redhat.com>
10693
10694 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10695 * common/rsp-low.c (convert_int_to_ascii): Remove.
10696
971dc0b8
TT
106972014-02-12 Tom Tromey <tromey@redhat.com>
10698
10699 * common/rsp-low.h (hexify): Don't declare.
10700 * common/rsp-low.c (hexify): Remove.
10701
0a822afb
TT
107022014-02-12 Tom Tromey <tromey@redhat.com>
10703
10704 * common/rsp-low.c (hexify): Never take strlen of argument.
10705
9f1b45b0
TT
107062014-02-12 Tom Tromey <tromey@redhat.com>
10707
10708 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10709 * remote.c (extended_remote_run, remote_rcmd)
10710 (remote_download_trace_state_variable, remote_save_trace_data)
10711 (remote_set_trace_notes): Update.
10712 * tracepoint.c (encode_source_string, tfile_write_status)
10713 (tfile_write_uploaded_tsv): Update.
10714
9c3d6531
TT
107152014-02-12 Tom Tromey <tromey@redhat.com>
10716
10717 * tracepoint.c: Include rsp-low.h.
10718 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10719 * remote.c: Include rsp-low.h.
10720 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10721 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10722 (remote_unescape_input): Move to common/rsp-low.c.
10723 * common/rsp-low.h: New file.
10724 * common/rsp-low.c: New file.
10725 * Makefile.in (SFILES): Add common/rsp-low.c.
10726 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10727 (COMMON_OBS): Add rsp-low.o.
10728 (rsp-low.o): New target.
10729
01fd3ea5
TT
107302014-02-12 Tom Tromey <tromey@redhat.com>
10731
10732 * utils.h: Include print-utils.h.
10733 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10734 (int_string, core_addr_to_string, core_addr_to_string_nz)
10735 (hex_string, hex_string_custom): Don't declare.
10736 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10737 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10738 (hex_string_custom, int_string, core_addr_to_string)
10739 (core_addr_to_string_nz, host_address_to_string): Move to
10740 common/print-utils.c.
10741 * common/print-utils.h: New file.
10742 * common/print-utils.c: New file
10743 * Makefile.in (SFILES): Add common/print-utils.c.
10744 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10745 (COMMON_OBS): Add print-utils.o.
10746 (print-utils.o): New target.
10747
9fb50108
TT
107482014-02-12 Tom Tromey <tromey@redhat.com>
10749
10750 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10751
0548b5db
MK
107522014-02-12 Mark Kettenis <kettenis@gnu.org>
10753
10754 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10755
493443a4
MK
107562014-02-12 Mark Kettenis <kettenis@gnu.org>
10757
10758 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10759 if a PT_IO ptrace request returns sucessfully but indicates that 0
10760 bytes were transferred.
10761
706d0883
PA
107622014-02-12 Pedro Alves <palves@redhat.com>
10763 Kevin Buettner <kevinb@redhat.com>
10764
10765 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10766 TYPE_INSTANCE_FLAG_CODE_SPACE.
10767
5caa2f0b
PA
107682014-02-12 Pedro Alves <palves@redhat.com>
10769
10770 * h8300-tdep.c (pseudo_from_raw_register)
10771 (raw_from_pseudo_register): New functions.
10772 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10773 them.
10774
76fd5f74
PA
107752014-02-12 Pedro Alves <palves@redhat.com>
10776
10777 * h8300-tdep.c (h8300_register_sim_regno): New function.
10778 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10779 gdbarch_register_sim_regno hook.
10780
8f008406
SA
107812014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10782
10783 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10784
195abc10
SA
107852014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10786
10787 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10788
93ffa5b9
MK
107892014-02-12 Mark Kettenis <kettenis@gnu.org>
10790
10791 * obsd-tdep.h (obsd_init_abi): New prototype.
10792 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10793 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10794 (obsd_init_abi): New functions.
10795 * i386obsd-tdep.c: Include "obsd-tdep.h".
10796 (i386obsd_init_abi): Call obsd_init_abi.
10797 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10798 (amd64obsd_init_abi): Call obsd_init_abi.
10799 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10800 obsd-tdep.c to gdb_target_obs.
10801
49caec94
JM
108022014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10803
10804 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10805 double float arguments to 16-byte in the argument slots.
10806
e1402065
DE
108072014-02-11 Doug Evans <xdje42@gmail.com>
10808
10809 * configure.ac: Don't crash if pkg-config is not found and guile
10810 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10811 in guile checks.
10812 * configure: Regenerate.
10813
edcc890f
YQ
108142014-02-11 Yao Qi <yao@codesourcery.com>
10815
10816 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10817 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10818 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10819 * gnu-nat.c (gnu_xfer_memory): Likewise.
10820 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10821 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10822 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10823 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10824
9b409511
YQ
108252014-02-11 Yao Qi <yao@codesourcery.com>
10826
10827 * target.h (enum target_xfer_error): Rename to ...
10828 (enum target_xfer_status): ... it. New. All users updated.
10829 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10830 New.
10831 (TARGET_XFER_STATUS_ERROR_P): New macro.
10832 (target_xfer_error_to_string): Remove declaration.
10833 (target_xfer_status_to_string): Declare.
10834 (target_xfer_partial_ftype): Adjust it.
10835 (struct target_ops) <to_xfer_partial>: Return
10836 target_xfer_status. Add argument xfered_len. Update
10837 comments.
10838 * target.c (target_xfer_error_to_string): Rename to ...
10839 (target_xfer_status_to_string): ... it. New. All callers
10840 updated.
10841 (target_read_live_memory): Likewise. Call target_xfer_partial
10842 instead of target_read.
10843 (memory_xfer_live_readonly_partial): Return
10844 target_xfer_status. Add argument xfered_len.
10845 (raw_memory_xfer_partial): Likewise.
10846 (memory_xfer_partial_1): Likewise.
10847 (memory_xfer_partial): Likewise.
10848 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10849 properly. Update debug message.
10850 (default_xfer_partial, current_xfer_partial): Likewise.
10851 (target_write_partial): Likewise.
10852 (target_read_partial): Likewise. All callers updated.
10853 (read_whatever_is_readable): Likewise.
10854 (target_write_with_progress): Likewise.
10855 (target_read_alloc_1): Likewise.
10856
10857 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10858 * auxv.c (procfs_xfer_auxv): Likewise.
10859 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10860 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10861 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10862 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10863 * corefile.c (read_memory): Adjust.
10864 * corelow.c (core_xfer_partial): Likewise.
10865 * ctf.c (ctf_xfer_partial): Likewise.
10866 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10867 updated.
10868 (darwin_xfer_partial): Likewise.
10869 * exec.c (section_table_xfer_memory_partial): Likewise. All
10870 callers updated.
10871 (exec_xfer_partial): Likewise.
10872 * exec.h (section_table_xfer_memory_partial): Update
10873 declaration.
10874 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10875 negative.
10876 (gnu_xfer_partial): Likewise.
10877 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10878 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10879 (ia64_hpux_xfer_solib_got): Likewise.
10880 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10881 type of 'partial_len' to ULONGEST.
10882 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10883 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10884 (linux_nat_xfer_partial): Likewise.
10885 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10886 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10887 * monitor.c (monitor_xfer_memory): Likewise.
10888 (monitor_xfer_partial): Likewise.
10889 * procfs.c (procfs_xfer_partial): Likewise.
10890 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10891 * record-full.c (record_full_xfer_partial): Likewise.
10892 (record_full_core_xfer_partial): Likewise.
10893 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10894 (gdbsim_xfer_partial): Likewise.
10895 * remote.c (remote_write_bytes_aux): Likewise. All callers
10896 updated.
10897 (remote_write_bytes, remote_read_bytes): Likewise. All
10898 callers updated.
10899 (remote_flash_erase): Likewise. All callers updated.
10900 (remote_write_qxfer): Likewise. All callers updated.
10901 (remote_read_qxfer): Likewise. All callers updated.
10902 (remote_xfer_partial): Likewise.
10903 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10904 (rs6000_xfer_shared_libraries): Likewise.
10905 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10906 (sol_thread_xfer_partial): Likewise.
10907 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10908 (sparc_xfer_partial): Likewise.
10909 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10910 updated.
10911 (spu_xfer_partial): Likewise.
10912 * spu-multiarch.c (spu_xfer_partial): Likewise.
10913 * tracepoint.c (tfile_xfer_partial): Likewise.
10914 * windows-nat.c (windows_xfer_memory): Likewise.
10915 (windows_xfer_shared_libraries): Likewise.
10916 (windows_xfer_partial): Likewise.
10917 * valprint.c: Replace 'target_xfer_error' with
10918 'target_xfer_status' in comments.
10919
a8e63083
JB
109202014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10921
10922 Checked in by Joel Brobecker <brobecker@adacore.com>.
10923 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10924
e86b67d3
JB
109252014-02-11 Joel Brobecker <brobecker@adacore.com>
10926
10927 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10928 function parameters.
10929
4b7d1f7f
WN
109302014-02-10 Will Newton <will.newton@linaro.org>
10931
10932 * elfread.c (elf_rel_plt_read): Look for a .got section if
10933 looking up .got.plt fails.
10934 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10935 on address passed to elf_gnu_ifunc_record_cache.
10936 (elf_gnu_ifunc_resolve_addr): Likewise.
10937 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10938
961842b2
JM
109392014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10940
10941 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10942 (X_RETTURN): New macro.
10943 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10944
10945 * sparc64-tdep.c (sparc64_init_abi): Hook
10946 sparc_in_function_epilogue_p.
10947
3f03e7b1
GB
109482014-02-10 Gary Benson <gbenson@redhat.com>
10949
10950 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10951 Rename name_matcher to symbol_matcher.
10952
96f861ef
GB
109532014-02-10 Gary Benson <gbenson@redhat.com>
10954
10955 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10956 Use expand_symtabs_file_matcher_ftype and
10957 expand_symtabs_symbol_matcher_ftype.
10958
ee01b665
JB
109592014-02-10 Joel Brobecker <brobecker@adacore.com>
10960
10961 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10962 (struct ada_symbol_cache): New.
10963 (ada_free_symbol_cache): Forward declare.
10964 (struct ada_pspace_data): New.
10965 (ada_pspace_data_handle): New static global.
10966 (get_ada_pspace_data, ada_pspace_data_cleanup)
10967 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10968 (cache_space, cache): Delete, now folded inside struct
10969 ada_pspace_data.
10970 (ada_get_symbol_cache): New function.
10971 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10972 implementation.
10973 (_initialize_ada_language): Remove initialization of cache_space.
10974 Move call to observer_attach_inferior_exit up, grouping it
10975 with the other observer registrations inside this function.
10976 Rename command to be more general. Add call to
10977 register_program_space_data_with_cleanup.
10978
143adbbf
JB
109792014-02-10 Joel Brobecker <brobecker@adacore.com>
10980
10981 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10982 ada_new_objfile_observer.
10983 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10984 (_initialize_tasks): Update uses of ada_new_objfile_observer
10985 and ada_tasks_normal_stop_observer.
10986
aa4fb036
JB
109872014-02-10 Joel Brobecker <brobecker@adacore.com>
10988
10989 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10990 returned by the 'Length attribute to integer.
10991
9dee8cc6
JB
109922014-02-10 Joel Brobecker <brobecker@adacore.com>
10993
10994 * ada-lang.c (_initialize_ada_language): Initialize
10995 cache_space obstack.
10996
3d9434b5
JB
109972014-02-10 Joel Brobecker <brobecker@adacore.com>
10998
10999 * ada-lang.c (HASH_SIZE): New macro.
11000 (struct cache_entry): New type.
11001 (cache_space, cache): New static globals.
11002 (ada_clear_symbol_cache, find_entry): New functions.
11003 (lookup_cached_symbol, cache_symbol): Implement.
11004 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11005 (_initialize_ada_language): Attach ada_new_objfile_observer
11006 and ada_free_objfile_observer.
11007
f0c5f9b2
JB
110082014-02-10 Joel Brobecker <brobecker@adacore.com>
11009
11010 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11011 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11012 struct block * parameter.
11013 (ada_lookup_symbol_list_worker): Constify local variable "block".
11014 Remove cast which is no longer necessary.
11015
ed3ef339
DE
110162014-02-10 Doug Evans <xdje42@gmail.com>
11017
11018 Add Guile as an extension language.
11019 * NEWS: Mention Guile scripting.
11020 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11021 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11022 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11023 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11024 (CLIBS): Add GUILE_LIBS.
11025 (install-guile): New rule.
11026 (guile.o): New rule.
11027 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11028 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11029 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11030 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11031 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11032 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11033 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11034 * configure.ac: New option --with-guile.
11035 * configure: Regenerate.
11036 * config.in: Regenerate.
11037 * auto-load.c: Remove #include "python/python.h". Add #include
11038 "gdb/section-scripts.h".
11039 (source_section_scripts): Handle Guile scripts.
11040 (_initialize_auto_load): Add name of Guile objfile script to
11041 scripts-directory help text.
11042 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11043 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11044 (struct breakpoint): New member scm_bp_object.
11045 * defs.h (enum command_control_type): New value guile_control.
11046 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11047 "extension.h".
11048 (show_user): Update comment.
11049 (_initialize_cli_cmds): Update help text for "show user". Update help
11050 text for max-user-call-depth.
11051 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11052 "extension.h".
11053 (multi_line_command_p): Add guile_control.
11054 (print_command_lines): Handle guile_control.
11055 (execute_control_command, recurse_read_control_structure): Ditto.
11056 (process_next_line): Recognize "guile" commands.
11057 * disasm.c (gdb_disassemble_info): Make non-static.
11058 * disasm.h: #include "dis-asm.h".
11059 (struct gdbarch): Add forward decl.
11060 (gdb_disassemble_info): Declare.
11061 * extension.c: #include "guile/guile.h".
11062 (extension_languages): Add guile.
11063 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11064 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11065 * gdbtypes.c (get_unsigned_type_max): New function.
11066 (get_signed_type_minmax): New function.
11067 * gdbtypes.h (get_unsigned_type_max): Declare.
11068 (get_signed_type_minmax): Declare.
11069 * guile/README: New file.
11070 * guile/guile-internal.h: New file.
11071 * guile/guile.c: New file.
11072 * guile/guile.h: New file.
11073 * guile/scm-arch.c: New file.
11074 * guile/scm-auto-load.c: New file.
11075 * guile/scm-block.c: New file.
11076 * guile/scm-breakpoint.c: New file.
11077 * guile/scm-disasm.c: New file.
11078 * guile/scm-exception.c: New file.
11079 * guile/scm-frame.c: New file.
11080 * guile/scm-gsmob.c: New file.
11081 * guile/scm-iterator.c: New file.
11082 * guile/scm-lazy-string.c: New file.
11083 * guile/scm-math.c: New file.
11084 * guile/scm-objfile.c: New file.
11085 * guile/scm-ports.c: New file.
11086 * guile/scm-pretty-print.c: New file.
11087 * guile/scm-safe-call.c: New file.
11088 * guile/scm-string.c: New file.
11089 * guile/scm-symbol.c: New file.
11090 * guile/scm-symtab.c: New file.
11091 * guile/scm-type.c: New file.
11092 * guile/scm-utils.c: New file.
11093 * guile/scm-value.c: New file.
11094 * guile/lib/gdb.scm: New file.
11095 * guile/lib/gdb/boot.scm: New file.
11096 * guile/lib/gdb/experimental.scm: New file.
11097 * guile/lib/gdb/init.scm: New file.
11098 * guile/lib/gdb/iterator.scm: New file.
11099 * guile/lib/gdb/printing.scm: New file.
11100 * guile/lib/gdb/types.scm: New file.
11101 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11102 (VPATH): Add $(GUILE_SRCDIR).
11103 (GUILE_DIR): New variable.
11104 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11105 (all): Add stamp-guile dependency.
11106 (stamp-guile): New rule.
11107 (clean-guile, install-guile, uninstall-guile): New rules.
11108 (install-only): Add install-guile dependency.
11109 (uninstall): Add uninstall-guile dependency.
11110 (clean): Add clean-guile dependency.
11111
ac020ec5
DE
111122014-02-09 Doug Evans <xdje42@gmail.com>
11113
11114 Revert this patch (which I approved, mea culpa).
11115
11116 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11117
11118 * Makefile.in (all-lib): Remove.
11119 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11120
2a081c59
JK
111212014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11122
11123 Fix Python stack corruption.
11124 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11125 gdb_py_longest.
11126
0a6bd22d
MK
111272014-02-08 Mark Kettenis <kettenis@gnu.org>
11128
11129 * Makefile.in (all-lib): Remove.
11130 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11131
1a860409
DE
111322014-02-07 Doug Evans <dje@google.com>
11133
11134 * extension-priv.h (extension_language_script_ops): Add comment.
11135 (extension_language_ops): Add comment.
caf5a491 11136 (active_ext_lang_state): Fix typo in comment.
1a860409 11137
d137e6dc
PA
111382014-02-07 Pedro Alves <palves@redhat.com>
11139
0dcb32c3 11140 PR breakpoints/16292
d137e6dc
PA
11141 * infrun.c (handle_signal_stop) <signal arrives while stepping
11142 over a breakpoint>: Switch back to the stepping thread.
11143
ce6d0892
YQ
111442014-02-07 Yao Qi <yao@codesourcery.com>
11145
11146 * target.c (target_xfer_partial): Return zero if LEN is zero.
11147
2ed4b548
YQ
111482014-02-07 Yao Qi <yao@codesourcery.com>
11149
11150 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11151 (ld_so_xfer_auxv): Likewise.
11152 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11153 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11154 * corelow.c (core_xfer_partial): Likewise.
11155 * ctf.c (ctf_xfer_partial): Likewise.
11156 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11157 (darwin_xfer_partial): Likewise.
11158 * exec.c (exec_xfer_partial): Likewise.
11159 * gnu-nat.c (gnu_xfer_partial): Likewise.
11160 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11161 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11162 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11163 * linux-nat.c (linux_xfer_siginfo): Likewise.
11164 (linux_proc_xfer_spu): Likewise.
11165 * procfs.c (procfs_xfer_partial): Likewise.
11166 * record-full.c (record_full_xfer_partial): Likewise.
11167 (record_full_core_xfer_partial): Likewise.
11168 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11169 * remote.c (remote_write_qxfer): Likewise.
11170 (remote_write_qxfer, remote_read_qxfer): Likewise.
11171 (remote_xfer_partial): Likewise.
11172 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11173 (rs6000_xfer_shared_libraries): Likewise.
11174 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11175 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11176 (spu_xfer_partial): Likewise.
11177 * target.c (memory_xfer_partial_1): Likewise.
11178 * tracepoint.c (tfile_xfer_partial): Likewise.
11179 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11180 (windows_xfer_partial): Likewise.
11181
c09f20e4
YQ
111822014-02-07 Yao Qi <yao@codesourcery.com>
11183
11184 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11185 comments.
11186 (core_xfer_shared_libraries_aix): Likewise.
11187 * gdbarch.c, gdbarch.h: Regenerated.
11188 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11189 ULONGEST. Change 'len_avail' type to ULONGEST.
11190 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11191 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11192 declaration.
11193 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11194
8635b3bf
YQ
111952014-02-07 Yao Qi <yao@codesourcery.com>
11196
11197 * corefile.c (memory_error): Get 'exception' from ERR and pass
11198 'exception' to throw_error.
11199
6dddc817
DE
112002014-02-06 Doug Evans <xdje42@gmail.com>
11201
11202 * configure.ac (libpython checking): Remove all but python.o from
11203 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11204 * configure: Regenerate.
11205
11206 * Makefile.in (SFILES): Add extension.c.
11207 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11208 (COMMON_OBS): Add extension.o.
11209 * extension.h: New file.
11210 * extension-priv.h: New file.
11211 * extension.c: New file.
11212
11213 * python/python-internal.h: #include "extension.h".
11214 (gdbpy_auto_load_enabled): Declare.
11215 (gdbpy_apply_val_pretty_printer): Declare.
11216 (gdbpy_apply_frame_filter): Declare.
11217 (gdbpy_preserve_values): Declare.
11218 (gdbpy_breakpoint_cond_says_stop): Declare.
11219 (gdbpy_breakpoint_has_cond): Declare.
11220 (void source_python_script_for_objfile): Delete.
11221 * python/python.c: #include "extension-priv.h".
11222 Delete inclusion of "observer.h".
11223 (extension_language_python): Moved here and renamed from
11224 script_language_python in py-auto-load.c.
11225 Redefined to be of type extension_language_defn.
11226 (python_extension_script_ops): New global.
11227 (python_extension_ops): New global.
11228 (struct python_env): New member previous_active.
11229 (restore_python_env): Call restore_active_ext_lang.
11230 (ensure_python_env): Call set_active_ext_lang.
11231 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11232 New arg extlang.
11233 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11234 New arg extlang.
11235 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11236 New arg extlang.
11237 (gdbpy_eval_from_control_command): Renamed from
11238 eval_python_from_control_command, made static. New arg extlang.
11239 (gdbpy_source_script) Renamed from source_python_script, made static.
11240 New arg extlang.
11241 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11242 result to int. New arg extlang.
11243 (gdbpy_source_objfile_script): Renamed from
11244 source_python_script_for_objfile, made static. New arg extlang.
11245 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11246 static. New args extlang, extlang_printers. Change result type to
11247 "void".
11248 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11249 static. New arg extlang. Rename arg printers to extlang_printers
11250 and change type to ext_lang_type_printers *.
11251 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11252 static. Replace argument arg with extlang, extlang_printers.
11253 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11254 (!HAVE_PYTHON, source_python_script): Delete.
11255 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11256 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11257 (!HAVE_PYTHON, start_type_printers): Delete.
11258 (!HAVE_PYTHON, apply_type_printers): Delete.
11259 (!HAVE_PYTHON, free_type_printers): Delete.
11260 (_initialize_python): Delete call to observer_attach_before_prompt.
11261 (finalize_python): Set/restore active extension language.
11262 (gdbpy_finish_initialization) Renamed from
11263 finish_python_initialization, made static. New arg extlang.
11264 (gdbpy_initialized): New function.
11265 * python/python.h: #include "extension.h". Delete #include
11266 "value.h", "mi/mi-cmds.h".
11267 (extension_language_python): Declare.
11268 (GDBPY_AUTO_FILE_NAME): Delete.
11269 (enum py_bt_status): Moved to extension.h and renamed to
11270 ext_lang_bt_status.
11271 (enum frame_filter_flags): Moved to extension.h.
11272 (enum py_frame_args): Moved to extension.h and renamed to
11273 ext_lang_frame_args.
11274 (finish_python_initialization): Delete.
11275 (eval_python_from_control_command): Delete.
11276 (source_python_script): Delete.
11277 (apply_val_pretty_printer): Delete.
11278 (apply_frame_filter): Delete.
11279 (preserve_python_values): Delete.
11280 (gdbpy_script_language_defn): Delete.
11281 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11282 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11283
11284 * auto-load.c: #include "extension.h".
11285 (GDB_AUTO_FILE_NAME): Delete.
11286 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11287 (script_language_gdb): Delete, moved to extension.c and renamed to
11288 extension_language_gdb.
11289 (source_gdb_script_for_objfile): Delete.
11290 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11291 (loaded_script): Change type of language member to
11292 struct extension_language_defn *.
11293 (init_loaded_scripts_info): Initialize
11294 unsupported_script_warning_printed.
11295 (maybe_add_script): Make static. Change type of language arg to
11296 struct extension_language_defn *.
11297 (clear_section_scripts): Reset unsupported_script_warning_printed.
11298 (auto_load_objfile_script_1): Rewrite to use extension language API.
11299 (auto_load_objfile_script): Make public. Remove support-compiled-in
11300 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11301 (source_section_scripts): Rewrite to use extension language API.
11302 (load_auto_scripts_for_objfile): Rewrite to use
11303 auto_load_scripts_for_objfile.
11304 (collect_matching_scripts_data): Change type of language member to
11305 struct extension_language_defn *.
11306 (auto_load_info_scripts): Change type of language arg to
11307 struct extension_language_defn *.
11308 (unsupported_script_warning_print): New function.
11309 (script_not_found_warning_print): Make static.
11310 (_initialize_auto_load): Rewrite construction of scripts-directory
11311 help.
11312 * auto-load.h (struct objfile): Add forward decl.
11313 (struct script_language): Delete.
11314 (struct auto_load_pspace_info): Add forward decl.
11315 (struct extension_language_defn): Add forward decl.
11316 (maybe_add_script): Delete.
11317 (auto_load_objfile_script): Declare.
11318 (script_not_found_warning_print): Delete.
11319 (auto_load_info_scripts): Update prototype.
11320 (auto_load_gdb_scripts_enabled): Declare.
11321 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11322 auto_load_python_scripts_enabled and made public.
11323 (script_language_python): Delete, moved to python.c.
11324 (gdbpy_script_language_defn): Delete.
11325 (info_auto_load_python_scripts): Update to use
11326 extension_language_python.
11327
11328 * breakpoint.c (condition_command): Replace call to
11329 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11330 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11331 with call to breakpoint_ext_lang_cond_says_stop.
11332 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11333 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11334 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11335 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11336 New arg slang.
11337 (local_setattro): Print name of extension language with existing
11338 stop condition.
11339
11340 * valprint.c (val_print, value_print): Update to call
11341 apply_ext_lang_val_pretty_printer.
11342 * cp-valprint.c (cp_print_value): Update call to
11343 apply_ext_lang_val_pretty_printer.
11344 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11345 (gdbpy_apply_val_pretty_printer): Renamed from
11346 apply_val_pretty_printer. New arg extlang.
11347 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11348
11349 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11350 extension language API.
11351 * cli/cli-script.c (execute_control_command): Update to call
11352 eval_ext_lang_from_control_command.
11353
11354 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11355 enum ext_lang_bt_status values. Update call to
11356 apply_ext_lang_frame_filter.
11357 (mi_cmd_stack_list_locals): Ditto.
11358 (mi_cmd_stack_list_args): Ditto.
11359 (mi_cmd_stack_list_variables): Ditto.
11360 * mi/mi-main.c: Delete #include "python/python-internal.h".
11361 Add #include "extension.h".
11362 (mi_cmd_list_features): Replace reference to python internal variable
11363 gdb_python_initialized with call to ext_lang_initialized_p.
11364
11365 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11366 Update to use enum ext_lang_frame_args. Update to call
11367 apply_ext_lang_frame_filter.
11368 * python/py-framefilter.c (extract_sym): Update to use enum
11369 ext_lang_bt_status.
11370 (extract_value, py_print_type, py_print_value): Ditto.
11371 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11372 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11373 (py_print_frame): Ditto.
11374 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11375 New arg extlang. Update to use enum ext_lang_bt_status.
11376
11377 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11378 finish_python_initialization. Replace with call to
11379 finish_ext_lang_initialization.
11380
11381 * typeprint.c (do_free_global_table): Update to call
11382 free_ext_lang_type_printers.
11383 (create_global_typedef_table): Update to call
11384 start_ext_lang_type_printers.
11385 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11386 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11387 (type_print_options): Change type of global_printers from "void *"
11388 to "struct ext_lang_type_printers *".
11389
11390 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11391 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11392 (gdbpy_preserve_values): Renamed from preserve_python_values.
11393 New arg extlang.
11394 (!HAVE_PYTHON, preserve_python_values): Delete.
11395
11396 * utils.c (quit_flag): Delete, moved to extension.c.
11397 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11398 extension.c.
11399
11400 * eval.c: Delete #include "python/python.h".
11401 * main.c: Delete #include "python/python.h".
11402
11403 * defs.h: Update comment.
11404
6af79985
JB
114052014-02-06 Joel Brobecker <brobecker@adacore.com>
11406
11407 GDB 7.7 released.
11408
12c5175d
MK
114092014-02-05 Mark Kettenis <kettenis@gnu.org>
11410
11411 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11412 defined.
11413
8dc5b319
YQ
114142014-02-05 Yao Qi <yao@codesourcery.com>
11415
11416 * remote.c (remote_pass_signals): Remove local 'buf' and use
11417 rs->buf.
11418 (remote_program_signals): Likewise.
11419
de7b2893
YQ
114202014-02-05 Yao Qi <yao@codesourcery.com>
11421
11422 * ctf.c: Include "inferior.h" and "gdbthread.h".
11423 (CTF_PID): A new macro.
11424 (ctf_open): Call inferior_appeared and add_thread_silent.
11425 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11426 (ctf_thread_alive): New function.
11427 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11428
66d032ac
YQ
114292014-02-05 Yao Qi <yao@codesourcery.com>
11430
11431 Revert this patch:
11432
11433 2013-05-24 Yao Qi <yao@codesourcery.com>
11434
11435 * tracepoint.c (TFILE_PID): Remove.
11436 (tfile_open): Don't add thread and inferior.
11437 (tfile_close): Don't set 'inferior_ptid'. Don't call
11438 exit_inferior_silent.
11439 (tfile_thread_alive): Remove.
11440 (init_tfile_ops): Don't set field 'to_thread_alive' of
11441 tfile_ops.
11442
f4ccffad
CE
114432014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11444
11445 * remote.c (remote_start_remote): Call remote_check_symbols even
11446 if only symbol-file (not file) has been given.
11447
591a12a1
UW
114482014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11449
11450 * gdbarch.sh (skip_entrypoint): New callback.
11451 * gdbarch.c, gdbarch.h: Regenerate.
11452 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11453 * infrun.c (fill_in_stop_func): Likewise.
11454 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11455 (ppc_elfv2_elf_make_msymbol_special): New function.
11456 (ppc_elfv2_skip_entrypoint): Likewise.
11457 (ppc_linux_init_abi): Install them for ELFv2.
11458
cc0e89c5
UW
114592014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11460
11461 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11462 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11463 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11464 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11465 structures returned in GPRs.
11466
52f548e4
UW
114672014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11468
11469 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11470 offset to the stack parameter list for the ELFv2 ABI.
11471
d4094b6a
UW
114722014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11473
11474 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11475 set_gdbarch_convert_from_func_ptr_addr and
11476 set_gdbarch_elf_make_msymbol_special for ELFv1.
11477 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11478 function descriptors on ELFv1.
11479 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11480 set up r12 at function entry.
11481
cd453cd0
UW
114822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11483
11484 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11485 (struct gdbarch_tdep): New member elf_abi.
11486
11487 * rs6000-tdep.c: Include "elf/ppc64.h".
11488 (rs6000_gdbarch_init): Detect ELF ABI version.
11489
0ff3e01f
UW
114902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11491
11492 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11493 within a register pair holding a DFP 128-bit value on little-endian.
11494 (ppc64_sysv_abi_return_value_base): Likewise.
11495 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11496 (dfp_pseudo_register_write): Likewise.
11497
5b757e5d
UW
114982014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11499
11500 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11501 offset on little-endian when passing _Decimal32.
11502 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11503
084ee545
UW
115042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11505
11506 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11507 of the overlapped FP register within the VSX register on little-
11508 endian platforms.
11509 (efpr_pseudo_register_write): Likewise.
11510
d63167af
UW
115112014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11512
11513 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11514 offset on little-endian when passing small structures.
11515
e765b44c
UW
115162014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11517
11518 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11519 (struct ppc64_sysv_argpos): New data structure.
11520 (ppc64_sysv_abi_push_float): Remove.
11521 (ppc64_sysv_abi_push_val): New function.
11522 (ppc64_sysv_abi_push_integer): Likewise.
11523 (ppc64_sysv_abi_push_freg): Likewise.
11524 (ppc64_sysv_abi_push_vreg): Likewise.
11525 (ppc64_sysv_abi_push_param): Likewise.
11526 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11527 (ppc64_sysv_abi_return_value_base): New function.
11528 (ppc64_sysv_abi_return_value): Refactor to use it.
11529
36c24d95
UW
115302014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11531
11532 * NEWS: Document new target powerpc64le-*-linux*.
11533
26fd9228
MK
115342014-02-04 Mark Kettenis <kettenis@gnu.org>
11535
11536 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11537 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11538 core dumps.
11539 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11540 register set used in ELF core dumps. Add floating-point register set.
11541
c5bb7362
KB
115422014-02-03 Kevin Buettner <kevinb@redhat.com>
11543
74228e77 11544 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
11545 dwarf2_to_gdb[] table using symbolic constants. Adjust
11546 penultimate entry from number representing the PC register
11547 to symbolic constant representing the MDR register. Add
11548 constant for the PC register to the end of the table.
11549
af09351e
MK
115502014-02-03 Mark Kettenis <kettenis@gnu.org>
11551
11552 * bsd-kvm.c: Include <sys/param.h>
11553
8507e05d
MK
115542014-02-03 Mark Kettenis <kettenis@gnu.org>
11555
11556 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11557
ae56bfb8
JB
115582014-01-31 Joel Brobecker <brobecker@adacore.com>
11559
11560 * ada-lang.h (clear_ada_sym_cache): Delete.
11561
718ee4dc
UW
115622014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11563
11564 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11565
401e27fd
JM
115662014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11567
11568 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11569 the sigreturn register save area only if the syscall is
11570 sigreturn.
11571
a7c88acd
JB
115722014-01-29 Joel Brobecker <brobecker@adacore.com>
11573
11574 * valops.c (value_slice): Minor reformatting.
11575
fa0079ea
UW
115762014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11577
11578 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11579
c6044dd1
JB
115802014-01-28 Joel Brobecker <brobecker@adacore.com>
11581
11582 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11583 New static globals.
11584 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11585 (ada_ignore_descriptive_types_p): New static global.
11586 (find_parallel_type_by_descriptive_type): Return immediately
11587 if ada_ignore_descriptive_types_p is set.
11588 (_initialize_ada_language): Register new commands "maintenance
11589 set ada", "maintenance show ada", "maintenance set ada
11590 ignore-descriptive-types" and "maintenance show ada
11591 ignore-descriptive-types".
11592 * NEWS: Add entry for new "maint ada set/show
11593 ignore-descriptive-types" commands.
11594
568e808b
MM
115952014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11596
11597 * record-btrace.c (record_btrace_close): Call btrace_teardown
11598 for all threads.
11599
467d141b
JB
116002014-01-27 Joel Brobecker <brobecker@adacore.com>
11601
11602 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11603 "ui-out.h".
11604
fb151210
JB
116052014-01-27 Joel Brobecker <brobecker@adacore.com>
11606
11607 * ada-typeprint (type_is_full_subrange_of_target_type):
11608 New function.
11609 (print_range): Add parameter bounds_prefered_p. If not set,
11610 try printing range types using the name of their base type.
11611 (print_range_type): Add parameter bounds_prefered_p.
11612 Use it in call to print_range.
11613 (print_array_type, ada_print_type): Update calls to print_range
11614 and print_range_type.
11615
aba02109
JB
116162014-01-27 Joel Brobecker <brobecker@adacore.com>
11617
11618 * ada-typeprint.c (print_array_type, print_choices, print_range)
11619 (print_range_bound, print_dynamic_range_bound, print_range_type):
11620 Remove declaration.
11621
e62e21fd
JB
116222014-01-27 Joel Brobecker <brobecker@adacore.com>
11623
11624 * ada-typeprint.c (print_range): Add missing empty line
11625 after local declaration.
11626
859cf5d1
JB
116272014-01-27 Joel Brobecker <brobecker@adacore.com>
11628
11629 * ada-valprint.c (print_optional_low_bound): Get index_type's
11630 target type for as long as it is a TYPE_CODE_RANGE.
11631
25790f6f
JB
116322014-01-27 Joel Brobecker <brobecker@adacore.com>
11633
11634 * procfs.c (procfs_make_note_section): Remove assertion and
11635 associated comment.
11636
6b6aa828
YQ
116372014-01-24 Yao Qi <yao@codesourcery.com>
11638
11639 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11640 * corelow.c (get_core_siginfo): Likewise.
11641
5d6df423
YQ
116422014-01-24 Yao Qi <yao@codesourcery.com>
11643
11644 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11645 ULONGEST. Don't check 'len' is negative.
11646 (remote_write_bytes): Change type of 'len' to ULONGEST.
11647
83b645b8
TT
116482014-01-23 Tom Tromey <tromey@redhat.com>
11649
11650 PR python/16485:
11651 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11652 Handle exception from frame.block.
11653 (FrameVars.fetch_frame_locals): Likewise.
11654
0740f8d8
TT
116552014-01-23 Tom Tromey <tromey@redhat.com>
11656
11657 PR python/16487:
11658 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11659 on a NULL pointer. Move "goto error" to correct place.
11660
21909fa1
TT
116612014-01-23 Tom Tromey <tromey@redhat.com>
11662
11663 PR python/16491:
11664 * python/py-framefilter.c (apply_frame_filter): Call
11665 ensure_python_env after computing gdbarch.
11666
17fde6d0
YQ
116672014-01-23 Yao Qi <yao@codesourcery.com>
11668
11669 * target.c (raw_memory_xfer_partial): Change argument type
11670 from void * to gdb_byte *.
11671 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11672
87ce2a04
DE
116732014-01-22 Doug Evans <dje@google.com>
11674
11675 New gdbserver option --debug-format=timestamp.
11676 * NEWS: Mention it.
11677
237b092b
AA
116782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11679
11680 * syscalls/s390x-linux.xml: New file.
11681 * syscalls/s390-linux.xml: New file.
11682 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11683 (XML_SYSCALL_FILENAME_S390X): Likewise.
11684 (op_svc): New enum value for SVC opcode.
11685 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11686 (s390_linux_get_syscall_number): New function.
11687 (s390_gdbarch_init): Register '*get_syscall_number' and the
11688 syscall xml file name.
11689 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11690 "s390-linux.xml" and "s390x-linux.xml".
11691 * NEWS: Announce new feature.
11692
54bff650
BS
116932014-01-22 Baruch Siach <baruch@tkos.co.il>
11694
11695 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11696
14e361d7
PA
116972014-01-22 Pedro Alves <palves@redhat.com>
11698
11699 * xtensa-config.c: Include defs.h.
11700
46bbb3ed
JB
117012014-01-22 Joel Brobecker <brobecker@adacore.com>
11702
11703 * common/common-utils.h: Add "ARI:" comment beside __func__
11704 reference.
11705
3a80edfc
JB
117062014-01-22 Joel Brobecker <brobecker@adacore.com>
11707
11708 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11709 documentation a bit.
11710
4869db5e
RM
117112014-01-21 Roland McGrath <mcgrathr@google.com>
11712
11713 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11714 * configure: Regenerate.
11715 * aclocal.m4: Regenerate.
11716 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11717 New substituted variables.
11718 (install-strip): New target.
11719 (INSTALL_SCRIPT): New substituted variable.
11720 (FLAGS_TO_PASS): Add it.
11721 (install-only): Use $(INSTALL_SCRIPT) rather than
11722 $(INSTALL_PROGRAM) for gcore.
11723
9ea4267d
TT
117242014-01-20 Tom Tromey <tromey@redhat.com>
11725
11726 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11727 together.
11728
1f2bdf09
TT
117292014-01-20 Tom Tromey <tromey@redhat.com>
11730
11731 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11732 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11733 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11734 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11735 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11736 (struct cmd_list_element) <flags>: Remove.
11737 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11738 doc_allocated>: New fields.
11739 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11740 bitfields.
11741 * maint.c (maintenance_do_deprecate): Update.
11742 * top.c (execute_command): Update.
11743
e671835b
BS
117442014-01-20 Baruch Siach <baruch@tkos.co.il>
11745
11746 * xtensa-linux-nat.c: Include asm/ptrace.h.
11747
50367cd2
IB
117482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11749
11750 * Makefile.in (SFILES): Add d-support.c.
11751 (COMMON_OBS): Add d-support.o.
11752 * d-lang.h (d_parse_symbol): Add comment, now defined in
11753 d-support.c.
11754 * d-lang.c (parse_call_convention)
11755 (parse_attributes, parse_function_types)
11756 (parse_function_args, parse_type, parse_identifier)
11757 (call_convention_p, d_parse_symbol): Move functions to ...
11758 * d-support.c: ... New file.
11759
ec9f644a
IB
117602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11761
11762 * d-lang.h (d_parse_symbol): Add declaration.
11763 * d-lang.c (extract_identifiers)
11764 (extract_type_info): Remove functions.
11765 (parse_call_convention, parse_attributes)
11766 (parse_function_types, parse_function_args)
11767 (parse_type, parse_identifier, call_convention_p)
11768 (d_parse_symbol): New functions.
11769 (d_demangle): Use d_parse_symbol to demangle D symbols.
11770
94b1b47e
IB
117712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11772
11773 * d-lang.h (struct builtin_d_type): New data type.
11774 (builtin_d_type): Add declaration.
11775 * d-lang.c (d_language_arch_info, build_d_types)
11776 (builtin_d_type): New functions.
11777 (enum d_primitive_types): New data type.
11778 (d_language_defn): Change c_language_arch_info to
11779 d_language_arch_info.
11780 (d_type_data): New static variable.
11781 (_initialize_d_language): Initialize d_type_data.
11782
63778547
IB
117832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11784
11785 * d-lang.h (d_main_name): Add declaration.
11786 * d-lang.c (d_main_name): New function.
11787 * symtab.c (find_main_name): Add call to d_main_name.
11788
3271ba66
IB
117892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11790
11791 * d-lang.c (d_language_defn): Change macro_expansion_c to
11792 macro_expansion_no.
11793
d36b3012
IB
117942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11795
11796 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11797
c90a6fb7
SDJ
117982014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11799
11800 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11801 gdb_exception" declaration.
11802 * remote.c (getpkt_or_notif_sane): Likewise.
11803
749234e5
DE
118042014-01-17 Doug Evans <dje@google.com>
11805
11806 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11807 function, contents of dirnames_to_char_ptr_vec_append moved here.
11808 (delim_string_to_char_ptr_vec): New function.
11809 (dirnames_to_char_ptr_vec_append): Rewrite.
11810 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11811
df049a58
DE
118122014-01-17 Doug Evans <dje@google.com>
11813
11814 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11815 and moved here ...
11816 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11817 #include "common-utils.h".
11818 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11819 * common/vec.h (VEC_ASSERT_PASS): Update.
11820 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11821 (MACH_CHECK_ERROR): Update.
11822
69f97648
SM
118232014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11824
11825 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11826 comments.
11827 * gdbarch.h: Regenerate.
11828
98b1cfdc
TT
118292014-01-16 Tom Tromey <tromey@redhat.com>
11830
11831 * value.c (struct value) <regnum>: Move earlier.
11832
77a19445
TT
118332014-01-16 Tom Tromey <tromey@redhat.com>
11834
11835 * remote.c (extended_remote_create_inferior): Rename from
11836 extended_remote_create_inferior_1. Add "ops" argument. Remove
11837 old implementation.
11838
62261490
PA
118392014-01-16 Pedro Alves <palves@redhat.com>
11840
11841 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11842 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11843 the backchain.
11844
4d65956b
DE
118452014-01-16 Doug Evans <dje@google.com>
11846
11847 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11848
52834460
MM
118492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11850
11851 * btrace.h (btrace_thread_flag): New.
11852 (struct btrace_thread_info) <flags>: New.
11853 * record-btrace.c (record_btrace_resume_thread)
11854 (record_btrace_find_thread_to_move, btrace_step_no_history)
11855 (btrace_step_stopped, record_btrace_start_replaying)
11856 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11857 (record_btrace_find_resume_thread): New.
11858 (record_btrace_resume, record_btrace_wait): Extend.
11859 (record_btrace_can_execute_reverse): New.
11860 (record_btrace_open): Fail in non-stop mode.
11861 (record_btrace_set_replay): Split into this, ...
11862 (record_btrace_stop_replaying): ... this, ...
11863 (record_btrace_clear_histories): ... and this.
11864 (init_record_btrace_ops): Init to_can_execute_reverse.
11865 * NEWS: Announce it.
11866
118e6252
MM
118672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11868
11869 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11870 (forward_target_decr_pc_after_break)
11871 (target_decr_pc_after_break): New.
11872 * target.c (forward_target_decr_pc_after_break)
11873 (target_decr_pc_after_break): New.
11874 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11875 instead of gdbarch_decr_pc_after_break.
11876 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11877 instead of gdbarch_decr_pc_after_break.
11878 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11879 instead of gdbarch_decr_pc_after_break.
11880 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11881 instead of gdbarch_decr_pc_after_break.
11882 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11883 instead of gdbarch_decr_pc_after_break.
11884 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11885 instead of gdbarch_decr_pc_after_break.
11886
6e07b1d2
MM
118872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11888
11889 * btrace.c: Include regcache.h.
11890 (btrace_add_pc): New.
11891 (btrace_enable): Call btrace_add_pc.
11892 (btrace_is_empty): New.
11893 * btrace.h (btrace_is_empty): New.
11894 * record-btrace.c (require_btrace, record_btrace_info): Call
11895 btrace_is_empty.
11896
969c39fb
MM
118972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11898
11899 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11900 Support delta reads.
11901 (linux_disable_btrace): Change return type.
11902 * common/linux-btrace.h (linux_read_btrace): Change parameters
11903 and return type to allow error reporting. Update users.
11904 (linux_disable_btrace): Change return type. Update users.
11905 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11906 New.
11907 (btrace_error): New.
11908 (btrace_block) <begin>: Comment on BEGIN == 0.
11909 * btrace.c (btrace_compute_ftrace): Start from the end of
11910 the current trace.
11911 (btrace_stitch_trace, btrace_clear_history): New.
11912 (btrace_fetch): Read delta trace, return if replaying.
11913 (btrace_clear): Move clear history code to btrace_clear_history.
11914 (parse_xml_btrace): Throw an error if parsing failed.
11915 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11916 and return type to allow error reporting.
11917 (target_read_btrace): Change parameters and return type to allow
11918 error reporting.
11919 * target.c (target_read_btrace): Update.
11920 * remote.c (remote_read_btrace): Support delta reads. Pass
11921 errors on.
11922 * NEWS: Announce it.
11923
0b722aec
MM
119242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11925
11926 * record.h (record_btrace_frame_unwind)
11927 (record_btrace_tailcall_frame_unwind): New declarations.
11928 * dwarf2-frame: Include record.h
11929 (dwarf2_frame_cfa): Throw an error for btrace frames.
11930 * record-btrace.c: Include hashtab.h.
11931 (btrace_get_bfun_name): New.
11932 (btrace_call_history): Call btrace_get_bfun_name.
11933 (struct btrace_frame_cache): New.
11934 (bfcache): New.
11935 (bfcache_hash, bfcache_eq, bfcache_new): New.
11936 (btrace_get_frame_function): New.
11937 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11938 (record_btrace_frame_this_id): Compute own id.
11939 (record_btrace_frame_prev_register): Provide PC, throw_error
11940 for all other registers.
11941 (record_btrace_frame_sniffer): Detect btrace frames.
11942 (record_btrace_tailcall_frame_sniffer): New.
11943 (record_btrace_frame_dealloc_cache): New.
11944 (record_btrace_frame_unwind): Add new functions.
11945 (record_btrace_tailcall_frame_unwind): New.
11946 (_initialize_record_btrace): Allocate cache.
11947 * btrace.c (btrace_clear): Call reinit_frame_cache.
11948 * NEWS: Announce it.
11949
066ce621
MM
119502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11951
11952 * record-btrace.c (record_btrace_set_replay)
11953 (record_btrace_goto_begin, record_btrace_goto_end)
11954 (record_btrace_goto): New.
11955 (init_record_btrace_ops): Initialize them.
11956 * NEWS: Announce it.
11957
e2887aa3
MM
119582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11959
11960 * record-btrace.c (record_btrace_find_new_threads)
11961 (record_btrace_thread_alive): New.
11962 (init_record_btrace_ops): Initialize to_find_new_threads and
11963 to_thread_alive.
11964
b2f4cfde
MM
119652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11966
11967 * record-btrace.c (record_btrace_resume): New.
11968 (record_btrace_wait): New.
11969 (init_record_btrace_ops): Initialize to_wait and to_resume.
11970
633785ff
MM
119712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11972
11973 * record-btrace.c (record_btrace_xfer_partial)
11974 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11975 (record_btrace_allow_memory_access): New.
11976 (init_record_btrace_ops): Initialize new methods.
11977 * target.c (raw_memory_xfer_partial): Bail out if target reports
11978 that this memory is not available.
11979
3db08215
MM
119802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11981
11982 * target.h (target_ops) <to_insert_breakpoint>
11983 <to_remove_breakpoint>: Add target_ops parameter.
11984 (forward_target_insert_breakpoint): New.
11985 (forward_target_remove_breakpoint): New.
11986 (memory_remove_breakpoint, memory_insert_breakpoint):
11987 Add target_ops parameter.
11988 * target.c (target_insert_breakpoint): Split into this and ...
11989 (forward_target_insert_breakpoint): ... this.
11990 (target_remove_breakpoint): Split into this and ...
11991 (forward_target_remove_breakpoint): ... this.
11992 (debug_to_insert_breakpoint): Add target_ops parameter.
11993 Call forward_target_insert_breakpoint.
11994 (debug_to_remove_breakpoint): Add target_ops parameter.
11995 Call forward_target_remove_breakpoint.
11996 (update_current_target): Do not inherit or default to_insert_breakpoint
11997 and to_remove_breakpoint.
11998 * corelow.c (ignore): Add target_ops parameter.
11999 * exec.c (ignore): Add target_ops parameter.
12000 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12001 Add target_ops parameter.
12002 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12003 Add target_ops parameter.
12004 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12005 Add target_ops parameter.
12006 * record-full.c (record_full_beneath_to_insert_breakpoint)
12007 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12008 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12009 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12010 (record_full_core_remove_breakpoint): Add target_ops parameter.
12011 Update users.
12012 (record_full_beneath_to_insert_breakpoint_ops)
12013 (record_full_beneath_to_remove_breakpoint_ops)
12014 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12015 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12016 tmp_to_remove_breakpoint_ops,
12017 record_full_beneath_to_insert_breakpoint_ops, and
12018 record_full_beneath_to_remove_breakpoint_ops.
12019 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12020 (m32r_remove_breakpoint): Add target_ops parameter.
12021 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12022 Add target_ops parameter.
12023 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12024 Add target_ops parameter.
12025
cecac1ab
MM
120262014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12027 Markus Metzger <markus.t.metzger@intel.com>
12028
12029 * record-btrace.c: Include frame-unwind.h.
12030 (record_btrace_frame_unwind_stop_reason)
12031 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12032 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12033 New.
12034 (init_record_btrace_ops): Install it.
12035
824344ca
MM
120362014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12037
12038 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12039 get_prev_frame_1.
12040
32261e52
MM
120412014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12042
12043 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12044 earlier.
12045
ea001bdc
MM
120462014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12047
12048 * frame-unwind.c: Include target.h.
12049 (frame_unwind_try_unwinder): New function with code from ...
12050 (frame_unwind_find_by_frame): ... here. New variable
12051 unwinder_from_target, call also target_get_unwinder)
12052 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12053 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12054 * target.h (struct target_ops): New fields to_get_unwinder and
12055 to_get_tailcall_unwinder.
12056 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12057
1f3ef581
MM
120582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12059
12060 * record-btrace.c (record_btrace_fetch_registers)
12061 (record_btrace_store_registers)
12062 (record_btrace_to_prepare_to_store): New.
12063 (init_record_btrace_ops): Add the above.
12064
f32dbf8c
MM
120652014-01-16 Tom Tromey <tromey@redhat.com>
12066
12067 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12068 * target.h (struct target_ops) <to_prepare_to_store>: Add
12069 argument.
12070 (target_prepare_to_store): Add argument.
12071 * target.c (debug_to_prepare_to_store): Add argument.
12072 (update_current_target): Update.
12073 * remote.c (remote_prepare_to_store): Add 'self' argument.
12074 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12075 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12076 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12077 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12078 argument.
12079 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12080 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12081 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12082 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12083 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12084
07bbe694
MM
120852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12086
12087 * btrace.h (replay) <replay>: New.
12088 (btrace_is_replaying): New.
12089 * btrace.c (btrace_clear): Free replay iterator.
12090 (btrace_is_replaying): New.
12091 * record-btrace.c (record_btrace_is_replaying): New.
12092 (record_btrace_info): Print insn number if replaying.
12093 (record_btrace_insn_history): Start at replay position.
12094 (record_btrace_call_history): Start at replay position.
12095 (init_record_btrace_ops): Init to_record_is_replaying.
12096
0688d04e
MM
120972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12098
12099 * record-btrace.c (record_btrace_insn_history_range): Include
12100 end.
12101 (record_btrace_insn_history_from): Adjust range.
12102 (record_btrace_call_history_range): Include
12103 end.
12104 (record_btrace_call_history_from): Adjust range.
12105 * NEWS: Announce changes.
12106
8710b709
MM
121072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12108
12109 * record.h (enum record_print_flag)
12110 <record_print_indent_calls>: New.
12111 * record.c (get_call_history_modifiers): Recognize /c modifier.
12112 (_initialize_record): Document /c modifier.
12113 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12114 Reorder fields. Optionally indent the function name. Update
12115 all users.
12116 * NEWS: Announce changes.
12117
d0fa7535
MM
121182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12119
12120 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12121
5de9129b
MM
121222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12123
12124 * btrace.c (ftrace_new_function): Start counting at one.
12125 * record-btrace.c (record_btrace_info): Adjust number of calls
12126 and insns.
12127 * NEWS: Announce it.
12128
7acbe133
MM
121292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12130
12131 * record-btrace.c (btrace_call_history_insn_range): Print
12132 insn range as [begin, end].
12133
23a7fe75
MM
121342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12135
12136 * btrace.h (struct btrace_func_link): New.
12137 (enum btrace_function_flag): New.
12138 (struct btrace_inst): Rename to ...
12139 (struct btrace_insn): ...this. Update all users.
12140 (struct btrace_func) <ibegin, iend>: Remove.
12141 (struct btrace_func_link): New.
12142 (struct btrace_func): Rename to ...
12143 (struct btrace_function): ...this. Update all users.
12144 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12145 (number, level, flags>: New.
12146 (struct btrace_insn_iterator): Rename to ...
12147 (struct btrace_insn_history): ...this.
12148 Update all users.
12149 (struct btrace_insn_iterator, btrace_call_iterator): New.
12150 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12151 (struct btrace_target_info) <begin, end, level>
12152 <insn_history, call_history>: New.
12153 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12154 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12155 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12156 (btrace_call_number, btrace_call_begin, btrace_call_end)
12157 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12158 (btrace_find_function_by_number, btrace_set_insn_history)
12159 (btrace_set_call_history): New.
12160 * btrace.c (btrace_init_insn_iterator)
12161 (btrace_init_func_iterator, compute_itrace): Remove.
12162 (ftrace_print_function_name, ftrace_print_filename)
12163 (ftrace_skip_file): Change
12164 parameter to const.
12165 (ftrace_init_func): Remove.
12166 (ftrace_debug): Use new btrace_function fields.
12167 (ftrace_function_switched): Also consider gaining and
12168 losing symbol information).
12169 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12170 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12171 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12172 New.
12173 (ftrace_new_function): Move. Remove debug print.
12174 (ftrace_update_lines, ftrace_update_insns): New.
12175 (ftrace_update_function): Check for call, ret, and jump.
12176 (compute_ftrace): Renamed to ...
12177 (btrace_compute_ftrace): ...this. Rewritten to compute call
12178 stack.
12179 (btrace_fetch, btrace_clear): Updated.
12180 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12181 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12182 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12183 (btrace_call_number, btrace_call_begin, btrace_call_end)
12184 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12185 (btrace_find_function_by_number, btrace_set_insn_history)
12186 (btrace_set_call_history): New.
12187 * record-btrace.c (require_btrace): Use new btrace thread
12188 info fields.
12189 (record_btrace_info, btrace_insn_history)
12190 (record_btrace_insn_history, record_btrace_insn_history_range):
12191 Use new btrace thread info fields and new iterator.
12192 (btrace_func_history_src_line): Rename to ...
12193 (btrace_call_history_src_line): ...this. Use new btrace
12194 thread info fields.
12195 (btrace_func_history): Rename to ...
12196 (btrace_call_history): ...this. Use new btrace thread info
12197 fields and new iterator.
12198 (record_btrace_call_history, record_btrace_call_history_range):
12199 Use new btrace thread info fields and new iterator.
12200
8372a7cb
MM
122012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12202
12203 * frame.h (frame_id_build_unavailable_stack_special): New.
12204 * frame.c (frame_id_build_unavailable_stack_special): New.
12205
c2170eef
MM
122062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12207
12208 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12209 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12210 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12211 to gdbarch.
12212 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12213 (i386_insn_is_jump, i386_jmp_p): New.
12214 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12215 insn_is_jump to gdbarch.
12216 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12217 * gdbarch.h: Regenerated.
12218 * gdbarch.c: Regenerated.
12219 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12220 (default_insn_is_jump): New.
12221 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12222 (default_insn_is_jump): New.
12223
864089d2
MM
122242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12225
12226 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12227 Change to ...
12228 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12229 (btrace_read_type) <btrace_read_new>: Change to ...
12230 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12231
ed9edfb5
MM
122322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12233
12234 * common/linux-btrace.c (linux_read_btrace): Free trace from
12235 previous iteration.
12236
fbcbc3fd
DE
122372014-01-15 Doug Evans <dje@google.com>
12238
12239 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12240 uint32_t.
12241
3d548a53
TT
122422014-01-15 Tom Tromey <tromey@redhat.com>
12243
12244 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12245 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12246 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12247 (set_objfile_main_name): New function.
12248 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12249 language_of_main>: New fields.
12250 (set_objfile_main_name): Declare.
12251 * symtab.c (find_main_name): Loop over objfiles to find the main
12252 name and language.
12253 (set_main_name): Now static.
12254 (get_main_info): Add comment.
12255 * symtab.h (set_main_name): Don't declare.
12256
32ac0d11
TT
122572014-01-15 Tom Tromey <tromey@redhat.com>
12258
12259 * symtab.c (main_progspace_key): New global.
12260 (struct main_info): New.
12261 (name_of_main, language_of_main): Remove.
12262 (get_main_info, main_info_cleanup): New function.
12263 (set_main_name, main_name, main_language): Use get_main_info.
12264 (_initialize_symtab): Initialize main_progspace_key.
12265
9e6c82ad
TT
122662014-01-15 Tom Tromey <tromey@redhat.com>
12267
12268 * dbxread.c (process_one_symbol): Update.
12269 * dwarf2read.c (read_partial_die): Update.
12270 * symfile.c (set_initial_language): Call main_language.
12271 * symtab.c (language_of_main): Now static.
12272 (set_main_name): Add 'lang' parameter.
12273 (find_main_name): Update.
12274 (main_language): New function.
12275 (symtab_observer_executable_changed): Update.
12276 * symtab.h (set_main_name): Update.
12277 (language_of_main): Remove.
12278 (main_language): Declare.
12279
6ef55de7
TT
122802014-01-15 Tom Tromey <tromey@redhat.com>
12281
12282 * symfile.c (init_entry_point_info): Use new "initialized" field.
12283 Update.
12284 * objfiles.h (struct entry_point) <initialized>: New field.
12285 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12286 (struct objfile) <ei>: ...here. Remove.
12287 * objfiles.c (entry_point_address_query): Update.
12288
53eddfa6
TT
122892014-01-15 Tom Tromey <tromey@redhat.com>
12290
12291 * objfiles.c (entry_point_address_query): Relocate entry point
12292 address.
12293 (objfile_relocate1): Do not relocate entry point address.
12294 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12295 <the_bfd_section_index>: New field.
12296 * symfile.c (init_entry_point_info): Find the entry point's
12297 section.
12298
d56e56aa
TT
122992014-01-15 Tom Tromey <tromey@redhat.com>
12300
12301 * solib-frv.c (enable_break): Use entry_point_address_query.
12302
33a97bbe
OJ
123032014-01-15 Omair Javaid <omair.javaid@linaro.org>
12304
12305 * NEWS: Add note on improved process record-replay on
12306 arm*-linux* targets.
12307
c6ec2b30
OJ
123082014-01-15 Omair Javaid <omair.javaid@linaro.org>
12309
12310 * arm-tdep.c (enum arm_record_result): New enum.
12311 (arm_record_unsupported_insn): New function.
12312 (arm_record_coproc_data_proc): Removed.
12313 (thumb2_record_ld_st_multiple): New function.
12314 (thumb2_record_ld_st_dual_ex_tbb): New function.
12315 (thumb2_record_data_proc_sreg_mimm): New function.
12316 (thumb2_record_ps_dest_generic): New function.
12317 (thumb2_record_branch_misc_cntrl): New function.
12318 (thumb2_record_str_single_data): New function.
12319 (thumb2_record_ld_mem_hints): New function.
12320 (thumb2_record_ld_word): New function.
12321 (thumb2_record_lmul_lmla_div): New function.
12322 (thumb2_record_decode_insn_handler): New function.
12323 (decode_insn): Add thumb32 instruction handlers.
12324
97dfe206
OJ
123252014-01-15 Omair Javaid <omair.javaid@linaro.org>
12326
12327 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12328 (struct arm_linux_record_tdep): Declare.
12329 (arm_canonicalize_syscall): New function.
12330 (arm_all_but_pc_registers_record): New function.
12331 (arm_linux_syscall_record): New function.
12332 (arm_linux_init_abi): Add syscall recording constructs.
12333 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12334 decoding. (arm_record_coproc_data_proc): Update arm syscall
12335 decoding.
12336 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12337 <arm_syscall_record>: New field.
12338 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12339 gdb_target_obs.
12340
9904a494
OJ
123412014-01-15 Omair Javaid <omair.javaid@linaro.org>
12342
12343 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12344 register for push instruction recording.
12345
f969241e
OJ
123462014-01-15 Omair Javaid <omair.javaid@linaro.org>
12347
12348 * arm-tdep.c (thumb_record_misc): Update to correct logical
12349 error while recording ldm, ldmia and pop instructions.
12350
bfbbec00
OJ
123512014-01-15 Omair Javaid <omair.javaid@linaro.org>
12352
12353 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12354
e40adcc9
PA
123552014-01-15 Pedro Alves <palves@redhat.com>
12356
12357 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12358 (go32_resume, go32_fetch_registers, store_register)
12359 (go32_store_registers, go32_prepare_to_store)
12360 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12361 (go32_create_inferior, go32_can_run, go32_terminal_init)
12362 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12363 declarations.
12364
b0a16e66
TT
123652014-01-15 Tom Tromey <tromey@redhat.com>
12366
12367 * target.h (async_callback_ftype): New typedef.
12368 (struct target_ops) <to_async>: Use it.
12369
bf7105a4
JB
123702014-01-15 Joel Brobecker <brobecker@adacore.com>
12371
12372 * python/py-value.c (get_field_type): Remove unnecessary curly
12373 braces for single-statement if block.
12374
a8f35c2e
JB
123752014-01-15 Joel Brobecker <brobecker@adacore.com>
12376
12377 * python/py-type.c (convert_field): Add missing empty line
12378 after declarations.
12379
bb4142cf
DE
123802014-01-14 Doug Evans <dje@google.com>
12381
12382 * symfile.h (expand_symtabs_matching): Renamed from
12383 expand_partial_symbol_names. Update prototype.
12384 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12385 * symfile.c (expand_symtabs_matching): Renamed from
12386 expand_partial_symbol_names. New args file_matcher, kind.
12387 Rename arg fun to symbol_matcher.
12388 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12389 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12390 ada_expand_partial_symbol_name.
12391 (ada_make_symbol_completion_list): Update to call
12392 expand_symtabs_matching.
12393 (ada_add_global_exceptions): Call expand_symtabs_matching.
12394 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12395 call map_symbol_filenames.
12396 * symtab.c (sources_info): Update to call map_symbol_filenames.
12397 (search_symbols): Call expand_symtabs_matching.
12398 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12399 (default_make_symbol_completion_list_break_on): Update to call
12400 expand_symtabs_matching.
12401 (make_source_files_completion_list): Update to call
12402 map_symbol_filenames.
12403
206f2a57
DE
124042014-01-14 Doug Evans <dje@google.com>
12405
12406 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12407 (expand_symtabs_symbol_matcher_ftype): New typedef.
12408 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12409 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12410 * symfile.c (expand_partial_symbol_names): Update to use
12411 expand_symtabs_symbol_matcher_ftype.
12412 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12413 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12414 Arg name_matcher renamed to symbol_matcher.
12415 * psymtab.c (recursively_search_psymtabs): Update to use
12416 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12417 sym_matcher.
12418 (expand_symtabs_matching_via_partial): Update to use
12419 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12420 Arg name_matcher renamed to symbol_matcher.
12421
540c2971
DE
124222014-01-14 Doug Evans <dje@google.com>
12423
12424 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12425 (map_partial_symbol_filenames): Ditto.
12426 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12427 (map_partial_symbol_filenames): Ditto.
12428 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12429 (map_partial_symbol_filenames): Ditto.
12430 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12431 (map_partial_symbol_filenames): Ditto.
12432 * symtab.c: Delete #include "psymtab.h".
12433
8213266a
PA
124342014-01-14 Pedro Alves <palves@redhat.com>
12435 Tom Tromey <tromey@redhat.com>
12436
12437 * infrun.c (use_displaced_stepping): Use find_record_target
12438 instead of RECORD_IS_USED.
12439 (adjust_pc_after_break): Use record_full_is_used instead of
12440 RECORD_IS_USED.
12441 * record-btrace.c (record_btrace_open): Call record_preopen
12442 instead of checking RECORD_IS_USED.
12443 * record-full.c (record_full_shortname)
12444 (record_full_core_shortname): New globals.
12445 (record_full_is_used): New function.
12446 (find_full_open): Call record_preopen instead of checking
12447 RECORD_IS_USED.
12448 (init_record_full_ops): Set the target's shortname to
12449 record_full_shortname.
12450 (init_record_full_core_ops): Set the target's shortname to
12451 record_full_core_shortname.
12452 * record-full.h (record_full_is_used): Declare.
12453 * record.c (find_record_target): Make extern.
12454 (record_preopen): New function.
12455 * record.h (RECORD_IS_USED): Delete macro.
12456 (find_record_target, record_preopen): Declare functions.
12457
7ec1862d
YQ
124582014-01-14 Yao Qi <yao@codesourcery.com>
12459
12460 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12461 'len''s type to ULONGEST.
12462 (core_xfer_shared_libraries_aix): Likewise.
12463 * gdbarch.c, gdbarch.h: Regenerated.
12464 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12465 Change type of 'len' to ULONGEST.
12466 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12467 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12468
dea80a27
YQ
124692014-01-14 Yao Qi <yao@codesourcery.com>
12470
12471 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12472 type of 'len' to ULONGEST.
12473 (linux_xfer_osdata_processgroups): Likewise.
12474 (linux_xfer_osdata_threads): Likewise.
12475 (linux_xfer_osdata_fds): Likewise.
12476 (linux_xfer_osdata_isockets): Likewise.
12477 (linux_xfer_osdata_shm): Likewise.
12478 (linux_xfer_osdata_sem): Likewise.
12479 (linux_xfer_osdata_msg): Likewise.
12480 (linux_common_xfer_osdata): Likewise.
12481 (struct osdata_type) <getter>: Likewise.
12482 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12483 the declaration.
12484
b55e14c7
YQ
124852014-01-14 Yao Qi <yao@codesourcery.com>
12486
12487 * target.h (target_xfer_partial_ftype): Update.
12488 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12489 ULONGEST.
12490 * aix-thread.c (aix_thread_xfer_partial): Change type of
12491 argument 'len' to ULONGEST.
12492 * auxv.c (procfs_xfer_auxv): Likewise.
12493 (ld_so_xfer_auxv): Likewise.
12494 (memory_xfer_auxv): Likewise.
12495 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12496 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12497 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12498 * corelow.c (core_xfer_partial): Likewise.
12499 * ctf.c (ctf_xfer_partial): Likewise.
12500 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12501 '%u'.
12502 (darwin_read_dyld_info): Likewise.
12503 (darwin_xfer_partial): Likewise.
12504 * exec.c (section_table_xfer_memory_partial): Likewise.
12505 (exec_xfer_partial): Likewise.
12506 * exec.h (section_table_xfer_memory_partial): Update
12507 declaration.
12508 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12509 instead of plongest.
12510 (gnu_xfer_partial): Likewise.
12511 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12512 (ia64_hpux_xfer_solib_got): Likewise.
12513 (ia64_hpux_xfer_partial): Likewise.
12514 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12515 * inf-ptrace.c (inf_ptrace_xfer_partial):
12516 * inf-ttrace.c (inf_ttrace_xfer_partial):
12517 * linux-nat.c (linux_xfer_siginfo): Likewise.
12518 (linux_nat_xfer_partial): Likewise.
12519 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12520 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12521 * monitor.c (monitor_xfer_memory): Likewise.
12522 (monitor_xfer_partial): Likewise.
12523 * procfs.c (procfs_xfer_partial): Likewise.
12524 * record-full.c (record_full_xfer_partial): Likewise.
12525 (record_full_core_xfer_partial): Likewise.
12526 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12527 instead of plongest.
12528 (gdbsim_xfer_partial): Likewise.
12529 * remote.c (remote_xfer_partial): Likewise.
12530 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12531 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12532 declaration.
12533 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12534 (rs6000_xfer_shared_libraries): Likewise.
12535 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12536 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12537 (sparc_xfer_partial): Likewise.
12538 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12539 (spu_xfer_partial): Likewise.
12540 * spu-multiarch.c (spu_xfer_partial): Likewise.
12541 * target.c (target_read_live_memory): Likewise.
12542 (memory_xfer_live_readonly_partial): Likewise.
12543 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12544 (target_xfer_partial, default_xfer_partial): Likewise.
12545 (current_xfer_partial): Likewise.
12546 * tracepoint.c (tfile_xfer_partial): Likewise.
12547 * windows-nat.c (windows_xfer_memory): Likewise. Call
12548 pulongest instead of plongest.
12549 (windows_xfer_partial): Likewise.
12550 (windows_xfer_shared_libraries): Likewise.
12551
05804640
YQ
125522014-01-14 Yao Qi <yao@codesourcery.com>
12553
12554 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12555 target_xfer_partial_ftype.
12556
b5b08fb4
SC
125572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12558
12559 PR python/15464
12560 PR python/16113
12561 * valops.c (value_struct_elt_bitpos): New function
12562 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12563 object to 'None' if the field name is an empty string ("").
12564 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12565 attribute to look for a field when 'name' is 'None'.
12566 (get_field_type): New function
12567
13aaf454
DE
125682014-01-13 Doug Evans <dje@google.com>
12569
12570 PR symtab/16426
12571 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12572 (try_open_dwop_file): Ditto.
12573 * gdb_bfd.c: #include "vec.h".
12574 (bfdp): New typedef.
12575 (struct gdb_bfd_data): New member included_bfds.
12576 (gdb_bfd_unref): Unref all included bfds.
12577 (gdb_bfd_record_inclusion): New function.
12578 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12579
c2cec97c
TT
125802014-01-13 Tom Tromey <tromey@redhat.com>
12581
12582 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12583
78e5999d
TT
125842014-01-13 Tom Tromey <tromey@redhat.com>
12585
12586 * defs.h (use_windows): Remove.
12587 * gdb.c (main): Update.
12588 * main.c (captured_main, gdb_main): Update.
12589 * main.h (struct captured_main_args) <use_windows>: Remove.
12590 * top.c (use_windows): Remove.
12591
f2052bbe
TT
125922014-01-13 Tom Tromey <tromey@redhat.com>
12593
12594 * defs.h (deprecated_flush_hook): Remove.
12595
fde4f8ed
JK
125962014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12597
12598 PR threads/16216
12599 * linux-thread-db.c (try_thread_db_load): Add parameter
12600 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12601 (try_thread_db_load_from_pdir_1): Move it there from here.
12602 (try_thread_db_load_from_sdir): Update caller.
12603 (try_thread_db_load_from_dir): Move it there from here.
12604
bdf61915
PP
126052014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12606
12607 * regformats/regdat.sh: Always rewrite the register file.
12608
f71e1a8d
PA
126092014-01-13 Pedro Alves <palves@redhat.com>
12610
12611 * Makefile.in (CHECK_HEADERS): New variable.
12612 (check-headers:): New rule.
12613
42c85435
TT
126142014-01-13 Tom Tromey <tromey@redhat.com>
12615
12616 * cli/cli-setshow.c (do_set_command): Update.
12617 * defs.h (deprecated_set_hook): Remove.
12618 * top.c (deprecated_set_hook): Remove.
12619
f8de5129
PA
126202014-01-13 Pedro Alves <palves@redhat.com>
12621
12622 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12623 the tracepoint if the PC is a pseudo-register.
12624
fc270c35
TT
126252014-01-13 Tom Tromey <tromey@redhat.com>
12626
12627 * defs.h (XCALLOC): Remove.
12628 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12629 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12630 * dwarf2loc.c (allocate_piece_closure): Likewise.
12631 * elfread.c (elf_symfile_segments): Likewise.
12632 (elf_symfile_segments): Likewise.
12633 * gdbtypes.c (copy_type_recursive): Likewise.
12634 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12635 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12636 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12637 XCALLOC.
12638 * mt-tdep.c (mt_gdbarch_init): Likewise.
12639 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12640 XCALLOC.
12641 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12642 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12643 * registry.c (registry_alloc_data): Likewise.
12644 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12645 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12646 * serial.c (serial_fdopen_ops): Likewise.
12647 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12648 XCALLOC.
12649 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12650 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12651 not XCALLOC.
12652
70ba0933
TT
126532014-01-13 Tom Tromey <tromey@redhat.com>
12654
12655 * defs.h (XMALLOC): Remove.
12656 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12657 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12658 * cli-out.c (struct ui_out *): Likewise.
12659 * cli/cli-dump.c (add_dump_command): Likewise.
12660 (add_dump_command): Likewise.
12661 * complaints.c (get_complaints): Likewise.
12662 (find_complaint): Likewise.
12663 * dwarf2-frame.c (execute_cfa_program): Likewise.
12664 * dwarf2read.c (abbrev_table_read_table): Likewise.
12665 * gdbarch.sh: Likewise.
12666 * gdbarch.c: Rebuild.
12667 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12668 * interps.c (interp_new): Likewise.
12669 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12670 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12671 * mi/mi-console.c (mi_console_file_new): Likewise.
12672 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12673 * mi/mi-out.c (mi_out_new): Likewise.
12674 * mi/mi-parse.c (mi_parse): Likewise.
12675 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12676 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12677 * observer.c (xalloc_observer_list_node): Likewise.
12678 * regcache.c (regcache_xmalloc_1): Likewise.
12679 * reggroups.c (reggroup_new): Likewise.
12680 (_initialize_reggroup): Likewise.
12681 * registry.c (register_data_with_cleanup): Likewise.
12682 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12683 * ser-base.c (serial_ttystate): Likewise.
12684 * ser-mingw.c (make_pipe_state): Likewise.
12685 * ser-pipe.c (pipe_open): Likewise.
12686 * serial.c (serial_open): Likewise.
12687 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12688 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12689 (tui_alloc_win_info): Likewise.
12690 (tui_add_content_elements): Likewise.
12691 * tui/tui-file.c (tui_file_new): Likewise.
12692 * tui/tui-out.c (tui_out_new): Likewise.
12693 * ui-file.c (mem_file_new): Likewise.
12694 * ui-out.c (push_level): Likewise.
12695 (make_cleanup_ui_out_end): Likewise.
12696 (append_header_to_list): Likewise.
12697 (ui_out_new): Likewise.
12698 * user-regs.c (user_reg_add_builtin): Likewise.
12699
41bf6aca
TT
127002014-01-13 Tom Tromey <tromey@redhat.com>
12701
12702 * defs.h (XZALLOC): Remove.
12703 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12704 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12705 (get_ada_tasks_inferior_data): Likewise.
12706 * auto-load.c (get_auto_load_pspace_data): Likewise.
12707 * auxv.c (get_auxv_inferior_data): Likewise.
12708 * bfd-target.c (target_bfd_reopen): Likewise.
12709 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12710 (deprecated_insert_raw_breakpoint): Likewise.
12711 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12712 * corelow.c (core_open): Likewise.
12713 * darwin-nat.c (darwin_check_new_threads): Likewise.
12714 (darwin_attach_pid): Likewise.
12715 * dummy-frame.c (dummy_frame_push): Likewise.
12716 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12717 * dwarf2loc.c (allocate_piece_closure): Likewise.
12718 * elfread.c (elf_symfile_segments): Likewise.
12719 * eval.c (ptrmath_type_p): Likewise.
12720 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12721 * gdbtypes.c (alloc_type_arch): Likewise.
12722 (alloc_type_instance): Likewise.
12723 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12724 * inf-child.c (inf_child_can_use_agent): Likewise.
12725 * inflow.c (get_inflow_inferior_data): Likewise.
12726 * infrun.c (save_infcall_suspend_state): Likewise.
12727 * jit.c (jit_reader_load): Likewise.
12728 (get_jit_objfile_data): Likewise.
12729 (get_jit_program_space_data): Likewise.
12730 (jit_object_open_impl): Likewise.
12731 (jit_symtab_open_impl): Likewise.
12732 (jit_block_open_impl): Likewise.
12733 (jit_frame_sniffer): Likewise.
12734 * linux-fork.c (add_fork): Likewise.
12735 * maint.c (make_command_stats_cleanup): Likewise.
12736 * objfiles.c (get_objfile_pspace_data): Likewise.
12737 * opencl-lang.c (struct lval_closure): Likewise.
12738 * osdata.c (osdata_start_osdata): Likewise.
12739 * progspace.c (new_address_space): Likewise.
12740 (add_program_space): Likewise.
12741 * remote-sim.c (get_sim_inferior_data): Likewise.
12742 * sh-tdep.c (sh_gdbarch_init): Likewise.
12743 * skip.c (Ignore): Likewise.
12744 (skip_delete_command): Likewise.
12745 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12746 (library_list_start_library): Likewise.
12747 (solib_aix_current_sos): Likewise.
12748 * solib-darwin.c (get_darwin_info): Likewise.
12749 (darwin_current_sos): Likewise.
12750 * solib-dsbt.c (get_dsbt_info): Likewise.
12751 * solib-ia64-hpux.c (new_so_list): Likewise.
12752 (ia64_hpux_get_solib_linkage_addr): Likewise.
12753 * solib-spu.c (append_ocl_sos): Likewise.
12754 (spu_current_sos): Likewise.
12755 * solib-svr4.c (get_svr4_info): Likewise.
12756 (svr4_keep_data_in_core): Likewise.
12757 (library_list_start_library): Likewise.
12758 (svr4_default_sos): Likewise.
12759 (svr4_read_so_list): Likewise.
12760 * solib-target.c (library_list_start_library): Likewise.
12761 (solib_target_current_sos): Likewise.
12762 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12763 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12764 * symfile.c (default_symfile_segments): Likewise.
12765 * target-descriptions.c (tdesc_data_init): Likewise.
12766 (tdesc_create_reg): Likewise.
12767 (struct tdesc_type *): Likewise.
12768 (tdesc_create_vector): Likewise.
12769 (tdesc_set_struct_size): Likewise.
12770 (struct tdesc_type *): Likewise.
12771 (tdesc_free_feature): Likewise.
12772 (tdesc_create_feature): Likewise.
12773 * windows-nat.c (windows_add_thread): Likewise.
12774 (windows_make_so): Likewise.
12775 * xml-support.c (gdb_xml_body_text): Likewise.
12776 (gdb_xml_create_parser_and_cleanup): Likewise.
12777 (xml_process_xincludes): Likewise.
12778 * xml-syscall.c (allocate_syscalls_info): Likewise.
12779 (syscall_create_syscall_desc): Likewise.
12780
5acfdbae
SDJ
127812014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12782
12783 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12784 function, with code from i386_stap_parse_special_token.
12785 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12786 (i386_stap_parse_special_token): Move code to the two functions
12787 above; simplify it.
12788
0000e5cc
PA
127892014-01-09 Pedro Alves <palves@redhat.com>
12790 Hui Zhu <hui@codesourcery.com>
12791
12792 PR gdb/16101
12793 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12794 bp_err_string. Don't mark the location shlib_disabled if the
12795 error thrown wasn't a generic or memory error. Catch errors
12796 thrown while inserting breakpoints in overlayed code. Output
12797 error message of software breakpoints.
12798 * remote.c (remote_insert_breakpoint): If this breakpoint has
12799 target-side commands but this stub doesn't support Z0 packets,
12800 throw NOT_SUPPORTED_ERROR error.
12801 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12802 * target.h (target_insert_breakpoint): Extend comment.
12803 (target_insert_hw_breakpoint): Add comment.
12804
b7ea362b
PA
128052014-01-08 Pedro Alves <palves@redhat.com>
12806
12807 * remote.c (remote_add_thread): Add threads silently if starting
12808 up.
12809 (remote_notice_new_inferior): If in all-stop, and starting up,
12810 don't call notice_new_inferior.
12811 (get_current_thread): New function, factored out from ...
12812 (add_current_inferior_and_thread): ... this. Adjust.
12813 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12814 found any thread, then select the remote's current thread as GDB's
12815 current thread too.
12816
b7bba001
JB
128172014-01-08 Joel Brobecker <brobecker@adacore.com>
12818
12819 * NEWS: Create a new section for the next release branch.
12820 Rename the section of the current branch, now that it has
12821 been cut.
12822
16dfbded
JB
128232014-01-08 Joel Brobecker <brobecker@adacore.com>
12824
12825 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12826 * version.in: Bump version to 7.7.50.DATE-cvs.
12827
22c90ac1
YQ
128282014-01-08 Yao Qi <yao@codesourcery.com>
12829
12830 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12831 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12832 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12833
d64ad97c
YQ
128342014-01-08 Yao Qi <yao@codesourcery.com>
12835
12836 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12837 return value of bfd_get_filename to symbol_file_add_from_bfd.
12838
f93ba80c
PM
128392014-01-08 Pierre Muller <muller@sourceware.org>
12840
12841 Fix PR16201.
12842 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12843 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12844 to prim_record_mininal_symbol_and_info.
12845 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12846 in call to prim_record_minimal_symbol_and_info.
12847 (read_pe_exported_syms): Set index field of section_data.
12848
a4d9ba85
AP
128492014-01-07 Andrew Pinski <apinski@cavium.com>
12850
12851 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12852 * features/aarch64.c: Regenerate.
12853
1b67eb02
AS
128542014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12855
12856 * target.c (return_null): Define.
12857 (update_current_target): Use it instead of return_zero for
12858 functions that return a pointer.
12859
5e3f4fab
EBM
128602014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12861
12862 * source.c (add_path): Fix check for duplicated paths in the previously
12863 included paths.
12864
e2616788
HK
128652014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12866
12867 * ada-lang.c: Remove duplicated include statements.
12868 * alphabsd-nat.c: Ditto.
12869 * amd64-darwin-tdep.c: Ditto.
12870 * amd64fbsd-nat.c: Ditto.
12871 * auto-load.c: Ditto.
12872 * ax-gdb.c: Ditto.
12873 * breakpoint.c: Ditto.
12874 * dbxread.c: Ditto.
12875 * fork-child.c: Ditto.
12876 * gdb_usleep.c: Ditto.
12877 * i386-darwin-tdep.c: Ditto.
12878 * i386fbsd-nat.c: Ditto.
12879 * infcmd.c: Ditto.
12880 * inferior.c: Ditto.
12881 * jv-lang.c: Ditto.
12882 * linux-nat.c: Ditto.
12883 * linux-tdep.c: Ditto.
12884 * m68kbsd-nat.c: Ditto.
12885 * m68klinux-nat.c: Ditto.
12886 * microblaze-tdep.c: Ditto.
12887 * mips-linux-tdep.c: Ditto.
12888 * mn10300-tdep.c: Ditto.
12889 * nto-tdep.c: Ditto.
12890 * opencl-lang.c: Ditto.
12891 * osdata.c: Ditto.
12892 * printcmd.c: Ditto.
12893 * regcache.c: Ditto.
12894 * remote-m32r-sdi.c: Ditto.
12895 * remote.c: Ditto.
12896 * symfile.c: Ditto.
12897 * symtab.c: Ditto.
12898 * tilegx-linux-nat.c: Ditto.
12899 * tilegx-tdep.c: Ditto.
12900 * tracepoint.c: Ditto.
12901 * valops.c: Ditto.
12902 * vaxbsd-nat.c: Ditto.
12903 * windows-nat.c: Ditto.
12904 * xtensa-tdep.c: Ditto.
12905
bd1f7788
YQ
129062014-01-07 Yao Qi <yao@codesourcery.com>
12907
12908 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12909
79301218
JB
129102014-01-07 Yao Qi <yao@codesourcery.com>
12911 Joel Brobecker <brobecker@adacore.com>
12912
12913 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12914 (pdc_write_regs): Likewise.
12915 (fetch_regs_kernel_thread): Likewise.
12916 (store_regs_kernel_thread): Likewise.
12917
129182014-01-07 Joel Brobecker <brobecker@adacore.com>
12919
12920 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12921 tagged type objects to their actual type.
12922
8e355c5d
JB
129232014-01-07 Joel Brobecker <brobecker@adacore.com>
12924
12925 * ada-valprint.c (print_field_values): Add "language" parameter.
12926 Update calls to print_field_values and print_variant_part.
12927 Pass new parameter "language" in call to val_print instead
12928 of "current_language". Replace call to ada_val_print by call
12929 to val_print.
12930 (print_variant_part): Add "language" parameter.
12931 (ada_val_print_struct_union): Update call to print_field_values.
12932
4fbf5aa5
JB
129332014-01-07 Joel Brobecker <brobecker@adacore.com>
12934
12935 * ada-valprint.c (ui_memcpy): Delete.
12936 (ada_print_floating): Update documentation. Add empty line
12937 between between function documentation and implementation.
12938 Delete variable "buffer". Use ui_file_xstrdup in place of
12939 ui_file_put. Minor adjustments following this change.
12940
71855601
JB
129412014-01-07 Joel Brobecker <brobecker@adacore.com>
12942
12943 * ada-valprint.c (ada_val_print_string): New function,
12944 extracted from ada_val_print_array.
12945 (ada_val_print_array): Replace extracted code by call
12946 to ada_val_print_string followed by a return. Move
12947 "else" branch to the function's top block.
12948
4eb27a30
JB
129492014-01-07 Joel Brobecker <brobecker@adacore.com>
12950
12951 * ada-valprint.c (ada_val_print_array): Move implementation
12952 down. Rename parameter "offset" and "val" into "offset_aligned"
12953 and "original_value" respectively. Add parameter "offset".
12954
34b27950
JB
129552014-01-07 Joel Brobecker <brobecker@adacore.com>
12956
12957 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12958 re-organizing the code. Change the "???" message printed
12959 when target type is a TYPE_CODE_UNDEF into
12960 "<ref to undefined type>".
12961
079e4591
JB
129622014-01-07 Joel Brobecker <brobecker@adacore.com>
12963
12964 * ada-valprint.c (print_record): Delete, implementation inlined...
12965 (ada_val_print_struct_union): ... here. Remove call to
12966 ada_check_typedef in inlined implementation.
12967
8004dfd1
JB
129682014-01-07 Joel Brobecker <brobecker@adacore.com>
12969
12970 * ada-valprint.c (ada_val_print_gnat_array): New function,
12971 extracted from ada_val_print_1;
12972 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12973 (ada_val_print_flt, ada_val_print_struct_union)
12974 (ada_val_print_ref): Likewise.
12975 (ada_val_print_1): Delete variables i and elttype.
12976 Replace extracted-out code by call to corresponding
12977 new functions.
12978
760a2db0
JB
129792014-01-07 Joel Brobecker <brobecker@adacore.com>
12980
12981 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12982
3a92c861
JB
129832014-01-07 Joel Brobecker <brobecker@adacore.com>
12984
12985 * ada-valprint.c (ada_val_print_1): Replace calls to
12986 ada_val_print_1 by calls to val_print.
12987
cd1630f9
JB
129882014-01-07 Joel Brobecker <brobecker@adacore.com>
12989
12990 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12991 Update calls to self accordingly. Replace calls to c_val_print
12992 by calls to val_print.
12993
bdf779a0
JB
129942014-01-07 Joel Brobecker <brobecker@adacore.com>
12995
12996 * ada-valprint.c (print_record): Delete declaration.
12997 (adjust_type_signedness, ada_val_print_1): Likewise.
12998 (ada_val_print): Move function implementation down.
12999 (print_variant_part, print_field_values, print_record):
13000 Move function implementation up.
13001
c0d48811
JB
130022014-01-07 Joel Brobecker <brobecker@adacore.com>
13003
13004 * python/py-type.c (typy_get_name): New function.
13005 (type_object_getset): Add entry for attribute "name".
13006 * NEWS: Add entry mentioning this new attribute.
13007
c26e9cbb
YQ
130082014-01-07 Yao Qi <yao@codesourcery.com>
13009
13010 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13011 statement.
13012
0cc6f43d
YQ
130132014-01-07 Yao Qi <yao@codesourcery.com>
13014
13015 * gnu-nat.c (info_port_rights): Add qualifier const to
13016 argument args.
13017
eec03155
YQ
130182014-01-07 Yao Qi <yao@codesourcery.com>
13019
13020 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13021
f04a82ef
YQ
130222014-01-07 Yao Qi <yao@codesourcery.com>
13023
13024 * gnu-nat.c (make_inf) Update declaration.
13025 (make_inf): Make it static.
13026 (inf_set_traced): Likewise.
13027 (inf_port_to_thread, inf_task_died_status): Likewise.
13028
d57dda0a
YQ
130292014-01-07 Yao Qi <yao@codesourcery.com>
13030
13031 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13032
3aa8c969
YQ
130332014-01-07 Yao Qi <yao@codesourcery.com>
13034
13035 * gnu-nat.c (_initialize_gnu_nat): Declare.
13036
94123b4f
YQ
130372014-01-07 Yao Qi <yao@codesourcery.com>
13038
13039 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13040 'enum bfd_endian'.
13041 (struct gdbarch_info) <byte_order>: Change type to
13042 'enum bfd_endian'.
13043 <byte_order_for_code>: Likewise.
13044 * gdbarch.c, gdbarch.h: Regenerated.
13045
dc81d70a
TT
130462014-01-06 Sasha Smundak <asmundak@google.com>
13047
13048 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13049
cc2f3c35
TT
130502014-01-06 Tom Tromey <tromey@redhat.com>
13051
13052 * doublest.c (convert_doublest_to_floatformat): Use const, not
13053 CONST.
13054 * somread.c (som_symtab_read): Likewise.
13055
adcf2eed
HZ
130562014-01-07 Hui Zhu <hui@codesourcery.com>
13057
13058 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13059 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13060 (gdb_bfd_fopen): Ditto.
13061 (gdb_bfd_openr): Ditto.
13062 (gdb_bfd_openw): Ditto.
13063 (gdb_bfd_openr_iovec): Ditto.
13064 (gdb_bfd_fdopenr): Ditto.
13065 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13066 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13067 with xstrdup.
13068 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13069 with xstrdup.
13070 * symfile-mem.c (symbol_file_add_from_memory): Removed
13071 gdb_bfd_stash_filename.
13072
50722198
DE
130732014-01-03 Doug Evans <dje@google.com>
13074
13075 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13076 output.
13077
2fa4b862
JB
130782014-01-01 Joel Brobecker <brobecker@adacore.com>
13079
13080 Update year range in copyright notice of all files.
13081
28498c42
JB
130822014-01-01 Joel Brobecker <brobecker@adacore.com>
13083
13084 * top.c (print_gdb_version): Set copyright year to 2014.
13085
7b6e1046
JB
130862014-01-01 Joel Brobecker <brobecker@adacore.com>
13087
13088 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13089
df96af55 13090For older changes see ChangeLog-2013.
c906108c
SS
13091\f
13092Local Variables:
13093mode: change-log
13094left-margin: 8
13095fill-column: 74
13096version-control: never
57da7796 13097coding: utf-8
c906108c 13098End:
This page took 2.243427 seconds and 4 git commands to generate.