gdb: ARM: Add support for thumb32 instructions recording
[binutils-gdb.git] / gdb / ChangeLog
1 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2
3 * arm-tdep.c (enum arm_record_result): New enum.
4 (arm_record_unsupported_insn): New function.
5 (arm_record_coproc_data_proc): Removed.
6 (thumb2_record_ld_st_multiple): New function.
7 (thumb2_record_ld_st_dual_ex_tbb): New function.
8 (thumb2_record_data_proc_sreg_mimm): New function.
9 (thumb2_record_ps_dest_generic): New function.
10 (thumb2_record_branch_misc_cntrl): New function.
11 (thumb2_record_str_single_data): New function.
12 (thumb2_record_ld_mem_hints): New function.
13 (thumb2_record_ld_word): New function.
14 (thumb2_record_lmul_lmla_div): New function.
15 (thumb2_record_decode_insn_handler): New function.
16 (decode_insn): Add thumb32 instruction handlers.
17
18 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19
20 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
21 (struct arm_linux_record_tdep): Declare.
22 (arm_canonicalize_syscall): New function.
23 (arm_all_but_pc_registers_record): New function.
24 (arm_linux_syscall_record): New function.
25 (arm_linux_init_abi): Add syscall recording constructs.
26 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
27 decoding. (arm_record_coproc_data_proc): Update arm syscall
28 decoding.
29 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
30 <arm_syscall_record>: New field.
31 * configure.tgt (arm*-*-linux*): Add linux-record.o to
32 gdb_target_obs.
33
34 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
35
36 * arm-tdep.c (thumb_record_misc): Update to use sp as base
37 register for push instruction recording.
38
39 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
40
41 * arm-tdep.c (thumb_record_misc): Update to correct logical
42 error while recording ldm, ldmia and pop instructions.
43
44 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
45
46 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
47
48 2014-01-15 Pedro Alves <palves@redhat.com>
49
50 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
51 (go32_resume, go32_fetch_registers, store_register)
52 (go32_store_registers, go32_prepare_to_store)
53 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
54 (go32_create_inferior, go32_can_run, go32_terminal_init)
55 (go32_terminal_inferior, go32_terminal_ours): Delete forward
56 declarations.
57
58 2014-01-15 Tom Tromey <tromey@redhat.com>
59
60 * target.h (async_callback_ftype): New typedef.
61 (struct target_ops) <to_async>: Use it.
62
63 2014-01-15 Joel Brobecker <brobecker@adacore.com>
64
65 * python/py-value.c (get_field_type): Remove unnecessary curly
66 braces for single-statement if block.
67
68 2014-01-15 Joel Brobecker <brobecker@adacore.com>
69
70 * python/py-type.c (convert_field): Add missing empty line
71 after declarations.
72
73 2014-01-14 Doug Evans <dje@google.com>
74
75 * symfile.h (expand_symtabs_matching): Renamed from
76 expand_partial_symbol_names. Update prototype.
77 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
78 * symfile.c (expand_symtabs_matching): Renamed from
79 expand_partial_symbol_names. New args file_matcher, kind.
80 Rename arg fun to symbol_matcher.
81 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
82 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
83 ada_expand_partial_symbol_name.
84 (ada_make_symbol_completion_list): Update to call
85 expand_symtabs_matching.
86 (ada_add_global_exceptions): Call expand_symtabs_matching.
87 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
88 call map_symbol_filenames.
89 * symtab.c (sources_info): Update to call map_symbol_filenames.
90 (search_symbols): Call expand_symtabs_matching.
91 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
92 (default_make_symbol_completion_list_break_on): Update to call
93 expand_symtabs_matching.
94 (make_source_files_completion_list): Update to call
95 map_symbol_filenames.
96
97 2014-01-14 Doug Evans <dje@google.com>
98
99 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
100 (expand_symtabs_symbol_matcher_ftype): New typedef.
101 (quick_symbol_functions.expand_symtabs_matching): Update to use.
102 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
103 * symfile.c (expand_partial_symbol_names): Update to use
104 expand_symtabs_symbol_matcher_ftype.
105 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
106 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
107 Arg name_matcher renamed to symbol_matcher.
108 * psymtab.c (recursively_search_psymtabs): Update to use
109 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
110 sym_matcher.
111 (expand_symtabs_matching_via_partial): Update to use
112 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
113 Arg name_matcher renamed to symbol_matcher.
114
115 2014-01-14 Doug Evans <dje@google.com>
116
117 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
118 (map_partial_symbol_filenames): Ditto.
119 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
120 (map_partial_symbol_filenames): Ditto.
121 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
122 (map_partial_symbol_filenames): Ditto.
123 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
124 (map_partial_symbol_filenames): Ditto.
125 * symtab.c: Delete #include "psymtab.h".
126
127 2014-01-14 Pedro Alves <palves@redhat.com>
128 Tom Tromey <tromey@redhat.com>
129
130 * infrun.c (use_displaced_stepping): Use find_record_target
131 instead of RECORD_IS_USED.
132 (adjust_pc_after_break): Use record_full_is_used instead of
133 RECORD_IS_USED.
134 * record-btrace.c (record_btrace_open): Call record_preopen
135 instead of checking RECORD_IS_USED.
136 * record-full.c (record_full_shortname)
137 (record_full_core_shortname): New globals.
138 (record_full_is_used): New function.
139 (find_full_open): Call record_preopen instead of checking
140 RECORD_IS_USED.
141 (init_record_full_ops): Set the target's shortname to
142 record_full_shortname.
143 (init_record_full_core_ops): Set the target's shortname to
144 record_full_core_shortname.
145 * record-full.h (record_full_is_used): Declare.
146 * record.c (find_record_target): Make extern.
147 (record_preopen): New function.
148 * record.h (RECORD_IS_USED): Delete macro.
149 (find_record_target, record_preopen): Declare functions.
150
151 2014-01-14 Yao Qi <yao@codesourcery.com>
152
153 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
154 'len''s type to ULONGEST.
155 (core_xfer_shared_libraries_aix): Likewise.
156 * gdbarch.c, gdbarch.h: Regenerated.
157 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
158 Change type of 'len' to ULONGEST.
159 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
160 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
161
162 2014-01-14 Yao Qi <yao@codesourcery.com>
163
164 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
165 type of 'len' to ULONGEST.
166 (linux_xfer_osdata_processgroups): Likewise.
167 (linux_xfer_osdata_threads): Likewise.
168 (linux_xfer_osdata_fds): Likewise.
169 (linux_xfer_osdata_isockets): Likewise.
170 (linux_xfer_osdata_shm): Likewise.
171 (linux_xfer_osdata_sem): Likewise.
172 (linux_xfer_osdata_msg): Likewise.
173 (linux_common_xfer_osdata): Likewise.
174 (struct osdata_type) <getter>: Likewise.
175 * common/linux-osdata.h (linux_common_xfer_osdata): Update
176 the declaration.
177
178 2014-01-14 Yao Qi <yao@codesourcery.com>
179
180 * target.h (target_xfer_partial_ftype): Update.
181 (struct target_ops) <to_xfer_partial>: Change 'len' type to
182 ULONGEST.
183 * aix-thread.c (aix_thread_xfer_partial): Change type of
184 argument 'len' to ULONGEST.
185 * auxv.c (procfs_xfer_auxv): Likewise.
186 (ld_so_xfer_auxv): Likewise.
187 (memory_xfer_auxv): Likewise.
188 * bfd-target.c (target_bfd_xfer_partial): Likewise.
189 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
190 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
191 * corelow.c (core_xfer_partial): Likewise.
192 * ctf.c (ctf_xfer_partial): Likewise.
193 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
194 '%u'.
195 (darwin_read_dyld_info): Likewise.
196 (darwin_xfer_partial): Likewise.
197 * exec.c (section_table_xfer_memory_partial): Likewise.
198 (exec_xfer_partial): Likewise.
199 * exec.h (section_table_xfer_memory_partial): Update
200 declaration.
201 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
202 instead of plongest.
203 (gnu_xfer_partial): Likewise.
204 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
205 (ia64_hpux_xfer_solib_got): Likewise.
206 (ia64_hpux_xfer_partial): Likewise.
207 * ia64-linux-nat.c (ia64_linux_xfer_partial):
208 * inf-ptrace.c (inf_ptrace_xfer_partial):
209 * inf-ttrace.c (inf_ttrace_xfer_partial):
210 * linux-nat.c (linux_xfer_siginfo): Likewise.
211 (linux_nat_xfer_partial): Likewise.
212 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
213 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
214 * monitor.c (monitor_xfer_memory): Likewise.
215 (monitor_xfer_partial): Likewise.
216 * procfs.c (procfs_xfer_partial): Likewise.
217 * record-full.c (record_full_xfer_partial): Likewise.
218 (record_full_core_xfer_partial): Likewise.
219 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
220 instead of plongest.
221 (gdbsim_xfer_partial): Likewise.
222 * remote.c (remote_xfer_partial): Likewise.
223 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
224 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
225 declaration.
226 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
227 (rs6000_xfer_shared_libraries): Likewise.
228 * sol-thread.c (sol_thread_xfer_partial): Likewise.
229 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
230 (sparc_xfer_partial): Likewise.
231 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
232 (spu_xfer_partial): Likewise.
233 * spu-multiarch.c (spu_xfer_partial): Likewise.
234 * target.c (target_read_live_memory): Likewise.
235 (memory_xfer_live_readonly_partial): Likewise.
236 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
237 (target_xfer_partial, default_xfer_partial): Likewise.
238 (current_xfer_partial): Likewise.
239 * tracepoint.c (tfile_xfer_partial): Likewise.
240 * windows-nat.c (windows_xfer_memory): Likewise. Call
241 pulongest instead of plongest.
242 (windows_xfer_partial): Likewise.
243 (windows_xfer_shared_libraries): Likewise.
244
245 2014-01-14 Yao Qi <yao@codesourcery.com>
246
247 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
248 target_xfer_partial_ftype.
249
250 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
251
252 PR python/15464
253 PR python/16113
254 * valops.c (value_struct_elt_bitpos): New function
255 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
256 object to 'None' if the field name is an empty string ("").
257 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
258 attribute to look for a field when 'name' is 'None'.
259 (get_field_type): New function
260
261 2014-01-13 Doug Evans <dje@google.com>
262
263 PR symtab/16426
264 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
265 (try_open_dwop_file): Ditto.
266 * gdb_bfd.c: #include "vec.h".
267 (bfdp): New typedef.
268 (struct gdb_bfd_data): New member included_bfds.
269 (gdb_bfd_unref): Unref all included bfds.
270 (gdb_bfd_record_inclusion): New function.
271 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
272
273 2014-01-13 Tom Tromey <tromey@redhat.com>
274
275 * gdbcore.h (deprecated_core_resize_section_table): Remove.
276
277 2014-01-13 Tom Tromey <tromey@redhat.com>
278
279 * defs.h (use_windows): Remove.
280 * gdb.c (main): Update.
281 * main.c (captured_main, gdb_main): Update.
282 * main.h (struct captured_main_args) <use_windows>: Remove.
283 * top.c (use_windows): Remove.
284
285 2014-01-13 Tom Tromey <tromey@redhat.com>
286
287 * defs.h (deprecated_flush_hook): Remove.
288
289 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
290
291 PR threads/16216
292 * linux-thread-db.c (try_thread_db_load): Add parameter
293 check_auto_load_safe. Move here the file_is_auto_load_safe call.
294 (try_thread_db_load_from_pdir_1): Move it there from here.
295 (try_thread_db_load_from_sdir): Update caller.
296 (try_thread_db_load_from_dir): Move it there from here.
297
298 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
299
300 * regformats/regdat.sh: Always rewrite the register file.
301
302 2014-01-13 Pedro Alves <palves@redhat.com>
303
304 * Makefile.in (CHECK_HEADERS): New variable.
305 (check-headers:): New rule.
306
307 2014-01-13 Tom Tromey <tromey@redhat.com>
308
309 * cli/cli-setshow.c (do_set_command): Update.
310 * defs.h (deprecated_set_hook): Remove.
311 * top.c (deprecated_set_hook): Remove.
312
313 2014-01-13 Pedro Alves <palves@redhat.com>
314
315 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
316 the tracepoint if the PC is a pseudo-register.
317
318 2014-01-13 Tom Tromey <tromey@redhat.com>
319
320 * defs.h (XCALLOC): Remove.
321 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
322 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
323 * dwarf2loc.c (allocate_piece_closure): Likewise.
324 * elfread.c (elf_symfile_segments): Likewise.
325 (elf_symfile_segments): Likewise.
326 * gdbtypes.c (copy_type_recursive): Likewise.
327 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
328 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
329 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
330 XCALLOC.
331 * mt-tdep.c (mt_gdbarch_init): Likewise.
332 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
333 XCALLOC.
334 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
335 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
336 * registry.c (registry_alloc_data): Likewise.
337 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
338 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
339 * serial.c (serial_fdopen_ops): Likewise.
340 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
341 XCALLOC.
342 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
343 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
344 not XCALLOC.
345
346 2014-01-13 Tom Tromey <tromey@redhat.com>
347
348 * defs.h (XMALLOC): Remove.
349 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
350 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
351 * cli-out.c (struct ui_out *): Likewise.
352 * cli/cli-dump.c (add_dump_command): Likewise.
353 (add_dump_command): Likewise.
354 * complaints.c (get_complaints): Likewise.
355 (find_complaint): Likewise.
356 * dwarf2-frame.c (execute_cfa_program): Likewise.
357 * dwarf2read.c (abbrev_table_read_table): Likewise.
358 * gdbarch.sh: Likewise.
359 * gdbarch.c: Rebuild.
360 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
361 * interps.c (interp_new): Likewise.
362 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
363 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
364 * mi/mi-console.c (mi_console_file_new): Likewise.
365 * mi/mi-interp.c (mi_interpreter_init): Likewise.
366 * mi/mi-out.c (mi_out_new): Likewise.
367 * mi/mi-parse.c (mi_parse): Likewise.
368 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
369 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
370 * observer.c (xalloc_observer_list_node): Likewise.
371 * regcache.c (regcache_xmalloc_1): Likewise.
372 * reggroups.c (reggroup_new): Likewise.
373 (_initialize_reggroup): Likewise.
374 * registry.c (register_data_with_cleanup): Likewise.
375 * remote.c (remote_notif_stop_alloc_reply): Likewise.
376 * ser-base.c (serial_ttystate): Likewise.
377 * ser-mingw.c (make_pipe_state): Likewise.
378 * ser-pipe.c (pipe_open): Likewise.
379 * serial.c (serial_open): Likewise.
380 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
381 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
382 (tui_alloc_win_info): Likewise.
383 (tui_add_content_elements): Likewise.
384 * tui/tui-file.c (tui_file_new): Likewise.
385 * tui/tui-out.c (tui_out_new): Likewise.
386 * ui-file.c (mem_file_new): Likewise.
387 * ui-out.c (push_level): Likewise.
388 (make_cleanup_ui_out_end): Likewise.
389 (append_header_to_list): Likewise.
390 (ui_out_new): Likewise.
391 * user-regs.c (user_reg_add_builtin): Likewise.
392
393 2014-01-13 Tom Tromey <tromey@redhat.com>
394
395 * defs.h (XZALLOC): Remove.
396 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
397 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
398 (get_ada_tasks_inferior_data): Likewise.
399 * auto-load.c (get_auto_load_pspace_data): Likewise.
400 * auxv.c (get_auxv_inferior_data): Likewise.
401 * bfd-target.c (target_bfd_reopen): Likewise.
402 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
403 (deprecated_insert_raw_breakpoint): Likewise.
404 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
405 * corelow.c (core_open): Likewise.
406 * darwin-nat.c (darwin_check_new_threads): Likewise.
407 (darwin_attach_pid): Likewise.
408 * dummy-frame.c (dummy_frame_push): Likewise.
409 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
410 * dwarf2loc.c (allocate_piece_closure): Likewise.
411 * elfread.c (elf_symfile_segments): Likewise.
412 * eval.c (ptrmath_type_p): Likewise.
413 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
414 * gdbtypes.c (alloc_type_arch): Likewise.
415 (alloc_type_instance): Likewise.
416 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
417 * inf-child.c (inf_child_can_use_agent): Likewise.
418 * inflow.c (get_inflow_inferior_data): Likewise.
419 * infrun.c (save_infcall_suspend_state): Likewise.
420 * jit.c (jit_reader_load): Likewise.
421 (get_jit_objfile_data): Likewise.
422 (get_jit_program_space_data): Likewise.
423 (jit_object_open_impl): Likewise.
424 (jit_symtab_open_impl): Likewise.
425 (jit_block_open_impl): Likewise.
426 (jit_frame_sniffer): Likewise.
427 * linux-fork.c (add_fork): Likewise.
428 * maint.c (make_command_stats_cleanup): Likewise.
429 * objfiles.c (get_objfile_pspace_data): Likewise.
430 * opencl-lang.c (struct lval_closure): Likewise.
431 * osdata.c (osdata_start_osdata): Likewise.
432 * progspace.c (new_address_space): Likewise.
433 (add_program_space): Likewise.
434 * remote-sim.c (get_sim_inferior_data): Likewise.
435 * sh-tdep.c (sh_gdbarch_init): Likewise.
436 * skip.c (Ignore): Likewise.
437 (skip_delete_command): Likewise.
438 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
439 (library_list_start_library): Likewise.
440 (solib_aix_current_sos): Likewise.
441 * solib-darwin.c (get_darwin_info): Likewise.
442 (darwin_current_sos): Likewise.
443 * solib-dsbt.c (get_dsbt_info): Likewise.
444 * solib-ia64-hpux.c (new_so_list): Likewise.
445 (ia64_hpux_get_solib_linkage_addr): Likewise.
446 * solib-spu.c (append_ocl_sos): Likewise.
447 (spu_current_sos): Likewise.
448 * solib-svr4.c (get_svr4_info): Likewise.
449 (svr4_keep_data_in_core): Likewise.
450 (library_list_start_library): Likewise.
451 (svr4_default_sos): Likewise.
452 (svr4_read_so_list): Likewise.
453 * solib-target.c (library_list_start_library): Likewise.
454 (solib_target_current_sos): Likewise.
455 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
456 * symfile-debug.c (install_symfile_debug_logging): Likewise.
457 * symfile.c (default_symfile_segments): Likewise.
458 * target-descriptions.c (tdesc_data_init): Likewise.
459 (tdesc_create_reg): Likewise.
460 (struct tdesc_type *): Likewise.
461 (tdesc_create_vector): Likewise.
462 (tdesc_set_struct_size): Likewise.
463 (struct tdesc_type *): Likewise.
464 (tdesc_free_feature): Likewise.
465 (tdesc_create_feature): Likewise.
466 * windows-nat.c (windows_add_thread): Likewise.
467 (windows_make_so): Likewise.
468 * xml-support.c (gdb_xml_body_text): Likewise.
469 (gdb_xml_create_parser_and_cleanup): Likewise.
470 (xml_process_xincludes): Likewise.
471 * xml-syscall.c (allocate_syscalls_info): Likewise.
472 (syscall_create_syscall_desc): Likewise.
473
474 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
475
476 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
477 function, with code from i386_stap_parse_special_token.
478 (i386_stap_parse_special_token_three_arg_disp): Likewise.
479 (i386_stap_parse_special_token): Move code to the two functions
480 above; simplify it.
481
482 2014-01-09 Pedro Alves <palves@redhat.com>
483 Hui Zhu <hui@codesourcery.com>
484
485 PR gdb/16101
486 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
487 bp_err_string. Don't mark the location shlib_disabled if the
488 error thrown wasn't a generic or memory error. Catch errors
489 thrown while inserting breakpoints in overlayed code. Output
490 error message of software breakpoints.
491 * remote.c (remote_insert_breakpoint): If this breakpoint has
492 target-side commands but this stub doesn't support Z0 packets,
493 throw NOT_SUPPORTED_ERROR error.
494 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
495 * target.h (target_insert_breakpoint): Extend comment.
496 (target_insert_hw_breakpoint): Add comment.
497
498 2014-01-08 Pedro Alves <palves@redhat.com>
499
500 * remote.c (remote_add_thread): Add threads silently if starting
501 up.
502 (remote_notice_new_inferior): If in all-stop, and starting up,
503 don't call notice_new_inferior.
504 (get_current_thread): New function, factored out from ...
505 (add_current_inferior_and_thread): ... this. Adjust.
506 (remote_start_remote) <all-stop>: Fetch the thread list. If we
507 found any thread, then select the remote's current thread as GDB's
508 current thread too.
509
510 2014-01-08 Joel Brobecker <brobecker@adacore.com>
511
512 * NEWS: Create a new section for the next release branch.
513 Rename the section of the current branch, now that it has
514 been cut.
515
516 2014-01-08 Joel Brobecker <brobecker@adacore.com>
517
518 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
519 * version.in: Bump version to 7.7.50.DATE-cvs.
520
521 2014-01-08 Yao Qi <yao@codesourcery.com>
522
523 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
524 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
525 (spu_xfer_partial): Cast 'buf' to 'const char *'.
526
527 2014-01-08 Yao Qi <yao@codesourcery.com>
528
529 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
530 return value of bfd_get_filename to symbol_file_add_from_bfd.
531
532 2014-01-08 Pierre Muller <muller@sourceware.org>
533
534 Fix PR16201.
535 * coff-pe-read.c (struct read_pe_section_data): Add index field.
536 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
537 to prim_record_mininal_symbol_and_info.
538 (add_pe_forwarded_sym): Use known section number of forwarded symbol
539 in call to prim_record_minimal_symbol_and_info.
540 (read_pe_exported_syms): Set index field of section_data.
541
542 2014-01-07 Andrew Pinski <apinski@cavium.com>
543
544 * features/aarch64-core.xml (cpsr): Change to be 64bit.
545 * features/aarch64.c: Regenerate.
546
547 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
548
549 * target.c (return_null): Define.
550 (update_current_target): Use it instead of return_zero for
551 functions that return a pointer.
552
553 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
554
555 * source.c (add_path): Fix check for duplicated paths in the previously
556 included paths.
557
558 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
559
560 * ada-lang.c: Remove duplicated include statements.
561 * alphabsd-nat.c: Ditto.
562 * amd64-darwin-tdep.c: Ditto.
563 * amd64fbsd-nat.c: Ditto.
564 * auto-load.c: Ditto.
565 * ax-gdb.c: Ditto.
566 * breakpoint.c: Ditto.
567 * dbxread.c: Ditto.
568 * fork-child.c: Ditto.
569 * gdb_usleep.c: Ditto.
570 * i386-darwin-tdep.c: Ditto.
571 * i386fbsd-nat.c: Ditto.
572 * infcmd.c: Ditto.
573 * inferior.c: Ditto.
574 * jv-lang.c: Ditto.
575 * linux-nat.c: Ditto.
576 * linux-tdep.c: Ditto.
577 * m68kbsd-nat.c: Ditto.
578 * m68klinux-nat.c: Ditto.
579 * microblaze-tdep.c: Ditto.
580 * mips-linux-tdep.c: Ditto.
581 * mn10300-tdep.c: Ditto.
582 * nto-tdep.c: Ditto.
583 * opencl-lang.c: Ditto.
584 * osdata.c: Ditto.
585 * printcmd.c: Ditto.
586 * regcache.c: Ditto.
587 * remote-m32r-sdi.c: Ditto.
588 * remote.c: Ditto.
589 * symfile.c: Ditto.
590 * symtab.c: Ditto.
591 * tilegx-linux-nat.c: Ditto.
592 * tilegx-tdep.c: Ditto.
593 * tracepoint.c: Ditto.
594 * valops.c: Ditto.
595 * vaxbsd-nat.c: Ditto.
596 * windows-nat.c: Ditto.
597 * xtensa-tdep.c: Ditto.
598
599 2014-01-07 Yao Qi <yao@codesourcery.com>
600
601 * spu-linux-nat.c (_initialize_spu_nat): Declare.
602
603 2014-01-07 Yao Qi <yao@codesourcery.com>
604 Joel Brobecker <brobecker@adacore.com>
605
606 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
607 (pdc_write_regs): Likewise.
608 (fetch_regs_kernel_thread): Likewise.
609 (store_regs_kernel_thread): Likewise.
610
611 2014-01-07 Joel Brobecker <brobecker@adacore.com>
612
613 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
614 tagged type objects to their actual type.
615
616 2014-01-07 Joel Brobecker <brobecker@adacore.com>
617
618 * ada-valprint.c (print_field_values): Add "language" parameter.
619 Update calls to print_field_values and print_variant_part.
620 Pass new parameter "language" in call to val_print instead
621 of "current_language". Replace call to ada_val_print by call
622 to val_print.
623 (print_variant_part): Add "language" parameter.
624 (ada_val_print_struct_union): Update call to print_field_values.
625
626 2014-01-07 Joel Brobecker <brobecker@adacore.com>
627
628 * ada-valprint.c (ui_memcpy): Delete.
629 (ada_print_floating): Update documentation. Add empty line
630 between between function documentation and implementation.
631 Delete variable "buffer". Use ui_file_xstrdup in place of
632 ui_file_put. Minor adjustments following this change.
633
634 2014-01-07 Joel Brobecker <brobecker@adacore.com>
635
636 * ada-valprint.c (ada_val_print_string): New function,
637 extracted from ada_val_print_array.
638 (ada_val_print_array): Replace extracted code by call
639 to ada_val_print_string followed by a return. Move
640 "else" branch to the function's top block.
641
642 2014-01-07 Joel Brobecker <brobecker@adacore.com>
643
644 * ada-valprint.c (ada_val_print_array): Move implementation
645 down. Rename parameter "offset" and "val" into "offset_aligned"
646 and "original_value" respectively. Add parameter "offset".
647
648 2014-01-07 Joel Brobecker <brobecker@adacore.com>
649
650 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
651 re-organizing the code. Change the "???" message printed
652 when target type is a TYPE_CODE_UNDEF into
653 "<ref to undefined type>".
654
655 2014-01-07 Joel Brobecker <brobecker@adacore.com>
656
657 * ada-valprint.c (print_record): Delete, implementation inlined...
658 (ada_val_print_struct_union): ... here. Remove call to
659 ada_check_typedef in inlined implementation.
660
661 2014-01-07 Joel Brobecker <brobecker@adacore.com>
662
663 * ada-valprint.c (ada_val_print_gnat_array): New function,
664 extracted from ada_val_print_1;
665 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
666 (ada_val_print_flt, ada_val_print_struct_union)
667 (ada_val_print_ref): Likewise.
668 (ada_val_print_1): Delete variables i and elttype.
669 Replace extracted-out code by call to corresponding
670 new functions.
671
672 2014-01-07 Joel Brobecker <brobecker@adacore.com>
673
674 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
675
676 2014-01-07 Joel Brobecker <brobecker@adacore.com>
677
678 * ada-valprint.c (ada_val_print_1): Replace calls to
679 ada_val_print_1 by calls to val_print.
680
681 2014-01-07 Joel Brobecker <brobecker@adacore.com>
682
683 * ada-valprint.c (ada_val_print_1): Add parameter "language".
684 Update calls to self accordingly. Replace calls to c_val_print
685 by calls to val_print.
686
687 2014-01-07 Joel Brobecker <brobecker@adacore.com>
688
689 * ada-valprint.c (print_record): Delete declaration.
690 (adjust_type_signedness, ada_val_print_1): Likewise.
691 (ada_val_print): Move function implementation down.
692 (print_variant_part, print_field_values, print_record):
693 Move function implementation up.
694
695 2014-01-07 Joel Brobecker <brobecker@adacore.com>
696
697 * python/py-type.c (typy_get_name): New function.
698 (type_object_getset): Add entry for attribute "name".
699 * NEWS: Add entry mentioning this new attribute.
700
701 2014-01-07 Yao Qi <yao@codesourcery.com>
702
703 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
704 statement.
705
706 2014-01-07 Yao Qi <yao@codesourcery.com>
707
708 * gnu-nat.c (info_port_rights): Add qualifier const to
709 argument args.
710
711 2014-01-07 Yao Qi <yao@codesourcery.com>
712
713 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
714
715 2014-01-07 Yao Qi <yao@codesourcery.com>
716
717 * gnu-nat.c (make_inf) Update declaration.
718 (make_inf): Make it static.
719 (inf_set_traced): Likewise.
720 (inf_port_to_thread, inf_task_died_status): Likewise.
721
722 2014-01-07 Yao Qi <yao@codesourcery.com>
723
724 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
725
726 2014-01-07 Yao Qi <yao@codesourcery.com>
727
728 * gnu-nat.c (_initialize_gnu_nat): Declare.
729
730 2014-01-07 Yao Qi <yao@codesourcery.com>
731
732 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
733 'enum bfd_endian'.
734 (struct gdbarch_info) <byte_order>: Change type to
735 'enum bfd_endian'.
736 <byte_order_for_code>: Likewise.
737 * gdbarch.c, gdbarch.h: Regenerated.
738
739 2014-01-06 Sasha Smundak <asmundak@google.com>
740
741 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
742
743 2014-01-06 Tom Tromey <tromey@redhat.com>
744
745 * doublest.c (convert_doublest_to_floatformat): Use const, not
746 CONST.
747 * somread.c (som_symtab_read): Likewise.
748
749 2014-01-07 Hui Zhu <hui@codesourcery.com>
750
751 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
752 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
753 (gdb_bfd_fopen): Ditto.
754 (gdb_bfd_openr): Ditto.
755 (gdb_bfd_openw): Ditto.
756 (gdb_bfd_openr_iovec): Ditto.
757 (gdb_bfd_fdopenr): Ditto.
758 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
759 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
760 with xstrdup.
761 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
762 with xstrdup.
763 * symfile-mem.c (symbol_file_add_from_memory): Removed
764 gdb_bfd_stash_filename.
765
766 2014-01-03 Doug Evans <dje@google.com>
767
768 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
769 output.
770
771 2014-01-01 Joel Brobecker <brobecker@adacore.com>
772
773 Update year range in copyright notice of all files.
774
775 2014-01-01 Joel Brobecker <brobecker@adacore.com>
776
777 * top.c (print_gdb_version): Set copyright year to 2014.
778
779 2014-01-01 Joel Brobecker <brobecker@adacore.com>
780
781 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
782
783 For older changes see ChangeLog-2013.
784 \f
785 Local Variables:
786 mode: change-log
787 left-margin: 8
788 fill-column: 74
789 version-control: never
790 coding: utf-8
791 End: