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