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