PowerPC64 little-endian fixes: VSX tests and pseudo-regs
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2
3 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4 of the overlapped FP register within the VSX register on little-
5 endian platforms.
6 (efpr_pseudo_register_write): Likewise.
7
8 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9
10 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11 offset on little-endian when passing small structures.
12
13 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14
15 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
16 (struct ppc64_sysv_argpos): New data structure.
17 (ppc64_sysv_abi_push_float): Remove.
18 (ppc64_sysv_abi_push_val): New function.
19 (ppc64_sysv_abi_push_integer): Likewise.
20 (ppc64_sysv_abi_push_freg): Likewise.
21 (ppc64_sysv_abi_push_vreg): Likewise.
22 (ppc64_sysv_abi_push_param): Likewise.
23 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
24 (ppc64_sysv_abi_return_value_base): New function.
25 (ppc64_sysv_abi_return_value): Refactor to use it.
26
27 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
28
29 * NEWS: Document new target powerpc64le-*-linux*.
30
31 2014-02-04 Mark Kettenis <kettenis@gnu.org>
32
33 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
34 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
35 core dumps.
36 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
37 register set used in ELF core dumps. Add floating-point register set.
38
39 2014-02-03 Kevin Buettner <kevinb@redhat.com>
40
41 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
42 dwarf2_to_gdb[] table using symbolic constants. Adjust
43 penultimate entry from number representing the PC register
44 to symbolic constant representing the MDR register. Add
45 constant for the PC register to the end of the table.
46
47 2014-02-03 Mark Kettenis <kettenis@gnu.org>
48
49 * bsd-kvm.c: Include <sys/param.h>
50
51 2014-02-03 Mark Kettenis <kettenis@gnu.org>
52
53 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
54
55 2014-01-31 Joel Brobecker <brobecker@adacore.com>
56
57 * ada-lang.h (clear_ada_sym_cache): Delete.
58
59 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
60
61 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
62
63 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
64
65 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
66 the sigreturn register save area only if the syscall is
67 sigreturn.
68
69 2014-01-29 Joel Brobecker <brobecker@adacore.com>
70
71 * valops.c (value_slice): Minor reformatting.
72
73 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
74
75 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
76
77 2014-01-28 Joel Brobecker <brobecker@adacore.com>
78
79 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
80 New static globals.
81 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
82 (ada_ignore_descriptive_types_p): New static global.
83 (find_parallel_type_by_descriptive_type): Return immediately
84 if ada_ignore_descriptive_types_p is set.
85 (_initialize_ada_language): Register new commands "maintenance
86 set ada", "maintenance show ada", "maintenance set ada
87 ignore-descriptive-types" and "maintenance show ada
88 ignore-descriptive-types".
89 * NEWS: Add entry for new "maint ada set/show
90 ignore-descriptive-types" commands.
91
92 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
93
94 * record-btrace.c (record_btrace_close): Call btrace_teardown
95 for all threads.
96
97 2014-01-27 Joel Brobecker <brobecker@adacore.com>
98
99 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
100 "ui-out.h".
101
102 2014-01-27 Joel Brobecker <brobecker@adacore.com>
103
104 * ada-typeprint (type_is_full_subrange_of_target_type):
105 New function.
106 (print_range): Add parameter bounds_prefered_p. If not set,
107 try printing range types using the name of their base type.
108 (print_range_type): Add parameter bounds_prefered_p.
109 Use it in call to print_range.
110 (print_array_type, ada_print_type): Update calls to print_range
111 and print_range_type.
112
113 2014-01-27 Joel Brobecker <brobecker@adacore.com>
114
115 * ada-typeprint.c (print_array_type, print_choices, print_range)
116 (print_range_bound, print_dynamic_range_bound, print_range_type):
117 Remove declaration.
118
119 2014-01-27 Joel Brobecker <brobecker@adacore.com>
120
121 * ada-typeprint.c (print_range): Add missing empty line
122 after local declaration.
123
124 2014-01-27 Joel Brobecker <brobecker@adacore.com>
125
126 * ada-valprint.c (print_optional_low_bound): Get index_type's
127 target type for as long as it is a TYPE_CODE_RANGE.
128
129 2014-01-27 Joel Brobecker <brobecker@adacore.com>
130
131 * procfs.c (procfs_make_note_section): Remove assertion and
132 associated comment.
133
134 2014-01-24 Yao Qi <yao@codesourcery.com>
135
136 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
137 * corelow.c (get_core_siginfo): Likewise.
138
139 2014-01-24 Yao Qi <yao@codesourcery.com>
140
141 * remote.c (remote_write_bytes_aux): Change type of 'len' to
142 ULONGEST. Don't check 'len' is negative.
143 (remote_write_bytes): Change type of 'len' to ULONGEST.
144
145 2014-01-23 Tom Tromey <tromey@redhat.com>
146
147 PR python/16485:
148 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
149 Handle exception from frame.block.
150 (FrameVars.fetch_frame_locals): Likewise.
151
152 2014-01-23 Tom Tromey <tromey@redhat.com>
153
154 PR python/16487:
155 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
156 on a NULL pointer. Move "goto error" to correct place.
157
158 2014-01-23 Tom Tromey <tromey@redhat.com>
159
160 PR python/16491:
161 * python/py-framefilter.c (apply_frame_filter): Call
162 ensure_python_env after computing gdbarch.
163
164 2014-01-23 Yao Qi <yao@codesourcery.com>
165
166 * target.c (raw_memory_xfer_partial): Change argument type
167 from void * to gdb_byte *.
168 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
169
170 2014-01-22 Doug Evans <dje@google.com>
171
172 New gdbserver option --debug-format=timestamp.
173 * NEWS: Mention it.
174
175 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
176
177 * syscalls/s390x-linux.xml: New file.
178 * syscalls/s390-linux.xml: New file.
179 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
180 (XML_SYSCALL_FILENAME_S390X): Likewise.
181 (op_svc): New enum value for SVC opcode.
182 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
183 (s390_linux_get_syscall_number): New function.
184 (s390_gdbarch_init): Register '*get_syscall_number' and the
185 syscall xml file name.
186 * data-directory/Makefile.in (SYSCALLS_FILES): Add
187 "s390-linux.xml" and "s390x-linux.xml".
188 * NEWS: Announce new feature.
189
190 2014-01-22 Baruch Siach <baruch@tkos.co.il>
191
192 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
193
194 2014-01-22 Pedro Alves <palves@redhat.com>
195
196 * xtensa-config.c: Include defs.h.
197
198 2014-01-22 Joel Brobecker <brobecker@adacore.com>
199
200 * common/common-utils.h: Add "ARI:" comment beside __func__
201 reference.
202
203 2014-01-22 Joel Brobecker <brobecker@adacore.com>
204
205 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
206 documentation a bit.
207
208 2014-01-21 Roland McGrath <mcgrathr@google.com>
209
210 * configure.ac: Call AM_PROG_INSTALL_STRIP.
211 * configure: Regenerate.
212 * aclocal.m4: Regenerate.
213 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
214 New substituted variables.
215 (install-strip): New target.
216 (INSTALL_SCRIPT): New substituted variable.
217 (FLAGS_TO_PASS): Add it.
218 (install-only): Use $(INSTALL_SCRIPT) rather than
219 $(INSTALL_PROGRAM) for gcore.
220
221 2014-01-20 Tom Tromey <tromey@redhat.com>
222
223 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
224 together.
225
226 2014-01-20 Tom Tromey <tromey@redhat.com>
227
228 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
229 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
230 (deprecated_cmd_warning, complete_on_cmdlist): Update.
231 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
232 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
233 (struct cmd_list_element) <flags>: Remove.
234 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
235 doc_allocated>: New fields.
236 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
237 bitfields.
238 * maint.c (maintenance_do_deprecate): Update.
239 * top.c (execute_command): Update.
240
241 2014-01-20 Baruch Siach <baruch@tkos.co.il>
242
243 * xtensa-linux-nat.c: Include asm/ptrace.h.
244
245 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
246
247 * Makefile.in (SFILES): Add d-support.c.
248 (COMMON_OBS): Add d-support.o.
249 * d-lang.h (d_parse_symbol): Add comment, now defined in
250 d-support.c.
251 * d-lang.c (parse_call_convention)
252 (parse_attributes, parse_function_types)
253 (parse_function_args, parse_type, parse_identifier)
254 (call_convention_p, d_parse_symbol): Move functions to ...
255 * d-support.c: ... New file.
256
257 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
258
259 * d-lang.h (d_parse_symbol): Add declaration.
260 * d-lang.c (extract_identifiers)
261 (extract_type_info): Remove functions.
262 (parse_call_convention, parse_attributes)
263 (parse_function_types, parse_function_args)
264 (parse_type, parse_identifier, call_convention_p)
265 (d_parse_symbol): New functions.
266 (d_demangle): Use d_parse_symbol to demangle D symbols.
267
268 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
269
270 * d-lang.h (struct builtin_d_type): New data type.
271 (builtin_d_type): Add declaration.
272 * d-lang.c (d_language_arch_info, build_d_types)
273 (builtin_d_type): New functions.
274 (enum d_primitive_types): New data type.
275 (d_language_defn): Change c_language_arch_info to
276 d_language_arch_info.
277 (d_type_data): New static variable.
278 (_initialize_d_language): Initialize d_type_data.
279
280 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
281
282 * d-lang.h (d_main_name): Add declaration.
283 * d-lang.c (d_main_name): New function.
284 * symtab.c (find_main_name): Add call to d_main_name.
285
286 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
287
288 * d-lang.c (d_language_defn): Change macro_expansion_c to
289 macro_expansion_no.
290
291 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
292
293 * MAINTAINERS: Add myself as a write-after-approval maintainer.
294
295 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
296
297 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
298 gdb_exception" declaration.
299 * remote.c (getpkt_or_notif_sane): Likewise.
300
301 2014-01-17 Doug Evans <dje@google.com>
302
303 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
304 function, contents of dirnames_to_char_ptr_vec_append moved here.
305 (delim_string_to_char_ptr_vec): New function.
306 (dirnames_to_char_ptr_vec_append): Rewrite.
307 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
308
309 2014-01-17 Doug Evans <dje@google.com>
310
311 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
312 and moved here ...
313 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
314 #include "common-utils.h".
315 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
316 * common/vec.h (VEC_ASSERT_PASS): Update.
317 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
318 (MACH_CHECK_ERROR): Update.
319
320 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
321
322 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
323 comments.
324 * gdbarch.h: Regenerate.
325
326 2014-01-16 Tom Tromey <tromey@redhat.com>
327
328 * value.c (struct value) <regnum>: Move earlier.
329
330 2014-01-16 Tom Tromey <tromey@redhat.com>
331
332 * remote.c (extended_remote_create_inferior): Rename from
333 extended_remote_create_inferior_1. Add "ops" argument. Remove
334 old implementation.
335
336 2014-01-16 Pedro Alves <palves@redhat.com>
337
338 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
339 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
340 the backchain.
341
342 2014-01-16 Doug Evans <dje@google.com>
343
344 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
345
346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
347
348 * btrace.h (btrace_thread_flag): New.
349 (struct btrace_thread_info) <flags>: New.
350 * record-btrace.c (record_btrace_resume_thread)
351 (record_btrace_find_thread_to_move, btrace_step_no_history)
352 (btrace_step_stopped, record_btrace_start_replaying)
353 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
354 (record_btrace_find_resume_thread): New.
355 (record_btrace_resume, record_btrace_wait): Extend.
356 (record_btrace_can_execute_reverse): New.
357 (record_btrace_open): Fail in non-stop mode.
358 (record_btrace_set_replay): Split into this, ...
359 (record_btrace_stop_replaying): ... this, ...
360 (record_btrace_clear_histories): ... and this.
361 (init_record_btrace_ops): Init to_can_execute_reverse.
362 * NEWS: Announce it.
363
364 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
365
366 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
367 (forward_target_decr_pc_after_break)
368 (target_decr_pc_after_break): New.
369 * target.c (forward_target_decr_pc_after_break)
370 (target_decr_pc_after_break): New.
371 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
372 instead of gdbarch_decr_pc_after_break.
373 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
374 instead of gdbarch_decr_pc_after_break.
375 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
376 instead of gdbarch_decr_pc_after_break.
377 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
378 instead of gdbarch_decr_pc_after_break.
379 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
380 instead of gdbarch_decr_pc_after_break.
381 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
382 instead of gdbarch_decr_pc_after_break.
383
384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
385
386 * btrace.c: Include regcache.h.
387 (btrace_add_pc): New.
388 (btrace_enable): Call btrace_add_pc.
389 (btrace_is_empty): New.
390 * btrace.h (btrace_is_empty): New.
391 * record-btrace.c (require_btrace, record_btrace_info): Call
392 btrace_is_empty.
393
394 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
395
396 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
397 Support delta reads.
398 (linux_disable_btrace): Change return type.
399 * common/linux-btrace.h (linux_read_btrace): Change parameters
400 and return type to allow error reporting. Update users.
401 (linux_disable_btrace): Change return type. Update users.
402 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
403 New.
404 (btrace_error): New.
405 (btrace_block) <begin>: Comment on BEGIN == 0.
406 * btrace.c (btrace_compute_ftrace): Start from the end of
407 the current trace.
408 (btrace_stitch_trace, btrace_clear_history): New.
409 (btrace_fetch): Read delta trace, return if replaying.
410 (btrace_clear): Move clear history code to btrace_clear_history.
411 (parse_xml_btrace): Throw an error if parsing failed.
412 * target.h (struct target_ops) <to_read_btrace>: Change parameters
413 and return type to allow error reporting.
414 (target_read_btrace): Change parameters and return type to allow
415 error reporting.
416 * target.c (target_read_btrace): Update.
417 * remote.c (remote_read_btrace): Support delta reads. Pass
418 errors on.
419 * NEWS: Announce it.
420
421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
422
423 * record.h (record_btrace_frame_unwind)
424 (record_btrace_tailcall_frame_unwind): New declarations.
425 * dwarf2-frame: Include record.h
426 (dwarf2_frame_cfa): Throw an error for btrace frames.
427 * record-btrace.c: Include hashtab.h.
428 (btrace_get_bfun_name): New.
429 (btrace_call_history): Call btrace_get_bfun_name.
430 (struct btrace_frame_cache): New.
431 (bfcache): New.
432 (bfcache_hash, bfcache_eq, bfcache_new): New.
433 (btrace_get_frame_function): New.
434 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
435 (record_btrace_frame_this_id): Compute own id.
436 (record_btrace_frame_prev_register): Provide PC, throw_error
437 for all other registers.
438 (record_btrace_frame_sniffer): Detect btrace frames.
439 (record_btrace_tailcall_frame_sniffer): New.
440 (record_btrace_frame_dealloc_cache): New.
441 (record_btrace_frame_unwind): Add new functions.
442 (record_btrace_tailcall_frame_unwind): New.
443 (_initialize_record_btrace): Allocate cache.
444 * btrace.c (btrace_clear): Call reinit_frame_cache.
445 * NEWS: Announce it.
446
447 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
448
449 * record-btrace.c (record_btrace_set_replay)
450 (record_btrace_goto_begin, record_btrace_goto_end)
451 (record_btrace_goto): New.
452 (init_record_btrace_ops): Initialize them.
453 * NEWS: Announce it.
454
455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
456
457 * record-btrace.c (record_btrace_find_new_threads)
458 (record_btrace_thread_alive): New.
459 (init_record_btrace_ops): Initialize to_find_new_threads and
460 to_thread_alive.
461
462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
463
464 * record-btrace.c (record_btrace_resume): New.
465 (record_btrace_wait): New.
466 (init_record_btrace_ops): Initialize to_wait and to_resume.
467
468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
469
470 * record-btrace.c (record_btrace_xfer_partial)
471 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
472 (record_btrace_allow_memory_access): New.
473 (init_record_btrace_ops): Initialize new methods.
474 * target.c (raw_memory_xfer_partial): Bail out if target reports
475 that this memory is not available.
476
477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
478
479 * target.h (target_ops) <to_insert_breakpoint>
480 <to_remove_breakpoint>: Add target_ops parameter.
481 (forward_target_insert_breakpoint): New.
482 (forward_target_remove_breakpoint): New.
483 (memory_remove_breakpoint, memory_insert_breakpoint):
484 Add target_ops parameter.
485 * target.c (target_insert_breakpoint): Split into this and ...
486 (forward_target_insert_breakpoint): ... this.
487 (target_remove_breakpoint): Split into this and ...
488 (forward_target_remove_breakpoint): ... this.
489 (debug_to_insert_breakpoint): Add target_ops parameter.
490 Call forward_target_insert_breakpoint.
491 (debug_to_remove_breakpoint): Add target_ops parameter.
492 Call forward_target_remove_breakpoint.
493 (update_current_target): Do not inherit or default to_insert_breakpoint
494 and to_remove_breakpoint.
495 * corelow.c (ignore): Add target_ops parameter.
496 * exec.c (ignore): Add target_ops parameter.
497 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
498 Add target_ops parameter.
499 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
500 Add target_ops parameter.
501 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
502 Add target_ops parameter.
503 * record-full.c (record_full_beneath_to_insert_breakpoint)
504 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
505 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
506 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
507 (record_full_core_remove_breakpoint): Add target_ops parameter.
508 Update users.
509 (record_full_beneath_to_insert_breakpoint_ops)
510 (record_full_beneath_to_remove_breakpoint_ops)
511 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
512 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
513 tmp_to_remove_breakpoint_ops,
514 record_full_beneath_to_insert_breakpoint_ops, and
515 record_full_beneath_to_remove_breakpoint_ops.
516 * remote-m32r-sdi.c (m32r_insert_breakpoint)
517 (m32r_remove_breakpoint): Add target_ops parameter.
518 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
519 Add target_ops parameter.
520 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
521 Add target_ops parameter.
522
523 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
524 Markus Metzger <markus.t.metzger@intel.com>
525
526 * record-btrace.c: Include frame-unwind.h.
527 (record_btrace_frame_unwind_stop_reason)
528 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
529 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
530 New.
531 (init_record_btrace_ops): Install it.
532
533 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
536 get_prev_frame_1.
537
538 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
539
540 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
541 earlier.
542
543 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 * frame-unwind.c: Include target.h.
546 (frame_unwind_try_unwinder): New function with code from ...
547 (frame_unwind_find_by_frame): ... here. New variable
548 unwinder_from_target, call also target_get_unwinder)
549 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
550 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
551 * target.h (struct target_ops): New fields to_get_unwinder and
552 to_get_tailcall_unwinder.
553 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
554
555 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
556
557 * record-btrace.c (record_btrace_fetch_registers)
558 (record_btrace_store_registers)
559 (record_btrace_to_prepare_to_store): New.
560 (init_record_btrace_ops): Add the above.
561
562 2014-01-16 Tom Tromey <tromey@redhat.com>
563
564 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
565 * target.h (struct target_ops) <to_prepare_to_store>: Add
566 argument.
567 (target_prepare_to_store): Add argument.
568 * target.c (debug_to_prepare_to_store): Add argument.
569 (update_current_target): Update.
570 * remote.c (remote_prepare_to_store): Add 'self' argument.
571 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
572 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
573 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
574 * record-full.c (record_full_core_prepare_to_store): Add 'self'
575 argument.
576 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
577 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
578 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
579 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
580 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
581
582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
583
584 * btrace.h (replay) <replay>: New.
585 (btrace_is_replaying): New.
586 * btrace.c (btrace_clear): Free replay iterator.
587 (btrace_is_replaying): New.
588 * record-btrace.c (record_btrace_is_replaying): New.
589 (record_btrace_info): Print insn number if replaying.
590 (record_btrace_insn_history): Start at replay position.
591 (record_btrace_call_history): Start at replay position.
592 (init_record_btrace_ops): Init to_record_is_replaying.
593
594 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
595
596 * record-btrace.c (record_btrace_insn_history_range): Include
597 end.
598 (record_btrace_insn_history_from): Adjust range.
599 (record_btrace_call_history_range): Include
600 end.
601 (record_btrace_call_history_from): Adjust range.
602 * NEWS: Announce changes.
603
604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
605
606 * record.h (enum record_print_flag)
607 <record_print_indent_calls>: New.
608 * record.c (get_call_history_modifiers): Recognize /c modifier.
609 (_initialize_record): Document /c modifier.
610 * record-btrace.c (btrace_call_history): Add btinfo parameter.
611 Reorder fields. Optionally indent the function name. Update
612 all users.
613 * NEWS: Announce changes.
614
615 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
616
617 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
618
619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
620
621 * btrace.c (ftrace_new_function): Start counting at one.
622 * record-btrace.c (record_btrace_info): Adjust number of calls
623 and insns.
624 * NEWS: Announce it.
625
626 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
627
628 * record-btrace.c (btrace_call_history_insn_range): Print
629 insn range as [begin, end].
630
631 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
632
633 * btrace.h (struct btrace_func_link): New.
634 (enum btrace_function_flag): New.
635 (struct btrace_inst): Rename to ...
636 (struct btrace_insn): ...this. Update all users.
637 (struct btrace_func) <ibegin, iend>: Remove.
638 (struct btrace_func_link): New.
639 (struct btrace_func): Rename to ...
640 (struct btrace_function): ...this. Update all users.
641 (struct btrace_function) <segment, flow, up, insn, insn_offset)
642 (number, level, flags>: New.
643 (struct btrace_insn_iterator): Rename to ...
644 (struct btrace_insn_history): ...this.
645 Update all users.
646 (struct btrace_insn_iterator, btrace_call_iterator): New.
647 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
648 (struct btrace_target_info) <begin, end, level>
649 <insn_history, call_history>: New.
650 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
651 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
652 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
653 (btrace_call_number, btrace_call_begin, btrace_call_end)
654 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
655 (btrace_find_function_by_number, btrace_set_insn_history)
656 (btrace_set_call_history): New.
657 * btrace.c (btrace_init_insn_iterator)
658 (btrace_init_func_iterator, compute_itrace): Remove.
659 (ftrace_print_function_name, ftrace_print_filename)
660 (ftrace_skip_file): Change
661 parameter to const.
662 (ftrace_init_func): Remove.
663 (ftrace_debug): Use new btrace_function fields.
664 (ftrace_function_switched): Also consider gaining and
665 losing symbol information).
666 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
667 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
668 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
669 New.
670 (ftrace_new_function): Move. Remove debug print.
671 (ftrace_update_lines, ftrace_update_insns): New.
672 (ftrace_update_function): Check for call, ret, and jump.
673 (compute_ftrace): Renamed to ...
674 (btrace_compute_ftrace): ...this. Rewritten to compute call
675 stack.
676 (btrace_fetch, btrace_clear): Updated.
677 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
678 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
679 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
680 (btrace_call_number, btrace_call_begin, btrace_call_end)
681 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
682 (btrace_find_function_by_number, btrace_set_insn_history)
683 (btrace_set_call_history): New.
684 * record-btrace.c (require_btrace): Use new btrace thread
685 info fields.
686 (record_btrace_info, btrace_insn_history)
687 (record_btrace_insn_history, record_btrace_insn_history_range):
688 Use new btrace thread info fields and new iterator.
689 (btrace_func_history_src_line): Rename to ...
690 (btrace_call_history_src_line): ...this. Use new btrace
691 thread info fields.
692 (btrace_func_history): Rename to ...
693 (btrace_call_history): ...this. Use new btrace thread info
694 fields and new iterator.
695 (record_btrace_call_history, record_btrace_call_history_range):
696 Use new btrace thread info fields and new iterator.
697
698 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
699
700 * frame.h (frame_id_build_unavailable_stack_special): New.
701 * frame.c (frame_id_build_unavailable_stack_special): New.
702
703 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
704
705 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
706 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
707 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
708 to gdbarch.
709 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
710 (i386_insn_is_jump, i386_jmp_p): New.
711 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
712 insn_is_jump to gdbarch.
713 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
714 * gdbarch.h: Regenerated.
715 * gdbarch.c: Regenerated.
716 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
717 (default_insn_is_jump): New.
718 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
719 (default_insn_is_jump): New.
720
721 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
722
723 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
724 Change to ...
725 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
726 (btrace_read_type) <btrace_read_new>: Change to ...
727 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
728
729 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
730
731 * common/linux-btrace.c (linux_read_btrace): Free trace from
732 previous iteration.
733
734 2014-01-15 Doug Evans <dje@google.com>
735
736 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
737 uint32_t.
738
739 2014-01-15 Tom Tromey <tromey@redhat.com>
740
741 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
742 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
743 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
744 (set_objfile_main_name): New function.
745 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
746 language_of_main>: New fields.
747 (set_objfile_main_name): Declare.
748 * symtab.c (find_main_name): Loop over objfiles to find the main
749 name and language.
750 (set_main_name): Now static.
751 (get_main_info): Add comment.
752 * symtab.h (set_main_name): Don't declare.
753
754 2014-01-15 Tom Tromey <tromey@redhat.com>
755
756 * symtab.c (main_progspace_key): New global.
757 (struct main_info): New.
758 (name_of_main, language_of_main): Remove.
759 (get_main_info, main_info_cleanup): New function.
760 (set_main_name, main_name, main_language): Use get_main_info.
761 (_initialize_symtab): Initialize main_progspace_key.
762
763 2014-01-15 Tom Tromey <tromey@redhat.com>
764
765 * dbxread.c (process_one_symbol): Update.
766 * dwarf2read.c (read_partial_die): Update.
767 * symfile.c (set_initial_language): Call main_language.
768 * symtab.c (language_of_main): Now static.
769 (set_main_name): Add 'lang' parameter.
770 (find_main_name): Update.
771 (main_language): New function.
772 (symtab_observer_executable_changed): Update.
773 * symtab.h (set_main_name): Update.
774 (language_of_main): Remove.
775 (main_language): Declare.
776
777 2014-01-15 Tom Tromey <tromey@redhat.com>
778
779 * symfile.c (init_entry_point_info): Use new "initialized" field.
780 Update.
781 * objfiles.h (struct entry_point) <initialized>: New field.
782 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
783 (struct objfile) <ei>: ...here. Remove.
784 * objfiles.c (entry_point_address_query): Update.
785
786 2014-01-15 Tom Tromey <tromey@redhat.com>
787
788 * objfiles.c (entry_point_address_query): Relocate entry point
789 address.
790 (objfile_relocate1): Do not relocate entry point address.
791 * objfiles.h (struct entry_info) <entry_point>: Update comment.
792 <the_bfd_section_index>: New field.
793 * symfile.c (init_entry_point_info): Find the entry point's
794 section.
795
796 2014-01-15 Tom Tromey <tromey@redhat.com>
797
798 * solib-frv.c (enable_break): Use entry_point_address_query.
799
800 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
801
802 * NEWS: Add note on improved process record-replay on
803 arm*-linux* targets.
804
805 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
806
807 * arm-tdep.c (enum arm_record_result): New enum.
808 (arm_record_unsupported_insn): New function.
809 (arm_record_coproc_data_proc): Removed.
810 (thumb2_record_ld_st_multiple): New function.
811 (thumb2_record_ld_st_dual_ex_tbb): New function.
812 (thumb2_record_data_proc_sreg_mimm): New function.
813 (thumb2_record_ps_dest_generic): New function.
814 (thumb2_record_branch_misc_cntrl): New function.
815 (thumb2_record_str_single_data): New function.
816 (thumb2_record_ld_mem_hints): New function.
817 (thumb2_record_ld_word): New function.
818 (thumb2_record_lmul_lmla_div): New function.
819 (thumb2_record_decode_insn_handler): New function.
820 (decode_insn): Add thumb32 instruction handlers.
821
822 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
823
824 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
825 (struct arm_linux_record_tdep): Declare.
826 (arm_canonicalize_syscall): New function.
827 (arm_all_but_pc_registers_record): New function.
828 (arm_linux_syscall_record): New function.
829 (arm_linux_init_abi): Add syscall recording constructs.
830 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
831 decoding. (arm_record_coproc_data_proc): Update arm syscall
832 decoding.
833 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
834 <arm_syscall_record>: New field.
835 * configure.tgt (arm*-*-linux*): Add linux-record.o to
836 gdb_target_obs.
837
838 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
839
840 * arm-tdep.c (thumb_record_misc): Update to use sp as base
841 register for push instruction recording.
842
843 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
844
845 * arm-tdep.c (thumb_record_misc): Update to correct logical
846 error while recording ldm, ldmia and pop instructions.
847
848 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
849
850 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
851
852 2014-01-15 Pedro Alves <palves@redhat.com>
853
854 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
855 (go32_resume, go32_fetch_registers, store_register)
856 (go32_store_registers, go32_prepare_to_store)
857 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
858 (go32_create_inferior, go32_can_run, go32_terminal_init)
859 (go32_terminal_inferior, go32_terminal_ours): Delete forward
860 declarations.
861
862 2014-01-15 Tom Tromey <tromey@redhat.com>
863
864 * target.h (async_callback_ftype): New typedef.
865 (struct target_ops) <to_async>: Use it.
866
867 2014-01-15 Joel Brobecker <brobecker@adacore.com>
868
869 * python/py-value.c (get_field_type): Remove unnecessary curly
870 braces for single-statement if block.
871
872 2014-01-15 Joel Brobecker <brobecker@adacore.com>
873
874 * python/py-type.c (convert_field): Add missing empty line
875 after declarations.
876
877 2014-01-14 Doug Evans <dje@google.com>
878
879 * symfile.h (expand_symtabs_matching): Renamed from
880 expand_partial_symbol_names. Update prototype.
881 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
882 * symfile.c (expand_symtabs_matching): Renamed from
883 expand_partial_symbol_names. New args file_matcher, kind.
884 Rename arg fun to symbol_matcher.
885 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
886 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
887 ada_expand_partial_symbol_name.
888 (ada_make_symbol_completion_list): Update to call
889 expand_symtabs_matching.
890 (ada_add_global_exceptions): Call expand_symtabs_matching.
891 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
892 call map_symbol_filenames.
893 * symtab.c (sources_info): Update to call map_symbol_filenames.
894 (search_symbols): Call expand_symtabs_matching.
895 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
896 (default_make_symbol_completion_list_break_on): Update to call
897 expand_symtabs_matching.
898 (make_source_files_completion_list): Update to call
899 map_symbol_filenames.
900
901 2014-01-14 Doug Evans <dje@google.com>
902
903 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
904 (expand_symtabs_symbol_matcher_ftype): New typedef.
905 (quick_symbol_functions.expand_symtabs_matching): Update to use.
906 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
907 * symfile.c (expand_partial_symbol_names): Update to use
908 expand_symtabs_symbol_matcher_ftype.
909 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
910 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
911 Arg name_matcher renamed to symbol_matcher.
912 * psymtab.c (recursively_search_psymtabs): Update to use
913 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
914 sym_matcher.
915 (expand_symtabs_matching_via_partial): Update to use
916 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
917 Arg name_matcher renamed to symbol_matcher.
918
919 2014-01-14 Doug Evans <dje@google.com>
920
921 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
922 (map_partial_symbol_filenames): Ditto.
923 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
924 (map_partial_symbol_filenames): Ditto.
925 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
926 (map_partial_symbol_filenames): Ditto.
927 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
928 (map_partial_symbol_filenames): Ditto.
929 * symtab.c: Delete #include "psymtab.h".
930
931 2014-01-14 Pedro Alves <palves@redhat.com>
932 Tom Tromey <tromey@redhat.com>
933
934 * infrun.c (use_displaced_stepping): Use find_record_target
935 instead of RECORD_IS_USED.
936 (adjust_pc_after_break): Use record_full_is_used instead of
937 RECORD_IS_USED.
938 * record-btrace.c (record_btrace_open): Call record_preopen
939 instead of checking RECORD_IS_USED.
940 * record-full.c (record_full_shortname)
941 (record_full_core_shortname): New globals.
942 (record_full_is_used): New function.
943 (find_full_open): Call record_preopen instead of checking
944 RECORD_IS_USED.
945 (init_record_full_ops): Set the target's shortname to
946 record_full_shortname.
947 (init_record_full_core_ops): Set the target's shortname to
948 record_full_core_shortname.
949 * record-full.h (record_full_is_used): Declare.
950 * record.c (find_record_target): Make extern.
951 (record_preopen): New function.
952 * record.h (RECORD_IS_USED): Delete macro.
953 (find_record_target, record_preopen): Declare functions.
954
955 2014-01-14 Yao Qi <yao@codesourcery.com>
956
957 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
958 'len''s type to ULONGEST.
959 (core_xfer_shared_libraries_aix): Likewise.
960 * gdbarch.c, gdbarch.h: Regenerated.
961 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
962 Change type of 'len' to ULONGEST.
963 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
964 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
965
966 2014-01-14 Yao Qi <yao@codesourcery.com>
967
968 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
969 type of 'len' to ULONGEST.
970 (linux_xfer_osdata_processgroups): Likewise.
971 (linux_xfer_osdata_threads): Likewise.
972 (linux_xfer_osdata_fds): Likewise.
973 (linux_xfer_osdata_isockets): Likewise.
974 (linux_xfer_osdata_shm): Likewise.
975 (linux_xfer_osdata_sem): Likewise.
976 (linux_xfer_osdata_msg): Likewise.
977 (linux_common_xfer_osdata): Likewise.
978 (struct osdata_type) <getter>: Likewise.
979 * common/linux-osdata.h (linux_common_xfer_osdata): Update
980 the declaration.
981
982 2014-01-14 Yao Qi <yao@codesourcery.com>
983
984 * target.h (target_xfer_partial_ftype): Update.
985 (struct target_ops) <to_xfer_partial>: Change 'len' type to
986 ULONGEST.
987 * aix-thread.c (aix_thread_xfer_partial): Change type of
988 argument 'len' to ULONGEST.
989 * auxv.c (procfs_xfer_auxv): Likewise.
990 (ld_so_xfer_auxv): Likewise.
991 (memory_xfer_auxv): Likewise.
992 * bfd-target.c (target_bfd_xfer_partial): Likewise.
993 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
994 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
995 * corelow.c (core_xfer_partial): Likewise.
996 * ctf.c (ctf_xfer_partial): Likewise.
997 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
998 '%u'.
999 (darwin_read_dyld_info): Likewise.
1000 (darwin_xfer_partial): Likewise.
1001 * exec.c (section_table_xfer_memory_partial): Likewise.
1002 (exec_xfer_partial): Likewise.
1003 * exec.h (section_table_xfer_memory_partial): Update
1004 declaration.
1005 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1006 instead of plongest.
1007 (gnu_xfer_partial): Likewise.
1008 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1009 (ia64_hpux_xfer_solib_got): Likewise.
1010 (ia64_hpux_xfer_partial): Likewise.
1011 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1012 * inf-ptrace.c (inf_ptrace_xfer_partial):
1013 * inf-ttrace.c (inf_ttrace_xfer_partial):
1014 * linux-nat.c (linux_xfer_siginfo): Likewise.
1015 (linux_nat_xfer_partial): Likewise.
1016 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1017 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1018 * monitor.c (monitor_xfer_memory): Likewise.
1019 (monitor_xfer_partial): Likewise.
1020 * procfs.c (procfs_xfer_partial): Likewise.
1021 * record-full.c (record_full_xfer_partial): Likewise.
1022 (record_full_core_xfer_partial): Likewise.
1023 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1024 instead of plongest.
1025 (gdbsim_xfer_partial): Likewise.
1026 * remote.c (remote_xfer_partial): Likewise.
1027 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1028 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1029 declaration.
1030 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1031 (rs6000_xfer_shared_libraries): Likewise.
1032 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1033 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1034 (sparc_xfer_partial): Likewise.
1035 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1036 (spu_xfer_partial): Likewise.
1037 * spu-multiarch.c (spu_xfer_partial): Likewise.
1038 * target.c (target_read_live_memory): Likewise.
1039 (memory_xfer_live_readonly_partial): Likewise.
1040 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1041 (target_xfer_partial, default_xfer_partial): Likewise.
1042 (current_xfer_partial): Likewise.
1043 * tracepoint.c (tfile_xfer_partial): Likewise.
1044 * windows-nat.c (windows_xfer_memory): Likewise. Call
1045 pulongest instead of plongest.
1046 (windows_xfer_partial): Likewise.
1047 (windows_xfer_shared_libraries): Likewise.
1048
1049 2014-01-14 Yao Qi <yao@codesourcery.com>
1050
1051 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1052 target_xfer_partial_ftype.
1053
1054 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1055
1056 PR python/15464
1057 PR python/16113
1058 * valops.c (value_struct_elt_bitpos): New function
1059 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1060 object to 'None' if the field name is an empty string ("").
1061 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1062 attribute to look for a field when 'name' is 'None'.
1063 (get_field_type): New function
1064
1065 2014-01-13 Doug Evans <dje@google.com>
1066
1067 PR symtab/16426
1068 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1069 (try_open_dwop_file): Ditto.
1070 * gdb_bfd.c: #include "vec.h".
1071 (bfdp): New typedef.
1072 (struct gdb_bfd_data): New member included_bfds.
1073 (gdb_bfd_unref): Unref all included bfds.
1074 (gdb_bfd_record_inclusion): New function.
1075 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1076
1077 2014-01-13 Tom Tromey <tromey@redhat.com>
1078
1079 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1080
1081 2014-01-13 Tom Tromey <tromey@redhat.com>
1082
1083 * defs.h (use_windows): Remove.
1084 * gdb.c (main): Update.
1085 * main.c (captured_main, gdb_main): Update.
1086 * main.h (struct captured_main_args) <use_windows>: Remove.
1087 * top.c (use_windows): Remove.
1088
1089 2014-01-13 Tom Tromey <tromey@redhat.com>
1090
1091 * defs.h (deprecated_flush_hook): Remove.
1092
1093 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1094
1095 PR threads/16216
1096 * linux-thread-db.c (try_thread_db_load): Add parameter
1097 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1098 (try_thread_db_load_from_pdir_1): Move it there from here.
1099 (try_thread_db_load_from_sdir): Update caller.
1100 (try_thread_db_load_from_dir): Move it there from here.
1101
1102 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1103
1104 * regformats/regdat.sh: Always rewrite the register file.
1105
1106 2014-01-13 Pedro Alves <palves@redhat.com>
1107
1108 * Makefile.in (CHECK_HEADERS): New variable.
1109 (check-headers:): New rule.
1110
1111 2014-01-13 Tom Tromey <tromey@redhat.com>
1112
1113 * cli/cli-setshow.c (do_set_command): Update.
1114 * defs.h (deprecated_set_hook): Remove.
1115 * top.c (deprecated_set_hook): Remove.
1116
1117 2014-01-13 Pedro Alves <palves@redhat.com>
1118
1119 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1120 the tracepoint if the PC is a pseudo-register.
1121
1122 2014-01-13 Tom Tromey <tromey@redhat.com>
1123
1124 * defs.h (XCALLOC): Remove.
1125 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1126 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1127 * dwarf2loc.c (allocate_piece_closure): Likewise.
1128 * elfread.c (elf_symfile_segments): Likewise.
1129 (elf_symfile_segments): Likewise.
1130 * gdbtypes.c (copy_type_recursive): Likewise.
1131 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1132 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1133 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1134 XCALLOC.
1135 * mt-tdep.c (mt_gdbarch_init): Likewise.
1136 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1137 XCALLOC.
1138 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1139 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1140 * registry.c (registry_alloc_data): Likewise.
1141 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1142 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1143 * serial.c (serial_fdopen_ops): Likewise.
1144 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1145 XCALLOC.
1146 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1147 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1148 not XCALLOC.
1149
1150 2014-01-13 Tom Tromey <tromey@redhat.com>
1151
1152 * defs.h (XMALLOC): Remove.
1153 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1154 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1155 * cli-out.c (struct ui_out *): Likewise.
1156 * cli/cli-dump.c (add_dump_command): Likewise.
1157 (add_dump_command): Likewise.
1158 * complaints.c (get_complaints): Likewise.
1159 (find_complaint): Likewise.
1160 * dwarf2-frame.c (execute_cfa_program): Likewise.
1161 * dwarf2read.c (abbrev_table_read_table): Likewise.
1162 * gdbarch.sh: Likewise.
1163 * gdbarch.c: Rebuild.
1164 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1165 * interps.c (interp_new): Likewise.
1166 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1167 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1168 * mi/mi-console.c (mi_console_file_new): Likewise.
1169 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1170 * mi/mi-out.c (mi_out_new): Likewise.
1171 * mi/mi-parse.c (mi_parse): Likewise.
1172 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1173 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1174 * observer.c (xalloc_observer_list_node): Likewise.
1175 * regcache.c (regcache_xmalloc_1): Likewise.
1176 * reggroups.c (reggroup_new): Likewise.
1177 (_initialize_reggroup): Likewise.
1178 * registry.c (register_data_with_cleanup): Likewise.
1179 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1180 * ser-base.c (serial_ttystate): Likewise.
1181 * ser-mingw.c (make_pipe_state): Likewise.
1182 * ser-pipe.c (pipe_open): Likewise.
1183 * serial.c (serial_open): Likewise.
1184 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1185 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1186 (tui_alloc_win_info): Likewise.
1187 (tui_add_content_elements): Likewise.
1188 * tui/tui-file.c (tui_file_new): Likewise.
1189 * tui/tui-out.c (tui_out_new): Likewise.
1190 * ui-file.c (mem_file_new): Likewise.
1191 * ui-out.c (push_level): Likewise.
1192 (make_cleanup_ui_out_end): Likewise.
1193 (append_header_to_list): Likewise.
1194 (ui_out_new): Likewise.
1195 * user-regs.c (user_reg_add_builtin): Likewise.
1196
1197 2014-01-13 Tom Tromey <tromey@redhat.com>
1198
1199 * defs.h (XZALLOC): Remove.
1200 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1201 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1202 (get_ada_tasks_inferior_data): Likewise.
1203 * auto-load.c (get_auto_load_pspace_data): Likewise.
1204 * auxv.c (get_auxv_inferior_data): Likewise.
1205 * bfd-target.c (target_bfd_reopen): Likewise.
1206 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1207 (deprecated_insert_raw_breakpoint): Likewise.
1208 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1209 * corelow.c (core_open): Likewise.
1210 * darwin-nat.c (darwin_check_new_threads): Likewise.
1211 (darwin_attach_pid): Likewise.
1212 * dummy-frame.c (dummy_frame_push): Likewise.
1213 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1214 * dwarf2loc.c (allocate_piece_closure): Likewise.
1215 * elfread.c (elf_symfile_segments): Likewise.
1216 * eval.c (ptrmath_type_p): Likewise.
1217 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1218 * gdbtypes.c (alloc_type_arch): Likewise.
1219 (alloc_type_instance): Likewise.
1220 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1221 * inf-child.c (inf_child_can_use_agent): Likewise.
1222 * inflow.c (get_inflow_inferior_data): Likewise.
1223 * infrun.c (save_infcall_suspend_state): Likewise.
1224 * jit.c (jit_reader_load): Likewise.
1225 (get_jit_objfile_data): Likewise.
1226 (get_jit_program_space_data): Likewise.
1227 (jit_object_open_impl): Likewise.
1228 (jit_symtab_open_impl): Likewise.
1229 (jit_block_open_impl): Likewise.
1230 (jit_frame_sniffer): Likewise.
1231 * linux-fork.c (add_fork): Likewise.
1232 * maint.c (make_command_stats_cleanup): Likewise.
1233 * objfiles.c (get_objfile_pspace_data): Likewise.
1234 * opencl-lang.c (struct lval_closure): Likewise.
1235 * osdata.c (osdata_start_osdata): Likewise.
1236 * progspace.c (new_address_space): Likewise.
1237 (add_program_space): Likewise.
1238 * remote-sim.c (get_sim_inferior_data): Likewise.
1239 * sh-tdep.c (sh_gdbarch_init): Likewise.
1240 * skip.c (Ignore): Likewise.
1241 (skip_delete_command): Likewise.
1242 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1243 (library_list_start_library): Likewise.
1244 (solib_aix_current_sos): Likewise.
1245 * solib-darwin.c (get_darwin_info): Likewise.
1246 (darwin_current_sos): Likewise.
1247 * solib-dsbt.c (get_dsbt_info): Likewise.
1248 * solib-ia64-hpux.c (new_so_list): Likewise.
1249 (ia64_hpux_get_solib_linkage_addr): Likewise.
1250 * solib-spu.c (append_ocl_sos): Likewise.
1251 (spu_current_sos): Likewise.
1252 * solib-svr4.c (get_svr4_info): Likewise.
1253 (svr4_keep_data_in_core): Likewise.
1254 (library_list_start_library): Likewise.
1255 (svr4_default_sos): Likewise.
1256 (svr4_read_so_list): Likewise.
1257 * solib-target.c (library_list_start_library): Likewise.
1258 (solib_target_current_sos): Likewise.
1259 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1260 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1261 * symfile.c (default_symfile_segments): Likewise.
1262 * target-descriptions.c (tdesc_data_init): Likewise.
1263 (tdesc_create_reg): Likewise.
1264 (struct tdesc_type *): Likewise.
1265 (tdesc_create_vector): Likewise.
1266 (tdesc_set_struct_size): Likewise.
1267 (struct tdesc_type *): Likewise.
1268 (tdesc_free_feature): Likewise.
1269 (tdesc_create_feature): Likewise.
1270 * windows-nat.c (windows_add_thread): Likewise.
1271 (windows_make_so): Likewise.
1272 * xml-support.c (gdb_xml_body_text): Likewise.
1273 (gdb_xml_create_parser_and_cleanup): Likewise.
1274 (xml_process_xincludes): Likewise.
1275 * xml-syscall.c (allocate_syscalls_info): Likewise.
1276 (syscall_create_syscall_desc): Likewise.
1277
1278 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1279
1280 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1281 function, with code from i386_stap_parse_special_token.
1282 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1283 (i386_stap_parse_special_token): Move code to the two functions
1284 above; simplify it.
1285
1286 2014-01-09 Pedro Alves <palves@redhat.com>
1287 Hui Zhu <hui@codesourcery.com>
1288
1289 PR gdb/16101
1290 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1291 bp_err_string. Don't mark the location shlib_disabled if the
1292 error thrown wasn't a generic or memory error. Catch errors
1293 thrown while inserting breakpoints in overlayed code. Output
1294 error message of software breakpoints.
1295 * remote.c (remote_insert_breakpoint): If this breakpoint has
1296 target-side commands but this stub doesn't support Z0 packets,
1297 throw NOT_SUPPORTED_ERROR error.
1298 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1299 * target.h (target_insert_breakpoint): Extend comment.
1300 (target_insert_hw_breakpoint): Add comment.
1301
1302 2014-01-08 Pedro Alves <palves@redhat.com>
1303
1304 * remote.c (remote_add_thread): Add threads silently if starting
1305 up.
1306 (remote_notice_new_inferior): If in all-stop, and starting up,
1307 don't call notice_new_inferior.
1308 (get_current_thread): New function, factored out from ...
1309 (add_current_inferior_and_thread): ... this. Adjust.
1310 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1311 found any thread, then select the remote's current thread as GDB's
1312 current thread too.
1313
1314 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1315
1316 * NEWS: Create a new section for the next release branch.
1317 Rename the section of the current branch, now that it has
1318 been cut.
1319
1320 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1321
1322 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1323 * version.in: Bump version to 7.7.50.DATE-cvs.
1324
1325 2014-01-08 Yao Qi <yao@codesourcery.com>
1326
1327 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1328 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1329 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1330
1331 2014-01-08 Yao Qi <yao@codesourcery.com>
1332
1333 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1334 return value of bfd_get_filename to symbol_file_add_from_bfd.
1335
1336 2014-01-08 Pierre Muller <muller@sourceware.org>
1337
1338 Fix PR16201.
1339 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1340 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1341 to prim_record_mininal_symbol_and_info.
1342 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1343 in call to prim_record_minimal_symbol_and_info.
1344 (read_pe_exported_syms): Set index field of section_data.
1345
1346 2014-01-07 Andrew Pinski <apinski@cavium.com>
1347
1348 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1349 * features/aarch64.c: Regenerate.
1350
1351 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1352
1353 * target.c (return_null): Define.
1354 (update_current_target): Use it instead of return_zero for
1355 functions that return a pointer.
1356
1357 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1358
1359 * source.c (add_path): Fix check for duplicated paths in the previously
1360 included paths.
1361
1362 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1363
1364 * ada-lang.c: Remove duplicated include statements.
1365 * alphabsd-nat.c: Ditto.
1366 * amd64-darwin-tdep.c: Ditto.
1367 * amd64fbsd-nat.c: Ditto.
1368 * auto-load.c: Ditto.
1369 * ax-gdb.c: Ditto.
1370 * breakpoint.c: Ditto.
1371 * dbxread.c: Ditto.
1372 * fork-child.c: Ditto.
1373 * gdb_usleep.c: Ditto.
1374 * i386-darwin-tdep.c: Ditto.
1375 * i386fbsd-nat.c: Ditto.
1376 * infcmd.c: Ditto.
1377 * inferior.c: Ditto.
1378 * jv-lang.c: Ditto.
1379 * linux-nat.c: Ditto.
1380 * linux-tdep.c: Ditto.
1381 * m68kbsd-nat.c: Ditto.
1382 * m68klinux-nat.c: Ditto.
1383 * microblaze-tdep.c: Ditto.
1384 * mips-linux-tdep.c: Ditto.
1385 * mn10300-tdep.c: Ditto.
1386 * nto-tdep.c: Ditto.
1387 * opencl-lang.c: Ditto.
1388 * osdata.c: Ditto.
1389 * printcmd.c: Ditto.
1390 * regcache.c: Ditto.
1391 * remote-m32r-sdi.c: Ditto.
1392 * remote.c: Ditto.
1393 * symfile.c: Ditto.
1394 * symtab.c: Ditto.
1395 * tilegx-linux-nat.c: Ditto.
1396 * tilegx-tdep.c: Ditto.
1397 * tracepoint.c: Ditto.
1398 * valops.c: Ditto.
1399 * vaxbsd-nat.c: Ditto.
1400 * windows-nat.c: Ditto.
1401 * xtensa-tdep.c: Ditto.
1402
1403 2014-01-07 Yao Qi <yao@codesourcery.com>
1404
1405 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1406
1407 2014-01-07 Yao Qi <yao@codesourcery.com>
1408 Joel Brobecker <brobecker@adacore.com>
1409
1410 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1411 (pdc_write_regs): Likewise.
1412 (fetch_regs_kernel_thread): Likewise.
1413 (store_regs_kernel_thread): Likewise.
1414
1415 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1416
1417 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1418 tagged type objects to their actual type.
1419
1420 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1421
1422 * ada-valprint.c (print_field_values): Add "language" parameter.
1423 Update calls to print_field_values and print_variant_part.
1424 Pass new parameter "language" in call to val_print instead
1425 of "current_language". Replace call to ada_val_print by call
1426 to val_print.
1427 (print_variant_part): Add "language" parameter.
1428 (ada_val_print_struct_union): Update call to print_field_values.
1429
1430 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1431
1432 * ada-valprint.c (ui_memcpy): Delete.
1433 (ada_print_floating): Update documentation. Add empty line
1434 between between function documentation and implementation.
1435 Delete variable "buffer". Use ui_file_xstrdup in place of
1436 ui_file_put. Minor adjustments following this change.
1437
1438 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1439
1440 * ada-valprint.c (ada_val_print_string): New function,
1441 extracted from ada_val_print_array.
1442 (ada_val_print_array): Replace extracted code by call
1443 to ada_val_print_string followed by a return. Move
1444 "else" branch to the function's top block.
1445
1446 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1447
1448 * ada-valprint.c (ada_val_print_array): Move implementation
1449 down. Rename parameter "offset" and "val" into "offset_aligned"
1450 and "original_value" respectively. Add parameter "offset".
1451
1452 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1453
1454 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1455 re-organizing the code. Change the "???" message printed
1456 when target type is a TYPE_CODE_UNDEF into
1457 "<ref to undefined type>".
1458
1459 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1460
1461 * ada-valprint.c (print_record): Delete, implementation inlined...
1462 (ada_val_print_struct_union): ... here. Remove call to
1463 ada_check_typedef in inlined implementation.
1464
1465 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1466
1467 * ada-valprint.c (ada_val_print_gnat_array): New function,
1468 extracted from ada_val_print_1;
1469 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1470 (ada_val_print_flt, ada_val_print_struct_union)
1471 (ada_val_print_ref): Likewise.
1472 (ada_val_print_1): Delete variables i and elttype.
1473 Replace extracted-out code by call to corresponding
1474 new functions.
1475
1476 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1477
1478 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1479
1480 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1481
1482 * ada-valprint.c (ada_val_print_1): Replace calls to
1483 ada_val_print_1 by calls to val_print.
1484
1485 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1486
1487 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1488 Update calls to self accordingly. Replace calls to c_val_print
1489 by calls to val_print.
1490
1491 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1492
1493 * ada-valprint.c (print_record): Delete declaration.
1494 (adjust_type_signedness, ada_val_print_1): Likewise.
1495 (ada_val_print): Move function implementation down.
1496 (print_variant_part, print_field_values, print_record):
1497 Move function implementation up.
1498
1499 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1500
1501 * python/py-type.c (typy_get_name): New function.
1502 (type_object_getset): Add entry for attribute "name".
1503 * NEWS: Add entry mentioning this new attribute.
1504
1505 2014-01-07 Yao Qi <yao@codesourcery.com>
1506
1507 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1508 statement.
1509
1510 2014-01-07 Yao Qi <yao@codesourcery.com>
1511
1512 * gnu-nat.c (info_port_rights): Add qualifier const to
1513 argument args.
1514
1515 2014-01-07 Yao Qi <yao@codesourcery.com>
1516
1517 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1518
1519 2014-01-07 Yao Qi <yao@codesourcery.com>
1520
1521 * gnu-nat.c (make_inf) Update declaration.
1522 (make_inf): Make it static.
1523 (inf_set_traced): Likewise.
1524 (inf_port_to_thread, inf_task_died_status): Likewise.
1525
1526 2014-01-07 Yao Qi <yao@codesourcery.com>
1527
1528 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1529
1530 2014-01-07 Yao Qi <yao@codesourcery.com>
1531
1532 * gnu-nat.c (_initialize_gnu_nat): Declare.
1533
1534 2014-01-07 Yao Qi <yao@codesourcery.com>
1535
1536 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1537 'enum bfd_endian'.
1538 (struct gdbarch_info) <byte_order>: Change type to
1539 'enum bfd_endian'.
1540 <byte_order_for_code>: Likewise.
1541 * gdbarch.c, gdbarch.h: Regenerated.
1542
1543 2014-01-06 Sasha Smundak <asmundak@google.com>
1544
1545 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1546
1547 2014-01-06 Tom Tromey <tromey@redhat.com>
1548
1549 * doublest.c (convert_doublest_to_floatformat): Use const, not
1550 CONST.
1551 * somread.c (som_symtab_read): Likewise.
1552
1553 2014-01-07 Hui Zhu <hui@codesourcery.com>
1554
1555 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1556 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1557 (gdb_bfd_fopen): Ditto.
1558 (gdb_bfd_openr): Ditto.
1559 (gdb_bfd_openw): Ditto.
1560 (gdb_bfd_openr_iovec): Ditto.
1561 (gdb_bfd_fdopenr): Ditto.
1562 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1563 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1564 with xstrdup.
1565 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1566 with xstrdup.
1567 * symfile-mem.c (symbol_file_add_from_memory): Removed
1568 gdb_bfd_stash_filename.
1569
1570 2014-01-03 Doug Evans <dje@google.com>
1571
1572 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1573 output.
1574
1575 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1576
1577 Update year range in copyright notice of all files.
1578
1579 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1580
1581 * top.c (print_gdb_version): Set copyright year to 2014.
1582
1583 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1584
1585 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1586
1587 For older changes see ChangeLog-2013.
1588 \f
1589 Local Variables:
1590 mode: change-log
1591 left-margin: 8
1592 fill-column: 74
1593 version-control: never
1594 coding: utf-8
1595 End:
This page took 0.153072 seconds and 5 git commands to generate.