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