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