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