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