record-btrace: provide xfer_partial target method
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
633785ff
MM
12014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2
3 * record-btrace.c (record_btrace_xfer_partial)
4 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5 (record_btrace_allow_memory_access): New.
6 (init_record_btrace_ops): Initialize new methods.
7 * target.c (raw_memory_xfer_partial): Bail out if target reports
8 that this memory is not available.
9
3db08215
MM
102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11
12 * target.h (target_ops) <to_insert_breakpoint>
13 <to_remove_breakpoint>: Add target_ops parameter.
14 (forward_target_insert_breakpoint): New.
15 (forward_target_remove_breakpoint): New.
16 (memory_remove_breakpoint, memory_insert_breakpoint):
17 Add target_ops parameter.
18 * target.c (target_insert_breakpoint): Split into this and ...
19 (forward_target_insert_breakpoint): ... this.
20 (target_remove_breakpoint): Split into this and ...
21 (forward_target_remove_breakpoint): ... this.
22 (debug_to_insert_breakpoint): Add target_ops parameter.
23 Call forward_target_insert_breakpoint.
24 (debug_to_remove_breakpoint): Add target_ops parameter.
25 Call forward_target_remove_breakpoint.
26 (update_current_target): Do not inherit or default to_insert_breakpoint
27 and to_remove_breakpoint.
28 * corelow.c (ignore): Add target_ops parameter.
29 * exec.c (ignore): Add target_ops parameter.
30 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
31 Add target_ops parameter.
32 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
33 Add target_ops parameter.
34 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
35 Add target_ops parameter.
36 * record-full.c (record_full_beneath_to_insert_breakpoint)
37 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
38 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
39 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
40 (record_full_core_remove_breakpoint): Add target_ops parameter.
41 Update users.
42 (record_full_beneath_to_insert_breakpoint_ops)
43 (record_full_beneath_to_remove_breakpoint_ops)
44 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
45 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
46 tmp_to_remove_breakpoint_ops,
47 record_full_beneath_to_insert_breakpoint_ops, and
48 record_full_beneath_to_remove_breakpoint_ops.
49 * remote-m32r-sdi.c (m32r_insert_breakpoint)
50 (m32r_remove_breakpoint): Add target_ops parameter.
51 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
52 Add target_ops parameter.
53 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
54 Add target_ops parameter.
55
cecac1ab
MM
562014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
57 Markus Metzger <markus.t.metzger@intel.com>
58
59 * record-btrace.c: Include frame-unwind.h.
60 (record_btrace_frame_unwind_stop_reason)
61 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
62 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
63 New.
64 (init_record_btrace_ops): Install it.
65
824344ca
MM
662014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67
68 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
69 get_prev_frame_1.
70
32261e52
MM
712014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
72
73 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
74 earlier.
75
ea001bdc
MM
762014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
77
78 * frame-unwind.c: Include target.h.
79 (frame_unwind_try_unwinder): New function with code from ...
80 (frame_unwind_find_by_frame): ... here. New variable
81 unwinder_from_target, call also target_get_unwinder)
82 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
83 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
84 * target.h (struct target_ops): New fields to_get_unwinder and
85 to_get_tailcall_unwinder.
86 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
87
1f3ef581
MM
882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
89
90 * record-btrace.c (record_btrace_fetch_registers)
91 (record_btrace_store_registers)
92 (record_btrace_to_prepare_to_store): New.
93 (init_record_btrace_ops): Add the above.
94
f32dbf8c
MM
952014-01-16 Tom Tromey <tromey@redhat.com>
96
97 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
98 * target.h (struct target_ops) <to_prepare_to_store>: Add
99 argument.
100 (target_prepare_to_store): Add argument.
101 * target.c (debug_to_prepare_to_store): Add argument.
102 (update_current_target): Update.
103 * remote.c (remote_prepare_to_store): Add 'self' argument.
104 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
105 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
106 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
107 * record-full.c (record_full_core_prepare_to_store): Add 'self'
108 argument.
109 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
110 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
111 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
112 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
113 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
114
07bbe694
MM
1152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
116
117 * btrace.h (replay) <replay>: New.
118 (btrace_is_replaying): New.
119 * btrace.c (btrace_clear): Free replay iterator.
120 (btrace_is_replaying): New.
121 * record-btrace.c (record_btrace_is_replaying): New.
122 (record_btrace_info): Print insn number if replaying.
123 (record_btrace_insn_history): Start at replay position.
124 (record_btrace_call_history): Start at replay position.
125 (init_record_btrace_ops): Init to_record_is_replaying.
126
0688d04e
MM
1272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
128
129 * record-btrace.c (record_btrace_insn_history_range): Include
130 end.
131 (record_btrace_insn_history_from): Adjust range.
132 (record_btrace_call_history_range): Include
133 end.
134 (record_btrace_call_history_from): Adjust range.
135 * NEWS: Announce changes.
136
8710b709
MM
1372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
138
139 * record.h (enum record_print_flag)
140 <record_print_indent_calls>: New.
141 * record.c (get_call_history_modifiers): Recognize /c modifier.
142 (_initialize_record): Document /c modifier.
143 * record-btrace.c (btrace_call_history): Add btinfo parameter.
144 Reorder fields. Optionally indent the function name. Update
145 all users.
146 * NEWS: Announce changes.
147
d0fa7535
MM
1482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
149
150 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
151
5de9129b
MM
1522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
153
154 * btrace.c (ftrace_new_function): Start counting at one.
155 * record-btrace.c (record_btrace_info): Adjust number of calls
156 and insns.
157 * NEWS: Announce it.
158
7acbe133
MM
1592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
160
161 * record-btrace.c (btrace_call_history_insn_range): Print
162 insn range as [begin, end].
163
23a7fe75
MM
1642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
165
166 * btrace.h (struct btrace_func_link): New.
167 (enum btrace_function_flag): New.
168 (struct btrace_inst): Rename to ...
169 (struct btrace_insn): ...this. Update all users.
170 (struct btrace_func) <ibegin, iend>: Remove.
171 (struct btrace_func_link): New.
172 (struct btrace_func): Rename to ...
173 (struct btrace_function): ...this. Update all users.
174 (struct btrace_function) <segment, flow, up, insn, insn_offset)
175 (number, level, flags>: New.
176 (struct btrace_insn_iterator): Rename to ...
177 (struct btrace_insn_history): ...this.
178 Update all users.
179 (struct btrace_insn_iterator, btrace_call_iterator): New.
180 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
181 (struct btrace_target_info) <begin, end, level>
182 <insn_history, call_history>: New.
183 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
184 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
185 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
186 (btrace_call_number, btrace_call_begin, btrace_call_end)
187 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
188 (btrace_find_function_by_number, btrace_set_insn_history)
189 (btrace_set_call_history): New.
190 * btrace.c (btrace_init_insn_iterator)
191 (btrace_init_func_iterator, compute_itrace): Remove.
192 (ftrace_print_function_name, ftrace_print_filename)
193 (ftrace_skip_file): Change
194 parameter to const.
195 (ftrace_init_func): Remove.
196 (ftrace_debug): Use new btrace_function fields.
197 (ftrace_function_switched): Also consider gaining and
198 losing symbol information).
199 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
200 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
201 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
202 New.
203 (ftrace_new_function): Move. Remove debug print.
204 (ftrace_update_lines, ftrace_update_insns): New.
205 (ftrace_update_function): Check for call, ret, and jump.
206 (compute_ftrace): Renamed to ...
207 (btrace_compute_ftrace): ...this. Rewritten to compute call
208 stack.
209 (btrace_fetch, btrace_clear): Updated.
210 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
211 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
212 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
213 (btrace_call_number, btrace_call_begin, btrace_call_end)
214 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
215 (btrace_find_function_by_number, btrace_set_insn_history)
216 (btrace_set_call_history): New.
217 * record-btrace.c (require_btrace): Use new btrace thread
218 info fields.
219 (record_btrace_info, btrace_insn_history)
220 (record_btrace_insn_history, record_btrace_insn_history_range):
221 Use new btrace thread info fields and new iterator.
222 (btrace_func_history_src_line): Rename to ...
223 (btrace_call_history_src_line): ...this. Use new btrace
224 thread info fields.
225 (btrace_func_history): Rename to ...
226 (btrace_call_history): ...this. Use new btrace thread info
227 fields and new iterator.
228 (record_btrace_call_history, record_btrace_call_history_range):
229 Use new btrace thread info fields and new iterator.
230
8372a7cb
MM
2312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
232
233 * frame.h (frame_id_build_unavailable_stack_special): New.
234 * frame.c (frame_id_build_unavailable_stack_special): New.
235
c2170eef
MM
2362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
237
238 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
239 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
240 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
241 to gdbarch.
242 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
243 (i386_insn_is_jump, i386_jmp_p): New.
244 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
245 insn_is_jump to gdbarch.
246 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
247 * gdbarch.h: Regenerated.
248 * gdbarch.c: Regenerated.
249 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
250 (default_insn_is_jump): New.
251 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
252 (default_insn_is_jump): New.
253
864089d2
MM
2542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
255
256 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
257 Change to ...
258 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
259 (btrace_read_type) <btrace_read_new>: Change to ...
260 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
261
ed9edfb5
MM
2622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
263
264 * common/linux-btrace.c (linux_read_btrace): Free trace from
265 previous iteration.
266
fbcbc3fd
DE
2672014-01-15 Doug Evans <dje@google.com>
268
269 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
270 uint32_t.
271
3d548a53
TT
2722014-01-15 Tom Tromey <tromey@redhat.com>
273
274 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
275 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
276 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
277 (set_objfile_main_name): New function.
278 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
279 language_of_main>: New fields.
280 (set_objfile_main_name): Declare.
281 * symtab.c (find_main_name): Loop over objfiles to find the main
282 name and language.
283 (set_main_name): Now static.
284 (get_main_info): Add comment.
285 * symtab.h (set_main_name): Don't declare.
286
32ac0d11
TT
2872014-01-15 Tom Tromey <tromey@redhat.com>
288
289 * symtab.c (main_progspace_key): New global.
290 (struct main_info): New.
291 (name_of_main, language_of_main): Remove.
292 (get_main_info, main_info_cleanup): New function.
293 (set_main_name, main_name, main_language): Use get_main_info.
294 (_initialize_symtab): Initialize main_progspace_key.
295
9e6c82ad
TT
2962014-01-15 Tom Tromey <tromey@redhat.com>
297
298 * dbxread.c (process_one_symbol): Update.
299 * dwarf2read.c (read_partial_die): Update.
300 * symfile.c (set_initial_language): Call main_language.
301 * symtab.c (language_of_main): Now static.
302 (set_main_name): Add 'lang' parameter.
303 (find_main_name): Update.
304 (main_language): New function.
305 (symtab_observer_executable_changed): Update.
306 * symtab.h (set_main_name): Update.
307 (language_of_main): Remove.
308 (main_language): Declare.
309
6ef55de7
TT
3102014-01-15 Tom Tromey <tromey@redhat.com>
311
312 * symfile.c (init_entry_point_info): Use new "initialized" field.
313 Update.
314 * objfiles.h (struct entry_point) <initialized>: New field.
315 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
316 (struct objfile) <ei>: ...here. Remove.
317 * objfiles.c (entry_point_address_query): Update.
318
53eddfa6
TT
3192014-01-15 Tom Tromey <tromey@redhat.com>
320
321 * objfiles.c (entry_point_address_query): Relocate entry point
322 address.
323 (objfile_relocate1): Do not relocate entry point address.
324 * objfiles.h (struct entry_info) <entry_point>: Update comment.
325 <the_bfd_section_index>: New field.
326 * symfile.c (init_entry_point_info): Find the entry point's
327 section.
328
d56e56aa
TT
3292014-01-15 Tom Tromey <tromey@redhat.com>
330
331 * solib-frv.c (enable_break): Use entry_point_address_query.
332
33a97bbe
OJ
3332014-01-15 Omair Javaid <omair.javaid@linaro.org>
334
335 * NEWS: Add note on improved process record-replay on
336 arm*-linux* targets.
337
c6ec2b30
OJ
3382014-01-15 Omair Javaid <omair.javaid@linaro.org>
339
340 * arm-tdep.c (enum arm_record_result): New enum.
341 (arm_record_unsupported_insn): New function.
342 (arm_record_coproc_data_proc): Removed.
343 (thumb2_record_ld_st_multiple): New function.
344 (thumb2_record_ld_st_dual_ex_tbb): New function.
345 (thumb2_record_data_proc_sreg_mimm): New function.
346 (thumb2_record_ps_dest_generic): New function.
347 (thumb2_record_branch_misc_cntrl): New function.
348 (thumb2_record_str_single_data): New function.
349 (thumb2_record_ld_mem_hints): New function.
350 (thumb2_record_ld_word): New function.
351 (thumb2_record_lmul_lmla_div): New function.
352 (thumb2_record_decode_insn_handler): New function.
353 (decode_insn): Add thumb32 instruction handlers.
354
97dfe206
OJ
3552014-01-15 Omair Javaid <omair.javaid@linaro.org>
356
357 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
358 (struct arm_linux_record_tdep): Declare.
359 (arm_canonicalize_syscall): New function.
360 (arm_all_but_pc_registers_record): New function.
361 (arm_linux_syscall_record): New function.
362 (arm_linux_init_abi): Add syscall recording constructs.
363 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
364 decoding. (arm_record_coproc_data_proc): Update arm syscall
365 decoding.
366 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
367 <arm_syscall_record>: New field.
368 * configure.tgt (arm*-*-linux*): Add linux-record.o to
369 gdb_target_obs.
370
9904a494
OJ
3712014-01-15 Omair Javaid <omair.javaid@linaro.org>
372
373 * arm-tdep.c (thumb_record_misc): Update to use sp as base
374 register for push instruction recording.
375
f969241e
OJ
3762014-01-15 Omair Javaid <omair.javaid@linaro.org>
377
378 * arm-tdep.c (thumb_record_misc): Update to correct logical
379 error while recording ldm, ldmia and pop instructions.
380
bfbbec00
OJ
3812014-01-15 Omair Javaid <omair.javaid@linaro.org>
382
383 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
384
e40adcc9
PA
3852014-01-15 Pedro Alves <palves@redhat.com>
386
387 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
388 (go32_resume, go32_fetch_registers, store_register)
389 (go32_store_registers, go32_prepare_to_store)
390 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
391 (go32_create_inferior, go32_can_run, go32_terminal_init)
392 (go32_terminal_inferior, go32_terminal_ours): Delete forward
393 declarations.
394
b0a16e66
TT
3952014-01-15 Tom Tromey <tromey@redhat.com>
396
397 * target.h (async_callback_ftype): New typedef.
398 (struct target_ops) <to_async>: Use it.
399
bf7105a4
JB
4002014-01-15 Joel Brobecker <brobecker@adacore.com>
401
402 * python/py-value.c (get_field_type): Remove unnecessary curly
403 braces for single-statement if block.
404
a8f35c2e
JB
4052014-01-15 Joel Brobecker <brobecker@adacore.com>
406
407 * python/py-type.c (convert_field): Add missing empty line
408 after declarations.
409
bb4142cf
DE
4102014-01-14 Doug Evans <dje@google.com>
411
412 * symfile.h (expand_symtabs_matching): Renamed from
413 expand_partial_symbol_names. Update prototype.
414 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
415 * symfile.c (expand_symtabs_matching): Renamed from
416 expand_partial_symbol_names. New args file_matcher, kind.
417 Rename arg fun to symbol_matcher.
418 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
419 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
420 ada_expand_partial_symbol_name.
421 (ada_make_symbol_completion_list): Update to call
422 expand_symtabs_matching.
423 (ada_add_global_exceptions): Call expand_symtabs_matching.
424 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
425 call map_symbol_filenames.
426 * symtab.c (sources_info): Update to call map_symbol_filenames.
427 (search_symbols): Call expand_symtabs_matching.
428 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
429 (default_make_symbol_completion_list_break_on): Update to call
430 expand_symtabs_matching.
431 (make_source_files_completion_list): Update to call
432 map_symbol_filenames.
433
206f2a57
DE
4342014-01-14 Doug Evans <dje@google.com>
435
436 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
437 (expand_symtabs_symbol_matcher_ftype): New typedef.
438 (quick_symbol_functions.expand_symtabs_matching): Update to use.
439 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
440 * symfile.c (expand_partial_symbol_names): Update to use
441 expand_symtabs_symbol_matcher_ftype.
442 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
443 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
444 Arg name_matcher renamed to symbol_matcher.
445 * psymtab.c (recursively_search_psymtabs): Update to use
446 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
447 sym_matcher.
448 (expand_symtabs_matching_via_partial): Update to use
449 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
450 Arg name_matcher renamed to symbol_matcher.
451
540c2971
DE
4522014-01-14 Doug Evans <dje@google.com>
453
454 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
455 (map_partial_symbol_filenames): Ditto.
456 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
457 (map_partial_symbol_filenames): Ditto.
458 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
459 (map_partial_symbol_filenames): Ditto.
460 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
461 (map_partial_symbol_filenames): Ditto.
462 * symtab.c: Delete #include "psymtab.h".
463
8213266a
PA
4642014-01-14 Pedro Alves <palves@redhat.com>
465 Tom Tromey <tromey@redhat.com>
466
467 * infrun.c (use_displaced_stepping): Use find_record_target
468 instead of RECORD_IS_USED.
469 (adjust_pc_after_break): Use record_full_is_used instead of
470 RECORD_IS_USED.
471 * record-btrace.c (record_btrace_open): Call record_preopen
472 instead of checking RECORD_IS_USED.
473 * record-full.c (record_full_shortname)
474 (record_full_core_shortname): New globals.
475 (record_full_is_used): New function.
476 (find_full_open): Call record_preopen instead of checking
477 RECORD_IS_USED.
478 (init_record_full_ops): Set the target's shortname to
479 record_full_shortname.
480 (init_record_full_core_ops): Set the target's shortname to
481 record_full_core_shortname.
482 * record-full.h (record_full_is_used): Declare.
483 * record.c (find_record_target): Make extern.
484 (record_preopen): New function.
485 * record.h (RECORD_IS_USED): Delete macro.
486 (find_record_target, record_preopen): Declare functions.
487
7ec1862d
YQ
4882014-01-14 Yao Qi <yao@codesourcery.com>
489
490 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
491 'len''s type to ULONGEST.
492 (core_xfer_shared_libraries_aix): Likewise.
493 * gdbarch.c, gdbarch.h: Regenerated.
494 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
495 Change type of 'len' to ULONGEST.
496 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
497 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
498
dea80a27
YQ
4992014-01-14 Yao Qi <yao@codesourcery.com>
500
501 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
502 type of 'len' to ULONGEST.
503 (linux_xfer_osdata_processgroups): Likewise.
504 (linux_xfer_osdata_threads): Likewise.
505 (linux_xfer_osdata_fds): Likewise.
506 (linux_xfer_osdata_isockets): Likewise.
507 (linux_xfer_osdata_shm): Likewise.
508 (linux_xfer_osdata_sem): Likewise.
509 (linux_xfer_osdata_msg): Likewise.
510 (linux_common_xfer_osdata): Likewise.
511 (struct osdata_type) <getter>: Likewise.
512 * common/linux-osdata.h (linux_common_xfer_osdata): Update
513 the declaration.
514
b55e14c7
YQ
5152014-01-14 Yao Qi <yao@codesourcery.com>
516
517 * target.h (target_xfer_partial_ftype): Update.
518 (struct target_ops) <to_xfer_partial>: Change 'len' type to
519 ULONGEST.
520 * aix-thread.c (aix_thread_xfer_partial): Change type of
521 argument 'len' to ULONGEST.
522 * auxv.c (procfs_xfer_auxv): Likewise.
523 (ld_so_xfer_auxv): Likewise.
524 (memory_xfer_auxv): Likewise.
525 * bfd-target.c (target_bfd_xfer_partial): Likewise.
526 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
527 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
528 * corelow.c (core_xfer_partial): Likewise.
529 * ctf.c (ctf_xfer_partial): Likewise.
530 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
531 '%u'.
532 (darwin_read_dyld_info): Likewise.
533 (darwin_xfer_partial): Likewise.
534 * exec.c (section_table_xfer_memory_partial): Likewise.
535 (exec_xfer_partial): Likewise.
536 * exec.h (section_table_xfer_memory_partial): Update
537 declaration.
538 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
539 instead of plongest.
540 (gnu_xfer_partial): Likewise.
541 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
542 (ia64_hpux_xfer_solib_got): Likewise.
543 (ia64_hpux_xfer_partial): Likewise.
544 * ia64-linux-nat.c (ia64_linux_xfer_partial):
545 * inf-ptrace.c (inf_ptrace_xfer_partial):
546 * inf-ttrace.c (inf_ttrace_xfer_partial):
547 * linux-nat.c (linux_xfer_siginfo): Likewise.
548 (linux_nat_xfer_partial): Likewise.
549 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
550 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
551 * monitor.c (monitor_xfer_memory): Likewise.
552 (monitor_xfer_partial): Likewise.
553 * procfs.c (procfs_xfer_partial): Likewise.
554 * record-full.c (record_full_xfer_partial): Likewise.
555 (record_full_core_xfer_partial): Likewise.
556 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
557 instead of plongest.
558 (gdbsim_xfer_partial): Likewise.
559 * remote.c (remote_xfer_partial): Likewise.
560 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
561 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
562 declaration.
563 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
564 (rs6000_xfer_shared_libraries): Likewise.
565 * sol-thread.c (sol_thread_xfer_partial): Likewise.
566 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
567 (sparc_xfer_partial): Likewise.
568 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
569 (spu_xfer_partial): Likewise.
570 * spu-multiarch.c (spu_xfer_partial): Likewise.
571 * target.c (target_read_live_memory): Likewise.
572 (memory_xfer_live_readonly_partial): Likewise.
573 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
574 (target_xfer_partial, default_xfer_partial): Likewise.
575 (current_xfer_partial): Likewise.
576 * tracepoint.c (tfile_xfer_partial): Likewise.
577 * windows-nat.c (windows_xfer_memory): Likewise. Call
578 pulongest instead of plongest.
579 (windows_xfer_partial): Likewise.
580 (windows_xfer_shared_libraries): Likewise.
581
05804640
YQ
5822014-01-14 Yao Qi <yao@codesourcery.com>
583
584 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
585 target_xfer_partial_ftype.
586
b5b08fb4
SC
5872014-01-13 Siva Chandra Reddy <sivachandra@google.com>
588
589 PR python/15464
590 PR python/16113
591 * valops.c (value_struct_elt_bitpos): New function
592 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
593 object to 'None' if the field name is an empty string ("").
594 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
595 attribute to look for a field when 'name' is 'None'.
596 (get_field_type): New function
597
13aaf454
DE
5982014-01-13 Doug Evans <dje@google.com>
599
600 PR symtab/16426
601 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
602 (try_open_dwop_file): Ditto.
603 * gdb_bfd.c: #include "vec.h".
604 (bfdp): New typedef.
605 (struct gdb_bfd_data): New member included_bfds.
606 (gdb_bfd_unref): Unref all included bfds.
607 (gdb_bfd_record_inclusion): New function.
608 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
609
c2cec97c
TT
6102014-01-13 Tom Tromey <tromey@redhat.com>
611
612 * gdbcore.h (deprecated_core_resize_section_table): Remove.
613
78e5999d
TT
6142014-01-13 Tom Tromey <tromey@redhat.com>
615
616 * defs.h (use_windows): Remove.
617 * gdb.c (main): Update.
618 * main.c (captured_main, gdb_main): Update.
619 * main.h (struct captured_main_args) <use_windows>: Remove.
620 * top.c (use_windows): Remove.
621
f2052bbe
TT
6222014-01-13 Tom Tromey <tromey@redhat.com>
623
624 * defs.h (deprecated_flush_hook): Remove.
625
fde4f8ed
JK
6262014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
627
628 PR threads/16216
629 * linux-thread-db.c (try_thread_db_load): Add parameter
630 check_auto_load_safe. Move here the file_is_auto_load_safe call.
631 (try_thread_db_load_from_pdir_1): Move it there from here.
632 (try_thread_db_load_from_sdir): Update caller.
633 (try_thread_db_load_from_dir): Move it there from here.
634
bdf61915
PP
6352014-01-13 Patrick Palka <patrick@parcs.ath.cx>
636
637 * regformats/regdat.sh: Always rewrite the register file.
638
f71e1a8d
PA
6392014-01-13 Pedro Alves <palves@redhat.com>
640
641 * Makefile.in (CHECK_HEADERS): New variable.
642 (check-headers:): New rule.
643
42c85435
TT
6442014-01-13 Tom Tromey <tromey@redhat.com>
645
646 * cli/cli-setshow.c (do_set_command): Update.
647 * defs.h (deprecated_set_hook): Remove.
648 * top.c (deprecated_set_hook): Remove.
649
f8de5129
PA
6502014-01-13 Pedro Alves <palves@redhat.com>
651
652 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
653 the tracepoint if the PC is a pseudo-register.
654
fc270c35
TT
6552014-01-13 Tom Tromey <tromey@redhat.com>
656
657 * defs.h (XCALLOC): Remove.
658 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
659 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
660 * dwarf2loc.c (allocate_piece_closure): Likewise.
661 * elfread.c (elf_symfile_segments): Likewise.
662 (elf_symfile_segments): Likewise.
663 * gdbtypes.c (copy_type_recursive): Likewise.
664 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
665 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
666 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
667 XCALLOC.
668 * mt-tdep.c (mt_gdbarch_init): Likewise.
669 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
670 XCALLOC.
671 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
672 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
673 * registry.c (registry_alloc_data): Likewise.
674 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
675 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
676 * serial.c (serial_fdopen_ops): Likewise.
677 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
678 XCALLOC.
679 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
680 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
681 not XCALLOC.
682
70ba0933
TT
6832014-01-13 Tom Tromey <tromey@redhat.com>
684
685 * defs.h (XMALLOC): Remove.
686 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
687 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
688 * cli-out.c (struct ui_out *): Likewise.
689 * cli/cli-dump.c (add_dump_command): Likewise.
690 (add_dump_command): Likewise.
691 * complaints.c (get_complaints): Likewise.
692 (find_complaint): Likewise.
693 * dwarf2-frame.c (execute_cfa_program): Likewise.
694 * dwarf2read.c (abbrev_table_read_table): Likewise.
695 * gdbarch.sh: Likewise.
696 * gdbarch.c: Rebuild.
697 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
698 * interps.c (interp_new): Likewise.
699 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
700 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
701 * mi/mi-console.c (mi_console_file_new): Likewise.
702 * mi/mi-interp.c (mi_interpreter_init): Likewise.
703 * mi/mi-out.c (mi_out_new): Likewise.
704 * mi/mi-parse.c (mi_parse): Likewise.
705 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
706 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
707 * observer.c (xalloc_observer_list_node): Likewise.
708 * regcache.c (regcache_xmalloc_1): Likewise.
709 * reggroups.c (reggroup_new): Likewise.
710 (_initialize_reggroup): Likewise.
711 * registry.c (register_data_with_cleanup): Likewise.
712 * remote.c (remote_notif_stop_alloc_reply): Likewise.
713 * ser-base.c (serial_ttystate): Likewise.
714 * ser-mingw.c (make_pipe_state): Likewise.
715 * ser-pipe.c (pipe_open): Likewise.
716 * serial.c (serial_open): Likewise.
717 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
718 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
719 (tui_alloc_win_info): Likewise.
720 (tui_add_content_elements): Likewise.
721 * tui/tui-file.c (tui_file_new): Likewise.
722 * tui/tui-out.c (tui_out_new): Likewise.
723 * ui-file.c (mem_file_new): Likewise.
724 * ui-out.c (push_level): Likewise.
725 (make_cleanup_ui_out_end): Likewise.
726 (append_header_to_list): Likewise.
727 (ui_out_new): Likewise.
728 * user-regs.c (user_reg_add_builtin): Likewise.
729
41bf6aca
TT
7302014-01-13 Tom Tromey <tromey@redhat.com>
731
732 * defs.h (XZALLOC): Remove.
733 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
734 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
735 (get_ada_tasks_inferior_data): Likewise.
736 * auto-load.c (get_auto_load_pspace_data): Likewise.
737 * auxv.c (get_auxv_inferior_data): Likewise.
738 * bfd-target.c (target_bfd_reopen): Likewise.
739 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
740 (deprecated_insert_raw_breakpoint): Likewise.
741 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
742 * corelow.c (core_open): Likewise.
743 * darwin-nat.c (darwin_check_new_threads): Likewise.
744 (darwin_attach_pid): Likewise.
745 * dummy-frame.c (dummy_frame_push): Likewise.
746 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
747 * dwarf2loc.c (allocate_piece_closure): Likewise.
748 * elfread.c (elf_symfile_segments): Likewise.
749 * eval.c (ptrmath_type_p): Likewise.
750 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
751 * gdbtypes.c (alloc_type_arch): Likewise.
752 (alloc_type_instance): Likewise.
753 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
754 * inf-child.c (inf_child_can_use_agent): Likewise.
755 * inflow.c (get_inflow_inferior_data): Likewise.
756 * infrun.c (save_infcall_suspend_state): Likewise.
757 * jit.c (jit_reader_load): Likewise.
758 (get_jit_objfile_data): Likewise.
759 (get_jit_program_space_data): Likewise.
760 (jit_object_open_impl): Likewise.
761 (jit_symtab_open_impl): Likewise.
762 (jit_block_open_impl): Likewise.
763 (jit_frame_sniffer): Likewise.
764 * linux-fork.c (add_fork): Likewise.
765 * maint.c (make_command_stats_cleanup): Likewise.
766 * objfiles.c (get_objfile_pspace_data): Likewise.
767 * opencl-lang.c (struct lval_closure): Likewise.
768 * osdata.c (osdata_start_osdata): Likewise.
769 * progspace.c (new_address_space): Likewise.
770 (add_program_space): Likewise.
771 * remote-sim.c (get_sim_inferior_data): Likewise.
772 * sh-tdep.c (sh_gdbarch_init): Likewise.
773 * skip.c (Ignore): Likewise.
774 (skip_delete_command): Likewise.
775 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
776 (library_list_start_library): Likewise.
777 (solib_aix_current_sos): Likewise.
778 * solib-darwin.c (get_darwin_info): Likewise.
779 (darwin_current_sos): Likewise.
780 * solib-dsbt.c (get_dsbt_info): Likewise.
781 * solib-ia64-hpux.c (new_so_list): Likewise.
782 (ia64_hpux_get_solib_linkage_addr): Likewise.
783 * solib-spu.c (append_ocl_sos): Likewise.
784 (spu_current_sos): Likewise.
785 * solib-svr4.c (get_svr4_info): Likewise.
786 (svr4_keep_data_in_core): Likewise.
787 (library_list_start_library): Likewise.
788 (svr4_default_sos): Likewise.
789 (svr4_read_so_list): Likewise.
790 * solib-target.c (library_list_start_library): Likewise.
791 (solib_target_current_sos): Likewise.
792 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
793 * symfile-debug.c (install_symfile_debug_logging): Likewise.
794 * symfile.c (default_symfile_segments): Likewise.
795 * target-descriptions.c (tdesc_data_init): Likewise.
796 (tdesc_create_reg): Likewise.
797 (struct tdesc_type *): Likewise.
798 (tdesc_create_vector): Likewise.
799 (tdesc_set_struct_size): Likewise.
800 (struct tdesc_type *): Likewise.
801 (tdesc_free_feature): Likewise.
802 (tdesc_create_feature): Likewise.
803 * windows-nat.c (windows_add_thread): Likewise.
804 (windows_make_so): Likewise.
805 * xml-support.c (gdb_xml_body_text): Likewise.
806 (gdb_xml_create_parser_and_cleanup): Likewise.
807 (xml_process_xincludes): Likewise.
808 * xml-syscall.c (allocate_syscalls_info): Likewise.
809 (syscall_create_syscall_desc): Likewise.
810
5acfdbae
SDJ
8112014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
812
813 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
814 function, with code from i386_stap_parse_special_token.
815 (i386_stap_parse_special_token_three_arg_disp): Likewise.
816 (i386_stap_parse_special_token): Move code to the two functions
817 above; simplify it.
818
0000e5cc
PA
8192014-01-09 Pedro Alves <palves@redhat.com>
820 Hui Zhu <hui@codesourcery.com>
821
822 PR gdb/16101
823 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
824 bp_err_string. Don't mark the location shlib_disabled if the
825 error thrown wasn't a generic or memory error. Catch errors
826 thrown while inserting breakpoints in overlayed code. Output
827 error message of software breakpoints.
828 * remote.c (remote_insert_breakpoint): If this breakpoint has
829 target-side commands but this stub doesn't support Z0 packets,
830 throw NOT_SUPPORTED_ERROR error.
831 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
832 * target.h (target_insert_breakpoint): Extend comment.
833 (target_insert_hw_breakpoint): Add comment.
834
b7ea362b
PA
8352014-01-08 Pedro Alves <palves@redhat.com>
836
837 * remote.c (remote_add_thread): Add threads silently if starting
838 up.
839 (remote_notice_new_inferior): If in all-stop, and starting up,
840 don't call notice_new_inferior.
841 (get_current_thread): New function, factored out from ...
842 (add_current_inferior_and_thread): ... this. Adjust.
843 (remote_start_remote) <all-stop>: Fetch the thread list. If we
844 found any thread, then select the remote's current thread as GDB's
845 current thread too.
846
b7bba001
JB
8472014-01-08 Joel Brobecker <brobecker@adacore.com>
848
849 * NEWS: Create a new section for the next release branch.
850 Rename the section of the current branch, now that it has
851 been cut.
852
16dfbded
JB
8532014-01-08 Joel Brobecker <brobecker@adacore.com>
854
855 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
856 * version.in: Bump version to 7.7.50.DATE-cvs.
857
22c90ac1
YQ
8582014-01-08 Yao Qi <yao@codesourcery.com>
859
860 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
861 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
862 (spu_xfer_partial): Cast 'buf' to 'const char *'.
863
d64ad97c
YQ
8642014-01-08 Yao Qi <yao@codesourcery.com>
865
866 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
867 return value of bfd_get_filename to symbol_file_add_from_bfd.
868
f93ba80c
PM
8692014-01-08 Pierre Muller <muller@sourceware.org>
870
871 Fix PR16201.
872 * coff-pe-read.c (struct read_pe_section_data): Add index field.
873 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
874 to prim_record_mininal_symbol_and_info.
875 (add_pe_forwarded_sym): Use known section number of forwarded symbol
876 in call to prim_record_minimal_symbol_and_info.
877 (read_pe_exported_syms): Set index field of section_data.
878
a4d9ba85
AP
8792014-01-07 Andrew Pinski <apinski@cavium.com>
880
881 * features/aarch64-core.xml (cpsr): Change to be 64bit.
882 * features/aarch64.c: Regenerate.
883
1b67eb02
AS
8842014-01-07 Andreas Schwab <schwab@linux-m68k.org>
885
886 * target.c (return_null): Define.
887 (update_current_target): Use it instead of return_zero for
888 functions that return a pointer.
889
5e3f4fab
EBM
8902014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
891
892 * source.c (add_path): Fix check for duplicated paths in the previously
893 included paths.
894
e2616788
HK
8952014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
896
897 * ada-lang.c: Remove duplicated include statements.
898 * alphabsd-nat.c: Ditto.
899 * amd64-darwin-tdep.c: Ditto.
900 * amd64fbsd-nat.c: Ditto.
901 * auto-load.c: Ditto.
902 * ax-gdb.c: Ditto.
903 * breakpoint.c: Ditto.
904 * dbxread.c: Ditto.
905 * fork-child.c: Ditto.
906 * gdb_usleep.c: Ditto.
907 * i386-darwin-tdep.c: Ditto.
908 * i386fbsd-nat.c: Ditto.
909 * infcmd.c: Ditto.
910 * inferior.c: Ditto.
911 * jv-lang.c: Ditto.
912 * linux-nat.c: Ditto.
913 * linux-tdep.c: Ditto.
914 * m68kbsd-nat.c: Ditto.
915 * m68klinux-nat.c: Ditto.
916 * microblaze-tdep.c: Ditto.
917 * mips-linux-tdep.c: Ditto.
918 * mn10300-tdep.c: Ditto.
919 * nto-tdep.c: Ditto.
920 * opencl-lang.c: Ditto.
921 * osdata.c: Ditto.
922 * printcmd.c: Ditto.
923 * regcache.c: Ditto.
924 * remote-m32r-sdi.c: Ditto.
925 * remote.c: Ditto.
926 * symfile.c: Ditto.
927 * symtab.c: Ditto.
928 * tilegx-linux-nat.c: Ditto.
929 * tilegx-tdep.c: Ditto.
930 * tracepoint.c: Ditto.
931 * valops.c: Ditto.
932 * vaxbsd-nat.c: Ditto.
933 * windows-nat.c: Ditto.
934 * xtensa-tdep.c: Ditto.
935
bd1f7788
YQ
9362014-01-07 Yao Qi <yao@codesourcery.com>
937
938 * spu-linux-nat.c (_initialize_spu_nat): Declare.
939
79301218
JB
9402014-01-07 Yao Qi <yao@codesourcery.com>
941 Joel Brobecker <brobecker@adacore.com>
942
943 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
944 (pdc_write_regs): Likewise.
945 (fetch_regs_kernel_thread): Likewise.
946 (store_regs_kernel_thread): Likewise.
947
9482014-01-07 Joel Brobecker <brobecker@adacore.com>
949
950 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
951 tagged type objects to their actual type.
952
8e355c5d
JB
9532014-01-07 Joel Brobecker <brobecker@adacore.com>
954
955 * ada-valprint.c (print_field_values): Add "language" parameter.
956 Update calls to print_field_values and print_variant_part.
957 Pass new parameter "language" in call to val_print instead
958 of "current_language". Replace call to ada_val_print by call
959 to val_print.
960 (print_variant_part): Add "language" parameter.
961 (ada_val_print_struct_union): Update call to print_field_values.
962
4fbf5aa5
JB
9632014-01-07 Joel Brobecker <brobecker@adacore.com>
964
965 * ada-valprint.c (ui_memcpy): Delete.
966 (ada_print_floating): Update documentation. Add empty line
967 between between function documentation and implementation.
968 Delete variable "buffer". Use ui_file_xstrdup in place of
969 ui_file_put. Minor adjustments following this change.
970
71855601
JB
9712014-01-07 Joel Brobecker <brobecker@adacore.com>
972
973 * ada-valprint.c (ada_val_print_string): New function,
974 extracted from ada_val_print_array.
975 (ada_val_print_array): Replace extracted code by call
976 to ada_val_print_string followed by a return. Move
977 "else" branch to the function's top block.
978
4eb27a30
JB
9792014-01-07 Joel Brobecker <brobecker@adacore.com>
980
981 * ada-valprint.c (ada_val_print_array): Move implementation
982 down. Rename parameter "offset" and "val" into "offset_aligned"
983 and "original_value" respectively. Add parameter "offset".
984
34b27950
JB
9852014-01-07 Joel Brobecker <brobecker@adacore.com>
986
987 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
988 re-organizing the code. Change the "???" message printed
989 when target type is a TYPE_CODE_UNDEF into
990 "<ref to undefined type>".
991
079e4591
JB
9922014-01-07 Joel Brobecker <brobecker@adacore.com>
993
994 * ada-valprint.c (print_record): Delete, implementation inlined...
995 (ada_val_print_struct_union): ... here. Remove call to
996 ada_check_typedef in inlined implementation.
997
8004dfd1
JB
9982014-01-07 Joel Brobecker <brobecker@adacore.com>
999
1000 * ada-valprint.c (ada_val_print_gnat_array): New function,
1001 extracted from ada_val_print_1;
1002 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1003 (ada_val_print_flt, ada_val_print_struct_union)
1004 (ada_val_print_ref): Likewise.
1005 (ada_val_print_1): Delete variables i and elttype.
1006 Replace extracted-out code by call to corresponding
1007 new functions.
1008
760a2db0
JB
10092014-01-07 Joel Brobecker <brobecker@adacore.com>
1010
1011 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1012
3a92c861
JB
10132014-01-07 Joel Brobecker <brobecker@adacore.com>
1014
1015 * ada-valprint.c (ada_val_print_1): Replace calls to
1016 ada_val_print_1 by calls to val_print.
1017
cd1630f9
JB
10182014-01-07 Joel Brobecker <brobecker@adacore.com>
1019
1020 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1021 Update calls to self accordingly. Replace calls to c_val_print
1022 by calls to val_print.
1023
bdf779a0
JB
10242014-01-07 Joel Brobecker <brobecker@adacore.com>
1025
1026 * ada-valprint.c (print_record): Delete declaration.
1027 (adjust_type_signedness, ada_val_print_1): Likewise.
1028 (ada_val_print): Move function implementation down.
1029 (print_variant_part, print_field_values, print_record):
1030 Move function implementation up.
1031
c0d48811
JB
10322014-01-07 Joel Brobecker <brobecker@adacore.com>
1033
1034 * python/py-type.c (typy_get_name): New function.
1035 (type_object_getset): Add entry for attribute "name".
1036 * NEWS: Add entry mentioning this new attribute.
1037
c26e9cbb
YQ
10382014-01-07 Yao Qi <yao@codesourcery.com>
1039
1040 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1041 statement.
1042
0cc6f43d
YQ
10432014-01-07 Yao Qi <yao@codesourcery.com>
1044
1045 * gnu-nat.c (info_port_rights): Add qualifier const to
1046 argument args.
1047
eec03155
YQ
10482014-01-07 Yao Qi <yao@codesourcery.com>
1049
1050 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1051
f04a82ef
YQ
10522014-01-07 Yao Qi <yao@codesourcery.com>
1053
1054 * gnu-nat.c (make_inf) Update declaration.
1055 (make_inf): Make it static.
1056 (inf_set_traced): Likewise.
1057 (inf_port_to_thread, inf_task_died_status): Likewise.
1058
d57dda0a
YQ
10592014-01-07 Yao Qi <yao@codesourcery.com>
1060
1061 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1062
3aa8c969
YQ
10632014-01-07 Yao Qi <yao@codesourcery.com>
1064
1065 * gnu-nat.c (_initialize_gnu_nat): Declare.
1066
94123b4f
YQ
10672014-01-07 Yao Qi <yao@codesourcery.com>
1068
1069 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1070 'enum bfd_endian'.
1071 (struct gdbarch_info) <byte_order>: Change type to
1072 'enum bfd_endian'.
1073 <byte_order_for_code>: Likewise.
1074 * gdbarch.c, gdbarch.h: Regenerated.
1075
dc81d70a
TT
10762014-01-06 Sasha Smundak <asmundak@google.com>
1077
1078 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1079
cc2f3c35
TT
10802014-01-06 Tom Tromey <tromey@redhat.com>
1081
1082 * doublest.c (convert_doublest_to_floatformat): Use const, not
1083 CONST.
1084 * somread.c (som_symtab_read): Likewise.
1085
adcf2eed
HZ
10862014-01-07 Hui Zhu <hui@codesourcery.com>
1087
1088 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1089 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1090 (gdb_bfd_fopen): Ditto.
1091 (gdb_bfd_openr): Ditto.
1092 (gdb_bfd_openw): Ditto.
1093 (gdb_bfd_openr_iovec): Ditto.
1094 (gdb_bfd_fdopenr): Ditto.
1095 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1096 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1097 with xstrdup.
1098 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1099 with xstrdup.
1100 * symfile-mem.c (symbol_file_add_from_memory): Removed
1101 gdb_bfd_stash_filename.
1102
50722198
DE
11032014-01-03 Doug Evans <dje@google.com>
1104
1105 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1106 output.
1107
2fa4b862
JB
11082014-01-01 Joel Brobecker <brobecker@adacore.com>
1109
1110 Update year range in copyright notice of all files.
1111
28498c42
JB
11122014-01-01 Joel Brobecker <brobecker@adacore.com>
1113
1114 * top.c (print_gdb_version): Set copyright year to 2014.
1115
7b6e1046
JB
11162014-01-01 Joel Brobecker <brobecker@adacore.com>
1117
1118 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1119
df96af55 1120For older changes see ChangeLog-2013.
c906108c
SS
1121\f
1122Local Variables:
1123mode: change-log
1124left-margin: 8
1125fill-column: 74
1126version-control: never
57da7796 1127coding: utf-8
c906108c 1128End:
This page took 1.818524 seconds and 4 git commands to generate.