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