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