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