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