daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2b4fd423
DE
12014-09-18 Doug Evans <dje@google.com>
2
3 * NEWS: Mention new "producer" attribute of gdb.Symtab.
4 * python/py-symtab.c (stpy_get_producer): New function.
5 (symtab_object_getset): Add "producer" attribute.
6
5e43d467
UW
72014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
8
9 PR gdb/17384
10 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
11 (do_captured_read_memory_integer): Remove.
12 (safe_read_memory_integer): Use target_read_memory directly instead
13 of catching errors in do_captured_read_memory_integer.
14
04e79979
MR
152014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
16
17 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
18 not gdb/doc.
19
76aeec5b
SDJ
202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21
22 * objc-lang.c (find_implementation_from_class): Remove dead code.
23
2f693f9d
SDJ
242014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
25
26 PR cli/7233
27 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
28 "fprintf_unfiltered (gdb_stdlog...)".
29
bb9d5f81
PP
302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
31
32 PR breakpoints/12526
33 * breakpoint.h (struct watchpoint): New fields val_bitpos and
34 val_bitsize.
35 * breakpoint.c (watch_command_1): Use these fields to retain
36 bitfield information.
37 (extract_bitfield_from_watchpoint_value): New function.
38 (watchpoint_check): Use it.
39 (update_watchpoint): Use it. Optimize the address and length of a
40 HW watchpoint pointing to a bitfield.
41 * value.h (unpack_value_bitfield): New prototype.
42 * value.c (unpack_value_bitfield): Make extern.
43
05db5edd
ST
442014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45
46 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
47 x86-dregs.o.
48 * gnu-nat.c (inf_threads): New function.
49 * gnu-nat.h (inf_threads_ftype): New typedef.
50 (inf_threads): New declaration.
51 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
52 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
53 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
54 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
55 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
56 (i386_gnu_dr_get_control): New functions.
57 (reg_addr): New structure.
58 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
59 i386 debugging register hooks.
60 * NEWS: Mention this.
61
5a578da5
OJ
622014-08-13 Omair Javaid <omair.javaid@linaro.org>
63
64 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
65 vector data transfer instructions.
66 (arm_record_coproc_data_proc): Updated.
67
f20f80dd
OJ
682014-08-13 Omair Javaid <omair.javaid@linaro.org>
69
70 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
71 arm_record_exreg_ld_st_insn.
72 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
73 load/store insns.
74
851f26ae
OJ
752014-08-13 Omair Javaid <omair.javaid@linaro.org>
76
77 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
78 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
79 processing instructions.
80
1e1b6563
OJ
812014-08-13 Omair Javaid <omair.javaid@linaro.org>
82
83 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
84 for advance SIMD struct ld/st insn.
85 (thumb2_record_decode_insn_handler): Replace stub handler with
86 thumb2_record_asimd_struct_ld_st.
87
60cc5e93
OJ
882014-08-13 Omair Javaid <omair.javaid@linaro.org>
89
90 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
91 for asimd, vfp and coprocessor insns.
92 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
93 and coprocessor insns.
94 (thumb2_record_coproc_insn): New function.
95 (thumb2_record_decode_insn_handler): Update coprocessor insns record
96 handlers.
97 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
98 opcode 110 insns.
99
81219e53
DE
1002014-09-13 Doug Evans <xdje42@gmail.com>
101
102 * NEWS: Mention new "queue-signal" command.
103 * infcmd.c (queue_signal_command): New function.
104 (_initialize_infcmd): Add new queue-signal command.
105
d36bf488
DE
1062014-09-13 Doug Evans <xdje42@gmail.com>
107
108 * linux-nat.c (wait_lwp): Add debugging printf.
109 (linux_nat_wait_1): Ditto.
110
f37f681c
PA
1112014-09-12 Pedro Alves <palves@redhat.com>
112
113 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
114 (create_and_insert_solib_event_breakpoint): New functions.
115 * breakpoint.h (create_and_insert_solib_event_breakpoint)
116 (remove_solib_event_breakpoints_at_next_stop): New declarations.
117 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
118 (remove_dbx_link_breakpoint): Delete function.
119 (insert_dbx_link_bpt_in_file): Use
120 create_and_insert_solib_event_breakpoint instead of
121 deprecated_insert_raw_breakpoint.
122 (procfs_wait): Don't check whether we hit __dbx_link here.
123 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
124 here.
125 * solib-irix.c (base_breakpoint): Delete global.
126 (disable_break): Delete function.
127 (enable_break): Use create_solib_event_breakpoint
128 instead of deprecated_insert_raw_breakpoint.
129 (irix_solib_handle_event): New function.
130 (irix_solib_create_inferior_hook): Don't run the target or disable
131 the mapping-complete breakpoint here.
132 (_initialize_irix_solib): Install irix_solib_handle_event as
133 so_ops->handle_event hook.
134
9d9bf2df
EBM
1352014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
136 Ulrich Weigand  <uweigand@de.ibm.com>
137
138 PR tdep/17379
139 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
140 instead of read_memory_unsigned_integer.
141
b006a80e
GB
1422014-09-12 Gary Benson <gbenson@redhat.com>
143
144 * nat/linux-waitpid.c: Include common-defs.h.
145 [GDBSERVER]: Add FIXME comment.
146 [!GDBSERVER]: Don't include defs.h or signal.h.
147 (linux_debug) [!GDBSERVER]: Remove empty block.
148
296b1496
GB
1492014-09-12 Gary Benson <gbenson@redhat.com>
150
151 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
152 Don't include defs.h or server.h.
153
53f81362
GB
1542014-09-12 Gary Benson <gbenson@redhat.com>
155
156 * nat/linux-btrace.c: Include common-defs.h.
157 Don't include defs.h, server.h or gdbthread.h.
158 * nat/linux-btrace.h (struct target_ops): New forward declaration.
159
727605ca
GB
1602014-09-12 Gary Benson <gbenson@redhat.com>
161
162 * common/agent.c: Include common-defs.h.
163 Don't include defs.h or server.h.
164 * common/buffer.c: Likewise.
165 * common/common-debug.c: Likewise.
166 * common/common-utils.c: Likewise.
167 * common/errors.c: Likewise.
168 * common/filestuff.c: Likewise.
169 * common/format.c: Likewise.
170 * common/gdb_vecs.c: Likewise.
171 * common/print-utils.c: Likewise.
172 * common/ptid.c: Likewise.
173 * common/rsp-low.c: Likewise.
174 * common/signals.c: Likewise.
175 * common/vec.c: Likewise.
176 * common/xml-utils.c: Likewise.
177 * nat/linux-osdata.c: Likewise.
178 * nat/linux-procfs.c: Likewise.
179 * nat/linux-ptrace.c: Likewise.
180 * nat/mips-linux-watch.c: Likewise.
181 * target/waitstatus.c: Likewise.
182
361c8ade
GB
1832014-09-12 Tom Tromey <tromey@redhat.com>
184 Gary Benson <gbenson@redhat.com>
185
186 * common/common-regcache.h: New file.
187 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
188 * regcache.h: Include common-regcache.h.
189 (regcache_read_pc): Don't declare.
190 * regcache.c (get_thread_regcache_for_ptid): New function.
191 * nat/linux-btrace.c: Don't include regcache.h.
192 Include common-regcache.h.
193 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
194
a01cbb49
TS
1952014-09-11 Thomas Schwinge <thomas@codesourcery.com>
196
197 * regcache.h (struct regset): Declare.
198
98880d46
PA
1992014-09-11 Pedro Alves <palves@redhat.com>
200
201 PR gdb/17347
202 * main.c: Include "infrun.h".
203 (catch_command_errors, catch_command_errors_const): Wait for the
204 foreground command to complete.
205 * top.c (maybe_wait_sync_command_done): New function, factored out
206 from ...
207 (maybe_wait_sync_command_done): ... here.
208 * top.h (maybe_wait_sync_command_done): New declaration.
209
bd9269f7
GB
2102014-09-11 Tom Tromey <tromey@redhat.com>
211 Gary Benson <gbenson@redhat.com>
212
213 * common/symbol.h: New file.
214 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
215 * minsyms.c (find_minimal_symbol_address): New function.
216 * common/agent.c: Include common/symbol.h.
217 [!GDBSERVER]: Don't include objfiles.h.
218 (agent_look_up_symbols): Use find_minimal_symbol_address.
219
f8c1d06b
GB
2202014-09-11 Gary Benson <gbenson@redhat.com>
221
222 * target/target.h (target_stop_ptid, target_continue_ptid):
223 Declare.
224 * target.c (target_stop_ptid, target_continue_ptid): New
225 functions.
226 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
227 (agent_run_command): Always use target_stop_ptid and
228 target_continue_ptid.
229
721ec300
GB
2302014-09-11 Tom Tromey <tromey@redhat.com>
231 Gary Benson <gbenson@redhat.com>
232
233 * target/target.h: New file.
234 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
235 * target.h: Include target/target.h.
236 (target_read_memory, target_write_memory): Don't declare.
237 * target.c (target_read_uint32): New function.
238 * common/agent.c: Include target/target.h.
239 [!GDBSERVER]: Don't include target.h.
240 (helper_thread_id): Type changed to uint32_t.
241 (agent_get_helper_thread_id): Use target_read_uint32.
242 (agent_run_command): Always use target_read_memory and
243 target_write_memory.
244 (agent_capability): Type changed to uint32_t.
245 (agent_capability_check): Use target_read_uint32.
246
c5e92cca
GB
2472014-09-11 Gary Benson <gbenson@redhat.com>
248
249 * common/common-debug.h (show_debug_regs): Declare.
250 * common/common-debug.c (show_debug_regs): Define.
251 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
252 all uses with show_debug_regs. Replace all uses that considered
253 debug_hw_points as a multi-value integer with straight boolean
254 uses.
255 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
256 with show_debug_regs.
257 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
258 all uses with show_debug_regs.
259 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
260 uses with show_debug_regs.
261
eeef931a
UW
2622014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
263
264 * findvar.c (address_from_register): Handle targets requiring
265 a special conversion routine even for plain pointer types.
266
8efa9855
UW
2672014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
268
269 * rs6000-nat.c (exec_one_dummy_insn): Remove.
270 (store_register): Do not call exec_one_dummy_insn.
271
eb479039
JB
2722014-09-10 Joel Brobecker <brobecker@adacore.com>
273
274 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
275 dereference it first. Use value_enclosing_type instead of
276 value_type.
277 (ada_array_length): Likewise.
278
deede10c
JB
2792014-09-10 Joel Brobecker <brobecker@adacore.com>
280
281 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
282 Adjust function implementation and documentation accordingly.
283 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
284 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
285 Update call to ada_value_ptr_subscript.
286
7828a5f5
JB
2872014-09-10 Joel Brobecker <brobecker@adacore.com>
288
289 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
290 instead of VAL's type.
291
35782f14
JB
2922014-09-10 Joel Brobecker <brobecker@adacore.com>
293
294 * amd64-linux-nat.c: Add <sys/uio.h> #include.
295
d342a0da
DE
2962014-09-09 Doug Evans <xdje42@gmail.com>
297
298 PR guile/17367
299 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
300 last parameter to pkg-config, not first.
301 * configure.ac: Pass --with-guile provided pkg-config path to
302 GDB_GUILE_PROGRAM_NAMES.
303 * configure: Regenerate.
304
b4a3d263
GKB
3052014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
306
307 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
308 Bertazi".
309
6e466374
MR
3102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
311
312 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
313 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
314 the list of sections determining GDB_OSABI_IRIX.
315
a1ada89a
JH
3162014-09-09 James Hogan <james.hogan@imgtec.com>
317
318 * MAINTAINERS (Write After Approval): Add "James Hogan".
319
86db008d
JH
3202014-09-09 James Hogan <james.hogan@imgtec.com>
321
322 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
323
72fde3df
JB
3242014-09-09 Joel Brobecker <brobecker@adacore.com>
325
326 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
327
92d8d229
DE
3282014-09-08 Doug Evans <xdje42@gmail.com>
329
330 PR 17247
331 * guile.c: #include <signal.h>.
332 (_initialize_guile): Block SIGCHLD while initializing Guile.
333
334 Replaces the following, which is reverted.
335
336 2014-07-26 Doug Evans <xdje42@gmail.com>
337
338 PR 17185
339 * configure.ac: Add check for header gc/gc.h.
340 Add check for function setenv.
341 * configure: Regenerate.
342 * config.in: Regenerate.
343 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
344
d81412aa
DE
3452014-09-08 Doug Evans <xdje42@gmail.com>
346
347 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
348 with named constant. Fix style of pointer comparison.
349 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
350
a9f116cb
GKB
3512014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
352
353 PR gdb/17035
354 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
355 decide whether we display the command on "show user".
356 * cli/cli-script.c (show_user_1): Only verify cmdlines after
357 printing command name.
358 * cli/cli-decode.h (cli_user_command_p): Declare new function.
359 * cli/cli-decode.c (cli_user_command_p): Create helper function
360 to verify whether cmd_list_element is a user-defined command.
361
c75bd3a2
JK
3622014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 PR python/17355
365 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
366 Fix goto out of TRY_CATCH.
367
faa42425 3682014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 369 Tom Tromey <tromey@redhat.com>
faa42425
DE
370
371 PR 15276
372 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
373 $_any_caller_matches.
374 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
375 * python/lib/gdb/function/caller_is.py: New file.
376
0d41ba00
DE
3772014-09-06 Doug Evans <xdje42@gmail.com>
378
379 * infcmd.c (program_info): Fix typo.
380
474ca4f6
SDJ
3812014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
382
383 PR gdb/17235
384 * stap-probe.c (stap_parse_single_operand): Delete unused variable
385 'number'. New variable 'has_digit'. Rewrite code to deal with
386 subexpressions on SDT probes.
387
ebf13736
PA
3882014-09-04 Pedro Alves <palves@redhat.com>
389
390 * c-exp.y (parse_number): Skip handling base-switching prefixes if
391 the input is only one character long.
392
eb0b0463
SDJ
3932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
394
395 PR fortran/17237
396 * f-valprint.c (f_val_print): Specify the correct print option to
397 use when printing integer values.
398
5ee44bfa
GB
3992014-09-04 Gary Benson <gbenson@redhat.com>
400
401 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
402 Remove code to cope with LWPs wrapped as PIDs.
403 Add assertions to ensure no wrapped LWPs are passed.
404
4875ffdb
PA
4052014-09-04 Pedro Alves <palves@redhat.com>
406
407 * value.c (value_ranges_copy_adjusted): New function, factored out
408 from ...
409 (value_contents_copy_raw): ... here.
410 (unpack_value_bits_as_long_1): Rename back to ...
411 (unpack_bits_as_long): ... this. Remove 'original_value' and
412 'result' parameters. Change return type to LONGEST.
413 (unpack_value_bits_as_long): Delete.
414 (unpack_value_field_as_long_1): Delete.
415 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
416 (unpack_value_bitfield): New function.
417 (value_field_bitfield): Reimplement using unpack_value_bitfield.
418 (value_fetch_lazy): Use unpack_value_bitfield.
419 * value.h (unpack_value_bits_as_long): Delete declaration.
420
5f3b99cf
SS
4212014-09-03 Sasha Smundak <asmundak@google.com>
422
423 * python/py-frame.c (frapy_read_register): New function.
424
ac740bc7
JH
4252014-09-03 James Hogan <james.hogan@imgtec.com>
426
427 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
428 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
429
7d793aa9
SDJ
4302014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
431
432 PR python/16699
433 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
434 function.
435 (add_cmd): Set "completer_handle_brkchars" to NULL.
436 * cli/cli-decode.h (struct cmd_list_element)
437 <completer_handle_brkchars>: New field.
438 * command.h (completer_ftype_void): New typedef.
439 (set_cmd_completer_handle_brkchars): New prototype.
440 * completer.c (set_gdb_completion_word_break_characters): New
441 function.
442 (complete_line_internal): Call "completer_handle_brkchars"
443 callback from command.
444 * completer.h: Include "command.h".
445 (set_gdb_completion_word_break_characters): New prototype.
446 * python/py-cmd.c (cmdpy_completer_helper): New function.
447 (cmdpy_completer_handle_brkchars): New function.
448 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
449 (cmdpy_init): Set completer_handle_brkchars to
450 cmdpy_completer_handle_brkchars.
451
97ea6506
GB
4522014-09-03 Gary Benson <gbenson@redhat.com>
453
454 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
455 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
456 Loop conditions changed to equivalent form.
457 (struct x86_debug_reg_state): Updated dr_ref_count comment.
458 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
459 ALL_DEBUG_ADDRESS_REGISTERS.
460
d1437815
JB
4612014-09-03 Joel Brobecker <brobecker@adacore.com>
462
463 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
464 description fix.
465
9b94fcf1
DE
4662014-09-02 Doug Evans <dje@google.com>
467
468 * typeprint.c (find_global_typedef): Fix comment.
469
df7e5265
GB
4702014-09-02 Gary Benson <gbenson@redhat.com>
471
472 * i386-nat.h: Renamed as...
473 * x86-nat.h: New file. All type, function and variable name
474 prefixes changed from "i386_" to "x86_". All references updated.
475 * i386-nat.c: Renamed as...
476 * x86-nat.c: New file. All type, function and variable name
477 prefixes changed from "i386_" to "x86_". All references updated.
478 * common/i386-xstate.h: Renamed as...
479 * common/x86-xstate.h: New file. All type, function and variable
480 name prefixes changed from "i386_" to "x86_". All references
481 updated.
482 * nat/i386-cpuid.h: Renamed as...
483 * nat/x86-cpuid.h: New file. All type, function and variable name
484 prefixes changed from "i386_" to "x86_". All references updated.
485 * nat/i386-gcc-cpuid.h: Renamed as...
486 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
487 name prefixes changed from "i386_" to "x86_". All references
488 updated.
489 * nat/i386-dregs.h: Renamed as...
490 * nat/x86-dregs.h: New file. All type, function and variable name
491 prefixes changed from "i386_" to "x86_". All references updated.
492 * nat/i386-dregs.c: Renamed as...
493 * nat/x86-dregs.c: New file. All type, function and variable name
494 prefixes changed from "i386_" to "x86_". All references updated.
495
1c3569d4
MR
4962014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
497
498 * varobj.c (_initialize_varobj): Move to the end of file.
499
ff55e1b5
GB
5002014-08-29 Gary Benson <gbenson@redhat.com>
501
502 * common/common-exceptions.h: New file.
503 * common/common-exceptions.c: Likewise.
504 * Makefile.in (SFILES): Add common/common-exceptions.c.
505 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
506 (COMMON_OBS): Add common-exceptions.o.
507 (common-exceptions.o): New rule.
508 * exceptions.h (common-exceptions.h): Include.
509 (gdb_setjmp.h): Do not include.
510 (return_reason): Moved to common-exceptions.h.
511 (enum return_reason): Likewise.
512 (RETURN_MASK): Likewise.
513 (typedef return_mask): Likewise.
514 (enum errors): Likewise.
515 (struct gdb_exception): Likewise.
516 (exceptions_state_mc_init): Likewise.
517 (exceptions_state_mc_action_iter): Likewise.
518 (exceptions_state_mc_action_iter_1): Likewise.
519 (TRY_CATCH): Likewise.
520 (throw_exception): Likewise.
521 (throw_verror): Likewise.
522 (throw_vquit): Likewise.
523 (throw_error): Likewise.
524 (throw_quit): Likewise.
525 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
526 (enum catcher_action): Likewise.
527 (struct catcher): Likewise.
528 (current_catcher): Likewise.
529 (catcher_list_size): Likewise.
530 (exceptions_state_mc_init): Likewise.
531 (catcher_pop): Likewise.
532 (exceptions_state_mc): Likewise.
533 (exceptions_state_mc_action_iter): Likewise.
534 (exceptions_state_mc_action_iter_1): Likewise.
535 (throw_exception): Likewise.
536 (exception_messages): Likewise.
537 (exception_messages_size): Likewise.
538 (throw_it): Likewise.
539 (throw_verror): Likewise.
540 (throw_vquit): Likewise.
541 (throw_error): Likewise.
542 (throw_quit): Likewise.
543 (prepare_to_throw_exception): New function.
544
e9bcb658
GB
5452014-08-29 Gary Benson <gbenson@redhat.com>
546
547 * common/gdb_setjmp.h: New file.
548 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
549 * configure.ac: Move sigsetjmp check...
550 * common/common.m4: ...here.
551 * configure: Regenerate.
552 * cp-support.c (SIGJMP_BUF): Delete.
553 (SIGSETJMP): Likewise.
554 (SIGLONGJMP): Likewise.
555 * exceptions.h (gdb_setjmp.h): Include.
556 (setjmp.h): Do not include.
557 (EXCEPTIONS_SIGJMP_BUF): Delete.
558 (EXCEPTIONS_SIGSETJMP): Likewise.
559 (EXCEPTIONS_SIGLONGJMP): Likewise.
560 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
561 from gdb_setjmp.h.
562 * exceptions.c: Likewise.
563
e3180625
GB
5642014-08-29 Gary Benson <gbenson@redhat.com>
565
566 * cleanups.h: Moved to...
567 * common/cleanups.h: New file.
568 * cleanups.c: Moved to...
569 * common/cleanups.c: New file. Include common-defs.h and
570 cleanups.h. Do not include defs.h.
571 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
572 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
573 (cleanups.o): New rule.
574
e3d6ba5d
GB
5752014-08-29 Gary Benson <gbenson@redhat.com>
576
577 * common/errors.h (internal_warning): New declaration.
578 (internal_vwarning): Likewise.
579 * common/errors.c (internal_warning): New function.
580 * utils.h (internal_warning): Don't declare.
581 (internal_vwarning): Likewise.
582 * utils.c (internal_warning): Removed.
583
075c7033
GB
5842014-08-29 Gary Benson <gbenson@redhat.com>
585
586 * main.c (captured_main): Use warning during startup.
587 Prefix startup warning messages with command name.
588
91b35fd0
GB
5892014-08-29 Gary Benson <gbenson@redhat.com>
590
591 * main.c (captured_main): Handle usage errors with error.
592
b1ec390e
GB
5932014-08-29 Gary Benson <gbenson@redhat.com>
594
595 * go32-nat.c (go32_create_inferior): Replace a fprintf/
596 exit pair with a call to error. Wrap the message with _().
597
fd0ef3dd
GB
5982014-08-29 Gary Benson <gbenson@redhat.com>
599
600 * main.c (captured_main): Replace a fprintf/exit
601 pair with a call to error. Wrap the message with _().
602
e0e6bcab
GB
6032014-08-29 Gary Benson <gbenson@redhat.com>
604
605 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
606 pairs with calls to error. Wrap the message with _().
607
0d2f5c07
GB
6082014-08-29 Gary Benson <gbenson@redhat.com>
609
610 * utils.c (vwarning): Protect calls to target_terminal_ours
611 and wrap_here.
612
5df43998
GB
6132014-08-29 Gary Benson <gbenson@redhat.com>
614
615 * exceptions.c (print_flush): Protect calls to
616 target_terminal_ours and wrap_here.
617
2437fd32
GB
6182014-08-29 Gary Benson <gbenson@redhat.com>
619
620 * utils.h (filtered_printing_initialized): New declaration.
621 * utils.c (abort_with_message): New function.
622 (internal_vproblem): Use abort_with_message for first level
623 recursive internal problems, and if gdb_stderr is not set up.
624 Protect calls to target_terminal_ours, begin_line and query.
625
f1f58506
DE
6262014-08-28 Doug Evans <dje@google.com>
627
628 * symtab.c (in_prologue): Move definition to better spot.
629 (skip_prologue_using_sal): Ditto.
630
aab2f208
DE
6312014-08-28 Doug Evans <dje@google.com>
632
633 * symtab.c (find_function_start_sal): Move definition to better spot.
634
6b65d1b6
YQ
6352014-08-28 Yao Qi <yao@codesourcery.com>
636
637 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
638 found_stack_adjust in forward scan. Remove condition check
639 on found_stack_adjust which is always true. Indent the code.
640
a1b34d15
YQ
6412014-08-28 Yao Qi <yao@codesourcery.com>
642
643 * dwarf2read.c (dwarf_decode_lines): Update declaration.
644 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
645 (dwarf_decode_lines): Remove argument
646 want_line_info. Remove condition check on want_line_info.
647 Callers update.
648
d5962de5
DE
6492014-08-27 Doug Evans <dje@google.com>
650
651 * dwarf2read.c (dwarf_record_line): Fix typo.
652
9b139002
SDJ
6532014-08-27 Patrick Palka <patrick@parcs.ath.cx>
654
655 * target.h (struct target_ops::to_terminal_save_ours): Remove
656 declaration.
657 (target_terminal_save_ours): Remove macro.
658 * target-delegates.c: Regenerate.
659 * inf-child.c (inf_child_target): Don't set the nonexistent
660 field to_terminal_save_ours.
661 * inferior.h (child_terminal_save_ours): Remove declaration.
662 * terminal.h (gdb_save_tty_state): New declaration.
663 * inflow.c (child_terminal_save_ours): Rename to ...
664 (gdb_save_tty_state): ... this.
665 * tui/tui.c: Include terminal.h.
666 (tui_enable): Use gdb_save_tty_state instead of
667 target_terminal_save_ours.
668 (tui_disable): Likewise.
669
9debeba0
DE
6702014-08-25 Doug Evans <dje@google.com>
671
672 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
673 Pass NULL instead of 0 for context pointer.
674
428fc5fc
YQ
6752014-08-25 Yao Qi <yao@codesourcery.com>
676
677 * dwarf2read.c: Fix grammatical error.
678
cdc07690
YQ
6792014-08-24 Yao Qi <yao@codesourcery.com>
680
681 * dwarf2read.c (scan_partial_symbols): Update comments.
682 Rename argument 'need_pc' with 'set_addrmap'.
683 (add_partial_namespace): Rename argument 'need_pc' with
684 'set_addrmap'.
685 (add_partial_module): Likewise.
686 (add_partial_subprogram): Likewise. Update comments.
687 (dwarf2_name): Fix typo.
688
a05a36a5
DE
6892014-08-22 Doug Evans <dje@google.com>
690
691 PR 17276
692 * dwarf2read.c (dwarf_record_line_p): New function.
693 (dwarf_decode_lines_1): Ignore subsequent line number entries
694 for the same line if any entry had a non-zero discriminator.
695
252a6764
DE
6962014-08-22 Doug Evans <dje@google.com>
697
698 * buildsym.h (record_line_ftype): New typedef.
699 (record_line): Use it.
700 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
701 (dwarf_decode_lines_1): Call them.
702
510db052
YQ
7032014-08-22 Yao Qi <yao@codesourcery.com>
704
705 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
706 (ctf_end): Remove code.
707
22fd09ae
JK
7082014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
709
710 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
711 (linux_make_corefile_notes): call update_thread_list, protected against
712 exceptions.
713
656e8868
PA
7142014-08-21 Pedro Alves <palves@redhat.com>
715
716 * infcmd.c (attach_command): Remove comment.
717
de589d04
WN
7182014-08-21 Bin Cheng <bin.cheng@arm.com>
719
720 * aarch64-linux-nat.c (dr_changed_t): Change the type from
721 unsigned LONGEST to ULONGEST.
722
2a31c623
PA
7232014-08-20 Pedro Alves <palves@redhat.com>
724
725 * Makefile.in (check-read1): New rule.
726
d36430db
JB
7272014-08-20 Joel Brobecker <brobecker@adacore.com>
728
729 * value.c (value_from_contents_and_address): Strip resolved_type's
730 typedef layers before checking its TYPE_DATA_LOCATION.
731
000339af
PA
7322014-08-20 Pedro Alves <palves@redhat.com>
733
734 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
735
5f52445b
YQ
7362014-08-20 Yao Qi <yao@codesourcery.com>
737
738 * amd64-tdep.c (amd64_classify): Add a blank line after the
739 example. Move "*/" to a new line.
740 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
741 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
742 * dwarf2read.c (psymtab_include_file_name): Likewise.
743
9a0dc9e3
PA
7442014-08-19 Andrew Burgess <aburgess@broadcom.com>
745 Pedro Alves <palves@redhat.com>
746
747 PR symtab/14604
748 PR symtab/14605
749 * ada-lang.c (coerce_unspec_val_to_type): Use
750 value_contents_copy_raw.
751 * ada-valprint.c (val_print_packed_array_elements): Adjust.
752 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
753 * cp-valprint.c (cp_print_value_fields): Let the common printing
754 code handle optimized out values.
755 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
756 * d-valprint.c (dynamic_array_type): Use
757 value_bits_any_optimized_out.
758 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
759 check_any_valid fields.
760 (check_pieced_value_bits): Delete and inline ...
761 (check_pieced_synthetic_pointer): ... here.
762 (check_pieced_value_validity): Delete.
763 (check_pieced_value_invalid): Delete.
764 (pieced_value_funcs): Remove check_validity and check_any_valid
765 fields.
766 (read_pieced_value): Use mark_value_bits_optimized_out.
767 (write_pieced_value): Switch to use
768 mark_value_bytes_optimized_out.
769 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
770 of assuming the whole value is optimized out.
771 * findvar.c (read_frame_register_value): Remove special handling
772 of optimized out registers.
773 (value_from_register): Use mark_value_bytes_optimized_out.
774 * frame-unwind.c (frame_unwind_got_optimized): Use
775 mark_value_bytes_optimized_out.
776 * jv-valprint.c (java_value_print): Adjust.
777 (java_print_value_fields): Let the common printing code handle
778 optimized out values.
779 * mips-tdep.c (mips_print_register): Remove special handling of
780 optimized out registers.
781 * opencl-lang.c (lval_func_check_validity): Delete.
782 (lval_func_check_any_valid): Delete.
783 (opencl_value_funcs): Remove check_validity and check_any_valid
784 fields.
785 * p-valprint.c (pascal_object_print_value_fields): Let the common
786 printing code handle optimized out values.
787 * stack.c (read_frame_arg): Remove special handling of optimized
788 out values. Fetch both VAL and ENTRYVAL before comparing
789 contents. Adjust to value_available_contents_eq rename.
790 * valprint.c (valprint_check_validity)
791 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
792 (val_print_array_elements): Adjust.
793 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
794 (value_bits_any_optimized_out): New function.
795 (value_entirely_covered_by_range_vector): New function, factored
796 out from value_entirely_unavailable.
797 (value_entirely_unavailable): Reimplement.
798 (value_entirely_optimized_out): New function.
799 (insert_into_bit_range_vector): New function, factored out from
800 mark_value_bits_unavailable.
801 (mark_value_bits_unavailable): Reimplement.
802 (struct ranges_and_idx): New struct.
803 (find_first_range_overlap_and_match): New function, factored out
804 from value_available_contents_bits_eq.
805 (value_available_contents_bits_eq): Rename to ...
806 (value_contents_bits_eq): ... this. Check both unavailable
807 contents and optimized out contents.
808 (value_available_contents_eq): Rename to ...
809 (value_contents_eq): ... this.
810 (allocate_value_lazy): Remove reference to the old optimized_out
811 boolean.
812 (allocate_optimized_out_value): Use
813 mark_value_bytes_optimized_out.
814 (require_not_optimized_out): Adjust to check whether the
815 optimized_out vec is empty.
816 (ranges_copy_adjusted): New function, factored out from
817 value_contents_copy_raw.
818 (value_contents_copy_raw): Also copy the optimized out ranges.
819 Assert the destination ranges aren't optimized out.
820 (value_contents_copy): Update comment, remove call to
821 require_not_optimized_out.
822 (value_contents_equal): Adjust to check whether the optimized_out
823 vec is empty.
824 (set_value_optimized_out, value_optimized_out_const): Delete.
825 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
826 New functions.
827 (value_entirely_optimized_out, value_bits_valid): Delete.
828 (value_copy): Take a VEC copy of the 'optimized_out' field.
829 (value_primitive_field): Remove special handling of optimized out.
830 (value_fetch_lazy): Assert that lazy values have no unavailable
831 regions. Use value_bits_any_optimized_out. Remove some special
832 handling for optimized out values.
833 * value.h: Add intro comment about <optimized out> and
834 <unavailable>.
835 (struct lval_funcs): Remove check_validity and check_any_valid
836 fields.
837 (set_value_optimized_out, value_optimized_out_const): Remove.
838 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
839 New declarations.
840 (value_bits_any_optimized_out): New declaration.
841 (value_bits_valid): Delete declaration.
842 (value_available_contents_eq): Rename to ...
843 (value_contents_eq): ... this, and extend comments.
844
6694c411
JK
8452014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
846
847 Fix -fsanitize=address on unreadable inferior strings.
848 * valprint.c (val_print_string): Fix access before BUFFER.
849
89a1c21a
SM
8502014-08-19 Simon Marchi <simon.marchi@ericsson.com>
851
852 * target.c (target_struct_size): Remove.
853 (target_struct_allocsize): Remove.
854 (DEFAULT_ALLOCSIZE): Remove.
855 (target_ops_p): New typedef.
856 (DEF_VEC_P (target_ops_p)): New vector type.
857 (target_structs): Change type to VEC (target_ops_p).
858 (add_target_with_completer): Replace "push" code by VEC_safe_push.
859 (find_default_run_target): Rewrite for loop following changes to
860 target_structs.
861
cb417230
JB
8622014-08-19 Joel Brobecker <brobecker@adacore.com>
863
864 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
865 Adjust code accordingly. Adjust function description comment.
866
817e0957
YQ
8672014-08-19 Yao Qi <yao@codesourcery.com>
868
869 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
870 types.
871
2974be62
AM
8722014-08-19 Alan Modra <amodra@gmail.com>
873
874 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
875 * config.in: Regenerate.
876 * configure: Regenerate.
877
34abf635
GB
8782014-08-19 Tom Tromey <tromey@redhat.com>
879 Gary Benson <gbenson@redhat.com>
880
881 * common/common-debug.h: New file.
882 * common/common-debug.c: Likewise.
883 * debug.c: Likewise.
884 * Makefile.in (SFILES): Add common/common-debug.c.
885 (HFILES_NO_SRCDIR): Add common/common-debug.h.
886 (COMMON_OBS): Add common-debug.o and debug.o.
887 (common-debug.o): New rule.
888 * common/common-defs.h: Include common-debug.h.
889 * common/agent.c (debug_agent_printf): New function.
890 (DEBUG_AGENT): Redefine.
891 * nat/i386-dregs.c (debug_printf): Undefine.
892
f6e94d78
GB
8932014-08-19 Gary Benson <gbenson@redhat.com>
894
895 * common/common-defs.h: Include print-utils.h.
896 * utils.h: Do not include print-utils.h.
897
9239eeab
GB
8982014-08-19 Tom Tromey <tromey@redhat.com>
899 Gary Benson <gbenson@redhat.com>
900
901 * common/common-types.h: New file.
902 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
903 * common/common-defs.h: Include common-types.h.
904 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
905 (ULONGEST): Remove.
906
ef87c8bb
GB
9072014-08-19 Tom Tromey <tromey@redhat.com>
908 Gary Benson <gbenson@redhat.com>
909
910 * common/errors.h: New file.
911 * common/errors.c: Likewise.
912 * Makefile.in (SFILES): Add common/errors.c.
913 (HFILES_NO_SRCDIR): Add common/errors.h.
914 (COMMON_OBS): Add errors.o.
915 (errors.o): New rule.
916 * common/common-defs.h: Include errors.h.
917 * utils.h (perror_with_name, error, verror, warning, vwarning):
918 Don't declare.
919 * common/common-utils.h: (malloc_failure, internal_error):
920 Likewise.
921
196a707b
GB
9222014-08-19 Gary Benson <gbenson@redhat.com>
923
924 * utils.c (internal_vproblem): Always print the message.
925
ded4fc8f
DE
9262014-08-18 Doug Evans <dje@google.com>
927
928 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
929
950c97d8
JB
9302014-08-18 Joel Brobecker <brobecker@adacore.com>
931
932 * ada-typeprint.c (type_is_full_subrange_of_target_type):
933 Return 0 if TYPE is dynamic.
934 (print_range): Add handling of dynamic ranges.
935
3cdcd0ce
JB
9362014-08-18 Keven Boell <keven.boell@intel.com>
937 Joel Brobecker <brobecker@adacore.com>
938
939 * gdbtypes.h (struct main_type): Add field "data_location".
940 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
941 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
942 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
943 a dynamic data location.
944 (resolve_dynamic_type): Add DW_AT_data_location handling.
945 (copy_recursive, copy_type): Copy the data_location information
946 when present.
947 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
948 * value.c (value_from_contents_and_address): Add
949 DW_AT_data_location handling.
950
08412b07
JB
9512014-08-18 Keven Boell <keven.boell@intel.com>
952 Joel Brobecker <brobecker@adacore.com>
953
954 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
955 field "get_object_address".
956 * dwarf2expr.c (execute_stack_op): Add handling for
957 DW_OP_push_object_address.
958 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
959 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
960 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
961 (dwarf_expr_get_obj_addr): New function.
962 (dwarf_expr_ctx_funcs): Add get_object_address field.
963 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
964 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
965 (dwarf2_evaluate_property): Add parameter "address". Use it.
966 (needs_get_obj_addr): New function.
967 (needs_frame_ctx_funcs): Add get_object_address field.
968 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
969 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
970 (resolve_dynamic_array): Likewise.
971
84754697
JB
9722014-08-18 Joel Brobecker <brobecker@adacore.com>
973
974 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
975 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
976 fixed value for records and unions for which some GNAT encodings
977 are present.
978
da5c522f
JB
9792014-08-18 Joel Brobecker <brobecker@adacore.com>
980
981 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
982 rewrite to avoid "else if" and "else" constructs. Should be
983 a no-op in practice.
984
0d72a7c3
JB
9852014-08-18 Joel Brobecker <brobecker@adacore.com>
986
987 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
988 of lexical block.
989
e66d4446
SC
9902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
991
992 PR c++/17132
993 * eval.c: Update all calls to find_overload_match.
994 * valarith.c: Likewise.
995 (value_user_defined_cpp_op, value_user_defined_op): New
996 argument NOSIDE. Update all callers.
997 * valops.c (find_overload_match): New argument NOSIDE.
998 * value.h (find_overload_match): Update signature.
999
940df408
SC
10002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1001
1002 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1003 'items' methods instead of 'iteritems' method on dictionaries.
1004
699ca60a
DE
10052014-08-15 Doug Evans <dje@google.com>
1006
1007 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1008 closer to use.
1009
37780ee5
DE
10102014-08-15 Doug Evans <dje@google.com>
1011
1012 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1013
0ad93d4f
DE
10142014-08-15 Doug Evans <dje@google.com>
1015
1016 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1017
20d8c372
DE
10182014-08-15 Doug Evans <dje@google.com>
1019
1020 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1021 unused.
1022
cb039ba4
EZ
10232014-08-15 Eli Zaretskii <eliz@gnu.org>
1024
1025 * dcache.h: Include target.h, to avoid compile time warnings.
1026
eb7a547a
JB
10272014-08-15 Joel Brobecker <brobecker@adacore.com>
1028
1029 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1030 frame_info" partial declaration.
1031 * gdbarch.h: Regenerate.
1032
783cecc8
YQ
10332014-08-15 Yao Qi <yao@codesourcery.com>
1034
1035 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1036 Add parameter 'decode_for_pst_p'. Callers update.
1037
65c749e7
YQ
10382014-08-13 Yao Qi <yao@codesourcery.com>
1039
1040 PR build/17104
1041 * configure.ac: Use local variable 'pos'.
1042 * configure: Regenerated.
1043
d769e349
DE
10442014-08-11 Doug Evans <dje@google.com>
1045
1046 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1047 message, it is redundant with "Reading symbols from ..." message.
1048
24f1235e
DE
10492014-08-10 Doug Evans <xdje42@gmail.com>
1050
1051 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1052
dcd2e6ef
YQ
10532014-08-09 Yao Qi <yao@codesourcery.com>
1054
1055 PR remote/9053
1056 * remote.c (remote_xfer_partial): Remove dead code.
1057
070bdf0b
AA
10582014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1059
1060 * ia64-linux-tdep.c: Include "regset.h".
1061 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1062 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1063 (ia64_linux_supply_fpregset): New function.
1064 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1065 (ia64_linux_regset_from_core_section): New function.
1066 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1067 method.
1068
08f9f542
AA
10692014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1070
1071 * m68klinux-tdep.c: Include "regset.h".
1072 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1073 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1074 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1075 (m68k_linux_regset_from_core_section): New function.
1076 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1077 method.
1078
8f1cee41
AA
10792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1080
1081 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1082 function. Move logic to...
1083 (tilegx_linux_regmap): ... this new register map.
1084 (tilegx_linux_regset): Refer to register map, replace supply
1085 method by regcache_supply_regset, and add collect method.
1086 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1087 TILEGX_FIRST_EASY_REGNUM.
1088
c5741217
AA
10892014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1090
1091 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1092 that calls regcache_supply_regset and handles the EPC register
1093 separately. Move main logic to...
1094 (score7_linux_gregmap): ... this new register map.
1095 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1096 (score7_linux_gregset): Refer to register map. Add collect method.
1097 (score7_linux_regset_from_core_section): Replace
1098 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1099 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1100 (struct regset): Delete unused forward declaraction.
1101 (struct pt_regs): Delete structure definition.
1102 (elf_gregset_t): Delete typedef.
1103
81580573
AA
11042014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1105
1106 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1107 (nios2_core_regset): Add collect method.
1108
ba199d7d
AA
11092014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110
1111 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1112 platform-independent and don't write to read-only input buffer.
1113 (m32r_linux_collect_gregset): New function.
1114 (m32r_linux_gregset): Add collect method.
1115
0006a9da
AA
11162014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1117
1118 * hppa-linux-tdep.c (greg_map): Rename to...
1119 (hppa_linux_gregmap): ... this. Also convert to
1120 regcache_map_entry format.
1121 (hppa_linux_supply_regset): Delete function.
1122 (hppa_linux_supply_fpregset): Delete function. Move logic to...
1123 (hppa_linux_fpregmap): ... this new register map.
1124 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
1125 register map, replace supply method by regcache_supply_regset, and
1126 add collect method regcache_collect_regset.
1127
901e1b23
AA
11282014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1129
1130 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
1131 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
1132 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
1133 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
1134 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
1135 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
1136 (frv_linux_supply_gregset): Replace main logic by call to
1137 regcache_supply_regset, but keep clearing gr32-gr63.
1138 (frv_linux_supply_fpregset): Delete function.
1139 (frv_linux_gregset): Refer to appropriate register map and add
1140 regcache_collect_regset as the collect method.
1141 (frv_linux_fpregset): Likewise. Also exchange the supply method
1142 by regcache_supply_regset.
1143
1d6e7555
AA
11442014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1145
1146 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
1147 by call to alpha_supply_int_regs.
1148 (alpha_linux_collect_gregset): New function.
1149 (alpha_linux_supply_fpregset): Replace logic by call to
1150 alpha_supply_fp_regs.
1151 (alpha_linux_collect_fpregset): New function.
1152 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
1153
d4d793bf
AA
11542014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1155
1156 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
1157 by call to regcache_collect_regset.
1158 (supply_gregset, supply_fpregset): Call regcache_supply_regset
1159 instead of aarch64_linux_supply_gregset/_fpregset.
1160 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
1161 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
1162 header file instead.
1163 (aarch64_linux_supply_gregset, supply_gregset_from_core)
1164 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
1165 functions. Move logic to ...
1166 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
1167 register maps.
1168 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
1169 refer to new register maps, replace *_regset_from_core by
1170 regcache_supply_regset, and also use regcache_collect_regset.
1171 * aarch64-linux-tdep.h: Include "regset.h".
1172 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
1173 Delete prototypes.
1174 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
1175 macros, moved from C source file.
1176 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
1177 variable declarations.
1178
99b7da5d
AA
11792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1180
1181 * s390-linux-nat.c: Include "regset.h".
1182 (regmap_gregset): Delete macro.
1183 (s390_64_regmap_gregset): New register map for
1184 regcache_supply/_collect_regset.
1185 (s390_64_gregset): New regset.
1186 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1187 (regmap_fpregset): Delete macro.
1188 (s390_native_supply, s390_native_collect): Delete functions.
1189 (supply_gregset, fill_gregset): Replace s390-specific regmap
1190 handling by a call to regcache_supply/_collect_regset.
1191 (supply_fpregset, fill_fpregset): Call regcache_supply/
1192 _collect_regset instead of s390_native_supply/_collect.
1193 (fetch_regset, store_regset): Likewise. Also change the last
1194 parameter to a regset instead of a regmap.
1195 (s390_linux_fetch_inferior_registers)
1196 (390_linux_store_inferior_registers): Adjust last parameter in
1197 calls to fetch_regset and store_regset.
1198 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1199 (s390_gregmap): ... this. Also make static const and convert to
1200 regcache_map_entry format.
1201 (s390x_regmap_gregset): Delete.
1202 (s390_regmap_fpregset): Rename to...
1203 (s390_fpregmap): ... this. Make static const and convert to
1204 regcache_map_entry format.
1205 (s390_regmap_upper, s390_regmap_last_break)
1206 (s390x_regmap_last_break, s390_regmap_system_call)
1207 (s390_regmap_tdb): Likewise.
1208 (s390_supply_regset, s390_collect_regset): Remove functions.
1209 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1210 s390_supply_regset.
1211 (s390_gregset, s390_fpregset, s390_upper_regset)
1212 (s390_last_break_regset, s390x_last_break_regset)
1213 (s390_system_call_regset, s390_tdb_regset): Make global and
1214 replace s390_supply/_collect_regset by regcache_supply/
1215 _collect_regset.
1216 (s390x_gregset): Delete.
1217 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1218 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1219 (s390_regmap_fpregset, s390_regmap_last_break)
1220 (s390x_regmap_last_break, s390_regmap_system_call)
1221 (s390_regmap_tdb): Delete global variable declarations.
1222 (s390_gregset, s390_fpregset, s390_last_break_regset)
1223 (s390x_last_break_regset, s390_system_call_regset)
1224 (s390_tdb_regset): New global variable declarations.
1225
0b309272
AA
12262014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1227
1228 * regcache.c: Include "regset.h".
1229 (regcache_transfer_regset): New local function.
1230 (regcache_supply_regset, regcache_collect_regset): New functions.
1231 * regcache.h (struct regcache_map_entry): New structure.
1232 (REGCACHE_MAP_SKIP): New enum value.
1233 (regcache_supply_regset, regcache_collect_regset): New prototypes.
1234
7fefa8d7
AA
12352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1236
1237 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1238 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1239 (ppc_linux_collect_gregset ): Likewise.
1240 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1241 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1242 (ppc_collect_vrregset): Likewise.
1243 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1244 Likewise.
1245
96c4f946
YQ
12462014-08-07 Yao Qi <yao@codesourcery.com>
1247
1248 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1249 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1250 * remote.c (remote_read_bytes): Likewise.
1251
fffbe6a8
YQ
12522014-08-07 Yao Qi <yao@codesourcery.com>
1253
1254 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1255
5ee8a82c
YQ
12562014-08-07 Yao Qi <yao@codesourcery.com>
1257
1258 PR remote/17230
1259 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1260 TARGET_XFER_OK instead of 0.
1261
bb974a24
GB
12622014-08-07 Gary Benson <gbenson@redhat.com>
1263
1264 * common/common-defs.h: Include errno.h.
1265 * defs.h: Do not include errno.h.
1266 * ada-typeprint.c: Likewise.
1267 * c-typeprint.c: Likewise.
1268 * core-regset.c: Likewise.
1269 * corefile.c: Likewise.
1270 * corelow.c: Likewise.
1271 * event-loop.c: Likewise.
1272 * f-typeprint.c: Likewise.
1273 * gnu-nat.c: Likewise.
1274 * go32-nat.c: Likewise.
1275 * i386gnu-nat.c: Likewise.
1276 * m2-typeprint.c: Likewise.
1277 * nat/linux-btrace.c: Likewise.
1278 * p-typeprint.c: Likewise.
1279 * procfs.c: Likewise.
1280 * remote-sim.c: Likewise.
1281 * rs6000-nat.c: Likewise.
1282 * target.c: Likewise.
1283 * typeprint.c: Likewise.
1284 * ui-file.c: Likewise.
1285 * valops.c: Likewise.
1286 * valprint.c: Likewise.
1287
6d3d12eb
GB
12882014-08-07 Gary Benson <gbenson@redhat.com>
1289
1290 * common/common-defs.h: Include string.h.
1291 * aarch64-tdep.c: Do not include string.h.
1292 * ada-exp.y: Likewise.
1293 * ada-lang.c: Likewise.
1294 * ada-lex.l: Likewise.
1295 * ada-typeprint.c: Likewise.
1296 * ada-valprint.c: Likewise.
1297 * aix-thread.c: Likewise.
1298 * alpha-linux-tdep.c: Likewise.
1299 * alpha-mdebug-tdep.c: Likewise.
1300 * alpha-nat.c: Likewise.
1301 * alpha-osf1-tdep.c: Likewise.
1302 * alpha-tdep.c: Likewise.
1303 * alphanbsd-tdep.c: Likewise.
1304 * amd64-dicos-tdep.c: Likewise.
1305 * amd64-linux-tdep.c: Likewise.
1306 * amd64-nat.c: Likewise.
1307 * amd64-sol2-tdep.c: Likewise.
1308 * amd64fbsd-tdep.c: Likewise.
1309 * amd64obsd-tdep.c: Likewise.
1310 * arch-utils.c: Likewise.
1311 * arm-linux-nat.c: Likewise.
1312 * arm-linux-tdep.c: Likewise.
1313 * arm-tdep.c: Likewise.
1314 * arm-wince-tdep.c: Likewise.
1315 * armbsd-tdep.c: Likewise.
1316 * armnbsd-nat.c: Likewise.
1317 * armnbsd-tdep.c: Likewise.
1318 * armobsd-tdep.c: Likewise.
1319 * avr-tdep.c: Likewise.
1320 * ax-gdb.c: Likewise.
1321 * ax-general.c: Likewise.
1322 * bcache.c: Likewise.
1323 * bfin-tdep.c: Likewise.
1324 * breakpoint.c: Likewise.
1325 * build-id.c: Likewise.
1326 * buildsym.c: Likewise.
1327 * c-exp.y: Likewise.
1328 * c-lang.c: Likewise.
1329 * c-typeprint.c: Likewise.
1330 * c-valprint.c: Likewise.
1331 * charset.c: Likewise.
1332 * cli-out.c: Likewise.
1333 * cli/cli-cmds.c: Likewise.
1334 * cli/cli-decode.c: Likewise.
1335 * cli/cli-dump.c: Likewise.
1336 * cli/cli-interp.c: Likewise.
1337 * cli/cli-logging.c: Likewise.
1338 * cli/cli-script.c: Likewise.
1339 * cli/cli-setshow.c: Likewise.
1340 * cli/cli-utils.c: Likewise.
1341 * coffread.c: Likewise.
1342 * common/agent.c: Likewise.
1343 * common/buffer.c: Likewise.
1344 * common/buffer.h: Likewise.
1345 * common/common-utils.c: Likewise.
1346 * common/filestuff.c: Likewise.
1347 * common/filestuff.c: Likewise.
1348 * common/format.c: Likewise.
1349 * common/print-utils.c: Likewise.
1350 * common/rsp-low.c: Likewise.
1351 * common/signals.c: Likewise.
1352 * common/vec.h: Likewise.
1353 * common/xml-utils.c: Likewise.
1354 * core-regset.c: Likewise.
1355 * corefile.c: Likewise.
1356 * corelow.c: Likewise.
1357 * cp-abi.c: Likewise.
1358 * cp-name-parser.y: Likewise.
1359 * cp-support.c: Likewise.
1360 * cp-valprint.c: Likewise.
1361 * cris-tdep.c: Likewise.
1362 * d-exp.y: Likewise.
1363 * darwin-nat.c: Likewise.
1364 * dbxread.c: Likewise.
1365 * dcache.c: Likewise.
1366 * demangle.c: Likewise.
1367 * dicos-tdep.c: Likewise.
1368 * disasm.c: Likewise.
1369 * doublest.c: Likewise.
1370 * dsrec.c: Likewise.
1371 * dummy-frame.c: Likewise.
1372 * dwarf2-frame.c: Likewise.
1373 * dwarf2loc.c: Likewise.
1374 * dwarf2read.c: Likewise.
1375 * elfread.c: Likewise.
1376 * environ.c: Likewise.
1377 * eval.c: Likewise.
1378 * event-loop.c: Likewise.
1379 * exceptions.c: Likewise.
1380 * exec.c: Likewise.
1381 * expprint.c: Likewise.
1382 * f-exp.y: Likewise.
1383 * f-lang.c: Likewise.
1384 * f-typeprint.c: Likewise.
1385 * f-valprint.c: Likewise.
1386 * fbsd-nat.c: Likewise.
1387 * findcmd.c: Likewise.
1388 * findvar.c: Likewise.
1389 * fork-child.c: Likewise.
1390 * frame.c: Likewise.
1391 * frv-linux-tdep.c: Likewise.
1392 * frv-tdep.c: Likewise.
1393 * gdb.c: Likewise.
1394 * gdb_bfd.c: Likewise.
1395 * gdbarch.c: Likewise.
1396 * gdbarch.sh: Likewise.
1397 * gdbtypes.c: Likewise.
1398 * gnu-nat.c: Likewise.
1399 * gnu-v2-abi.c: Likewise.
1400 * gnu-v3-abi.c: Likewise.
1401 * go-exp.y: Likewise.
1402 * go-lang.c: Likewise.
1403 * go32-nat.c: Likewise.
1404 * guile/guile.c: Likewise.
1405 * guile/scm-auto-load.c: Likewise.
1406 * hppa-hpux-tdep.c: Likewise.
1407 * hppa-linux-nat.c: Likewise.
1408 * hppanbsd-tdep.c: Likewise.
1409 * hppaobsd-tdep.c: Likewise.
1410 * i386-cygwin-tdep.c: Likewise.
1411 * i386-dicos-tdep.c: Likewise.
1412 * i386-linux-tdep.c: Likewise.
1413 * i386-nto-tdep.c: Likewise.
1414 * i386-sol2-tdep.c: Likewise.
1415 * i386-tdep.c: Likewise.
1416 * i386bsd-tdep.c: Likewise.
1417 * i386gnu-nat.c: Likewise.
1418 * i386nbsd-tdep.c: Likewise.
1419 * i386obsd-tdep.c: Likewise.
1420 * i387-tdep.c: Likewise.
1421 * ia64-libunwind-tdep.c: Likewise.
1422 * ia64-linux-nat.c: Likewise.
1423 * inf-child.c: Likewise.
1424 * inf-ptrace.c: Likewise.
1425 * inf-ttrace.c: Likewise.
1426 * infcall.c: Likewise.
1427 * infcmd.c: Likewise.
1428 * inflow.c: Likewise.
1429 * infrun.c: Likewise.
1430 * interps.c: Likewise.
1431 * iq2000-tdep.c: Likewise.
1432 * irix5-nat.c: Likewise.
1433 * jv-exp.y: Likewise.
1434 * jv-lang.c: Likewise.
1435 * jv-typeprint.c: Likewise.
1436 * jv-valprint.c: Likewise.
1437 * language.c: Likewise.
1438 * linux-fork.c: Likewise.
1439 * linux-nat.c: Likewise.
1440 * lm32-tdep.c: Likewise.
1441 * m2-exp.y: Likewise.
1442 * m2-typeprint.c: Likewise.
1443 * m32c-tdep.c: Likewise.
1444 * m32r-linux-nat.c: Likewise.
1445 * m32r-linux-tdep.c: Likewise.
1446 * m32r-rom.c: Likewise.
1447 * m32r-tdep.c: Likewise.
1448 * m68hc11-tdep.c: Likewise.
1449 * m68k-tdep.c: Likewise.
1450 * m68kbsd-tdep.c: Likewise.
1451 * m68klinux-nat.c: Likewise.
1452 * m68klinux-tdep.c: Likewise.
1453 * m88k-tdep.c: Likewise.
1454 * machoread.c: Likewise.
1455 * macrocmd.c: Likewise.
1456 * main.c: Likewise.
1457 * mdebugread.c: Likewise.
1458 * mem-break.c: Likewise.
1459 * memattr.c: Likewise.
1460 * memory-map.c: Likewise.
1461 * mep-tdep.c: Likewise.
1462 * mi/mi-cmd-break.c: Likewise.
1463 * mi/mi-cmd-disas.c: Likewise.
1464 * mi/mi-cmd-env.c: Likewise.
1465 * mi/mi-cmd-stack.c: Likewise.
1466 * mi/mi-cmd-var.c: Likewise.
1467 * mi/mi-cmds.c: Likewise.
1468 * mi/mi-console.c: Likewise.
1469 * mi/mi-getopt.c: Likewise.
1470 * mi/mi-interp.c: Likewise.
1471 * mi/mi-main.c: Likewise.
1472 * mi/mi-parse.c: Likewise.
1473 * microblaze-rom.c: Likewise.
1474 * microblaze-tdep.c: Likewise.
1475 * mingw-hdep.c: Likewise.
1476 * minidebug.c: Likewise.
1477 * minsyms.c: Likewise.
1478 * mips-irix-tdep.c: Likewise.
1479 * mips-linux-tdep.c: Likewise.
1480 * mips-tdep.c: Likewise.
1481 * mips64obsd-tdep.c: Likewise.
1482 * mipsnbsd-tdep.c: Likewise.
1483 * mipsread.c: Likewise.
1484 * mn10300-linux-tdep.c: Likewise.
1485 * mn10300-tdep.c: Likewise.
1486 * monitor.c: Likewise.
1487 * moxie-tdep.c: Likewise.
1488 * mt-tdep.c: Likewise.
1489 * nat/linux-btrace.c: Likewise.
1490 * nat/linux-osdata.c: Likewise.
1491 * nat/linux-procfs.c: Likewise.
1492 * nat/linux-ptrace.c: Likewise.
1493 * nat/linux-waitpid.c: Likewise.
1494 * nbsd-tdep.c: Likewise.
1495 * nios2-linux-tdep.c: Likewise.
1496 * nto-procfs.c: Likewise.
1497 * nto-tdep.c: Likewise.
1498 * objc-lang.c: Likewise.
1499 * objfiles.c: Likewise.
1500 * opencl-lang.c: Likewise.
1501 * osabi.c: Likewise.
1502 * osdata.c: Likewise.
1503 * p-exp.y: Likewise.
1504 * p-lang.c: Likewise.
1505 * p-typeprint.c: Likewise.
1506 * parse.c: Likewise.
1507 * posix-hdep.c: Likewise.
1508 * ppc-linux-nat.c: Likewise.
1509 * ppc-sysv-tdep.c: Likewise.
1510 * ppcfbsd-tdep.c: Likewise.
1511 * ppcnbsd-tdep.c: Likewise.
1512 * ppcobsd-tdep.c: Likewise.
1513 * printcmd.c: Likewise.
1514 * procfs.c: Likewise.
1515 * prologue-value.c: Likewise.
1516 * python/py-auto-load.c: Likewise.
1517 * python/py-gdb-readline.c: Likewise.
1518 * ravenscar-thread.c: Likewise.
1519 * regcache.c: Likewise.
1520 * registry.c: Likewise.
1521 * remote-fileio.c: Likewise.
1522 * remote-m32r-sdi.c: Likewise.
1523 * remote-mips.c: Likewise.
1524 * remote-notif.c: Likewise.
1525 * remote-sim.c: Likewise.
1526 * remote.c: Likewise.
1527 * reverse.c: Likewise.
1528 * rs6000-aix-tdep.c: Likewise.
1529 * ser-base.c: Likewise.
1530 * ser-go32.c: Likewise.
1531 * ser-mingw.c: Likewise.
1532 * ser-pipe.c: Likewise.
1533 * ser-tcp.c: Likewise.
1534 * ser-unix.c: Likewise.
1535 * serial.c: Likewise.
1536 * sh-tdep.c: Likewise.
1537 * sh64-tdep.c: Likewise.
1538 * shnbsd-tdep.c: Likewise.
1539 * skip.c: Likewise.
1540 * sol-thread.c: Likewise.
1541 * solib-dsbt.c: Likewise.
1542 * solib-frv.c: Likewise.
1543 * solib-osf.c: Likewise.
1544 * solib-som.c: Likewise.
1545 * solib-spu.c: Likewise.
1546 * solib-target.c: Likewise.
1547 * solib.c: Likewise.
1548 * somread.c: Likewise.
1549 * source.c: Likewise.
1550 * sparc-nat.c: Likewise.
1551 * sparc-sol2-tdep.c: Likewise.
1552 * sparc-tdep.c: Likewise.
1553 * sparc64-tdep.c: Likewise.
1554 * sparc64fbsd-tdep.c: Likewise.
1555 * sparc64nbsd-tdep.c: Likewise.
1556 * sparcnbsd-tdep.c: Likewise.
1557 * spu-linux-nat.c: Likewise.
1558 * spu-multiarch.c: Likewise.
1559 * spu-tdep.c: Likewise.
1560 * stabsread.c: Likewise.
1561 * stack.c: Likewise.
1562 * std-regs.c: Likewise.
1563 * symfile.c: Likewise.
1564 * symmisc.c: Likewise.
1565 * symtab.c: Likewise.
1566 * target.c: Likewise.
1567 * thread.c: Likewise.
1568 * tilegx-linux-nat.c: Likewise.
1569 * tilegx-tdep.c: Likewise.
1570 * top.c: Likewise.
1571 * tracepoint.c: Likewise.
1572 * tui/tui-command.c: Likewise.
1573 * tui/tui-data.c: Likewise.
1574 * tui/tui-disasm.c: Likewise.
1575 * tui/tui-file.c: Likewise.
1576 * tui/tui-layout.c: Likewise.
1577 * tui/tui-out.c: Likewise.
1578 * tui/tui-regs.c: Likewise.
1579 * tui/tui-source.c: Likewise.
1580 * tui/tui-stack.c: Likewise.
1581 * tui/tui-win.c: Likewise.
1582 * tui/tui-windata.c: Likewise.
1583 * tui/tui-winsource.c: Likewise.
1584 * typeprint.c: Likewise.
1585 * ui-file.c: Likewise.
1586 * ui-out.c: Likewise.
1587 * user-regs.c: Likewise.
1588 * utils.c: Likewise.
1589 * v850-tdep.c: Likewise.
1590 * valarith.c: Likewise.
1591 * valops.c: Likewise.
1592 * valprint.c: Likewise.
1593 * value.c: Likewise.
1594 * varobj.c: Likewise.
1595 * vax-tdep.c: Likewise.
1596 * vaxnbsd-tdep.c: Likewise.
1597 * vaxobsd-tdep.c: Likewise.
1598 * windows-nat.c: Likewise.
1599 * xcoffread.c: Likewise.
1600 * xml-support.c: Likewise.
1601 * xstormy16-tdep.c: Likewise.
1602 * xtensa-linux-nat.c: Likewise.
1603
dccbb609
GB
16042014-08-07 Gary Benson <gbenson@redhat.com>
1605
1606 * common/common-defs.h: Include gdb_assert.h.
1607 * aarch64-tdep.c: Do not include gdb_assert.h.
1608 * addrmap.c: Likewise.
1609 * aix-thread.c: Likewise.
1610 * alpha-linux-tdep.c: Likewise.
1611 * alpha-mdebug-tdep.c: Likewise.
1612 * alphanbsd-tdep.c: Likewise.
1613 * amd64-nat.c: Likewise.
1614 * amd64-tdep.c: Likewise.
1615 * amd64bsd-nat.c: Likewise.
1616 * amd64fbsd-nat.c: Likewise.
1617 * amd64fbsd-tdep.c: Likewise.
1618 * amd64nbsd-nat.c: Likewise.
1619 * amd64nbsd-tdep.c: Likewise.
1620 * amd64obsd-nat.c: Likewise.
1621 * amd64obsd-tdep.c: Likewise.
1622 * arch-utils.c: Likewise.
1623 * arm-tdep.c: Likewise.
1624 * armbsd-tdep.c: Likewise.
1625 * auxv.c: Likewise.
1626 * bcache.c: Likewise.
1627 * bfin-tdep.c: Likewise.
1628 * blockframe.c: Likewise.
1629 * breakpoint.c: Likewise.
1630 * bsd-kvm.c: Likewise.
1631 * bsd-uthread.c: Likewise.
1632 * buildsym.c: Likewise.
1633 * c-exp.y: Likewise.
1634 * c-lang.c: Likewise.
1635 * charset.c: Likewise.
1636 * cleanups.c: Likewise.
1637 * cli-out.c: Likewise.
1638 * cli/cli-decode.c: Likewise.
1639 * cli/cli-dump.c: Likewise.
1640 * cli/cli-logging.c: Likewise.
1641 * cli/cli-script.c: Likewise.
1642 * cli/cli-utils.c: Likewise.
1643 * coffread.c: Likewise.
1644 * common/common-utils.c: Likewise.
1645 * common/queue.h: Likewise.
1646 * common/signals.c: Likewise.
1647 * common/vec.h: Likewise.
1648 * complaints.c: Likewise.
1649 * completer.c: Likewise.
1650 * corelow.c: Likewise.
1651 * cp-abi.c: Likewise.
1652 * cp-name-parser.y: Likewise.
1653 * cp-namespace.c: Likewise.
1654 * cp-support.c: Likewise.
1655 * cris-tdep.c: Likewise.
1656 * dbxread.c: Likewise.
1657 * dictionary.c: Likewise.
1658 * doublest.c: Likewise.
1659 * dsrec.c: Likewise.
1660 * dummy-frame.c: Likewise.
1661 * dwarf2-frame-tailcall.c: Likewise.
1662 * dwarf2-frame.c: Likewise.
1663 * dwarf2expr.c: Likewise.
1664 * dwarf2loc.c: Likewise.
1665 * dwarf2read.c: Likewise.
1666 * eval.c: Likewise.
1667 * event-loop.c: Likewise.
1668 * exceptions.c: Likewise.
1669 * expprint.c: Likewise.
1670 * f-valprint.c: Likewise.
1671 * fbsd-nat.c: Likewise.
1672 * findvar.c: Likewise.
1673 * frame-unwind.c: Likewise.
1674 * frame.c: Likewise.
1675 * frv-tdep.c: Likewise.
1676 * gcore.c: Likewise.
1677 * gdb-dlfcn.c: Likewise.
1678 * gdb_bfd.c: Likewise.
1679 * gdbarch.c: Likewise.
1680 * gdbarch.sh: Likewise.
1681 * gdbtypes.c: Likewise.
1682 * gnu-nat.c: Likewise.
1683 * gnu-v3-abi.c: Likewise.
1684 * go-lang.c: Likewise.
1685 * guile/scm-exception.c: Likewise.
1686 * guile/scm-gsmob.c: Likewise.
1687 * guile/scm-lazy-string.c: Likewise.
1688 * guile/scm-math.c: Likewise.
1689 * guile/scm-pretty-print.c: Likewise.
1690 * guile/scm-safe-call.c: Likewise.
1691 * guile/scm-utils.c: Likewise.
1692 * guile/scm-value.c: Likewise.
1693 * h8300-tdep.c: Likewise.
1694 * hppa-hpux-nat.c: Likewise.
1695 * hppa-tdep.c: Likewise.
1696 * hppanbsd-tdep.c: Likewise.
1697 * hppaobsd-tdep.c: Likewise.
1698 * i386-darwin-nat.c: Likewise.
1699 * i386-darwin-tdep.c: Likewise.
1700 * i386-nto-tdep.c: Likewise.
1701 * i386-tdep.c: Likewise.
1702 * i386bsd-nat.c: Likewise.
1703 * i386fbsd-tdep.c: Likewise.
1704 * i386gnu-nat.c: Likewise.
1705 * i386nbsd-tdep.c: Likewise.
1706 * i386obsd-tdep.c: Likewise.
1707 * i387-tdep.c: Likewise.
1708 * ia64-libunwind-tdep.c: Likewise.
1709 * ia64-tdep.c: Likewise.
1710 * inf-ptrace.c: Likewise.
1711 * inf-ttrace.c: Likewise.
1712 * infcall.c: Likewise.
1713 * infcmd.c: Likewise.
1714 * infrun.c: Likewise.
1715 * inline-frame.c: Likewise.
1716 * interps.c: Likewise.
1717 * jv-lang.c: Likewise.
1718 * jv-typeprint.c: Likewise.
1719 * linux-fork.c: Likewise.
1720 * linux-nat.c: Likewise.
1721 * linux-thread-db.c: Likewise.
1722 * m32c-tdep.c: Likewise.
1723 * m32r-linux-nat.c: Likewise.
1724 * m32r-tdep.c: Likewise.
1725 * m68k-tdep.c: Likewise.
1726 * m68kbsd-nat.c: Likewise.
1727 * m68kbsd-tdep.c: Likewise.
1728 * m88k-tdep.c: Likewise.
1729 * machoread.c: Likewise.
1730 * macroexp.c: Likewise.
1731 * macrotab.c: Likewise.
1732 * maint.c: Likewise.
1733 * mdebugread.c: Likewise.
1734 * memory-map.c: Likewise.
1735 * mep-tdep.c: Likewise.
1736 * mi/mi-common.c: Likewise.
1737 * microblaze-tdep.c: Likewise.
1738 * mingw-hdep.c: Likewise.
1739 * mips-linux-nat.c: Likewise.
1740 * mips-linux-tdep.c: Likewise.
1741 * mips-tdep.c: Likewise.
1742 * mips64obsd-tdep.c: Likewise.
1743 * mipsnbsd-tdep.c: Likewise.
1744 * mn10300-linux-tdep.c: Likewise.
1745 * mn10300-tdep.c: Likewise.
1746 * moxie-tdep.c: Likewise.
1747 * mt-tdep.c: Likewise.
1748 * nat/linux-btrace.c: Likewise.
1749 * nat/linux-osdata.c: Likewise.
1750 * nat/linux-ptrace.c: Likewise.
1751 * nat/mips-linux-watch.c: Likewise.
1752 * nios2-linux-tdep.c: Likewise.
1753 * nios2-tdep.c: Likewise.
1754 * objc-lang.c: Likewise.
1755 * objfiles.c: Likewise.
1756 * obsd-nat.c: Likewise.
1757 * opencl-lang.c: Likewise.
1758 * osabi.c: Likewise.
1759 * parse.c: Likewise.
1760 * ppc-linux-nat.c: Likewise.
1761 * ppc-sysv-tdep.c: Likewise.
1762 * ppcfbsd-nat.c: Likewise.
1763 * ppcfbsd-tdep.c: Likewise.
1764 * ppcnbsd-nat.c: Likewise.
1765 * ppcnbsd-tdep.c: Likewise.
1766 * ppcobsd-nat.c: Likewise.
1767 * ppcobsd-tdep.c: Likewise.
1768 * printcmd.c: Likewise.
1769 * procfs.c: Likewise.
1770 * prologue-value.c: Likewise.
1771 * psymtab.c: Likewise.
1772 * python/py-lazy-string.c: Likewise.
1773 * python/py-value.c: Likewise.
1774 * regcache.c: Likewise.
1775 * reggroups.c: Likewise.
1776 * registry.c: Likewise.
1777 * remote-sim.c: Likewise.
1778 * remote.c: Likewise.
1779 * rs6000-aix-tdep.c: Likewise.
1780 * rs6000-tdep.c: Likewise.
1781 * s390-linux-tdep.c: Likewise.
1782 * score-tdep.c: Likewise.
1783 * ser-base.c: Likewise.
1784 * ser-mingw.c: Likewise.
1785 * sh-tdep.c: Likewise.
1786 * sh64-tdep.c: Likewise.
1787 * solib-darwin.c: Likewise.
1788 * solib-spu.c: Likewise.
1789 * solib-svr4.c: Likewise.
1790 * source.c: Likewise.
1791 * sparc-nat.c: Likewise.
1792 * sparc-sol2-tdep.c: Likewise.
1793 * sparc-tdep.c: Likewise.
1794 * sparc64-sol2-tdep.c: Likewise.
1795 * sparc64-tdep.c: Likewise.
1796 * sparc64fbsd-tdep.c: Likewise.
1797 * sparc64nbsd-tdep.c: Likewise.
1798 * sparc64obsd-tdep.c: Likewise.
1799 * sparcnbsd-tdep.c: Likewise.
1800 * sparcobsd-tdep.c: Likewise.
1801 * spu-multiarch.c: Likewise.
1802 * spu-tdep.c: Likewise.
1803 * stabsread.c: Likewise.
1804 * stack.c: Likewise.
1805 * symfile.c: Likewise.
1806 * symtab.c: Likewise.
1807 * target-descriptions.c: Likewise.
1808 * target-memory.c: Likewise.
1809 * target.c: Likewise.
1810 * tic6x-linux-tdep.c: Likewise.
1811 * tic6x-tdep.c: Likewise.
1812 * tilegx-linux-nat.c: Likewise.
1813 * tilegx-tdep.c: Likewise.
1814 * top.c: Likewise.
1815 * tramp-frame.c: Likewise.
1816 * tui/tui-out.c: Likewise.
1817 * tui/tui-winsource.c: Likewise.
1818 * ui-out.c: Likewise.
1819 * user-regs.c: Likewise.
1820 * utils.c: Likewise.
1821 * v850-tdep.c: Likewise.
1822 * valops.c: Likewise.
1823 * value.c: Likewise.
1824 * varobj.c: Likewise.
1825 * vax-nat.c: Likewise.
1826 * xml-syscall.c: Likewise.
1827 * xml-tdesc.c: Likewise.
1828 * xstormy16-tdep.c: Likewise.
1829 * xtensa-linux-nat.c: Likewise.
1830 * xtensa-tdep.c: Likewise.
1831
e76df0d0
GB
18322014-08-07 Gary Benson <gbenson@redhat.com>
1833
1834 * common/common-defs.h: Include common-utils.h.
1835 * defs.h: Do not include common-utils.h.
1836 * common/gdb_assert.h: Likewise.
1837 * darwin-nat.h: Likewise.
1838 * nat/linux-btrace.c: Likewise.
1839 * target/waitstatus.h: Likewise.
1840
4cb9c816
GB
18412014-08-07 Gary Benson <gbenson@redhat.com>
1842
1843 * common/common-defs.h: Include ptid.h.
1844 * defs.h: Do not include ptid.h.
1845 * inferior.h: Likewise.
1846 * infrun.h: Likewise.
1847 * nat/linux-btrace.h: Likewise.
1848 * nat/linux-osdata.h: Likewise.
1849 * target/waitstatus.h: Likewise.
1850
3995eeee
GB
18512014-08-07 Gary Benson <gbenson@redhat.com>
1852
1853 * common/common-defs.h: Include gdb_locale.h.
1854 * defs.h: Do not include gdb_locale.h.
1855
cb9f1a9b
GB
18562014-08-07 Gary Benson <gbenson@redhat.com>
1857
1858 * common/common-defs.h: Include gdb/signals.h.
1859 * defs.h: Do not include gdb/signals.h.
1860
a5fceff8
GB
18612014-08-07 Gary Benson <gbenson@redhat.com>
1862
1863 * common/common-defs.h: Include pathmax.h.
1864 * defs.h: Do not include pathmax.h.
1865
b9391142
GB
18662014-08-07 Gary Benson <gbenson@redhat.com>
1867
1868 * common/common-defs.h: Include libiberty.h.
1869 * defs.h: Do not include libiberty.h.
1870 * common/queue.h: Likewise.
1871 * cp-name-parser.y: Likewise.
1872 * mi/mi-cmd-catch.c: Likewise.
1873 * python/python.c: Likewise.
1874
0e443c87
GB
18752014-08-07 Gary Benson <gbenson@redhat.com>
1876
1877 * common/common-defs.h: Include ansidecl.h.
1878 * defs.h: Do not include ansidecl.h.
1879 * common/buffer.h: Likewise.
1880 * common/common-utils.h: Likewise.
1881
8ebb3f56
GB
18822014-08-07 Gary Benson <gbenson@redhat.com>
1883
1884 * common/common-defs.h: Include stddef.h.
1885 * defs.h: Do not include stddef.h.
1886 * common/common-utils.h: Likewise.
1887 * amd64fbsd-nat.c: Likewise.
1888 * bcache.c: Likewise.
1889 * charset.c: Likewise.
1890 * common/buffer.h: Likewise.
1891 * common/vec.h: Likewise.
1892 * i386bsd-nat.c: Likewise.
1893 * nat/linux-btrace.h: Likewise.
1894 * ppcfbsd-nat.c: Likewise.
1895 * ppcnbsd-tdep.h: Likewise.
1896 * ppcobsd-nat.c: Likewise.
1897 * ppcobsd-tdep.h: Likewise.
1898 * python/py-gdb-readline.c: Likewise.
1899
8980bdf6
GB
19002014-08-07 Gary Benson <gbenson@redhat.com>
1901
1902 * common/common-defs.h: Include stdarg.h.
1903 * defs.h: Do not include stdarg.h.
1904 * ada-lang.c: Likewise.
1905 * common/common-utils.h: Likewise.
1906 * guile/scm-string.c: Likewise.
1907 * guile/scm-utils.c: Likewise.
1908 * m32c-tdep.c: Likewise.
1909
d7096f71
GB
19102014-08-07 Gary Benson <gbenson@redhat.com>
1911
1912 * common/common-defs.h: Include stdlib.h.
1913 * defs.h: Do not include stdlib.h.
1914 * addrmap.c: Likewise.
1915 * bcache.c: Likewise.
1916 * common/buffer.c: Likewise.
1917 * common/common-utils.c: Likewise.
1918 * cp-name-parser.y: Likewise.
1919 * go32-nat.c: Likewise.
1920 * mn10300-linux-tdep.c: Likewise.
1921 * nat/linux-osdata.c: Likewise.
1922 * tui/tui.c: Likewise.
1923 * windows-nat.c: Likewise.
1924
d02f550d
GB
19252014-08-07 Gary Benson <gbenson@redhat.com>
1926
1927 * common/common-defs.h: Include stdio.h.
1928 * defs.h: Do not include stdio.h.
1929 * ada-lang.c: Likewise.
1930 * common/buffer.c: Likewise.
1931 * common/common-utils.c: Likewise.
1932 * cp-name-parser.y: Likewise.
1933 * gnu-nat.c: Likewise.
1934 * go32-nat.c: Likewise.
1935 * i386gnu-nat.c: Likewise.
1936 * proc-api.c: Likewise.
1937 * proc-events.c: Likewise.
1938 * proc-flags.c: Likewise.
1939 * proc-why.c: Likewise.
1940 * python/python-internal.h: Likewise.
1941 * target-memory.c: Likewise.
1942 * tui/tui-io.c: Likewise.
1943 * tui/tui.c: Likewise.
1944
b6d7a4bf
SM
19452014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1946
1947 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1948 (scan_dyntag_auxv): Same.
1949
af19829b
YQ
19502014-08-06 Yao Qi <yao@codesourcery.com>
1951
1952 * amd64-linux-nat.c: Remove duplicated include
1953 "x86-linux-nat.h".
1954 * i386-linux-nat.c: Likewise.
1955
8e07a239
YQ
19562014-08-06 Yao Qi <yao@codesourcery.com>
1957
1958 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1959 operand" with "Special opcode" in comments.
1960
7bfe8241
GB
19612014-08-05 Gary Benson <gbenson@redhat.com>
1962
1963 * interps.c (initialize_interps): Remove prototype.
1964 (interpreter_initialized): Remove static global.
1965 (interp_add): Do not call initialize_interps.
1966 (initialize_interps): Remove function.
1967
d6c95504
GB
19682014-08-05 Gary Benson <gbenson@redhat.com>
1969
1970 * utils.c (vwarning): Remove spurious va_end.
1971
241fd515
AM
19722014-08-05 Alan Modra <amodra@gmail.com>
1973
1974 * charset.c (convert_between_encodings): Cast result of obstack_base.
1975 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1976 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1977 (read_unwind_info): Use size_t for some locals.
1978 * jit.c (finalize_symtab): Likewise.
1979 * utils.c (hashtab_obstack_allocate): Likewise.
1980 * symmisc.c (print_objfile_statistics): Update format strings.
1981
dc304a94
JK
19822014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1983
1984 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1985 (Changes in GDB 7.8): ... here.
1986
3cecbbbe
TT
19872014-08-04 Tom Tromey <tromey@redhat.com>
1988
1989 * target.c (set_targetdebug): New function.
1990 (initialize_targets): Pass set_targetdebug when creating "set
1991 debug target".
1992
6908c509
JB
19932014-08-01 Joel Brobecker <brobecker@adacore.com>
1994
1995 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1996 if detecting a variable-sized field that is not the last field.
1997 Fix struct type length computation.
1998
53e8f97d
JB
19992014-08-01 Joel Brobecker <brobecker@adacore.com>
2000
2001 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2002 Add debug trace.
2003
e068c55d
JB
20042014-08-01 Joel Brobecker <brobecker@adacore.com>
2005
2006 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2007 Remove "+ 8" offset in computation of CHAIN_VMA.
2008
4d4ca2a1
DE
20092014-07-31 Doug Evans <dje@google.com>
2010
2011 * inflow.c (child_terminal_inferior): Add comment.
2012 (child_terminal_ours_for_output): Add comment.
2013 (child_terminal_ours): Add comment.
2014 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2015 (linux_nat_terminal_ours): Add comment.
2016
462f517e
GB
20172014-07-31 Gary Benson <gbenson@redhat.com>
2018
2019 * common/btrace-common.h: Do not include defs.h or server.h.
2020 * nat/mips-linux-watch.h: Likewise.
2021 * gdb-dlfcn.h: Do not include defs.h.
2022 * tracefile.h: Likewise.
2023
74228e77
RM
20242014-07-30 Roland McGrath <mcgrathr@google.com>
2025
2026 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2027
014f9477
TT
20282014-07-30 Tom Tromey <tromey@redhat.com>
2029
2030 * bsd-kvm.c (bsd_kvm_open): Constify.
2031 * corelow.c (core_open): Constify.
2032 * ctf.c (ctf_open): Constify.
2033 * dbug-rom.c (dbug_open): Constify.
2034 * exec.c (exec_open): Constify.
2035 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2036 * microblaze-rom.c (picobug_open): Constify.
2037 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2038 Constify.
2039 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2040 * record-btrace.c (record_btrace_open): Constify.
2041 * record-full.c (record_full_core_open_1, record_full_open_1)
2042 (record_full_open): Constify.
2043 * remote-m32r-sdi.c (m32r_open): Constify.
2044 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2045 (rockhopper_open, lsi_open): Constify.
2046 * remote-sim.c (gdbsim_open): Constify.
2047 * remote.c (remote_open, extended_remote_open, remote_open_1):
2048 Constify.
2049 * target.h (struct target_ops) <to_open>: Make "arg" const.
2050 * tracefile-tfile.c (tfile_open): Constify.
2051
e799154c
TT
20522014-07-30 Tom Tromey <tromey@redhat.com>
2053
2054 * breakpoint.c (map_breakpoint_numbers): Update.
2055 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2056 (get_number_const): New function.
2057 (get_number): Rewrite using get_number_const.
2058 (init_number_or_range): Make "string" const.
2059 (number_is_in_list): Make "list" const.
2060 * cli/cli-utils.h (get_number_const): Declare.
2061 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2062 (init_number_or_range, number_is_in_list): Update.
2063 * printcmd.c (map_display_numbers): Update.
2064 * value.c (value_from_history_ref): Constify.
2065 * value.h (value_from_history_ref): Update.
2066
5f08566b
TT
20672014-07-30 Tom Tromey <tromey@redhat.com>
2068
2069 * corefile.c (hook_type, call_extra_exec_file_hooks)
2070 (specify_exec_file_hook): Constify.
2071 * exec.c (exec_file_attach): Make "filename" const.
2072 * gdbcore.h (deprecated_exec_file_display_hook)
2073 (specify_exec_file_hook, exec_file_attach): Constify.
2074 * main.c (captured_main): Use catch_command_errors_const.
2075
8981c758
TT
20762014-07-30 Tom Tromey <tromey@redhat.com>
2077
2078 * target.c (open_target): New function.
2079 (add_target_with_completer, add_deprecated_target_alias): Use
2080 set_cmd_sfunc, set_cmd_context.
2081 (debug_to_open): Remove.
2082 (setup_target_debug): Update.
2083
a1c7835a
YQ
20842014-07-30 Yao Qi <yao@codesourcery.com>
2085
2086 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2087 comments.
2088 * parse.c (exp_iterate): Update comments.
2089
976411d6
GB
20902014-07-30 Gary Benson <gbenson@redhat.com>
2091
2092 * common/common-defs.h: New file.
2093 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2094 * defs.h: Include common-defs.h.
2095 Do not include config.h or build-gnulib/config.h.
2096
5d4848a4
GB
20972014-07-30 Gary Benson <gbenson@redhat.com>
2098
2099 * common/common-utils.h: Do not include config.h.
2100 * nat/linux-btrace.h: Likewise.
2101
d41f6d8e
GB
21022014-07-30 Gary Benson <gbenson@redhat.com>
2103
2104 * btrace.c: Include defs.h.
2105 * common/ptid.c: Include defs.h or server.h as appropriate.
2106 * nat/mips-linux-watch.c: Likewise.
2107
84202f9c
TT
21082014-07-29 Tom Tromey <tromey@redhat.com>
2109
2110 * target.c (target_is_pushed): Simplify.
2111
2530441c
JB
21122014-07-29 Joel Brobecker <brobecker@adacore.com>
2113
2114 GDB 7.8 released.
2115
7e09a223
YQ
21162014-07-29 Yao Qi <yao@codesourcery.com>
2117
2118 PR gdb/17206
2119 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2120
7ebdbe92
DE
21212014-07-28 Doug Evans <xdje42@gmail.com>
2122
2123 PR guile/17203
2124 * guile/scm-param.c (pascm_parameter_defined_p): New function.
2125 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
2126 parameters.
2127
f347ffc9
WN
21282014-07-28 Will Newton <will.newton@linaro.org>
2129
2130 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
2131 (THUMB2_SET_R7_SIGRETURN2): Likewise.
2132 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
2133 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
2134 (THUMB2_EABI_SYSCALL): Likewise.
2135 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
2136 struct tramp_frame.
2137 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
2138 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
2139
37c5f1f7
DE
21402014-07-27 Doug Evans <xdje42@gmail.com>
2141
2142 * guile/scm-param.c (pascm_print_param_smob): Fix output.
2143
0c3abbc7
DE
21442014-07-27 Doug Evans <xdje42@gmail.com>
2145
2146 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
2147
e76c5d17
DE
21482014-07-26 Ludovic Courtès <ludo@gnu.org>
2149 Doug Evans <xdje42@gmail.com>
2150
2151 PR guile/17146
2152 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
2153 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
2154 * configure.ac: Try to use guild to compile an scm file, if it fails
2155 then disable guile support.
2156 * configure: Regenerate.
2157 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
2158 GUILE_FILE_LIST.
2159 (GUILE_COMPILED_FILES): New variable.
2160 (GUILE_FILES) Update.
2161 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
2162 (stamp-guile): Compile scm files.
2163 * guile/guile.c (boot_guile_support): New function.
2164 (standard_throw_args_p): New function.
2165 (print_standard_throw_error, print_throw_error): New functions.
2166 (handle_boot_error): New function.
2167 (initialize_scheme_side): Rewrite to call boot_guile_support.
2168 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
2169 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
2170
186fcde0
DE
21712014-07-26 Ludovic Courtès <ludo@gnu.org>
2172 Doug Evans <xdje42@gmail.com>
2173
2174 PR guile/17146
2175 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
2176 * guile/lib/gdb/support.scm: New file.
2177 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
2178 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
2179 All uses updated.
2180 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
2181 All uses updated.
2182 (%assert-type): Ditto, and renamed to assert-type.
2183 (%exception-print-style): Delete.
2184
4df42755
DE
21852014-07-26 Doug Evans <xdje42@gmail.com>
2186
2187 PR build/17105
2188 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2189 * configure: Regenerate.
2190 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2191 PYTHON_FILES.
2192 (PYTHON_FILES): New variable.
2193 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2194 (GUILE_FILES): New variable.
2195 (stamp-python, install-python, uninstall-python): Handle empty
2196 file list.
2197 (stamp-guile, install-guile, uninstall-guile): Ditto.
2198
ee7333ae
DE
21992014-07-26 Doug Evans <xdje42@gmail.com>
2200
2201 PR guile/17177
2202 * guile/lib/gdb.scm (pretty-printers): Export.
2203 (set-pretty-printers!): Export.
2204 * guile/lib/gdb/printing.scm (gdb module): Update.
2205 (prepend-pretty-printer!, append-pretty-printer!): Update.
2206 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2207 (pretty_printer_list_var): Delete.
2208 (pretty_printer_list): New static global.
2209 (gdbscm_pretty_printers): New function.
2210 (gdbscm_set_pretty_printers_x): New function.
2211 (ppscm_find_pretty_printer_from_gdb): Update.
2212 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2213 (gdbscm_initialize_pretty_printers): Update.
2214
74edf516
DE
22152014-07-26 Doug Evans <xdje42@gmail.com>
2216
2217 PR 17185
2218 * configure.ac: Add check for header gc/gc.h.
2219 Add check for function setenv.
2220 * configure: Regenerate.
2221 * config.in: Regenerate.
2222 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2223
d54398a7
MR
22242014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
2225
2226 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2227 variation in gdbarch matching.
2228
ab16fce8
TT
22292014-07-25 Tom Tromey <tromey@redhat.com>
2230
2231 * exec.c (using_exec_ops): Remove.
2232 (exec_close_1): Update. Remove extraneous block, reindent.
2233 (add_target_sections): Use target_is_pushed.
2234
88056fbb
PA
22352014-07-25 Pedro Alves <palves@redhat.com>
2236
2237 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2238 * monitor.c (monitor_create_inferior): Likewise.
2239 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2240 * remote-sim.c (gdbsim_create_inferior): Likewise.
2241 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2242 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2243 * windows-nat.c (do_initial_windows_stuff): Likewise.
2244
70509625
PA
22452014-07-25 Pedro Alves <palves@redhat.com>
2246
2247 * NEWS: Mention signal passing and "signal" command changes.
2248 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2249 comment.
2250 * breakpoint.c (until_break_command): Adjust clear_proceed_status
2251 call.
2252 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2253 * infcmd.c (proceed_thread_callback, continue_1, step_once)
2254 (jump_command): Adjust clear_proceed_status call.
2255 (signal_command): Warn if other thread that are resumed have
2256 signals that will be delivered. Adjust clear_proceed_status call.
2257 (until_next_command, finish_command)
2258 (proceed_after_attach_callback, attach_command_post_wait)
2259 (attach_command): Adjust clear_proceed_status call.
2260 * infrun.c (proceed_after_vfork_done): Likewise.
2261 (proceed_after_attach_callback): Adjust comment.
2262 (clear_proceed_status_thread): Clear stop_signal if not in pass
2263 state.
2264 (clear_proceed_status_callback): Delete.
2265 (clear_proceed_status): New 'step' parameter. Only clear the
2266 proceed status of threads the command being prepared is about to
2267 resume.
2268 (proceed): If passed in an explicit signal, override stop_signal
2269 with it. Don't pass the last stop signal to the thread we're
2270 resuming.
2271 (init_wait_for_inferior): Adjust clear_proceed_status call.
2272 (switch_back_to_stepped_thread): Clear the signal if it should not
2273 be passed.
2274 * infrun.h (clear_proceed_status): New 'step' parameter.
2275 (user_visible_resume_ptid): Add comment.
2276 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2277 signal is in pass state.
2278 * remote.c (append_pending_thread_resumptions): Likewise.
2279 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2280
d8be2939
TT
22812014-07-25 Tom Tromey <tromey@redhat.com>
2282
2283 * target.h (target_stopped_data_address)
2284 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
2285 parentheses.
2286
7d0d9d2b
PL
22872014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
2288
2289 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2290 comments.
2291 (avr_pointer_to_address): Likewise.
2292
e9e7f724
TT
22932014-07-24 Tom Tromey <tromey@redhat.com>
2294
2295 * monitor.c (compile_pattern): Update.
2296 * target.h (struct target_ops) <to_shortname, to_longname,
2297 to_doc>: Now const.
2298
1947513d
TT
22992014-07-24 Tom Tromey <tromey@redhat.com>
2300
2301 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2302 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2303 (add_info_alias, add_com): Make "doc" const.
2304 (print_doc_line): Make "str" const.
2305 (delete_cmd): Update.
2306 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2307 (print_doc_line): Update.
2308 * cli/cli-script.c (document_command): Update.
2309 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2310 (add_com, add_info, add_info_alias): Update.
2311 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2312 * python/py-cmd.c (cmdpy_destroyer): Update.
2313
64e61d29
TT
23142014-07-24 Tom Tromey <tromey@redhat.com>
2315
2316 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2317 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2318 (help_cmd_list): Constify.
2319 (lookup_cmd): Update.
2320 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2321 const.
2322 (help_cmd_list, apropos_cmd): Update.
2323 * cli/cli-script.c (show_user): Update.
2324 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2325 * cli/cli-setshow.h (cmd_show_list): Update.
2326 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2327 (cmd_show_list): Update.
2328 * guile/scm-cmd.c (cmdscm_destroyer): Update.
2329 * python/py-cmd.c (cmdpy_destroyer): Update.
2330
429e55ea
TT
23312014-07-24 Tom Tromey <tromey@redhat.com>
2332
2333 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2334 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2335 const.
2336 * command.h (deprecate_cmd): Update.
2337 * maint.c (maintenance_do_deprecate): Add casts.
2338
64669f3b
TT
23392014-07-24 Tom Tromey <tromey@redhat.com>
2340
2341 * cli/cli-decode.c (help_cmd): Make parameter "const".
2342 * cli/cli-decode.h (help_cmd): Update.
2343
d3d3328b
TT
23442014-07-24 Tom Tromey <tromey@redhat.com>
2345
2346 * stack.c (up_silently_base, down_silently_base): Make argument
2347 const.
2348
414842dc
TT
23492014-07-24 Tom Tromey <tromey@redhat.com>
2350
2351 * solib.c (solib_add): Make "pattern" const.
2352 * solib.h (solib_add): Update.
2353
baa336ce
TT
23542014-07-24 Tom Tromey <tromey@redhat.com>
2355
2356 * remote.c (remote_serial_open, print_packet, putpkt)
2357 (putpkt_binary): Constify.
2358 * remote.h (putpkt): Update.
2359
5a19e2d0
TT
23602014-07-24 Tom Tromey <tromey@redhat.com>
2361
2362 * monitor.c (monitor_open): Make "args" const.
2363 * monitor.h (monitor_open): Update.
2364
fc4baa5e
TT
23652014-07-24 Tom Tromey <tromey@redhat.com>
2366
2367 * maint.c (match_bfd_flags): Make "string" const.
2368 (print_bfd_section_info): Remove casts.
2369 (print_objfile_section_info): Make "string" const.
2370
0d5f0dbe
TT
23712014-07-24 Tom Tromey <tromey@redhat.com>
2372
2373 * inf-child.c (inf_child_open_target): Make "arg" const.
2374 * inf-child.h (inf_child_open_target): Update.
2375
41c77899
TT
23762014-07-24 Tom Tromey <tromey@redhat.com>
2377
2378 * environ.c (unset_in_environ): Make "var" const.
2379 * environ.h (unset_in_environ): Update.
2380
93db0d79
TT
23812014-07-24 Tom Tromey <tromey@redhat.com>
2382
2383 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2384 Make "cmd" const.
2385 (scan_filename_with_cleanup): Likewise.
2386 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2387 Make arguments const.
2388 (restore_command): Update.
2389
36d6eb95
PA
23902014-07-24 Pedro Alves <palves@redhat.com>
2391
2392 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2393
8009206a
TT
23942014-07-24 Tom Tromey <tromey@redhat.com>
2395 Gary Benson <gbenson@redhat.com>
2396
2397 * nat/linux-ptrace.c (additional_flags): New global.
2398 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2399 additional_flags; don't check GDBSERVER.
2400 (linux_ptrace_set_additional_flags): New function.
2401 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2402 Declare.
2403 * linux-nat.c (_initialize_linux_nat): Call
2404 linux_ptrace_set_additional_flags.
2405
a7068b60
TT
24062014-07-24 Tom Tromey <tromey@redhat.com>
2407
2408 * make-target-delegates (munge_type, write_debugmethod): New
2409 functions.
2410 (debug_names): New global.
2411 ($TARGET_DEBUG_PRINTER): New global.
2412 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2413 name.
2414 Write debug methods. Generate init_debug_target.
2415 * target-debug.h: New file.
2416 * target-delegates.c: Rebuild.
2417 * target.c: Include target-debug.h.
2418 (debug_target): Hoist definition.
2419 (target_kill, target_get_section_table, target_memory_map)
2420 (target_flash_erase, target_flash_done, target_detach)
2421 (target_disconnect, target_wait, target_resume)
2422 (target_pass_signals, target_program_signals, target_follow_fork)
2423 (target_mourn_inferior, target_search_memory)
2424 (target_thread_address_space, target_close)
2425 (target_find_new_threads, target_core_of_thread)
2426 (target_verify_memory, target_insert_mask_watchpoint)
2427 (target_remove_mask_watchpoint): Remove targetdebug code.
2428 (debug_to_post_attach, debug_to_prepare_to_store)
2429 (debug_to_files_info, debug_to_insert_breakpoint)
2430 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2431 (debug_to_region_ok_for_hw_watchpoint)
2432 (debug_to_can_accel_watchpoint_condition)
2433 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2434 (debug_to_watchpoint_addr_within_range)
2435 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2436 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2437 (debug_to_terminal_init, debug_to_terminal_inferior)
2438 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2439 (debug_to_terminal_save_ours, debug_to_terminal_info)
2440 (debug_to_load, debug_to_post_startup_inferior)
2441 (debug_to_insert_fork_catchpoint)
2442 (debug_to_remove_fork_catchpoint)
2443 (debug_to_insert_vfork_catchpoint)
2444 (debug_to_remove_vfork_catchpoint)
2445 (debug_to_insert_exec_catchpoint)
2446 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2447 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2448 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2449 (setup_target_debug): Call init_debug_target.
2450 * target.h (TARGET_DEBUG_PRINTER): New macro.
2451 (struct target_ops) <to_resume, to_wait, to_pass_signals,
2452 to_program_signals>: Use TARGET_DEBUG_PRINTER.
2453
2c51604d
GB
24542014-07-24 Gary Benson <gbenson@redhat.com>
2455
2456 * exceptions.h (throw_vfatal): Renamed to...
2457 (throw_vquit): New declaration.
2458 (throw_quit): Likewise.
2459 * exceptions.c (throw_vfatal): Renamed to...
2460 (throw_vquit): New function.
2461 (throw_quit): Likewise.
2462 (throw_error): Call throw_verror rather than throw_it.
2463 * utils.h (vfatal): Removed.
2464 (fatal): Likewise.
2465 * utils.c (vfatal): Removed.
2466 (fatal): Likewise.
2467 (internal_verror): Replaced call to fatal with call to throw_quit.
2468 (quit): Replaced calls to fatal with calls to throw_quit.
2469
34211963
ME
24702014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
2471
2472 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2473 target_read_code.
2474
a52b4d3e
ME
24752014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
2476
2477 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2478 less than zero in conditional expression.
2479
a8bdc56b
TT
24802014-07-23 Tom Tromey <tromey@redhat.com>
2481
2482 * make-target-delegates ($ARGS_PART): Match trailing close paren.
2483 ($INTRO_PART): Don't match whitespace.
2484 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
2485 argument matching.
2486 ($METHOD): Add $METHOD_TRAILER.
2487 (trim): Rewrite.
2488 (scan_target_h): New sub.
2489 Change main loop not to collect state.
2490 * target-delegates.c: Rebuild.
2491
91b52240
GB
24922014-07-23 Gary Benson <gbenson@redhat.com>
2493
2494 * cp-support.c (gdb_demangle): Fix build on systems without
2495 sigaltstack.
2496
45326f6f
JK
24972014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2498
2499 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2500 for reference entry value target data value.
2501
e214cf6c
JK
25022014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2503
2504 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2505 value_available_contents_eq.
2506
bddbbedd
PA
25072014-07-22 Pedro Alves <palves@redhat.com>
2508
2509 * value.c (allocate_optimized_out_value): Don't mark value as
2510 non-lazy.
2511
45c71484
JW
25122014-07-22 Jiong Wang <jiong.wang@arm.com>
2513
2514 * MAINTAINERS (Write After Approval): Update my email address.
2515
9597b22a
DE
25162014-07-20 Doug Evans <dje@google.com>
2517
2518 PR server/17147
2519 * remote.c (putpkt_binary): Add text to error message.
2520
91101fe5
YQ
25212014-07-20 Yao Qi <yao@codesourcery.com>
2522
2523 * eval.c: Remove "Chill" from comments.
2524 * gdbtypes.h: Likewise.
2525 * symtab.h: Likewise.
2526
c9402c95
YQ
25272014-07-20 Yao Qi <yao@codesourcery.com>
2528
2529 * std-operator.def: Update comments to TERNOP_SLICE.
2530
ae8fddda
YQ
25312014-07-20 Yao Qi <yao@codesourcery.com>
2532
2533 * std-operator.def: Remove BINOP_RANGE.
2534 * breakpoint.c (watchpoint_exp_is_const): Update.
2535 * expprint.c (dump_subexp_body_standard): Likewise.
2536 * eval.c (init_array_element): Remove dead code.
2537 (evaluate_subexp_standard): Likewise.
2538
9c816640
YQ
25392014-07-20 Yao Qi <yao@codesourcery.com>
2540
2541 * std-operator.def: Remove BINOP_IN.
2542 * breakpoint.c (watchpoint_exp_is_const): Update.
2543 * eval.c (evaluate_subexp_standard): Likewise.
2544 * expprint.c (dump_subexp_body_standard): Likewise.
2545
164224e9
ME
25462014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2547
2548 * microblaze-tdep.c (microblaze_register_names): Add
2549 the rshr and rslr register names.
2550 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2551 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2552 Use of tdesc_numbered_register. Use of
2553 microblaze_register_g_packet_guesses. Use of
2554 tdesc_use_registers. Use of set_gdbarch_register_type.
2555 (microblaze_register_g_packet_guesses): New.
2556 * microblaze-tdep.h (microblaze_reg_num): Add
2557 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2558 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2559 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2560 * features/microblaze-core.xml: New file.
2561 * features/microblaze-stack-protect.xml: New file.
2562 * features/microblaze-with-stack-protect.c: New file.
2563 * features/microblaze-with-stack-protect.xml: New file.
2564 * features/microblaze.xml: New file.
2565 * features/microblaze.c: New file.
2566 * features/Makefile (microblaze-with-stack-protect): Add
2567 microblaze-with-stack-protect microblaze and microblaze-expedite.
2568 * regformats/microblaze-with-stack-protect.dat: New file.
2569 * regformats/microblaze.dat: New file.
2570 * doc/gdb.texinfo (MicroBlaze Features): Added.
2571
e8b2341c
TT
25722014-07-18 Tom Tromey <tromey@redhat.com>
2573
2574 * exec.c (exec_ops): Now static.
2575 * exec.h (exec_ops): Don't declare.
2576
44e89118
TT
25772014-07-18 Tom Tromey <tromey@redhat.com>
2578
2579 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2580 to find_target_beneath.
2581 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2582 find_target_beneath.
2583 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2584
b0ed115f
TT
25852014-07-18 Tom Tromey <tromey@redhat.com>
2586
2587 PR gdb/17130:
2588 * utils.c (quit): Use target_supports_terminal_ours.
2589 * target.h (target_supports_terminal_ours): Declare.
2590 * target.c (target_supports_delete_record): Don't check
2591 to_delete_record against NULL.
2592 (target_supports_terminal_ours): New function.
2593
e75fdfca
TT
25942014-07-18 Tom Tromey <tromey@redhat.com>
2595
2596 PR gdb/17130:
2597 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2598 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2599 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2600 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2601 * windows-nat.c (windows_xfer_partial): Always delegate.
2602 * record-btrace.c (record_btrace_xfer_partial): Simplify
2603 delegation.
2604 (record_btrace_fetch_registers, record_btrace_store_registers)
2605 (record_btrace_prepare_to_store, record_btrace_resume)
2606 (record_btrace_wait, record_btrace_find_new_threads)
2607 (record_btrace_thread_alive): Likewise.
2608 * procfs.c (procfs_xfer_partial): Always delegate.
2609 * corelow.c (core_xfer_partial): Always delegate.
2610 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2611
83814951
TT
26122014-07-18 Tom Tromey <tromey@redhat.com>
2613
2614 * exec.c (exec_make_note_section): Move earlier.
2615
b8b8facf
DE
26162014-07-17 Doug Evans <dje@google.com>
2617
74b49205 2618 PR gdb/17170
b8b8facf
DE
2619 * maint.c (count_symtabs_and_blocks): Handle NULL
2620 current_program_space.
2621 (report_command_stats): Check global enabled flag in addition to
2622 recorded enabled flag.
2623 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2624
69ff6be5
PA
26252014-07-16 Pedro Alves <palves@redhat.com>
2626
2627 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2628
252db1b5
TT
26292014-07-16 Tom Tromey <tromey@redhat.com>
2630
2631 * target.h (struct target_ops) <to_delete_record>: Reformat
2632 comment.
2633
a432721e
TT
26342014-07-16 Tom Tromey <tromey@redhat.com>
2635
2636 * target-delegates.c: Rebuild.
2637
487d9753
PL
26382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2639
2640 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2641 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2642 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2643 (avr_pointer_to_address): Likewise.
2644 (avr_address_class_type_flags): New function.
2645 (avr_address_class_type_flags_to_name): Likewise.
2646 (avr_address_class_name_to_type_flags): Likewise.
2647 (avr_gdbarch_init): Set address_class_type_flags,
2648 address_class_type_flags_to_name and
2649 address_class_name_to_type_flags.
2650
57745c90
PA
26512014-07-15 Pedro Alves <palves@redhat.com>
2652
2653 * linux-nat.c (kill_callback): Save errno and work with saved
2654 copy.
2655
2d40be18
SM
26562014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2657
2658 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2659
572f6555
EBM
26602014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2661
2662 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2663 breakpoint support correctly.
2664
cc1c52ad
PA
26652014-07-14 Pedro Alves <palves@redhat.com>
2666
2667 * utils.c (prompt_for_continue): Call target_terminal_ours.
2668
1e973570
PA
26692014-07-14 Pedro Alves <palves@redhat.com>
2670
2671 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2672 catch_errors. Don't re-enable stdin or notify observers where,
2673 and rethrow error.
2674 (fetch_inferior_event_wrapper): Delete.
2675
93d6eb10
PA
26762014-07-14 Pedro Alves <palves@redhat.com>
2677
2678 PR gdb/17072
2679 * top.c: Include "inf-loop.h".
2680 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2681 field.
2682 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2683 was async before.
2684 (gdb_readline_wrapper): Store whether the target is async, and
2685 make it sync.
2686
0017922d
PA
26872014-07-14 Pedro Alves <palves@redhat.com>
2688
2689 PR gdb/17072
2690 * top.c (gdb_readline_wrapper_line): Tweak comment.
2691 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2692 the input handler callback.
2693
94696ad3
PA
26942014-07-14 Pedro Alves <palves@redhat.com>
2695
2696 PR gdb/17072
2697 * main.c: Include event-top.h.
2698 (handle_command_errors): New function.
2699 (catch_command_errors, catch_command_errors_const): Use it.
2700
9d1e69a2
PA
27012014-07-14 Pedro Alves <palves@redhat.com>
2702
2703 * exceptions.c (catch_command_errors, catch_command_errors_const):
2704 Moved to main.c.
2705 * exceptions.h (catch_command_errors_ftype)
2706 (catch_command_errors_const_ftype): Moved to main.c.
2707 (catch_command_errors, catch_command_errors_const): Delete
2708 declarations.
2709 * main.c (catch_command_errors_ftype)
2710 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2711 (catch_command_errors, catch_command_errors_const)): Moved here
2712 from exceptions.c and make static.
2713
feefc97b
PA
27142014-07-14 Pedro Alves <palves@redhat.com>
2715
2716 * exceptions.c (print_any_exception): Delete.
2717 (catch_exceptions_with_msg): Use exception_print instead of
2718 print_any_exception.
2719 (catch_errors): Use exception_fprintf instead of
2720 print_any_exception.
2721 (catch_command_errors, catch_command_errors_const): Use
2722 exception_print instead of print_any_exception.
2723
c933f875
PA
27242014-07-14 Pedro Alves <palves@redhat.com>
2725
2726 * infcall.c (run_inferior_call): Set 'sync_execution' while
2727 running the inferior call.
2728
feb6f816
PA
27292014-07-14 Pedro Alves <palves@redhat.com>
2730
2731 * value.c (value_contents_equal): Delete function.
2732 * value.h (value_contents_equal): Delete declaration.
2733
d98b7a16
TT
27342014-07-14 Tom Tromey <tromey@redhat.com>
2735
2736 PR exp/17106:
2737 * gdbtypes.c (is_dynamic_type_internal): New function, from
2738 is_dynamic_type.
2739 (is_dynamic_type): Rewrite.
2740 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2741 (resolve_dynamic_struct): Likewise.
2742 (resolve_dynamic_type_internal): New function, from
2743 resolve_dynamic_type.
2744 (resolve_dynamic_type): Rewrite.
2745
548740d6
TT
27462014-07-14 Tom Tromey <tromey@redhat.com>
2747
2748 * target.c (target_require_runnable): Also check record_stratum.
2749 Update comment.
2750
808f7ab1
YQ
27512014-07-11 Yao Qi <yao@codesourcery.com>
2752
2753 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2754 thumb_instruction_restores_sp return true.
2755
540314bd
YQ
27562014-07-11 Yao Qi <yao@codesourcery.com>
2757
2758 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2759 (thumb_in_function_epilogue_p): Call
2760 thumb_instruction_restores_sp.
2761
1db01f22
YQ
27622014-07-11 Yao Qi <yao@codesourcery.com>
2763
2764 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2765 'add sp, #imm'.
2766 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2767
3116063b
GB
27682014-07-11 Gary Benson <gbenson@redhat.com>
2769
2770 * amd64-linux-nat.c (gdbcore.h): Remove include.
2771 (regset.h): Likewise.
2772 (nat/linux-btrace.h): Likewise.
2773 (btrace.h): Likewise.
2774 (gdb_assert.h): Likewise.
2775 (string.h): Likewise.
2776 (sys/uio.h): Likewise.
2777 (sys/debugreg.h): Likewise.
2778 (sys/syscall.h): Likewise.
2779 (sys/procfs.h): Likewise.
2780 (sys/user.h): Likewise.
2781 (asm/ptrace.h): Likewise.
2782 (i386-nat.h): Likewise.
2783 * i386-linux-nat.c (i386-nat.h): Likewise.
2784 (regset.h): Likewise.
2785 (target.h): Likewise.
2786 (linux-nat.h): Likewise.
2787 (nat/linux-btrace.h): Likewise.
2788 (btrace.h): Likewise.
2789 (gdb_assert.h): Likewise.
2790 (string.h): Likewise.
2791 (sys/uio.h): Likewise.
2792 (sys/user.h): Likewise.
2793 (sys/procfs.h): Likewise.
2794 (sys/reg.h): Likewise.
2795 (sys/debugreg.h): Likewise.
2796 (ORIG_EAX): Remove definition.
2797
040baaf6
GB
27982014-07-11 Gary Benson <gbenson@redhat.com>
2799
2800 * i386-linux-nat.h: New file.
2801 * x86-linux-nat.h: Likewise.
2802 * x86-linux-nat.c: Likewise.
2803 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2804 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2805 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2806 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2807 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2808 (PTRACE_SETREGSET): Likewise.
2809 (arch_lwp_info): Now in x86-linux-nat.c.
2810 (have_ptrace_getregset): Now in x86-linux-nat.h.
2811 (x86_linux_dr_get): Now in x86-linux-nat.c.
2812 (x86_linux_dr_set): Likewise.
2813 (x86_linux_dr_get_addr): Likewise.
2814 (x86_linux_dr_get_control): Likewise.
2815 (x86_linux_dr_get_status): Likewise.
2816 (update_debug_registers_callback): Likewise.
2817 (x86_linux_dr_set_control): Likewise.
2818 (x86_linux_dr_set_addr): Likewise.
2819 (x86_linux_prepare_to_resume): Likewise.
2820 (x86_linux_new_thread): Likewise.
2821 (x86_linux_new_fork): Likewise.
2822 (x86_linux_get_thread_area): Likewise.
2823 (super_post_startup_inferior): Likewise.
2824 (x86_linux_child_post_startup_inferior): Likewise.
2825 (AMD64_LINUX_USER64_CS): Likewise.
2826 (AMD64_LINUX_X32_DS): Likewise.
2827 (x86_linux_read_description): Likewise.
2828 (x86_linux_enable_btrace): Likewise.
2829 (x86_linux_disable_btrace): Likewise.
2830 (x86_linux_teardown_btrace): Likewise.
2831 (x86_linux_read_btrace): Likewise.
2832 (x86_linux_create_target): Likewise.
2833 (x86_linux_add_target): Likewise.
2834 * i386-linux-nat.c (x86-linux-nat.h): New include.
2835 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2836 (PTRACE_SETREGSET): Likewise.
2837 (arch_lwp_info): Now in x86-linux-nat.c.
2838 (have_ptrace_getregset): Now in x86-linux-nat.h.
2839 (x86_linux_dr_get): Now in x86-linux-nat.c.
2840 (x86_linux_dr_set): Likewise.
2841 (x86_linux_dr_get_addr): Likewise.
2842 (x86_linux_dr_get_control): Likewise.
2843 (x86_linux_dr_get_status): Likewise.
2844 (update_debug_registers_callback): Likewise.
2845 (x86_linux_dr_set_control): Likewise.
2846 (x86_linux_dr_set_addr): Likewise.
2847 (x86_linux_prepare_to_resume): Likewise.
2848 (x86_linux_new_thread): Likewise.
2849 (x86_linux_new_fork): Likewise.
2850 (x86_linux_get_thread_area): Likewise.
2851 (super_post_startup_inferior): Likewise.
2852 (x86_linux_child_post_startup_inferior): Likewise.
2853 (AMD64_LINUX_USER64_CS): Likewise.
2854 (AMD64_LINUX_X32_DS): Likewise.
2855 (x86_linux_read_description): Likewise.
2856 (x86_linux_enable_btrace): Likewise.
2857 (x86_linux_disable_btrace): Likewise.
2858 (x86_linux_teardown_btrace): Likewise.
2859 (x86_linux_read_btrace): Likewise.
2860 (x86_linux_create_target): Likewise.
2861 (x86_linux_add_target): Likewise.
2862
1aa7e42c
GB
28632014-07-11 Gary Benson <gbenson@redhat.com>
2864
2865 * amd64-linux-nat.c: Comment and whitespace changes.
2866 * i386-linux-nat.c: Comment and whitespace changes.
2867
c1e246a0
GB
28682014-07-11 Gary Benson <gbenson@redhat.com>
2869
2870 * amd64-linux-nat.c (x86_linux_create_target): New function.
2871 (x86_linux_add_target): Likewise.
2872 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2873 * i386-linux-nat.c (x86_linux_create_target): New function.
2874 (x86_linux_add_target): Likewise.
2875 (_initialize_i386_linux_nat): Delegate to the above new functions.
2876
8c420b8d
GB
28772014-07-11 Gary Benson <gbenson@redhat.com>
2878
2879 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2880 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2881 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2882 (ps_get_thread_area): Delegate to the above.
2883
cb1da100
GB
28842014-07-11 Gary Benson <gbenson@redhat.com>
2885
2886 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2887 x86_linux_read_description. All uses updated. amd64-specific
2888 code conditionalized. Conditionalized i386-specific code added.
2889 Redundant cast removed.
2890 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2891 x86_linux_read_description. All uses updated. i386-specific
2892 code conditionalized. Conditionalized amd64-specific code added.
2893 One sizeof replaced with the actual type it is describing.
2894
2acf3cd0
GB
28952014-07-11 Gary Benson <gbenson@redhat.com>
2896
2897 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2898 x86_linux_dr_get. All uses updated.
2899 (amd64_linux_dr_set): Renamed to
2900 x86_linux_dr_set. All uses updated.
2901 (amd64_linux_dr_get_addr): Renamed to
2902 x86_linux_dr_get_addr. All uses updated.
2903 (amd64_linux_dr_get_control): Renamed to
2904 x86_linux_dr_get_control. All uses updated.
2905 (amd64_linux_dr_get_status): Renamed to
2906 x86_linux_dr_get_status. All uses updated.
2907 (amd64_linux_dr_set_control): Renamed to
2908 x86_linux_dr_set_control. All uses updated.
2909 (amd64_linux_dr_set_addr): Renamed to
2910 x86_linux_dr_set_addr. All uses updated.
2911 (amd64_linux_prepare_to_resume): Renamed to
2912 x86_linux_prepare_to_resume. All uses updated.
2913 (amd64_linux_new_thread): Renamed to
2914 x86_linux_new_thread. All uses updated.
2915 (amd64_linux_new_fork): Renamed to
2916 x86_linux_new_fork. All uses updated.
2917 (amd64_linux_child_post_startup_inferior): Renamed to
2918 x86_linux_child_post_startup_inferior. All uses updated.
2919 (amd64_linux_enable_btrace): Renamed to
2920 x86_linux_enable_btrace. All uses updated.
2921 (amd64_linux_disable_btrace): Renamed to
2922 x86_linux_disable_btrace. All uses updated.
2923 (amd64_linux_teardown_btrace): Renamed to
2924 x86_linux_teardown_btrace. All uses updated.
2925 (amd64_linux_read_btrace): Renamed to
2926 x86_linux_read_btrace. All uses updated.
2927 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2928 x86_linux_dr_get. All uses updated.
2929 (i386_linux_dr_set): Renamed to
2930 x86_linux_dr_set. All uses updated.
2931 (i386_linux_dr_get_addr): Renamed to
2932 x86_linux_dr_get_addr. All uses updated.
2933 (i386_linux_dr_get_control): Renamed to
2934 x86_linux_dr_get_control. All uses updated.
2935 (i386_linux_dr_get_status): Renamed to
2936 x86_linux_dr_get_status. All uses updated.
2937 (i386_linux_dr_set_control): Renamed to
2938 x86_linux_dr_set_control. All uses updated.
2939 (i386_linux_dr_set_addr): Renamed to
2940 x86_linux_dr_set_addr. All uses updated.
2941 (i386_linux_prepare_to_resume): Renamed to
2942 x86_linux_prepare_to_resume. All uses updated.
2943 (i386_linux_new_thread): Renamed to
2944 x86_linux_new_thread. All uses updated.
2945 (i386_linux_new_fork): Renamed to
2946 x86_linux_new_fork. All uses updated.
2947 (i386_linux_child_post_startup_inferior): Renamed to
2948 x86_linux_child_post_startup_inferior. All uses updated.
2949 (i386_linux_enable_btrace): Renamed to
2950 x86_linux_enable_btrace. All uses updated.
2951 (i386_linux_disable_btrace): Renamed to
2952 x86_linux_disable_btrace. All uses updated.
2953 (i386_linux_teardown_btrace): Renamed to
2954 x86_linux_teardown_btrace. All uses updated.
2955 (i386_linux_read_btrace): Renamed to
2956 x86_linux_read_btrace. All uses updated.
2957
b9c1d481
AS
29582014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2959
2960 * remote.c (extended_remote_post_attach): New function.
2961 (init_extended_remote_ops): Install it as to_post_attach method.
2962
7180e04a
PA
29632014-07-09 Pedro Alves <palves@redhat.com>
2964
2965 * infcmd.c (attach_command_post_wait): Don't call
2966 target_terminal_inferior here.
2967 (attach_command): Call it here instead.
2968
9a9a7608
AB
29692014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2970
2971 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2972 field.
2973 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2974 from varobj.c, with additional checks.
2975 (c_varobj_ops): Fill in is_path_expr_parent field.
2976 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2977 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2978 field.
2979 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2980 ops method.
2981 (varobj_default_is_path_expr_parent): New function.
2982 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2983 (varobj_default_is_path_expr_parent): Declare new function.
2984
1f267ae3
MM
29852014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2986
2987 * infcmd.c (finish_backward): Turn internal error into normal error.
2988
b2ee242b
PA
29892014-07-07 Pedro Alves <palves@redhat.com>
2990
8a869bca 2991 PR gdb/17096
b2ee242b
PA
2992 * remote.c (async_handle_remote_sigint)
2993 (async_handle_remote_sigint_twice): Call
2994 gdb_call_async_signal_handler instead of
2995 mark_async_signal_handler.
2996
38e229b2
TT
29972014-07-07 Tom Tromey <tromey@redhat.com>
2998
2999 * target-delegates.c: Rebuild.
3000 * target.c (target_info_record): Remove.
3001 * record.c (info_record_command): Unconditionally call
3002 to_info_record.
3003 * target.h (struct target_ops) <to_info_record>: Use
3004 TARGET_DEFAULT_IGNORE.
3005 (target_info_record): Remove.
3006
f0f9ff95
TT
30072014-07-07 Tom Tromey <tromey@redhat.com>
3008
3009 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3010 TARGET_DEFAULT_NORETURN.
3011 * target.c (generic_tls_error): New function.
3012 (target_translate_tls_address): Don't search target stack.
3013 * target-delegates.c: Rebuild.
3014 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3015 stack.
3016 * linux-thread-db.c (thread_db_get_thread_local_address):
3017 Unconditionally call beneath target.
3018
4a5be5ee
MK
30192014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3020
3021 * cli/cli-logging.c (pop_output_files): Assign targerr to
3022 gdb_stdtargerr.
3023
92c3b204
AB
30242014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3025
3026 * MAINTAINERS (Write After Approval): Update my email address.
3027
9b11e3a7
GB
30282014-07-02 Gary Benson <gbenson@redhat.com>
3029
3030 * proc-service.c (ps_xfer_memory): Update comment.
3031 (ps_pstop): Remove unused function.
3032 (ps_pcontinue): Likewise.
3033 (ps_lstop): Likewise.
3034 (ps_lcontinue): Likewise.
3035 (ps_lgetxregsize): Likewise.
3036 (ps_lgetxregs): Likewise.
3037 (ps_lsetxregs): Likewise.
3038 (ps_plog): Likewise.
3039 (ps_ptread): Likewise.
3040 (ps_ptwrite): Likewise.
3041
cf363f18
MW
30422014-07-01 Mark Wielaard <mjw@redhat.com>
3043
3044 * dwarf2read.c (add_array_cv_type): New function.
3045 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3046 (read_tag_volatile_type): Likewise.
3047
82ae6c8d
TT
30482014-07-01 Tom Tromey <tromey@redhat.com>
3049
3050 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3051 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3052 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3053 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3054 * command.h (cmd_cfunc_ftype): Move earlier.
3055 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3056 (add_com, add_info): Use cmd_cfunc_ftype.
3057
96142726
TT
30582014-06-30 Tom Tromey <tromey@redhat.com>
3059
3060 * symtab.c (operator_chars): Make parameters and return type
3061 const.
3062 (file_matches): Make "files" const.
3063 (struct search_symbols_data) <files>: Now const.
3064 (search_symbols): Make "regexp" and "files" parameters const.
3065 Update.
3066 (symtab_symbol_info): Remove cast.
3067 (rbreak_command): Update.
3068 * symtab.h (search_symbols): Update.
3069
b67a2c6f
YQ
30702014-06-27 Yao Qi <yao@codesourcery.com>
3071
3072 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3073 Change parameter type to 'struct thread_info *'. Caller
3074 updated.
3075 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3076 Update declaration.
3077 * dummy-frame.c (struct dummy_frame_id): New.
3078 (dummy_frame_id_eq): New function.
3079 (struct dummy_frame) <id>: Change its type to 'struct
3080 dummy_frame_id'.
3081 (dummy_frame_push): Add parameter ptid and save it in
3082 dummy_frame_id.
3083 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3084 inferior_ptid.
3085 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3086 to inferior_ptid.
3087 (lookup_dummy_frame): Change parameter type to 'struct
3088 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3089 instead of frame_id_eq.
3090 (dummy_frame_pop): Add parameter ptid. Callers updated.
3091 Update comments. Compose dummy_frame_id and pass it to
3092 lookup_dummy_frame.
3093 (dummy_frame_discard): Add parameter ptid.
3094 (dummy_frame_sniffer): Compose dummy_frame_id and call
3095 dummy_frame_id_eq instead of frame_id_eq.
3096 (fprint_dummy_frames): Print ptid.
3097 * dummy-frame.h: Remove comments.
3098 (dummy_frame_push): Add ptid in declaration.
3099 (dummy_frame_pop, dummy_frame_discard): Likewise.
3100
5b10184c
TT
31012014-06-26 Tom Tromey <tromey@redhat.com>
3102
3103 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3104 * command.h (error_no_arg): Update.
3105
06900326
TT
31062014-06-26 Tom Tromey <tromey@redhat.com>
3107
3108 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3109 (do_show_command): Make "arg" const.
3110 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3111
c2bcbb1d
TT
31122014-06-26 Tom Tromey <tromey@redhat.com>
3113
3114 * record-full.c (record_full_get_bookmark): Make "args" const.
3115 (record_full_goto_bookmark): Make "raw_bookmark" const.
3116 * record.c (record_goto): New function.
3117 (cmd_record_goto): Use it. Now static.
3118 * record.h (record_goto): Declare.
3119 (cmd_record_goto): Remove declaration.
3120 * target-delegates.c: Rebuild.
3121 * target.h (struct target_ops) <to_get_bookmark,
3122 to_goto_bookmark>: Make parameter const.
3123
9cbe5fff
TT
31242014-06-26 Tom Tromey <tromey@redhat.com>
3125
3126 * defs.h (generic_load): Update.
3127 * m32r-rom.c (m32r_load_gen): Make "filename" const.
3128 * monitor.c (monitor_load): Make "args" const.
3129 * remote-m32r-sdi.c (m32r_load): Make "args" const.
3130 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
3131 const.
3132 (mips_load): Make "file" const.
3133 * remote-sim.c (gdbsim_load): Make "args" const.
3134 * remote.c (remote_load): Make "name" const.
3135 * symfile.c (generic_load): Make "args" const.
3136 * target-delegates.c: Rebuild.
3137 * target.c (target_load): Make "arg" const.
3138 (debug_to_load): Make "args" const.
3139 * target.h (struct target_ops) <to_load>: Make parameter const.
3140 (target_load): Update.
3141
34a68019
TT
31422014-06-26 Tom Tromey <tromey@redhat.com>
3143
3144 PR symtab/16902:
3145 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
3146 (dwarf2_physname, read_partial_die)
3147 (guess_partial_die_structure_name, fixup_partial_die)
3148 (guess_full_die_structure_name, anonymous_struct_prefix)
3149 (dwarf2_name): Use per-BFD obstack.
3150
efc889c1
YQ
31512014-06-26 Yao Qi <yao@codesourcery.com>
3152
3153 * dummy-frame.c (dummy_frame_sniffer): Move local variables
3154 dummyframe and this_id into inner block below.
3155
4395285e
YQ
31562014-06-26 Yao Qi <yao@codesourcery.com>
3157
3158 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
3159 with "signal_pass[0]" in the initialization of signal_pass.
3160
aef92902
MM
31612014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3162
3163 * record-btrace.c (record_btrace_generating_corefile)
3164 (record_btrace_prepare_to_generate_core)
3165 (record_btrace_done_generating_core): New.
3166 (record_btrace_xfer_partial, record_btrace_fetch_registers)
3167 (record_btrace_store_registers, record_btrace_prepare_to_store):
3168 Forward request when generating a core file.
3169 (record_btrace_open): Set record_btrace_generating_corefile to zero.
3170 (init_record_btrace_ops): Set to_prepare_to_generate_core and
3171 to_done_generating_core.
3172
5fff78c4
MM
31732014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3174
3175 * target.h (target_ops) <to_prepare_to_generate_core>
3176 <to_done_generating_core>: New.
3177 (target_prepare_to_generate_core, target_done_generating_core): New.
3178 * target.c (target_prepare_to_generate_core)
3179 (target_done_generating_core): New.
3180 * target-delegates.c: Regenerate.
3181 * gcore.c: (write_gcore_file): Rename to ...
3182 (write_gcore_file_1): ...this.
3183 (write_gcore_file): Call target_prepare_to_generate_core
3184 and target_done_generating_core.
3185
1d1f1ccb
MM
31862014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3187
3188 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3189 * gcore.c (write_gcore_file): Free memory returned from
3190 make_corefile_notes.
3191 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3192 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3193
3343ef86
YQ
31942014-06-24 Yao Qi <yao@codesourcery.com>
3195
3196 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3197 (arm_linux_init_abi): Set skip_trampoline_code with
3198 gdbarch_skip_trampoline_code instead of
3199 find_solib_trampoline_target.
3200
18d18ac8
YQ
32012014-06-24 Yao Qi <yao@codesourcery.com>
3202
3203 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3204 arm_skip_bx_reg returns non-zero.
3205
80d8d390
YQ
32062014-06-24 Yao Qi <yao@codesourcery.com>
3207
3208 * arm-tdep.c (arm_skip_bx_reg): New function.
3209 (arm_skip_stub): Call arm_skip_bx_reg.
3210
6a18a01c
DB
32112014-06-23 Don Breazeal <donb@codesourcery.com>
3212
3213 * MAINTAINERS: Add myself as write-after-approval maintainer.
3214
8e9db26e
PA
32152014-06-23 Pedro Alves <palves@redhat.com>
3216
3217 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3218 DR_CONTROL before setting DR0..DR3.
3219 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3220 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3221 bits of DR_CONTROL related to the debug register slot being
3222 disabled. If all slots are vacant, clear local slowdown as well,
3223 and assert DR_CONTROL is 0.
3224
70afc5b7
SC
32252014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3226
3227 * python/lib/gdb/command/xmethods.py
3228 (get_method_matchers_in_loci): Lookup xmethod matchers in the
3229 current progspace only if the string "progspace" matches LOCUS_RE.
3230
840ed64d
JK
32312014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3232
3233 Fix --with-system-readline with readline-6.3 patch 5.
3234 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3235 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3236 types.
3237
26f2dc30
TT
32382014-06-20 Tom Tromey <tromey@redhat.com>
3239
3240 * dwarf2read.c (dw2_get_real_path): Use correct type in
3241 OBSTACK_CALLOC.
3242 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3243
125f8a3d
GB
32442014-06-20 Gary Benson <gbenson@redhat.com>
3245
3246 * common/gdb_thread_db.h: Moved to nat. All includes updated.
3247 * common/glibc_thread_db.h: Likewise.
3248 * common/i386-cpuid.h: Likewise.
3249 * common/i386-gcc-cpuid.h: Likewise.
3250 * common/linux-btrace.h: Likewise.
3251 * common/linux-osdata.h: Likewise.
3252 * common/linux-procfs.h: Likewise.
3253 * common/linux-ptrace.h: Likewise.
3254 * common/mips-linux-watch.h: Likewise.
3255 * common/linux-btrace.c: Moved to nat.
3256 * common/linux-osdata.c: Likewise.
3257 * common/linux-procfs.c: Likewise.
3258 * common/linux-ptrace.c: Likewise.
3259 * common/mips-linux-watch.c: Likewise.
3260 * nat/gdb_thread_db.h: Moved from common.
3261 * nat/glibc_thread_db.h: Likewise.
3262 * nat/i386-cpuid.h: Likewise.
3263 * nat/i386-gcc-cpuid.h: Likewise.
3264 * nat/linux-btrace.c: Likewise.
3265 * nat/linux-btrace.h: Likewise.
3266 * nat/linux-osdata.c: Likewise.
3267 * nat/linux-osdata.h: Likewise.
3268 * nat/linux-procfs.c: Likewise.
3269 * nat/linux-procfs.h: Likewise.
3270 * nat/linux-ptrace.c: Likewise.
3271 * nat/linux-ptrace.h: Likewise.
3272 * nat/mips-linux-watch.c: Likewise.
3273 * nat/mips-linux-watch.h: Likewise.
3274 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3275 (object file files): Reordered.
3276 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3277 of glibc_thread_db.h.
3278
42995dbd
GB
32792014-06-20 Gary Benson <gbenson@redhat.com>
3280
3281 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3282 (i386_dr_low_type): Moved to nat/i386-dregs.h.
3283 (i386_dr_low): Likewise.
3284 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3285 (i386_dr_low_set_addr): Likewise.
3286 (i386_dr_low_get_addr): Likewise.
3287 (i386_dr_low_can_set_control): Likewise.
3288 (i386_dr_low_set_control): Likewise.
3289 (i386_dr_low_get_control): Likewise.
3290 (i386_dr_low_get_status): Likewise.
3291 (i386_get_debug_register_length): Likewise.
3292 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3293 (i386_dr_low): Likewise.
3294 * nat/i386-dregs.c (i386-low.h): Remove include.
3295 (i386-nat.h): Likewise.
3296 (nat/i386-dregs.h): New include.
3297 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3298 (i386_dr_low_set_addr): Likewise.
3299 (i386_dr_low_get_addr): Likewise.
3300 (i386_dr_low_can_set_control): Likewise.
3301 (i386_dr_low_set_control): Likewise.
3302 (i386_dr_low_get_control): Likewise.
3303 (i386_dr_low_get_status): Likewise.
3304 (i386_get_debug_register_length): Likewise.
3305 (debug_hw_points): Likewise.
3306
3ed9baed
IB
33072014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3308
3309 * Makefile.in (SFILES): Add d-exp.y.
3310 (YYFILES): Add d-exp.c.
3311 (YYOBJ): Add d-exp.o.
3312 (local-maintainer-clean): Delete d-exp.c.
3313 * d-exp.y: New file.
3314 * d-lang.h (d_parse): New declaration.
3315 (d_error): New declaration.
3316 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3317 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3318 PREC_ORDER operators.
3319 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3320
78c164b0
YQ
33212014-06-19 Yao Qi <yao@codesourcery.com>
3322
3323 * gdbthread.h (any_running): Remove the declaration.
3324 * thread.c (any_running): Remove.
3325
f6e29b6e
YQ
33262014-06-19 Yao Qi <yao@codesourcery.com>
3327
3328 * gdbthread.h (struct thread_info) <state>: Change its type to
3329 'enum thread_state'. Update comments.
3330
034f788c
PA
33312014-06-19 Pedro Alves <palves@redhat.com>
3332
3333 * gdbthread.h (ALL_THREADS): Delete.
3334 (ALL_NON_EXITED_THREADS): New macro.
3335 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3336 instead of ALL_THREADS.
3337 * infrun.c (find_thread_needs_step_over)
3338 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3339 instead of ALL_THREADS.
3340 * record-btrace.c (record_btrace_open)
3341 (record_btrace_stop_recording, record_btrace_close)
3342 (record_btrace_is_replaying, record_btrace_resume)
3343 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3344 * remote.c (append_pending_thread_resumptions): Likewise.
3345 * thread.c (thread_apply_all_command): Likewise.
3346
46e33252
GB
33472014-06-19 Gary Benson <gbenson@redhat.com>
3348
3349 * i386-nat.c (i386_stopped_by_watchpoint):
3350 Use i386_dr_stopped_by_watchpoint.
3351 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3352 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3353
3a8ee006
GB
33542014-06-19 Gary Benson <gbenson@redhat.com>
3355
3356 * nat/i386-dregs.c: New file.
3357 * Makefile.in (i386-dregs.o): New rule.
3358 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3359 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3360 * config/i386/darwin.mh (NATDEPFILES): Likewise.
3361 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3362 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3363 * config/i386/go32.mh (NATDEPFILES): Likewise.
3364 * config/i386/linux.mh (NATDEPFILES): Likewise.
3365 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3366 * config/i386/mingw.mh (NATDEPFILES): Likewise.
3367 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3368 * i386-nat.h (debug_hw_points): New declaration.
3369 * i386-nat.c (breakpoint.h): Remove include.
3370 (command.h): Likewise.
3371 (target.h): Likewise.
3372 (gdb_assert.h): Likewise.
3373 (debug_hw_points): Made nonstatic.
3374 (debug_printf): Now in i386-dregs.c.
3375 (TARGET_HAS_DR_LEN_8): Likewise.
3376 (DR_CONTROL_SHIFT): Likewise.
3377 (DR_CONTROL_SIZE): Likewise.
3378 (DR_RW_EXECUTE): Likewise.
3379 (DR_RW_WRITE): Likewise.
3380 (DR_RW_READ): Likewise.
3381 (DR_RW_IORW): Likewise.
3382 (DR_LEN_1): Likewise.
3383 (DR_LEN_2): Likewise.
3384 (DR_LEN_4): Likewise.
3385 (DR_LEN_8): Likewise.
3386 (DR_LOCAL_ENABLE_SHIFT): Likewise.
3387 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3388 (DR_ENABLE_SIZE): Likewise.
3389 (DR_LOCAL_SLOWDOWN): Likewise.
3390 (DR_GLOBAL_SLOWDOWN): Likewise.
3391 (DR_CONTROL_RESERVED): Likewise.
3392 (I386_DR_CONTROL_MASK): Likewise.
3393 (I386_DR_VACANT): Likewise.
3394 (I386_DR_LOCAL_ENABLE): Likewise.
3395 (I386_DR_GLOBAL_ENABLE): Likewise.
3396 (I386_DR_DISABLE): Likewise.
3397 (I386_DR_SET_RW_LEN): Likewise.
3398 (I386_DR_GET_RW_LEN): Likewise.
3399 (I386_DR_WATCH_HIT): Likewise.
3400 (i386_wp_op_t): Likewise.
3401 (i386_show_dr): Likewise.
3402 (i386_length_and_rw_bits): Likewise.
3403 (i386_insert_aligned_watchpoint): Likewise.
3404 (i386_remove_aligned_watchpoint): Likewise.
3405 (i386_handle_nonaligned_watchpoint): Likewise.
3406 (i386_update_inferior_debug_regs): Likewise.
3407 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3408 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3409 (i386_region_ok_for_watchpoint):
3410 Use i386_dr_region_ok_for_watchpoint.
3411 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3412
322a8e06
GB
34132014-06-19 Gary Benson <gbenson@redhat.com>
3414
3415 * i386-nat.c (i386_insert_hw_breakpoint): Use
3416 i386_insert_watchpoint.
3417 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3418
8f26655c
GB
34192014-06-19 Gary Benson <gbenson@redhat.com>
3420
3421 * i386-nat.c (i386_dr_show): Renamed to
3422 i386_show_dr and made static. All uses updated.
3423 (i386_dr_length_and_rw_bits): Renamed to
3424 i386_length_and_rw_bits and made static.
3425 All uses updated.
3426 (i386_dr_insert_aligned_watchpoint): Renamed to
3427 i386_insert_aligned_watchpoint and made static.
3428 All uses updated.
3429 (i386_dr_remove_aligned_watchpoint): Renamed to
3430 i386_remove_aligned_watchpoint and made static.
3431 All uses updated.
3432 (i386_dr_update_inferior_debug_regs): Renamed to
3433 i386_update_inferior_debug_regs and made static.
3434 All uses updated.
3435 * nat/i386-dregs.h (i386_dr_show): Removed.
3436 (i386_dr_length_and_rw_bits): Likewise.
3437 (i386_dr_insert_aligned_watchpoint): Likewise.
3438 (i386_dr_remove_aligned_watchpoint): Likewise.
3439 (i386_dr_update_inferior_debug_regs): Likewise.
3440
992c7d70
GB
34412014-06-19 Gary Benson <gbenson@redhat.com>
3442
3443 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3444 * configure: Regenerate.
3445 * config.in: Likewise.
3446 * main.c (signal.h): New include.
3447 (setup_alternate_signal_stack): New function.
3448 (captured_main): Call the above.
3449 * cp-support.c (signal.h): New include.
3450 (catch_demangler_crashes): New flag.
3451 (SIGJMP_BUF): New define.
3452 (SIGSETJMP): Likewise.
3453 (SIGLONGJMP): Likewise.
3454 (gdb_demangle_jmp_buf): New static global.
3455 (gdb_demangle_attempt_core_dump): Likewise.
3456 (gdb_demangle_signal_handler): New function.
3457 (gdb_demangle): If catch_demangler_crashes is set, install the
3458 above signal handler before calling bfd_demangle, and restore
3459 the original signal handler afterwards. Display the offending
3460 symbol and call demangler_warning the first time a segmentation
3461 fault is caught.
3462 (_initialize_cp_support): New maint set/show command.
3463
eae7090b
GB
34642014-06-19 Gary Benson <gbenson@redhat.com>
3465
3466 * utils.h (resource_limit_kind): New enum.
3467 (can_dump_core): New declaration.
3468 (warn_cant_dump_core): Likewise.
3469 (dump_core): Likewise.
3470 * utils.c (dump_core): Made nonstatic. Added new
3471 parameter "limit_kind".
3472 (can_dump_core): Made nonstatic. Moved printing code to...
3473 (warn_cant_dump_core): New function.
3474 (can_dump_core_warn): Likewise.
3475 (internal_vproblem): Replace calls to can_dump_core with
3476 calls to can_dump_core_warn. Supply new argument to each.
3477
57fcfb1b
GB
34782014-06-19 Gary Benson <gbenson@redhat.com>
3479
3480 * utils.h (demangler_vwarning): New declaration.
3481 (demangler_warning): Likewise.
3482 * utils.c (struct internal_problem)
3483 <user_settable_should_quit>: New field.
3484 <user_settable_should_dump_core>: Likewise
3485 (internal_error_problem): Add values for above new fields.
3486 (internal_warning_problem): Likewise.
3487 (demangler_warning_problem): New static global.
3488 (demangler_vwarning): New function.
3489 (demangler_warning): Likewise.
3490 (add_internal_problem_command): Selectively add commands.
3491 (_initialize_utils): New internal problem command.
3492 * maint.c (maintenance_demangler_warning): New function.
3493 (_initialize_maint_cmds): New command.
3494
17a40b44
TT
34952014-06-18 Tom Tromey <tromey@redhat.com>
3496
3497 * f-valprint.c (info_common_command_for_block): Update.
3498 * symtab.h (struct general_symbol_info) <common_block>: Now
3499 const.
3500
346d1dfe
TT
35012014-06-18 Tom Tromey <tromey@redhat.com>
3502
3503 * symtab.h (struct symtab) <blockvector>: Now const.
3504 * ada-lang.c (ada_add_global_exceptions): Update.
3505 * buildsym.c (augment_type_symtab): Update.
3506 * dwarf2read.c (dw2_lookup_symbol): Update.
3507 * jit.c (finalize_symtab): Update.
3508 * jv-lang.c (add_class_symtab_symbol): Update.
3509 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3510 Update.
3511 * objfiles.c (objfile_relocate1): Update.
3512 * psymtab.c (lookup_symbol_aux_psymtabs)
3513 (maintenance_check_psymtabs): Update.
3514 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3515 Update.
3516 * spu-tdep.c (spu_catch_start): Update.
3517 * symmisc.c (dump_symtab_1): Update.
3518 * symtab.c (lookup_global_symbol_from_objfile)
3519 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3520 (basic_lookup_transparent_type_quick)
3521 (basic_lookup_transparent_type, find_pc_sect_symtab)
3522 (find_pc_sect_line, search_symbols): Update.
3523 * block.c (find_block_in_blockvector): Make "bl" const.
3524 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3525 const.
3526 (blockvector_contains_pc): Make "bv" const.
3527 (block_for_pc_sect): Update.
3528 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3529 (blockvector_contains_pc): Update.
3530 * breakpoint.c (resolve_sal_pc): Update.
3531 * inline-frame.c (block_starting_point_at): Update.
3532
1834676b
TT
35332014-06-18 Tom Tromey <tromey@redhat.com>
3534
3535 * completer.c (complete_line): Make "line_buffer" const.
3536 * completer.h (complete_line): Update.
3537
ac1a991b
TT
35382014-06-18 Tom Tromey <tromey@redhat.com>
3539
3540 * symtab.c (add_macro_name): Remove unneeded cast.
3541
5bc98e52
TT
35422014-06-18 Tom Tromey <tromey@redhat.com>
3543
3544 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3545 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3546
8236def8
TT
35472014-06-18 Tom Tromey <tromey@redhat.com>
3548
3549 * probe.c (info_probes_for_ops): Make "arg" const.
3550 * probe.h (info_probes_for_ops): Update.
3551
3977b71f
TT
35522014-06-18 Tom Tromey <tromey@redhat.com>
3553
3554 * varobj.c (varobj_create): Update.
3555 * valops.c (value_of_this): Update.
3556 * tracepoint.c (add_local_symbols, scope_info): Update.
3557 * symtab.h (struct general_symbol_info) <block>: Now const.
3558 * symtab.c (skip_prologue_sal)
3559 (default_make_symbol_completion_list_break_on)
3560 (skip_prologue_using_sal): Update.
3561 * stack.h (iterate_over_block_locals)
3562 (iterate_over_block_local_vars): Update.
3563 * stack.c (print_frame_args): Update.
3564 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3565 parameter const.
3566 (get_selected_block): Make return type const.
3567 * python/py-frame.c (frapy_block): Update.
3568 * python/py-block.c (gdbpy_block_for_pc): Update.
3569 * p-exp.y (%union) <bval>: Now const.
3570 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3571 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3572 * m2-exp.y (%union) <bval>: Now const.
3573 * linespec.c (get_current_search_block): Make return type const.
3574 (create_sals_line_offset, find_label_symbols): Update.
3575 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3576 Update.
3577 (block_starting_point_at): Make "block" const.
3578 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3579 (check_exception_resume): Update.
3580 * guile/scm-frame.c (gdbscm_frame_block): Update.
3581 * guile/scm-block.c (gdbscm_lookup_block): Update.
3582 * frame.h (get_frame_block): Update.
3583 (get_selected_block): Make return type const.
3584 * frame.c (frame_id_inner): Update.
3585 * f-valprint.c (info_common_command_for_block)
3586 (info_common_command): Update.
3587 * dwarf2loc.c (dwarf2_find_location_expression)
3588 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3589 (locexpr_describe_location_piece): Update.
3590 * c-exp.y (%union) <bval>: Now const.
3591 * breakpoint.c (resolve_sal_pc): Update.
3592 * blockframe.c (get_frame_block):Make return type const.
3593 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3594 (block_innermost_frame): Update.
3595 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3596 (block_for_pc, block_for_pc_sect): Update.
3597 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3598 'pblock' const.
3599 (block_for_pc_sect, block_for_pc): Make return type const.
3600 * ax-gdb.c (gen_expr): Update.
3601 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3602 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3603 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3604 (ada_read_var_value): Update.
3605 * ada-exp.y (struct name_info) <block>: Now const.
3606 (%union): Likewise.
3607 (block_lookup): Constify.
3608
b9228891
GB
36092014-06-18 Gary Benson <gbenson@redhat.com>
3610
3611 * nat/i386-dregs.h: New file.
3612 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3613 * i386-nat.h (i386-dregs.h): New include.
3614 (DR_FIRSTADDR): Now in i386-dregs.h.
3615 (DR_LASTADDR): Likewise.
3616 (DR_NADDR): Likewise.
3617 (DR_STATUS): Likewise.
3618 (DR_CONTROL): Likewise.
3619 (i386_debug_reg_state): Likewise.
3620 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3621
a1aa2221
LM
36222014-06-18 Don Breazeal <donb@codesourcery.com>
3623
3624 * breakpoint.c (set_longjmp_breakpoint): Call
3625 momentary_breakpoint_from_master with additional argument.
3626 (set_longjmp_breakpoint_for_call_dummy): Call
3627 momentary_breakpoint_from_master with additional argument.
3628 (set_std_terminate_breakpoint): Call
3629 momentary_breakpoint_from_master with additional argument.
3630 (momentary_breakpoint_from_master): Add argument to function
3631 definition and use it to initialize structure member flag.
74228e77 3632 (clone_momentary_breakpoint): Call
a1aa2221
LM
3633 momentary_breakpoint_from_master with additional argument.
3634 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3635 member flags set in momentary_breakpoint_from_master.
3636
4be83cc2
GB
36372014-06-18 Gary Benson <gbenson@redhat.com>
3638
3639 * i386-nat.c (i386_show_dr): Renamed to
3640 i386_dr_show and made nonstatic. All uses updated.
3641 (i386_length_and_rw_bits): Renamed to
3642 i386_dr_length_and_rw_bits and made nonstatic.
3643 All uses updated.
3644 (i386_insert_aligned_watchpoint): Renamed to
3645 i386_dr_insert_aligned_watchpoint and made nonstatic.
3646 All uses updated.
3647 (i386_remove_aligned_watchpoint): Renamed to
3648 i386_dr_remove_aligned_watchpoint and made nonstatic.
3649 All uses updated.
3650 (i386_update_inferior_debug_regs): Renamed to
3651 i386_dr_update_inferior_debug_regs and made nonstatic.
3652 All uses updated.
3653
131aa0d4
GB
36542014-06-18 Gary Benson <gbenson@redhat.com>
3655
3656 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3657 (i386_dr_low_can_set_control): Likewise.
3658 (i386_dr_low_set_addr): Likewise.
3659 (i386_dr_low_set_control): Likewise.
3660 (i386_dr_low_get_addr): Likewise.
3661 (i386_dr_low_get_status): Likewise.
3662 (i386_dr_low_get_control): Likewise.
3663 (i386_insert_aligned_watchpoint): Use new macros.
3664 (i386_update_inferior_debug_regs): Likewise.
3665 (i386_stopped_data_address): Likewise.
3666
d9305f7f
GB
36672014-06-18 Gary Benson <gbenson@redhat.com>
3668
3669 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3670 New parameter. All uses updated.
3671
ea008da4
GB
36722014-06-18 Gary Benson <gbenson@redhat.com>
3673
3674 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3675 All uses updated.
3676
1b6d4134
GB
36772014-06-18 Gary Benson <gbenson@redhat.com>
3678
3679 * i386-nat.c (debug_printf): New macro.
3680 (i386_get_debug_register_length): Likewise.
3681 (TARGET_HAS_DR_LEN_8): Use above macro.
3682 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3683 and printf_unfiltered. Use phex to format values.
3684
9b4550ef
GB
36852014-06-18 Gary Benson <gbenson@redhat.com>
3686
3687 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3688 Make const.
3689
6e62758f
GB
36902014-06-18 Gary Benson <gbenson@redhat.com>
3691
3692 * i386-nat.c: Comment changes.
3693
51c79e94
GB
36942014-06-18 Gary Benson <gbenson@redhat.com>
3695
3696 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3697
3e11889a
GB
36982014-06-18 Gary Benson <gbenson@redhat.com>
3699
3700 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3701 (i386_insert_aligned_watchpoint): Likewise.
3702 (i386_remove_aligned_watchpoint): Likewise.
3703 (i386_handle_nonaligned_watchpoint): Likewise.
3704
fc6e2f03
GB
37052014-06-18 Gary Benson <gbenson@redhat.com>
3706
3707 * i386-nat.c: Whitespace changes.
3708
2afe7d50
SB
37092014-06-17 Samuel Bronson <naesten@gmail.com>
3710
3711 * MAINTAINERS: Update Roland McGrath's email address.
3712 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3713 Red Hat a while ago, and giving me a current address.
2afe7d50 3714
3bca49ee
TT
37152014-06-17 Tom Tromey <tromey@redhat.com>
3716
3717 * utils.h (savestring): Remove declaration.
3718
6e366df1
TT
37192014-06-17 Tom Tromey <tromey@redhat.com>
3720
3721 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3722
6be47f0c
KS
37232014-06-16 Keith Seitz <keiths@redhat.com>
3724
3725 PR mi/15863
3726 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3727 to update the varobj if inferior_ptid is null_ptid.
3728
7bc112c1
TT
37292014-06-16 Tom Tromey <tromey@redhat.com>
3730
3731 * target.h (struct target_ops) <to_info_proc>: Make parameter
3732 const.
3733 (target_info_proc): Update.
3734 * target.c (target_info_proc): Make "args" const.
3735 * procfs.c (procfs_info_proc): Update.
3736 * linux-tdep.c (linux_info_proc): Update.
3737 (linux_core_info_proc_mappings): Make "args" const.
3738 (linux_core_info_proc): Update.
3739 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3740 * gdbarch.c: Rebuild.
3741 * gdbarch.h: Rebuild.
3742 * corelow.c (core_info_proc): Update.
3743
fee354ee
TT
37442014-06-16 Tom Tromey <tromey@redhat.com>
3745
3746 * target.h (struct target_ops) <to_disconnect>: Make parameter
3747 const.
3748 (target_disconnect): Update.
3749 * target.c (target_disconnect): Make "args" const.
3750 * target-delegates.c: Rebuild.
3751 * remote.c (remote_disconnect): Update.
3752 * record.h (record_disconnect): Update.
3753 * record.c (record_disconnect): Update.
3754 * inf-child.c (inf_child_disconnect): Update.
3755
a30bf1f1
TT
37562014-06-16 Tom Tromey <tromey@redhat.com>
3757
3758 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3759 * target.c (debug_to_rcmd, default_rcmd): Update.
3760 * target-delegates.c: Rebuild.
3761 * remote.c (remote_rcmd): Update.
3762 * monitor.c (monitor_rcmd): Update.
3763
d03de421
PA
37642014-06-16 Pedro Alves <palves@redhat.com>
3765
3766 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3767 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3768 have OBJF_SHARED set.
3769 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3770 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3771 instead of OBJF_USERLOADED.
3772 * objfiles.h (OBJF_SHARED): Update comment.
3773 (userloaded_objfile_contains_address_p): Rename to ...
3774 (shared_objfile_contains_address_p): ... this, and update
3775 comments.
3776 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3777 new objfile.
3778 (remove_symbol_file_command): Skip objfiles that don't have
3779 OBJF_SHARED set.
3780
99f4262f
TT
37812014-06-16 Tom Tromey <tromey@redhat.com>
3782
3783 * minsyms.h (prim_record_minimal_symbol)
3784 (prim_record_minimal_symbol_and_info): Update comments.
3785
97d66cc6
EZ
37862014-06-14 Eli Zaretskii <eliz@gnu.org>
3787
3788 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3789 or --without-guile, according to how GDB was built.
3790
635c7e8a
TT
37912014-06-13 Tom Tromey <tromey@redhat.com>
3792
3793 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3794 to help_list.
3795 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3796 to help_list.
3797 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3798 help_list.
3799 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3800 help_list.Pass all_commands, not -1, to help_list.
3801 * cli/cli-dump.c (dump_command, append_command)
3802 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3803 (binary_dump_command, binary_append_command): Pass all_commands,
3804 not -1, to help_list.
3805 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3806 -1, to help_list.
3807 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3808 -1, to help_list.
3809 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3810 help_list.
3811 * top.c (set_history): Pass all_commands, not -1, to help_list.
3812 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3813 all_commands, not -1, to help_list.
3814 * symfile.c (overlay_command): Pass all_commands, not -1, to
3815 help_list.
3816 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3817 help_list.
3818 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3819 help_list.
3820 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3821 -1, to help_list.
3822 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3823 not -1, to help_list.
3824 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3825 not -1, to help_list.
3826 * maint.c (maintenance_command, maintenance_info_command)
3827 (maintenance_print_command, maintenance_set_cmd): Pass
3828 all_commands, not -1, to help_list.
3829 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3830 help_list.
3831 * language.c (set_check): Pass all_commands, not -1, to help_list.
3832 * infcmd.c (unset_command): Pass all_commands, not -1, to
3833 help_list.
3834 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3835 help_list.
3836 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3837 help_list.
3838 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3839 help_list.
3840 * breakpoint.c (save_command): Pass all_commands, not -1, to
3841 help_list.
3842 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3843 all_commands, not -1, to help_list.
3844
b94ade42
PL
38452014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3846
3847 * regcache.c (struct register_to_invalidate): New structure.
3848 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3849 functions.
3850 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3851
31f628ae
YQ
38522014-06-12 Yao Qi <yao@codesourcery.com>
3853
3854 * varobj.c (varobj_get_num_children): Call
3855 varobj_is_dynamic_p.
3856 (varobj_list_children): Likewise.
3857 (varobj_update): Likewise. Update comments.
3858
cde5ef40
YQ
38592014-06-12 Yao Qi <yao@codesourcery.com>
3860
3861 * varobj.c (varobj_pretty_printed_p): Rename to ...
3862 (varobj_is_dynamic_p): ... this. New function.
3863 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3864 (varobj_is_dynamic_p): Declare.
3865 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3866 (mi_print_value_p, varobj_update_one): Likewise.
3867
576ea091
YQ
38682014-06-12 Pedro Alves <pedro@codesourcery.com>
3869 Yao Qi <yao@codesourcery.com>
3870
3871 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3872 (varobj_get_iterator): Wrap up code for pretty-printer by
3873 "#if HAVE_PYTHON" and "#endif".
3874 (update_dynamic_varobj_children): Likewise.
3875
827f100c
YQ
38762014-06-12 Pedro Alves <pedro@codesourcery.com>
3877 Yao Qi <yao@codesourcery.com>
3878
3879 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3880 gdb_python_initialized is false. Move some code from varobj.c.
3881 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3882 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3883 (struct varobj_item): Moved to varobj-iter.h".
3884 (varobj_clear_saved_item): New function.
3885 (update_dynamic_varobj_children): Move python-related code to
3886 py-varobj.c.
3887 (free_variable): Call varobj_clear_saved_item and
3888 varobj_iter_delete.
3889
e5250216
YQ
38902014-06-12 Pedro Alves <pedro@codesourcery.com>
3891 Yao Qi <yao@codesourcery.com>
3892
3893 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3894 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3895 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3896 (py-varobj.o): New rule.
3897 * python/py-varobj.c: New file.
3898 * python/python-internal.h (py_varobj_get_iterator): Declare.
3899 * varobj-iter.h: New file.
3900 * varobj.c: Include "varobj-iter.h"
3901 (struct varobj) <child_iter>: Change its type from "PyObject *"
3902 to "struct varobj_iter *".
3903 <saved_item>: Likewise.
3904 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3905 [HAVE_PYTHON] (varobj_get_iterator): New function.
3906 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3907 python-specific code to python/py-varobj.c.
3908 (install_visualizer): Call varobj_iter_delete instead of
3909 Py_XDECREF.
3910 * varobj.h (varobj_ensure_python_env): Declare.
3911
5a2e0d6e
YQ
39122014-06-12 Yao Qi <yao@codesourcery.com>
3913
3914 * varobj.c (struct varobj_item): New structure.
3915 (create_child_with_value): Update declaration.
3916 (varobj_add_child): Replace arguments 'name' and 'value' with
3917 'item'. All callers updated.
3918 (install_dynamic_child): Likewise.
3919 (update_dynamic_varobj_children): Likewise.
3920 (varobj_add_child): Likewise.
3921 (create_child_with_value): Likewise.
3922
919b9a93
JB
39232014-06-11 Joel Brobecker <brobecker@adacore.com>
3924
3925 * NEWS: Create a new section for the next release branch.
3926 Rename the section of the current branch, now that it has
3927 been cut.
3928
71a55bdf
JB
39292014-06-11 Joel Brobecker <brobecker@adacore.com>
3930
3931 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3932 * version.in: Bump version to 7.8.50.DATE-cvs.
3933
364fe1f7
PA
39342014-06-11 Pedro Alves <palves@redhat.com>
3935
3936 PR remote/17028
3937 * ser-mingw.c (net_windows_socket_check_pending): New function.
3938 (net_windows_select_thread): Ignore spurious wakeups. Use
3939 net_windows_socket_check_pending.
3940 (net_windows_wait_handle): Check for pending events with
3941 ioctlsocket, through net_windows_socket_check_pending, instead of
3942 checking the socket's event.
3943
5a6c7709
SC
39442014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3945
3946 * python/python-internal.h (gdb_PyObject_GetAttrString)
3947 (gdb_PyObject_HasAttrString): New inline function definitions.
3948 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3949 char * of the second argument to PyObject_GetAttrString.
74228e77 3950
0e58ee40
JB
39512014-06-10 Joel Brobecker <brobecker@adacore.com>
3952
3953 * serial.c (serial_write): Fix index of character to be printed
3954 in call to serial_logchar when serial debug traces are enabled.
3955
d190df30
JB
39562014-06-10 Joel Brobecker <brobecker@adacore.com>
3957
3958 * gdbtypes (resolve_dynamic_range): Add function description.
3959
b4b01d36
PA
39602014-06-09 Pedro Alves <palves@redhat.com>
3961
3962 * linux-nat.c (linux_child_follow_fork): Initialize status with
3963 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3964 inner block. Only pass the signal to PTRACE_DETACH if in pass
3965 state.
3966
3657956b
GB
39672014-06-09 Gary Benson <gbenson@redhat.com>
3968
3969 * common/signals.c (gdb_signal_from_host): Reorder to separate
3970 the always-available ANSI-standard signals from the signals that
3971 require checking.
3972 (do_gdb_signal_to_host): Likewise.
3973 * proc-events.c (signal_table): Likewise.
3974
c077881a
HZ
39752014-06-08 Hui Zhu <hui@codesourcery.com>
3976
3977 * common/linux-ptrace.c (linux_disable_event_reporting): New
3978 function.
3979 * common/linux-ptrace.h (linux_disable_event_reporting): New
3980 declaration.
3981 * linux-nat.c (linux_child_follow_fork): Do a single step before
3982 detach.
3983
4186eb54
KS
39842014-06-07 Keith Seitz <keiths@redhat.com>
3985
3986 Revert:
3987 PR c++/16253
3988 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3989 from symbol_matches_domain in symtab.c. All local callers
3990 of symbol_matches_domain updated.
3991 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3992 search STRUCT_DOMAIN.
3993 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3994 independently. standard_lookup will do that automatically.
3995 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3996 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3997 (cp_lookup_symbol_in_namespace): Likewise.
3998 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3999 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4000 may return a STRUCT_DOMAIN match.
4001 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4002 * cp-support.c: Include language.h.
4003 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4004 VAR_DOMAIN.
4005 * psymtab.c (match_partial_symbol): Compare the requested
4006 domain with the symbol's domain directly.
4007 (lookup_partial_symbol): Likewise.
4008 * symtab.c (lookup_symbol_in_language): Explain when/why
4009 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4010 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4011 appropriate languages.
4012 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4013 and moved to ada-lang.c
4014 (lookup_block_symbol): Explain that this function only returns
4015 symbol matching the requested DOMAIN.
4016 Compare the requested domain with the symbol's domain directly.
4017 (iterate_over_symbols): Compare the requested domain with the
4018 symbol's domain directly.
4019 * symtab.h (symbol_matches_domain): Remove.
4020
25326a28 40212014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4022
4023 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4024 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4025 (gdbscm_guile_version_is_at_least): Declare.
4026 (gdbscm_scm_string_to_int): Declare.
4027 * guile/guile.c (gdbscm_guile_major_version): New global.
4028 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4029 (guile_datadir): New static global.
4030 (gdbscm_guile_data_directory): New function.
4031 (initialize_scheme_side): Update.
4032 (misc_guile_functions): Add guile-data-directory.
4033 (initialize_gdb_module): Fetch guile version number.
4034 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4035 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4036 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4037 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4038 comments.
4039 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4040 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4041 * guile/scm-value.c (gdbscm_value_to_string): Only call
4042 scm_port_conversion_strategy if Guile version >= 2.0.6.
4043
0a770bb2 40442014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4045
4046 * main.c (print_gdb_help): Add -q and --silent.
4047
73ba372c
GB
40482014-06-06 Gary Benson <gbenson@redhat.com>
4049
4050 * common/signals.c: Remove preprocessor conditionals for
4051 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4052 SIGSEGV and SIGTERM.
4053 * proc-events.c: Likewise.
4054
c33b2f12
MM
40552014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4056
4057 * symfile.c (symfile_free_objfile): Remove restriction to
4058 OBJF_USERLOADED.
4059 * symfile-mem.c (symbol_file_add_from_memory): Call
4060 add_target_sections_of_objfile.
4061
fb934770
LC
40622014-06-05 Ludovic Courtès <ludo@gnu.org>
4063
4064 * guile/scm-value.c (gdbscm_history_append_x): Use
4065 'vlscm_get_value_smob_arg_unsafe' instead of
4066 'vlscm_scm_to_value'.
4067
6ef284bd
SM
40682014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4069
4070 PR mi/15806
4071 * utils.c (printchar): Don't escape at all if quoter is NUL.
4072 Update function documentation to clarify effect of parameter
4073 QUOTER.
4074 * remote.c (escape_buffer): Pass '\\' as the quoter to
4075 fputstrn_unfiltered.
4076 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4077 generate the output.
4078 (mi_solib_unloaded): Same.
4079
270c9937
JB
40802014-06-05 Joel Brobecker <brobecker@adacore.com>
4081
4082 * development.sh: Delete.
4083 * Makefile.in (config.status): Adjust dependency on development.sh.
4084 * configure.ac: Adjust development.sh source call.
4085 * configure: Regenerate.
4086
16f691fb
DE
40872014-06-04 Doug Evans <xdje42@gmail.com>
4088
4089 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4090 is_scheme_bkpt, spec.
4091 (bpscm_make_breakpoint_smob): Initialize new members.
4092 (gdbscm_create_breakpoint_x): Split into two ...
4093 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4094 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4095 (scheme_function breakpoint_functions): Update.
4096 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4097 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4098 register-breakpoint!.
4099
ef7cab6b
JB
41002014-06-04 Joel Brobecker <brobecker@adacorer.com>
4101
4102 PR server/17023
4103 * mem-break.c (z_type_supported): Return zero if
4104 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4105
012370f6
TT
41062014-06-04 Tom Tromey <tromey@redhat.com>
4107
4108 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4109 value_from_contents_and_address_unresolved.
4110 (ada_template_to_fixed_record_type_1): Likewise.
4111 (ada_which_variant_applies): Likewise.
4112 * value.h (value_from_contents_and_address_unresolved): Declare.
4113 * value.c (value_from_contents_and_address_unresolved): New
4114 function.
4115 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4116 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4117 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4118
92e2a17f
TT
41192014-06-04 Tom Tromey <tromey@redhat.com>
4120
4121 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
4122
c0939df1
TT
41232014-06-04 Tom Tromey <tromey@redhat.com>
4124
4125 * procfs.c (procfs_attach): Make "args" const.
4126 * windows-nat.c (windows_attach): Make "args" const.
4127 * nto-procfs.c (procfs_attach): Make "args" const.
4128 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
4129 * go32-nat.c (go32_attach): Make "args" const.
4130 * gnu-nat.c (gnu_attach): Make "args" const.
4131 * darwin-nat.c (darwin_attach): Make "args" const.
4132 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
4133 * linux-nat.c (linux_nat_attach): Make "args" const.
4134 * remote.c (extended_remote_attach_1, extended_remote_attach):
4135 Make "args" const.
4136 * target.h (struct target_ops) <to_attach>: Make "args" const.
4137 (find_default_attach): Likewise.
4138 * utils.c (parse_pid_to_attach): Make "args" const.
4139 * utils.h (parse_pid_to_attach): Update.
4140
8eaff7cd
TT
41412014-06-04 Tom Tromey <tromey@redhat.com>
4142
4143 * target-delegates.c: Rebuild.
4144 * target.c (default_thread_address_space): New function.
4145 (target_thread_address_space): Simplify.
4146 * target.h (struct target_ops) <to_thread_address_space>: Add
4147 TARGET_DEFAULT_FUNC.
4148
1913f160
DE
41492014-06-04 Doug Evans <xdje42@gmail.com>
4150
4151 * guile/scm-type.c (type_smob): Remove duplicate typedef.
4152
70ad5bff
MM
41532014-06-04 Markus Metzger <markus.t.metzger@intel.com>
4154
4155 * record-btrace.c: Include event-loop.h and inf-loop.h.
4156 (record_btrace_resume_exec_dir)
4157 (record_btrace_async_inferior_event_handler)
4158 (record_btrace_handle_async_inferior_event): New.
4159 (record_btrace_open): Create async event handler.
4160 (record_btrace_close): Delete async event handler.
4161 (record_btrace_resume): Set record_btrace_resume_exec_dir,
4162 Mark async event handler.
4163 (record_btrace_execution_direction): New.
4164 (init_record_btrace_ops): Initialize to_execution_direction.
4165
b6210538
DE
41662014-06-03 Doug Evans <xdje42@gmail.com>
4167
4168 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
4169 (gdbscm_make_parameter): Ditto.
4170
a5b1fd27
DE
41712014-06-03 Doug Evans <dje@google.com>
4172
4173 * exec.c (exec_close_1): Call clear_section_table instead of
4174 resize_section_table.
4175 (clear_section_table): New function.
4176 (resize_section_table): Make static. Rename arg num_added to
4177 adjustment.
4178 * exec.h (clear_section_table): Declare.
4179 (resize_section_table): Delete.
4180 * progspace.c (release_program_space): Call clear_section_table
4181 instead of resize_section_table.
4182
0c6e92a5
SC
41832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4184
4185 * NEWS (Python Scripting): Add entry about the new xmethods
4186 feature.
4187
883964a7
SC
41882014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4189
4190 * python/py-xmethods.c: New file.
4191 * python/py-objfile.c (objfile_object): New field 'xmethods'.
4192 (objfpy_dealloc): XDECREF on the new xmethods field.
4193 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4194 field.
4195 (objfpy_get_xmethods): New function.
4196 (objfile_getset): New entry 'xmethods'.
4197 * python/py-progspace.c (pspace_object): New field 'xmethods'.
4198 (pspy_dealloc): XDECREF on the new xmethods field.
4199 (pspy_new, pspace_to_pspace_object): Initialize xmethods
4200 field.
4201 (pspy_get_xmethods): New function.
4202 (pspace_getset): New entry 'xmethods'.
4203 * python/python-internal.h: Add declarations for new functions.
4204 * python/python.c (_initialize_python): Invoke
4205 gdbpy_initialize_xmethods.
4206 * python/lib/gdb/__init__.py (xmethods): New
4207 attribute.
4208 * python/lib/gdb/xmethod.py: New file.
4209 * python/lib/gdb/command/xmethods.py: New file.
4210
58992dc5
SC
42112014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4212
4213 * eval.c (evaluate_subexp_standard): Call the xmethod if the
4214 best match method returned by find_overload_match is an xmethod.
4215 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4216 the best matching operator returned by find_overload_match is an
4217 xmethod.
4218 * valops.c: #include "extension.h".
4219 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4220 Return void. The list of matching source methods is returned in
4221 "fn_list" and a vector of matching debug method workers is
4222 returned in "xm_worker_vec". Update all callers.
4223 (value_find_oload_method_list): Likewise.
4224 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
4225 non-NULL, then the index of the best matching method in this
4226 vector is returned. Update all callers.
4227 (find_overload_match): Include xmethods while performing overload
4228 resolution.
4229
e81e7f5e
SC
42302014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4231
4232 * defs.h (enum lval_type): New enumerator "lval_xcallable".
4233 * extension-priv.h (struct extension_language_ops): Add the
4234 xmethod interface.
4235 * extension.c (new_xmethod_worker, clone_xmethod_worker,
4236 get_matching_xmethod_workers, get_xmethod_argtypes,
4237 invoke_xmethod, free_xmethod_worker,
4238 free_xmethod_worker_vec): New functions.
4239 * extension.h: #include "common/vec.h".
4240 New function declarations.
4241 (struct xmethod_worker): New struct.
4242 (VEC (xmethod_worker_ptr)): New vector type.
4243 (xmethod_worker_ptr): New typedef.
4244 (xmethod_worker_vec): Likewise.
4245 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4246 builtin_type.
4247 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4248 (struct builtin_type): New field "xmethod".
4249 * valarith.c (value_ptradd): Assert that the value argument is not
4250 lval_xcallable.
4251 * valops.c (value_must_coerce_to_target): Return 0 for
4252 lval_xcallable values.
4253 * value.c (struct value): New field XM_WORKER in the field
4254 LOCATION.
4255 (value_address, value_raw_address): Return 0 for lval_xcallable
4256 values.
4257 (set_value_address): Assert that the value is not an
4258 lval_xcallable.
4259 (value_free): Free the associated xmethod worker when freeing
4260 lval_xcallable values.
4261 (set_value_component_location): Assert that the WHOLE value is not
4262 lval_xcallable.
4263 (value_of_xmethod, call_xmethod): New functions.
4264 * value.h: Declare "struct xmethod_worker".
4265 Declare new functions value_of_xmethod, call_xmethod.
4266
ef370185
JB
42672014-06-03 Joel Brobecker <brobecker@adacore.com>
4268 Pedro Alves <palves@redhat.com>
4269
4270 PR breakpoints/17000
4271 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4272 New function, extracted from software_breakpoint_inserted_here_p.
4273 (software_breakpoint_inserted_here_p): Replace factored out code
4274 by call to find_non_raw_software_breakpoint_inserted_here.
4275 (bp_target_info_copy_insertion_state): New function.
4276 (bkpt_insert_location): Handle the case of a single-step
4277 breakpoint already inserted at the same address.
4278 (bkpt_remove_location): Handle the case of a single-step
4279 breakpoint still inserted at the same address.
4280 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4281 breakpoint already inserted at the same address.
4282 (deprecated_remove_raw_breakpoint): Handle the case of a
4283 non-raw breakpoint still inserted at the same address.
4284 (find_single_step_breakpoint): New function, extracted from
4285 single_step_breakpoint_inserted_here_p.
4286 (find_single_step_breakpoint): New function,
4287 factored out from single_step_breakpoint_inserted_here_p.
4288 (single_step_breakpoint_inserted_here_p): Reimplement.
4289
1e2ccb61
BM
42902014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4291
4292 Pushed by Joel Brobecker <brobecker@adacore.com>
4293 * source.c (show_substitute_path_command): Fix display of matching
4294 substitution rules.
4295
d3448d85
GB
42962014-06-03 Gary Benson <gbenson@redhat.com>
4297
4298 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4299
06eb1586
DE
43002014-06-02 Doug Evans <xdje42@gmail.com>
4301
4302 Add parameter support for Guile.
4303 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4304 (SUBDIR_GUILE_SRCS): Add scm-param.c.
4305 (scm-param.o): New rule.
4306 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4307 (gdbscm_misc_error): Declare.
4308 (gdbscm_canonicalize_command_name): Declare.
4309 (gdbscm_scm_to_host_string): Declare.
4310 (gdbscm_scm_from_host_string): Declare.
4311 (gdbscm_initialize_parameters): Declare.
4312 * guile/guile.c (initialize_gdb_module): Call
4313 gdbscm_initialize_parameters.
4314 * guile/lib/gdb.scm: Export parameter symbols.
4315 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4316 cmdscm_canonicalize_name and made public. All callers updated.
4317 * guile/scm-exception.c (gdbscm_misc_error): New function.
4318 * guile/scm-param.c: New file.
4319 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4320 (gdbscm_scm_to_host_string): New function.
4321 (gdbscm_scm_from_host_string): New function.
4322 * scm-utils.c (gdbscm_gc_dup_argv): New function.
4323
e698b8c4
DE
43242014-06-02 Doug Evans <xdje42@gmail.com>
4325
4326 Add command support for Guile.
4327 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4328 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4329 (scm-cmd.o): New rule.
4330 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4331 (gdbscm_user_error_p): Declare.
4332 (gdbscm_parse_command_name): Declare.
4333 (gdbscm_valid_command_class_p): Declare.
4334 (gdbscm_initialize_commands): Declare.
4335 * guile/guile.c (initialize_gdb_module): Call
4336 gdbscm_initialize_commands.
4337 * guile/lib/gdb.scm: Export command symbols.
4338 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4339 (throw-user-error): New function.
4340 * guile/scm-cmd.c: New file.
4341 * guile/scm-exception.c (user_error_symbol): New static global.
4342 (gdbscm_user_error_p): New function.
4343 (gdbscm_initialize_exceptions): Set user_error_symbol.
4344 * scm-utils.c (gdbscm_gc_xstrdup): New function.
4345
fb1f94b0
PM
43462014-06-02 Phil Muldoon <pmuldoon@redhat.com>
4347
4348 * top.c (command_loop): Handle comments here...
4349 (command_line_input): ... not here.
4350
ded03782
DE
43512014-06-02 Doug Evans <xdje42@gmail.com>
4352
4353 Add progspace support for Guile.
4354 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4355 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4356 (scm-progspace.o): New rule.
4357 * guile/guile-internal.h (pspace_smob): New typedef.
4358 (psscm_pspace_smob_pretty_printers): Declare.
4359 (psscm_pspace_smob_from_pspace): Declare.
4360 (psscm_scm_from_pspace): Declare.
4361 * guile/guile.c (initialize_gdb_module): Call
4362 gdbscm_initialize_pspaces.
4363 * guile/lib/gdb.scm: Export progspace symbols.
4364 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4365 support.
4366 (append-pretty-printer!): Ditto.
4367 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4368 Implement.
4369 * guile/scm-progspace.c: New file.
4370
397998fc
AM
43712014-06-03 Alan Modra <amodra@gmail.com>
4372
4373 * ppc64-tdep.c (ppc64_standard_linkage8): New.
4374 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4375
6aa5f3a6
DE
43762014-06-02 Doug Evans <dje@google.com>
4377
4378 Add support for skeletonless type units.
4379 * dwarf2read.c (struct dwarf2_per_objfile): New member
4380 n_allocated_type_units.
4381 (struct dwarf2_per_objfile) <tu_stats>: New member
4382 nr_all_type_units_reallocs.
4383 (create_signatured_type_table_from_index): Initialize
4384 n_allocated_type_units
4385 (create_all_type_units): Ditto.
4386 (add_type_unit): Move up in file. New arg slot.
4387 All callers updated. Increase space for all_type_units more
4388 efficiently.
4389 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4390 (lookup_dwo_signatured_type): Handle skeletonless TUs.
4391 (lookup_dwp_signatured_type): Ditto.
4392 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4393 All callers updated.
4394 (build_type_psymtabs_1): Leave type_unit_groups as
4395 NULL if no TUs present.
4396 (print_tu_stats): New function.
4397 (process_skeletonless_type_unit): New function.
4398 (process_dwo_file_for_skeletonless_type_units): New
4399 function.
4400 (process_skeletonless_type_units): New function.
4401 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4402 Call print tu_stats if debugging enabled.
4403
41fac0cf
PA
44042014-06-02 Pedro Alves <palves@redhat.com>
4405
4406 * breakpoint.c (build_target_command_list): Don't build a command
4407 list if we have any duplicate location that isn't a dprintf.
4408
cd1608cc
PA
44092014-06-02 Pedro Alves <palves@redhat.com>
4410
4411 * breakpoint.c (dprintf_breakpoint_hit): New function.
4412 (initialize_breakpoint_ops): Install it as dprintf's
4413 breakpoint_hit method.
4414
486ef3b9
JB
44152014-06-02 Joel Brobecker <brobecker@adacore.com>
4416
4417 * source.c (substitute_path_rule_matches): Simplify using
4418 filename_ncmp instead of FILENAME_CMP.
4419
230cd560
JB
44202014-06-02 Joel Brobecker <brobecker@adacore.com>
4421
4422 * source.c (substitute_path_rule_matches): Remove trailing spaces.
4423
16954d5d
LC
44242014-06-01 Ludovic Courtès <ludo@gnu.org>
4425
4426 * configure.ac: When Guile is available, check for the
4427 availability of 'scm_new_smob'.
4428 * configure, config.h.in: Regenerate.
4429 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4430 function.
4431
53e8a631
AB
44322014-05-30 Andrew Burgess <aburgess@broadcom.com>
4433
4434 * frame.c (struct frame_info): Add stop_string field.
4435 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4436 (get_prev_frame_always): Old content moved into
4437 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
4438 TRY_CATCH, handle MEMORY_ERROR exceptions.
4439 (frame_stop_reason_string): New function definition.
4440 * frame.h (unwind_stop_reason_to_string): Extend comment to
4441 mention frame_stop_reason_string.
4442 (frame_stop_reason_string): New function declaration.
4443 * stack.c (frame_info): Switch to frame_stop_reason_string.
4444 (backtrace_command_1): Switch to frame_stop_reason_string.
4445 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4446 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4447 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4448
70e38b8e
AB
44492014-05-30 Andrew Burgess <aburgess@broadcom.com>
4450
4451 * frame.c (frame_stop_reason_string): Rename to ...
4452 (unwind_stop_reason_to_string): this.
4453 * frame.h (frame_stop_reason_string): Rename to ...
4454 (unwind_stop_reason_to_string): this.
4455 * stack.c (frame_info): Update call to frame_stop_reason_string.
4456 (backtrace_command_1): Likewise.
4457 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4458 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4459
938f0e2f
AB
44602014-05-30 Andrew Burgess <aburgess@broadcom.com>
4461
4462 * frame.c (remove_prev_frame): New function.
4463 (get_prev_frame_if_no_cycle): Create / discard cleanup using
4464 remove_prev_frame.
4465
a09dd441
PA
44662014-05-29 Pedro Alves <palves@redhat.com>
4467
4468 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4469 and make it const. When a single-step decays to a continue,
4470 clear 'step', not 'hw_step'. Pass whether the caller wanted
4471 to step to user_visible_resume_ptid, not what we ask the
4472 target to do.
4473
bdc36728
PA
44742014-05-29 Pedro Alves <palves@redhat.com>
4475
4476 * infrun.c (process_event_stop_test, handle_step_into_function)
4477 (handle_step_into_function_backward): Adjust.
4478 Don't set the even thread's stop_step and call stop_waiting before
4479 calling end_stepping_range. Instead do that ...
4480 (end_stepping_range): ... here. Take an ecs pointer parameter.
4481
22bcd14b
PA
44822014-05-29 Pedro Alves <palves@redhat.com>
4483
4484 * infrun.c (stop_stepping): Rename to ...
4485 (stop_waiting): ... this.
4486 (proceed): Update comment.
4487 (process_event_stop_test, handle_inferior_event)
4488 (handle_signal_stop, handle_step_into_function)
4489 (handle_step_into_function_backward): Update.
4490
4ae57c05
PA
44912014-05-29 Pedro Alves <palves@redhat.com>
4492
4493 * infcall.c (run_inferior_call): Don't check whether the current
4494 thread is running after the proceed call.
4495
329ea579
PA
44962014-05-29 Pedro Alves <palves@redhat.com>
4497 Tom Tromey <tromey@redhat.com>
4498
4499 * NEWS: Mention "maint set target-async", "set mi-async", and that
4500 background execution commands are now always available.
4501 * target.h (target_async_permitted): Update comment.
4502 * target.c (target_async_permitted, target_async_permitted_1):
4503 Default to 1.
4504 (set_target_async_command): Rename to ...
4505 (maint_set_target_async_command): ... this.
4506 (show_target_async_command): Rename to ...
4507 (maint_show_target_async_command): ... this.
4508 (_initialize_target): Adjust.
4509 * infcmd.c (prepare_execution_command): Make extern.
4510 * inferior.h (prepare_execution_command): Declare.
4511 * infrun.c (set_observer_mode): Leave target async alone.
4512 * mi/mi-interp.c (mi_interpreter_init): Install
4513 mi_on_sync_execution_done as sync_execution_done observer.
4514 (mi_on_sync_execution_done): New function.
4515 (mi_execute_command_input_handler): Don't print the prompt if we
4516 just started a synchronous command with an async target.
4517 (mi_on_resume): Check sync_execution before printing prompt.
4518 * mi/mi-main.h (mi_async_p): Declare.
4519 * mi/mi-main.c: Include gdbcmd.h.
4520 (mi_async_p): New function.
4521 (mi_async, mi_async_1): New globals.
4522 (set_mi_async_command, show_mi_async_command, mi_async): New
4523 functions.
4524 (exec_continue): Call prepare_execution_command.
4525 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4526 (mi_execute_async_cli_command): Use mi_async_p.
4527 (_initialize_mi_main): Install "set mi-async". Make
4528 "target-async" a deprecated alias.
4529
92bcb5f9
PA
45302014-05-29 Pedro Alves <palves@redhat.com>
4531
4532 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4533 (_initialize_cli_interp): Adjust.
4534 * event-loop.c: Include "observer.h".
4535 (start_event_loop): Notify 'command_error' observers instead of
4536 calling display_gdb_prompt. Remove FIXME comment.
4537 * event-top.c (display_gdb_prompt): Remove call into the
4538 interpreters.
4539 * inf-loop.c: Include "observer.h".
4540 (inferior_event_handler): Notify 'command_error' observers instead
4541 of calling display_gdb_prompt.
4542 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4543 observers instead of calling display_gdb_prompt.
4544 * interps.c (interp_set): Don't call display_gdb_prompt.
4545 (current_interp_display_prompt_p): Delete.
4546 * interps.h (interp_prompt_p): Delete declaration.
4547 (interp_prompt_p_ftype): Delete.
4548 (struct interp_procs) <prompt_proc_p>: Delete field.
4549 (current_interp_display_prompt_p): Delete declaration.
4550 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4551 (_initialize_mi_interp): Adjust.
4552 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4553 'command_error' observers.
4554 (tui_on_sync_execution_done, tui_on_command_error): New
4555 functions.
4556 (tui_display_prompt_p): Delete.
4557 (_initialize_tui_interp): Adjust.
4558
fd664c91
PA
45592014-05-29 Pedro Alves <palves@redhat.com>
4560
4561 PR gdb/13860
4562 * cli/cli-interp.c: Include infrun.h and observer.h.
4563 (cli_uiout, cli_interp): New globals.
4564 (cli_on_signal_received, cli_on_end_stepping_range)
4565 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4566 functions.
4567 (cli_interpreter_init): Install them as 'end_stepping_range',
4568 'signal_received' 'signal_exited', 'exited' and 'no_history'
4569 observers.
4570 (_initialize_cli_interp): Remove cli_interp local.
4571 * infrun.c (handle_inferior_event): Call the several stop reason
4572 observers instead of printing the stop reason directly.
4573 (end_stepping_range): New function.
4574 (print_end_stepping_range_reason, print_signal_exited_reason)
4575 (print_exited_reason, print_signal_received_reason)
4576 (print_no_history_reason): Make static, and add an uiout
4577 parameter. Print to that instead of to CURRENT_UIOUT.
4578 * infrun.h (print_end_stepping_range_reason)
4579 (print_signal_exited_reason, print_exited_reason)
4580 (print_signal_received_reason print_no_history_reason): New
4581 declarations.
4582 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4583 'mi_uiout'.
4584 <cli_uiout>: New field.
4585 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4586 uiout for CLI output. Install 'signal_received',
4587 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4588 observers.
4589 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4590 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4591 (mi_on_no_history): New functions.
4592 (ui_out_free_cleanup): Delete function.
4593 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4594 instead use the one already stored in the MI interpreter data.
4595 (mi_ui_out): Adjust.
4596 * tui/tui-interp.c: Include infrun.h and observer.h.
4597 (tui_interp): New global.
4598 (tui_on_signal_received, tui_on_end_stepping_range)
4599 (tui_on_signal_exited, tui_on_exited)
4600 (tui_on_no_history): New functions.
4601 (tui_init): Install them as 'end_stepping_range',
4602 'signal_received' 'signal_exited', 'exited' and 'no_history'
4603 observers.
4604 (_initialize_tui_interp): Delete tui_interp local.
4605
8817a6f2
PA
46062014-05-29 Pedro Alves <palves@redhat.com>
4607
4608 PR gdb/15713
4609 * linux-nat.c (linux_nat_resume_callback): Rename the second
4610 parameter to 'except'. Skip LP if it points to EXCEPT.
4611 (linux_nat_resume): Don't mark the event lwp as not stopped
4612 before resuming sibling lwps. Instead ask
4613 linux_nat_resume_callback to skip the event lwp. Mark it as not
4614 stopped after actually resuming it.
4615 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4616 resuming it.
4617 (wait_lwp): Mark the lwp as stopped here.
4618 (stop_wait_callback): Mark the lwp as not stopped right after
4619 resuming it. Don't mark lwps as stopped here.
4620 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4621 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4622
251bde03
PA
46232014-05-29 Pedro Alves <palves@redhat.com>
4624
4625 PR PR15693
4626 * infrun.c (resume): Determine how much to resume depending on
4627 whether the caller wanted a step, not whether we can hardware step
4628 the target. Mark all threads that we intend to run as running,
4629 unless we're calling an inferior function.
4630 (normal_stop): If the thread is running an infcall, don't finish
4631 thread state.
4632 * target.c (target_resume): Don't mark threads as running here.
4633
7f3c0343
JB
46342014-05-28 Joel Brobecker <brobecker@adacore.com>
4635
4636 * serial.c (_initialize_serial): Remove support for
4637 the "set remotebaud" and "show remotebaud" commands.
4638 * NEWS: Add entry documenting the removal of that command.
4639
ee34b3f9
YQ
46402014-05-28 Yao Qi <yao@codesourcery.com>
4641
4642 * charset.c: Fix typo in comments.
4643
add6c04d
GB
46442014-05-27 Gary Benson <gbenson@redhat.com>
4645
4646 * utils.c (internal_vproblem): Prompt for a bug report.
4647
92c48fc5
AW
46482014-05-26 Andy Wingo <wingo@igalia.com>
4649
4650 * guile/scm-arch.c (arscm_mark_arch_smob):
4651 * guile/scm-block.c (bkscm_mark_block_smob)
4652 (bkscm_mark_block_syms_progress_smob):
4653 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4654 * guile/scm-exception.c (exscm_mark_exception_smob):
4655 * guile/scm-frame.c (frscm_mark_frame_smob):
4656 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4657 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4658 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4659 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4660 (ppscm_mark_pretty_printer_worker_smob):
4661 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4662 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4663 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4664 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4665 mark functions.
4666 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4667 function.
4668
b2715b27
AW
46692014-05-26 Andy Wingo <wingo@igalia.com>
4670 Doug Evans <xdje42@gmail.com>
4671
4672 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4673 empty_base_class. All uses updated.
4674 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4675 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4676 Adapt all callers.
4677 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4678 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4679 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4680 (gdbscm_gsmob_has_property_p, add_property_name)
4681 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4682 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4683 (gdb-object-has-property?, gdb-object-properties): Remove.
4684 (gdb-object-kind): Renamed from gsmob-kind.
4685
214ab2da
AW
46862014-05-26 Andy Wingo <wingo@igalia.com>
4687
4688 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4689 * configure: Regenerate.
4690
589fdceb
MM
46912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4692
4693 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4694
67b5c0c1
MM
46952014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4696
4697 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4698 (replay_memory_access_read_only, replay_memory_access_read_write)
4699 (replay_memory_access_types, replay_memory_access)
4700 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4701 (cmd_set_record_btrace, cmd_show_record_btrace)
4702 (cmd_show_replay_memory_access): New.
4703 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4704 (record_btrace_remove_breakpoint): Replace
4705 record_btrace_allow_memory_access with replay_memory_access.
4706 (_initialize_record_btrace): Add commands.
4707 * NEWS: Announce it.
4708
036cd381
RR
47092014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4710
4711 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4712
c77c1e42
RR
47132014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4714
4715 * MAINTAINERS (Write After Approval): Move self back from
4716 paper trail.
4717
45741a9c
PA
47182014-05-22 Pedro Alves <palves@redhat.com>
4719
4720 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4721 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4722 (disable_randomization, enum exec_direction_kind)
4723 (execution_direction, stop_registers, start_remote)
4724 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4725 (wait_for_inferior, normal_stop, get_last_target_status)
4726 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4727 (insert_step_resume_breakpoint_at_sal)
4728 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4729 (set_step_info, print_stop_event, signal_stop_state)
4730 (signal_print_state, signal_pass_state, signal_stop_update)
4731 (signal_print_update, signal_pass_update)
4732 (update_signals_program_target, clear_exit_convenience_vars)
4733 (displaced_step_dump_bytes, update_observer_mode)
4734 (signal_catch_update, gdb_signal_from_command): Move
4735 declarations ...
4736 * infrun.h: ... to this new file.
4737 * amd64-tdep.c: Include infrun.h.
4738 * annotate.c: Include infrun.h.
4739 * arch-utils.c: Include infrun.h.
4740 * arm-linux-tdep.c: Include infrun.h.
4741 * arm-tdep.c: Include infrun.h.
4742 * break-catch-sig.c: Include infrun.h.
4743 * breakpoint.c: Include infrun.h.
4744 * common/agent.c: Include infrun.h instead of inferior.h.
4745 * corelow.c: Include infrun.h.
4746 * event-top.c: Include infrun.h.
4747 * go32-nat.c: Include infrun.h.
4748 * i386-tdep.c: Include infrun.h.
4749 * inf-loop.c: Include infrun.h.
4750 * infcall.c: Include infrun.h.
4751 * infcmd.c: Include infrun.h.
4752 * infrun.c: Include infrun.h.
4753 * linux-fork.c: Include infrun.h.
4754 * linux-nat.c: Include infrun.h.
4755 * linux-thread-db.c: Include infrun.h.
4756 * monitor.c: Include infrun.h.
4757 * nto-tdep.c: Include infrun.h.
4758 * procfs.c: Include infrun.h.
4759 * record-btrace.c: Include infrun.h.
4760 * record-full.c: Include infrun.h.
4761 * remote-m32r-sdi.c: Include infrun.h.
4762 * remote-mips.c: Include infrun.h.
4763 * remote-notif.c: Include infrun.h.
4764 * remote-sim.c: Include infrun.h.
4765 * remote.c: Include infrun.h.
4766 * reverse.c: Include infrun.h.
4767 * rs6000-tdep.c: Include infrun.h.
4768 * s390-linux-tdep.c: Include infrun.h.
4769 * solib-irix.c: Include infrun.h.
4770 * solib-osf.c: Include infrun.h.
4771 * solib-svr4.c: Include infrun.h.
4772 * target.c: Include infrun.h.
4773 * top.c: Include infrun.h.
4774 * windows-nat.c: Include infrun.h.
4775 * mi/mi-interp.c: Include infrun.h.
4776 * mi/mi-main.c: Include infrun.h.
4777 * python/py-threadevent.c: Include infrun.h.
4778
98eb56a4
PA
47792014-05-22 Pedro Alves <palves@redhat.com>
4780
4781 * infrun.c (handle_inferior_event): Store the exit code for
4782 --return-child-result here, instead of ...
4783 (print_exited_reason): ... here.
4784
17b2616c
PA
47852014-05-21 Pedro Alves <palves@redhat.com>
4786
4787 PR gdb/13860
4788 * gdbthread.h (struct thread_control_state): New field
4789 `command_interp'.
4790 * infrun.c (follow_fork): Copy the new thread control field to the
4791 child fork thread.
4792 (clear_proceed_status_thread): Clear the new thread control field.
4793 (proceed): Set the new thread control field.
4794 * interps.h (command_interp): Declare.
4795 * interps.c (command_interpreter): New global.
4796 (command_interp): New function.
4797 (interp_exec): Set `command_interpreter' while here.
4798 * cli-out.c (cli_uiout_dtor): New function.
4799 (cli_ui_out_impl): Install it.
4800 * mi/mi-interp.c: Include cli-out.h.
4801 (mi_cmd_interpreter_exec): Add comment.
4802 (restore_current_uiout_cleanup): New function.
4803 (ui_out_free_cleanup): New function.
4804 (mi_on_normal_stop): If finishing an execution command started by
4805 a CLI command, or any kind of breakpoint-like event triggered,
4806 print the stop event to the output (CLI) stream.
4807 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4808
5166082f
PA
48092014-05-21 Pedro Alves <palves@redhat.com>
4810
4811 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4812 current source line having changed.
4813 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4814 * infrun.c (normal_stop): Adjust call to
4815 set_current_sal_from_frame.
4816 * source.c (clear_lines_listed_range): New function.
4817 (set_current_source_symtab_and_line, identify_source_line): Clear
4818 the lines listed range.
4819 (line_info): Handle the first "info line" after the current source
4820 line having changed.
4821 * stack.c (print_stack_frame): Remove center handling.
4822 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4823 center sal.line.
4824
c1ee2fb3
PA
48252014-05-21 Pedro Alves <palves@redhat.com>
4826
4827 * inf-child.c (inf_child_mourn_inferior): New function.
4828 * inf-child.h (inf_child_mourn_inferior): New declaration.
4829 * darwin-nat.c (darwin_mourn_inferior): Use
4830 inf_child_mourn_inferior.
4831 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4832 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4833 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4834 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4835 * windows-nat.c (windows_mourn_inferior): Likewise.
4836
5c6d4fb2
DE
48372014-05-21 Doug Evans <xdje42@gmail.com>
4838
250748cb 4839 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4840
4a2722c5
DE
48412014-05-21 Doug Evans <xdje42@gmail.com>
4842
17292b30 4843 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4844 (gdbscm_out_of_range_error): Ditto.
4845 (gdbscm_memory_error): Ditto.
250748cb
DE
4846 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4847 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4848 (gdbscm_out_of_range_error): Update.
4849 (gdbscm_memory_error): Update.
4850 (gdbscm_scm_to_target_string_unsafe): Delete.
4851
6a3cb8e8
PA
48522014-05-21 Pedro Alves <palves@redhat.com>
4853
4854 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4855 globals.
4856 (inf_child_open_target): New function.
4857 (inf_child_open): Use inf_child_open_target to push the target
4858 instead of erroring out.
4859 (inf_child_disconnect, inf_child_close)
4860 (inf_child_maybe_unpush_target): New functions.
4861 (inf_child_target): Install inf_child_disconnect and
4862 inf_child_close. Store a pointer to the returned object.
4863 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4864 declarations.
4865 * target.c (auto_connect_native_target): New global.
4866 (show_default_run_target): New function.
4867 (find_default_run_target): Return NULL if automatically connecting
4868 to the native target is disabled.
4869 (_initialize_target): Install set/show auto-connect-native-target.
4870 * NEWS: Mention "set auto-connect-native-target", and "target
4871 native".
4872 * linux-nat.c (super_close): New global.
4873 (linux_nat_close): Call super_close.
4874 (linux_nat_add_target): Store a pointer to the base class's
4875 to_close method.
4876 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4877 inf_child_maybe_unpush.
4878 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4879 already pushed.
4880 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4881 the inferior. Use inf_child_maybe_unpush_target.
4882 (inf_ttrace_attach): Don't push the target if it is already
4883 pushed.
4884 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4885 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4886 after mourning the inferior. Use inf_child_maybe_unpush_target.
4887 (darwin_attach_pid): Don't push the target if it is already
4888 pushed.
4889 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4890 mourning the inferior. Use inf_child_maybe_unpush_target.
4891 (gnu_detach): Use inf_child_maybe_unpush_target.
4892 * go32-nat.c (go32_create_inferior): Don't push the target if it
4893 is already pushed.
4894 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4895 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4896 (procfs_open): Rename to ...
4897 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4898 comments. Can target_preopen before changing node. Call
4899 inf_child_open_target to push the target explicitly.
4900 (procfs_attach): Don't push the target if it is already pushed.
4901 (procfs_detach): Use inf_child_maybe_unpush_target.
4902 (procfs_create_inferior): Don't push the target if it is already
4903 pushed.
4904 (nto_native_ops): New global.
4905 (procfs_open): Reimplement.
4906 (procfs_native_open): New function.
4907 (init_procfs_targets): Install procfs_native_open as to_open of
4908 "target native". Store a pointer to the "native" target in
4909 nto_native_ops.
4910 * procfs.c (procfs_attach): Don't push the target if it is already
4911 pushed.
4912 (procfs_detach): Use inf_child_maybe_unpush_target.
4913 (procfs_mourn_inferior): Only unpush the target after mourning the
4914 inferior. Use inf_child_maybe_unpush_target.
4915 (procfs_init_inferior): Don't push the target if it is already
4916 pushed.
4917 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4918 if it is already pushed.
4919
930ee1b1
PA
49202014-05-21 Pedro Alves <palves@redhat.com>
4921
4922 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4923 and "procfs" targets are now called "native" instead.
4924
1f5d1b13
PA
49252014-05-21 Pedro Alves <palves@redhat.com>
4926
4927 * go32-nat.c (go32_open): Delete.
4928 (go32_target): Don't override the to_open method.
4929
132f8e03
PA
49302014-05-21 Pedro Alves <palves@redhat.com>
4931
4932 * nto-procfs.c (procfs_can_run): New function.
4933 (nto_procfs_ops): New global.
4934 (init_procfs_targets): New, based on procfs_target. Install
4935 "target native" in addition to "target procfs".
4936 (_initialize_procfs): Call init_procfs_targets instead of adding
4937 the target here.
4938
03c136c3
PA
49392014-05-21 Pedro Alves <palves@redhat.com>
4940
4941 * windows-nat.c (windows_target): Don't override to_shortname,
4942 to_longname or to_doc.
4943
a635d0f3
PA
49442014-05-21 Pedro Alves <palves@redhat.com>
4945
4946 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4947 to_doc.
4948
4f9b5133
PA
49492014-05-21 Pedro Alves <palves@redhat.com>
4950
4951 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4952 to_shortname, to_longname or to_doc.
4953
bc85afde
PA
49542014-05-21 Pedro Alves <palves@redhat.com>
4955
4956 * go32-nat.c (go32_target): Don't override to_shortname,
4957 to_longname or to_doc.
4958
4ebfc96e
PA
49592014-05-21 Pedro Alves <palves@redhat.com>
4960
4961 * inf-child.c (inf_child_open): Remove mention of "child".
4962 (inf_child_target): Rename target to "native" instead of "child".
4963
2648dfed
AA
49642014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4965
4966 * Makefile.in (SFILES): Delete "regset.c".
4967 (COMMON_OBS): Delete "regset.o".
4968 * regset.c: Remove.
4969 * regset.h (regset_alloc): Delete prototype.
4970
b13feb94
AA
49712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4972
4973 * sparc-linux-tdep.c (sparc32_linux_gregset)
4974 (sparc32_linux_fpregset): New static regset structures.
4975 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4976 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4977 'fpregset' fields.
4978 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4979 (sparc64_linux_fpregset): New static regset structures.
4980 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4981 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4982 New static regset structures.
4983 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4984 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4985 New static regset structures.
4986 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4987 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4988 New static regset structures.
4989 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4990 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4991 New static regset structures.
4992 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4993
b4fd25c9
AA
49942014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4995
4996 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4997 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4998 register maps ("regmaps") from "*regset" to "*regmap". Do this
4999 for all regmap types and variables.
5000 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5001 (sparc32_linux_supply_core_gregset)
5002 (sparc32_linux_collect_core_gregset)
5003 (sparc32_linux_supply_core_fpregset)
5004 (sparc32_linux_collect_core_fpregset): Likewise.
5005 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5006 (sparc_gregmap, sparc_fpregmap): ... these.
5007 (sparc_supply_gregset, sparc_collect_gregset)
5008 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5009 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5010 (_initialize_sparc_nat): Rename regmaps.
5011 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5012 (sparc_gregmap, sparc_fpregmap): ... these.
5013 (sparc_supply_gregset, sparc_collect_gregset)
5014 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5015 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5016 Rename macros to...
5017 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5018 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5019 Likewise.
5020 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5021 Rename to...
5022 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5023 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5024 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5025 regmaps.
5026 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5027 (sparc32_bsd_fpregset): Rename to...
5028 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5029 (sparc32_bsd_fpregmap): ... these.
5030 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5031 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5032 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5033 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5034 (struct sparc_gregmap, struct sparc_fpregmap)
5035 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5036 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5037 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5038 (sparc32_supply_regset, sparc32_collect_gregset)
5039 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5040 prototypes.
5041 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5042 (sparc64_linux_ptrace_gregmap): ... this.
5043 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5044 (_initialize_sparc64_linux_nat): Rename regmaps.
5045 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5046 (sparc64_linux_core_gregmap): ... this.
5047 (sparc64_linux_supply_core_gregset)
5048 (sparc64_linux_collect_core_gregset)
5049 (sparc64_linux_supply_core_fpregset)
5050 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5051 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5052 (sparc64_sol2_fpregset): Rename to...
5053 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5054 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5055 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5056 regmaps.
5057 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5058 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5059 (sparc64_bsd_fpregset): Rename to...
5060 (struct sparc_gregmap, sparc64_sol2_gregmap)
5061 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5062 (sparc64_bsd_fpregmap): ... these.
5063 (sparc64_supply_gregset, sparc64_collect_gregset)
5064 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5065 prototypes.
5066 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5067 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5068 (sparc64fbsd_gregmap): ... this.
5069 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5070 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5071 Rename regmaps.
5072 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5073 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5074 (sparc64nbsd_collect_fpregset): Likewise.
5075 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5076 (sparc64nbsd_gregmap): ... this.
5077 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5078 regmaps.
5079 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5080 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5081 (sparc64obsd_gregmap): ... this.
5082 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5083 regmaps.
5084 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5085 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5086 (sparc32nbsd_gregmap): ... this.
5087 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5088 regmaps.
5089
8fea3224
AA
50902014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5091
5092 * score-tdep.c (score7_linux_gregset): New static regset
5093 structure.
5094 (score7_linux_regset_from_core_section): Remove dynamic regset
5095 allocation.
5096 (score_gdbarch_init): Drop allocation of tdep structure.
5097 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5098
24534243
AA
50992014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5100
5101 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5102 regset structures.
5103 (am33_regset_from_core_section): Remove dynamic regset
5104 allocations.
5105
b7195f27
AA
51062014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5107
5108 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5109 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5110 structures.
5111 (mips_linux_regset_from_core_section): Remove dynamic regset
5112 allocations.
5113 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5114 'gregset64', 'fpregset', and 'fpregset64'.
5115 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5116 deleted tdep fields.
5117
ecc37a5a
AA
51182014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5119
5120 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
5121 regset structures.
5122 (amd64_regset_from_core_section): Remove dynamic regset
5123 allocations.
5124 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
5125 structure.
5126 (amd64obsd_regset_from_core_section): Remove dynamic regset
5127 allocation.
5128 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
5129 Likewise.
5130 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
5131 x86-common regset supply function.
5132 * i386-tdep.c (i386_collect_gregset): Make static.
5133 (i386_gregset): New global regset structure.
5134 (i386_fpregset, i386_xstateregset): New static regset structures.
5135 (i386_regset_from_core_section): Remove dynamic regset
5136 allocations.
5137 (i386_gdbarch_init): Remove initialization of tdep fields
5138 'gregset', 'fpregset', and 'xstateregset'.
5139 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5140 'fpregset', and 'xstateregset'.
5141 (i386_collect_gregset): Remove prototype.
5142 (i386_gregset): New declaration.
5143 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
5144 structure.
5145 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
5146 allocation.
5147
b7611c43
AA
51482014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5149
5150 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
5151 (arm_linux_vfpregset): New static regset structures.
5152 (arm_linux_regset_from_core_section): Remove dynamic allocation of
5153 regset structures.
5154 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
5155 and 'vfpregset' fields.
5156
a069a2bd
AA
51572014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5158
5159 * aarch64-linux-tdep.c (aarch64_linux_gregset)
5160 (aarch64_linux_fpregset): New static regset structures.
5161 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
5162 of regset structures.
5163 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
5164 'fpregset' fields.
5165
09424cff
AA
51662014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5167
5168 * regset.h (struct regset): Remove gdbarch field.
5169 * regset.c (regset_alloc): Drop initialization of gdbarch field.
5170 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5171 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
5172 Likewise.
5173 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
5174 (ppc32_linux_fpregset, ppc32_linux_vrregset)
5175 (ppc32_linux_vsxregset): Likewise.
5176 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
5177 via the regcache instead of the regset.
5178 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
5179 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
5180 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
5181 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5182 Likewise.
5183
3ca7dae4
AA
51842014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5185
5186 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5187 Constify structures.
5188 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5189 (alphanbsd_aout_gregset): Likewise.
5190 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5191 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5192 Likewise.
5193 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5194 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5195 Likewise.
5196 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5197 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5198 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5199 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5200 * m88k-tdep.c (m88k_gregset): Likewise.
5201 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5202 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5203 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5204 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5205 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5206 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5207 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5208 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5209 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5210 Likewise.
5211 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5212 * sh-tdep.h (sh_corefile_gregset): Likewise.
5213 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5214 * vax-tdep.c (vax_gregset): Likewise.
5215
5876f503
JK
52162014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5217
5218 Fix TLS access for -static -pthread.
5219 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5220 (try_thread_db_load_1): Initialize it.
5221 (thread_db_get_thread_local_address): Call it if LM is zero.
5222 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5223 * target.h (struct target_ops) (to_get_thread_local_address): Add
5224 load_module_addr comment.
5225
0256a6ac
PA
52262014-05-21 Pedro Alves <palves@redhat.com>
5227
5228 * dcache.c (dcache_read_memory_partial): If reading the cache line
5229 fails, fallback to reading just the memory the caller wanted.
5230
227533ac
DE
52312014-05-20 Doug Evans <dje@google.com>
5232
5233 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5234 instead of get_current_arch.
5235
936d2992
PA
52362014-05-20 Pedro Alves <palves@redhat.com>
5237
5238 * NEWS: Mention that compare-sections now works with all targets.
5239
5240 * remote.c (PACKET_qCRC): New enum value.
5241 (remote_verify_memory): Don't send qCRC if the target has no
5242 execution. Use packet_support/packet_ok. If the target doesn't
5243 support the qCRC packet, fallback to a deep memory copy.
5244 (compare_sections_command): Say "target image" instead of "remote
5245 executable".
5246 (_initialize_remote): Add PACKET_qCRC to the list of config
5247 packets that have no associated command. Extend comment.
5248 * target.c (simple_verify_memory, default_verify_memory): New
5249 function.
5250 * target.h (struct target_ops) <to_verify_memory>: Default to
5251 default_verify_memory.
5252 (simple_verify_memory): New declaration.
5253 * target-delegates.c: Regenerate.
5254
e59fa00f
MM
52552014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5256
5257 * record-btrace.c (record_btrace_step_thread): Check for empty history.
5258
f2205de0
HZ
52592014-05-20 Hui Zhu <hui@codesourcery.com>
5260 Yao Qi <yao@codesourcery.com>
5261
5262 PR backtrace/16558
5263 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5264 and change address of sp and pc.
5265
c4e54771
TT
52662014-05-19 Tom Tromey <tromey@redhat.com>
5267
5268 * gdbtypes.c (rank_function): Use XNEWVEC.
5269 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5270
73051182
DE
52712014-05-19 Doug Evans <dje@google.com>
5272
5273 * dwarf2read.c (build_type_psymtabs_1): Renamed from
5274 build_type_unit_groups and moved closer to only caller. Remove
5275 arguments. All references updated. Remove outdated .gdb_index
5276 comment.
5277 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5278 build_type_psymtabs_1.
5279
8832e7e3
DE
52802014-05-19 Doug Evans <dje@google.com>
5281
5282 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5283 n_type_unit_groups, all_type_unit_groups. All uses removed.
5284 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5285 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
5286 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
5287 (add_type_unit_group_to_table): Delete.
5288
cd8ae15e
DE
52892014-05-19 Doug Evans <dje@google.com>
5290
5291 * eval.c (evaluate_subexp_standard): Add some comments.
5292
08f4850b
DE
52932014-05-17 Doug Evans <xdje42@gmail.com>
5294
5295 * progspace.c (remove_program_space): Delete, unused.
5296 * progspace.h (remove_program_space): Ditto.
5297
bed8455c
DE
52982014-05-17 Doug Evans <xdje42@gmail.com>
5299
5300 * inferior.c (prune_inferiors): Fix comment.
5301 (remove_inferior_command): Call prune_program_spaces.
5302
8d551b02
DE
53032014-05-16 Doug Evans <dje@google.com>
5304
5305 New command line option -D.
5306 * NEWS: Mention it.
5307 * main.c (set_gdb_data_directory): New function.
5308 (captured_main): Recognize -D. Flag error for --data-directory "".
5309 Call set_gdb_data_directory.
5310 (print_gdb_help): Print --data-directory, -D.
5311 * main.h (set_gdb_data_directory): Declare.
5312 * top.c (staged_gdb_datadir): New static global.
5313 (set_gdb_datadir): Call set_gdb_data_directory
5314 (show_gdb_datadir): New function.
5315 (init_main): Update init of data-directory parameter.
5316
18848e28
GF
53172014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
5318
5319 Import the "dirfd" gnulib module.
5320 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5321 * gnulib/aclocal.m4: Update.
5322 * gnulib/config.in: Update.
5323 * gnulib/configure: Update.
5324 * gnulib/import/Makefile.am: Update.
5325 * gnulib/import/Makefile.in: Update.
5326 * gnulib/import/dirfd.c: New.
5327 * gnulib/import/m4/dirfd.m4: New.
5328 * gnulib/import/m4/gnulib-cache.m4: Update.
5329 * gnulib/import/m4/gnulib-comp.m4: Update.
5330
95c64f92
YQ
53312014-05-16 Pierre Muller <muller@sourceware.org>
5332 Yao Qi <yao@codesourcery.com>
5333
5334 * valprint.c (print_wchar): Move the code on checking whether
5335 W is a printable wide char to the default branch of switch
5336 statement below. Call wchar_printable instead of gdb_iswprint.
5337
cac395ea
TM
53382014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
5339
19679eca 5340 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
5341 ldr.w and ldrd instructions.
5342
83655187
DE
53432014-05-15 Doug Evans <dje@google.com>
5344
5345 * dwarf2read.c (read_structure_type): Delete outdated comments.
5346
dd756689
TT
53472014-05-14 Tom Tromey <tromey@redhat.com>
5348
5349 * macrocmd.c (print_macro_definition): Reindent.
5350
75ddda77
DE
53512014-05-13 Doug Evans <xdje42@gmail.com>
5352
5353 * python/py-cmd.c (cmdpy_completer): Add comment.
5354 (completers): Make const.
5355
b0f16a3e
SM
53562014-05-13 Simon Marchi <simon.marchi@ericsson.com>
5357
5358 * infrun.c (resume): Remove should_resume (unused). Move up
5359 declaration of resume_ptid.
5360
033c3379
TT
53612014-05-13 Tom Tromey <tromey@redhat.com>
5362
5363 * language.h (unop_type_check): Remove.
5364 (binop_type_check): Don't declare.
5365
9b44a3a5
AA
53662014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
5367
5368 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5369 call to regcache_raw_collect.
5370
303a33fa
SM
53712014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5372
5373 * mi/mi-console.c (mi_console_raw_packet): Use the value from
5374 mi_console->quote as the quoting character.
5375
196100a0
SM
53762014-05-12 Simon Marchi <simon.marchi@ericsson.com>
5377
5378 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5379
f989a1c8
TT
53802014-04-29 Tom Tromey <tromey@redhat.com>
5381
5382 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5383 "show debug varobj".
5384
9404b58f
KM
53852014-05-07 Kyle McMartin <kyle@redhat.com>
5386
5387 Pushed by Joel Brobecker <brobecker@adacore.com>.
5388 * aarch64-tdep.c (aarch64_software_single_step): New function.
5389 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5390 with aarch64_software_single_step.
5391
5e49ba57
JB
53922014-05-05 Joel Brobecker <brobecker@adacore.com>
5393
5394 GDB 7.7.1 released.
5395
c888a17d
KS
53962014-05-05 Keith Seitz <keiths@redhat.com>
5397
5398 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5399 variable or history value is successfully parsed.
5400
290a839c
YQ
54012014-05-05 Yao Qi <yao@codesourcery.com>
5402 Pedro Alves <palves@redhat.com>
5403
5404 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5405 address of blocks that intersects the requested range. Trim
5406 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5407 sections.
5408 * ctf.c (ctf_xfer_partial): Likewise.
5409
91256dc2
YQ
54102014-05-05 Yao Qi <yao@codesourcery.com>
5411
5412 * printcmd.c (display_command): Remove the check to
5413 target_has_execution.
5414
07284463
MK
54152014-05-03 Mark Kettenis <kettenis@gnu.org>
5416
5417 * ppcobsd-nat.c: Include "obsd-nat.h".
5418 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5419 add_target.
5420 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5421
30a1e6cc
SDJ
54222014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5423
5424 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5425 and 16-bit signed and unsigned arguments. Update comment.
5426 (stap_parse_probe_arguments): Extend code to handle such
5427 arguments. Use warning instead of complaint to notify about
5428 unrecognized bitness.
5429
f33da99a
SDJ
54302014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5431
5432 PR breakpoints/16889
5433 * stap-probe.c (stap_parse_probe_arguments): Simplify
5434 check for non-prefixed probes (i.e., probes whose
5435 arguments do not start with "N@"). Always set the
5436 argument type to a sane value.
5437
95cf3b38
DT
54382014-05-01 David Taylor <dtaylor@emc.com>
5439
5440 * remote.c (compare_sections_command): Add -r option to compare
5441 all loadable read-only sections.
5442
1cfdf534
SC
54432014-04-30 Siva Chandra Reddy <sivachandra@google.com>
5444
5445 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5446 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5447 Update all callers.
5448 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5449 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5450 Remove unused CORE_ADDR argument. Update all callers.
5451
ca4f7f8b
PA
54522014-04-29 Pedro Alves <palves@redhat.com>
5453
5454 * remote.c (struct packet_config) <detect>: Extend comment.
5455 (add_packet_config_cmd): Don't set the config's detect or support
5456 fields here.
5457 (init_all_packet_configs): Also initialize the config's 'detect'
5458 field.
5459 (reset_all_packet_configs_support): New function.
5460 (remote_open_1): Call reset_all_packet_configs_support instead of
5461 init_all_packet_configs.
5462 (_initialize_remote): Initialize all packet configs. Assert that
5463 all packets have an associated command, except a few known
5464 outliers.
5465
11c1ba78
JB
54662014-04-28 Joel Brobecker <brobecker@adacore.com>
5467
5468 * dwarf2read.c (read_subrange_type): Handle dynamic
5469 DW_AT_lower_bound attributes.
5470
8739bc53
JB
54712014-04-28 Joel Brobecker <brobecker@adacore.com>
5472
5473 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5474 dynamic bounds before computing its upper bound.
5475 (ada_discrete_type_low_bound): Same as above with the lower bound.
5476
6f8a3220
JB
54772014-04-28 Joel Brobecker <brobecker@adacore.com>
5478
5479 * dwarf2read.c (is_dynamic_type): Return true for dynamic
5480 range types. Adjust the array handling implementation to
5481 take advantage of this change.
5482 (resolve_dynamic_range): New function, mostly extracted from
5483 resolve_dynamic_bounds.
5484 (resolve_dynamic_array): New function, mostly extracted from
5485 resolve_dynamic_bounds.
5486 (resolve_dynamic_bounds): Delete.
5487 (resolve_dynamic_type): Reimplement. Add handling of
5488 TYPE_CODE_RANGE types.
5489
4d072ce4
JB
54902014-04-28 Joel Brobecker <brobecker@adacore.com>
5491
5492 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5493 handling of parallel ___XA types.
5494
52865325
JB
54952014-04-28 Joel Brobecker <brobecker@adacore.com>
5496
5497 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5498 unnecessary second call to static_unwrap_type.
5499
433e77fa
HZ
55002014-04-27 Hui Zhu <hui@codesourcery.com>
5501
5502 * stack.c (print_frame_info): Call do_gdb_disassembly with
5503 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5504
b51a69ee
DE
55052014-04-26 Doug Evans <xdje42@gmail.com>
5506
5507 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5508
7ae1a6a6
PA
55092014-04-25 Pedro Alves <palves@redhat.com>
5510
5511 PR server/16255
5512 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5513 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5514 and newline from built string.
5515 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5516 (linux_ptrace_attach_fail_reason): ... this.
5517 * linux-nat.c (linux_nat_attach): Adjust to use
5518 linux_ptrace_attach_fail_reason.
5519
4082afcc
PA
55202014-04-25 Pedro Alves <palves@redhat.com>
5521
5522 * remote.c (struct remote_state): Remove multi_process_aware,
5523 non_stop_aware, cond_tracepoints, cond_breakpoints,
5524 breakpoint_commands, fast_tracepoints, static_tracepoints,
5525 install_in_trace, disconnected_tracing,
5526 enable_disable_tracepoints, string_tracing, and
5527 augmented_libraries_svr4_read fields.
5528 (remote_multi_process_p): Move further below in the file.
5529 (struct packet_config): Add comments.
5530 (update_packet_config): Delete function.
5531 (show_packet_config_cmd): Use packet_config_support.
5532 (add_packet_config_cmd): Use NULL as set callback.
5533 (packet_ok): "set remote foo-packet"-style commands no longer
5534 change config->supported -- adjust.
5535 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5536 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5537 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5538 (PACKET_QNonStop, PACKET_multiprocess_feature)
5539 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5540 (PACKET_DisconnectedTracing_feature)
5541 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5542 (set_remote_protocol_packet_cmd): Delete function.
5543 (packet_config_support, packet_support): New functions.
5544 (set_remote_protocol_Z_packet_cmd): Don't call
5545 update_packet_config.
5546 (remote_query_attached, remote_pass_signals)
5547 (remote_program_signals, remote_threads_info)
5548 (remote_threads_extra_info, remote_start_remote): Use
5549 packet_support.
5550 (remote_start_remote): Use packet_config_support and
5551 packet_support.
5552 (init_all_packet_configs): Set all packets to unknown support,
5553 instead of calling update_packet_config.
5554 (remote_check_symbols): Use packet_support.
5555 (remote_supported_packet): Unconditionally set the packet config's
5556 support status.
5557 (remote_multi_process_feature, remote_non_stop_feature)
5558 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5559 (remote_breakpoint_commands_feature)
5560 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5561 (remote_install_in_trace_feature)
5562 (remote_disconnected_tracing_feature)
5563 (remote_enable_disable_tracepoint_feature)
5564 (remote_string_tracing_feature)
5565 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5566 (remote_protocol_features): Adjust to use remote_supported_packet
5567 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5568 "ConditionalTracepoints", "ConditionalBreakpoints",
5569 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5570 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5571 "EnableDisableTracepoints", and "tracenz".
5572 (remote_query_supported): Use packet_support.
5573 (remote_open_1): Adjust.
5574 (extended_remote_attach_1): Use packet_support. Switch on the
5575 result of packet_ok instead of checking whether the packet ended
5576 up disabled.
5577 (remote_vcont_resume): Use packet_support.
5578 (remote_resume, remote_stop_ns, fetch_register_using_p)
5579 (remote_prepare_to_store, store_register_using_P)
5580 (check_binary_download, remote_write_bytes): Use packet_support.
5581 (remote_vkill): Use packet_support. Switch on the result of
5582 packet_ok instead of checking whether the packet ended up
5583 disabled.
5584 (extended_remote_supports_disable_randomization): Use
5585 packet_support.
5586 (extended_remote_run): Switch on the result of packet_ok instead
5587 of checking whether the packet ended up disabled.
5588 (remote_insert_breakpoint, remote_remove_breakpoint)
5589 (remote_insert_watchpoint, remote_remove_watchpoint)
5590 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5591 packet_support.
5592 (remote_search_memory): Use packet_config_support.
5593 (remote_get_thread_local_address, remote_get_tib_address)
5594 (remote_hostio_send_command, remote_can_execute_reverse): Use
5595 packet_support.
5596 (remote_supports_cond_tracepoints)
5597 (remote_supports_cond_breakpoints)
5598 (remote_supports_fast_tracepoints)
5599 (remote_supports_static_tracepoints)
5600 (remote_supports_install_in_trace)
5601 (remote_supports_enable_disable_tracepoint)
5602 (remote_supports_string_tracing)
5603 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5604 the packet config says the feature is enabled or disabled.
5605 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5606 (remote_get_trace_status): Use packet_support.
5607 (remote_set_disconnected_tracing): Adjust to check whether the
5608 feature is enabled with packet_support.
5609 (remote_set_trace_buffer_size, remote_use_agent)
5610 (remote_can_use_agent, remote_supports_btrace): Use
5611 packet_support.
5612 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5613 Use packet_config_support.
5614 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5615 the packet config says the feature is enabled or disabled.
5616 (set_range_stepping): Use packet_support.
5617
bdb52a22
TT
56182014-04-25 Tom Tromey <tromey@redhat.com>
5619
5620 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5621 argument.
5622
e9475ead
SA
56232014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5624
5625 * NEWS: Mention support for C99 variable length arrays.
5626
82eacd52
JB
56272014-04-24 Joel Brobecker <brobecker@adacore.com>
5628
5629 * ada-lang.c (standard_exc): Expand introductory comment.
5630
01f9f808
MS
56312014-04-24 Michael Sturm <michael.sturm@mintel.com>
5632 Walfred Tedeschi <walfred.tedeschi@intel.com>
5633
5634 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5635 AVX512 registers.
5636 (amd64_linux_read_description): Add code to handle AVX512 xstate
5637 mask and return respective tdesc.
5638 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5639 and features/i386/x32-avx512-linux.c.
5640 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5641 (amd64_linux_core_read_description): Add code to handle AVX512
5642 xstate mask and return respective tdesc.
5643 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5644 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5645 calculation.
5646 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5647 (tdesc_amd64_avx512_linux): New prototype.
5648 (tdesc_x32_avx512_linux): Likewise.
5649 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5650 features/i386/x32-avx512.c.
5651 (amd64_ymm_avx512_names): New register names for pseudo
5652 registers YMM16-31.
5653 (amd64_ymmh_avx512_names): New register names for raw registers
5654 YMMH16-31.
5655 (amd64_k_names): New register names for K registers.
5656 (amd64_zmmh_names): New register names for ZMM raw registers.
5657 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5658 (amd64_xmm_avx512_names): New register names for XMM16-31
5659 registers.
5660 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5661 registers.
5662 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5663 if feature is present.
5664 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5665 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5666 (AMD64_NUM_REGS): Adjust to new number of registers.
5667 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5668 registers supplied via XSTATE by AVX512 registers.
5669 (i386_linux_read_description): Add case for AVX512.
5670 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5671 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5672 (i386_linux_core_read_description): Add case for AVX512.
5673 (i386_linux_init_abi): Install supported register note section
5674 for AVX512.
5675 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5676 AVX512.
5677 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5678 registers to be number of zmm7h + 1.
5679 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5680 * i386-tdep.c: Include features/i386/i386-avx512.c.
5681 (i386_zmm_names): Add ZMM pseudo register names array.
5682 (i386_zmmh_names): Add ZMM raw register names array.
5683 (i386_k_names): Add K raw register names array.
5684 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5685 registers. AVX512 has 16 more ZMM registers than there are YMM
5686 registers.
5687 (i386_zmmh_regnum_p): Add function to look up register number of
5688 ZMM raw registers.
5689 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5690 (i386_k_regnum_p): Likewise for K raw registers.
5691 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5692 registers added by AVX512.
5693 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5694 registers added by AVX512.
5695 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5696 added by AVX512.
5697 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5698 (i386_pseudo_register_name): Add ZMM pseudo registers.
5699 (i386_zmm_type): Construct and return vector registers type for ZMM
5700 registers.
5701 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5702 ZMM0-31 pseudo registers and K registers.
5703 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5704 and YMM16-31 registers from register cache.
5705 (i386_pseudo_register_write): Add code to write K, ZMM and
5706 YMM16-31 registers.
5707 (i386_register_reggroup_p): Add code to include/exclude AVX512
5708 registers in/from respective register groups.
5709 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5710 registers if feature is present in xcr0.
5711 (i386_gdbarch_init): Add code to initialize AVX512 feature
5712 variables in tdep structure, wire in pseudo registers and call
5713 initialize_tdesc_i386_avx512.
5714 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5715 variables.
5716 (i386_regnum): Add AVX512 registers.
5717 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5718 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5719 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5720 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5721 512 bits wide.
5722 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5723 (i386_ymm_avx512_regnum_p): Likewise.
5724 (i386_k_regnum_p): Likewise.
5725 (i386_zmm_regnum_p): Likewise.
5726 (i386_zmmh_regnum_p): Likewise.
5727 * i387-tdep.c : Update year in copyright notice.
5728 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5729 XSAVE buffer.
5730 (XSAVE_YMM_AVX512_ADDR): New macro.
5731 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5732 XSAVE buffer.
5733 (XSAVE_XMM_AVX512_ADDR): New macro.
5734 (xsave_avx512_k_offset): New table for K register offsets in
5735 XSAVE buffer.
5736 (XSAVE_AVX512_K_ADDR): New macro.
5737 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5738 in XSAVE buffer.
5739 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5740 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5741 buffer.
5742 (i387_collect_xsave): Add code to collect AVX512 registers from
5743 XSAVE buffer.
5744 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5745 of XMM16-31 registers.
5746 (I387_NUM_K_REGS): New define for number of K registers.
5747 (I387_K0_REGNUM): New define for K0 register number.
5748 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5749 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5750 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5751 registers.
5752 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5753 (I387_XMM16_REGNUM): New define for XMM16 register number.
5754 (I387_YMM0_REGNUM): New define for YMM0 register number.
5755 (I387_KEND_REGNUM): New define for last K register number.
5756 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5757 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5758 number.
5759 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5760 number.
5761 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5762 size.
5763 * features/Makefile: Add AVX512 related files.
5764 * features/i386/32bit-avx512.xml: New file.
5765 * features/i386/64bit-avx512.xml: Likewise.
5766 * features/i386/amd64-avx512-linux.c: Likewise.
5767 * features/i386/amd64-avx512-linux.xml: Likewise.
5768 * features/i386/amd64-avx512.c: Likewise.
5769 * features/i386/amd64-avx512.xml: Likewise.
5770 * features/i386/i386-avx512-linux.c: Likewise.
5771 * features/i386/i386-avx512-linux.xml: Likewise.
5772 * features/i386/i386-avx512.c: Likewise.
5773 * features/i386/i386-avx512.xml: Likewise.
5774 * features/i386/x32-avx512-linux.c: Likewise.
5775 * features/i386/x32-avx512-linux.xml: Likewise.
5776 * features/i386/x32-avx512.c: Likewise.
5777 * features/i386/x32-avx512.xml: Likewise.
5778 * regformats/i386/amd64-avx512-linux.dat: New file.
5779 * regformats/i386/amd64-avx512.dat: Likewise.
5780 * regformats/i386/i386-avx512-linux.dat: Likewise.
5781 * regformats/i386/i386-avx512.dat: Likewise.
5782 * regformats/i386/x32-avx512-linux.dat: Likewise.
5783 * regformats/i386/x32-avx512.dat: Likewise.
5784 * NEWS: Add note about new support for AVX512.
5785
5786
08351840
PA
57872014-04-23 Pedro Alves <palves@redhat.com>
5788
5789 * breakpoint.c (insert_bp_location): Tolerate errors if the
5790 breakpoint is set in a user-loaded objfile.
5791 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5792 location is marked shlib_disabled. If the breakpoint is set in a
5793 user-loaded objfile is a GDB-side memory breakpoint, validate it
5794 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5795 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5796 flag.
5797 * mem-break.c (memory_validate_breakpoint): New function.
5798 * objfiles.c (userloaded_objfile_contains_address_p): New
5799 function.
5800 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5801 * target.h (memory_validate_breakpoint): New declaration.
5802
076855f9
PA
58032014-04-23 Pedro Alves <palves@redhat.com>
5804
5805 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5806 the breakpoint is set in a shared library, only suppress
5807 errors for software breakpoints, not hardware breakpoints.
5808
483805cf
PA
58092014-04-22 Pedro Alves <palves@redhat.com>
5810
5811 * infrun.c (schedlock_applies): New function, factored out from
5812 find_thread_needs_step_over.
5813 (find_thread_needs_step_over): Use it.
5814 (switch_back_to_stepped_thread): Always clear trap_expected if the
5815 step over is finished. Return early if scheduler locking applies.
5816 Look for the stepping thread and a potential step-over thread with
5817 a single loop.
5818 (currently_stepping_or_nexting_callback): Delete.
5819
a75fef0e
NC
58202014-04-22 Nick Clifton <nickc@redhat.com>
5821
5822 * NEWS: Mention that ARM sim now supports tracing.
5823
48b6e87e
YQ
58242014-04-22 Yao Qi <yao@codesourcery.com>
5825
5826 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5827 to ...
5828 * tracefile.c (tracefile_fetch_registers): ... it. New
5829 function.
5830 * tracefile.h (tracefile_fetch_registers): Declare.
5831 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5832 tracefile_fetch_registers.
5833
17617f2d
EZ
58342014-04-19 Eli Zaretskii <eliz@gnu.org>
5835
5836 PR gdb/14018
5837 * windows-nat.c (thread_rec): Don't display a warning when
5838 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5839 fails for any reason, set th->suspended to -1, so that we don't
5840 try to resume such a thread. Also, don't return NULL in these
5841 cases, to avoid completely ruin the session due to "PC register is
5842 not available" error.
5843 (do_windows_fetch_inferior_registers): Check errors in
5844 GetThreadContext call.
5845 (windows_continue): Accept an additional argument KILLED; if not
5846 zero, ignore errors in the SetThreadContext call, since the
5847 inferior was killed and is shutting down.
5848 (windows_resume, get_windows_debug_event)
5849 (windows_create_inferior, windows_mourn_inferior)
5850 (windows_kill_inferior): All callers of windows_continue changed
5851 to adjust to its new calling sequence.
5852
5723a6fd
YQ
58532014-04-19 Yao Qi <yao@codesourcery.com>
5854
5855 * ctf.c (ctf_open): Call post_create_inferior.
5856
614d5099
YQ
58572014-04-19 Yao Qi <yao@codesourcery.com>
5858
5859 * ctf.c (handle_id): New static variable.
5860 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5861 value. Get the declaration of event "register" and get length
5862 of field "contents".
5863
dac3e710
YQ
58642014-04-19 Yao Qi <yao@codesourcery.com>
5865
5866 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5867
2bca57ba
SC
58682014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5869
5870 * valops.c (oload_method_static): Remove unnecessary argument
5871 METHOD. Update all callers.
5872
51d48146
PA
58732014-04-18 Pedro alves <palves@redhat.com>
5874 Tom Tromey <tromey@redhat.com>
5875
5876 PR backtrace/15558
5877 * frame.c (get_prev_frame_1): Rename to ...
5878 (get_prev_frame_always): ... this, and make extern. Adjust.
5879 (skip_artificial_frames): Use get_prev_frame_always.
5880 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5881 (get_frame_unwind_stop_reason): Adjust to rename.
5882 * frame.h (get_prev_frame_always): Declare.
5883 * inline-frame.c: Include frame.h.
5884 (inline_frame_this_id): Use get_prev_frame_always.
5885
1bdad2e0
TG
58862014-04-18 Tristan Gingold <gingold@adacore.com>
5887
5888 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5889 code by using bfd_mach_o_get_base_address.
5890
7ce16bd4
UW
58912014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5892
5893 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5894 (spu_ax_pseudo_register_collect): New function.
5895 (spu_ax_pseudo_register_push_stack): Likewise.
5896 (spu_dwarf_reg_to_regnum): Likewise.
5897 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5898
2ed3c037
UW
58992014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5900
5901 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5902 Replace FRAME argument with FRAME_ID.
5903 * gdbarch.c, gdbarch.h: Regenerate.
5904 * findvar.c (default_value_from_register): Add GDBARCH argument;
5905 replace FRAME by FRAME_ID. No longer call get_frame_id.
5906 (value_from_register): Update call to gdbarch_value_from_register.
5907 * value.h (default_value_from_register): Update prototype.
5908 * s390-linux-tdep.c (s390_value_from_register): Update interface
5909 and call to default_value_from_register.
5910 * spu-tdep.c (spu_value_from_register): Likewise.
5911
5912 * findvar.c (address_from_register): Remove TYPE argument.
5913 Do not call value_from_register; use gdbarch_value_from_register
5914 with null_frame_id instead.
5915 * value.h (address_from_register): Update prototype.
5916 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5917 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5918 address_from_register interface change.
5919
71e50e83
YQ
59202014-04-17 Yao Qi <yao@codesourcery.com>
5921
5922 * gdbtypes.h: Update comments to link to types and macros'
5923 definitions.
5924
7a23c549
SC
59252014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5926
5927 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5928
22869d73
KS
59292014-04-16 Keith Seitz <keiths@redhat.com>
5930
5931 PR gdb/15827
5932 * dwarf2read.c (skip_one_die): Check that all relative-offset
5933 sibling DIEs fall within range of the current reader's buffer.
5934 (read_partial_die): Likewise.
5935
c4f87ca6
KS
59362014-04-16 Keith Seitz <keiths@redhat.com>
5937
5938 PR c++/16597
5939 * cp-namespace.c (lookup_symbol_file): If the type name of
5940 `this' is NULL, return immediately.
5941
b50c8614
KS
59422014-04-14 Keith Seitz <keiths@redhat.com>
5943
5944 PR c++/16253
5945 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5946 from symbol_matches_domain in symtab.c. All local callers
5947 of symbol_matches_domain updated.
5948 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5949 search STRUCT_DOMAIN.
5950 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5951 independently. standard_lookup will do that automatically.
5952 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5953 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5954 (cp_lookup_symbol_in_namespace): Likewise.
5955 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5956 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5957 may return a STRUCT_DOMAIN match.
5958 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5959 * cp-support.c: Include language.h.
5960 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5961 VAR_DOMAIN.
5962 * psymtab.c (match_partial_symbol): Compare the requested
5963 domain with the symbol's domain directly.
5964 (lookup_partial_symbol): Likewise.
5965 * symtab.c (lookup_symbol_in_language): Explain when/why
5966 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5967 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5968 appropriate languages.
5969 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5970 and moved to ada-lang.c
5971 (lookup_block_symbol): Explain that this function only returns
5972 symbol matching the requested DOMAIN.
5973 Compare the requested domain with the symbol's domain directly.
5974 (iterate_over_symbols): Compare the requested domain with the
5975 symbol's domain directly.
5976 * symtab.h (symbol_matches_domain): Remove.
5977
3d567982
TT
59782014-04-14 Tom Tromey <tromey@redhat.com>
5979
5980 PR c++/15246:
5981 * c-exp.y (type_aggregate_p): New function.
5982 (qualified_name, classify_inner_name): Use it.
5983 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5984 and TYPE_TARGET_TYPE of an enum type.
5985 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5986 an enum type.
5987 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5988 handle TYPE_DECLARED_CLASS.
5989 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5990 types.
5991 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5992 * valops.c (enum_constant_from_type): New function.
5993 (value_aggregate_elt): Use it.
5994 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5995 TYPE_CODE_ENUM.
5996
c848d642
TT
59972014-04-14 Tom Tromey <tromey@redhat.com>
5998
5999 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6000 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6001 const.
6002 * value.h (value_aggregate_elt): Update.
6003
0626fc76
TT
60042014-04-14 Tom Tromey <tromey@redhat.com>
6005
6006 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6007
5ecaaa66
SA
60082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6009
6010 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6011 (evaluate_subexp_standard): Pass noside argument.
6012 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6013 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6014 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6015 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6016 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6017
1612e0c0
SA
60182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6019
6020 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6021 points to a constant blob.
6022
c451ebe5
SA
60232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6024
6025 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6026 property and store it as the high bound and flag the range accordingly.
6027 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6028 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6029 * gdbtypes.h (enum range_flags): New enum.
6030 (struct range_bounds): Add flags member.
6031
1d42e4c4
SA
60322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6033
6034 * c-typeprint.c (c_type_print_varspec_suffix): Added
6035 check for not yet resolved high bound. If unresolved, print
6036 "variable length" string to the console instead of random
6037 length.
6038
9f1f738a
SA
60392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6040
6041 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6042 value.
6043 (ada_template_to_fixed_record_type_1): Likewise.
6044 (ada_to_fixed_type_1): Likewise.
6045 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6046 (cp_print_value): Likewise.
6047 * d-valprint.c (dynamic_array_type): Likewise.
6048 * findvar.c (address_of_variable): Likewise.
6049 * jv-valprint.c (java_value_print): Likewise.
6050 * valops.c (value_ind): Likewise.
6051 * value.c (coerce_ref): Likewise.
6052
3c8452d4
SA
60532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6054
6055 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6056 value and retrieve the dynamic type size.
6057
4ad88275
SA
60582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6059
6060 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6061 passed to sizeof is dynamic evaluate the argument to compute the length.
6062
80180f79
SA
60632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6064 Joel Brobecker <brobecker@adacore.com>
6065
6066 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6067 (dwarf2_evaluate_property): New function.
6068 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6069 * dwarf2read.c (attr_to_dynamic_prop): New function.
6070 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6071 attribute.
6072 * gdbtypes.c: Include dwarf2loc.h.
6073 (is_dynamic_type): New function.
6074 (resolve_dynamic_type): New function.
6075 (resolve_dynamic_bounds): New function.
6076 (get_type_length): New function.
6077 (check_typedef): Use get_type_length to compute type length.
6078 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6079 (TYPE_LOW_BOUND_KIND): New macro.
6080 (is_dynamic_type): New function prototype.
6081 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6082 to resolve dynamic properties of the type. Update comment.
6083 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6084
a1556843
RH
60852014-04-14 Richard Henderson <rth@redhat.com>
6086
6087 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6088
0be03e84
DE
60892014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6090 Doug Evans <xdje42@gmail.com>
6091
6092 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6093 dereference TYPE_CODE_REF values.
6094
6b662e19
JB
60952014-04-11 Joel Brobecker <brobecker@adacore.com>
6096
6097 Revert the following changes due to regressions:
6098
6099 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6100 (dwarf2_evaluate_property): New function.
6101 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6102 * dwarf2read.c (attr_to_dynamic_prop): New function.
6103 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6104 attribute.
6105 * gdbtypes.c: Include dwarf2loc.h.
6106 (is_dynamic_type): New function.
6107 (resolve_dynamic_type): New function.
6108 (resolve_dynamic_bounds): New function.
6109 (get_type_length): New function.
6110 (check_typedef): Use get_type_length to compute type length.
6111 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6112 (TYPE_LOW_BOUND_KIND): New macro.
6113 (is_dynamic_type): New function prototype.
6114 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6115 to resolve dynamic properties of the type. Update comment.
6116 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6117
6118 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6119 passed to sizeof is dynamic evaluate the argument to compute the length.
6120
6121 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6122 value and retrieve the dynamic type size.
6123
6124 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6125 (ada_template_to_fixed_record_type_1): Likewise.
6126 (ada_to_fixed_type_1): Likewise.
6127 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6128 (cp_print_value): Likewise.
6129 * d-valprint.c (dynamic_array_type): Likewise.
6130 * eval.c (evaluate_subexp_with_coercion): Likewise.
6131 * findvar.c (address_of_variable): Likewise.
6132 * jv-valprint.c (java_value_print): Likewise.
6133 * valops.c (value_ind): Likewise.
6134 * value.c (coerce_ref): Likewise.
6135
6136 * c-typeprint.c (c_type_print_varspec_suffix): Added
6137 check for not yet resolved high bound. If unresolved, print
6138 "variable length" string to the console instead of random
6139 length.
6140
6141 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6142 property and store it as the high bound and flag the range accordingly.
6143 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6144 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6145 * gdbtypes.h (enum range_flags): New enum.
6146 (struct range_bounds): Add flags member.
6147
6148 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6149 points to a constant blob.
6150
6151 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6152 (evaluate_subexp_standard): Pass noside argument.
6153 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6154 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6155 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6156 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6157 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6158
245a5f0b
KS
61592014-04-11 Keith Seitz <keiths@redhat.com>
6160
6161 PR c++/16675
6162 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
6163 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
6164 reference types.
6165
3bce8237
SA
61662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6167
6168 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6169 (evaluate_subexp_standard): Pass noside argument.
6170 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6171 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6172 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6173 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6174 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6175
92b09522
SA
61762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6177
6178 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6179 points to a constant blob.
6180
e1969afb
SA
61812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6182
6183 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6184 property and store it as the high bound and flag the range accordingly.
6185 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6186 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6187 * gdbtypes.h (enum range_flags): New enum.
6188 (struct range_bounds): Add flags member.
6189
b86138fb
SA
61902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6191
6192 * c-typeprint.c (c_type_print_varspec_suffix): Added
6193 check for not yet resolved high bound. If unresolved, print
6194 "variable length" string to the console instead of random
6195 length.
6196
bcd629a4
SA
61972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6198
6199 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6200 (ada_template_to_fixed_record_type_1): Likewise.
6201 (ada_to_fixed_type_1): Likewise.
6202 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6203 (cp_print_value): Likewise.
6204 * d-valprint.c (dynamic_array_type): Likewise.
6205 * eval.c (evaluate_subexp_with_coercion): Likewise.
6206 * findvar.c (address_of_variable): Likewise.
6207 * jv-valprint.c (java_value_print): Likewise.
6208 * valops.c (value_ind): Likewise.
6209 * value.c (coerce_ref): Likewise.
6210
04b19544
SA
62112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6212
6213 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6214 value and retrieve the dynamic type size.
6215
26cb189f
SA
62162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6217
6218 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6219 passed to sizeof is dynamic evaluate the argument to compute the length.
6220
37c1ab67
SA
62212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6222
6223 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6224 (dwarf2_evaluate_property): New function.
6225 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6226 * dwarf2read.c (attr_to_dynamic_prop): New function.
6227 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6228 attribute.
6229 * gdbtypes.c: Include dwarf2loc.h.
6230 (is_dynamic_type): New function.
6231 (resolve_dynamic_type): New function.
6232 (resolve_dynamic_bounds): New function.
6233 (get_type_length): New function.
6234 (check_typedef): Use get_type_length to compute type length.
6235 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6236 (TYPE_LOW_BOUND_KIND): New macro.
6237 (is_dynamic_type): New function prototype.
6238 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6239 to resolve dynamic properties of the type. Update comment.
6240 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6241
729efb13
SA
62422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6243
6244 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6245 declaring high/low bounds and change uses accordingly. Call
6246 create_range_type instead of create_static_range_type.
6247 * gdbtypes.c (create_range_type): New function.
6248 (create_range_type): Convert bounds into struct bound_prop and pass
6249 them to create_range_type.
6250 * gdbtypes.h (struct bound_prop): New struct.
6251 (create_range_type): New function prototype.
6252 (struct range_bounds): Use struct bound_prop instead of LONGEST for
6253 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6254 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6255 part of the bound.
6256 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6257
0c9c3474
SA
62582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6259
6260 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6261 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6262 * ada-lang.c: All uses of create_range_type updated.
6263 * coffread.c: All uses of create_range_type updated.
6264 * dwarf2read.c: All uses of create_range_type updated.
6265 * f-exp.y: All uses of create_range_type updated.
6266 * m2-valprint.c: All uses of create_range_type updated.
6267 * mdebugread.c: All uses of create_range_type updated.
6268 * stabsread.c: All uses of create_range_type updated.
6269 * valops.c: All uses of create_range_type updated.
6270 * valprint.c: All uses of create_range_type updated.
6271
9d497a19
PA
62722014-04-10 Pedro Alves <palves@redhat.com>
6273
6274 * breakpoint.c (single_step_breakpoints)
6275 (single_step_gdbarch): Move up in the file.
6276 (one_breakpoint_xfer_memory): New function, factored out from ...
6277 (breakpoint_xfer_memory): ... here. Also process single-step
6278 breakpoints.
6279
15a9128a
TG
62802014-04-09 Tristan Gingold <gingold@adacore.com>
6281
6282 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6283 comments.
6284 (darwin_decode_exception_message): Free port only after use.
6285
9c97a070
PL
62862014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
6287
6288 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6289 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6290 when setting the size of call_length.
6291
7af389b8
SC
62922014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6293
6294 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6295 dereference TYPE_CODE_REF values.
6296
86ad98c3
JB
62972014-04-07 Joel Brobecker <brobecker@adacore.com>
6298
6299 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6300 end of warning message.
6301
b0aeadb3
DE
63022014-04-03 Doug Evans <dje@google.com>
6303
6304 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6305 of stub_comp_unit_die, stub_comp_dir is non-NULL.
6306
5979d6b6
AM
63072014-04-02 Alan Modra <amodra@gmail.com>
6308
6309 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6310 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
6311 (struct symbol_file_add_from_memory_args): Add size field.
6312 (find_vdso_size): New function.
6313 (add_vsyscall_page): Attempt to find vdso size.
6314
0d60c288
DE
63152014-04-01 Doug Evans <dje@google.com>
6316
6317 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6318
a41f2563
TG
63192014-04-01 Tristan Gingold <gingold@adacore.com>
6320
6321 * darwin-nat.c (darwin_encode_reply): Add prototype.
6322 (darwin_decode_exception_message): Reply to unknown inferiors.
6323 (darwin_decode_message): Handle message by id. Ignore message
6324 to unknown inferior.
6325 (darwin_wait): Discard unknown messages, add debug trace.
6326
11a865c8
DE
63272014-03-31 Doug Evans <dje@google.com>
6328
6329 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6330 comp_dir_string.
6331
770e7fc7
DE
63322014-03-31 Doug Evans <dje@google.com>
6333
6334 New option "set print symbol-loading".
6335 * NEWS: Mention it.
6336 * solib.c (solib_read_symbols): Only print symbol loading messages
6337 if requested.
6338 (solib_add): If symbol loading is in "brief" mode, notify user
6339 symbols are being loaded.
6340 (reload_shared_libraries_1): Ditto.
6341 * symfile.c (print_symbol_loading_off): New static global.
6342 (print_symbol_loading_brief): New static global.
6343 (print_symbol_loading_full): New static global.
6344 (print_symbol_loading_enums): New static global.
6345 (print_symbol_loading): New static global.
6346 (print_symbol_loading_p): New function.
6347 (symbol_file_add_with_addrs): Only print symbol loading messages
6348 if requested.
6349 (_initialize_symfile): Register "print symbol-loading" set/show
6350 command.
6351 * symfile.h (print_symbol_loading_p): Declare.
6352
c32c64b7
DE
63532014-03-30 Doug Evans <xdje42@gmail.com>
6354
6355 * infrun.c (set_last_target_status): New function.
6356 (handle_inferior_event): Call it.
6357
7c0bc051
DE
63582014-03-30 Doug Evans <xdje42@gmail.com>
6359
6360 * inferior.h (enum stop_kind): Improve comment.
6361
8776cfe9
JB
63622014-03-28 Joel Brobecker <brobecker@adacore.com>
6363
6364 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6365 a reference, strip the reference layer before calling
6366 the lang_ops value_has_mutated callback.
6367
410a0ff2
SDJ
63682014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
6369
6370 Remove some globals from our parser.
6371 * language.c (unk_lang_parser): Add "struct parser_state"
6372 argument.
6373 * language.h (struct language_defn) <la_parser>: Likewise.
6374 * parse.c (expout, expout_size, expout_ptr): Remove variables.
6375 (initialize_expout): Add "struct parser_state" argument.
6376 Rewrite function to use the parser state.
6377 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6378 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6379 write_exp_elt_longcst, write_exp_elt_dblcst,
6380 write_exp_elt_decfloatcst, write_exp_elt_type,
6381 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6382 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6383 write_dollar_variable): Likewise.
6384 (parse_exp_in_context_1): Use parser state.
6385 (insert_type_address_space): Add "struct parser_state" argument.
6386 Use parser state.
6387 (increase_expout_size): New function.
6388 * parser-defs.h: Forward declare "struct language_defn" and
6389 "struct parser_state".
6390 (expout, expout_size, expout_ptr): Remove extern declarations.
6391 (parse_gdbarch, parse_language): Rewrite macro declarations to
6392 accept the parser state.
6393 (struct parser_state): New struct.
6394 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6395 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6396 write_exp_elt_decfloatcst, write_exp_elt_type,
6397 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6398 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6399 write_exp_msymbol, write_dollar_variable,
6400 mark_struct_expression, insert_type_address_space): Add "struct
6401 parser_state" argument.
6402 (increase_expout_size): New function.
6403 * utils.c (do_clear_parser_state): New function.
6404 (make_cleanup_clear_parser_state): Likewise.
6405 * utils.h (make_cleanup_clear_parser_state): New function
6406 prototype.
6407 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6408 Update calls to write_exp* in order to pass the parser state.
6409 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6410 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6411 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6412 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6413 * stap-probe.c (stap_parse_register_operand): Likewise.
6414 (stap_parse_single_operand): Likewise.
6415 (stap_parse_argument_1): Likewise.
6416 (stap_parse_argument): Use parser state.
6417 * stap-probe.h: Include "parser-defs.h".
6418 (struct stap_parse_info) <pstate>: New field.
6419 * c-exp.y (parse_type): Rewrite to use parser state.
6420 (yyparse): Redefine to c_parse_internal.
6421 (pstate): New global variable.
6422 (parse_number): Add "struct parser_state" argument.
6423 (write_destructor_name): Likewise.
6424 (type_exp): Update calls to write_exp* and similars in order to
6425 use parser state.
6426 (exp1, exp, variable, qualified_name, space_identifier,
6427 typename, typebase): Likewise.
6428 (write_destructor_name, parse_number, lex_one_token,
6429 classify_name, classify_inner_name, c_parse): Add "struct
6430 parser_state" argument. Update function to use parser state.
6431 * c-lang.h: Forward declare "struct parser_state".
6432 (c_parse): Add "struct parser_state" argument.
6433 * ada-exp.y (parse_type): Rewrite macro to use parser state.
6434 (yyparse): Redefine macro to ada_parse_internal.
6435 (pstate): New variable.
6436 (write_int, write_object_renaming, write_var_or_type,
6437 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6438 type_int, type_long, type_long_long, type_float, type_double,
6439 type_long_double, type_char, type_boolean, type_system_address):
6440 Add "struct parser_state" argument.
6441 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6442 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6443 var_or_type, aggregate, aggregate_component_list,
6444 positional_list, others, component_group,
6445 component_associations): Update calls to write_exp* and similar
6446 functions in order to use parser state.
6447 (ada_parse, write_var_from_sym, write_int,
6448 write_exp_op_with_string, write_object_renaming,
6449 find_primitive_type, write_selectors, write_ambiguous_var,
6450 write_var_or_type, write_name_assoc, type_int, type_long,
6451 type_long_long, type_float, type_double, type_long_double,
6452 type_char, type_boolean, type_system_address): Add "struct
6453 parser_state" argument. Adjust function to use parser state.
6454 * ada-lang.c (parse): Likewise.
6455 * ada-lang.h: Forward declare "struct parser_state".
6456 (ada_parse): Add "struct parser_state" argument.
6457 * ada-lex.l (processInt, processReal): Likewise. Adjust all
6458 calls to both functions.
6459 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6460 parser state.
6461 (yyparse): Redefine macro to f_parse_internal.
6462 (pstate): New variable.
6463 (parse_number): Add "struct parser_state" argument.
6464 (type_exp, exp, subrange, typebase): Update calls to write_exp*
6465 and similars in order to use parser state.
6466 (parse_number): Adjust code to use parser state.
6467 (yylex): Likewise.
6468 (f_parse): New function.
6469 * f-lang.h: Forward declare "struct parser_state".
6470 (f_parse): Add "struct parser_state" argument.
6471 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6472 parser state.
6473 (yyparse): Redefine macro for java_parse_internal.
6474 (pstate): New variable.
6475 (push_expression_name, push_expression_name, insert_exp): Add
6476 "struct parser_state" argument.
6477 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6478 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6479 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6480 PostIncrementExpression, PostDecrementExpression,
6481 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6482 UnaryExpressionNotPlusMinus, CastExpression,
6483 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6484 RelationalExpression, EqualityExpression, AndExpression,
6485 ExclusiveOrExpression, InclusiveOrExpression,
6486 ConditionalAndExpression, ConditionalOrExpression,
6487 ConditionalExpression, Assignment, LeftHandSide): Update
6488 calls to write_exp* and similars in order to use parser state.
6489 (parse_number): Ajust code to use parser state.
6490 (yylex): Likewise.
6491 (java_parse): New function.
6492 (push_variable): Add "struct parser_state" argument. Adjust
6493 code to user parser state.
6494 (push_fieldnames, push_qualified_expression_name,
6495 push_expression_name, insert_exp): Likewise.
6496 * jv-lang.h: Forward declare "struct parser_state".
6497 (java_parse): Add "struct parser_state" argument.
6498 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6499 parser state.
6500 (yyparse): Redefine macro to m2_parse_internal.
6501 (pstate): New variable.
6502 (type_exp, exp, fblock, variable, type): Update calls to
6503 write_exp* and similars to use parser state.
6504 (yylex): Likewise.
6505 (m2_parse): New function.
6506 * m2-lang.h: Forward declare "struct parser_state".
6507 (m2_parse): Add "struct parser_state" argument.
6508 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6509 * objc-lang.h: Forward declare "struct parser_state".
6510 (end_msglist): Add "struct parser_state" argument.
6511 * p-exp.y (parse_type): Rewrite macro to use parser state.
6512 (yyparse): Redefine macro to pascal_parse_internal.
6513 (pstate): New variable.
6514 (parse_number): Add "struct parser_state" argument.
6515 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6516 write_exp* and similars in order to use parser state.
6517 (parse_number, yylex): Adjust code to use parser state.
6518 (pascal_parse): New function.
6519 * p-lang.h: Forward declare "struct parser_state".
6520 (pascal_parse): Add "struct parser_state" argument.
6521 * go-exp.y (parse_type): Rewrite macro to use parser state.
6522 (yyparse): Redefine macro to go_parse_internal.
6523 (pstate): New variable.
6524 (parse_number): Add "struct parser_state" argument.
6525 (type_exp, exp1, exp, variable, type): Update calls to
6526 write_exp* and similars in order to use parser state.
6527 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6528 to use parser state.
6529 (go_parse): Likewise.
6530 * go-lang.h: Forward declare "struct parser_state".
6531 (go_parse): Add "struct parser_state" argument.
6532
342587c4
DE
65332014-03-27 Doug Evans <dje@google.com>
6534
6535 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6536
33e80786
DE
65372014-03-27 Doug Evans <dje@google.com>
6538
6539 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6540 Remove argument abbrev_section. All callers updated.
6541
1dbab08b
DE
65422014-03-27 Doug Evans <dje@google.com>
6543
6544 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6545 addr_base, ranges_base.
6546
318d3177
KS
65472014-03-26 Keith Seitz <keiths@redhat.com>
6548
6549 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6550 types, not VAR_DOMAIN.
6551
1e54db15
SL
65522014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6553
6554 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6555 "ra" registers.
6556 * features/nios2-linux.c: Regenerated.
6557 * features/nios2.c: Regenerated.
6558
d3839ede
PA
65592014-03-25 Pedro Alves <palves@redhat.com>
6560
6561 * cli/cli-script.c (script_from_file): Force the interpreter to
6562 sync mode.
6563
7588d2ec
PL
65642014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6565
6566 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6567 small stack allocation.
6568
a6290449
TG
65692014-03-24 Tristan Gingold <gingold@adacore.com>
6570
6571 * darwin-nat.c (exc_server): Remove unused prototype.
6572 (darwin_dump_message): Correctly display data on x86_64.
6573 (darwin_encode_reply): Fix style.
6574 Add comments and fix indentation.
6575
31ae9d24 65762014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6577
6578 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6579
6339bfc4
DE
65802014-03-22 Doug Evans <xdje42@gmail.com>
6581
6582 * infcmd.c: Whitespace fixes.
6583 (interrupt_command): Merge two function comments into one.
6584
0a07590b
DE
65852014-03-22 Doug Evans <xdje42@gmail.com>
6586
6587 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6588 All uses updated.
6589
b55fbac4
YQ
65902014-03-22 Yao Qi <yao@codesourcery.com>
6591
6592 * remote.c (target_read_live_memory): Remove.
6593 (memory_xfer_live_readonly_partial): Rename it to
6594 remote_xfer_live_readonly_partial. Remove argument 'object'.
6595 All callers updated. Call remote_read_bytes_1
6596 instead of target_read_live_memory.
6597 * tracepoint.c (set_traceframe_number): Remove.
6598 (make_cleanup_restore_traceframe_number): Likewise .
6599 * tracepoint.h (set_traceframe_number): Remove declaration.
6600 (make_cleanup_restore_traceframe_number): Likewise.
6601
9217e74e
YQ
66022014-03-22 Yao Qi <yao@codesourcery.com>
6603
6604 * remote.c (remote_read_bytes): Move code on reading from the
6605 remote stub to ...
6606 (remote_read_bytes_1): ... here. New function.
6607
8acf9577
YQ
66082014-03-22 Yao Qi <yao@codesourcery.com>
6609
6610 * ctf.c (ctf_xfer_partial): Check the return value of
6611 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6612 return TARGET_XFER_UNAVAILABLE.
6613 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6614 * target.c (target_read_live_memory): Move it to remote.c.
6615 (memory_xfer_live_readonly_partial): Likewise.
6616 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6617 * remote.c (target_read_live_memory): Moved from target.c.
6618 (memory_xfer_live_readonly_partial): Likewise.
6619 (remote_read_bytes): Factored out from
6620 memory_xfer_partial_1.
6621
feef67ab
DE
66222014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6623
6624 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6625 NULL pointer.
6626
b65dc60b
PA
66272014-03-21 Pedro Alves <palves@redhat.com>
6628
6629 * infrun.c (normal_stop): Extend comment.
6630
b4ab256d
HZ
66312014-03-21 Hui Zhu <hui@codesourcery.com>
6632 Pedro Alves <palves@redhat.com>
6633
6634 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6635 static buffer.
6636 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6637 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6638 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6639
deba7593
MR
66402014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6641
6642 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6643 `z' formatted output modifier.
6644
1bff71c3
SDJ
66452014-03-20 Tom Tromey <tromey@redhat.com>
6646 Sergio Durigan Junior <sergiodj@redhat.com>
6647
6648 * probe.c (parse_probes): Turn assert into an ordinary error.
6649 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6650 exceptions when parsing probes. Rearrange the code for clarity.
6651
90e28950
TT
66522014-03-20 Tom Tromey <tromey@redhat.com>
6653
6654 PR gdb/14135
6655 * top.c (execute_command): Only dispatch events if the command
6656 started the target.
6657
beb460e8
PA
66582014-03-20 Tom Tromey <tromey@redhat.com>
6659
6660 PR cli/15718
6661 * infcall.c: Include event-top.h.
6662 (run_inferior_call): Call async_disable_stdin if needed.
6663
99619bea
PA
66642014-03-20 Pedro Alves <palves@redhat.com>
6665
6666 * infrun.c (prepare_to_proceed): Delete.
6667 (thread_still_needs_step_over): New function.
6668 (find_thread_needs_step_over): New function.
6669 (proceed): If the current thread needs a step-over, set its
6670 steping_over_breakpoint flag. Adjust to use
6671 find_thread_needs_step_over instead of prepare_to_proceed.
6672 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6673 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6674 breakpoint.
6675 (switch_back_to_stepped_thread): Step over breakpoints of all
6676 threads not the stepping thread, before switching back to the
6677 stepping thread.
6678
2adfaa28
PA
66792014-03-20 Pedro Alves <palves@redhat.com>
6680
6681 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6682 extern.
6683 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6684 * infrun.c (saved_singlestep_ptid)
6685 (stepping_past_singlestep_breakpoint): Delete.
6686 (resume): Remove stepping_past_singlestep_breakpoint handling.
6687 (proceed): Store the prev_pc of the stepping thread too.
6688 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6689 singlestep_pc.
6690 (enum infwait_states): Delete infwait_thread_hop_state.
6691 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6692 field.
6693 (handle_inferior_event): Adjust.
6694 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6695 handling and the thread-hop code. Before removing single-step
6696 breakpoints, check whether the thread hit a single-step breakpoint
6697 of another thread. If it did, the trap is not a random signal.
6698 (switch_back_to_stepped_thread): If the event thread hit a
6699 single-step breakpoint, unblock it before switching to the
6700 stepping thread. Handle the case of the stepped thread having
6701 advanced already.
6702 (keep_going): Handle the case of the current thread moving past a
6703 single-step breakpoint.
6704
31e77af2
PA
67052014-03-20 Pedro Alves <palves@redhat.com>
6706
6707 PR breakpoints/7143
6708 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6709 are being stepped over.
6710 (breakpoint_address_match): Make extern.
6711 * breakpoint.h (breakpoint_address_match): New declaration.
6712 * inferior.h (stepping_past_instruction_at): New declaration.
6713 * infrun.c (struct step_over_info): New type.
6714 (step_over_info): New global.
6715 (set_step_over_info, clear_step_over_info)
6716 (stepping_past_instruction_at): New functions.
6717 (handle_inferior_event): Clear the step-over info when
6718 trap_expected is cleared.
6719 (resume): Remove now stale comment.
6720 (clear_proceed_status): Clear step-over info.
6721 (proceed): Adjust step-over handling to set or clear the step-over
6722 info instead of removing all breakpoints.
6723 (handle_signal_stop): When setting up a thread-hop, don't remove
6724 breakpoints here.
6725 (stop_stepping): Clear step-over info.
6726 (keep_going): Adjust step-over handling to set or clear step-over
6727 info and then always inserting breakpoints, instead of removing
6728 all breakpoints when stepping over one.
6729
b9f437de
PA
67302014-03-20 Pedro Alves <palves@redhat.com>
6731
6732 * infrun.c (previous_inferior_ptid): Adjust comment.
6733 (deferred_step_ptid): Delete.
6734 (infrun_thread_ptid_changed, prepare_to_proceed)
6735 (init_wait_for_inferior): Adjust.
6736 (handle_signal_stop): Delete deferred_step_ptid handling.
6737
06c868a8
JK
67382014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6739
6740 PR gdb/15358
6741 * defs.h (sync_quit_force_run): New declaration.
6742 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6743 * event-top.c (async_sigterm_handler): New declaration.
6744 (async_sigterm_token): New variable.
6745 (async_init_signals): Create also async_sigterm_token.
6746 (async_sigterm_handler): New function.
6747 (sync_quit_force_run): New variable.
6748 (handle_sigterm): Replace quit_force call by other calls.
6749 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6750
dea80df0
MR
67512014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6752
6753 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6754 offset into SPE pseudo registers.
6755
0c7e1a46
PA
67562014-03-18 Pedro Alves <palves@redhat.com>
6757
6758 PR gdb/13860
6759 * inferior.h (print_stop_event): Declare.
6760 * infrun.c (print_stop_event): New, factored out from ...
6761 (normal_stop): ... this.
6762 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6763 of bpstat_print/print_stack_frame.
6764
9c1fcd01
TT
67652014-03-17 Tom Tromey <tromey@redhat.com>
6766
6767 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6768
11aa919a
PMR
67692014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6770
6771 * ada-lang.c (decode_constrained_packed_array): Perform a
6772 minimal coercion for reference with coerce_ref instead of
6773 ada_coerce_ref.
6774
d4ccb5e0
TG
67752014-03-17 Tristan Gingold <gingold@adacore.com>
6776
6777 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6778 (darwin_solib_create_inferior_hook): Emit a warning if version
6779 is unhandled.
6780
49840f2a
UW
67812014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6782
6783 * python/py-value.c (get_field_flag): Cast flag_name argument to
6784 PyObject_GetAttrString to support Python 2.4.
6785
ed4123e5
JK
67862014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6787
6788 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6789 (Global Maintainers): Remove Jan Kratochvil.
6790
d6b64346
PA
67912014-03-14 Pedro Alves <palves@redhat.com>
6792
6793 * inferior.h (terminal_ours_for_output): Rename to ...
6794 (child_terminal_ours_for_output): ... this.
6795 (terminal_save_ours): Rename to ...
6796 (child_terminal_save_ours): ... this.
6797 (terminal_ours): Rename to ...
6798 (child_terminal_ours): ... this.
6799 (terminal_inferior): Rename to ...
6800 (child_terminal_inferior): ... this.
6801 (terminal_init_inferior): Rename to ...
6802 (child_terminal_init_inferior): ... this.
6803 (terminal_init_inferior_with_pgrp): Rename to ...
6804 (child_terminal_init_inferior_with_pgrp): ... this.
6805 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6806 (child_terminal_init_with_pgrp): ... this.
6807 (terminal_save_ours): Rename to ...
6808 (child_terminal_save_ours): ... this.
6809 (terminal_init_inferior): Rename to ...
6810 (child_terminal_init): ... this. Adjust.
6811 (terminal_inferior): Rename to ...
6812 (child_terminal_inferior): ... this.
6813 (terminal_ours_for_output): Rename to ...
6814 (child_terminal_ours_for_output): ... this. Adjust.
6815 (terminal_ours): Rename to ...
6816 (child_terminal_ours): ... this.
6817 (terminal_ours_1): Rename to ...
6818 (child_terminal_ours_1): ... this. Adjust.
6819 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6820 * windows-nat.c (do_initial_windows_stuff): Adjust.
6821 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6822 (gnu_terminal_init): ... this. Adjust.
6823 (gnu_target): Adjust.
6824 * inf-child.c (inf_child_target): Adjust.
6825
5a1e8c7a
DE
68262014-03-13 Doug Evans <xdje42@gmail.com>
6827
6828 PR guile/16612
6829 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6830 new eq?-hashtab.
6831
350e1a76
DE
68322014-03-13 Doug Evans <xdje42@gmail.com>
6833
6834 * value.c (record_latest_value): Call release_value_or_incref
6835 instead of release_value.
6836
a69900ae
PA
68372014-03-13 Pedro Alves <palves@redhat.com>
6838
6839 * procfs.c (procfs_target): Don't override to_shortname,
6840 to_longname or to_doc.
6841
5db9f0bd
PA
68422014-03-13 Pedro Alves <palves@redhat.com>
6843
6844 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6845 Unix in user visible strings.
6846
5e3a2c38
SS
68472014-03-12 Stan Shebs <stan@codesourcery.com>
6848
6849 * gdbtypes.h: Annotate comments for Doxygen, add a page
6850 block comment with some general info.
6851
8bc2fe48
PA
68522014-03-12 Pedro Alves <palves@redhat.com>
6853
6854 * infcmd.c (prepare_execution_command): New function, factored out
6855 from several execution commands.
6856 (run_command_1, continue_command, step_1, jump_command)
6857 (signal_command, until_command, advance_command, finish_command)
6858 (attach_command): Use prepare_execution_command.
6859
638c5f49
OJ
68602014-03-12 Omair Javaid <omair.javaid@linaro.org>
6861
6862 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6863 (MAX_BPTS): Define.
6864 (MAX_WPTS): Define.
6865 (struct arm_linux_thread_points): Removed.
6866 (struct arm_linux_process_info): New.
6867 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6868 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6869 (arm_linux_find_breakpoints_by_tid): Removed.
6870 (struct arch_lwp_info): New.
6871 (arm_linux_find_process_pid): New functions.
6872 (arm_linux_add_process): New functions.
6873 (arm_linux_process_info_get): New functions.
6874 (arm_linux_forget_process): New function.
6875 (arm_linux_get_debug_reg_state): New function.
6876 (struct update_registers_data): New.
6877 (update_registers_callback): New function.
6878 (arm_linux_insert_hw_breakpoint1): Updated.
6879 (arm_linux_remove_hw_breakpoint1): Updated.
6880 (arm_linux_insert_hw_breakpoint): Updated.
6881 (arm_linux_remove_hw_breakpoint): Updated.
6882 (arm_linux_insert_watchpoint): Updated.
6883 (arm_linux_remove_watchpoint): Updated.
6884 (arm_linux_new_thread): Updated.
6885 (arm_linux_prepare_to_resume): New function.
6886 (arm_linux_new_fork): New function.
6887 (_initialize_arm_linux_nat): Updated.
6888
6d03af93
PA
68892014-03-12 Pedro Alves <palves@redhat.com>
6890
6891 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6892
b3ccfe11
TT
68932014-03-12 Tom Tromey <tromey@redhat.com>
6894
6895 * inf-child.c (return_zero): New function.
6896 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6897 * aix-thread.c (aix_thread_inferior_created): New function.
6898 (aix_thread_attach): Remove.
6899 (init_aix_thread_ops): Don't set to_attach.
6900 (_initialize_aix_thread): Register inferior_created observer.
6901 * corelow.c (init_core_ops): Don't set to_attach or
6902 to_create_inferior.
6903 * exec.c (init_exec_ops): Don't set to_attach or
6904 to_create_inferior.
6905 * infcmd.c (run_command_1): Use find_run_target. Make direct
6906 target calls.
6907 (attach_command): Use find_attach_target. Make direct target
6908 calls.
6909 * record-btrace.c (init_record_btrace_ops): Don't set
6910 to_create_inferior.
6911 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6912 Remove.
6913 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6914 set to_create_inferior.
6915 * target.c (complete_target_initialization): Add assertion.
6916 (target_create_inferior): Remove.
6917 (find_default_attach, find_default_create_inferior): Remove.
6918 (find_attach_target, find_run_target): New functions.
6919 (find_default_is_async_p, find_default_can_async_p)
6920 (target_supports_non_stop, target_attach): Remove.
6921 (init_dummy_target): Don't set to_create_inferior or
6922 to_supports_non_stop.
6923 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6924 TARGET_DEFAULT_FUNC.
6925 <to_create_inferior>: Add comment.
6926 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6927 TARGET_DEFAULT_RETURN.
6928 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6929 (find_attach_target, find_run_target): Declare.
6930 (target_create_inferior): Remove.
6931 (target_has_execution_1): Update comment.
6932 (target_supports_non_stop): Remove.
6933 * target-delegates.c: Rebuild.
6934
91f83b02
PA
69352014-03-12 Pedro Alves <palves@redhat.com>
6936
6937 * inf-child.h: Update comment to not mention Unix.
6938
f1aea813
PA
69392014-03-12 Pedro Alves <palves@redhat.com>
6940
6941 * inf-child.c: Update top comment to not mention Unix. Add
6942 generic comment describing how this target is meant to be used.
6943 (inf_child_post_attach, inf_child_post_startup_inferior)
6944 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6945 Unix in comment.
6946
ee8e9165
PA
69472014-03-12 Pedro Alves <palves@redhat.com>
6948
6949 * nto-procfs.c: Include inf-child.h.
6950 (procfs_ops): Delete global.
6951 (procfs_can_run): Delete method.
6952 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6953 target pointer instead of referencing procfs_ops.
6954 (procfs_prepare_to_store): Delete.
6955 (init_procfs_ops): Delete function.
6956 (procfs_target): New function, based on init_procfs_ops, but
6957 inherit inf_child_target.
6958 (_initialize_procfs): Use procfs_target.
6959
51a9c8c5
PA
69602014-03-12 Pedro Alves <palves@redhat.com>
6961
6962 * windows-nat.c: Include inf-child.h.
6963 (windows_ops): Delete global.
6964 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6965 methods.
6966 (init_windows_ops): Delete function.
6967 (windows_target): New function, based on init_windows_ops, but
6968 inherit inf_child_target.
6969 (_initialize_windows_nat): Use windows_target. Install x86
6970 specific target methods here.
6971
c1966e26
DE
69722014-03-10 Doug Evans <xdje42@gmail.com>
6973
6974 * guile/guile.c (call_initialize_gdb_module): New function.
6975 (initialize_guile): Replace call to scm_init_guile with call to
6976 scm_with_guile.
6977
023db19c
JB
69782014-03-10 Joel Brobecker <brobecker@adacore.com>
6979
6980 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6981 in call to TYPE_CODE macro.
6982
5ec18f2b
JG
69832014-03-10 Jerome Guitton <guitton@adacore.com>
6984
8668be63
JB
6985 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6986 Resolve tagged types to full view.
5ec18f2b 6987
7d03f2eb
HZ
69882014-03-10 Hui Zhu <hui@codesourcery.com>
6989
6990 * target.h (target_insert_breakpoint): Remove "hardware" from its
6991 comments.
6992
c5164cbc
DE
69932014-03-07 Doug Evans <dje@google.com>
6994
6995 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6996
c4a3fee2
DE
69972014-03-07 Doug Evans <dje@google.com>
6998
6999 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7000 Remove unused local comp_dir_attr. Assert exactly one of
7001 stub_comp_unit_die, stub_comp_dir is non-NULL.
7002
3156469c
JB
70032014-03-07 Joel Brobecker <brobecker@adacore.com>
7004
7005 * target.h (complete_target_initialization, add_target):
7006 Add comment.
7007
c1a7b7c6
PA
70082014-03-07 Pedro Alves <palves@redhat.com>
7009
7010 * go32-nat.c: Include inf-child.h.
7011 (go32_ops): Delete global.
7012 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7013 Delete methods.
7014 (go32_create_inferior): Push the passed in target pointer instead
7015 of referencing go32_ops.
7016 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7017 (go32_target): New function, based on init_go32_ops, but inherit
7018 inf_child_target.
7019 (_initialize_go32_nat): Use go32_target. Move parts of
7020 init_go32_ops here.
7021
d3c1a85f
JB
70222014-03-06 Joel Brobecker <brobecker@adacore.com>
7023
7024 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7025 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7026 SYMBOL_VALUE_ADDRESS.
7027 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7028
5fa1d40e
YQ
70292014-03-06 Yao Qi <yao@codesourcery.com>
7030
7031 * breakpoint.c (get_tracepoint_by_number): Remove argument
7032 optional_p. All callers updated. Adjust comments. Update
7033 output message.
7034 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7035
0c13193f
YQ
70362014-03-06 Yao Qi <yao@codesourcery.com>
7037
7038 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7039 early if get_number returns zero. Use 'p' instead of 'args'.
7040
2217da06
YQ
70412014-03-06 Yao Qi <yao@codesourcery.com>
7042
7043 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7044 message.
7045
cc3da688
YQ
70462014-03-06 Yao Qi <yao@codesourcery.com>
7047
7048 PR breakpoints/16508
7049 * tracepoint.c (check_trace_running): New function.
7050 (trace_find_command): Move code to check_trace_running and
7051 call check_trace_running.
7052 (trace_find_pc_command): Likewise.
7053 (trace_find_tracepoint_command): Likewise.
7054 (trace_find_line_command): Likewise.
7055 (trace_find_range_command): Likewise.
7056 * tracepoint.h (check_trace_running): Likewise.
7057 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7058
6a5f844b
YQ
70592014-03-06 Yao Qi <yao@codesourcery.com>
7060
7061 * target.h (struct target_ops) <to_traceframe_info>: Use
7062 TARGET_DEFAULT_NORETURN (tcomplain ()).
7063 * target-delegates.c: Regenerated.
7064
0f26cec1
PA
70652014-03-05 Pedro Alves <palves@redhat.com>
7066
7067 PR gdb/16575
7068 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7069 void. Update comment.
7070 (dcache_xfer_memory): Delete.
7071 (dcache_read_memory_partial): New, based on the read bits of
7072 dcache_xfer_memory.
7073 (dcache_update): Add status parameter. Use ULONGEST for len, and
7074 adjust. Discard cache lines if the reason for the update was
7075 error.
7076 * dcache.h (dcache_xfer_memory): Delete declaration.
7077 (dcache_read_memory_partial): New declaration.
7078 (dcache_update): Update prototype.
7079 * target.c (raw_memory_xfer_partial): Update the dcache here.
7080 (memory_xfer_partial_1): Don't handle dcache writes here.
7081
b2b255bd
MF
70822014-03-05 Mike Frysinger <vapier@gentoo.org>
7083
7084 * remote-sim.c (gdbsim_load): Add const to prog.
7085
5d9cf8a4
TT
70862014-03-03 Tom Tromey <tromey@redhat.com>
7087
7088 * elfread.c (probe_key): Change to bfd_data.
7089 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7090 now per-BFD, not per-objfile.
7091 * stap-probe.c (stap_probe_destroy): Update comment.
7092 (handle_stap_probe): Allocate on the per-BFD obstack.
7093
729662a5
TT
70942014-03-03 Tom Tromey <tromey@redhat.com>
7095
7096 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7097 * breakpoint.c (create_longjmp_master_breakpoint): Use
7098 get_probe_address.
7099 (add_location_to_breakpoint, bkpt_probe_insert_location)
7100 (bkpt_probe_remove_location): Update.
7101 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7102 * elfread.c (elf_symfile_relocate_probe): Remove.
7103 (elf_probe_fns): Update.
7104 (insert_exception_resume_breakpoint): Change type of "probe"
7105 parameter to bound_probe.
7106 (check_exception_resume): Update.
7107 * objfiles.c (objfile_relocate1): Don't relocate probes.
7108 * probe.c (bound_probe_s): New typedef.
7109 (parse_probes): Use get_probe_address. Set sal's objfile.
7110 (find_probe_by_pc): Return a bound_probe.
7111 (collect_probes): Return a VEC(bound_probe_s).
7112 (compare_probes): Update.
7113 (gen_ui_out_table_header_info): Change type of "probes"
7114 parameter. Update.
7115 (info_probes_for_ops): Update.
7116 (get_probe_address): New function.
7117 (probe_safe_evaluate_at_pc): Update.
7118 * probe.h (struct probe_ops) <get_probe_address>: New field.
7119 <set_semaphore, clear_semaphore>: Add objfile parameter.
7120 (struct probe) <objfile>: Remove field.
7121 <arch>: New field.
7122 <address>: Update comment.
7123 (struct bound_probe): New.
7124 (find_probe_by_pc): Return a bound_probe.
7125 (get_probe_address): Declare.
7126 * solib-svr4.c (struct probe_and_action) <address>: New field.
7127 (hash_probe_and_action, equal_probe_and_action): Update.
7128 (register_solib_event_probe): Add address parameter.
7129 (solib_event_probe_at): Update.
7130 (svr4_create_probe_breakpoints): Add objfile parameter. Use
7131 get_probe_address.
7132 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
7133 (stap_get_probe_address): New function.
7134 (stap_can_evaluate_probe_arguments, compute_probe_arg)
7135 (compile_probe_arg): Update.
7136 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
7137 address.
7138 (handle_stap_probe): Don't relocate the probe.
7139 (stap_relocate): Remove.
7140 (stap_gen_info_probes_table_values): Update.
7141 (stap_probe_ops): Remove stap_relocate.
7142 * symfile-debug.c (debug_sym_relocate_probe): Remove.
7143 (debug_sym_probe_fns): Update.
7144 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
7145 * symtab.c (init_sal): Use memset.
7146 * symtab.h (struct symtab_and_line) <objfile>: New field.
7147 * tracepoint.c (start_tracing, stop_tracing): Update.
7148
ff887920
TT
71492014-03-03 Tom Tromey <tromey@redhat.com>
7150
7151 * probe.h (parse_probes, find_probe_by_pc)
7152 (find_probes_in_objfile): Fix comments.
7153
f0407826
DE
71542014-03-02 Doug Evans <xdje42@gmail.com>
7155
7156 * infrun.c (handle_signal_stop): Replace test for
7157 TARGET_WAITKIND_STOPPED with an assert.
7158
35e6a711
DE
71592014-03-02 Doug Evans <xdje42@gmail.com>
7160
7161 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
7162
667f9d0b
DE
71632014-03-02 Doug Evans <xdje42@gmail.com>
7164
7165 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
7166
dc92ace0
MK
71672014-03-01 Mark Kettenis <kettenis@gnu.org>
7168
7169 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
7170
a900370f
MK
71712014-03-01 Mark Kettenis <kettenis@gnu.org>
7172
7173 * i386obsd-nat.c: Include "obsd-nat.h".
7174 (_initialize_i386obsd_nat): Call obsd_add_target instead of
7175 add_target.
7176 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7177
b72a7981
MK
71782014-03-01 Mark Kettenis <kettenis@gnu.org>
7179
7180 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
7181
96c70aba
MK
71822014-03-01 Mark Kettenis <kettenis@gnu.org>
7183
7184 * mips64obsd-nat.c: Include "obsd-nath".
7185 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7186 add_target
7187 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7188
874a80af
MK
71892014-03-01 Mark Kettenis <kettenis@gnu.org>
7190
8fd408f1
MK
7191 * amd64obsd-nat.c: Include "obsd-nat,h.
7192 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7193 add_target.
874a80af
MK
7194 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7195
9cf95373
SC
71962014-02-28 Siva Chandra Reddy <sivachandra@google.com>
7197
7198 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7199 (find_overload_match): Update call to find_oload_champ.
7200 (find_oload_champ_namespace_loop): Likewise
7201
863e4da4
MK
72022014-02-28 Mark Kettenis <kettenis@gnu.org>
7203
025cac40
MK
7204 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7205
1ed586ce
MK
7206 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7207 * config/sparc/obsd64.mh: New file.
7208 * sparc64obsd-nat.c: New file.
7209
863e4da4
MK
7210 * obsd-nat.h: New file.
7211 * obsd-nat.c: New file.
7212 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7213 (ALLDEPFILES): Add obsd-nat.c.
7214
89de4da4
TT
72152014-02-28 Tom Tromey <tromey@redhat.com>
7216
7217 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
7218 * cli-out.h (cli_ui_out_impl): Now const.
7219 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
7220 * ui-out.c (struct ui_out) <impl>: Now const.
7221 (default_ui_out_impl): Now const.
7222 (ui_out_new): Make 'impl' parameter const.
7223 * ui-out.h (ui_out_new): Update.
7224
c725e7b6
MK
72252014-02-27 Mark Kettenis <kettenis@gnu.org>
7226
7227 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7228
670b46b3
MK
72292014-02-27 Mark Kettenis <kettenis@gnu.org>
7230
7231 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7232
c91550fc
JK
72332014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7234
7235 Additional PR 8882 fix.
7236 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7237
2fa0369e
PA
72382014-02-27 Pedro Alves <palves@redhat.com>
7239
7240 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7241 isn't set.
7242
d632a097
PA
72432014-02-27 Pedro Alves <palves@redhat.com>
7244
7245 PR 12702
7246 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7247 * nat/linux-waitpid.c: Include string.h.
7248 (status_to_str): Moved here and made extern.
7249 * nat/linux-waitpid.h (status_to_str): New declaration.
7250
2ebd5a35
HZ
72512014-02-27 Hui Zhu <hui@codesourcery.com>
7252
7253 PR 12702
7254 * infrun.c (ptid_match): Move ...
7255 * common/ptid.c (ptid_match): ... here.
7256 * inferior.h (ptid_match): Move ...
7257 * common/ptid.h (ptid_match): ... here.
7258
3cdd631f
MK
72592014-02-27 Mark Kettenis <kettenis@gnu.org>
7260
7261 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7262 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7263 gdb_target_obs.
7264
bee30a64
MK
72652014-02-27 Mark Kettenis <kettenis@gnu.org>
7266
7267 * obsd-tdep.c (obsd_auxv_parse): New function.
7268 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
7269
7270 * gdbarch.sh (auxv_parse): New.
7271 * gdbarch.h: Regenerated.
7272 * gdbarch.c: Regenerated.
7273 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7274
7a5a839f
LC
72752014-02-26 Ludovic Courtès <ludo@gnu.org>
7276
7277 * guile/scm-value.c (gdbscm_history_append_x): New function.
7278 (value_functions): Add it.
7279
31aa7e4e
JB
72802014-02-27 Joel Brobecker <brobecker@adacore.com>
7281
7282 * dwarf2read.c (attr_value_as_address): New function.
7283 (dwarf2_find_base_address, read_call_site_scope): Use
7284 attr_value_as_address in place of DW_ADDR.
7285 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7286 the low and high addresses. Slight rework of the handling
7287 of the high pc being a constant form, and limit it to
7288 DWARF verson 4 or higher.
7289 (dwarf2_record_block_ranges): Likewise.
7290 (read_partial_die): Likewise.
7291 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7292
9b333ba3
TT
72932014-02-26 Tom Tromey <tromey@redhat.com>
7294
7295 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7296
5f6cac40
TT
72972014-02-26 Tom Tromey <tromey@redhat.com>
7298
7299 * elfread.c (elf_read_minimal_symbols): Return early if
7300 minimal symbols have already been read. Add "ei" parameter.
7301 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7302 * minsyms.c (prim_record_minimal_symbol_full): Update.
7303 * objfiles.h (struct objstats) <n_minsyms>: Move...
7304 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7305 * symmisc.c (print_objfile_statistics): Update.
7306
2750ef27
TT
73072014-02-26 Tom Tromey <tromey@redhat.com>
7308
7309 * elfread.c (elf_read_minimal_symbols): New function, from
7310 elf_symfile_read.
7311 (elf_symfile_read): Call it.
7312
34643a32
TT
73132014-02-26 Tom Tromey <tromey@redhat.com>
7314
7315 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7316 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7317 (lookup_minimal_symbol_solib_trampoline)
7318 (lookup_minimal_symbol_by_pc_section_1)
7319 (lookup_minimal_symbol_and_objfile): Update.
7320 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7321 Don't allocate a minimal symbol if minsyms have already been read.
7322 (build_minimal_symbol_hash_tables): Update.
7323 (install_minimal_symbols): Do nothing if minsyms already read.
7324 Use the per-BFD obstack.
7325 (terminate_minimal_symbol_table): Use the per-BFD obstack.
7326 * objfiles.c (allocate_objfile): Call
7327 terminate_minimal_symbol_table later.
7328 (have_minimal_symbols): Update.
7329 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7330 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7331 Move from struct objfile.
7332 <minsyms_read>: New field.
7333 (struct objfile) <msymbols, minimal_symbol_count,
7334 msymbol_hash, msymbol_demangled_hash>: Move.
7335 (ALL_OBJFILE_MSYMBOLS): Update.
7336 * symfile.c (read_symbols): Set minsyms_read.
7337 (reread_symbols): Update.
7338 * symmisc.c (dump_objfile, dump_msymbols): Update.
7339
2273f0ac
TT
73402014-02-26 Tom Tromey <tromey@redhat.com>
7341
7342 * minsyms.c (msymbols_sort): Remove.
7343 * minsyms.h (msymbols_sort): Remove.
7344 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7345 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7346 * elfread.c (elf_symtab_read): Don't add section offsets.
7347 * xcoffread.c (record_minimal_symbol): Don't add section offset
7348 to minimal symbol address.
7349 * somread.c (text_offset, data_offset): Remove.
7350 (som_symtab_read): Don't add section offsets to minimal symbol
7351 addresses.
7352 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7353 Don't add section offsets to minimal symbols.
7354 * coffread.c (coff_symtab_read): Don't add section offsets
7355 to minimal symbol addresses.
7356 * machoread.c (macho_symtab_add_minsym): Don't add section offset
7357 to minimal symbol addresses.
7358 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7359 section offset to minimal symbol addresses.
7360 * mdebugread.c (parse_partial_symbols): Don't add section
7361 offset to minimal symbol addresses.
7362 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7363 offset to minimal symbol addresses.
7364
77e371c0
TT
73652014-02-26 Tom Tromey <tromey@redhat.com>
7366
7367 * ada-lang.c (ada_main_name): Update.
7368 (ada_add_standard_exceptions): Update.
7369 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7370 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7371 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7372 * auxv.c (ld_so_xfer_auxv): Update.
7373 * avr-tdep.c (avr_scan_prologue): Update.
7374 * ax-gdb.c (gen_var_ref): Update.
7375 * blockframe.c (get_pc_function_start)
7376 (find_pc_partial_function_gnu_ifunc): Update.
7377 * breakpoint.c (create_overlay_event_breakpoint)
7378 (create_longjmp_master_breakpoint)
7379 (create_std_terminate_master_breakpoint)
7380 (create_exception_master_breakpoint): Update.
7381 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7382 * c-valprint.c (c_val_print): Update.
7383 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7384 * common/agent.c (agent_look_up_symbols): Update.
7385 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7386 * dwarf2loc.c (call_site_to_target_addr): Update.
7387 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7388 * elfread.c (elf_gnu_ifunc_record_cache)
7389 (elf_gnu_ifunc_resolve_by_got): Update.
7390 * findvar.c (default_read_var_value): Update.
7391 * frame.c (inside_main_func): Update.
7392 * frv-tdep.c (frv_frame_this_id): Update.
7393 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7394 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7395 Update.
7396 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7397 (hppa_hpux_find_dummy_bpaddr): Update.
7398 * hppa-tdep.c (hppa_symbol_address): Update.
7399 * infcmd.c (until_next_command): Update.
7400 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7401 Update.
7402 * linespec.c (minsym_found, add_minsym): Update.
7403 * linux-nat.c (get_signo): Update.
7404 * linux-thread-db.c (inferior_has_bug): Update.
7405 * m32c-tdep.c (m32c_return_value)
7406 (m32c_m16c_address_to_pointer): Update.
7407 * m32r-tdep.c (m32r_frame_this_id): Update.
7408 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7409 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7410 * maint.c (maintenance_translate_address): Update.
7411 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7412 (frob_address): New function.
7413 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7414 frob_address. Rename parameter to "pc_in".
7415 (compare_minimal_symbols, compact_minimal_symbols): Use raw
7416 addresses.
7417 (find_solib_trampoline_target, minimal_symbol_upper_bound):
7418 Update.
7419 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7420 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7421 * objc-lang.c (find_objc_msgsend): Update.
7422 * objfiles.c (objfile_relocate1): Update.
7423 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7424 * p-valprint.c (pascal_val_print): Update.
7425 * parse.c (write_exp_msymbol): Update.
7426 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7427 (ppc_elfv2_skip_entrypoint): Update.
7428 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7429 * printcmd.c (build_address_symbolic, msym_info)
7430 (address_info): Update.
7431 * proc-service.c (ps_pglobal_lookup): Update.
7432 * psymtab.c (find_pc_sect_psymtab_closer)
7433 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7434 Change msymbol parameter to bound_minimal_symbol.
7435 * ravenscar-thread.c (get_running_thread_id): Update.
7436 * remote.c (remote_check_symbols): Update.
7437 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7438 address.
7439 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7440 * solib-dsbt.c (lm_base): Update.
7441 * solib-frv.c (lm_base, main_got): Update.
7442 * solib-irix.c (locate_base): Update.
7443 * solib-som.c (som_solib_create_inferior_hook)
7444 (link_map_start): Update.
7445 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7446 * solib-svr4.c (elf_locate_base, enable_break): Update.
7447 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7448 (flush_ea_cache): Update.
7449 * stabsread.c (define_symbol, scan_file_globals): Update.
7450 * stack.c (find_frame_funname): Update.
7451 * symfile-debug.c (debug_qf_expand_symtabs_matching)
7452 (debug_qf_find_pc_sect_symtab): Update.
7453 * symfile.c (simple_read_overlay_table)
7454 (simple_overlay_update): Update.
7455 * symfile.h (struct quick_symbol_functions)
7456 <find_pc_sect_symtab>: Change type of msymbol to
7457 bound_minimal_symbol.
7458 * symmisc.c (dump_msymbols): Update.
7459 * symtab.c (find_pc_sect_symtab_via_partial)
7460 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7461 (search_symbols, print_msymbol_info): Update.
7462 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7463 (MSYMBOL_VALUE_ADDRESS): Redefine.
7464 (BMSYMBOL_VALUE_ADDRESS): New macro.
7465 * tracepoint.c (scope_info): Update.
7466 * tui/tui-disasm.c (tui_find_disassembly_address)
7467 (tui_get_begin_asm_address): Update.
7468 * valops.c (find_function_in_inferior): Update.
7469 * value.c (value_static_field, value_fn_field): Update.
7470
3b7344d5
TT
74712014-02-26 Tom Tromey <tromey@redhat.com>
7472
7473 * ada-lang.c (ada_update_initial_language): Update.
7474 (ada_main_name, ada_has_this_exception_support): Update.
7475 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7476 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7477 * arm-tdep.c (arm_skip_stub): Update.
7478 * auxv.c (ld_so_xfer_auxv): Update.
7479 * avr-tdep.c (avr_scan_prologue): Update.
7480 * ax-gdb.c (gen_var_ref): Update.
7481 * breakpoint.c (struct breakpoint_objfile_data)
7482 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7483 type to bound_minimal_symbol.
7484 (create_overlay_event_breakpoint)
7485 (create_longjmp_master_breakpoint)
7486 (create_std_terminate_master_breakpoint)
7487 (create_exception_master_breakpoint): Update.
7488 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7489 * c-exp.y (classify_name): Update.
7490 * coffread.c (coff_symfile_read): Update.
7491 * common/agent.c (agent_look_up_symbols): Update.
7492 * d-lang.c (d_main_name): Update.
7493 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7494 * dec-thread.c (enable_dec_thread): Update.
7495 * dwarf2loc.c (call_site_to_target_addr): Update.
7496 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7497 * eval.c (evaluate_subexp_standard): Update.
7498 * findvar.c (struct minsym_lookup_data) <result>: Change type
7499 to bound_minimal_symbol.
7500 <objfile>: Remove.
7501 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7502 * frame.c (inside_main_func): Update.
7503 * frv-tdep.c (frv_frame_this_id): Update.
7504 * gcore.c (call_target_sbrk): Update.
7505 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7506 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7507 Update.
7508 * go-lang.c (go_main_name): Update.
7509 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7510 (hppa_hpux_find_import_stub_for_addr): Update.
7511 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7512 Update. Change return type.
7513 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7514 type.
7515 * jit.c (jit_breakpoint_re_set_internal): Update.
7516 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7517 Update.
7518 * linux-nat.c (get_signo): Update.
7519 * linux-thread-db.c (inferior_has_bug): Update
7520 * m32c-tdep.c (m32c_return_value)
7521 (m32c_m16c_address_to_pointer): Update.
7522 * m32r-tdep.c (m32r_frame_this_id): Update.
7523 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7524 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7525 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7526 lookup_minimal_symbol. Change return type.
7527 (lookup_minimal_symbol): Remove.
7528 (lookup_bound_minimal_symbol): Update.
7529 (lookup_minimal_symbol_text): Change return type.
7530 (lookup_minimal_symbol_solib_trampoline): Change return type.
7531 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7532 (lookup_minimal_symbol_solib_trampoline): Change return type.
7533 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7534 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7535 (value_nsstring, find_imps): Update.
7536 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7537 * p-lang.c (pascal_main_name): Update.
7538 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7539 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7540 * proc-service.c (ps_pglobal_lookup): Update.
7541 * ravenscar-thread.c (get_running_thread_msymbol): Change
7542 return type.
7543 (has_ravenscar_runtime, get_running_thread_id): Update.
7544 * remote.c (remote_check_symbols): Update.
7545 * sol-thread.c (ps_pglobal_lookup): Update.
7546 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7547 * solib-dsbt.c (lm_base): Update.
7548 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7549 Update.
7550 * solib-irix.c (locate_base): Update.
7551 * solib-som.c (som_solib_create_inferior_hook)
7552 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7553 Update.
7554 * solib-spu.c (spu_enable_break): Update.
7555 * solib-svr4.c (elf_locate_base, enable_break): Update.
7556 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7557 (flush_ea_cache): Update.
7558 * stabsread.c (define_symbol): Update.
7559 * symfile.c (simple_read_overlay_table): Update.
7560 * symtab.c (find_pc_sect_line): Update.
7561 * tracepoint.c (scope_info): Update.
7562 * tui-disasm.c (tui_get_begin_asm_address): Update.
7563 * value.c (value_static_field): Update.
7564
40c1a007
TT
75652014-02-26 Tom Tromey <tromey@redhat.com>
7566
7567 * minsyms.c (prim_record_minimal_symbol_full): Use
7568 SET_MSYMBOL_VALUE_ADDRESS.
7569 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7570 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7571 SET_MSYMBOL_VALUE_ADDRESS.
7572 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7573 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7574
efd66ac6
TT
75752014-02-26 Tom Tromey <tromey@redhat.com>
7576
7577 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7578 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7579 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7580 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7581 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7582 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7583 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7584 * ada-lang.c (ada_main_name): Update.
7585 (ada_lookup_simple_minsym): Update.
7586 (ada_make_symbol_completion_list): Update.
7587 (ada_add_standard_exceptions): Update.
7588 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7589 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7590 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7591 * arm-tdep.c (skip_prologue_function): Update.
7592 (arm_skip_stack_protector, arm_skip_stub): Update.
7593 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7594 (arm_wince_skip_main_prologue): Update.
7595 * auxv.c (ld_so_xfer_auxv): Update.
7596 * avr-tdep.c (avr_scan_prologue): Update.
7597 * ax-gdb.c (gen_var_ref): Update.
7598 * block.c (call_site_for_pc): Update.
7599 * blockframe.c (get_pc_function_start): Update.
7600 (find_pc_partial_function_gnu_ifunc): Update.
7601 * breakpoint.c (create_overlay_event_breakpoint): Update.
7602 (create_longjmp_master_breakpoint): Update.
7603 (create_std_terminate_master_breakpoint): Update.
7604 (create_exception_master_breakpoint): Update.
7605 (resolve_sal_pc): Update.
7606 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7607 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7608 Update.
7609 * c-valprint.c (c_val_print): Update.
7610 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7611 * coffread.c (coff_symfile_read): Update.
7612 * common/agent.c (agent_look_up_symbols): Update.
7613 * dbxread.c (find_stab_function_addr): Update.
7614 (end_psymtab): Update.
7615 * dwarf2loc.c (call_site_to_target_addr): Update.
7616 (func_verify_no_selftailcall): Update.
7617 (tailcall_dump): Update.
7618 (call_site_find_chain_1): Update.
7619 (dwarf_expr_reg_to_entry_parameter): Update.
7620 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7621 (elf_gnu_ifunc_resolve_by_got): Update.
7622 * f-valprint.c (info_common_command): Update.
7623 * findvar.c (read_var_value): Update.
7624 * frame.c (get_prev_frame_1): Update.
7625 (inside_main_func): Update.
7626 * frv-tdep.c (frv_skip_main_prologue): Update.
7627 (frv_frame_this_id): Update.
7628 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7629 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7630 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7631 (gnuv3_skip_trampoline): Update.
7632 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7633 (hppa64_hpux_in_solib_call_trampoline): Update.
7634 (hppa_hpux_skip_trampoline_code): Update.
7635 (hppa64_hpux_search_dummy_call_sequence): Update.
7636 (hppa_hpux_find_import_stub_for_addr): Update.
7637 (hppa_hpux_find_dummy_bpaddr): Update.
7638 * hppa-tdep.c (hppa_symbol_address)
7639 (hppa_lookup_stub_minimal_symbol): Update.
7640 * i386-tdep.c (i386_skip_main_prologue): Update.
7641 (i386_pe_skip_trampoline_code): Update.
7642 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7643 * infcall.c (get_function_name): Update.
7644 * infcmd.c (until_next_command): Update.
7645 * jit.c (jit_breakpoint_re_set_internal): Update.
7646 (jit_inferior_init): Update.
7647 * linespec.c (minsym_found): Update.
7648 (add_minsym): Update.
7649 * linux-fork.c (info_checkpoints_command): Update.
7650 * linux-nat.c (get_signo): Update.
7651 * linux-thread-db.c (inferior_has_bug): Update.
7652 * m32c-tdep.c (m32c_return_value): Update.
7653 (m32c_m16c_address_to_pointer): Update.
7654 (m32c_m16c_pointer_to_address): Update.
7655 * m32r-tdep.c (m32r_frame_this_id): Update.
7656 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7657 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7658 * maint.c (maintenance_translate_address): Update.
7659 * minsyms.c (add_minsym_to_hash_table): Update.
7660 (add_minsym_to_demangled_hash_table): Update.
7661 (msymbol_objfile): Update.
7662 (lookup_minimal_symbol): Update.
7663 (iterate_over_minimal_symbols): Update.
7664 (lookup_minimal_symbol_text): Update.
7665 (lookup_minimal_symbol_by_pc_name): Update.
7666 (lookup_minimal_symbol_solib_trampoline): Update.
7667 (lookup_minimal_symbol_by_pc_section_1): Update.
7668 (lookup_minimal_symbol_and_objfile): Update.
7669 (prim_record_minimal_symbol_full): Update.
7670 (compare_minimal_symbols): Update.
7671 (compact_minimal_symbols): Update.
7672 (build_minimal_symbol_hash_tables): Update.
7673 (install_minimal_symbols): Update.
7674 (terminate_minimal_symbol_table): Update.
7675 (find_solib_trampoline_target): Update.
7676 (minimal_symbol_upper_bound): Update.
7677 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7678 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7679 (mips_skip_pic_trampoline_code): Update.
7680 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7681 * objc-lang.c (selectors_info): Update.
7682 (classes_info): Update.
7683 (find_methods): Update.
7684 (find_imps): Update.
7685 (find_objc_msgsend): Update.
7686 * objfiles.c (objfile_relocate1): Update.
7687 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7688 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7689 * p-valprint.c (pascal_val_print): Update.
7690 * parse.c (write_exp_msymbol): Update.
7691 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7692 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7693 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7694 * printcmd.c (build_address_symbolic): Update.
7695 (sym_info): Update.
7696 (address_info): Update.
7697 * proc-service.c (ps_pglobal_lookup): Update.
7698 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7699 (find_pc_sect_psymtab): Update.
7700 * python/py-framefilter.c (py_print_frame): Update.
7701 * ravenscar-thread.c (get_running_thread_id): Update.
7702 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7703 Update.
7704 * remote.c (remote_check_symbols): Update.
7705 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7706 (rs6000_skip_trampoline_code): Update.
7707 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7708 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7709 * solib-dsbt.c (lm_base): Update.
7710 * solib-frv.c (lm_base): Update.
7711 (main_got): Update.
7712 * solib-irix.c (locate_base): Update.
7713 * solib-som.c (som_solib_create_inferior_hook): Update.
7714 (som_solib_desire_dynamic_linker_symbols): Update.
7715 (link_map_start): Update.
7716 * solib-spu.c (spu_enable_break): Update.
7717 (ocl_enable_break): Update.
7718 * solib-svr4.c (elf_locate_base): Update.
7719 (enable_break): Update.
7720 * spu-tdep.c (spu_get_overlay_table): Update.
7721 (spu_catch_start): Update.
7722 (flush_ea_cache): Update.
7723 * stabsread.c (define_symbol): Update.
7724 (scan_file_globals): Update.
7725 * stack.c (find_frame_funname): Update.
7726 (frame_info): Update.
7727 * symfile.c (simple_read_overlay_table): Update.
7728 (simple_overlay_update): Update.
7729 * symmisc.c (dump_msymbols): Update.
7730 * symtab.c (fixup_section): Update.
7731 (find_pc_sect_line): Update.
7732 (skip_prologue_sal): Update.
7733 (search_symbols): Update.
7734 (print_msymbol_info): Update.
7735 (rbreak_command): Update.
7736 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7737 (completion_list_objc_symbol): Update.
7738 (default_make_symbol_completion_list_break_on): Update.
7739 * tracepoint.c (scope_info): Update.
7740 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7741 (tui_get_begin_asm_address): Update.
7742 * valops.c (find_function_in_inferior): Update.
7743 * value.c (value_static_field): Update.
7744 (value_fn_field): Update.
7745
50e65b17
TT
77462014-02-26 Tom Tromey <tromey@redhat.com>
7747
7748 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7749 bound minimal symbols. Move code that knows about minsym
7750 table layout...
7751 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7752 function.
7753 * minsyms.h (minimal_symbol_upper_bound): Declare.
7754 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7755 minimal_symbol_upper_bound.
7756
1b588015
JB
77572014-02-27 Joel Brobecker <brobecker@adacore.com>
7758
7759 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7760 Use the type's name if its basic type does not have a tag.
7761
dbb9c2b1
JB
77622014-02-27 Joel Brobecker <brobecker@adacore.com>
7763
7764 * dwarf2read.c (read_subrange_type): Add comment.
7765
55426c9d
JB
77662014-02-27 Joel Brobecker <brobecker@adacore.com>
7767
7768 * dwarf2read.c (update_enumeration_type_from_children): New
7769 function, mostly extracted from process_structure_scope.
7770 (read_enumeration_type): Call update_enumeration_type_from_children.
7771 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7772 and flag_flag_enum fields.
7773
f2fce0ca
PA
77742014-02-26 Pedro Alves <palves@redhat.com>
7775
7776 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7777 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7778 to_xfer_partial method.
7779
7a44e40e
PA
77802014-02-26 Pedro Alves <palves@redhat.com>
7781
7782 * target.c (complete_target_initialization): Don't install
7783 default_xfer_partial as to_xfer_partial hook.
7784 (nomemory): Delete.
7785 (update_current_target): Don't INHERIT nor de_fault
7786 deprecated_xfer_memory. Delete de_fault macro.
7787 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7788 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7789 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7790 field.
7791
bd265cd0
PA
77922014-02-26 Pedro Alves <palves@redhat.com>
7793
7794 * go32-nat.c (my_write_child): New function.
7795 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7796 (go32_xfer_partial): New function.
7797 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7798 Instead install a to_xfer_partial hook.
7799
9d46c4e5
PA
78002014-02-26 Pedro Alves <palves@redhat.com>
7801
7802 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7803 to_xfer_partial helper. Rewrite.
7804 (procfs_xfer_partial): New function.
7805 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7806 Install a to_xfer_partial hook.
7807
a1583b1f
PA
78082014-02-26 Pedro Alves <palves@redhat.com>
7809
7810 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7811 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7812 (m32r_xfer_partial): New function.
7813 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7814 Install a to_xfer_partial hook.
7815
6df1b29f
PA
78162014-02-26 Pedro Alves <palves@redhat.com>
7817
7818 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7819 helper.
7820 (mips_xfer_partial): New function.
7821 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7822 hook. Install a to_xfer_partial hook.
7823
dc53a7ad
JB
78242014-02-26 Joel Brobecker <brobecker@adacore.com>
7825
7826 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7827 * gdbtypes.c (create_array_type_with_stride): New function,
7828 renaming create_array_type, but with an added parameter
7829 called "bit_stride".
7830 (create_array_type): Re-implement using
7831 create_array_type_with_stride.
7832 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7833 and DW_AT_bit_stride attributes.
7834
12ab52e9
PA
78352014-02-26 Pedro Alves <palves@redhat.com>
7836
7837 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7838 task-specific breakpoints.
7839
d16461ae
PA
78402014-02-25 Pedro Alves <palves@redhat.com>
7841
7842 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7843 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7844
a8b16220
SS
78452014-02-25 Stan Shebs <stan@codesourcery.com>
7846
7847 * defs.h: Annotate comments for Doxygen.
7848
b9e795ee
TT
78492014-02-25 Tom Tromey <tromey@redhat.com>
7850
7851 * target.h (target_ignore): Don't declare.
7852 * target.c (target_ignore): Remove.
7853
849c862e
JK
78542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7855
7856 PR gdb/16626
7857 * auto-load.c (auto_load_objfile_script_1): Change filename to
7858 debugfile.
7859
475109d8
JB
78602014-02-25 Joel Brobecker <brobecker@adacore.com>
7861
7862 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7863 documentation. Adjust prototype to match the target_ops
7864 to_xfer_partial method. Adjust implementation accordingly.
7865
e186c3bd
HZ
78662014-02-25 Hui Zhu <hui@codesourcery.com>
7867
7868 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7869 to_traceframe_info.
7870
6d451942
KB
78712014-02-25 Kevin Buettner <kevinb@redhat.com>
7872
041ab8b4 7873 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7874 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7875 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7876 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7877 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7878 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7879 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7880 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7881 New constants.
7882 (rl78_register_type): Use a data pointer type for SP and
7883 new pseudo registers mentioned above. Use a 16 bit integer
7884 type for all other register pairs.
7885 (rl78_register_name, rl78_g10_register_name): Update for
7886 new pseudo registers.
7887 (rl78_pseudo_register_read): Likewise.
7888 (rl78_pseudo_register_write): Likewise.
7889 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7890 to the newly added pseudo registers.
7891
eddf0bae
DE
78922014-02-24 Doug Evans <dje@google.com>
7893
7894 * value.c (record_latest_value): Fix comment.
7895 * printcmd.c (print_command_1): Remove code to handle -1 return from
7896 record_latest_value.
7897
e96027e0
PA
78982014-02-24 Pedro Alves <palves@redhat.com>
7899
7900 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7901 deprecated_xfer_memory hook.
7902 (procfs_xfer_partial): Call procfs_xfer_memory instead
7903 of the deprecated_xfer_memory target hook.
7904 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7905 helper.
7906
0837c976
YZ
79072014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7908
7909 * windows-nat.c (windows_xfer_shared_libraries): Return
7910 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7911 requested object is TARGET_OBJECT_LIBRARIES.
7912
bc113b4e
YQ
79132014-02-24 Yao Qi <yao@codesourcery.com>
7914
7915 * target.h (enum target_xfer_status)
7916 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7917 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7918 explicitly. New.
7919 * corefile.c (memory_error_message): User updated.
7920 * exec.c (section_table_read_available_memory): Likewise.
7921 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7922 * target.c (target_xfer_status_to_string): Likewise.
7923 (raw_memory_xfer_partial): Likewise.
7924 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7925 * valops.c (read_value_memory): Likewise.
7926 * exec.h: Update comments.
7927
01cb8804
YQ
79282014-02-24 Yao Qi <yao@codesourcery.com>
7929
7930 * target.c (target_xfer_status_to_string): Rename argument err
7931 to status.
7932 * target.h (target_xfer_status_to_string): Update declaration.
7933 Replace target_xfer_error_to_string with
7934 target_xfer_status_to_string in comment.
7935
93063aa6
YQ
79362014-02-24 Yao Qi <yao@codesourcery.com>
7937
7938 * mips-linux-nat.c (super_close): Update its type.
7939 (mips_linux_close): Pass 'self' to super_close.
7940
5c328c05
YQ
79412014-02-24 Yao Qi <yao@codesourcery.com>
7942
7943 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7944 * corefile.c (read_memory): Adjusted.
7945 * target.c (target_write_with_progress): Adjusted.
7946
f73023dd
YQ
79472014-02-23 Yao Qi <yao@codesourcery.com>
7948
7949 Revert two patches:
7950
7951 2013-10-25 Yao Qi <yao@codesourcery.com>
7952
7953 * remote.c (remote_traceframe_info): Return early if
7954 traceframe is not selected.
7955
7956 2013-07-19 Yao Qi <yao@codesourcery.com>
7957
7958 * target.c (update_current_target): Change the default action
7959 of 'to_traceframe_info' from tcomplain to return_zero.
7960 * target.h (struct target_ops) <to_traceframe_info>: Add more
7961 comments.
7962
5a2eb0ef
YQ
79632014-02-23 Yao Qi <yao@codesourcery.com>
7964
7965 * valops.c (read_value_memory): Rewrite it. Call
7966 target_xfer_partial in a loop.
7967 * exec.h (section_table_available_memory): Remove declaration.
7968 Move comments to ...
7969 * exec.c (section_table_available_memory): ... here. Make it
7970 static.
7971
1ee79381
YQ
79722014-02-23 Yao Qi <yao@codesourcery.com>
7973
7974 * exec.c (section_table_read_available_memory): New function.
7975 * exec.h (section_table_read_available_memory): Declare.
7976 * ctf.c (ctf_xfer_partial): Call
7977 section_table_read_available_memory.
7978 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7979
1ca49d37
YQ
79802014-02-23 Yao Qi <yao@codesourcery.com>
7981
7982 * ctf.c (ctf_xfer_partial): Move code to ...
7983 * exec.c (exec_read_partial_read_only): ... it. New function.
7984 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7985 * tracefile.c: Include "exec.h".
7986 * exec.h (exec_read_partial_read_only): Declare.
7987
a283690e
YQ
79882014-02-23 Yao Qi <yao@codesourcery.com>
7989
7990 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7991 (tfile_has_memory): Remove.
7992 (init_tfile_ops): Don't set fields to_has_all_memory and
7993 to_has_memory of tfile_ops.
7994 * tracefile.c (tracefile_has_all_memory): New function.
7995 (tracefile_has_memory): New function.
7996 (init_tracefile_ops): Initialize fields to_has_all_memory and
7997 to_has_memory of 'ops'.
7998
12e03cd0
YQ
79992014-02-23 Yao Qi <yao@codesourcery.com>
8000
8001 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8002 (ctf_thread_alive, ctf_get_trace_status): Remove.
8003 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8004 init_tracefile_ops.
8005 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8006 (tfile_has_stack, tfile_has_registers): Remove.
8007 (tfile_thread_alive): Remove.
8008 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8009 init_tracefile_ops.
8010 * tracefile.c (tracefile_has_stack): New function.
8011 (tracefile_has_registers): New function.
8012 (tracefile_thread_alive): New function.
8013 (tracefile_get_trace_status): New function.
8014 (init_tracefile_ops): New function.
8015 * tracefile.h (init_tracefile_ops): Declare.
8016
11395323
YQ
80172014-02-23 Yao Qi <yao@codesourcery.com>
8018
8019 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8020 (O_LARGEFILE): Likewise.
8021 (tfile_ops): Likewise.
8022 (TRACE_HEADER_SIZE): Likewise.
8023 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8024 (cur_data_size): Likewise.
8025 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8026 (tfile_close, tfile_files_info): Likewise.
8027 (tfile_get_trace_status): Likewise.
8028 (tfile_get_tracepoint_status): Likewise.
8029 (tfile_get_traceframe_address): Likewise.
8030 (tfile_trace_find, match_blocktype): Likewise.
8031 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8032 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8033 (tfile_get_trace_state_variable_value): Likewise.
8034 (tfile_has_all_memory, tfile_has_memory): Likewise.
8035 (tfile_has_stack, tfile_has_registers): Likewise.
8036 (tfile_thread_alive, build_traceframe_info): Likewise.
8037 (tfile_traceframe_info, init_tfile_ops): Likewise.
8038 (_initialize_tracepoint): Don't call init_tfile_ops
8039 and add_target_with_completer.
8040 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8041 exec.h, completer.h and filenames.h.
8042 (_initialize_tracefile_tfile): New function.
8043
7951c4eb
YQ
80442014-02-23 Yao Qi <yao@codesourcery.com>
8045
8046 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8047 tracefile-tfile.o.
8048 (HFILES_NO_SRCDIR): Add tracefile.h.
8049 * ctf.c: Include "tracefile.h".
8050 * tracefile.h: New file.
8051 * tracefile.c: New file
8052 * tracefile-tfile.c: New file.
8053 * tracepoint.c: Include "tracefile.h".
8054 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8055 (stop_reason_names): Add const.
8056 (trace_file_writer_xfree): Move it to tracefile.c.
8057 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8058 (trace_save_ctf): Likewise.
8059 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8060 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8061 (tfile_write_header, tfile_write_regblock_type): Likewise.
8062 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8063 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8064 (tfile_write_raw_data, tfile_end): Likewise.
8065 (tfile_trace_file_writer_new): Likewise.
8066 (free_uploaded_tp): Make it extern.
8067 (free_uploaded_tsv): Make it extern.
8068 (_initialize_tracepoint): Move code to register command 'tsave'
8069 to tracefile.c.
8070 * tracepoint.h (stop_reason_names): Declare.
8071 (struct trace_frame_write_ops): Move it to tracefile.h.
8072 (struct trace_file_write_ops): Likewise.
8073 (struct trace_file_writer): Likewise.
8074 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8075
184cd072
JK
80762014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8077
8078 PR gdb/16594
8079 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8080 process name.
8081 (get_cores_used_by_process): New parameter num_cores, use it.
8082 (linux_xfer_osdata_processes): Pass num_cores to it.
8083 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8084 process name.
8085
c63528fc
AK
80862014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8087
8088 * target.c (memory_xfer_partial): Fix length arg in call to
8089 breakpoint_xfer_memory.
8090
d7b30f67
SDJ
80912014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8092
8093 PR tdep/16397
8094 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8095 number comes after the + or - signs. Adjust length of register
8096 name to be extracted.
8097
8838afaf
TT
80982014-02-20 Tom Tromey <tromey@redhat.com>
8099
8100 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8101 (ada_varobj_ops): Mark "extern".
8102
05227d14
TT
81032014-02-20 Tom Tromey <tromey@redhat.com>
8104
8105 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8106
1254eefc
DE
81072014-02-20 Doug Evans <xdje42@gmail.com>
8108
8109 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8110 All callers updated.
8111 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8112 All callers updated.
8113 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8114 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8115
adde2bff
DE
81162014-02-20 lin zuojian <manjian2006@gmail.com>
8117 Joel Brobecker <brobecker@adacore.com>
8118 Doug Evans <xdje42@gmail.com>
8119
8120 PR symtab/16581
8121 * dwarf2read.c (struct die_info): New member in_process.
8122 (reset_die_in_process): New function.
8123 (process_die): Set it at the start, reset when returning.
8124 (inherit_abstract_dies): Only call process_die if origin_child_die
8125 not already being processed.
8126
3be75f87
JB
81272014-02-20 Joel Brobecker <brobecker@adacore.com>
8128
8129 * windows-nat.c (handle_unload_dll): Add function documentation.
8130 (do_initial_windows_stuff): Add comment explaining why we wait
8131 until after inferior initialization has finished before
8132 processing all DLLs.
8133
47f7ffdb
JB
81342014-02-20 Joel Brobecker <brobecker@adacore.com>
8135
8136 * windows-nat.c (get_module_name): Delete.
8137 (windows_get_exec_module_filename): New function, mostly
8138 inspired from get_module_name.
8139 (windows_pid_to_exec_file): Replace call to get_module_name
8140 by call to windows_get_exec_module_filename.
8141
1cd9feab
JB
81422014-02-20 Joel Brobecker <brobecker@adacore.com>
8143
8144 * windows-nat.c (handle_load_dll): Rewrite this function's
8145 introductory comment. Remove code using get_module_name
8146 to get the DLL's name.
8147
ea39ad35
JB
81482014-02-20 Joel Brobecker <brobecker@adacore.com>
8149
8150 * windows-nat.c (get_windows_debug_event): Ignore
8151 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
8152 if windows_initialization_done == 0.
8153 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
8154 Adjust implementation to always load all DLLs.
8155 (do_initial_windows_stuff): Replace call to
8156 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
8157
95060284
JB
81582014-02-20 Joel Brobecker <brobecker@adacore.com>
8159
8160 * windows-nat.c (_initialize_windows_nat): Deprecate the
8161 "dll-symbols" command. Turn the "add-shared-symbol-files"
8162 and "assf" aliases into commands, and deprecate them as well.
8163 * NEWS: Add entry explaining that "dll-symbols" and its two
8164 aliases are now deprecated.
8165
8d4fdb12
JB
81662014-02-20 Joel Brobecker <brobecker@adacore.com>
8167
8168 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
8169 new-line in debug string. Remove trailing spaces.
8170
1b281443
SS
81712014-02-19 Stan Shebs <stan@codesourcery.com>
8172
8173 * darwin-nat.c (darwin_xfer_partial): Fix return type.
8174
f7bd0f78
SC
81752014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8176
8177 * NEWS: Add entry for the new feature
8178 * python/py-value.c (valpy_binop): Call value_x_binop for struct
8179 and class values.
8180
399ebc3d
SS
81812014-02-19 Stan Shebs <stan@codesourcery.com>
8182
8183 * MAINTAINERS: List Yao Qi as nios2 maintainer.
8184
c658158d
PA
81852014-02-19 Pedro Alves <palves@redhat.com>
8186
8187 * common/ptid.h (struct ptid): Mention that process_stratum
8188 targets should prefer ptid.lwp.
8189
ba348170
PA
81902014-02-19 Pedro Alves <palves@redhat.com>
8191
8192 * remote.c (remote_thread_alive, write_ptid, read_ptid)
8193 (read_ptid, remote_newthread_step, remote_threads_extra_info)
8194 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8195 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8196 store remote thread ids rather than ptid.tid.
8197 (_initialize_remote): Adjust.
8198
ac01945b
TT
81992014-02-19 Tom Tromey <tromey@redhat.com>
8200
8201 * target.c (target_get_unwinder): Rewrite.
8202 (target_get_tailcall_unwinder): Rewrite.
8203 * record-btrace.c (record_btrace_to_get_unwinder): New function.
8204 (record_btrace_to_get_tailcall_unwinder): New function.
8205 (init_record_btrace_ops): Update.
8206 * target.h (struct target_ops) <to_get_unwinder,
8207 to_get_tailcall_unwinder>: Now function pointers. Use
8208 TARGET_DEFAULT_RETURN.
8209
8476dc92
TT
82102014-02-19 Tom Tromey <tromey@redhat.com>
8211
8212 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8213 argument.
8214 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8215
c0eca49f
TT
82162014-02-19 Tom Tromey <tromey@redhat.com>
8217
8218 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8219 directly.
8220 * target-delegates.c: Rebuild.
8221 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8222 TARGET_DEFAULT_FUNC.
8223 * target.c (default_target_decr_pc_after_break): Rename from
8224 forward_target_decr_pc_after_break. Simplify.
8225 (target_decr_pc_after_break): Rely on delegation.
8226
596b6b39
TT
82272014-02-19 Tom Tromey <tromey@redhat.com>
8228
8229 * target.c (update_current_target): Do not INHERIT to_doc or
8230 to_magic. Do not de_fault to_open or to_close.
8231
b427c1bc
TT
82322014-02-19 Tom Tromey <tromey@redhat.com>
8233
8234 * gcore.h (objfile_find_memory_regions): Declare.
8235 * gcore.c (objfile_find_memory_regions): No longer static. Add
8236 "self" argument.
8237 (_initialize_gcore): Don't call exec_set_find_memory_regions.
8238 * exec.c: Include gcore.h.
8239 (exec_set_find_memory_regions): Remove.
8240 (exec_find_memory_regions): Remove.
8241 (exec_do_find_memory_regions): Remove.
8242 (init_exec_ops): Update.
8243 * defs.h (exec_set_find_memory_regions): Remove.
8244
9b144037
TT
82452014-02-19 Tom Tromey <tromey@redhat.com>
8246
8247 * target-delegates.c: Rebuild.
8248 * target.h (struct target_ops) <to_extra_thread_info,
8249 to_thread_name, to_pid_to_exec_file, to_get_section_table,
8250 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8251 not 0, in TARGET_DEFAULT_RETURN.
8252
555bbdeb
TT
82532014-02-19 Tom Tromey <tromey@redhat.com>
8254
8255 * target.c (complete_target_initialization): Remove casts. Use
8256 return_zero_has_execution.
8257 (return_zero): Add "ignore" argument.
8258 (return_zero_has_execution): New function.
8259 (init_dummy_target): Remove casts. Use
8260 return_zero_has_execution.
8261
be4ddd36
TT
82622014-02-19 Tom Tromey <tromey@redhat.com>
8263
8264 * target.c (update_current_target): Update comments. Do not
8265 INHERIT to_stratum.
8266
2117c711
TT
82672014-02-19 Tom Tromey <tromey@redhat.com>
8268
8269 * arm-linux-nat.c (arm_linux_read_description): Delegate when
8270 needed.
8271 * corelow.c (core_read_description): Delegate when needed.
8272 * remote.c (remote_read_description): Delegate when needed.
8273 * target-delegates.c: Rebuild.
8274 * target.c (target_read_description): Rewrite.
8275 * target.h (struct target_ops) <to_read_description>: Update
8276 comment. Use TARGET_DEFAULT_RETURN.
8277
e88ef65c
TT
82782014-02-19 Tom Tromey <tromey@redhat.com>
8279
8280 * target-delegates.c: Rebuild.
8281 * target.c (update_current_target): Don't inherit or default
8282 to_can_run.
8283 (find_default_run_target): Check against delegate_can_run.
8284 * target.h (struct target_ops) <to_can_run>: Use
8285 TARGET_DEFAULT_RETURN.
8286
86a0854a
TT
82872014-02-19 Tom Tromey <tromey@redhat.com>
8288
8289 * target-delegates.c: Rebuild.
8290 * target.c (target_disconnect): Unconditionally delegate.
8291 * target.h (struct target_ops) <to_disconnect>: Use
8292 TARGET_DEFAULT_NORETURN.
8293
ee97f592
TT
82942014-02-19 Tom Tromey <tromey@redhat.com>
8295
8296 * record.c (record_stop): Unconditionally delegate.
8297 * target-delegates.c: Rebuild.
8298 * target.c (target_stop_recording): Unconditionally delegate.
8299 * target.h (struct target_ops) <to_stop_recording>: Use
8300 TARGET_DEFAULT_IGNORE.
8301
6dc7fcf4
TT
83022014-02-19 Tom Tromey <tromey@redhat.com>
8303
8304 * target-delegates.c: Rebuild.
8305 * target.c (target_enable_btrace): Unconditionally delegate.
8306 * target.h (struct target_ops) <to_enable_btrace>: Use
8307 TARGET_DEFAULT_NORETURN.
8308
eb5b20d4
TT
83092014-02-19 Tom Tromey <tromey@redhat.com>
8310
8311 * target-delegates.c: Rebuild.
8312 * target.c (target_read_btrace): Unconditionally delegate.
8313 * target.h (struct target_ops) <to_read_btrace>: Use
8314 TARGET_DEFAULT_NORETURN.
8315
9ace480d
TT
83162014-02-19 Tom Tromey <tromey@redhat.com>
8317
8318 * target-delegates.c: Rebuild.
8319 * target.c (target_teardown_btrace): Unconditionally delegate.
8320 * target.h (struct target_ops) <to_teardown_btrace>: Use
8321 TARGET_DEFAULT_NORETURN.
8322
8dc292d3
TT
83232014-02-19 Tom Tromey <tromey@redhat.com>
8324
8325 * target-delegates.c: Rebuild.
8326 * target.c (target_disable_btrace): Unconditionally delegate.
8327 * target.h (struct target_ops) <to_disable_btrace>: Use
8328 TARGET_DEFAULT_NORETURN.
8329
58a5184e
TT
83302014-02-19 Tom Tromey <tromey@redhat.com>
8331
8332 * target-delegates.c: Rebuild.
8333 * target.c (default_search_memory): New function.
8334 (simple_search_memory): Update comment.
8335 (target_search_memory): Unconditionally delegate.
8336 * target.h (struct target_ops) <to_search_memory>: Use
8337 TARGET_DEFAULT_FUNC.
8338
8de71aab
TT
83392014-02-19 Tom Tromey <tromey@redhat.com>
8340
8341 * auxv.c (default_auxv_parse): No longer static.
8342 (target_auxv_parse): Unconditionally delegate.
8343 * auxv.h (default_auxv_parse): Declare.
8344 * target-delegates.c: Rebuild.
8345 * target.c: Include auxv.h.
8346 * target.h (struct target_ops) <to_auxv_parse>: Use
8347 TARGET_DEFAULT_FUNC.
8348
6b2c5a57
TT
83492014-02-19 Tom Tromey <tromey@redhat.com>
8350
8351 * target-delegates.c: Rebuild.
8352 * target.c (target_memory_map): Unconditionally delegate.
8353 * target.h (struct target_ops) <to_memory_map>: Use
8354 TARGET_DEFAULT_RETURN.
8355
cbffc065
TT
83562014-02-19 Tom Tromey <tromey@redhat.com>
8357
8358 * target-delegates.c: Rebuild.
8359 * target.c (target_thread_alive): Unconditionally delegate.
8360 * target.h (struct target_ops) <to_thread_alive>: Use
8361 TARGET_DEFAULT_RETURN.
8362
f09e2107
TT
83632014-02-19 Tom Tromey <tromey@redhat.com>
8364
8365 * target-delegates.c: Rebuild.
8366 * target.c (target_save_record): Unconditionally delegate.
8367 * target.h (struct target_ops) <to_save_record>: Use
8368 TARGET_DEFAULT_NORETURN.
8369
07366925
TT
83702014-02-19 Tom Tromey <tromey@redhat.com>
8371
8372 * target-delegates.c: Rebuild.
8373 * target.c (target_delete_record): Unconditionally delegate.
8374 * target.h (struct target_ops) <to_delete_record>: Use
8375 TARGET_DEFAULT_NORETURN.
8376
dd2e9d25
TT
83772014-02-19 Tom Tromey <tromey@redhat.com>
8378
8379 * target-delegates.c: Rebuild.
8380 * target.c (target_record_is_replaying): Unconditionally
8381 delegate.
8382 * target.h (struct target_ops) <to_record_is_replaying>: Use
8383 TARGET_DEFAULT_RETURN.
8384
671e76cc
TT
83852014-02-19 Tom Tromey <tromey@redhat.com>
8386
8387 * target-delegates.c: Rebuild.
8388 * target.c (target_goto_record_begin): Unconditionally delegate.
8389 * target.h (struct target_ops) <to_goto_record_begin>: Use
8390 TARGET_DEFAULT_NORETURN.
8391
e9179bb3
TT
83922014-02-19 Tom Tromey <tromey@redhat.com>
8393
8394 * target-delegates.c: Rebuild.
8395 * target.c (target_goto_record_end): Unconditionally delegate.
8396 * target.h (struct target_ops) <to_goto_record_end>: Use
8397 TARGET_DEFAULT_NORETURN.
8398
05969c84
TT
83992014-02-19 Tom Tromey <tromey@redhat.com>
8400
8401 * target-delegates.c: Rebuild.
8402 * target.c (target_goto_record): Unconditionally delegate.
8403 * target.h (struct target_ops) <to_goto_record>: Use
8404 TARGET_DEFAULT_NORETURN.
8405
3679abfa
TT
84062014-02-19 Tom Tromey <tromey@redhat.com>
8407
8408 * target-delegates.c: Rebuild.
8409 * target.c (target_insn_history): Unconditionally delegate.
8410 * target.h (struct target_ops) <to_insn_history>: Use
8411 TARGET_DEFAULT_NORETURN.
8412
8444ab58
TT
84132014-02-19 Tom Tromey <tromey@redhat.com>
8414
8415 * target-delegates.c: Rebuild.
8416 * target.c (target_insn_history_from): Unconditionally delegate.
8417 * target.h (struct target_ops) <to_insn_history_from>: Use
8418 TARGET_DEFAULT_NORETURN.
8419
c29302cc
TT
84202014-02-19 Tom Tromey <tromey@redhat.com>
8421
8422 * target-delegates.c: Rebuild.
8423 * target.c (target_insn_history_range): Unconditionally delegate.
8424 * target.h (struct target_ops) <to_insn_history_range>: Use
8425 TARGET_DEFAULT_NORETURN.
8426
170049d4
TT
84272014-02-19 Tom Tromey <tromey@redhat.com>
8428
8429 * target-delegates.c: Rebuild.
8430 * target.c (target_call_history): Unconditionally delegate.
8431 * target.h (struct target_ops) <to_call_history>: Use
8432 TARGET_DEFAULT_NORETURN.
8433
16fc27d6
TT
84342014-02-19 Tom Tromey <tromey@redhat.com>
8435
8436 * target-delegates.c: Rebuild.
8437 * target.c (target_call_history_from): Unconditionally delegate.
8438 * target.h (struct target_ops) <to_call_history_from>: Use
8439 TARGET_DEFAULT_NORETURN.
8440
115d9817
TT
84412014-02-19 Tom Tromey <tromey@redhat.com>
8442
8443 * target-delegates.c: Rebuild.
8444 * target.c (target_call_history_range): Unconditionally delegate.
8445 * target.h (struct target_ops) <to_call_history_range>: Use
8446 TARGET_DEFAULT_NORETURN.
8447
eb276a6b
TT
84482014-02-19 Tom Tromey <tromey@redhat.com>
8449
8450 * target-delegates.c: Rebuild.
8451 * target.c (target_verify_memory): Unconditionally delegate.
8452 * target.h (struct target_ops) <to_verify_memory>: Use
8453 TARGET_DEFAULT_NORETURN.
8454
9e538d0d
TT
84552014-02-19 Tom Tromey <tromey@redhat.com>
8456
8457 * target-delegates.c: Rebuild.
8458 * target.c (target_core_of_thread): Unconditionally delegate.
8459 * target.h (struct target_ops) <to_core_of_thread>: Use
8460 TARGET_DEFAULT_RETURN.
8461
f6fb2925
TT
84622014-02-19 Tom Tromey <tromey@redhat.com>
8463
8464 * target-delegates.c: Rebuild.
8465 * target.c (target_flash_done): Unconditionally delegate.
8466 * target.h (struct target_ops) <to_flash_done>: Use
8467 TARGET_DEFAULT_NORETURN.
8468
e8a6c6ac
TT
84692014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (target_flash_erase): Unconditionally delegate.
8473 * target.h (struct target_ops) <to_flash_erase>: Use
8474 TARGET_DEFAULT_NORETURN.
8475
7e35c012
TT
84762014-02-19 Tom Tromey <tromey@redhat.com>
8477
8478 * target-delegates.c: Rebuild.
8479 * target.c (target_get_section_table): Unconditionally delegate.
8480 * target.h (struct target_ops) <to_get_section_table>: Use
8481 TARGET_DEFAULT_RETURN.
8482
770234d3
TT
84832014-02-19 Tom Tromey <tromey@redhat.com>
8484
8485 * target-delegates.c: Rebuild.
8486 * target.c (target_pid_to_str): Unconditionally delegate.
8487 (init_dummy_target): Don't initialize to_pid_to_str.
8488 (default_pid_to_str): Rename from dummy_pid_to_str.
8489 * target.h (struct target_ops) <to_pid_to_str>: Use
8490 TARGET_DEFAULT_FUNC.
8491
09b0dc2b
TT
84922014-02-19 Tom Tromey <tromey@redhat.com>
8493
8494 * target-delegates.c: Rebuild.
8495 * target.c (target_find_new_threads): Unconditionally delegate.
8496 * target.h (struct target_ops) <to_find_new_threads>: Use
8497 TARGET_DEFAULT_RETURN.
8498
7d4f8efa
TT
84992014-02-19 Tom Tromey <tromey@redhat.com>
8500
8501 * target-delegates.c: Rebuild.
8502 * target.c (target_program_signals): Unconditionally delegate.
8503 * target.h (struct target_ops) <to_program_signals>: Use
8504 TARGET_DEFAULT_IGNORE.
8505
035cad7f
TT
85062014-02-19 Tom Tromey <tromey@redhat.com>
8507
8508 * target-delegates.c: Rebuild.
8509 * target.c (target_pass_signals): Unconditionally delegate.
8510 * target.h (struct target_ops) <to_pass_signals>: Use
8511 TARGET_DEFAULT_IGNORE.
8512
8d657035
TT
85132014-02-19 Tom Tromey <tromey@redhat.com>
8514
8515 * target-delegates.c: Rebuild.
8516 * target.c (default_mourn_inferior): New function.
8517 (target_mourn_inferior): Unconditionally delegate.
8518 * target.h (struct target_ops) <to_mourn_inferior>: Use
8519 TARGET_DEFAULT_FUNC.
8520
098dba18
TT
85212014-02-19 Tom Tromey <tromey@redhat.com>
8522
8523 * target-delegates.c: Rebuild.
8524 * target.c (default_follow_fork): New function.
8525 (target_follow_fork): Unconditionally delegate.
8526 * target.h (struct target_ops) <to_follow_fork>: Use
8527 TARGET_DEFAULT_FUNC.
8528
423a4807
TT
85292014-02-19 Tom Tromey <tromey@redhat.com>
8530
8531 * target-delegates.c: Rebuild.
8532 * target.c (target_kill): Unconditionally delegate.
8533 * target.h (struct target_ops) <to_kill>: Use
8534 TARGET_DEFAULT_NORETURN.
8535
6c7e5e5c
TT
85362014-02-19 Tom Tromey <tromey@redhat.com>
8537
8538 * target-delegates.c: Rebuild.
8539 * target.c (target_masked_watch_num_registers): Unconditionally
8540 delegate.
8541 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8542 Use TARGET_DEFAULT_RETURN.
8543
8b1c364c
TT
85442014-02-19 Tom Tromey <tromey@redhat.com>
8545
8546 * target-delegates.c: Rebuild.
8547 * target.c (target_remove_mask_watchpoint): Unconditionally
8548 delegate.
8549 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8550 TARGET_DEFAULT_RETURN.
8551
cd4ae029
TT
85522014-02-19 Tom Tromey <tromey@redhat.com>
8553
8554 * target-delegates.c: Rebuild.
8555 * target.c (target_insert_mask_watchpoint): Unconditionally
8556 delegate.
8557 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8558 TARGET_DEFAULT_RETURN.
8559
a134316b
TT
85602014-02-19 Tom Tromey <tromey@redhat.com>
8561
8562 * target-delegates.c: Rebuild.
8563 * target.c (target_ranged_break_num_registers): Unconditionally
8564 delegate.
8565 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8566 Use TARGET_DEFAULT_RETURN.
8567
ad5989bd
TT
85682014-02-19 Tom Tromey <tromey@redhat.com>
8569
8570 * target-delegates.c: Rebuild.
8571 * target.c (target_fetch_registers): Unconditionally delegate.
8572 * target.h (struct target_ops) <to_fetch_registers>: Use
8573 TARGET_DEFAULT_NORETURN.
8574
46ee7e8d
TT
85752014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * target-delegates.c: Rebuild.
8578 * target.c (update_current_target): Don't inherit or default
8579 to_stop.
8580 * target.h (struct target_ops) <to_stop>: Use
8581 TARGET_DEFAULT_IGNORE.
8582
843f59ed
TT
85832014-02-19 Tom Tromey <tromey@redhat.com>
8584
8585 * target-delegates.c: Rebuild.
8586 * target.c (update_current_target): Don't inherit or default
8587 to_can_run_breakpoint_commands.
8588 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8589 Use TARGET_DEFAULT_RETURN.
8590
ccfde2a0
TT
85912014-02-19 Tom Tromey <tromey@redhat.com>
8592
8593 * target-delegates.c: Rebuild.
8594 * target.c (update_current_target): Don't inherit or default
8595 to_supports_evaluation_of_breakpoint_conditions.
8596 * target.h (struct target_ops)
8597 <to_supports_evaluation_of_breakpoint_conditions>: Use
8598 TARGET_DEFAULT_RETURN.
8599
0de91722
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_augmented_libraries_svr4_read.
8605 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8606 Use TARGET_DEFAULT_RETURN.
8607
9a7d8b48
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_use_agent.
8613 * target.h (struct target_ops) <to_can_use_agent>: Use
8614 TARGET_DEFAULT_RETURN.
8615
d9db5b21
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_use_agent.
8621 * target.h (struct target_ops) <to_use_agent>: Use
8622 TARGET_DEFAULT_NORETURN.
8623
92155eeb
TT
86242014-02-19 Tom Tromey <tromey@redhat.com>
8625
8626 * target-delegates.c: Rebuild.
8627 * target.c (update_current_target): Don't inherit or default
8628 to_traceframe_info.
8629 (return_null): Remove.
8630 * target.h (struct target_ops) <to_traceframe_info>: Use
8631 TARGET_DEFAULT_RETURN.
8632
d6522a22
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_static_tracepoint_markers_by_strid.
8638 * target.h (struct target_ops)
8639 <to_static_tracepoint_markers_by_strid>: Use
8640 TARGET_DEFAULT_NORETURN.
8641
4c3e4425
TT
86422014-02-19 Tom Tromey <tromey@redhat.com>
8643
8644 * target-delegates.c: Rebuild.
8645 * target.c (update_current_target): Don't inherit or default
8646 to_static_tracepoint_marker_at.
8647 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8648 Use TARGET_DEFAULT_RETURN.
8649
dcd6917f
TT
86502014-02-19 Tom Tromey <tromey@redhat.com>
8651
8652 * target-delegates.c: Rebuild.
8653 * target.c (update_current_target): Don't inherit or default
8654 to_set_permissions.
8655 * target.h (struct target_ops) <to_set_permissions>: Use
8656 TARGET_DEFAULT_IGNORE.
8657
22bcceee
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_get_tib_address.
8663 * target.h (struct target_ops) <to_get_tib_address>: Use
8664 TARGET_DEFAULT_NORETURN.
8665
8586ccaa
TT
86662014-02-19 Tom Tromey <tromey@redhat.com>
8667
8668 * target-delegates.c: Rebuild.
8669 * target.c (update_current_target): Don't inherit or default
8670 to_set_trace_notes.
8671 * target.h (struct target_ops) <to_set_trace_notes>: Use
8672 TARGET_DEFAULT_RETURN.
8673
91df8d1d
TT
86742014-02-19 Tom Tromey <tromey@redhat.com>
8675
8676 * target-delegates.c: Rebuild.
8677 * target.c (update_current_target): Don't initialize
8678 to_set_trace_buffer_size.
8679 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8680 TARGET_DEFAULT_IGNORE.
8681
8d526939
TT
86822014-02-19 Tom Tromey <tromey@redhat.com>
8683
8684 * target-delegates.c: Rebuild.
8685 * target.c (update_current_target): Don't inherit or default
8686 to_set_circular_trace_buffer.
8687 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8688 TARGET_DEFAULT_IGNORE.
8689
0bcfeddf
TT
86902014-02-19 Tom Tromey <tromey@redhat.com>
8691
8692 * target-delegates.c: Rebuild.
8693 * target.c (update_current_target): Don't inherit or default
8694 to_set_disconnected_tracing.
8695 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8696 TARGET_DEFAULT_IGNORE.
8697
9249843f
TT
86982014-02-19 Tom Tromey <tromey@redhat.com>
8699
8700 * target-delegates.c: Rebuild.
8701 * target.c (update_current_target): Don't inherit or default
8702 to_get_min_fast_tracepoint_insn_len.
8703 (return_minus_one): Remove.
8704 * target.h (struct target_ops)
8705 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8706
ace92e7d
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_get_raw_trace_data.
8712 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8713 TARGET_DEFAULT_NORETURN.
8714
08120467
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_upload_trace_state_variables.
8720 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8721 Use TARGET_DEFAULT_RETURN.
8722
1e949b00
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_upload_tracepoints.
8728 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8729 TARGET_DEFAULT_RETURN.
8730
a2e6c147
TT
87312014-02-19 Tom Tromey <tromey@redhat.com>
8732
8733 * target-delegates.c: Rebuild.
8734 * target.c (update_current_target): Don't inherit or default
8735 to_save_trace_data.
8736 * target.h (struct target_ops) <to_save_trace_data>: Use
8737 TARGET_DEFAULT_NORETURN.
8738
959bcd0b
TT
87392014-02-19 Tom Tromey <tromey@redhat.com>
8740
8741 * target-delegates.c: Rebuild.
8742 * target.c (update_current_target): Don't inherit or default
8743 to_get_trace_state_variable_value.
8744 * target.h (struct target_ops)
8745 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8746
afc94e66
TT
87472014-02-19 Tom Tromey <tromey@redhat.com>
8748
8749 * target-delegates.c: Rebuild.
8750 * target.c (update_current_target): Don't inherit or default
8751 to_trace_find.
8752 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8753
e51c07ea
TT
87542014-02-19 Tom Tromey <tromey@redhat.com>
8755
8756 * target-delegates.c: Rebuild.
8757 * target.c (update_current_target): Don't inherit or default
8758 to_trace_stop.
8759 * target.h (struct target_ops) <to_trace_stop>: Use
8760 TARGET_DEFAULT_NORETURN.
8761
6fea14cd
TT
87622014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target-delegates.c: Rebuild.
8765 * target.c (update_current_target): Don't inherit or default
8766 to_get_tracepoint_status.
8767 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8768 TARGET_DEFAULT_NORETURN.
8769
4072d4ff
TT
87702014-02-19 Tom Tromey <tromey@redhat.com>
8771
8772 * target-delegates.c: Rebuild.
8773 * target.c (update_current_target): Don't inherit or default
8774 to_get_trace_status.
8775 * target.h (struct target_ops) <to_get_trace_status>: Use
8776 TARGET_DEFAULT_RETURN.
8777
25da2e80
TT
87782014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target-delegates.c: Rebuild.
8781 * target.c (update_current_target): Don't inherit or default
8782 to_trace_start.
8783 * target.h (struct target_ops) <to_trace_start>: Use
8784 TARGET_DEFAULT_NORETURN.
8785
86dd181d
TT
87862014-02-19 Tom Tromey <tromey@redhat.com>
8787
8788 * target-delegates.c: Rebuild.
8789 * target.c (update_current_target): Don't inherit or default
8790 to_trace_set_readonly_regions.
8791 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8792 Use TARGET_DEFAULT_NORETURN.
8793
05c41993
TT
87942014-02-19 Tom Tromey <tromey@redhat.com>
8795
8796 * target-delegates.c: Rebuild.
8797 * target.c (update_current_target): Don't inherit or default
8798 to_disable_tracepoint.
8799 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8800 TARGET_DEFAULT_NORETURN.
8801
151f70f1
TT
88022014-02-19 Tom Tromey <tromey@redhat.com>
8803
8804 * target-delegates.c: Rebuild.
8805 * target.c (update_current_target): Don't inherit or default
8806 to_enable_tracepoint.
8807 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8808 TARGET_DEFAULT_NORETURN.
8809
94eb98b9
TT
88102014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target-delegates.c: Rebuild.
8813 * target.c (update_current_target): Don't inherit or default
8814 to_download_trace_state_variable.
8815 * target.h (struct target_ops) <to_download_trace_state_variable>:
8816 Use TARGET_DEFAULT_NORETURN.
8817
719acc4a
TT
88182014-02-19 Tom Tromey <tromey@redhat.com>
8819
8820 * target-delegates.c: Rebuild.
8821 * target.c (update_current_target): Don't inherit or default
8822 to_can_download_tracepoint.
8823 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8824 TARGET_DEFAULT_RETURN.
8825
9a980a22
TT
88262014-02-19 Tom Tromey <tromey@redhat.com>
8827
8828 * target-delegates.c: Rebuild.
8829 * target.c (update_current_target): Don't inherit or default
8830 to_download_tracepoint.
8831 * target.h (struct target_ops) <to_download_tracepoint>: Use
8832 TARGET_DEFAULT_NORETURN.
8833
5536135b
TT
88342014-02-19 Tom Tromey <tromey@redhat.com>
8835
8836 * target-delegates.c: Rebuild.
8837 * target.c (update_current_target): Don't inherit or default
8838 to_trace_init.
8839 * target.h (struct target_ops) <to_trace_init>: Use
8840 TARGET_DEFAULT_RETURN.
8841
9409d39e
TT
88422014-02-19 Tom Tromey <tromey@redhat.com>
8843
8844 * target-delegates.c: Rebuild.
8845 * target.c (update_current_target): Don't inherit or default
8846 to_supports_string_tracing.
8847 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8848 TARGET_DEFAULT_RETURN.
8849
aab1b22d
TT
88502014-02-19 Tom Tromey <tromey@redhat.com>
8851
8852 * target-delegates.c: Rebuild.
8853 * target.c (update_current_target): Don't inherit or default
8854 to_supports_enable_disable_tracepoint.
8855 * target.h (struct target_ops)
8856 <to_supports_enable_disable_tracepoint>: Use
8857 TARGET_DEFAULT_RETURN.
8858
a7304748
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_supports_multi_process.
8864 * target.h (struct target_ops) <to_supports_multi_process>: Use
8865 TARGET_DEFAULT_RETURN.
8866
4229b31d
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_get_ada_task_ptid.
8872 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8873 TARGET_DEFAULT_FUNC.
8874
43eba180
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_thread_architecture.
8880 * target.h (struct target_ops) <to_thread_architecture>: Use
8881 TARGET_DEFAULT_FUNC.
8882
fe31bf5b
TT
88832014-02-19 Tom Tromey <tromey@redhat.com>
8884
8885 * target-delegates.c: Rebuild.
8886 * target.c (update_current_target): Don't inherit or default
8887 to_execution_direction.
8888 * target.h (struct target_ops) <to_execution_direction>: Use
8889 TARGET_DEFAULT_FUNC.
8890
53e1cfc7
TT
88912014-02-19 Tom Tromey <tromey@redhat.com>
8892
8893 * target-delegates.c: Rebuild.
8894 * target.c (update_current_target): Don't inherit or default
8895 to_can_execute_reverse.
8896 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8897 TARGET_DEFAULT_RETURN.
8898 (target_can_execute_reverse): Unconditionally delegate.
8899
9bb9d61d
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_goto_bookmark.
8905 (dummy_goto_bookmark): Remove.
8906 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8907 * target.h (struct target_ops) <to_goto_bookmark>: Use
8908 TARGET_DEFAULT_NORETURN.
8909
3dbafbbb
TT
89102014-02-19 Tom Tromey <tromey@redhat.com>
8911
8912 * target-delegates.c: Rebuild.
8913 * target.c (update_current_target): Don't inherit or default
8914 to_get_bookmark.
8915 (dummy_get_bookmark): Remove.
8916 (init_dummy_target): Don't inherit or default to_get_bookmark.
8917 * target.h (struct target_ops) <to_get_bookmark>: Use
8918 TARGET_DEFAULT_NORETURN
8919
16f796b1
TT
89202014-02-19 Tom Tromey <tromey@redhat.com>
8921
8922 * target-delegates.c: Rebuild.
8923 * target.c (update_current_target): Don't inherit or default
8924 to_make_corefile_notes.
8925 (init_dummy_target): Don't initialize to_make_corefile_notes.
8926 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8927 TARGET_DEFAULT_FUNC.
8928
0b5a2719
TT
89292014-02-19 Tom Tromey <tromey@redhat.com>
8930
8931 * target-delegates.c: Rebuild.
8932 * target.c (update_current_target): Don't inherit or default
8933 to_find_memory_regions.
8934 (init_dummy_target): Don't initialize to_find_memory_regions.
8935 * target.h (struct target_ops) <to_find_memory_regions>: Use
8936 TARGET_DEFAULT_FUNC.
8937
d9cb0195
TT
89382014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * target-delegates.c: Rebuild.
8941 * target.c (update_current_target): Don't inherit or default
8942 to_log_command.
8943 * target.h (struct target_ops) <to_log_command>: Use
8944 TARGET_DEFAULT_IGNORE.
8945 (target_log_command): Unconditionally delegate.
8946
830ca330
TT
89472014-02-19 Tom Tromey <tromey@redhat.com>
8948
8949 * target-delegates.c: Rebuild.
8950 * target.c (update_current_target): Don't inherit or default
8951 to_pid_to_exec_file.
8952 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8953 TARGET_DEFAULT_RETURN.
8954
825828fc
TT
89552014-02-19 Tom Tromey <tromey@redhat.com>
8956
8957 * target-delegates.c: Rebuild.
8958 * target.c (update_current_target): Don't inherit or default
8959 to_thread_name.
8960 (target_thread_name): Unconditionally delegate.
8961 * target.h (struct target_ops) <to_thread_name>: Use
8962 TARGET_DEFAULT_RETURN.
8963
4a7e6dda
TT
89642014-02-19 Tom Tromey <tromey@redhat.com>
8965
8966 * target-delegates.c: Rebuild.
8967 * target.c (update_current_target): Don't inherit or default
8968 to_extra_thread_info.
8969 * target.h (struct target_ops) <to_extra_thread_info>: Use
8970 TARGET_DEFAULT_RETURN.
8971
0db88c1d
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_has_exited.
8977 * target.h (struct target_ops) <to_has_exited>: Use
8978 TARGET_DEFAULT_RETURN..
8979
6a9fa051
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_set_syscall_catchpoint.
8985 (return_one): Remove.
8986 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8987 TARGET_DEFAULT_RETURN.
8988
62f64d7a
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_insert_exec_catchpoint.
8994 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8995 TARGET_DEFAULT_RETURN.
8996
cda0f38c
TT
89972014-01-08 Tom Tromey <tromey@redhat.com>
8998
8999 * target-delegates.c: Rebuild.
9000 * target.c (update_current_target): Don't inherit or default
9001 to_insert_exec_catchpoint.
9002 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9003 TARGET_DEFAULT_RETURN.
9004
95c3375e
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_remove_vfork_catchpoint.
9010 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9011 TARGET_DEFAULT_RETURN.
9012
7e18a8dc
TT
90132014-02-19 Tom Tromey <tromey@redhat.com>
9014
9015 * target-delegates.c: Rebuild.
9016 * target.c (update_current_target): Don't inherit or default
9017 to_insert_vfork_catchpoint.
9018 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9019 TARGET_DEFAULT_RETURN.
9020
e1a21fb7
TT
90212014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target-delegates.c: Rebuild.
9024 * target.c (update_current_target): Don't inherit or default
9025 to_remove_fork_catchpoint.
9026 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9027 TARGET_DEFAULT_RETURN.
9028
5958ebeb
TT
90292014-02-19 Tom Tromey <tromey@redhat.com>
9030
9031 * target-delegates.c: Rebuild.
9032 * target.c (update_current_target): Don't inherit or default
9033 to_insert_fork_catchpoint.
9034 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9035 TARGET_DEFAULT_RETURN.
9036
340ba4bf
TT
90372014-02-19 Tom Tromey <tromey@redhat.com>
9038
9039 * target-delegates.c: Rebuild.
9040 * target.c (update_current_target): Don't inherit or default
9041 to_post_startup_inferior.
9042 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9043 TARGET_DEFAULT_IGNORE.
9044
7634da87
TT
90452014-02-19 Tom Tromey <tromey@redhat.com>
9046
9047 * target-delegates.c: Rebuild.
9048 * target.c (update_current_target): Don't inherit or default
9049 to_load.
9050 * target.h (struct target_ops) <to_load>: Use
9051 TARGET_DEFAULT_NORETURN.
9052
e19e919f
TT
90532014-02-19 Tom Tromey <tromey@redhat.com>
9054
9055 * target-delegates.c: Rebuild.
9056 * target.c (update_current_target): Don't inherit or default
9057 to_terminal_info.
9058 * target.h (struct target_ops) <to_terminal_info>: Use
9059 TARGET_DEFAULT_FUNC.
9060
c6ea8f79
TT
90612014-02-19 Tom Tromey <tromey@redhat.com>
9062
9063 * target-delegates.c: Rebuild.
9064 * target.c (update_current_target): Don't inherit or default
9065 to_terminal_save_ours.
9066 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9067 TARGET_DEFAULT_IGNORE.
9068
e4a733f1
TT
90692014-02-19 Tom Tromey <tromey@redhat.com>
9070
9071 * target-delegates.c: Rebuild.
9072 * target.c (update_current_target): Don't inherit or default
9073 to_terminal_ours.
9074 * target.h (struct target_ops) <to_terminal_ours>: Use
9075 TARGET_DEFAULT_IGNORE.
9076
74fcbef9
TT
90772014-02-19 Tom Tromey <tromey@redhat.com>
9078
9079 * target-delegates.c: Rebuild.
9080 * target.c (update_current_target): Don't inherit or default
9081 to_terminal_ours_for_output.
9082 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9083 TARGET_DEFAULT_IGNORE.
9084
ddeaacc9
TT
90852014-02-19 Tom Tromey <tromey@redhat.com>
9086
9087 * target-delegates.c: Rebuild.
9088 * target.c (update_current_target): Don't inherit or default
9089 to_terminal_inferior.
9090 * target.h (struct target_ops) <to_terminal_inferior>: Use
9091 TARGET_DEFAULT_IGNORE.
9092
0343661d
TT
90932014-02-19 Tom Tromey <tromey@redhat.com>
9094
9095 * target-delegates.c: Rebuild.
9096 * target.c (update_current_target): Don't inherit or default
9097 to_terminal_init.
9098 * target.h (struct target_ops) <to_terminal_init>: Use
9099 TARGET_DEFAULT_IGNORE.
9100
77cdffe9
TT
91012014-02-19 Tom Tromey <tromey@redhat.com>
9102
9103 * target-delegates.c: Rebuild.
9104 * target.c (update_current_target): Don't inherit or default
9105 to_can_accel_watchpoint_condition.
9106 * target.h (struct target_ops)
9107 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9108
d03655e4
TT
91092014-02-19 Tom Tromey <tromey@redhat.com>
9110
9111 * target-delegates.c: Rebuild.
9112 * target.c (update_current_target): Don't inherit or default
9113 to_region_ok_for_hw_watchpoint.
9114 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9115 Use TARGET_DEFAULT_FUNC.
9116
65f160a9
TT
91172014-02-19 Tom Tromey <tromey@redhat.com>
9118
9119 * target-delegates.c: Rebuild.
9120 * target.c (update_current_target): Don't inherit or default
9121 to_watchpoint_addr_within_range.
9122 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
9123 Use TARGET_DEFAULT_FUNC.
9124
61dd109f
TT
91252014-02-19 Tom Tromey <tromey@redhat.com>
9126
9127 * target-delegates.c: Rebuild.
9128 * target.c (update_current_target): Don't inherit or default
9129 to_remove_watchpoint.
9130 * target.h (struct target_ops) <to_remove_watchpoint>: Use
9131 TARGET_DEFAULT_NORETURN.
9132
016facd4
TT
91332014-02-19 Tom Tromey <tromey@redhat.com>
9134
9135 * target-delegates.c: Rebuild.
9136 * target.c (update_current_target): Don't inherit or default
9137 to_insert_watchpoint.
9138 * target.h (struct target_ops) <to_insert_watchpoint>: Use
9139 TARGET_DEFAULT_RETURN.
9140
418dabac
TT
91412014-02-19 Tom Tromey <tromey@redhat.com>
9142
9143 * target-delegates.c: Rebuild.
9144 * target.c (update_current_target): Don't inherit or default
9145 to_remove_hw_breakpoint.
9146 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
9147 TARGET_DEFAULT_RETURN.
9148
61b371f9
TT
91492014-02-19 Tom Tromey <tromey@redhat.com>
9150
9151 * target-delegates.c: Rebuild.
9152 * target.c (update_current_target): Don't inherit or default
9153 to_insert_hw_breakpoint.
9154 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
9155 TARGET_DEFAULT_RETURN.
9156
52b51d06
TT
91572014-02-19 Tom Tromey <tromey@redhat.com>
9158
9159 * target-delegates.c: Rebuild.
9160 * target.c (update_current_target): Don't inherit or default
9161 to_can_use_hw_breakpoint.
9162 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
9163 TARGET_DEFAULT_RETURN.
9164
f86e59b2
TT
91652014-02-19 Tom Tromey <tromey@redhat.com>
9166
9167 * target-delegates.c: Rebuild.
9168 * target.c (update_current_target): Don't inherit or default
9169 to_files_info.
9170 * target.h (struct target_ops) <to_files_info>: Use
9171 TARGET_DEFAULT_IGNORE.
9172
6c628163
TT
91732014-02-19 Tom Tromey <tromey@redhat.com>
9174
9175 * target-delegates.c: Rebuild.
9176 * target.c (update_current_target): Don't inherit or default
9177 to_store.
9178 * target.h (struct target_ops) <to_store>: Use
9179 TARGET_DEFAULT_NORETURN.
9180
bebd3233
TT
91812014-02-19 Tom Tromey <tromey@redhat.com>
9182
9183 * target-delegates.c: Rebuild.
9184 * target.c (update_current_target): Don't inherit or default
9185 to_post_attach.
9186 * target.h (struct target_ops) <to_post_attach>: Use
9187 TARGET_DEFAULT_IGNORE.
9188
a53f3625
TT
91892014-02-19 Tom Tromey <tromey@redhat.com>
9190
9191 * target-delegates.c: Rebuild.
9192 * target.c (update_current_target): Don't inherit or default
9193 to_rcmd.
9194 (default_rcmd): New function.
9195 (do_monitor_command): Unconditionally delegate.
9196 * target.h (struct target_ops) <to_rmcd>: Use
9197 TARGET_DEFAULT_FUNC.
9198
e9a29200
TT
91992014-02-19 Tom Tromey <tromey@redhat.com>
9200
9201 * target-delegates.c: Rebuild.
9202 * target.c (init_dummy_target): Don't initialize to_attach.
9203 (target_attach): Unconditionally delegate.
9204 * target.h (struct target_ops) <to_attach>: Use
9205 TARGET_DEFAULT_FUNC.
9206
09da0d0a
TT
92072014-02-19 Tom Tromey <tromey@redhat.com>
9208
9209 * target-delegates.c: Rebuild.
9210 * target.c (target_detach): Unconditionally delegate.
9211 (init_dummy_target): Don't initialize to_detach.
9212 * target.h (struct target_ops) <to_detach>: Use
9213 TARGET_DEFAULT_IGNORE.
9214
5436ff03
TT
92152014-02-19 Tom Tromey <tromey@redhat.com>
9216
9217 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9218 Add argument.
9219 (target_augmented_libraries_svr4_read): Add argument.
9220 * target.c (update_current_target): Update.
9221 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9222 argument.
9223
f0d960ea
TT
92242014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target.h (struct target_ops) <to_call_history_range>: Add
9227 argument.
9228 * target.c (target_call_history_range): Add argument.
9229 * record-btrace.c (record_btrace_call_history_range): Add 'self'
9230 argument.
9231 (record_btrace_call_history_from): Update.
9232
ec0aea04
TT
92332014-02-19 Tom Tromey <tromey@redhat.com>
9234
9235 * target.h (struct target_ops) <to_call_history_from>: Add
9236 argument.
9237 * target.c (target_call_history_from): Add argument.
9238 * record-btrace.c (record_btrace_call_history_from): Add 'self'
9239 argument.
9240
5df2fcba
TT
92412014-02-19 Tom Tromey <tromey@redhat.com>
9242
9243 * target.h (struct target_ops) <to_call_history>: Add argument.
9244 * target.c (target_call_history): Add argument.
9245 * record-btrace.c (record_btrace_call_history): Add 'self'
9246 argument.
9247
4e99c6b7
TT
92482014-02-19 Tom Tromey <tromey@redhat.com>
9249
9250 * target.h (struct target_ops) <to_insn_history_range>: Add
9251 argument.
9252 * target.c (target_insn_history_range): Add argument.
9253 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9254 argument.
9255 (record_btrace_insn_history_from): Update.
9256
9abc3ff3
TT
92572014-02-19 Tom Tromey <tromey@redhat.com>
9258
9259 * target.h (struct target_ops) <to_insn_history_from>: Add
9260 argument.
9261 * target.c (target_insn_history_from): Add argument.
9262 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9263 argument.
9264
7a6c5609
TT
92652014-02-19 Tom Tromey <tromey@redhat.com>
9266
9267 * target.h (struct target_ops) <to_insn_history>: Add argument.
9268 * target.c (target_insn_history): Add argument.
9269 * record-btrace.c (record_btrace_insn_history): Add 'self'
9270 argument.
9271
606183ac
TT
92722014-02-19 Tom Tromey <tromey@redhat.com>
9273
9274 * target.h (struct target_ops) <to_goto_record>: Add argument.
9275 * target.c (target_goto_record): Add argument.
9276 * record-full.c (record_full_goto): Add 'self' argument.
9277 * record-btrace.c (record_btrace_goto): Add 'self' argument.
9278
307a1b91
TT
92792014-02-19 Tom Tromey <tromey@redhat.com>
9280
9281 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9282 * target.c (target_goto_record_end): Add argument.
9283 * record-full.c (record_full_goto_end): Add 'self' argument.
9284 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9285
08475817
TT
92862014-02-19 Tom Tromey <tromey@redhat.com>
9287
9288 * target.h (struct target_ops) <to_goto_record_begin>: Add
9289 argument.
9290 * target.c (target_goto_record_begin): Add argument.
9291 * record-full.c (record_full_goto_begin): Add 'self' argument.
9292 * record-btrace.c (record_btrace_goto_begin): Add 'self'
9293 argument.
9294
1c63c994
TT
92952014-02-19 Tom Tromey <tromey@redhat.com>
9296
9297 * target.h (struct target_ops) <to_record_is_replaying>: Add
9298 argument.
9299 * target.c (target_record_is_replaying): Add argument.
9300 * record-full.c (record_full_is_replaying): Add 'self' argument.
9301 * record-btrace.c (record_btrace_is_replaying): Add 'self'
9302 argument.
9303 (record_btrace_xfer_partial, record_btrace_store_registers)
9304 (record_btrace_prepare_to_store, record_btrace_resume)
9305 (record_btrace_wait, record_btrace_decr_pc_after_break)
9306 (record_btrace_find_new_threads, record_btrace_thread_alive):
9307 Update.
9308
d1b55219
TT
93092014-02-19 Tom Tromey <tromey@redhat.com>
9310
9311 * target.h (struct target_ops) <to_delete_record>: Add argument.
9312 * target.c (target_delete_record): Add argument.
9313 * record-full.c (record_full_delete): Add 'self' argument.
9314
1390f529
TT
93152014-02-19 Tom Tromey <tromey@redhat.com>
9316
9317 * target.h (struct target_ops) <to_save_record>: Add argument.
9318 * target.c (target_save_record): Add argument.
9319 * record-full.c (record_full_save): Add 'self' argument.
9320 (record_full_save): Add 'self' argument.
9321
630d6a4a
TT
93222014-02-19 Tom Tromey <tromey@redhat.com>
9323
9324 * target.h (struct target_ops) <to_info_record>: Add argument.
9325 * target.c (target_info_record): Add argument.
9326 * record.c (info_record_command): Add argument.
9327 * record-full.c (record_full_info): Add 'self' argument.
9328 * record-btrace.c (record_btrace_info): Add 'self' argument.
9329
c6cd7c02
TT
93302014-02-19 Tom Tromey <tromey@redhat.com>
9331
9332 * target.h (struct target_ops) <to_stop_recording>: Add argument.
9333 * target.c (target_stop_recording): Add argument.
9334 * record.c (record_stop): Add argument.
9335 * record-btrace.c (record_btrace_stop_recording): Add 'self'
9336 argument.
9337
39c49f83
TT
93382014-02-19 Tom Tromey <tromey@redhat.com>
9339
9340 * target.h (struct target_ops) <to_read_btrace>: Add argument.
9341 * target.c (struct target_ops) <to_read_btrace>: Add argument.
9342 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9343 argument.
9344 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9345 (_initialize_amd64_linux_nat): Use it.
9346 * i386-linux-nat.c (i386_linux_read_btrace): New function.
9347 (_initialize_i386_linux_nat): Use it.
9348
1777056d
TT
93492014-02-19 Tom Tromey <tromey@redhat.com>
9350
9351 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9352 * target.c (target_teardown_btrace): Add argument.
9353 * remote.c (remote_teardown_btrace): Add 'self' argument.
9354 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9355 argument.
9356 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9357 argument.
9358
25e95349
TT
93592014-02-19 Tom Tromey <tromey@redhat.com>
9360
9361 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9362 * target.c (target_disable_btrace): Add argument.
9363 * remote.c (remote_disable_btrace): Add 'self' argument.
9364 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9365 argument.
9366 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9367 argument.
9368
e3c49f88
TT
93692014-02-19 Tom Tromey <tromey@redhat.com>
9370
9371 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9372 * target.c (target_enable_btrace): Add argument.
9373 * remote.c (remote_enable_btrace): Add 'self' argument.
9374 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9375 argument.
9376 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9377 argument.
9378
fe38f897
TT
93792014-02-19 Tom Tromey <tromey@redhat.com>
9380
9381 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9382 (target_can_use_agent): Add argument.
9383 * target.c (update_current_target): Update.
9384 * remote.c (remote_can_use_agent): Add 'self' argument.
9385 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9386
2c152180
TT
93872014-02-19 Tom Tromey <tromey@redhat.com>
9388
9389 * target.h (struct target_ops) <to_use_agent>: Add argument.
9390 (target_use_agent): Add argument.
9391 * target.c (update_current_target): Update.
9392 * remote.c (remote_use_agent): Add 'self' argument.
9393 * inf-child.c (inf_child_use_agent): Add 'self' argument.
9394
a893e81f
TT
93952014-02-19 Tom Tromey <tromey@redhat.com>
9396
9397 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9398 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9399 (target_traceframe_info): Add argument.
9400 * target.c (update_current_target): Update.
9401 * remote.c (remote_traceframe_info): Add 'self' argument.
9402 * ctf.c (ctf_traceframe_info): Add 'self' argument.
9403
c686c57f
TT
94042014-02-19 Tom Tromey <tromey@redhat.com>
9405
9406 * target.h (target_static_tracepoint_markers_by_strid): Add
9407 argument.
9408 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9409 'self' argument.
9410 * target.c (update_current_target): Update.
9411 * remote.c (struct target_ops)
9412 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9413 * linux-nat.c (struct target_ops)
9414 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9415
61fc905d
TT
94162014-02-19 Tom Tromey <tromey@redhat.com>
9417
9418 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9419 Add argument.
9420 (target_static_tracepoint_marker_at): Add argument.
9421 * target.c (update_current_target): Update.
9422 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9423 argument.
9424
c378d69d
TT
94252014-02-19 Tom Tromey <tromey@redhat.com>
9426
9427 * target.h (struct target_ops) <to_set_permissions>: Add argument.
9428 (target_set_permissions): Add argument.
9429 * target.c (update_current_target): Update.
9430 * remote.c (remote_set_permissions): Add 'self' argument.
9431 (remote_start_remote): Update.
9432
bd7ae0f5
TT
94332014-02-19 Tom Tromey <tromey@redhat.com>
9434
9435 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9436 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9437 (target_get_tib_address): Add argument.
9438 * target.c (update_current_target): Update.
9439 * remote.c (remote_get_tib_address): Add 'self' argument.
9440
d9e68a2c
TT
94412014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9444 (target_set_trace_notes): Add argument.
9445 * target.c (update_current_target): Update.
9446 * remote.c (remote_set_trace_notes): Add 'self' argument.
9447
4da384be
TT
94482014-02-19 Tom Tromey <tromey@redhat.com>
9449
9450 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9451 argument.
9452 (target_set_trace_buffer_size): Add argument.
9453 * target.c (update_current_target): Update.
9454 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9455
736d5b1f
TT
94562014-02-19 Tom Tromey <tromey@redhat.com>
9457
9458 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9459 argument.
9460 (target_set_circular_trace_buffer): Add argument.
9461 * target.c (update_current_target): Update.
9462 * remote.c (remote_set_circular_trace_buffer): Add 'self'
9463 argument.
9464
37b25738
TT
94652014-02-19 Tom Tromey <tromey@redhat.com>
9466
9467 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9468 argument.
9469 (target_set_disconnected_tracing): Add argument.
9470 * target.c (update_current_target): Update.
9471 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9472
0e67620a
TT
94732014-02-19 Tom Tromey <tromey@redhat.com>
9474
9475 * target.h (struct target_ops)
9476 <to_get_min_fast_tracepoint_insn_len>: Add argument.
9477 (target_get_min_fast_tracepoint_insn_len): Add argument.
9478 * target.c (update_current_target): Update.
9479 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9480 argument.
9481
88ee6f45
TT
94822014-02-19 Tom Tromey <tromey@redhat.com>
9483
9484 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9485 argument.
9486 (target_get_raw_trace_data): Add argument.
9487 * target.c (update_current_target): Update.
9488 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9489
181e3713
TT
94902014-02-19 Tom Tromey <tromey@redhat.com>
9491
9492 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9493 Add argument.
9494 (target_upload_trace_state_variables): Add argument.
9495 * target.c (update_current_target): Update.
9496 * remote.c (remote_upload_trace_state_variables): Add 'self'
9497 argument.
9498 (remote_start_remote): Update.
9499
ab6617cc
TT
95002014-02-19 Tom Tromey <tromey@redhat.com>
9501
9502 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9503 argument.
9504 (target_upload_tracepoints): Add argument.
9505 * target.c (update_current_target): Update.
9506 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9507 (remote_start_remote): Update.
9508
dc3decaf
TT
95092014-02-19 Tom Tromey <tromey@redhat.com>
9510
9511 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9512 (target_save_trace_data): Add argument.
9513 * target.c (update_current_target): Update.
9514 * remote.c (remote_save_trace_data): Add 'self' argument.
9515
4011015b
TT
95162014-02-19 Tom Tromey <tromey@redhat.com>
9517
9518 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9519 argument.
9520 * target.h (struct target_ops)
9521 <to_get_trace_state_variable_value>: Add argument.
9522 (target_get_trace_state_variable_value): Add argument.
9523 * target.c (update_current_target): Update.
9524 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9525 argument.
9526 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9527
bd4c6793
TT
95282014-02-19 Tom Tromey <tromey@redhat.com>
9529
9530 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9531 * target.h (struct target_ops) <to_trace_find>: Add argument.
9532 (target_trace_find): Add argument.
9533 * target.c (update_current_target): Update.
9534 * remote.c (remote_trace_find): Add 'self' argument.
9535 * ctf.c (ctf_trace_find): Add 'self' argument.
9536
74499f1b
TT
95372014-02-19 Tom Tromey <tromey@redhat.com>
9538
9539 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9540 (target_trace_stop): Add argument.
9541 * target.c (update_current_target): Update.
9542 * remote.c (remote_trace_stop): Add 'self' argument.
9543
db90e85c
TT
95442014-02-19 Tom Tromey <tromey@redhat.com>
9545
9546 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9547 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9548 argument.
9549 (target_get_tracepoint_status): Add argument.
9550 * target.c (update_current_target): Update.
9551 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9552
8bd200f1
TT
95532014-02-19 Tom Tromey <tromey@redhat.com>
9554
9555 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9556 * target.h (struct target_ops) <to_get_trace_status>: Add
9557 argument.
9558 (target_get_trace_status): Add argument.
9559 * target.c (update_current_target): Update.
9560 * remote.c (remote_get_trace_status): Add 'self' argument.
9561 (remote_start_remote, remote_can_download_tracepoint): Update.
9562 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9563
e2d1aae3
TT
95642014-02-19 Tom Tromey <tromey@redhat.com>
9565
9566 * target.h (struct target_ops) <to_trace_start>: Add argument.
9567 (target_trace_start): Add argument.
9568 * target.c (update_current_target): Update.
9569 * remote.c (remote_trace_start): Add 'self' argument.
9570
583f9a86
TT
95712014-02-19 Tom Tromey <tromey@redhat.com>
9572
9573 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9574 Add argument.
9575 (target_trace_set_readonly_regions): Add argument.
9576 * target.c (update_current_target): Update.
9577 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9578 argument.
9579
780b049c
TT
95802014-02-19 Tom Tromey <tromey@redhat.com>
9581
9582 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9583 argument.
9584 (target_disable_tracepoint): Add argument.
9585 * target.c (update_current_target): Update.
9586 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9587
46670d57
TT
95882014-02-19 Tom Tromey <tromey@redhat.com>
9589
9590 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9591 argument.
9592 (target_enable_tracepoint): Add argument.
9593 * target.c (update_current_target): Update.
9594 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9595
559d2b81
TT
95962014-02-19 Tom Tromey <tromey@redhat.com>
9597
9598 * target.h (struct target_ops) <to_download_trace_state_variable>:
9599 Add argument.
9600 (target_download_trace_state_variable): Add argument.
9601 * target.c (update_current_target): Update.
9602 * remote.c (remote_download_trace_state_variable): Add 'self'
9603 argument.
9604
a52a8357
TT
96052014-02-19 Tom Tromey <tromey@redhat.com>
9606
9607 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9608 argument.
9609 (target_can_download_tracepoint): Add argument.
9610 * target.c (update_current_target): Update.
9611 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9612
548f7808
TT
96132014-02-19 Tom Tromey <tromey@redhat.com>
9614
9615 * target.h (struct target_ops) <to_download_tracepoint>: Add
9616 argument.
9617 (target_download_tracepoint): Add argument.
9618 * target.c (update_current_target): Update.
9619 * remote.c (remote_download_tracepoint): Add 'self' argument.
9620
ecae04e1
TT
96212014-02-19 Tom Tromey <tromey@redhat.com>
9622
9623 * target.h (struct target_ops) <to_trace_init>: Add argument.
9624 (target_trace_init): Add argument.
9625 * target.c (update_current_target): Update.
9626 * remote.c (remote_trace_init): Add 'self' argument.
9627
fab5aa7c
TT
96282014-02-19 Tom Tromey <tromey@redhat.com>
9629
9630 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9631 * target.c (target_fileio_readlink): Add argument.
9632 * remote.c (remote_hostio_readlink): Add 'self' argument.
9633 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9634
dbbca37d
TT
96352014-02-19 Tom Tromey <tromey@redhat.com>
9636
9637 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9638 * target.c (target_fileio_unlink): Add argument.
9639 * remote.c (remote_hostio_unlink): Add 'self' argument.
9640 (remote_file_delete): Update.
9641 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9642
df39ea25
TT
96432014-02-19 Tom Tromey <tromey@redhat.com>
9644
9645 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9646 * target.c (target_fileio_close): Add argument.
9647 * remote.c (remote_hostio_close): Add 'self' argument.
9648 (remote_hostio_close_cleanup): Update.
9649 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9650 Update.
9651 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9652
a3be983c
TT
96532014-02-19 Tom Tromey <tromey@redhat.com>
9654
9655 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9656 * target.c (target_fileio_pread): Add argument.
9657 * remote.c (remote_hostio_pread): Add 'self' argument.
9658 (remote_bfd_iovec_pread, remote_file_get): Update.
9659 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9660
0d866f62
TT
96612014-02-19 Tom Tromey <tromey@redhat.com>
9662
9663 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9664 * target.c (target_fileio_pwrite): Add argument.
9665 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9666 (remote_file_put): Update.
9667 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9668
cd897586
TT
96692014-02-19 Tom Tromey <tromey@redhat.com>
9670
9671 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9672 * target.c (target_fileio_open): Add argument.
9673 * remote.c (remote_hostio_open): Add 'self' argument.
9674 (remote_bfd_iovec_open): Add 'self' argument.
9675 (remote_file_put): Add 'self' argument.
9676 (remote_file_get): Add 'self' argument.
9677 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9678
78eff0ec
TT
96792014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9682 Add argument.
9683 (target_can_run_breakpoint_commands): Add argument.
9684 * target.c (update_current_target): Update.
9685 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9686 argument.
9687 (remote_insert_breakpoint): Add 'self' argument.
9688 (remote_insert_hw_breakpoint): Add 'self' argument.
9689 (remote_can_run_breakpoint_commands): Add 'self' argument.
9690
efcc2da7
TT
96912014-02-19 Tom Tromey <tromey@redhat.com>
9692
9693 * target.h (struct target_ops)
9694 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9695 (target_supports_evaluation_of_breakpoint_conditions): Add
9696 argument.
9697 * target.c (update_current_target): Update.
9698 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9699 argument.
9700 (remote_insert_breakpoint): Add 'self' argument.
9701 (remote_insert_hw_breakpoint): Add 'self' argument.
9702 (remote_supports_cond_breakpoints): Add 'self' argument.
9703
6de37a3a
TT
97042014-02-19 Tom Tromey <tromey@redhat.com>
9705
9706 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9707 argument.
9708 (target_supports_string_tracing): Add argument.
9709 * target.c (update_current_target): Update.
9710 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9711
2bfc0540
TT
97122014-02-19 Tom Tromey <tromey@redhat.com>
9713
9714 * target.h (struct target_ops)
9715 <to_supports_disable_randomization>: Add argument.
9716 * target.c (find_default_supports_disable_randomization): Add
9717 argument.
9718 (target_supports_disable_randomization): Add argument.
9719 (find_default_supports_disable_randomization): Add 'self'
9720 argument.
9721 * remote.c (extended_remote_supports_disable_randomization): Add
9722 'self' argument.
9723 (remote_supports_disable_randomization): Add 'self' argument.
9724 (extended_remote_create_inferior): Update.
9725 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9726 'self' argument.
9727
7d178d6a
TT
97282014-02-19 Tom Tromey <tromey@redhat.com>
9729
9730 * target.h (struct target_ops)
9731 <to_supports_enable_disable_tracepoint>: Add argument.
9732 (target_supports_enable_disable_tracepoint): Add argument.
9733 * target.c (update_current_target): Update.
9734 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9735 argument.
9736
86ce2668
TT
97372014-02-19 Tom Tromey <tromey@redhat.com>
9738
9739 * target.h (struct target_ops) <to_supports_multi_process>: Add
9740 argument.
9741 (target_supports_multi_process): Add argument.
9742 * target.c (update_current_target): Update.
9743 * remote.c (remote_supports_multi_process): Add 'self' argument.
9744 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9745 argument.
9746 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9747 argument.
9748
4c612759
TT
97492014-02-19 Tom Tromey <tromey@redhat.com>
9750
9751 * target.h (struct target_ops) <to_execution_direction>: Add
9752 argument.
9753 (target_execution_direction): Add argument.
9754 * target.c (default_execution_direction): Add 'self' argument.
9755 * record-full.c (record_full_execution_direction): Add 'self'
9756 argument.
9757
19db3e69
TT
97582014-02-19 Tom Tromey <tromey@redhat.com>
9759
9760 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9761 argument.
9762 (target_can_execute_reverse): Add argument.
9763 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9764 * record-full.c (record_full_can_execute_reverse): Add 'self'
9765 argument.
9766 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9767 argument.
9768
1e6b91a4
TT
97692014-02-19 Tom Tromey <tromey@redhat.com>
9770
9771 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9772 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9773 argument.
9774 (target_get_ada_task_ptid): Add argument.
9775 * target.c (update_current_target): Update.
9776 (default_get_ada_task_ptid): Add 'self' argument.
9777 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9778 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9779 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9780 argument.
9781 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9782 argument.
9783 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9784 argument.
9785 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9786 argument.
9787 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9788 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9789 argument.
9790
3c80fb48
TT
97912014-02-19 Tom Tromey <tromey@redhat.com>
9792
9793 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9794 (target_goto_bookmark): Add argument.
9795 * target.c (dummy_goto_bookmark): Add 'self' argument.
9796 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9797
dd0e2830
TT
97982014-02-19 Tom Tromey <tromey@redhat.com>
9799
9800 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9801 (target_get_bookmark): Add argument.
9802 * target.c (dummy_get_bookmark): Add 'self' argument.
9803 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9804
fc6691b2
TT
98052014-02-19 Tom Tromey <tromey@redhat.com>
9806
9807 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9808 argument.
9809 (target_make_corefile_notes): Add argument.
9810 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9811 * procfs.c (procfs_make_note_section): Add 'self' argument.
9812 (procfs_make_note_section): Add 'self' argument.
9813 (procfs_make_note_section): Add 'self' argument.
9814 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9815 argument.
9816 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9817 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9818 * exec.c (exec_make_note_section): Add 'self' argument.
9819 (exec_make_note_section): Add 'self' argument.
9820
2e73927c
TT
98212014-02-19 Tom Tromey <tromey@redhat.com>
9822
9823 * target.h (struct target_ops) <to_find_memory_regions>: Add
9824 argument.
9825 (target_find_memory_regions): Add argument.
9826 * target.c (dummy_find_memory_regions): Add 'self' argument.
9827 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9828 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9829 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9830 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9831 * exec. (exec_do_find_memory_regions): New global.
9832 (exec_set_find_memory_regions): Rewrite.
9833 (exec_find_memory_regions): New function.
9834 (init_exec_ops): Use exec_find_memory_regions.
9835
2a9a2795
TT
98362014-02-19 Tom Tromey <tromey@redhat.com>
9837
9838 * target.h (struct target_ops) <to_supports_non_stop>: Add
9839 argument.
9840 * target.c (find_default_supports_non_stop): Add argument.
9841 (target_supports_non_stop): Add argument.
9842 (find_default_supports_non_stop): Add 'self' argument.
9843 * remote.c (remote_supports_non_stop): Add 'self' argument.
9844 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9845
4ab76ea3
TT
98462014-02-19 Tom Tromey <tromey@redhat.com>
9847
9848 * target.h (struct target_ops) <to_log_command>: Add argument.
9849 (target_log_command): Add argument.
9850 * serial.h (serial_log_command): Add 'self' argument.
9851 * serial.c (serial_log_command): Add 'self' argument.
9852
8dd27370
TT
98532014-02-19 Tom Tromey <tromey@redhat.com>
9854
9855 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9856 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9857 argument.
9858 (target_pid_to_exec_file): Add argument.
9859 * target.c (debug_to_pid_to_exec_file): Add argument.
9860 (update_current_target): Update.
9861 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9862 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9863 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9864 (linux_handle_extended_wait): Update.
9865 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9866 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9867 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9868 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9869
1aac633b
TT
98702014-02-19 Tom Tromey <tromey@redhat.com>
9871
9872 * target.h (struct target_ops) <to_rcmd>: Add argument.
9873 (target_rcmd): Add argument.
9874 * target.c (debug_to_rcmd): Add argument.
9875 (update_current_target, do_monitor_command): Update.
9876 * remote.c (remote_rcmd): Add 'self' argument.
9877 * monitor.c (monitor_rcmd): Add 'self' argument.
9878
1eab8a48
TT
98792014-02-19 Tom Tromey <tromey@redhat.com>
9880
9881 * windows-nat.c (windows_stop): Add 'self' argument.
9882 * target.h (struct target_ops) <to_stop>: Add argument.
9883 * target.c (target_stop): Add argument.
9884 (debug_to_stop): Add argument.
9885 (update_current_target): Update.
9886 * remote.c (remote_stop): Add 'self' argument.
9887 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9888 (gdbsim_cntrl_c): Update.
9889 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9890 * procfs.c (procfs_stop): Add 'self' argument.
9891 * nto-procfs.c (procfs_stop): Add 'self' argument.
9892 * monitor.c (monitor_stop): Add 'self' argument.
9893 (monitor_open): Update.
9894 * linux-nat.c (linux_nat_stop): Add argument.
9895 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9896 * gnu-nat.c (gnu_stop): Add 'self' argument.
9897 * darwin-nat.c (darwin_stop): Add 'self' argument.
9898
503a628d
TT
98992014-02-19 Tom Tromey <tromey@redhat.com>
9900
9901 * target.h (struct target_ops) <to_thread_name>: Add argument.
9902 * target.c (target_thread_name): Add argument.
9903 (update_current_target): Update.
9904 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9905
c15906d8
TT
99062014-02-19 Tom Tromey <tromey@redhat.com>
9907
9908 * target.h (struct target_ops) <to_extra_thread_info>: Add
9909 argument.
9910 (target_extra_thread_info): Add argument.
9911 * target.c (update_current_target): Update.
9912 * remote.c (remote_threads_extra_info): Add 'self' argument.
9913 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9914 argument.
9915 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9916 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9917 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9918 argument.
9919 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9920 argument.
9921 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9922 argument.
9923 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9924 argument.
9925
daf5e9b6
TT
99262014-02-19 Tom Tromey <tromey@redhat.com>
9927
9928 * target.h (struct target_ops) <to_program_signals>: Add argument.
9929 * target.c (target_program_signals): Add argument.
9930 * remote.c (remote_program_signals): Add 'self' argument.
9931
94bedb42
TT
99322014-02-19 Tom Tromey <tromey@redhat.com>
9933
9934 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9935 * target.c (target_pass_signals): Add argument.
9936 * remote.c (remote_pass_signals): Add 'self' argument.
9937 (remote_start_remote): Update.
9938 * procfs.c (procfs_pass_signals): Add 'self' argument.
9939 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9940 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9941 (linux_nat_create_inferior, linux_nat_attach): Update.
9942
da82bd6b
TT
99432014-02-19 Tom Tromey <tromey@redhat.com>
9944
9945 * windows-nat.c (windows_can_run): Add 'self' argument.
9946 * target.h (struct target_ops) <to_can_run>: Add argument.
9947 (target_can_run): Add argument.
9948 * target.c (debug_to_can_run): Add argument.
9949 (update_current_target): Update.
9950 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9951 * inf-child.c (inf_child_can_run): Add 'self' argument.
9952 * go32-nat.c (go32_can_run): Add 'self' argument.
9953
d796e1d6
TT
99542014-02-19 Tom Tromey <tromey@redhat.com>
9955
9956 * target.h (struct target_ops) <to_has_exited>: Add argument.
9957 (target_has_exited): Add argument.
9958 * target.c (debug_to_has_exited): Add argument.
9959 (update_current_target): Update.
9960
ff214e67
TT
99612014-02-19 Tom Tromey <tromey@redhat.com>
9962
9963 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9964 argument.
9965 (target_set_syscall_catchpoint): Add argument.
9966 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9967 argument.
9968 * target.c (update_current_target): Update.
9969
758e29d2
TT
99702014-02-19 Tom Tromey <tromey@redhat.com>
9971
9972 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9973 argument.
9974 (target_remove_exec_catchpoint): Add argument.
9975 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9976 (update_current_target): Update.
9977 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9978 argument.
9979
ba025e51
TT
99802014-02-19 Tom Tromey <tromey@redhat.com>
9981
9982 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9983 argument.
9984 (target_insert_exec_catchpoint): Add argument.
9985 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9986 (update_current_target): Update.
9987 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9988 argument.
9989
e98cf0cd
TT
99902014-02-19 Tom Tromey <tromey@redhat.com>
9991
9992 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9993 argument.
9994 (target_remove_vfork_catchpoint): Add argument.
9995 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9996 (update_current_target): Update.
9997 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9998 argument.
9999
3ecc7da0
TT
100002014-02-19 Tom Tromey <tromey@redhat.com>
10001
10002 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10003 argument.
10004 (target_insert_vfork_catchpoint): Add argument.
10005 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10006 (update_current_target): Update.
10007 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10008 argument.
10009
973fc227
TT
100102014-02-19 Tom Tromey <tromey@redhat.com>
10011
10012 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10013 argument.
10014 (target_remove_fork_catchpoint): Add argument.
10015 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10016 (update_current_target): Update.
10017 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10018 argument.
10019
a863b201
TT
100202014-02-19 Tom Tromey <tromey@redhat.com>
10021
10022 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10023 argument.
10024 (target_insert_fork_catchpoint): Add argument.
10025 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10026 (update_current_target): Update.
10027 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10028 argument.
10029
2e97a79e
TT
100302014-02-19 Tom Tromey <tromey@redhat.com>
10031
10032 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10033 argument.
10034 (target_post_startup_inferior): Add argument.
10035 * target.c (debug_to_post_startup_inferior): Add argument.
10036 (update_current_target): Update.
10037 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10038 argument.
10039 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10040 argument.
10041 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10042 argument.
10043 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10044 argument.
10045 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10046 'self' argument.
10047 (super_post_startup_inferior): Likewise.
10048 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10049 'self' argument.
10050 (super_post_startup_inferior): Likewise.
10051 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10052 Add 'self' argument.
10053 (super_post_startup_inferior): Likewise.
10054
71a9f134
TT
100552014-02-19 Tom Tromey <tromey@redhat.com>
10056
10057 * target.h (struct target_ops) <to_load>: Add argument.
10058 * target.c (target_load): Add argument.
10059 (debug_to_load): Add argument.
10060 (update_current_target): Update.
10061 * remote.c (remote_load): Add 'self' argument.
10062 * remote-sim.c (gdbsim_load): Add 'self' argument.
10063 * remote-mips.c (mips_load): Add 'self' argument.
10064 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10065 * monitor.c (monitor_load): Add 'self' argument.
10066 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10067
0a4f40a2
TT
100682014-02-19 Tom Tromey <tromey@redhat.com>
10069
10070 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10071 (target_terminal_info): Add argument.
10072 * target.c (debug_to_terminal_info): Add argument.
10073 (default_terminal_info): Likewise.
10074 * inflow.c (child_terminal_info): Add 'self' argument.
10075 * inferior.h (child_terminal_info): Add 'self' argument.
10076 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10077
ae3bd431
TT
100782014-02-19 Tom Tromey <tromey@redhat.com>
10079
10080 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10081 argument.
10082 (target_terminal_save_ours): Add argument.
10083 * target.c (debug_to_terminal_save_ours): Add argument.
10084 (update_current_target): Update.
10085 * inflow.c (terminal_save_ours): Add 'self' argument.
10086 * inferior.h (terminal_save_ours): Add 'self' argument.
10087
e3594fd1
TT
100882014-02-19 Tom Tromey <tromey@redhat.com>
10089
10090 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10091 (target_terminal_ours): Add argument.
10092 * target.c (debug_to_terminal_ours): Add argument.
10093 (update_current_target): Update.
10094 * remote.c (remote_terminal_ours): Add 'self' argument.
10095 (remote_close): Update.
10096 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10097 * inflow.c (terminal_ours): Add 'self' argument.
10098 * inferior.h (terminal_ours): Add 'self' argument.
10099 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10100
2e1e1a19
TT
101012014-02-19 Pedro Alves <palves@redhat.com>
10102 Tom Tromey <tromey@redhat.com>
10103
10104 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10105 argument.
10106 (target_terminal_ours_for_output): Add argument.
10107 * target.c (debug_to_terminal_ours_for_output): Add argument.
10108 (update_current_target): Update.
10109 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10110 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10111 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10112
d2f640d4
TT
101132014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target.h (struct target_ops) <to_terminal_inferior>: Add
10116 argument.
10117 * target.c (target_terminal_inferior): Add argument.
10118 (update_current_target): Update.
10119 * remote.c (remote_terminal_inferior): Add 'self' argument.
10120 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
10121 * inflow.c (terminal_inferior): Add 'self' argument.
10122 * inferior.h (terminal_inferior): Add 'self' argument.
10123 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
10124 (go32_terminal_inferior): Add 'self' argument.
10125
c42bf286
TT
101262014-02-19 Tom Tromey <tromey@redhat.com>
10127
10128 * target.h (struct target_ops) <to_terminal_init>: Add argument.
10129 (target_terminal_init): Add argument.
10130 * target.c (debug_to_terminal_init): Add argument.
10131 (update_current_target): Update.
10132 * inflow.c (terminal_init_inferior): Add 'self' argument.
10133 * inferior.h (terminal_init_inferior): Add 'self' argument.
10134 * go32-nat.c (go32_terminal_init): Add 'self' argument.
10135 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
10136
c3a5ff89
TT
101372014-02-19 Tom Tromey <tromey@redhat.com>
10138
10139 * target.h (struct target_ops)
10140 <to_can_accel_watchpoint_condition>: Add argument.
10141 (target_can_accel_watchpoint_condition): Add argument.
10142 * target.c (debug_to_can_accel_watchpoint_condition): Add
10143 argument.
10144 (update_current_target): Update.
10145 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
10146 'self' argument.
10147
31568a15
TT
101482014-02-19 Tom Tromey <tromey@redhat.com>
10149
10150 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10151 Add argument.
10152 (target_region_ok_for_hw_watchpoint): Add argument.
10153 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
10154 (default_region_ok_for_hw_watchpoint): Add argument.
10155 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
10156 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
10157 argument.
10158 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
10159 argument.
10160 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
10161 argument.
10162 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
10163 'self' argument.
10164 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
10165 'self' argument.
10166 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
10167 'self' argument.
10168 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
10169 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
10170 'self' argument.
10171 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
10172 Add 'self' argument.
10173
7bb99c53
TT
101742014-02-19 Tom Tromey <tromey@redhat.com>
10175
10176 * target.h (struct target_ops) <to_insert_watchpoint>: Add
10177 argument.
10178 (target_insert_watchpoint): Add argument.
10179 * target.c (debug_to_insert_watchpoint): Add argument.
10180 (update_current_target): Update.
10181 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10182 * remote.c (remote_insert_watchpoint): Add 'self' argument.
10183 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10184 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10185 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10186 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10187 argument.
10188 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10189 (procfs_insert_hw_watchpoint): Add 'self' argument.
10190 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10191 argument.
10192 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10193 argument.
10194 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10195 argument.
10196 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10197 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10198 argument.
10199 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10200 'self' argument.
10201
11b5219a
TT
102022014-02-19 Tom Tromey <tromey@redhat.com>
10203
10204 * target.h (struct target_ops) <to_remove_watchpoint>: Add
10205 argument.
10206 (target_remove_watchpoint): Add argument.
10207 * target.c (debug_to_remove_watchpoint): Add argument.
10208 (update_current_target): Update.
10209 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10210 * remote.c (remote_remove_watchpoint): Add 'self' argument.
10211 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10212 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10213 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10214 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10215 argument.
10216 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10217 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10218 argument.
10219 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10220 argument.
10221 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10222 argument.
10223 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10224 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10225 argument.
10226 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10227 'self' argument.
10228
a64dc96c
TT
102292014-02-19 Tom Tromey <tromey@redhat.com>
10230
10231 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10232 argument.
10233 (target_remove_hw_breakpoint): Add argument.
10234 * target.c (debug_to_remove_hw_breakpoint): Add argument.
10235 (update_current_target): Update.
10236 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10237 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10238 argument.
10239 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10240 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10241 argument.
10242 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10243 'self' argument.
10244
23a26771
TT
102452014-02-19 Tom Tromey <tromey@redhat.com>
10246
10247 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10248 argument.
10249 (target_insert_hw_breakpoint): Add argument.
10250 * target.c (debug_to_insert_hw_breakpoint): Add argument.
10251 (update_current_target): Update.
10252 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10253 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10254 argument.
10255 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10256 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10257 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10258 argument.
10259 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10260 'self' argument.
10261
5461485a
TT
102622014-02-19 Tom Tromey <tromey@redhat.com>
10263
10264 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10265 argument.
10266 (target_can_use_hardware_watchpoint): Add argument.
10267 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10268 (update_current_target): Update.
10269 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10270 argument.
10271 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10272 argument.
10273 * remote.c (remote_check_watch_resources): Add 'self' argument.
10274 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10275 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10276 argument.
10277 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10278 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10279 argument.
10280 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10281 argument.
10282 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10283 argument.
10284 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10285 argument.
10286 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10287 argument.
10288 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10289 argument.
10290 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10291 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10292 argument.
10293 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10294 'self' argument.
10295
f045800c
TT
102962014-02-19 Tom Tromey <tromey@redhat.com>
10297
10298 * target.h (struct target_ops) <to_post_attach>: Add argument.
10299 (target_post_attach): Add argument.
10300 * target.c (debug_to_post_attach): Add argument.
10301 (update_current_target): Update.
10302 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10303 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10304 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10305 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10306 * inf-child.c (inf_child_post_attach): Add 'self' argument.
10307
de90e03d
TT
103082014-02-19 Tom Tromey <tromey@redhat.com>
10309
10310 * windows-nat.c (windows_close): Add 'self' argument.
10311 * tracepoint.c (tfile_close): Add 'self' argument.
10312 * target.h (struct target_ops) <to_close>: Add argument.
10313 * target.c (target_close): Add argument.
10314 (update_current_target): Update.
10315 * remote.c (remote_close): Add 'self' argument.
10316 * remote-sim.c (gdbsim_close): Add 'self' argument.
10317 * remote-mips.c (mips_close): Add 'self' argument.
10318 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10319 * record-full.c (record_full_close): Add 'self' argument.
10320 * record-btrace.c (record_btrace_close): Add 'self' argument.
10321 * monitor.h (monitor_close): Add 'self' argument.
10322 * monitor.c (monitor_close): Add 'self' argument.
10323 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10324 * linux-nat.c (linux_nat_close): Add argument.
10325 * go32-nat.c (go32_close): Add 'self' argument.
10326 * exec.c (exec_close_1): Add 'self' argument.
10327 * ctf.c (ctf_close): Add 'self' argument.
10328 * corelow.c (core_close): Add 'self' argument.
10329 (core_close_cleanup): Update.
10330 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10331 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10332
9dd130a0
TT
103332014-02-19 Tom Tromey <tromey@redhat.com>
10334
10335 * remote.c (remote_load): New function.
10336 (init_remote_ops): Use it.
10337
46917d26
TT
103382014-02-19 Tom Tromey <tromey@redhat.com>
10339
10340 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10341 argument.
10342 * common/linux-btrace.h (linux_supports_btrace): Update.
10343 * remote.c (remote_supports_btrace): Add "self" argument.
10344 * target-delegates.c: Rebuild.
10345 * target.c (target_supports_btrace): Remove.
10346 * target.h (struct target_ops) <to_supports_btrace>: Add
10347 target_ops argument.
10348 (target_supports_btrace): New define.
10349
6b84065d
TT
103502014-02-19 Tom Tromey <tromey@redhat.com>
10351
10352 * record-full.c (record_full_beneath_to_resume_ops)
10353 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10354 (record_full_beneath_to_wait)
10355 (record_full_beneath_to_store_registers_ops)
10356 (record_full_beneath_to_store_registers)
10357 (record_full_beneath_to_xfer_partial_ops)
10358 (record_full_beneath_to_xfer_partial)
10359 (record_full_beneath_to_insert_breakpoint_ops)
10360 (record_full_beneath_to_insert_breakpoint)
10361 (record_full_beneath_to_remove_breakpoint_ops)
10362 (record_full_beneath_to_remove_breakpoint)
10363 (record_full_beneath_to_stopped_by_watchpoint)
10364 (record_full_beneath_to_stopped_data_address)
10365 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10366 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10367 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10368 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10369 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10370 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10371 (tmp_to_stopped_data_address, tmp_to_async): Remove.
10372 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
10373 (record_full_resume, record_full_wait_1)
10374 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10375 (record_full_store_registers, record_full_xfer_partial)
10376 (record_full_insert_breakpoint, record_full_remove_breakpoint)
10377 (record_full_async, record_full_core_xfer_partial): Use target
10378 delegation.
10379 * target-delegates.c: Rebuild.
10380 * target.c (current_xfer_partial): Remove.
10381 (update_current_target): Do not INHERIT or de_fault
10382 to_insert_breakpoint, to_remove_breakpoint,
10383 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10384 to_is_async_p, to_async. Do not set to_xfer_partial field.
10385 (default_xfer_partial): Simplify.
10386 (current_xfer_partial): Remove.
10387 (target_wait, target_resume): Simplify.
10388 (find_default_can_async_p, find_default_is_async_p): Update.
10389 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10390 to_xfer_partial, to_stopped_by_watchpoint,
10391 to_stopped_data_address.
10392 (target_store_registers): Simplify.
10393 (forward_target_remove_breakpoint)
10394 (forward_target_insert_breakpoint): Remove.
10395 (target_remove_breakpoint, target_insert_breakpoint)
10396 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10397 * target.h (struct target_ops) <to_resume, to_wait,
10398 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10399 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10400 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10401 markup.
10402 (forward_target_remove_breakpoint)
10403 (forward_target_insert_breakpoint): Remove.
10404 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10405 directly.
10406 (record_btrace_insert_breakpoint): Delegate directly.
10407
1101cb7b
TT
104082014-02-19 Tom Tromey <tromey@redhat.com>
10409
10410 PR build/7701:
10411 * target-delegates.c: New file.
10412 * target.c: Include target-delegates.c.
10413 (init_dummy_target): Call install_dummy_methods.
10414 (complete_target_initialization): Call install_delegators.
10415 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10416 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10417 * make-target-delegates: New file.
10418
8b06beed
TT
104192014-02-19 Tom Tromey <tromey@redhat.com>
10420
10421 * record.c (find_record_target): Use find_target_at.
10422 * target.c (find_target_at): New function.
10423 * target.h (find_target_at): Declare.
10424
6a109b6b
TT
104252014-02-19 Tom Tromey <tromey@redhat.com>
10426
10427 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10428 Add 'ops' argument.
10429 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10430 'ops' argument.
10431 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10432 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10433 'ops' argument.
10434 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10435 argument.
10436 * linux-nat.c (save_sigtrap): Update.
10437 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10438 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10439 (linux_nat_close): Update.
10440 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10441 argument.
10442 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10443 argument.
10444 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10445 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10446 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10447 (tmp_to_async): Add 'ops' argument.
10448 (record_full_stopped_by_watchpoint, record_full_async)
10449 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10450 argument.
10451 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10452 (m32r_stopped_by_watchpoint): Add 'ops' argument.
10453 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10454 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10455 (remote_is_async_p, remote_async): Add 'ops' argument.
10456 (remote_stopped_data_address): Update.
10457 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10458 * target.c (update_current_target)
10459 (find_default_can_async_p, find_default_is_async_p): Update.
10460 (init_dummy_target): Update.
10461 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10462 * target.h (struct target_ops) <to_stopped_by_watchpoint,
10463 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10464 (target_can_async_p, target_is_async_p, target_async)
10465 (target_stopped_by_watchpoint): Update.
10466
e095146b
YQ
104672014-02-19 Yao Qi <yao@codesourcery.com>
10468
10469 PR gdb/16220
10470 * gdbarch.sh: Remove startup_gdbarch.
10471 * gdbarch.c: Regenerated.
10472 * gdbarch.h: Likewise.
10473
bc3c6b36
KB
104742014-02-17 Kevin Buettner <kevinb@redhat.com>
10475
10476 * rl78-tdep.c (rl78_g10_register_name): New function.
10477 (rl78_return_value): Add g10 support.
10478 (rl78_gdbarch_init): Register rl78_g10_register_name for the
10479 g10.
10480
98dc0167 104812014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
10482
10483 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10484 (SUBDIR_GUILE_SRCS): Ditto.
10485 (scm-gsmob.o): Ditto.
10486
842c05cd
YQ
104872014-02-17 Yao Qi <yao@codesourcery.com>
10488
10489 * gnu-nat.c (ILL_RPC): Declare defined function.
10490
25c0bd04
YQ
104912014-02-17 Yao Qi <yao@codesourcery.com>
10492
10493 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10494 mach_msg_type_number_t.
10495 (gnu_write_inferior): Likewise.
10496
a9a758e3
YQ
104972014-02-17 Yao Qi <yao@codesourcery.com>
10498
10499 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10500 in format string.
10501 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10502 (inf_validate_procs, inf_signal): Likewise.
10503 (S_exception_raise_request): Likewise.
10504 (do_mach_notify_dead_name): Likewise.
10505 (steal_exc_port): Likewise.
10506 (gnu_read_inferior): Change 'copy_count''s type to
10507 mach_msg_type_number_t.
10508 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10509 format string.
10510
bae8023e
TS
105112014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10512
c82f56d9
TS
10513 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10514 flag. Adjust all users; in particular...
10515 (gnu_wait): ..., don't decrement its value in here...
10516 (gnu_create_inferior): ..., and instead set the flag in here,
10517 around the startup_inferior call, and call that one with
10518 START_INFERIOR_TRAPS_EXPECTED.
10519
3398af6a
TS
10520 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10521 (ILL_RPC): ... new macro.
10522 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10523 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10524 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10525 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10526 functions with ILL_RPC macro.
10527 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10528 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10529 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10530 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10531 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10532 (S_proc_getlogin_reply, S_proc_getsid_reply)
10533 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10534 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10535 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10536 (S_proc_getnports_reply, S_proc_is_important_reply)
10537 (S_proc_get_code_reply): New stub functions, generated with
10538 ILL_RPC macro.
10539
d47642c9
TS
10540 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10541 collected the type check structures.
10542
bae8023e
TS
10543 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10544
8a55ffb0
DE
105452014-02-14 Doug Evans <dje@google.com>
10546
10547 * target.c (target_write_partial): Fix result type.
10548
c2853f3d
JM
105492014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10550
10551 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10552 the proper offsets to access fpregset_t.
10553
ac61d2db
SA
105542014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10555
10556 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10557 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10558 * h8300-tdep.c (setmachinelist): Remove global.
10559 * hppa-tdep.c (hppa_sigtramp): Remove global.
10560 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10561 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10562 * ravenscar-thread.c (update_target_observer): Remove global.
10563 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10564
9d2d0b8b
TT
105652014-02-12 Tom Tromey <tromey@redhat.com>
10566
10567 * common/rsp-low.c: Update comments.
10568 * common/rsp-low.h: Update comments.
10569
a7191e8b
TT
105702014-02-12 Tom Tromey <tromey@redhat.com>
10571
10572 * common/rsp-low.c (convert_ascii_to_int): Remove.
10573 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10574
ff0e980e
TT
105752014-02-12 Tom Tromey <tromey@redhat.com>
10576
10577 * common/rsp-low.h (unhexify): Don't declare.
10578 * common/rsp-low.c (unhexify): Remove.
10579
e9371aff
TT
105802014-02-12 Tom Tromey <tromey@redhat.com>
10581
10582 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10583 * common/rsp-low.c (convert_int_to_ascii): Remove.
10584
971dc0b8
TT
105852014-02-12 Tom Tromey <tromey@redhat.com>
10586
10587 * common/rsp-low.h (hexify): Don't declare.
10588 * common/rsp-low.c (hexify): Remove.
10589
0a822afb
TT
105902014-02-12 Tom Tromey <tromey@redhat.com>
10591
10592 * common/rsp-low.c (hexify): Never take strlen of argument.
10593
9f1b45b0
TT
105942014-02-12 Tom Tromey <tromey@redhat.com>
10595
10596 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10597 * remote.c (extended_remote_run, remote_rcmd)
10598 (remote_download_trace_state_variable, remote_save_trace_data)
10599 (remote_set_trace_notes): Update.
10600 * tracepoint.c (encode_source_string, tfile_write_status)
10601 (tfile_write_uploaded_tsv): Update.
10602
9c3d6531
TT
106032014-02-12 Tom Tromey <tromey@redhat.com>
10604
10605 * tracepoint.c: Include rsp-low.h.
10606 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10607 * remote.c: Include rsp-low.h.
10608 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10609 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10610 (remote_unescape_input): Move to common/rsp-low.c.
10611 * common/rsp-low.h: New file.
10612 * common/rsp-low.c: New file.
10613 * Makefile.in (SFILES): Add common/rsp-low.c.
10614 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10615 (COMMON_OBS): Add rsp-low.o.
10616 (rsp-low.o): New target.
10617
01fd3ea5
TT
106182014-02-12 Tom Tromey <tromey@redhat.com>
10619
10620 * utils.h: Include print-utils.h.
10621 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10622 (int_string, core_addr_to_string, core_addr_to_string_nz)
10623 (hex_string, hex_string_custom): Don't declare.
10624 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10625 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10626 (hex_string_custom, int_string, core_addr_to_string)
10627 (core_addr_to_string_nz, host_address_to_string): Move to
10628 common/print-utils.c.
10629 * common/print-utils.h: New file.
10630 * common/print-utils.c: New file
10631 * Makefile.in (SFILES): Add common/print-utils.c.
10632 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10633 (COMMON_OBS): Add print-utils.o.
10634 (print-utils.o): New target.
10635
9fb50108
TT
106362014-02-12 Tom Tromey <tromey@redhat.com>
10637
10638 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10639
0548b5db
MK
106402014-02-12 Mark Kettenis <kettenis@gnu.org>
10641
10642 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10643
493443a4
MK
106442014-02-12 Mark Kettenis <kettenis@gnu.org>
10645
10646 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10647 if a PT_IO ptrace request returns sucessfully but indicates that 0
10648 bytes were transferred.
10649
706d0883
PA
106502014-02-12 Pedro Alves <palves@redhat.com>
10651 Kevin Buettner <kevinb@redhat.com>
10652
10653 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10654 TYPE_INSTANCE_FLAG_CODE_SPACE.
10655
5caa2f0b
PA
106562014-02-12 Pedro Alves <palves@redhat.com>
10657
10658 * h8300-tdep.c (pseudo_from_raw_register)
10659 (raw_from_pseudo_register): New functions.
10660 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10661 them.
10662
76fd5f74
PA
106632014-02-12 Pedro Alves <palves@redhat.com>
10664
10665 * h8300-tdep.c (h8300_register_sim_regno): New function.
10666 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10667 gdbarch_register_sim_regno hook.
10668
8f008406
SA
106692014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10670
10671 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10672
195abc10
SA
106732014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10674
10675 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10676
93ffa5b9
MK
106772014-02-12 Mark Kettenis <kettenis@gnu.org>
10678
10679 * obsd-tdep.h (obsd_init_abi): New prototype.
10680 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10681 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10682 (obsd_init_abi): New functions.
10683 * i386obsd-tdep.c: Include "obsd-tdep.h".
10684 (i386obsd_init_abi): Call obsd_init_abi.
10685 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10686 (amd64obsd_init_abi): Call obsd_init_abi.
10687 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10688 obsd-tdep.c to gdb_target_obs.
10689
49caec94
JM
106902014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10691
10692 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10693 double float arguments to 16-byte in the argument slots.
10694
e1402065
DE
106952014-02-11 Doug Evans <xdje42@gmail.com>
10696
10697 * configure.ac: Don't crash if pkg-config is not found and guile
10698 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10699 in guile checks.
10700 * configure: Regenerate.
10701
edcc890f
YQ
107022014-02-11 Yao Qi <yao@codesourcery.com>
10703
10704 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10705 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10706 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10707 * gnu-nat.c (gnu_xfer_memory): Likewise.
10708 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10709 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10710 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10711 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10712
9b409511
YQ
107132014-02-11 Yao Qi <yao@codesourcery.com>
10714
10715 * target.h (enum target_xfer_error): Rename to ...
10716 (enum target_xfer_status): ... it. New. All users updated.
10717 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10718 New.
10719 (TARGET_XFER_STATUS_ERROR_P): New macro.
10720 (target_xfer_error_to_string): Remove declaration.
10721 (target_xfer_status_to_string): Declare.
10722 (target_xfer_partial_ftype): Adjust it.
10723 (struct target_ops) <to_xfer_partial>: Return
10724 target_xfer_status. Add argument xfered_len. Update
10725 comments.
10726 * target.c (target_xfer_error_to_string): Rename to ...
10727 (target_xfer_status_to_string): ... it. New. All callers
10728 updated.
10729 (target_read_live_memory): Likewise. Call target_xfer_partial
10730 instead of target_read.
10731 (memory_xfer_live_readonly_partial): Return
10732 target_xfer_status. Add argument xfered_len.
10733 (raw_memory_xfer_partial): Likewise.
10734 (memory_xfer_partial_1): Likewise.
10735 (memory_xfer_partial): Likewise.
10736 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10737 properly. Update debug message.
10738 (default_xfer_partial, current_xfer_partial): Likewise.
10739 (target_write_partial): Likewise.
10740 (target_read_partial): Likewise. All callers updated.
10741 (read_whatever_is_readable): Likewise.
10742 (target_write_with_progress): Likewise.
10743 (target_read_alloc_1): Likewise.
10744
10745 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10746 * auxv.c (procfs_xfer_auxv): Likewise.
10747 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10748 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10749 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10750 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10751 * corefile.c (read_memory): Adjust.
10752 * corelow.c (core_xfer_partial): Likewise.
10753 * ctf.c (ctf_xfer_partial): Likewise.
10754 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10755 updated.
10756 (darwin_xfer_partial): Likewise.
10757 * exec.c (section_table_xfer_memory_partial): Likewise. All
10758 callers updated.
10759 (exec_xfer_partial): Likewise.
10760 * exec.h (section_table_xfer_memory_partial): Update
10761 declaration.
10762 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10763 negative.
10764 (gnu_xfer_partial): Likewise.
10765 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10766 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10767 (ia64_hpux_xfer_solib_got): Likewise.
10768 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10769 type of 'partial_len' to ULONGEST.
10770 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10771 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10772 (linux_nat_xfer_partial): Likewise.
10773 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10774 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10775 * monitor.c (monitor_xfer_memory): Likewise.
10776 (monitor_xfer_partial): Likewise.
10777 * procfs.c (procfs_xfer_partial): Likewise.
10778 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10779 * record-full.c (record_full_xfer_partial): Likewise.
10780 (record_full_core_xfer_partial): Likewise.
10781 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10782 (gdbsim_xfer_partial): Likewise.
10783 * remote.c (remote_write_bytes_aux): Likewise. All callers
10784 updated.
10785 (remote_write_bytes, remote_read_bytes): Likewise. All
10786 callers updated.
10787 (remote_flash_erase): Likewise. All callers updated.
10788 (remote_write_qxfer): Likewise. All callers updated.
10789 (remote_read_qxfer): Likewise. All callers updated.
10790 (remote_xfer_partial): Likewise.
10791 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10792 (rs6000_xfer_shared_libraries): Likewise.
10793 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10794 (sol_thread_xfer_partial): Likewise.
10795 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10796 (sparc_xfer_partial): Likewise.
10797 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10798 updated.
10799 (spu_xfer_partial): Likewise.
10800 * spu-multiarch.c (spu_xfer_partial): Likewise.
10801 * tracepoint.c (tfile_xfer_partial): Likewise.
10802 * windows-nat.c (windows_xfer_memory): Likewise.
10803 (windows_xfer_shared_libraries): Likewise.
10804 (windows_xfer_partial): Likewise.
10805 * valprint.c: Replace 'target_xfer_error' with
10806 'target_xfer_status' in comments.
10807
a8e63083
JB
108082014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10809
10810 Checked in by Joel Brobecker <brobecker@adacore.com>.
10811 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10812
e86b67d3
JB
108132014-02-11 Joel Brobecker <brobecker@adacore.com>
10814
10815 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10816 function parameters.
10817
4b7d1f7f
WN
108182014-02-10 Will Newton <will.newton@linaro.org>
10819
10820 * elfread.c (elf_rel_plt_read): Look for a .got section if
10821 looking up .got.plt fails.
10822 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10823 on address passed to elf_gnu_ifunc_record_cache.
10824 (elf_gnu_ifunc_resolve_addr): Likewise.
10825 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10826
961842b2
JM
108272014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10828
10829 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10830 (X_RETTURN): New macro.
10831 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10832
10833 * sparc64-tdep.c (sparc64_init_abi): Hook
10834 sparc_in_function_epilogue_p.
10835
3f03e7b1
GB
108362014-02-10 Gary Benson <gbenson@redhat.com>
10837
10838 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10839 Rename name_matcher to symbol_matcher.
10840
96f861ef
GB
108412014-02-10 Gary Benson <gbenson@redhat.com>
10842
10843 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10844 Use expand_symtabs_file_matcher_ftype and
10845 expand_symtabs_symbol_matcher_ftype.
10846
ee01b665
JB
108472014-02-10 Joel Brobecker <brobecker@adacore.com>
10848
10849 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10850 (struct ada_symbol_cache): New.
10851 (ada_free_symbol_cache): Forward declare.
10852 (struct ada_pspace_data): New.
10853 (ada_pspace_data_handle): New static global.
10854 (get_ada_pspace_data, ada_pspace_data_cleanup)
10855 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10856 (cache_space, cache): Delete, now folded inside struct
10857 ada_pspace_data.
10858 (ada_get_symbol_cache): New function.
10859 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10860 implementation.
10861 (_initialize_ada_language): Remove initialization of cache_space.
10862 Move call to observer_attach_inferior_exit up, grouping it
10863 with the other observer registrations inside this function.
10864 Rename command to be more general. Add call to
10865 register_program_space_data_with_cleanup.
10866
143adbbf
JB
108672014-02-10 Joel Brobecker <brobecker@adacore.com>
10868
10869 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10870 ada_new_objfile_observer.
10871 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10872 (_initialize_tasks): Update uses of ada_new_objfile_observer
10873 and ada_tasks_normal_stop_observer.
10874
aa4fb036
JB
108752014-02-10 Joel Brobecker <brobecker@adacore.com>
10876
10877 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10878 returned by the 'Length attribute to integer.
10879
9dee8cc6
JB
108802014-02-10 Joel Brobecker <brobecker@adacore.com>
10881
10882 * ada-lang.c (_initialize_ada_language): Initialize
10883 cache_space obstack.
10884
3d9434b5
JB
108852014-02-10 Joel Brobecker <brobecker@adacore.com>
10886
10887 * ada-lang.c (HASH_SIZE): New macro.
10888 (struct cache_entry): New type.
10889 (cache_space, cache): New static globals.
10890 (ada_clear_symbol_cache, find_entry): New functions.
10891 (lookup_cached_symbol, cache_symbol): Implement.
10892 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10893 (_initialize_ada_language): Attach ada_new_objfile_observer
10894 and ada_free_objfile_observer.
10895
f0c5f9b2
JB
108962014-02-10 Joel Brobecker <brobecker@adacore.com>
10897
10898 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10899 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10900 struct block * parameter.
10901 (ada_lookup_symbol_list_worker): Constify local variable "block".
10902 Remove cast which is no longer necessary.
10903
ed3ef339
DE
109042014-02-10 Doug Evans <xdje42@gmail.com>
10905
10906 Add Guile as an extension language.
10907 * NEWS: Mention Guile scripting.
10908 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10909 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10910 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10911 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10912 (CLIBS): Add GUILE_LIBS.
10913 (install-guile): New rule.
10914 (guile.o): New rule.
10915 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10916 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10917 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10918 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10919 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10920 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10921 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10922 * configure.ac: New option --with-guile.
10923 * configure: Regenerate.
10924 * config.in: Regenerate.
10925 * auto-load.c: Remove #include "python/python.h". Add #include
10926 "gdb/section-scripts.h".
10927 (source_section_scripts): Handle Guile scripts.
10928 (_initialize_auto_load): Add name of Guile objfile script to
10929 scripts-directory help text.
10930 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10931 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10932 (struct breakpoint): New member scm_bp_object.
10933 * defs.h (enum command_control_type): New value guile_control.
10934 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10935 "extension.h".
10936 (show_user): Update comment.
10937 (_initialize_cli_cmds): Update help text for "show user". Update help
10938 text for max-user-call-depth.
10939 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10940 "extension.h".
10941 (multi_line_command_p): Add guile_control.
10942 (print_command_lines): Handle guile_control.
10943 (execute_control_command, recurse_read_control_structure): Ditto.
10944 (process_next_line): Recognize "guile" commands.
10945 * disasm.c (gdb_disassemble_info): Make non-static.
10946 * disasm.h: #include "dis-asm.h".
10947 (struct gdbarch): Add forward decl.
10948 (gdb_disassemble_info): Declare.
10949 * extension.c: #include "guile/guile.h".
10950 (extension_languages): Add guile.
10951 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10952 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10953 * gdbtypes.c (get_unsigned_type_max): New function.
10954 (get_signed_type_minmax): New function.
10955 * gdbtypes.h (get_unsigned_type_max): Declare.
10956 (get_signed_type_minmax): Declare.
10957 * guile/README: New file.
10958 * guile/guile-internal.h: New file.
10959 * guile/guile.c: New file.
10960 * guile/guile.h: New file.
10961 * guile/scm-arch.c: New file.
10962 * guile/scm-auto-load.c: New file.
10963 * guile/scm-block.c: New file.
10964 * guile/scm-breakpoint.c: New file.
10965 * guile/scm-disasm.c: New file.
10966 * guile/scm-exception.c: New file.
10967 * guile/scm-frame.c: New file.
10968 * guile/scm-gsmob.c: New file.
10969 * guile/scm-iterator.c: New file.
10970 * guile/scm-lazy-string.c: New file.
10971 * guile/scm-math.c: New file.
10972 * guile/scm-objfile.c: New file.
10973 * guile/scm-ports.c: New file.
10974 * guile/scm-pretty-print.c: New file.
10975 * guile/scm-safe-call.c: New file.
10976 * guile/scm-string.c: New file.
10977 * guile/scm-symbol.c: New file.
10978 * guile/scm-symtab.c: New file.
10979 * guile/scm-type.c: New file.
10980 * guile/scm-utils.c: New file.
10981 * guile/scm-value.c: New file.
10982 * guile/lib/gdb.scm: New file.
10983 * guile/lib/gdb/boot.scm: New file.
10984 * guile/lib/gdb/experimental.scm: New file.
10985 * guile/lib/gdb/init.scm: New file.
10986 * guile/lib/gdb/iterator.scm: New file.
10987 * guile/lib/gdb/printing.scm: New file.
10988 * guile/lib/gdb/types.scm: New file.
10989 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10990 (VPATH): Add $(GUILE_SRCDIR).
10991 (GUILE_DIR): New variable.
10992 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10993 (all): Add stamp-guile dependency.
10994 (stamp-guile): New rule.
10995 (clean-guile, install-guile, uninstall-guile): New rules.
10996 (install-only): Add install-guile dependency.
10997 (uninstall): Add uninstall-guile dependency.
10998 (clean): Add clean-guile dependency.
10999
ac020ec5
DE
110002014-02-09 Doug Evans <xdje42@gmail.com>
11001
11002 Revert this patch (which I approved, mea culpa).
11003
11004 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11005
11006 * Makefile.in (all-lib): Remove.
11007 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11008
2a081c59
JK
110092014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11010
11011 Fix Python stack corruption.
11012 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11013 gdb_py_longest.
11014
0a6bd22d
MK
110152014-02-08 Mark Kettenis <kettenis@gnu.org>
11016
11017 * Makefile.in (all-lib): Remove.
11018 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11019
1a860409
DE
110202014-02-07 Doug Evans <dje@google.com>
11021
11022 * extension-priv.h (extension_language_script_ops): Add comment.
11023 (extension_language_ops): Add comment.
caf5a491 11024 (active_ext_lang_state): Fix typo in comment.
1a860409 11025
d137e6dc
PA
110262014-02-07 Pedro Alves <palves@redhat.com>
11027
0dcb32c3 11028 PR breakpoints/16292
d137e6dc
PA
11029 * infrun.c (handle_signal_stop) <signal arrives while stepping
11030 over a breakpoint>: Switch back to the stepping thread.
11031
ce6d0892
YQ
110322014-02-07 Yao Qi <yao@codesourcery.com>
11033
11034 * target.c (target_xfer_partial): Return zero if LEN is zero.
11035
2ed4b548
YQ
110362014-02-07 Yao Qi <yao@codesourcery.com>
11037
11038 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11039 (ld_so_xfer_auxv): Likewise.
11040 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11041 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11042 * corelow.c (core_xfer_partial): Likewise.
11043 * ctf.c (ctf_xfer_partial): Likewise.
11044 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11045 (darwin_xfer_partial): Likewise.
11046 * exec.c (exec_xfer_partial): Likewise.
11047 * gnu-nat.c (gnu_xfer_partial): Likewise.
11048 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11049 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11050 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11051 * linux-nat.c (linux_xfer_siginfo): Likewise.
11052 (linux_proc_xfer_spu): Likewise.
11053 * procfs.c (procfs_xfer_partial): Likewise.
11054 * record-full.c (record_full_xfer_partial): Likewise.
11055 (record_full_core_xfer_partial): Likewise.
11056 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11057 * remote.c (remote_write_qxfer): Likewise.
11058 (remote_write_qxfer, remote_read_qxfer): Likewise.
11059 (remote_xfer_partial): Likewise.
11060 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11061 (rs6000_xfer_shared_libraries): Likewise.
11062 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11063 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11064 (spu_xfer_partial): Likewise.
11065 * target.c (memory_xfer_partial_1): Likewise.
11066 * tracepoint.c (tfile_xfer_partial): Likewise.
11067 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11068 (windows_xfer_partial): Likewise.
11069
c09f20e4
YQ
110702014-02-07 Yao Qi <yao@codesourcery.com>
11071
11072 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11073 comments.
11074 (core_xfer_shared_libraries_aix): Likewise.
11075 * gdbarch.c, gdbarch.h: Regenerated.
11076 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11077 ULONGEST. Change 'len_avail' type to ULONGEST.
11078 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11079 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11080 declaration.
11081 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11082
8635b3bf
YQ
110832014-02-07 Yao Qi <yao@codesourcery.com>
11084
11085 * corefile.c (memory_error): Get 'exception' from ERR and pass
11086 'exception' to throw_error.
11087
6dddc817
DE
110882014-02-06 Doug Evans <xdje42@gmail.com>
11089
11090 * configure.ac (libpython checking): Remove all but python.o from
11091 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11092 * configure: Regenerate.
11093
11094 * Makefile.in (SFILES): Add extension.c.
11095 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11096 (COMMON_OBS): Add extension.o.
11097 * extension.h: New file.
11098 * extension-priv.h: New file.
11099 * extension.c: New file.
11100
11101 * python/python-internal.h: #include "extension.h".
11102 (gdbpy_auto_load_enabled): Declare.
11103 (gdbpy_apply_val_pretty_printer): Declare.
11104 (gdbpy_apply_frame_filter): Declare.
11105 (gdbpy_preserve_values): Declare.
11106 (gdbpy_breakpoint_cond_says_stop): Declare.
11107 (gdbpy_breakpoint_has_cond): Declare.
11108 (void source_python_script_for_objfile): Delete.
11109 * python/python.c: #include "extension-priv.h".
11110 Delete inclusion of "observer.h".
11111 (extension_language_python): Moved here and renamed from
11112 script_language_python in py-auto-load.c.
11113 Redefined to be of type extension_language_defn.
11114 (python_extension_script_ops): New global.
11115 (python_extension_ops): New global.
11116 (struct python_env): New member previous_active.
11117 (restore_python_env): Call restore_active_ext_lang.
11118 (ensure_python_env): Call set_active_ext_lang.
11119 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11120 New arg extlang.
11121 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
11122 New arg extlang.
11123 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
11124 New arg extlang.
11125 (gdbpy_eval_from_control_command): Renamed from
11126 eval_python_from_control_command, made static. New arg extlang.
11127 (gdbpy_source_script) Renamed from source_python_script, made static.
11128 New arg extlang.
11129 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
11130 result to int. New arg extlang.
11131 (gdbpy_source_objfile_script): Renamed from
11132 source_python_script_for_objfile, made static. New arg extlang.
11133 (gdbpy_start_type_printers): Renamed from start_type_printers, made
11134 static. New args extlang, extlang_printers. Change result type to
11135 "void".
11136 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
11137 static. New arg extlang. Rename arg printers to extlang_printers
11138 and change type to ext_lang_type_printers *.
11139 (gdbpy_free_type_printers): Renamed from free_type_printers, made
11140 static. Replace argument arg with extlang, extlang_printers.
11141 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
11142 (!HAVE_PYTHON, source_python_script): Delete.
11143 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
11144 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
11145 (!HAVE_PYTHON, start_type_printers): Delete.
11146 (!HAVE_PYTHON, apply_type_printers): Delete.
11147 (!HAVE_PYTHON, free_type_printers): Delete.
11148 (_initialize_python): Delete call to observer_attach_before_prompt.
11149 (finalize_python): Set/restore active extension language.
11150 (gdbpy_finish_initialization) Renamed from
11151 finish_python_initialization, made static. New arg extlang.
11152 (gdbpy_initialized): New function.
11153 * python/python.h: #include "extension.h". Delete #include
11154 "value.h", "mi/mi-cmds.h".
11155 (extension_language_python): Declare.
11156 (GDBPY_AUTO_FILE_NAME): Delete.
11157 (enum py_bt_status): Moved to extension.h and renamed to
11158 ext_lang_bt_status.
11159 (enum frame_filter_flags): Moved to extension.h.
11160 (enum py_frame_args): Moved to extension.h and renamed to
11161 ext_lang_frame_args.
11162 (finish_python_initialization): Delete.
11163 (eval_python_from_control_command): Delete.
11164 (source_python_script): Delete.
11165 (apply_val_pretty_printer): Delete.
11166 (apply_frame_filter): Delete.
11167 (preserve_python_values): Delete.
11168 (gdbpy_script_language_defn): Delete.
11169 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
11170 (start_type_printers, apply_type_printers, free_type_printers): Delete.
11171
11172 * auto-load.c: #include "extension.h".
11173 (GDB_AUTO_FILE_NAME): Delete.
11174 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
11175 (script_language_gdb): Delete, moved to extension.c and renamed to
11176 extension_language_gdb.
11177 (source_gdb_script_for_objfile): Delete.
11178 (auto_load_pspace_info): New member unsupported_script_warning_printed.
11179 (loaded_script): Change type of language member to
11180 struct extension_language_defn *.
11181 (init_loaded_scripts_info): Initialize
11182 unsupported_script_warning_printed.
11183 (maybe_add_script): Make static. Change type of language arg to
11184 struct extension_language_defn *.
11185 (clear_section_scripts): Reset unsupported_script_warning_printed.
11186 (auto_load_objfile_script_1): Rewrite to use extension language API.
11187 (auto_load_objfile_script): Make public. Remove support-compiled-in
11188 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11189 (source_section_scripts): Rewrite to use extension language API.
11190 (load_auto_scripts_for_objfile): Rewrite to use
11191 auto_load_scripts_for_objfile.
11192 (collect_matching_scripts_data): Change type of language member to
11193 struct extension_language_defn *.
11194 (auto_load_info_scripts): Change type of language arg to
11195 struct extension_language_defn *.
11196 (unsupported_script_warning_print): New function.
11197 (script_not_found_warning_print): Make static.
11198 (_initialize_auto_load): Rewrite construction of scripts-directory
11199 help.
11200 * auto-load.h (struct objfile): Add forward decl.
11201 (struct script_language): Delete.
11202 (struct auto_load_pspace_info): Add forward decl.
11203 (struct extension_language_defn): Add forward decl.
11204 (maybe_add_script): Delete.
11205 (auto_load_objfile_script): Declare.
11206 (script_not_found_warning_print): Delete.
11207 (auto_load_info_scripts): Update prototype.
11208 (auto_load_gdb_scripts_enabled): Declare.
11209 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11210 auto_load_python_scripts_enabled and made public.
11211 (script_language_python): Delete, moved to python.c.
11212 (gdbpy_script_language_defn): Delete.
11213 (info_auto_load_python_scripts): Update to use
11214 extension_language_python.
11215
11216 * breakpoint.c (condition_command): Replace call to
11217 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11218 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11219 with call to breakpoint_ext_lang_cond_says_stop.
11220 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11221 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
11222 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11223 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11224 New arg slang.
11225 (local_setattro): Print name of extension language with existing
11226 stop condition.
11227
11228 * valprint.c (val_print, value_print): Update to call
11229 apply_ext_lang_val_pretty_printer.
11230 * cp-valprint.c (cp_print_value): Update call to
11231 apply_ext_lang_val_pretty_printer.
11232 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11233 (gdbpy_apply_val_pretty_printer): Renamed from
11234 apply_val_pretty_printer. New arg extlang.
11235 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11236
11237 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11238 extension language API.
11239 * cli/cli-script.c (execute_control_command): Update to call
11240 eval_ext_lang_from_control_command.
11241
11242 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11243 enum ext_lang_bt_status values. Update call to
11244 apply_ext_lang_frame_filter.
11245 (mi_cmd_stack_list_locals): Ditto.
11246 (mi_cmd_stack_list_args): Ditto.
11247 (mi_cmd_stack_list_variables): Ditto.
11248 * mi/mi-main.c: Delete #include "python/python-internal.h".
11249 Add #include "extension.h".
11250 (mi_cmd_list_features): Replace reference to python internal variable
11251 gdb_python_initialized with call to ext_lang_initialized_p.
11252
11253 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11254 Update to use enum ext_lang_frame_args. Update to call
11255 apply_ext_lang_frame_filter.
11256 * python/py-framefilter.c (extract_sym): Update to use enum
11257 ext_lang_bt_status.
11258 (extract_value, py_print_type, py_print_value): Ditto.
11259 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11260 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11261 (py_print_frame): Ditto.
11262 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11263 New arg extlang. Update to use enum ext_lang_bt_status.
11264
11265 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11266 finish_python_initialization. Replace with call to
11267 finish_ext_lang_initialization.
11268
11269 * typeprint.c (do_free_global_table): Update to call
11270 free_ext_lang_type_printers.
11271 (create_global_typedef_table): Update to call
11272 start_ext_lang_type_printers.
11273 (find_global_typedef): Update to call apply_ext_lang_type_printers.
11274 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11275 (type_print_options): Change type of global_printers from "void *"
11276 to "struct ext_lang_type_printers *".
11277
11278 * value.c (preserve_values): Update to call preserve_ext_lang_values.
11279 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11280 (gdbpy_preserve_values): Renamed from preserve_python_values.
11281 New arg extlang.
11282 (!HAVE_PYTHON, preserve_python_values): Delete.
11283
11284 * utils.c (quit_flag): Delete, moved to extension.c.
11285 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11286 extension.c.
11287
11288 * eval.c: Delete #include "python/python.h".
11289 * main.c: Delete #include "python/python.h".
11290
11291 * defs.h: Update comment.
11292
6af79985
JB
112932014-02-06 Joel Brobecker <brobecker@adacore.com>
11294
11295 GDB 7.7 released.
11296
12c5175d
MK
112972014-02-05 Mark Kettenis <kettenis@gnu.org>
11298
11299 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11300 defined.
11301
8dc5b319
YQ
113022014-02-05 Yao Qi <yao@codesourcery.com>
11303
11304 * remote.c (remote_pass_signals): Remove local 'buf' and use
11305 rs->buf.
11306 (remote_program_signals): Likewise.
11307
de7b2893
YQ
113082014-02-05 Yao Qi <yao@codesourcery.com>
11309
11310 * ctf.c: Include "inferior.h" and "gdbthread.h".
11311 (CTF_PID): A new macro.
11312 (ctf_open): Call inferior_appeared and add_thread_silent.
11313 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11314 (ctf_thread_alive): New function.
11315 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11316
66d032ac
YQ
113172014-02-05 Yao Qi <yao@codesourcery.com>
11318
11319 Revert this patch:
11320
11321 2013-05-24 Yao Qi <yao@codesourcery.com>
11322
11323 * tracepoint.c (TFILE_PID): Remove.
11324 (tfile_open): Don't add thread and inferior.
11325 (tfile_close): Don't set 'inferior_ptid'. Don't call
11326 exit_inferior_silent.
11327 (tfile_thread_alive): Remove.
11328 (init_tfile_ops): Don't set field 'to_thread_alive' of
11329 tfile_ops.
11330
f4ccffad
CE
113312014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
11332
11333 * remote.c (remote_start_remote): Call remote_check_symbols even
11334 if only symbol-file (not file) has been given.
11335
591a12a1
UW
113362014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11337
11338 * gdbarch.sh (skip_entrypoint): New callback.
11339 * gdbarch.c, gdbarch.h: Regenerate.
11340 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11341 * infrun.c (fill_in_stop_func): Likewise.
11342 * ppc-linux-tdep.c: Include "elf/ppc64.h".
11343 (ppc_elfv2_elf_make_msymbol_special): New function.
11344 (ppc_elfv2_skip_entrypoint): Likewise.
11345 (ppc_linux_init_abi): Install them for ELFv2.
11346
cc0e89c5
UW
113472014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11348
11349 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11350 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11351 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11352 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
11353 structures returned in GPRs.
11354
52f548e4
UW
113552014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11356
11357 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11358 offset to the stack parameter list for the ELFv2 ABI.
11359
d4094b6a
UW
113602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11361
11362 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11363 set_gdbarch_convert_from_func_ptr_addr and
11364 set_gdbarch_elf_make_msymbol_special for ELFv1.
11365 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11366 function descriptors on ELFv1.
11367 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
11368 set up r12 at function entry.
11369
cd453cd0
UW
113702014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11371
11372 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11373 (struct gdbarch_tdep): New member elf_abi.
11374
11375 * rs6000-tdep.c: Include "elf/ppc64.h".
11376 (rs6000_gdbarch_init): Detect ELF ABI version.
11377
0ff3e01f
UW
113782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11379
11380 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11381 within a register pair holding a DFP 128-bit value on little-endian.
11382 (ppc64_sysv_abi_return_value_base): Likewise.
11383 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11384 (dfp_pseudo_register_write): Likewise.
11385
5b757e5d
UW
113862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11387
11388 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11389 offset on little-endian when passing _Decimal32.
11390 (ppc64_sysv_abi_return_value_base): Likewise for return values.
11391
084ee545
UW
113922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11393
11394 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11395 of the overlapped FP register within the VSX register on little-
11396 endian platforms.
11397 (efpr_pseudo_register_write): Likewise.
11398
d63167af
UW
113992014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11400
11401 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11402 offset on little-endian when passing small structures.
11403
e765b44c
UW
114042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11405
11406 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11407 (struct ppc64_sysv_argpos): New data structure.
11408 (ppc64_sysv_abi_push_float): Remove.
11409 (ppc64_sysv_abi_push_val): New function.
11410 (ppc64_sysv_abi_push_integer): Likewise.
11411 (ppc64_sysv_abi_push_freg): Likewise.
11412 (ppc64_sysv_abi_push_vreg): Likewise.
11413 (ppc64_sysv_abi_push_param): Likewise.
11414 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11415 (ppc64_sysv_abi_return_value_base): New function.
11416 (ppc64_sysv_abi_return_value): Refactor to use it.
11417
36c24d95
UW
114182014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
11419
11420 * NEWS: Document new target powerpc64le-*-linux*.
11421
26fd9228
MK
114222014-02-04 Mark Kettenis <kettenis@gnu.org>
11423
11424 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11425 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11426 core dumps.
11427 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11428 register set used in ELF core dumps. Add floating-point register set.
11429
c5bb7362
KB
114302014-02-03 Kevin Buettner <kevinb@redhat.com>
11431
74228e77 11432 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
11433 dwarf2_to_gdb[] table using symbolic constants. Adjust
11434 penultimate entry from number representing the PC register
11435 to symbolic constant representing the MDR register. Add
11436 constant for the PC register to the end of the table.
11437
af09351e
MK
114382014-02-03 Mark Kettenis <kettenis@gnu.org>
11439
11440 * bsd-kvm.c: Include <sys/param.h>
11441
8507e05d
MK
114422014-02-03 Mark Kettenis <kettenis@gnu.org>
11443
11444 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11445
ae56bfb8
JB
114462014-01-31 Joel Brobecker <brobecker@adacore.com>
11447
11448 * ada-lang.h (clear_ada_sym_cache): Delete.
11449
718ee4dc
UW
114502014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
11451
11452 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11453
401e27fd
JM
114542014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11455
11456 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11457 the sigreturn register save area only if the syscall is
11458 sigreturn.
11459
a7c88acd
JB
114602014-01-29 Joel Brobecker <brobecker@adacore.com>
11461
11462 * valops.c (value_slice): Minor reformatting.
11463
fa0079ea
UW
114642014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
11465
11466 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11467
c6044dd1
JB
114682014-01-28 Joel Brobecker <brobecker@adacore.com>
11469
11470 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11471 New static globals.
11472 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11473 (ada_ignore_descriptive_types_p): New static global.
11474 (find_parallel_type_by_descriptive_type): Return immediately
11475 if ada_ignore_descriptive_types_p is set.
11476 (_initialize_ada_language): Register new commands "maintenance
11477 set ada", "maintenance show ada", "maintenance set ada
11478 ignore-descriptive-types" and "maintenance show ada
11479 ignore-descriptive-types".
11480 * NEWS: Add entry for new "maint ada set/show
11481 ignore-descriptive-types" commands.
11482
568e808b
MM
114832014-01-27 Markus Metzger <markus.t.metzger@intel.com>
11484
11485 * record-btrace.c (record_btrace_close): Call btrace_teardown
11486 for all threads.
11487
467d141b
JB
114882014-01-27 Joel Brobecker <brobecker@adacore.com>
11489
11490 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11491 "ui-out.h".
11492
fb151210
JB
114932014-01-27 Joel Brobecker <brobecker@adacore.com>
11494
11495 * ada-typeprint (type_is_full_subrange_of_target_type):
11496 New function.
11497 (print_range): Add parameter bounds_prefered_p. If not set,
11498 try printing range types using the name of their base type.
11499 (print_range_type): Add parameter bounds_prefered_p.
11500 Use it in call to print_range.
11501 (print_array_type, ada_print_type): Update calls to print_range
11502 and print_range_type.
11503
aba02109
JB
115042014-01-27 Joel Brobecker <brobecker@adacore.com>
11505
11506 * ada-typeprint.c (print_array_type, print_choices, print_range)
11507 (print_range_bound, print_dynamic_range_bound, print_range_type):
11508 Remove declaration.
11509
e62e21fd
JB
115102014-01-27 Joel Brobecker <brobecker@adacore.com>
11511
11512 * ada-typeprint.c (print_range): Add missing empty line
11513 after local declaration.
11514
859cf5d1
JB
115152014-01-27 Joel Brobecker <brobecker@adacore.com>
11516
11517 * ada-valprint.c (print_optional_low_bound): Get index_type's
11518 target type for as long as it is a TYPE_CODE_RANGE.
11519
25790f6f
JB
115202014-01-27 Joel Brobecker <brobecker@adacore.com>
11521
11522 * procfs.c (procfs_make_note_section): Remove assertion and
11523 associated comment.
11524
6b6aa828
YQ
115252014-01-24 Yao Qi <yao@codesourcery.com>
11526
11527 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11528 * corelow.c (get_core_siginfo): Likewise.
11529
5d6df423
YQ
115302014-01-24 Yao Qi <yao@codesourcery.com>
11531
11532 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11533 ULONGEST. Don't check 'len' is negative.
11534 (remote_write_bytes): Change type of 'len' to ULONGEST.
11535
83b645b8
TT
115362014-01-23 Tom Tromey <tromey@redhat.com>
11537
11538 PR python/16485:
11539 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11540 Handle exception from frame.block.
11541 (FrameVars.fetch_frame_locals): Likewise.
11542
0740f8d8
TT
115432014-01-23 Tom Tromey <tromey@redhat.com>
11544
11545 PR python/16487:
11546 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11547 on a NULL pointer. Move "goto error" to correct place.
11548
21909fa1
TT
115492014-01-23 Tom Tromey <tromey@redhat.com>
11550
11551 PR python/16491:
11552 * python/py-framefilter.c (apply_frame_filter): Call
11553 ensure_python_env after computing gdbarch.
11554
17fde6d0
YQ
115552014-01-23 Yao Qi <yao@codesourcery.com>
11556
11557 * target.c (raw_memory_xfer_partial): Change argument type
11558 from void * to gdb_byte *.
11559 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11560
87ce2a04
DE
115612014-01-22 Doug Evans <dje@google.com>
11562
11563 New gdbserver option --debug-format=timestamp.
11564 * NEWS: Mention it.
11565
237b092b
AA
115662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11567
11568 * syscalls/s390x-linux.xml: New file.
11569 * syscalls/s390-linux.xml: New file.
11570 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11571 (XML_SYSCALL_FILENAME_S390X): Likewise.
11572 (op_svc): New enum value for SVC opcode.
11573 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11574 (s390_linux_get_syscall_number): New function.
11575 (s390_gdbarch_init): Register '*get_syscall_number' and the
11576 syscall xml file name.
11577 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11578 "s390-linux.xml" and "s390x-linux.xml".
11579 * NEWS: Announce new feature.
11580
54bff650
BS
115812014-01-22 Baruch Siach <baruch@tkos.co.il>
11582
11583 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11584
14e361d7
PA
115852014-01-22 Pedro Alves <palves@redhat.com>
11586
11587 * xtensa-config.c: Include defs.h.
11588
46bbb3ed
JB
115892014-01-22 Joel Brobecker <brobecker@adacore.com>
11590
11591 * common/common-utils.h: Add "ARI:" comment beside __func__
11592 reference.
11593
3a80edfc
JB
115942014-01-22 Joel Brobecker <brobecker@adacore.com>
11595
11596 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11597 documentation a bit.
11598
4869db5e
RM
115992014-01-21 Roland McGrath <mcgrathr@google.com>
11600
11601 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11602 * configure: Regenerate.
11603 * aclocal.m4: Regenerate.
11604 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11605 New substituted variables.
11606 (install-strip): New target.
11607 (INSTALL_SCRIPT): New substituted variable.
11608 (FLAGS_TO_PASS): Add it.
11609 (install-only): Use $(INSTALL_SCRIPT) rather than
11610 $(INSTALL_PROGRAM) for gcore.
11611
9ea4267d
TT
116122014-01-20 Tom Tromey <tromey@redhat.com>
11613
11614 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11615 together.
11616
1f2bdf09
TT
116172014-01-20 Tom Tromey <tromey@redhat.com>
11618
11619 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11620 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11621 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11622 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11623 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11624 (struct cmd_list_element) <flags>: Remove.
11625 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11626 doc_allocated>: New fields.
11627 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11628 bitfields.
11629 * maint.c (maintenance_do_deprecate): Update.
11630 * top.c (execute_command): Update.
11631
e671835b
BS
116322014-01-20 Baruch Siach <baruch@tkos.co.il>
11633
11634 * xtensa-linux-nat.c: Include asm/ptrace.h.
11635
50367cd2
IB
116362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11637
11638 * Makefile.in (SFILES): Add d-support.c.
11639 (COMMON_OBS): Add d-support.o.
11640 * d-lang.h (d_parse_symbol): Add comment, now defined in
11641 d-support.c.
11642 * d-lang.c (parse_call_convention)
11643 (parse_attributes, parse_function_types)
11644 (parse_function_args, parse_type, parse_identifier)
11645 (call_convention_p, d_parse_symbol): Move functions to ...
11646 * d-support.c: ... New file.
11647
ec9f644a
IB
116482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11649
11650 * d-lang.h (d_parse_symbol): Add declaration.
11651 * d-lang.c (extract_identifiers)
11652 (extract_type_info): Remove functions.
11653 (parse_call_convention, parse_attributes)
11654 (parse_function_types, parse_function_args)
11655 (parse_type, parse_identifier, call_convention_p)
11656 (d_parse_symbol): New functions.
11657 (d_demangle): Use d_parse_symbol to demangle D symbols.
11658
94b1b47e
IB
116592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11660
11661 * d-lang.h (struct builtin_d_type): New data type.
11662 (builtin_d_type): Add declaration.
11663 * d-lang.c (d_language_arch_info, build_d_types)
11664 (builtin_d_type): New functions.
11665 (enum d_primitive_types): New data type.
11666 (d_language_defn): Change c_language_arch_info to
11667 d_language_arch_info.
11668 (d_type_data): New static variable.
11669 (_initialize_d_language): Initialize d_type_data.
11670
63778547
IB
116712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11672
11673 * d-lang.h (d_main_name): Add declaration.
11674 * d-lang.c (d_main_name): New function.
11675 * symtab.c (find_main_name): Add call to d_main_name.
11676
3271ba66
IB
116772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11678
11679 * d-lang.c (d_language_defn): Change macro_expansion_c to
11680 macro_expansion_no.
11681
d36b3012
IB
116822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11683
11684 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11685
c90a6fb7
SDJ
116862014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11687
11688 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11689 gdb_exception" declaration.
11690 * remote.c (getpkt_or_notif_sane): Likewise.
11691
749234e5
DE
116922014-01-17 Doug Evans <dje@google.com>
11693
11694 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11695 function, contents of dirnames_to_char_ptr_vec_append moved here.
11696 (delim_string_to_char_ptr_vec): New function.
11697 (dirnames_to_char_ptr_vec_append): Rewrite.
11698 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11699
df049a58
DE
117002014-01-17 Doug Evans <dje@google.com>
11701
11702 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11703 and moved here ...
11704 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11705 #include "common-utils.h".
11706 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11707 * common/vec.h (VEC_ASSERT_PASS): Update.
11708 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11709 (MACH_CHECK_ERROR): Update.
11710
69f97648
SM
117112014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11712
11713 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11714 comments.
11715 * gdbarch.h: Regenerate.
11716
98b1cfdc
TT
117172014-01-16 Tom Tromey <tromey@redhat.com>
11718
11719 * value.c (struct value) <regnum>: Move earlier.
11720
77a19445
TT
117212014-01-16 Tom Tromey <tromey@redhat.com>
11722
11723 * remote.c (extended_remote_create_inferior): Rename from
11724 extended_remote_create_inferior_1. Add "ops" argument. Remove
11725 old implementation.
11726
62261490
PA
117272014-01-16 Pedro Alves <palves@redhat.com>
11728
11729 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11730 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11731 the backchain.
11732
4d65956b
DE
117332014-01-16 Doug Evans <dje@google.com>
11734
11735 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11736
52834460
MM
117372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11738
11739 * btrace.h (btrace_thread_flag): New.
11740 (struct btrace_thread_info) <flags>: New.
11741 * record-btrace.c (record_btrace_resume_thread)
11742 (record_btrace_find_thread_to_move, btrace_step_no_history)
11743 (btrace_step_stopped, record_btrace_start_replaying)
11744 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11745 (record_btrace_find_resume_thread): New.
11746 (record_btrace_resume, record_btrace_wait): Extend.
11747 (record_btrace_can_execute_reverse): New.
11748 (record_btrace_open): Fail in non-stop mode.
11749 (record_btrace_set_replay): Split into this, ...
11750 (record_btrace_stop_replaying): ... this, ...
11751 (record_btrace_clear_histories): ... and this.
11752 (init_record_btrace_ops): Init to_can_execute_reverse.
11753 * NEWS: Announce it.
11754
118e6252
MM
117552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11756
11757 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11758 (forward_target_decr_pc_after_break)
11759 (target_decr_pc_after_break): New.
11760 * target.c (forward_target_decr_pc_after_break)
11761 (target_decr_pc_after_break): New.
11762 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11763 instead of gdbarch_decr_pc_after_break.
11764 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11765 instead of gdbarch_decr_pc_after_break.
11766 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11767 instead of gdbarch_decr_pc_after_break.
11768 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11769 instead of gdbarch_decr_pc_after_break.
11770 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11771 instead of gdbarch_decr_pc_after_break.
11772 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11773 instead of gdbarch_decr_pc_after_break.
11774
6e07b1d2
MM
117752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11776
11777 * btrace.c: Include regcache.h.
11778 (btrace_add_pc): New.
11779 (btrace_enable): Call btrace_add_pc.
11780 (btrace_is_empty): New.
11781 * btrace.h (btrace_is_empty): New.
11782 * record-btrace.c (require_btrace, record_btrace_info): Call
11783 btrace_is_empty.
11784
969c39fb
MM
117852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11786
11787 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11788 Support delta reads.
11789 (linux_disable_btrace): Change return type.
11790 * common/linux-btrace.h (linux_read_btrace): Change parameters
11791 and return type to allow error reporting. Update users.
11792 (linux_disable_btrace): Change return type. Update users.
11793 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11794 New.
11795 (btrace_error): New.
11796 (btrace_block) <begin>: Comment on BEGIN == 0.
11797 * btrace.c (btrace_compute_ftrace): Start from the end of
11798 the current trace.
11799 (btrace_stitch_trace, btrace_clear_history): New.
11800 (btrace_fetch): Read delta trace, return if replaying.
11801 (btrace_clear): Move clear history code to btrace_clear_history.
11802 (parse_xml_btrace): Throw an error if parsing failed.
11803 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11804 and return type to allow error reporting.
11805 (target_read_btrace): Change parameters and return type to allow
11806 error reporting.
11807 * target.c (target_read_btrace): Update.
11808 * remote.c (remote_read_btrace): Support delta reads. Pass
11809 errors on.
11810 * NEWS: Announce it.
11811
0b722aec
MM
118122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11813
11814 * record.h (record_btrace_frame_unwind)
11815 (record_btrace_tailcall_frame_unwind): New declarations.
11816 * dwarf2-frame: Include record.h
11817 (dwarf2_frame_cfa): Throw an error for btrace frames.
11818 * record-btrace.c: Include hashtab.h.
11819 (btrace_get_bfun_name): New.
11820 (btrace_call_history): Call btrace_get_bfun_name.
11821 (struct btrace_frame_cache): New.
11822 (bfcache): New.
11823 (bfcache_hash, bfcache_eq, bfcache_new): New.
11824 (btrace_get_frame_function): New.
11825 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11826 (record_btrace_frame_this_id): Compute own id.
11827 (record_btrace_frame_prev_register): Provide PC, throw_error
11828 for all other registers.
11829 (record_btrace_frame_sniffer): Detect btrace frames.
11830 (record_btrace_tailcall_frame_sniffer): New.
11831 (record_btrace_frame_dealloc_cache): New.
11832 (record_btrace_frame_unwind): Add new functions.
11833 (record_btrace_tailcall_frame_unwind): New.
11834 (_initialize_record_btrace): Allocate cache.
11835 * btrace.c (btrace_clear): Call reinit_frame_cache.
11836 * NEWS: Announce it.
11837
066ce621
MM
118382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11839
11840 * record-btrace.c (record_btrace_set_replay)
11841 (record_btrace_goto_begin, record_btrace_goto_end)
11842 (record_btrace_goto): New.
11843 (init_record_btrace_ops): Initialize them.
11844 * NEWS: Announce it.
11845
e2887aa3
MM
118462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11847
11848 * record-btrace.c (record_btrace_find_new_threads)
11849 (record_btrace_thread_alive): New.
11850 (init_record_btrace_ops): Initialize to_find_new_threads and
11851 to_thread_alive.
11852
b2f4cfde
MM
118532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11854
11855 * record-btrace.c (record_btrace_resume): New.
11856 (record_btrace_wait): New.
11857 (init_record_btrace_ops): Initialize to_wait and to_resume.
11858
633785ff
MM
118592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11860
11861 * record-btrace.c (record_btrace_xfer_partial)
11862 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11863 (record_btrace_allow_memory_access): New.
11864 (init_record_btrace_ops): Initialize new methods.
11865 * target.c (raw_memory_xfer_partial): Bail out if target reports
11866 that this memory is not available.
11867
3db08215
MM
118682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11869
11870 * target.h (target_ops) <to_insert_breakpoint>
11871 <to_remove_breakpoint>: Add target_ops parameter.
11872 (forward_target_insert_breakpoint): New.
11873 (forward_target_remove_breakpoint): New.
11874 (memory_remove_breakpoint, memory_insert_breakpoint):
11875 Add target_ops parameter.
11876 * target.c (target_insert_breakpoint): Split into this and ...
11877 (forward_target_insert_breakpoint): ... this.
11878 (target_remove_breakpoint): Split into this and ...
11879 (forward_target_remove_breakpoint): ... this.
11880 (debug_to_insert_breakpoint): Add target_ops parameter.
11881 Call forward_target_insert_breakpoint.
11882 (debug_to_remove_breakpoint): Add target_ops parameter.
11883 Call forward_target_remove_breakpoint.
11884 (update_current_target): Do not inherit or default to_insert_breakpoint
11885 and to_remove_breakpoint.
11886 * corelow.c (ignore): Add target_ops parameter.
11887 * exec.c (ignore): Add target_ops parameter.
11888 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11889 Add target_ops parameter.
11890 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11891 Add target_ops parameter.
11892 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11893 Add target_ops parameter.
11894 * record-full.c (record_full_beneath_to_insert_breakpoint)
11895 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11896 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11897 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11898 (record_full_core_remove_breakpoint): Add target_ops parameter.
11899 Update users.
11900 (record_full_beneath_to_insert_breakpoint_ops)
11901 (record_full_beneath_to_remove_breakpoint_ops)
11902 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11903 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11904 tmp_to_remove_breakpoint_ops,
11905 record_full_beneath_to_insert_breakpoint_ops, and
11906 record_full_beneath_to_remove_breakpoint_ops.
11907 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11908 (m32r_remove_breakpoint): Add target_ops parameter.
11909 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11910 Add target_ops parameter.
11911 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11912 Add target_ops parameter.
11913
cecac1ab
MM
119142014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11915 Markus Metzger <markus.t.metzger@intel.com>
11916
11917 * record-btrace.c: Include frame-unwind.h.
11918 (record_btrace_frame_unwind_stop_reason)
11919 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11920 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11921 New.
11922 (init_record_btrace_ops): Install it.
11923
824344ca
MM
119242014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11925
11926 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11927 get_prev_frame_1.
11928
32261e52
MM
119292014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11930
11931 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11932 earlier.
11933
ea001bdc
MM
119342014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11935
11936 * frame-unwind.c: Include target.h.
11937 (frame_unwind_try_unwinder): New function with code from ...
11938 (frame_unwind_find_by_frame): ... here. New variable
11939 unwinder_from_target, call also target_get_unwinder)
11940 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11941 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11942 * target.h (struct target_ops): New fields to_get_unwinder and
11943 to_get_tailcall_unwinder.
11944 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11945
1f3ef581
MM
119462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11947
11948 * record-btrace.c (record_btrace_fetch_registers)
11949 (record_btrace_store_registers)
11950 (record_btrace_to_prepare_to_store): New.
11951 (init_record_btrace_ops): Add the above.
11952
f32dbf8c
MM
119532014-01-16 Tom Tromey <tromey@redhat.com>
11954
11955 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11956 * target.h (struct target_ops) <to_prepare_to_store>: Add
11957 argument.
11958 (target_prepare_to_store): Add argument.
11959 * target.c (debug_to_prepare_to_store): Add argument.
11960 (update_current_target): Update.
11961 * remote.c (remote_prepare_to_store): Add 'self' argument.
11962 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11963 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11964 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11965 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11966 argument.
11967 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11968 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11969 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11970 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11971 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11972
07bbe694
MM
119732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11974
11975 * btrace.h (replay) <replay>: New.
11976 (btrace_is_replaying): New.
11977 * btrace.c (btrace_clear): Free replay iterator.
11978 (btrace_is_replaying): New.
11979 * record-btrace.c (record_btrace_is_replaying): New.
11980 (record_btrace_info): Print insn number if replaying.
11981 (record_btrace_insn_history): Start at replay position.
11982 (record_btrace_call_history): Start at replay position.
11983 (init_record_btrace_ops): Init to_record_is_replaying.
11984
0688d04e
MM
119852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11986
11987 * record-btrace.c (record_btrace_insn_history_range): Include
11988 end.
11989 (record_btrace_insn_history_from): Adjust range.
11990 (record_btrace_call_history_range): Include
11991 end.
11992 (record_btrace_call_history_from): Adjust range.
11993 * NEWS: Announce changes.
11994
8710b709
MM
119952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11996
11997 * record.h (enum record_print_flag)
11998 <record_print_indent_calls>: New.
11999 * record.c (get_call_history_modifiers): Recognize /c modifier.
12000 (_initialize_record): Document /c modifier.
12001 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12002 Reorder fields. Optionally indent the function name. Update
12003 all users.
12004 * NEWS: Announce changes.
12005
d0fa7535
MM
120062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12007
12008 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12009
5de9129b
MM
120102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12011
12012 * btrace.c (ftrace_new_function): Start counting at one.
12013 * record-btrace.c (record_btrace_info): Adjust number of calls
12014 and insns.
12015 * NEWS: Announce it.
12016
7acbe133
MM
120172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12018
12019 * record-btrace.c (btrace_call_history_insn_range): Print
12020 insn range as [begin, end].
12021
23a7fe75
MM
120222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12023
12024 * btrace.h (struct btrace_func_link): New.
12025 (enum btrace_function_flag): New.
12026 (struct btrace_inst): Rename to ...
12027 (struct btrace_insn): ...this. Update all users.
12028 (struct btrace_func) <ibegin, iend>: Remove.
12029 (struct btrace_func_link): New.
12030 (struct btrace_func): Rename to ...
12031 (struct btrace_function): ...this. Update all users.
12032 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12033 (number, level, flags>: New.
12034 (struct btrace_insn_iterator): Rename to ...
12035 (struct btrace_insn_history): ...this.
12036 Update all users.
12037 (struct btrace_insn_iterator, btrace_call_iterator): New.
12038 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12039 (struct btrace_target_info) <begin, end, level>
12040 <insn_history, call_history>: New.
12041 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12042 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12043 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12044 (btrace_call_number, btrace_call_begin, btrace_call_end)
12045 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12046 (btrace_find_function_by_number, btrace_set_insn_history)
12047 (btrace_set_call_history): New.
12048 * btrace.c (btrace_init_insn_iterator)
12049 (btrace_init_func_iterator, compute_itrace): Remove.
12050 (ftrace_print_function_name, ftrace_print_filename)
12051 (ftrace_skip_file): Change
12052 parameter to const.
12053 (ftrace_init_func): Remove.
12054 (ftrace_debug): Use new btrace_function fields.
12055 (ftrace_function_switched): Also consider gaining and
12056 losing symbol information).
12057 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12058 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12059 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12060 New.
12061 (ftrace_new_function): Move. Remove debug print.
12062 (ftrace_update_lines, ftrace_update_insns): New.
12063 (ftrace_update_function): Check for call, ret, and jump.
12064 (compute_ftrace): Renamed to ...
12065 (btrace_compute_ftrace): ...this. Rewritten to compute call
12066 stack.
12067 (btrace_fetch, btrace_clear): Updated.
12068 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12069 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12070 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12071 (btrace_call_number, btrace_call_begin, btrace_call_end)
12072 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12073 (btrace_find_function_by_number, btrace_set_insn_history)
12074 (btrace_set_call_history): New.
12075 * record-btrace.c (require_btrace): Use new btrace thread
12076 info fields.
12077 (record_btrace_info, btrace_insn_history)
12078 (record_btrace_insn_history, record_btrace_insn_history_range):
12079 Use new btrace thread info fields and new iterator.
12080 (btrace_func_history_src_line): Rename to ...
12081 (btrace_call_history_src_line): ...this. Use new btrace
12082 thread info fields.
12083 (btrace_func_history): Rename to ...
12084 (btrace_call_history): ...this. Use new btrace thread info
12085 fields and new iterator.
12086 (record_btrace_call_history, record_btrace_call_history_range):
12087 Use new btrace thread info fields and new iterator.
12088
8372a7cb
MM
120892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12090
12091 * frame.h (frame_id_build_unavailable_stack_special): New.
12092 * frame.c (frame_id_build_unavailable_stack_special): New.
12093
c2170eef
MM
120942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12095
12096 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12097 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12098 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12099 to gdbarch.
12100 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12101 (i386_insn_is_jump, i386_jmp_p): New.
12102 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12103 insn_is_jump to gdbarch.
12104 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12105 * gdbarch.h: Regenerated.
12106 * gdbarch.c: Regenerated.
12107 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12108 (default_insn_is_jump): New.
12109 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12110 (default_insn_is_jump): New.
12111
864089d2
MM
121122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12113
12114 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12115 Change to ...
12116 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12117 (btrace_read_type) <btrace_read_new>: Change to ...
12118 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12119
ed9edfb5
MM
121202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12121
12122 * common/linux-btrace.c (linux_read_btrace): Free trace from
12123 previous iteration.
12124
fbcbc3fd
DE
121252014-01-15 Doug Evans <dje@google.com>
12126
12127 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
12128 uint32_t.
12129
3d548a53
TT
121302014-01-15 Tom Tromey <tromey@redhat.com>
12131
12132 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
12133 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
12134 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
12135 (set_objfile_main_name): New function.
12136 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
12137 language_of_main>: New fields.
12138 (set_objfile_main_name): Declare.
12139 * symtab.c (find_main_name): Loop over objfiles to find the main
12140 name and language.
12141 (set_main_name): Now static.
12142 (get_main_info): Add comment.
12143 * symtab.h (set_main_name): Don't declare.
12144
32ac0d11
TT
121452014-01-15 Tom Tromey <tromey@redhat.com>
12146
12147 * symtab.c (main_progspace_key): New global.
12148 (struct main_info): New.
12149 (name_of_main, language_of_main): Remove.
12150 (get_main_info, main_info_cleanup): New function.
12151 (set_main_name, main_name, main_language): Use get_main_info.
12152 (_initialize_symtab): Initialize main_progspace_key.
12153
9e6c82ad
TT
121542014-01-15 Tom Tromey <tromey@redhat.com>
12155
12156 * dbxread.c (process_one_symbol): Update.
12157 * dwarf2read.c (read_partial_die): Update.
12158 * symfile.c (set_initial_language): Call main_language.
12159 * symtab.c (language_of_main): Now static.
12160 (set_main_name): Add 'lang' parameter.
12161 (find_main_name): Update.
12162 (main_language): New function.
12163 (symtab_observer_executable_changed): Update.
12164 * symtab.h (set_main_name): Update.
12165 (language_of_main): Remove.
12166 (main_language): Declare.
12167
6ef55de7
TT
121682014-01-15 Tom Tromey <tromey@redhat.com>
12169
12170 * symfile.c (init_entry_point_info): Use new "initialized" field.
12171 Update.
12172 * objfiles.h (struct entry_point) <initialized>: New field.
12173 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
12174 (struct objfile) <ei>: ...here. Remove.
12175 * objfiles.c (entry_point_address_query): Update.
12176
53eddfa6
TT
121772014-01-15 Tom Tromey <tromey@redhat.com>
12178
12179 * objfiles.c (entry_point_address_query): Relocate entry point
12180 address.
12181 (objfile_relocate1): Do not relocate entry point address.
12182 * objfiles.h (struct entry_info) <entry_point>: Update comment.
12183 <the_bfd_section_index>: New field.
12184 * symfile.c (init_entry_point_info): Find the entry point's
12185 section.
12186
d56e56aa
TT
121872014-01-15 Tom Tromey <tromey@redhat.com>
12188
12189 * solib-frv.c (enable_break): Use entry_point_address_query.
12190
33a97bbe
OJ
121912014-01-15 Omair Javaid <omair.javaid@linaro.org>
12192
12193 * NEWS: Add note on improved process record-replay on
12194 arm*-linux* targets.
12195
c6ec2b30
OJ
121962014-01-15 Omair Javaid <omair.javaid@linaro.org>
12197
12198 * arm-tdep.c (enum arm_record_result): New enum.
12199 (arm_record_unsupported_insn): New function.
12200 (arm_record_coproc_data_proc): Removed.
12201 (thumb2_record_ld_st_multiple): New function.
12202 (thumb2_record_ld_st_dual_ex_tbb): New function.
12203 (thumb2_record_data_proc_sreg_mimm): New function.
12204 (thumb2_record_ps_dest_generic): New function.
12205 (thumb2_record_branch_misc_cntrl): New function.
12206 (thumb2_record_str_single_data): New function.
12207 (thumb2_record_ld_mem_hints): New function.
12208 (thumb2_record_ld_word): New function.
12209 (thumb2_record_lmul_lmla_div): New function.
12210 (thumb2_record_decode_insn_handler): New function.
12211 (decode_insn): Add thumb32 instruction handlers.
12212
97dfe206
OJ
122132014-01-15 Omair Javaid <omair.javaid@linaro.org>
12214
12215 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12216 (struct arm_linux_record_tdep): Declare.
12217 (arm_canonicalize_syscall): New function.
12218 (arm_all_but_pc_registers_record): New function.
12219 (arm_linux_syscall_record): New function.
12220 (arm_linux_init_abi): Add syscall recording constructs.
12221 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12222 decoding. (arm_record_coproc_data_proc): Update arm syscall
12223 decoding.
12224 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12225 <arm_syscall_record>: New field.
12226 * configure.tgt (arm*-*-linux*): Add linux-record.o to
12227 gdb_target_obs.
12228
9904a494
OJ
122292014-01-15 Omair Javaid <omair.javaid@linaro.org>
12230
12231 * arm-tdep.c (thumb_record_misc): Update to use sp as base
12232 register for push instruction recording.
12233
f969241e
OJ
122342014-01-15 Omair Javaid <omair.javaid@linaro.org>
12235
12236 * arm-tdep.c (thumb_record_misc): Update to correct logical
12237 error while recording ldm, ldmia and pop instructions.
12238
bfbbec00
OJ
122392014-01-15 Omair Javaid <omair.javaid@linaro.org>
12240
12241 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12242
e40adcc9
PA
122432014-01-15 Pedro Alves <palves@redhat.com>
12244
12245 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12246 (go32_resume, go32_fetch_registers, store_register)
12247 (go32_store_registers, go32_prepare_to_store)
12248 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12249 (go32_create_inferior, go32_can_run, go32_terminal_init)
12250 (go32_terminal_inferior, go32_terminal_ours): Delete forward
12251 declarations.
12252
b0a16e66
TT
122532014-01-15 Tom Tromey <tromey@redhat.com>
12254
12255 * target.h (async_callback_ftype): New typedef.
12256 (struct target_ops) <to_async>: Use it.
12257
bf7105a4
JB
122582014-01-15 Joel Brobecker <brobecker@adacore.com>
12259
12260 * python/py-value.c (get_field_type): Remove unnecessary curly
12261 braces for single-statement if block.
12262
a8f35c2e
JB
122632014-01-15 Joel Brobecker <brobecker@adacore.com>
12264
12265 * python/py-type.c (convert_field): Add missing empty line
12266 after declarations.
12267
bb4142cf
DE
122682014-01-14 Doug Evans <dje@google.com>
12269
12270 * symfile.h (expand_symtabs_matching): Renamed from
12271 expand_partial_symbol_names. Update prototype.
12272 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12273 * symfile.c (expand_symtabs_matching): Renamed from
12274 expand_partial_symbol_names. New args file_matcher, kind.
12275 Rename arg fun to symbol_matcher.
12276 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12277 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12278 ada_expand_partial_symbol_name.
12279 (ada_make_symbol_completion_list): Update to call
12280 expand_symtabs_matching.
12281 (ada_add_global_exceptions): Call expand_symtabs_matching.
12282 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12283 call map_symbol_filenames.
12284 * symtab.c (sources_info): Update to call map_symbol_filenames.
12285 (search_symbols): Call expand_symtabs_matching.
12286 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12287 (default_make_symbol_completion_list_break_on): Update to call
12288 expand_symtabs_matching.
12289 (make_source_files_completion_list): Update to call
12290 map_symbol_filenames.
12291
206f2a57
DE
122922014-01-14 Doug Evans <dje@google.com>
12293
12294 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12295 (expand_symtabs_symbol_matcher_ftype): New typedef.
12296 (quick_symbol_functions.expand_symtabs_matching): Update to use.
12297 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12298 * symfile.c (expand_partial_symbol_names): Update to use
12299 expand_symtabs_symbol_matcher_ftype.
12300 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12301 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12302 Arg name_matcher renamed to symbol_matcher.
12303 * psymtab.c (recursively_search_psymtabs): Update to use
12304 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
12305 sym_matcher.
12306 (expand_symtabs_matching_via_partial): Update to use
12307 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12308 Arg name_matcher renamed to symbol_matcher.
12309
540c2971
DE
123102014-01-14 Doug Evans <dje@google.com>
12311
12312 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12313 (map_partial_symbol_filenames): Ditto.
12314 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12315 (map_partial_symbol_filenames): Ditto.
12316 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12317 (map_partial_symbol_filenames): Ditto.
12318 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12319 (map_partial_symbol_filenames): Ditto.
12320 * symtab.c: Delete #include "psymtab.h".
12321
8213266a
PA
123222014-01-14 Pedro Alves <palves@redhat.com>
12323 Tom Tromey <tromey@redhat.com>
12324
12325 * infrun.c (use_displaced_stepping): Use find_record_target
12326 instead of RECORD_IS_USED.
12327 (adjust_pc_after_break): Use record_full_is_used instead of
12328 RECORD_IS_USED.
12329 * record-btrace.c (record_btrace_open): Call record_preopen
12330 instead of checking RECORD_IS_USED.
12331 * record-full.c (record_full_shortname)
12332 (record_full_core_shortname): New globals.
12333 (record_full_is_used): New function.
12334 (find_full_open): Call record_preopen instead of checking
12335 RECORD_IS_USED.
12336 (init_record_full_ops): Set the target's shortname to
12337 record_full_shortname.
12338 (init_record_full_core_ops): Set the target's shortname to
12339 record_full_core_shortname.
12340 * record-full.h (record_full_is_used): Declare.
12341 * record.c (find_record_target): Make extern.
12342 (record_preopen): New function.
12343 * record.h (RECORD_IS_USED): Delete macro.
12344 (find_record_target, record_preopen): Declare functions.
12345
7ec1862d
YQ
123462014-01-14 Yao Qi <yao@codesourcery.com>
12347
12348 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12349 'len''s type to ULONGEST.
12350 (core_xfer_shared_libraries_aix): Likewise.
12351 * gdbarch.c, gdbarch.h: Regenerated.
12352 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12353 Change type of 'len' to ULONGEST.
12354 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12355 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12356
dea80a27
YQ
123572014-01-14 Yao Qi <yao@codesourcery.com>
12358
12359 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12360 type of 'len' to ULONGEST.
12361 (linux_xfer_osdata_processgroups): Likewise.
12362 (linux_xfer_osdata_threads): Likewise.
12363 (linux_xfer_osdata_fds): Likewise.
12364 (linux_xfer_osdata_isockets): Likewise.
12365 (linux_xfer_osdata_shm): Likewise.
12366 (linux_xfer_osdata_sem): Likewise.
12367 (linux_xfer_osdata_msg): Likewise.
12368 (linux_common_xfer_osdata): Likewise.
12369 (struct osdata_type) <getter>: Likewise.
12370 * common/linux-osdata.h (linux_common_xfer_osdata): Update
12371 the declaration.
12372
b55e14c7
YQ
123732014-01-14 Yao Qi <yao@codesourcery.com>
12374
12375 * target.h (target_xfer_partial_ftype): Update.
12376 (struct target_ops) <to_xfer_partial>: Change 'len' type to
12377 ULONGEST.
12378 * aix-thread.c (aix_thread_xfer_partial): Change type of
12379 argument 'len' to ULONGEST.
12380 * auxv.c (procfs_xfer_auxv): Likewise.
12381 (ld_so_xfer_auxv): Likewise.
12382 (memory_xfer_auxv): Likewise.
12383 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12384 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12385 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12386 * corelow.c (core_xfer_partial): Likewise.
12387 * ctf.c (ctf_xfer_partial): Likewise.
12388 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
12389 '%u'.
12390 (darwin_read_dyld_info): Likewise.
12391 (darwin_xfer_partial): Likewise.
12392 * exec.c (section_table_xfer_memory_partial): Likewise.
12393 (exec_xfer_partial): Likewise.
12394 * exec.h (section_table_xfer_memory_partial): Update
12395 declaration.
12396 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
12397 instead of plongest.
12398 (gnu_xfer_partial): Likewise.
12399 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12400 (ia64_hpux_xfer_solib_got): Likewise.
12401 (ia64_hpux_xfer_partial): Likewise.
12402 * ia64-linux-nat.c (ia64_linux_xfer_partial):
12403 * inf-ptrace.c (inf_ptrace_xfer_partial):
12404 * inf-ttrace.c (inf_ttrace_xfer_partial):
12405 * linux-nat.c (linux_xfer_siginfo): Likewise.
12406 (linux_nat_xfer_partial): Likewise.
12407 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12408 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12409 * monitor.c (monitor_xfer_memory): Likewise.
12410 (monitor_xfer_partial): Likewise.
12411 * procfs.c (procfs_xfer_partial): Likewise.
12412 * record-full.c (record_full_xfer_partial): Likewise.
12413 (record_full_core_xfer_partial): Likewise.
12414 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
12415 instead of plongest.
12416 (gdbsim_xfer_partial): Likewise.
12417 * remote.c (remote_xfer_partial): Likewise.
12418 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12419 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12420 declaration.
12421 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12422 (rs6000_xfer_shared_libraries): Likewise.
12423 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12424 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12425 (sparc_xfer_partial): Likewise.
12426 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12427 (spu_xfer_partial): Likewise.
12428 * spu-multiarch.c (spu_xfer_partial): Likewise.
12429 * target.c (target_read_live_memory): Likewise.
12430 (memory_xfer_live_readonly_partial): Likewise.
12431 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12432 (target_xfer_partial, default_xfer_partial): Likewise.
12433 (current_xfer_partial): Likewise.
12434 * tracepoint.c (tfile_xfer_partial): Likewise.
12435 * windows-nat.c (windows_xfer_memory): Likewise. Call
12436 pulongest instead of plongest.
12437 (windows_xfer_partial): Likewise.
12438 (windows_xfer_shared_libraries): Likewise.
12439
05804640
YQ
124402014-01-14 Yao Qi <yao@codesourcery.com>
12441
12442 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12443 target_xfer_partial_ftype.
12444
b5b08fb4
SC
124452014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12446
12447 PR python/15464
12448 PR python/16113
12449 * valops.c (value_struct_elt_bitpos): New function
12450 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12451 object to 'None' if the field name is an empty string ("").
12452 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12453 attribute to look for a field when 'name' is 'None'.
12454 (get_field_type): New function
12455
13aaf454
DE
124562014-01-13 Doug Evans <dje@google.com>
12457
12458 PR symtab/16426
12459 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12460 (try_open_dwop_file): Ditto.
12461 * gdb_bfd.c: #include "vec.h".
12462 (bfdp): New typedef.
12463 (struct gdb_bfd_data): New member included_bfds.
12464 (gdb_bfd_unref): Unref all included bfds.
12465 (gdb_bfd_record_inclusion): New function.
12466 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12467
c2cec97c
TT
124682014-01-13 Tom Tromey <tromey@redhat.com>
12469
12470 * gdbcore.h (deprecated_core_resize_section_table): Remove.
12471
78e5999d
TT
124722014-01-13 Tom Tromey <tromey@redhat.com>
12473
12474 * defs.h (use_windows): Remove.
12475 * gdb.c (main): Update.
12476 * main.c (captured_main, gdb_main): Update.
12477 * main.h (struct captured_main_args) <use_windows>: Remove.
12478 * top.c (use_windows): Remove.
12479
f2052bbe
TT
124802014-01-13 Tom Tromey <tromey@redhat.com>
12481
12482 * defs.h (deprecated_flush_hook): Remove.
12483
fde4f8ed
JK
124842014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12485
12486 PR threads/16216
12487 * linux-thread-db.c (try_thread_db_load): Add parameter
12488 check_auto_load_safe. Move here the file_is_auto_load_safe call.
12489 (try_thread_db_load_from_pdir_1): Move it there from here.
12490 (try_thread_db_load_from_sdir): Update caller.
12491 (try_thread_db_load_from_dir): Move it there from here.
12492
bdf61915
PP
124932014-01-13 Patrick Palka <patrick@parcs.ath.cx>
12494
12495 * regformats/regdat.sh: Always rewrite the register file.
12496
f71e1a8d
PA
124972014-01-13 Pedro Alves <palves@redhat.com>
12498
12499 * Makefile.in (CHECK_HEADERS): New variable.
12500 (check-headers:): New rule.
12501
42c85435
TT
125022014-01-13 Tom Tromey <tromey@redhat.com>
12503
12504 * cli/cli-setshow.c (do_set_command): Update.
12505 * defs.h (deprecated_set_hook): Remove.
12506 * top.c (deprecated_set_hook): Remove.
12507
f8de5129
PA
125082014-01-13 Pedro Alves <palves@redhat.com>
12509
12510 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12511 the tracepoint if the PC is a pseudo-register.
12512
fc270c35
TT
125132014-01-13 Tom Tromey <tromey@redhat.com>
12514
12515 * defs.h (XCALLOC): Remove.
12516 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12517 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12518 * dwarf2loc.c (allocate_piece_closure): Likewise.
12519 * elfread.c (elf_symfile_segments): Likewise.
12520 (elf_symfile_segments): Likewise.
12521 * gdbtypes.c (copy_type_recursive): Likewise.
12522 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12523 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12524 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12525 XCALLOC.
12526 * mt-tdep.c (mt_gdbarch_init): Likewise.
12527 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12528 XCALLOC.
12529 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12530 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12531 * registry.c (registry_alloc_data): Likewise.
12532 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12533 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12534 * serial.c (serial_fdopen_ops): Likewise.
12535 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12536 XCALLOC.
12537 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12538 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12539 not XCALLOC.
12540
70ba0933
TT
125412014-01-13 Tom Tromey <tromey@redhat.com>
12542
12543 * defs.h (XMALLOC): Remove.
12544 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12545 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12546 * cli-out.c (struct ui_out *): Likewise.
12547 * cli/cli-dump.c (add_dump_command): Likewise.
12548 (add_dump_command): Likewise.
12549 * complaints.c (get_complaints): Likewise.
12550 (find_complaint): Likewise.
12551 * dwarf2-frame.c (execute_cfa_program): Likewise.
12552 * dwarf2read.c (abbrev_table_read_table): Likewise.
12553 * gdbarch.sh: Likewise.
12554 * gdbarch.c: Rebuild.
12555 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12556 * interps.c (interp_new): Likewise.
12557 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12558 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12559 * mi/mi-console.c (mi_console_file_new): Likewise.
12560 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12561 * mi/mi-out.c (mi_out_new): Likewise.
12562 * mi/mi-parse.c (mi_parse): Likewise.
12563 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12564 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12565 * observer.c (xalloc_observer_list_node): Likewise.
12566 * regcache.c (regcache_xmalloc_1): Likewise.
12567 * reggroups.c (reggroup_new): Likewise.
12568 (_initialize_reggroup): Likewise.
12569 * registry.c (register_data_with_cleanup): Likewise.
12570 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12571 * ser-base.c (serial_ttystate): Likewise.
12572 * ser-mingw.c (make_pipe_state): Likewise.
12573 * ser-pipe.c (pipe_open): Likewise.
12574 * serial.c (serial_open): Likewise.
12575 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12576 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12577 (tui_alloc_win_info): Likewise.
12578 (tui_add_content_elements): Likewise.
12579 * tui/tui-file.c (tui_file_new): Likewise.
12580 * tui/tui-out.c (tui_out_new): Likewise.
12581 * ui-file.c (mem_file_new): Likewise.
12582 * ui-out.c (push_level): Likewise.
12583 (make_cleanup_ui_out_end): Likewise.
12584 (append_header_to_list): Likewise.
12585 (ui_out_new): Likewise.
12586 * user-regs.c (user_reg_add_builtin): Likewise.
12587
41bf6aca
TT
125882014-01-13 Tom Tromey <tromey@redhat.com>
12589
12590 * defs.h (XZALLOC): Remove.
12591 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12592 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12593 (get_ada_tasks_inferior_data): Likewise.
12594 * auto-load.c (get_auto_load_pspace_data): Likewise.
12595 * auxv.c (get_auxv_inferior_data): Likewise.
12596 * bfd-target.c (target_bfd_reopen): Likewise.
12597 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12598 (deprecated_insert_raw_breakpoint): Likewise.
12599 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12600 * corelow.c (core_open): Likewise.
12601 * darwin-nat.c (darwin_check_new_threads): Likewise.
12602 (darwin_attach_pid): Likewise.
12603 * dummy-frame.c (dummy_frame_push): Likewise.
12604 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12605 * dwarf2loc.c (allocate_piece_closure): Likewise.
12606 * elfread.c (elf_symfile_segments): Likewise.
12607 * eval.c (ptrmath_type_p): Likewise.
12608 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12609 * gdbtypes.c (alloc_type_arch): Likewise.
12610 (alloc_type_instance): Likewise.
12611 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12612 * inf-child.c (inf_child_can_use_agent): Likewise.
12613 * inflow.c (get_inflow_inferior_data): Likewise.
12614 * infrun.c (save_infcall_suspend_state): Likewise.
12615 * jit.c (jit_reader_load): Likewise.
12616 (get_jit_objfile_data): Likewise.
12617 (get_jit_program_space_data): Likewise.
12618 (jit_object_open_impl): Likewise.
12619 (jit_symtab_open_impl): Likewise.
12620 (jit_block_open_impl): Likewise.
12621 (jit_frame_sniffer): Likewise.
12622 * linux-fork.c (add_fork): Likewise.
12623 * maint.c (make_command_stats_cleanup): Likewise.
12624 * objfiles.c (get_objfile_pspace_data): Likewise.
12625 * opencl-lang.c (struct lval_closure): Likewise.
12626 * osdata.c (osdata_start_osdata): Likewise.
12627 * progspace.c (new_address_space): Likewise.
12628 (add_program_space): Likewise.
12629 * remote-sim.c (get_sim_inferior_data): Likewise.
12630 * sh-tdep.c (sh_gdbarch_init): Likewise.
12631 * skip.c (Ignore): Likewise.
12632 (skip_delete_command): Likewise.
12633 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12634 (library_list_start_library): Likewise.
12635 (solib_aix_current_sos): Likewise.
12636 * solib-darwin.c (get_darwin_info): Likewise.
12637 (darwin_current_sos): Likewise.
12638 * solib-dsbt.c (get_dsbt_info): Likewise.
12639 * solib-ia64-hpux.c (new_so_list): Likewise.
12640 (ia64_hpux_get_solib_linkage_addr): Likewise.
12641 * solib-spu.c (append_ocl_sos): Likewise.
12642 (spu_current_sos): Likewise.
12643 * solib-svr4.c (get_svr4_info): Likewise.
12644 (svr4_keep_data_in_core): Likewise.
12645 (library_list_start_library): Likewise.
12646 (svr4_default_sos): Likewise.
12647 (svr4_read_so_list): Likewise.
12648 * solib-target.c (library_list_start_library): Likewise.
12649 (solib_target_current_sos): Likewise.
12650 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12651 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12652 * symfile.c (default_symfile_segments): Likewise.
12653 * target-descriptions.c (tdesc_data_init): Likewise.
12654 (tdesc_create_reg): Likewise.
12655 (struct tdesc_type *): Likewise.
12656 (tdesc_create_vector): Likewise.
12657 (tdesc_set_struct_size): Likewise.
12658 (struct tdesc_type *): Likewise.
12659 (tdesc_free_feature): Likewise.
12660 (tdesc_create_feature): Likewise.
12661 * windows-nat.c (windows_add_thread): Likewise.
12662 (windows_make_so): Likewise.
12663 * xml-support.c (gdb_xml_body_text): Likewise.
12664 (gdb_xml_create_parser_and_cleanup): Likewise.
12665 (xml_process_xincludes): Likewise.
12666 * xml-syscall.c (allocate_syscalls_info): Likewise.
12667 (syscall_create_syscall_desc): Likewise.
12668
5acfdbae
SDJ
126692014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12670
12671 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12672 function, with code from i386_stap_parse_special_token.
12673 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12674 (i386_stap_parse_special_token): Move code to the two functions
12675 above; simplify it.
12676
0000e5cc
PA
126772014-01-09 Pedro Alves <palves@redhat.com>
12678 Hui Zhu <hui@codesourcery.com>
12679
12680 PR gdb/16101
12681 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12682 bp_err_string. Don't mark the location shlib_disabled if the
12683 error thrown wasn't a generic or memory error. Catch errors
12684 thrown while inserting breakpoints in overlayed code. Output
12685 error message of software breakpoints.
12686 * remote.c (remote_insert_breakpoint): If this breakpoint has
12687 target-side commands but this stub doesn't support Z0 packets,
12688 throw NOT_SUPPORTED_ERROR error.
12689 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12690 * target.h (target_insert_breakpoint): Extend comment.
12691 (target_insert_hw_breakpoint): Add comment.
12692
b7ea362b
PA
126932014-01-08 Pedro Alves <palves@redhat.com>
12694
12695 * remote.c (remote_add_thread): Add threads silently if starting
12696 up.
12697 (remote_notice_new_inferior): If in all-stop, and starting up,
12698 don't call notice_new_inferior.
12699 (get_current_thread): New function, factored out from ...
12700 (add_current_inferior_and_thread): ... this. Adjust.
12701 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12702 found any thread, then select the remote's current thread as GDB's
12703 current thread too.
12704
b7bba001
JB
127052014-01-08 Joel Brobecker <brobecker@adacore.com>
12706
12707 * NEWS: Create a new section for the next release branch.
12708 Rename the section of the current branch, now that it has
12709 been cut.
12710
16dfbded
JB
127112014-01-08 Joel Brobecker <brobecker@adacore.com>
12712
12713 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12714 * version.in: Bump version to 7.7.50.DATE-cvs.
12715
22c90ac1
YQ
127162014-01-08 Yao Qi <yao@codesourcery.com>
12717
12718 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12719 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12720 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12721
d64ad97c
YQ
127222014-01-08 Yao Qi <yao@codesourcery.com>
12723
12724 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12725 return value of bfd_get_filename to symbol_file_add_from_bfd.
12726
f93ba80c
PM
127272014-01-08 Pierre Muller <muller@sourceware.org>
12728
12729 Fix PR16201.
12730 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12731 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12732 to prim_record_mininal_symbol_and_info.
12733 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12734 in call to prim_record_minimal_symbol_and_info.
12735 (read_pe_exported_syms): Set index field of section_data.
12736
a4d9ba85
AP
127372014-01-07 Andrew Pinski <apinski@cavium.com>
12738
12739 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12740 * features/aarch64.c: Regenerate.
12741
1b67eb02
AS
127422014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12743
12744 * target.c (return_null): Define.
12745 (update_current_target): Use it instead of return_zero for
12746 functions that return a pointer.
12747
5e3f4fab
EBM
127482014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12749
12750 * source.c (add_path): Fix check for duplicated paths in the previously
12751 included paths.
12752
e2616788
HK
127532014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12754
12755 * ada-lang.c: Remove duplicated include statements.
12756 * alphabsd-nat.c: Ditto.
12757 * amd64-darwin-tdep.c: Ditto.
12758 * amd64fbsd-nat.c: Ditto.
12759 * auto-load.c: Ditto.
12760 * ax-gdb.c: Ditto.
12761 * breakpoint.c: Ditto.
12762 * dbxread.c: Ditto.
12763 * fork-child.c: Ditto.
12764 * gdb_usleep.c: Ditto.
12765 * i386-darwin-tdep.c: Ditto.
12766 * i386fbsd-nat.c: Ditto.
12767 * infcmd.c: Ditto.
12768 * inferior.c: Ditto.
12769 * jv-lang.c: Ditto.
12770 * linux-nat.c: Ditto.
12771 * linux-tdep.c: Ditto.
12772 * m68kbsd-nat.c: Ditto.
12773 * m68klinux-nat.c: Ditto.
12774 * microblaze-tdep.c: Ditto.
12775 * mips-linux-tdep.c: Ditto.
12776 * mn10300-tdep.c: Ditto.
12777 * nto-tdep.c: Ditto.
12778 * opencl-lang.c: Ditto.
12779 * osdata.c: Ditto.
12780 * printcmd.c: Ditto.
12781 * regcache.c: Ditto.
12782 * remote-m32r-sdi.c: Ditto.
12783 * remote.c: Ditto.
12784 * symfile.c: Ditto.
12785 * symtab.c: Ditto.
12786 * tilegx-linux-nat.c: Ditto.
12787 * tilegx-tdep.c: Ditto.
12788 * tracepoint.c: Ditto.
12789 * valops.c: Ditto.
12790 * vaxbsd-nat.c: Ditto.
12791 * windows-nat.c: Ditto.
12792 * xtensa-tdep.c: Ditto.
12793
bd1f7788
YQ
127942014-01-07 Yao Qi <yao@codesourcery.com>
12795
12796 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12797
79301218
JB
127982014-01-07 Yao Qi <yao@codesourcery.com>
12799 Joel Brobecker <brobecker@adacore.com>
12800
12801 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12802 (pdc_write_regs): Likewise.
12803 (fetch_regs_kernel_thread): Likewise.
12804 (store_regs_kernel_thread): Likewise.
12805
128062014-01-07 Joel Brobecker <brobecker@adacore.com>
12807
12808 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12809 tagged type objects to their actual type.
12810
8e355c5d
JB
128112014-01-07 Joel Brobecker <brobecker@adacore.com>
12812
12813 * ada-valprint.c (print_field_values): Add "language" parameter.
12814 Update calls to print_field_values and print_variant_part.
12815 Pass new parameter "language" in call to val_print instead
12816 of "current_language". Replace call to ada_val_print by call
12817 to val_print.
12818 (print_variant_part): Add "language" parameter.
12819 (ada_val_print_struct_union): Update call to print_field_values.
12820
4fbf5aa5
JB
128212014-01-07 Joel Brobecker <brobecker@adacore.com>
12822
12823 * ada-valprint.c (ui_memcpy): Delete.
12824 (ada_print_floating): Update documentation. Add empty line
12825 between between function documentation and implementation.
12826 Delete variable "buffer". Use ui_file_xstrdup in place of
12827 ui_file_put. Minor adjustments following this change.
12828
71855601
JB
128292014-01-07 Joel Brobecker <brobecker@adacore.com>
12830
12831 * ada-valprint.c (ada_val_print_string): New function,
12832 extracted from ada_val_print_array.
12833 (ada_val_print_array): Replace extracted code by call
12834 to ada_val_print_string followed by a return. Move
12835 "else" branch to the function's top block.
12836
4eb27a30
JB
128372014-01-07 Joel Brobecker <brobecker@adacore.com>
12838
12839 * ada-valprint.c (ada_val_print_array): Move implementation
12840 down. Rename parameter "offset" and "val" into "offset_aligned"
12841 and "original_value" respectively. Add parameter "offset".
12842
34b27950
JB
128432014-01-07 Joel Brobecker <brobecker@adacore.com>
12844
12845 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12846 re-organizing the code. Change the "???" message printed
12847 when target type is a TYPE_CODE_UNDEF into
12848 "<ref to undefined type>".
12849
079e4591
JB
128502014-01-07 Joel Brobecker <brobecker@adacore.com>
12851
12852 * ada-valprint.c (print_record): Delete, implementation inlined...
12853 (ada_val_print_struct_union): ... here. Remove call to
12854 ada_check_typedef in inlined implementation.
12855
8004dfd1
JB
128562014-01-07 Joel Brobecker <brobecker@adacore.com>
12857
12858 * ada-valprint.c (ada_val_print_gnat_array): New function,
12859 extracted from ada_val_print_1;
12860 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12861 (ada_val_print_flt, ada_val_print_struct_union)
12862 (ada_val_print_ref): Likewise.
12863 (ada_val_print_1): Delete variables i and elttype.
12864 Replace extracted-out code by call to corresponding
12865 new functions.
12866
760a2db0
JB
128672014-01-07 Joel Brobecker <brobecker@adacore.com>
12868
12869 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12870
3a92c861
JB
128712014-01-07 Joel Brobecker <brobecker@adacore.com>
12872
12873 * ada-valprint.c (ada_val_print_1): Replace calls to
12874 ada_val_print_1 by calls to val_print.
12875
cd1630f9
JB
128762014-01-07 Joel Brobecker <brobecker@adacore.com>
12877
12878 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12879 Update calls to self accordingly. Replace calls to c_val_print
12880 by calls to val_print.
12881
bdf779a0
JB
128822014-01-07 Joel Brobecker <brobecker@adacore.com>
12883
12884 * ada-valprint.c (print_record): Delete declaration.
12885 (adjust_type_signedness, ada_val_print_1): Likewise.
12886 (ada_val_print): Move function implementation down.
12887 (print_variant_part, print_field_values, print_record):
12888 Move function implementation up.
12889
c0d48811
JB
128902014-01-07 Joel Brobecker <brobecker@adacore.com>
12891
12892 * python/py-type.c (typy_get_name): New function.
12893 (type_object_getset): Add entry for attribute "name".
12894 * NEWS: Add entry mentioning this new attribute.
12895
c26e9cbb
YQ
128962014-01-07 Yao Qi <yao@codesourcery.com>
12897
12898 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12899 statement.
12900
0cc6f43d
YQ
129012014-01-07 Yao Qi <yao@codesourcery.com>
12902
12903 * gnu-nat.c (info_port_rights): Add qualifier const to
12904 argument args.
12905
eec03155
YQ
129062014-01-07 Yao Qi <yao@codesourcery.com>
12907
12908 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12909
f04a82ef
YQ
129102014-01-07 Yao Qi <yao@codesourcery.com>
12911
12912 * gnu-nat.c (make_inf) Update declaration.
12913 (make_inf): Make it static.
12914 (inf_set_traced): Likewise.
12915 (inf_port_to_thread, inf_task_died_status): Likewise.
12916
d57dda0a
YQ
129172014-01-07 Yao Qi <yao@codesourcery.com>
12918
12919 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12920
3aa8c969
YQ
129212014-01-07 Yao Qi <yao@codesourcery.com>
12922
12923 * gnu-nat.c (_initialize_gnu_nat): Declare.
12924
94123b4f
YQ
129252014-01-07 Yao Qi <yao@codesourcery.com>
12926
12927 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12928 'enum bfd_endian'.
12929 (struct gdbarch_info) <byte_order>: Change type to
12930 'enum bfd_endian'.
12931 <byte_order_for_code>: Likewise.
12932 * gdbarch.c, gdbarch.h: Regenerated.
12933
dc81d70a
TT
129342014-01-06 Sasha Smundak <asmundak@google.com>
12935
12936 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12937
cc2f3c35
TT
129382014-01-06 Tom Tromey <tromey@redhat.com>
12939
12940 * doublest.c (convert_doublest_to_floatformat): Use const, not
12941 CONST.
12942 * somread.c (som_symtab_read): Likewise.
12943
adcf2eed
HZ
129442014-01-07 Hui Zhu <hui@codesourcery.com>
12945
12946 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12947 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12948 (gdb_bfd_fopen): Ditto.
12949 (gdb_bfd_openr): Ditto.
12950 (gdb_bfd_openw): Ditto.
12951 (gdb_bfd_openr_iovec): Ditto.
12952 (gdb_bfd_fdopenr): Ditto.
12953 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12954 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12955 with xstrdup.
12956 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12957 with xstrdup.
12958 * symfile-mem.c (symbol_file_add_from_memory): Removed
12959 gdb_bfd_stash_filename.
12960
50722198
DE
129612014-01-03 Doug Evans <dje@google.com>
12962
12963 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12964 output.
12965
2fa4b862
JB
129662014-01-01 Joel Brobecker <brobecker@adacore.com>
12967
12968 Update year range in copyright notice of all files.
12969
28498c42
JB
129702014-01-01 Joel Brobecker <brobecker@adacore.com>
12971
12972 * top.c (print_gdb_version): Set copyright year to 2014.
12973
7b6e1046
JB
129742014-01-01 Joel Brobecker <brobecker@adacore.com>
12975
12976 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12977
df96af55 12978For older changes see ChangeLog-2013.
c906108c
SS
12979\f
12980Local Variables:
12981mode: change-log
12982left-margin: 8
12983fill-column: 74
12984version-control: never
57da7796 12985coding: utf-8
c906108c 12986End:
This page took 2.161531 seconds and 4 git commands to generate.