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