]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9d2d0b8b
TT
12014-02-12 Tom Tromey <tromey@redhat.com>
2
3 * common/rsp-low.c: Update comments.
4 * common/rsp-low.h: Update comments.
5
a7191e8b
TT
62014-02-12 Tom Tromey <tromey@redhat.com>
7
8 * common/rsp-low.c (convert_ascii_to_int): Remove.
9 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10
ff0e980e
TT
112014-02-12 Tom Tromey <tromey@redhat.com>
12
13 * common/rsp-low.h (unhexify): Don't declare.
14 * common/rsp-low.c (unhexify): Remove.
15
e9371aff
TT
162014-02-12 Tom Tromey <tromey@redhat.com>
17
18 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
19 * common/rsp-low.c (convert_int_to_ascii): Remove.
20
971dc0b8
TT
212014-02-12 Tom Tromey <tromey@redhat.com>
22
23 * common/rsp-low.h (hexify): Don't declare.
24 * common/rsp-low.c (hexify): Remove.
25
0a822afb
TT
262014-02-12 Tom Tromey <tromey@redhat.com>
27
28 * common/rsp-low.c (hexify): Never take strlen of argument.
29
9f1b45b0
TT
302014-02-12 Tom Tromey <tromey@redhat.com>
31
32 * common/rsp-low.c (bin2hex): Never take strlen of argument.
33 * remote.c (extended_remote_run, remote_rcmd)
34 (remote_download_trace_state_variable, remote_save_trace_data)
35 (remote_set_trace_notes): Update.
36 * tracepoint.c (encode_source_string, tfile_write_status)
37 (tfile_write_uploaded_tsv): Update.
38
9c3d6531
TT
392014-02-12 Tom Tromey <tromey@redhat.com>
40
41 * tracepoint.c: Include rsp-low.h.
42 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
43 * remote.c: Include rsp-low.h.
44 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
45 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
46 (remote_unescape_input): Move to common/rsp-low.c.
47 * common/rsp-low.h: New file.
48 * common/rsp-low.c: New file.
49 * Makefile.in (SFILES): Add common/rsp-low.c.
50 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
51 (COMMON_OBS): Add rsp-low.o.
52 (rsp-low.o): New target.
53
01fd3ea5
TT
542014-02-12 Tom Tromey <tromey@redhat.com>
55
56 * utils.h: Include print-utils.h.
57 (host_address_to_string, plongest, pulongest, phex, phex_nz)
58 (int_string, core_addr_to_string, core_addr_to_string_nz)
59 (hex_string, hex_string_custom): Don't declare.
60 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
61 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
62 (hex_string_custom, int_string, core_addr_to_string)
63 (core_addr_to_string_nz, host_address_to_string): Move to
64 common/print-utils.c.
65 * common/print-utils.h: New file.
66 * common/print-utils.c: New file
67 * Makefile.in (SFILES): Add common/print-utils.c.
68 (HFILES_NO_SRCDIR): Add common/print-utils.h.
69 (COMMON_OBS): Add print-utils.o.
70 (print-utils.o): New target.
71
9fb50108
TT
722014-02-12 Tom Tromey <tromey@redhat.com>
73
74 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
75
0548b5db
MK
762014-02-12 Mark Kettenis <kettenis@gnu.org>
77
78 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
79
493443a4
MK
802014-02-12 Mark Kettenis <kettenis@gnu.org>
81
82 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
83 if a PT_IO ptrace request returns sucessfully but indicates that 0
84 bytes were transferred.
85
706d0883
PA
862014-02-12 Pedro Alves <palves@redhat.com>
87 Kevin Buettner <kevinb@redhat.com>
88
89 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
90 TYPE_INSTANCE_FLAG_CODE_SPACE.
91
5caa2f0b
PA
922014-02-12 Pedro Alves <palves@redhat.com>
93
94 * h8300-tdep.c (pseudo_from_raw_register)
95 (raw_from_pseudo_register): New functions.
96 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
97 them.
98
76fd5f74
PA
992014-02-12 Pedro Alves <palves@redhat.com>
100
101 * h8300-tdep.c (h8300_register_sim_regno): New function.
102 (h8300_gdbarch_init): Install h8300_register_sim_regno as
103 gdbarch_register_sim_regno hook.
104
8f008406
SA
1052014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
106
107 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
108
195abc10
SA
1092014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
110
111 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
112
93ffa5b9
MK
1132014-02-12 Mark Kettenis <kettenis@gnu.org>
114
115 * obsd-tdep.h (obsd_init_abi): New prototype.
116 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
117 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
118 (obsd_init_abi): New functions.
119 * i386obsd-tdep.c: Include "obsd-tdep.h".
120 (i386obsd_init_abi): Call obsd_init_abi.
121 * amd64obsd-tdep.c: Include "obsd-tdep.h".
122 (amd64obsd_init_abi): Call obsd_init_abi.
123 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
124 obsd-tdep.c to gdb_target_obs.
125
49caec94
JM
1262014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
127
128 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
129 double float arguments to 16-byte in the argument slots.
130
e1402065
DE
1312014-02-11 Doug Evans <xdje42@gmail.com>
132
133 * configure.ac: Don't crash if pkg-config is not found and guile
134 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
135 in guile checks.
136 * configure: Regenerate.
137
edcc890f
YQ
1382014-02-11 Yao Qi <yao@codesourcery.com>
139
140 * aix-thread.c (aix_thread_xfer_partial): Update comments.
141 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
142 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
143 * gnu-nat.c (gnu_xfer_memory): Likewise.
144 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
145 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
146 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
147 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
148
9b409511
YQ
1492014-02-11 Yao Qi <yao@codesourcery.com>
150
151 * target.h (enum target_xfer_error): Rename to ...
152 (enum target_xfer_status): ... it. New. All users updated.
153 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
154 New.
155 (TARGET_XFER_STATUS_ERROR_P): New macro.
156 (target_xfer_error_to_string): Remove declaration.
157 (target_xfer_status_to_string): Declare.
158 (target_xfer_partial_ftype): Adjust it.
159 (struct target_ops) <to_xfer_partial>: Return
160 target_xfer_status. Add argument xfered_len. Update
161 comments.
162 * target.c (target_xfer_error_to_string): Rename to ...
163 (target_xfer_status_to_string): ... it. New. All callers
164 updated.
165 (target_read_live_memory): Likewise. Call target_xfer_partial
166 instead of target_read.
167 (memory_xfer_live_readonly_partial): Return
168 target_xfer_status. Add argument xfered_len.
169 (raw_memory_xfer_partial): Likewise.
170 (memory_xfer_partial_1): Likewise.
171 (memory_xfer_partial): Likewise.
172 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
173 properly. Update debug message.
174 (default_xfer_partial, current_xfer_partial): Likewise.
175 (target_write_partial): Likewise.
176 (target_read_partial): Likewise. All callers updated.
177 (read_whatever_is_readable): Likewise.
178 (target_write_with_progress): Likewise.
179 (target_read_alloc_1): Likewise.
180
181 * aix-thread.c (aix_thread_xfer_partial): Likewise.
182 * auxv.c (procfs_xfer_auxv): Likewise.
183 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
184 * bfd-target.c (target_bfd_xfer_partial): Likewise.
185 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
186 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
187 * corefile.c (read_memory): Adjust.
188 * corelow.c (core_xfer_partial): Likewise.
189 * ctf.c (ctf_xfer_partial): Likewise.
190 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
191 updated.
192 (darwin_xfer_partial): Likewise.
193 * exec.c (section_table_xfer_memory_partial): Likewise. All
194 callers updated.
195 (exec_xfer_partial): Likewise.
196 * exec.h (section_table_xfer_memory_partial): Update
197 declaration.
198 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
199 negative.
200 (gnu_xfer_partial): Likewise.
201 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
202 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
203 (ia64_hpux_xfer_solib_got): Likewise.
204 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
205 type of 'partial_len' to ULONGEST.
206 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
207 * linux-nat.c (linux_xfer_siginfo ): Likewise.
208 (linux_nat_xfer_partial): Likewise.
209 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
210 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
211 * monitor.c (monitor_xfer_memory): Likewise.
212 (monitor_xfer_partial): Likewise.
213 * procfs.c (procfs_xfer_partial): Likewise.
214 * record-btrace.c (record_btrace_xfer_partial): Likewise.
215 * record-full.c (record_full_xfer_partial): Likewise.
216 (record_full_core_xfer_partial): Likewise.
217 * remote-sim.c (gdbsim_xfer_memory): Likewise.
218 (gdbsim_xfer_partial): Likewise.
219 * remote.c (remote_write_bytes_aux): Likewise. All callers
220 updated.
221 (remote_write_bytes, remote_read_bytes): Likewise. All
222 callers updated.
223 (remote_flash_erase): Likewise. All callers updated.
224 (remote_write_qxfer): Likewise. All callers updated.
225 (remote_read_qxfer): Likewise. All callers updated.
226 (remote_xfer_partial): Likewise.
227 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
228 (rs6000_xfer_shared_libraries): Likewise.
229 * sol-thread.c (sol_thread_xfer_partial): Likewise.
230 (sol_thread_xfer_partial): Likewise.
231 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
232 (sparc_xfer_partial): Likewise.
233 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
234 updated.
235 (spu_xfer_partial): Likewise.
236 * spu-multiarch.c (spu_xfer_partial): Likewise.
237 * tracepoint.c (tfile_xfer_partial): Likewise.
238 * windows-nat.c (windows_xfer_memory): Likewise.
239 (windows_xfer_shared_libraries): Likewise.
240 (windows_xfer_partial): Likewise.
241 * valprint.c: Replace 'target_xfer_error' with
242 'target_xfer_status' in comments.
243
a8e63083
JB
2442014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
245
246 Checked in by Joel Brobecker <brobecker@adacore.com>.
247 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
248
e86b67d3
JB
2492014-02-11 Joel Brobecker <brobecker@adacore.com>
250
251 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
252 function parameters.
253
4b7d1f7f
WN
2542014-02-10 Will Newton <will.newton@linaro.org>
255
256 * elfread.c (elf_rel_plt_read): Look for a .got section if
257 looking up .got.plt fails.
258 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
259 on address passed to elf_gnu_ifunc_record_cache.
260 (elf_gnu_ifunc_resolve_addr): Likewise.
261 (elf_gnu_ifunc_resolver_return_stop): Likewise.
262
961842b2
JM
2632014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
264
265 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
266 (X_RETTURN): New macro.
267 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
268
269 * sparc64-tdep.c (sparc64_init_abi): Hook
270 sparc_in_function_epilogue_p.
271
3f03e7b1
GB
2722014-02-10 Gary Benson <gbenson@redhat.com>
273
274 * symfile-debug.c (debug_qf_expand_symtabs_matching):
275 Rename name_matcher to symbol_matcher.
276
96f861ef
GB
2772014-02-10 Gary Benson <gbenson@redhat.com>
278
279 * symfile-debug.c (debug_qf_expand_symtabs_matching):
280 Use expand_symtabs_file_matcher_ftype and
281 expand_symtabs_symbol_matcher_ftype.
282
ee01b665
JB
2832014-02-10 Joel Brobecker <brobecker@adacore.com>
284
285 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
286 (struct ada_symbol_cache): New.
287 (ada_free_symbol_cache): Forward declare.
288 (struct ada_pspace_data): New.
289 (ada_pspace_data_handle): New static global.
290 (get_ada_pspace_data, ada_pspace_data_cleanup)
291 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
292 (cache_space, cache): Delete, now folded inside struct
293 ada_pspace_data.
294 (ada_get_symbol_cache): New function.
295 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
296 implementation.
297 (_initialize_ada_language): Remove initialization of cache_space.
298 Move call to observer_attach_inferior_exit up, grouping it
299 with the other observer registrations inside this function.
300 Rename command to be more general. Add call to
301 register_program_space_data_with_cleanup.
302
143adbbf
JB
3032014-02-10 Joel Brobecker <brobecker@adacore.com>
304
305 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
306 ada_new_objfile_observer.
307 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
308 (_initialize_tasks): Update uses of ada_new_objfile_observer
309 and ada_tasks_normal_stop_observer.
310
aa4fb036
JB
3112014-02-10 Joel Brobecker <brobecker@adacore.com>
312
313 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
314 returned by the 'Length attribute to integer.
315
9dee8cc6
JB
3162014-02-10 Joel Brobecker <brobecker@adacore.com>
317
318 * ada-lang.c (_initialize_ada_language): Initialize
319 cache_space obstack.
320
3d9434b5
JB
3212014-02-10 Joel Brobecker <brobecker@adacore.com>
322
323 * ada-lang.c (HASH_SIZE): New macro.
324 (struct cache_entry): New type.
325 (cache_space, cache): New static globals.
326 (ada_clear_symbol_cache, find_entry): New functions.
327 (lookup_cached_symbol, cache_symbol): Implement.
328 (ada_new_objfile_observer, ada_free_objfile_observer): New.
329 (_initialize_ada_language): Attach ada_new_objfile_observer
330 and ada_free_objfile_observer.
331
f0c5f9b2
JB
3322014-02-10 Joel Brobecker <brobecker@adacore.com>
333
334 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
335 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
336 struct block * parameter.
337 (ada_lookup_symbol_list_worker): Constify local variable "block".
338 Remove cast which is no longer necessary.
339
ed3ef339
DE
3402014-02-10 Doug Evans <xdje42@gmail.com>
341
342 Add Guile as an extension language.
343 * NEWS: Mention Guile scripting.
344 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
345 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
346 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
347 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
348 (CLIBS): Add GUILE_LIBS.
349 (install-guile): New rule.
350 (guile.o): New rule.
351 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
352 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
353 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
354 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
355 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
356 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
357 (scm-type.o, scm-utils.o, scm-value.o): New rules.
358 * configure.ac: New option --with-guile.
359 * configure: Regenerate.
360 * config.in: Regenerate.
361 * auto-load.c: Remove #include "python/python.h". Add #include
362 "gdb/section-scripts.h".
363 (source_section_scripts): Handle Guile scripts.
364 (_initialize_auto_load): Add name of Guile objfile script to
365 scripts-directory help text.
366 * breakpoint.c (condition_command): Tweak comment to include Scheme.
367 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
368 (struct breakpoint): New member scm_bp_object.
369 * defs.h (enum command_control_type): New value guile_control.
370 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
371 "extension.h".
372 (show_user): Update comment.
373 (_initialize_cli_cmds): Update help text for "show user". Update help
374 text for max-user-call-depth.
375 * cli/cli-script.c: Remove #include "python/python.h". Add #include
376 "extension.h".
377 (multi_line_command_p): Add guile_control.
378 (print_command_lines): Handle guile_control.
379 (execute_control_command, recurse_read_control_structure): Ditto.
380 (process_next_line): Recognize "guile" commands.
381 * disasm.c (gdb_disassemble_info): Make non-static.
382 * disasm.h: #include "dis-asm.h".
383 (struct gdbarch): Add forward decl.
384 (gdb_disassemble_info): Declare.
385 * extension.c: #include "guile/guile.h".
386 (extension_languages): Add guile.
387 (get_ext_lang_defn): Handle EXT_LANG_GDB.
388 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
389 * gdbtypes.c (get_unsigned_type_max): New function.
390 (get_signed_type_minmax): New function.
391 * gdbtypes.h (get_unsigned_type_max): Declare.
392 (get_signed_type_minmax): Declare.
393 * guile/README: New file.
394 * guile/guile-internal.h: New file.
395 * guile/guile.c: New file.
396 * guile/guile.h: New file.
397 * guile/scm-arch.c: New file.
398 * guile/scm-auto-load.c: New file.
399 * guile/scm-block.c: New file.
400 * guile/scm-breakpoint.c: New file.
401 * guile/scm-disasm.c: New file.
402 * guile/scm-exception.c: New file.
403 * guile/scm-frame.c: New file.
404 * guile/scm-gsmob.c: New file.
405 * guile/scm-iterator.c: New file.
406 * guile/scm-lazy-string.c: New file.
407 * guile/scm-math.c: New file.
408 * guile/scm-objfile.c: New file.
409 * guile/scm-ports.c: New file.
410 * guile/scm-pretty-print.c: New file.
411 * guile/scm-safe-call.c: New file.
412 * guile/scm-string.c: New file.
413 * guile/scm-symbol.c: New file.
414 * guile/scm-symtab.c: New file.
415 * guile/scm-type.c: New file.
416 * guile/scm-utils.c: New file.
417 * guile/scm-value.c: New file.
418 * guile/lib/gdb.scm: New file.
419 * guile/lib/gdb/boot.scm: New file.
420 * guile/lib/gdb/experimental.scm: New file.
421 * guile/lib/gdb/init.scm: New file.
422 * guile/lib/gdb/iterator.scm: New file.
423 * guile/lib/gdb/printing.scm: New file.
424 * guile/lib/gdb/types.scm: New file.
425 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
426 (VPATH): Add $(GUILE_SRCDIR).
427 (GUILE_DIR): New variable.
428 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
429 (all): Add stamp-guile dependency.
430 (stamp-guile): New rule.
431 (clean-guile, install-guile, uninstall-guile): New rules.
432 (install-only): Add install-guile dependency.
433 (uninstall): Add uninstall-guile dependency.
434 (clean): Add clean-guile dependency.
435
ac020ec5
DE
4362014-02-09 Doug Evans <xdje42@gmail.com>
437
438 Revert this patch (which I approved, mea culpa).
439
440 2014-02-08 Mark Kettenis <kettenis@gnu.org>
441
442 * Makefile.in (all-lib): Remove.
443 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
444
2a081c59
JK
4452014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 Fix Python stack corruption.
448 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
449 gdb_py_longest.
450
0a6bd22d
MK
4512014-02-08 Mark Kettenis <kettenis@gnu.org>
452
453 * Makefile.in (all-lib): Remove.
454 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
455
1a860409
DE
4562014-02-07 Doug Evans <dje@google.com>
457
458 * extension-priv.h (extension_language_script_ops): Add comment.
459 (extension_language_ops): Add comment.
caf5a491 460 (active_ext_lang_state): Fix typo in comment.
1a860409 461
d137e6dc
PA
4622014-02-07 Pedro Alves <palves@redhat.com>
463
464 * infrun.c (handle_signal_stop) <signal arrives while stepping
465 over a breakpoint>: Switch back to the stepping thread.
466
ce6d0892
YQ
4672014-02-07 Yao Qi <yao@codesourcery.com>
468
469 * target.c (target_xfer_partial): Return zero if LEN is zero.
470
2ed4b548
YQ
4712014-02-07 Yao Qi <yao@codesourcery.com>
472
473 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
474 (ld_so_xfer_auxv): Likewise.
475 * bfd-target.c (target_bfd_xfer_partial): Likewise.
476 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
477 * corelow.c (core_xfer_partial): Likewise.
478 * ctf.c (ctf_xfer_partial): Likewise.
479 * darwin-nat.c (darwin_read_dyld_info): Likewise.
480 (darwin_xfer_partial): Likewise.
481 * exec.c (exec_xfer_partial): Likewise.
482 * gnu-nat.c (gnu_xfer_partial): Likewise.
483 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
484 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
485 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
486 * linux-nat.c (linux_xfer_siginfo): Likewise.
487 (linux_proc_xfer_spu): Likewise.
488 * procfs.c (procfs_xfer_partial): Likewise.
489 * record-full.c (record_full_xfer_partial): Likewise.
490 (record_full_core_xfer_partial): Likewise.
491 * remote-sim.c (gdbsim_xfer_partial): Likewise.
492 * remote.c (remote_write_qxfer): Likewise.
493 (remote_write_qxfer, remote_read_qxfer): Likewise.
494 (remote_xfer_partial): Likewise.
495 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
496 (rs6000_xfer_shared_libraries): Likewise.
497 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
498 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
499 (spu_xfer_partial): Likewise.
500 * target.c (memory_xfer_partial_1): Likewise.
501 * tracepoint.c (tfile_xfer_partial): Likewise.
502 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
503 (windows_xfer_partial): Likewise.
504
c09f20e4
YQ
5052014-02-07 Yao Qi <yao@codesourcery.com>
506
507 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
508 comments.
509 (core_xfer_shared_libraries_aix): Likewise.
510 * gdbarch.c, gdbarch.h: Regenerated.
511 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
512 ULONGEST. Change 'len_avail' type to ULONGEST.
513 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
514 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
515 declaration.
516 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
517
8635b3bf
YQ
5182014-02-07 Yao Qi <yao@codesourcery.com>
519
520 * corefile.c (memory_error): Get 'exception' from ERR and pass
521 'exception' to throw_error.
522
6dddc817
DE
5232014-02-06 Doug Evans <xdje42@gmail.com>
524
525 * configure.ac (libpython checking): Remove all but python.o from
526 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
527 * configure: Regenerate.
528
529 * Makefile.in (SFILES): Add extension.c.
530 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
531 (COMMON_OBS): Add extension.o.
532 * extension.h: New file.
533 * extension-priv.h: New file.
534 * extension.c: New file.
535
536 * python/python-internal.h: #include "extension.h".
537 (gdbpy_auto_load_enabled): Declare.
538 (gdbpy_apply_val_pretty_printer): Declare.
539 (gdbpy_apply_frame_filter): Declare.
540 (gdbpy_preserve_values): Declare.
541 (gdbpy_breakpoint_cond_says_stop): Declare.
542 (gdbpy_breakpoint_has_cond): Declare.
543 (void source_python_script_for_objfile): Delete.
544 * python/python.c: #include "extension-priv.h".
545 Delete inclusion of "observer.h".
546 (extension_language_python): Moved here and renamed from
547 script_language_python in py-auto-load.c.
548 Redefined to be of type extension_language_defn.
549 (python_extension_script_ops): New global.
550 (python_extension_ops): New global.
551 (struct python_env): New member previous_active.
552 (restore_python_env): Call restore_active_ext_lang.
553 (ensure_python_env): Call set_active_ext_lang.
554 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
555 New arg extlang.
556 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
557 New arg extlang.
558 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
559 New arg extlang.
560 (gdbpy_eval_from_control_command): Renamed from
561 eval_python_from_control_command, made static. New arg extlang.
562 (gdbpy_source_script) Renamed from source_python_script, made static.
563 New arg extlang.
564 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
565 result to int. New arg extlang.
566 (gdbpy_source_objfile_script): Renamed from
567 source_python_script_for_objfile, made static. New arg extlang.
568 (gdbpy_start_type_printers): Renamed from start_type_printers, made
569 static. New args extlang, extlang_printers. Change result type to
570 "void".
571 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
572 static. New arg extlang. Rename arg printers to extlang_printers
573 and change type to ext_lang_type_printers *.
574 (gdbpy_free_type_printers): Renamed from free_type_printers, made
575 static. Replace argument arg with extlang, extlang_printers.
576 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
577 (!HAVE_PYTHON, source_python_script): Delete.
578 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
579 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
580 (!HAVE_PYTHON, start_type_printers): Delete.
581 (!HAVE_PYTHON, apply_type_printers): Delete.
582 (!HAVE_PYTHON, free_type_printers): Delete.
583 (_initialize_python): Delete call to observer_attach_before_prompt.
584 (finalize_python): Set/restore active extension language.
585 (gdbpy_finish_initialization) Renamed from
586 finish_python_initialization, made static. New arg extlang.
587 (gdbpy_initialized): New function.
588 * python/python.h: #include "extension.h". Delete #include
589 "value.h", "mi/mi-cmds.h".
590 (extension_language_python): Declare.
591 (GDBPY_AUTO_FILE_NAME): Delete.
592 (enum py_bt_status): Moved to extension.h and renamed to
593 ext_lang_bt_status.
594 (enum frame_filter_flags): Moved to extension.h.
595 (enum py_frame_args): Moved to extension.h and renamed to
596 ext_lang_frame_args.
597 (finish_python_initialization): Delete.
598 (eval_python_from_control_command): Delete.
599 (source_python_script): Delete.
600 (apply_val_pretty_printer): Delete.
601 (apply_frame_filter): Delete.
602 (preserve_python_values): Delete.
603 (gdbpy_script_language_defn): Delete.
604 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
605 (start_type_printers, apply_type_printers, free_type_printers): Delete.
606
607 * auto-load.c: #include "extension.h".
608 (GDB_AUTO_FILE_NAME): Delete.
609 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
610 (script_language_gdb): Delete, moved to extension.c and renamed to
611 extension_language_gdb.
612 (source_gdb_script_for_objfile): Delete.
613 (auto_load_pspace_info): New member unsupported_script_warning_printed.
614 (loaded_script): Change type of language member to
615 struct extension_language_defn *.
616 (init_loaded_scripts_info): Initialize
617 unsupported_script_warning_printed.
618 (maybe_add_script): Make static. Change type of language arg to
619 struct extension_language_defn *.
620 (clear_section_scripts): Reset unsupported_script_warning_printed.
621 (auto_load_objfile_script_1): Rewrite to use extension language API.
622 (auto_load_objfile_script): Make public. Remove support-compiled-in
623 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
624 (source_section_scripts): Rewrite to use extension language API.
625 (load_auto_scripts_for_objfile): Rewrite to use
626 auto_load_scripts_for_objfile.
627 (collect_matching_scripts_data): Change type of language member to
628 struct extension_language_defn *.
629 (auto_load_info_scripts): Change type of language arg to
630 struct extension_language_defn *.
631 (unsupported_script_warning_print): New function.
632 (script_not_found_warning_print): Make static.
633 (_initialize_auto_load): Rewrite construction of scripts-directory
634 help.
635 * auto-load.h (struct objfile): Add forward decl.
636 (struct script_language): Delete.
637 (struct auto_load_pspace_info): Add forward decl.
638 (struct extension_language_defn): Add forward decl.
639 (maybe_add_script): Delete.
640 (auto_load_objfile_script): Declare.
641 (script_not_found_warning_print): Delete.
642 (auto_load_info_scripts): Update prototype.
643 (auto_load_gdb_scripts_enabled): Declare.
644 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
645 auto_load_python_scripts_enabled and made public.
646 (script_language_python): Delete, moved to python.c.
647 (gdbpy_script_language_defn): Delete.
648 (info_auto_load_python_scripts): Update to use
649 extension_language_python.
650
651 * breakpoint.c (condition_command): Replace call to
652 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
653 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
654 with call to breakpoint_ext_lang_cond_says_stop.
655 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
656 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
657 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
658 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
659 New arg slang.
660 (local_setattro): Print name of extension language with existing
661 stop condition.
662
663 * valprint.c (val_print, value_print): Update to call
664 apply_ext_lang_val_pretty_printer.
665 * cp-valprint.c (cp_print_value): Update call to
666 apply_ext_lang_val_pretty_printer.
667 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
668 (gdbpy_apply_val_pretty_printer): Renamed from
669 apply_val_pretty_printer. New arg extlang.
670 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
671
672 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
673 extension language API.
674 * cli/cli-script.c (execute_control_command): Update to call
675 eval_ext_lang_from_control_command.
676
677 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
678 enum ext_lang_bt_status values. Update call to
679 apply_ext_lang_frame_filter.
680 (mi_cmd_stack_list_locals): Ditto.
681 (mi_cmd_stack_list_args): Ditto.
682 (mi_cmd_stack_list_variables): Ditto.
683 * mi/mi-main.c: Delete #include "python/python-internal.h".
684 Add #include "extension.h".
685 (mi_cmd_list_features): Replace reference to python internal variable
686 gdb_python_initialized with call to ext_lang_initialized_p.
687
688 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
689 Update to use enum ext_lang_frame_args. Update to call
690 apply_ext_lang_frame_filter.
691 * python/py-framefilter.c (extract_sym): Update to use enum
692 ext_lang_bt_status.
693 (extract_value, py_print_type, py_print_value): Ditto.
694 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
695 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
696 (py_print_frame): Ditto.
697 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
698 New arg extlang. Update to use enum ext_lang_bt_status.
699
700 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
701 finish_python_initialization. Replace with call to
702 finish_ext_lang_initialization.
703
704 * typeprint.c (do_free_global_table): Update to call
705 free_ext_lang_type_printers.
706 (create_global_typedef_table): Update to call
707 start_ext_lang_type_printers.
708 (find_global_typedef): Update to call apply_ext_lang_type_printers.
709 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
710 (type_print_options): Change type of global_printers from "void *"
711 to "struct ext_lang_type_printers *".
712
713 * value.c (preserve_values): Update to call preserve_ext_lang_values.
714 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
715 (gdbpy_preserve_values): Renamed from preserve_python_values.
716 New arg extlang.
717 (!HAVE_PYTHON, preserve_python_values): Delete.
718
719 * utils.c (quit_flag): Delete, moved to extension.c.
720 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
721 extension.c.
722
723 * eval.c: Delete #include "python/python.h".
724 * main.c: Delete #include "python/python.h".
725
726 * defs.h: Update comment.
727
6af79985
JB
7282014-02-06 Joel Brobecker <brobecker@adacore.com>
729
730 GDB 7.7 released.
731
12c5175d
MK
7322014-02-05 Mark Kettenis <kettenis@gnu.org>
733
734 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
735 defined.
736
8dc5b319
YQ
7372014-02-05 Yao Qi <yao@codesourcery.com>
738
739 * remote.c (remote_pass_signals): Remove local 'buf' and use
740 rs->buf.
741 (remote_program_signals): Likewise.
742
de7b2893
YQ
7432014-02-05 Yao Qi <yao@codesourcery.com>
744
745 * ctf.c: Include "inferior.h" and "gdbthread.h".
746 (CTF_PID): A new macro.
747 (ctf_open): Call inferior_appeared and add_thread_silent.
748 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
749 (ctf_thread_alive): New function.
750 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
751
66d032ac
YQ
7522014-02-05 Yao Qi <yao@codesourcery.com>
753
754 Revert this patch:
755
756 2013-05-24 Yao Qi <yao@codesourcery.com>
757
758 * tracepoint.c (TFILE_PID): Remove.
759 (tfile_open): Don't add thread and inferior.
760 (tfile_close): Don't set 'inferior_ptid'. Don't call
761 exit_inferior_silent.
762 (tfile_thread_alive): Remove.
763 (init_tfile_ops): Don't set field 'to_thread_alive' of
764 tfile_ops.
765
f4ccffad
CE
7662014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
767
768 * remote.c (remote_start_remote): Call remote_check_symbols even
769 if only symbol-file (not file) has been given.
770
591a12a1
UW
7712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
772
773 * gdbarch.sh (skip_entrypoint): New callback.
774 * gdbarch.c, gdbarch.h: Regenerate.
775 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
776 * infrun.c (fill_in_stop_func): Likewise.
777 * ppc-linux-tdep.c: Include "elf/ppc64.h".
778 (ppc_elfv2_elf_make_msymbol_special): New function.
779 (ppc_elfv2_skip_entrypoint): Likewise.
780 (ppc_linux_init_abi): Install them for ELFv2.
781
cc0e89c5
UW
7822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
783
784 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
785 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
786 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
787 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
788 structures returned in GPRs.
789
52f548e4
UW
7902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
791
792 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
793 offset to the stack parameter list for the ELFv2 ABI.
794
d4094b6a
UW
7952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
796
797 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
798 set_gdbarch_convert_from_func_ptr_addr and
799 set_gdbarch_elf_make_msymbol_special for ELFv1.
800 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
801 function descriptors on ELFv1.
802 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
803 set up r12 at function entry.
804
cd453cd0
UW
8052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
806
807 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
808 (struct gdbarch_tdep): New member elf_abi.
809
810 * rs6000-tdep.c: Include "elf/ppc64.h".
811 (rs6000_gdbarch_init): Detect ELF ABI version.
812
0ff3e01f
UW
8132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
814
815 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
816 within a register pair holding a DFP 128-bit value on little-endian.
817 (ppc64_sysv_abi_return_value_base): Likewise.
818 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
819 (dfp_pseudo_register_write): Likewise.
820
5b757e5d
UW
8212014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
822
823 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
824 offset on little-endian when passing _Decimal32.
825 (ppc64_sysv_abi_return_value_base): Likewise for return values.
826
084ee545
UW
8272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
828
829 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
830 of the overlapped FP register within the VSX register on little-
831 endian platforms.
832 (efpr_pseudo_register_write): Likewise.
833
d63167af
UW
8342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
835
836 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
837 offset on little-endian when passing small structures.
838
e765b44c
UW
8392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
840
841 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
842 (struct ppc64_sysv_argpos): New data structure.
843 (ppc64_sysv_abi_push_float): Remove.
844 (ppc64_sysv_abi_push_val): New function.
845 (ppc64_sysv_abi_push_integer): Likewise.
846 (ppc64_sysv_abi_push_freg): Likewise.
847 (ppc64_sysv_abi_push_vreg): Likewise.
848 (ppc64_sysv_abi_push_param): Likewise.
849 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
850 (ppc64_sysv_abi_return_value_base): New function.
851 (ppc64_sysv_abi_return_value): Refactor to use it.
852
36c24d95
UW
8532014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
854
855 * NEWS: Document new target powerpc64le-*-linux*.
856
26fd9228
MK
8572014-02-04 Mark Kettenis <kettenis@gnu.org>
858
859 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
860 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
861 core dumps.
862 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
863 register set used in ELF core dumps. Add floating-point register set.
864
c5bb7362
KB
8652014-02-03 Kevin Buettner <kevinb@redhat.com>
866
867 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
868 dwarf2_to_gdb[] table using symbolic constants. Adjust
869 penultimate entry from number representing the PC register
870 to symbolic constant representing the MDR register. Add
871 constant for the PC register to the end of the table.
872
af09351e
MK
8732014-02-03 Mark Kettenis <kettenis@gnu.org>
874
875 * bsd-kvm.c: Include <sys/param.h>
876
8507e05d
MK
8772014-02-03 Mark Kettenis <kettenis@gnu.org>
878
879 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
880
ae56bfb8
JB
8812014-01-31 Joel Brobecker <brobecker@adacore.com>
882
883 * ada-lang.h (clear_ada_sym_cache): Delete.
884
718ee4dc
UW
8852014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
886
887 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
888
401e27fd
JM
8892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
890
891 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
892 the sigreturn register save area only if the syscall is
893 sigreturn.
894
a7c88acd
JB
8952014-01-29 Joel Brobecker <brobecker@adacore.com>
896
897 * valops.c (value_slice): Minor reformatting.
898
fa0079ea
UW
8992014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
900
901 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
902
c6044dd1
JB
9032014-01-28 Joel Brobecker <brobecker@adacore.com>
904
905 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
906 New static globals.
907 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
908 (ada_ignore_descriptive_types_p): New static global.
909 (find_parallel_type_by_descriptive_type): Return immediately
910 if ada_ignore_descriptive_types_p is set.
911 (_initialize_ada_language): Register new commands "maintenance
912 set ada", "maintenance show ada", "maintenance set ada
913 ignore-descriptive-types" and "maintenance show ada
914 ignore-descriptive-types".
915 * NEWS: Add entry for new "maint ada set/show
916 ignore-descriptive-types" commands.
917
568e808b
MM
9182014-01-27 Markus Metzger <markus.t.metzger@intel.com>
919
920 * record-btrace.c (record_btrace_close): Call btrace_teardown
921 for all threads.
922
467d141b
JB
9232014-01-27 Joel Brobecker <brobecker@adacore.com>
924
925 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
926 "ui-out.h".
927
fb151210
JB
9282014-01-27 Joel Brobecker <brobecker@adacore.com>
929
930 * ada-typeprint (type_is_full_subrange_of_target_type):
931 New function.
932 (print_range): Add parameter bounds_prefered_p. If not set,
933 try printing range types using the name of their base type.
934 (print_range_type): Add parameter bounds_prefered_p.
935 Use it in call to print_range.
936 (print_array_type, ada_print_type): Update calls to print_range
937 and print_range_type.
938
aba02109
JB
9392014-01-27 Joel Brobecker <brobecker@adacore.com>
940
941 * ada-typeprint.c (print_array_type, print_choices, print_range)
942 (print_range_bound, print_dynamic_range_bound, print_range_type):
943 Remove declaration.
944
e62e21fd
JB
9452014-01-27 Joel Brobecker <brobecker@adacore.com>
946
947 * ada-typeprint.c (print_range): Add missing empty line
948 after local declaration.
949
859cf5d1
JB
9502014-01-27 Joel Brobecker <brobecker@adacore.com>
951
952 * ada-valprint.c (print_optional_low_bound): Get index_type's
953 target type for as long as it is a TYPE_CODE_RANGE.
954
25790f6f
JB
9552014-01-27 Joel Brobecker <brobecker@adacore.com>
956
957 * procfs.c (procfs_make_note_section): Remove assertion and
958 associated comment.
959
6b6aa828
YQ
9602014-01-24 Yao Qi <yao@codesourcery.com>
961
962 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
963 * corelow.c (get_core_siginfo): Likewise.
964
5d6df423
YQ
9652014-01-24 Yao Qi <yao@codesourcery.com>
966
967 * remote.c (remote_write_bytes_aux): Change type of 'len' to
968 ULONGEST. Don't check 'len' is negative.
969 (remote_write_bytes): Change type of 'len' to ULONGEST.
970
83b645b8
TT
9712014-01-23 Tom Tromey <tromey@redhat.com>
972
973 PR python/16485:
974 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
975 Handle exception from frame.block.
976 (FrameVars.fetch_frame_locals): Likewise.
977
0740f8d8
TT
9782014-01-23 Tom Tromey <tromey@redhat.com>
979
980 PR python/16487:
981 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
982 on a NULL pointer. Move "goto error" to correct place.
983
21909fa1
TT
9842014-01-23 Tom Tromey <tromey@redhat.com>
985
986 PR python/16491:
987 * python/py-framefilter.c (apply_frame_filter): Call
988 ensure_python_env after computing gdbarch.
989
17fde6d0
YQ
9902014-01-23 Yao Qi <yao@codesourcery.com>
991
992 * target.c (raw_memory_xfer_partial): Change argument type
993 from void * to gdb_byte *.
994 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
995
87ce2a04
DE
9962014-01-22 Doug Evans <dje@google.com>
997
998 New gdbserver option --debug-format=timestamp.
999 * NEWS: Mention it.
1000
237b092b
AA
10012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1002
1003 * syscalls/s390x-linux.xml: New file.
1004 * syscalls/s390-linux.xml: New file.
1005 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
1006 (XML_SYSCALL_FILENAME_S390X): Likewise.
1007 (op_svc): New enum value for SVC opcode.
1008 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
1009 (s390_linux_get_syscall_number): New function.
1010 (s390_gdbarch_init): Register '*get_syscall_number' and the
1011 syscall xml file name.
1012 * data-directory/Makefile.in (SYSCALLS_FILES): Add
1013 "s390-linux.xml" and "s390x-linux.xml".
1014 * NEWS: Announce new feature.
1015
54bff650
BS
10162014-01-22 Baruch Siach <baruch@tkos.co.il>
1017
1018 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
1019
14e361d7
PA
10202014-01-22 Pedro Alves <palves@redhat.com>
1021
1022 * xtensa-config.c: Include defs.h.
1023
46bbb3ed
JB
10242014-01-22 Joel Brobecker <brobecker@adacore.com>
1025
1026 * common/common-utils.h: Add "ARI:" comment beside __func__
1027 reference.
1028
3a80edfc
JB
10292014-01-22 Joel Brobecker <brobecker@adacore.com>
1030
1031 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
1032 documentation a bit.
1033
4869db5e
RM
10342014-01-21 Roland McGrath <mcgrathr@google.com>
1035
1036 * configure.ac: Call AM_PROG_INSTALL_STRIP.
1037 * configure: Regenerate.
1038 * aclocal.m4: Regenerate.
1039 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
1040 New substituted variables.
1041 (install-strip): New target.
1042 (INSTALL_SCRIPT): New substituted variable.
1043 (FLAGS_TO_PASS): Add it.
1044 (install-only): Use $(INSTALL_SCRIPT) rather than
1045 $(INSTALL_PROGRAM) for gcore.
1046
9ea4267d
TT
10472014-01-20 Tom Tromey <tromey@redhat.com>
1048
1049 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
1050 together.
1051
1f2bdf09
TT
10522014-01-20 Tom Tromey <tromey@redhat.com>
1053
1054 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
1055 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
1056 (deprecated_cmd_warning, complete_on_cmdlist): Update.
1057 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
1058 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
1059 (struct cmd_list_element) <flags>: Remove.
1060 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
1061 doc_allocated>: New fields.
1062 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
1063 bitfields.
1064 * maint.c (maintenance_do_deprecate): Update.
1065 * top.c (execute_command): Update.
1066
e671835b
BS
10672014-01-20 Baruch Siach <baruch@tkos.co.il>
1068
1069 * xtensa-linux-nat.c: Include asm/ptrace.h.
1070
50367cd2
IB
10712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1072
1073 * Makefile.in (SFILES): Add d-support.c.
1074 (COMMON_OBS): Add d-support.o.
1075 * d-lang.h (d_parse_symbol): Add comment, now defined in
1076 d-support.c.
1077 * d-lang.c (parse_call_convention)
1078 (parse_attributes, parse_function_types)
1079 (parse_function_args, parse_type, parse_identifier)
1080 (call_convention_p, d_parse_symbol): Move functions to ...
1081 * d-support.c: ... New file.
1082
ec9f644a
IB
10832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1084
1085 * d-lang.h (d_parse_symbol): Add declaration.
1086 * d-lang.c (extract_identifiers)
1087 (extract_type_info): Remove functions.
1088 (parse_call_convention, parse_attributes)
1089 (parse_function_types, parse_function_args)
1090 (parse_type, parse_identifier, call_convention_p)
1091 (d_parse_symbol): New functions.
1092 (d_demangle): Use d_parse_symbol to demangle D symbols.
1093
94b1b47e
IB
10942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1095
1096 * d-lang.h (struct builtin_d_type): New data type.
1097 (builtin_d_type): Add declaration.
1098 * d-lang.c (d_language_arch_info, build_d_types)
1099 (builtin_d_type): New functions.
1100 (enum d_primitive_types): New data type.
1101 (d_language_defn): Change c_language_arch_info to
1102 d_language_arch_info.
1103 (d_type_data): New static variable.
1104 (_initialize_d_language): Initialize d_type_data.
1105
63778547
IB
11062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1107
1108 * d-lang.h (d_main_name): Add declaration.
1109 * d-lang.c (d_main_name): New function.
1110 * symtab.c (find_main_name): Add call to d_main_name.
1111
3271ba66
IB
11122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1113
1114 * d-lang.c (d_language_defn): Change macro_expansion_c to
1115 macro_expansion_no.
1116
d36b3012
IB
11172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1118
1119 * MAINTAINERS: Add myself as a write-after-approval maintainer.
1120
c90a6fb7
SDJ
11212014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
1122
1123 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
1124 gdb_exception" declaration.
1125 * remote.c (getpkt_or_notif_sane): Likewise.
1126
749234e5
DE
11272014-01-17 Doug Evans <dje@google.com>
1128
1129 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
1130 function, contents of dirnames_to_char_ptr_vec_append moved here.
1131 (delim_string_to_char_ptr_vec): New function.
1132 (dirnames_to_char_ptr_vec_append): Rewrite.
1133 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
1134
df049a58
DE
11352014-01-17 Doug Evans <dje@google.com>
1136
1137 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
1138 and moved here ...
1139 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
1140 #include "common-utils.h".
1141 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
1142 * common/vec.h (VEC_ASSERT_PASS): Update.
1143 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
1144 (MACH_CHECK_ERROR): Update.
1145
69f97648
SM
11462014-01-17 Simon Marchi <simon.marchi@ericsson.com>
1147
1148 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
1149 comments.
1150 * gdbarch.h: Regenerate.
1151
98b1cfdc
TT
11522014-01-16 Tom Tromey <tromey@redhat.com>
1153
1154 * value.c (struct value) <regnum>: Move earlier.
1155
77a19445
TT
11562014-01-16 Tom Tromey <tromey@redhat.com>
1157
1158 * remote.c (extended_remote_create_inferior): Rename from
1159 extended_remote_create_inferior_1. Add "ops" argument. Remove
1160 old implementation.
1161
62261490
PA
11622014-01-16 Pedro Alves <palves@redhat.com>
1163
1164 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
1165 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
1166 the backchain.
1167
4d65956b
DE
11682014-01-16 Doug Evans <dje@google.com>
1169
1170 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
1171
52834460
MM
11722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1173
1174 * btrace.h (btrace_thread_flag): New.
1175 (struct btrace_thread_info) <flags>: New.
1176 * record-btrace.c (record_btrace_resume_thread)
1177 (record_btrace_find_thread_to_move, btrace_step_no_history)
1178 (btrace_step_stopped, record_btrace_start_replaying)
1179 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
1180 (record_btrace_find_resume_thread): New.
1181 (record_btrace_resume, record_btrace_wait): Extend.
1182 (record_btrace_can_execute_reverse): New.
1183 (record_btrace_open): Fail in non-stop mode.
1184 (record_btrace_set_replay): Split into this, ...
1185 (record_btrace_stop_replaying): ... this, ...
1186 (record_btrace_clear_histories): ... and this.
1187 (init_record_btrace_ops): Init to_can_execute_reverse.
1188 * NEWS: Announce it.
1189
118e6252
MM
11902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1191
1192 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
1193 (forward_target_decr_pc_after_break)
1194 (target_decr_pc_after_break): New.
1195 * target.c (forward_target_decr_pc_after_break)
1196 (target_decr_pc_after_break): New.
1197 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
1198 instead of gdbarch_decr_pc_after_break.
1199 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
1200 instead of gdbarch_decr_pc_after_break.
1201 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
1202 instead of gdbarch_decr_pc_after_break.
1203 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
1204 instead of gdbarch_decr_pc_after_break.
1205 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
1206 instead of gdbarch_decr_pc_after_break.
1207 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
1208 instead of gdbarch_decr_pc_after_break.
1209
6e07b1d2
MM
12102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1211
1212 * btrace.c: Include regcache.h.
1213 (btrace_add_pc): New.
1214 (btrace_enable): Call btrace_add_pc.
1215 (btrace_is_empty): New.
1216 * btrace.h (btrace_is_empty): New.
1217 * record-btrace.c (require_btrace, record_btrace_info): Call
1218 btrace_is_empty.
1219
969c39fb
MM
12202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1221
1222 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
1223 Support delta reads.
1224 (linux_disable_btrace): Change return type.
1225 * common/linux-btrace.h (linux_read_btrace): Change parameters
1226 and return type to allow error reporting. Update users.
1227 (linux_disable_btrace): Change return type. Update users.
1228 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
1229 New.
1230 (btrace_error): New.
1231 (btrace_block) <begin>: Comment on BEGIN == 0.
1232 * btrace.c (btrace_compute_ftrace): Start from the end of
1233 the current trace.
1234 (btrace_stitch_trace, btrace_clear_history): New.
1235 (btrace_fetch): Read delta trace, return if replaying.
1236 (btrace_clear): Move clear history code to btrace_clear_history.
1237 (parse_xml_btrace): Throw an error if parsing failed.
1238 * target.h (struct target_ops) <to_read_btrace>: Change parameters
1239 and return type to allow error reporting.
1240 (target_read_btrace): Change parameters and return type to allow
1241 error reporting.
1242 * target.c (target_read_btrace): Update.
1243 * remote.c (remote_read_btrace): Support delta reads. Pass
1244 errors on.
1245 * NEWS: Announce it.
1246
0b722aec
MM
12472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1248
1249 * record.h (record_btrace_frame_unwind)
1250 (record_btrace_tailcall_frame_unwind): New declarations.
1251 * dwarf2-frame: Include record.h
1252 (dwarf2_frame_cfa): Throw an error for btrace frames.
1253 * record-btrace.c: Include hashtab.h.
1254 (btrace_get_bfun_name): New.
1255 (btrace_call_history): Call btrace_get_bfun_name.
1256 (struct btrace_frame_cache): New.
1257 (bfcache): New.
1258 (bfcache_hash, bfcache_eq, bfcache_new): New.
1259 (btrace_get_frame_function): New.
1260 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
1261 (record_btrace_frame_this_id): Compute own id.
1262 (record_btrace_frame_prev_register): Provide PC, throw_error
1263 for all other registers.
1264 (record_btrace_frame_sniffer): Detect btrace frames.
1265 (record_btrace_tailcall_frame_sniffer): New.
1266 (record_btrace_frame_dealloc_cache): New.
1267 (record_btrace_frame_unwind): Add new functions.
1268 (record_btrace_tailcall_frame_unwind): New.
1269 (_initialize_record_btrace): Allocate cache.
1270 * btrace.c (btrace_clear): Call reinit_frame_cache.
1271 * NEWS: Announce it.
1272
066ce621
MM
12732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1274
1275 * record-btrace.c (record_btrace_set_replay)
1276 (record_btrace_goto_begin, record_btrace_goto_end)
1277 (record_btrace_goto): New.
1278 (init_record_btrace_ops): Initialize them.
1279 * NEWS: Announce it.
1280
e2887aa3
MM
12812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1282
1283 * record-btrace.c (record_btrace_find_new_threads)
1284 (record_btrace_thread_alive): New.
1285 (init_record_btrace_ops): Initialize to_find_new_threads and
1286 to_thread_alive.
1287
b2f4cfde
MM
12882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1289
1290 * record-btrace.c (record_btrace_resume): New.
1291 (record_btrace_wait): New.
1292 (init_record_btrace_ops): Initialize to_wait and to_resume.
1293
633785ff
MM
12942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1295
1296 * record-btrace.c (record_btrace_xfer_partial)
1297 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
1298 (record_btrace_allow_memory_access): New.
1299 (init_record_btrace_ops): Initialize new methods.
1300 * target.c (raw_memory_xfer_partial): Bail out if target reports
1301 that this memory is not available.
1302
3db08215
MM
13032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1304
1305 * target.h (target_ops) <to_insert_breakpoint>
1306 <to_remove_breakpoint>: Add target_ops parameter.
1307 (forward_target_insert_breakpoint): New.
1308 (forward_target_remove_breakpoint): New.
1309 (memory_remove_breakpoint, memory_insert_breakpoint):
1310 Add target_ops parameter.
1311 * target.c (target_insert_breakpoint): Split into this and ...
1312 (forward_target_insert_breakpoint): ... this.
1313 (target_remove_breakpoint): Split into this and ...
1314 (forward_target_remove_breakpoint): ... this.
1315 (debug_to_insert_breakpoint): Add target_ops parameter.
1316 Call forward_target_insert_breakpoint.
1317 (debug_to_remove_breakpoint): Add target_ops parameter.
1318 Call forward_target_remove_breakpoint.
1319 (update_current_target): Do not inherit or default to_insert_breakpoint
1320 and to_remove_breakpoint.
1321 * corelow.c (ignore): Add target_ops parameter.
1322 * exec.c (ignore): Add target_ops parameter.
1323 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
1324 Add target_ops parameter.
1325 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
1326 Add target_ops parameter.
1327 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
1328 Add target_ops parameter.
1329 * record-full.c (record_full_beneath_to_insert_breakpoint)
1330 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
1331 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
1332 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
1333 (record_full_core_remove_breakpoint): Add target_ops parameter.
1334 Update users.
1335 (record_full_beneath_to_insert_breakpoint_ops)
1336 (record_full_beneath_to_remove_breakpoint_ops)
1337 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
1338 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
1339 tmp_to_remove_breakpoint_ops,
1340 record_full_beneath_to_insert_breakpoint_ops, and
1341 record_full_beneath_to_remove_breakpoint_ops.
1342 * remote-m32r-sdi.c (m32r_insert_breakpoint)
1343 (m32r_remove_breakpoint): Add target_ops parameter.
1344 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
1345 Add target_ops parameter.
1346 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
1347 Add target_ops parameter.
1348
cecac1ab
MM
13492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1350 Markus Metzger <markus.t.metzger@intel.com>
1351
1352 * record-btrace.c: Include frame-unwind.h.
1353 (record_btrace_frame_unwind_stop_reason)
1354 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
1355 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
1356 New.
1357 (init_record_btrace_ops): Install it.
1358
824344ca
MM
13592014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
1362 get_prev_frame_1.
1363
32261e52
MM
13642014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1365
1366 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
1367 earlier.
1368
ea001bdc
MM
13692014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1370
1371 * frame-unwind.c: Include target.h.
1372 (frame_unwind_try_unwinder): New function with code from ...
1373 (frame_unwind_find_by_frame): ... here. New variable
1374 unwinder_from_target, call also target_get_unwinder)
1375 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
1376 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
1377 * target.h (struct target_ops): New fields to_get_unwinder and
1378 to_get_tailcall_unwinder.
1379 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
1380
1f3ef581
MM
13812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1382
1383 * record-btrace.c (record_btrace_fetch_registers)
1384 (record_btrace_store_registers)
1385 (record_btrace_to_prepare_to_store): New.
1386 (init_record_btrace_ops): Add the above.
1387
f32dbf8c
MM
13882014-01-16 Tom Tromey <tromey@redhat.com>
1389
1390 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
1391 * target.h (struct target_ops) <to_prepare_to_store>: Add
1392 argument.
1393 (target_prepare_to_store): Add argument.
1394 * target.c (debug_to_prepare_to_store): Add argument.
1395 (update_current_target): Update.
1396 * remote.c (remote_prepare_to_store): Add 'self' argument.
1397 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
1398 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
1399 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
1400 * record-full.c (record_full_core_prepare_to_store): Add 'self'
1401 argument.
1402 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
1403 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
1404 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
1405 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
1406 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
1407
07bbe694
MM
14082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1409
1410 * btrace.h (replay) <replay>: New.
1411 (btrace_is_replaying): New.
1412 * btrace.c (btrace_clear): Free replay iterator.
1413 (btrace_is_replaying): New.
1414 * record-btrace.c (record_btrace_is_replaying): New.
1415 (record_btrace_info): Print insn number if replaying.
1416 (record_btrace_insn_history): Start at replay position.
1417 (record_btrace_call_history): Start at replay position.
1418 (init_record_btrace_ops): Init to_record_is_replaying.
1419
0688d04e
MM
14202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1421
1422 * record-btrace.c (record_btrace_insn_history_range): Include
1423 end.
1424 (record_btrace_insn_history_from): Adjust range.
1425 (record_btrace_call_history_range): Include
1426 end.
1427 (record_btrace_call_history_from): Adjust range.
1428 * NEWS: Announce changes.
1429
8710b709
MM
14302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1431
1432 * record.h (enum record_print_flag)
1433 <record_print_indent_calls>: New.
1434 * record.c (get_call_history_modifiers): Recognize /c modifier.
1435 (_initialize_record): Document /c modifier.
1436 * record-btrace.c (btrace_call_history): Add btinfo parameter.
1437 Reorder fields. Optionally indent the function name. Update
1438 all users.
1439 * NEWS: Announce changes.
1440
d0fa7535
MM
14412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1442
1443 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
1444
5de9129b
MM
14452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1446
1447 * btrace.c (ftrace_new_function): Start counting at one.
1448 * record-btrace.c (record_btrace_info): Adjust number of calls
1449 and insns.
1450 * NEWS: Announce it.
1451
7acbe133
MM
14522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1453
1454 * record-btrace.c (btrace_call_history_insn_range): Print
1455 insn range as [begin, end].
1456
23a7fe75
MM
14572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1458
1459 * btrace.h (struct btrace_func_link): New.
1460 (enum btrace_function_flag): New.
1461 (struct btrace_inst): Rename to ...
1462 (struct btrace_insn): ...this. Update all users.
1463 (struct btrace_func) <ibegin, iend>: Remove.
1464 (struct btrace_func_link): New.
1465 (struct btrace_func): Rename to ...
1466 (struct btrace_function): ...this. Update all users.
1467 (struct btrace_function) <segment, flow, up, insn, insn_offset)
1468 (number, level, flags>: New.
1469 (struct btrace_insn_iterator): Rename to ...
1470 (struct btrace_insn_history): ...this.
1471 Update all users.
1472 (struct btrace_insn_iterator, btrace_call_iterator): New.
1473 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
1474 (struct btrace_target_info) <begin, end, level>
1475 <insn_history, call_history>: New.
1476 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1477 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1478 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1479 (btrace_call_number, btrace_call_begin, btrace_call_end)
1480 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1481 (btrace_find_function_by_number, btrace_set_insn_history)
1482 (btrace_set_call_history): New.
1483 * btrace.c (btrace_init_insn_iterator)
1484 (btrace_init_func_iterator, compute_itrace): Remove.
1485 (ftrace_print_function_name, ftrace_print_filename)
1486 (ftrace_skip_file): Change
1487 parameter to const.
1488 (ftrace_init_func): Remove.
1489 (ftrace_debug): Use new btrace_function fields.
1490 (ftrace_function_switched): Also consider gaining and
1491 losing symbol information).
1492 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
1493 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
1494 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
1495 New.
1496 (ftrace_new_function): Move. Remove debug print.
1497 (ftrace_update_lines, ftrace_update_insns): New.
1498 (ftrace_update_function): Check for call, ret, and jump.
1499 (compute_ftrace): Renamed to ...
1500 (btrace_compute_ftrace): ...this. Rewritten to compute call
1501 stack.
1502 (btrace_fetch, btrace_clear): Updated.
1503 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1504 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1505 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1506 (btrace_call_number, btrace_call_begin, btrace_call_end)
1507 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1508 (btrace_find_function_by_number, btrace_set_insn_history)
1509 (btrace_set_call_history): New.
1510 * record-btrace.c (require_btrace): Use new btrace thread
1511 info fields.
1512 (record_btrace_info, btrace_insn_history)
1513 (record_btrace_insn_history, record_btrace_insn_history_range):
1514 Use new btrace thread info fields and new iterator.
1515 (btrace_func_history_src_line): Rename to ...
1516 (btrace_call_history_src_line): ...this. Use new btrace
1517 thread info fields.
1518 (btrace_func_history): Rename to ...
1519 (btrace_call_history): ...this. Use new btrace thread info
1520 fields and new iterator.
1521 (record_btrace_call_history, record_btrace_call_history_range):
1522 Use new btrace thread info fields and new iterator.
1523
8372a7cb
MM
15242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1525
1526 * frame.h (frame_id_build_unavailable_stack_special): New.
1527 * frame.c (frame_id_build_unavailable_stack_special): New.
1528
c2170eef
MM
15292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1530
1531 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
1532 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
1533 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
1534 to gdbarch.
1535 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
1536 (i386_insn_is_jump, i386_jmp_p): New.
1537 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
1538 insn_is_jump to gdbarch.
1539 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
1540 * gdbarch.h: Regenerated.
1541 * gdbarch.c: Regenerated.
1542 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
1543 (default_insn_is_jump): New.
1544 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
1545 (default_insn_is_jump): New.
1546
864089d2
MM
15472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1548
1549 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
1550 Change to ...
1551 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
1552 (btrace_read_type) <btrace_read_new>: Change to ...
1553 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
1554
ed9edfb5
MM
15552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1556
1557 * common/linux-btrace.c (linux_read_btrace): Free trace from
1558 previous iteration.
1559
fbcbc3fd
DE
15602014-01-15 Doug Evans <dje@google.com>
1561
1562 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
1563 uint32_t.
1564
3d548a53
TT
15652014-01-15 Tom Tromey <tromey@redhat.com>
1566
1567 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
1568 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
1569 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
1570 (set_objfile_main_name): New function.
1571 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
1572 language_of_main>: New fields.
1573 (set_objfile_main_name): Declare.
1574 * symtab.c (find_main_name): Loop over objfiles to find the main
1575 name and language.
1576 (set_main_name): Now static.
1577 (get_main_info): Add comment.
1578 * symtab.h (set_main_name): Don't declare.
1579
32ac0d11
TT
15802014-01-15 Tom Tromey <tromey@redhat.com>
1581
1582 * symtab.c (main_progspace_key): New global.
1583 (struct main_info): New.
1584 (name_of_main, language_of_main): Remove.
1585 (get_main_info, main_info_cleanup): New function.
1586 (set_main_name, main_name, main_language): Use get_main_info.
1587 (_initialize_symtab): Initialize main_progspace_key.
1588
9e6c82ad
TT
15892014-01-15 Tom Tromey <tromey@redhat.com>
1590
1591 * dbxread.c (process_one_symbol): Update.
1592 * dwarf2read.c (read_partial_die): Update.
1593 * symfile.c (set_initial_language): Call main_language.
1594 * symtab.c (language_of_main): Now static.
1595 (set_main_name): Add 'lang' parameter.
1596 (find_main_name): Update.
1597 (main_language): New function.
1598 (symtab_observer_executable_changed): Update.
1599 * symtab.h (set_main_name): Update.
1600 (language_of_main): Remove.
1601 (main_language): Declare.
1602
6ef55de7
TT
16032014-01-15 Tom Tromey <tromey@redhat.com>
1604
1605 * symfile.c (init_entry_point_info): Use new "initialized" field.
1606 Update.
1607 * objfiles.h (struct entry_point) <initialized>: New field.
1608 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
1609 (struct objfile) <ei>: ...here. Remove.
1610 * objfiles.c (entry_point_address_query): Update.
1611
53eddfa6
TT
16122014-01-15 Tom Tromey <tromey@redhat.com>
1613
1614 * objfiles.c (entry_point_address_query): Relocate entry point
1615 address.
1616 (objfile_relocate1): Do not relocate entry point address.
1617 * objfiles.h (struct entry_info) <entry_point>: Update comment.
1618 <the_bfd_section_index>: New field.
1619 * symfile.c (init_entry_point_info): Find the entry point's
1620 section.
1621
d56e56aa
TT
16222014-01-15 Tom Tromey <tromey@redhat.com>
1623
1624 * solib-frv.c (enable_break): Use entry_point_address_query.
1625
33a97bbe
OJ
16262014-01-15 Omair Javaid <omair.javaid@linaro.org>
1627
1628 * NEWS: Add note on improved process record-replay on
1629 arm*-linux* targets.
1630
c6ec2b30
OJ
16312014-01-15 Omair Javaid <omair.javaid@linaro.org>
1632
1633 * arm-tdep.c (enum arm_record_result): New enum.
1634 (arm_record_unsupported_insn): New function.
1635 (arm_record_coproc_data_proc): Removed.
1636 (thumb2_record_ld_st_multiple): New function.
1637 (thumb2_record_ld_st_dual_ex_tbb): New function.
1638 (thumb2_record_data_proc_sreg_mimm): New function.
1639 (thumb2_record_ps_dest_generic): New function.
1640 (thumb2_record_branch_misc_cntrl): New function.
1641 (thumb2_record_str_single_data): New function.
1642 (thumb2_record_ld_mem_hints): New function.
1643 (thumb2_record_ld_word): New function.
1644 (thumb2_record_lmul_lmla_div): New function.
1645 (thumb2_record_decode_insn_handler): New function.
1646 (decode_insn): Add thumb32 instruction handlers.
1647
97dfe206
OJ
16482014-01-15 Omair Javaid <omair.javaid@linaro.org>
1649
1650 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
1651 (struct arm_linux_record_tdep): Declare.
1652 (arm_canonicalize_syscall): New function.
1653 (arm_all_but_pc_registers_record): New function.
1654 (arm_linux_syscall_record): New function.
1655 (arm_linux_init_abi): Add syscall recording constructs.
1656 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
1657 decoding. (arm_record_coproc_data_proc): Update arm syscall
1658 decoding.
1659 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
1660 <arm_syscall_record>: New field.
1661 * configure.tgt (arm*-*-linux*): Add linux-record.o to
1662 gdb_target_obs.
1663
9904a494
OJ
16642014-01-15 Omair Javaid <omair.javaid@linaro.org>
1665
1666 * arm-tdep.c (thumb_record_misc): Update to use sp as base
1667 register for push instruction recording.
1668
f969241e
OJ
16692014-01-15 Omair Javaid <omair.javaid@linaro.org>
1670
1671 * arm-tdep.c (thumb_record_misc): Update to correct logical
1672 error while recording ldm, ldmia and pop instructions.
1673
bfbbec00
OJ
16742014-01-15 Omair Javaid <omair.javaid@linaro.org>
1675
1676 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
1677
e40adcc9
PA
16782014-01-15 Pedro Alves <palves@redhat.com>
1679
1680 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
1681 (go32_resume, go32_fetch_registers, store_register)
1682 (go32_store_registers, go32_prepare_to_store)
1683 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
1684 (go32_create_inferior, go32_can_run, go32_terminal_init)
1685 (go32_terminal_inferior, go32_terminal_ours): Delete forward
1686 declarations.
1687
b0a16e66
TT
16882014-01-15 Tom Tromey <tromey@redhat.com>
1689
1690 * target.h (async_callback_ftype): New typedef.
1691 (struct target_ops) <to_async>: Use it.
1692
bf7105a4
JB
16932014-01-15 Joel Brobecker <brobecker@adacore.com>
1694
1695 * python/py-value.c (get_field_type): Remove unnecessary curly
1696 braces for single-statement if block.
1697
a8f35c2e
JB
16982014-01-15 Joel Brobecker <brobecker@adacore.com>
1699
1700 * python/py-type.c (convert_field): Add missing empty line
1701 after declarations.
1702
bb4142cf
DE
17032014-01-14 Doug Evans <dje@google.com>
1704
1705 * symfile.h (expand_symtabs_matching): Renamed from
1706 expand_partial_symbol_names. Update prototype.
1707 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1708 * symfile.c (expand_symtabs_matching): Renamed from
1709 expand_partial_symbol_names. New args file_matcher, kind.
1710 Rename arg fun to symbol_matcher.
1711 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1712 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
1713 ada_expand_partial_symbol_name.
1714 (ada_make_symbol_completion_list): Update to call
1715 expand_symtabs_matching.
1716 (ada_add_global_exceptions): Call expand_symtabs_matching.
1717 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
1718 call map_symbol_filenames.
1719 * symtab.c (sources_info): Update to call map_symbol_filenames.
1720 (search_symbols): Call expand_symtabs_matching.
1721 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
1722 (default_make_symbol_completion_list_break_on): Update to call
1723 expand_symtabs_matching.
1724 (make_source_files_completion_list): Update to call
1725 map_symbol_filenames.
1726
206f2a57
DE
17272014-01-14 Doug Evans <dje@google.com>
1728
1729 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
1730 (expand_symtabs_symbol_matcher_ftype): New typedef.
1731 (quick_symbol_functions.expand_symtabs_matching): Update to use.
1732 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1733 * symfile.c (expand_partial_symbol_names): Update to use
1734 expand_symtabs_symbol_matcher_ftype.
1735 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
1736 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1737 Arg name_matcher renamed to symbol_matcher.
1738 * psymtab.c (recursively_search_psymtabs): Update to use
1739 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
1740 sym_matcher.
1741 (expand_symtabs_matching_via_partial): Update to use
1742 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1743 Arg name_matcher renamed to symbol_matcher.
1744
540c2971
DE
17452014-01-14 Doug Evans <dje@google.com>
1746
1747 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
1748 (map_partial_symbol_filenames): Ditto.
1749 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
1750 (map_partial_symbol_filenames): Ditto.
1751 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
1752 (map_partial_symbol_filenames): Ditto.
1753 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
1754 (map_partial_symbol_filenames): Ditto.
1755 * symtab.c: Delete #include "psymtab.h".
1756
8213266a
PA
17572014-01-14 Pedro Alves <palves@redhat.com>
1758 Tom Tromey <tromey@redhat.com>
1759
1760 * infrun.c (use_displaced_stepping): Use find_record_target
1761 instead of RECORD_IS_USED.
1762 (adjust_pc_after_break): Use record_full_is_used instead of
1763 RECORD_IS_USED.
1764 * record-btrace.c (record_btrace_open): Call record_preopen
1765 instead of checking RECORD_IS_USED.
1766 * record-full.c (record_full_shortname)
1767 (record_full_core_shortname): New globals.
1768 (record_full_is_used): New function.
1769 (find_full_open): Call record_preopen instead of checking
1770 RECORD_IS_USED.
1771 (init_record_full_ops): Set the target's shortname to
1772 record_full_shortname.
1773 (init_record_full_core_ops): Set the target's shortname to
1774 record_full_core_shortname.
1775 * record-full.h (record_full_is_used): Declare.
1776 * record.c (find_record_target): Make extern.
1777 (record_preopen): New function.
1778 * record.h (RECORD_IS_USED): Delete macro.
1779 (find_record_target, record_preopen): Declare functions.
1780
7ec1862d
YQ
17812014-01-14 Yao Qi <yao@codesourcery.com>
1782
1783 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1784 'len''s type to ULONGEST.
1785 (core_xfer_shared_libraries_aix): Likewise.
1786 * gdbarch.c, gdbarch.h: Regenerated.
1787 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1788 Change type of 'len' to ULONGEST.
1789 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1790 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1791
dea80a27
YQ
17922014-01-14 Yao Qi <yao@codesourcery.com>
1793
1794 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1795 type of 'len' to ULONGEST.
1796 (linux_xfer_osdata_processgroups): Likewise.
1797 (linux_xfer_osdata_threads): Likewise.
1798 (linux_xfer_osdata_fds): Likewise.
1799 (linux_xfer_osdata_isockets): Likewise.
1800 (linux_xfer_osdata_shm): Likewise.
1801 (linux_xfer_osdata_sem): Likewise.
1802 (linux_xfer_osdata_msg): Likewise.
1803 (linux_common_xfer_osdata): Likewise.
1804 (struct osdata_type) <getter>: Likewise.
1805 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1806 the declaration.
1807
b55e14c7
YQ
18082014-01-14 Yao Qi <yao@codesourcery.com>
1809
1810 * target.h (target_xfer_partial_ftype): Update.
1811 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1812 ULONGEST.
1813 * aix-thread.c (aix_thread_xfer_partial): Change type of
1814 argument 'len' to ULONGEST.
1815 * auxv.c (procfs_xfer_auxv): Likewise.
1816 (ld_so_xfer_auxv): Likewise.
1817 (memory_xfer_auxv): Likewise.
1818 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1819 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1820 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1821 * corelow.c (core_xfer_partial): Likewise.
1822 * ctf.c (ctf_xfer_partial): Likewise.
1823 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1824 '%u'.
1825 (darwin_read_dyld_info): Likewise.
1826 (darwin_xfer_partial): Likewise.
1827 * exec.c (section_table_xfer_memory_partial): Likewise.
1828 (exec_xfer_partial): Likewise.
1829 * exec.h (section_table_xfer_memory_partial): Update
1830 declaration.
1831 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1832 instead of plongest.
1833 (gnu_xfer_partial): Likewise.
1834 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1835 (ia64_hpux_xfer_solib_got): Likewise.
1836 (ia64_hpux_xfer_partial): Likewise.
1837 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1838 * inf-ptrace.c (inf_ptrace_xfer_partial):
1839 * inf-ttrace.c (inf_ttrace_xfer_partial):
1840 * linux-nat.c (linux_xfer_siginfo): Likewise.
1841 (linux_nat_xfer_partial): Likewise.
1842 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1843 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1844 * monitor.c (monitor_xfer_memory): Likewise.
1845 (monitor_xfer_partial): Likewise.
1846 * procfs.c (procfs_xfer_partial): Likewise.
1847 * record-full.c (record_full_xfer_partial): Likewise.
1848 (record_full_core_xfer_partial): Likewise.
1849 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1850 instead of plongest.
1851 (gdbsim_xfer_partial): Likewise.
1852 * remote.c (remote_xfer_partial): Likewise.
1853 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1854 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1855 declaration.
1856 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1857 (rs6000_xfer_shared_libraries): Likewise.
1858 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1859 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1860 (sparc_xfer_partial): Likewise.
1861 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1862 (spu_xfer_partial): Likewise.
1863 * spu-multiarch.c (spu_xfer_partial): Likewise.
1864 * target.c (target_read_live_memory): Likewise.
1865 (memory_xfer_live_readonly_partial): Likewise.
1866 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1867 (target_xfer_partial, default_xfer_partial): Likewise.
1868 (current_xfer_partial): Likewise.
1869 * tracepoint.c (tfile_xfer_partial): Likewise.
1870 * windows-nat.c (windows_xfer_memory): Likewise. Call
1871 pulongest instead of plongest.
1872 (windows_xfer_partial): Likewise.
1873 (windows_xfer_shared_libraries): Likewise.
1874
05804640
YQ
18752014-01-14 Yao Qi <yao@codesourcery.com>
1876
1877 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1878 target_xfer_partial_ftype.
1879
b5b08fb4
SC
18802014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1881
1882 PR python/15464
1883 PR python/16113
1884 * valops.c (value_struct_elt_bitpos): New function
1885 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1886 object to 'None' if the field name is an empty string ("").
1887 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1888 attribute to look for a field when 'name' is 'None'.
1889 (get_field_type): New function
1890
13aaf454
DE
18912014-01-13 Doug Evans <dje@google.com>
1892
1893 PR symtab/16426
1894 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1895 (try_open_dwop_file): Ditto.
1896 * gdb_bfd.c: #include "vec.h".
1897 (bfdp): New typedef.
1898 (struct gdb_bfd_data): New member included_bfds.
1899 (gdb_bfd_unref): Unref all included bfds.
1900 (gdb_bfd_record_inclusion): New function.
1901 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1902
c2cec97c
TT
19032014-01-13 Tom Tromey <tromey@redhat.com>
1904
1905 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1906
78e5999d
TT
19072014-01-13 Tom Tromey <tromey@redhat.com>
1908
1909 * defs.h (use_windows): Remove.
1910 * gdb.c (main): Update.
1911 * main.c (captured_main, gdb_main): Update.
1912 * main.h (struct captured_main_args) <use_windows>: Remove.
1913 * top.c (use_windows): Remove.
1914
f2052bbe
TT
19152014-01-13 Tom Tromey <tromey@redhat.com>
1916
1917 * defs.h (deprecated_flush_hook): Remove.
1918
fde4f8ed
JK
19192014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1920
1921 PR threads/16216
1922 * linux-thread-db.c (try_thread_db_load): Add parameter
1923 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1924 (try_thread_db_load_from_pdir_1): Move it there from here.
1925 (try_thread_db_load_from_sdir): Update caller.
1926 (try_thread_db_load_from_dir): Move it there from here.
1927
bdf61915
PP
19282014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1929
1930 * regformats/regdat.sh: Always rewrite the register file.
1931
f71e1a8d
PA
19322014-01-13 Pedro Alves <palves@redhat.com>
1933
1934 * Makefile.in (CHECK_HEADERS): New variable.
1935 (check-headers:): New rule.
1936
42c85435
TT
19372014-01-13 Tom Tromey <tromey@redhat.com>
1938
1939 * cli/cli-setshow.c (do_set_command): Update.
1940 * defs.h (deprecated_set_hook): Remove.
1941 * top.c (deprecated_set_hook): Remove.
1942
f8de5129
PA
19432014-01-13 Pedro Alves <palves@redhat.com>
1944
1945 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1946 the tracepoint if the PC is a pseudo-register.
1947
fc270c35
TT
19482014-01-13 Tom Tromey <tromey@redhat.com>
1949
1950 * defs.h (XCALLOC): Remove.
1951 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1952 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1953 * dwarf2loc.c (allocate_piece_closure): Likewise.
1954 * elfread.c (elf_symfile_segments): Likewise.
1955 (elf_symfile_segments): Likewise.
1956 * gdbtypes.c (copy_type_recursive): Likewise.
1957 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1958 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1959 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1960 XCALLOC.
1961 * mt-tdep.c (mt_gdbarch_init): Likewise.
1962 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1963 XCALLOC.
1964 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1965 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1966 * registry.c (registry_alloc_data): Likewise.
1967 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1968 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1969 * serial.c (serial_fdopen_ops): Likewise.
1970 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1971 XCALLOC.
1972 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1973 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1974 not XCALLOC.
1975
70ba0933
TT
19762014-01-13 Tom Tromey <tromey@redhat.com>
1977
1978 * defs.h (XMALLOC): Remove.
1979 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1980 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1981 * cli-out.c (struct ui_out *): Likewise.
1982 * cli/cli-dump.c (add_dump_command): Likewise.
1983 (add_dump_command): Likewise.
1984 * complaints.c (get_complaints): Likewise.
1985 (find_complaint): Likewise.
1986 * dwarf2-frame.c (execute_cfa_program): Likewise.
1987 * dwarf2read.c (abbrev_table_read_table): Likewise.
1988 * gdbarch.sh: Likewise.
1989 * gdbarch.c: Rebuild.
1990 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1991 * interps.c (interp_new): Likewise.
1992 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1993 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1994 * mi/mi-console.c (mi_console_file_new): Likewise.
1995 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1996 * mi/mi-out.c (mi_out_new): Likewise.
1997 * mi/mi-parse.c (mi_parse): Likewise.
1998 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1999 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
2000 * observer.c (xalloc_observer_list_node): Likewise.
2001 * regcache.c (regcache_xmalloc_1): Likewise.
2002 * reggroups.c (reggroup_new): Likewise.
2003 (_initialize_reggroup): Likewise.
2004 * registry.c (register_data_with_cleanup): Likewise.
2005 * remote.c (remote_notif_stop_alloc_reply): Likewise.
2006 * ser-base.c (serial_ttystate): Likewise.
2007 * ser-mingw.c (make_pipe_state): Likewise.
2008 * ser-pipe.c (pipe_open): Likewise.
2009 * serial.c (serial_open): Likewise.
2010 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
2011 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
2012 (tui_alloc_win_info): Likewise.
2013 (tui_add_content_elements): Likewise.
2014 * tui/tui-file.c (tui_file_new): Likewise.
2015 * tui/tui-out.c (tui_out_new): Likewise.
2016 * ui-file.c (mem_file_new): Likewise.
2017 * ui-out.c (push_level): Likewise.
2018 (make_cleanup_ui_out_end): Likewise.
2019 (append_header_to_list): Likewise.
2020 (ui_out_new): Likewise.
2021 * user-regs.c (user_reg_add_builtin): Likewise.
2022
41bf6aca
TT
20232014-01-13 Tom Tromey <tromey@redhat.com>
2024
2025 * defs.h (XZALLOC): Remove.
2026 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
2027 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
2028 (get_ada_tasks_inferior_data): Likewise.
2029 * auto-load.c (get_auto_load_pspace_data): Likewise.
2030 * auxv.c (get_auxv_inferior_data): Likewise.
2031 * bfd-target.c (target_bfd_reopen): Likewise.
2032 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
2033 (deprecated_insert_raw_breakpoint): Likewise.
2034 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
2035 * corelow.c (core_open): Likewise.
2036 * darwin-nat.c (darwin_check_new_threads): Likewise.
2037 (darwin_attach_pid): Likewise.
2038 * dummy-frame.c (dummy_frame_push): Likewise.
2039 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
2040 * dwarf2loc.c (allocate_piece_closure): Likewise.
2041 * elfread.c (elf_symfile_segments): Likewise.
2042 * eval.c (ptrmath_type_p): Likewise.
2043 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
2044 * gdbtypes.c (alloc_type_arch): Likewise.
2045 (alloc_type_instance): Likewise.
2046 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
2047 * inf-child.c (inf_child_can_use_agent): Likewise.
2048 * inflow.c (get_inflow_inferior_data): Likewise.
2049 * infrun.c (save_infcall_suspend_state): Likewise.
2050 * jit.c (jit_reader_load): Likewise.
2051 (get_jit_objfile_data): Likewise.
2052 (get_jit_program_space_data): Likewise.
2053 (jit_object_open_impl): Likewise.
2054 (jit_symtab_open_impl): Likewise.
2055 (jit_block_open_impl): Likewise.
2056 (jit_frame_sniffer): Likewise.
2057 * linux-fork.c (add_fork): Likewise.
2058 * maint.c (make_command_stats_cleanup): Likewise.
2059 * objfiles.c (get_objfile_pspace_data): Likewise.
2060 * opencl-lang.c (struct lval_closure): Likewise.
2061 * osdata.c (osdata_start_osdata): Likewise.
2062 * progspace.c (new_address_space): Likewise.
2063 (add_program_space): Likewise.
2064 * remote-sim.c (get_sim_inferior_data): Likewise.
2065 * sh-tdep.c (sh_gdbarch_init): Likewise.
2066 * skip.c (Ignore): Likewise.
2067 (skip_delete_command): Likewise.
2068 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
2069 (library_list_start_library): Likewise.
2070 (solib_aix_current_sos): Likewise.
2071 * solib-darwin.c (get_darwin_info): Likewise.
2072 (darwin_current_sos): Likewise.
2073 * solib-dsbt.c (get_dsbt_info): Likewise.
2074 * solib-ia64-hpux.c (new_so_list): Likewise.
2075 (ia64_hpux_get_solib_linkage_addr): Likewise.
2076 * solib-spu.c (append_ocl_sos): Likewise.
2077 (spu_current_sos): Likewise.
2078 * solib-svr4.c (get_svr4_info): Likewise.
2079 (svr4_keep_data_in_core): Likewise.
2080 (library_list_start_library): Likewise.
2081 (svr4_default_sos): Likewise.
2082 (svr4_read_so_list): Likewise.
2083 * solib-target.c (library_list_start_library): Likewise.
2084 (solib_target_current_sos): Likewise.
2085 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
2086 * symfile-debug.c (install_symfile_debug_logging): Likewise.
2087 * symfile.c (default_symfile_segments): Likewise.
2088 * target-descriptions.c (tdesc_data_init): Likewise.
2089 (tdesc_create_reg): Likewise.
2090 (struct tdesc_type *): Likewise.
2091 (tdesc_create_vector): Likewise.
2092 (tdesc_set_struct_size): Likewise.
2093 (struct tdesc_type *): Likewise.
2094 (tdesc_free_feature): Likewise.
2095 (tdesc_create_feature): Likewise.
2096 * windows-nat.c (windows_add_thread): Likewise.
2097 (windows_make_so): Likewise.
2098 * xml-support.c (gdb_xml_body_text): Likewise.
2099 (gdb_xml_create_parser_and_cleanup): Likewise.
2100 (xml_process_xincludes): Likewise.
2101 * xml-syscall.c (allocate_syscalls_info): Likewise.
2102 (syscall_create_syscall_desc): Likewise.
2103
5acfdbae
SDJ
21042014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
2105
2106 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
2107 function, with code from i386_stap_parse_special_token.
2108 (i386_stap_parse_special_token_three_arg_disp): Likewise.
2109 (i386_stap_parse_special_token): Move code to the two functions
2110 above; simplify it.
2111
0000e5cc
PA
21122014-01-09 Pedro Alves <palves@redhat.com>
2113 Hui Zhu <hui@codesourcery.com>
2114
2115 PR gdb/16101
2116 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
2117 bp_err_string. Don't mark the location shlib_disabled if the
2118 error thrown wasn't a generic or memory error. Catch errors
2119 thrown while inserting breakpoints in overlayed code. Output
2120 error message of software breakpoints.
2121 * remote.c (remote_insert_breakpoint): If this breakpoint has
2122 target-side commands but this stub doesn't support Z0 packets,
2123 throw NOT_SUPPORTED_ERROR error.
2124 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
2125 * target.h (target_insert_breakpoint): Extend comment.
2126 (target_insert_hw_breakpoint): Add comment.
2127
b7ea362b
PA
21282014-01-08 Pedro Alves <palves@redhat.com>
2129
2130 * remote.c (remote_add_thread): Add threads silently if starting
2131 up.
2132 (remote_notice_new_inferior): If in all-stop, and starting up,
2133 don't call notice_new_inferior.
2134 (get_current_thread): New function, factored out from ...
2135 (add_current_inferior_and_thread): ... this. Adjust.
2136 (remote_start_remote) <all-stop>: Fetch the thread list. If we
2137 found any thread, then select the remote's current thread as GDB's
2138 current thread too.
2139
b7bba001
JB
21402014-01-08 Joel Brobecker <brobecker@adacore.com>
2141
2142 * NEWS: Create a new section for the next release branch.
2143 Rename the section of the current branch, now that it has
2144 been cut.
2145
16dfbded
JB
21462014-01-08 Joel Brobecker <brobecker@adacore.com>
2147
2148 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
2149 * version.in: Bump version to 7.7.50.DATE-cvs.
2150
22c90ac1
YQ
21512014-01-08 Yao Qi <yao@codesourcery.com>
2152
2153 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
2154 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
2155 (spu_xfer_partial): Cast 'buf' to 'const char *'.
2156
d64ad97c
YQ
21572014-01-08 Yao Qi <yao@codesourcery.com>
2158
2159 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
2160 return value of bfd_get_filename to symbol_file_add_from_bfd.
2161
f93ba80c
PM
21622014-01-08 Pierre Muller <muller@sourceware.org>
2163
2164 Fix PR16201.
2165 * coff-pe-read.c (struct read_pe_section_data): Add index field.
2166 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
2167 to prim_record_mininal_symbol_and_info.
2168 (add_pe_forwarded_sym): Use known section number of forwarded symbol
2169 in call to prim_record_minimal_symbol_and_info.
2170 (read_pe_exported_syms): Set index field of section_data.
2171
a4d9ba85
AP
21722014-01-07 Andrew Pinski <apinski@cavium.com>
2173
2174 * features/aarch64-core.xml (cpsr): Change to be 64bit.
2175 * features/aarch64.c: Regenerate.
2176
1b67eb02
AS
21772014-01-07 Andreas Schwab <schwab@linux-m68k.org>
2178
2179 * target.c (return_null): Define.
2180 (update_current_target): Use it instead of return_zero for
2181 functions that return a pointer.
2182
5e3f4fab
EBM
21832014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2184
2185 * source.c (add_path): Fix check for duplicated paths in the previously
2186 included paths.
2187
e2616788
HK
21882014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
2189
2190 * ada-lang.c: Remove duplicated include statements.
2191 * alphabsd-nat.c: Ditto.
2192 * amd64-darwin-tdep.c: Ditto.
2193 * amd64fbsd-nat.c: Ditto.
2194 * auto-load.c: Ditto.
2195 * ax-gdb.c: Ditto.
2196 * breakpoint.c: Ditto.
2197 * dbxread.c: Ditto.
2198 * fork-child.c: Ditto.
2199 * gdb_usleep.c: Ditto.
2200 * i386-darwin-tdep.c: Ditto.
2201 * i386fbsd-nat.c: Ditto.
2202 * infcmd.c: Ditto.
2203 * inferior.c: Ditto.
2204 * jv-lang.c: Ditto.
2205 * linux-nat.c: Ditto.
2206 * linux-tdep.c: Ditto.
2207 * m68kbsd-nat.c: Ditto.
2208 * m68klinux-nat.c: Ditto.
2209 * microblaze-tdep.c: Ditto.
2210 * mips-linux-tdep.c: Ditto.
2211 * mn10300-tdep.c: Ditto.
2212 * nto-tdep.c: Ditto.
2213 * opencl-lang.c: Ditto.
2214 * osdata.c: Ditto.
2215 * printcmd.c: Ditto.
2216 * regcache.c: Ditto.
2217 * remote-m32r-sdi.c: Ditto.
2218 * remote.c: Ditto.
2219 * symfile.c: Ditto.
2220 * symtab.c: Ditto.
2221 * tilegx-linux-nat.c: Ditto.
2222 * tilegx-tdep.c: Ditto.
2223 * tracepoint.c: Ditto.
2224 * valops.c: Ditto.
2225 * vaxbsd-nat.c: Ditto.
2226 * windows-nat.c: Ditto.
2227 * xtensa-tdep.c: Ditto.
2228
bd1f7788
YQ
22292014-01-07 Yao Qi <yao@codesourcery.com>
2230
2231 * spu-linux-nat.c (_initialize_spu_nat): Declare.
2232
79301218
JB
22332014-01-07 Yao Qi <yao@codesourcery.com>
2234 Joel Brobecker <brobecker@adacore.com>
2235
2236 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
2237 (pdc_write_regs): Likewise.
2238 (fetch_regs_kernel_thread): Likewise.
2239 (store_regs_kernel_thread): Likewise.
2240
22412014-01-07 Joel Brobecker <brobecker@adacore.com>
2242
2243 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
2244 tagged type objects to their actual type.
2245
8e355c5d
JB
22462014-01-07 Joel Brobecker <brobecker@adacore.com>
2247
2248 * ada-valprint.c (print_field_values): Add "language" parameter.
2249 Update calls to print_field_values and print_variant_part.
2250 Pass new parameter "language" in call to val_print instead
2251 of "current_language". Replace call to ada_val_print by call
2252 to val_print.
2253 (print_variant_part): Add "language" parameter.
2254 (ada_val_print_struct_union): Update call to print_field_values.
2255
4fbf5aa5
JB
22562014-01-07 Joel Brobecker <brobecker@adacore.com>
2257
2258 * ada-valprint.c (ui_memcpy): Delete.
2259 (ada_print_floating): Update documentation. Add empty line
2260 between between function documentation and implementation.
2261 Delete variable "buffer". Use ui_file_xstrdup in place of
2262 ui_file_put. Minor adjustments following this change.
2263
71855601
JB
22642014-01-07 Joel Brobecker <brobecker@adacore.com>
2265
2266 * ada-valprint.c (ada_val_print_string): New function,
2267 extracted from ada_val_print_array.
2268 (ada_val_print_array): Replace extracted code by call
2269 to ada_val_print_string followed by a return. Move
2270 "else" branch to the function's top block.
2271
4eb27a30
JB
22722014-01-07 Joel Brobecker <brobecker@adacore.com>
2273
2274 * ada-valprint.c (ada_val_print_array): Move implementation
2275 down. Rename parameter "offset" and "val" into "offset_aligned"
2276 and "original_value" respectively. Add parameter "offset".
2277
34b27950
JB
22782014-01-07 Joel Brobecker <brobecker@adacore.com>
2279
2280 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
2281 re-organizing the code. Change the "???" message printed
2282 when target type is a TYPE_CODE_UNDEF into
2283 "<ref to undefined type>".
2284
079e4591
JB
22852014-01-07 Joel Brobecker <brobecker@adacore.com>
2286
2287 * ada-valprint.c (print_record): Delete, implementation inlined...
2288 (ada_val_print_struct_union): ... here. Remove call to
2289 ada_check_typedef in inlined implementation.
2290
8004dfd1
JB
22912014-01-07 Joel Brobecker <brobecker@adacore.com>
2292
2293 * ada-valprint.c (ada_val_print_gnat_array): New function,
2294 extracted from ada_val_print_1;
2295 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
2296 (ada_val_print_flt, ada_val_print_struct_union)
2297 (ada_val_print_ref): Likewise.
2298 (ada_val_print_1): Delete variables i and elttype.
2299 Replace extracted-out code by call to corresponding
2300 new functions.
2301
760a2db0
JB
23022014-01-07 Joel Brobecker <brobecker@adacore.com>
2303
2304 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
2305
3a92c861
JB
23062014-01-07 Joel Brobecker <brobecker@adacore.com>
2307
2308 * ada-valprint.c (ada_val_print_1): Replace calls to
2309 ada_val_print_1 by calls to val_print.
2310
cd1630f9
JB
23112014-01-07 Joel Brobecker <brobecker@adacore.com>
2312
2313 * ada-valprint.c (ada_val_print_1): Add parameter "language".
2314 Update calls to self accordingly. Replace calls to c_val_print
2315 by calls to val_print.
2316
bdf779a0
JB
23172014-01-07 Joel Brobecker <brobecker@adacore.com>
2318
2319 * ada-valprint.c (print_record): Delete declaration.
2320 (adjust_type_signedness, ada_val_print_1): Likewise.
2321 (ada_val_print): Move function implementation down.
2322 (print_variant_part, print_field_values, print_record):
2323 Move function implementation up.
2324
c0d48811
JB
23252014-01-07 Joel Brobecker <brobecker@adacore.com>
2326
2327 * python/py-type.c (typy_get_name): New function.
2328 (type_object_getset): Add entry for attribute "name".
2329 * NEWS: Add entry mentioning this new attribute.
2330
c26e9cbb
YQ
23312014-01-07 Yao Qi <yao@codesourcery.com>
2332
2333 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
2334 statement.
2335
0cc6f43d
YQ
23362014-01-07 Yao Qi <yao@codesourcery.com>
2337
2338 * gnu-nat.c (info_port_rights): Add qualifier const to
2339 argument args.
2340
eec03155
YQ
23412014-01-07 Yao Qi <yao@codesourcery.com>
2342
2343 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
2344
f04a82ef
YQ
23452014-01-07 Yao Qi <yao@codesourcery.com>
2346
2347 * gnu-nat.c (make_inf) Update declaration.
2348 (make_inf): Make it static.
2349 (inf_set_traced): Likewise.
2350 (inf_port_to_thread, inf_task_died_status): Likewise.
2351
d57dda0a
YQ
23522014-01-07 Yao Qi <yao@codesourcery.com>
2353
2354 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
2355
3aa8c969
YQ
23562014-01-07 Yao Qi <yao@codesourcery.com>
2357
2358 * gnu-nat.c (_initialize_gnu_nat): Declare.
2359
94123b4f
YQ
23602014-01-07 Yao Qi <yao@codesourcery.com>
2361
2362 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
2363 'enum bfd_endian'.
2364 (struct gdbarch_info) <byte_order>: Change type to
2365 'enum bfd_endian'.
2366 <byte_order_for_code>: Likewise.
2367 * gdbarch.c, gdbarch.h: Regenerated.
2368
dc81d70a
TT
23692014-01-06 Sasha Smundak <asmundak@google.com>
2370
2371 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
2372
cc2f3c35
TT
23732014-01-06 Tom Tromey <tromey@redhat.com>
2374
2375 * doublest.c (convert_doublest_to_floatformat): Use const, not
2376 CONST.
2377 * somread.c (som_symtab_read): Likewise.
2378
adcf2eed
HZ
23792014-01-07 Hui Zhu <hui@codesourcery.com>
2380
2381 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
2382 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
2383 (gdb_bfd_fopen): Ditto.
2384 (gdb_bfd_openr): Ditto.
2385 (gdb_bfd_openw): Ditto.
2386 (gdb_bfd_openr_iovec): Ditto.
2387 (gdb_bfd_fdopenr): Ditto.
2388 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
2389 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
2390 with xstrdup.
2391 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
2392 with xstrdup.
2393 * symfile-mem.c (symbol_file_add_from_memory): Removed
2394 gdb_bfd_stash_filename.
2395
50722198
DE
23962014-01-03 Doug Evans <dje@google.com>
2397
2398 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
2399 output.
2400
2fa4b862
JB
24012014-01-01 Joel Brobecker <brobecker@adacore.com>
2402
2403 Update year range in copyright notice of all files.
2404
28498c42
JB
24052014-01-01 Joel Brobecker <brobecker@adacore.com>
2406
2407 * top.c (print_gdb_version): Set copyright year to 2014.
2408
7b6e1046
JB
24092014-01-01 Joel Brobecker <brobecker@adacore.com>
2410
2411 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
2412
df96af55 2413For older changes see ChangeLog-2013.
c906108c
SS
2414\f
2415Local Variables:
2416mode: change-log
2417left-margin: 8
2418fill-column: 74
2419version-control: never
57da7796 2420coding: utf-8
c906108c 2421End: