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