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