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