]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
frame: add frame_id_build_unavailable_stack_special
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8372a7cb
MM
12014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2
3 * frame.h (frame_id_build_unavailable_stack_special): New.
4 * frame.c (frame_id_build_unavailable_stack_special): New.
5
c2170eef
MM
62014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7
8 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
9 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
10 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11 to gdbarch.
12 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13 (i386_insn_is_jump, i386_jmp_p): New.
14 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
15 insn_is_jump to gdbarch.
16 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
17 * gdbarch.h: Regenerated.
18 * gdbarch.c: Regenerated.
19 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
20 (default_insn_is_jump): New.
21 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
22 (default_insn_is_jump): New.
23
864089d2
MM
242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
25
26 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
27 Change to ...
28 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
29 (btrace_read_type) <btrace_read_new>: Change to ...
30 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
31
ed9edfb5
MM
322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
33
34 * common/linux-btrace.c (linux_read_btrace): Free trace from
35 previous iteration.
36
fbcbc3fd
DE
372014-01-15 Doug Evans <dje@google.com>
38
39 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
40 uint32_t.
41
3d548a53
TT
422014-01-15 Tom Tromey <tromey@redhat.com>
43
44 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
45 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
46 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
47 (set_objfile_main_name): New function.
48 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
49 language_of_main>: New fields.
50 (set_objfile_main_name): Declare.
51 * symtab.c (find_main_name): Loop over objfiles to find the main
52 name and language.
53 (set_main_name): Now static.
54 (get_main_info): Add comment.
55 * symtab.h (set_main_name): Don't declare.
56
32ac0d11
TT
572014-01-15 Tom Tromey <tromey@redhat.com>
58
59 * symtab.c (main_progspace_key): New global.
60 (struct main_info): New.
61 (name_of_main, language_of_main): Remove.
62 (get_main_info, main_info_cleanup): New function.
63 (set_main_name, main_name, main_language): Use get_main_info.
64 (_initialize_symtab): Initialize main_progspace_key.
65
9e6c82ad
TT
662014-01-15 Tom Tromey <tromey@redhat.com>
67
68 * dbxread.c (process_one_symbol): Update.
69 * dwarf2read.c (read_partial_die): Update.
70 * symfile.c (set_initial_language): Call main_language.
71 * symtab.c (language_of_main): Now static.
72 (set_main_name): Add 'lang' parameter.
73 (find_main_name): Update.
74 (main_language): New function.
75 (symtab_observer_executable_changed): Update.
76 * symtab.h (set_main_name): Update.
77 (language_of_main): Remove.
78 (main_language): Declare.
79
6ef55de7
TT
802014-01-15 Tom Tromey <tromey@redhat.com>
81
82 * symfile.c (init_entry_point_info): Use new "initialized" field.
83 Update.
84 * objfiles.h (struct entry_point) <initialized>: New field.
85 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
86 (struct objfile) <ei>: ...here. Remove.
87 * objfiles.c (entry_point_address_query): Update.
88
53eddfa6
TT
892014-01-15 Tom Tromey <tromey@redhat.com>
90
91 * objfiles.c (entry_point_address_query): Relocate entry point
92 address.
93 (objfile_relocate1): Do not relocate entry point address.
94 * objfiles.h (struct entry_info) <entry_point>: Update comment.
95 <the_bfd_section_index>: New field.
96 * symfile.c (init_entry_point_info): Find the entry point's
97 section.
98
d56e56aa
TT
992014-01-15 Tom Tromey <tromey@redhat.com>
100
101 * solib-frv.c (enable_break): Use entry_point_address_query.
102
33a97bbe
OJ
1032014-01-15 Omair Javaid <omair.javaid@linaro.org>
104
105 * NEWS: Add note on improved process record-replay on
106 arm*-linux* targets.
107
c6ec2b30
OJ
1082014-01-15 Omair Javaid <omair.javaid@linaro.org>
109
110 * arm-tdep.c (enum arm_record_result): New enum.
111 (arm_record_unsupported_insn): New function.
112 (arm_record_coproc_data_proc): Removed.
113 (thumb2_record_ld_st_multiple): New function.
114 (thumb2_record_ld_st_dual_ex_tbb): New function.
115 (thumb2_record_data_proc_sreg_mimm): New function.
116 (thumb2_record_ps_dest_generic): New function.
117 (thumb2_record_branch_misc_cntrl): New function.
118 (thumb2_record_str_single_data): New function.
119 (thumb2_record_ld_mem_hints): New function.
120 (thumb2_record_ld_word): New function.
121 (thumb2_record_lmul_lmla_div): New function.
122 (thumb2_record_decode_insn_handler): New function.
123 (decode_insn): Add thumb32 instruction handlers.
124
97dfe206
OJ
1252014-01-15 Omair Javaid <omair.javaid@linaro.org>
126
127 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
128 (struct arm_linux_record_tdep): Declare.
129 (arm_canonicalize_syscall): New function.
130 (arm_all_but_pc_registers_record): New function.
131 (arm_linux_syscall_record): New function.
132 (arm_linux_init_abi): Add syscall recording constructs.
133 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
134 decoding. (arm_record_coproc_data_proc): Update arm syscall
135 decoding.
136 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
137 <arm_syscall_record>: New field.
138 * configure.tgt (arm*-*-linux*): Add linux-record.o to
139 gdb_target_obs.
140
9904a494
OJ
1412014-01-15 Omair Javaid <omair.javaid@linaro.org>
142
143 * arm-tdep.c (thumb_record_misc): Update to use sp as base
144 register for push instruction recording.
145
f969241e
OJ
1462014-01-15 Omair Javaid <omair.javaid@linaro.org>
147
148 * arm-tdep.c (thumb_record_misc): Update to correct logical
149 error while recording ldm, ldmia and pop instructions.
150
bfbbec00
OJ
1512014-01-15 Omair Javaid <omair.javaid@linaro.org>
152
153 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
154
e40adcc9
PA
1552014-01-15 Pedro Alves <palves@redhat.com>
156
157 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
158 (go32_resume, go32_fetch_registers, store_register)
159 (go32_store_registers, go32_prepare_to_store)
160 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
161 (go32_create_inferior, go32_can_run, go32_terminal_init)
162 (go32_terminal_inferior, go32_terminal_ours): Delete forward
163 declarations.
164
b0a16e66
TT
1652014-01-15 Tom Tromey <tromey@redhat.com>
166
167 * target.h (async_callback_ftype): New typedef.
168 (struct target_ops) <to_async>: Use it.
169
bf7105a4
JB
1702014-01-15 Joel Brobecker <brobecker@adacore.com>
171
172 * python/py-value.c (get_field_type): Remove unnecessary curly
173 braces for single-statement if block.
174
a8f35c2e
JB
1752014-01-15 Joel Brobecker <brobecker@adacore.com>
176
177 * python/py-type.c (convert_field): Add missing empty line
178 after declarations.
179
bb4142cf
DE
1802014-01-14 Doug Evans <dje@google.com>
181
182 * symfile.h (expand_symtabs_matching): Renamed from
183 expand_partial_symbol_names. Update prototype.
184 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
185 * symfile.c (expand_symtabs_matching): Renamed from
186 expand_partial_symbol_names. New args file_matcher, kind.
187 Rename arg fun to symbol_matcher.
188 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
189 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
190 ada_expand_partial_symbol_name.
191 (ada_make_symbol_completion_list): Update to call
192 expand_symtabs_matching.
193 (ada_add_global_exceptions): Call expand_symtabs_matching.
194 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
195 call map_symbol_filenames.
196 * symtab.c (sources_info): Update to call map_symbol_filenames.
197 (search_symbols): Call expand_symtabs_matching.
198 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
199 (default_make_symbol_completion_list_break_on): Update to call
200 expand_symtabs_matching.
201 (make_source_files_completion_list): Update to call
202 map_symbol_filenames.
203
206f2a57
DE
2042014-01-14 Doug Evans <dje@google.com>
205
206 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
207 (expand_symtabs_symbol_matcher_ftype): New typedef.
208 (quick_symbol_functions.expand_symtabs_matching): Update to use.
209 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
210 * symfile.c (expand_partial_symbol_names): Update to use
211 expand_symtabs_symbol_matcher_ftype.
212 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
213 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
214 Arg name_matcher renamed to symbol_matcher.
215 * psymtab.c (recursively_search_psymtabs): Update to use
216 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
217 sym_matcher.
218 (expand_symtabs_matching_via_partial): Update to use
219 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
220 Arg name_matcher renamed to symbol_matcher.
221
540c2971
DE
2222014-01-14 Doug Evans <dje@google.com>
223
224 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
225 (map_partial_symbol_filenames): Ditto.
226 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
227 (map_partial_symbol_filenames): Ditto.
228 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
229 (map_partial_symbol_filenames): Ditto.
230 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
231 (map_partial_symbol_filenames): Ditto.
232 * symtab.c: Delete #include "psymtab.h".
233
8213266a
PA
2342014-01-14 Pedro Alves <palves@redhat.com>
235 Tom Tromey <tromey@redhat.com>
236
237 * infrun.c (use_displaced_stepping): Use find_record_target
238 instead of RECORD_IS_USED.
239 (adjust_pc_after_break): Use record_full_is_used instead of
240 RECORD_IS_USED.
241 * record-btrace.c (record_btrace_open): Call record_preopen
242 instead of checking RECORD_IS_USED.
243 * record-full.c (record_full_shortname)
244 (record_full_core_shortname): New globals.
245 (record_full_is_used): New function.
246 (find_full_open): Call record_preopen instead of checking
247 RECORD_IS_USED.
248 (init_record_full_ops): Set the target's shortname to
249 record_full_shortname.
250 (init_record_full_core_ops): Set the target's shortname to
251 record_full_core_shortname.
252 * record-full.h (record_full_is_used): Declare.
253 * record.c (find_record_target): Make extern.
254 (record_preopen): New function.
255 * record.h (RECORD_IS_USED): Delete macro.
256 (find_record_target, record_preopen): Declare functions.
257
7ec1862d
YQ
2582014-01-14 Yao Qi <yao@codesourcery.com>
259
260 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
261 'len''s type to ULONGEST.
262 (core_xfer_shared_libraries_aix): Likewise.
263 * gdbarch.c, gdbarch.h: Regenerated.
264 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
265 Change type of 'len' to ULONGEST.
266 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
267 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
268
dea80a27
YQ
2692014-01-14 Yao Qi <yao@codesourcery.com>
270
271 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
272 type of 'len' to ULONGEST.
273 (linux_xfer_osdata_processgroups): Likewise.
274 (linux_xfer_osdata_threads): Likewise.
275 (linux_xfer_osdata_fds): Likewise.
276 (linux_xfer_osdata_isockets): Likewise.
277 (linux_xfer_osdata_shm): Likewise.
278 (linux_xfer_osdata_sem): Likewise.
279 (linux_xfer_osdata_msg): Likewise.
280 (linux_common_xfer_osdata): Likewise.
281 (struct osdata_type) <getter>: Likewise.
282 * common/linux-osdata.h (linux_common_xfer_osdata): Update
283 the declaration.
284
b55e14c7
YQ
2852014-01-14 Yao Qi <yao@codesourcery.com>
286
287 * target.h (target_xfer_partial_ftype): Update.
288 (struct target_ops) <to_xfer_partial>: Change 'len' type to
289 ULONGEST.
290 * aix-thread.c (aix_thread_xfer_partial): Change type of
291 argument 'len' to ULONGEST.
292 * auxv.c (procfs_xfer_auxv): Likewise.
293 (ld_so_xfer_auxv): Likewise.
294 (memory_xfer_auxv): Likewise.
295 * bfd-target.c (target_bfd_xfer_partial): Likewise.
296 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
297 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
298 * corelow.c (core_xfer_partial): Likewise.
299 * ctf.c (ctf_xfer_partial): Likewise.
300 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
301 '%u'.
302 (darwin_read_dyld_info): Likewise.
303 (darwin_xfer_partial): Likewise.
304 * exec.c (section_table_xfer_memory_partial): Likewise.
305 (exec_xfer_partial): Likewise.
306 * exec.h (section_table_xfer_memory_partial): Update
307 declaration.
308 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
309 instead of plongest.
310 (gnu_xfer_partial): Likewise.
311 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
312 (ia64_hpux_xfer_solib_got): Likewise.
313 (ia64_hpux_xfer_partial): Likewise.
314 * ia64-linux-nat.c (ia64_linux_xfer_partial):
315 * inf-ptrace.c (inf_ptrace_xfer_partial):
316 * inf-ttrace.c (inf_ttrace_xfer_partial):
317 * linux-nat.c (linux_xfer_siginfo): Likewise.
318 (linux_nat_xfer_partial): Likewise.
319 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
320 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
321 * monitor.c (monitor_xfer_memory): Likewise.
322 (monitor_xfer_partial): Likewise.
323 * procfs.c (procfs_xfer_partial): Likewise.
324 * record-full.c (record_full_xfer_partial): Likewise.
325 (record_full_core_xfer_partial): Likewise.
326 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
327 instead of plongest.
328 (gdbsim_xfer_partial): Likewise.
329 * remote.c (remote_xfer_partial): Likewise.
330 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
331 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
332 declaration.
333 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
334 (rs6000_xfer_shared_libraries): Likewise.
335 * sol-thread.c (sol_thread_xfer_partial): Likewise.
336 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
337 (sparc_xfer_partial): Likewise.
338 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
339 (spu_xfer_partial): Likewise.
340 * spu-multiarch.c (spu_xfer_partial): Likewise.
341 * target.c (target_read_live_memory): Likewise.
342 (memory_xfer_live_readonly_partial): Likewise.
343 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
344 (target_xfer_partial, default_xfer_partial): Likewise.
345 (current_xfer_partial): Likewise.
346 * tracepoint.c (tfile_xfer_partial): Likewise.
347 * windows-nat.c (windows_xfer_memory): Likewise. Call
348 pulongest instead of plongest.
349 (windows_xfer_partial): Likewise.
350 (windows_xfer_shared_libraries): Likewise.
351
05804640
YQ
3522014-01-14 Yao Qi <yao@codesourcery.com>
353
354 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
355 target_xfer_partial_ftype.
356
b5b08fb4
SC
3572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
358
359 PR python/15464
360 PR python/16113
361 * valops.c (value_struct_elt_bitpos): New function
362 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
363 object to 'None' if the field name is an empty string ("").
364 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
365 attribute to look for a field when 'name' is 'None'.
366 (get_field_type): New function
367
13aaf454
DE
3682014-01-13 Doug Evans <dje@google.com>
369
370 PR symtab/16426
371 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
372 (try_open_dwop_file): Ditto.
373 * gdb_bfd.c: #include "vec.h".
374 (bfdp): New typedef.
375 (struct gdb_bfd_data): New member included_bfds.
376 (gdb_bfd_unref): Unref all included bfds.
377 (gdb_bfd_record_inclusion): New function.
378 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
379
c2cec97c
TT
3802014-01-13 Tom Tromey <tromey@redhat.com>
381
382 * gdbcore.h (deprecated_core_resize_section_table): Remove.
383
78e5999d
TT
3842014-01-13 Tom Tromey <tromey@redhat.com>
385
386 * defs.h (use_windows): Remove.
387 * gdb.c (main): Update.
388 * main.c (captured_main, gdb_main): Update.
389 * main.h (struct captured_main_args) <use_windows>: Remove.
390 * top.c (use_windows): Remove.
391
f2052bbe
TT
3922014-01-13 Tom Tromey <tromey@redhat.com>
393
394 * defs.h (deprecated_flush_hook): Remove.
395
fde4f8ed
JK
3962014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
397
398 PR threads/16216
399 * linux-thread-db.c (try_thread_db_load): Add parameter
400 check_auto_load_safe. Move here the file_is_auto_load_safe call.
401 (try_thread_db_load_from_pdir_1): Move it there from here.
402 (try_thread_db_load_from_sdir): Update caller.
403 (try_thread_db_load_from_dir): Move it there from here.
404
bdf61915
PP
4052014-01-13 Patrick Palka <patrick@parcs.ath.cx>
406
407 * regformats/regdat.sh: Always rewrite the register file.
408
f71e1a8d
PA
4092014-01-13 Pedro Alves <palves@redhat.com>
410
411 * Makefile.in (CHECK_HEADERS): New variable.
412 (check-headers:): New rule.
413
42c85435
TT
4142014-01-13 Tom Tromey <tromey@redhat.com>
415
416 * cli/cli-setshow.c (do_set_command): Update.
417 * defs.h (deprecated_set_hook): Remove.
418 * top.c (deprecated_set_hook): Remove.
419
f8de5129
PA
4202014-01-13 Pedro Alves <palves@redhat.com>
421
422 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
423 the tracepoint if the PC is a pseudo-register.
424
fc270c35
TT
4252014-01-13 Tom Tromey <tromey@redhat.com>
426
427 * defs.h (XCALLOC): Remove.
428 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
429 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
430 * dwarf2loc.c (allocate_piece_closure): Likewise.
431 * elfread.c (elf_symfile_segments): Likewise.
432 (elf_symfile_segments): Likewise.
433 * gdbtypes.c (copy_type_recursive): Likewise.
434 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
435 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
436 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
437 XCALLOC.
438 * mt-tdep.c (mt_gdbarch_init): Likewise.
439 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
440 XCALLOC.
441 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
442 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
443 * registry.c (registry_alloc_data): Likewise.
444 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
445 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
446 * serial.c (serial_fdopen_ops): Likewise.
447 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
448 XCALLOC.
449 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
450 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
451 not XCALLOC.
452
70ba0933
TT
4532014-01-13 Tom Tromey <tromey@redhat.com>
454
455 * defs.h (XMALLOC): Remove.
456 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
457 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
458 * cli-out.c (struct ui_out *): Likewise.
459 * cli/cli-dump.c (add_dump_command): Likewise.
460 (add_dump_command): Likewise.
461 * complaints.c (get_complaints): Likewise.
462 (find_complaint): Likewise.
463 * dwarf2-frame.c (execute_cfa_program): Likewise.
464 * dwarf2read.c (abbrev_table_read_table): Likewise.
465 * gdbarch.sh: Likewise.
466 * gdbarch.c: Rebuild.
467 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
468 * interps.c (interp_new): Likewise.
469 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
470 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
471 * mi/mi-console.c (mi_console_file_new): Likewise.
472 * mi/mi-interp.c (mi_interpreter_init): Likewise.
473 * mi/mi-out.c (mi_out_new): Likewise.
474 * mi/mi-parse.c (mi_parse): Likewise.
475 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
476 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
477 * observer.c (xalloc_observer_list_node): Likewise.
478 * regcache.c (regcache_xmalloc_1): Likewise.
479 * reggroups.c (reggroup_new): Likewise.
480 (_initialize_reggroup): Likewise.
481 * registry.c (register_data_with_cleanup): Likewise.
482 * remote.c (remote_notif_stop_alloc_reply): Likewise.
483 * ser-base.c (serial_ttystate): Likewise.
484 * ser-mingw.c (make_pipe_state): Likewise.
485 * ser-pipe.c (pipe_open): Likewise.
486 * serial.c (serial_open): Likewise.
487 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
488 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
489 (tui_alloc_win_info): Likewise.
490 (tui_add_content_elements): Likewise.
491 * tui/tui-file.c (tui_file_new): Likewise.
492 * tui/tui-out.c (tui_out_new): Likewise.
493 * ui-file.c (mem_file_new): Likewise.
494 * ui-out.c (push_level): Likewise.
495 (make_cleanup_ui_out_end): Likewise.
496 (append_header_to_list): Likewise.
497 (ui_out_new): Likewise.
498 * user-regs.c (user_reg_add_builtin): Likewise.
499
41bf6aca
TT
5002014-01-13 Tom Tromey <tromey@redhat.com>
501
502 * defs.h (XZALLOC): Remove.
503 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
504 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
505 (get_ada_tasks_inferior_data): Likewise.
506 * auto-load.c (get_auto_load_pspace_data): Likewise.
507 * auxv.c (get_auxv_inferior_data): Likewise.
508 * bfd-target.c (target_bfd_reopen): Likewise.
509 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
510 (deprecated_insert_raw_breakpoint): Likewise.
511 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
512 * corelow.c (core_open): Likewise.
513 * darwin-nat.c (darwin_check_new_threads): Likewise.
514 (darwin_attach_pid): Likewise.
515 * dummy-frame.c (dummy_frame_push): Likewise.
516 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
517 * dwarf2loc.c (allocate_piece_closure): Likewise.
518 * elfread.c (elf_symfile_segments): Likewise.
519 * eval.c (ptrmath_type_p): Likewise.
520 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
521 * gdbtypes.c (alloc_type_arch): Likewise.
522 (alloc_type_instance): Likewise.
523 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
524 * inf-child.c (inf_child_can_use_agent): Likewise.
525 * inflow.c (get_inflow_inferior_data): Likewise.
526 * infrun.c (save_infcall_suspend_state): Likewise.
527 * jit.c (jit_reader_load): Likewise.
528 (get_jit_objfile_data): Likewise.
529 (get_jit_program_space_data): Likewise.
530 (jit_object_open_impl): Likewise.
531 (jit_symtab_open_impl): Likewise.
532 (jit_block_open_impl): Likewise.
533 (jit_frame_sniffer): Likewise.
534 * linux-fork.c (add_fork): Likewise.
535 * maint.c (make_command_stats_cleanup): Likewise.
536 * objfiles.c (get_objfile_pspace_data): Likewise.
537 * opencl-lang.c (struct lval_closure): Likewise.
538 * osdata.c (osdata_start_osdata): Likewise.
539 * progspace.c (new_address_space): Likewise.
540 (add_program_space): Likewise.
541 * remote-sim.c (get_sim_inferior_data): Likewise.
542 * sh-tdep.c (sh_gdbarch_init): Likewise.
543 * skip.c (Ignore): Likewise.
544 (skip_delete_command): Likewise.
545 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
546 (library_list_start_library): Likewise.
547 (solib_aix_current_sos): Likewise.
548 * solib-darwin.c (get_darwin_info): Likewise.
549 (darwin_current_sos): Likewise.
550 * solib-dsbt.c (get_dsbt_info): Likewise.
551 * solib-ia64-hpux.c (new_so_list): Likewise.
552 (ia64_hpux_get_solib_linkage_addr): Likewise.
553 * solib-spu.c (append_ocl_sos): Likewise.
554 (spu_current_sos): Likewise.
555 * solib-svr4.c (get_svr4_info): Likewise.
556 (svr4_keep_data_in_core): Likewise.
557 (library_list_start_library): Likewise.
558 (svr4_default_sos): Likewise.
559 (svr4_read_so_list): Likewise.
560 * solib-target.c (library_list_start_library): Likewise.
561 (solib_target_current_sos): Likewise.
562 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
563 * symfile-debug.c (install_symfile_debug_logging): Likewise.
564 * symfile.c (default_symfile_segments): Likewise.
565 * target-descriptions.c (tdesc_data_init): Likewise.
566 (tdesc_create_reg): Likewise.
567 (struct tdesc_type *): Likewise.
568 (tdesc_create_vector): Likewise.
569 (tdesc_set_struct_size): Likewise.
570 (struct tdesc_type *): Likewise.
571 (tdesc_free_feature): Likewise.
572 (tdesc_create_feature): Likewise.
573 * windows-nat.c (windows_add_thread): Likewise.
574 (windows_make_so): Likewise.
575 * xml-support.c (gdb_xml_body_text): Likewise.
576 (gdb_xml_create_parser_and_cleanup): Likewise.
577 (xml_process_xincludes): Likewise.
578 * xml-syscall.c (allocate_syscalls_info): Likewise.
579 (syscall_create_syscall_desc): Likewise.
580
5acfdbae
SDJ
5812014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
582
583 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
584 function, with code from i386_stap_parse_special_token.
585 (i386_stap_parse_special_token_three_arg_disp): Likewise.
586 (i386_stap_parse_special_token): Move code to the two functions
587 above; simplify it.
588
0000e5cc
PA
5892014-01-09 Pedro Alves <palves@redhat.com>
590 Hui Zhu <hui@codesourcery.com>
591
592 PR gdb/16101
593 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
594 bp_err_string. Don't mark the location shlib_disabled if the
595 error thrown wasn't a generic or memory error. Catch errors
596 thrown while inserting breakpoints in overlayed code. Output
597 error message of software breakpoints.
598 * remote.c (remote_insert_breakpoint): If this breakpoint has
599 target-side commands but this stub doesn't support Z0 packets,
600 throw NOT_SUPPORTED_ERROR error.
601 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
602 * target.h (target_insert_breakpoint): Extend comment.
603 (target_insert_hw_breakpoint): Add comment.
604
b7ea362b
PA
6052014-01-08 Pedro Alves <palves@redhat.com>
606
607 * remote.c (remote_add_thread): Add threads silently if starting
608 up.
609 (remote_notice_new_inferior): If in all-stop, and starting up,
610 don't call notice_new_inferior.
611 (get_current_thread): New function, factored out from ...
612 (add_current_inferior_and_thread): ... this. Adjust.
613 (remote_start_remote) <all-stop>: Fetch the thread list. If we
614 found any thread, then select the remote's current thread as GDB's
615 current thread too.
616
b7bba001
JB
6172014-01-08 Joel Brobecker <brobecker@adacore.com>
618
619 * NEWS: Create a new section for the next release branch.
620 Rename the section of the current branch, now that it has
621 been cut.
622
16dfbded
JB
6232014-01-08 Joel Brobecker <brobecker@adacore.com>
624
625 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
626 * version.in: Bump version to 7.7.50.DATE-cvs.
627
22c90ac1
YQ
6282014-01-08 Yao Qi <yao@codesourcery.com>
629
630 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
631 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
632 (spu_xfer_partial): Cast 'buf' to 'const char *'.
633
d64ad97c
YQ
6342014-01-08 Yao Qi <yao@codesourcery.com>
635
636 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
637 return value of bfd_get_filename to symbol_file_add_from_bfd.
638
f93ba80c
PM
6392014-01-08 Pierre Muller <muller@sourceware.org>
640
641 Fix PR16201.
642 * coff-pe-read.c (struct read_pe_section_data): Add index field.
643 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
644 to prim_record_mininal_symbol_and_info.
645 (add_pe_forwarded_sym): Use known section number of forwarded symbol
646 in call to prim_record_minimal_symbol_and_info.
647 (read_pe_exported_syms): Set index field of section_data.
648
a4d9ba85
AP
6492014-01-07 Andrew Pinski <apinski@cavium.com>
650
651 * features/aarch64-core.xml (cpsr): Change to be 64bit.
652 * features/aarch64.c: Regenerate.
653
1b67eb02
AS
6542014-01-07 Andreas Schwab <schwab@linux-m68k.org>
655
656 * target.c (return_null): Define.
657 (update_current_target): Use it instead of return_zero for
658 functions that return a pointer.
659
5e3f4fab
EBM
6602014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
661
662 * source.c (add_path): Fix check for duplicated paths in the previously
663 included paths.
664
e2616788
HK
6652014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
666
667 * ada-lang.c: Remove duplicated include statements.
668 * alphabsd-nat.c: Ditto.
669 * amd64-darwin-tdep.c: Ditto.
670 * amd64fbsd-nat.c: Ditto.
671 * auto-load.c: Ditto.
672 * ax-gdb.c: Ditto.
673 * breakpoint.c: Ditto.
674 * dbxread.c: Ditto.
675 * fork-child.c: Ditto.
676 * gdb_usleep.c: Ditto.
677 * i386-darwin-tdep.c: Ditto.
678 * i386fbsd-nat.c: Ditto.
679 * infcmd.c: Ditto.
680 * inferior.c: Ditto.
681 * jv-lang.c: Ditto.
682 * linux-nat.c: Ditto.
683 * linux-tdep.c: Ditto.
684 * m68kbsd-nat.c: Ditto.
685 * m68klinux-nat.c: Ditto.
686 * microblaze-tdep.c: Ditto.
687 * mips-linux-tdep.c: Ditto.
688 * mn10300-tdep.c: Ditto.
689 * nto-tdep.c: Ditto.
690 * opencl-lang.c: Ditto.
691 * osdata.c: Ditto.
692 * printcmd.c: Ditto.
693 * regcache.c: Ditto.
694 * remote-m32r-sdi.c: Ditto.
695 * remote.c: Ditto.
696 * symfile.c: Ditto.
697 * symtab.c: Ditto.
698 * tilegx-linux-nat.c: Ditto.
699 * tilegx-tdep.c: Ditto.
700 * tracepoint.c: Ditto.
701 * valops.c: Ditto.
702 * vaxbsd-nat.c: Ditto.
703 * windows-nat.c: Ditto.
704 * xtensa-tdep.c: Ditto.
705
bd1f7788
YQ
7062014-01-07 Yao Qi <yao@codesourcery.com>
707
708 * spu-linux-nat.c (_initialize_spu_nat): Declare.
709
79301218
JB
7102014-01-07 Yao Qi <yao@codesourcery.com>
711 Joel Brobecker <brobecker@adacore.com>
712
713 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
714 (pdc_write_regs): Likewise.
715 (fetch_regs_kernel_thread): Likewise.
716 (store_regs_kernel_thread): Likewise.
717
7182014-01-07 Joel Brobecker <brobecker@adacore.com>
719
720 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
721 tagged type objects to their actual type.
722
8e355c5d
JB
7232014-01-07 Joel Brobecker <brobecker@adacore.com>
724
725 * ada-valprint.c (print_field_values): Add "language" parameter.
726 Update calls to print_field_values and print_variant_part.
727 Pass new parameter "language" in call to val_print instead
728 of "current_language". Replace call to ada_val_print by call
729 to val_print.
730 (print_variant_part): Add "language" parameter.
731 (ada_val_print_struct_union): Update call to print_field_values.
732
4fbf5aa5
JB
7332014-01-07 Joel Brobecker <brobecker@adacore.com>
734
735 * ada-valprint.c (ui_memcpy): Delete.
736 (ada_print_floating): Update documentation. Add empty line
737 between between function documentation and implementation.
738 Delete variable "buffer". Use ui_file_xstrdup in place of
739 ui_file_put. Minor adjustments following this change.
740
71855601
JB
7412014-01-07 Joel Brobecker <brobecker@adacore.com>
742
743 * ada-valprint.c (ada_val_print_string): New function,
744 extracted from ada_val_print_array.
745 (ada_val_print_array): Replace extracted code by call
746 to ada_val_print_string followed by a return. Move
747 "else" branch to the function's top block.
748
4eb27a30
JB
7492014-01-07 Joel Brobecker <brobecker@adacore.com>
750
751 * ada-valprint.c (ada_val_print_array): Move implementation
752 down. Rename parameter "offset" and "val" into "offset_aligned"
753 and "original_value" respectively. Add parameter "offset".
754
34b27950
JB
7552014-01-07 Joel Brobecker <brobecker@adacore.com>
756
757 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
758 re-organizing the code. Change the "???" message printed
759 when target type is a TYPE_CODE_UNDEF into
760 "<ref to undefined type>".
761
079e4591
JB
7622014-01-07 Joel Brobecker <brobecker@adacore.com>
763
764 * ada-valprint.c (print_record): Delete, implementation inlined...
765 (ada_val_print_struct_union): ... here. Remove call to
766 ada_check_typedef in inlined implementation.
767
8004dfd1
JB
7682014-01-07 Joel Brobecker <brobecker@adacore.com>
769
770 * ada-valprint.c (ada_val_print_gnat_array): New function,
771 extracted from ada_val_print_1;
772 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
773 (ada_val_print_flt, ada_val_print_struct_union)
774 (ada_val_print_ref): Likewise.
775 (ada_val_print_1): Delete variables i and elttype.
776 Replace extracted-out code by call to corresponding
777 new functions.
778
760a2db0
JB
7792014-01-07 Joel Brobecker <brobecker@adacore.com>
780
781 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
782
3a92c861
JB
7832014-01-07 Joel Brobecker <brobecker@adacore.com>
784
785 * ada-valprint.c (ada_val_print_1): Replace calls to
786 ada_val_print_1 by calls to val_print.
787
cd1630f9
JB
7882014-01-07 Joel Brobecker <brobecker@adacore.com>
789
790 * ada-valprint.c (ada_val_print_1): Add parameter "language".
791 Update calls to self accordingly. Replace calls to c_val_print
792 by calls to val_print.
793
bdf779a0
JB
7942014-01-07 Joel Brobecker <brobecker@adacore.com>
795
796 * ada-valprint.c (print_record): Delete declaration.
797 (adjust_type_signedness, ada_val_print_1): Likewise.
798 (ada_val_print): Move function implementation down.
799 (print_variant_part, print_field_values, print_record):
800 Move function implementation up.
801
c0d48811
JB
8022014-01-07 Joel Brobecker <brobecker@adacore.com>
803
804 * python/py-type.c (typy_get_name): New function.
805 (type_object_getset): Add entry for attribute "name".
806 * NEWS: Add entry mentioning this new attribute.
807
c26e9cbb
YQ
8082014-01-07 Yao Qi <yao@codesourcery.com>
809
810 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
811 statement.
812
0cc6f43d
YQ
8132014-01-07 Yao Qi <yao@codesourcery.com>
814
815 * gnu-nat.c (info_port_rights): Add qualifier const to
816 argument args.
817
eec03155
YQ
8182014-01-07 Yao Qi <yao@codesourcery.com>
819
820 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
821
f04a82ef
YQ
8222014-01-07 Yao Qi <yao@codesourcery.com>
823
824 * gnu-nat.c (make_inf) Update declaration.
825 (make_inf): Make it static.
826 (inf_set_traced): Likewise.
827 (inf_port_to_thread, inf_task_died_status): Likewise.
828
d57dda0a
YQ
8292014-01-07 Yao Qi <yao@codesourcery.com>
830
831 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
832
3aa8c969
YQ
8332014-01-07 Yao Qi <yao@codesourcery.com>
834
835 * gnu-nat.c (_initialize_gnu_nat): Declare.
836
94123b4f
YQ
8372014-01-07 Yao Qi <yao@codesourcery.com>
838
839 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
840 'enum bfd_endian'.
841 (struct gdbarch_info) <byte_order>: Change type to
842 'enum bfd_endian'.
843 <byte_order_for_code>: Likewise.
844 * gdbarch.c, gdbarch.h: Regenerated.
845
dc81d70a
TT
8462014-01-06 Sasha Smundak <asmundak@google.com>
847
848 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
849
cc2f3c35
TT
8502014-01-06 Tom Tromey <tromey@redhat.com>
851
852 * doublest.c (convert_doublest_to_floatformat): Use const, not
853 CONST.
854 * somread.c (som_symtab_read): Likewise.
855
adcf2eed
HZ
8562014-01-07 Hui Zhu <hui@codesourcery.com>
857
858 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
859 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
860 (gdb_bfd_fopen): Ditto.
861 (gdb_bfd_openr): Ditto.
862 (gdb_bfd_openw): Ditto.
863 (gdb_bfd_openr_iovec): Ditto.
864 (gdb_bfd_fdopenr): Ditto.
865 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
866 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
867 with xstrdup.
868 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
869 with xstrdup.
870 * symfile-mem.c (symbol_file_add_from_memory): Removed
871 gdb_bfd_stash_filename.
872
50722198
DE
8732014-01-03 Doug Evans <dje@google.com>
874
875 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
876 output.
877
2fa4b862
JB
8782014-01-01 Joel Brobecker <brobecker@adacore.com>
879
880 Update year range in copyright notice of all files.
881
28498c42
JB
8822014-01-01 Joel Brobecker <brobecker@adacore.com>
883
884 * top.c (print_gdb_version): Set copyright year to 2014.
885
7b6e1046
JB
8862014-01-01 Joel Brobecker <brobecker@adacore.com>
887
888 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
889
df96af55 890For older changes see ChangeLog-2013.
c906108c
SS
891\f
892Local Variables:
893mode: change-log
894left-margin: 8
895fill-column: 74
896version-control: never
57da7796 897coding: utf-8
c906108c 898End: