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