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