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