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