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