Refactor ptrace extended event status.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
89a5711c
DB
12014-09-19 Don Breazeal <donb@codesourcery.com>
2
3 * linux-nat.c (linux_handle_extended_wait): Call
4 linux_ptrace_get_extended_event.
5 (wait_lwp): Call linux_is_extended_waitstatus.
6 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
7 and linux_is_extended_waitstatus.
8 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
9 linux_ptrace_get_extended_event.
10 (linux_ptrace_get_extended_event): New function.
11 (linux_is_extended_waitstatus): New function.
12 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
13 (linux_is_extended_waitstatus): New declarations.
14
c3b7b696
YQ
152014-09-19 Yao Qi <yao@codesourcery.com>
16
17 * dwarf2read.c (dwarf_decode_lines): Update declaration.
18 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
19 comments. Callers update.
20 (dwarf_decode_lines): Likewise.
21 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
22 comments. Skip the line table if 'lowpc' is greater than
23 'address'. Don't check
24 dwarf2_per_objfile->has_section_at_zero.
25
2b4fd423
DE
262014-09-18 Doug Evans <dje@google.com>
27
28 * NEWS: Mention new "producer" attribute of gdb.Symtab.
29 * python/py-symtab.c (stpy_get_producer): New function.
30 (symtab_object_getset): Add "producer" attribute.
31
5e43d467
UW
322014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
33
34 PR gdb/17384
35 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
36 (do_captured_read_memory_integer): Remove.
37 (safe_read_memory_integer): Use target_read_memory directly instead
38 of catching errors in do_captured_read_memory_integer.
39
04e79979
MR
402014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
41
42 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
43 not gdb/doc.
44
76aeec5b
SDJ
452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
46
47 * objc-lang.c (find_implementation_from_class): Remove dead code.
48
2f693f9d
SDJ
492014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
50
51 PR cli/7233
52 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
53 "fprintf_unfiltered (gdb_stdlog...)".
54
bb9d5f81
PP
552014-09-16 Patrick Palka <patrick@parcs.ath.cx>
56
57 PR breakpoints/12526
58 * breakpoint.h (struct watchpoint): New fields val_bitpos and
59 val_bitsize.
60 * breakpoint.c (watch_command_1): Use these fields to retain
61 bitfield information.
62 (extract_bitfield_from_watchpoint_value): New function.
63 (watchpoint_check): Use it.
64 (update_watchpoint): Use it. Optimize the address and length of a
65 HW watchpoint pointing to a bitfield.
66 * value.h (unpack_value_bitfield): New prototype.
67 * value.c (unpack_value_bitfield): Make extern.
68
05db5edd
ST
692014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
70
71 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
72 x86-dregs.o.
73 * gnu-nat.c (inf_threads): New function.
74 * gnu-nat.h (inf_threads_ftype): New typedef.
75 (inf_threads): New declaration.
76 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
77 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
78 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
79 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
80 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
81 (i386_gnu_dr_get_control): New functions.
82 (reg_addr): New structure.
83 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
84 i386 debugging register hooks.
85 * NEWS: Mention this.
86
5a578da5
OJ
872014-08-13 Omair Javaid <omair.javaid@linaro.org>
88
89 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
90 vector data transfer instructions.
91 (arm_record_coproc_data_proc): Updated.
92
f20f80dd
OJ
932014-08-13 Omair Javaid <omair.javaid@linaro.org>
94
95 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
96 arm_record_exreg_ld_st_insn.
97 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
98 load/store insns.
99
851f26ae
OJ
1002014-08-13 Omair Javaid <omair.javaid@linaro.org>
101
102 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
103 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
104 processing instructions.
105
1e1b6563
OJ
1062014-08-13 Omair Javaid <omair.javaid@linaro.org>
107
108 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
109 for advance SIMD struct ld/st insn.
110 (thumb2_record_decode_insn_handler): Replace stub handler with
111 thumb2_record_asimd_struct_ld_st.
112
60cc5e93
OJ
1132014-08-13 Omair Javaid <omair.javaid@linaro.org>
114
115 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
116 for asimd, vfp and coprocessor insns.
117 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
118 and coprocessor insns.
119 (thumb2_record_coproc_insn): New function.
120 (thumb2_record_decode_insn_handler): Update coprocessor insns record
121 handlers.
122 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
123 opcode 110 insns.
124
81219e53
DE
1252014-09-13 Doug Evans <xdje42@gmail.com>
126
127 * NEWS: Mention new "queue-signal" command.
128 * infcmd.c (queue_signal_command): New function.
129 (_initialize_infcmd): Add new queue-signal command.
130
d36bf488
DE
1312014-09-13 Doug Evans <xdje42@gmail.com>
132
133 * linux-nat.c (wait_lwp): Add debugging printf.
134 (linux_nat_wait_1): Ditto.
135
f37f681c
PA
1362014-09-12 Pedro Alves <palves@redhat.com>
137
138 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
139 (create_and_insert_solib_event_breakpoint): New functions.
140 * breakpoint.h (create_and_insert_solib_event_breakpoint)
141 (remove_solib_event_breakpoints_at_next_stop): New declarations.
142 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
143 (remove_dbx_link_breakpoint): Delete function.
144 (insert_dbx_link_bpt_in_file): Use
145 create_and_insert_solib_event_breakpoint instead of
146 deprecated_insert_raw_breakpoint.
147 (procfs_wait): Don't check whether we hit __dbx_link here.
148 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
149 here.
150 * solib-irix.c (base_breakpoint): Delete global.
151 (disable_break): Delete function.
152 (enable_break): Use create_solib_event_breakpoint
153 instead of deprecated_insert_raw_breakpoint.
154 (irix_solib_handle_event): New function.
155 (irix_solib_create_inferior_hook): Don't run the target or disable
156 the mapping-complete breakpoint here.
157 (_initialize_irix_solib): Install irix_solib_handle_event as
158 so_ops->handle_event hook.
159
9d9bf2df
EBM
1602014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
161 Ulrich Weigand  <uweigand@de.ibm.com>
162
163 PR tdep/17379
164 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
165 instead of read_memory_unsigned_integer.
166
b006a80e
GB
1672014-09-12 Gary Benson <gbenson@redhat.com>
168
169 * nat/linux-waitpid.c: Include common-defs.h.
170 [GDBSERVER]: Add FIXME comment.
171 [!GDBSERVER]: Don't include defs.h or signal.h.
172 (linux_debug) [!GDBSERVER]: Remove empty block.
173
296b1496
GB
1742014-09-12 Gary Benson <gbenson@redhat.com>
175
176 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
177 Don't include defs.h or server.h.
178
53f81362
GB
1792014-09-12 Gary Benson <gbenson@redhat.com>
180
181 * nat/linux-btrace.c: Include common-defs.h.
182 Don't include defs.h, server.h or gdbthread.h.
183 * nat/linux-btrace.h (struct target_ops): New forward declaration.
184
727605ca
GB
1852014-09-12 Gary Benson <gbenson@redhat.com>
186
187 * common/agent.c: Include common-defs.h.
188 Don't include defs.h or server.h.
189 * common/buffer.c: Likewise.
190 * common/common-debug.c: Likewise.
191 * common/common-utils.c: Likewise.
192 * common/errors.c: Likewise.
193 * common/filestuff.c: Likewise.
194 * common/format.c: Likewise.
195 * common/gdb_vecs.c: Likewise.
196 * common/print-utils.c: Likewise.
197 * common/ptid.c: Likewise.
198 * common/rsp-low.c: Likewise.
199 * common/signals.c: Likewise.
200 * common/vec.c: Likewise.
201 * common/xml-utils.c: Likewise.
202 * nat/linux-osdata.c: Likewise.
203 * nat/linux-procfs.c: Likewise.
204 * nat/linux-ptrace.c: Likewise.
205 * nat/mips-linux-watch.c: Likewise.
206 * target/waitstatus.c: Likewise.
207
361c8ade
GB
2082014-09-12 Tom Tromey <tromey@redhat.com>
209 Gary Benson <gbenson@redhat.com>
210
211 * common/common-regcache.h: New file.
212 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
213 * regcache.h: Include common-regcache.h.
214 (regcache_read_pc): Don't declare.
215 * regcache.c (get_thread_regcache_for_ptid): New function.
216 * nat/linux-btrace.c: Don't include regcache.h.
217 Include common-regcache.h.
218 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
219
a01cbb49
TS
2202014-09-11 Thomas Schwinge <thomas@codesourcery.com>
221
222 * regcache.h (struct regset): Declare.
223
98880d46
PA
2242014-09-11 Pedro Alves <palves@redhat.com>
225
226 PR gdb/17347
227 * main.c: Include "infrun.h".
228 (catch_command_errors, catch_command_errors_const): Wait for the
229 foreground command to complete.
230 * top.c (maybe_wait_sync_command_done): New function, factored out
231 from ...
232 (maybe_wait_sync_command_done): ... here.
233 * top.h (maybe_wait_sync_command_done): New declaration.
234
bd9269f7
GB
2352014-09-11 Tom Tromey <tromey@redhat.com>
236 Gary Benson <gbenson@redhat.com>
237
238 * common/symbol.h: New file.
239 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
240 * minsyms.c (find_minimal_symbol_address): New function.
241 * common/agent.c: Include common/symbol.h.
242 [!GDBSERVER]: Don't include objfiles.h.
243 (agent_look_up_symbols): Use find_minimal_symbol_address.
244
f8c1d06b
GB
2452014-09-11 Gary Benson <gbenson@redhat.com>
246
247 * target/target.h (target_stop_ptid, target_continue_ptid):
248 Declare.
249 * target.c (target_stop_ptid, target_continue_ptid): New
250 functions.
251 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
252 (agent_run_command): Always use target_stop_ptid and
253 target_continue_ptid.
254
721ec300
GB
2552014-09-11 Tom Tromey <tromey@redhat.com>
256 Gary Benson <gbenson@redhat.com>
257
258 * target/target.h: New file.
259 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
260 * target.h: Include target/target.h.
261 (target_read_memory, target_write_memory): Don't declare.
262 * target.c (target_read_uint32): New function.
263 * common/agent.c: Include target/target.h.
264 [!GDBSERVER]: Don't include target.h.
265 (helper_thread_id): Type changed to uint32_t.
266 (agent_get_helper_thread_id): Use target_read_uint32.
267 (agent_run_command): Always use target_read_memory and
268 target_write_memory.
269 (agent_capability): Type changed to uint32_t.
270 (agent_capability_check): Use target_read_uint32.
271
c5e92cca
GB
2722014-09-11 Gary Benson <gbenson@redhat.com>
273
274 * common/common-debug.h (show_debug_regs): Declare.
275 * common/common-debug.c (show_debug_regs): Define.
276 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
277 all uses with show_debug_regs. Replace all uses that considered
278 debug_hw_points as a multi-value integer with straight boolean
279 uses.
280 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
281 with show_debug_regs.
282 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
283 all uses with show_debug_regs.
284 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
285 uses with show_debug_regs.
286
eeef931a
UW
2872014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
288
289 * findvar.c (address_from_register): Handle targets requiring
290 a special conversion routine even for plain pointer types.
291
8efa9855
UW
2922014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
293
294 * rs6000-nat.c (exec_one_dummy_insn): Remove.
295 (store_register): Do not call exec_one_dummy_insn.
296
eb479039
JB
2972014-09-10 Joel Brobecker <brobecker@adacore.com>
298
299 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
300 dereference it first. Use value_enclosing_type instead of
301 value_type.
302 (ada_array_length): Likewise.
303
deede10c
JB
3042014-09-10 Joel Brobecker <brobecker@adacore.com>
305
306 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
307 Adjust function implementation and documentation accordingly.
308 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
309 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
310 Update call to ada_value_ptr_subscript.
311
7828a5f5
JB
3122014-09-10 Joel Brobecker <brobecker@adacore.com>
313
314 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
315 instead of VAL's type.
316
35782f14
JB
3172014-09-10 Joel Brobecker <brobecker@adacore.com>
318
319 * amd64-linux-nat.c: Add <sys/uio.h> #include.
320
d342a0da
DE
3212014-09-09 Doug Evans <xdje42@gmail.com>
322
323 PR guile/17367
324 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
325 last parameter to pkg-config, not first.
326 * configure.ac: Pass --with-guile provided pkg-config path to
327 GDB_GUILE_PROGRAM_NAMES.
328 * configure: Regenerate.
329
b4a3d263
GKB
3302014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
331
332 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
333 Bertazi".
334
6e466374
MR
3352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
336
337 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
338 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
339 the list of sections determining GDB_OSABI_IRIX.
340
a1ada89a
JH
3412014-09-09 James Hogan <james.hogan@imgtec.com>
342
343 * MAINTAINERS (Write After Approval): Add "James Hogan".
344
86db008d
JH
3452014-09-09 James Hogan <james.hogan@imgtec.com>
346
347 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
348
72fde3df
JB
3492014-09-09 Joel Brobecker <brobecker@adacore.com>
350
351 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
352
92d8d229
DE
3532014-09-08 Doug Evans <xdje42@gmail.com>
354
355 PR 17247
356 * guile.c: #include <signal.h>.
357 (_initialize_guile): Block SIGCHLD while initializing Guile.
358
359 Replaces the following, which is reverted.
360
361 2014-07-26 Doug Evans <xdje42@gmail.com>
362
363 PR 17185
364 * configure.ac: Add check for header gc/gc.h.
365 Add check for function setenv.
366 * configure: Regenerate.
367 * config.in: Regenerate.
368 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
369
d81412aa
DE
3702014-09-08 Doug Evans <xdje42@gmail.com>
371
372 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
373 with named constant. Fix style of pointer comparison.
374 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
375
a9f116cb
GKB
3762014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
377
378 PR gdb/17035
379 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
380 decide whether we display the command on "show user".
381 * cli/cli-script.c (show_user_1): Only verify cmdlines after
382 printing command name.
383 * cli/cli-decode.h (cli_user_command_p): Declare new function.
384 * cli/cli-decode.c (cli_user_command_p): Create helper function
385 to verify whether cmd_list_element is a user-defined command.
386
c75bd3a2
JK
3872014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
388
389 PR python/17355
390 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
391 Fix goto out of TRY_CATCH.
392
faa42425 3932014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 394 Tom Tromey <tromey@redhat.com>
faa42425
DE
395
396 PR 15276
397 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
398 $_any_caller_matches.
399 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
400 * python/lib/gdb/function/caller_is.py: New file.
401
0d41ba00
DE
4022014-09-06 Doug Evans <xdje42@gmail.com>
403
404 * infcmd.c (program_info): Fix typo.
405
474ca4f6
SDJ
4062014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
407
408 PR gdb/17235
409 * stap-probe.c (stap_parse_single_operand): Delete unused variable
410 'number'. New variable 'has_digit'. Rewrite code to deal with
411 subexpressions on SDT probes.
412
ebf13736
PA
4132014-09-04 Pedro Alves <palves@redhat.com>
414
415 * c-exp.y (parse_number): Skip handling base-switching prefixes if
416 the input is only one character long.
417
eb0b0463
SDJ
4182014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
419
420 PR fortran/17237
421 * f-valprint.c (f_val_print): Specify the correct print option to
422 use when printing integer values.
423
5ee44bfa
GB
4242014-09-04 Gary Benson <gbenson@redhat.com>
425
426 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
427 Remove code to cope with LWPs wrapped as PIDs.
428 Add assertions to ensure no wrapped LWPs are passed.
429
4875ffdb
PA
4302014-09-04 Pedro Alves <palves@redhat.com>
431
432 * value.c (value_ranges_copy_adjusted): New function, factored out
433 from ...
434 (value_contents_copy_raw): ... here.
435 (unpack_value_bits_as_long_1): Rename back to ...
436 (unpack_bits_as_long): ... this. Remove 'original_value' and
437 'result' parameters. Change return type to LONGEST.
438 (unpack_value_bits_as_long): Delete.
439 (unpack_value_field_as_long_1): Delete.
440 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
441 (unpack_value_bitfield): New function.
442 (value_field_bitfield): Reimplement using unpack_value_bitfield.
443 (value_fetch_lazy): Use unpack_value_bitfield.
444 * value.h (unpack_value_bits_as_long): Delete declaration.
445
5f3b99cf
SS
4462014-09-03 Sasha Smundak <asmundak@google.com>
447
448 * python/py-frame.c (frapy_read_register): New function.
449
ac740bc7
JH
4502014-09-03 James Hogan <james.hogan@imgtec.com>
451
452 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
453 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
454
7d793aa9
SDJ
4552014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
456
457 PR python/16699
458 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
459 function.
460 (add_cmd): Set "completer_handle_brkchars" to NULL.
461 * cli/cli-decode.h (struct cmd_list_element)
462 <completer_handle_brkchars>: New field.
463 * command.h (completer_ftype_void): New typedef.
464 (set_cmd_completer_handle_brkchars): New prototype.
465 * completer.c (set_gdb_completion_word_break_characters): New
466 function.
467 (complete_line_internal): Call "completer_handle_brkchars"
468 callback from command.
469 * completer.h: Include "command.h".
470 (set_gdb_completion_word_break_characters): New prototype.
471 * python/py-cmd.c (cmdpy_completer_helper): New function.
472 (cmdpy_completer_handle_brkchars): New function.
473 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
474 (cmdpy_init): Set completer_handle_brkchars to
475 cmdpy_completer_handle_brkchars.
476
97ea6506
GB
4772014-09-03 Gary Benson <gbenson@redhat.com>
478
479 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
480 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
481 Loop conditions changed to equivalent form.
482 (struct x86_debug_reg_state): Updated dr_ref_count comment.
483 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
484 ALL_DEBUG_ADDRESS_REGISTERS.
485
d1437815
JB
4862014-09-03 Joel Brobecker <brobecker@adacore.com>
487
488 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
489 description fix.
490
9b94fcf1
DE
4912014-09-02 Doug Evans <dje@google.com>
492
493 * typeprint.c (find_global_typedef): Fix comment.
494
df7e5265
GB
4952014-09-02 Gary Benson <gbenson@redhat.com>
496
497 * i386-nat.h: Renamed as...
498 * x86-nat.h: New file. All type, function and variable name
499 prefixes changed from "i386_" to "x86_". All references updated.
500 * i386-nat.c: Renamed as...
501 * x86-nat.c: New file. All type, function and variable name
502 prefixes changed from "i386_" to "x86_". All references updated.
503 * common/i386-xstate.h: Renamed as...
504 * common/x86-xstate.h: New file. All type, function and variable
505 name prefixes changed from "i386_" to "x86_". All references
506 updated.
507 * nat/i386-cpuid.h: Renamed as...
508 * nat/x86-cpuid.h: New file. All type, function and variable name
509 prefixes changed from "i386_" to "x86_". All references updated.
510 * nat/i386-gcc-cpuid.h: Renamed as...
511 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
512 name prefixes changed from "i386_" to "x86_". All references
513 updated.
514 * nat/i386-dregs.h: Renamed as...
515 * nat/x86-dregs.h: New file. All type, function and variable name
516 prefixes changed from "i386_" to "x86_". All references updated.
517 * nat/i386-dregs.c: Renamed as...
518 * nat/x86-dregs.c: New file. All type, function and variable name
519 prefixes changed from "i386_" to "x86_". All references updated.
520
1c3569d4
MR
5212014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
522
523 * varobj.c (_initialize_varobj): Move to the end of file.
524
ff55e1b5
GB
5252014-08-29 Gary Benson <gbenson@redhat.com>
526
527 * common/common-exceptions.h: New file.
528 * common/common-exceptions.c: Likewise.
529 * Makefile.in (SFILES): Add common/common-exceptions.c.
530 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
531 (COMMON_OBS): Add common-exceptions.o.
532 (common-exceptions.o): New rule.
533 * exceptions.h (common-exceptions.h): Include.
534 (gdb_setjmp.h): Do not include.
535 (return_reason): Moved to common-exceptions.h.
536 (enum return_reason): Likewise.
537 (RETURN_MASK): Likewise.
538 (typedef return_mask): Likewise.
539 (enum errors): Likewise.
540 (struct gdb_exception): Likewise.
541 (exceptions_state_mc_init): Likewise.
542 (exceptions_state_mc_action_iter): Likewise.
543 (exceptions_state_mc_action_iter_1): Likewise.
544 (TRY_CATCH): Likewise.
545 (throw_exception): Likewise.
546 (throw_verror): Likewise.
547 (throw_vquit): Likewise.
548 (throw_error): Likewise.
549 (throw_quit): Likewise.
550 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
551 (enum catcher_action): Likewise.
552 (struct catcher): Likewise.
553 (current_catcher): Likewise.
554 (catcher_list_size): Likewise.
555 (exceptions_state_mc_init): Likewise.
556 (catcher_pop): Likewise.
557 (exceptions_state_mc): Likewise.
558 (exceptions_state_mc_action_iter): Likewise.
559 (exceptions_state_mc_action_iter_1): Likewise.
560 (throw_exception): Likewise.
561 (exception_messages): Likewise.
562 (exception_messages_size): Likewise.
563 (throw_it): Likewise.
564 (throw_verror): Likewise.
565 (throw_vquit): Likewise.
566 (throw_error): Likewise.
567 (throw_quit): Likewise.
568 (prepare_to_throw_exception): New function.
569
e9bcb658
GB
5702014-08-29 Gary Benson <gbenson@redhat.com>
571
572 * common/gdb_setjmp.h: New file.
573 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
574 * configure.ac: Move sigsetjmp check...
575 * common/common.m4: ...here.
576 * configure: Regenerate.
577 * cp-support.c (SIGJMP_BUF): Delete.
578 (SIGSETJMP): Likewise.
579 (SIGLONGJMP): Likewise.
580 * exceptions.h (gdb_setjmp.h): Include.
581 (setjmp.h): Do not include.
582 (EXCEPTIONS_SIGJMP_BUF): Delete.
583 (EXCEPTIONS_SIGSETJMP): Likewise.
584 (EXCEPTIONS_SIGLONGJMP): Likewise.
585 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
586 from gdb_setjmp.h.
587 * exceptions.c: Likewise.
588
e3180625
GB
5892014-08-29 Gary Benson <gbenson@redhat.com>
590
591 * cleanups.h: Moved to...
592 * common/cleanups.h: New file.
593 * cleanups.c: Moved to...
594 * common/cleanups.c: New file. Include common-defs.h and
595 cleanups.h. Do not include defs.h.
596 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
597 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
598 (cleanups.o): New rule.
599
e3d6ba5d
GB
6002014-08-29 Gary Benson <gbenson@redhat.com>
601
602 * common/errors.h (internal_warning): New declaration.
603 (internal_vwarning): Likewise.
604 * common/errors.c (internal_warning): New function.
605 * utils.h (internal_warning): Don't declare.
606 (internal_vwarning): Likewise.
607 * utils.c (internal_warning): Removed.
608
075c7033
GB
6092014-08-29 Gary Benson <gbenson@redhat.com>
610
611 * main.c (captured_main): Use warning during startup.
612 Prefix startup warning messages with command name.
613
91b35fd0
GB
6142014-08-29 Gary Benson <gbenson@redhat.com>
615
616 * main.c (captured_main): Handle usage errors with error.
617
b1ec390e
GB
6182014-08-29 Gary Benson <gbenson@redhat.com>
619
620 * go32-nat.c (go32_create_inferior): Replace a fprintf/
621 exit pair with a call to error. Wrap the message with _().
622
fd0ef3dd
GB
6232014-08-29 Gary Benson <gbenson@redhat.com>
624
625 * main.c (captured_main): Replace a fprintf/exit
626 pair with a call to error. Wrap the message with _().
627
e0e6bcab
GB
6282014-08-29 Gary Benson <gbenson@redhat.com>
629
630 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
631 pairs with calls to error. Wrap the message with _().
632
0d2f5c07
GB
6332014-08-29 Gary Benson <gbenson@redhat.com>
634
635 * utils.c (vwarning): Protect calls to target_terminal_ours
636 and wrap_here.
637
5df43998
GB
6382014-08-29 Gary Benson <gbenson@redhat.com>
639
640 * exceptions.c (print_flush): Protect calls to
641 target_terminal_ours and wrap_here.
642
2437fd32
GB
6432014-08-29 Gary Benson <gbenson@redhat.com>
644
645 * utils.h (filtered_printing_initialized): New declaration.
646 * utils.c (abort_with_message): New function.
647 (internal_vproblem): Use abort_with_message for first level
648 recursive internal problems, and if gdb_stderr is not set up.
649 Protect calls to target_terminal_ours, begin_line and query.
650
f1f58506
DE
6512014-08-28 Doug Evans <dje@google.com>
652
653 * symtab.c (in_prologue): Move definition to better spot.
654 (skip_prologue_using_sal): Ditto.
655
aab2f208
DE
6562014-08-28 Doug Evans <dje@google.com>
657
658 * symtab.c (find_function_start_sal): Move definition to better spot.
659
6b65d1b6
YQ
6602014-08-28 Yao Qi <yao@codesourcery.com>
661
662 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
663 found_stack_adjust in forward scan. Remove condition check
664 on found_stack_adjust which is always true. Indent the code.
665
a1b34d15
YQ
6662014-08-28 Yao Qi <yao@codesourcery.com>
667
668 * dwarf2read.c (dwarf_decode_lines): Update declaration.
669 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
670 (dwarf_decode_lines): Remove argument
671 want_line_info. Remove condition check on want_line_info.
672 Callers update.
673
d5962de5
DE
6742014-08-27 Doug Evans <dje@google.com>
675
676 * dwarf2read.c (dwarf_record_line): Fix typo.
677
9b139002
SDJ
6782014-08-27 Patrick Palka <patrick@parcs.ath.cx>
679
680 * target.h (struct target_ops::to_terminal_save_ours): Remove
681 declaration.
682 (target_terminal_save_ours): Remove macro.
683 * target-delegates.c: Regenerate.
684 * inf-child.c (inf_child_target): Don't set the nonexistent
685 field to_terminal_save_ours.
686 * inferior.h (child_terminal_save_ours): Remove declaration.
687 * terminal.h (gdb_save_tty_state): New declaration.
688 * inflow.c (child_terminal_save_ours): Rename to ...
689 (gdb_save_tty_state): ... this.
690 * tui/tui.c: Include terminal.h.
691 (tui_enable): Use gdb_save_tty_state instead of
692 target_terminal_save_ours.
693 (tui_disable): Likewise.
694
9debeba0
DE
6952014-08-25 Doug Evans <dje@google.com>
696
697 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
698 Pass NULL instead of 0 for context pointer.
699
428fc5fc
YQ
7002014-08-25 Yao Qi <yao@codesourcery.com>
701
702 * dwarf2read.c: Fix grammatical error.
703
cdc07690
YQ
7042014-08-24 Yao Qi <yao@codesourcery.com>
705
706 * dwarf2read.c (scan_partial_symbols): Update comments.
707 Rename argument 'need_pc' with 'set_addrmap'.
708 (add_partial_namespace): Rename argument 'need_pc' with
709 'set_addrmap'.
710 (add_partial_module): Likewise.
711 (add_partial_subprogram): Likewise. Update comments.
712 (dwarf2_name): Fix typo.
713
a05a36a5
DE
7142014-08-22 Doug Evans <dje@google.com>
715
716 PR 17276
717 * dwarf2read.c (dwarf_record_line_p): New function.
718 (dwarf_decode_lines_1): Ignore subsequent line number entries
719 for the same line if any entry had a non-zero discriminator.
720
252a6764
DE
7212014-08-22 Doug Evans <dje@google.com>
722
723 * buildsym.h (record_line_ftype): New typedef.
724 (record_line): Use it.
725 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
726 (dwarf_decode_lines_1): Call them.
727
510db052
YQ
7282014-08-22 Yao Qi <yao@codesourcery.com>
729
730 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
731 (ctf_end): Remove code.
732
22fd09ae
JK
7332014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
736 (linux_make_corefile_notes): call update_thread_list, protected against
737 exceptions.
738
656e8868
PA
7392014-08-21 Pedro Alves <palves@redhat.com>
740
741 * infcmd.c (attach_command): Remove comment.
742
de589d04
WN
7432014-08-21 Bin Cheng <bin.cheng@arm.com>
744
745 * aarch64-linux-nat.c (dr_changed_t): Change the type from
746 unsigned LONGEST to ULONGEST.
747
2a31c623
PA
7482014-08-20 Pedro Alves <palves@redhat.com>
749
750 * Makefile.in (check-read1): New rule.
751
d36430db
JB
7522014-08-20 Joel Brobecker <brobecker@adacore.com>
753
754 * value.c (value_from_contents_and_address): Strip resolved_type's
755 typedef layers before checking its TYPE_DATA_LOCATION.
756
000339af
PA
7572014-08-20 Pedro Alves <palves@redhat.com>
758
759 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
760
5f52445b
YQ
7612014-08-20 Yao Qi <yao@codesourcery.com>
762
763 * amd64-tdep.c (amd64_classify): Add a blank line after the
764 example. Move "*/" to a new line.
765 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
766 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
767 * dwarf2read.c (psymtab_include_file_name): Likewise.
768
9a0dc9e3
PA
7692014-08-19 Andrew Burgess <aburgess@broadcom.com>
770 Pedro Alves <palves@redhat.com>
771
772 PR symtab/14604
773 PR symtab/14605
774 * ada-lang.c (coerce_unspec_val_to_type): Use
775 value_contents_copy_raw.
776 * ada-valprint.c (val_print_packed_array_elements): Adjust.
777 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
778 * cp-valprint.c (cp_print_value_fields): Let the common printing
779 code handle optimized out values.
780 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
781 * d-valprint.c (dynamic_array_type): Use
782 value_bits_any_optimized_out.
783 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
784 check_any_valid fields.
785 (check_pieced_value_bits): Delete and inline ...
786 (check_pieced_synthetic_pointer): ... here.
787 (check_pieced_value_validity): Delete.
788 (check_pieced_value_invalid): Delete.
789 (pieced_value_funcs): Remove check_validity and check_any_valid
790 fields.
791 (read_pieced_value): Use mark_value_bits_optimized_out.
792 (write_pieced_value): Switch to use
793 mark_value_bytes_optimized_out.
794 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
795 of assuming the whole value is optimized out.
796 * findvar.c (read_frame_register_value): Remove special handling
797 of optimized out registers.
798 (value_from_register): Use mark_value_bytes_optimized_out.
799 * frame-unwind.c (frame_unwind_got_optimized): Use
800 mark_value_bytes_optimized_out.
801 * jv-valprint.c (java_value_print): Adjust.
802 (java_print_value_fields): Let the common printing code handle
803 optimized out values.
804 * mips-tdep.c (mips_print_register): Remove special handling of
805 optimized out registers.
806 * opencl-lang.c (lval_func_check_validity): Delete.
807 (lval_func_check_any_valid): Delete.
808 (opencl_value_funcs): Remove check_validity and check_any_valid
809 fields.
810 * p-valprint.c (pascal_object_print_value_fields): Let the common
811 printing code handle optimized out values.
812 * stack.c (read_frame_arg): Remove special handling of optimized
813 out values. Fetch both VAL and ENTRYVAL before comparing
814 contents. Adjust to value_available_contents_eq rename.
815 * valprint.c (valprint_check_validity)
816 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
817 (val_print_array_elements): Adjust.
818 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
819 (value_bits_any_optimized_out): New function.
820 (value_entirely_covered_by_range_vector): New function, factored
821 out from value_entirely_unavailable.
822 (value_entirely_unavailable): Reimplement.
823 (value_entirely_optimized_out): New function.
824 (insert_into_bit_range_vector): New function, factored out from
825 mark_value_bits_unavailable.
826 (mark_value_bits_unavailable): Reimplement.
827 (struct ranges_and_idx): New struct.
828 (find_first_range_overlap_and_match): New function, factored out
829 from value_available_contents_bits_eq.
830 (value_available_contents_bits_eq): Rename to ...
831 (value_contents_bits_eq): ... this. Check both unavailable
832 contents and optimized out contents.
833 (value_available_contents_eq): Rename to ...
834 (value_contents_eq): ... this.
835 (allocate_value_lazy): Remove reference to the old optimized_out
836 boolean.
837 (allocate_optimized_out_value): Use
838 mark_value_bytes_optimized_out.
839 (require_not_optimized_out): Adjust to check whether the
840 optimized_out vec is empty.
841 (ranges_copy_adjusted): New function, factored out from
842 value_contents_copy_raw.
843 (value_contents_copy_raw): Also copy the optimized out ranges.
844 Assert the destination ranges aren't optimized out.
845 (value_contents_copy): Update comment, remove call to
846 require_not_optimized_out.
847 (value_contents_equal): Adjust to check whether the optimized_out
848 vec is empty.
849 (set_value_optimized_out, value_optimized_out_const): Delete.
850 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
851 New functions.
852 (value_entirely_optimized_out, value_bits_valid): Delete.
853 (value_copy): Take a VEC copy of the 'optimized_out' field.
854 (value_primitive_field): Remove special handling of optimized out.
855 (value_fetch_lazy): Assert that lazy values have no unavailable
856 regions. Use value_bits_any_optimized_out. Remove some special
857 handling for optimized out values.
858 * value.h: Add intro comment about <optimized out> and
859 <unavailable>.
860 (struct lval_funcs): Remove check_validity and check_any_valid
861 fields.
862 (set_value_optimized_out, value_optimized_out_const): Remove.
863 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
864 New declarations.
865 (value_bits_any_optimized_out): New declaration.
866 (value_bits_valid): Delete declaration.
867 (value_available_contents_eq): Rename to ...
868 (value_contents_eq): ... this, and extend comments.
869
6694c411
JK
8702014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
871
872 Fix -fsanitize=address on unreadable inferior strings.
873 * valprint.c (val_print_string): Fix access before BUFFER.
874
89a1c21a
SM
8752014-08-19 Simon Marchi <simon.marchi@ericsson.com>
876
877 * target.c (target_struct_size): Remove.
878 (target_struct_allocsize): Remove.
879 (DEFAULT_ALLOCSIZE): Remove.
880 (target_ops_p): New typedef.
881 (DEF_VEC_P (target_ops_p)): New vector type.
882 (target_structs): Change type to VEC (target_ops_p).
883 (add_target_with_completer): Replace "push" code by VEC_safe_push.
884 (find_default_run_target): Rewrite for loop following changes to
885 target_structs.
886
cb417230
JB
8872014-08-19 Joel Brobecker <brobecker@adacore.com>
888
889 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
890 Adjust code accordingly. Adjust function description comment.
891
817e0957
YQ
8922014-08-19 Yao Qi <yao@codesourcery.com>
893
894 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
895 types.
896
2974be62
AM
8972014-08-19 Alan Modra <amodra@gmail.com>
898
899 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
900 * config.in: Regenerate.
901 * configure: Regenerate.
902
34abf635
GB
9032014-08-19 Tom Tromey <tromey@redhat.com>
904 Gary Benson <gbenson@redhat.com>
905
906 * common/common-debug.h: New file.
907 * common/common-debug.c: Likewise.
908 * debug.c: Likewise.
909 * Makefile.in (SFILES): Add common/common-debug.c.
910 (HFILES_NO_SRCDIR): Add common/common-debug.h.
911 (COMMON_OBS): Add common-debug.o and debug.o.
912 (common-debug.o): New rule.
913 * common/common-defs.h: Include common-debug.h.
914 * common/agent.c (debug_agent_printf): New function.
915 (DEBUG_AGENT): Redefine.
916 * nat/i386-dregs.c (debug_printf): Undefine.
917
f6e94d78
GB
9182014-08-19 Gary Benson <gbenson@redhat.com>
919
920 * common/common-defs.h: Include print-utils.h.
921 * utils.h: Do not include print-utils.h.
922
9239eeab
GB
9232014-08-19 Tom Tromey <tromey@redhat.com>
924 Gary Benson <gbenson@redhat.com>
925
926 * common/common-types.h: New file.
927 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
928 * common/common-defs.h: Include common-types.h.
929 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
930 (ULONGEST): Remove.
931
ef87c8bb
GB
9322014-08-19 Tom Tromey <tromey@redhat.com>
933 Gary Benson <gbenson@redhat.com>
934
935 * common/errors.h: New file.
936 * common/errors.c: Likewise.
937 * Makefile.in (SFILES): Add common/errors.c.
938 (HFILES_NO_SRCDIR): Add common/errors.h.
939 (COMMON_OBS): Add errors.o.
940 (errors.o): New rule.
941 * common/common-defs.h: Include errors.h.
942 * utils.h (perror_with_name, error, verror, warning, vwarning):
943 Don't declare.
944 * common/common-utils.h: (malloc_failure, internal_error):
945 Likewise.
946
196a707b
GB
9472014-08-19 Gary Benson <gbenson@redhat.com>
948
949 * utils.c (internal_vproblem): Always print the message.
950
ded4fc8f
DE
9512014-08-18 Doug Evans <dje@google.com>
952
953 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
954
950c97d8
JB
9552014-08-18 Joel Brobecker <brobecker@adacore.com>
956
957 * ada-typeprint.c (type_is_full_subrange_of_target_type):
958 Return 0 if TYPE is dynamic.
959 (print_range): Add handling of dynamic ranges.
960
3cdcd0ce
JB
9612014-08-18 Keven Boell <keven.boell@intel.com>
962 Joel Brobecker <brobecker@adacore.com>
963
964 * gdbtypes.h (struct main_type): Add field "data_location".
965 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
966 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
967 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
968 a dynamic data location.
969 (resolve_dynamic_type): Add DW_AT_data_location handling.
970 (copy_recursive, copy_type): Copy the data_location information
971 when present.
972 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
973 * value.c (value_from_contents_and_address): Add
974 DW_AT_data_location handling.
975
08412b07
JB
9762014-08-18 Keven Boell <keven.boell@intel.com>
977 Joel Brobecker <brobecker@adacore.com>
978
979 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
980 field "get_object_address".
981 * dwarf2expr.c (execute_stack_op): Add handling for
982 DW_OP_push_object_address.
983 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
984 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
985 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
986 (dwarf_expr_get_obj_addr): New function.
987 (dwarf_expr_ctx_funcs): Add get_object_address field.
988 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
989 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
990 (dwarf2_evaluate_property): Add parameter "address". Use it.
991 (needs_get_obj_addr): New function.
992 (needs_frame_ctx_funcs): Add get_object_address field.
993 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
994 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
995 (resolve_dynamic_array): Likewise.
996
84754697
JB
9972014-08-18 Joel Brobecker <brobecker@adacore.com>
998
999 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1000 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1001 fixed value for records and unions for which some GNAT encodings
1002 are present.
1003
da5c522f
JB
10042014-08-18 Joel Brobecker <brobecker@adacore.com>
1005
1006 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1007 rewrite to avoid "else if" and "else" constructs. Should be
1008 a no-op in practice.
1009
0d72a7c3
JB
10102014-08-18 Joel Brobecker <brobecker@adacore.com>
1011
1012 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1013 of lexical block.
1014
e66d4446
SC
10152014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1016
1017 PR c++/17132
1018 * eval.c: Update all calls to find_overload_match.
1019 * valarith.c: Likewise.
1020 (value_user_defined_cpp_op, value_user_defined_op): New
1021 argument NOSIDE. Update all callers.
1022 * valops.c (find_overload_match): New argument NOSIDE.
1023 * value.h (find_overload_match): Update signature.
1024
940df408
SC
10252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1026
1027 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1028 'items' methods instead of 'iteritems' method on dictionaries.
1029
699ca60a
DE
10302014-08-15 Doug Evans <dje@google.com>
1031
1032 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1033 closer to use.
1034
37780ee5
DE
10352014-08-15 Doug Evans <dje@google.com>
1036
1037 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1038
0ad93d4f
DE
10392014-08-15 Doug Evans <dje@google.com>
1040
1041 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1042
20d8c372
DE
10432014-08-15 Doug Evans <dje@google.com>
1044
1045 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1046 unused.
1047
cb039ba4
EZ
10482014-08-15 Eli Zaretskii <eliz@gnu.org>
1049
1050 * dcache.h: Include target.h, to avoid compile time warnings.
1051
eb7a547a
JB
10522014-08-15 Joel Brobecker <brobecker@adacore.com>
1053
1054 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1055 frame_info" partial declaration.
1056 * gdbarch.h: Regenerate.
1057
783cecc8
YQ
10582014-08-15 Yao Qi <yao@codesourcery.com>
1059
1060 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1061 Add parameter 'decode_for_pst_p'. Callers update.
1062
65c749e7
YQ
10632014-08-13 Yao Qi <yao@codesourcery.com>
1064
1065 PR build/17104
1066 * configure.ac: Use local variable 'pos'.
1067 * configure: Regenerated.
1068
d769e349
DE
10692014-08-11 Doug Evans <dje@google.com>
1070
1071 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1072 message, it is redundant with "Reading symbols from ..." message.
1073
24f1235e
DE
10742014-08-10 Doug Evans <xdje42@gmail.com>
1075
1076 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1077
dcd2e6ef
YQ
10782014-08-09 Yao Qi <yao@codesourcery.com>
1079
1080 PR remote/9053
1081 * remote.c (remote_xfer_partial): Remove dead code.
1082
070bdf0b
AA
10832014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1084
1085 * ia64-linux-tdep.c: Include "regset.h".
1086 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1087 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1088 (ia64_linux_supply_fpregset): New function.
1089 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1090 (ia64_linux_regset_from_core_section): New function.
1091 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1092 method.
1093
08f9f542
AA
10942014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1095
1096 * m68klinux-tdep.c: Include "regset.h".
1097 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1098 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1099 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1100 (m68k_linux_regset_from_core_section): New function.
1101 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1102 method.
1103
8f1cee41
AA
11042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1105
1106 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1107 function. Move logic to...
1108 (tilegx_linux_regmap): ... this new register map.
1109 (tilegx_linux_regset): Refer to register map, replace supply
1110 method by regcache_supply_regset, and add collect method.
1111 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1112 TILEGX_FIRST_EASY_REGNUM.
1113
c5741217
AA
11142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1115
1116 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1117 that calls regcache_supply_regset and handles the EPC register
1118 separately. Move main logic to...
1119 (score7_linux_gregmap): ... this new register map.
1120 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1121 (score7_linux_gregset): Refer to register map. Add collect method.
1122 (score7_linux_regset_from_core_section): Replace
1123 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1124 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1125 (struct regset): Delete unused forward declaraction.
1126 (struct pt_regs): Delete structure definition.
1127 (elf_gregset_t): Delete typedef.
1128
81580573
AA
11292014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1130
1131 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1132 (nios2_core_regset): Add collect method.
1133
ba199d7d
AA
11342014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1135
1136 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1137 platform-independent and don't write to read-only input buffer.
1138 (m32r_linux_collect_gregset): New function.
1139 (m32r_linux_gregset): Add collect method.
1140
0006a9da
AA
11412014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1142
1143 * hppa-linux-tdep.c (greg_map): Rename to...
1144 (hppa_linux_gregmap): ... this. Also convert to
1145 regcache_map_entry format.
1146 (hppa_linux_supply_regset): Delete function.
1147 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1148 (hppa_linux_fpregmap): ... this new register map.
1149 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1150 register map, replace supply method by regcache_supply_regset, and
1151 add collect method regcache_collect_regset.
1152
901e1b23
AA
11532014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1154
1155 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1156 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1157 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1158 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1159 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1160 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1161 (frv_linux_supply_gregset): Replace main logic by call to
1162 regcache_supply_regset, but keep clearing gr32-gr63.
1163 (frv_linux_supply_fpregset): Delete function.
1164 (frv_linux_gregset): Refer to appropriate register map and add
1165 regcache_collect_regset as the collect method.
1166 (frv_linux_fpregset): Likewise. Also exchange the supply method
1167 by regcache_supply_regset.
1168
1d6e7555
AA
11692014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1170
1171 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1172 by call to alpha_supply_int_regs.
1173 (alpha_linux_collect_gregset): New function.
1174 (alpha_linux_supply_fpregset): Replace logic by call to
1175 alpha_supply_fp_regs.
1176 (alpha_linux_collect_fpregset): New function.
1177 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1178
d4d793bf
AA
11792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1180
1181 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1182 by call to regcache_collect_regset.
1183 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1184 instead of aarch64_linux_supply_gregset/_fpregset.
1185 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1186 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1187 header file instead.
1188 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1189 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1190 functions. Move logic to ...
1191 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1192 register maps.
1193 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1194 refer to new register maps, replace *_regset_from_core by
1195 regcache_supply_regset, and also use regcache_collect_regset.
1196 * aarch64-linux-tdep.h: Include "regset.h".
1197 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1198 Delete prototypes.
1199 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1200 macros, moved from C source file.
1201 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1202 variable declarations.
1203
99b7da5d
AA
12042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1205
1206 * s390-linux-nat.c: Include "regset.h".
1207 (regmap_gregset): Delete macro.
1208 (s390_64_regmap_gregset): New register map for
1209 regcache_supply/_collect_regset.
1210 (s390_64_gregset): New regset.
1211 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1212 (regmap_fpregset): Delete macro.
1213 (s390_native_supply, s390_native_collect): Delete functions.
1214 (supply_gregset, fill_gregset): Replace s390-specific regmap
1215 handling by a call to regcache_supply/_collect_regset.
1216 (supply_fpregset, fill_fpregset): Call regcache_supply/
1217 _collect_regset instead of s390_native_supply/_collect.
1218 (fetch_regset, store_regset): Likewise. Also change the last
1219 parameter to a regset instead of a regmap.
1220 (s390_linux_fetch_inferior_registers)
1221 (390_linux_store_inferior_registers): Adjust last parameter in
1222 calls to fetch_regset and store_regset.
1223 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1224 (s390_gregmap): ... this. Also make static const and convert to
1225 regcache_map_entry format.
1226 (s390x_regmap_gregset): Delete.
1227 (s390_regmap_fpregset): Rename to...
1228 (s390_fpregmap): ... this. Make static const and convert to
1229 regcache_map_entry format.
1230 (s390_regmap_upper, s390_regmap_last_break)
1231 (s390x_regmap_last_break, s390_regmap_system_call)
1232 (s390_regmap_tdb): Likewise.
1233 (s390_supply_regset, s390_collect_regset): Remove functions.
1234 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1235 s390_supply_regset.
1236 (s390_gregset, s390_fpregset, s390_upper_regset)
1237 (s390_last_break_regset, s390x_last_break_regset)
1238 (s390_system_call_regset, s390_tdb_regset): Make global and
1239 replace s390_supply/_collect_regset by regcache_supply/
1240 _collect_regset.
1241 (s390x_gregset): Delete.
1242 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1243 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1244 (s390_regmap_fpregset, s390_regmap_last_break)
1245 (s390x_regmap_last_break, s390_regmap_system_call)
1246 (s390_regmap_tdb): Delete global variable declarations.
1247 (s390_gregset, s390_fpregset, s390_last_break_regset)
1248 (s390x_last_break_regset, s390_system_call_regset)
1249 (s390_tdb_regset): New global variable declarations.
1250
0b309272
AA
12512014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1252
1253 * regcache.c: Include "regset.h".
1254 (regcache_transfer_regset): New local function.
1255 (regcache_supply_regset, regcache_collect_regset): New functions.
1256 * regcache.h (struct regcache_map_entry): New structure.
1257 (REGCACHE_MAP_SKIP): New enum value.
1258 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1259
7fefa8d7
AA
12602014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1261
1262 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1263 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1264 (ppc_linux_collect_gregset ): Likewise.
1265 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1266 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1267 (ppc_collect_vrregset): Likewise.
1268 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1269 Likewise.
1270
96c4f946
YQ
12712014-08-07 Yao Qi <yao@codesourcery.com>
1272
1273 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1274 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1275 * remote.c (remote_read_bytes): Likewise.
1276
fffbe6a8
YQ
12772014-08-07 Yao Qi <yao@codesourcery.com>
1278
1279 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1280
5ee8a82c
YQ
12812014-08-07 Yao Qi <yao@codesourcery.com>
1282
1283 PR remote/17230
1284 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1285 TARGET_XFER_OK instead of 0.
1286
bb974a24
GB
12872014-08-07 Gary Benson <gbenson@redhat.com>
1288
1289 * common/common-defs.h: Include errno.h.
1290 * defs.h: Do not include errno.h.
1291 * ada-typeprint.c: Likewise.
1292 * c-typeprint.c: Likewise.
1293 * core-regset.c: Likewise.
1294 * corefile.c: Likewise.
1295 * corelow.c: Likewise.
1296 * event-loop.c: Likewise.
1297 * f-typeprint.c: Likewise.
1298 * gnu-nat.c: Likewise.
1299 * go32-nat.c: Likewise.
1300 * i386gnu-nat.c: Likewise.
1301 * m2-typeprint.c: Likewise.
1302 * nat/linux-btrace.c: Likewise.
1303 * p-typeprint.c: Likewise.
1304 * procfs.c: Likewise.
1305 * remote-sim.c: Likewise.
1306 * rs6000-nat.c: Likewise.
1307 * target.c: Likewise.
1308 * typeprint.c: Likewise.
1309 * ui-file.c: Likewise.
1310 * valops.c: Likewise.
1311 * valprint.c: Likewise.
1312
6d3d12eb
GB
13132014-08-07 Gary Benson <gbenson@redhat.com>
1314
1315 * common/common-defs.h: Include string.h.
1316 * aarch64-tdep.c: Do not include string.h.
1317 * ada-exp.y: Likewise.
1318 * ada-lang.c: Likewise.
1319 * ada-lex.l: Likewise.
1320 * ada-typeprint.c: Likewise.
1321 * ada-valprint.c: Likewise.
1322 * aix-thread.c: Likewise.
1323 * alpha-linux-tdep.c: Likewise.
1324 * alpha-mdebug-tdep.c: Likewise.
1325 * alpha-nat.c: Likewise.
1326 * alpha-osf1-tdep.c: Likewise.
1327 * alpha-tdep.c: Likewise.
1328 * alphanbsd-tdep.c: Likewise.
1329 * amd64-dicos-tdep.c: Likewise.
1330 * amd64-linux-tdep.c: Likewise.
1331 * amd64-nat.c: Likewise.
1332 * amd64-sol2-tdep.c: Likewise.
1333 * amd64fbsd-tdep.c: Likewise.
1334 * amd64obsd-tdep.c: Likewise.
1335 * arch-utils.c: Likewise.
1336 * arm-linux-nat.c: Likewise.
1337 * arm-linux-tdep.c: Likewise.
1338 * arm-tdep.c: Likewise.
1339 * arm-wince-tdep.c: Likewise.
1340 * armbsd-tdep.c: Likewise.
1341 * armnbsd-nat.c: Likewise.
1342 * armnbsd-tdep.c: Likewise.
1343 * armobsd-tdep.c: Likewise.
1344 * avr-tdep.c: Likewise.
1345 * ax-gdb.c: Likewise.
1346 * ax-general.c: Likewise.
1347 * bcache.c: Likewise.
1348 * bfin-tdep.c: Likewise.
1349 * breakpoint.c: Likewise.
1350 * build-id.c: Likewise.
1351 * buildsym.c: Likewise.
1352 * c-exp.y: Likewise.
1353 * c-lang.c: Likewise.
1354 * c-typeprint.c: Likewise.
1355 * c-valprint.c: Likewise.
1356 * charset.c: Likewise.
1357 * cli-out.c: Likewise.
1358 * cli/cli-cmds.c: Likewise.
1359 * cli/cli-decode.c: Likewise.
1360 * cli/cli-dump.c: Likewise.
1361 * cli/cli-interp.c: Likewise.
1362 * cli/cli-logging.c: Likewise.
1363 * cli/cli-script.c: Likewise.
1364 * cli/cli-setshow.c: Likewise.
1365 * cli/cli-utils.c: Likewise.
1366 * coffread.c: Likewise.
1367 * common/agent.c: Likewise.
1368 * common/buffer.c: Likewise.
1369 * common/buffer.h: Likewise.
1370 * common/common-utils.c: Likewise.
1371 * common/filestuff.c: Likewise.
1372 * common/filestuff.c: Likewise.
1373 * common/format.c: Likewise.
1374 * common/print-utils.c: Likewise.
1375 * common/rsp-low.c: Likewise.
1376 * common/signals.c: Likewise.
1377 * common/vec.h: Likewise.
1378 * common/xml-utils.c: Likewise.
1379 * core-regset.c: Likewise.
1380 * corefile.c: Likewise.
1381 * corelow.c: Likewise.
1382 * cp-abi.c: Likewise.
1383 * cp-name-parser.y: Likewise.
1384 * cp-support.c: Likewise.
1385 * cp-valprint.c: Likewise.
1386 * cris-tdep.c: Likewise.
1387 * d-exp.y: Likewise.
1388 * darwin-nat.c: Likewise.
1389 * dbxread.c: Likewise.
1390 * dcache.c: Likewise.
1391 * demangle.c: Likewise.
1392 * dicos-tdep.c: Likewise.
1393 * disasm.c: Likewise.
1394 * doublest.c: Likewise.
1395 * dsrec.c: Likewise.
1396 * dummy-frame.c: Likewise.
1397 * dwarf2-frame.c: Likewise.
1398 * dwarf2loc.c: Likewise.
1399 * dwarf2read.c: Likewise.
1400 * elfread.c: Likewise.
1401 * environ.c: Likewise.
1402 * eval.c: Likewise.
1403 * event-loop.c: Likewise.
1404 * exceptions.c: Likewise.
1405 * exec.c: Likewise.
1406 * expprint.c: Likewise.
1407 * f-exp.y: Likewise.
1408 * f-lang.c: Likewise.
1409 * f-typeprint.c: Likewise.
1410 * f-valprint.c: Likewise.
1411 * fbsd-nat.c: Likewise.
1412 * findcmd.c: Likewise.
1413 * findvar.c: Likewise.
1414 * fork-child.c: Likewise.
1415 * frame.c: Likewise.
1416 * frv-linux-tdep.c: Likewise.
1417 * frv-tdep.c: Likewise.
1418 * gdb.c: Likewise.
1419 * gdb_bfd.c: Likewise.
1420 * gdbarch.c: Likewise.
1421 * gdbarch.sh: Likewise.
1422 * gdbtypes.c: Likewise.
1423 * gnu-nat.c: Likewise.
1424 * gnu-v2-abi.c: Likewise.
1425 * gnu-v3-abi.c: Likewise.
1426 * go-exp.y: Likewise.
1427 * go-lang.c: Likewise.
1428 * go32-nat.c: Likewise.
1429 * guile/guile.c: Likewise.
1430 * guile/scm-auto-load.c: Likewise.
1431 * hppa-hpux-tdep.c: Likewise.
1432 * hppa-linux-nat.c: Likewise.
1433 * hppanbsd-tdep.c: Likewise.
1434 * hppaobsd-tdep.c: Likewise.
1435 * i386-cygwin-tdep.c: Likewise.
1436 * i386-dicos-tdep.c: Likewise.
1437 * i386-linux-tdep.c: Likewise.
1438 * i386-nto-tdep.c: Likewise.
1439 * i386-sol2-tdep.c: Likewise.
1440 * i386-tdep.c: Likewise.
1441 * i386bsd-tdep.c: Likewise.
1442 * i386gnu-nat.c: Likewise.
1443 * i386nbsd-tdep.c: Likewise.
1444 * i386obsd-tdep.c: Likewise.
1445 * i387-tdep.c: Likewise.
1446 * ia64-libunwind-tdep.c: Likewise.
1447 * ia64-linux-nat.c: Likewise.
1448 * inf-child.c: Likewise.
1449 * inf-ptrace.c: Likewise.
1450 * inf-ttrace.c: Likewise.
1451 * infcall.c: Likewise.
1452 * infcmd.c: Likewise.
1453 * inflow.c: Likewise.
1454 * infrun.c: Likewise.
1455 * interps.c: Likewise.
1456 * iq2000-tdep.c: Likewise.
1457 * irix5-nat.c: Likewise.
1458 * jv-exp.y: Likewise.
1459 * jv-lang.c: Likewise.
1460 * jv-typeprint.c: Likewise.
1461 * jv-valprint.c: Likewise.
1462 * language.c: Likewise.
1463 * linux-fork.c: Likewise.
1464 * linux-nat.c: Likewise.
1465 * lm32-tdep.c: Likewise.
1466 * m2-exp.y: Likewise.
1467 * m2-typeprint.c: Likewise.
1468 * m32c-tdep.c: Likewise.
1469 * m32r-linux-nat.c: Likewise.
1470 * m32r-linux-tdep.c: Likewise.
1471 * m32r-rom.c: Likewise.
1472 * m32r-tdep.c: Likewise.
1473 * m68hc11-tdep.c: Likewise.
1474 * m68k-tdep.c: Likewise.
1475 * m68kbsd-tdep.c: Likewise.
1476 * m68klinux-nat.c: Likewise.
1477 * m68klinux-tdep.c: Likewise.
1478 * m88k-tdep.c: Likewise.
1479 * machoread.c: Likewise.
1480 * macrocmd.c: Likewise.
1481 * main.c: Likewise.
1482 * mdebugread.c: Likewise.
1483 * mem-break.c: Likewise.
1484 * memattr.c: Likewise.
1485 * memory-map.c: Likewise.
1486 * mep-tdep.c: Likewise.
1487 * mi/mi-cmd-break.c: Likewise.
1488 * mi/mi-cmd-disas.c: Likewise.
1489 * mi/mi-cmd-env.c: Likewise.
1490 * mi/mi-cmd-stack.c: Likewise.
1491 * mi/mi-cmd-var.c: Likewise.
1492 * mi/mi-cmds.c: Likewise.
1493 * mi/mi-console.c: Likewise.
1494 * mi/mi-getopt.c: Likewise.
1495 * mi/mi-interp.c: Likewise.
1496 * mi/mi-main.c: Likewise.
1497 * mi/mi-parse.c: Likewise.
1498 * microblaze-rom.c: Likewise.
1499 * microblaze-tdep.c: Likewise.
1500 * mingw-hdep.c: Likewise.
1501 * minidebug.c: Likewise.
1502 * minsyms.c: Likewise.
1503 * mips-irix-tdep.c: Likewise.
1504 * mips-linux-tdep.c: Likewise.
1505 * mips-tdep.c: Likewise.
1506 * mips64obsd-tdep.c: Likewise.
1507 * mipsnbsd-tdep.c: Likewise.
1508 * mipsread.c: Likewise.
1509 * mn10300-linux-tdep.c: Likewise.
1510 * mn10300-tdep.c: Likewise.
1511 * monitor.c: Likewise.
1512 * moxie-tdep.c: Likewise.
1513 * mt-tdep.c: Likewise.
1514 * nat/linux-btrace.c: Likewise.
1515 * nat/linux-osdata.c: Likewise.
1516 * nat/linux-procfs.c: Likewise.
1517 * nat/linux-ptrace.c: Likewise.
1518 * nat/linux-waitpid.c: Likewise.
1519 * nbsd-tdep.c: Likewise.
1520 * nios2-linux-tdep.c: Likewise.
1521 * nto-procfs.c: Likewise.
1522 * nto-tdep.c: Likewise.
1523 * objc-lang.c: Likewise.
1524 * objfiles.c: Likewise.
1525 * opencl-lang.c: Likewise.
1526 * osabi.c: Likewise.
1527 * osdata.c: Likewise.
1528 * p-exp.y: Likewise.
1529 * p-lang.c: Likewise.
1530 * p-typeprint.c: Likewise.
1531 * parse.c: Likewise.
1532 * posix-hdep.c: Likewise.
1533 * ppc-linux-nat.c: Likewise.
1534 * ppc-sysv-tdep.c: Likewise.
1535 * ppcfbsd-tdep.c: Likewise.
1536 * ppcnbsd-tdep.c: Likewise.
1537 * ppcobsd-tdep.c: Likewise.
1538 * printcmd.c: Likewise.
1539 * procfs.c: Likewise.
1540 * prologue-value.c: Likewise.
1541 * python/py-auto-load.c: Likewise.
1542 * python/py-gdb-readline.c: Likewise.
1543 * ravenscar-thread.c: Likewise.
1544 * regcache.c: Likewise.
1545 * registry.c: Likewise.
1546 * remote-fileio.c: Likewise.
1547 * remote-m32r-sdi.c: Likewise.
1548 * remote-mips.c: Likewise.
1549 * remote-notif.c: Likewise.
1550 * remote-sim.c: Likewise.
1551 * remote.c: Likewise.
1552 * reverse.c: Likewise.
1553 * rs6000-aix-tdep.c: Likewise.
1554 * ser-base.c: Likewise.
1555 * ser-go32.c: Likewise.
1556 * ser-mingw.c: Likewise.
1557 * ser-pipe.c: Likewise.
1558 * ser-tcp.c: Likewise.
1559 * ser-unix.c: Likewise.
1560 * serial.c: Likewise.
1561 * sh-tdep.c: Likewise.
1562 * sh64-tdep.c: Likewise.
1563 * shnbsd-tdep.c: Likewise.
1564 * skip.c: Likewise.
1565 * sol-thread.c: Likewise.
1566 * solib-dsbt.c: Likewise.
1567 * solib-frv.c: Likewise.
1568 * solib-osf.c: Likewise.
1569 * solib-som.c: Likewise.
1570 * solib-spu.c: Likewise.
1571 * solib-target.c: Likewise.
1572 * solib.c: Likewise.
1573 * somread.c: Likewise.
1574 * source.c: Likewise.
1575 * sparc-nat.c: Likewise.
1576 * sparc-sol2-tdep.c: Likewise.
1577 * sparc-tdep.c: Likewise.
1578 * sparc64-tdep.c: Likewise.
1579 * sparc64fbsd-tdep.c: Likewise.
1580 * sparc64nbsd-tdep.c: Likewise.
1581 * sparcnbsd-tdep.c: Likewise.
1582 * spu-linux-nat.c: Likewise.
1583 * spu-multiarch.c: Likewise.
1584 * spu-tdep.c: Likewise.
1585 * stabsread.c: Likewise.
1586 * stack.c: Likewise.
1587 * std-regs.c: Likewise.
1588 * symfile.c: Likewise.
1589 * symmisc.c: Likewise.
1590 * symtab.c: Likewise.
1591 * target.c: Likewise.
1592 * thread.c: Likewise.
1593 * tilegx-linux-nat.c: Likewise.
1594 * tilegx-tdep.c: Likewise.
1595 * top.c: Likewise.
1596 * tracepoint.c: Likewise.
1597 * tui/tui-command.c: Likewise.
1598 * tui/tui-data.c: Likewise.
1599 * tui/tui-disasm.c: Likewise.
1600 * tui/tui-file.c: Likewise.
1601 * tui/tui-layout.c: Likewise.
1602 * tui/tui-out.c: Likewise.
1603 * tui/tui-regs.c: Likewise.
1604 * tui/tui-source.c: Likewise.
1605 * tui/tui-stack.c: Likewise.
1606 * tui/tui-win.c: Likewise.
1607 * tui/tui-windata.c: Likewise.
1608 * tui/tui-winsource.c: Likewise.
1609 * typeprint.c: Likewise.
1610 * ui-file.c: Likewise.
1611 * ui-out.c: Likewise.
1612 * user-regs.c: Likewise.
1613 * utils.c: Likewise.
1614 * v850-tdep.c: Likewise.
1615 * valarith.c: Likewise.
1616 * valops.c: Likewise.
1617 * valprint.c: Likewise.
1618 * value.c: Likewise.
1619 * varobj.c: Likewise.
1620 * vax-tdep.c: Likewise.
1621 * vaxnbsd-tdep.c: Likewise.
1622 * vaxobsd-tdep.c: Likewise.
1623 * windows-nat.c: Likewise.
1624 * xcoffread.c: Likewise.
1625 * xml-support.c: Likewise.
1626 * xstormy16-tdep.c: Likewise.
1627 * xtensa-linux-nat.c: Likewise.
1628
dccbb609
GB
16292014-08-07 Gary Benson <gbenson@redhat.com>
1630
1631 * common/common-defs.h: Include gdb_assert.h.
1632 * aarch64-tdep.c: Do not include gdb_assert.h.
1633 * addrmap.c: Likewise.
1634 * aix-thread.c: Likewise.
1635 * alpha-linux-tdep.c: Likewise.
1636 * alpha-mdebug-tdep.c: Likewise.
1637 * alphanbsd-tdep.c: Likewise.
1638 * amd64-nat.c: Likewise.
1639 * amd64-tdep.c: Likewise.
1640 * amd64bsd-nat.c: Likewise.
1641 * amd64fbsd-nat.c: Likewise.
1642 * amd64fbsd-tdep.c: Likewise.
1643 * amd64nbsd-nat.c: Likewise.
1644 * amd64nbsd-tdep.c: Likewise.
1645 * amd64obsd-nat.c: Likewise.
1646 * amd64obsd-tdep.c: Likewise.
1647 * arch-utils.c: Likewise.
1648 * arm-tdep.c: Likewise.
1649 * armbsd-tdep.c: Likewise.
1650 * auxv.c: Likewise.
1651 * bcache.c: Likewise.
1652 * bfin-tdep.c: Likewise.
1653 * blockframe.c: Likewise.
1654 * breakpoint.c: Likewise.
1655 * bsd-kvm.c: Likewise.
1656 * bsd-uthread.c: Likewise.
1657 * buildsym.c: Likewise.
1658 * c-exp.y: Likewise.
1659 * c-lang.c: Likewise.
1660 * charset.c: Likewise.
1661 * cleanups.c: Likewise.
1662 * cli-out.c: Likewise.
1663 * cli/cli-decode.c: Likewise.
1664 * cli/cli-dump.c: Likewise.
1665 * cli/cli-logging.c: Likewise.
1666 * cli/cli-script.c: Likewise.
1667 * cli/cli-utils.c: Likewise.
1668 * coffread.c: Likewise.
1669 * common/common-utils.c: Likewise.
1670 * common/queue.h: Likewise.
1671 * common/signals.c: Likewise.
1672 * common/vec.h: Likewise.
1673 * complaints.c: Likewise.
1674 * completer.c: Likewise.
1675 * corelow.c: Likewise.
1676 * cp-abi.c: Likewise.
1677 * cp-name-parser.y: Likewise.
1678 * cp-namespace.c: Likewise.
1679 * cp-support.c: Likewise.
1680 * cris-tdep.c: Likewise.
1681 * dbxread.c: Likewise.
1682 * dictionary.c: Likewise.
1683 * doublest.c: Likewise.
1684 * dsrec.c: Likewise.
1685 * dummy-frame.c: Likewise.
1686 * dwarf2-frame-tailcall.c: Likewise.
1687 * dwarf2-frame.c: Likewise.
1688 * dwarf2expr.c: Likewise.
1689 * dwarf2loc.c: Likewise.
1690 * dwarf2read.c: Likewise.
1691 * eval.c: Likewise.
1692 * event-loop.c: Likewise.
1693 * exceptions.c: Likewise.
1694 * expprint.c: Likewise.
1695 * f-valprint.c: Likewise.
1696 * fbsd-nat.c: Likewise.
1697 * findvar.c: Likewise.
1698 * frame-unwind.c: Likewise.
1699 * frame.c: Likewise.
1700 * frv-tdep.c: Likewise.
1701 * gcore.c: Likewise.
1702 * gdb-dlfcn.c: Likewise.
1703 * gdb_bfd.c: Likewise.
1704 * gdbarch.c: Likewise.
1705 * gdbarch.sh: Likewise.
1706 * gdbtypes.c: Likewise.
1707 * gnu-nat.c: Likewise.
1708 * gnu-v3-abi.c: Likewise.
1709 * go-lang.c: Likewise.
1710 * guile/scm-exception.c: Likewise.
1711 * guile/scm-gsmob.c: Likewise.
1712 * guile/scm-lazy-string.c: Likewise.
1713 * guile/scm-math.c: Likewise.
1714 * guile/scm-pretty-print.c: Likewise.
1715 * guile/scm-safe-call.c: Likewise.
1716 * guile/scm-utils.c: Likewise.
1717 * guile/scm-value.c: Likewise.
1718 * h8300-tdep.c: Likewise.
1719 * hppa-hpux-nat.c: Likewise.
1720 * hppa-tdep.c: Likewise.
1721 * hppanbsd-tdep.c: Likewise.
1722 * hppaobsd-tdep.c: Likewise.
1723 * i386-darwin-nat.c: Likewise.
1724 * i386-darwin-tdep.c: Likewise.
1725 * i386-nto-tdep.c: Likewise.
1726 * i386-tdep.c: Likewise.
1727 * i386bsd-nat.c: Likewise.
1728 * i386fbsd-tdep.c: Likewise.
1729 * i386gnu-nat.c: Likewise.
1730 * i386nbsd-tdep.c: Likewise.
1731 * i386obsd-tdep.c: Likewise.
1732 * i387-tdep.c: Likewise.
1733 * ia64-libunwind-tdep.c: Likewise.
1734 * ia64-tdep.c: Likewise.
1735 * inf-ptrace.c: Likewise.
1736 * inf-ttrace.c: Likewise.
1737 * infcall.c: Likewise.
1738 * infcmd.c: Likewise.
1739 * infrun.c: Likewise.
1740 * inline-frame.c: Likewise.
1741 * interps.c: Likewise.
1742 * jv-lang.c: Likewise.
1743 * jv-typeprint.c: Likewise.
1744 * linux-fork.c: Likewise.
1745 * linux-nat.c: Likewise.
1746 * linux-thread-db.c: Likewise.
1747 * m32c-tdep.c: Likewise.
1748 * m32r-linux-nat.c: Likewise.
1749 * m32r-tdep.c: Likewise.
1750 * m68k-tdep.c: Likewise.
1751 * m68kbsd-nat.c: Likewise.
1752 * m68kbsd-tdep.c: Likewise.
1753 * m88k-tdep.c: Likewise.
1754 * machoread.c: Likewise.
1755 * macroexp.c: Likewise.
1756 * macrotab.c: Likewise.
1757 * maint.c: Likewise.
1758 * mdebugread.c: Likewise.
1759 * memory-map.c: Likewise.
1760 * mep-tdep.c: Likewise.
1761 * mi/mi-common.c: Likewise.
1762 * microblaze-tdep.c: Likewise.
1763 * mingw-hdep.c: Likewise.
1764 * mips-linux-nat.c: Likewise.
1765 * mips-linux-tdep.c: Likewise.
1766 * mips-tdep.c: Likewise.
1767 * mips64obsd-tdep.c: Likewise.
1768 * mipsnbsd-tdep.c: Likewise.
1769 * mn10300-linux-tdep.c: Likewise.
1770 * mn10300-tdep.c: Likewise.
1771 * moxie-tdep.c: Likewise.
1772 * mt-tdep.c: Likewise.
1773 * nat/linux-btrace.c: Likewise.
1774 * nat/linux-osdata.c: Likewise.
1775 * nat/linux-ptrace.c: Likewise.
1776 * nat/mips-linux-watch.c: Likewise.
1777 * nios2-linux-tdep.c: Likewise.
1778 * nios2-tdep.c: Likewise.
1779 * objc-lang.c: Likewise.
1780 * objfiles.c: Likewise.
1781 * obsd-nat.c: Likewise.
1782 * opencl-lang.c: Likewise.
1783 * osabi.c: Likewise.
1784 * parse.c: Likewise.
1785 * ppc-linux-nat.c: Likewise.
1786 * ppc-sysv-tdep.c: Likewise.
1787 * ppcfbsd-nat.c: Likewise.
1788 * ppcfbsd-tdep.c: Likewise.
1789 * ppcnbsd-nat.c: Likewise.
1790 * ppcnbsd-tdep.c: Likewise.
1791 * ppcobsd-nat.c: Likewise.
1792 * ppcobsd-tdep.c: Likewise.
1793 * printcmd.c: Likewise.
1794 * procfs.c: Likewise.
1795 * prologue-value.c: Likewise.
1796 * psymtab.c: Likewise.
1797 * python/py-lazy-string.c: Likewise.
1798 * python/py-value.c: Likewise.
1799 * regcache.c: Likewise.
1800 * reggroups.c: Likewise.
1801 * registry.c: Likewise.
1802 * remote-sim.c: Likewise.
1803 * remote.c: Likewise.
1804 * rs6000-aix-tdep.c: Likewise.
1805 * rs6000-tdep.c: Likewise.
1806 * s390-linux-tdep.c: Likewise.
1807 * score-tdep.c: Likewise.
1808 * ser-base.c: Likewise.
1809 * ser-mingw.c: Likewise.
1810 * sh-tdep.c: Likewise.
1811 * sh64-tdep.c: Likewise.
1812 * solib-darwin.c: Likewise.
1813 * solib-spu.c: Likewise.
1814 * solib-svr4.c: Likewise.
1815 * source.c: Likewise.
1816 * sparc-nat.c: Likewise.
1817 * sparc-sol2-tdep.c: Likewise.
1818 * sparc-tdep.c: Likewise.
1819 * sparc64-sol2-tdep.c: Likewise.
1820 * sparc64-tdep.c: Likewise.
1821 * sparc64fbsd-tdep.c: Likewise.
1822 * sparc64nbsd-tdep.c: Likewise.
1823 * sparc64obsd-tdep.c: Likewise.
1824 * sparcnbsd-tdep.c: Likewise.
1825 * sparcobsd-tdep.c: Likewise.
1826 * spu-multiarch.c: Likewise.
1827 * spu-tdep.c: Likewise.
1828 * stabsread.c: Likewise.
1829 * stack.c: Likewise.
1830 * symfile.c: Likewise.
1831 * symtab.c: Likewise.
1832 * target-descriptions.c: Likewise.
1833 * target-memory.c: Likewise.
1834 * target.c: Likewise.
1835 * tic6x-linux-tdep.c: Likewise.
1836 * tic6x-tdep.c: Likewise.
1837 * tilegx-linux-nat.c: Likewise.
1838 * tilegx-tdep.c: Likewise.
1839 * top.c: Likewise.
1840 * tramp-frame.c: Likewise.
1841 * tui/tui-out.c: Likewise.
1842 * tui/tui-winsource.c: Likewise.
1843 * ui-out.c: Likewise.
1844 * user-regs.c: Likewise.
1845 * utils.c: Likewise.
1846 * v850-tdep.c: Likewise.
1847 * valops.c: Likewise.
1848 * value.c: Likewise.
1849 * varobj.c: Likewise.
1850 * vax-nat.c: Likewise.
1851 * xml-syscall.c: Likewise.
1852 * xml-tdesc.c: Likewise.
1853 * xstormy16-tdep.c: Likewise.
1854 * xtensa-linux-nat.c: Likewise.
1855 * xtensa-tdep.c: Likewise.
1856
e76df0d0
GB
18572014-08-07 Gary Benson <gbenson@redhat.com>
1858
1859 * common/common-defs.h: Include common-utils.h.
1860 * defs.h: Do not include common-utils.h.
1861 * common/gdb_assert.h: Likewise.
1862 * darwin-nat.h: Likewise.
1863 * nat/linux-btrace.c: Likewise.
1864 * target/waitstatus.h: Likewise.
1865
4cb9c816
GB
18662014-08-07 Gary Benson <gbenson@redhat.com>
1867
1868 * common/common-defs.h: Include ptid.h.
1869 * defs.h: Do not include ptid.h.
1870 * inferior.h: Likewise.
1871 * infrun.h: Likewise.
1872 * nat/linux-btrace.h: Likewise.
1873 * nat/linux-osdata.h: Likewise.
1874 * target/waitstatus.h: Likewise.
1875
3995eeee
GB
18762014-08-07 Gary Benson <gbenson@redhat.com>
1877
1878 * common/common-defs.h: Include gdb_locale.h.
1879 * defs.h: Do not include gdb_locale.h.
1880
cb9f1a9b
GB
18812014-08-07 Gary Benson <gbenson@redhat.com>
1882
1883 * common/common-defs.h: Include gdb/signals.h.
1884 * defs.h: Do not include gdb/signals.h.
1885
a5fceff8
GB
18862014-08-07 Gary Benson <gbenson@redhat.com>
1887
1888 * common/common-defs.h: Include pathmax.h.
1889 * defs.h: Do not include pathmax.h.
1890
b9391142
GB
18912014-08-07 Gary Benson <gbenson@redhat.com>
1892
1893 * common/common-defs.h: Include libiberty.h.
1894 * defs.h: Do not include libiberty.h.
1895 * common/queue.h: Likewise.
1896 * cp-name-parser.y: Likewise.
1897 * mi/mi-cmd-catch.c: Likewise.
1898 * python/python.c: Likewise.
1899
0e443c87
GB
19002014-08-07 Gary Benson <gbenson@redhat.com>
1901
1902 * common/common-defs.h: Include ansidecl.h.
1903 * defs.h: Do not include ansidecl.h.
1904 * common/buffer.h: Likewise.
1905 * common/common-utils.h: Likewise.
1906
8ebb3f56
GB
19072014-08-07 Gary Benson <gbenson@redhat.com>
1908
1909 * common/common-defs.h: Include stddef.h.
1910 * defs.h: Do not include stddef.h.
1911 * common/common-utils.h: Likewise.
1912 * amd64fbsd-nat.c: Likewise.
1913 * bcache.c: Likewise.
1914 * charset.c: Likewise.
1915 * common/buffer.h: Likewise.
1916 * common/vec.h: Likewise.
1917 * i386bsd-nat.c: Likewise.
1918 * nat/linux-btrace.h: Likewise.
1919 * ppcfbsd-nat.c: Likewise.
1920 * ppcnbsd-tdep.h: Likewise.
1921 * ppcobsd-nat.c: Likewise.
1922 * ppcobsd-tdep.h: Likewise.
1923 * python/py-gdb-readline.c: Likewise.
1924
8980bdf6
GB
19252014-08-07 Gary Benson <gbenson@redhat.com>
1926
1927 * common/common-defs.h: Include stdarg.h.
1928 * defs.h: Do not include stdarg.h.
1929 * ada-lang.c: Likewise.
1930 * common/common-utils.h: Likewise.
1931 * guile/scm-string.c: Likewise.
1932 * guile/scm-utils.c: Likewise.
1933 * m32c-tdep.c: Likewise.
1934
d7096f71
GB
19352014-08-07 Gary Benson <gbenson@redhat.com>
1936
1937 * common/common-defs.h: Include stdlib.h.
1938 * defs.h: Do not include stdlib.h.
1939 * addrmap.c: Likewise.
1940 * bcache.c: Likewise.
1941 * common/buffer.c: Likewise.
1942 * common/common-utils.c: Likewise.
1943 * cp-name-parser.y: Likewise.
1944 * go32-nat.c: Likewise.
1945 * mn10300-linux-tdep.c: Likewise.
1946 * nat/linux-osdata.c: Likewise.
1947 * tui/tui.c: Likewise.
1948 * windows-nat.c: Likewise.
1949
d02f550d
GB
19502014-08-07 Gary Benson <gbenson@redhat.com>
1951
1952 * common/common-defs.h: Include stdio.h.
1953 * defs.h: Do not include stdio.h.
1954 * ada-lang.c: Likewise.
1955 * common/buffer.c: Likewise.
1956 * common/common-utils.c: Likewise.
1957 * cp-name-parser.y: Likewise.
1958 * gnu-nat.c: Likewise.
1959 * go32-nat.c: Likewise.
1960 * i386gnu-nat.c: Likewise.
1961 * proc-api.c: Likewise.
1962 * proc-events.c: Likewise.
1963 * proc-flags.c: Likewise.
1964 * proc-why.c: Likewise.
1965 * python/python-internal.h: Likewise.
1966 * target-memory.c: Likewise.
1967 * tui/tui-io.c: Likewise.
1968 * tui/tui.c: Likewise.
1969
b6d7a4bf
SM
19702014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1971
1972 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1973 (scan_dyntag_auxv): Same.
1974
af19829b
YQ
19752014-08-06 Yao Qi <yao@codesourcery.com>
1976
1977 * amd64-linux-nat.c: Remove duplicated include
1978 "x86-linux-nat.h".
1979 * i386-linux-nat.c: Likewise.
1980
8e07a239
YQ
19812014-08-06 Yao Qi <yao@codesourcery.com>
1982
1983 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1984 operand" with "Special opcode" in comments.
1985
7bfe8241
GB
19862014-08-05 Gary Benson <gbenson@redhat.com>
1987
1988 * interps.c (initialize_interps): Remove prototype.
1989 (interpreter_initialized): Remove static global.
1990 (interp_add): Do not call initialize_interps.
1991 (initialize_interps): Remove function.
1992
d6c95504
GB
19932014-08-05 Gary Benson <gbenson@redhat.com>
1994
1995 * utils.c (vwarning): Remove spurious va_end.
1996
241fd515
AM
19972014-08-05 Alan Modra <amodra@gmail.com>
1998
1999 * charset.c (convert_between_encodings): Cast result of obstack_base.
2000 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2001 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2002 (read_unwind_info): Use size_t for some locals.
2003 * jit.c (finalize_symtab): Likewise.
2004 * utils.c (hashtab_obstack_allocate): Likewise.
2005 * symmisc.c (print_objfile_statistics): Update format strings.
2006
dc304a94
JK
20072014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2010 (Changes in GDB 7.8): ... here.
2011
3cecbbbe
TT
20122014-08-04 Tom Tromey <tromey@redhat.com>
2013
2014 * target.c (set_targetdebug): New function.
2015 (initialize_targets): Pass set_targetdebug when creating "set
2016 debug target".
2017
6908c509
JB
20182014-08-01 Joel Brobecker <brobecker@adacore.com>
2019
2020 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2021 if detecting a variable-sized field that is not the last field.
2022 Fix struct type length computation.
2023
53e8f97d
JB
20242014-08-01 Joel Brobecker <brobecker@adacore.com>
2025
2026 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2027 Add debug trace.
2028
e068c55d
JB
20292014-08-01 Joel Brobecker <brobecker@adacore.com>
2030
2031 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2032 Remove "+ 8" offset in computation of CHAIN_VMA.
2033
4d4ca2a1
DE
20342014-07-31 Doug Evans <dje@google.com>
2035
2036 * inflow.c (child_terminal_inferior): Add comment.
2037 (child_terminal_ours_for_output): Add comment.
2038 (child_terminal_ours): Add comment.
2039 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2040 (linux_nat_terminal_ours): Add comment.
2041
462f517e
GB
20422014-07-31 Gary Benson <gbenson@redhat.com>
2043
2044 * common/btrace-common.h: Do not include defs.h or server.h.
2045 * nat/mips-linux-watch.h: Likewise.
2046 * gdb-dlfcn.h: Do not include defs.h.
2047 * tracefile.h: Likewise.
2048
74228e77
RM
20492014-07-30 Roland McGrath <mcgrathr@google.com>
2050
2051 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2052
014f9477
TT
20532014-07-30 Tom Tromey <tromey@redhat.com>
2054
2055 * bsd-kvm.c (bsd_kvm_open): Constify.
2056 * corelow.c (core_open): Constify.
2057 * ctf.c (ctf_open): Constify.
2058 * dbug-rom.c (dbug_open): Constify.
2059 * exec.c (exec_open): Constify.
2060 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2061 * microblaze-rom.c (picobug_open): Constify.
2062 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2063 Constify.
2064 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2065 * record-btrace.c (record_btrace_open): Constify.
2066 * record-full.c (record_full_core_open_1, record_full_open_1)
2067 (record_full_open): Constify.
2068 * remote-m32r-sdi.c (m32r_open): Constify.
2069 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2070 (rockhopper_open, lsi_open): Constify.
2071 * remote-sim.c (gdbsim_open): Constify.
2072 * remote.c (remote_open, extended_remote_open, remote_open_1):
2073 Constify.
2074 * target.h (struct target_ops) <to_open>: Make "arg" const.
2075 * tracefile-tfile.c (tfile_open): Constify.
2076
e799154c
TT
20772014-07-30 Tom Tromey <tromey@redhat.com>
2078
2079 * breakpoint.c (map_breakpoint_numbers): Update.
2080 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2081 (get_number_const): New function.
2082 (get_number): Rewrite using get_number_const.
2083 (init_number_or_range): Make "string" const.
2084 (number_is_in_list): Make "list" const.
2085 * cli/cli-utils.h (get_number_const): Declare.
2086 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2087 (init_number_or_range, number_is_in_list): Update.
2088 * printcmd.c (map_display_numbers): Update.
2089 * value.c (value_from_history_ref): Constify.
2090 * value.h (value_from_history_ref): Update.
2091
5f08566b
TT
20922014-07-30 Tom Tromey <tromey@redhat.com>
2093
2094 * corefile.c (hook_type, call_extra_exec_file_hooks)
2095 (specify_exec_file_hook): Constify.
2096 * exec.c (exec_file_attach): Make "filename" const.
2097 * gdbcore.h (deprecated_exec_file_display_hook)
2098 (specify_exec_file_hook, exec_file_attach): Constify.
2099 * main.c (captured_main): Use catch_command_errors_const.
2100
8981c758
TT
21012014-07-30 Tom Tromey <tromey@redhat.com>
2102
2103 * target.c (open_target): New function.
2104 (add_target_with_completer, add_deprecated_target_alias): Use
2105 set_cmd_sfunc, set_cmd_context.
2106 (debug_to_open): Remove.
2107 (setup_target_debug): Update.
2108
a1c7835a
YQ
21092014-07-30 Yao Qi <yao@codesourcery.com>
2110
2111 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2112 comments.
2113 * parse.c (exp_iterate): Update comments.
2114
976411d6
GB
21152014-07-30 Gary Benson <gbenson@redhat.com>
2116
2117 * common/common-defs.h: New file.
2118 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2119 * defs.h: Include common-defs.h.
2120 Do not include config.h or build-gnulib/config.h.
2121
5d4848a4
GB
21222014-07-30 Gary Benson <gbenson@redhat.com>
2123
2124 * common/common-utils.h: Do not include config.h.
2125 * nat/linux-btrace.h: Likewise.
2126
d41f6d8e
GB
21272014-07-30 Gary Benson <gbenson@redhat.com>
2128
2129 * btrace.c: Include defs.h.
2130 * common/ptid.c: Include defs.h or server.h as appropriate.
2131 * nat/mips-linux-watch.c: Likewise.
2132
84202f9c
TT
21332014-07-29 Tom Tromey <tromey@redhat.com>
2134
2135 * target.c (target_is_pushed): Simplify.
2136
2530441c
JB
21372014-07-29 Joel Brobecker <brobecker@adacore.com>
2138
2139 GDB 7.8 released.
2140
7e09a223
YQ
21412014-07-29 Yao Qi <yao@codesourcery.com>
2142
2143 PR gdb/17206
2144 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2145
7ebdbe92
DE
21462014-07-28 Doug Evans <xdje42@gmail.com>
2147
2148 PR guile/17203
2149 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2150 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2151 parameters.
2152
f347ffc9
WN
21532014-07-28 Will Newton <will.newton@linaro.org>
2154
2155 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2156 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2157 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2158 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2159 (THUMB2_EABI_SYSCALL): Likewise.
2160 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2161 struct tramp_frame.
2162 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2163 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2164
37c5f1f7
DE
21652014-07-27 Doug Evans <xdje42@gmail.com>
2166
2167 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2168
0c3abbc7
DE
21692014-07-27 Doug Evans <xdje42@gmail.com>
2170
2171 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2172
e76c5d17
DE
21732014-07-26 Ludovic Courtès <ludo@gnu.org>
2174 Doug Evans <xdje42@gmail.com>
2175
2176 PR guile/17146
2177 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2178 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2179 * configure.ac: Try to use guild to compile an scm file, if it fails
2180 then disable guile support.
2181 * configure: Regenerate.
2182 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2183 GUILE_FILE_LIST.
2184 (GUILE_COMPILED_FILES): New variable.
2185 (GUILE_FILES) Update.
2186 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2187 (stamp-guile): Compile scm files.
2188 * guile/guile.c (boot_guile_support): New function.
2189 (standard_throw_args_p): New function.
2190 (print_standard_throw_error, print_throw_error): New functions.
2191 (handle_boot_error): New function.
2192 (initialize_scheme_side): Rewrite to call boot_guile_support.
2193 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2194 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2195
186fcde0
DE
21962014-07-26 Ludovic Courtès <ludo@gnu.org>
2197 Doug Evans <xdje42@gmail.com>
2198
2199 PR guile/17146
2200 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2201 * guile/lib/gdb/support.scm: New file.
2202 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2203 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2204 All uses updated.
2205 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2206 All uses updated.
2207 (%assert-type): Ditto, and renamed to assert-type.
2208 (%exception-print-style): Delete.
2209
4df42755
DE
22102014-07-26 Doug Evans <xdje42@gmail.com>
2211
2212 PR build/17105
2213 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2214 * configure: Regenerate.
2215 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2216 PYTHON_FILES.
2217 (PYTHON_FILES): New variable.
2218 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2219 (GUILE_FILES): New variable.
2220 (stamp-python, install-python, uninstall-python): Handle empty
2221 file list.
2222 (stamp-guile, install-guile, uninstall-guile): Ditto.
2223
ee7333ae
DE
22242014-07-26 Doug Evans <xdje42@gmail.com>
2225
2226 PR guile/17177
2227 * guile/lib/gdb.scm (pretty-printers): Export.
2228 (set-pretty-printers!): Export.
2229 * guile/lib/gdb/printing.scm (gdb module): Update.
2230 (prepend-pretty-printer!, append-pretty-printer!): Update.
2231 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2232 (pretty_printer_list_var): Delete.
2233 (pretty_printer_list): New static global.
2234 (gdbscm_pretty_printers): New function.
2235 (gdbscm_set_pretty_printers_x): New function.
2236 (ppscm_find_pretty_printer_from_gdb): Update.
2237 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2238 (gdbscm_initialize_pretty_printers): Update.
2239
74edf516
DE
22402014-07-26 Doug Evans <xdje42@gmail.com>
2241
2242 PR 17185
2243 * configure.ac: Add check for header gc/gc.h.
2244 Add check for function setenv.
2245 * configure: Regenerate.
2246 * config.in: Regenerate.
2247 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2248
d54398a7
MR
22492014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2250
2251 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2252 variation in gdbarch matching.
2253
ab16fce8
TT
22542014-07-25 Tom Tromey <tromey@redhat.com>
2255
2256 * exec.c (using_exec_ops): Remove.
2257 (exec_close_1): Update. Remove extraneous block, reindent.
2258 (add_target_sections): Use target_is_pushed.
2259
88056fbb
PA
22602014-07-25 Pedro Alves <palves@redhat.com>
2261
2262 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2263 * monitor.c (monitor_create_inferior): Likewise.
2264 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2265 * remote-sim.c (gdbsim_create_inferior): Likewise.
2266 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2267 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2268 * windows-nat.c (do_initial_windows_stuff): Likewise.
2269
70509625
PA
22702014-07-25 Pedro Alves <palves@redhat.com>
2271
2272 * NEWS: Mention signal passing and "signal" command changes.
2273 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2274 comment.
2275 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2276 call.
2277 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2278 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2279 (jump_command): Adjust clear_proceed_status call.
2280 (signal_command): Warn if other thread that are resumed have
2281 signals that will be delivered. Adjust clear_proceed_status call.
2282 (until_next_command, finish_command)
2283 (proceed_after_attach_callback, attach_command_post_wait)
2284 (attach_command): Adjust clear_proceed_status call.
2285 * infrun.c (proceed_after_vfork_done): Likewise.
2286 (proceed_after_attach_callback): Adjust comment.
2287 (clear_proceed_status_thread): Clear stop_signal if not in pass
2288 state.
2289 (clear_proceed_status_callback): Delete.
2290 (clear_proceed_status): New 'step' parameter. Only clear the
2291 proceed status of threads the command being prepared is about to
2292 resume.
2293 (proceed): If passed in an explicit signal, override stop_signal
2294 with it. Don't pass the last stop signal to the thread we're
2295 resuming.
2296 (init_wait_for_inferior): Adjust clear_proceed_status call.
2297 (switch_back_to_stepped_thread): Clear the signal if it should not
2298 be passed.
2299 * infrun.h (clear_proceed_status): New 'step' parameter.
2300 (user_visible_resume_ptid): Add comment.
2301 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2302 signal is in pass state.
2303 * remote.c (append_pending_thread_resumptions): Likewise.
2304 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2305
d8be2939
TT
23062014-07-25 Tom Tromey <tromey@redhat.com>
2307
2308 * target.h (target_stopped_data_address)
2309 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2310 parentheses.
2311
7d0d9d2b
PL
23122014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2313
2314 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2315 comments.
2316 (avr_pointer_to_address): Likewise.
2317
e9e7f724
TT
23182014-07-24 Tom Tromey <tromey@redhat.com>
2319
2320 * monitor.c (compile_pattern): Update.
2321 * target.h (struct target_ops) <to_shortname, to_longname,
2322 to_doc>: Now const.
2323
1947513d
TT
23242014-07-24 Tom Tromey <tromey@redhat.com>
2325
2326 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2327 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2328 (add_info_alias, add_com): Make "doc" const.
2329 (print_doc_line): Make "str" const.
2330 (delete_cmd): Update.
2331 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2332 (print_doc_line): Update.
2333 * cli/cli-script.c (document_command): Update.
2334 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2335 (add_com, add_info, add_info_alias): Update.
2336 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2337 * python/py-cmd.c (cmdpy_destroyer): Update.
2338
64e61d29
TT
23392014-07-24 Tom Tromey <tromey@redhat.com>
2340
2341 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2342 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2343 (help_cmd_list): Constify.
2344 (lookup_cmd): Update.
2345 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2346 const.
2347 (help_cmd_list, apropos_cmd): Update.
2348 * cli/cli-script.c (show_user): Update.
2349 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2350 * cli/cli-setshow.h (cmd_show_list): Update.
2351 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2352 (cmd_show_list): Update.
2353 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2354 * python/py-cmd.c (cmdpy_destroyer): Update.
2355
429e55ea
TT
23562014-07-24 Tom Tromey <tromey@redhat.com>
2357
2358 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2359 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2360 const.
2361 * command.h (deprecate_cmd): Update.
2362 * maint.c (maintenance_do_deprecate): Add casts.
2363
64669f3b
TT
23642014-07-24 Tom Tromey <tromey@redhat.com>
2365
2366 * cli/cli-decode.c (help_cmd): Make parameter "const".
2367 * cli/cli-decode.h (help_cmd): Update.
2368
d3d3328b
TT
23692014-07-24 Tom Tromey <tromey@redhat.com>
2370
2371 * stack.c (up_silently_base, down_silently_base): Make argument
2372 const.
2373
414842dc
TT
23742014-07-24 Tom Tromey <tromey@redhat.com>
2375
2376 * solib.c (solib_add): Make "pattern" const.
2377 * solib.h (solib_add): Update.
2378
baa336ce
TT
23792014-07-24 Tom Tromey <tromey@redhat.com>
2380
2381 * remote.c (remote_serial_open, print_packet, putpkt)
2382 (putpkt_binary): Constify.
2383 * remote.h (putpkt): Update.
2384
5a19e2d0
TT
23852014-07-24 Tom Tromey <tromey@redhat.com>
2386
2387 * monitor.c (monitor_open): Make "args" const.
2388 * monitor.h (monitor_open): Update.
2389
fc4baa5e
TT
23902014-07-24 Tom Tromey <tromey@redhat.com>
2391
2392 * maint.c (match_bfd_flags): Make "string" const.
2393 (print_bfd_section_info): Remove casts.
2394 (print_objfile_section_info): Make "string" const.
2395
0d5f0dbe
TT
23962014-07-24 Tom Tromey <tromey@redhat.com>
2397
2398 * inf-child.c (inf_child_open_target): Make "arg" const.
2399 * inf-child.h (inf_child_open_target): Update.
2400
41c77899
TT
24012014-07-24 Tom Tromey <tromey@redhat.com>
2402
2403 * environ.c (unset_in_environ): Make "var" const.
2404 * environ.h (unset_in_environ): Update.
2405
93db0d79
TT
24062014-07-24 Tom Tromey <tromey@redhat.com>
2407
2408 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2409 Make "cmd" const.
2410 (scan_filename_with_cleanup): Likewise.
2411 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2412 Make arguments const.
2413 (restore_command): Update.
2414
36d6eb95
PA
24152014-07-24 Pedro Alves <palves@redhat.com>
2416
2417 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2418
8009206a
TT
24192014-07-24 Tom Tromey <tromey@redhat.com>
2420 Gary Benson <gbenson@redhat.com>
2421
2422 * nat/linux-ptrace.c (additional_flags): New global.
2423 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2424 additional_flags; don't check GDBSERVER.
2425 (linux_ptrace_set_additional_flags): New function.
2426 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2427 Declare.
2428 * linux-nat.c (_initialize_linux_nat): Call
2429 linux_ptrace_set_additional_flags.
2430
a7068b60
TT
24312014-07-24 Tom Tromey <tromey@redhat.com>
2432
2433 * make-target-delegates (munge_type, write_debugmethod): New
2434 functions.
2435 (debug_names): New global.
2436 ($TARGET_DEBUG_PRINTER): New global.
2437 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2438 name.
2439 Write debug methods. Generate init_debug_target.
2440 * target-debug.h: New file.
2441 * target-delegates.c: Rebuild.
2442 * target.c: Include target-debug.h.
2443 (debug_target): Hoist definition.
2444 (target_kill, target_get_section_table, target_memory_map)
2445 (target_flash_erase, target_flash_done, target_detach)
2446 (target_disconnect, target_wait, target_resume)
2447 (target_pass_signals, target_program_signals, target_follow_fork)
2448 (target_mourn_inferior, target_search_memory)
2449 (target_thread_address_space, target_close)
2450 (target_find_new_threads, target_core_of_thread)
2451 (target_verify_memory, target_insert_mask_watchpoint)
2452 (target_remove_mask_watchpoint): Remove targetdebug code.
2453 (debug_to_post_attach, debug_to_prepare_to_store)
2454 (debug_to_files_info, debug_to_insert_breakpoint)
2455 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2456 (debug_to_region_ok_for_hw_watchpoint)
2457 (debug_to_can_accel_watchpoint_condition)
2458 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2459 (debug_to_watchpoint_addr_within_range)
2460 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2461 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2462 (debug_to_terminal_init, debug_to_terminal_inferior)
2463 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2464 (debug_to_terminal_save_ours, debug_to_terminal_info)
2465 (debug_to_load, debug_to_post_startup_inferior)
2466 (debug_to_insert_fork_catchpoint)
2467 (debug_to_remove_fork_catchpoint)
2468 (debug_to_insert_vfork_catchpoint)
2469 (debug_to_remove_vfork_catchpoint)
2470 (debug_to_insert_exec_catchpoint)
2471 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2472 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2473 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2474 (setup_target_debug): Call init_debug_target.
2475 * target.h (TARGET_DEBUG_PRINTER): New macro.
2476 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2477 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2478
2c51604d
GB
24792014-07-24 Gary Benson <gbenson@redhat.com>
2480
2481 * exceptions.h (throw_vfatal): Renamed to...
2482 (throw_vquit): New declaration.
2483 (throw_quit): Likewise.
2484 * exceptions.c (throw_vfatal): Renamed to...
2485 (throw_vquit): New function.
2486 (throw_quit): Likewise.
2487 (throw_error): Call throw_verror rather than throw_it.
2488 * utils.h (vfatal): Removed.
2489 (fatal): Likewise.
2490 * utils.c (vfatal): Removed.
2491 (fatal): Likewise.
2492 (internal_verror): Replaced call to fatal with call to throw_quit.
2493 (quit): Replaced calls to fatal with calls to throw_quit.
2494
34211963
ME
24952014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2496
2497 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2498 target_read_code.
2499
a52b4d3e
ME
25002014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2501
2502 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2503 less than zero in conditional expression.
2504
a8bdc56b
TT
25052014-07-23 Tom Tromey <tromey@redhat.com>
2506
2507 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2508 ($INTRO_PART): Don't match whitespace.
2509 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2510 argument matching.
2511 ($METHOD): Add $METHOD_TRAILER.
2512 (trim): Rewrite.
2513 (scan_target_h): New sub.
2514 Change main loop not to collect state.
2515 * target-delegates.c: Rebuild.
2516
91b52240
GB
25172014-07-23 Gary Benson <gbenson@redhat.com>
2518
2519 * cp-support.c (gdb_demangle): Fix build on systems without
2520 sigaltstack.
2521
45326f6f
JK
25222014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2523
2524 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2525 for reference entry value target data value.
2526
e214cf6c
JK
25272014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2528
2529 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2530 value_available_contents_eq.
2531
bddbbedd
PA
25322014-07-22 Pedro Alves <palves@redhat.com>
2533
2534 * value.c (allocate_optimized_out_value): Don't mark value as
2535 non-lazy.
2536
45c71484
JW
25372014-07-22 Jiong Wang <jiong.wang@arm.com>
2538
2539 * MAINTAINERS (Write After Approval): Update my email address.
2540
9597b22a
DE
25412014-07-20 Doug Evans <dje@google.com>
2542
2543 PR server/17147
2544 * remote.c (putpkt_binary): Add text to error message.
2545
91101fe5
YQ
25462014-07-20 Yao Qi <yao@codesourcery.com>
2547
2548 * eval.c: Remove "Chill" from comments.
2549 * gdbtypes.h: Likewise.
2550 * symtab.h: Likewise.
2551
c9402c95
YQ
25522014-07-20 Yao Qi <yao@codesourcery.com>
2553
2554 * std-operator.def: Update comments to TERNOP_SLICE.
2555
ae8fddda
YQ
25562014-07-20 Yao Qi <yao@codesourcery.com>
2557
2558 * std-operator.def: Remove BINOP_RANGE.
2559 * breakpoint.c (watchpoint_exp_is_const): Update.
2560 * expprint.c (dump_subexp_body_standard): Likewise.
2561 * eval.c (init_array_element): Remove dead code.
2562 (evaluate_subexp_standard): Likewise.
2563
9c816640
YQ
25642014-07-20 Yao Qi <yao@codesourcery.com>
2565
2566 * std-operator.def: Remove BINOP_IN.
2567 * breakpoint.c (watchpoint_exp_is_const): Update.
2568 * eval.c (evaluate_subexp_standard): Likewise.
2569 * expprint.c (dump_subexp_body_standard): Likewise.
2570
164224e9
ME
25712014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2572
2573 * microblaze-tdep.c (microblaze_register_names): Add
2574 the rshr and rslr register names.
2575 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2576 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2577 Use of tdesc_numbered_register. Use of
2578 microblaze_register_g_packet_guesses. Use of
2579 tdesc_use_registers. Use of set_gdbarch_register_type.
2580 (microblaze_register_g_packet_guesses): New.
2581 * microblaze-tdep.h (microblaze_reg_num): Add
2582 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2583 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2584 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2585 * features/microblaze-core.xml: New file.
2586 * features/microblaze-stack-protect.xml: New file.
2587 * features/microblaze-with-stack-protect.c: New file.
2588 * features/microblaze-with-stack-protect.xml: New file.
2589 * features/microblaze.xml: New file.
2590 * features/microblaze.c: New file.
2591 * features/Makefile (microblaze-with-stack-protect): Add
2592 microblaze-with-stack-protect microblaze and microblaze-expedite.
2593 * regformats/microblaze-with-stack-protect.dat: New file.
2594 * regformats/microblaze.dat: New file.
2595 * doc/gdb.texinfo (MicroBlaze Features): Added.
2596
e8b2341c
TT
25972014-07-18 Tom Tromey <tromey@redhat.com>
2598
2599 * exec.c (exec_ops): Now static.
2600 * exec.h (exec_ops): Don't declare.
2601
44e89118
TT
26022014-07-18 Tom Tromey <tromey@redhat.com>
2603
2604 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2605 to find_target_beneath.
2606 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2607 find_target_beneath.
2608 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2609
b0ed115f
TT
26102014-07-18 Tom Tromey <tromey@redhat.com>
2611
2612 PR gdb/17130:
2613 * utils.c (quit): Use target_supports_terminal_ours.
2614 * target.h (target_supports_terminal_ours): Declare.
2615 * target.c (target_supports_delete_record): Don't check
2616 to_delete_record against NULL.
2617 (target_supports_terminal_ours): New function.
2618
e75fdfca
TT
26192014-07-18 Tom Tromey <tromey@redhat.com>
2620
2621 PR gdb/17130:
2622 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2623 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2624 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2625 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2626 * windows-nat.c (windows_xfer_partial): Always delegate.
2627 * record-btrace.c (record_btrace_xfer_partial): Simplify
2628 delegation.
2629 (record_btrace_fetch_registers, record_btrace_store_registers)
2630 (record_btrace_prepare_to_store, record_btrace_resume)
2631 (record_btrace_wait, record_btrace_find_new_threads)
2632 (record_btrace_thread_alive): Likewise.
2633 * procfs.c (procfs_xfer_partial): Always delegate.
2634 * corelow.c (core_xfer_partial): Always delegate.
2635 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2636
83814951
TT
26372014-07-18 Tom Tromey <tromey@redhat.com>
2638
2639 * exec.c (exec_make_note_section): Move earlier.
2640
b8b8facf
DE
26412014-07-17 Doug Evans <dje@google.com>
2642
74b49205 2643 PR gdb/17170
b8b8facf
DE
2644 * maint.c (count_symtabs_and_blocks): Handle NULL
2645 current_program_space.
2646 (report_command_stats): Check global enabled flag in addition to
2647 recorded enabled flag.
2648 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2649
69ff6be5
PA
26502014-07-16 Pedro Alves <palves@redhat.com>
2651
2652 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2653
252db1b5
TT
26542014-07-16 Tom Tromey <tromey@redhat.com>
2655
2656 * target.h (struct target_ops) <to_delete_record>: Reformat
2657 comment.
2658
a432721e
TT
26592014-07-16 Tom Tromey <tromey@redhat.com>
2660
2661 * target-delegates.c: Rebuild.
2662
487d9753
PL
26632014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2664
2665 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2666 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2667 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2668 (avr_pointer_to_address): Likewise.
2669 (avr_address_class_type_flags): New function.
2670 (avr_address_class_type_flags_to_name): Likewise.
2671 (avr_address_class_name_to_type_flags): Likewise.
2672 (avr_gdbarch_init): Set address_class_type_flags,
2673 address_class_type_flags_to_name and
2674 address_class_name_to_type_flags.
2675
57745c90
PA
26762014-07-15 Pedro Alves <palves@redhat.com>
2677
2678 * linux-nat.c (kill_callback): Save errno and work with saved
2679 copy.
2680
2d40be18
SM
26812014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2682
2683 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2684
572f6555
EBM
26852014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2686
2687 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2688 breakpoint support correctly.
2689
cc1c52ad
PA
26902014-07-14 Pedro Alves <palves@redhat.com>
2691
2692 * utils.c (prompt_for_continue): Call target_terminal_ours.
2693
1e973570
PA
26942014-07-14 Pedro Alves <palves@redhat.com>
2695
2696 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2697 catch_errors. Don't re-enable stdin or notify observers where,
2698 and rethrow error.
2699 (fetch_inferior_event_wrapper): Delete.
2700
93d6eb10
PA
27012014-07-14 Pedro Alves <palves@redhat.com>
2702
2703 PR gdb/17072
2704 * top.c: Include "inf-loop.h".
2705 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2706 field.
2707 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2708 was async before.
2709 (gdb_readline_wrapper): Store whether the target is async, and
2710 make it sync.
2711
0017922d
PA
27122014-07-14 Pedro Alves <palves@redhat.com>
2713
2714 PR gdb/17072
2715 * top.c (gdb_readline_wrapper_line): Tweak comment.
2716 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2717 the input handler callback.
2718
94696ad3
PA
27192014-07-14 Pedro Alves <palves@redhat.com>
2720
2721 PR gdb/17072
2722 * main.c: Include event-top.h.
2723 (handle_command_errors): New function.
2724 (catch_command_errors, catch_command_errors_const): Use it.
2725
9d1e69a2
PA
27262014-07-14 Pedro Alves <palves@redhat.com>
2727
2728 * exceptions.c (catch_command_errors, catch_command_errors_const):
2729 Moved to main.c.
2730 * exceptions.h (catch_command_errors_ftype)
2731 (catch_command_errors_const_ftype): Moved to main.c.
2732 (catch_command_errors, catch_command_errors_const): Delete
2733 declarations.
2734 * main.c (catch_command_errors_ftype)
2735 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2736 (catch_command_errors, catch_command_errors_const)): Moved here
2737 from exceptions.c and make static.
2738
feefc97b
PA
27392014-07-14 Pedro Alves <palves@redhat.com>
2740
2741 * exceptions.c (print_any_exception): Delete.
2742 (catch_exceptions_with_msg): Use exception_print instead of
2743 print_any_exception.
2744 (catch_errors): Use exception_fprintf instead of
2745 print_any_exception.
2746 (catch_command_errors, catch_command_errors_const): Use
2747 exception_print instead of print_any_exception.
2748
c933f875
PA
27492014-07-14 Pedro Alves <palves@redhat.com>
2750
2751 * infcall.c (run_inferior_call): Set 'sync_execution' while
2752 running the inferior call.
2753
feb6f816
PA
27542014-07-14 Pedro Alves <palves@redhat.com>
2755
2756 * value.c (value_contents_equal): Delete function.
2757 * value.h (value_contents_equal): Delete declaration.
2758
d98b7a16
TT
27592014-07-14 Tom Tromey <tromey@redhat.com>
2760
2761 PR exp/17106:
2762 * gdbtypes.c (is_dynamic_type_internal): New function, from
2763 is_dynamic_type.
2764 (is_dynamic_type): Rewrite.
2765 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2766 (resolve_dynamic_struct): Likewise.
2767 (resolve_dynamic_type_internal): New function, from
2768 resolve_dynamic_type.
2769 (resolve_dynamic_type): Rewrite.
2770
548740d6
TT
27712014-07-14 Tom Tromey <tromey@redhat.com>
2772
2773 * target.c (target_require_runnable): Also check record_stratum.
2774 Update comment.
2775
808f7ab1
YQ
27762014-07-11 Yao Qi <yao@codesourcery.com>
2777
2778 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2779 thumb_instruction_restores_sp return true.
2780
540314bd
YQ
27812014-07-11 Yao Qi <yao@codesourcery.com>
2782
2783 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2784 (thumb_in_function_epilogue_p): Call
2785 thumb_instruction_restores_sp.
2786
1db01f22
YQ
27872014-07-11 Yao Qi <yao@codesourcery.com>
2788
2789 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2790 'add sp, #imm'.
2791 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2792
3116063b
GB
27932014-07-11 Gary Benson <gbenson@redhat.com>
2794
2795 * amd64-linux-nat.c (gdbcore.h): Remove include.
2796 (regset.h): Likewise.
2797 (nat/linux-btrace.h): Likewise.
2798 (btrace.h): Likewise.
2799 (gdb_assert.h): Likewise.
2800 (string.h): Likewise.
2801 (sys/uio.h): Likewise.
2802 (sys/debugreg.h): Likewise.
2803 (sys/syscall.h): Likewise.
2804 (sys/procfs.h): Likewise.
2805 (sys/user.h): Likewise.
2806 (asm/ptrace.h): Likewise.
2807 (i386-nat.h): Likewise.
2808 * i386-linux-nat.c (i386-nat.h): Likewise.
2809 (regset.h): Likewise.
2810 (target.h): Likewise.
2811 (linux-nat.h): Likewise.
2812 (nat/linux-btrace.h): Likewise.
2813 (btrace.h): Likewise.
2814 (gdb_assert.h): Likewise.
2815 (string.h): Likewise.
2816 (sys/uio.h): Likewise.
2817 (sys/user.h): Likewise.
2818 (sys/procfs.h): Likewise.
2819 (sys/reg.h): Likewise.
2820 (sys/debugreg.h): Likewise.
2821 (ORIG_EAX): Remove definition.
2822
040baaf6
GB
28232014-07-11 Gary Benson <gbenson@redhat.com>
2824
2825 * i386-linux-nat.h: New file.
2826 * x86-linux-nat.h: Likewise.
2827 * x86-linux-nat.c: Likewise.
2828 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2829 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2830 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2831 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2832 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2833 (PTRACE_SETREGSET): Likewise.
2834 (arch_lwp_info): Now in x86-linux-nat.c.
2835 (have_ptrace_getregset): Now in x86-linux-nat.h.
2836 (x86_linux_dr_get): Now in x86-linux-nat.c.
2837 (x86_linux_dr_set): Likewise.
2838 (x86_linux_dr_get_addr): Likewise.
2839 (x86_linux_dr_get_control): Likewise.
2840 (x86_linux_dr_get_status): Likewise.
2841 (update_debug_registers_callback): Likewise.
2842 (x86_linux_dr_set_control): Likewise.
2843 (x86_linux_dr_set_addr): Likewise.
2844 (x86_linux_prepare_to_resume): Likewise.
2845 (x86_linux_new_thread): Likewise.
2846 (x86_linux_new_fork): Likewise.
2847 (x86_linux_get_thread_area): Likewise.
2848 (super_post_startup_inferior): Likewise.
2849 (x86_linux_child_post_startup_inferior): Likewise.
2850 (AMD64_LINUX_USER64_CS): Likewise.
2851 (AMD64_LINUX_X32_DS): Likewise.
2852 (x86_linux_read_description): Likewise.
2853 (x86_linux_enable_btrace): Likewise.
2854 (x86_linux_disable_btrace): Likewise.
2855 (x86_linux_teardown_btrace): Likewise.
2856 (x86_linux_read_btrace): Likewise.
2857 (x86_linux_create_target): Likewise.
2858 (x86_linux_add_target): Likewise.
2859 * i386-linux-nat.c (x86-linux-nat.h): New include.
2860 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2861 (PTRACE_SETREGSET): Likewise.
2862 (arch_lwp_info): Now in x86-linux-nat.c.
2863 (have_ptrace_getregset): Now in x86-linux-nat.h.
2864 (x86_linux_dr_get): Now in x86-linux-nat.c.
2865 (x86_linux_dr_set): Likewise.
2866 (x86_linux_dr_get_addr): Likewise.
2867 (x86_linux_dr_get_control): Likewise.
2868 (x86_linux_dr_get_status): Likewise.
2869 (update_debug_registers_callback): Likewise.
2870 (x86_linux_dr_set_control): Likewise.
2871 (x86_linux_dr_set_addr): Likewise.
2872 (x86_linux_prepare_to_resume): Likewise.
2873 (x86_linux_new_thread): Likewise.
2874 (x86_linux_new_fork): Likewise.
2875 (x86_linux_get_thread_area): Likewise.
2876 (super_post_startup_inferior): Likewise.
2877 (x86_linux_child_post_startup_inferior): Likewise.
2878 (AMD64_LINUX_USER64_CS): Likewise.
2879 (AMD64_LINUX_X32_DS): Likewise.
2880 (x86_linux_read_description): Likewise.
2881 (x86_linux_enable_btrace): Likewise.
2882 (x86_linux_disable_btrace): Likewise.
2883 (x86_linux_teardown_btrace): Likewise.
2884 (x86_linux_read_btrace): Likewise.
2885 (x86_linux_create_target): Likewise.
2886 (x86_linux_add_target): Likewise.
2887
1aa7e42c
GB
28882014-07-11 Gary Benson <gbenson@redhat.com>
2889
2890 * amd64-linux-nat.c: Comment and whitespace changes.
2891 * i386-linux-nat.c: Comment and whitespace changes.
2892
c1e246a0
GB
28932014-07-11 Gary Benson <gbenson@redhat.com>
2894
2895 * amd64-linux-nat.c (x86_linux_create_target): New function.
2896 (x86_linux_add_target): Likewise.
2897 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2898 * i386-linux-nat.c (x86_linux_create_target): New function.
2899 (x86_linux_add_target): Likewise.
2900 (_initialize_i386_linux_nat): Delegate to the above new functions.
2901
8c420b8d
GB
29022014-07-11 Gary Benson <gbenson@redhat.com>
2903
2904 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2905 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2906 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2907 (ps_get_thread_area): Delegate to the above.
2908
cb1da100
GB
29092014-07-11 Gary Benson <gbenson@redhat.com>
2910
2911 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2912 x86_linux_read_description. All uses updated. amd64-specific
2913 code conditionalized. Conditionalized i386-specific code added.
2914 Redundant cast removed.
2915 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2916 x86_linux_read_description. All uses updated. i386-specific
2917 code conditionalized. Conditionalized amd64-specific code added.
2918 One sizeof replaced with the actual type it is describing.
2919
2acf3cd0
GB
29202014-07-11 Gary Benson <gbenson@redhat.com>
2921
2922 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2923 x86_linux_dr_get. All uses updated.
2924 (amd64_linux_dr_set): Renamed to
2925 x86_linux_dr_set. All uses updated.
2926 (amd64_linux_dr_get_addr): Renamed to
2927 x86_linux_dr_get_addr. All uses updated.
2928 (amd64_linux_dr_get_control): Renamed to
2929 x86_linux_dr_get_control. All uses updated.
2930 (amd64_linux_dr_get_status): Renamed to
2931 x86_linux_dr_get_status. All uses updated.
2932 (amd64_linux_dr_set_control): Renamed to
2933 x86_linux_dr_set_control. All uses updated.
2934 (amd64_linux_dr_set_addr): Renamed to
2935 x86_linux_dr_set_addr. All uses updated.
2936 (amd64_linux_prepare_to_resume): Renamed to
2937 x86_linux_prepare_to_resume. All uses updated.
2938 (amd64_linux_new_thread): Renamed to
2939 x86_linux_new_thread. All uses updated.
2940 (amd64_linux_new_fork): Renamed to
2941 x86_linux_new_fork. All uses updated.
2942 (amd64_linux_child_post_startup_inferior): Renamed to
2943 x86_linux_child_post_startup_inferior. All uses updated.
2944 (amd64_linux_enable_btrace): Renamed to
2945 x86_linux_enable_btrace. All uses updated.
2946 (amd64_linux_disable_btrace): Renamed to
2947 x86_linux_disable_btrace. All uses updated.
2948 (amd64_linux_teardown_btrace): Renamed to
2949 x86_linux_teardown_btrace. All uses updated.
2950 (amd64_linux_read_btrace): Renamed to
2951 x86_linux_read_btrace. All uses updated.
2952 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2953 x86_linux_dr_get. All uses updated.
2954 (i386_linux_dr_set): Renamed to
2955 x86_linux_dr_set. All uses updated.
2956 (i386_linux_dr_get_addr): Renamed to
2957 x86_linux_dr_get_addr. All uses updated.
2958 (i386_linux_dr_get_control): Renamed to
2959 x86_linux_dr_get_control. All uses updated.
2960 (i386_linux_dr_get_status): Renamed to
2961 x86_linux_dr_get_status. All uses updated.
2962 (i386_linux_dr_set_control): Renamed to
2963 x86_linux_dr_set_control. All uses updated.
2964 (i386_linux_dr_set_addr): Renamed to
2965 x86_linux_dr_set_addr. All uses updated.
2966 (i386_linux_prepare_to_resume): Renamed to
2967 x86_linux_prepare_to_resume. All uses updated.
2968 (i386_linux_new_thread): Renamed to
2969 x86_linux_new_thread. All uses updated.
2970 (i386_linux_new_fork): Renamed to
2971 x86_linux_new_fork. All uses updated.
2972 (i386_linux_child_post_startup_inferior): Renamed to
2973 x86_linux_child_post_startup_inferior. All uses updated.
2974 (i386_linux_enable_btrace): Renamed to
2975 x86_linux_enable_btrace. All uses updated.
2976 (i386_linux_disable_btrace): Renamed to
2977 x86_linux_disable_btrace. All uses updated.
2978 (i386_linux_teardown_btrace): Renamed to
2979 x86_linux_teardown_btrace. All uses updated.
2980 (i386_linux_read_btrace): Renamed to
2981 x86_linux_read_btrace. All uses updated.
2982
b9c1d481
AS
29832014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2984
2985 * remote.c (extended_remote_post_attach): New function.
2986 (init_extended_remote_ops): Install it as to_post_attach method.
2987
7180e04a
PA
29882014-07-09 Pedro Alves <palves@redhat.com>
2989
2990 * infcmd.c (attach_command_post_wait): Don't call
2991 target_terminal_inferior here.
2992 (attach_command): Call it here instead.
2993
9a9a7608
AB
29942014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2995
2996 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2997 field.
2998 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2999 from varobj.c, with additional checks.
3000 (c_varobj_ops): Fill in is_path_expr_parent field.
3001 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3002 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3003 field.
3004 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3005 ops method.
3006 (varobj_default_is_path_expr_parent): New function.
3007 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3008 (varobj_default_is_path_expr_parent): Declare new function.
3009
1f267ae3
MM
30102014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3011
3012 * infcmd.c (finish_backward): Turn internal error into normal error.
3013
b2ee242b
PA
30142014-07-07 Pedro Alves <palves@redhat.com>
3015
8a869bca 3016 PR gdb/17096
b2ee242b
PA
3017 * remote.c (async_handle_remote_sigint)
3018 (async_handle_remote_sigint_twice): Call
3019 gdb_call_async_signal_handler instead of
3020 mark_async_signal_handler.
3021
38e229b2
TT
30222014-07-07 Tom Tromey <tromey@redhat.com>
3023
3024 * target-delegates.c: Rebuild.
3025 * target.c (target_info_record): Remove.
3026 * record.c (info_record_command): Unconditionally call
3027 to_info_record.
3028 * target.h (struct target_ops) <to_info_record>: Use
3029 TARGET_DEFAULT_IGNORE.
3030 (target_info_record): Remove.
3031
f0f9ff95
TT
30322014-07-07 Tom Tromey <tromey@redhat.com>
3033
3034 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3035 TARGET_DEFAULT_NORETURN.
3036 * target.c (generic_tls_error): New function.
3037 (target_translate_tls_address): Don't search target stack.
3038 * target-delegates.c: Rebuild.
3039 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3040 stack.
3041 * linux-thread-db.c (thread_db_get_thread_local_address):
3042 Unconditionally call beneath target.
3043
4a5be5ee
MK
30442014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3045
3046 * cli/cli-logging.c (pop_output_files): Assign targerr to
3047 gdb_stdtargerr.
3048
92c3b204
AB
30492014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3050
3051 * MAINTAINERS (Write After Approval): Update my email address.
3052
9b11e3a7
GB
30532014-07-02 Gary Benson <gbenson@redhat.com>
3054
3055 * proc-service.c (ps_xfer_memory): Update comment.
3056 (ps_pstop): Remove unused function.
3057 (ps_pcontinue): Likewise.
3058 (ps_lstop): Likewise.
3059 (ps_lcontinue): Likewise.
3060 (ps_lgetxregsize): Likewise.
3061 (ps_lgetxregs): Likewise.
3062 (ps_lsetxregs): Likewise.
3063 (ps_plog): Likewise.
3064 (ps_ptread): Likewise.
3065 (ps_ptwrite): Likewise.
3066
cf363f18
MW
30672014-07-01 Mark Wielaard <mjw@redhat.com>
3068
3069 * dwarf2read.c (add_array_cv_type): New function.
3070 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3071 (read_tag_volatile_type): Likewise.
3072
82ae6c8d
TT
30732014-07-01 Tom Tromey <tromey@redhat.com>
3074
3075 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3076 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3077 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3078 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3079 * command.h (cmd_cfunc_ftype): Move earlier.
3080 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3081 (add_com, add_info): Use cmd_cfunc_ftype.
3082
96142726
TT
30832014-06-30 Tom Tromey <tromey@redhat.com>
3084
3085 * symtab.c (operator_chars): Make parameters and return type
3086 const.
3087 (file_matches): Make "files" const.
3088 (struct search_symbols_data) <files>: Now const.
3089 (search_symbols): Make "regexp" and "files" parameters const.
3090 Update.
3091 (symtab_symbol_info): Remove cast.
3092 (rbreak_command): Update.
3093 * symtab.h (search_symbols): Update.
3094
b67a2c6f
YQ
30952014-06-27 Yao Qi <yao@codesourcery.com>
3096
3097 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3098 Change parameter type to 'struct thread_info *'. Caller
3099 updated.
3100 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3101 Update declaration.
3102 * dummy-frame.c (struct dummy_frame_id): New.
3103 (dummy_frame_id_eq): New function.
3104 (struct dummy_frame) <id>: Change its type to 'struct
3105 dummy_frame_id'.
3106 (dummy_frame_push): Add parameter ptid and save it in
3107 dummy_frame_id.
3108 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3109 inferior_ptid.
3110 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3111 to inferior_ptid.
3112 (lookup_dummy_frame): Change parameter type to 'struct
3113 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3114 instead of frame_id_eq.
3115 (dummy_frame_pop): Add parameter ptid. Callers updated.
3116 Update comments. Compose dummy_frame_id and pass it to
3117 lookup_dummy_frame.
3118 (dummy_frame_discard): Add parameter ptid.
3119 (dummy_frame_sniffer): Compose dummy_frame_id and call
3120 dummy_frame_id_eq instead of frame_id_eq.
3121 (fprint_dummy_frames): Print ptid.
3122 * dummy-frame.h: Remove comments.
3123 (dummy_frame_push): Add ptid in declaration.
3124 (dummy_frame_pop, dummy_frame_discard): Likewise.
3125
5b10184c
TT
31262014-06-26 Tom Tromey <tromey@redhat.com>
3127
3128 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3129 * command.h (error_no_arg): Update.
3130
06900326
TT
31312014-06-26 Tom Tromey <tromey@redhat.com>
3132
3133 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3134 (do_show_command): Make "arg" const.
3135 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3136
c2bcbb1d
TT
31372014-06-26 Tom Tromey <tromey@redhat.com>
3138
3139 * record-full.c (record_full_get_bookmark): Make "args" const.
3140 (record_full_goto_bookmark): Make "raw_bookmark" const.
3141 * record.c (record_goto): New function.
3142 (cmd_record_goto): Use it. Now static.
3143 * record.h (record_goto): Declare.
3144 (cmd_record_goto): Remove declaration.
3145 * target-delegates.c: Rebuild.
3146 * target.h (struct target_ops) <to_get_bookmark,
3147 to_goto_bookmark>: Make parameter const.
3148
9cbe5fff
TT
31492014-06-26 Tom Tromey <tromey@redhat.com>
3150
3151 * defs.h (generic_load): Update.
3152 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3153 * monitor.c (monitor_load): Make "args" const.
3154 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3155 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3156 const.
3157 (mips_load): Make "file" const.
3158 * remote-sim.c (gdbsim_load): Make "args" const.
3159 * remote.c (remote_load): Make "name" const.
3160 * symfile.c (generic_load): Make "args" const.
3161 * target-delegates.c: Rebuild.
3162 * target.c (target_load): Make "arg" const.
3163 (debug_to_load): Make "args" const.
3164 * target.h (struct target_ops) <to_load>: Make parameter const.
3165 (target_load): Update.
3166
34a68019
TT
31672014-06-26 Tom Tromey <tromey@redhat.com>
3168
3169 PR symtab/16902:
3170 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3171 (dwarf2_physname, read_partial_die)
3172 (guess_partial_die_structure_name, fixup_partial_die)
3173 (guess_full_die_structure_name, anonymous_struct_prefix)
3174 (dwarf2_name): Use per-BFD obstack.
3175
efc889c1
YQ
31762014-06-26 Yao Qi <yao@codesourcery.com>
3177
3178 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3179 dummyframe and this_id into inner block below.
3180
4395285e
YQ
31812014-06-26 Yao Qi <yao@codesourcery.com>
3182
3183 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3184 with "signal_pass[0]" in the initialization of signal_pass.
3185
aef92902
MM
31862014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3187
3188 * record-btrace.c (record_btrace_generating_corefile)
3189 (record_btrace_prepare_to_generate_core)
3190 (record_btrace_done_generating_core): New.
3191 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3192 (record_btrace_store_registers, record_btrace_prepare_to_store):
3193 Forward request when generating a core file.
3194 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3195 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3196 to_done_generating_core.
3197
5fff78c4
MM
31982014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3199
3200 * target.h (target_ops) <to_prepare_to_generate_core>
3201 <to_done_generating_core>: New.
3202 (target_prepare_to_generate_core, target_done_generating_core): New.
3203 * target.c (target_prepare_to_generate_core)
3204 (target_done_generating_core): New.
3205 * target-delegates.c: Regenerate.
3206 * gcore.c: (write_gcore_file): Rename to ...
3207 (write_gcore_file_1): ...this.
3208 (write_gcore_file): Call target_prepare_to_generate_core
3209 and target_done_generating_core.
3210
1d1f1ccb
MM
32112014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3212
3213 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3214 * gcore.c (write_gcore_file): Free memory returned from
3215 make_corefile_notes.
3216 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3217 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3218
3343ef86
YQ
32192014-06-24 Yao Qi <yao@codesourcery.com>
3220
3221 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3222 (arm_linux_init_abi): Set skip_trampoline_code with
3223 gdbarch_skip_trampoline_code instead of
3224 find_solib_trampoline_target.
3225
18d18ac8
YQ
32262014-06-24 Yao Qi <yao@codesourcery.com>
3227
3228 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3229 arm_skip_bx_reg returns non-zero.
3230
80d8d390
YQ
32312014-06-24 Yao Qi <yao@codesourcery.com>
3232
3233 * arm-tdep.c (arm_skip_bx_reg): New function.
3234 (arm_skip_stub): Call arm_skip_bx_reg.
3235
6a18a01c
DB
32362014-06-23 Don Breazeal <donb@codesourcery.com>
3237
3238 * MAINTAINERS: Add myself as write-after-approval maintainer.
3239
8e9db26e
PA
32402014-06-23 Pedro Alves <palves@redhat.com>
3241
3242 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3243 DR_CONTROL before setting DR0..DR3.
3244 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3245 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3246 bits of DR_CONTROL related to the debug register slot being
3247 disabled. If all slots are vacant, clear local slowdown as well,
3248 and assert DR_CONTROL is 0.
3249
70afc5b7
SC
32502014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3251
3252 * python/lib/gdb/command/xmethods.py
3253 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3254 current progspace only if the string "progspace" matches LOCUS_RE.
3255
840ed64d
JK
32562014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3257
3258 Fix --with-system-readline with readline-6.3 patch 5.
3259 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3260 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3261 types.
3262
26f2dc30
TT
32632014-06-20 Tom Tromey <tromey@redhat.com>
3264
3265 * dwarf2read.c (dw2_get_real_path): Use correct type in
3266 OBSTACK_CALLOC.
3267 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3268
125f8a3d
GB
32692014-06-20 Gary Benson <gbenson@redhat.com>
3270
3271 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3272 * common/glibc_thread_db.h: Likewise.
3273 * common/i386-cpuid.h: Likewise.
3274 * common/i386-gcc-cpuid.h: Likewise.
3275 * common/linux-btrace.h: Likewise.
3276 * common/linux-osdata.h: Likewise.
3277 * common/linux-procfs.h: Likewise.
3278 * common/linux-ptrace.h: Likewise.
3279 * common/mips-linux-watch.h: Likewise.
3280 * common/linux-btrace.c: Moved to nat.
3281 * common/linux-osdata.c: Likewise.
3282 * common/linux-procfs.c: Likewise.
3283 * common/linux-ptrace.c: Likewise.
3284 * common/mips-linux-watch.c: Likewise.
3285 * nat/gdb_thread_db.h: Moved from common.
3286 * nat/glibc_thread_db.h: Likewise.
3287 * nat/i386-cpuid.h: Likewise.
3288 * nat/i386-gcc-cpuid.h: Likewise.
3289 * nat/linux-btrace.c: Likewise.
3290 * nat/linux-btrace.h: Likewise.
3291 * nat/linux-osdata.c: Likewise.
3292 * nat/linux-osdata.h: Likewise.
3293 * nat/linux-procfs.c: Likewise.
3294 * nat/linux-procfs.h: Likewise.
3295 * nat/linux-ptrace.c: Likewise.
3296 * nat/linux-ptrace.h: Likewise.
3297 * nat/mips-linux-watch.c: Likewise.
3298 * nat/mips-linux-watch.h: Likewise.
3299 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3300 (object file files): Reordered.
3301 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3302 of glibc_thread_db.h.
3303
42995dbd
GB
33042014-06-20 Gary Benson <gbenson@redhat.com>
3305
3306 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3307 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3308 (i386_dr_low): Likewise.
3309 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3310 (i386_dr_low_set_addr): Likewise.
3311 (i386_dr_low_get_addr): Likewise.
3312 (i386_dr_low_can_set_control): Likewise.
3313 (i386_dr_low_set_control): Likewise.
3314 (i386_dr_low_get_control): Likewise.
3315 (i386_dr_low_get_status): Likewise.
3316 (i386_get_debug_register_length): Likewise.
3317 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3318 (i386_dr_low): Likewise.
3319 * nat/i386-dregs.c (i386-low.h): Remove include.
3320 (i386-nat.h): Likewise.
3321 (nat/i386-dregs.h): New include.
3322 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3323 (i386_dr_low_set_addr): Likewise.
3324 (i386_dr_low_get_addr): Likewise.
3325 (i386_dr_low_can_set_control): Likewise.
3326 (i386_dr_low_set_control): Likewise.
3327 (i386_dr_low_get_control): Likewise.
3328 (i386_dr_low_get_status): Likewise.
3329 (i386_get_debug_register_length): Likewise.
3330 (debug_hw_points): Likewise.
3331
3ed9baed
IB
33322014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3333
3334 * Makefile.in (SFILES): Add d-exp.y.
3335 (YYFILES): Add d-exp.c.
3336 (YYOBJ): Add d-exp.o.
3337 (local-maintainer-clean): Delete d-exp.c.
3338 * d-exp.y: New file.
3339 * d-lang.h (d_parse): New declaration.
3340 (d_error): New declaration.
3341 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3342 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3343 PREC_ORDER operators.
3344 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3345
78c164b0
YQ
33462014-06-19 Yao Qi <yao@codesourcery.com>
3347
3348 * gdbthread.h (any_running): Remove the declaration.
3349 * thread.c (any_running): Remove.
3350
f6e29b6e
YQ
33512014-06-19 Yao Qi <yao@codesourcery.com>
3352
3353 * gdbthread.h (struct thread_info) <state>: Change its type to
3354 'enum thread_state'. Update comments.
3355
034f788c
PA
33562014-06-19 Pedro Alves <palves@redhat.com>
3357
3358 * gdbthread.h (ALL_THREADS): Delete.
3359 (ALL_NON_EXITED_THREADS): New macro.
3360 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3361 instead of ALL_THREADS.
3362 * infrun.c (find_thread_needs_step_over)
3363 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3364 instead of ALL_THREADS.
3365 * record-btrace.c (record_btrace_open)
3366 (record_btrace_stop_recording, record_btrace_close)
3367 (record_btrace_is_replaying, record_btrace_resume)
3368 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3369 * remote.c (append_pending_thread_resumptions): Likewise.
3370 * thread.c (thread_apply_all_command): Likewise.
3371
46e33252
GB
33722014-06-19 Gary Benson <gbenson@redhat.com>
3373
3374 * i386-nat.c (i386_stopped_by_watchpoint):
3375 Use i386_dr_stopped_by_watchpoint.
3376 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3377 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3378
3a8ee006
GB
33792014-06-19 Gary Benson <gbenson@redhat.com>
3380
3381 * nat/i386-dregs.c: New file.
3382 * Makefile.in (i386-dregs.o): New rule.
3383 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3384 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3385 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3386 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3387 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3388 * config/i386/go32.mh (NATDEPFILES): Likewise.
3389 * config/i386/linux.mh (NATDEPFILES): Likewise.
3390 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3391 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3392 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3393 * i386-nat.h (debug_hw_points): New declaration.
3394 * i386-nat.c (breakpoint.h): Remove include.
3395 (command.h): Likewise.
3396 (target.h): Likewise.
3397 (gdb_assert.h): Likewise.
3398 (debug_hw_points): Made nonstatic.
3399 (debug_printf): Now in i386-dregs.c.
3400 (TARGET_HAS_DR_LEN_8): Likewise.
3401 (DR_CONTROL_SHIFT): Likewise.
3402 (DR_CONTROL_SIZE): Likewise.
3403 (DR_RW_EXECUTE): Likewise.
3404 (DR_RW_WRITE): Likewise.
3405 (DR_RW_READ): Likewise.
3406 (DR_RW_IORW): Likewise.
3407 (DR_LEN_1): Likewise.
3408 (DR_LEN_2): Likewise.
3409 (DR_LEN_4): Likewise.
3410 (DR_LEN_8): Likewise.
3411 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3412 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3413 (DR_ENABLE_SIZE): Likewise.
3414 (DR_LOCAL_SLOWDOWN): Likewise.
3415 (DR_GLOBAL_SLOWDOWN): Likewise.
3416 (DR_CONTROL_RESERVED): Likewise.
3417 (I386_DR_CONTROL_MASK): Likewise.
3418 (I386_DR_VACANT): Likewise.
3419 (I386_DR_LOCAL_ENABLE): Likewise.
3420 (I386_DR_GLOBAL_ENABLE): Likewise.
3421 (I386_DR_DISABLE): Likewise.
3422 (I386_DR_SET_RW_LEN): Likewise.
3423 (I386_DR_GET_RW_LEN): Likewise.
3424 (I386_DR_WATCH_HIT): Likewise.
3425 (i386_wp_op_t): Likewise.
3426 (i386_show_dr): Likewise.
3427 (i386_length_and_rw_bits): Likewise.
3428 (i386_insert_aligned_watchpoint): Likewise.
3429 (i386_remove_aligned_watchpoint): Likewise.
3430 (i386_handle_nonaligned_watchpoint): Likewise.
3431 (i386_update_inferior_debug_regs): Likewise.
3432 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3433 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3434 (i386_region_ok_for_watchpoint):
3435 Use i386_dr_region_ok_for_watchpoint.
3436 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3437
322a8e06
GB
34382014-06-19 Gary Benson <gbenson@redhat.com>
3439
3440 * i386-nat.c (i386_insert_hw_breakpoint): Use
3441 i386_insert_watchpoint.
3442 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3443
8f26655c
GB
34442014-06-19 Gary Benson <gbenson@redhat.com>
3445
3446 * i386-nat.c (i386_dr_show): Renamed to
3447 i386_show_dr and made static. All uses updated.
3448 (i386_dr_length_and_rw_bits): Renamed to
3449 i386_length_and_rw_bits and made static.
3450 All uses updated.
3451 (i386_dr_insert_aligned_watchpoint): Renamed to
3452 i386_insert_aligned_watchpoint and made static.
3453 All uses updated.
3454 (i386_dr_remove_aligned_watchpoint): Renamed to
3455 i386_remove_aligned_watchpoint and made static.
3456 All uses updated.
3457 (i386_dr_update_inferior_debug_regs): Renamed to
3458 i386_update_inferior_debug_regs and made static.
3459 All uses updated.
3460 * nat/i386-dregs.h (i386_dr_show): Removed.
3461 (i386_dr_length_and_rw_bits): Likewise.
3462 (i386_dr_insert_aligned_watchpoint): Likewise.
3463 (i386_dr_remove_aligned_watchpoint): Likewise.
3464 (i386_dr_update_inferior_debug_regs): Likewise.
3465
992c7d70
GB
34662014-06-19 Gary Benson <gbenson@redhat.com>
3467
3468 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3469 * configure: Regenerate.
3470 * config.in: Likewise.
3471 * main.c (signal.h): New include.
3472 (setup_alternate_signal_stack): New function.
3473 (captured_main): Call the above.
3474 * cp-support.c (signal.h): New include.
3475 (catch_demangler_crashes): New flag.
3476 (SIGJMP_BUF): New define.
3477 (SIGSETJMP): Likewise.
3478 (SIGLONGJMP): Likewise.
3479 (gdb_demangle_jmp_buf): New static global.
3480 (gdb_demangle_attempt_core_dump): Likewise.
3481 (gdb_demangle_signal_handler): New function.
3482 (gdb_demangle): If catch_demangler_crashes is set, install the
3483 above signal handler before calling bfd_demangle, and restore
3484 the original signal handler afterwards. Display the offending
3485 symbol and call demangler_warning the first time a segmentation
3486 fault is caught.
3487 (_initialize_cp_support): New maint set/show command.
3488
eae7090b
GB
34892014-06-19 Gary Benson <gbenson@redhat.com>
3490
3491 * utils.h (resource_limit_kind): New enum.
3492 (can_dump_core): New declaration.
3493 (warn_cant_dump_core): Likewise.
3494 (dump_core): Likewise.
3495 * utils.c (dump_core): Made nonstatic. Added new
3496 parameter "limit_kind".
3497 (can_dump_core): Made nonstatic. Moved printing code to...
3498 (warn_cant_dump_core): New function.
3499 (can_dump_core_warn): Likewise.
3500 (internal_vproblem): Replace calls to can_dump_core with
3501 calls to can_dump_core_warn. Supply new argument to each.
3502
57fcfb1b
GB
35032014-06-19 Gary Benson <gbenson@redhat.com>
3504
3505 * utils.h (demangler_vwarning): New declaration.
3506 (demangler_warning): Likewise.
3507 * utils.c (struct internal_problem)
3508 <user_settable_should_quit>: New field.
3509 <user_settable_should_dump_core>: Likewise
3510 (internal_error_problem): Add values for above new fields.
3511 (internal_warning_problem): Likewise.
3512 (demangler_warning_problem): New static global.
3513 (demangler_vwarning): New function.
3514 (demangler_warning): Likewise.
3515 (add_internal_problem_command): Selectively add commands.
3516 (_initialize_utils): New internal problem command.
3517 * maint.c (maintenance_demangler_warning): New function.
3518 (_initialize_maint_cmds): New command.
3519
17a40b44
TT
35202014-06-18 Tom Tromey <tromey@redhat.com>
3521
3522 * f-valprint.c (info_common_command_for_block): Update.
3523 * symtab.h (struct general_symbol_info) <common_block>: Now
3524 const.
3525
346d1dfe
TT
35262014-06-18 Tom Tromey <tromey@redhat.com>
3527
3528 * symtab.h (struct symtab) <blockvector>: Now const.
3529 * ada-lang.c (ada_add_global_exceptions): Update.
3530 * buildsym.c (augment_type_symtab): Update.
3531 * dwarf2read.c (dw2_lookup_symbol): Update.
3532 * jit.c (finalize_symtab): Update.
3533 * jv-lang.c (add_class_symtab_symbol): Update.
3534 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3535 Update.
3536 * objfiles.c (objfile_relocate1): Update.
3537 * psymtab.c (lookup_symbol_aux_psymtabs)
3538 (maintenance_check_psymtabs): Update.
3539 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3540 Update.
3541 * spu-tdep.c (spu_catch_start): Update.
3542 * symmisc.c (dump_symtab_1): Update.
3543 * symtab.c (lookup_global_symbol_from_objfile)
3544 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3545 (basic_lookup_transparent_type_quick)
3546 (basic_lookup_transparent_type, find_pc_sect_symtab)
3547 (find_pc_sect_line, search_symbols): Update.
3548 * block.c (find_block_in_blockvector): Make "bl" const.
3549 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3550 const.
3551 (blockvector_contains_pc): Make "bv" const.
3552 (block_for_pc_sect): Update.
3553 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3554 (blockvector_contains_pc): Update.
3555 * breakpoint.c (resolve_sal_pc): Update.
3556 * inline-frame.c (block_starting_point_at): Update.
3557
1834676b
TT
35582014-06-18 Tom Tromey <tromey@redhat.com>
3559
3560 * completer.c (complete_line): Make "line_buffer" const.
3561 * completer.h (complete_line): Update.
3562
ac1a991b
TT
35632014-06-18 Tom Tromey <tromey@redhat.com>
3564
3565 * symtab.c (add_macro_name): Remove unneeded cast.
3566
5bc98e52
TT
35672014-06-18 Tom Tromey <tromey@redhat.com>
3568
3569 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3570 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3571
8236def8
TT
35722014-06-18 Tom Tromey <tromey@redhat.com>
3573
3574 * probe.c (info_probes_for_ops): Make "arg" const.
3575 * probe.h (info_probes_for_ops): Update.
3576
3977b71f
TT
35772014-06-18 Tom Tromey <tromey@redhat.com>
3578
3579 * varobj.c (varobj_create): Update.
3580 * valops.c (value_of_this): Update.
3581 * tracepoint.c (add_local_symbols, scope_info): Update.
3582 * symtab.h (struct general_symbol_info) <block>: Now const.
3583 * symtab.c (skip_prologue_sal)
3584 (default_make_symbol_completion_list_break_on)
3585 (skip_prologue_using_sal): Update.
3586 * stack.h (iterate_over_block_locals)
3587 (iterate_over_block_local_vars): Update.
3588 * stack.c (print_frame_args): Update.
3589 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3590 parameter const.
3591 (get_selected_block): Make return type const.
3592 * python/py-frame.c (frapy_block): Update.
3593 * python/py-block.c (gdbpy_block_for_pc): Update.
3594 * p-exp.y (%union) <bval>: Now const.
3595 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3596 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3597 * m2-exp.y (%union) <bval>: Now const.
3598 * linespec.c (get_current_search_block): Make return type const.
3599 (create_sals_line_offset, find_label_symbols): Update.
3600 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3601 Update.
3602 (block_starting_point_at): Make "block" const.
3603 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3604 (check_exception_resume): Update.
3605 * guile/scm-frame.c (gdbscm_frame_block): Update.
3606 * guile/scm-block.c (gdbscm_lookup_block): Update.
3607 * frame.h (get_frame_block): Update.
3608 (get_selected_block): Make return type const.
3609 * frame.c (frame_id_inner): Update.
3610 * f-valprint.c (info_common_command_for_block)
3611 (info_common_command): Update.
3612 * dwarf2loc.c (dwarf2_find_location_expression)
3613 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3614 (locexpr_describe_location_piece): Update.
3615 * c-exp.y (%union) <bval>: Now const.
3616 * breakpoint.c (resolve_sal_pc): Update.
3617 * blockframe.c (get_frame_block):Make return type const.
3618 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3619 (block_innermost_frame): Update.
3620 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3621 (block_for_pc, block_for_pc_sect): Update.
3622 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3623 'pblock' const.
3624 (block_for_pc_sect, block_for_pc): Make return type const.
3625 * ax-gdb.c (gen_expr): Update.
3626 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3627 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3628 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3629 (ada_read_var_value): Update.
3630 * ada-exp.y (struct name_info) <block>: Now const.
3631 (%union): Likewise.
3632 (block_lookup): Constify.
3633
b9228891
GB
36342014-06-18 Gary Benson <gbenson@redhat.com>
3635
3636 * nat/i386-dregs.h: New file.
3637 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3638 * i386-nat.h (i386-dregs.h): New include.
3639 (DR_FIRSTADDR): Now in i386-dregs.h.
3640 (DR_LASTADDR): Likewise.
3641 (DR_NADDR): Likewise.
3642 (DR_STATUS): Likewise.
3643 (DR_CONTROL): Likewise.
3644 (i386_debug_reg_state): Likewise.
3645 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3646
a1aa2221
LM
36472014-06-18 Don Breazeal <donb@codesourcery.com>
3648
3649 * breakpoint.c (set_longjmp_breakpoint): Call
3650 momentary_breakpoint_from_master with additional argument.
3651 (set_longjmp_breakpoint_for_call_dummy): Call
3652 momentary_breakpoint_from_master with additional argument.
3653 (set_std_terminate_breakpoint): Call
3654 momentary_breakpoint_from_master with additional argument.
3655 (momentary_breakpoint_from_master): Add argument to function
3656 definition and use it to initialize structure member flag.
74228e77 3657 (clone_momentary_breakpoint): Call
a1aa2221
LM
3658 momentary_breakpoint_from_master with additional argument.
3659 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3660 member flags set in momentary_breakpoint_from_master.
3661
4be83cc2
GB
36622014-06-18 Gary Benson <gbenson@redhat.com>
3663
3664 * i386-nat.c (i386_show_dr): Renamed to
3665 i386_dr_show and made nonstatic. All uses updated.
3666 (i386_length_and_rw_bits): Renamed to
3667 i386_dr_length_and_rw_bits and made nonstatic.
3668 All uses updated.
3669 (i386_insert_aligned_watchpoint): Renamed to
3670 i386_dr_insert_aligned_watchpoint and made nonstatic.
3671 All uses updated.
3672 (i386_remove_aligned_watchpoint): Renamed to
3673 i386_dr_remove_aligned_watchpoint and made nonstatic.
3674 All uses updated.
3675 (i386_update_inferior_debug_regs): Renamed to
3676 i386_dr_update_inferior_debug_regs and made nonstatic.
3677 All uses updated.
3678
131aa0d4
GB
36792014-06-18 Gary Benson <gbenson@redhat.com>
3680
3681 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3682 (i386_dr_low_can_set_control): Likewise.
3683 (i386_dr_low_set_addr): Likewise.
3684 (i386_dr_low_set_control): Likewise.
3685 (i386_dr_low_get_addr): Likewise.
3686 (i386_dr_low_get_status): Likewise.
3687 (i386_dr_low_get_control): Likewise.
3688 (i386_insert_aligned_watchpoint): Use new macros.
3689 (i386_update_inferior_debug_regs): Likewise.
3690 (i386_stopped_data_address): Likewise.
3691
d9305f7f
GB
36922014-06-18 Gary Benson <gbenson@redhat.com>
3693
3694 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3695 New parameter. All uses updated.
3696
ea008da4
GB
36972014-06-18 Gary Benson <gbenson@redhat.com>
3698
3699 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3700 All uses updated.
3701
1b6d4134
GB
37022014-06-18 Gary Benson <gbenson@redhat.com>
3703
3704 * i386-nat.c (debug_printf): New macro.
3705 (i386_get_debug_register_length): Likewise.
3706 (TARGET_HAS_DR_LEN_8): Use above macro.
3707 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3708 and printf_unfiltered. Use phex to format values.
3709
9b4550ef
GB
37102014-06-18 Gary Benson <gbenson@redhat.com>
3711
3712 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3713 Make const.
3714
6e62758f
GB
37152014-06-18 Gary Benson <gbenson@redhat.com>
3716
3717 * i386-nat.c: Comment changes.
3718
51c79e94
GB
37192014-06-18 Gary Benson <gbenson@redhat.com>
3720
3721 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3722
3e11889a
GB
37232014-06-18 Gary Benson <gbenson@redhat.com>
3724
3725 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3726 (i386_insert_aligned_watchpoint): Likewise.
3727 (i386_remove_aligned_watchpoint): Likewise.
3728 (i386_handle_nonaligned_watchpoint): Likewise.
3729
fc6e2f03
GB
37302014-06-18 Gary Benson <gbenson@redhat.com>
3731
3732 * i386-nat.c: Whitespace changes.
3733
2afe7d50
SB
37342014-06-17 Samuel Bronson <naesten@gmail.com>
3735
3736 * MAINTAINERS: Update Roland McGrath's email address.
3737 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3738 Red Hat a while ago, and giving me a current address.
2afe7d50 3739
3bca49ee
TT
37402014-06-17 Tom Tromey <tromey@redhat.com>
3741
3742 * utils.h (savestring): Remove declaration.
3743
6e366df1
TT
37442014-06-17 Tom Tromey <tromey@redhat.com>
3745
3746 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3747
6be47f0c
KS
37482014-06-16 Keith Seitz <keiths@redhat.com>
3749
3750 PR mi/15863
3751 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3752 to update the varobj if inferior_ptid is null_ptid.
3753
7bc112c1
TT
37542014-06-16 Tom Tromey <tromey@redhat.com>
3755
3756 * target.h (struct target_ops) <to_info_proc>: Make parameter
3757 const.
3758 (target_info_proc): Update.
3759 * target.c (target_info_proc): Make "args" const.
3760 * procfs.c (procfs_info_proc): Update.
3761 * linux-tdep.c (linux_info_proc): Update.
3762 (linux_core_info_proc_mappings): Make "args" const.
3763 (linux_core_info_proc): Update.
3764 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3765 * gdbarch.c: Rebuild.
3766 * gdbarch.h: Rebuild.
3767 * corelow.c (core_info_proc): Update.
3768
fee354ee
TT
37692014-06-16 Tom Tromey <tromey@redhat.com>
3770
3771 * target.h (struct target_ops) <to_disconnect>: Make parameter
3772 const.
3773 (target_disconnect): Update.
3774 * target.c (target_disconnect): Make "args" const.
3775 * target-delegates.c: Rebuild.
3776 * remote.c (remote_disconnect): Update.
3777 * record.h (record_disconnect): Update.
3778 * record.c (record_disconnect): Update.
3779 * inf-child.c (inf_child_disconnect): Update.
3780
a30bf1f1
TT
37812014-06-16 Tom Tromey <tromey@redhat.com>
3782
3783 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3784 * target.c (debug_to_rcmd, default_rcmd): Update.
3785 * target-delegates.c: Rebuild.
3786 * remote.c (remote_rcmd): Update.
3787 * monitor.c (monitor_rcmd): Update.
3788
d03de421
PA
37892014-06-16 Pedro Alves <palves@redhat.com>
3790
3791 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3792 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3793 have OBJF_SHARED set.
3794 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3795 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3796 instead of OBJF_USERLOADED.
3797 * objfiles.h (OBJF_SHARED): Update comment.
3798 (userloaded_objfile_contains_address_p): Rename to ...
3799 (shared_objfile_contains_address_p): ... this, and update
3800 comments.
3801 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3802 new objfile.
3803 (remove_symbol_file_command): Skip objfiles that don't have
3804 OBJF_SHARED set.
3805
99f4262f
TT
38062014-06-16 Tom Tromey <tromey@redhat.com>
3807
3808 * minsyms.h (prim_record_minimal_symbol)
3809 (prim_record_minimal_symbol_and_info): Update comments.
3810
97d66cc6
EZ
38112014-06-14 Eli Zaretskii <eliz@gnu.org>
3812
3813 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3814 or --without-guile, according to how GDB was built.
3815
635c7e8a
TT
38162014-06-13 Tom Tromey <tromey@redhat.com>
3817
3818 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3819 to help_list.
3820 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3821 to help_list.
3822 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3823 help_list.
3824 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3825 help_list.Pass all_commands, not -1, to help_list.
3826 * cli/cli-dump.c (dump_command, append_command)
3827 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3828 (binary_dump_command, binary_append_command): Pass all_commands,
3829 not -1, to help_list.
3830 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3831 -1, to help_list.
3832 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3833 -1, to help_list.
3834 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3835 help_list.
3836 * top.c (set_history): Pass all_commands, not -1, to help_list.
3837 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3838 all_commands, not -1, to help_list.
3839 * symfile.c (overlay_command): Pass all_commands, not -1, to
3840 help_list.
3841 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3842 help_list.
3843 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3844 help_list.
3845 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3846 -1, to help_list.
3847 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3848 not -1, to help_list.
3849 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3850 not -1, to help_list.
3851 * maint.c (maintenance_command, maintenance_info_command)
3852 (maintenance_print_command, maintenance_set_cmd): Pass
3853 all_commands, not -1, to help_list.
3854 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3855 help_list.
3856 * language.c (set_check): Pass all_commands, not -1, to help_list.
3857 * infcmd.c (unset_command): Pass all_commands, not -1, to
3858 help_list.
3859 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3860 help_list.
3861 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3862 help_list.
3863 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3864 help_list.
3865 * breakpoint.c (save_command): Pass all_commands, not -1, to
3866 help_list.
3867 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3868 all_commands, not -1, to help_list.
3869
b94ade42
PL
38702014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3871
3872 * regcache.c (struct register_to_invalidate): New structure.
3873 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3874 functions.
3875 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3876
31f628ae
YQ
38772014-06-12 Yao Qi <yao@codesourcery.com>
3878
3879 * varobj.c (varobj_get_num_children): Call
3880 varobj_is_dynamic_p.
3881 (varobj_list_children): Likewise.
3882 (varobj_update): Likewise. Update comments.
3883
cde5ef40
YQ
38842014-06-12 Yao Qi <yao@codesourcery.com>
3885
3886 * varobj.c (varobj_pretty_printed_p): Rename to ...
3887 (varobj_is_dynamic_p): ... this. New function.
3888 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3889 (varobj_is_dynamic_p): Declare.
3890 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3891 (mi_print_value_p, varobj_update_one): Likewise.
3892
576ea091
YQ
38932014-06-12 Pedro Alves <pedro@codesourcery.com>
3894 Yao Qi <yao@codesourcery.com>
3895
3896 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3897 (varobj_get_iterator): Wrap up code for pretty-printer by
3898 "#if HAVE_PYTHON" and "#endif".
3899 (update_dynamic_varobj_children): Likewise.
3900
827f100c
YQ
39012014-06-12 Pedro Alves <pedro@codesourcery.com>
3902 Yao Qi <yao@codesourcery.com>
3903
3904 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3905 gdb_python_initialized is false. Move some code from varobj.c.
3906 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3907 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3908 (struct varobj_item): Moved to varobj-iter.h".
3909 (varobj_clear_saved_item): New function.
3910 (update_dynamic_varobj_children): Move python-related code to
3911 py-varobj.c.
3912 (free_variable): Call varobj_clear_saved_item and
3913 varobj_iter_delete.
3914
e5250216
YQ
39152014-06-12 Pedro Alves <pedro@codesourcery.com>
3916 Yao Qi <yao@codesourcery.com>
3917
3918 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3919 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3920 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3921 (py-varobj.o): New rule.
3922 * python/py-varobj.c: New file.
3923 * python/python-internal.h (py_varobj_get_iterator): Declare.
3924 * varobj-iter.h: New file.
3925 * varobj.c: Include "varobj-iter.h"
3926 (struct varobj) <child_iter>: Change its type from "PyObject *"
3927 to "struct varobj_iter *".
3928 <saved_item>: Likewise.
3929 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3930 [HAVE_PYTHON] (varobj_get_iterator): New function.
3931 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3932 python-specific code to python/py-varobj.c.
3933 (install_visualizer): Call varobj_iter_delete instead of
3934 Py_XDECREF.
3935 * varobj.h (varobj_ensure_python_env): Declare.
3936
5a2e0d6e
YQ
39372014-06-12 Yao Qi <yao@codesourcery.com>
3938
3939 * varobj.c (struct varobj_item): New structure.
3940 (create_child_with_value): Update declaration.
3941 (varobj_add_child): Replace arguments 'name' and 'value' with
3942 'item'. All callers updated.
3943 (install_dynamic_child): Likewise.
3944 (update_dynamic_varobj_children): Likewise.
3945 (varobj_add_child): Likewise.
3946 (create_child_with_value): Likewise.
3947
919b9a93
JB
39482014-06-11 Joel Brobecker <brobecker@adacore.com>
3949
3950 * NEWS: Create a new section for the next release branch.
3951 Rename the section of the current branch, now that it has
3952 been cut.
3953
71a55bdf
JB
39542014-06-11 Joel Brobecker <brobecker@adacore.com>
3955
3956 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3957 * version.in: Bump version to 7.8.50.DATE-cvs.
3958
364fe1f7
PA
39592014-06-11 Pedro Alves <palves@redhat.com>
3960
3961 PR remote/17028
3962 * ser-mingw.c (net_windows_socket_check_pending): New function.
3963 (net_windows_select_thread): Ignore spurious wakeups. Use
3964 net_windows_socket_check_pending.
3965 (net_windows_wait_handle): Check for pending events with
3966 ioctlsocket, through net_windows_socket_check_pending, instead of
3967 checking the socket's event.
3968
5a6c7709
SC
39692014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3970
3971 * python/python-internal.h (gdb_PyObject_GetAttrString)
3972 (gdb_PyObject_HasAttrString): New inline function definitions.
3973 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3974 char * of the second argument to PyObject_GetAttrString.
74228e77 3975
0e58ee40
JB
39762014-06-10 Joel Brobecker <brobecker@adacore.com>
3977
3978 * serial.c (serial_write): Fix index of character to be printed
3979 in call to serial_logchar when serial debug traces are enabled.
3980
d190df30
JB
39812014-06-10 Joel Brobecker <brobecker@adacore.com>
3982
3983 * gdbtypes (resolve_dynamic_range): Add function description.
3984
b4b01d36
PA
39852014-06-09 Pedro Alves <palves@redhat.com>
3986
3987 * linux-nat.c (linux_child_follow_fork): Initialize status with
3988 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3989 inner block. Only pass the signal to PTRACE_DETACH if in pass
3990 state.
3991
3657956b
GB
39922014-06-09 Gary Benson <gbenson@redhat.com>
3993
3994 * common/signals.c (gdb_signal_from_host): Reorder to separate
3995 the always-available ANSI-standard signals from the signals that
3996 require checking.
3997 (do_gdb_signal_to_host): Likewise.
3998 * proc-events.c (signal_table): Likewise.
3999
c077881a
HZ
40002014-06-08 Hui Zhu <hui@codesourcery.com>
4001
4002 * common/linux-ptrace.c (linux_disable_event_reporting): New
4003 function.
4004 * common/linux-ptrace.h (linux_disable_event_reporting): New
4005 declaration.
4006 * linux-nat.c (linux_child_follow_fork): Do a single step before
4007 detach.
4008
4186eb54
KS
40092014-06-07 Keith Seitz <keiths@redhat.com>
4010
4011 Revert:
4012 PR c++/16253
4013 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4014 from symbol_matches_domain in symtab.c. All local callers
4015 of symbol_matches_domain updated.
4016 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4017 search STRUCT_DOMAIN.
4018 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4019 independently. standard_lookup will do that automatically.
4020 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4021 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4022 (cp_lookup_symbol_in_namespace): Likewise.
4023 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4024 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4025 may return a STRUCT_DOMAIN match.
4026 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4027 * cp-support.c: Include language.h.
4028 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4029 VAR_DOMAIN.
4030 * psymtab.c (match_partial_symbol): Compare the requested
4031 domain with the symbol's domain directly.
4032 (lookup_partial_symbol): Likewise.
4033 * symtab.c (lookup_symbol_in_language): Explain when/why
4034 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4035 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4036 appropriate languages.
4037 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4038 and moved to ada-lang.c
4039 (lookup_block_symbol): Explain that this function only returns
4040 symbol matching the requested DOMAIN.
4041 Compare the requested domain with the symbol's domain directly.
4042 (iterate_over_symbols): Compare the requested domain with the
4043 symbol's domain directly.
4044 * symtab.h (symbol_matches_domain): Remove.
4045
25326a28 40462014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4047
4048 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4049 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4050 (gdbscm_guile_version_is_at_least): Declare.
4051 (gdbscm_scm_string_to_int): Declare.
4052 * guile/guile.c (gdbscm_guile_major_version): New global.
4053 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4054 (guile_datadir): New static global.
4055 (gdbscm_guile_data_directory): New function.
4056 (initialize_scheme_side): Update.
4057 (misc_guile_functions): Add guile-data-directory.
4058 (initialize_gdb_module): Fetch guile version number.
4059 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4060 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4061 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4062 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4063 comments.
4064 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4065 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4066 * guile/scm-value.c (gdbscm_value_to_string): Only call
4067 scm_port_conversion_strategy if Guile version >= 2.0.6.
4068
0a770bb2 40692014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4070
4071 * main.c (print_gdb_help): Add -q and --silent.
4072
73ba372c
GB
40732014-06-06 Gary Benson <gbenson@redhat.com>
4074
4075 * common/signals.c: Remove preprocessor conditionals for
4076 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4077 SIGSEGV and SIGTERM.
4078 * proc-events.c: Likewise.
4079
c33b2f12
MM
40802014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4081
4082 * symfile.c (symfile_free_objfile): Remove restriction to
4083 OBJF_USERLOADED.
4084 * symfile-mem.c (symbol_file_add_from_memory): Call
4085 add_target_sections_of_objfile.
4086
fb934770
LC
40872014-06-05 Ludovic Courtès <ludo@gnu.org>
4088
4089 * guile/scm-value.c (gdbscm_history_append_x): Use
4090 'vlscm_get_value_smob_arg_unsafe' instead of
4091 'vlscm_scm_to_value'.
4092
6ef284bd
SM
40932014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4094
4095 PR mi/15806
4096 * utils.c (printchar): Don't escape at all if quoter is NUL.
4097 Update function documentation to clarify effect of parameter
4098 QUOTER.
4099 * remote.c (escape_buffer): Pass '\\' as the quoter to
4100 fputstrn_unfiltered.
4101 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4102 generate the output.
4103 (mi_solib_unloaded): Same.
4104
270c9937
JB
41052014-06-05 Joel Brobecker <brobecker@adacore.com>
4106
4107 * development.sh: Delete.
4108 * Makefile.in (config.status): Adjust dependency on development.sh.
4109 * configure.ac: Adjust development.sh source call.
4110 * configure: Regenerate.
4111
16f691fb
DE
41122014-06-04 Doug Evans <xdje42@gmail.com>
4113
4114 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4115 is_scheme_bkpt, spec.
4116 (bpscm_make_breakpoint_smob): Initialize new members.
4117 (gdbscm_create_breakpoint_x): Split into two ...
4118 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4119 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4120 (scheme_function breakpoint_functions): Update.
4121 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4122 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4123 register-breakpoint!.
4124
ef7cab6b
JB
41252014-06-04 Joel Brobecker <brobecker@adacorer.com>
4126
4127 PR server/17023
4128 * mem-break.c (z_type_supported): Return zero if
4129 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4130
012370f6
TT
41312014-06-04 Tom Tromey <tromey@redhat.com>
4132
4133 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4134 value_from_contents_and_address_unresolved.
4135 (ada_template_to_fixed_record_type_1): Likewise.
4136 (ada_which_variant_applies): Likewise.
4137 * value.h (value_from_contents_and_address_unresolved): Declare.
4138 * value.c (value_from_contents_and_address_unresolved): New
4139 function.
4140 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4141 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4142 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4143
92e2a17f
TT
41442014-06-04 Tom Tromey <tromey@redhat.com>
4145
4146 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4147
c0939df1
TT
41482014-06-04 Tom Tromey <tromey@redhat.com>
4149
4150 * procfs.c (procfs_attach): Make "args" const.
4151 * windows-nat.c (windows_attach): Make "args" const.
4152 * nto-procfs.c (procfs_attach): Make "args" const.
4153 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4154 * go32-nat.c (go32_attach): Make "args" const.
4155 * gnu-nat.c (gnu_attach): Make "args" const.
4156 * darwin-nat.c (darwin_attach): Make "args" const.
4157 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4158 * linux-nat.c (linux_nat_attach): Make "args" const.
4159 * remote.c (extended_remote_attach_1, extended_remote_attach):
4160 Make "args" const.
4161 * target.h (struct target_ops) <to_attach>: Make "args" const.
4162 (find_default_attach): Likewise.
4163 * utils.c (parse_pid_to_attach): Make "args" const.
4164 * utils.h (parse_pid_to_attach): Update.
4165
8eaff7cd
TT
41662014-06-04 Tom Tromey <tromey@redhat.com>
4167
4168 * target-delegates.c: Rebuild.
4169 * target.c (default_thread_address_space): New function.
4170 (target_thread_address_space): Simplify.
4171 * target.h (struct target_ops) <to_thread_address_space>: Add
4172 TARGET_DEFAULT_FUNC.
4173
1913f160
DE
41742014-06-04 Doug Evans <xdje42@gmail.com>
4175
4176 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4177
70ad5bff
MM
41782014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4179
4180 * record-btrace.c: Include event-loop.h and inf-loop.h.
4181 (record_btrace_resume_exec_dir)
4182 (record_btrace_async_inferior_event_handler)
4183 (record_btrace_handle_async_inferior_event): New.
4184 (record_btrace_open): Create async event handler.
4185 (record_btrace_close): Delete async event handler.
4186 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4187 Mark async event handler.
4188 (record_btrace_execution_direction): New.
4189 (init_record_btrace_ops): Initialize to_execution_direction.
4190
b6210538
DE
41912014-06-03 Doug Evans <xdje42@gmail.com>
4192
4193 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4194 (gdbscm_make_parameter): Ditto.
4195
a5b1fd27
DE
41962014-06-03 Doug Evans <dje@google.com>
4197
4198 * exec.c (exec_close_1): Call clear_section_table instead of
4199 resize_section_table.
4200 (clear_section_table): New function.
4201 (resize_section_table): Make static. Rename arg num_added to
4202 adjustment.
4203 * exec.h (clear_section_table): Declare.
4204 (resize_section_table): Delete.
4205 * progspace.c (release_program_space): Call clear_section_table
4206 instead of resize_section_table.
4207
0c6e92a5
SC
42082014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4209
4210 * NEWS (Python Scripting): Add entry about the new xmethods
4211 feature.
4212
883964a7
SC
42132014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4214
4215 * python/py-xmethods.c: New file.
4216 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4217 (objfpy_dealloc): XDECREF on the new xmethods field.
4218 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4219 field.
4220 (objfpy_get_xmethods): New function.
4221 (objfile_getset): New entry 'xmethods'.
4222 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4223 (pspy_dealloc): XDECREF on the new xmethods field.
4224 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4225 field.
4226 (pspy_get_xmethods): New function.
4227 (pspace_getset): New entry 'xmethods'.
4228 * python/python-internal.h: Add declarations for new functions.
4229 * python/python.c (_initialize_python): Invoke
4230 gdbpy_initialize_xmethods.
4231 * python/lib/gdb/__init__.py (xmethods): New
4232 attribute.
4233 * python/lib/gdb/xmethod.py: New file.
4234 * python/lib/gdb/command/xmethods.py: New file.
4235
58992dc5
SC
42362014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4237
4238 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4239 best match method returned by find_overload_match is an xmethod.
4240 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4241 the best matching operator returned by find_overload_match is an
4242 xmethod.
4243 * valops.c: #include "extension.h".
4244 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4245 Return void. The list of matching source methods is returned in
4246 "fn_list" and a vector of matching debug method workers is
4247 returned in "xm_worker_vec". Update all callers.
4248 (value_find_oload_method_list): Likewise.
4249 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4250 non-NULL, then the index of the best matching method in this
4251 vector is returned. Update all callers.
4252 (find_overload_match): Include xmethods while performing overload
4253 resolution.
4254
e81e7f5e
SC
42552014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4256
4257 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4258 * extension-priv.h (struct extension_language_ops): Add the
4259 xmethod interface.
4260 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4261 get_matching_xmethod_workers, get_xmethod_argtypes,
4262 invoke_xmethod, free_xmethod_worker,
4263 free_xmethod_worker_vec): New functions.
4264 * extension.h: #include "common/vec.h".
4265 New function declarations.
4266 (struct xmethod_worker): New struct.
4267 (VEC (xmethod_worker_ptr)): New vector type.
4268 (xmethod_worker_ptr): New typedef.
4269 (xmethod_worker_vec): Likewise.
4270 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4271 builtin_type.
4272 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4273 (struct builtin_type): New field "xmethod".
4274 * valarith.c (value_ptradd): Assert that the value argument is not
4275 lval_xcallable.
4276 * valops.c (value_must_coerce_to_target): Return 0 for
4277 lval_xcallable values.
4278 * value.c (struct value): New field XM_WORKER in the field
4279 LOCATION.
4280 (value_address, value_raw_address): Return 0 for lval_xcallable
4281 values.
4282 (set_value_address): Assert that the value is not an
4283 lval_xcallable.
4284 (value_free): Free the associated xmethod worker when freeing
4285 lval_xcallable values.
4286 (set_value_component_location): Assert that the WHOLE value is not
4287 lval_xcallable.
4288 (value_of_xmethod, call_xmethod): New functions.
4289 * value.h: Declare "struct xmethod_worker".
4290 Declare new functions value_of_xmethod, call_xmethod.
4291
ef370185
JB
42922014-06-03 Joel Brobecker <brobecker@adacore.com>
4293 Pedro Alves <palves@redhat.com>
4294
4295 PR breakpoints/17000
4296 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4297 New function, extracted from software_breakpoint_inserted_here_p.
4298 (software_breakpoint_inserted_here_p): Replace factored out code
4299 by call to find_non_raw_software_breakpoint_inserted_here.
4300 (bp_target_info_copy_insertion_state): New function.
4301 (bkpt_insert_location): Handle the case of a single-step
4302 breakpoint already inserted at the same address.
4303 (bkpt_remove_location): Handle the case of a single-step
4304 breakpoint still inserted at the same address.
4305 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4306 breakpoint already inserted at the same address.
4307 (deprecated_remove_raw_breakpoint): Handle the case of a
4308 non-raw breakpoint still inserted at the same address.
4309 (find_single_step_breakpoint): New function, extracted from
4310 single_step_breakpoint_inserted_here_p.
4311 (find_single_step_breakpoint): New function,
4312 factored out from single_step_breakpoint_inserted_here_p.
4313 (single_step_breakpoint_inserted_here_p): Reimplement.
4314
1e2ccb61
BM
43152014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4316
4317 Pushed by Joel Brobecker <brobecker@adacore.com>
4318 * source.c (show_substitute_path_command): Fix display of matching
4319 substitution rules.
4320
d3448d85
GB
43212014-06-03 Gary Benson <gbenson@redhat.com>
4322
4323 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4324
06eb1586
DE
43252014-06-02 Doug Evans <xdje42@gmail.com>
4326
4327 Add parameter support for Guile.
4328 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4329 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4330 (scm-param.o): New rule.
4331 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4332 (gdbscm_misc_error): Declare.
4333 (gdbscm_canonicalize_command_name): Declare.
4334 (gdbscm_scm_to_host_string): Declare.
4335 (gdbscm_scm_from_host_string): Declare.
4336 (gdbscm_initialize_parameters): Declare.
4337 * guile/guile.c (initialize_gdb_module): Call
4338 gdbscm_initialize_parameters.
4339 * guile/lib/gdb.scm: Export parameter symbols.
4340 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4341 cmdscm_canonicalize_name and made public. All callers updated.
4342 * guile/scm-exception.c (gdbscm_misc_error): New function.
4343 * guile/scm-param.c: New file.
4344 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4345 (gdbscm_scm_to_host_string): New function.
4346 (gdbscm_scm_from_host_string): New function.
4347 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4348
e698b8c4
DE
43492014-06-02 Doug Evans <xdje42@gmail.com>
4350
4351 Add command support for Guile.
4352 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4353 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4354 (scm-cmd.o): New rule.
4355 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4356 (gdbscm_user_error_p): Declare.
4357 (gdbscm_parse_command_name): Declare.
4358 (gdbscm_valid_command_class_p): Declare.
4359 (gdbscm_initialize_commands): Declare.
4360 * guile/guile.c (initialize_gdb_module): Call
4361 gdbscm_initialize_commands.
4362 * guile/lib/gdb.scm: Export command symbols.
4363 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4364 (throw-user-error): New function.
4365 * guile/scm-cmd.c: New file.
4366 * guile/scm-exception.c (user_error_symbol): New static global.
4367 (gdbscm_user_error_p): New function.
4368 (gdbscm_initialize_exceptions): Set user_error_symbol.
4369 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4370
fb1f94b0
PM
43712014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4372
4373 * top.c (command_loop): Handle comments here...
4374 (command_line_input): ... not here.
4375
ded03782
DE
43762014-06-02 Doug Evans <xdje42@gmail.com>
4377
4378 Add progspace support for Guile.
4379 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4380 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4381 (scm-progspace.o): New rule.
4382 * guile/guile-internal.h (pspace_smob): New typedef.
4383 (psscm_pspace_smob_pretty_printers): Declare.
4384 (psscm_pspace_smob_from_pspace): Declare.
4385 (psscm_scm_from_pspace): Declare.
4386 * guile/guile.c (initialize_gdb_module): Call
4387 gdbscm_initialize_pspaces.
4388 * guile/lib/gdb.scm: Export progspace symbols.
4389 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4390 support.
4391 (append-pretty-printer!): Ditto.
4392 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4393 Implement.
4394 * guile/scm-progspace.c: New file.
4395
397998fc
AM
43962014-06-03 Alan Modra <amodra@gmail.com>
4397
4398 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4399 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4400
6aa5f3a6
DE
44012014-06-02 Doug Evans <dje@google.com>
4402
4403 Add support for skeletonless type units.
4404 * dwarf2read.c (struct dwarf2_per_objfile): New member
4405 n_allocated_type_units.
4406 (struct dwarf2_per_objfile) <tu_stats>: New member
4407 nr_all_type_units_reallocs.
4408 (create_signatured_type_table_from_index): Initialize
4409 n_allocated_type_units
4410 (create_all_type_units): Ditto.
4411 (add_type_unit): Move up in file. New arg slot.
4412 All callers updated. Increase space for all_type_units more
4413 efficiently.
4414 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4415 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4416 (lookup_dwp_signatured_type): Ditto.
4417 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4418 All callers updated.
4419 (build_type_psymtabs_1): Leave type_unit_groups as
4420 NULL if no TUs present.
4421 (print_tu_stats): New function.
4422 (process_skeletonless_type_unit): New function.
4423 (process_dwo_file_for_skeletonless_type_units): New
4424 function.
4425 (process_skeletonless_type_units): New function.
4426 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4427 Call print tu_stats if debugging enabled.
4428
41fac0cf
PA
44292014-06-02 Pedro Alves <palves@redhat.com>
4430
4431 * breakpoint.c (build_target_command_list): Don't build a command
4432 list if we have any duplicate location that isn't a dprintf.
4433
cd1608cc
PA
44342014-06-02 Pedro Alves <palves@redhat.com>
4435
4436 * breakpoint.c (dprintf_breakpoint_hit): New function.
4437 (initialize_breakpoint_ops): Install it as dprintf's
4438 breakpoint_hit method.
4439
486ef3b9
JB
44402014-06-02 Joel Brobecker <brobecker@adacore.com>
4441
4442 * source.c (substitute_path_rule_matches): Simplify using
4443 filename_ncmp instead of FILENAME_CMP.
4444
230cd560
JB
44452014-06-02 Joel Brobecker <brobecker@adacore.com>
4446
4447 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4448
16954d5d
LC
44492014-06-01 Ludovic Courtès <ludo@gnu.org>
4450
4451 * configure.ac: When Guile is available, check for the
4452 availability of 'scm_new_smob'.
4453 * configure, config.h.in: Regenerate.
4454 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4455 function.
4456
53e8a631
AB
44572014-05-30 Andrew Burgess <aburgess@broadcom.com>
4458
4459 * frame.c (struct frame_info): Add stop_string field.
4460 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4461 (get_prev_frame_always): Old content moved into
4462 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4463 TRY_CATCH, handle MEMORY_ERROR exceptions.
4464 (frame_stop_reason_string): New function definition.
4465 * frame.h (unwind_stop_reason_to_string): Extend comment to
4466 mention frame_stop_reason_string.
4467 (frame_stop_reason_string): New function declaration.
4468 * stack.c (frame_info): Switch to frame_stop_reason_string.
4469 (backtrace_command_1): Switch to frame_stop_reason_string.
4470 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4471 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4472 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4473
70e38b8e
AB
44742014-05-30 Andrew Burgess <aburgess@broadcom.com>
4475
4476 * frame.c (frame_stop_reason_string): Rename to ...
4477 (unwind_stop_reason_to_string): this.
4478 * frame.h (frame_stop_reason_string): Rename to ...
4479 (unwind_stop_reason_to_string): this.
4480 * stack.c (frame_info): Update call to frame_stop_reason_string.
4481 (backtrace_command_1): Likewise.
4482 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4483 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4484
938f0e2f
AB
44852014-05-30 Andrew Burgess <aburgess@broadcom.com>
4486
4487 * frame.c (remove_prev_frame): New function.
4488 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4489 remove_prev_frame.
4490
a09dd441
PA
44912014-05-29 Pedro Alves <palves@redhat.com>
4492
4493 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4494 and make it const. When a single-step decays to a continue,
4495 clear 'step', not 'hw_step'. Pass whether the caller wanted
4496 to step to user_visible_resume_ptid, not what we ask the
4497 target to do.
4498
bdc36728
PA
44992014-05-29 Pedro Alves <palves@redhat.com>
4500
4501 * infrun.c (process_event_stop_test, handle_step_into_function)
4502 (handle_step_into_function_backward): Adjust.
4503 Don't set the even thread's stop_step and call stop_waiting before
4504 calling end_stepping_range. Instead do that ...
4505 (end_stepping_range): ... here. Take an ecs pointer parameter.
4506
22bcd14b
PA
45072014-05-29 Pedro Alves <palves@redhat.com>
4508
4509 * infrun.c (stop_stepping): Rename to ...
4510 (stop_waiting): ... this.
4511 (proceed): Update comment.
4512 (process_event_stop_test, handle_inferior_event)
4513 (handle_signal_stop, handle_step_into_function)
4514 (handle_step_into_function_backward): Update.
4515
4ae57c05
PA
45162014-05-29 Pedro Alves <palves@redhat.com>
4517
4518 * infcall.c (run_inferior_call): Don't check whether the current
4519 thread is running after the proceed call.
4520
329ea579
PA
45212014-05-29 Pedro Alves <palves@redhat.com>
4522 Tom Tromey <tromey@redhat.com>
4523
4524 * NEWS: Mention "maint set target-async", "set mi-async", and that
4525 background execution commands are now always available.
4526 * target.h (target_async_permitted): Update comment.
4527 * target.c (target_async_permitted, target_async_permitted_1):
4528 Default to 1.
4529 (set_target_async_command): Rename to ...
4530 (maint_set_target_async_command): ... this.
4531 (show_target_async_command): Rename to ...
4532 (maint_show_target_async_command): ... this.
4533 (_initialize_target): Adjust.
4534 * infcmd.c (prepare_execution_command): Make extern.
4535 * inferior.h (prepare_execution_command): Declare.
4536 * infrun.c (set_observer_mode): Leave target async alone.
4537 * mi/mi-interp.c (mi_interpreter_init): Install
4538 mi_on_sync_execution_done as sync_execution_done observer.
4539 (mi_on_sync_execution_done): New function.
4540 (mi_execute_command_input_handler): Don't print the prompt if we
4541 just started a synchronous command with an async target.
4542 (mi_on_resume): Check sync_execution before printing prompt.
4543 * mi/mi-main.h (mi_async_p): Declare.
4544 * mi/mi-main.c: Include gdbcmd.h.
4545 (mi_async_p): New function.
4546 (mi_async, mi_async_1): New globals.
4547 (set_mi_async_command, show_mi_async_command, mi_async): New
4548 functions.
4549 (exec_continue): Call prepare_execution_command.
4550 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4551 (mi_execute_async_cli_command): Use mi_async_p.
4552 (_initialize_mi_main): Install "set mi-async". Make
4553 "target-async" a deprecated alias.
4554
92bcb5f9
PA
45552014-05-29 Pedro Alves <palves@redhat.com>
4556
4557 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4558 (_initialize_cli_interp): Adjust.
4559 * event-loop.c: Include "observer.h".
4560 (start_event_loop): Notify 'command_error' observers instead of
4561 calling display_gdb_prompt. Remove FIXME comment.
4562 * event-top.c (display_gdb_prompt): Remove call into the
4563 interpreters.
4564 * inf-loop.c: Include "observer.h".
4565 (inferior_event_handler): Notify 'command_error' observers instead
4566 of calling display_gdb_prompt.
4567 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4568 observers instead of calling display_gdb_prompt.
4569 * interps.c (interp_set): Don't call display_gdb_prompt.
4570 (current_interp_display_prompt_p): Delete.
4571 * interps.h (interp_prompt_p): Delete declaration.
4572 (interp_prompt_p_ftype): Delete.
4573 (struct interp_procs) <prompt_proc_p>: Delete field.
4574 (current_interp_display_prompt_p): Delete declaration.
4575 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4576 (_initialize_mi_interp): Adjust.
4577 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4578 'command_error' observers.
4579 (tui_on_sync_execution_done, tui_on_command_error): New
4580 functions.
4581 (tui_display_prompt_p): Delete.
4582 (_initialize_tui_interp): Adjust.
4583
fd664c91
PA
45842014-05-29 Pedro Alves <palves@redhat.com>
4585
4586 PR gdb/13860
4587 * cli/cli-interp.c: Include infrun.h and observer.h.
4588 (cli_uiout, cli_interp): New globals.
4589 (cli_on_signal_received, cli_on_end_stepping_range)
4590 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4591 functions.
4592 (cli_interpreter_init): Install them as 'end_stepping_range',
4593 'signal_received' 'signal_exited', 'exited' and 'no_history'
4594 observers.
4595 (_initialize_cli_interp): Remove cli_interp local.
4596 * infrun.c (handle_inferior_event): Call the several stop reason
4597 observers instead of printing the stop reason directly.
4598 (end_stepping_range): New function.
4599 (print_end_stepping_range_reason, print_signal_exited_reason)
4600 (print_exited_reason, print_signal_received_reason)
4601 (print_no_history_reason): Make static, and add an uiout
4602 parameter. Print to that instead of to CURRENT_UIOUT.
4603 * infrun.h (print_end_stepping_range_reason)
4604 (print_signal_exited_reason, print_exited_reason)
4605 (print_signal_received_reason print_no_history_reason): New
4606 declarations.
4607 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4608 'mi_uiout'.
4609 <cli_uiout>: New field.
4610 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4611 uiout for CLI output. Install 'signal_received',
4612 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4613 observers.
4614 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4615 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4616 (mi_on_no_history): New functions.
4617 (ui_out_free_cleanup): Delete function.
4618 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4619 instead use the one already stored in the MI interpreter data.
4620 (mi_ui_out): Adjust.
4621 * tui/tui-interp.c: Include infrun.h and observer.h.
4622 (tui_interp): New global.
4623 (tui_on_signal_received, tui_on_end_stepping_range)
4624 (tui_on_signal_exited, tui_on_exited)
4625 (tui_on_no_history): New functions.
4626 (tui_init): Install them as 'end_stepping_range',
4627 'signal_received' 'signal_exited', 'exited' and 'no_history'
4628 observers.
4629 (_initialize_tui_interp): Delete tui_interp local.
4630
8817a6f2
PA
46312014-05-29 Pedro Alves <palves@redhat.com>
4632
4633 PR gdb/15713
4634 * linux-nat.c (linux_nat_resume_callback): Rename the second
4635 parameter to 'except'. Skip LP if it points to EXCEPT.
4636 (linux_nat_resume): Don't mark the event lwp as not stopped
4637 before resuming sibling lwps. Instead ask
4638 linux_nat_resume_callback to skip the event lwp. Mark it as not
4639 stopped after actually resuming it.
4640 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4641 resuming it.
4642 (wait_lwp): Mark the lwp as stopped here.
4643 (stop_wait_callback): Mark the lwp as not stopped right after
4644 resuming it. Don't mark lwps as stopped here.
4645 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4646 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4647
251bde03
PA
46482014-05-29 Pedro Alves <palves@redhat.com>
4649
4650 PR PR15693
4651 * infrun.c (resume): Determine how much to resume depending on
4652 whether the caller wanted a step, not whether we can hardware step
4653 the target. Mark all threads that we intend to run as running,
4654 unless we're calling an inferior function.
4655 (normal_stop): If the thread is running an infcall, don't finish
4656 thread state.
4657 * target.c (target_resume): Don't mark threads as running here.
4658
7f3c0343
JB
46592014-05-28 Joel Brobecker <brobecker@adacore.com>
4660
4661 * serial.c (_initialize_serial): Remove support for
4662 the "set remotebaud" and "show remotebaud" commands.
4663 * NEWS: Add entry documenting the removal of that command.
4664
ee34b3f9
YQ
46652014-05-28 Yao Qi <yao@codesourcery.com>
4666
4667 * charset.c: Fix typo in comments.
4668
add6c04d
GB
46692014-05-27 Gary Benson <gbenson@redhat.com>
4670
4671 * utils.c (internal_vproblem): Prompt for a bug report.
4672
92c48fc5
AW
46732014-05-26 Andy Wingo <wingo@igalia.com>
4674
4675 * guile/scm-arch.c (arscm_mark_arch_smob):
4676 * guile/scm-block.c (bkscm_mark_block_smob)
4677 (bkscm_mark_block_syms_progress_smob):
4678 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4679 * guile/scm-exception.c (exscm_mark_exception_smob):
4680 * guile/scm-frame.c (frscm_mark_frame_smob):
4681 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4682 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4683 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4684 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4685 (ppscm_mark_pretty_printer_worker_smob):
4686 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4687 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4688 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4689 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4690 mark functions.
4691 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4692 function.
4693
b2715b27
AW
46942014-05-26 Andy Wingo <wingo@igalia.com>
4695 Doug Evans <xdje42@gmail.com>
4696
4697 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4698 empty_base_class. All uses updated.
4699 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4700 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4701 Adapt all callers.
4702 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4703 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4704 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4705 (gdbscm_gsmob_has_property_p, add_property_name)
4706 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4707 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4708 (gdb-object-has-property?, gdb-object-properties): Remove.
4709 (gdb-object-kind): Renamed from gsmob-kind.
4710
214ab2da
AW
47112014-05-26 Andy Wingo <wingo@igalia.com>
4712
4713 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4714 * configure: Regenerate.
4715
589fdceb
MM
47162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4717
4718 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4719
67b5c0c1
MM
47202014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4721
4722 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4723 (replay_memory_access_read_only, replay_memory_access_read_write)
4724 (replay_memory_access_types, replay_memory_access)
4725 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4726 (cmd_set_record_btrace, cmd_show_record_btrace)
4727 (cmd_show_replay_memory_access): New.
4728 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4729 (record_btrace_remove_breakpoint): Replace
4730 record_btrace_allow_memory_access with replay_memory_access.
4731 (_initialize_record_btrace): Add commands.
4732 * NEWS: Announce it.
4733
036cd381
RR
47342014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4735
4736 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4737
c77c1e42
RR
47382014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4739
4740 * MAINTAINERS (Write After Approval): Move self back from
4741 paper trail.
4742
45741a9c
PA
47432014-05-22 Pedro Alves <palves@redhat.com>
4744
4745 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4746 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4747 (disable_randomization, enum exec_direction_kind)
4748 (execution_direction, stop_registers, start_remote)
4749 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4750 (wait_for_inferior, normal_stop, get_last_target_status)
4751 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4752 (insert_step_resume_breakpoint_at_sal)
4753 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4754 (set_step_info, print_stop_event, signal_stop_state)
4755 (signal_print_state, signal_pass_state, signal_stop_update)
4756 (signal_print_update, signal_pass_update)
4757 (update_signals_program_target, clear_exit_convenience_vars)
4758 (displaced_step_dump_bytes, update_observer_mode)
4759 (signal_catch_update, gdb_signal_from_command): Move
4760 declarations ...
4761 * infrun.h: ... to this new file.
4762 * amd64-tdep.c: Include infrun.h.
4763 * annotate.c: Include infrun.h.
4764 * arch-utils.c: Include infrun.h.
4765 * arm-linux-tdep.c: Include infrun.h.
4766 * arm-tdep.c: Include infrun.h.
4767 * break-catch-sig.c: Include infrun.h.
4768 * breakpoint.c: Include infrun.h.
4769 * common/agent.c: Include infrun.h instead of inferior.h.
4770 * corelow.c: Include infrun.h.
4771 * event-top.c: Include infrun.h.
4772 * go32-nat.c: Include infrun.h.
4773 * i386-tdep.c: Include infrun.h.
4774 * inf-loop.c: Include infrun.h.
4775 * infcall.c: Include infrun.h.
4776 * infcmd.c: Include infrun.h.
4777 * infrun.c: Include infrun.h.
4778 * linux-fork.c: Include infrun.h.
4779 * linux-nat.c: Include infrun.h.
4780 * linux-thread-db.c: Include infrun.h.
4781 * monitor.c: Include infrun.h.
4782 * nto-tdep.c: Include infrun.h.
4783 * procfs.c: Include infrun.h.
4784 * record-btrace.c: Include infrun.h.
4785 * record-full.c: Include infrun.h.
4786 * remote-m32r-sdi.c: Include infrun.h.
4787 * remote-mips.c: Include infrun.h.
4788 * remote-notif.c: Include infrun.h.
4789 * remote-sim.c: Include infrun.h.
4790 * remote.c: Include infrun.h.
4791 * reverse.c: Include infrun.h.
4792 * rs6000-tdep.c: Include infrun.h.
4793 * s390-linux-tdep.c: Include infrun.h.
4794 * solib-irix.c: Include infrun.h.
4795 * solib-osf.c: Include infrun.h.
4796 * solib-svr4.c: Include infrun.h.
4797 * target.c: Include infrun.h.
4798 * top.c: Include infrun.h.
4799 * windows-nat.c: Include infrun.h.
4800 * mi/mi-interp.c: Include infrun.h.
4801 * mi/mi-main.c: Include infrun.h.
4802 * python/py-threadevent.c: Include infrun.h.
4803
98eb56a4
PA
48042014-05-22 Pedro Alves <palves@redhat.com>
4805
4806 * infrun.c (handle_inferior_event): Store the exit code for
4807 --return-child-result here, instead of ...
4808 (print_exited_reason): ... here.
4809
17b2616c
PA
48102014-05-21 Pedro Alves <palves@redhat.com>
4811
4812 PR gdb/13860
4813 * gdbthread.h (struct thread_control_state): New field
4814 `command_interp'.
4815 * infrun.c (follow_fork): Copy the new thread control field to the
4816 child fork thread.
4817 (clear_proceed_status_thread): Clear the new thread control field.
4818 (proceed): Set the new thread control field.
4819 * interps.h (command_interp): Declare.
4820 * interps.c (command_interpreter): New global.
4821 (command_interp): New function.
4822 (interp_exec): Set `command_interpreter' while here.
4823 * cli-out.c (cli_uiout_dtor): New function.
4824 (cli_ui_out_impl): Install it.
4825 * mi/mi-interp.c: Include cli-out.h.
4826 (mi_cmd_interpreter_exec): Add comment.
4827 (restore_current_uiout_cleanup): New function.
4828 (ui_out_free_cleanup): New function.
4829 (mi_on_normal_stop): If finishing an execution command started by
4830 a CLI command, or any kind of breakpoint-like event triggered,
4831 print the stop event to the output (CLI) stream.
4832 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4833
5166082f
PA
48342014-05-21 Pedro Alves <palves@redhat.com>
4835
4836 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4837 current source line having changed.
4838 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4839 * infrun.c (normal_stop): Adjust call to
4840 set_current_sal_from_frame.
4841 * source.c (clear_lines_listed_range): New function.
4842 (set_current_source_symtab_and_line, identify_source_line): Clear
4843 the lines listed range.
4844 (line_info): Handle the first "info line" after the current source
4845 line having changed.
4846 * stack.c (print_stack_frame): Remove center handling.
4847 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4848 center sal.line.
4849
c1ee2fb3
PA
48502014-05-21 Pedro Alves <palves@redhat.com>
4851
4852 * inf-child.c (inf_child_mourn_inferior): New function.
4853 * inf-child.h (inf_child_mourn_inferior): New declaration.
4854 * darwin-nat.c (darwin_mourn_inferior): Use
4855 inf_child_mourn_inferior.
4856 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4857 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4858 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4859 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4860 * windows-nat.c (windows_mourn_inferior): Likewise.
4861
5c6d4fb2
DE
48622014-05-21 Doug Evans <xdje42@gmail.com>
4863
250748cb 4864 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4865
4a2722c5
DE
48662014-05-21 Doug Evans <xdje42@gmail.com>
4867
17292b30 4868 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4869 (gdbscm_out_of_range_error): Ditto.
4870 (gdbscm_memory_error): Ditto.
250748cb
DE
4871 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4872 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4873 (gdbscm_out_of_range_error): Update.
4874 (gdbscm_memory_error): Update.
4875 (gdbscm_scm_to_target_string_unsafe): Delete.
4876
6a3cb8e8
PA
48772014-05-21 Pedro Alves <palves@redhat.com>
4878
4879 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4880 globals.
4881 (inf_child_open_target): New function.
4882 (inf_child_open): Use inf_child_open_target to push the target
4883 instead of erroring out.
4884 (inf_child_disconnect, inf_child_close)
4885 (inf_child_maybe_unpush_target): New functions.
4886 (inf_child_target): Install inf_child_disconnect and
4887 inf_child_close. Store a pointer to the returned object.
4888 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4889 declarations.
4890 * target.c (auto_connect_native_target): New global.
4891 (show_default_run_target): New function.
4892 (find_default_run_target): Return NULL if automatically connecting
4893 to the native target is disabled.
4894 (_initialize_target): Install set/show auto-connect-native-target.
4895 * NEWS: Mention "set auto-connect-native-target", and "target
4896 native".
4897 * linux-nat.c (super_close): New global.
4898 (linux_nat_close): Call super_close.
4899 (linux_nat_add_target): Store a pointer to the base class's
4900 to_close method.
4901 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4902 inf_child_maybe_unpush.
4903 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4904 already pushed.
4905 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4906 the inferior. Use inf_child_maybe_unpush_target.
4907 (inf_ttrace_attach): Don't push the target if it is already
4908 pushed.
4909 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4910 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4911 after mourning the inferior. Use inf_child_maybe_unpush_target.
4912 (darwin_attach_pid): Don't push the target if it is already
4913 pushed.
4914 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4915 mourning the inferior. Use inf_child_maybe_unpush_target.
4916 (gnu_detach): Use inf_child_maybe_unpush_target.
4917 * go32-nat.c (go32_create_inferior): Don't push the target if it
4918 is already pushed.
4919 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4920 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4921 (procfs_open): Rename to ...
4922 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4923 comments. Can target_preopen before changing node. Call
4924 inf_child_open_target to push the target explicitly.
4925 (procfs_attach): Don't push the target if it is already pushed.
4926 (procfs_detach): Use inf_child_maybe_unpush_target.
4927 (procfs_create_inferior): Don't push the target if it is already
4928 pushed.
4929 (nto_native_ops): New global.
4930 (procfs_open): Reimplement.
4931 (procfs_native_open): New function.
4932 (init_procfs_targets): Install procfs_native_open as to_open of
4933 "target native". Store a pointer to the "native" target in
4934 nto_native_ops.
4935 * procfs.c (procfs_attach): Don't push the target if it is already
4936 pushed.
4937 (procfs_detach): Use inf_child_maybe_unpush_target.
4938 (procfs_mourn_inferior): Only unpush the target after mourning the
4939 inferior. Use inf_child_maybe_unpush_target.
4940 (procfs_init_inferior): Don't push the target if it is already
4941 pushed.
4942 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4943 if it is already pushed.
4944
930ee1b1
PA
49452014-05-21 Pedro Alves <palves@redhat.com>
4946
4947 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4948 and "procfs" targets are now called "native" instead.
4949
1f5d1b13
PA
49502014-05-21 Pedro Alves <palves@redhat.com>
4951
4952 * go32-nat.c (go32_open): Delete.
4953 (go32_target): Don't override the to_open method.
4954
132f8e03
PA
49552014-05-21 Pedro Alves <palves@redhat.com>
4956
4957 * nto-procfs.c (procfs_can_run): New function.
4958 (nto_procfs_ops): New global.
4959 (init_procfs_targets): New, based on procfs_target. Install
4960 "target native" in addition to "target procfs".
4961 (_initialize_procfs): Call init_procfs_targets instead of adding
4962 the target here.
4963
03c136c3
PA
49642014-05-21 Pedro Alves <palves@redhat.com>
4965
4966 * windows-nat.c (windows_target): Don't override to_shortname,
4967 to_longname or to_doc.
4968
a635d0f3
PA
49692014-05-21 Pedro Alves <palves@redhat.com>
4970
4971 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4972 to_doc.
4973
4f9b5133
PA
49742014-05-21 Pedro Alves <palves@redhat.com>
4975
4976 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4977 to_shortname, to_longname or to_doc.
4978
bc85afde
PA
49792014-05-21 Pedro Alves <palves@redhat.com>
4980
4981 * go32-nat.c (go32_target): Don't override to_shortname,
4982 to_longname or to_doc.
4983
4ebfc96e
PA
49842014-05-21 Pedro Alves <palves@redhat.com>
4985
4986 * inf-child.c (inf_child_open): Remove mention of "child".
4987 (inf_child_target): Rename target to "native" instead of "child".
4988
2648dfed
AA
49892014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4990
4991 * Makefile.in (SFILES): Delete "regset.c".
4992 (COMMON_OBS): Delete "regset.o".
4993 * regset.c: Remove.
4994 * regset.h (regset_alloc): Delete prototype.
4995
b13feb94
AA
49962014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4997
4998 * sparc-linux-tdep.c (sparc32_linux_gregset)
4999 (sparc32_linux_fpregset): New static regset structures.
5000 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5001 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5002 'fpregset' fields.
5003 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5004 (sparc64_linux_fpregset): New static regset structures.
5005 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5006 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5007 New static regset structures.
5008 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5009 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5010 New static regset structures.
5011 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5012 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5013 New static regset structures.
5014 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5015 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5016 New static regset structures.
5017 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5018
b4fd25c9
AA
50192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5020
5021 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5022 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5023 register maps ("regmaps") from "*regset" to "*regmap". Do this
5024 for all regmap types and variables.
5025 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5026 (sparc32_linux_supply_core_gregset)
5027 (sparc32_linux_collect_core_gregset)
5028 (sparc32_linux_supply_core_fpregset)
5029 (sparc32_linux_collect_core_fpregset): Likewise.
5030 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5031 (sparc_gregmap, sparc_fpregmap): ... these.
5032 (sparc_supply_gregset, sparc_collect_gregset)
5033 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5034 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5035 (_initialize_sparc_nat): Rename regmaps.
5036 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5037 (sparc_gregmap, sparc_fpregmap): ... these.
5038 (sparc_supply_gregset, sparc_collect_gregset)
5039 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5040 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5041 Rename macros to...
5042 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5043 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5044 Likewise.
5045 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5046 Rename to...
5047 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5048 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5049 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5050 regmaps.
5051 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5052 (sparc32_bsd_fpregset): Rename to...
5053 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5054 (sparc32_bsd_fpregmap): ... these.
5055 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5056 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5057 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5058 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5059 (struct sparc_gregmap, struct sparc_fpregmap)
5060 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5061 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5062 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5063 (sparc32_supply_regset, sparc32_collect_gregset)
5064 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5065 prototypes.
5066 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5067 (sparc64_linux_ptrace_gregmap): ... this.
5068 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5069 (_initialize_sparc64_linux_nat): Rename regmaps.
5070 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5071 (sparc64_linux_core_gregmap): ... this.
5072 (sparc64_linux_supply_core_gregset)
5073 (sparc64_linux_collect_core_gregset)
5074 (sparc64_linux_supply_core_fpregset)
5075 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5076 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5077 (sparc64_sol2_fpregset): Rename to...
5078 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5079 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5080 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5081 regmaps.
5082 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5083 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5084 (sparc64_bsd_fpregset): Rename to...
5085 (struct sparc_gregmap, sparc64_sol2_gregmap)
5086 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5087 (sparc64_bsd_fpregmap): ... these.
5088 (sparc64_supply_gregset, sparc64_collect_gregset)
5089 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5090 prototypes.
5091 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5092 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5093 (sparc64fbsd_gregmap): ... this.
5094 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5095 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5096 Rename regmaps.
5097 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5098 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5099 (sparc64nbsd_collect_fpregset): Likewise.
5100 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5101 (sparc64nbsd_gregmap): ... this.
5102 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5103 regmaps.
5104 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5105 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5106 (sparc64obsd_gregmap): ... this.
5107 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5108 regmaps.
5109 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5110 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5111 (sparc32nbsd_gregmap): ... this.
5112 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5113 regmaps.
5114
8fea3224
AA
51152014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5116
5117 * score-tdep.c (score7_linux_gregset): New static regset
5118 structure.
5119 (score7_linux_regset_from_core_section): Remove dynamic regset
5120 allocation.
5121 (score_gdbarch_init): Drop allocation of tdep structure.
5122 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5123
24534243
AA
51242014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5125
5126 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5127 regset structures.
5128 (am33_regset_from_core_section): Remove dynamic regset
5129 allocations.
5130
b7195f27
AA
51312014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5132
5133 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5134 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5135 structures.
5136 (mips_linux_regset_from_core_section): Remove dynamic regset
5137 allocations.
5138 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5139 'gregset64', 'fpregset', and 'fpregset64'.
5140 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5141 deleted tdep fields.
5142
ecc37a5a
AA
51432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5144
5145 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5146 regset structures.
5147 (amd64_regset_from_core_section): Remove dynamic regset
5148 allocations.
5149 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5150 structure.
5151 (amd64obsd_regset_from_core_section): Remove dynamic regset
5152 allocation.
5153 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5154 Likewise.
5155 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5156 x86-common regset supply function.
5157 * i386-tdep.c (i386_collect_gregset): Make static.
5158 (i386_gregset): New global regset structure.
5159 (i386_fpregset, i386_xstateregset): New static regset structures.
5160 (i386_regset_from_core_section): Remove dynamic regset
5161 allocations.
5162 (i386_gdbarch_init): Remove initialization of tdep fields
5163 'gregset', 'fpregset', and 'xstateregset'.
5164 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5165 'fpregset', and 'xstateregset'.
5166 (i386_collect_gregset): Remove prototype.
5167 (i386_gregset): New declaration.
5168 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5169 structure.
5170 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5171 allocation.
5172
b7611c43
AA
51732014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5174
5175 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5176 (arm_linux_vfpregset): New static regset structures.
5177 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5178 regset structures.
5179 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5180 and 'vfpregset' fields.
5181
a069a2bd
AA
51822014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5183
5184 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5185 (aarch64_linux_fpregset): New static regset structures.
5186 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5187 of regset structures.
5188 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5189 'fpregset' fields.
5190
09424cff
AA
51912014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5192
5193 * regset.h (struct regset): Remove gdbarch field.
5194 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5195 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5196 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5197 Likewise.
5198 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5199 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5200 (ppc32_linux_vsxregset): Likewise.
5201 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5202 via the regcache instead of the regset.
5203 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5204 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5205 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5206 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5207 Likewise.
5208
3ca7dae4
AA
52092014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5210
5211 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5212 Constify structures.
5213 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5214 (alphanbsd_aout_gregset): Likewise.
5215 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5216 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5217 Likewise.
5218 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5219 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5220 Likewise.
5221 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5222 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5223 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5224 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5225 * m88k-tdep.c (m88k_gregset): Likewise.
5226 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5227 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5228 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5229 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5230 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5231 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5232 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5233 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5234 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5235 Likewise.
5236 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5237 * sh-tdep.h (sh_corefile_gregset): Likewise.
5238 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5239 * vax-tdep.c (vax_gregset): Likewise.
5240
5876f503
JK
52412014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5242
5243 Fix TLS access for -static -pthread.
5244 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5245 (try_thread_db_load_1): Initialize it.
5246 (thread_db_get_thread_local_address): Call it if LM is zero.
5247 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5248 * target.h (struct target_ops) (to_get_thread_local_address): Add
5249 load_module_addr comment.
5250
0256a6ac
PA
52512014-05-21 Pedro Alves <palves@redhat.com>
5252
5253 * dcache.c (dcache_read_memory_partial): If reading the cache line
5254 fails, fallback to reading just the memory the caller wanted.
5255
227533ac
DE
52562014-05-20 Doug Evans <dje@google.com>
5257
5258 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5259 instead of get_current_arch.
5260
936d2992
PA
52612014-05-20 Pedro Alves <palves@redhat.com>
5262
5263 * NEWS: Mention that compare-sections now works with all targets.
5264
5265 * remote.c (PACKET_qCRC): New enum value.
5266 (remote_verify_memory): Don't send qCRC if the target has no
5267 execution. Use packet_support/packet_ok. If the target doesn't
5268 support the qCRC packet, fallback to a deep memory copy.
5269 (compare_sections_command): Say "target image" instead of "remote
5270 executable".
5271 (_initialize_remote): Add PACKET_qCRC to the list of config
5272 packets that have no associated command. Extend comment.
5273 * target.c (simple_verify_memory, default_verify_memory): New
5274 function.
5275 * target.h (struct target_ops) <to_verify_memory>: Default to
5276 default_verify_memory.
5277 (simple_verify_memory): New declaration.
5278 * target-delegates.c: Regenerate.
5279
e59fa00f
MM
52802014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5281
5282 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5283
f2205de0
HZ
52842014-05-20 Hui Zhu <hui@codesourcery.com>
5285 Yao Qi <yao@codesourcery.com>
5286
5287 PR backtrace/16558
5288 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5289 and change address of sp and pc.
5290
c4e54771
TT
52912014-05-19 Tom Tromey <tromey@redhat.com>
5292
5293 * gdbtypes.c (rank_function): Use XNEWVEC.
5294 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5295
73051182
DE
52962014-05-19 Doug Evans <dje@google.com>
5297
5298 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5299 build_type_unit_groups and moved closer to only caller. Remove
5300 arguments. All references updated. Remove outdated .gdb_index
5301 comment.
5302 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5303 build_type_psymtabs_1.
5304
8832e7e3
DE
53052014-05-19 Doug Evans <dje@google.com>
5306
5307 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5308 n_type_unit_groups, all_type_unit_groups. All uses removed.
5309 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5310 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5311 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5312 (add_type_unit_group_to_table): Delete.
5313
cd8ae15e
DE
53142014-05-19 Doug Evans <dje@google.com>
5315
5316 * eval.c (evaluate_subexp_standard): Add some comments.
5317
08f4850b
DE
53182014-05-17 Doug Evans <xdje42@gmail.com>
5319
5320 * progspace.c (remove_program_space): Delete, unused.
5321 * progspace.h (remove_program_space): Ditto.
5322
bed8455c
DE
53232014-05-17 Doug Evans <xdje42@gmail.com>
5324
5325 * inferior.c (prune_inferiors): Fix comment.
5326 (remove_inferior_command): Call prune_program_spaces.
5327
8d551b02
DE
53282014-05-16 Doug Evans <dje@google.com>
5329
5330 New command line option -D.
5331 * NEWS: Mention it.
5332 * main.c (set_gdb_data_directory): New function.
5333 (captured_main): Recognize -D. Flag error for --data-directory "".
5334 Call set_gdb_data_directory.
5335 (print_gdb_help): Print --data-directory, -D.
5336 * main.h (set_gdb_data_directory): Declare.
5337 * top.c (staged_gdb_datadir): New static global.
5338 (set_gdb_datadir): Call set_gdb_data_directory
5339 (show_gdb_datadir): New function.
5340 (init_main): Update init of data-directory parameter.
5341
18848e28
GF
53422014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5343
5344 Import the "dirfd" gnulib module.
5345 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5346 * gnulib/aclocal.m4: Update.
5347 * gnulib/config.in: Update.
5348 * gnulib/configure: Update.
5349 * gnulib/import/Makefile.am: Update.
5350 * gnulib/import/Makefile.in: Update.
5351 * gnulib/import/dirfd.c: New.
5352 * gnulib/import/m4/dirfd.m4: New.
5353 * gnulib/import/m4/gnulib-cache.m4: Update.
5354 * gnulib/import/m4/gnulib-comp.m4: Update.
5355
95c64f92
YQ
53562014-05-16 Pierre Muller <muller@sourceware.org>
5357 Yao Qi <yao@codesourcery.com>
5358
5359 * valprint.c (print_wchar): Move the code on checking whether
5360 W is a printable wide char to the default branch of switch
5361 statement below. Call wchar_printable instead of gdb_iswprint.
5362
cac395ea
TM
53632014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5364
19679eca 5365 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
5366 ldr.w and ldrd instructions.
5367
83655187
DE
53682014-05-15 Doug Evans <dje@google.com>
5369
5370 * dwarf2read.c (read_structure_type): Delete outdated comments.
5371
dd756689
TT
53722014-05-14 Tom Tromey <tromey@redhat.com>
5373
5374 * macrocmd.c (print_macro_definition): Reindent.
5375
75ddda77
DE
53762014-05-13 Doug Evans <xdje42@gmail.com>
5377
5378 * python/py-cmd.c (cmdpy_completer): Add comment.
5379 (completers): Make const.
5380
b0f16a3e
SM
53812014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5382
5383 * infrun.c (resume): Remove should_resume (unused). Move up
5384 declaration of resume_ptid.
5385
033c3379
TT
53862014-05-13 Tom Tromey <tromey@redhat.com>
5387
5388 * language.h (unop_type_check): Remove.
5389 (binop_type_check): Don't declare.
5390
9b44a3a5
AA
53912014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5392
5393 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5394 call to regcache_raw_collect.
5395
303a33fa
SM
53962014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5399 mi_console->quote as the quoting character.
5400
196100a0
SM
54012014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5402
5403 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5404
f989a1c8
TT
54052014-04-29 Tom Tromey <tromey@redhat.com>
5406
5407 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5408 "show debug varobj".
5409
9404b58f
KM
54102014-05-07 Kyle McMartin <kyle@redhat.com>
5411
5412 Pushed by Joel Brobecker <brobecker@adacore.com>.
5413 * aarch64-tdep.c (aarch64_software_single_step): New function.
5414 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5415 with aarch64_software_single_step.
5416
5e49ba57
JB
54172014-05-05 Joel Brobecker <brobecker@adacore.com>
5418
5419 GDB 7.7.1 released.
5420
c888a17d
KS
54212014-05-05 Keith Seitz <keiths@redhat.com>
5422
5423 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5424 variable or history value is successfully parsed.
5425
290a839c
YQ
54262014-05-05 Yao Qi <yao@codesourcery.com>
5427 Pedro Alves <palves@redhat.com>
5428
5429 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5430 address of blocks that intersects the requested range. Trim
5431 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5432 sections.
5433 * ctf.c (ctf_xfer_partial): Likewise.
5434
91256dc2
YQ
54352014-05-05 Yao Qi <yao@codesourcery.com>
5436
5437 * printcmd.c (display_command): Remove the check to
5438 target_has_execution.
5439
07284463
MK
54402014-05-03 Mark Kettenis <kettenis@gnu.org>
5441
5442 * ppcobsd-nat.c: Include "obsd-nat.h".
5443 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5444 add_target.
5445 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5446
30a1e6cc
SDJ
54472014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5448
5449 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5450 and 16-bit signed and unsigned arguments. Update comment.
5451 (stap_parse_probe_arguments): Extend code to handle such
5452 arguments. Use warning instead of complaint to notify about
5453 unrecognized bitness.
5454
f33da99a
SDJ
54552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5456
5457 PR breakpoints/16889
5458 * stap-probe.c (stap_parse_probe_arguments): Simplify
5459 check for non-prefixed probes (i.e., probes whose
5460 arguments do not start with "N@"). Always set the
5461 argument type to a sane value.
5462
95cf3b38
DT
54632014-05-01 David Taylor <dtaylor@emc.com>
5464
5465 * remote.c (compare_sections_command): Add -r option to compare
5466 all loadable read-only sections.
5467
1cfdf534
SC
54682014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5469
5470 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5471 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5472 Update all callers.
5473 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5474 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5475 Remove unused CORE_ADDR argument. Update all callers.
5476
ca4f7f8b
PA
54772014-04-29 Pedro Alves <palves@redhat.com>
5478
5479 * remote.c (struct packet_config) <detect>: Extend comment.
5480 (add_packet_config_cmd): Don't set the config's detect or support
5481 fields here.
5482 (init_all_packet_configs): Also initialize the config's 'detect'
5483 field.
5484 (reset_all_packet_configs_support): New function.
5485 (remote_open_1): Call reset_all_packet_configs_support instead of
5486 init_all_packet_configs.
5487 (_initialize_remote): Initialize all packet configs. Assert that
5488 all packets have an associated command, except a few known
5489 outliers.
5490
11c1ba78
JB
54912014-04-28 Joel Brobecker <brobecker@adacore.com>
5492
5493 * dwarf2read.c (read_subrange_type): Handle dynamic
5494 DW_AT_lower_bound attributes.
5495
8739bc53
JB
54962014-04-28 Joel Brobecker <brobecker@adacore.com>
5497
5498 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5499 dynamic bounds before computing its upper bound.
5500 (ada_discrete_type_low_bound): Same as above with the lower bound.
5501
6f8a3220
JB
55022014-04-28 Joel Brobecker <brobecker@adacore.com>
5503
5504 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5505 range types. Adjust the array handling implementation to
5506 take advantage of this change.
5507 (resolve_dynamic_range): New function, mostly extracted from
5508 resolve_dynamic_bounds.
5509 (resolve_dynamic_array): New function, mostly extracted from
5510 resolve_dynamic_bounds.
5511 (resolve_dynamic_bounds): Delete.
5512 (resolve_dynamic_type): Reimplement. Add handling of
5513 TYPE_CODE_RANGE types.
5514
4d072ce4
JB
55152014-04-28 Joel Brobecker <brobecker@adacore.com>
5516
5517 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5518 handling of parallel ___XA types.
5519
52865325
JB
55202014-04-28 Joel Brobecker <brobecker@adacore.com>
5521
5522 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5523 unnecessary second call to static_unwrap_type.
5524
433e77fa
HZ
55252014-04-27 Hui Zhu <hui@codesourcery.com>
5526
5527 * stack.c (print_frame_info): Call do_gdb_disassembly with
5528 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5529
b51a69ee
DE
55302014-04-26 Doug Evans <xdje42@gmail.com>
5531
5532 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5533
7ae1a6a6
PA
55342014-04-25 Pedro Alves <palves@redhat.com>
5535
5536 PR server/16255
5537 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5538 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5539 and newline from built string.
5540 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5541 (linux_ptrace_attach_fail_reason): ... this.
5542 * linux-nat.c (linux_nat_attach): Adjust to use
5543 linux_ptrace_attach_fail_reason.
5544
4082afcc
PA
55452014-04-25 Pedro Alves <palves@redhat.com>
5546
5547 * remote.c (struct remote_state): Remove multi_process_aware,
5548 non_stop_aware, cond_tracepoints, cond_breakpoints,
5549 breakpoint_commands, fast_tracepoints, static_tracepoints,
5550 install_in_trace, disconnected_tracing,
5551 enable_disable_tracepoints, string_tracing, and
5552 augmented_libraries_svr4_read fields.
5553 (remote_multi_process_p): Move further below in the file.
5554 (struct packet_config): Add comments.
5555 (update_packet_config): Delete function.
5556 (show_packet_config_cmd): Use packet_config_support.
5557 (add_packet_config_cmd): Use NULL as set callback.
5558 (packet_ok): "set remote foo-packet"-style commands no longer
5559 change config->supported -- adjust.
5560 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5561 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5562 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5563 (PACKET_QNonStop, PACKET_multiprocess_feature)
5564 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5565 (PACKET_DisconnectedTracing_feature)
5566 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5567 (set_remote_protocol_packet_cmd): Delete function.
5568 (packet_config_support, packet_support): New functions.
5569 (set_remote_protocol_Z_packet_cmd): Don't call
5570 update_packet_config.
5571 (remote_query_attached, remote_pass_signals)
5572 (remote_program_signals, remote_threads_info)
5573 (remote_threads_extra_info, remote_start_remote): Use
5574 packet_support.
5575 (remote_start_remote): Use packet_config_support and
5576 packet_support.
5577 (init_all_packet_configs): Set all packets to unknown support,
5578 instead of calling update_packet_config.
5579 (remote_check_symbols): Use packet_support.
5580 (remote_supported_packet): Unconditionally set the packet config's
5581 support status.
5582 (remote_multi_process_feature, remote_non_stop_feature)
5583 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5584 (remote_breakpoint_commands_feature)
5585 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5586 (remote_install_in_trace_feature)
5587 (remote_disconnected_tracing_feature)
5588 (remote_enable_disable_tracepoint_feature)
5589 (remote_string_tracing_feature)
5590 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5591 (remote_protocol_features): Adjust to use remote_supported_packet
5592 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5593 "ConditionalTracepoints", "ConditionalBreakpoints",
5594 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5595 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5596 "EnableDisableTracepoints", and "tracenz".
5597 (remote_query_supported): Use packet_support.
5598 (remote_open_1): Adjust.
5599 (extended_remote_attach_1): Use packet_support. Switch on the
5600 result of packet_ok instead of checking whether the packet ended
5601 up disabled.
5602 (remote_vcont_resume): Use packet_support.
5603 (remote_resume, remote_stop_ns, fetch_register_using_p)
5604 (remote_prepare_to_store, store_register_using_P)
5605 (check_binary_download, remote_write_bytes): Use packet_support.
5606 (remote_vkill): Use packet_support. Switch on the result of
5607 packet_ok instead of checking whether the packet ended up
5608 disabled.
5609 (extended_remote_supports_disable_randomization): Use
5610 packet_support.
5611 (extended_remote_run): Switch on the result of packet_ok instead
5612 of checking whether the packet ended up disabled.
5613 (remote_insert_breakpoint, remote_remove_breakpoint)
5614 (remote_insert_watchpoint, remote_remove_watchpoint)
5615 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5616 packet_support.
5617 (remote_search_memory): Use packet_config_support.
5618 (remote_get_thread_local_address, remote_get_tib_address)
5619 (remote_hostio_send_command, remote_can_execute_reverse): Use
5620 packet_support.
5621 (remote_supports_cond_tracepoints)
5622 (remote_supports_cond_breakpoints)
5623 (remote_supports_fast_tracepoints)
5624 (remote_supports_static_tracepoints)
5625 (remote_supports_install_in_trace)
5626 (remote_supports_enable_disable_tracepoint)
5627 (remote_supports_string_tracing)
5628 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5629 the packet config says the feature is enabled or disabled.
5630 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5631 (remote_get_trace_status): Use packet_support.
5632 (remote_set_disconnected_tracing): Adjust to check whether the
5633 feature is enabled with packet_support.
5634 (remote_set_trace_buffer_size, remote_use_agent)
5635 (remote_can_use_agent, remote_supports_btrace): Use
5636 packet_support.
5637 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5638 Use packet_config_support.
5639 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5640 the packet config says the feature is enabled or disabled.
5641 (set_range_stepping): Use packet_support.
5642
bdb52a22
TT
56432014-04-25 Tom Tromey <tromey@redhat.com>
5644
5645 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5646 argument.
5647
e9475ead
SA
56482014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5649
5650 * NEWS: Mention support for C99 variable length arrays.
5651
82eacd52
JB
56522014-04-24 Joel Brobecker <brobecker@adacore.com>
5653
5654 * ada-lang.c (standard_exc): Expand introductory comment.
5655
01f9f808
MS
56562014-04-24 Michael Sturm <michael.sturm@mintel.com>
5657 Walfred Tedeschi <walfred.tedeschi@intel.com>
5658
5659 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5660 AVX512 registers.
5661 (amd64_linux_read_description): Add code to handle AVX512 xstate
5662 mask and return respective tdesc.
5663 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5664 and features/i386/x32-avx512-linux.c.
5665 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5666 (amd64_linux_core_read_description): Add code to handle AVX512
5667 xstate mask and return respective tdesc.
5668 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5669 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5670 calculation.
5671 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5672 (tdesc_amd64_avx512_linux): New prototype.
5673 (tdesc_x32_avx512_linux): Likewise.
5674 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5675 features/i386/x32-avx512.c.
5676 (amd64_ymm_avx512_names): New register names for pseudo
5677 registers YMM16-31.
5678 (amd64_ymmh_avx512_names): New register names for raw registers
5679 YMMH16-31.
5680 (amd64_k_names): New register names for K registers.
5681 (amd64_zmmh_names): New register names for ZMM raw registers.
5682 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5683 (amd64_xmm_avx512_names): New register names for XMM16-31
5684 registers.
5685 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5686 registers.
5687 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5688 if feature is present.
5689 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5690 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5691 (AMD64_NUM_REGS): Adjust to new number of registers.
5692 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5693 registers supplied via XSTATE by AVX512 registers.
5694 (i386_linux_read_description): Add case for AVX512.
5695 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5696 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5697 (i386_linux_core_read_description): Add case for AVX512.
5698 (i386_linux_init_abi): Install supported register note section
5699 for AVX512.
5700 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5701 AVX512.
5702 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5703 registers to be number of zmm7h + 1.
5704 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5705 * i386-tdep.c: Include features/i386/i386-avx512.c.
5706 (i386_zmm_names): Add ZMM pseudo register names array.
5707 (i386_zmmh_names): Add ZMM raw register names array.
5708 (i386_k_names): Add K raw register names array.
5709 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5710 registers. AVX512 has 16 more ZMM registers than there are YMM
5711 registers.
5712 (i386_zmmh_regnum_p): Add function to look up register number of
5713 ZMM raw registers.
5714 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5715 (i386_k_regnum_p): Likewise for K raw registers.
5716 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5717 registers added by AVX512.
5718 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5719 registers added by AVX512.
5720 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5721 added by AVX512.
5722 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5723 (i386_pseudo_register_name): Add ZMM pseudo registers.
5724 (i386_zmm_type): Construct and return vector registers type for ZMM
5725 registers.
5726 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5727 ZMM0-31 pseudo registers and K registers.
5728 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5729 and YMM16-31 registers from register cache.
5730 (i386_pseudo_register_write): Add code to write K, ZMM and
5731 YMM16-31 registers.
5732 (i386_register_reggroup_p): Add code to include/exclude AVX512
5733 registers in/from respective register groups.
5734 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5735 registers if feature is present in xcr0.
5736 (i386_gdbarch_init): Add code to initialize AVX512 feature
5737 variables in tdep structure, wire in pseudo registers and call
5738 initialize_tdesc_i386_avx512.
5739 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5740 variables.
5741 (i386_regnum): Add AVX512 registers.
5742 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5743 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5744 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5745 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5746 512 bits wide.
5747 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5748 (i386_ymm_avx512_regnum_p): Likewise.
5749 (i386_k_regnum_p): Likewise.
5750 (i386_zmm_regnum_p): Likewise.
5751 (i386_zmmh_regnum_p): Likewise.
5752 * i387-tdep.c : Update year in copyright notice.
5753 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5754 XSAVE buffer.
5755 (XSAVE_YMM_AVX512_ADDR): New macro.
5756 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5757 XSAVE buffer.
5758 (XSAVE_XMM_AVX512_ADDR): New macro.
5759 (xsave_avx512_k_offset): New table for K register offsets in
5760 XSAVE buffer.
5761 (XSAVE_AVX512_K_ADDR): New macro.
5762 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5763 in XSAVE buffer.
5764 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5765 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5766 buffer.
5767 (i387_collect_xsave): Add code to collect AVX512 registers from
5768 XSAVE buffer.
5769 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5770 of XMM16-31 registers.
5771 (I387_NUM_K_REGS): New define for number of K registers.
5772 (I387_K0_REGNUM): New define for K0 register number.
5773 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5774 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5775 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5776 registers.
5777 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5778 (I387_XMM16_REGNUM): New define for XMM16 register number.
5779 (I387_YMM0_REGNUM): New define for YMM0 register number.
5780 (I387_KEND_REGNUM): New define for last K register number.
5781 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5782 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5783 number.
5784 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5785 number.
5786 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5787 size.
5788 * features/Makefile: Add AVX512 related files.
5789 * features/i386/32bit-avx512.xml: New file.
5790 * features/i386/64bit-avx512.xml: Likewise.
5791 * features/i386/amd64-avx512-linux.c: Likewise.
5792 * features/i386/amd64-avx512-linux.xml: Likewise.
5793 * features/i386/amd64-avx512.c: Likewise.
5794 * features/i386/amd64-avx512.xml: Likewise.
5795 * features/i386/i386-avx512-linux.c: Likewise.
5796 * features/i386/i386-avx512-linux.xml: Likewise.
5797 * features/i386/i386-avx512.c: Likewise.
5798 * features/i386/i386-avx512.xml: Likewise.
5799 * features/i386/x32-avx512-linux.c: Likewise.
5800 * features/i386/x32-avx512-linux.xml: Likewise.
5801 * features/i386/x32-avx512.c: Likewise.
5802 * features/i386/x32-avx512.xml: Likewise.
5803 * regformats/i386/amd64-avx512-linux.dat: New file.
5804 * regformats/i386/amd64-avx512.dat: Likewise.
5805 * regformats/i386/i386-avx512-linux.dat: Likewise.
5806 * regformats/i386/i386-avx512.dat: Likewise.
5807 * regformats/i386/x32-avx512-linux.dat: Likewise.
5808 * regformats/i386/x32-avx512.dat: Likewise.
5809 * NEWS: Add note about new support for AVX512.
5810
5811
08351840
PA
58122014-04-23 Pedro Alves <palves@redhat.com>
5813
5814 * breakpoint.c (insert_bp_location): Tolerate errors if the
5815 breakpoint is set in a user-loaded objfile.
5816 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5817 location is marked shlib_disabled. If the breakpoint is set in a
5818 user-loaded objfile is a GDB-side memory breakpoint, validate it
5819 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5820 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5821 flag.
5822 * mem-break.c (memory_validate_breakpoint): New function.
5823 * objfiles.c (userloaded_objfile_contains_address_p): New
5824 function.
5825 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5826 * target.h (memory_validate_breakpoint): New declaration.
5827
076855f9
PA
58282014-04-23 Pedro Alves <palves@redhat.com>
5829
5830 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5831 the breakpoint is set in a shared library, only suppress
5832 errors for software breakpoints, not hardware breakpoints.
5833
483805cf
PA
58342014-04-22 Pedro Alves <palves@redhat.com>
5835
5836 * infrun.c (schedlock_applies): New function, factored out from
5837 find_thread_needs_step_over.
5838 (find_thread_needs_step_over): Use it.
5839 (switch_back_to_stepped_thread): Always clear trap_expected if the
5840 step over is finished. Return early if scheduler locking applies.
5841 Look for the stepping thread and a potential step-over thread with
5842 a single loop.
5843 (currently_stepping_or_nexting_callback): Delete.
5844
a75fef0e
NC
58452014-04-22 Nick Clifton <nickc@redhat.com>
5846
5847 * NEWS: Mention that ARM sim now supports tracing.
5848
48b6e87e
YQ
58492014-04-22 Yao Qi <yao@codesourcery.com>
5850
5851 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5852 to ...
5853 * tracefile.c (tracefile_fetch_registers): ... it. New
5854 function.
5855 * tracefile.h (tracefile_fetch_registers): Declare.
5856 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5857 tracefile_fetch_registers.
5858
17617f2d
EZ
58592014-04-19 Eli Zaretskii <eliz@gnu.org>
5860
5861 PR gdb/14018
5862 * windows-nat.c (thread_rec): Don't display a warning when
5863 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5864 fails for any reason, set th->suspended to -1, so that we don't
5865 try to resume such a thread. Also, don't return NULL in these
5866 cases, to avoid completely ruin the session due to "PC register is
5867 not available" error.
5868 (do_windows_fetch_inferior_registers): Check errors in
5869 GetThreadContext call.
5870 (windows_continue): Accept an additional argument KILLED; if not
5871 zero, ignore errors in the SetThreadContext call, since the
5872 inferior was killed and is shutting down.
5873 (windows_resume, get_windows_debug_event)
5874 (windows_create_inferior, windows_mourn_inferior)
5875 (windows_kill_inferior): All callers of windows_continue changed
5876 to adjust to its new calling sequence.
5877
5723a6fd
YQ
58782014-04-19 Yao Qi <yao@codesourcery.com>
5879
5880 * ctf.c (ctf_open): Call post_create_inferior.
5881
614d5099
YQ
58822014-04-19 Yao Qi <yao@codesourcery.com>
5883
5884 * ctf.c (handle_id): New static variable.
5885 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5886 value. Get the declaration of event "register" and get length
5887 of field "contents".
5888
dac3e710
YQ
58892014-04-19 Yao Qi <yao@codesourcery.com>
5890
5891 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5892
2bca57ba
SC
58932014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5894
5895 * valops.c (oload_method_static): Remove unnecessary argument
5896 METHOD. Update all callers.
5897
51d48146
PA
58982014-04-18 Pedro alves <palves@redhat.com>
5899 Tom Tromey <tromey@redhat.com>
5900
5901 PR backtrace/15558
5902 * frame.c (get_prev_frame_1): Rename to ...
5903 (get_prev_frame_always): ... this, and make extern. Adjust.
5904 (skip_artificial_frames): Use get_prev_frame_always.
5905 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5906 (get_frame_unwind_stop_reason): Adjust to rename.
5907 * frame.h (get_prev_frame_always): Declare.
5908 * inline-frame.c: Include frame.h.
5909 (inline_frame_this_id): Use get_prev_frame_always.
5910
1bdad2e0
TG
59112014-04-18 Tristan Gingold <gingold@adacore.com>
5912
5913 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5914 code by using bfd_mach_o_get_base_address.
5915
7ce16bd4
UW
59162014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5917
5918 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5919 (spu_ax_pseudo_register_collect): New function.
5920 (spu_ax_pseudo_register_push_stack): Likewise.
5921 (spu_dwarf_reg_to_regnum): Likewise.
5922 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5923
2ed3c037
UW
59242014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5925
5926 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5927 Replace FRAME argument with FRAME_ID.
5928 * gdbarch.c, gdbarch.h: Regenerate.
5929 * findvar.c (default_value_from_register): Add GDBARCH argument;
5930 replace FRAME by FRAME_ID. No longer call get_frame_id.
5931 (value_from_register): Update call to gdbarch_value_from_register.
5932 * value.h (default_value_from_register): Update prototype.
5933 * s390-linux-tdep.c (s390_value_from_register): Update interface
5934 and call to default_value_from_register.
5935 * spu-tdep.c (spu_value_from_register): Likewise.
5936
5937 * findvar.c (address_from_register): Remove TYPE argument.
5938 Do not call value_from_register; use gdbarch_value_from_register
5939 with null_frame_id instead.
5940 * value.h (address_from_register): Update prototype.
5941 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5942 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5943 address_from_register interface change.
5944
71e50e83
YQ
59452014-04-17 Yao Qi <yao@codesourcery.com>
5946
5947 * gdbtypes.h: Update comments to link to types and macros'
5948 definitions.
5949
7a23c549
SC
59502014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5951
5952 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5953
22869d73
KS
59542014-04-16 Keith Seitz <keiths@redhat.com>
5955
5956 PR gdb/15827
5957 * dwarf2read.c (skip_one_die): Check that all relative-offset
5958 sibling DIEs fall within range of the current reader's buffer.
5959 (read_partial_die): Likewise.
5960
c4f87ca6
KS
59612014-04-16 Keith Seitz <keiths@redhat.com>
5962
5963 PR c++/16597
5964 * cp-namespace.c (lookup_symbol_file): If the type name of
5965 `this' is NULL, return immediately.
5966
b50c8614
KS
59672014-04-14 Keith Seitz <keiths@redhat.com>
5968
5969 PR c++/16253
5970 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5971 from symbol_matches_domain in symtab.c. All local callers
5972 of symbol_matches_domain updated.
5973 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5974 search STRUCT_DOMAIN.
5975 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5976 independently. standard_lookup will do that automatically.
5977 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5978 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5979 (cp_lookup_symbol_in_namespace): Likewise.
5980 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5981 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5982 may return a STRUCT_DOMAIN match.
5983 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5984 * cp-support.c: Include language.h.
5985 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5986 VAR_DOMAIN.
5987 * psymtab.c (match_partial_symbol): Compare the requested
5988 domain with the symbol's domain directly.
5989 (lookup_partial_symbol): Likewise.
5990 * symtab.c (lookup_symbol_in_language): Explain when/why
5991 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5992 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5993 appropriate languages.
5994 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5995 and moved to ada-lang.c
5996 (lookup_block_symbol): Explain that this function only returns
5997 symbol matching the requested DOMAIN.
5998 Compare the requested domain with the symbol's domain directly.
5999 (iterate_over_symbols): Compare the requested domain with the
6000 symbol's domain directly.
6001 * symtab.h (symbol_matches_domain): Remove.
6002
3d567982
TT
60032014-04-14 Tom Tromey <tromey@redhat.com>
6004
6005 PR c++/15246:
6006 * c-exp.y (type_aggregate_p): New function.
6007 (qualified_name, classify_inner_name): Use it.
6008 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6009 and TYPE_TARGET_TYPE of an enum type.
6010 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6011 an enum type.
6012 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6013 handle TYPE_DECLARED_CLASS.
6014 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6015 types.
6016 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6017 * valops.c (enum_constant_from_type): New function.
6018 (value_aggregate_elt): Use it.
6019 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6020 TYPE_CODE_ENUM.
6021
c848d642
TT
60222014-04-14 Tom Tromey <tromey@redhat.com>
6023
6024 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6025 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6026 const.
6027 * value.h (value_aggregate_elt): Update.
6028
0626fc76
TT
60292014-04-14 Tom Tromey <tromey@redhat.com>
6030
6031 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6032
5ecaaa66
SA
60332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6034
6035 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6036 (evaluate_subexp_standard): Pass noside argument.
6037 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6038 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6039 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6040 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6041 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6042
1612e0c0
SA
60432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6044
6045 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6046 points to a constant blob.
6047
c451ebe5
SA
60482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6049
6050 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6051 property and store it as the high bound and flag the range accordingly.
6052 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6053 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6054 * gdbtypes.h (enum range_flags): New enum.
6055 (struct range_bounds): Add flags member.
6056
1d42e4c4
SA
60572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6058
6059 * c-typeprint.c (c_type_print_varspec_suffix): Added
6060 check for not yet resolved high bound. If unresolved, print
6061 "variable length" string to the console instead of random
6062 length.
6063
9f1f738a
SA
60642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6065
6066 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6067 value.
6068 (ada_template_to_fixed_record_type_1): Likewise.
6069 (ada_to_fixed_type_1): Likewise.
6070 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6071 (cp_print_value): Likewise.
6072 * d-valprint.c (dynamic_array_type): Likewise.
6073 * findvar.c (address_of_variable): Likewise.
6074 * jv-valprint.c (java_value_print): Likewise.
6075 * valops.c (value_ind): Likewise.
6076 * value.c (coerce_ref): Likewise.
6077
3c8452d4
SA
60782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6079
6080 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6081 value and retrieve the dynamic type size.
6082
4ad88275
SA
60832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6084
6085 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6086 passed to sizeof is dynamic evaluate the argument to compute the length.
6087
80180f79
SA
60882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6089 Joel Brobecker <brobecker@adacore.com>
6090
6091 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6092 (dwarf2_evaluate_property): New function.
6093 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6094 * dwarf2read.c (attr_to_dynamic_prop): New function.
6095 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6096 attribute.
6097 * gdbtypes.c: Include dwarf2loc.h.
6098 (is_dynamic_type): New function.
6099 (resolve_dynamic_type): New function.
6100 (resolve_dynamic_bounds): New function.
6101 (get_type_length): New function.
6102 (check_typedef): Use get_type_length to compute type length.
6103 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6104 (TYPE_LOW_BOUND_KIND): New macro.
6105 (is_dynamic_type): New function prototype.
6106 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6107 to resolve dynamic properties of the type. Update comment.
6108 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6109
a1556843
RH
61102014-04-14 Richard Henderson <rth@redhat.com>
6111
6112 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6113
0be03e84
DE
61142014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6115 Doug Evans <xdje42@gmail.com>
6116
6117 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6118 dereference TYPE_CODE_REF values.
6119
6b662e19
JB
61202014-04-11 Joel Brobecker <brobecker@adacore.com>
6121
6122 Revert the following changes due to regressions:
6123
6124 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6125 (dwarf2_evaluate_property): New function.
6126 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6127 * dwarf2read.c (attr_to_dynamic_prop): New function.
6128 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6129 attribute.
6130 * gdbtypes.c: Include dwarf2loc.h.
6131 (is_dynamic_type): New function.
6132 (resolve_dynamic_type): New function.
6133 (resolve_dynamic_bounds): New function.
6134 (get_type_length): New function.
6135 (check_typedef): Use get_type_length to compute type length.
6136 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6137 (TYPE_LOW_BOUND_KIND): New macro.
6138 (is_dynamic_type): New function prototype.
6139 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6140 to resolve dynamic properties of the type. Update comment.
6141 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6142
6143 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6144 passed to sizeof is dynamic evaluate the argument to compute the length.
6145
6146 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6147 value and retrieve the dynamic type size.
6148
6149 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6150 (ada_template_to_fixed_record_type_1): Likewise.
6151 (ada_to_fixed_type_1): Likewise.
6152 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6153 (cp_print_value): Likewise.
6154 * d-valprint.c (dynamic_array_type): Likewise.
6155 * eval.c (evaluate_subexp_with_coercion): Likewise.
6156 * findvar.c (address_of_variable): Likewise.
6157 * jv-valprint.c (java_value_print): Likewise.
6158 * valops.c (value_ind): Likewise.
6159 * value.c (coerce_ref): Likewise.
6160
6161 * c-typeprint.c (c_type_print_varspec_suffix): Added
6162 check for not yet resolved high bound. If unresolved, print
6163 "variable length" string to the console instead of random
6164 length.
6165
6166 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6167 property and store it as the high bound and flag the range accordingly.
6168 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6169 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6170 * gdbtypes.h (enum range_flags): New enum.
6171 (struct range_bounds): Add flags member.
6172
6173 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6174 points to a constant blob.
6175
6176 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6177 (evaluate_subexp_standard): Pass noside argument.
6178 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6179 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6180 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6181 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6182 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6183
245a5f0b
KS
61842014-04-11 Keith Seitz <keiths@redhat.com>
6185
6186 PR c++/16675
6187 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6188 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6189 reference types.
6190
3bce8237
SA
61912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6192
6193 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6194 (evaluate_subexp_standard): Pass noside argument.
6195 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6196 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6197 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6198 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6199 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6200
92b09522
SA
62012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6202
6203 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6204 points to a constant blob.
6205
e1969afb
SA
62062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6207
6208 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6209 property and store it as the high bound and flag the range accordingly.
6210 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6211 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6212 * gdbtypes.h (enum range_flags): New enum.
6213 (struct range_bounds): Add flags member.
6214
b86138fb
SA
62152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6216
6217 * c-typeprint.c (c_type_print_varspec_suffix): Added
6218 check for not yet resolved high bound. If unresolved, print
6219 "variable length" string to the console instead of random
6220 length.
6221
bcd629a4
SA
62222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6223
6224 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6225 (ada_template_to_fixed_record_type_1): Likewise.
6226 (ada_to_fixed_type_1): Likewise.
6227 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6228 (cp_print_value): Likewise.
6229 * d-valprint.c (dynamic_array_type): Likewise.
6230 * eval.c (evaluate_subexp_with_coercion): Likewise.
6231 * findvar.c (address_of_variable): Likewise.
6232 * jv-valprint.c (java_value_print): Likewise.
6233 * valops.c (value_ind): Likewise.
6234 * value.c (coerce_ref): Likewise.
6235
04b19544
SA
62362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6237
6238 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6239 value and retrieve the dynamic type size.
6240
26cb189f
SA
62412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6242
6243 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6244 passed to sizeof is dynamic evaluate the argument to compute the length.
6245
37c1ab67
SA
62462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6247
6248 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6249 (dwarf2_evaluate_property): New function.
6250 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6251 * dwarf2read.c (attr_to_dynamic_prop): New function.
6252 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6253 attribute.
6254 * gdbtypes.c: Include dwarf2loc.h.
6255 (is_dynamic_type): New function.
6256 (resolve_dynamic_type): New function.
6257 (resolve_dynamic_bounds): New function.
6258 (get_type_length): New function.
6259 (check_typedef): Use get_type_length to compute type length.
6260 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6261 (TYPE_LOW_BOUND_KIND): New macro.
6262 (is_dynamic_type): New function prototype.
6263 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6264 to resolve dynamic properties of the type. Update comment.
6265 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6266
729efb13
SA
62672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6268
6269 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6270 declaring high/low bounds and change uses accordingly. Call
6271 create_range_type instead of create_static_range_type.
6272 * gdbtypes.c (create_range_type): New function.
6273 (create_range_type): Convert bounds into struct bound_prop and pass
6274 them to create_range_type.
6275 * gdbtypes.h (struct bound_prop): New struct.
6276 (create_range_type): New function prototype.
6277 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6278 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6279 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6280 part of the bound.
6281 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6282
0c9c3474
SA
62832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6284
6285 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6286 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6287 * ada-lang.c: All uses of create_range_type updated.
6288 * coffread.c: All uses of create_range_type updated.
6289 * dwarf2read.c: All uses of create_range_type updated.
6290 * f-exp.y: All uses of create_range_type updated.
6291 * m2-valprint.c: All uses of create_range_type updated.
6292 * mdebugread.c: All uses of create_range_type updated.
6293 * stabsread.c: All uses of create_range_type updated.
6294 * valops.c: All uses of create_range_type updated.
6295 * valprint.c: All uses of create_range_type updated.
6296
9d497a19
PA
62972014-04-10 Pedro Alves <palves@redhat.com>
6298
6299 * breakpoint.c (single_step_breakpoints)
6300 (single_step_gdbarch): Move up in the file.
6301 (one_breakpoint_xfer_memory): New function, factored out from ...
6302 (breakpoint_xfer_memory): ... here. Also process single-step
6303 breakpoints.
6304
15a9128a
TG
63052014-04-09 Tristan Gingold <gingold@adacore.com>
6306
6307 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6308 comments.
6309 (darwin_decode_exception_message): Free port only after use.
6310
9c97a070
PL
63112014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6312
6313 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6314 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6315 when setting the size of call_length.
6316
7af389b8
SC
63172014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6318
6319 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6320 dereference TYPE_CODE_REF values.
6321
86ad98c3
JB
63222014-04-07 Joel Brobecker <brobecker@adacore.com>
6323
6324 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6325 end of warning message.
6326
b0aeadb3
DE
63272014-04-03 Doug Evans <dje@google.com>
6328
6329 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6330 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6331
5979d6b6
AM
63322014-04-02 Alan Modra <amodra@gmail.com>
6333
6334 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6335 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6336 (struct symbol_file_add_from_memory_args): Add size field.
6337 (find_vdso_size): New function.
6338 (add_vsyscall_page): Attempt to find vdso size.
6339
0d60c288
DE
63402014-04-01 Doug Evans <dje@google.com>
6341
6342 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6343
a41f2563
TG
63442014-04-01 Tristan Gingold <gingold@adacore.com>
6345
6346 * darwin-nat.c (darwin_encode_reply): Add prototype.
6347 (darwin_decode_exception_message): Reply to unknown inferiors.
6348 (darwin_decode_message): Handle message by id. Ignore message
6349 to unknown inferior.
6350 (darwin_wait): Discard unknown messages, add debug trace.
6351
11a865c8
DE
63522014-03-31 Doug Evans <dje@google.com>
6353
6354 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6355 comp_dir_string.
6356
770e7fc7
DE
63572014-03-31 Doug Evans <dje@google.com>
6358
6359 New option "set print symbol-loading".
6360 * NEWS: Mention it.
6361 * solib.c (solib_read_symbols): Only print symbol loading messages
6362 if requested.
6363 (solib_add): If symbol loading is in "brief" mode, notify user
6364 symbols are being loaded.
6365 (reload_shared_libraries_1): Ditto.
6366 * symfile.c (print_symbol_loading_off): New static global.
6367 (print_symbol_loading_brief): New static global.
6368 (print_symbol_loading_full): New static global.
6369 (print_symbol_loading_enums): New static global.
6370 (print_symbol_loading): New static global.
6371 (print_symbol_loading_p): New function.
6372 (symbol_file_add_with_addrs): Only print symbol loading messages
6373 if requested.
6374 (_initialize_symfile): Register "print symbol-loading" set/show
6375 command.
6376 * symfile.h (print_symbol_loading_p): Declare.
6377
c32c64b7
DE
63782014-03-30 Doug Evans <xdje42@gmail.com>
6379
6380 * infrun.c (set_last_target_status): New function.
6381 (handle_inferior_event): Call it.
6382
7c0bc051
DE
63832014-03-30 Doug Evans <xdje42@gmail.com>
6384
6385 * inferior.h (enum stop_kind): Improve comment.
6386
8776cfe9
JB
63872014-03-28 Joel Brobecker <brobecker@adacore.com>
6388
6389 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6390 a reference, strip the reference layer before calling
6391 the lang_ops value_has_mutated callback.
6392
410a0ff2
SDJ
63932014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6394
6395 Remove some globals from our parser.
6396 * language.c (unk_lang_parser): Add "struct parser_state"
6397 argument.
6398 * language.h (struct language_defn) <la_parser>: Likewise.
6399 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6400 (initialize_expout): Add "struct parser_state" argument.
6401 Rewrite function to use the parser state.
6402 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6403 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6404 write_exp_elt_longcst, write_exp_elt_dblcst,
6405 write_exp_elt_decfloatcst, write_exp_elt_type,
6406 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6407 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6408 write_dollar_variable): Likewise.
6409 (parse_exp_in_context_1): Use parser state.
6410 (insert_type_address_space): Add "struct parser_state" argument.
6411 Use parser state.
6412 (increase_expout_size): New function.
6413 * parser-defs.h: Forward declare "struct language_defn" and
6414 "struct parser_state".
6415 (expout, expout_size, expout_ptr): Remove extern declarations.
6416 (parse_gdbarch, parse_language): Rewrite macro declarations to
6417 accept the parser state.
6418 (struct parser_state): New struct.
6419 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6420 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6421 write_exp_elt_decfloatcst, write_exp_elt_type,
6422 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6423 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6424 write_exp_msymbol, write_dollar_variable,
6425 mark_struct_expression, insert_type_address_space): Add "struct
6426 parser_state" argument.
6427 (increase_expout_size): New function.
6428 * utils.c (do_clear_parser_state): New function.
6429 (make_cleanup_clear_parser_state): Likewise.
6430 * utils.h (make_cleanup_clear_parser_state): New function
6431 prototype.
6432 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6433 Update calls to write_exp* in order to pass the parser state.
6434 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6435 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6436 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6437 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6438 * stap-probe.c (stap_parse_register_operand): Likewise.
6439 (stap_parse_single_operand): Likewise.
6440 (stap_parse_argument_1): Likewise.
6441 (stap_parse_argument): Use parser state.
6442 * stap-probe.h: Include "parser-defs.h".
6443 (struct stap_parse_info) <pstate>: New field.
6444 * c-exp.y (parse_type): Rewrite to use parser state.
6445 (yyparse): Redefine to c_parse_internal.
6446 (pstate): New global variable.
6447 (parse_number): Add "struct parser_state" argument.
6448 (write_destructor_name): Likewise.
6449 (type_exp): Update calls to write_exp* and similars in order to
6450 use parser state.
6451 (exp1, exp, variable, qualified_name, space_identifier,
6452 typename, typebase): Likewise.
6453 (write_destructor_name, parse_number, lex_one_token,
6454 classify_name, classify_inner_name, c_parse): Add "struct
6455 parser_state" argument. Update function to use parser state.
6456 * c-lang.h: Forward declare "struct parser_state".
6457 (c_parse): Add "struct parser_state" argument.
6458 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6459 (yyparse): Redefine macro to ada_parse_internal.
6460 (pstate): New variable.
6461 (write_int, write_object_renaming, write_var_or_type,
6462 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6463 type_int, type_long, type_long_long, type_float, type_double,
6464 type_long_double, type_char, type_boolean, type_system_address):
6465 Add "struct parser_state" argument.
6466 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6467 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6468 var_or_type, aggregate, aggregate_component_list,
6469 positional_list, others, component_group,
6470 component_associations): Update calls to write_exp* and similar
6471 functions in order to use parser state.
6472 (ada_parse, write_var_from_sym, write_int,
6473 write_exp_op_with_string, write_object_renaming,
6474 find_primitive_type, write_selectors, write_ambiguous_var,
6475 write_var_or_type, write_name_assoc, type_int, type_long,
6476 type_long_long, type_float, type_double, type_long_double,
6477 type_char, type_boolean, type_system_address): Add "struct
6478 parser_state" argument. Adjust function to use parser state.
6479 * ada-lang.c (parse): Likewise.
6480 * ada-lang.h: Forward declare "struct parser_state".
6481 (ada_parse): Add "struct parser_state" argument.
6482 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6483 calls to both functions.
6484 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6485 parser state.
6486 (yyparse): Redefine macro to f_parse_internal.
6487 (pstate): New variable.
6488 (parse_number): Add "struct parser_state" argument.
6489 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6490 and similars in order to use parser state.
6491 (parse_number): Adjust code to use parser state.
6492 (yylex): Likewise.
6493 (f_parse): New function.
6494 * f-lang.h: Forward declare "struct parser_state".
6495 (f_parse): Add "struct parser_state" argument.
6496 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6497 parser state.
6498 (yyparse): Redefine macro for java_parse_internal.
6499 (pstate): New variable.
6500 (push_expression_name, push_expression_name, insert_exp): Add
6501 "struct parser_state" argument.
6502 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6503 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6504 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6505 PostIncrementExpression, PostDecrementExpression,
6506 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6507 UnaryExpressionNotPlusMinus, CastExpression,
6508 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6509 RelationalExpression, EqualityExpression, AndExpression,
6510 ExclusiveOrExpression, InclusiveOrExpression,
6511 ConditionalAndExpression, ConditionalOrExpression,
6512 ConditionalExpression, Assignment, LeftHandSide): Update
6513 calls to write_exp* and similars in order to use parser state.
6514 (parse_number): Ajust code to use parser state.
6515 (yylex): Likewise.
6516 (java_parse): New function.
6517 (push_variable): Add "struct parser_state" argument. Adjust
6518 code to user parser state.
6519 (push_fieldnames, push_qualified_expression_name,
6520 push_expression_name, insert_exp): Likewise.
6521 * jv-lang.h: Forward declare "struct parser_state".
6522 (java_parse): Add "struct parser_state" argument.
6523 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6524 parser state.
6525 (yyparse): Redefine macro to m2_parse_internal.
6526 (pstate): New variable.
6527 (type_exp, exp, fblock, variable, type): Update calls to
6528 write_exp* and similars to use parser state.
6529 (yylex): Likewise.
6530 (m2_parse): New function.
6531 * m2-lang.h: Forward declare "struct parser_state".
6532 (m2_parse): Add "struct parser_state" argument.
6533 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6534 * objc-lang.h: Forward declare "struct parser_state".
6535 (end_msglist): Add "struct parser_state" argument.
6536 * p-exp.y (parse_type): Rewrite macro to use parser state.
6537 (yyparse): Redefine macro to pascal_parse_internal.
6538 (pstate): New variable.
6539 (parse_number): Add "struct parser_state" argument.
6540 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6541 write_exp* and similars in order to use parser state.
6542 (parse_number, yylex): Adjust code to use parser state.
6543 (pascal_parse): New function.
6544 * p-lang.h: Forward declare "struct parser_state".
6545 (pascal_parse): Add "struct parser_state" argument.
6546 * go-exp.y (parse_type): Rewrite macro to use parser state.
6547 (yyparse): Redefine macro to go_parse_internal.
6548 (pstate): New variable.
6549 (parse_number): Add "struct parser_state" argument.
6550 (type_exp, exp1, exp, variable, type): Update calls to
6551 write_exp* and similars in order to use parser state.
6552 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6553 to use parser state.
6554 (go_parse): Likewise.
6555 * go-lang.h: Forward declare "struct parser_state".
6556 (go_parse): Add "struct parser_state" argument.
6557
342587c4
DE
65582014-03-27 Doug Evans <dje@google.com>
6559
6560 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6561
33e80786
DE
65622014-03-27 Doug Evans <dje@google.com>
6563
6564 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6565 Remove argument abbrev_section. All callers updated.
6566
1dbab08b
DE
65672014-03-27 Doug Evans <dje@google.com>
6568
6569 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6570 addr_base, ranges_base.
6571
318d3177
KS
65722014-03-26 Keith Seitz <keiths@redhat.com>
6573
6574 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6575 types, not VAR_DOMAIN.
6576
1e54db15
SL
65772014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6578
6579 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6580 "ra" registers.
6581 * features/nios2-linux.c: Regenerated.
6582 * features/nios2.c: Regenerated.
6583
d3839ede
PA
65842014-03-25 Pedro Alves <palves@redhat.com>
6585
6586 * cli/cli-script.c (script_from_file): Force the interpreter to
6587 sync mode.
6588
7588d2ec
PL
65892014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6590
6591 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6592 small stack allocation.
6593
a6290449
TG
65942014-03-24 Tristan Gingold <gingold@adacore.com>
6595
6596 * darwin-nat.c (exc_server): Remove unused prototype.
6597 (darwin_dump_message): Correctly display data on x86_64.
6598 (darwin_encode_reply): Fix style.
6599 Add comments and fix indentation.
6600
31ae9d24 66012014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6602
6603 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6604
6339bfc4
DE
66052014-03-22 Doug Evans <xdje42@gmail.com>
6606
6607 * infcmd.c: Whitespace fixes.
6608 (interrupt_command): Merge two function comments into one.
6609
0a07590b
DE
66102014-03-22 Doug Evans <xdje42@gmail.com>
6611
6612 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6613 All uses updated.
6614
b55fbac4
YQ
66152014-03-22 Yao Qi <yao@codesourcery.com>
6616
6617 * remote.c (target_read_live_memory): Remove.
6618 (memory_xfer_live_readonly_partial): Rename it to
6619 remote_xfer_live_readonly_partial. Remove argument 'object'.
6620 All callers updated. Call remote_read_bytes_1
6621 instead of target_read_live_memory.
6622 * tracepoint.c (set_traceframe_number): Remove.
6623 (make_cleanup_restore_traceframe_number): Likewise .
6624 * tracepoint.h (set_traceframe_number): Remove declaration.
6625 (make_cleanup_restore_traceframe_number): Likewise.
6626
9217e74e
YQ
66272014-03-22 Yao Qi <yao@codesourcery.com>
6628
6629 * remote.c (remote_read_bytes): Move code on reading from the
6630 remote stub to ...
6631 (remote_read_bytes_1): ... here. New function.
6632
8acf9577
YQ
66332014-03-22 Yao Qi <yao@codesourcery.com>
6634
6635 * ctf.c (ctf_xfer_partial): Check the return value of
6636 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6637 return TARGET_XFER_UNAVAILABLE.
6638 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6639 * target.c (target_read_live_memory): Move it to remote.c.
6640 (memory_xfer_live_readonly_partial): Likewise.
6641 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6642 * remote.c (target_read_live_memory): Moved from target.c.
6643 (memory_xfer_live_readonly_partial): Likewise.
6644 (remote_read_bytes): Factored out from
6645 memory_xfer_partial_1.
6646
feef67ab
DE
66472014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6648
6649 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6650 NULL pointer.
6651
b65dc60b
PA
66522014-03-21 Pedro Alves <palves@redhat.com>
6653
6654 * infrun.c (normal_stop): Extend comment.
6655
b4ab256d
HZ
66562014-03-21 Hui Zhu <hui@codesourcery.com>
6657 Pedro Alves <palves@redhat.com>
6658
6659 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6660 static buffer.
6661 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6662 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6663 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6664
deba7593
MR
66652014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6666
6667 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6668 `z' formatted output modifier.
6669
1bff71c3
SDJ
66702014-03-20 Tom Tromey <tromey@redhat.com>
6671 Sergio Durigan Junior <sergiodj@redhat.com>
6672
6673 * probe.c (parse_probes): Turn assert into an ordinary error.
6674 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6675 exceptions when parsing probes. Rearrange the code for clarity.
6676
90e28950
TT
66772014-03-20 Tom Tromey <tromey@redhat.com>
6678
6679 PR gdb/14135
6680 * top.c (execute_command): Only dispatch events if the command
6681 started the target.
6682
beb460e8
PA
66832014-03-20 Tom Tromey <tromey@redhat.com>
6684
6685 PR cli/15718
6686 * infcall.c: Include event-top.h.
6687 (run_inferior_call): Call async_disable_stdin if needed.
6688
99619bea
PA
66892014-03-20 Pedro Alves <palves@redhat.com>
6690
6691 * infrun.c (prepare_to_proceed): Delete.
6692 (thread_still_needs_step_over): New function.
6693 (find_thread_needs_step_over): New function.
6694 (proceed): If the current thread needs a step-over, set its
6695 steping_over_breakpoint flag. Adjust to use
6696 find_thread_needs_step_over instead of prepare_to_proceed.
6697 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6698 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6699 breakpoint.
6700 (switch_back_to_stepped_thread): Step over breakpoints of all
6701 threads not the stepping thread, before switching back to the
6702 stepping thread.
6703
2adfaa28
PA
67042014-03-20 Pedro Alves <palves@redhat.com>
6705
6706 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6707 extern.
6708 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6709 * infrun.c (saved_singlestep_ptid)
6710 (stepping_past_singlestep_breakpoint): Delete.
6711 (resume): Remove stepping_past_singlestep_breakpoint handling.
6712 (proceed): Store the prev_pc of the stepping thread too.
6713 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6714 singlestep_pc.
6715 (enum infwait_states): Delete infwait_thread_hop_state.
6716 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6717 field.
6718 (handle_inferior_event): Adjust.
6719 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6720 handling and the thread-hop code. Before removing single-step
6721 breakpoints, check whether the thread hit a single-step breakpoint
6722 of another thread. If it did, the trap is not a random signal.
6723 (switch_back_to_stepped_thread): If the event thread hit a
6724 single-step breakpoint, unblock it before switching to the
6725 stepping thread. Handle the case of the stepped thread having
6726 advanced already.
6727 (keep_going): Handle the case of the current thread moving past a
6728 single-step breakpoint.
6729
31e77af2
PA
67302014-03-20 Pedro Alves <palves@redhat.com>
6731
6732 PR breakpoints/7143
6733 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6734 are being stepped over.
6735 (breakpoint_address_match): Make extern.
6736 * breakpoint.h (breakpoint_address_match): New declaration.
6737 * inferior.h (stepping_past_instruction_at): New declaration.
6738 * infrun.c (struct step_over_info): New type.
6739 (step_over_info): New global.
6740 (set_step_over_info, clear_step_over_info)
6741 (stepping_past_instruction_at): New functions.
6742 (handle_inferior_event): Clear the step-over info when
6743 trap_expected is cleared.
6744 (resume): Remove now stale comment.
6745 (clear_proceed_status): Clear step-over info.
6746 (proceed): Adjust step-over handling to set or clear the step-over
6747 info instead of removing all breakpoints.
6748 (handle_signal_stop): When setting up a thread-hop, don't remove
6749 breakpoints here.
6750 (stop_stepping): Clear step-over info.
6751 (keep_going): Adjust step-over handling to set or clear step-over
6752 info and then always inserting breakpoints, instead of removing
6753 all breakpoints when stepping over one.
6754
b9f437de
PA
67552014-03-20 Pedro Alves <palves@redhat.com>
6756
6757 * infrun.c (previous_inferior_ptid): Adjust comment.
6758 (deferred_step_ptid): Delete.
6759 (infrun_thread_ptid_changed, prepare_to_proceed)
6760 (init_wait_for_inferior): Adjust.
6761 (handle_signal_stop): Delete deferred_step_ptid handling.
6762
06c868a8
JK
67632014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6764
6765 PR gdb/15358
6766 * defs.h (sync_quit_force_run): New declaration.
6767 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6768 * event-top.c (async_sigterm_handler): New declaration.
6769 (async_sigterm_token): New variable.
6770 (async_init_signals): Create also async_sigterm_token.
6771 (async_sigterm_handler): New function.
6772 (sync_quit_force_run): New variable.
6773 (handle_sigterm): Replace quit_force call by other calls.
6774 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6775
dea80df0
MR
67762014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6777
6778 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6779 offset into SPE pseudo registers.
6780
0c7e1a46
PA
67812014-03-18 Pedro Alves <palves@redhat.com>
6782
6783 PR gdb/13860
6784 * inferior.h (print_stop_event): Declare.
6785 * infrun.c (print_stop_event): New, factored out from ...
6786 (normal_stop): ... this.
6787 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6788 of bpstat_print/print_stack_frame.
6789
9c1fcd01
TT
67902014-03-17 Tom Tromey <tromey@redhat.com>
6791
6792 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6793
11aa919a
PMR
67942014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6795
6796 * ada-lang.c (decode_constrained_packed_array): Perform a
6797 minimal coercion for reference with coerce_ref instead of
6798 ada_coerce_ref.
6799
d4ccb5e0
TG
68002014-03-17 Tristan Gingold <gingold@adacore.com>
6801
6802 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6803 (darwin_solib_create_inferior_hook): Emit a warning if version
6804 is unhandled.
6805
49840f2a
UW
68062014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6807
6808 * python/py-value.c (get_field_flag): Cast flag_name argument to
6809 PyObject_GetAttrString to support Python 2.4.
6810
ed4123e5
JK
68112014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6812
6813 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6814 (Global Maintainers): Remove Jan Kratochvil.
6815
d6b64346
PA
68162014-03-14 Pedro Alves <palves@redhat.com>
6817
6818 * inferior.h (terminal_ours_for_output): Rename to ...
6819 (child_terminal_ours_for_output): ... this.
6820 (terminal_save_ours): Rename to ...
6821 (child_terminal_save_ours): ... this.
6822 (terminal_ours): Rename to ...
6823 (child_terminal_ours): ... this.
6824 (terminal_inferior): Rename to ...
6825 (child_terminal_inferior): ... this.
6826 (terminal_init_inferior): Rename to ...
6827 (child_terminal_init_inferior): ... this.
6828 (terminal_init_inferior_with_pgrp): Rename to ...
6829 (child_terminal_init_inferior_with_pgrp): ... this.
6830 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6831 (child_terminal_init_with_pgrp): ... this.
6832 (terminal_save_ours): Rename to ...
6833 (child_terminal_save_ours): ... this.
6834 (terminal_init_inferior): Rename to ...
6835 (child_terminal_init): ... this. Adjust.
6836 (terminal_inferior): Rename to ...
6837 (child_terminal_inferior): ... this.
6838 (terminal_ours_for_output): Rename to ...
6839 (child_terminal_ours_for_output): ... this. Adjust.
6840 (terminal_ours): Rename to ...
6841 (child_terminal_ours): ... this.
6842 (terminal_ours_1): Rename to ...
6843 (child_terminal_ours_1): ... this. Adjust.
6844 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6845 * windows-nat.c (do_initial_windows_stuff): Adjust.
6846 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6847 (gnu_terminal_init): ... this. Adjust.
6848 (gnu_target): Adjust.
6849 * inf-child.c (inf_child_target): Adjust.
6850
5a1e8c7a
DE
68512014-03-13 Doug Evans <xdje42@gmail.com>
6852
6853 PR guile/16612
6854 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6855 new eq?-hashtab.
6856
350e1a76
DE
68572014-03-13 Doug Evans <xdje42@gmail.com>
6858
6859 * value.c (record_latest_value): Call release_value_or_incref
6860 instead of release_value.
6861
a69900ae
PA
68622014-03-13 Pedro Alves <palves@redhat.com>
6863
6864 * procfs.c (procfs_target): Don't override to_shortname,
6865 to_longname or to_doc.
6866
5db9f0bd
PA
68672014-03-13 Pedro Alves <palves@redhat.com>
6868
6869 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6870 Unix in user visible strings.
6871
5e3a2c38
SS
68722014-03-12 Stan Shebs <stan@codesourcery.com>
6873
6874 * gdbtypes.h: Annotate comments for Doxygen, add a page
6875 block comment with some general info.
6876
8bc2fe48
PA
68772014-03-12 Pedro Alves <palves@redhat.com>
6878
6879 * infcmd.c (prepare_execution_command): New function, factored out
6880 from several execution commands.
6881 (run_command_1, continue_command, step_1, jump_command)
6882 (signal_command, until_command, advance_command, finish_command)
6883 (attach_command): Use prepare_execution_command.
6884
638c5f49
OJ
68852014-03-12 Omair Javaid <omair.javaid@linaro.org>
6886
6887 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6888 (MAX_BPTS): Define.
6889 (MAX_WPTS): Define.
6890 (struct arm_linux_thread_points): Removed.
6891 (struct arm_linux_process_info): New.
6892 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6893 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6894 (arm_linux_find_breakpoints_by_tid): Removed.
6895 (struct arch_lwp_info): New.
6896 (arm_linux_find_process_pid): New functions.
6897 (arm_linux_add_process): New functions.
6898 (arm_linux_process_info_get): New functions.
6899 (arm_linux_forget_process): New function.
6900 (arm_linux_get_debug_reg_state): New function.
6901 (struct update_registers_data): New.
6902 (update_registers_callback): New function.
6903 (arm_linux_insert_hw_breakpoint1): Updated.
6904 (arm_linux_remove_hw_breakpoint1): Updated.
6905 (arm_linux_insert_hw_breakpoint): Updated.
6906 (arm_linux_remove_hw_breakpoint): Updated.
6907 (arm_linux_insert_watchpoint): Updated.
6908 (arm_linux_remove_watchpoint): Updated.
6909 (arm_linux_new_thread): Updated.
6910 (arm_linux_prepare_to_resume): New function.
6911 (arm_linux_new_fork): New function.
6912 (_initialize_arm_linux_nat): Updated.
6913
6d03af93
PA
69142014-03-12 Pedro Alves <palves@redhat.com>
6915
6916 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6917
b3ccfe11
TT
69182014-03-12 Tom Tromey <tromey@redhat.com>
6919
6920 * inf-child.c (return_zero): New function.
6921 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6922 * aix-thread.c (aix_thread_inferior_created): New function.
6923 (aix_thread_attach): Remove.
6924 (init_aix_thread_ops): Don't set to_attach.
6925 (_initialize_aix_thread): Register inferior_created observer.
6926 * corelow.c (init_core_ops): Don't set to_attach or
6927 to_create_inferior.
6928 * exec.c (init_exec_ops): Don't set to_attach or
6929 to_create_inferior.
6930 * infcmd.c (run_command_1): Use find_run_target. Make direct
6931 target calls.
6932 (attach_command): Use find_attach_target. Make direct target
6933 calls.
6934 * record-btrace.c (init_record_btrace_ops): Don't set
6935 to_create_inferior.
6936 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6937 Remove.
6938 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6939 set to_create_inferior.
6940 * target.c (complete_target_initialization): Add assertion.
6941 (target_create_inferior): Remove.
6942 (find_default_attach, find_default_create_inferior): Remove.
6943 (find_attach_target, find_run_target): New functions.
6944 (find_default_is_async_p, find_default_can_async_p)
6945 (target_supports_non_stop, target_attach): Remove.
6946 (init_dummy_target): Don't set to_create_inferior or
6947 to_supports_non_stop.
6948 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6949 TARGET_DEFAULT_FUNC.
6950 <to_create_inferior>: Add comment.
6951 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6952 TARGET_DEFAULT_RETURN.
6953 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6954 (find_attach_target, find_run_target): Declare.
6955 (target_create_inferior): Remove.
6956 (target_has_execution_1): Update comment.
6957 (target_supports_non_stop): Remove.
6958 * target-delegates.c: Rebuild.
6959
91f83b02
PA
69602014-03-12 Pedro Alves <palves@redhat.com>
6961
6962 * inf-child.h: Update comment to not mention Unix.
6963
f1aea813
PA
69642014-03-12 Pedro Alves <palves@redhat.com>
6965
6966 * inf-child.c: Update top comment to not mention Unix. Add
6967 generic comment describing how this target is meant to be used.
6968 (inf_child_post_attach, inf_child_post_startup_inferior)
6969 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6970 Unix in comment.
6971
ee8e9165
PA
69722014-03-12 Pedro Alves <palves@redhat.com>
6973
6974 * nto-procfs.c: Include inf-child.h.
6975 (procfs_ops): Delete global.
6976 (procfs_can_run): Delete method.
6977 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6978 target pointer instead of referencing procfs_ops.
6979 (procfs_prepare_to_store): Delete.
6980 (init_procfs_ops): Delete function.
6981 (procfs_target): New function, based on init_procfs_ops, but
6982 inherit inf_child_target.
6983 (_initialize_procfs): Use procfs_target.
6984
51a9c8c5
PA
69852014-03-12 Pedro Alves <palves@redhat.com>
6986
6987 * windows-nat.c: Include inf-child.h.
6988 (windows_ops): Delete global.
6989 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6990 methods.
6991 (init_windows_ops): Delete function.
6992 (windows_target): New function, based on init_windows_ops, but
6993 inherit inf_child_target.
6994 (_initialize_windows_nat): Use windows_target. Install x86
6995 specific target methods here.
6996
c1966e26
DE
69972014-03-10 Doug Evans <xdje42@gmail.com>
6998
6999 * guile/guile.c (call_initialize_gdb_module): New function.
7000 (initialize_guile): Replace call to scm_init_guile with call to
7001 scm_with_guile.
7002
023db19c
JB
70032014-03-10 Joel Brobecker <brobecker@adacore.com>
7004
7005 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7006 in call to TYPE_CODE macro.
7007
5ec18f2b
JG
70082014-03-10 Jerome Guitton <guitton@adacore.com>
7009
8668be63
JB
7010 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7011 Resolve tagged types to full view.
5ec18f2b 7012
7d03f2eb
HZ
70132014-03-10 Hui Zhu <hui@codesourcery.com>
7014
7015 * target.h (target_insert_breakpoint): Remove "hardware" from its
7016 comments.
7017
c5164cbc
DE
70182014-03-07 Doug Evans <dje@google.com>
7019
7020 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7021
c4a3fee2
DE
70222014-03-07 Doug Evans <dje@google.com>
7023
7024 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7025 Remove unused local comp_dir_attr. Assert exactly one of
7026 stub_comp_unit_die, stub_comp_dir is non-NULL.
7027
3156469c
JB
70282014-03-07 Joel Brobecker <brobecker@adacore.com>
7029
7030 * target.h (complete_target_initialization, add_target):
7031 Add comment.
7032
c1a7b7c6
PA
70332014-03-07 Pedro Alves <palves@redhat.com>
7034
7035 * go32-nat.c: Include inf-child.h.
7036 (go32_ops): Delete global.
7037 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7038 Delete methods.
7039 (go32_create_inferior): Push the passed in target pointer instead
7040 of referencing go32_ops.
7041 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7042 (go32_target): New function, based on init_go32_ops, but inherit
7043 inf_child_target.
7044 (_initialize_go32_nat): Use go32_target. Move parts of
7045 init_go32_ops here.
7046
d3c1a85f
JB
70472014-03-06 Joel Brobecker <brobecker@adacore.com>
7048
7049 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7050 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7051 SYMBOL_VALUE_ADDRESS.
7052 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7053
5fa1d40e
YQ
70542014-03-06 Yao Qi <yao@codesourcery.com>
7055
7056 * breakpoint.c (get_tracepoint_by_number): Remove argument
7057 optional_p. All callers updated. Adjust comments. Update
7058 output message.
7059 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7060
0c13193f
YQ
70612014-03-06 Yao Qi <yao@codesourcery.com>
7062
7063 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7064 early if get_number returns zero. Use 'p' instead of 'args'.
7065
2217da06
YQ
70662014-03-06 Yao Qi <yao@codesourcery.com>
7067
7068 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7069 message.
7070
cc3da688
YQ
70712014-03-06 Yao Qi <yao@codesourcery.com>
7072
7073 PR breakpoints/16508
7074 * tracepoint.c (check_trace_running): New function.
7075 (trace_find_command): Move code to check_trace_running and
7076 call check_trace_running.
7077 (trace_find_pc_command): Likewise.
7078 (trace_find_tracepoint_command): Likewise.
7079 (trace_find_line_command): Likewise.
7080 (trace_find_range_command): Likewise.
7081 * tracepoint.h (check_trace_running): Likewise.
7082 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7083
6a5f844b
YQ
70842014-03-06 Yao Qi <yao@codesourcery.com>
7085
7086 * target.h (struct target_ops) <to_traceframe_info>: Use
7087 TARGET_DEFAULT_NORETURN (tcomplain ()).
7088 * target-delegates.c: Regenerated.
7089
0f26cec1
PA
70902014-03-05 Pedro Alves <palves@redhat.com>
7091
7092 PR gdb/16575
7093 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7094 void. Update comment.
7095 (dcache_xfer_memory): Delete.
7096 (dcache_read_memory_partial): New, based on the read bits of
7097 dcache_xfer_memory.
7098 (dcache_update): Add status parameter. Use ULONGEST for len, and
7099 adjust. Discard cache lines if the reason for the update was
7100 error.
7101 * dcache.h (dcache_xfer_memory): Delete declaration.
7102 (dcache_read_memory_partial): New declaration.
7103 (dcache_update): Update prototype.
7104 * target.c (raw_memory_xfer_partial): Update the dcache here.
7105 (memory_xfer_partial_1): Don't handle dcache writes here.
7106
b2b255bd
MF
71072014-03-05 Mike Frysinger <vapier@gentoo.org>
7108
7109 * remote-sim.c (gdbsim_load): Add const to prog.
7110
5d9cf8a4
TT
71112014-03-03 Tom Tromey <tromey@redhat.com>
7112
7113 * elfread.c (probe_key): Change to bfd_data.
7114 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7115 now per-BFD, not per-objfile.
7116 * stap-probe.c (stap_probe_destroy): Update comment.
7117 (handle_stap_probe): Allocate on the per-BFD obstack.
7118
729662a5
TT
71192014-03-03 Tom Tromey <tromey@redhat.com>
7120
7121 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7122 * breakpoint.c (create_longjmp_master_breakpoint): Use
7123 get_probe_address.
7124 (add_location_to_breakpoint, bkpt_probe_insert_location)
7125 (bkpt_probe_remove_location): Update.
7126 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7127 * elfread.c (elf_symfile_relocate_probe): Remove.
7128 (elf_probe_fns): Update.
7129 (insert_exception_resume_breakpoint): Change type of "probe"
7130 parameter to bound_probe.
7131 (check_exception_resume): Update.
7132 * objfiles.c (objfile_relocate1): Don't relocate probes.
7133 * probe.c (bound_probe_s): New typedef.
7134 (parse_probes): Use get_probe_address. Set sal's objfile.
7135 (find_probe_by_pc): Return a bound_probe.
7136 (collect_probes): Return a VEC(bound_probe_s).
7137 (compare_probes): Update.
7138 (gen_ui_out_table_header_info): Change type of "probes"
7139 parameter. Update.
7140 (info_probes_for_ops): Update.
7141 (get_probe_address): New function.
7142 (probe_safe_evaluate_at_pc): Update.
7143 * probe.h (struct probe_ops) <get_probe_address>: New field.
7144 <set_semaphore, clear_semaphore>: Add objfile parameter.
7145 (struct probe) <objfile>: Remove field.
7146 <arch>: New field.
7147 <address>: Update comment.
7148 (struct bound_probe): New.
7149 (find_probe_by_pc): Return a bound_probe.
7150 (get_probe_address): Declare.
7151 * solib-svr4.c (struct probe_and_action) <address>: New field.
7152 (hash_probe_and_action, equal_probe_and_action): Update.
7153 (register_solib_event_probe): Add address parameter.
7154 (solib_event_probe_at): Update.
7155 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7156 get_probe_address.
7157 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7158 (stap_get_probe_address): New function.
7159 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7160 (compile_probe_arg): Update.
7161 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7162 address.
7163 (handle_stap_probe): Don't relocate the probe.
7164 (stap_relocate): Remove.
7165 (stap_gen_info_probes_table_values): Update.
7166 (stap_probe_ops): Remove stap_relocate.
7167 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7168 (debug_sym_probe_fns): Update.
7169 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7170 * symtab.c (init_sal): Use memset.
7171 * symtab.h (struct symtab_and_line) <objfile>: New field.
7172 * tracepoint.c (start_tracing, stop_tracing): Update.
7173
ff887920
TT
71742014-03-03 Tom Tromey <tromey@redhat.com>
7175
7176 * probe.h (parse_probes, find_probe_by_pc)
7177 (find_probes_in_objfile): Fix comments.
7178
f0407826
DE
71792014-03-02 Doug Evans <xdje42@gmail.com>
7180
7181 * infrun.c (handle_signal_stop): Replace test for
7182 TARGET_WAITKIND_STOPPED with an assert.
7183
35e6a711
DE
71842014-03-02 Doug Evans <xdje42@gmail.com>
7185
7186 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7187
667f9d0b
DE
71882014-03-02 Doug Evans <xdje42@gmail.com>
7189
7190 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7191
dc92ace0
MK
71922014-03-01 Mark Kettenis <kettenis@gnu.org>
7193
7194 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7195
a900370f
MK
71962014-03-01 Mark Kettenis <kettenis@gnu.org>
7197
7198 * i386obsd-nat.c: Include "obsd-nat.h".
7199 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7200 add_target.
7201 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7202
b72a7981
MK
72032014-03-01 Mark Kettenis <kettenis@gnu.org>
7204
7205 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7206
96c70aba
MK
72072014-03-01 Mark Kettenis <kettenis@gnu.org>
7208
7209 * mips64obsd-nat.c: Include "obsd-nath".
7210 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7211 add_target
7212 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7213
874a80af
MK
72142014-03-01 Mark Kettenis <kettenis@gnu.org>
7215
8fd408f1
MK
7216 * amd64obsd-nat.c: Include "obsd-nat,h.
7217 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7218 add_target.
874a80af
MK
7219 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7220
9cf95373
SC
72212014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7222
7223 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7224 (find_overload_match): Update call to find_oload_champ.
7225 (find_oload_champ_namespace_loop): Likewise
7226
863e4da4
MK
72272014-02-28 Mark Kettenis <kettenis@gnu.org>
7228
025cac40
MK
7229 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7230
1ed586ce
MK
7231 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7232 * config/sparc/obsd64.mh: New file.
7233 * sparc64obsd-nat.c: New file.
7234
863e4da4
MK
7235 * obsd-nat.h: New file.
7236 * obsd-nat.c: New file.
7237 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7238 (ALLDEPFILES): Add obsd-nat.c.
7239
89de4da4
TT
72402014-02-28 Tom Tromey <tromey@redhat.com>
7241
7242 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7243 * cli-out.h (cli_ui_out_impl): Now const.
7244 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7245 * ui-out.c (struct ui_out) <impl>: Now const.
7246 (default_ui_out_impl): Now const.
7247 (ui_out_new): Make 'impl' parameter const.
7248 * ui-out.h (ui_out_new): Update.
7249
c725e7b6
MK
72502014-02-27 Mark Kettenis <kettenis@gnu.org>
7251
7252 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7253
670b46b3
MK
72542014-02-27 Mark Kettenis <kettenis@gnu.org>
7255
7256 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7257
c91550fc
JK
72582014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 Additional PR 8882 fix.
7261 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7262
2fa0369e
PA
72632014-02-27 Pedro Alves <palves@redhat.com>
7264
7265 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7266 isn't set.
7267
d632a097
PA
72682014-02-27 Pedro Alves <palves@redhat.com>
7269
7270 PR 12702
7271 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7272 * nat/linux-waitpid.c: Include string.h.
7273 (status_to_str): Moved here and made extern.
7274 * nat/linux-waitpid.h (status_to_str): New declaration.
7275
2ebd5a35
HZ
72762014-02-27 Hui Zhu <hui@codesourcery.com>
7277
7278 PR 12702
7279 * infrun.c (ptid_match): Move ...
7280 * common/ptid.c (ptid_match): ... here.
7281 * inferior.h (ptid_match): Move ...
7282 * common/ptid.h (ptid_match): ... here.
7283
3cdd631f
MK
72842014-02-27 Mark Kettenis <kettenis@gnu.org>
7285
7286 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7287 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7288 gdb_target_obs.
7289
bee30a64
MK
72902014-02-27 Mark Kettenis <kettenis@gnu.org>
7291
7292 * obsd-tdep.c (obsd_auxv_parse): New function.
7293 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
7294
7295 * gdbarch.sh (auxv_parse): New.
7296 * gdbarch.h: Regenerated.
7297 * gdbarch.c: Regenerated.
7298 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7299
7a5a839f
LC
73002014-02-26 Ludovic Courtès <ludo@gnu.org>
7301
7302 * guile/scm-value.c (gdbscm_history_append_x): New function.
7303 (value_functions): Add it.
7304
31aa7e4e
JB
73052014-02-27 Joel Brobecker <brobecker@adacore.com>
7306
7307 * dwarf2read.c (attr_value_as_address): New function.
7308 (dwarf2_find_base_address, read_call_site_scope): Use
7309 attr_value_as_address in place of DW_ADDR.
7310 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7311 the low and high addresses. Slight rework of the handling
7312 of the high pc being a constant form, and limit it to
7313 DWARF verson 4 or higher.
7314 (dwarf2_record_block_ranges): Likewise.
7315 (read_partial_die): Likewise.
7316 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7317
9b333ba3
TT
73182014-02-26 Tom Tromey <tromey@redhat.com>
7319
7320 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7321
5f6cac40
TT
73222014-02-26 Tom Tromey <tromey@redhat.com>
7323
7324 * elfread.c (elf_read_minimal_symbols): Return early if
7325 minimal symbols have already been read. Add "ei" parameter.
7326 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7327 * minsyms.c (prim_record_minimal_symbol_full): Update.
7328 * objfiles.h (struct objstats) <n_minsyms>: Move...
7329 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7330 * symmisc.c (print_objfile_statistics): Update.
7331
2750ef27
TT
73322014-02-26 Tom Tromey <tromey@redhat.com>
7333
7334 * elfread.c (elf_read_minimal_symbols): New function, from
7335 elf_symfile_read.
7336 (elf_symfile_read): Call it.
7337
34643a32
TT
73382014-02-26 Tom Tromey <tromey@redhat.com>
7339
7340 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7341 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7342 (lookup_minimal_symbol_solib_trampoline)
7343 (lookup_minimal_symbol_by_pc_section_1)
7344 (lookup_minimal_symbol_and_objfile): Update.
7345 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7346 Don't allocate a minimal symbol if minsyms have already been read.
7347 (build_minimal_symbol_hash_tables): Update.
7348 (install_minimal_symbols): Do nothing if minsyms already read.
7349 Use the per-BFD obstack.
7350 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7351 * objfiles.c (allocate_objfile): Call
7352 terminate_minimal_symbol_table later.
7353 (have_minimal_symbols): Update.
7354 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7355 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7356 Move from struct objfile.
7357 <minsyms_read>: New field.
7358 (struct objfile) <msymbols, minimal_symbol_count,
7359 msymbol_hash, msymbol_demangled_hash>: Move.
7360 (ALL_OBJFILE_MSYMBOLS): Update.
7361 * symfile.c (read_symbols): Set minsyms_read.
7362 (reread_symbols): Update.
7363 * symmisc.c (dump_objfile, dump_msymbols): Update.
7364
2273f0ac
TT
73652014-02-26 Tom Tromey <tromey@redhat.com>
7366
7367 * minsyms.c (msymbols_sort): Remove.
7368 * minsyms.h (msymbols_sort): Remove.
7369 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7370 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7371 * elfread.c (elf_symtab_read): Don't add section offsets.
7372 * xcoffread.c (record_minimal_symbol): Don't add section offset
7373 to minimal symbol address.
7374 * somread.c (text_offset, data_offset): Remove.
7375 (som_symtab_read): Don't add section offsets to minimal symbol
7376 addresses.
7377 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7378 Don't add section offsets to minimal symbols.
7379 * coffread.c (coff_symtab_read): Don't add section offsets
7380 to minimal symbol addresses.
7381 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7382 to minimal symbol addresses.
7383 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7384 section offset to minimal symbol addresses.
7385 * mdebugread.c (parse_partial_symbols): Don't add section
7386 offset to minimal symbol addresses.
7387 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7388 offset to minimal symbol addresses.
7389
77e371c0
TT
73902014-02-26 Tom Tromey <tromey@redhat.com>
7391
7392 * ada-lang.c (ada_main_name): Update.
7393 (ada_add_standard_exceptions): Update.
7394 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7395 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7396 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7397 * auxv.c (ld_so_xfer_auxv): Update.
7398 * avr-tdep.c (avr_scan_prologue): Update.
7399 * ax-gdb.c (gen_var_ref): Update.
7400 * blockframe.c (get_pc_function_start)
7401 (find_pc_partial_function_gnu_ifunc): Update.
7402 * breakpoint.c (create_overlay_event_breakpoint)
7403 (create_longjmp_master_breakpoint)
7404 (create_std_terminate_master_breakpoint)
7405 (create_exception_master_breakpoint): Update.
7406 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7407 * c-valprint.c (c_val_print): Update.
7408 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7409 * common/agent.c (agent_look_up_symbols): Update.
7410 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7411 * dwarf2loc.c (call_site_to_target_addr): Update.
7412 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7413 * elfread.c (elf_gnu_ifunc_record_cache)
7414 (elf_gnu_ifunc_resolve_by_got): Update.
7415 * findvar.c (default_read_var_value): Update.
7416 * frame.c (inside_main_func): Update.
7417 * frv-tdep.c (frv_frame_this_id): Update.
7418 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7419 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7420 Update.
7421 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7422 (hppa_hpux_find_dummy_bpaddr): Update.
7423 * hppa-tdep.c (hppa_symbol_address): Update.
7424 * infcmd.c (until_next_command): Update.
7425 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7426 Update.
7427 * linespec.c (minsym_found, add_minsym): Update.
7428 * linux-nat.c (get_signo): Update.
7429 * linux-thread-db.c (inferior_has_bug): Update.
7430 * m32c-tdep.c (m32c_return_value)
7431 (m32c_m16c_address_to_pointer): Update.
7432 * m32r-tdep.c (m32r_frame_this_id): Update.
7433 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7434 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7435 * maint.c (maintenance_translate_address): Update.
7436 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7437 (frob_address): New function.
7438 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7439 frob_address. Rename parameter to "pc_in".
7440 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7441 addresses.
7442 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7443 Update.
7444 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7445 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7446 * objc-lang.c (find_objc_msgsend): Update.
7447 * objfiles.c (objfile_relocate1): Update.
7448 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7449 * p-valprint.c (pascal_val_print): Update.
7450 * parse.c (write_exp_msymbol): Update.
7451 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7452 (ppc_elfv2_skip_entrypoint): Update.
7453 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7454 * printcmd.c (build_address_symbolic, msym_info)
7455 (address_info): Update.
7456 * proc-service.c (ps_pglobal_lookup): Update.
7457 * psymtab.c (find_pc_sect_psymtab_closer)
7458 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7459 Change msymbol parameter to bound_minimal_symbol.
7460 * ravenscar-thread.c (get_running_thread_id): Update.
7461 * remote.c (remote_check_symbols): Update.
7462 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7463 address.
7464 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7465 * solib-dsbt.c (lm_base): Update.
7466 * solib-frv.c (lm_base, main_got): Update.
7467 * solib-irix.c (locate_base): Update.
7468 * solib-som.c (som_solib_create_inferior_hook)
7469 (link_map_start): Update.
7470 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7471 * solib-svr4.c (elf_locate_base, enable_break): Update.
7472 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7473 (flush_ea_cache): Update.
7474 * stabsread.c (define_symbol, scan_file_globals): Update.
7475 * stack.c (find_frame_funname): Update.
7476 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7477 (debug_qf_find_pc_sect_symtab): Update.
7478 * symfile.c (simple_read_overlay_table)
7479 (simple_overlay_update): Update.
7480 * symfile.h (struct quick_symbol_functions)
7481 <find_pc_sect_symtab>: Change type of msymbol to
7482 bound_minimal_symbol.
7483 * symmisc.c (dump_msymbols): Update.
7484 * symtab.c (find_pc_sect_symtab_via_partial)
7485 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7486 (search_symbols, print_msymbol_info): Update.
7487 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7488 (MSYMBOL_VALUE_ADDRESS): Redefine.
7489 (BMSYMBOL_VALUE_ADDRESS): New macro.
7490 * tracepoint.c (scope_info): Update.
7491 * tui/tui-disasm.c (tui_find_disassembly_address)
7492 (tui_get_begin_asm_address): Update.
7493 * valops.c (find_function_in_inferior): Update.
7494 * value.c (value_static_field, value_fn_field): Update.
7495
3b7344d5
TT
74962014-02-26 Tom Tromey <tromey@redhat.com>
7497
7498 * ada-lang.c (ada_update_initial_language): Update.
7499 (ada_main_name, ada_has_this_exception_support): Update.
7500 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7501 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7502 * arm-tdep.c (arm_skip_stub): Update.
7503 * auxv.c (ld_so_xfer_auxv): Update.
7504 * avr-tdep.c (avr_scan_prologue): Update.
7505 * ax-gdb.c (gen_var_ref): Update.
7506 * breakpoint.c (struct breakpoint_objfile_data)
7507 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7508 type to bound_minimal_symbol.
7509 (create_overlay_event_breakpoint)
7510 (create_longjmp_master_breakpoint)
7511 (create_std_terminate_master_breakpoint)
7512 (create_exception_master_breakpoint): Update.
7513 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7514 * c-exp.y (classify_name): Update.
7515 * coffread.c (coff_symfile_read): Update.
7516 * common/agent.c (agent_look_up_symbols): Update.
7517 * d-lang.c (d_main_name): Update.
7518 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7519 * dec-thread.c (enable_dec_thread): Update.
7520 * dwarf2loc.c (call_site_to_target_addr): Update.
7521 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7522 * eval.c (evaluate_subexp_standard): Update.
7523 * findvar.c (struct minsym_lookup_data) <result>: Change type
7524 to bound_minimal_symbol.
7525 <objfile>: Remove.
7526 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7527 * frame.c (inside_main_func): Update.
7528 * frv-tdep.c (frv_frame_this_id): Update.
7529 * gcore.c (call_target_sbrk): Update.
7530 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7531 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7532 Update.
7533 * go-lang.c (go_main_name): Update.
7534 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7535 (hppa_hpux_find_import_stub_for_addr): Update.
7536 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7537 Update. Change return type.
7538 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7539 type.
7540 * jit.c (jit_breakpoint_re_set_internal): Update.
7541 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7542 Update.
7543 * linux-nat.c (get_signo): Update.
7544 * linux-thread-db.c (inferior_has_bug): Update
7545 * m32c-tdep.c (m32c_return_value)
7546 (m32c_m16c_address_to_pointer): Update.
7547 * m32r-tdep.c (m32r_frame_this_id): Update.
7548 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7549 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7550 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7551 lookup_minimal_symbol. Change return type.
7552 (lookup_minimal_symbol): Remove.
7553 (lookup_bound_minimal_symbol): Update.
7554 (lookup_minimal_symbol_text): Change return type.
7555 (lookup_minimal_symbol_solib_trampoline): Change return type.
7556 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7557 (lookup_minimal_symbol_solib_trampoline): Change return type.
7558 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7559 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7560 (value_nsstring, find_imps): Update.
7561 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7562 * p-lang.c (pascal_main_name): Update.
7563 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7564 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7565 * proc-service.c (ps_pglobal_lookup): Update.
7566 * ravenscar-thread.c (get_running_thread_msymbol): Change
7567 return type.
7568 (has_ravenscar_runtime, get_running_thread_id): Update.
7569 * remote.c (remote_check_symbols): Update.
7570 * sol-thread.c (ps_pglobal_lookup): Update.
7571 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7572 * solib-dsbt.c (lm_base): Update.
7573 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7574 Update.
7575 * solib-irix.c (locate_base): Update.
7576 * solib-som.c (som_solib_create_inferior_hook)
7577 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7578 Update.
7579 * solib-spu.c (spu_enable_break): Update.
7580 * solib-svr4.c (elf_locate_base, enable_break): Update.
7581 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7582 (flush_ea_cache): Update.
7583 * stabsread.c (define_symbol): Update.
7584 * symfile.c (simple_read_overlay_table): Update.
7585 * symtab.c (find_pc_sect_line): Update.
7586 * tracepoint.c (scope_info): Update.
7587 * tui-disasm.c (tui_get_begin_asm_address): Update.
7588 * value.c (value_static_field): Update.
7589
40c1a007
TT
75902014-02-26 Tom Tromey <tromey@redhat.com>
7591
7592 * minsyms.c (prim_record_minimal_symbol_full): Use
7593 SET_MSYMBOL_VALUE_ADDRESS.
7594 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7595 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7596 SET_MSYMBOL_VALUE_ADDRESS.
7597 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7598 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7599
efd66ac6
TT
76002014-02-26 Tom Tromey <tromey@redhat.com>
7601
7602 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7603 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7604 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7605 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7606 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7607 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7608 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7609 * ada-lang.c (ada_main_name): Update.
7610 (ada_lookup_simple_minsym): Update.
7611 (ada_make_symbol_completion_list): Update.
7612 (ada_add_standard_exceptions): Update.
7613 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7614 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7615 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7616 * arm-tdep.c (skip_prologue_function): Update.
7617 (arm_skip_stack_protector, arm_skip_stub): Update.
7618 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7619 (arm_wince_skip_main_prologue): Update.
7620 * auxv.c (ld_so_xfer_auxv): Update.
7621 * avr-tdep.c (avr_scan_prologue): Update.
7622 * ax-gdb.c (gen_var_ref): Update.
7623 * block.c (call_site_for_pc): Update.
7624 * blockframe.c (get_pc_function_start): Update.
7625 (find_pc_partial_function_gnu_ifunc): Update.
7626 * breakpoint.c (create_overlay_event_breakpoint): Update.
7627 (create_longjmp_master_breakpoint): Update.
7628 (create_std_terminate_master_breakpoint): Update.
7629 (create_exception_master_breakpoint): Update.
7630 (resolve_sal_pc): Update.
7631 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7632 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7633 Update.
7634 * c-valprint.c (c_val_print): Update.
7635 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7636 * coffread.c (coff_symfile_read): Update.
7637 * common/agent.c (agent_look_up_symbols): Update.
7638 * dbxread.c (find_stab_function_addr): Update.
7639 (end_psymtab): Update.
7640 * dwarf2loc.c (call_site_to_target_addr): Update.
7641 (func_verify_no_selftailcall): Update.
7642 (tailcall_dump): Update.
7643 (call_site_find_chain_1): Update.
7644 (dwarf_expr_reg_to_entry_parameter): Update.
7645 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7646 (elf_gnu_ifunc_resolve_by_got): Update.
7647 * f-valprint.c (info_common_command): Update.
7648 * findvar.c (read_var_value): Update.
7649 * frame.c (get_prev_frame_1): Update.
7650 (inside_main_func): Update.
7651 * frv-tdep.c (frv_skip_main_prologue): Update.
7652 (frv_frame_this_id): Update.
7653 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7654 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7655 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7656 (gnuv3_skip_trampoline): Update.
7657 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7658 (hppa64_hpux_in_solib_call_trampoline): Update.
7659 (hppa_hpux_skip_trampoline_code): Update.
7660 (hppa64_hpux_search_dummy_call_sequence): Update.
7661 (hppa_hpux_find_import_stub_for_addr): Update.
7662 (hppa_hpux_find_dummy_bpaddr): Update.
7663 * hppa-tdep.c (hppa_symbol_address)
7664 (hppa_lookup_stub_minimal_symbol): Update.
7665 * i386-tdep.c (i386_skip_main_prologue): Update.
7666 (i386_pe_skip_trampoline_code): Update.
7667 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7668 * infcall.c (get_function_name): Update.
7669 * infcmd.c (until_next_command): Update.
7670 * jit.c (jit_breakpoint_re_set_internal): Update.
7671 (jit_inferior_init): Update.
7672 * linespec.c (minsym_found): Update.
7673 (add_minsym): Update.
7674 * linux-fork.c (info_checkpoints_command): Update.
7675 * linux-nat.c (get_signo): Update.
7676 * linux-thread-db.c (inferior_has_bug): Update.
7677 * m32c-tdep.c (m32c_return_value): Update.
7678 (m32c_m16c_address_to_pointer): Update.
7679 (m32c_m16c_pointer_to_address): Update.
7680 * m32r-tdep.c (m32r_frame_this_id): Update.
7681 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7682 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7683 * maint.c (maintenance_translate_address): Update.
7684 * minsyms.c (add_minsym_to_hash_table): Update.
7685 (add_minsym_to_demangled_hash_table): Update.
7686 (msymbol_objfile): Update.
7687 (lookup_minimal_symbol): Update.
7688 (iterate_over_minimal_symbols): Update.
7689 (lookup_minimal_symbol_text): Update.
7690 (lookup_minimal_symbol_by_pc_name): Update.
7691 (lookup_minimal_symbol_solib_trampoline): Update.
7692 (lookup_minimal_symbol_by_pc_section_1): Update.
7693 (lookup_minimal_symbol_and_objfile): Update.
7694 (prim_record_minimal_symbol_full): Update.
7695 (compare_minimal_symbols): Update.
7696 (compact_minimal_symbols): Update.
7697 (build_minimal_symbol_hash_tables): Update.
7698 (install_minimal_symbols): Update.
7699 (terminate_minimal_symbol_table): Update.
7700 (find_solib_trampoline_target): Update.
7701 (minimal_symbol_upper_bound): Update.
7702 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7703 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7704 (mips_skip_pic_trampoline_code): Update.
7705 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7706 * objc-lang.c (selectors_info): Update.
7707 (classes_info): Update.
7708 (find_methods): Update.
7709 (find_imps): Update.
7710 (find_objc_msgsend): Update.
7711 * objfiles.c (objfile_relocate1): Update.
7712 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7713 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7714 * p-valprint.c (pascal_val_print): Update.
7715 * parse.c (write_exp_msymbol): Update.
7716 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7717 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7718 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7719 * printcmd.c (build_address_symbolic): Update.
7720 (sym_info): Update.
7721 (address_info): Update.
7722 * proc-service.c (ps_pglobal_lookup): Update.
7723 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7724 (find_pc_sect_psymtab): Update.
7725 * python/py-framefilter.c (py_print_frame): Update.
7726 * ravenscar-thread.c (get_running_thread_id): Update.
7727 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7728 Update.
7729 * remote.c (remote_check_symbols): Update.
7730 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7731 (rs6000_skip_trampoline_code): Update.
7732 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7733 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7734 * solib-dsbt.c (lm_base): Update.
7735 * solib-frv.c (lm_base): Update.
7736 (main_got): Update.
7737 * solib-irix.c (locate_base): Update.
7738 * solib-som.c (som_solib_create_inferior_hook): Update.
7739 (som_solib_desire_dynamic_linker_symbols): Update.
7740 (link_map_start): Update.
7741 * solib-spu.c (spu_enable_break): Update.
7742 (ocl_enable_break): Update.
7743 * solib-svr4.c (elf_locate_base): Update.
7744 (enable_break): Update.
7745 * spu-tdep.c (spu_get_overlay_table): Update.
7746 (spu_catch_start): Update.
7747 (flush_ea_cache): Update.
7748 * stabsread.c (define_symbol): Update.
7749 (scan_file_globals): Update.
7750 * stack.c (find_frame_funname): Update.
7751 (frame_info): Update.
7752 * symfile.c (simple_read_overlay_table): Update.
7753 (simple_overlay_update): Update.
7754 * symmisc.c (dump_msymbols): Update.
7755 * symtab.c (fixup_section): Update.
7756 (find_pc_sect_line): Update.
7757 (skip_prologue_sal): Update.
7758 (search_symbols): Update.
7759 (print_msymbol_info): Update.
7760 (rbreak_command): Update.
7761 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7762 (completion_list_objc_symbol): Update.
7763 (default_make_symbol_completion_list_break_on): Update.
7764 * tracepoint.c (scope_info): Update.
7765 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7766 (tui_get_begin_asm_address): Update.
7767 * valops.c (find_function_in_inferior): Update.
7768 * value.c (value_static_field): Update.
7769 (value_fn_field): Update.
7770
50e65b17
TT
77712014-02-26 Tom Tromey <tromey@redhat.com>
7772
7773 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7774 bound minimal symbols. Move code that knows about minsym
7775 table layout...
7776 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7777 function.
7778 * minsyms.h (minimal_symbol_upper_bound): Declare.
7779 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7780 minimal_symbol_upper_bound.
7781
1b588015
JB
77822014-02-27 Joel Brobecker <brobecker@adacore.com>
7783
7784 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7785 Use the type's name if its basic type does not have a tag.
7786
dbb9c2b1
JB
77872014-02-27 Joel Brobecker <brobecker@adacore.com>
7788
7789 * dwarf2read.c (read_subrange_type): Add comment.
7790
55426c9d
JB
77912014-02-27 Joel Brobecker <brobecker@adacore.com>
7792
7793 * dwarf2read.c (update_enumeration_type_from_children): New
7794 function, mostly extracted from process_structure_scope.
7795 (read_enumeration_type): Call update_enumeration_type_from_children.
7796 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7797 and flag_flag_enum fields.
7798
f2fce0ca
PA
77992014-02-26 Pedro Alves <palves@redhat.com>
7800
7801 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7802 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7803 to_xfer_partial method.
7804
7a44e40e
PA
78052014-02-26 Pedro Alves <palves@redhat.com>
7806
7807 * target.c (complete_target_initialization): Don't install
7808 default_xfer_partial as to_xfer_partial hook.
7809 (nomemory): Delete.
7810 (update_current_target): Don't INHERIT nor de_fault
7811 deprecated_xfer_memory. Delete de_fault macro.
7812 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7813 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7814 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7815 field.
7816
bd265cd0
PA
78172014-02-26 Pedro Alves <palves@redhat.com>
7818
7819 * go32-nat.c (my_write_child): New function.
7820 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7821 (go32_xfer_partial): New function.
7822 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7823 Instead install a to_xfer_partial hook.
7824
9d46c4e5
PA
78252014-02-26 Pedro Alves <palves@redhat.com>
7826
7827 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7828 to_xfer_partial helper. Rewrite.
7829 (procfs_xfer_partial): New function.
7830 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7831 Install a to_xfer_partial hook.
7832
a1583b1f
PA
78332014-02-26 Pedro Alves <palves@redhat.com>
7834
7835 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7836 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7837 (m32r_xfer_partial): New function.
7838 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7839 Install a to_xfer_partial hook.
7840
6df1b29f
PA
78412014-02-26 Pedro Alves <palves@redhat.com>
7842
7843 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7844 helper.
7845 (mips_xfer_partial): New function.
7846 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7847 hook. Install a to_xfer_partial hook.
7848
dc53a7ad
JB
78492014-02-26 Joel Brobecker <brobecker@adacore.com>
7850
7851 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7852 * gdbtypes.c (create_array_type_with_stride): New function,
7853 renaming create_array_type, but with an added parameter
7854 called "bit_stride".
7855 (create_array_type): Re-implement using
7856 create_array_type_with_stride.
7857 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7858 and DW_AT_bit_stride attributes.
7859
12ab52e9
PA
78602014-02-26 Pedro Alves <palves@redhat.com>
7861
7862 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7863 task-specific breakpoints.
7864
d16461ae
PA
78652014-02-25 Pedro Alves <palves@redhat.com>
7866
7867 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7868 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7869
a8b16220
SS
78702014-02-25 Stan Shebs <stan@codesourcery.com>
7871
7872 * defs.h: Annotate comments for Doxygen.
7873
b9e795ee
TT
78742014-02-25 Tom Tromey <tromey@redhat.com>
7875
7876 * target.h (target_ignore): Don't declare.
7877 * target.c (target_ignore): Remove.
7878
849c862e
JK
78792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7880
7881 PR gdb/16626
7882 * auto-load.c (auto_load_objfile_script_1): Change filename to
7883 debugfile.
7884
475109d8
JB
78852014-02-25 Joel Brobecker <brobecker@adacore.com>
7886
7887 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7888 documentation. Adjust prototype to match the target_ops
7889 to_xfer_partial method. Adjust implementation accordingly.
7890
e186c3bd
HZ
78912014-02-25 Hui Zhu <hui@codesourcery.com>
7892
7893 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7894 to_traceframe_info.
7895
6d451942
KB
78962014-02-25 Kevin Buettner <kevinb@redhat.com>
7897
041ab8b4 7898 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7899 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7900 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7901 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7902 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7903 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7904 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7905 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7906 New constants.
7907 (rl78_register_type): Use a data pointer type for SP and
7908 new pseudo registers mentioned above. Use a 16 bit integer
7909 type for all other register pairs.
7910 (rl78_register_name, rl78_g10_register_name): Update for
7911 new pseudo registers.
7912 (rl78_pseudo_register_read): Likewise.
7913 (rl78_pseudo_register_write): Likewise.
7914 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7915 to the newly added pseudo registers.
7916
eddf0bae
DE
79172014-02-24 Doug Evans <dje@google.com>
7918
7919 * value.c (record_latest_value): Fix comment.
7920 * printcmd.c (print_command_1): Remove code to handle -1 return from
7921 record_latest_value.
7922
e96027e0
PA
79232014-02-24 Pedro Alves <palves@redhat.com>
7924
7925 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7926 deprecated_xfer_memory hook.
7927 (procfs_xfer_partial): Call procfs_xfer_memory instead
7928 of the deprecated_xfer_memory target hook.
7929 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7930 helper.
7931
0837c976
YZ
79322014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7933
7934 * windows-nat.c (windows_xfer_shared_libraries): Return
7935 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7936 requested object is TARGET_OBJECT_LIBRARIES.
7937
bc113b4e
YQ
79382014-02-24 Yao Qi <yao@codesourcery.com>
7939
7940 * target.h (enum target_xfer_status)
7941 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7942 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7943 explicitly. New.
7944 * corefile.c (memory_error_message): User updated.
7945 * exec.c (section_table_read_available_memory): Likewise.
7946 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7947 * target.c (target_xfer_status_to_string): Likewise.
7948 (raw_memory_xfer_partial): Likewise.
7949 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7950 * valops.c (read_value_memory): Likewise.
7951 * exec.h: Update comments.
7952
01cb8804
YQ
79532014-02-24 Yao Qi <yao@codesourcery.com>
7954
7955 * target.c (target_xfer_status_to_string): Rename argument err
7956 to status.
7957 * target.h (target_xfer_status_to_string): Update declaration.
7958 Replace target_xfer_error_to_string with
7959 target_xfer_status_to_string in comment.
7960
93063aa6
YQ
79612014-02-24 Yao Qi <yao@codesourcery.com>
7962
7963 * mips-linux-nat.c (super_close): Update its type.
7964 (mips_linux_close): Pass 'self' to super_close.
7965
5c328c05
YQ
79662014-02-24 Yao Qi <yao@codesourcery.com>
7967
7968 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7969 * corefile.c (read_memory): Adjusted.
7970 * target.c (target_write_with_progress): Adjusted.
7971
f73023dd
YQ
79722014-02-23 Yao Qi <yao@codesourcery.com>
7973
7974 Revert two patches:
7975
7976 2013-10-25 Yao Qi <yao@codesourcery.com>
7977
7978 * remote.c (remote_traceframe_info): Return early if
7979 traceframe is not selected.
7980
7981 2013-07-19 Yao Qi <yao@codesourcery.com>
7982
7983 * target.c (update_current_target): Change the default action
7984 of 'to_traceframe_info' from tcomplain to return_zero.
7985 * target.h (struct target_ops) <to_traceframe_info>: Add more
7986 comments.
7987
5a2eb0ef
YQ
79882014-02-23 Yao Qi <yao@codesourcery.com>
7989
7990 * valops.c (read_value_memory): Rewrite it. Call
7991 target_xfer_partial in a loop.
7992 * exec.h (section_table_available_memory): Remove declaration.
7993 Move comments to ...
7994 * exec.c (section_table_available_memory): ... here. Make it
7995 static.
7996
1ee79381
YQ
79972014-02-23 Yao Qi <yao@codesourcery.com>
7998
7999 * exec.c (section_table_read_available_memory): New function.
8000 * exec.h (section_table_read_available_memory): Declare.
8001 * ctf.c (ctf_xfer_partial): Call
8002 section_table_read_available_memory.
8003 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8004
1ca49d37
YQ
80052014-02-23 Yao Qi <yao@codesourcery.com>
8006
8007 * ctf.c (ctf_xfer_partial): Move code to ...
8008 * exec.c (exec_read_partial_read_only): ... it. New function.
8009 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8010 * tracefile.c: Include "exec.h".
8011 * exec.h (exec_read_partial_read_only): Declare.
8012
a283690e
YQ
80132014-02-23 Yao Qi <yao@codesourcery.com>
8014
8015 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8016 (tfile_has_memory): Remove.
8017 (init_tfile_ops): Don't set fields to_has_all_memory and
8018 to_has_memory of tfile_ops.
8019 * tracefile.c (tracefile_has_all_memory): New function.
8020 (tracefile_has_memory): New function.
8021 (init_tracefile_ops): Initialize fields to_has_all_memory and
8022 to_has_memory of 'ops'.
8023
12e03cd0
YQ
80242014-02-23 Yao Qi <yao@codesourcery.com>
8025
8026 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8027 (ctf_thread_alive, ctf_get_trace_status): Remove.
8028 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8029 init_tracefile_ops.
8030 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8031 (tfile_has_stack, tfile_has_registers): Remove.
8032 (tfile_thread_alive): Remove.
8033 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8034 init_tracefile_ops.
8035 * tracefile.c (tracefile_has_stack): New function.
8036 (tracefile_has_registers): New function.
8037 (tracefile_thread_alive): New function.
8038 (tracefile_get_trace_status): New function.
8039 (init_tracefile_ops): New function.
8040 * tracefile.h (init_tracefile_ops): Declare.
8041
11395323
YQ
80422014-02-23 Yao Qi <yao@codesourcery.com>
8043
8044 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8045 (O_LARGEFILE): Likewise.
8046 (tfile_ops): Likewise.
8047 (TRACE_HEADER_SIZE): Likewise.
8048 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8049 (cur_data_size): Likewise.
8050 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8051 (tfile_close, tfile_files_info): Likewise.
8052 (tfile_get_trace_status): Likewise.
8053 (tfile_get_tracepoint_status): Likewise.
8054 (tfile_get_traceframe_address): Likewise.
8055 (tfile_trace_find, match_blocktype): Likewise.
8056 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8057 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8058 (tfile_get_trace_state_variable_value): Likewise.
8059 (tfile_has_all_memory, tfile_has_memory): Likewise.
8060 (tfile_has_stack, tfile_has_registers): Likewise.
8061 (tfile_thread_alive, build_traceframe_info): Likewise.
8062 (tfile_traceframe_info, init_tfile_ops): Likewise.
8063 (_initialize_tracepoint): Don't call init_tfile_ops
8064 and add_target_with_completer.
8065 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8066 exec.h, completer.h and filenames.h.
8067 (_initialize_tracefile_tfile): New function.
8068
7951c4eb
YQ
80692014-02-23 Yao Qi <yao@codesourcery.com>
8070
8071 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8072 tracefile-tfile.o.
8073 (HFILES_NO_SRCDIR): Add tracefile.h.
8074 * ctf.c: Include "tracefile.h".
8075 * tracefile.h: New file.
8076 * tracefile.c: New file
8077 * tracefile-tfile.c: New file.
8078 * tracepoint.c: Include "tracefile.h".
8079 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8080 (stop_reason_names): Add const.
8081 (trace_file_writer_xfree): Move it to tracefile.c.
8082 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8083 (trace_save_ctf): Likewise.
8084 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8085 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8086 (tfile_write_header, tfile_write_regblock_type): Likewise.
8087 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8088 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8089 (tfile_write_raw_data, tfile_end): Likewise.
8090 (tfile_trace_file_writer_new): Likewise.
8091 (free_uploaded_tp): Make it extern.
8092 (free_uploaded_tsv): Make it extern.
8093 (_initialize_tracepoint): Move code to register command 'tsave'
8094 to tracefile.c.
8095 * tracepoint.h (stop_reason_names): Declare.
8096 (struct trace_frame_write_ops): Move it to tracefile.h.
8097 (struct trace_file_write_ops): Likewise.
8098 (struct trace_file_writer): Likewise.
8099 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8100
184cd072
JK
81012014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 PR gdb/16594
8104 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8105 process name.
8106 (get_cores_used_by_process): New parameter num_cores, use it.
8107 (linux_xfer_osdata_processes): Pass num_cores to it.
8108 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8109 process name.
8110
c63528fc
AK
81112014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8112
8113 * target.c (memory_xfer_partial): Fix length arg in call to
8114 breakpoint_xfer_memory.
8115
d7b30f67
SDJ
81162014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8117
8118 PR tdep/16397
8119 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8120 number comes after the + or - signs. Adjust length of register
8121 name to be extracted.
8122
8838afaf
TT
81232014-02-20 Tom Tromey <tromey@redhat.com>
8124
8125 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8126 (ada_varobj_ops): Mark "extern".
8127
05227d14
TT
81282014-02-20 Tom Tromey <tromey@redhat.com>
8129
8130 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8131
1254eefc
DE
81322014-02-20 Doug Evans <xdje42@gmail.com>
8133
8134 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8135 All callers updated.
8136 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8137 All callers updated.
8138 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8139 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8140
adde2bff
DE
81412014-02-20 lin zuojian <manjian2006@gmail.com>
8142 Joel Brobecker <brobecker@adacore.com>
8143 Doug Evans <xdje42@gmail.com>
8144
8145 PR symtab/16581
8146 * dwarf2read.c (struct die_info): New member in_process.
8147 (reset_die_in_process): New function.
8148 (process_die): Set it at the start, reset when returning.
8149 (inherit_abstract_dies): Only call process_die if origin_child_die
8150 not already being processed.
8151
3be75f87
JB
81522014-02-20 Joel Brobecker <brobecker@adacore.com>
8153
8154 * windows-nat.c (handle_unload_dll): Add function documentation.
8155 (do_initial_windows_stuff): Add comment explaining why we wait
8156 until after inferior initialization has finished before
8157 processing all DLLs.
8158
47f7ffdb
JB
81592014-02-20 Joel Brobecker <brobecker@adacore.com>
8160
8161 * windows-nat.c (get_module_name): Delete.
8162 (windows_get_exec_module_filename): New function, mostly
8163 inspired from get_module_name.
8164 (windows_pid_to_exec_file): Replace call to get_module_name
8165 by call to windows_get_exec_module_filename.
8166
1cd9feab
JB
81672014-02-20 Joel Brobecker <brobecker@adacore.com>
8168
8169 * windows-nat.c (handle_load_dll): Rewrite this function's
8170 introductory comment. Remove code using get_module_name
8171 to get the DLL's name.
8172
ea39ad35
JB
81732014-02-20 Joel Brobecker <brobecker@adacore.com>
8174
8175 * windows-nat.c (get_windows_debug_event): Ignore
8176 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8177 if windows_initialization_done == 0.
8178 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8179 Adjust implementation to always load all DLLs.
8180 (do_initial_windows_stuff): Replace call to
8181 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8182
95060284
JB
81832014-02-20 Joel Brobecker <brobecker@adacore.com>
8184
8185 * windows-nat.c (_initialize_windows_nat): Deprecate the
8186 "dll-symbols" command. Turn the "add-shared-symbol-files"
8187 and "assf" aliases into commands, and deprecate them as well.
8188 * NEWS: Add entry explaining that "dll-symbols" and its two
8189 aliases are now deprecated.
8190
8d4fdb12
JB
81912014-02-20 Joel Brobecker <brobecker@adacore.com>
8192
8193 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8194 new-line in debug string. Remove trailing spaces.
8195
1b281443
SS
81962014-02-19 Stan Shebs <stan@codesourcery.com>
8197
8198 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8199
f7bd0f78
SC
82002014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8201
8202 * NEWS: Add entry for the new feature
8203 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8204 and class values.
8205
399ebc3d
SS
82062014-02-19 Stan Shebs <stan@codesourcery.com>
8207
8208 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8209
c658158d
PA
82102014-02-19 Pedro Alves <palves@redhat.com>
8211
8212 * common/ptid.h (struct ptid): Mention that process_stratum
8213 targets should prefer ptid.lwp.
8214
ba348170
PA
82152014-02-19 Pedro Alves <palves@redhat.com>
8216
8217 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8218 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8219 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8220 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8221 store remote thread ids rather than ptid.tid.
8222 (_initialize_remote): Adjust.
8223
ac01945b
TT
82242014-02-19 Tom Tromey <tromey@redhat.com>
8225
8226 * target.c (target_get_unwinder): Rewrite.
8227 (target_get_tailcall_unwinder): Rewrite.
8228 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8229 (record_btrace_to_get_tailcall_unwinder): New function.
8230 (init_record_btrace_ops): Update.
8231 * target.h (struct target_ops) <to_get_unwinder,
8232 to_get_tailcall_unwinder>: Now function pointers. Use
8233 TARGET_DEFAULT_RETURN.
8234
8476dc92
TT
82352014-02-19 Tom Tromey <tromey@redhat.com>
8236
8237 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8238 argument.
8239 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8240
c0eca49f
TT
82412014-02-19 Tom Tromey <tromey@redhat.com>
8242
8243 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8244 directly.
8245 * target-delegates.c: Rebuild.
8246 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8247 TARGET_DEFAULT_FUNC.
8248 * target.c (default_target_decr_pc_after_break): Rename from
8249 forward_target_decr_pc_after_break. Simplify.
8250 (target_decr_pc_after_break): Rely on delegation.
8251
596b6b39
TT
82522014-02-19 Tom Tromey <tromey@redhat.com>
8253
8254 * target.c (update_current_target): Do not INHERIT to_doc or
8255 to_magic. Do not de_fault to_open or to_close.
8256
b427c1bc
TT
82572014-02-19 Tom Tromey <tromey@redhat.com>
8258
8259 * gcore.h (objfile_find_memory_regions): Declare.
8260 * gcore.c (objfile_find_memory_regions): No longer static. Add
8261 "self" argument.
8262 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8263 * exec.c: Include gcore.h.
8264 (exec_set_find_memory_regions): Remove.
8265 (exec_find_memory_regions): Remove.
8266 (exec_do_find_memory_regions): Remove.
8267 (init_exec_ops): Update.
8268 * defs.h (exec_set_find_memory_regions): Remove.
8269
9b144037
TT
82702014-02-19 Tom Tromey <tromey@redhat.com>
8271
8272 * target-delegates.c: Rebuild.
8273 * target.h (struct target_ops) <to_extra_thread_info,
8274 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8275 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8276 not 0, in TARGET_DEFAULT_RETURN.
8277
555bbdeb
TT
82782014-02-19 Tom Tromey <tromey@redhat.com>
8279
8280 * target.c (complete_target_initialization): Remove casts. Use
8281 return_zero_has_execution.
8282 (return_zero): Add "ignore" argument.
8283 (return_zero_has_execution): New function.
8284 (init_dummy_target): Remove casts. Use
8285 return_zero_has_execution.
8286
be4ddd36
TT
82872014-02-19 Tom Tromey <tromey@redhat.com>
8288
8289 * target.c (update_current_target): Update comments. Do not
8290 INHERIT to_stratum.
8291
2117c711
TT
82922014-02-19 Tom Tromey <tromey@redhat.com>
8293
8294 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8295 needed.
8296 * corelow.c (core_read_description): Delegate when needed.
8297 * remote.c (remote_read_description): Delegate when needed.
8298 * target-delegates.c: Rebuild.
8299 * target.c (target_read_description): Rewrite.
8300 * target.h (struct target_ops) <to_read_description>: Update
8301 comment. Use TARGET_DEFAULT_RETURN.
8302
e88ef65c
TT
83032014-02-19 Tom Tromey <tromey@redhat.com>
8304
8305 * target-delegates.c: Rebuild.
8306 * target.c (update_current_target): Don't inherit or default
8307 to_can_run.
8308 (find_default_run_target): Check against delegate_can_run.
8309 * target.h (struct target_ops) <to_can_run>: Use
8310 TARGET_DEFAULT_RETURN.
8311
86a0854a
TT
83122014-02-19 Tom Tromey <tromey@redhat.com>
8313
8314 * target-delegates.c: Rebuild.
8315 * target.c (target_disconnect): Unconditionally delegate.
8316 * target.h (struct target_ops) <to_disconnect>: Use
8317 TARGET_DEFAULT_NORETURN.
8318
ee97f592
TT
83192014-02-19 Tom Tromey <tromey@redhat.com>
8320
8321 * record.c (record_stop): Unconditionally delegate.
8322 * target-delegates.c: Rebuild.
8323 * target.c (target_stop_recording): Unconditionally delegate.
8324 * target.h (struct target_ops) <to_stop_recording>: Use
8325 TARGET_DEFAULT_IGNORE.
8326
6dc7fcf4
TT
83272014-02-19 Tom Tromey <tromey@redhat.com>
8328
8329 * target-delegates.c: Rebuild.
8330 * target.c (target_enable_btrace): Unconditionally delegate.
8331 * target.h (struct target_ops) <to_enable_btrace>: Use
8332 TARGET_DEFAULT_NORETURN.
8333
eb5b20d4
TT
83342014-02-19 Tom Tromey <tromey@redhat.com>
8335
8336 * target-delegates.c: Rebuild.
8337 * target.c (target_read_btrace): Unconditionally delegate.
8338 * target.h (struct target_ops) <to_read_btrace>: Use
8339 TARGET_DEFAULT_NORETURN.
8340
9ace480d
TT
83412014-02-19 Tom Tromey <tromey@redhat.com>
8342
8343 * target-delegates.c: Rebuild.
8344 * target.c (target_teardown_btrace): Unconditionally delegate.
8345 * target.h (struct target_ops) <to_teardown_btrace>: Use
8346 TARGET_DEFAULT_NORETURN.
8347
8dc292d3
TT
83482014-02-19 Tom Tromey <tromey@redhat.com>
8349
8350 * target-delegates.c: Rebuild.
8351 * target.c (target_disable_btrace): Unconditionally delegate.
8352 * target.h (struct target_ops) <to_disable_btrace>: Use
8353 TARGET_DEFAULT_NORETURN.
8354
58a5184e
TT
83552014-02-19 Tom Tromey <tromey@redhat.com>
8356
8357 * target-delegates.c: Rebuild.
8358 * target.c (default_search_memory): New function.
8359 (simple_search_memory): Update comment.
8360 (target_search_memory): Unconditionally delegate.
8361 * target.h (struct target_ops) <to_search_memory>: Use
8362 TARGET_DEFAULT_FUNC.
8363
8de71aab
TT
83642014-02-19 Tom Tromey <tromey@redhat.com>
8365
8366 * auxv.c (default_auxv_parse): No longer static.
8367 (target_auxv_parse): Unconditionally delegate.
8368 * auxv.h (default_auxv_parse): Declare.
8369 * target-delegates.c: Rebuild.
8370 * target.c: Include auxv.h.
8371 * target.h (struct target_ops) <to_auxv_parse>: Use
8372 TARGET_DEFAULT_FUNC.
8373
6b2c5a57
TT
83742014-02-19 Tom Tromey <tromey@redhat.com>
8375
8376 * target-delegates.c: Rebuild.
8377 * target.c (target_memory_map): Unconditionally delegate.
8378 * target.h (struct target_ops) <to_memory_map>: Use
8379 TARGET_DEFAULT_RETURN.
8380
cbffc065
TT
83812014-02-19 Tom Tromey <tromey@redhat.com>
8382
8383 * target-delegates.c: Rebuild.
8384 * target.c (target_thread_alive): Unconditionally delegate.
8385 * target.h (struct target_ops) <to_thread_alive>: Use
8386 TARGET_DEFAULT_RETURN.
8387
f09e2107
TT
83882014-02-19 Tom Tromey <tromey@redhat.com>
8389
8390 * target-delegates.c: Rebuild.
8391 * target.c (target_save_record): Unconditionally delegate.
8392 * target.h (struct target_ops) <to_save_record>: Use
8393 TARGET_DEFAULT_NORETURN.
8394
07366925
TT
83952014-02-19 Tom Tromey <tromey@redhat.com>
8396
8397 * target-delegates.c: Rebuild.
8398 * target.c (target_delete_record): Unconditionally delegate.
8399 * target.h (struct target_ops) <to_delete_record>: Use
8400 TARGET_DEFAULT_NORETURN.
8401
dd2e9d25
TT
84022014-02-19 Tom Tromey <tromey@redhat.com>
8403
8404 * target-delegates.c: Rebuild.
8405 * target.c (target_record_is_replaying): Unconditionally
8406 delegate.
8407 * target.h (struct target_ops) <to_record_is_replaying>: Use
8408 TARGET_DEFAULT_RETURN.
8409
671e76cc
TT
84102014-02-19 Tom Tromey <tromey@redhat.com>
8411
8412 * target-delegates.c: Rebuild.
8413 * target.c (target_goto_record_begin): Unconditionally delegate.
8414 * target.h (struct target_ops) <to_goto_record_begin>: Use
8415 TARGET_DEFAULT_NORETURN.
8416
e9179bb3
TT
84172014-02-19 Tom Tromey <tromey@redhat.com>
8418
8419 * target-delegates.c: Rebuild.
8420 * target.c (target_goto_record_end): Unconditionally delegate.
8421 * target.h (struct target_ops) <to_goto_record_end>: Use
8422 TARGET_DEFAULT_NORETURN.
8423
05969c84
TT
84242014-02-19 Tom Tromey <tromey@redhat.com>
8425
8426 * target-delegates.c: Rebuild.
8427 * target.c (target_goto_record): Unconditionally delegate.
8428 * target.h (struct target_ops) <to_goto_record>: Use
8429 TARGET_DEFAULT_NORETURN.
8430
3679abfa
TT
84312014-02-19 Tom Tromey <tromey@redhat.com>
8432
8433 * target-delegates.c: Rebuild.
8434 * target.c (target_insn_history): Unconditionally delegate.
8435 * target.h (struct target_ops) <to_insn_history>: Use
8436 TARGET_DEFAULT_NORETURN.
8437
8444ab58
TT
84382014-02-19 Tom Tromey <tromey@redhat.com>
8439
8440 * target-delegates.c: Rebuild.
8441 * target.c (target_insn_history_from): Unconditionally delegate.
8442 * target.h (struct target_ops) <to_insn_history_from>: Use
8443 TARGET_DEFAULT_NORETURN.
8444
c29302cc
TT
84452014-02-19 Tom Tromey <tromey@redhat.com>
8446
8447 * target-delegates.c: Rebuild.
8448 * target.c (target_insn_history_range): Unconditionally delegate.
8449 * target.h (struct target_ops) <to_insn_history_range>: Use
8450 TARGET_DEFAULT_NORETURN.
8451
170049d4
TT
84522014-02-19 Tom Tromey <tromey@redhat.com>
8453
8454 * target-delegates.c: Rebuild.
8455 * target.c (target_call_history): Unconditionally delegate.
8456 * target.h (struct target_ops) <to_call_history>: Use
8457 TARGET_DEFAULT_NORETURN.
8458
16fc27d6
TT
84592014-02-19 Tom Tromey <tromey@redhat.com>
8460
8461 * target-delegates.c: Rebuild.
8462 * target.c (target_call_history_from): Unconditionally delegate.
8463 * target.h (struct target_ops) <to_call_history_from>: Use
8464 TARGET_DEFAULT_NORETURN.
8465
115d9817
TT
84662014-02-19 Tom Tromey <tromey@redhat.com>
8467
8468 * target-delegates.c: Rebuild.
8469 * target.c (target_call_history_range): Unconditionally delegate.
8470 * target.h (struct target_ops) <to_call_history_range>: Use
8471 TARGET_DEFAULT_NORETURN.
8472
eb276a6b
TT
84732014-02-19 Tom Tromey <tromey@redhat.com>
8474
8475 * target-delegates.c: Rebuild.
8476 * target.c (target_verify_memory): Unconditionally delegate.
8477 * target.h (struct target_ops) <to_verify_memory>: Use
8478 TARGET_DEFAULT_NORETURN.
8479
9e538d0d
TT
84802014-02-19 Tom Tromey <tromey@redhat.com>
8481
8482 * target-delegates.c: Rebuild.
8483 * target.c (target_core_of_thread): Unconditionally delegate.
8484 * target.h (struct target_ops) <to_core_of_thread>: Use
8485 TARGET_DEFAULT_RETURN.
8486
f6fb2925
TT
84872014-02-19 Tom Tromey <tromey@redhat.com>
8488
8489 * target-delegates.c: Rebuild.
8490 * target.c (target_flash_done): Unconditionally delegate.
8491 * target.h (struct target_ops) <to_flash_done>: Use
8492 TARGET_DEFAULT_NORETURN.
8493
e8a6c6ac
TT
84942014-02-19 Tom Tromey <tromey@redhat.com>
8495
8496 * target-delegates.c: Rebuild.
8497 * target.c (target_flash_erase): Unconditionally delegate.
8498 * target.h (struct target_ops) <to_flash_erase>: Use
8499 TARGET_DEFAULT_NORETURN.
8500
7e35c012
TT
85012014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * target-delegates.c: Rebuild.
8504 * target.c (target_get_section_table): Unconditionally delegate.
8505 * target.h (struct target_ops) <to_get_section_table>: Use
8506 TARGET_DEFAULT_RETURN.
8507
770234d3
TT
85082014-02-19 Tom Tromey <tromey@redhat.com>
8509
8510 * target-delegates.c: Rebuild.
8511 * target.c (target_pid_to_str): Unconditionally delegate.
8512 (init_dummy_target): Don't initialize to_pid_to_str.
8513 (default_pid_to_str): Rename from dummy_pid_to_str.
8514 * target.h (struct target_ops) <to_pid_to_str>: Use
8515 TARGET_DEFAULT_FUNC.
8516
09b0dc2b
TT
85172014-02-19 Tom Tromey <tromey@redhat.com>
8518
8519 * target-delegates.c: Rebuild.
8520 * target.c (target_find_new_threads): Unconditionally delegate.
8521 * target.h (struct target_ops) <to_find_new_threads>: Use
8522 TARGET_DEFAULT_RETURN.
8523
7d4f8efa
TT
85242014-02-19 Tom Tromey <tromey@redhat.com>
8525
8526 * target-delegates.c: Rebuild.
8527 * target.c (target_program_signals): Unconditionally delegate.
8528 * target.h (struct target_ops) <to_program_signals>: Use
8529 TARGET_DEFAULT_IGNORE.
8530
035cad7f
TT
85312014-02-19 Tom Tromey <tromey@redhat.com>
8532
8533 * target-delegates.c: Rebuild.
8534 * target.c (target_pass_signals): Unconditionally delegate.
8535 * target.h (struct target_ops) <to_pass_signals>: Use
8536 TARGET_DEFAULT_IGNORE.
8537
8d657035
TT
85382014-02-19 Tom Tromey <tromey@redhat.com>
8539
8540 * target-delegates.c: Rebuild.
8541 * target.c (default_mourn_inferior): New function.
8542 (target_mourn_inferior): Unconditionally delegate.
8543 * target.h (struct target_ops) <to_mourn_inferior>: Use
8544 TARGET_DEFAULT_FUNC.
8545
098dba18
TT
85462014-02-19 Tom Tromey <tromey@redhat.com>
8547
8548 * target-delegates.c: Rebuild.
8549 * target.c (default_follow_fork): New function.
8550 (target_follow_fork): Unconditionally delegate.
8551 * target.h (struct target_ops) <to_follow_fork>: Use
8552 TARGET_DEFAULT_FUNC.
8553
423a4807
TT
85542014-02-19 Tom Tromey <tromey@redhat.com>
8555
8556 * target-delegates.c: Rebuild.
8557 * target.c (target_kill): Unconditionally delegate.
8558 * target.h (struct target_ops) <to_kill>: Use
8559 TARGET_DEFAULT_NORETURN.
8560
6c7e5e5c
TT
85612014-02-19 Tom Tromey <tromey@redhat.com>
8562
8563 * target-delegates.c: Rebuild.
8564 * target.c (target_masked_watch_num_registers): Unconditionally
8565 delegate.
8566 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8567 Use TARGET_DEFAULT_RETURN.
8568
8b1c364c
TT
85692014-02-19 Tom Tromey <tromey@redhat.com>
8570
8571 * target-delegates.c: Rebuild.
8572 * target.c (target_remove_mask_watchpoint): Unconditionally
8573 delegate.
8574 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8575 TARGET_DEFAULT_RETURN.
8576
cd4ae029
TT
85772014-02-19 Tom Tromey <tromey@redhat.com>
8578
8579 * target-delegates.c: Rebuild.
8580 * target.c (target_insert_mask_watchpoint): Unconditionally
8581 delegate.
8582 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8583 TARGET_DEFAULT_RETURN.
8584
a134316b
TT
85852014-02-19 Tom Tromey <tromey@redhat.com>
8586
8587 * target-delegates.c: Rebuild.
8588 * target.c (target_ranged_break_num_registers): Unconditionally
8589 delegate.
8590 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8591 Use TARGET_DEFAULT_RETURN.
8592
ad5989bd
TT
85932014-02-19 Tom Tromey <tromey@redhat.com>
8594
8595 * target-delegates.c: Rebuild.
8596 * target.c (target_fetch_registers): Unconditionally delegate.
8597 * target.h (struct target_ops) <to_fetch_registers>: Use
8598 TARGET_DEFAULT_NORETURN.
8599
46ee7e8d
TT
86002014-02-19 Tom Tromey <tromey@redhat.com>
8601
8602 * target-delegates.c: Rebuild.
8603 * target.c (update_current_target): Don't inherit or default
8604 to_stop.
8605 * target.h (struct target_ops) <to_stop>: Use
8606 TARGET_DEFAULT_IGNORE.
8607
843f59ed
TT
86082014-02-19 Tom Tromey <tromey@redhat.com>
8609
8610 * target-delegates.c: Rebuild.
8611 * target.c (update_current_target): Don't inherit or default
8612 to_can_run_breakpoint_commands.
8613 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8614 Use TARGET_DEFAULT_RETURN.
8615
ccfde2a0
TT
86162014-02-19 Tom Tromey <tromey@redhat.com>
8617
8618 * target-delegates.c: Rebuild.
8619 * target.c (update_current_target): Don't inherit or default
8620 to_supports_evaluation_of_breakpoint_conditions.
8621 * target.h (struct target_ops)
8622 <to_supports_evaluation_of_breakpoint_conditions>: Use
8623 TARGET_DEFAULT_RETURN.
8624
0de91722
TT
86252014-02-19 Tom Tromey <tromey@redhat.com>
8626
8627 * target-delegates.c: Rebuild.
8628 * target.c (update_current_target): Don't inherit or default
8629 to_augmented_libraries_svr4_read.
8630 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8631 Use TARGET_DEFAULT_RETURN.
8632
9a7d8b48
TT
86332014-02-19 Tom Tromey <tromey@redhat.com>
8634
8635 * target-delegates.c: Rebuild.
8636 * target.c (update_current_target): Don't inherit or default
8637 to_can_use_agent.
8638 * target.h (struct target_ops) <to_can_use_agent>: Use
8639 TARGET_DEFAULT_RETURN.
8640
d9db5b21
TT
86412014-02-19 Tom Tromey <tromey@redhat.com>
8642
8643 * target-delegates.c: Rebuild.
8644 * target.c (update_current_target): Don't inherit or default
8645 to_use_agent.
8646 * target.h (struct target_ops) <to_use_agent>: Use
8647 TARGET_DEFAULT_NORETURN.
8648
92155eeb
TT
86492014-02-19 Tom Tromey <tromey@redhat.com>
8650
8651 * target-delegates.c: Rebuild.
8652 * target.c (update_current_target): Don't inherit or default
8653 to_traceframe_info.
8654 (return_null): Remove.
8655 * target.h (struct target_ops) <to_traceframe_info>: Use
8656 TARGET_DEFAULT_RETURN.
8657
d6522a22
TT
86582014-02-19 Tom Tromey <tromey@redhat.com>
8659
8660 * target-delegates.c: Rebuild.
8661 * target.c (update_current_target): Don't inherit or default
8662 to_static_tracepoint_markers_by_strid.
8663 * target.h (struct target_ops)
8664 <to_static_tracepoint_markers_by_strid>: Use
8665 TARGET_DEFAULT_NORETURN.
8666
4c3e4425
TT
86672014-02-19 Tom Tromey <tromey@redhat.com>
8668
8669 * target-delegates.c: Rebuild.
8670 * target.c (update_current_target): Don't inherit or default
8671 to_static_tracepoint_marker_at.
8672 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8673 Use TARGET_DEFAULT_RETURN.
8674
dcd6917f
TT
86752014-02-19 Tom Tromey <tromey@redhat.com>
8676
8677 * target-delegates.c: Rebuild.
8678 * target.c (update_current_target): Don't inherit or default
8679 to_set_permissions.
8680 * target.h (struct target_ops) <to_set_permissions>: Use
8681 TARGET_DEFAULT_IGNORE.
8682
22bcceee
TT
86832014-02-19 Tom Tromey <tromey@redhat.com>
8684
8685 * target-delegates.c: Rebuild.
8686 * target.c (update_current_target): Don't inherit or default
8687 to_get_tib_address.
8688 * target.h (struct target_ops) <to_get_tib_address>: Use
8689 TARGET_DEFAULT_NORETURN.
8690
8586ccaa
TT
86912014-02-19 Tom Tromey <tromey@redhat.com>
8692
8693 * target-delegates.c: Rebuild.
8694 * target.c (update_current_target): Don't inherit or default
8695 to_set_trace_notes.
8696 * target.h (struct target_ops) <to_set_trace_notes>: Use
8697 TARGET_DEFAULT_RETURN.
8698
91df8d1d
TT
86992014-02-19 Tom Tromey <tromey@redhat.com>
8700
8701 * target-delegates.c: Rebuild.
8702 * target.c (update_current_target): Don't initialize
8703 to_set_trace_buffer_size.
8704 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8705 TARGET_DEFAULT_IGNORE.
8706
8d526939
TT
87072014-02-19 Tom Tromey <tromey@redhat.com>
8708
8709 * target-delegates.c: Rebuild.
8710 * target.c (update_current_target): Don't inherit or default
8711 to_set_circular_trace_buffer.
8712 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8713 TARGET_DEFAULT_IGNORE.
8714
0bcfeddf
TT
87152014-02-19 Tom Tromey <tromey@redhat.com>
8716
8717 * target-delegates.c: Rebuild.
8718 * target.c (update_current_target): Don't inherit or default
8719 to_set_disconnected_tracing.
8720 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8721 TARGET_DEFAULT_IGNORE.
8722
9249843f
TT
87232014-02-19 Tom Tromey <tromey@redhat.com>
8724
8725 * target-delegates.c: Rebuild.
8726 * target.c (update_current_target): Don't inherit or default
8727 to_get_min_fast_tracepoint_insn_len.
8728 (return_minus_one): Remove.
8729 * target.h (struct target_ops)
8730 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8731
ace92e7d
TT
87322014-02-19 Tom Tromey <tromey@redhat.com>
8733
8734 * target-delegates.c: Rebuild.
8735 * target.c (update_current_target): Don't inherit or default
8736 to_get_raw_trace_data.
8737 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8738 TARGET_DEFAULT_NORETURN.
8739
08120467
TT
87402014-02-19 Tom Tromey <tromey@redhat.com>
8741
8742 * target-delegates.c: Rebuild.
8743 * target.c (update_current_target): Don't inherit or default
8744 to_upload_trace_state_variables.
8745 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8746 Use TARGET_DEFAULT_RETURN.
8747
1e949b00
TT
87482014-02-19 Tom Tromey <tromey@redhat.com>
8749
8750 * target-delegates.c: Rebuild.
8751 * target.c (update_current_target): Don't inherit or default
8752 to_upload_tracepoints.
8753 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8754 TARGET_DEFAULT_RETURN.
8755
a2e6c147
TT
87562014-02-19 Tom Tromey <tromey@redhat.com>
8757
8758 * target-delegates.c: Rebuild.
8759 * target.c (update_current_target): Don't inherit or default
8760 to_save_trace_data.
8761 * target.h (struct target_ops) <to_save_trace_data>: Use
8762 TARGET_DEFAULT_NORETURN.
8763
959bcd0b
TT
87642014-02-19 Tom Tromey <tromey@redhat.com>
8765
8766 * target-delegates.c: Rebuild.
8767 * target.c (update_current_target): Don't inherit or default
8768 to_get_trace_state_variable_value.
8769 * target.h (struct target_ops)
8770 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8771
afc94e66
TT
87722014-02-19 Tom Tromey <tromey@redhat.com>
8773
8774 * target-delegates.c: Rebuild.
8775 * target.c (update_current_target): Don't inherit or default
8776 to_trace_find.
8777 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8778
e51c07ea
TT
87792014-02-19 Tom Tromey <tromey@redhat.com>
8780
8781 * target-delegates.c: Rebuild.
8782 * target.c (update_current_target): Don't inherit or default
8783 to_trace_stop.
8784 * target.h (struct target_ops) <to_trace_stop>: Use
8785 TARGET_DEFAULT_NORETURN.
8786
6fea14cd
TT
87872014-02-19 Tom Tromey <tromey@redhat.com>
8788
8789 * target-delegates.c: Rebuild.
8790 * target.c (update_current_target): Don't inherit or default
8791 to_get_tracepoint_status.
8792 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8793 TARGET_DEFAULT_NORETURN.
8794
4072d4ff
TT
87952014-02-19 Tom Tromey <tromey@redhat.com>
8796
8797 * target-delegates.c: Rebuild.
8798 * target.c (update_current_target): Don't inherit or default
8799 to_get_trace_status.
8800 * target.h (struct target_ops) <to_get_trace_status>: Use
8801 TARGET_DEFAULT_RETURN.
8802
25da2e80
TT
88032014-02-19 Tom Tromey <tromey@redhat.com>
8804
8805 * target-delegates.c: Rebuild.
8806 * target.c (update_current_target): Don't inherit or default
8807 to_trace_start.
8808 * target.h (struct target_ops) <to_trace_start>: Use
8809 TARGET_DEFAULT_NORETURN.
8810
86dd181d
TT
88112014-02-19 Tom Tromey <tromey@redhat.com>
8812
8813 * target-delegates.c: Rebuild.
8814 * target.c (update_current_target): Don't inherit or default
8815 to_trace_set_readonly_regions.
8816 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8817 Use TARGET_DEFAULT_NORETURN.
8818
05c41993
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_disable_tracepoint.
8824 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8825 TARGET_DEFAULT_NORETURN.
8826
151f70f1
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_enable_tracepoint.
8832 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8833 TARGET_DEFAULT_NORETURN.
8834
94eb98b9
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_download_trace_state_variable.
8840 * target.h (struct target_ops) <to_download_trace_state_variable>:
8841 Use TARGET_DEFAULT_NORETURN.
8842
719acc4a
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_can_download_tracepoint.
8848 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8849 TARGET_DEFAULT_RETURN.
8850
9a980a22
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_download_tracepoint.
8856 * target.h (struct target_ops) <to_download_tracepoint>: Use
8857 TARGET_DEFAULT_NORETURN.
8858
5536135b
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_init.
8864 * target.h (struct target_ops) <to_trace_init>: Use
8865 TARGET_DEFAULT_RETURN.
8866
9409d39e
TT
88672014-02-19 Tom Tromey <tromey@redhat.com>
8868
8869 * target-delegates.c: Rebuild.
8870 * target.c (update_current_target): Don't inherit or default
8871 to_supports_string_tracing.
8872 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8873 TARGET_DEFAULT_RETURN.
8874
aab1b22d
TT
88752014-02-19 Tom Tromey <tromey@redhat.com>
8876
8877 * target-delegates.c: Rebuild.
8878 * target.c (update_current_target): Don't inherit or default
8879 to_supports_enable_disable_tracepoint.
8880 * target.h (struct target_ops)
8881 <to_supports_enable_disable_tracepoint>: Use
8882 TARGET_DEFAULT_RETURN.
8883
a7304748
TT
88842014-02-19 Tom Tromey <tromey@redhat.com>
8885
8886 * target-delegates.c: Rebuild.
8887 * target.c (update_current_target): Don't inherit or default
8888 to_supports_multi_process.
8889 * target.h (struct target_ops) <to_supports_multi_process>: Use
8890 TARGET_DEFAULT_RETURN.
8891
4229b31d
TT
88922014-02-19 Tom Tromey <tromey@redhat.com>
8893
8894 * target-delegates.c: Rebuild.
8895 * target.c (update_current_target): Don't inherit or default
8896 to_get_ada_task_ptid.
8897 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8898 TARGET_DEFAULT_FUNC.
8899
43eba180
TT
89002014-02-19 Tom Tromey <tromey@redhat.com>
8901
8902 * target-delegates.c: Rebuild.
8903 * target.c (update_current_target): Don't inherit or default
8904 to_thread_architecture.
8905 * target.h (struct target_ops) <to_thread_architecture>: Use
8906 TARGET_DEFAULT_FUNC.
8907
fe31bf5b
TT
89082014-02-19 Tom Tromey <tromey@redhat.com>
8909
8910 * target-delegates.c: Rebuild.
8911 * target.c (update_current_target): Don't inherit or default
8912 to_execution_direction.
8913 * target.h (struct target_ops) <to_execution_direction>: Use
8914 TARGET_DEFAULT_FUNC.
8915
53e1cfc7
TT
89162014-02-19 Tom Tromey <tromey@redhat.com>
8917
8918 * target-delegates.c: Rebuild.
8919 * target.c (update_current_target): Don't inherit or default
8920 to_can_execute_reverse.
8921 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8922 TARGET_DEFAULT_RETURN.
8923 (target_can_execute_reverse): Unconditionally delegate.
8924
9bb9d61d
TT
89252014-02-19 Tom Tromey <tromey@redhat.com>
8926
8927 * target-delegates.c: Rebuild.
8928 * target.c (update_current_target): Don't inherit or default
8929 to_goto_bookmark.
8930 (dummy_goto_bookmark): Remove.
8931 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8932 * target.h (struct target_ops) <to_goto_bookmark>: Use
8933 TARGET_DEFAULT_NORETURN.
8934
3dbafbbb
TT
89352014-02-19 Tom Tromey <tromey@redhat.com>
8936
8937 * target-delegates.c: Rebuild.
8938 * target.c (update_current_target): Don't inherit or default
8939 to_get_bookmark.
8940 (dummy_get_bookmark): Remove.
8941 (init_dummy_target): Don't inherit or default to_get_bookmark.
8942 * target.h (struct target_ops) <to_get_bookmark>: Use
8943 TARGET_DEFAULT_NORETURN
8944
16f796b1
TT
89452014-02-19 Tom Tromey <tromey@redhat.com>
8946
8947 * target-delegates.c: Rebuild.
8948 * target.c (update_current_target): Don't inherit or default
8949 to_make_corefile_notes.
8950 (init_dummy_target): Don't initialize to_make_corefile_notes.
8951 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8952 TARGET_DEFAULT_FUNC.
8953
0b5a2719
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_find_memory_regions.
8959 (init_dummy_target): Don't initialize to_find_memory_regions.
8960 * target.h (struct target_ops) <to_find_memory_regions>: Use
8961 TARGET_DEFAULT_FUNC.
8962
d9cb0195
TT
89632014-02-19 Tom Tromey <tromey@redhat.com>
8964
8965 * target-delegates.c: Rebuild.
8966 * target.c (update_current_target): Don't inherit or default
8967 to_log_command.
8968 * target.h (struct target_ops) <to_log_command>: Use
8969 TARGET_DEFAULT_IGNORE.
8970 (target_log_command): Unconditionally delegate.
8971
830ca330
TT
89722014-02-19 Tom Tromey <tromey@redhat.com>
8973
8974 * target-delegates.c: Rebuild.
8975 * target.c (update_current_target): Don't inherit or default
8976 to_pid_to_exec_file.
8977 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8978 TARGET_DEFAULT_RETURN.
8979
825828fc
TT
89802014-02-19 Tom Tromey <tromey@redhat.com>
8981
8982 * target-delegates.c: Rebuild.
8983 * target.c (update_current_target): Don't inherit or default
8984 to_thread_name.
8985 (target_thread_name): Unconditionally delegate.
8986 * target.h (struct target_ops) <to_thread_name>: Use
8987 TARGET_DEFAULT_RETURN.
8988
4a7e6dda
TT
89892014-02-19 Tom Tromey <tromey@redhat.com>
8990
8991 * target-delegates.c: Rebuild.
8992 * target.c (update_current_target): Don't inherit or default
8993 to_extra_thread_info.
8994 * target.h (struct target_ops) <to_extra_thread_info>: Use
8995 TARGET_DEFAULT_RETURN.
8996
0db88c1d
TT
89972014-02-19 Tom Tromey <tromey@redhat.com>
8998
8999 * target-delegates.c: Rebuild.
9000 * target.c (update_current_target): Don't inherit or default
9001 to_has_exited.
9002 * target.h (struct target_ops) <to_has_exited>: Use
9003 TARGET_DEFAULT_RETURN..
9004
6a9fa051
TT
90052014-02-19 Tom Tromey <tromey@redhat.com>
9006
9007 * target-delegates.c: Rebuild.
9008 * target.c (update_current_target): Don't inherit or default
9009 to_set_syscall_catchpoint.
9010 (return_one): Remove.
9011 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9012 TARGET_DEFAULT_RETURN.
9013
62f64d7a
TT
90142014-02-19 Tom Tromey <tromey@redhat.com>
9015
9016 * target-delegates.c: Rebuild.
9017 * target.c (update_current_target): Don't inherit or default
9018 to_insert_exec_catchpoint.
9019 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9020 TARGET_DEFAULT_RETURN.
9021
cda0f38c
TT
90222014-01-08 Tom Tromey <tromey@redhat.com>
9023
9024 * target-delegates.c: Rebuild.
9025 * target.c (update_current_target): Don't inherit or default
9026 to_insert_exec_catchpoint.
9027 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9028 TARGET_DEFAULT_RETURN.
9029
95c3375e
TT
90302014-02-19 Tom Tromey <tromey@redhat.com>
9031
9032 * target-delegates.c: Rebuild.
9033 * target.c (update_current_target): Don't inherit or default
9034 to_remove_vfork_catchpoint.
9035 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9036 TARGET_DEFAULT_RETURN.
9037
7e18a8dc
TT
90382014-02-19 Tom Tromey <tromey@redhat.com>
9039
9040 * target-delegates.c: Rebuild.
9041 * target.c (update_current_target): Don't inherit or default
9042 to_insert_vfork_catchpoint.
9043 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9044 TARGET_DEFAULT_RETURN.
9045
e1a21fb7
TT
90462014-02-19 Tom Tromey <tromey@redhat.com>
9047
9048 * target-delegates.c: Rebuild.
9049 * target.c (update_current_target): Don't inherit or default
9050 to_remove_fork_catchpoint.
9051 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9052 TARGET_DEFAULT_RETURN.
9053
5958ebeb
TT
90542014-02-19 Tom Tromey <tromey@redhat.com>
9055
9056 * target-delegates.c: Rebuild.
9057 * target.c (update_current_target): Don't inherit or default
9058 to_insert_fork_catchpoint.
9059 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9060 TARGET_DEFAULT_RETURN.
9061
340ba4bf
TT
90622014-02-19 Tom Tromey <tromey@redhat.com>
9063
9064 * target-delegates.c: Rebuild.
9065 * target.c (update_current_target): Don't inherit or default
9066 to_post_startup_inferior.
9067 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9068 TARGET_DEFAULT_IGNORE.
9069
7634da87
TT
90702014-02-19 Tom Tromey <tromey@redhat.com>
9071
9072 * target-delegates.c: Rebuild.
9073 * target.c (update_current_target): Don't inherit or default
9074 to_load.
9075 * target.h (struct target_ops) <to_load>: Use
9076 TARGET_DEFAULT_NORETURN.
9077
e19e919f
TT
90782014-02-19 Tom Tromey <tromey@redhat.com>
9079
9080 * target-delegates.c: Rebuild.
9081 * target.c (update_current_target): Don't inherit or default
9082 to_terminal_info.
9083 * target.h (struct target_ops) <to_terminal_info>: Use
9084 TARGET_DEFAULT_FUNC.
9085
c6ea8f79
TT
90862014-02-19 Tom Tromey <tromey@redhat.com>
9087
9088 * target-delegates.c: Rebuild.
9089 * target.c (update_current_target): Don't inherit or default
9090 to_terminal_save_ours.
9091 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9092 TARGET_DEFAULT_IGNORE.
9093
e4a733f1
TT
90942014-02-19 Tom Tromey <tromey@redhat.com>
9095
9096 * target-delegates.c: Rebuild.
9097 * target.c (update_current_target): Don't inherit or default
9098 to_terminal_ours.
9099 * target.h (struct target_ops) <to_terminal_ours>: Use
9100 TARGET_DEFAULT_IGNORE.
9101
74fcbef9
TT
91022014-02-19 Tom Tromey <tromey@redhat.com>
9103
9104 * target-delegates.c: Rebuild.
9105 * target.c (update_current_target): Don't inherit or default
9106 to_terminal_ours_for_output.
9107 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9108 TARGET_DEFAULT_IGNORE.
9109
ddeaacc9
TT
91102014-02-19 Tom Tromey <tromey@redhat.com>
9111
9112 * target-delegates.c: Rebuild.
9113 * target.c (update_current_target): Don't inherit or default
9114 to_terminal_inferior.
9115 * target.h (struct target_ops) <to_terminal_inferior>: Use
9116 TARGET_DEFAULT_IGNORE.
9117
0343661d
TT
91182014-02-19 Tom Tromey <tromey@redhat.com>
9119
9120 * target-delegates.c: Rebuild.
9121 * target.c (update_current_target): Don't inherit or default
9122 to_terminal_init.
9123 * target.h (struct target_ops) <to_terminal_init>: Use
9124 TARGET_DEFAULT_IGNORE.
9125
77cdffe9
TT
91262014-02-19 Tom Tromey <tromey@redhat.com>
9127
9128 * target-delegates.c: Rebuild.
9129 * target.c (update_current_target): Don't inherit or default
9130 to_can_accel_watchpoint_condition.
9131 * target.h (struct target_ops)
9132 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9133
d03655e4
TT
91342014-02-19 Tom Tromey <tromey@redhat.com>
9135
9136 * target-delegates.c: Rebuild.
9137 * target.c (update_current_target): Don't inherit or default
9138 to_region_ok_for_hw_watchpoint.
9139 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9140 Use TARGET_DEFAULT_FUNC.
9141
65f160a9
TT
91422014-02-19 Tom Tromey <tromey@redhat.com>
9143
9144 * target-delegates.c: Rebuild.
9145 * target.c (update_current_target): Don't inherit or default
9146 to_watchpoint_addr_within_range.
9147 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9148 Use TARGET_DEFAULT_FUNC.
9149
61dd109f
TT
91502014-02-19 Tom Tromey <tromey@redhat.com>
9151
9152 * target-delegates.c: Rebuild.
9153 * target.c (update_current_target): Don't inherit or default
9154 to_remove_watchpoint.
9155 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9156 TARGET_DEFAULT_NORETURN.
9157
016facd4
TT
91582014-02-19 Tom Tromey <tromey@redhat.com>
9159
9160 * target-delegates.c: Rebuild.
9161 * target.c (update_current_target): Don't inherit or default
9162 to_insert_watchpoint.
9163 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9164 TARGET_DEFAULT_RETURN.
9165
418dabac
TT
91662014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target-delegates.c: Rebuild.
9169 * target.c (update_current_target): Don't inherit or default
9170 to_remove_hw_breakpoint.
9171 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9172 TARGET_DEFAULT_RETURN.
9173
61b371f9
TT
91742014-02-19 Tom Tromey <tromey@redhat.com>
9175
9176 * target-delegates.c: Rebuild.
9177 * target.c (update_current_target): Don't inherit or default
9178 to_insert_hw_breakpoint.
9179 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9180 TARGET_DEFAULT_RETURN.
9181
52b51d06
TT
91822014-02-19 Tom Tromey <tromey@redhat.com>
9183
9184 * target-delegates.c: Rebuild.
9185 * target.c (update_current_target): Don't inherit or default
9186 to_can_use_hw_breakpoint.
9187 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9188 TARGET_DEFAULT_RETURN.
9189
f86e59b2
TT
91902014-02-19 Tom Tromey <tromey@redhat.com>
9191
9192 * target-delegates.c: Rebuild.
9193 * target.c (update_current_target): Don't inherit or default
9194 to_files_info.
9195 * target.h (struct target_ops) <to_files_info>: Use
9196 TARGET_DEFAULT_IGNORE.
9197
6c628163
TT
91982014-02-19 Tom Tromey <tromey@redhat.com>
9199
9200 * target-delegates.c: Rebuild.
9201 * target.c (update_current_target): Don't inherit or default
9202 to_store.
9203 * target.h (struct target_ops) <to_store>: Use
9204 TARGET_DEFAULT_NORETURN.
9205
bebd3233
TT
92062014-02-19 Tom Tromey <tromey@redhat.com>
9207
9208 * target-delegates.c: Rebuild.
9209 * target.c (update_current_target): Don't inherit or default
9210 to_post_attach.
9211 * target.h (struct target_ops) <to_post_attach>: Use
9212 TARGET_DEFAULT_IGNORE.
9213
a53f3625
TT
92142014-02-19 Tom Tromey <tromey@redhat.com>
9215
9216 * target-delegates.c: Rebuild.
9217 * target.c (update_current_target): Don't inherit or default
9218 to_rcmd.
9219 (default_rcmd): New function.
9220 (do_monitor_command): Unconditionally delegate.
9221 * target.h (struct target_ops) <to_rmcd>: Use
9222 TARGET_DEFAULT_FUNC.
9223
e9a29200
TT
92242014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target-delegates.c: Rebuild.
9227 * target.c (init_dummy_target): Don't initialize to_attach.
9228 (target_attach): Unconditionally delegate.
9229 * target.h (struct target_ops) <to_attach>: Use
9230 TARGET_DEFAULT_FUNC.
9231
09da0d0a
TT
92322014-02-19 Tom Tromey <tromey@redhat.com>
9233
9234 * target-delegates.c: Rebuild.
9235 * target.c (target_detach): Unconditionally delegate.
9236 (init_dummy_target): Don't initialize to_detach.
9237 * target.h (struct target_ops) <to_detach>: Use
9238 TARGET_DEFAULT_IGNORE.
9239
5436ff03
TT
92402014-02-19 Tom Tromey <tromey@redhat.com>
9241
9242 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9243 Add argument.
9244 (target_augmented_libraries_svr4_read): Add argument.
9245 * target.c (update_current_target): Update.
9246 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9247 argument.
9248
f0d960ea
TT
92492014-02-19 Tom Tromey <tromey@redhat.com>
9250
9251 * target.h (struct target_ops) <to_call_history_range>: Add
9252 argument.
9253 * target.c (target_call_history_range): Add argument.
9254 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9255 argument.
9256 (record_btrace_call_history_from): Update.
9257
ec0aea04
TT
92582014-02-19 Tom Tromey <tromey@redhat.com>
9259
9260 * target.h (struct target_ops) <to_call_history_from>: Add
9261 argument.
9262 * target.c (target_call_history_from): Add argument.
9263 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9264 argument.
9265
5df2fcba
TT
92662014-02-19 Tom Tromey <tromey@redhat.com>
9267
9268 * target.h (struct target_ops) <to_call_history>: Add argument.
9269 * target.c (target_call_history): Add argument.
9270 * record-btrace.c (record_btrace_call_history): Add 'self'
9271 argument.
9272
4e99c6b7
TT
92732014-02-19 Tom Tromey <tromey@redhat.com>
9274
9275 * target.h (struct target_ops) <to_insn_history_range>: Add
9276 argument.
9277 * target.c (target_insn_history_range): Add argument.
9278 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9279 argument.
9280 (record_btrace_insn_history_from): Update.
9281
9abc3ff3
TT
92822014-02-19 Tom Tromey <tromey@redhat.com>
9283
9284 * target.h (struct target_ops) <to_insn_history_from>: Add
9285 argument.
9286 * target.c (target_insn_history_from): Add argument.
9287 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9288 argument.
9289
7a6c5609
TT
92902014-02-19 Tom Tromey <tromey@redhat.com>
9291
9292 * target.h (struct target_ops) <to_insn_history>: Add argument.
9293 * target.c (target_insn_history): Add argument.
9294 * record-btrace.c (record_btrace_insn_history): Add 'self'
9295 argument.
9296
606183ac
TT
92972014-02-19 Tom Tromey <tromey@redhat.com>
9298
9299 * target.h (struct target_ops) <to_goto_record>: Add argument.
9300 * target.c (target_goto_record): Add argument.
9301 * record-full.c (record_full_goto): Add 'self' argument.
9302 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9303
307a1b91
TT
93042014-02-19 Tom Tromey <tromey@redhat.com>
9305
9306 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9307 * target.c (target_goto_record_end): Add argument.
9308 * record-full.c (record_full_goto_end): Add 'self' argument.
9309 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9310
08475817
TT
93112014-02-19 Tom Tromey <tromey@redhat.com>
9312
9313 * target.h (struct target_ops) <to_goto_record_begin>: Add
9314 argument.
9315 * target.c (target_goto_record_begin): Add argument.
9316 * record-full.c (record_full_goto_begin): Add 'self' argument.
9317 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9318 argument.
9319
1c63c994
TT
93202014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * target.h (struct target_ops) <to_record_is_replaying>: Add
9323 argument.
9324 * target.c (target_record_is_replaying): Add argument.
9325 * record-full.c (record_full_is_replaying): Add 'self' argument.
9326 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9327 argument.
9328 (record_btrace_xfer_partial, record_btrace_store_registers)
9329 (record_btrace_prepare_to_store, record_btrace_resume)
9330 (record_btrace_wait, record_btrace_decr_pc_after_break)
9331 (record_btrace_find_new_threads, record_btrace_thread_alive):
9332 Update.
9333
d1b55219
TT
93342014-02-19 Tom Tromey <tromey@redhat.com>
9335
9336 * target.h (struct target_ops) <to_delete_record>: Add argument.
9337 * target.c (target_delete_record): Add argument.
9338 * record-full.c (record_full_delete): Add 'self' argument.
9339
1390f529
TT
93402014-02-19 Tom Tromey <tromey@redhat.com>
9341
9342 * target.h (struct target_ops) <to_save_record>: Add argument.
9343 * target.c (target_save_record): Add argument.
9344 * record-full.c (record_full_save): Add 'self' argument.
9345 (record_full_save): Add 'self' argument.
9346
630d6a4a
TT
93472014-02-19 Tom Tromey <tromey@redhat.com>
9348
9349 * target.h (struct target_ops) <to_info_record>: Add argument.
9350 * target.c (target_info_record): Add argument.
9351 * record.c (info_record_command): Add argument.
9352 * record-full.c (record_full_info): Add 'self' argument.
9353 * record-btrace.c (record_btrace_info): Add 'self' argument.
9354
c6cd7c02
TT
93552014-02-19 Tom Tromey <tromey@redhat.com>
9356
9357 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9358 * target.c (target_stop_recording): Add argument.
9359 * record.c (record_stop): Add argument.
9360 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9361 argument.
9362
39c49f83
TT
93632014-02-19 Tom Tromey <tromey@redhat.com>
9364
9365 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9366 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9367 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9368 argument.
9369 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9370 (_initialize_amd64_linux_nat): Use it.
9371 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9372 (_initialize_i386_linux_nat): Use it.
9373
1777056d
TT
93742014-02-19 Tom Tromey <tromey@redhat.com>
9375
9376 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9377 * target.c (target_teardown_btrace): Add argument.
9378 * remote.c (remote_teardown_btrace): Add 'self' argument.
9379 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9380 argument.
9381 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9382 argument.
9383
25e95349
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9387 * target.c (target_disable_btrace): Add argument.
9388 * remote.c (remote_disable_btrace): Add 'self' argument.
9389 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9390 argument.
9391 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9392 argument.
9393
e3c49f88
TT
93942014-02-19 Tom Tromey <tromey@redhat.com>
9395
9396 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9397 * target.c (target_enable_btrace): Add argument.
9398 * remote.c (remote_enable_btrace): Add 'self' argument.
9399 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9400 argument.
9401 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9402 argument.
9403
fe38f897
TT
94042014-02-19 Tom Tromey <tromey@redhat.com>
9405
9406 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9407 (target_can_use_agent): Add argument.
9408 * target.c (update_current_target): Update.
9409 * remote.c (remote_can_use_agent): Add 'self' argument.
9410 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9411
2c152180
TT
94122014-02-19 Tom Tromey <tromey@redhat.com>
9413
9414 * target.h (struct target_ops) <to_use_agent>: Add argument.
9415 (target_use_agent): Add argument.
9416 * target.c (update_current_target): Update.
9417 * remote.c (remote_use_agent): Add 'self' argument.
9418 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9419
a893e81f
TT
94202014-02-19 Tom Tromey <tromey@redhat.com>
9421
9422 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9423 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9424 (target_traceframe_info): Add argument.
9425 * target.c (update_current_target): Update.
9426 * remote.c (remote_traceframe_info): Add 'self' argument.
9427 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9428
c686c57f
TT
94292014-02-19 Tom Tromey <tromey@redhat.com>
9430
9431 * target.h (target_static_tracepoint_markers_by_strid): Add
9432 argument.
9433 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9434 'self' argument.
9435 * target.c (update_current_target): Update.
9436 * remote.c (struct target_ops)
9437 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9438 * linux-nat.c (struct target_ops)
9439 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9440
61fc905d
TT
94412014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9444 Add argument.
9445 (target_static_tracepoint_marker_at): Add argument.
9446 * target.c (update_current_target): Update.
9447 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9448 argument.
9449
c378d69d
TT
94502014-02-19 Tom Tromey <tromey@redhat.com>
9451
9452 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9453 (target_set_permissions): Add argument.
9454 * target.c (update_current_target): Update.
9455 * remote.c (remote_set_permissions): Add 'self' argument.
9456 (remote_start_remote): Update.
9457
bd7ae0f5
TT
94582014-02-19 Tom Tromey <tromey@redhat.com>
9459
9460 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9461 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9462 (target_get_tib_address): Add argument.
9463 * target.c (update_current_target): Update.
9464 * remote.c (remote_get_tib_address): Add 'self' argument.
9465
d9e68a2c
TT
94662014-02-19 Tom Tromey <tromey@redhat.com>
9467
9468 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9469 (target_set_trace_notes): Add argument.
9470 * target.c (update_current_target): Update.
9471 * remote.c (remote_set_trace_notes): Add 'self' argument.
9472
4da384be
TT
94732014-02-19 Tom Tromey <tromey@redhat.com>
9474
9475 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9476 argument.
9477 (target_set_trace_buffer_size): Add argument.
9478 * target.c (update_current_target): Update.
9479 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9480
736d5b1f
TT
94812014-02-19 Tom Tromey <tromey@redhat.com>
9482
9483 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9484 argument.
9485 (target_set_circular_trace_buffer): Add argument.
9486 * target.c (update_current_target): Update.
9487 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9488 argument.
9489
37b25738
TT
94902014-02-19 Tom Tromey <tromey@redhat.com>
9491
9492 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9493 argument.
9494 (target_set_disconnected_tracing): Add argument.
9495 * target.c (update_current_target): Update.
9496 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9497
0e67620a
TT
94982014-02-19 Tom Tromey <tromey@redhat.com>
9499
9500 * target.h (struct target_ops)
9501 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9502 (target_get_min_fast_tracepoint_insn_len): Add argument.
9503 * target.c (update_current_target): Update.
9504 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9505 argument.
9506
88ee6f45
TT
95072014-02-19 Tom Tromey <tromey@redhat.com>
9508
9509 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9510 argument.
9511 (target_get_raw_trace_data): Add argument.
9512 * target.c (update_current_target): Update.
9513 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9514
181e3713
TT
95152014-02-19 Tom Tromey <tromey@redhat.com>
9516
9517 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9518 Add argument.
9519 (target_upload_trace_state_variables): Add argument.
9520 * target.c (update_current_target): Update.
9521 * remote.c (remote_upload_trace_state_variables): Add 'self'
9522 argument.
9523 (remote_start_remote): Update.
9524
ab6617cc
TT
95252014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9528 argument.
9529 (target_upload_tracepoints): Add argument.
9530 * target.c (update_current_target): Update.
9531 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9532 (remote_start_remote): Update.
9533
dc3decaf
TT
95342014-02-19 Tom Tromey <tromey@redhat.com>
9535
9536 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9537 (target_save_trace_data): Add argument.
9538 * target.c (update_current_target): Update.
9539 * remote.c (remote_save_trace_data): Add 'self' argument.
9540
4011015b
TT
95412014-02-19 Tom Tromey <tromey@redhat.com>
9542
9543 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9544 argument.
9545 * target.h (struct target_ops)
9546 <to_get_trace_state_variable_value>: Add argument.
9547 (target_get_trace_state_variable_value): Add argument.
9548 * target.c (update_current_target): Update.
9549 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9550 argument.
9551 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9552
bd4c6793
TT
95532014-02-19 Tom Tromey <tromey@redhat.com>
9554
9555 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9556 * target.h (struct target_ops) <to_trace_find>: Add argument.
9557 (target_trace_find): Add argument.
9558 * target.c (update_current_target): Update.
9559 * remote.c (remote_trace_find): Add 'self' argument.
9560 * ctf.c (ctf_trace_find): Add 'self' argument.
9561
74499f1b
TT
95622014-02-19 Tom Tromey <tromey@redhat.com>
9563
9564 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9565 (target_trace_stop): Add argument.
9566 * target.c (update_current_target): Update.
9567 * remote.c (remote_trace_stop): Add 'self' argument.
9568
db90e85c
TT
95692014-02-19 Tom Tromey <tromey@redhat.com>
9570
9571 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9572 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9573 argument.
9574 (target_get_tracepoint_status): Add argument.
9575 * target.c (update_current_target): Update.
9576 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9577
8bd200f1
TT
95782014-02-19 Tom Tromey <tromey@redhat.com>
9579
9580 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9581 * target.h (struct target_ops) <to_get_trace_status>: Add
9582 argument.
9583 (target_get_trace_status): Add argument.
9584 * target.c (update_current_target): Update.
9585 * remote.c (remote_get_trace_status): Add 'self' argument.
9586 (remote_start_remote, remote_can_download_tracepoint): Update.
9587 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9588
e2d1aae3
TT
95892014-02-19 Tom Tromey <tromey@redhat.com>
9590
9591 * target.h (struct target_ops) <to_trace_start>: Add argument.
9592 (target_trace_start): Add argument.
9593 * target.c (update_current_target): Update.
9594 * remote.c (remote_trace_start): Add 'self' argument.
9595
583f9a86
TT
95962014-02-19 Tom Tromey <tromey@redhat.com>
9597
9598 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9599 Add argument.
9600 (target_trace_set_readonly_regions): Add argument.
9601 * target.c (update_current_target): Update.
9602 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9603 argument.
9604
780b049c
TT
96052014-02-19 Tom Tromey <tromey@redhat.com>
9606
9607 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9608 argument.
9609 (target_disable_tracepoint): Add argument.
9610 * target.c (update_current_target): Update.
9611 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9612
46670d57
TT
96132014-02-19 Tom Tromey <tromey@redhat.com>
9614
9615 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9616 argument.
9617 (target_enable_tracepoint): Add argument.
9618 * target.c (update_current_target): Update.
9619 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9620
559d2b81
TT
96212014-02-19 Tom Tromey <tromey@redhat.com>
9622
9623 * target.h (struct target_ops) <to_download_trace_state_variable>:
9624 Add argument.
9625 (target_download_trace_state_variable): Add argument.
9626 * target.c (update_current_target): Update.
9627 * remote.c (remote_download_trace_state_variable): Add 'self'
9628 argument.
9629
a52a8357
TT
96302014-02-19 Tom Tromey <tromey@redhat.com>
9631
9632 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9633 argument.
9634 (target_can_download_tracepoint): Add argument.
9635 * target.c (update_current_target): Update.
9636 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9637
548f7808
TT
96382014-02-19 Tom Tromey <tromey@redhat.com>
9639
9640 * target.h (struct target_ops) <to_download_tracepoint>: Add
9641 argument.
9642 (target_download_tracepoint): Add argument.
9643 * target.c (update_current_target): Update.
9644 * remote.c (remote_download_tracepoint): Add 'self' argument.
9645
ecae04e1
TT
96462014-02-19 Tom Tromey <tromey@redhat.com>
9647
9648 * target.h (struct target_ops) <to_trace_init>: Add argument.
9649 (target_trace_init): Add argument.
9650 * target.c (update_current_target): Update.
9651 * remote.c (remote_trace_init): Add 'self' argument.
9652
fab5aa7c
TT
96532014-02-19 Tom Tromey <tromey@redhat.com>
9654
9655 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9656 * target.c (target_fileio_readlink): Add argument.
9657 * remote.c (remote_hostio_readlink): Add 'self' argument.
9658 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9659
dbbca37d
TT
96602014-02-19 Tom Tromey <tromey@redhat.com>
9661
9662 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9663 * target.c (target_fileio_unlink): Add argument.
9664 * remote.c (remote_hostio_unlink): Add 'self' argument.
9665 (remote_file_delete): Update.
9666 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9667
df39ea25
TT
96682014-02-19 Tom Tromey <tromey@redhat.com>
9669
9670 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9671 * target.c (target_fileio_close): Add argument.
9672 * remote.c (remote_hostio_close): Add 'self' argument.
9673 (remote_hostio_close_cleanup): Update.
9674 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9675 Update.
9676 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9677
a3be983c
TT
96782014-02-19 Tom Tromey <tromey@redhat.com>
9679
9680 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9681 * target.c (target_fileio_pread): Add argument.
9682 * remote.c (remote_hostio_pread): Add 'self' argument.
9683 (remote_bfd_iovec_pread, remote_file_get): Update.
9684 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9685
0d866f62
TT
96862014-02-19 Tom Tromey <tromey@redhat.com>
9687
9688 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9689 * target.c (target_fileio_pwrite): Add argument.
9690 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9691 (remote_file_put): Update.
9692 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9693
cd897586
TT
96942014-02-19 Tom Tromey <tromey@redhat.com>
9695
9696 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9697 * target.c (target_fileio_open): Add argument.
9698 * remote.c (remote_hostio_open): Add 'self' argument.
9699 (remote_bfd_iovec_open): Add 'self' argument.
9700 (remote_file_put): Add 'self' argument.
9701 (remote_file_get): Add 'self' argument.
9702 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9703
78eff0ec
TT
97042014-02-19 Tom Tromey <tromey@redhat.com>
9705
9706 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9707 Add argument.
9708 (target_can_run_breakpoint_commands): Add argument.
9709 * target.c (update_current_target): Update.
9710 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9711 argument.
9712 (remote_insert_breakpoint): Add 'self' argument.
9713 (remote_insert_hw_breakpoint): Add 'self' argument.
9714 (remote_can_run_breakpoint_commands): Add 'self' argument.
9715
efcc2da7
TT
97162014-02-19 Tom Tromey <tromey@redhat.com>
9717
9718 * target.h (struct target_ops)
9719 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9720 (target_supports_evaluation_of_breakpoint_conditions): Add
9721 argument.
9722 * target.c (update_current_target): Update.
9723 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9724 argument.
9725 (remote_insert_breakpoint): Add 'self' argument.
9726 (remote_insert_hw_breakpoint): Add 'self' argument.
9727 (remote_supports_cond_breakpoints): Add 'self' argument.
9728
6de37a3a
TT
97292014-02-19 Tom Tromey <tromey@redhat.com>
9730
9731 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9732 argument.
9733 (target_supports_string_tracing): Add argument.
9734 * target.c (update_current_target): Update.
9735 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9736
2bfc0540
TT
97372014-02-19 Tom Tromey <tromey@redhat.com>
9738
9739 * target.h (struct target_ops)
9740 <to_supports_disable_randomization>: Add argument.
9741 * target.c (find_default_supports_disable_randomization): Add
9742 argument.
9743 (target_supports_disable_randomization): Add argument.
9744 (find_default_supports_disable_randomization): Add 'self'
9745 argument.
9746 * remote.c (extended_remote_supports_disable_randomization): Add
9747 'self' argument.
9748 (remote_supports_disable_randomization): Add 'self' argument.
9749 (extended_remote_create_inferior): Update.
9750 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9751 'self' argument.
9752
7d178d6a
TT
97532014-02-19 Tom Tromey <tromey@redhat.com>
9754
9755 * target.h (struct target_ops)
9756 <to_supports_enable_disable_tracepoint>: Add argument.
9757 (target_supports_enable_disable_tracepoint): Add argument.
9758 * target.c (update_current_target): Update.
9759 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9760 argument.
9761
86ce2668
TT
97622014-02-19 Tom Tromey <tromey@redhat.com>
9763
9764 * target.h (struct target_ops) <to_supports_multi_process>: Add
9765 argument.
9766 (target_supports_multi_process): Add argument.
9767 * target.c (update_current_target): Update.
9768 * remote.c (remote_supports_multi_process): Add 'self' argument.
9769 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9770 argument.
9771 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9772 argument.
9773
4c612759
TT
97742014-02-19 Tom Tromey <tromey@redhat.com>
9775
9776 * target.h (struct target_ops) <to_execution_direction>: Add
9777 argument.
9778 (target_execution_direction): Add argument.
9779 * target.c (default_execution_direction): Add 'self' argument.
9780 * record-full.c (record_full_execution_direction): Add 'self'
9781 argument.
9782
19db3e69
TT
97832014-02-19 Tom Tromey <tromey@redhat.com>
9784
9785 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9786 argument.
9787 (target_can_execute_reverse): Add argument.
9788 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9789 * record-full.c (record_full_can_execute_reverse): Add 'self'
9790 argument.
9791 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9792 argument.
9793
1e6b91a4
TT
97942014-02-19 Tom Tromey <tromey@redhat.com>
9795
9796 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9797 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9798 argument.
9799 (target_get_ada_task_ptid): Add argument.
9800 * target.c (update_current_target): Update.
9801 (default_get_ada_task_ptid): Add 'self' argument.
9802 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9803 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9804 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9805 argument.
9806 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9807 argument.
9808 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9809 argument.
9810 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9811 argument.
9812 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9813 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9814 argument.
9815
3c80fb48
TT
98162014-02-19 Tom Tromey <tromey@redhat.com>
9817
9818 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9819 (target_goto_bookmark): Add argument.
9820 * target.c (dummy_goto_bookmark): Add 'self' argument.
9821 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9822
dd0e2830
TT
98232014-02-19 Tom Tromey <tromey@redhat.com>
9824
9825 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9826 (target_get_bookmark): Add argument.
9827 * target.c (dummy_get_bookmark): Add 'self' argument.
9828 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9829
fc6691b2
TT
98302014-02-19 Tom Tromey <tromey@redhat.com>
9831
9832 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9833 argument.
9834 (target_make_corefile_notes): Add argument.
9835 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9836 * procfs.c (procfs_make_note_section): Add 'self' argument.
9837 (procfs_make_note_section): Add 'self' argument.
9838 (procfs_make_note_section): Add 'self' argument.
9839 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9840 argument.
9841 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9842 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9843 * exec.c (exec_make_note_section): Add 'self' argument.
9844 (exec_make_note_section): Add 'self' argument.
9845
2e73927c
TT
98462014-02-19 Tom Tromey <tromey@redhat.com>
9847
9848 * target.h (struct target_ops) <to_find_memory_regions>: Add
9849 argument.
9850 (target_find_memory_regions): Add argument.
9851 * target.c (dummy_find_memory_regions): Add 'self' argument.
9852 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9853 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9854 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9855 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9856 * exec. (exec_do_find_memory_regions): New global.
9857 (exec_set_find_memory_regions): Rewrite.
9858 (exec_find_memory_regions): New function.
9859 (init_exec_ops): Use exec_find_memory_regions.
9860
2a9a2795
TT
98612014-02-19 Tom Tromey <tromey@redhat.com>
9862
9863 * target.h (struct target_ops) <to_supports_non_stop>: Add
9864 argument.
9865 * target.c (find_default_supports_non_stop): Add argument.
9866 (target_supports_non_stop): Add argument.
9867 (find_default_supports_non_stop): Add 'self' argument.
9868 * remote.c (remote_supports_non_stop): Add 'self' argument.
9869 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9870
4ab76ea3
TT
98712014-02-19 Tom Tromey <tromey@redhat.com>
9872
9873 * target.h (struct target_ops) <to_log_command>: Add argument.
9874 (target_log_command): Add argument.
9875 * serial.h (serial_log_command): Add 'self' argument.
9876 * serial.c (serial_log_command): Add 'self' argument.
9877
8dd27370
TT
98782014-02-19 Tom Tromey <tromey@redhat.com>
9879
9880 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9881 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9882 argument.
9883 (target_pid_to_exec_file): Add argument.
9884 * target.c (debug_to_pid_to_exec_file): Add argument.
9885 (update_current_target): Update.
9886 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9887 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9888 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9889 (linux_handle_extended_wait): Update.
9890 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9891 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9892 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9893 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9894
1aac633b
TT
98952014-02-19 Tom Tromey <tromey@redhat.com>
9896
9897 * target.h (struct target_ops) <to_rcmd>: Add argument.
9898 (target_rcmd): Add argument.
9899 * target.c (debug_to_rcmd): Add argument.
9900 (update_current_target, do_monitor_command): Update.
9901 * remote.c (remote_rcmd): Add 'self' argument.
9902 * monitor.c (monitor_rcmd): Add 'self' argument.
9903
1eab8a48
TT
99042014-02-19 Tom Tromey <tromey@redhat.com>
9905
9906 * windows-nat.c (windows_stop): Add 'self' argument.
9907 * target.h (struct target_ops) <to_stop>: Add argument.
9908 * target.c (target_stop): Add argument.
9909 (debug_to_stop): Add argument.
9910 (update_current_target): Update.
9911 * remote.c (remote_stop): Add 'self' argument.
9912 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9913 (gdbsim_cntrl_c): Update.
9914 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9915 * procfs.c (procfs_stop): Add 'self' argument.
9916 * nto-procfs.c (procfs_stop): Add 'self' argument.
9917 * monitor.c (monitor_stop): Add 'self' argument.
9918 (monitor_open): Update.
9919 * linux-nat.c (linux_nat_stop): Add argument.
9920 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9921 * gnu-nat.c (gnu_stop): Add 'self' argument.
9922 * darwin-nat.c (darwin_stop): Add 'self' argument.
9923
503a628d
TT
99242014-02-19 Tom Tromey <tromey@redhat.com>
9925
9926 * target.h (struct target_ops) <to_thread_name>: Add argument.
9927 * target.c (target_thread_name): Add argument.
9928 (update_current_target): Update.
9929 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9930
c15906d8
TT
99312014-02-19 Tom Tromey <tromey@redhat.com>
9932
9933 * target.h (struct target_ops) <to_extra_thread_info>: Add
9934 argument.
9935 (target_extra_thread_info): Add argument.
9936 * target.c (update_current_target): Update.
9937 * remote.c (remote_threads_extra_info): Add 'self' argument.
9938 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9939 argument.
9940 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9941 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9942 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9943 argument.
9944 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9945 argument.
9946 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9947 argument.
9948 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9949 argument.
9950
daf5e9b6
TT
99512014-02-19 Tom Tromey <tromey@redhat.com>
9952
9953 * target.h (struct target_ops) <to_program_signals>: Add argument.
9954 * target.c (target_program_signals): Add argument.
9955 * remote.c (remote_program_signals): Add 'self' argument.
9956
94bedb42
TT
99572014-02-19 Tom Tromey <tromey@redhat.com>
9958
9959 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9960 * target.c (target_pass_signals): Add argument.
9961 * remote.c (remote_pass_signals): Add 'self' argument.
9962 (remote_start_remote): Update.
9963 * procfs.c (procfs_pass_signals): Add 'self' argument.
9964 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9965 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9966 (linux_nat_create_inferior, linux_nat_attach): Update.
9967
da82bd6b
TT
99682014-02-19 Tom Tromey <tromey@redhat.com>
9969
9970 * windows-nat.c (windows_can_run): Add 'self' argument.
9971 * target.h (struct target_ops) <to_can_run>: Add argument.
9972 (target_can_run): Add argument.
9973 * target.c (debug_to_can_run): Add argument.
9974 (update_current_target): Update.
9975 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9976 * inf-child.c (inf_child_can_run): Add 'self' argument.
9977 * go32-nat.c (go32_can_run): Add 'self' argument.
9978
d796e1d6
TT
99792014-02-19 Tom Tromey <tromey@redhat.com>
9980
9981 * target.h (struct target_ops) <to_has_exited>: Add argument.
9982 (target_has_exited): Add argument.
9983 * target.c (debug_to_has_exited): Add argument.
9984 (update_current_target): Update.
9985
ff214e67
TT
99862014-02-19 Tom Tromey <tromey@redhat.com>
9987
9988 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9989 argument.
9990 (target_set_syscall_catchpoint): Add argument.
9991 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9992 argument.
9993 * target.c (update_current_target): Update.
9994
758e29d2
TT
99952014-02-19 Tom Tromey <tromey@redhat.com>
9996
9997 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9998 argument.
9999 (target_remove_exec_catchpoint): Add argument.
10000 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10001 (update_current_target): Update.
10002 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10003 argument.
10004
ba025e51
TT
100052014-02-19 Tom Tromey <tromey@redhat.com>
10006
10007 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10008 argument.
10009 (target_insert_exec_catchpoint): Add argument.
10010 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10011 (update_current_target): Update.
10012 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10013 argument.
10014
e98cf0cd
TT
100152014-02-19 Tom Tromey <tromey@redhat.com>
10016
10017 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10018 argument.
10019 (target_remove_vfork_catchpoint): Add argument.
10020 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10021 (update_current_target): Update.
10022 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10023 argument.
10024
3ecc7da0
TT
100252014-02-19 Tom Tromey <tromey@redhat.com>
10026
10027 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10028 argument.
10029 (target_insert_vfork_catchpoint): Add argument.
10030 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10031 (update_current_target): Update.
10032 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10033 argument.
10034
973fc227
TT
100352014-02-19 Tom Tromey <tromey@redhat.com>
10036
10037 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10038 argument.
10039 (target_remove_fork_catchpoint): Add argument.
10040 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10041 (update_current_target): Update.
10042 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10043 argument.
10044
a863b201
TT
100452014-02-19 Tom Tromey <tromey@redhat.com>
10046
10047 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10048 argument.
10049 (target_insert_fork_catchpoint): Add argument.
10050 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10051 (update_current_target): Update.
10052 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10053 argument.
10054
2e97a79e
TT
100552014-02-19 Tom Tromey <tromey@redhat.com>
10056
10057 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10058 argument.
10059 (target_post_startup_inferior): Add argument.
10060 * target.c (debug_to_post_startup_inferior): Add argument.
10061 (update_current_target): Update.
10062 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10063 argument.
10064 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10065 argument.
10066 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10067 argument.
10068 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10069 argument.
10070 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10071 'self' argument.
10072 (super_post_startup_inferior): Likewise.
10073 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10074 'self' argument.
10075 (super_post_startup_inferior): Likewise.
10076 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10077 Add 'self' argument.
10078 (super_post_startup_inferior): Likewise.
10079
71a9f134
TT
100802014-02-19 Tom Tromey <tromey@redhat.com>
10081
10082 * target.h (struct target_ops) <to_load>: Add argument.
10083 * target.c (target_load): Add argument.
10084 (debug_to_load): Add argument.
10085 (update_current_target): Update.
10086 * remote.c (remote_load): Add 'self' argument.
10087 * remote-sim.c (gdbsim_load): Add 'self' argument.
10088 * remote-mips.c (mips_load): Add 'self' argument.
10089 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10090 * monitor.c (monitor_load): Add 'self' argument.
10091 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10092
0a4f40a2
TT
100932014-02-19 Tom Tromey <tromey@redhat.com>
10094
10095 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10096 (target_terminal_info): Add argument.
10097 * target.c (debug_to_terminal_info): Add argument.
10098 (default_terminal_info): Likewise.
10099 * inflow.c (child_terminal_info): Add 'self' argument.
10100 * inferior.h (child_terminal_info): Add 'self' argument.
10101 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10102
ae3bd431
TT
101032014-02-19 Tom Tromey <tromey@redhat.com>
10104
10105 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10106 argument.
10107 (target_terminal_save_ours): Add argument.
10108 * target.c (debug_to_terminal_save_ours): Add argument.
10109 (update_current_target): Update.
10110 * inflow.c (terminal_save_ours): Add 'self' argument.
10111 * inferior.h (terminal_save_ours): Add 'self' argument.
10112
e3594fd1
TT
101132014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10116 (target_terminal_ours): Add argument.
10117 * target.c (debug_to_terminal_ours): Add argument.
10118 (update_current_target): Update.
10119 * remote.c (remote_terminal_ours): Add 'self' argument.
10120 (remote_close): Update.
10121 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10122 * inflow.c (terminal_ours): Add 'self' argument.
10123 * inferior.h (terminal_ours): Add 'self' argument.
10124 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10125
2e1e1a19
TT
101262014-02-19 Pedro Alves <palves@redhat.com>
10127 Tom Tromey <tromey@redhat.com>
10128
10129 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10130 argument.
10131 (target_terminal_ours_for_output): Add argument.
10132 * target.c (debug_to_terminal_ours_for_output): Add argument.
10133 (update_current_target): Update.
10134 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10135 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10136 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10137
d2f640d4
TT
101382014-02-19 Tom Tromey <tromey@redhat.com>
10139
10140 * target.h (struct target_ops) <to_terminal_inferior>: Add
10141 argument.
10142 * target.c (target_terminal_inferior): Add argument.
10143 (update_current_target): Update.
10144 * remote.c (remote_terminal_inferior): Add 'self' argument.
10145 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10146 * inflow.c (terminal_inferior): Add 'self' argument.
10147 * inferior.h (terminal_inferior): Add 'self' argument.
10148 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10149 (go32_terminal_inferior): Add 'self' argument.
10150
c42bf286
TT
101512014-02-19 Tom Tromey <tromey@redhat.com>
10152
10153 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10154 (target_terminal_init): Add argument.
10155 * target.c (debug_to_terminal_init): Add argument.
10156 (update_current_target): Update.
10157 * inflow.c (terminal_init_inferior): Add 'self' argument.
10158 * inferior.h (terminal_init_inferior): Add 'self' argument.
10159 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10160 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10161
c3a5ff89
TT
101622014-02-19 Tom Tromey <tromey@redhat.com>
10163
10164 * target.h (struct target_ops)
10165 <to_can_accel_watchpoint_condition>: Add argument.
10166 (target_can_accel_watchpoint_condition): Add argument.
10167 * target.c (debug_to_can_accel_watchpoint_condition): Add
10168 argument.
10169 (update_current_target): Update.
10170 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10171 'self' argument.
10172
31568a15
TT
101732014-02-19 Tom Tromey <tromey@redhat.com>
10174
10175 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10176 Add argument.
10177 (target_region_ok_for_hw_watchpoint): Add argument.
10178 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10179 (default_region_ok_for_hw_watchpoint): Add argument.
10180 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10181 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10182 argument.
10183 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10184 argument.
10185 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10186 argument.
10187 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10188 'self' argument.
10189 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10190 'self' argument.
10191 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10192 'self' argument.
10193 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10194 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10195 'self' argument.
10196 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10197 Add 'self' argument.
10198
7bb99c53
TT
101992014-02-19 Tom Tromey <tromey@redhat.com>
10200
10201 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10202 argument.
10203 (target_insert_watchpoint): Add argument.
10204 * target.c (debug_to_insert_watchpoint): Add argument.
10205 (update_current_target): Update.
10206 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10207 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10208 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10209 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10210 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10211 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10212 argument.
10213 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10214 (procfs_insert_hw_watchpoint): Add 'self' argument.
10215 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10216 argument.
10217 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10218 argument.
10219 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10220 argument.
10221 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10222 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10223 argument.
10224 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10225 'self' argument.
10226
11b5219a
TT
102272014-02-19 Tom Tromey <tromey@redhat.com>
10228
10229 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10230 argument.
10231 (target_remove_watchpoint): Add argument.
10232 * target.c (debug_to_remove_watchpoint): Add argument.
10233 (update_current_target): Update.
10234 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10235 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10236 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10237 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10238 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10239 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10240 argument.
10241 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10242 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10243 argument.
10244 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10245 argument.
10246 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10247 argument.
10248 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10249 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10250 argument.
10251 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10252 'self' argument.
10253
a64dc96c
TT
102542014-02-19 Tom Tromey <tromey@redhat.com>
10255
10256 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10257 argument.
10258 (target_remove_hw_breakpoint): Add argument.
10259 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10260 (update_current_target): Update.
10261 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10262 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10263 argument.
10264 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10265 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10266 argument.
10267 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10268 'self' argument.
10269
23a26771
TT
102702014-02-19 Tom Tromey <tromey@redhat.com>
10271
10272 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10273 argument.
10274 (target_insert_hw_breakpoint): Add argument.
10275 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10276 (update_current_target): Update.
10277 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10278 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10279 argument.
10280 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10281 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10282 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10283 argument.
10284 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10285 'self' argument.
10286
5461485a
TT
102872014-02-19 Tom Tromey <tromey@redhat.com>
10288
10289 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10290 argument.
10291 (target_can_use_hardware_watchpoint): Add argument.
10292 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10293 (update_current_target): Update.
10294 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10295 argument.
10296 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10297 argument.
10298 * remote.c (remote_check_watch_resources): Add 'self' argument.
10299 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10300 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10301 argument.
10302 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10303 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10304 argument.
10305 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10306 argument.
10307 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10308 argument.
10309 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10310 argument.
10311 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10312 argument.
10313 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10314 argument.
10315 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10316 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10317 argument.
10318 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10319 'self' argument.
10320
f045800c
TT
103212014-02-19 Tom Tromey <tromey@redhat.com>
10322
10323 * target.h (struct target_ops) <to_post_attach>: Add argument.
10324 (target_post_attach): Add argument.
10325 * target.c (debug_to_post_attach): Add argument.
10326 (update_current_target): Update.
10327 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10328 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10329 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10330 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10331 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10332
de90e03d
TT
103332014-02-19 Tom Tromey <tromey@redhat.com>
10334
10335 * windows-nat.c (windows_close): Add 'self' argument.
10336 * tracepoint.c (tfile_close): Add 'self' argument.
10337 * target.h (struct target_ops) <to_close>: Add argument.
10338 * target.c (target_close): Add argument.
10339 (update_current_target): Update.
10340 * remote.c (remote_close): Add 'self' argument.
10341 * remote-sim.c (gdbsim_close): Add 'self' argument.
10342 * remote-mips.c (mips_close): Add 'self' argument.
10343 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10344 * record-full.c (record_full_close): Add 'self' argument.
10345 * record-btrace.c (record_btrace_close): Add 'self' argument.
10346 * monitor.h (monitor_close): Add 'self' argument.
10347 * monitor.c (monitor_close): Add 'self' argument.
10348 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10349 * linux-nat.c (linux_nat_close): Add argument.
10350 * go32-nat.c (go32_close): Add 'self' argument.
10351 * exec.c (exec_close_1): Add 'self' argument.
10352 * ctf.c (ctf_close): Add 'self' argument.
10353 * corelow.c (core_close): Add 'self' argument.
10354 (core_close_cleanup): Update.
10355 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10356 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10357
9dd130a0
TT
103582014-02-19 Tom Tromey <tromey@redhat.com>
10359
10360 * remote.c (remote_load): New function.
10361 (init_remote_ops): Use it.
10362
46917d26
TT
103632014-02-19 Tom Tromey <tromey@redhat.com>
10364
10365 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10366 argument.
10367 * common/linux-btrace.h (linux_supports_btrace): Update.
10368 * remote.c (remote_supports_btrace): Add "self" argument.
10369 * target-delegates.c: Rebuild.
10370 * target.c (target_supports_btrace): Remove.
10371 * target.h (struct target_ops) <to_supports_btrace>: Add
10372 target_ops argument.
10373 (target_supports_btrace): New define.
10374
6b84065d
TT
103752014-02-19 Tom Tromey <tromey@redhat.com>
10376
10377 * record-full.c (record_full_beneath_to_resume_ops)
10378 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10379 (record_full_beneath_to_wait)
10380 (record_full_beneath_to_store_registers_ops)
10381 (record_full_beneath_to_store_registers)
10382 (record_full_beneath_to_xfer_partial_ops)
10383 (record_full_beneath_to_xfer_partial)
10384 (record_full_beneath_to_insert_breakpoint_ops)
10385 (record_full_beneath_to_insert_breakpoint)
10386 (record_full_beneath_to_remove_breakpoint_ops)
10387 (record_full_beneath_to_remove_breakpoint)
10388 (record_full_beneath_to_stopped_by_watchpoint)
10389 (record_full_beneath_to_stopped_data_address)
10390 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10391 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10392 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10393 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10394 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10395 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10396 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10397 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10398 (record_full_resume, record_full_wait_1)
10399 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10400 (record_full_store_registers, record_full_xfer_partial)
10401 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10402 (record_full_async, record_full_core_xfer_partial): Use target
10403 delegation.
10404 * target-delegates.c: Rebuild.
10405 * target.c (current_xfer_partial): Remove.
10406 (update_current_target): Do not INHERIT or de_fault
10407 to_insert_breakpoint, to_remove_breakpoint,
10408 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10409 to_is_async_p, to_async. Do not set to_xfer_partial field.
10410 (default_xfer_partial): Simplify.
10411 (current_xfer_partial): Remove.
10412 (target_wait, target_resume): Simplify.
10413 (find_default_can_async_p, find_default_is_async_p): Update.
10414 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10415 to_xfer_partial, to_stopped_by_watchpoint,
10416 to_stopped_data_address.
10417 (target_store_registers): Simplify.
10418 (forward_target_remove_breakpoint)
10419 (forward_target_insert_breakpoint): Remove.
10420 (target_remove_breakpoint, target_insert_breakpoint)
10421 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10422 * target.h (struct target_ops) <to_resume, to_wait,
10423 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10424 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10425 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10426 markup.
10427 (forward_target_remove_breakpoint)
10428 (forward_target_insert_breakpoint): Remove.
10429 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10430 directly.
10431 (record_btrace_insert_breakpoint): Delegate directly.
10432
1101cb7b
TT
104332014-02-19 Tom Tromey <tromey@redhat.com>
10434
10435 PR build/7701:
10436 * target-delegates.c: New file.
10437 * target.c: Include target-delegates.c.
10438 (init_dummy_target): Call install_dummy_methods.
10439 (complete_target_initialization): Call install_delegators.
10440 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10441 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10442 * make-target-delegates: New file.
10443
8b06beed
TT
104442014-02-19 Tom Tromey <tromey@redhat.com>
10445
10446 * record.c (find_record_target): Use find_target_at.
10447 * target.c (find_target_at): New function.
10448 * target.h (find_target_at): Declare.
10449
6a109b6b
TT
104502014-02-19 Tom Tromey <tromey@redhat.com>
10451
10452 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10453 Add 'ops' argument.
10454 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10455 'ops' argument.
10456 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10457 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10458 'ops' argument.
10459 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10460 argument.
10461 * linux-nat.c (save_sigtrap): Update.
10462 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10463 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10464 (linux_nat_close): Update.
10465 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10466 argument.
10467 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10468 argument.
10469 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10470 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10471 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10472 (tmp_to_async): Add 'ops' argument.
10473 (record_full_stopped_by_watchpoint, record_full_async)
10474 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10475 argument.
10476 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10477 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10478 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10479 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10480 (remote_is_async_p, remote_async): Add 'ops' argument.
10481 (remote_stopped_data_address): Update.
10482 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10483 * target.c (update_current_target)
10484 (find_default_can_async_p, find_default_is_async_p): Update.
10485 (init_dummy_target): Update.
10486 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10487 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10488 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10489 (target_can_async_p, target_is_async_p, target_async)
10490 (target_stopped_by_watchpoint): Update.
10491
e095146b
YQ
104922014-02-19 Yao Qi <yao@codesourcery.com>
10493
10494 PR gdb/16220
10495 * gdbarch.sh: Remove startup_gdbarch.
10496 * gdbarch.c: Regenerated.
10497 * gdbarch.h: Likewise.
10498
bc3c6b36
KB
104992014-02-17 Kevin Buettner <kevinb@redhat.com>
10500
10501 * rl78-tdep.c (rl78_g10_register_name): New function.
10502 (rl78_return_value): Add g10 support.
10503 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10504 g10.
10505
98dc0167 105062014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10507
10508 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10509 (SUBDIR_GUILE_SRCS): Ditto.
10510 (scm-gsmob.o): Ditto.
10511
842c05cd
YQ
105122014-02-17 Yao Qi <yao@codesourcery.com>
10513
10514 * gnu-nat.c (ILL_RPC): Declare defined function.
10515
25c0bd04
YQ
105162014-02-17 Yao Qi <yao@codesourcery.com>
10517
10518 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10519 mach_msg_type_number_t.
10520 (gnu_write_inferior): Likewise.
10521
a9a758e3
YQ
105222014-02-17 Yao Qi <yao@codesourcery.com>
10523
10524 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10525 in format string.
10526 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10527 (inf_validate_procs, inf_signal): Likewise.
10528 (S_exception_raise_request): Likewise.
10529 (do_mach_notify_dead_name): Likewise.
10530 (steal_exc_port): Likewise.
10531 (gnu_read_inferior): Change 'copy_count''s type to
10532 mach_msg_type_number_t.
10533 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10534 format string.
10535
bae8023e
TS
105362014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10537
c82f56d9
TS
10538 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10539 flag. Adjust all users; in particular...
10540 (gnu_wait): ..., don't decrement its value in here...
10541 (gnu_create_inferior): ..., and instead set the flag in here,
10542 around the startup_inferior call, and call that one with
10543 START_INFERIOR_TRAPS_EXPECTED.
10544
3398af6a
TS
10545 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10546 (ILL_RPC): ... new macro.
10547 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10548 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10549 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10550 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10551 functions with ILL_RPC macro.
10552 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10553 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10554 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10555 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10556 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10557 (S_proc_getlogin_reply, S_proc_getsid_reply)
10558 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10559 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10560 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10561 (S_proc_getnports_reply, S_proc_is_important_reply)
10562 (S_proc_get_code_reply): New stub functions, generated with
10563 ILL_RPC macro.
10564
d47642c9
TS
10565 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10566 collected the type check structures.
10567
bae8023e
TS
10568 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10569
8a55ffb0
DE
105702014-02-14 Doug Evans <dje@google.com>
10571
10572 * target.c (target_write_partial): Fix result type.
10573
c2853f3d
JM
105742014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10575
10576 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10577 the proper offsets to access fpregset_t.
10578
ac61d2db
SA
105792014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10580
10581 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10582 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10583 * h8300-tdep.c (setmachinelist): Remove global.
10584 * hppa-tdep.c (hppa_sigtramp): Remove global.
10585 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10586 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10587 * ravenscar-thread.c (update_target_observer): Remove global.
10588 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10589
9d2d0b8b
TT
105902014-02-12 Tom Tromey <tromey@redhat.com>
10591
10592 * common/rsp-low.c: Update comments.
10593 * common/rsp-low.h: Update comments.
10594
a7191e8b
TT
105952014-02-12 Tom Tromey <tromey@redhat.com>
10596
10597 * common/rsp-low.c (convert_ascii_to_int): Remove.
10598 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10599
ff0e980e
TT
106002014-02-12 Tom Tromey <tromey@redhat.com>
10601
10602 * common/rsp-low.h (unhexify): Don't declare.
10603 * common/rsp-low.c (unhexify): Remove.
10604
e9371aff
TT
106052014-02-12 Tom Tromey <tromey@redhat.com>
10606
10607 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10608 * common/rsp-low.c (convert_int_to_ascii): Remove.
10609
971dc0b8
TT
106102014-02-12 Tom Tromey <tromey@redhat.com>
10611
10612 * common/rsp-low.h (hexify): Don't declare.
10613 * common/rsp-low.c (hexify): Remove.
10614
0a822afb
TT
106152014-02-12 Tom Tromey <tromey@redhat.com>
10616
10617 * common/rsp-low.c (hexify): Never take strlen of argument.
10618
9f1b45b0
TT
106192014-02-12 Tom Tromey <tromey@redhat.com>
10620
10621 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10622 * remote.c (extended_remote_run, remote_rcmd)
10623 (remote_download_trace_state_variable, remote_save_trace_data)
10624 (remote_set_trace_notes): Update.
10625 * tracepoint.c (encode_source_string, tfile_write_status)
10626 (tfile_write_uploaded_tsv): Update.
10627
9c3d6531
TT
106282014-02-12 Tom Tromey <tromey@redhat.com>
10629
10630 * tracepoint.c: Include rsp-low.h.
10631 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10632 * remote.c: Include rsp-low.h.
10633 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10634 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10635 (remote_unescape_input): Move to common/rsp-low.c.
10636 * common/rsp-low.h: New file.
10637 * common/rsp-low.c: New file.
10638 * Makefile.in (SFILES): Add common/rsp-low.c.
10639 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10640 (COMMON_OBS): Add rsp-low.o.
10641 (rsp-low.o): New target.
10642
01fd3ea5
TT
106432014-02-12 Tom Tromey <tromey@redhat.com>
10644
10645 * utils.h: Include print-utils.h.
10646 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10647 (int_string, core_addr_to_string, core_addr_to_string_nz)
10648 (hex_string, hex_string_custom): Don't declare.
10649 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10650 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10651 (hex_string_custom, int_string, core_addr_to_string)
10652 (core_addr_to_string_nz, host_address_to_string): Move to
10653 common/print-utils.c.
10654 * common/print-utils.h: New file.
10655 * common/print-utils.c: New file
10656 * Makefile.in (SFILES): Add common/print-utils.c.
10657 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10658 (COMMON_OBS): Add print-utils.o.
10659 (print-utils.o): New target.
10660
9fb50108
TT
106612014-02-12 Tom Tromey <tromey@redhat.com>
10662
10663 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10664
0548b5db
MK
106652014-02-12 Mark Kettenis <kettenis@gnu.org>
10666
10667 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10668
493443a4
MK
106692014-02-12 Mark Kettenis <kettenis@gnu.org>
10670
10671 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10672 if a PT_IO ptrace request returns sucessfully but indicates that 0
10673 bytes were transferred.
10674
706d0883
PA
106752014-02-12 Pedro Alves <palves@redhat.com>
10676 Kevin Buettner <kevinb@redhat.com>
10677
10678 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10679 TYPE_INSTANCE_FLAG_CODE_SPACE.
10680
5caa2f0b
PA
106812014-02-12 Pedro Alves <palves@redhat.com>
10682
10683 * h8300-tdep.c (pseudo_from_raw_register)
10684 (raw_from_pseudo_register): New functions.
10685 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10686 them.
10687
76fd5f74
PA
106882014-02-12 Pedro Alves <palves@redhat.com>
10689
10690 * h8300-tdep.c (h8300_register_sim_regno): New function.
10691 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10692 gdbarch_register_sim_regno hook.
10693
8f008406
SA
106942014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10695
10696 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10697
195abc10
SA
106982014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10699
10700 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10701
93ffa5b9
MK
107022014-02-12 Mark Kettenis <kettenis@gnu.org>
10703
10704 * obsd-tdep.h (obsd_init_abi): New prototype.
10705 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10706 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10707 (obsd_init_abi): New functions.
10708 * i386obsd-tdep.c: Include "obsd-tdep.h".
10709 (i386obsd_init_abi): Call obsd_init_abi.
10710 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10711 (amd64obsd_init_abi): Call obsd_init_abi.
10712 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10713 obsd-tdep.c to gdb_target_obs.
10714
49caec94
JM
107152014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10716
10717 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10718 double float arguments to 16-byte in the argument slots.
10719
e1402065
DE
107202014-02-11 Doug Evans <xdje42@gmail.com>
10721
10722 * configure.ac: Don't crash if pkg-config is not found and guile
10723 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10724 in guile checks.
10725 * configure: Regenerate.
10726
edcc890f
YQ
107272014-02-11 Yao Qi <yao@codesourcery.com>
10728
10729 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10730 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10731 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10732 * gnu-nat.c (gnu_xfer_memory): Likewise.
10733 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10734 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10735 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10736 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10737
9b409511
YQ
107382014-02-11 Yao Qi <yao@codesourcery.com>
10739
10740 * target.h (enum target_xfer_error): Rename to ...
10741 (enum target_xfer_status): ... it. New. All users updated.
10742 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10743 New.
10744 (TARGET_XFER_STATUS_ERROR_P): New macro.
10745 (target_xfer_error_to_string): Remove declaration.
10746 (target_xfer_status_to_string): Declare.
10747 (target_xfer_partial_ftype): Adjust it.
10748 (struct target_ops) <to_xfer_partial>: Return
10749 target_xfer_status. Add argument xfered_len. Update
10750 comments.
10751 * target.c (target_xfer_error_to_string): Rename to ...
10752 (target_xfer_status_to_string): ... it. New. All callers
10753 updated.
10754 (target_read_live_memory): Likewise. Call target_xfer_partial
10755 instead of target_read.
10756 (memory_xfer_live_readonly_partial): Return
10757 target_xfer_status. Add argument xfered_len.
10758 (raw_memory_xfer_partial): Likewise.
10759 (memory_xfer_partial_1): Likewise.
10760 (memory_xfer_partial): Likewise.
10761 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10762 properly. Update debug message.
10763 (default_xfer_partial, current_xfer_partial): Likewise.
10764 (target_write_partial): Likewise.
10765 (target_read_partial): Likewise. All callers updated.
10766 (read_whatever_is_readable): Likewise.
10767 (target_write_with_progress): Likewise.
10768 (target_read_alloc_1): Likewise.
10769
10770 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10771 * auxv.c (procfs_xfer_auxv): Likewise.
10772 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10773 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10774 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10775 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10776 * corefile.c (read_memory): Adjust.
10777 * corelow.c (core_xfer_partial): Likewise.
10778 * ctf.c (ctf_xfer_partial): Likewise.
10779 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10780 updated.
10781 (darwin_xfer_partial): Likewise.
10782 * exec.c (section_table_xfer_memory_partial): Likewise. All
10783 callers updated.
10784 (exec_xfer_partial): Likewise.
10785 * exec.h (section_table_xfer_memory_partial): Update
10786 declaration.
10787 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10788 negative.
10789 (gnu_xfer_partial): Likewise.
10790 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10791 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10792 (ia64_hpux_xfer_solib_got): Likewise.
10793 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10794 type of 'partial_len' to ULONGEST.
10795 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10796 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10797 (linux_nat_xfer_partial): Likewise.
10798 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10799 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10800 * monitor.c (monitor_xfer_memory): Likewise.
10801 (monitor_xfer_partial): Likewise.
10802 * procfs.c (procfs_xfer_partial): Likewise.
10803 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10804 * record-full.c (record_full_xfer_partial): Likewise.
10805 (record_full_core_xfer_partial): Likewise.
10806 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10807 (gdbsim_xfer_partial): Likewise.
10808 * remote.c (remote_write_bytes_aux): Likewise. All callers
10809 updated.
10810 (remote_write_bytes, remote_read_bytes): Likewise. All
10811 callers updated.
10812 (remote_flash_erase): Likewise. All callers updated.
10813 (remote_write_qxfer): Likewise. All callers updated.
10814 (remote_read_qxfer): Likewise. All callers updated.
10815 (remote_xfer_partial): Likewise.
10816 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10817 (rs6000_xfer_shared_libraries): Likewise.
10818 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10819 (sol_thread_xfer_partial): Likewise.
10820 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10821 (sparc_xfer_partial): Likewise.
10822 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10823 updated.
10824 (spu_xfer_partial): Likewise.
10825 * spu-multiarch.c (spu_xfer_partial): Likewise.
10826 * tracepoint.c (tfile_xfer_partial): Likewise.
10827 * windows-nat.c (windows_xfer_memory): Likewise.
10828 (windows_xfer_shared_libraries): Likewise.
10829 (windows_xfer_partial): Likewise.
10830 * valprint.c: Replace 'target_xfer_error' with
10831 'target_xfer_status' in comments.
10832
a8e63083
JB
108332014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10834
10835 Checked in by Joel Brobecker <brobecker@adacore.com>.
10836 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10837
e86b67d3
JB
108382014-02-11 Joel Brobecker <brobecker@adacore.com>
10839
10840 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10841 function parameters.
10842
4b7d1f7f
WN
108432014-02-10 Will Newton <will.newton@linaro.org>
10844
10845 * elfread.c (elf_rel_plt_read): Look for a .got section if
10846 looking up .got.plt fails.
10847 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10848 on address passed to elf_gnu_ifunc_record_cache.
10849 (elf_gnu_ifunc_resolve_addr): Likewise.
10850 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10851
961842b2
JM
108522014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10853
10854 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10855 (X_RETTURN): New macro.
10856 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10857
10858 * sparc64-tdep.c (sparc64_init_abi): Hook
10859 sparc_in_function_epilogue_p.
10860
3f03e7b1
GB
108612014-02-10 Gary Benson <gbenson@redhat.com>
10862
10863 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10864 Rename name_matcher to symbol_matcher.
10865
96f861ef
GB
108662014-02-10 Gary Benson <gbenson@redhat.com>
10867
10868 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10869 Use expand_symtabs_file_matcher_ftype and
10870 expand_symtabs_symbol_matcher_ftype.
10871
ee01b665
JB
108722014-02-10 Joel Brobecker <brobecker@adacore.com>
10873
10874 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10875 (struct ada_symbol_cache): New.
10876 (ada_free_symbol_cache): Forward declare.
10877 (struct ada_pspace_data): New.
10878 (ada_pspace_data_handle): New static global.
10879 (get_ada_pspace_data, ada_pspace_data_cleanup)
10880 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10881 (cache_space, cache): Delete, now folded inside struct
10882 ada_pspace_data.
10883 (ada_get_symbol_cache): New function.
10884 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10885 implementation.
10886 (_initialize_ada_language): Remove initialization of cache_space.
10887 Move call to observer_attach_inferior_exit up, grouping it
10888 with the other observer registrations inside this function.
10889 Rename command to be more general. Add call to
10890 register_program_space_data_with_cleanup.
10891
143adbbf
JB
108922014-02-10 Joel Brobecker <brobecker@adacore.com>
10893
10894 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10895 ada_new_objfile_observer.
10896 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10897 (_initialize_tasks): Update uses of ada_new_objfile_observer
10898 and ada_tasks_normal_stop_observer.
10899
aa4fb036
JB
109002014-02-10 Joel Brobecker <brobecker@adacore.com>
10901
10902 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10903 returned by the 'Length attribute to integer.
10904
9dee8cc6
JB
109052014-02-10 Joel Brobecker <brobecker@adacore.com>
10906
10907 * ada-lang.c (_initialize_ada_language): Initialize
10908 cache_space obstack.
10909
3d9434b5
JB
109102014-02-10 Joel Brobecker <brobecker@adacore.com>
10911
10912 * ada-lang.c (HASH_SIZE): New macro.
10913 (struct cache_entry): New type.
10914 (cache_space, cache): New static globals.
10915 (ada_clear_symbol_cache, find_entry): New functions.
10916 (lookup_cached_symbol, cache_symbol): Implement.
10917 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10918 (_initialize_ada_language): Attach ada_new_objfile_observer
10919 and ada_free_objfile_observer.
10920
f0c5f9b2
JB
109212014-02-10 Joel Brobecker <brobecker@adacore.com>
10922
10923 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10924 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10925 struct block * parameter.
10926 (ada_lookup_symbol_list_worker): Constify local variable "block".
10927 Remove cast which is no longer necessary.
10928
ed3ef339
DE
109292014-02-10 Doug Evans <xdje42@gmail.com>
10930
10931 Add Guile as an extension language.
10932 * NEWS: Mention Guile scripting.
10933 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10934 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10935 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10936 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10937 (CLIBS): Add GUILE_LIBS.
10938 (install-guile): New rule.
10939 (guile.o): New rule.
10940 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10941 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10942 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10943 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10944 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10945 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10946 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10947 * configure.ac: New option --with-guile.
10948 * configure: Regenerate.
10949 * config.in: Regenerate.
10950 * auto-load.c: Remove #include "python/python.h". Add #include
10951 "gdb/section-scripts.h".
10952 (source_section_scripts): Handle Guile scripts.
10953 (_initialize_auto_load): Add name of Guile objfile script to
10954 scripts-directory help text.
10955 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10956 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10957 (struct breakpoint): New member scm_bp_object.
10958 * defs.h (enum command_control_type): New value guile_control.
10959 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10960 "extension.h".
10961 (show_user): Update comment.
10962 (_initialize_cli_cmds): Update help text for "show user". Update help
10963 text for max-user-call-depth.
10964 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10965 "extension.h".
10966 (multi_line_command_p): Add guile_control.
10967 (print_command_lines): Handle guile_control.
10968 (execute_control_command, recurse_read_control_structure): Ditto.
10969 (process_next_line): Recognize "guile" commands.
10970 * disasm.c (gdb_disassemble_info): Make non-static.
10971 * disasm.h: #include "dis-asm.h".
10972 (struct gdbarch): Add forward decl.
10973 (gdb_disassemble_info): Declare.
10974 * extension.c: #include "guile/guile.h".
10975 (extension_languages): Add guile.
10976 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10977 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10978 * gdbtypes.c (get_unsigned_type_max): New function.
10979 (get_signed_type_minmax): New function.
10980 * gdbtypes.h (get_unsigned_type_max): Declare.
10981 (get_signed_type_minmax): Declare.
10982 * guile/README: New file.
10983 * guile/guile-internal.h: New file.
10984 * guile/guile.c: New file.
10985 * guile/guile.h: New file.
10986 * guile/scm-arch.c: New file.
10987 * guile/scm-auto-load.c: New file.
10988 * guile/scm-block.c: New file.
10989 * guile/scm-breakpoint.c: New file.
10990 * guile/scm-disasm.c: New file.
10991 * guile/scm-exception.c: New file.
10992 * guile/scm-frame.c: New file.
10993 * guile/scm-gsmob.c: New file.
10994 * guile/scm-iterator.c: New file.
10995 * guile/scm-lazy-string.c: New file.
10996 * guile/scm-math.c: New file.
10997 * guile/scm-objfile.c: New file.
10998 * guile/scm-ports.c: New file.
10999 * guile/scm-pretty-print.c: New file.
11000 * guile/scm-safe-call.c: New file.
11001 * guile/scm-string.c: New file.
11002 * guile/scm-symbol.c: New file.
11003 * guile/scm-symtab.c: New file.
11004 * guile/scm-type.c: New file.
11005 * guile/scm-utils.c: New file.
11006 * guile/scm-value.c: New file.
11007 * guile/lib/gdb.scm: New file.
11008 * guile/lib/gdb/boot.scm: New file.
11009 * guile/lib/gdb/experimental.scm: New file.
11010 * guile/lib/gdb/init.scm: New file.
11011 * guile/lib/gdb/iterator.scm: New file.
11012 * guile/lib/gdb/printing.scm: New file.
11013 * guile/lib/gdb/types.scm: New file.
11014 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11015 (VPATH): Add $(GUILE_SRCDIR).
11016 (GUILE_DIR): New variable.
11017 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11018 (all): Add stamp-guile dependency.
11019 (stamp-guile): New rule.
11020 (clean-guile, install-guile, uninstall-guile): New rules.
11021 (install-only): Add install-guile dependency.
11022 (uninstall): Add uninstall-guile dependency.
11023 (clean): Add clean-guile dependency.
11024
ac020ec5
DE
110252014-02-09 Doug Evans <xdje42@gmail.com>
11026
11027 Revert this patch (which I approved, mea culpa).
11028
11029 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11030
11031 * Makefile.in (all-lib): Remove.
11032 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11033
2a081c59
JK
110342014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11035
11036 Fix Python stack corruption.
11037 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11038 gdb_py_longest.
11039
0a6bd22d
MK
110402014-02-08 Mark Kettenis <kettenis@gnu.org>
11041
11042 * Makefile.in (all-lib): Remove.
11043 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11044
1a860409
DE
110452014-02-07 Doug Evans <dje@google.com>
11046
11047 * extension-priv.h (extension_language_script_ops): Add comment.
11048 (extension_language_ops): Add comment.
caf5a491 11049 (active_ext_lang_state): Fix typo in comment.
1a860409 11050
d137e6dc
PA
110512014-02-07 Pedro Alves <palves@redhat.com>
11052
0dcb32c3 11053 PR breakpoints/16292
d137e6dc
PA
11054 * infrun.c (handle_signal_stop) <signal arrives while stepping
11055 over a breakpoint>: Switch back to the stepping thread.
11056
ce6d0892
YQ
110572014-02-07 Yao Qi <yao@codesourcery.com>
11058
11059 * target.c (target_xfer_partial): Return zero if LEN is zero.
11060
2ed4b548
YQ
110612014-02-07 Yao Qi <yao@codesourcery.com>
11062
11063 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11064 (ld_so_xfer_auxv): Likewise.
11065 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11066 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11067 * corelow.c (core_xfer_partial): Likewise.
11068 * ctf.c (ctf_xfer_partial): Likewise.
11069 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11070 (darwin_xfer_partial): Likewise.
11071 * exec.c (exec_xfer_partial): Likewise.
11072 * gnu-nat.c (gnu_xfer_partial): Likewise.
11073 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11074 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11075 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11076 * linux-nat.c (linux_xfer_siginfo): Likewise.
11077 (linux_proc_xfer_spu): Likewise.
11078 * procfs.c (procfs_xfer_partial): Likewise.
11079 * record-full.c (record_full_xfer_partial): Likewise.
11080 (record_full_core_xfer_partial): Likewise.
11081 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11082 * remote.c (remote_write_qxfer): Likewise.
11083 (remote_write_qxfer, remote_read_qxfer): Likewise.
11084 (remote_xfer_partial): Likewise.
11085 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11086 (rs6000_xfer_shared_libraries): Likewise.
11087 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11088 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11089 (spu_xfer_partial): Likewise.
11090 * target.c (memory_xfer_partial_1): Likewise.
11091 * tracepoint.c (tfile_xfer_partial): Likewise.
11092 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11093 (windows_xfer_partial): Likewise.
11094
c09f20e4
YQ
110952014-02-07 Yao Qi <yao@codesourcery.com>
11096
11097 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11098 comments.
11099 (core_xfer_shared_libraries_aix): Likewise.
11100 * gdbarch.c, gdbarch.h: Regenerated.
11101 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11102 ULONGEST. Change 'len_avail' type to ULONGEST.
11103 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11104 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11105 declaration.
11106 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11107
8635b3bf
YQ
111082014-02-07 Yao Qi <yao@codesourcery.com>
11109
11110 * corefile.c (memory_error): Get 'exception' from ERR and pass
11111 'exception' to throw_error.
11112
6dddc817
DE
111132014-02-06 Doug Evans <xdje42@gmail.com>
11114
11115 * configure.ac (libpython checking): Remove all but python.o from
11116 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11117 * configure: Regenerate.
11118
11119 * Makefile.in (SFILES): Add extension.c.
11120 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11121 (COMMON_OBS): Add extension.o.
11122 * extension.h: New file.
11123 * extension-priv.h: New file.
11124 * extension.c: New file.
11125
11126 * python/python-internal.h: #include "extension.h".
11127 (gdbpy_auto_load_enabled): Declare.
11128 (gdbpy_apply_val_pretty_printer): Declare.
11129 (gdbpy_apply_frame_filter): Declare.
11130 (gdbpy_preserve_values): Declare.
11131 (gdbpy_breakpoint_cond_says_stop): Declare.
11132 (gdbpy_breakpoint_has_cond): Declare.
11133 (void source_python_script_for_objfile): Delete.
11134 * python/python.c: #include "extension-priv.h".
11135 Delete inclusion of "observer.h".
11136 (extension_language_python): Moved here and renamed from
11137 script_language_python in py-auto-load.c.
11138 Redefined to be of type extension_language_defn.
11139 (python_extension_script_ops): New global.
11140 (python_extension_ops): New global.
11141 (struct python_env): New member previous_active.
11142 (restore_python_env): Call restore_active_ext_lang.
11143 (ensure_python_env): Call set_active_ext_lang.
11144 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11145 New arg extlang.
11146 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11147 New arg extlang.
11148 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11149 New arg extlang.
11150 (gdbpy_eval_from_control_command): Renamed from
11151 eval_python_from_control_command, made static. New arg extlang.
11152 (gdbpy_source_script) Renamed from source_python_script, made static.
11153 New arg extlang.
11154 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11155 result to int. New arg extlang.
11156 (gdbpy_source_objfile_script): Renamed from
11157 source_python_script_for_objfile, made static. New arg extlang.
11158 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11159 static. New args extlang, extlang_printers. Change result type to
11160 "void".
11161 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11162 static. New arg extlang. Rename arg printers to extlang_printers
11163 and change type to ext_lang_type_printers *.
11164 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11165 static. Replace argument arg with extlang, extlang_printers.
11166 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11167 (!HAVE_PYTHON, source_python_script): Delete.
11168 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11169 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11170 (!HAVE_PYTHON, start_type_printers): Delete.
11171 (!HAVE_PYTHON, apply_type_printers): Delete.
11172 (!HAVE_PYTHON, free_type_printers): Delete.
11173 (_initialize_python): Delete call to observer_attach_before_prompt.
11174 (finalize_python): Set/restore active extension language.
11175 (gdbpy_finish_initialization) Renamed from
11176 finish_python_initialization, made static. New arg extlang.
11177 (gdbpy_initialized): New function.
11178 * python/python.h: #include "extension.h". Delete #include
11179 "value.h", "mi/mi-cmds.h".
11180 (extension_language_python): Declare.
11181 (GDBPY_AUTO_FILE_NAME): Delete.
11182 (enum py_bt_status): Moved to extension.h and renamed to
11183 ext_lang_bt_status.
11184 (enum frame_filter_flags): Moved to extension.h.
11185 (enum py_frame_args): Moved to extension.h and renamed to
11186 ext_lang_frame_args.
11187 (finish_python_initialization): Delete.
11188 (eval_python_from_control_command): Delete.
11189 (source_python_script): Delete.
11190 (apply_val_pretty_printer): Delete.
11191 (apply_frame_filter): Delete.
11192 (preserve_python_values): Delete.
11193 (gdbpy_script_language_defn): Delete.
11194 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11195 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11196
11197 * auto-load.c: #include "extension.h".
11198 (GDB_AUTO_FILE_NAME): Delete.
11199 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11200 (script_language_gdb): Delete, moved to extension.c and renamed to
11201 extension_language_gdb.
11202 (source_gdb_script_for_objfile): Delete.
11203 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11204 (loaded_script): Change type of language member to
11205 struct extension_language_defn *.
11206 (init_loaded_scripts_info): Initialize
11207 unsupported_script_warning_printed.
11208 (maybe_add_script): Make static. Change type of language arg to
11209 struct extension_language_defn *.
11210 (clear_section_scripts): Reset unsupported_script_warning_printed.
11211 (auto_load_objfile_script_1): Rewrite to use extension language API.
11212 (auto_load_objfile_script): Make public. Remove support-compiled-in
11213 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11214 (source_section_scripts): Rewrite to use extension language API.
11215 (load_auto_scripts_for_objfile): Rewrite to use
11216 auto_load_scripts_for_objfile.
11217 (collect_matching_scripts_data): Change type of language member to
11218 struct extension_language_defn *.
11219 (auto_load_info_scripts): Change type of language arg to
11220 struct extension_language_defn *.
11221 (unsupported_script_warning_print): New function.
11222 (script_not_found_warning_print): Make static.
11223 (_initialize_auto_load): Rewrite construction of scripts-directory
11224 help.
11225 * auto-load.h (struct objfile): Add forward decl.
11226 (struct script_language): Delete.
11227 (struct auto_load_pspace_info): Add forward decl.
11228 (struct extension_language_defn): Add forward decl.
11229 (maybe_add_script): Delete.
11230 (auto_load_objfile_script): Declare.
11231 (script_not_found_warning_print): Delete.
11232 (auto_load_info_scripts): Update prototype.
11233 (auto_load_gdb_scripts_enabled): Declare.
11234 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11235 auto_load_python_scripts_enabled and made public.
11236 (script_language_python): Delete, moved to python.c.
11237 (gdbpy_script_language_defn): Delete.
11238 (info_auto_load_python_scripts): Update to use
11239 extension_language_python.
11240
11241 * breakpoint.c (condition_command): Replace call to
11242 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11243 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11244 with call to breakpoint_ext_lang_cond_says_stop.
11245 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11246 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11247 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11248 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11249 New arg slang.
11250 (local_setattro): Print name of extension language with existing
11251 stop condition.
11252
11253 * valprint.c (val_print, value_print): Update to call
11254 apply_ext_lang_val_pretty_printer.
11255 * cp-valprint.c (cp_print_value): Update call to
11256 apply_ext_lang_val_pretty_printer.
11257 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11258 (gdbpy_apply_val_pretty_printer): Renamed from
11259 apply_val_pretty_printer. New arg extlang.
11260 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11261
11262 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11263 extension language API.
11264 * cli/cli-script.c (execute_control_command): Update to call
11265 eval_ext_lang_from_control_command.
11266
11267 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11268 enum ext_lang_bt_status values. Update call to
11269 apply_ext_lang_frame_filter.
11270 (mi_cmd_stack_list_locals): Ditto.
11271 (mi_cmd_stack_list_args): Ditto.
11272 (mi_cmd_stack_list_variables): Ditto.
11273 * mi/mi-main.c: Delete #include "python/python-internal.h".
11274 Add #include "extension.h".
11275 (mi_cmd_list_features): Replace reference to python internal variable
11276 gdb_python_initialized with call to ext_lang_initialized_p.
11277
11278 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11279 Update to use enum ext_lang_frame_args. Update to call
11280 apply_ext_lang_frame_filter.
11281 * python/py-framefilter.c (extract_sym): Update to use enum
11282 ext_lang_bt_status.
11283 (extract_value, py_print_type, py_print_value): Ditto.
11284 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11285 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11286 (py_print_frame): Ditto.
11287 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11288 New arg extlang. Update to use enum ext_lang_bt_status.
11289
11290 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11291 finish_python_initialization. Replace with call to
11292 finish_ext_lang_initialization.
11293
11294 * typeprint.c (do_free_global_table): Update to call
11295 free_ext_lang_type_printers.
11296 (create_global_typedef_table): Update to call
11297 start_ext_lang_type_printers.
11298 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11299 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11300 (type_print_options): Change type of global_printers from "void *"
11301 to "struct ext_lang_type_printers *".
11302
11303 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11304 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11305 (gdbpy_preserve_values): Renamed from preserve_python_values.
11306 New arg extlang.
11307 (!HAVE_PYTHON, preserve_python_values): Delete.
11308
11309 * utils.c (quit_flag): Delete, moved to extension.c.
11310 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11311 extension.c.
11312
11313 * eval.c: Delete #include "python/python.h".
11314 * main.c: Delete #include "python/python.h".
11315
11316 * defs.h: Update comment.
11317
6af79985
JB
113182014-02-06 Joel Brobecker <brobecker@adacore.com>
11319
11320 GDB 7.7 released.
11321
12c5175d
MK
113222014-02-05 Mark Kettenis <kettenis@gnu.org>
11323
11324 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11325 defined.
11326
8dc5b319
YQ
113272014-02-05 Yao Qi <yao@codesourcery.com>
11328
11329 * remote.c (remote_pass_signals): Remove local 'buf' and use
11330 rs->buf.
11331 (remote_program_signals): Likewise.
11332
de7b2893
YQ
113332014-02-05 Yao Qi <yao@codesourcery.com>
11334
11335 * ctf.c: Include "inferior.h" and "gdbthread.h".
11336 (CTF_PID): A new macro.
11337 (ctf_open): Call inferior_appeared and add_thread_silent.
11338 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11339 (ctf_thread_alive): New function.
11340 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11341
66d032ac
YQ
113422014-02-05 Yao Qi <yao@codesourcery.com>
11343
11344 Revert this patch:
11345
11346 2013-05-24 Yao Qi <yao@codesourcery.com>
11347
11348 * tracepoint.c (TFILE_PID): Remove.
11349 (tfile_open): Don't add thread and inferior.
11350 (tfile_close): Don't set 'inferior_ptid'. Don't call
11351 exit_inferior_silent.
11352 (tfile_thread_alive): Remove.
11353 (init_tfile_ops): Don't set field 'to_thread_alive' of
11354 tfile_ops.
11355
f4ccffad
CE
113562014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11357
11358 * remote.c (remote_start_remote): Call remote_check_symbols even
11359 if only symbol-file (not file) has been given.
11360
591a12a1
UW
113612014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11362
11363 * gdbarch.sh (skip_entrypoint): New callback.
11364 * gdbarch.c, gdbarch.h: Regenerate.
11365 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11366 * infrun.c (fill_in_stop_func): Likewise.
11367 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11368 (ppc_elfv2_elf_make_msymbol_special): New function.
11369 (ppc_elfv2_skip_entrypoint): Likewise.
11370 (ppc_linux_init_abi): Install them for ELFv2.
11371
cc0e89c5
UW
113722014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11373
11374 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11375 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11376 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11377 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11378 structures returned in GPRs.
11379
52f548e4
UW
113802014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11381
11382 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11383 offset to the stack parameter list for the ELFv2 ABI.
11384
d4094b6a
UW
113852014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11386
11387 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11388 set_gdbarch_convert_from_func_ptr_addr and
11389 set_gdbarch_elf_make_msymbol_special for ELFv1.
11390 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11391 function descriptors on ELFv1.
11392 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11393 set up r12 at function entry.
11394
cd453cd0
UW
113952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11396
11397 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11398 (struct gdbarch_tdep): New member elf_abi.
11399
11400 * rs6000-tdep.c: Include "elf/ppc64.h".
11401 (rs6000_gdbarch_init): Detect ELF ABI version.
11402
0ff3e01f
UW
114032014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11404
11405 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11406 within a register pair holding a DFP 128-bit value on little-endian.
11407 (ppc64_sysv_abi_return_value_base): Likewise.
11408 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11409 (dfp_pseudo_register_write): Likewise.
11410
5b757e5d
UW
114112014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11412
11413 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11414 offset on little-endian when passing _Decimal32.
11415 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11416
084ee545
UW
114172014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11418
11419 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11420 of the overlapped FP register within the VSX register on little-
11421 endian platforms.
11422 (efpr_pseudo_register_write): Likewise.
11423
d63167af
UW
114242014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11425
11426 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11427 offset on little-endian when passing small structures.
11428
e765b44c
UW
114292014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11430
11431 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11432 (struct ppc64_sysv_argpos): New data structure.
11433 (ppc64_sysv_abi_push_float): Remove.
11434 (ppc64_sysv_abi_push_val): New function.
11435 (ppc64_sysv_abi_push_integer): Likewise.
11436 (ppc64_sysv_abi_push_freg): Likewise.
11437 (ppc64_sysv_abi_push_vreg): Likewise.
11438 (ppc64_sysv_abi_push_param): Likewise.
11439 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11440 (ppc64_sysv_abi_return_value_base): New function.
11441 (ppc64_sysv_abi_return_value): Refactor to use it.
11442
36c24d95
UW
114432014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11444
11445 * NEWS: Document new target powerpc64le-*-linux*.
11446
26fd9228
MK
114472014-02-04 Mark Kettenis <kettenis@gnu.org>
11448
11449 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11450 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11451 core dumps.
11452 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11453 register set used in ELF core dumps. Add floating-point register set.
11454
c5bb7362
KB
114552014-02-03 Kevin Buettner <kevinb@redhat.com>
11456
74228e77 11457 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
11458 dwarf2_to_gdb[] table using symbolic constants. Adjust
11459 penultimate entry from number representing the PC register
11460 to symbolic constant representing the MDR register. Add
11461 constant for the PC register to the end of the table.
11462
af09351e
MK
114632014-02-03 Mark Kettenis <kettenis@gnu.org>
11464
11465 * bsd-kvm.c: Include <sys/param.h>
11466
8507e05d
MK
114672014-02-03 Mark Kettenis <kettenis@gnu.org>
11468
11469 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11470
ae56bfb8
JB
114712014-01-31 Joel Brobecker <brobecker@adacore.com>
11472
11473 * ada-lang.h (clear_ada_sym_cache): Delete.
11474
718ee4dc
UW
114752014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11476
11477 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11478
401e27fd
JM
114792014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11480
11481 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11482 the sigreturn register save area only if the syscall is
11483 sigreturn.
11484
a7c88acd
JB
114852014-01-29 Joel Brobecker <brobecker@adacore.com>
11486
11487 * valops.c (value_slice): Minor reformatting.
11488
fa0079ea
UW
114892014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11490
11491 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11492
c6044dd1
JB
114932014-01-28 Joel Brobecker <brobecker@adacore.com>
11494
11495 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11496 New static globals.
11497 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11498 (ada_ignore_descriptive_types_p): New static global.
11499 (find_parallel_type_by_descriptive_type): Return immediately
11500 if ada_ignore_descriptive_types_p is set.
11501 (_initialize_ada_language): Register new commands "maintenance
11502 set ada", "maintenance show ada", "maintenance set ada
11503 ignore-descriptive-types" and "maintenance show ada
11504 ignore-descriptive-types".
11505 * NEWS: Add entry for new "maint ada set/show
11506 ignore-descriptive-types" commands.
11507
568e808b
MM
115082014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11509
11510 * record-btrace.c (record_btrace_close): Call btrace_teardown
11511 for all threads.
11512
467d141b
JB
115132014-01-27 Joel Brobecker <brobecker@adacore.com>
11514
11515 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11516 "ui-out.h".
11517
fb151210
JB
115182014-01-27 Joel Brobecker <brobecker@adacore.com>
11519
11520 * ada-typeprint (type_is_full_subrange_of_target_type):
11521 New function.
11522 (print_range): Add parameter bounds_prefered_p. If not set,
11523 try printing range types using the name of their base type.
11524 (print_range_type): Add parameter bounds_prefered_p.
11525 Use it in call to print_range.
11526 (print_array_type, ada_print_type): Update calls to print_range
11527 and print_range_type.
11528
aba02109
JB
115292014-01-27 Joel Brobecker <brobecker@adacore.com>
11530
11531 * ada-typeprint.c (print_array_type, print_choices, print_range)
11532 (print_range_bound, print_dynamic_range_bound, print_range_type):
11533 Remove declaration.
11534
e62e21fd
JB
115352014-01-27 Joel Brobecker <brobecker@adacore.com>
11536
11537 * ada-typeprint.c (print_range): Add missing empty line
11538 after local declaration.
11539
859cf5d1
JB
115402014-01-27 Joel Brobecker <brobecker@adacore.com>
11541
11542 * ada-valprint.c (print_optional_low_bound): Get index_type's
11543 target type for as long as it is a TYPE_CODE_RANGE.
11544
25790f6f
JB
115452014-01-27 Joel Brobecker <brobecker@adacore.com>
11546
11547 * procfs.c (procfs_make_note_section): Remove assertion and
11548 associated comment.
11549
6b6aa828
YQ
115502014-01-24 Yao Qi <yao@codesourcery.com>
11551
11552 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11553 * corelow.c (get_core_siginfo): Likewise.
11554
5d6df423
YQ
115552014-01-24 Yao Qi <yao@codesourcery.com>
11556
11557 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11558 ULONGEST. Don't check 'len' is negative.
11559 (remote_write_bytes): Change type of 'len' to ULONGEST.
11560
83b645b8
TT
115612014-01-23 Tom Tromey <tromey@redhat.com>
11562
11563 PR python/16485:
11564 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11565 Handle exception from frame.block.
11566 (FrameVars.fetch_frame_locals): Likewise.
11567
0740f8d8
TT
115682014-01-23 Tom Tromey <tromey@redhat.com>
11569
11570 PR python/16487:
11571 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11572 on a NULL pointer. Move "goto error" to correct place.
11573
21909fa1
TT
115742014-01-23 Tom Tromey <tromey@redhat.com>
11575
11576 PR python/16491:
11577 * python/py-framefilter.c (apply_frame_filter): Call
11578 ensure_python_env after computing gdbarch.
11579
17fde6d0
YQ
115802014-01-23 Yao Qi <yao@codesourcery.com>
11581
11582 * target.c (raw_memory_xfer_partial): Change argument type
11583 from void * to gdb_byte *.
11584 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11585
87ce2a04
DE
115862014-01-22 Doug Evans <dje@google.com>
11587
11588 New gdbserver option --debug-format=timestamp.
11589 * NEWS: Mention it.
11590
237b092b
AA
115912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11592
11593 * syscalls/s390x-linux.xml: New file.
11594 * syscalls/s390-linux.xml: New file.
11595 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11596 (XML_SYSCALL_FILENAME_S390X): Likewise.
11597 (op_svc): New enum value for SVC opcode.
11598 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11599 (s390_linux_get_syscall_number): New function.
11600 (s390_gdbarch_init): Register '*get_syscall_number' and the
11601 syscall xml file name.
11602 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11603 "s390-linux.xml" and "s390x-linux.xml".
11604 * NEWS: Announce new feature.
11605
54bff650
BS
116062014-01-22 Baruch Siach <baruch@tkos.co.il>
11607
11608 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11609
14e361d7
PA
116102014-01-22 Pedro Alves <palves@redhat.com>
11611
11612 * xtensa-config.c: Include defs.h.
11613
46bbb3ed
JB
116142014-01-22 Joel Brobecker <brobecker@adacore.com>
11615
11616 * common/common-utils.h: Add "ARI:" comment beside __func__
11617 reference.
11618
3a80edfc
JB
116192014-01-22 Joel Brobecker <brobecker@adacore.com>
11620
11621 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11622 documentation a bit.
11623
4869db5e
RM
116242014-01-21 Roland McGrath <mcgrathr@google.com>
11625
11626 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11627 * configure: Regenerate.
11628 * aclocal.m4: Regenerate.
11629 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11630 New substituted variables.
11631 (install-strip): New target.
11632 (INSTALL_SCRIPT): New substituted variable.
11633 (FLAGS_TO_PASS): Add it.
11634 (install-only): Use $(INSTALL_SCRIPT) rather than
11635 $(INSTALL_PROGRAM) for gcore.
11636
9ea4267d
TT
116372014-01-20 Tom Tromey <tromey@redhat.com>
11638
11639 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11640 together.
11641
1f2bdf09
TT
116422014-01-20 Tom Tromey <tromey@redhat.com>
11643
11644 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11645 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11646 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11647 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11648 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11649 (struct cmd_list_element) <flags>: Remove.
11650 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11651 doc_allocated>: New fields.
11652 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11653 bitfields.
11654 * maint.c (maintenance_do_deprecate): Update.
11655 * top.c (execute_command): Update.
11656
e671835b
BS
116572014-01-20 Baruch Siach <baruch@tkos.co.il>
11658
11659 * xtensa-linux-nat.c: Include asm/ptrace.h.
11660
50367cd2
IB
116612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11662
11663 * Makefile.in (SFILES): Add d-support.c.
11664 (COMMON_OBS): Add d-support.o.
11665 * d-lang.h (d_parse_symbol): Add comment, now defined in
11666 d-support.c.
11667 * d-lang.c (parse_call_convention)
11668 (parse_attributes, parse_function_types)
11669 (parse_function_args, parse_type, parse_identifier)
11670 (call_convention_p, d_parse_symbol): Move functions to ...
11671 * d-support.c: ... New file.
11672
ec9f644a
IB
116732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11674
11675 * d-lang.h (d_parse_symbol): Add declaration.
11676 * d-lang.c (extract_identifiers)
11677 (extract_type_info): Remove functions.
11678 (parse_call_convention, parse_attributes)
11679 (parse_function_types, parse_function_args)
11680 (parse_type, parse_identifier, call_convention_p)
11681 (d_parse_symbol): New functions.
11682 (d_demangle): Use d_parse_symbol to demangle D symbols.
11683
94b1b47e
IB
116842014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11685
11686 * d-lang.h (struct builtin_d_type): New data type.
11687 (builtin_d_type): Add declaration.
11688 * d-lang.c (d_language_arch_info, build_d_types)
11689 (builtin_d_type): New functions.
11690 (enum d_primitive_types): New data type.
11691 (d_language_defn): Change c_language_arch_info to
11692 d_language_arch_info.
11693 (d_type_data): New static variable.
11694 (_initialize_d_language): Initialize d_type_data.
11695
63778547
IB
116962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11697
11698 * d-lang.h (d_main_name): Add declaration.
11699 * d-lang.c (d_main_name): New function.
11700 * symtab.c (find_main_name): Add call to d_main_name.
11701
3271ba66
IB
117022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11703
11704 * d-lang.c (d_language_defn): Change macro_expansion_c to
11705 macro_expansion_no.
11706
d36b3012
IB
117072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11708
11709 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11710
c90a6fb7
SDJ
117112014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11712
11713 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11714 gdb_exception" declaration.
11715 * remote.c (getpkt_or_notif_sane): Likewise.
11716
749234e5
DE
117172014-01-17 Doug Evans <dje@google.com>
11718
11719 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11720 function, contents of dirnames_to_char_ptr_vec_append moved here.
11721 (delim_string_to_char_ptr_vec): New function.
11722 (dirnames_to_char_ptr_vec_append): Rewrite.
11723 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11724
df049a58
DE
117252014-01-17 Doug Evans <dje@google.com>
11726
11727 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11728 and moved here ...
11729 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11730 #include "common-utils.h".
11731 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11732 * common/vec.h (VEC_ASSERT_PASS): Update.
11733 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11734 (MACH_CHECK_ERROR): Update.
11735
69f97648
SM
117362014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11737
11738 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11739 comments.
11740 * gdbarch.h: Regenerate.
11741
98b1cfdc
TT
117422014-01-16 Tom Tromey <tromey@redhat.com>
11743
11744 * value.c (struct value) <regnum>: Move earlier.
11745
77a19445
TT
117462014-01-16 Tom Tromey <tromey@redhat.com>
11747
11748 * remote.c (extended_remote_create_inferior): Rename from
11749 extended_remote_create_inferior_1. Add "ops" argument. Remove
11750 old implementation.
11751
62261490
PA
117522014-01-16 Pedro Alves <palves@redhat.com>
11753
11754 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11755 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11756 the backchain.
11757
4d65956b
DE
117582014-01-16 Doug Evans <dje@google.com>
11759
11760 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11761
52834460
MM
117622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11763
11764 * btrace.h (btrace_thread_flag): New.
11765 (struct btrace_thread_info) <flags>: New.
11766 * record-btrace.c (record_btrace_resume_thread)
11767 (record_btrace_find_thread_to_move, btrace_step_no_history)
11768 (btrace_step_stopped, record_btrace_start_replaying)
11769 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11770 (record_btrace_find_resume_thread): New.
11771 (record_btrace_resume, record_btrace_wait): Extend.
11772 (record_btrace_can_execute_reverse): New.
11773 (record_btrace_open): Fail in non-stop mode.
11774 (record_btrace_set_replay): Split into this, ...
11775 (record_btrace_stop_replaying): ... this, ...
11776 (record_btrace_clear_histories): ... and this.
11777 (init_record_btrace_ops): Init to_can_execute_reverse.
11778 * NEWS: Announce it.
11779
118e6252
MM
117802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11781
11782 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11783 (forward_target_decr_pc_after_break)
11784 (target_decr_pc_after_break): New.
11785 * target.c (forward_target_decr_pc_after_break)
11786 (target_decr_pc_after_break): New.
11787 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11788 instead of gdbarch_decr_pc_after_break.
11789 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11790 instead of gdbarch_decr_pc_after_break.
11791 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11792 instead of gdbarch_decr_pc_after_break.
11793 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11794 instead of gdbarch_decr_pc_after_break.
11795 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11796 instead of gdbarch_decr_pc_after_break.
11797 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11798 instead of gdbarch_decr_pc_after_break.
11799
6e07b1d2
MM
118002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11801
11802 * btrace.c: Include regcache.h.
11803 (btrace_add_pc): New.
11804 (btrace_enable): Call btrace_add_pc.
11805 (btrace_is_empty): New.
11806 * btrace.h (btrace_is_empty): New.
11807 * record-btrace.c (require_btrace, record_btrace_info): Call
11808 btrace_is_empty.
11809
969c39fb
MM
118102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11811
11812 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11813 Support delta reads.
11814 (linux_disable_btrace): Change return type.
11815 * common/linux-btrace.h (linux_read_btrace): Change parameters
11816 and return type to allow error reporting. Update users.
11817 (linux_disable_btrace): Change return type. Update users.
11818 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11819 New.
11820 (btrace_error): New.
11821 (btrace_block) <begin>: Comment on BEGIN == 0.
11822 * btrace.c (btrace_compute_ftrace): Start from the end of
11823 the current trace.
11824 (btrace_stitch_trace, btrace_clear_history): New.
11825 (btrace_fetch): Read delta trace, return if replaying.
11826 (btrace_clear): Move clear history code to btrace_clear_history.
11827 (parse_xml_btrace): Throw an error if parsing failed.
11828 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11829 and return type to allow error reporting.
11830 (target_read_btrace): Change parameters and return type to allow
11831 error reporting.
11832 * target.c (target_read_btrace): Update.
11833 * remote.c (remote_read_btrace): Support delta reads. Pass
11834 errors on.
11835 * NEWS: Announce it.
11836
0b722aec
MM
118372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11838
11839 * record.h (record_btrace_frame_unwind)
11840 (record_btrace_tailcall_frame_unwind): New declarations.
11841 * dwarf2-frame: Include record.h
11842 (dwarf2_frame_cfa): Throw an error for btrace frames.
11843 * record-btrace.c: Include hashtab.h.
11844 (btrace_get_bfun_name): New.
11845 (btrace_call_history): Call btrace_get_bfun_name.
11846 (struct btrace_frame_cache): New.
11847 (bfcache): New.
11848 (bfcache_hash, bfcache_eq, bfcache_new): New.
11849 (btrace_get_frame_function): New.
11850 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11851 (record_btrace_frame_this_id): Compute own id.
11852 (record_btrace_frame_prev_register): Provide PC, throw_error
11853 for all other registers.
11854 (record_btrace_frame_sniffer): Detect btrace frames.
11855 (record_btrace_tailcall_frame_sniffer): New.
11856 (record_btrace_frame_dealloc_cache): New.
11857 (record_btrace_frame_unwind): Add new functions.
11858 (record_btrace_tailcall_frame_unwind): New.
11859 (_initialize_record_btrace): Allocate cache.
11860 * btrace.c (btrace_clear): Call reinit_frame_cache.
11861 * NEWS: Announce it.
11862
066ce621
MM
118632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11864
11865 * record-btrace.c (record_btrace_set_replay)
11866 (record_btrace_goto_begin, record_btrace_goto_end)
11867 (record_btrace_goto): New.
11868 (init_record_btrace_ops): Initialize them.
11869 * NEWS: Announce it.
11870
e2887aa3
MM
118712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11872
11873 * record-btrace.c (record_btrace_find_new_threads)
11874 (record_btrace_thread_alive): New.
11875 (init_record_btrace_ops): Initialize to_find_new_threads and
11876 to_thread_alive.
11877
b2f4cfde
MM
118782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11879
11880 * record-btrace.c (record_btrace_resume): New.
11881 (record_btrace_wait): New.
11882 (init_record_btrace_ops): Initialize to_wait and to_resume.
11883
633785ff
MM
118842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11885
11886 * record-btrace.c (record_btrace_xfer_partial)
11887 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11888 (record_btrace_allow_memory_access): New.
11889 (init_record_btrace_ops): Initialize new methods.
11890 * target.c (raw_memory_xfer_partial): Bail out if target reports
11891 that this memory is not available.
11892
3db08215
MM
118932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11894
11895 * target.h (target_ops) <to_insert_breakpoint>
11896 <to_remove_breakpoint>: Add target_ops parameter.
11897 (forward_target_insert_breakpoint): New.
11898 (forward_target_remove_breakpoint): New.
11899 (memory_remove_breakpoint, memory_insert_breakpoint):
11900 Add target_ops parameter.
11901 * target.c (target_insert_breakpoint): Split into this and ...
11902 (forward_target_insert_breakpoint): ... this.
11903 (target_remove_breakpoint): Split into this and ...
11904 (forward_target_remove_breakpoint): ... this.
11905 (debug_to_insert_breakpoint): Add target_ops parameter.
11906 Call forward_target_insert_breakpoint.
11907 (debug_to_remove_breakpoint): Add target_ops parameter.
11908 Call forward_target_remove_breakpoint.
11909 (update_current_target): Do not inherit or default to_insert_breakpoint
11910 and to_remove_breakpoint.
11911 * corelow.c (ignore): Add target_ops parameter.
11912 * exec.c (ignore): Add target_ops parameter.
11913 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11914 Add target_ops parameter.
11915 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11916 Add target_ops parameter.
11917 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11918 Add target_ops parameter.
11919 * record-full.c (record_full_beneath_to_insert_breakpoint)
11920 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11921 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11922 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11923 (record_full_core_remove_breakpoint): Add target_ops parameter.
11924 Update users.
11925 (record_full_beneath_to_insert_breakpoint_ops)
11926 (record_full_beneath_to_remove_breakpoint_ops)
11927 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11928 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11929 tmp_to_remove_breakpoint_ops,
11930 record_full_beneath_to_insert_breakpoint_ops, and
11931 record_full_beneath_to_remove_breakpoint_ops.
11932 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11933 (m32r_remove_breakpoint): Add target_ops parameter.
11934 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11935 Add target_ops parameter.
11936 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11937 Add target_ops parameter.
11938
cecac1ab
MM
119392014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11940 Markus Metzger <markus.t.metzger@intel.com>
11941
11942 * record-btrace.c: Include frame-unwind.h.
11943 (record_btrace_frame_unwind_stop_reason)
11944 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11945 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11946 New.
11947 (init_record_btrace_ops): Install it.
11948
824344ca
MM
119492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11950
11951 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11952 get_prev_frame_1.
11953
32261e52
MM
119542014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11955
11956 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11957 earlier.
11958
ea001bdc
MM
119592014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11960
11961 * frame-unwind.c: Include target.h.
11962 (frame_unwind_try_unwinder): New function with code from ...
11963 (frame_unwind_find_by_frame): ... here. New variable
11964 unwinder_from_target, call also target_get_unwinder)
11965 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11966 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11967 * target.h (struct target_ops): New fields to_get_unwinder and
11968 to_get_tailcall_unwinder.
11969 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11970
1f3ef581
MM
119712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11972
11973 * record-btrace.c (record_btrace_fetch_registers)
11974 (record_btrace_store_registers)
11975 (record_btrace_to_prepare_to_store): New.
11976 (init_record_btrace_ops): Add the above.
11977
f32dbf8c
MM
119782014-01-16 Tom Tromey <tromey@redhat.com>
11979
11980 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11981 * target.h (struct target_ops) <to_prepare_to_store>: Add
11982 argument.
11983 (target_prepare_to_store): Add argument.
11984 * target.c (debug_to_prepare_to_store): Add argument.
11985 (update_current_target): Update.
11986 * remote.c (remote_prepare_to_store): Add 'self' argument.
11987 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11988 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11989 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11990 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11991 argument.
11992 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11993 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11994 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11995 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11996 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11997
07bbe694
MM
119982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11999
12000 * btrace.h (replay) <replay>: New.
12001 (btrace_is_replaying): New.
12002 * btrace.c (btrace_clear): Free replay iterator.
12003 (btrace_is_replaying): New.
12004 * record-btrace.c (record_btrace_is_replaying): New.
12005 (record_btrace_info): Print insn number if replaying.
12006 (record_btrace_insn_history): Start at replay position.
12007 (record_btrace_call_history): Start at replay position.
12008 (init_record_btrace_ops): Init to_record_is_replaying.
12009
0688d04e
MM
120102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12011
12012 * record-btrace.c (record_btrace_insn_history_range): Include
12013 end.
12014 (record_btrace_insn_history_from): Adjust range.
12015 (record_btrace_call_history_range): Include
12016 end.
12017 (record_btrace_call_history_from): Adjust range.
12018 * NEWS: Announce changes.
12019
8710b709
MM
120202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12021
12022 * record.h (enum record_print_flag)
12023 <record_print_indent_calls>: New.
12024 * record.c (get_call_history_modifiers): Recognize /c modifier.
12025 (_initialize_record): Document /c modifier.
12026 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12027 Reorder fields. Optionally indent the function name. Update
12028 all users.
12029 * NEWS: Announce changes.
12030
d0fa7535
MM
120312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12032
12033 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12034
5de9129b
MM
120352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12036
12037 * btrace.c (ftrace_new_function): Start counting at one.
12038 * record-btrace.c (record_btrace_info): Adjust number of calls
12039 and insns.
12040 * NEWS: Announce it.
12041
7acbe133
MM
120422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12043
12044 * record-btrace.c (btrace_call_history_insn_range): Print
12045 insn range as [begin, end].
12046
23a7fe75
MM
120472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12048
12049 * btrace.h (struct btrace_func_link): New.
12050 (enum btrace_function_flag): New.
12051 (struct btrace_inst): Rename to ...
12052 (struct btrace_insn): ...this. Update all users.
12053 (struct btrace_func) <ibegin, iend>: Remove.
12054 (struct btrace_func_link): New.
12055 (struct btrace_func): Rename to ...
12056 (struct btrace_function): ...this. Update all users.
12057 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12058 (number, level, flags>: New.
12059 (struct btrace_insn_iterator): Rename to ...
12060 (struct btrace_insn_history): ...this.
12061 Update all users.
12062 (struct btrace_insn_iterator, btrace_call_iterator): New.
12063 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12064 (struct btrace_target_info) <begin, end, level>
12065 <insn_history, call_history>: New.
12066 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12067 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12068 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12069 (btrace_call_number, btrace_call_begin, btrace_call_end)
12070 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12071 (btrace_find_function_by_number, btrace_set_insn_history)
12072 (btrace_set_call_history): New.
12073 * btrace.c (btrace_init_insn_iterator)
12074 (btrace_init_func_iterator, compute_itrace): Remove.
12075 (ftrace_print_function_name, ftrace_print_filename)
12076 (ftrace_skip_file): Change
12077 parameter to const.
12078 (ftrace_init_func): Remove.
12079 (ftrace_debug): Use new btrace_function fields.
12080 (ftrace_function_switched): Also consider gaining and
12081 losing symbol information).
12082 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12083 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12084 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12085 New.
12086 (ftrace_new_function): Move. Remove debug print.
12087 (ftrace_update_lines, ftrace_update_insns): New.
12088 (ftrace_update_function): Check for call, ret, and jump.
12089 (compute_ftrace): Renamed to ...
12090 (btrace_compute_ftrace): ...this. Rewritten to compute call
12091 stack.
12092 (btrace_fetch, btrace_clear): Updated.
12093 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12094 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12095 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12096 (btrace_call_number, btrace_call_begin, btrace_call_end)
12097 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12098 (btrace_find_function_by_number, btrace_set_insn_history)
12099 (btrace_set_call_history): New.
12100 * record-btrace.c (require_btrace): Use new btrace thread
12101 info fields.
12102 (record_btrace_info, btrace_insn_history)
12103 (record_btrace_insn_history, record_btrace_insn_history_range):
12104 Use new btrace thread info fields and new iterator.
12105 (btrace_func_history_src_line): Rename to ...
12106 (btrace_call_history_src_line): ...this. Use new btrace
12107 thread info fields.
12108 (btrace_func_history): Rename to ...
12109 (btrace_call_history): ...this. Use new btrace thread info
12110 fields and new iterator.
12111 (record_btrace_call_history, record_btrace_call_history_range):
12112 Use new btrace thread info fields and new iterator.
12113
8372a7cb
MM
121142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12115
12116 * frame.h (frame_id_build_unavailable_stack_special): New.
12117 * frame.c (frame_id_build_unavailable_stack_special): New.
12118
c2170eef
MM
121192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12120
12121 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12122 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12123 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12124 to gdbarch.
12125 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12126 (i386_insn_is_jump, i386_jmp_p): New.
12127 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12128 insn_is_jump to gdbarch.
12129 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12130 * gdbarch.h: Regenerated.
12131 * gdbarch.c: Regenerated.
12132 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12133 (default_insn_is_jump): New.
12134 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12135 (default_insn_is_jump): New.
12136
864089d2
MM
121372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12138
12139 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12140 Change to ...
12141 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12142 (btrace_read_type) <btrace_read_new>: Change to ...
12143 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12144
ed9edfb5
MM
121452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12146
12147 * common/linux-btrace.c (linux_read_btrace): Free trace from
12148 previous iteration.
12149
fbcbc3fd
DE
121502014-01-15 Doug Evans <dje@google.com>
12151
12152 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12153 uint32_t.
12154
3d548a53
TT
121552014-01-15 Tom Tromey <tromey@redhat.com>
12156
12157 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12158 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12159 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12160 (set_objfile_main_name): New function.
12161 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12162 language_of_main>: New fields.
12163 (set_objfile_main_name): Declare.
12164 * symtab.c (find_main_name): Loop over objfiles to find the main
12165 name and language.
12166 (set_main_name): Now static.
12167 (get_main_info): Add comment.
12168 * symtab.h (set_main_name): Don't declare.
12169
32ac0d11
TT
121702014-01-15 Tom Tromey <tromey@redhat.com>
12171
12172 * symtab.c (main_progspace_key): New global.
12173 (struct main_info): New.
12174 (name_of_main, language_of_main): Remove.
12175 (get_main_info, main_info_cleanup): New function.
12176 (set_main_name, main_name, main_language): Use get_main_info.
12177 (_initialize_symtab): Initialize main_progspace_key.
12178
9e6c82ad
TT
121792014-01-15 Tom Tromey <tromey@redhat.com>
12180
12181 * dbxread.c (process_one_symbol): Update.
12182 * dwarf2read.c (read_partial_die): Update.
12183 * symfile.c (set_initial_language): Call main_language.
12184 * symtab.c (language_of_main): Now static.
12185 (set_main_name): Add 'lang' parameter.
12186 (find_main_name): Update.
12187 (main_language): New function.
12188 (symtab_observer_executable_changed): Update.
12189 * symtab.h (set_main_name): Update.
12190 (language_of_main): Remove.
12191 (main_language): Declare.
12192
6ef55de7
TT
121932014-01-15 Tom Tromey <tromey@redhat.com>
12194
12195 * symfile.c (init_entry_point_info): Use new "initialized" field.
12196 Update.
12197 * objfiles.h (struct entry_point) <initialized>: New field.
12198 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12199 (struct objfile) <ei>: ...here. Remove.
12200 * objfiles.c (entry_point_address_query): Update.
12201
53eddfa6
TT
122022014-01-15 Tom Tromey <tromey@redhat.com>
12203
12204 * objfiles.c (entry_point_address_query): Relocate entry point
12205 address.
12206 (objfile_relocate1): Do not relocate entry point address.
12207 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12208 <the_bfd_section_index>: New field.
12209 * symfile.c (init_entry_point_info): Find the entry point's
12210 section.
12211
d56e56aa
TT
122122014-01-15 Tom Tromey <tromey@redhat.com>
12213
12214 * solib-frv.c (enable_break): Use entry_point_address_query.
12215
33a97bbe
OJ
122162014-01-15 Omair Javaid <omair.javaid@linaro.org>
12217
12218 * NEWS: Add note on improved process record-replay on
12219 arm*-linux* targets.
12220
c6ec2b30
OJ
122212014-01-15 Omair Javaid <omair.javaid@linaro.org>
12222
12223 * arm-tdep.c (enum arm_record_result): New enum.
12224 (arm_record_unsupported_insn): New function.
12225 (arm_record_coproc_data_proc): Removed.
12226 (thumb2_record_ld_st_multiple): New function.
12227 (thumb2_record_ld_st_dual_ex_tbb): New function.
12228 (thumb2_record_data_proc_sreg_mimm): New function.
12229 (thumb2_record_ps_dest_generic): New function.
12230 (thumb2_record_branch_misc_cntrl): New function.
12231 (thumb2_record_str_single_data): New function.
12232 (thumb2_record_ld_mem_hints): New function.
12233 (thumb2_record_ld_word): New function.
12234 (thumb2_record_lmul_lmla_div): New function.
12235 (thumb2_record_decode_insn_handler): New function.
12236 (decode_insn): Add thumb32 instruction handlers.
12237
97dfe206
OJ
122382014-01-15 Omair Javaid <omair.javaid@linaro.org>
12239
12240 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12241 (struct arm_linux_record_tdep): Declare.
12242 (arm_canonicalize_syscall): New function.
12243 (arm_all_but_pc_registers_record): New function.
12244 (arm_linux_syscall_record): New function.
12245 (arm_linux_init_abi): Add syscall recording constructs.
12246 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12247 decoding. (arm_record_coproc_data_proc): Update arm syscall
12248 decoding.
12249 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12250 <arm_syscall_record>: New field.
12251 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12252 gdb_target_obs.
12253
9904a494
OJ
122542014-01-15 Omair Javaid <omair.javaid@linaro.org>
12255
12256 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12257 register for push instruction recording.
12258
f969241e
OJ
122592014-01-15 Omair Javaid <omair.javaid@linaro.org>
12260
12261 * arm-tdep.c (thumb_record_misc): Update to correct logical
12262 error while recording ldm, ldmia and pop instructions.
12263
bfbbec00
OJ
122642014-01-15 Omair Javaid <omair.javaid@linaro.org>
12265
12266 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12267
e40adcc9
PA
122682014-01-15 Pedro Alves <palves@redhat.com>
12269
12270 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12271 (go32_resume, go32_fetch_registers, store_register)
12272 (go32_store_registers, go32_prepare_to_store)
12273 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12274 (go32_create_inferior, go32_can_run, go32_terminal_init)
12275 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12276 declarations.
12277
b0a16e66
TT
122782014-01-15 Tom Tromey <tromey@redhat.com>
12279
12280 * target.h (async_callback_ftype): New typedef.
12281 (struct target_ops) <to_async>: Use it.
12282
bf7105a4
JB
122832014-01-15 Joel Brobecker <brobecker@adacore.com>
12284
12285 * python/py-value.c (get_field_type): Remove unnecessary curly
12286 braces for single-statement if block.
12287
a8f35c2e
JB
122882014-01-15 Joel Brobecker <brobecker@adacore.com>
12289
12290 * python/py-type.c (convert_field): Add missing empty line
12291 after declarations.
12292
bb4142cf
DE
122932014-01-14 Doug Evans <dje@google.com>
12294
12295 * symfile.h (expand_symtabs_matching): Renamed from
12296 expand_partial_symbol_names. Update prototype.
12297 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12298 * symfile.c (expand_symtabs_matching): Renamed from
12299 expand_partial_symbol_names. New args file_matcher, kind.
12300 Rename arg fun to symbol_matcher.
12301 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12302 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12303 ada_expand_partial_symbol_name.
12304 (ada_make_symbol_completion_list): Update to call
12305 expand_symtabs_matching.
12306 (ada_add_global_exceptions): Call expand_symtabs_matching.
12307 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12308 call map_symbol_filenames.
12309 * symtab.c (sources_info): Update to call map_symbol_filenames.
12310 (search_symbols): Call expand_symtabs_matching.
12311 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12312 (default_make_symbol_completion_list_break_on): Update to call
12313 expand_symtabs_matching.
12314 (make_source_files_completion_list): Update to call
12315 map_symbol_filenames.
12316
206f2a57
DE
123172014-01-14 Doug Evans <dje@google.com>
12318
12319 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12320 (expand_symtabs_symbol_matcher_ftype): New typedef.
12321 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12322 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12323 * symfile.c (expand_partial_symbol_names): Update to use
12324 expand_symtabs_symbol_matcher_ftype.
12325 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12326 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12327 Arg name_matcher renamed to symbol_matcher.
12328 * psymtab.c (recursively_search_psymtabs): Update to use
12329 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12330 sym_matcher.
12331 (expand_symtabs_matching_via_partial): Update to use
12332 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12333 Arg name_matcher renamed to symbol_matcher.
12334
540c2971
DE
123352014-01-14 Doug Evans <dje@google.com>
12336
12337 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12338 (map_partial_symbol_filenames): Ditto.
12339 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12340 (map_partial_symbol_filenames): Ditto.
12341 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12342 (map_partial_symbol_filenames): Ditto.
12343 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12344 (map_partial_symbol_filenames): Ditto.
12345 * symtab.c: Delete #include "psymtab.h".
12346
8213266a
PA
123472014-01-14 Pedro Alves <palves@redhat.com>
12348 Tom Tromey <tromey@redhat.com>
12349
12350 * infrun.c (use_displaced_stepping): Use find_record_target
12351 instead of RECORD_IS_USED.
12352 (adjust_pc_after_break): Use record_full_is_used instead of
12353 RECORD_IS_USED.
12354 * record-btrace.c (record_btrace_open): Call record_preopen
12355 instead of checking RECORD_IS_USED.
12356 * record-full.c (record_full_shortname)
12357 (record_full_core_shortname): New globals.
12358 (record_full_is_used): New function.
12359 (find_full_open): Call record_preopen instead of checking
12360 RECORD_IS_USED.
12361 (init_record_full_ops): Set the target's shortname to
12362 record_full_shortname.
12363 (init_record_full_core_ops): Set the target's shortname to
12364 record_full_core_shortname.
12365 * record-full.h (record_full_is_used): Declare.
12366 * record.c (find_record_target): Make extern.
12367 (record_preopen): New function.
12368 * record.h (RECORD_IS_USED): Delete macro.
12369 (find_record_target, record_preopen): Declare functions.
12370
7ec1862d
YQ
123712014-01-14 Yao Qi <yao@codesourcery.com>
12372
12373 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12374 'len''s type to ULONGEST.
12375 (core_xfer_shared_libraries_aix): Likewise.
12376 * gdbarch.c, gdbarch.h: Regenerated.
12377 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12378 Change type of 'len' to ULONGEST.
12379 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12380 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12381
dea80a27
YQ
123822014-01-14 Yao Qi <yao@codesourcery.com>
12383
12384 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12385 type of 'len' to ULONGEST.
12386 (linux_xfer_osdata_processgroups): Likewise.
12387 (linux_xfer_osdata_threads): Likewise.
12388 (linux_xfer_osdata_fds): Likewise.
12389 (linux_xfer_osdata_isockets): Likewise.
12390 (linux_xfer_osdata_shm): Likewise.
12391 (linux_xfer_osdata_sem): Likewise.
12392 (linux_xfer_osdata_msg): Likewise.
12393 (linux_common_xfer_osdata): Likewise.
12394 (struct osdata_type) <getter>: Likewise.
12395 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12396 the declaration.
12397
b55e14c7
YQ
123982014-01-14 Yao Qi <yao@codesourcery.com>
12399
12400 * target.h (target_xfer_partial_ftype): Update.
12401 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12402 ULONGEST.
12403 * aix-thread.c (aix_thread_xfer_partial): Change type of
12404 argument 'len' to ULONGEST.
12405 * auxv.c (procfs_xfer_auxv): Likewise.
12406 (ld_so_xfer_auxv): Likewise.
12407 (memory_xfer_auxv): Likewise.
12408 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12409 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12410 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12411 * corelow.c (core_xfer_partial): Likewise.
12412 * ctf.c (ctf_xfer_partial): Likewise.
12413 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12414 '%u'.
12415 (darwin_read_dyld_info): Likewise.
12416 (darwin_xfer_partial): Likewise.
12417 * exec.c (section_table_xfer_memory_partial): Likewise.
12418 (exec_xfer_partial): Likewise.
12419 * exec.h (section_table_xfer_memory_partial): Update
12420 declaration.
12421 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12422 instead of plongest.
12423 (gnu_xfer_partial): Likewise.
12424 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12425 (ia64_hpux_xfer_solib_got): Likewise.
12426 (ia64_hpux_xfer_partial): Likewise.
12427 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12428 * inf-ptrace.c (inf_ptrace_xfer_partial):
12429 * inf-ttrace.c (inf_ttrace_xfer_partial):
12430 * linux-nat.c (linux_xfer_siginfo): Likewise.
12431 (linux_nat_xfer_partial): Likewise.
12432 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12433 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12434 * monitor.c (monitor_xfer_memory): Likewise.
12435 (monitor_xfer_partial): Likewise.
12436 * procfs.c (procfs_xfer_partial): Likewise.
12437 * record-full.c (record_full_xfer_partial): Likewise.
12438 (record_full_core_xfer_partial): Likewise.
12439 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12440 instead of plongest.
12441 (gdbsim_xfer_partial): Likewise.
12442 * remote.c (remote_xfer_partial): Likewise.
12443 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12444 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12445 declaration.
12446 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12447 (rs6000_xfer_shared_libraries): Likewise.
12448 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12449 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12450 (sparc_xfer_partial): Likewise.
12451 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12452 (spu_xfer_partial): Likewise.
12453 * spu-multiarch.c (spu_xfer_partial): Likewise.
12454 * target.c (target_read_live_memory): Likewise.
12455 (memory_xfer_live_readonly_partial): Likewise.
12456 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12457 (target_xfer_partial, default_xfer_partial): Likewise.
12458 (current_xfer_partial): Likewise.
12459 * tracepoint.c (tfile_xfer_partial): Likewise.
12460 * windows-nat.c (windows_xfer_memory): Likewise. Call
12461 pulongest instead of plongest.
12462 (windows_xfer_partial): Likewise.
12463 (windows_xfer_shared_libraries): Likewise.
12464
05804640
YQ
124652014-01-14 Yao Qi <yao@codesourcery.com>
12466
12467 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12468 target_xfer_partial_ftype.
12469
b5b08fb4
SC
124702014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12471
12472 PR python/15464
12473 PR python/16113
12474 * valops.c (value_struct_elt_bitpos): New function
12475 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12476 object to 'None' if the field name is an empty string ("").
12477 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12478 attribute to look for a field when 'name' is 'None'.
12479 (get_field_type): New function
12480
13aaf454
DE
124812014-01-13 Doug Evans <dje@google.com>
12482
12483 PR symtab/16426
12484 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12485 (try_open_dwop_file): Ditto.
12486 * gdb_bfd.c: #include "vec.h".
12487 (bfdp): New typedef.
12488 (struct gdb_bfd_data): New member included_bfds.
12489 (gdb_bfd_unref): Unref all included bfds.
12490 (gdb_bfd_record_inclusion): New function.
12491 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12492
c2cec97c
TT
124932014-01-13 Tom Tromey <tromey@redhat.com>
12494
12495 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12496
78e5999d
TT
124972014-01-13 Tom Tromey <tromey@redhat.com>
12498
12499 * defs.h (use_windows): Remove.
12500 * gdb.c (main): Update.
12501 * main.c (captured_main, gdb_main): Update.
12502 * main.h (struct captured_main_args) <use_windows>: Remove.
12503 * top.c (use_windows): Remove.
12504
f2052bbe
TT
125052014-01-13 Tom Tromey <tromey@redhat.com>
12506
12507 * defs.h (deprecated_flush_hook): Remove.
12508
fde4f8ed
JK
125092014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12510
12511 PR threads/16216
12512 * linux-thread-db.c (try_thread_db_load): Add parameter
12513 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12514 (try_thread_db_load_from_pdir_1): Move it there from here.
12515 (try_thread_db_load_from_sdir): Update caller.
12516 (try_thread_db_load_from_dir): Move it there from here.
12517
bdf61915
PP
125182014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12519
12520 * regformats/regdat.sh: Always rewrite the register file.
12521
f71e1a8d
PA
125222014-01-13 Pedro Alves <palves@redhat.com>
12523
12524 * Makefile.in (CHECK_HEADERS): New variable.
12525 (check-headers:): New rule.
12526
42c85435
TT
125272014-01-13 Tom Tromey <tromey@redhat.com>
12528
12529 * cli/cli-setshow.c (do_set_command): Update.
12530 * defs.h (deprecated_set_hook): Remove.
12531 * top.c (deprecated_set_hook): Remove.
12532
f8de5129
PA
125332014-01-13 Pedro Alves <palves@redhat.com>
12534
12535 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12536 the tracepoint if the PC is a pseudo-register.
12537
fc270c35
TT
125382014-01-13 Tom Tromey <tromey@redhat.com>
12539
12540 * defs.h (XCALLOC): Remove.
12541 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12542 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12543 * dwarf2loc.c (allocate_piece_closure): Likewise.
12544 * elfread.c (elf_symfile_segments): Likewise.
12545 (elf_symfile_segments): Likewise.
12546 * gdbtypes.c (copy_type_recursive): Likewise.
12547 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12548 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12549 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12550 XCALLOC.
12551 * mt-tdep.c (mt_gdbarch_init): Likewise.
12552 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12553 XCALLOC.
12554 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12555 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12556 * registry.c (registry_alloc_data): Likewise.
12557 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12558 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12559 * serial.c (serial_fdopen_ops): Likewise.
12560 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12561 XCALLOC.
12562 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12563 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12564 not XCALLOC.
12565
70ba0933
TT
125662014-01-13 Tom Tromey <tromey@redhat.com>
12567
12568 * defs.h (XMALLOC): Remove.
12569 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12570 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12571 * cli-out.c (struct ui_out *): Likewise.
12572 * cli/cli-dump.c (add_dump_command): Likewise.
12573 (add_dump_command): Likewise.
12574 * complaints.c (get_complaints): Likewise.
12575 (find_complaint): Likewise.
12576 * dwarf2-frame.c (execute_cfa_program): Likewise.
12577 * dwarf2read.c (abbrev_table_read_table): Likewise.
12578 * gdbarch.sh: Likewise.
12579 * gdbarch.c: Rebuild.
12580 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12581 * interps.c (interp_new): Likewise.
12582 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12583 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12584 * mi/mi-console.c (mi_console_file_new): Likewise.
12585 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12586 * mi/mi-out.c (mi_out_new): Likewise.
12587 * mi/mi-parse.c (mi_parse): Likewise.
12588 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12589 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12590 * observer.c (xalloc_observer_list_node): Likewise.
12591 * regcache.c (regcache_xmalloc_1): Likewise.
12592 * reggroups.c (reggroup_new): Likewise.
12593 (_initialize_reggroup): Likewise.
12594 * registry.c (register_data_with_cleanup): Likewise.
12595 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12596 * ser-base.c (serial_ttystate): Likewise.
12597 * ser-mingw.c (make_pipe_state): Likewise.
12598 * ser-pipe.c (pipe_open): Likewise.
12599 * serial.c (serial_open): Likewise.
12600 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12601 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12602 (tui_alloc_win_info): Likewise.
12603 (tui_add_content_elements): Likewise.
12604 * tui/tui-file.c (tui_file_new): Likewise.
12605 * tui/tui-out.c (tui_out_new): Likewise.
12606 * ui-file.c (mem_file_new): Likewise.
12607 * ui-out.c (push_level): Likewise.
12608 (make_cleanup_ui_out_end): Likewise.
12609 (append_header_to_list): Likewise.
12610 (ui_out_new): Likewise.
12611 * user-regs.c (user_reg_add_builtin): Likewise.
12612
41bf6aca
TT
126132014-01-13 Tom Tromey <tromey@redhat.com>
12614
12615 * defs.h (XZALLOC): Remove.
12616 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12617 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12618 (get_ada_tasks_inferior_data): Likewise.
12619 * auto-load.c (get_auto_load_pspace_data): Likewise.
12620 * auxv.c (get_auxv_inferior_data): Likewise.
12621 * bfd-target.c (target_bfd_reopen): Likewise.
12622 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12623 (deprecated_insert_raw_breakpoint): Likewise.
12624 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12625 * corelow.c (core_open): Likewise.
12626 * darwin-nat.c (darwin_check_new_threads): Likewise.
12627 (darwin_attach_pid): Likewise.
12628 * dummy-frame.c (dummy_frame_push): Likewise.
12629 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12630 * dwarf2loc.c (allocate_piece_closure): Likewise.
12631 * elfread.c (elf_symfile_segments): Likewise.
12632 * eval.c (ptrmath_type_p): Likewise.
12633 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12634 * gdbtypes.c (alloc_type_arch): Likewise.
12635 (alloc_type_instance): Likewise.
12636 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12637 * inf-child.c (inf_child_can_use_agent): Likewise.
12638 * inflow.c (get_inflow_inferior_data): Likewise.
12639 * infrun.c (save_infcall_suspend_state): Likewise.
12640 * jit.c (jit_reader_load): Likewise.
12641 (get_jit_objfile_data): Likewise.
12642 (get_jit_program_space_data): Likewise.
12643 (jit_object_open_impl): Likewise.
12644 (jit_symtab_open_impl): Likewise.
12645 (jit_block_open_impl): Likewise.
12646 (jit_frame_sniffer): Likewise.
12647 * linux-fork.c (add_fork): Likewise.
12648 * maint.c (make_command_stats_cleanup): Likewise.
12649 * objfiles.c (get_objfile_pspace_data): Likewise.
12650 * opencl-lang.c (struct lval_closure): Likewise.
12651 * osdata.c (osdata_start_osdata): Likewise.
12652 * progspace.c (new_address_space): Likewise.
12653 (add_program_space): Likewise.
12654 * remote-sim.c (get_sim_inferior_data): Likewise.
12655 * sh-tdep.c (sh_gdbarch_init): Likewise.
12656 * skip.c (Ignore): Likewise.
12657 (skip_delete_command): Likewise.
12658 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12659 (library_list_start_library): Likewise.
12660 (solib_aix_current_sos): Likewise.
12661 * solib-darwin.c (get_darwin_info): Likewise.
12662 (darwin_current_sos): Likewise.
12663 * solib-dsbt.c (get_dsbt_info): Likewise.
12664 * solib-ia64-hpux.c (new_so_list): Likewise.
12665 (ia64_hpux_get_solib_linkage_addr): Likewise.
12666 * solib-spu.c (append_ocl_sos): Likewise.
12667 (spu_current_sos): Likewise.
12668 * solib-svr4.c (get_svr4_info): Likewise.
12669 (svr4_keep_data_in_core): Likewise.
12670 (library_list_start_library): Likewise.
12671 (svr4_default_sos): Likewise.
12672 (svr4_read_so_list): Likewise.
12673 * solib-target.c (library_list_start_library): Likewise.
12674 (solib_target_current_sos): Likewise.
12675 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12676 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12677 * symfile.c (default_symfile_segments): Likewise.
12678 * target-descriptions.c (tdesc_data_init): Likewise.
12679 (tdesc_create_reg): Likewise.
12680 (struct tdesc_type *): Likewise.
12681 (tdesc_create_vector): Likewise.
12682 (tdesc_set_struct_size): Likewise.
12683 (struct tdesc_type *): Likewise.
12684 (tdesc_free_feature): Likewise.
12685 (tdesc_create_feature): Likewise.
12686 * windows-nat.c (windows_add_thread): Likewise.
12687 (windows_make_so): Likewise.
12688 * xml-support.c (gdb_xml_body_text): Likewise.
12689 (gdb_xml_create_parser_and_cleanup): Likewise.
12690 (xml_process_xincludes): Likewise.
12691 * xml-syscall.c (allocate_syscalls_info): Likewise.
12692 (syscall_create_syscall_desc): Likewise.
12693
5acfdbae
SDJ
126942014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12695
12696 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12697 function, with code from i386_stap_parse_special_token.
12698 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12699 (i386_stap_parse_special_token): Move code to the two functions
12700 above; simplify it.
12701
0000e5cc
PA
127022014-01-09 Pedro Alves <palves@redhat.com>
12703 Hui Zhu <hui@codesourcery.com>
12704
12705 PR gdb/16101
12706 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12707 bp_err_string. Don't mark the location shlib_disabled if the
12708 error thrown wasn't a generic or memory error. Catch errors
12709 thrown while inserting breakpoints in overlayed code. Output
12710 error message of software breakpoints.
12711 * remote.c (remote_insert_breakpoint): If this breakpoint has
12712 target-side commands but this stub doesn't support Z0 packets,
12713 throw NOT_SUPPORTED_ERROR error.
12714 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12715 * target.h (target_insert_breakpoint): Extend comment.
12716 (target_insert_hw_breakpoint): Add comment.
12717
b7ea362b
PA
127182014-01-08 Pedro Alves <palves@redhat.com>
12719
12720 * remote.c (remote_add_thread): Add threads silently if starting
12721 up.
12722 (remote_notice_new_inferior): If in all-stop, and starting up,
12723 don't call notice_new_inferior.
12724 (get_current_thread): New function, factored out from ...
12725 (add_current_inferior_and_thread): ... this. Adjust.
12726 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12727 found any thread, then select the remote's current thread as GDB's
12728 current thread too.
12729
b7bba001
JB
127302014-01-08 Joel Brobecker <brobecker@adacore.com>
12731
12732 * NEWS: Create a new section for the next release branch.
12733 Rename the section of the current branch, now that it has
12734 been cut.
12735
16dfbded
JB
127362014-01-08 Joel Brobecker <brobecker@adacore.com>
12737
12738 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12739 * version.in: Bump version to 7.7.50.DATE-cvs.
12740
22c90ac1
YQ
127412014-01-08 Yao Qi <yao@codesourcery.com>
12742
12743 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12744 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12745 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12746
d64ad97c
YQ
127472014-01-08 Yao Qi <yao@codesourcery.com>
12748
12749 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12750 return value of bfd_get_filename to symbol_file_add_from_bfd.
12751
f93ba80c
PM
127522014-01-08 Pierre Muller <muller@sourceware.org>
12753
12754 Fix PR16201.
12755 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12756 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12757 to prim_record_mininal_symbol_and_info.
12758 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12759 in call to prim_record_minimal_symbol_and_info.
12760 (read_pe_exported_syms): Set index field of section_data.
12761
a4d9ba85
AP
127622014-01-07 Andrew Pinski <apinski@cavium.com>
12763
12764 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12765 * features/aarch64.c: Regenerate.
12766
1b67eb02
AS
127672014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12768
12769 * target.c (return_null): Define.
12770 (update_current_target): Use it instead of return_zero for
12771 functions that return a pointer.
12772
5e3f4fab
EBM
127732014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12774
12775 * source.c (add_path): Fix check for duplicated paths in the previously
12776 included paths.
12777
e2616788
HK
127782014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12779
12780 * ada-lang.c: Remove duplicated include statements.
12781 * alphabsd-nat.c: Ditto.
12782 * amd64-darwin-tdep.c: Ditto.
12783 * amd64fbsd-nat.c: Ditto.
12784 * auto-load.c: Ditto.
12785 * ax-gdb.c: Ditto.
12786 * breakpoint.c: Ditto.
12787 * dbxread.c: Ditto.
12788 * fork-child.c: Ditto.
12789 * gdb_usleep.c: Ditto.
12790 * i386-darwin-tdep.c: Ditto.
12791 * i386fbsd-nat.c: Ditto.
12792 * infcmd.c: Ditto.
12793 * inferior.c: Ditto.
12794 * jv-lang.c: Ditto.
12795 * linux-nat.c: Ditto.
12796 * linux-tdep.c: Ditto.
12797 * m68kbsd-nat.c: Ditto.
12798 * m68klinux-nat.c: Ditto.
12799 * microblaze-tdep.c: Ditto.
12800 * mips-linux-tdep.c: Ditto.
12801 * mn10300-tdep.c: Ditto.
12802 * nto-tdep.c: Ditto.
12803 * opencl-lang.c: Ditto.
12804 * osdata.c: Ditto.
12805 * printcmd.c: Ditto.
12806 * regcache.c: Ditto.
12807 * remote-m32r-sdi.c: Ditto.
12808 * remote.c: Ditto.
12809 * symfile.c: Ditto.
12810 * symtab.c: Ditto.
12811 * tilegx-linux-nat.c: Ditto.
12812 * tilegx-tdep.c: Ditto.
12813 * tracepoint.c: Ditto.
12814 * valops.c: Ditto.
12815 * vaxbsd-nat.c: Ditto.
12816 * windows-nat.c: Ditto.
12817 * xtensa-tdep.c: Ditto.
12818
bd1f7788
YQ
128192014-01-07 Yao Qi <yao@codesourcery.com>
12820
12821 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12822
79301218
JB
128232014-01-07 Yao Qi <yao@codesourcery.com>
12824 Joel Brobecker <brobecker@adacore.com>
12825
12826 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12827 (pdc_write_regs): Likewise.
12828 (fetch_regs_kernel_thread): Likewise.
12829 (store_regs_kernel_thread): Likewise.
12830
128312014-01-07 Joel Brobecker <brobecker@adacore.com>
12832
12833 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12834 tagged type objects to their actual type.
12835
8e355c5d
JB
128362014-01-07 Joel Brobecker <brobecker@adacore.com>
12837
12838 * ada-valprint.c (print_field_values): Add "language" parameter.
12839 Update calls to print_field_values and print_variant_part.
12840 Pass new parameter "language" in call to val_print instead
12841 of "current_language". Replace call to ada_val_print by call
12842 to val_print.
12843 (print_variant_part): Add "language" parameter.
12844 (ada_val_print_struct_union): Update call to print_field_values.
12845
4fbf5aa5
JB
128462014-01-07 Joel Brobecker <brobecker@adacore.com>
12847
12848 * ada-valprint.c (ui_memcpy): Delete.
12849 (ada_print_floating): Update documentation. Add empty line
12850 between between function documentation and implementation.
12851 Delete variable "buffer". Use ui_file_xstrdup in place of
12852 ui_file_put. Minor adjustments following this change.
12853
71855601
JB
128542014-01-07 Joel Brobecker <brobecker@adacore.com>
12855
12856 * ada-valprint.c (ada_val_print_string): New function,
12857 extracted from ada_val_print_array.
12858 (ada_val_print_array): Replace extracted code by call
12859 to ada_val_print_string followed by a return. Move
12860 "else" branch to the function's top block.
12861
4eb27a30
JB
128622014-01-07 Joel Brobecker <brobecker@adacore.com>
12863
12864 * ada-valprint.c (ada_val_print_array): Move implementation
12865 down. Rename parameter "offset" and "val" into "offset_aligned"
12866 and "original_value" respectively. Add parameter "offset".
12867
34b27950
JB
128682014-01-07 Joel Brobecker <brobecker@adacore.com>
12869
12870 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12871 re-organizing the code. Change the "???" message printed
12872 when target type is a TYPE_CODE_UNDEF into
12873 "<ref to undefined type>".
12874
079e4591
JB
128752014-01-07 Joel Brobecker <brobecker@adacore.com>
12876
12877 * ada-valprint.c (print_record): Delete, implementation inlined...
12878 (ada_val_print_struct_union): ... here. Remove call to
12879 ada_check_typedef in inlined implementation.
12880
8004dfd1
JB
128812014-01-07 Joel Brobecker <brobecker@adacore.com>
12882
12883 * ada-valprint.c (ada_val_print_gnat_array): New function,
12884 extracted from ada_val_print_1;
12885 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12886 (ada_val_print_flt, ada_val_print_struct_union)
12887 (ada_val_print_ref): Likewise.
12888 (ada_val_print_1): Delete variables i and elttype.
12889 Replace extracted-out code by call to corresponding
12890 new functions.
12891
760a2db0
JB
128922014-01-07 Joel Brobecker <brobecker@adacore.com>
12893
12894 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12895
3a92c861
JB
128962014-01-07 Joel Brobecker <brobecker@adacore.com>
12897
12898 * ada-valprint.c (ada_val_print_1): Replace calls to
12899 ada_val_print_1 by calls to val_print.
12900
cd1630f9
JB
129012014-01-07 Joel Brobecker <brobecker@adacore.com>
12902
12903 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12904 Update calls to self accordingly. Replace calls to c_val_print
12905 by calls to val_print.
12906
bdf779a0
JB
129072014-01-07 Joel Brobecker <brobecker@adacore.com>
12908
12909 * ada-valprint.c (print_record): Delete declaration.
12910 (adjust_type_signedness, ada_val_print_1): Likewise.
12911 (ada_val_print): Move function implementation down.
12912 (print_variant_part, print_field_values, print_record):
12913 Move function implementation up.
12914
c0d48811
JB
129152014-01-07 Joel Brobecker <brobecker@adacore.com>
12916
12917 * python/py-type.c (typy_get_name): New function.
12918 (type_object_getset): Add entry for attribute "name".
12919 * NEWS: Add entry mentioning this new attribute.
12920
c26e9cbb
YQ
129212014-01-07 Yao Qi <yao@codesourcery.com>
12922
12923 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12924 statement.
12925
0cc6f43d
YQ
129262014-01-07 Yao Qi <yao@codesourcery.com>
12927
12928 * gnu-nat.c (info_port_rights): Add qualifier const to
12929 argument args.
12930
eec03155
YQ
129312014-01-07 Yao Qi <yao@codesourcery.com>
12932
12933 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12934
f04a82ef
YQ
129352014-01-07 Yao Qi <yao@codesourcery.com>
12936
12937 * gnu-nat.c (make_inf) Update declaration.
12938 (make_inf): Make it static.
12939 (inf_set_traced): Likewise.
12940 (inf_port_to_thread, inf_task_died_status): Likewise.
12941
d57dda0a
YQ
129422014-01-07 Yao Qi <yao@codesourcery.com>
12943
12944 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12945
3aa8c969
YQ
129462014-01-07 Yao Qi <yao@codesourcery.com>
12947
12948 * gnu-nat.c (_initialize_gnu_nat): Declare.
12949
94123b4f
YQ
129502014-01-07 Yao Qi <yao@codesourcery.com>
12951
12952 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12953 'enum bfd_endian'.
12954 (struct gdbarch_info) <byte_order>: Change type to
12955 'enum bfd_endian'.
12956 <byte_order_for_code>: Likewise.
12957 * gdbarch.c, gdbarch.h: Regenerated.
12958
dc81d70a
TT
129592014-01-06 Sasha Smundak <asmundak@google.com>
12960
12961 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12962
cc2f3c35
TT
129632014-01-06 Tom Tromey <tromey@redhat.com>
12964
12965 * doublest.c (convert_doublest_to_floatformat): Use const, not
12966 CONST.
12967 * somread.c (som_symtab_read): Likewise.
12968
adcf2eed
HZ
129692014-01-07 Hui Zhu <hui@codesourcery.com>
12970
12971 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12972 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12973 (gdb_bfd_fopen): Ditto.
12974 (gdb_bfd_openr): Ditto.
12975 (gdb_bfd_openw): Ditto.
12976 (gdb_bfd_openr_iovec): Ditto.
12977 (gdb_bfd_fdopenr): Ditto.
12978 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12979 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12980 with xstrdup.
12981 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12982 with xstrdup.
12983 * symfile-mem.c (symbol_file_add_from_memory): Removed
12984 gdb_bfd_stash_filename.
12985
50722198
DE
129862014-01-03 Doug Evans <dje@google.com>
12987
12988 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12989 output.
12990
2fa4b862
JB
129912014-01-01 Joel Brobecker <brobecker@adacore.com>
12992
12993 Update year range in copyright notice of all files.
12994
28498c42
JB
129952014-01-01 Joel Brobecker <brobecker@adacore.com>
12996
12997 * top.c (print_gdb_version): Set copyright year to 2014.
12998
7b6e1046
JB
129992014-01-01 Joel Brobecker <brobecker@adacore.com>
13000
13001 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13002
df96af55 13003For older changes see ChangeLog-2013.
c906108c
SS
13004\f
13005Local Variables:
13006mode: change-log
13007left-margin: 8
13008fill-column: 74
13009version-control: never
57da7796 13010coding: utf-8
c906108c 13011End:
This page took 3.640495 seconds and 4 git commands to generate.