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