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